diff --git a/.fern/metadata.json b/.fern/metadata.json index c7d06ba2..ab7104b7 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -5,9 +5,9 @@ "generatorConfig": { "moduleName": "CloudPDF" }, - "originGitCommit": "ce65e1390549db1272ac3720a5ddfcea55be2c07", + "originGitCommit": "3f7f3c650bb91d9c5a4277c920bbd6fab7142f98", "originGitCommitIsDirty": false, "invokedBy": "ci", - "requestedVersion": "3.0.0.alpha.22", + "requestedVersion": "3.0.0.alpha.23", "ciProvider": "github" } \ No newline at end of file diff --git a/cloudpdf-generation.json b/cloudpdf-generation.json index 3ae4b98d..aa267e21 100644 --- a/cloudpdf-generation.json +++ b/cloudpdf-generation.json @@ -1,12 +1,12 @@ { "language": "ruby", - "canonicalVersion": "3.0.0-next.22", - "sdkVersion": "3.0.0.alpha.22", + "canonicalVersion": "3.0.0-next.23", + "sdkVersion": "3.0.0.alpha.23", "source": { "repository": "embedpdf/embed-pdf-viewer", "openapi": "cloudpdf/contract/openapi.json", - "openapiSha256": "1f5aa976eec4d5fc4e2b22efe725df58a01389896733ec1870f96a6441b62859", - "gitCommit": "ce65e1390549db1272ac3720a5ddfcea55be2c07", + "openapiSha256": "82488f8cc7c2cd27aee3dc6000d59164467f7dd3899074e309f0574a027e4524", + "gitCommit": "3f7f3c650bb91d9c5a4277c920bbd6fab7142f98", "gitCommitIsDirty": false }, "fern": { diff --git a/lib/CloudPDF/client.rb b/lib/CloudPDF/client.rb index dbea3c80..18a55187 100644 --- a/lib/CloudPDF/client.rb +++ b/lib/CloudPDF/client.rb @@ -12,7 +12,8 @@ def initialize(token:, base_url: nil, max_retries: 2) base_url: base_url || CloudPDF::Environment::SAAS, headers: { "X-Fern-Language" => "Ruby", - Authorization: "Bearer #{token}" + Authorization: "Bearer #{token}", + "EmbedPDF-Version" => "3.0" }, max_retries: max_retries ) diff --git a/lib/CloudPDF/doc/annotations/client.rb b/lib/CloudPDF/doc/annotations/client.rb index bcb1590c..a314bb34 100644 --- a/lib/CloudPDF/doc/annotations/client.rb +++ b/lib/CloudPDF/doc/annotations/client.rb @@ -51,7 +51,7 @@ def list_all(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocAnnotationsListAll200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocAnnotationsListAllResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -97,7 +97,7 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocAnnotationsList200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocAnnotationsListResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -130,7 +130,7 @@ def list(request_options: {}, **params) # } # ) # - # @return [CloudPDF::Types::DocAnnotationsCreate200Response] + # @return [CloudPDF::Types::DocAnnotationsCreateResponse] def create(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) path_param_names = %i[doc_id layer_name page_key] @@ -155,7 +155,7 @@ def create(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocAnnotationsCreate200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocAnnotationsCreateResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -172,7 +172,7 @@ def create(request_options: {}, **params) # @option params [String] :doc_id # @option params [String] :layer_name # @option params [String] :page_key - # @option params [String] :annot_key + # @option params [String] :annotation_key # @option params [String, nil] :document_password # @option params [String, nil] :idempotency_key # @@ -181,10 +181,10 @@ def create(request_options: {}, **params) # doc_id: "docId", # layer_name: "layerName", # page_key: "pageKey", - # annot_key: "annotKey" + # annotation_key: "annotationKey" # ) # - # @return [CloudPDF::Types::DocAnnotationsDelete200Response] + # @return [CloudPDF::Types::DocAnnotationsDeleteResponse] def delete(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) headers = {} @@ -194,7 +194,7 @@ def delete(request_options: {}, **params) request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "DELETE", - path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/annotations/pages/#{URI.encode_uri_component(params[:page_key].to_s)}/items/#{URI.encode_uri_component(params[:annot_key].to_s)}", + path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/annotations/pages/#{URI.encode_uri_component(params[:page_key].to_s)}/items/#{URI.encode_uri_component(params[:annotation_key].to_s)}", headers: headers, request_options: request_options ) @@ -205,7 +205,7 @@ def delete(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocAnnotationsDelete200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocAnnotationsDeleteResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -222,7 +222,7 @@ def delete(request_options: {}, **params) # @option params [String] :doc_id # @option params [String] :layer_name # @option params [String] :page_key - # @option params [String] :annot_key + # @option params [String] :annotation_key # @option params [String, nil] :document_password # @option params [String, nil] :idempotency_key # @@ -231,16 +231,16 @@ def delete(request_options: {}, **params) # doc_id: "docId", # layer_name: "layerName", # page_key: "pageKey", - # annot_key: "annotKey", + # annotation_key: "annotationKey", # request: { # key: "value" # } # ) # - # @return [CloudPDF::Types::DocAnnotationsUpdate200Response] + # @return [CloudPDF::Types::DocAnnotationsUpdateResponse] def update(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) - path_param_names = %i[doc_id layer_name page_key annot_key] + path_param_names = %i[doc_id layer_name page_key annotation_key] body_params = params.except(*path_param_names) headers = {} @@ -250,7 +250,7 @@ def update(request_options: {}, **params) request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "PATCH", - path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/annotations/pages/#{URI.encode_uri_component(params[:page_key].to_s)}/items/#{URI.encode_uri_component(params[:annot_key].to_s)}", + path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/annotations/pages/#{URI.encode_uri_component(params[:page_key].to_s)}/items/#{URI.encode_uri_component(params[:annotation_key].to_s)}", headers: headers, body: body_params, request_options: request_options @@ -262,7 +262,7 @@ def update(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocAnnotationsUpdate200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocAnnotationsUpdateResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -279,7 +279,7 @@ def update(request_options: {}, **params) # @option params [String] :doc_id # @option params [String] :layer_name # @option params [String] :page_key - # @option params [String] :annot_key + # @option params [String] :annotation_key # @option params [String, nil] :document_password # # @example @@ -287,7 +287,7 @@ def update(request_options: {}, **params) # doc_id: "docId", # layer_name: "layerName", # page_key: "pageKey", - # annot_key: "annotKey" + # annotation_key: "annotationKey" # ) # # @return [untyped] @@ -299,7 +299,7 @@ def read_appearance(request_options: {}, **params) request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", - path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/annotations/pages/#{URI.encode_uri_component(params[:page_key].to_s)}/items/#{URI.encode_uri_component(params[:annot_key].to_s)}/resources/appearance", + path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/annotations/pages/#{URI.encode_uri_component(params[:page_key].to_s)}/items/#{URI.encode_uri_component(params[:annotation_key].to_s)}/resources/appearance", headers: headers, request_options: request_options ) @@ -327,7 +327,7 @@ def read_appearance(request_options: {}, **params) # @option params [String] :doc_id # @option params [String] :layer_name # @option params [String] :page_key - # @option params [String] :annot_key + # @option params [String] :annotation_key # @option params [String, nil] :document_password # # @example @@ -335,7 +335,7 @@ def read_appearance(request_options: {}, **params) # doc_id: "docId", # layer_name: "layerName", # page_key: "pageKey", - # annot_key: "annotKey" + # annotation_key: "annotationKey" # ) # # @return [untyped] @@ -347,7 +347,7 @@ def read_file(request_options: {}, **params) request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", - path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/annotations/pages/#{URI.encode_uri_component(params[:page_key].to_s)}/items/#{URI.encode_uri_component(params[:annot_key].to_s)}/resources/file", + path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/annotations/pages/#{URI.encode_uri_component(params[:page_key].to_s)}/items/#{URI.encode_uri_component(params[:annotation_key].to_s)}/resources/file", headers: headers, request_options: request_options ) @@ -439,7 +439,7 @@ def export_appearance(request_options: {}, **params) # } # ) # - # @return [CloudPDF::Types::DocAnnotationsFlatten200Response] + # @return [CloudPDF::Types::DocAnnotationsFlattenResponse] def flatten(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) path_param_names = %i[doc_id layer_name page_key] @@ -464,7 +464,7 @@ def flatten(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocAnnotationsFlatten200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocAnnotationsFlattenResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -493,7 +493,7 @@ def flatten(request_options: {}, **params) # position: "start" # ) # - # @return [CloudPDF::Types::DocAnnotationsReorder200Response] + # @return [CloudPDF::Types::DocAnnotationsReorderResponse] def reorder(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) request_data = CloudPDF::Doc::Annotations::Types::DocAnnotationsReorderRequest.new(params).to_h @@ -519,7 +519,7 @@ def reorder(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocAnnotationsReorder200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocAnnotationsReorderResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/CloudPDF/doc/annotations/types/delete_annotations_request.rb b/lib/CloudPDF/doc/annotations/types/delete_annotations_request.rb index 246db759..9154f1a4 100644 --- a/lib/CloudPDF/doc/annotations/types/delete_annotations_request.rb +++ b/lib/CloudPDF/doc/annotations/types/delete_annotations_request.rb @@ -11,7 +11,7 @@ class DeleteAnnotationsRequest < Internal::Types::Model field :page_key, -> { String }, optional: false, nullable: false, api_name: "pageKey" - field :annot_key, -> { String }, optional: false, nullable: false, api_name: "annotKey" + field :annotation_key, -> { String }, optional: false, nullable: false, api_name: "annotationKey" field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" diff --git a/lib/CloudPDF/doc/annotations/types/read_appearance_annotations_request.rb b/lib/CloudPDF/doc/annotations/types/read_appearance_annotations_request.rb index 4882191e..c28972dd 100644 --- a/lib/CloudPDF/doc/annotations/types/read_appearance_annotations_request.rb +++ b/lib/CloudPDF/doc/annotations/types/read_appearance_annotations_request.rb @@ -11,7 +11,7 @@ class ReadAppearanceAnnotationsRequest < Internal::Types::Model field :page_key, -> { String }, optional: false, nullable: false, api_name: "pageKey" - field :annot_key, -> { String }, optional: false, nullable: false, api_name: "annotKey" + field :annotation_key, -> { String }, optional: false, nullable: false, api_name: "annotationKey" field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" end diff --git a/lib/CloudPDF/doc/annotations/types/read_file_annotations_request.rb b/lib/CloudPDF/doc/annotations/types/read_file_annotations_request.rb index e4bc8955..a655ce5c 100644 --- a/lib/CloudPDF/doc/annotations/types/read_file_annotations_request.rb +++ b/lib/CloudPDF/doc/annotations/types/read_file_annotations_request.rb @@ -11,7 +11,7 @@ class ReadFileAnnotationsRequest < Internal::Types::Model field :page_key, -> { String }, optional: false, nullable: false, api_name: "pageKey" - field :annot_key, -> { String }, optional: false, nullable: false, api_name: "annotKey" + field :annotation_key, -> { String }, optional: false, nullable: false, api_name: "annotationKey" field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" end diff --git a/lib/CloudPDF/doc/annotations/types/update_annotations_request.rb b/lib/CloudPDF/doc/annotations/types/update_annotations_request.rb index 6328c01f..905cb749 100644 --- a/lib/CloudPDF/doc/annotations/types/update_annotations_request.rb +++ b/lib/CloudPDF/doc/annotations/types/update_annotations_request.rb @@ -11,7 +11,7 @@ class UpdateAnnotationsRequest < Internal::Types::Model field :page_key, -> { String }, optional: false, nullable: false, api_name: "pageKey" - field :annot_key, -> { String }, optional: false, nullable: false, api_name: "annotKey" + field :annotation_key, -> { String }, optional: false, nullable: false, api_name: "annotationKey" field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" diff --git a/lib/CloudPDF/doc/attachments/client.rb b/lib/CloudPDF/doc/attachments/client.rb index 0bbe36d1..967173f2 100644 --- a/lib/CloudPDF/doc/attachments/client.rb +++ b/lib/CloudPDF/doc/attachments/client.rb @@ -97,7 +97,7 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocAttachmentsList200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocAttachmentsListResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/CloudPDF/doc/client.rb b/lib/CloudPDF/doc/client.rb index eef2a4a1..181b9ffe 100644 --- a/lib/CloudPDF/doc/client.rb +++ b/lib/CloudPDF/doc/client.rb @@ -23,7 +23,7 @@ def initialize(client:) # @example # client.doc.head(doc_id: "docId") # - # @return [CloudPDF::Types::DocHead200Response] + # @return [CloudPDF::Types::DocHeadResponse] def head(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) headers = {} @@ -43,7 +43,7 @@ def head(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocHead200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocHeadResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -83,7 +83,7 @@ def head(request_options: {}, **params) # }] # ) # - # @return [CloudPDF::Types::DocChanges200Response] + # @return [CloudPDF::Types::DocChangesResponse] def changes(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) request_data = CloudPDF::Doc::Types::DocChangesRequest.new(params).to_h @@ -108,7 +108,7 @@ def changes(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocChanges200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocChangesResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -180,7 +180,7 @@ def download(request_options: {}, **params) # layer_name: "layerName" # ) # - # @return [CloudPDF::Types::DocDownloadLink200Response] + # @return [CloudPDF::Types::DocDownloadLinkResponse] def download_link(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) request_data = CloudPDF::Doc::Types::DocDownloadLinkRequest.new(params).to_h @@ -205,7 +205,7 @@ def download_link(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocDownloadLink200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocDownloadLinkResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -229,7 +229,7 @@ def download_link(request_options: {}, **params) # layer_name: "layerName" # ) # - # @return [CloudPDF::Types::DocManifest200Response] + # @return [CloudPDF::Types::DocManifestResponse] def manifest(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) headers = {} @@ -249,7 +249,7 @@ def manifest(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocManifest200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocManifestResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -322,7 +322,7 @@ def render(request_options: {}, **params) # page_key: "pageKey" # ) # - # @return [CloudPDF::Types::DocText200Response] + # @return [CloudPDF::Types::DocTextResponse] def text(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) headers = {} @@ -342,7 +342,7 @@ def text(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocText200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocTextResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/CloudPDF/doc/fonts/client.rb b/lib/CloudPDF/doc/fonts/client.rb index a7f0fb9e..8f70da23 100644 --- a/lib/CloudPDF/doc/fonts/client.rb +++ b/lib/CloudPDF/doc/fonts/client.rb @@ -48,7 +48,7 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocFontsList200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocFontsListResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -99,7 +99,7 @@ def resolve(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocFontsResolve200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocFontsResolveResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/CloudPDF/doc/fonts/programs/client.rb b/lib/CloudPDF/doc/fonts/programs/client.rb index 9f8d874d..844f2237 100644 --- a/lib/CloudPDF/doc/fonts/programs/client.rb +++ b/lib/CloudPDF/doc/fonts/programs/client.rb @@ -24,14 +24,14 @@ def initialize(client:) # @option request_options [Integer] :timeout_in_seconds # @option params [String] :doc_id # @option params [String] :layer_name - # @option params [String] :display_hash + # @option params [String] :display_sha256 # @option params [String, nil] :document_password # # @example # client.doc.fonts.programs.download( # doc_id: "docId", # layer_name: "layerName", - # display_hash: "displayHash" + # display_sha256: "displaySha256" # ) # # @return [untyped] @@ -43,7 +43,7 @@ def download(request_options: {}, **params) request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", - path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/font-program-files/#{URI.encode_uri_component(params[:display_hash].to_s)}", + path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/font-program-files/#{URI.encode_uri_component(params[:display_sha256].to_s)}", headers: headers, request_options: request_options ) @@ -68,14 +68,14 @@ def download(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # @option params [String] :doc_id # @option params [String] :layer_name - # @option params [String] :display_hash + # @option params [String] :display_sha256 # @option params [String, nil] :document_password # # @example # client.doc.fonts.programs.get( # doc_id: "docId", # layer_name: "layerName", - # display_hash: "displayHash" + # display_sha256: "displaySha256" # ) # # @return [CloudPDF::Types::FontProgramInfo] @@ -87,7 +87,7 @@ def get(request_options: {}, **params) request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", - path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/font-programs/#{URI.encode_uri_component(params[:display_hash].to_s)}", + path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/font-programs/#{URI.encode_uri_component(params[:display_sha256].to_s)}", headers: headers, request_options: request_options ) @@ -98,7 +98,7 @@ def get(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocFontsProgramsGet200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocFontsProgramsGetResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/CloudPDF/doc/fonts/programs/types/download_programs_request.rb b/lib/CloudPDF/doc/fonts/programs/types/download_programs_request.rb index 2c450b4e..91369df7 100644 --- a/lib/CloudPDF/doc/fonts/programs/types/download_programs_request.rb +++ b/lib/CloudPDF/doc/fonts/programs/types/download_programs_request.rb @@ -10,7 +10,7 @@ class DownloadProgramsRequest < Internal::Types::Model field :layer_name, -> { String }, optional: false, nullable: false, api_name: "layerName" - field :display_hash, -> { String }, optional: false, nullable: false, api_name: "displayHash" + field :display_sha256, -> { String }, optional: false, nullable: false, api_name: "displaySha256" field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" end diff --git a/lib/CloudPDF/doc/fonts/programs/types/get_programs_request.rb b/lib/CloudPDF/doc/fonts/programs/types/get_programs_request.rb index 18a29486..64e8fe45 100644 --- a/lib/CloudPDF/doc/fonts/programs/types/get_programs_request.rb +++ b/lib/CloudPDF/doc/fonts/programs/types/get_programs_request.rb @@ -10,7 +10,7 @@ class GetProgramsRequest < Internal::Types::Model field :layer_name, -> { String }, optional: false, nullable: false, api_name: "layerName" - field :display_hash, -> { String }, optional: false, nullable: false, api_name: "displayHash" + field :display_sha256, -> { String }, optional: false, nullable: false, api_name: "displaySha256" field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" end diff --git a/lib/CloudPDF/doc/forms/client.rb b/lib/CloudPDF/doc/forms/client.rb index fc76054f..33658d47 100644 --- a/lib/CloudPDF/doc/forms/client.rb +++ b/lib/CloudPDF/doc/forms/client.rb @@ -28,7 +28,7 @@ def initialize(client:) # layer_name: "layerName" # ) # - # @return [CloudPDF::Types::DocFormsList200Response] + # @return [CloudPDF::Types::DocFormsListResponse] def list(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) headers = {} @@ -48,7 +48,7 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocFormsList200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocFormsListResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -75,7 +75,7 @@ def list(request_options: {}, **params) # position: "start" # ) # - # @return [CloudPDF::Types::DocFormsReorderCalculations200Response] + # @return [CloudPDF::Types::DocFormsReorderCalculationsResponse] def reorder_calculations(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) request_data = CloudPDF::Doc::Forms::Types::DocFormsReorderCalculationsRequest.new(params).to_h @@ -101,7 +101,7 @@ def reorder_calculations(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocFormsReorderCalculations200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocFormsReorderCalculationsResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -131,7 +131,7 @@ def reorder_calculations(request_options: {}, **params) # } # ) # - # @return [CloudPDF::Types::DocFormsSetValue200Response] + # @return [CloudPDF::Types::DocFormsSetValueResponse] def set_value(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) path_param_names = %i[doc_id layer_name field_key] @@ -156,7 +156,7 @@ def set_value(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocFormsSetValue200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocFormsSetValueResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -181,7 +181,7 @@ def set_value(request_options: {}, **params) # layer_name: "layerName" # ) # - # @return [CloudPDF::Types::DocFormsReset200Response] + # @return [CloudPDF::Types::DocFormsResetResponse] def reset(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) request_data = CloudPDF::Doc::Forms::Types::DocFormsResetRequest.new(params).to_h @@ -207,7 +207,7 @@ def reset(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocFormsReset200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocFormsResetResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -224,7 +224,7 @@ def reset(request_options: {}, **params) # @option params [String] :doc_id # @option params [String] :layer_name # @option params [String] :page_key - # @option params [String] :annot_key + # @option params [String] :annotation_key # @option params [String, nil] :document_password # @option params [String, nil] :idempotency_key # @@ -233,10 +233,10 @@ def reset(request_options: {}, **params) # doc_id: "docId", # layer_name: "layerName", # page_key: "pageKey", - # annot_key: "annotKey" + # annotation_key: "annotationKey" # ) # - # @return [CloudPDF::Types::DocFormsDeleteWidget200Response] + # @return [CloudPDF::Types::DocFormsDeleteWidgetResponse] def delete_widget(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) headers = {} @@ -246,7 +246,7 @@ def delete_widget(request_options: {}, **params) request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "DELETE", - path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/form/widgets/#{URI.encode_uri_component(params[:page_key].to_s)}/#{URI.encode_uri_component(params[:annot_key].to_s)}", + path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/form/widgets/#{URI.encode_uri_component(params[:page_key].to_s)}/#{URI.encode_uri_component(params[:annotation_key].to_s)}", headers: headers, request_options: request_options ) @@ -257,7 +257,7 @@ def delete_widget(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocFormsDeleteWidget200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocFormsDeleteWidgetResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -274,7 +274,7 @@ def delete_widget(request_options: {}, **params) # @option params [String] :doc_id # @option params [String] :layer_name # @option params [String] :page_key - # @option params [String] :annot_key + # @option params [String] :annotation_key # @option params [String, nil] :document_password # @option params [String, nil] :idempotency_key # @@ -283,15 +283,15 @@ def delete_widget(request_options: {}, **params) # doc_id: "docId", # layer_name: "layerName", # page_key: "pageKey", - # annot_key: "annotKey", + # annotation_key: "annotationKey", # patch: {} # ) # - # @return [CloudPDF::Types::DocFormsUpdateWidget200Response] + # @return [CloudPDF::Types::DocFormsUpdateWidgetResponse] def update_widget(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) request_data = CloudPDF::Doc::Forms::Types::DocFormsUpdateWidgetRequest.new(params).to_h - non_body_param_names = %w[docId layerName pageKey annotKey X-Document-Password Idempotency-Key] + non_body_param_names = %w[docId layerName pageKey annotationKey X-Document-Password Idempotency-Key] body = request_data.except(*non_body_param_names) headers = {} @@ -301,7 +301,7 @@ def update_widget(request_options: {}, **params) request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "PATCH", - path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/form/widgets/#{URI.encode_uri_component(params[:page_key].to_s)}/#{URI.encode_uri_component(params[:annot_key].to_s)}", + path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/form/widgets/#{URI.encode_uri_component(params[:page_key].to_s)}/#{URI.encode_uri_component(params[:annotation_key].to_s)}", headers: headers, body: body, request_options: request_options @@ -313,7 +313,7 @@ def update_widget(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocFormsUpdateWidget200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocFormsUpdateWidgetResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -342,7 +342,7 @@ def update_widget(request_options: {}, **params) # position: "start" # ) # - # @return [CloudPDF::Types::DocFormsReorderWidgets200Response] + # @return [CloudPDF::Types::DocFormsReorderWidgetsResponse] def reorder_widgets(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) request_data = CloudPDF::Doc::Forms::Types::DocFormsReorderWidgetsRequest.new(params).to_h @@ -368,7 +368,7 @@ def reorder_widgets(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocFormsReorderWidgets200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocFormsReorderWidgetsResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/CloudPDF/doc/forms/types/delete_widget_forms_request.rb b/lib/CloudPDF/doc/forms/types/delete_widget_forms_request.rb index d83004e2..5199dc6c 100644 --- a/lib/CloudPDF/doc/forms/types/delete_widget_forms_request.rb +++ b/lib/CloudPDF/doc/forms/types/delete_widget_forms_request.rb @@ -11,7 +11,7 @@ class DeleteWidgetFormsRequest < Internal::Types::Model field :page_key, -> { String }, optional: false, nullable: false, api_name: "pageKey" - field :annot_key, -> { String }, optional: false, nullable: false, api_name: "annotKey" + field :annotation_key, -> { String }, optional: false, nullable: false, api_name: "annotationKey" field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" diff --git a/lib/CloudPDF/doc/forms/types/doc_forms_update_widget_request.rb b/lib/CloudPDF/doc/forms/types/doc_forms_update_widget_request.rb index 673fb7ad..def91d7e 100644 --- a/lib/CloudPDF/doc/forms/types/doc_forms_update_widget_request.rb +++ b/lib/CloudPDF/doc/forms/types/doc_forms_update_widget_request.rb @@ -11,7 +11,7 @@ class DocFormsUpdateWidgetRequest < Internal::Types::Model field :page_key, -> { String }, optional: false, nullable: false, api_name: "pageKey" - field :annot_key, -> { String }, optional: false, nullable: false, api_name: "annotKey" + field :annotation_key, -> { String }, optional: false, nullable: false, api_name: "annotationKey" field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" diff --git a/lib/CloudPDF/doc/metadata/client.rb b/lib/CloudPDF/doc/metadata/client.rb index 3e944eb3..f16b1bf4 100644 --- a/lib/CloudPDF/doc/metadata/client.rb +++ b/lib/CloudPDF/doc/metadata/client.rb @@ -48,7 +48,7 @@ def get(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocMetadataGet200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocMetadataGetResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/CloudPDF/doc/metadata/custom/client.rb b/lib/CloudPDF/doc/metadata/custom/client.rb index 153e9f53..ac74f5f9 100644 --- a/lib/CloudPDF/doc/metadata/custom/client.rb +++ b/lib/CloudPDF/doc/metadata/custom/client.rb @@ -49,7 +49,7 @@ def get(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocMetadataCustomGet200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocMetadataCustomGetResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/CloudPDF/doc/outline/client.rb b/lib/CloudPDF/doc/outline/client.rb index 11c7c6a6..0b56e8bd 100644 --- a/lib/CloudPDF/doc/outline/client.rb +++ b/lib/CloudPDF/doc/outline/client.rb @@ -48,7 +48,7 @@ def get(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocOutlineGet200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocOutlineGetResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/CloudPDF/doc/pages/client.rb b/lib/CloudPDF/doc/pages/client.rb index 2b131e0a..52723a36 100644 --- a/lib/CloudPDF/doc/pages/client.rb +++ b/lib/CloudPDF/doc/pages/client.rb @@ -31,7 +31,7 @@ def initialize(client:) # page_key: "pageKey" # ) # - # @return [CloudPDF::Types::DocPagesSetScale200Response] + # @return [CloudPDF::Types::DocPagesSetScaleResponse] def set_scale(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) request_data = CloudPDF::Doc::Pages::Types::DocPagesSetScaleRequest.new(params).to_h @@ -57,7 +57,7 @@ def set_scale(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocPagesSetScale200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocPagesSetScaleResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -83,7 +83,7 @@ def set_scale(request_options: {}, **params) # page_key: "pageKey" # ) # - # @return [CloudPDF::Types::DocPagesViewports200Response] + # @return [CloudPDF::Types::DocPagesViewportsResponse] def viewports(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) headers = {} @@ -103,7 +103,7 @@ def viewports(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocPagesViewports200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocPagesViewportsResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -190,7 +190,7 @@ def extract(request_options: {}, **params) # } # ) # - # @return [CloudPDF::Types::DocPagesFlatten200Response] + # @return [CloudPDF::Types::DocPagesFlattenResponse] def flatten(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) path_param_names = %i[doc_id layer_name] @@ -215,7 +215,7 @@ def flatten(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocPagesFlatten200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocPagesFlattenResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -243,7 +243,7 @@ def flatten(request_options: {}, **params) # } # ) # - # @return [CloudPDF::Types::DocPagesSetName200Response] + # @return [CloudPDF::Types::DocPagesSetNameResponse] def set_name(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) path_param_names = %i[doc_id layer_name] @@ -268,7 +268,7 @@ def set_name(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocPagesSetName200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocPagesSetNameResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -296,7 +296,7 @@ def set_name(request_options: {}, **params) # } # ) # - # @return [CloudPDF::Types::DocPagesRemoveName200Response] + # @return [CloudPDF::Types::DocPagesRemoveNameResponse] def remove_name(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) path_param_names = %i[doc_id layer_name] @@ -321,7 +321,7 @@ def remove_name(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocPagesRemoveName200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocPagesRemoveNameResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/CloudPDF/doc/redactions/client.rb b/lib/CloudPDF/doc/redactions/client.rb index f9e2f4c9..62de1fd9 100644 --- a/lib/CloudPDF/doc/redactions/client.rb +++ b/lib/CloudPDF/doc/redactions/client.rb @@ -29,7 +29,7 @@ def initialize(client:) # layer_name: "layerName" # ) # - # @return [CloudPDF::Types::DocRedactionsApply200Response] + # @return [CloudPDF::Types::DocRedactionsApplyResponse] def apply(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) request_data = CloudPDF::Doc::Redactions::Types::DocRedactionsApplyRequest.new(params).to_h @@ -55,7 +55,7 @@ def apply(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocRedactionsApply200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocRedactionsApplyResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/CloudPDF/doc/signatures/client.rb b/lib/CloudPDF/doc/signatures/client.rb index 578103de..61c62e4d 100644 --- a/lib/CloudPDF/doc/signatures/client.rb +++ b/lib/CloudPDF/doc/signatures/client.rb @@ -31,7 +31,7 @@ def initialize(client:) # layer_name: "layerName" # ) # - # @return [CloudPDF::Types::DocSignaturesList200Response] + # @return [CloudPDF::Types::DocSignaturesListResponse] def list(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) headers = {} @@ -51,7 +51,7 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocSignaturesList200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocSignaturesListResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -77,7 +77,7 @@ def list(request_options: {}, **params) # signing_id: "signingId" # ) # - # @return [CloudPDF::Types::DocSignaturesCancel200Response] + # @return [CloudPDF::Types::DocSignaturesCancelResponse] def cancel(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) headers = {} @@ -97,7 +97,7 @@ def cancel(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocSignaturesCancel200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocSignaturesCancelResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -133,7 +133,7 @@ def cancel(request_options: {}, **params) # } # ) # - # @return [CloudPDF::Types::DocSignaturesComplete200Response] + # @return [CloudPDF::Types::DocSignaturesCompleteResponse] def complete(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) request_data = CloudPDF::Doc::Signatures::Types::DocSignaturesCompleteRequest.new(params).to_h @@ -158,7 +158,7 @@ def complete(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocSignaturesComplete200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocSignaturesCompleteResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -189,7 +189,7 @@ def complete(request_options: {}, **params) # layer_name: "layerName" # ) # - # @return [CloudPDF::Types::DocSignaturesAnalysis200Response] + # @return [CloudPDF::Types::DocSignaturesAnalysisResponse] def analysis(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) query_params = {} @@ -215,7 +215,7 @@ def analysis(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocSignaturesAnalysis200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocSignaturesAnalysisResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -245,7 +245,7 @@ def analysis(request_options: {}, **params) # layer_name: "layerName" # ) # - # @return [CloudPDF::Types::DocSignaturesPrepare200Response] + # @return [CloudPDF::Types::DocSignaturesPrepareResponse] def prepare(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) body = Internal::Multipart::FormData.new @@ -271,7 +271,7 @@ def prepare(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocSignaturesPrepare200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocSignaturesPrepareResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/CloudPDF/doc/types/doc_download_link_request.rb b/lib/CloudPDF/doc/types/doc_download_link_request.rb index d2e7e3d7..77cfd2f4 100644 --- a/lib/CloudPDF/doc/types/doc_download_link_request.rb +++ b/lib/CloudPDF/doc/types/doc_download_link_request.rb @@ -10,7 +10,7 @@ class DocDownloadLinkRequest < Internal::Types::Model field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" - field :expires_in, -> { Integer }, optional: true, nullable: false, api_name: "expiresIn" + field :expires_in_seconds, -> { Integer }, optional: true, nullable: false, api_name: "expiresInSeconds" end end end diff --git a/lib/CloudPDF/doc/versions/client.rb b/lib/CloudPDF/doc/versions/client.rb index ef716104..82c7c207 100644 --- a/lib/CloudPDF/doc/versions/client.rb +++ b/lib/CloudPDF/doc/versions/client.rb @@ -31,7 +31,7 @@ def initialize(client:) # layer_name: "layerName" # ) # - # @return [CloudPDF::Types::DocVersionsList200Response] + # @return [CloudPDF::Types::DocVersionsListResponse] def list(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) headers = {} @@ -51,7 +51,7 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocVersionsList200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocVersionsListResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -70,7 +70,7 @@ def list(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # @option params [String] :doc_id # @option params [String] :layer_name - # @option params [String] :sha + # @option params [String] :sha256 # @option params [Integer, nil] :since_signature # @option params [Integer, nil] :since_revision # @option params [CloudPDF::Doc::Versions::Types::AnalysisVersionsRequestLevel, nil] :level @@ -82,10 +82,10 @@ def list(request_options: {}, **params) # client.doc.versions.analysis( # doc_id: "docId", # layer_name: "layerName", - # sha: "sha" + # sha256: "sha256" # ) # - # @return [CloudPDF::Types::DocVersionsAnalysis200Response] + # @return [CloudPDF::Types::DocVersionsAnalysisResponse] def analysis(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) query_params = {} @@ -101,7 +101,7 @@ def analysis(request_options: {}, **params) request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", - path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/versions/analysis/#{URI.encode_uri_component(params[:sha].to_s)}", + path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/versions/analysis/#{URI.encode_uri_component(params[:sha256].to_s)}", headers: headers, query: query_params, request_options: request_options @@ -113,7 +113,7 @@ def analysis(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocVersionsAnalysis200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocVersionsAnalysisResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -129,14 +129,14 @@ def analysis(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # @option params [String] :doc_id # @option params [String] :layer_name - # @option params [String] :sha + # @option params [String] :sha256 # @option params [String, nil] :document_password # # @example # client.doc.versions.download( # doc_id: "docId", # layer_name: "layerName", - # sha: "sha" + # sha256: "sha256" # ) # # @return [untyped] @@ -148,7 +148,7 @@ def download(request_options: {}, **params) request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", - path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/versions/download/#{URI.encode_uri_component(params[:sha].to_s)}", + path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/versions/download/#{URI.encode_uri_component(params[:sha256].to_s)}", headers: headers, request_options: request_options ) @@ -173,7 +173,7 @@ def download(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # @option params [String] :doc_id # @option params [String] :layer_name - # @option params [String] :sha + # @option params [String] :sha256 # @option params [Integer] :index # @option params [String, nil] :document_password # @@ -181,7 +181,7 @@ def download(request_options: {}, **params) # client.doc.versions.revision( # doc_id: "docId", # layer_name: "layerName", - # sha: "sha", + # sha256: "sha256", # index: 1 # ) # @@ -194,7 +194,7 @@ def revision(request_options: {}, **params) request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", - path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/versions/revisions/#{URI.encode_uri_component(params[:sha].to_s)}/#{URI.encode_uri_component(params[:index].to_s)}", + path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/versions/revisions/#{URI.encode_uri_component(params[:sha256].to_s)}/#{URI.encode_uri_component(params[:index].to_s)}", headers: headers, request_options: request_options ) @@ -219,17 +219,17 @@ def revision(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # @option params [String] :doc_id # @option params [String] :layer_name - # @option params [String] :sha + # @option params [String] :sha256 # @option params [String, nil] :document_password # # @example # client.doc.versions.signatures( # doc_id: "docId", # layer_name: "layerName", - # sha: "sha" + # sha256: "sha256" # ) # - # @return [CloudPDF::Types::DocVersionsSignatures200Response] + # @return [CloudPDF::Types::DocVersionsSignaturesResponse] def signatures(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) headers = {} @@ -238,7 +238,7 @@ def signatures(request_options: {}, **params) request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", - path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/versions/signatures/#{URI.encode_uri_component(params[:sha].to_s)}", + path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/versions/signatures/#{URI.encode_uri_component(params[:sha256].to_s)}", headers: headers, request_options: request_options ) @@ -249,7 +249,7 @@ def signatures(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocVersionsSignatures200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocVersionsSignaturesResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -267,7 +267,7 @@ def signatures(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # @option params [String] :doc_id # @option params [String] :layer_name - # @option params [String] :sha + # @option params [String] :sha256 # @option params [String] :field_key # @option params [String, nil] :document_password # @@ -275,7 +275,7 @@ def signatures(request_options: {}, **params) # client.doc.versions.signature_contents( # doc_id: "docId", # layer_name: "layerName", - # sha: "sha", + # sha256: "sha256", # field_key: "fieldKey" # ) # @@ -288,7 +288,7 @@ def signature_contents(request_options: {}, **params) request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", - path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/versions/signatures/#{URI.encode_uri_component(params[:sha].to_s)}/#{URI.encode_uri_component(params[:field_key].to_s)}/contents", + path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/versions/signatures/#{URI.encode_uri_component(params[:sha256].to_s)}/#{URI.encode_uri_component(params[:field_key].to_s)}/contents", headers: headers, request_options: request_options ) @@ -315,7 +315,7 @@ def signature_contents(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # @option params [String] :doc_id # @option params [String] :layer_name - # @option params [String] :sha + # @option params [String] :sha256 # @option params [String] :field_key # @option params [CloudPDF::Doc::Versions::Types::SignatureDigestVersionsRequestAlgorithm] :algorithm # @option params [String, nil] :document_password @@ -324,7 +324,7 @@ def signature_contents(request_options: {}, **params) # client.doc.versions.signature_digest( # doc_id: "docId", # layer_name: "layerName", - # sha: "sha", + # sha256: "sha256", # field_key: "fieldKey", # algorithm: "sha1" # ) @@ -338,7 +338,7 @@ def signature_digest(request_options: {}, **params) request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", - path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/versions/signatures/#{URI.encode_uri_component(params[:sha].to_s)}/#{URI.encode_uri_component(params[:field_key].to_s)}/digest/#{URI.encode_uri_component(params[:algorithm].to_s)}", + path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/versions/signatures/#{URI.encode_uri_component(params[:sha256].to_s)}/#{URI.encode_uri_component(params[:field_key].to_s)}/digest/#{URI.encode_uri_component(params[:algorithm].to_s)}", headers: headers, request_options: request_options ) diff --git a/lib/CloudPDF/doc/versions/types/analysis_versions_request.rb b/lib/CloudPDF/doc/versions/types/analysis_versions_request.rb index e5cdb355..f02c0747 100644 --- a/lib/CloudPDF/doc/versions/types/analysis_versions_request.rb +++ b/lib/CloudPDF/doc/versions/types/analysis_versions_request.rb @@ -9,7 +9,7 @@ class AnalysisVersionsRequest < Internal::Types::Model field :layer_name, -> { String }, optional: false, nullable: false, api_name: "layerName" - field :sha, -> { String }, optional: false, nullable: false + field :sha256, -> { String }, optional: false, nullable: false field :since_signature, -> { Integer }, optional: true, nullable: false, api_name: "since.signature" diff --git a/lib/CloudPDF/doc/versions/types/download_versions_request.rb b/lib/CloudPDF/doc/versions/types/download_versions_request.rb index 804c7070..6b138922 100644 --- a/lib/CloudPDF/doc/versions/types/download_versions_request.rb +++ b/lib/CloudPDF/doc/versions/types/download_versions_request.rb @@ -9,7 +9,7 @@ class DownloadVersionsRequest < Internal::Types::Model field :layer_name, -> { String }, optional: false, nullable: false, api_name: "layerName" - field :sha, -> { String }, optional: false, nullable: false + field :sha256, -> { String }, optional: false, nullable: false field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" end diff --git a/lib/CloudPDF/doc/versions/types/revision_versions_request.rb b/lib/CloudPDF/doc/versions/types/revision_versions_request.rb index 285a472e..9040d0b6 100644 --- a/lib/CloudPDF/doc/versions/types/revision_versions_request.rb +++ b/lib/CloudPDF/doc/versions/types/revision_versions_request.rb @@ -9,7 +9,7 @@ class RevisionVersionsRequest < Internal::Types::Model field :layer_name, -> { String }, optional: false, nullable: false, api_name: "layerName" - field :sha, -> { String }, optional: false, nullable: false + field :sha256, -> { String }, optional: false, nullable: false field :index, -> { Integer }, optional: false, nullable: false diff --git a/lib/CloudPDF/doc/versions/types/signature_contents_versions_request.rb b/lib/CloudPDF/doc/versions/types/signature_contents_versions_request.rb index 359aa855..dbbe9aba 100644 --- a/lib/CloudPDF/doc/versions/types/signature_contents_versions_request.rb +++ b/lib/CloudPDF/doc/versions/types/signature_contents_versions_request.rb @@ -9,7 +9,7 @@ class SignatureContentsVersionsRequest < Internal::Types::Model field :layer_name, -> { String }, optional: false, nullable: false, api_name: "layerName" - field :sha, -> { String }, optional: false, nullable: false + field :sha256, -> { String }, optional: false, nullable: false field :field_key, -> { String }, optional: false, nullable: false, api_name: "fieldKey" diff --git a/lib/CloudPDF/doc/versions/types/signature_digest_versions_request.rb b/lib/CloudPDF/doc/versions/types/signature_digest_versions_request.rb index 9b14e506..c48f0142 100644 --- a/lib/CloudPDF/doc/versions/types/signature_digest_versions_request.rb +++ b/lib/CloudPDF/doc/versions/types/signature_digest_versions_request.rb @@ -9,7 +9,7 @@ class SignatureDigestVersionsRequest < Internal::Types::Model field :layer_name, -> { String }, optional: false, nullable: false, api_name: "layerName" - field :sha, -> { String }, optional: false, nullable: false + field :sha256, -> { String }, optional: false, nullable: false field :field_key, -> { String }, optional: false, nullable: false, api_name: "fieldKey" diff --git a/lib/CloudPDF/doc/versions/types/signatures_versions_request.rb b/lib/CloudPDF/doc/versions/types/signatures_versions_request.rb index f654eb28..e3ff934f 100644 --- a/lib/CloudPDF/doc/versions/types/signatures_versions_request.rb +++ b/lib/CloudPDF/doc/versions/types/signatures_versions_request.rb @@ -9,7 +9,7 @@ class SignaturesVersionsRequest < Internal::Types::Model field :layer_name, -> { String }, optional: false, nullable: false, api_name: "layerName" - field :sha, -> { String }, optional: false, nullable: false + field :sha256, -> { String }, optional: false, nullable: false field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" end diff --git a/lib/CloudPDF/documents/client.rb b/lib/CloudPDF/documents/client.rb index d904d9ff..fc47fd93 100644 --- a/lib/CloudPDF/documents/client.rb +++ b/lib/CloudPDF/documents/client.rb @@ -29,7 +29,7 @@ def initialize(client:) # @example # client.documents.list(tenant_id: "tenantId") # - # @return [CloudPDF::Types::DocumentsList200Response] + # @return [CloudPDF::Types::DocumentsListResponse] def list(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) query_params = {} @@ -55,7 +55,7 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocumentsList200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocumentsListResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -70,21 +70,21 @@ def list(request_options: {}, **params) # @option request_options [Hash{String => Object}] :additional_body_parameters # @option request_options [Integer] :timeout_in_seconds # @option params [String] :tenant_id - # @option params [String] :id + # @option params [String] :doc_id # # @example # client.documents.get( # tenant_id: "tenantId", - # id: "id" + # doc_id: "docId" # ) # - # @return [CloudPDF::Types::DocumentsGet200Response] + # @return [CloudPDF::Types::DocumentsGetResponse] def get(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", - path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}/documents/#{URI.encode_uri_component(params[:id].to_s)}", + path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}/documents/#{URI.encode_uri_component(params[:doc_id].to_s)}", request_options: request_options ) begin @@ -94,7 +94,7 @@ def get(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocumentsGet200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocumentsGetResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -109,12 +109,12 @@ def get(request_options: {}, **params) # @option request_options [Hash{String => Object}] :additional_body_parameters # @option request_options [Integer] :timeout_in_seconds # @option params [String] :tenant_id - # @option params [String] :id + # @option params [String] :doc_id # # @example # client.documents.delete( # tenant_id: "tenantId", - # id: "id" + # doc_id: "docId" # ) # # @return [untyped] @@ -123,7 +123,7 @@ def delete(request_options: {}, **params) request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "DELETE", - path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}/documents/#{URI.encode_uri_component(params[:id].to_s)}", + path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}/documents/#{URI.encode_uri_component(params[:doc_id].to_s)}", request_options: request_options ) begin @@ -148,26 +148,26 @@ def delete(request_options: {}, **params) # @option request_options [Hash{String => Object}] :additional_body_parameters # @option request_options [Integer] :timeout_in_seconds # @option params [String] :tenant_id - # @option params [String] :id + # @option params [String] :doc_id # # @example # client.documents.update( # tenant_id: "tenantId", - # id: "id", + # doc_id: "docId", # name: "name" # ) # - # @return [CloudPDF::Types::DocumentsUpdate200Response] + # @return [CloudPDF::Types::DocumentsUpdateResponse] def update(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) request_data = CloudPDF::Documents::Types::DocumentsUpdateRequest.new(params).to_h - non_body_param_names = %w[tenantId id] + non_body_param_names = %w[tenantId docId] body = request_data.except(*non_body_param_names) request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "PATCH", - path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}/documents/#{URI.encode_uri_component(params[:id].to_s)}", + path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}/documents/#{URI.encode_uri_component(params[:doc_id].to_s)}", body: body, request_options: request_options ) @@ -178,7 +178,7 @@ def update(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocumentsUpdate200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocumentsUpdateResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -195,26 +195,26 @@ def update(request_options: {}, **params) # @option request_options [Hash{String => Object}] :additional_body_parameters # @option request_options [Integer] :timeout_in_seconds # @option params [String] :tenant_id - # @option params [String] :id + # @option params [String] :doc_id # # @example # client.documents.commit( # tenant_id: "tenantId", - # id: "id", + # doc_id: "docId", # sha256: "sha256" # ) # - # @return [CloudPDF::Types::DocumentsCommit200Response] + # @return [CloudPDF::Types::DocumentsCommitResponse] def commit(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) request_data = CloudPDF::Documents::Types::DocumentsCommitRequest.new(params).to_h - non_body_param_names = %w[tenantId id] + non_body_param_names = %w[tenantId docId] body = request_data.except(*non_body_param_names) request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "POST", - path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}/documents/#{URI.encode_uri_component(params[:id].to_s)}/commit", + path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}/documents/#{URI.encode_uri_component(params[:doc_id].to_s)}/commit", body: body, request_options: request_options ) @@ -225,7 +225,7 @@ def commit(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocumentsCommit200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocumentsCommitResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -240,12 +240,12 @@ def commit(request_options: {}, **params) # @option request_options [Hash{String => Object}] :additional_body_parameters # @option request_options [Integer] :timeout_in_seconds # @option params [String] :tenant_id - # @option params [String] :id + # @option params [String] :doc_id # # @example # client.documents.download( # tenant_id: "tenantId", - # id: "id" + # doc_id: "docId" # ) # # @return [untyped] @@ -254,7 +254,7 @@ def download(request_options: {}, **params) request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", - path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}/documents/#{URI.encode_uri_component(params[:id].to_s)}/download", + path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}/documents/#{URI.encode_uri_component(params[:doc_id].to_s)}/download", request_options: request_options ) begin @@ -277,12 +277,12 @@ def download(request_options: {}, **params) # @option request_options [Hash{String => Object}] :additional_body_parameters # @option request_options [Integer] :timeout_in_seconds # @option params [String] :tenant_id - # @option params [String] :id + # @option params [String] :doc_id # # @example # client.documents.thumbnail( # tenant_id: "tenantId", - # id: "id" + # doc_id: "docId" # ) # # @return [untyped] @@ -291,7 +291,7 @@ def thumbnail(request_options: {}, **params) request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", - path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}/documents/#{URI.encode_uri_component(params[:id].to_s)}/thumbnail", + path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}/documents/#{URI.encode_uri_component(params[:doc_id].to_s)}/thumbnail", request_options: request_options ) begin @@ -318,17 +318,17 @@ def thumbnail(request_options: {}, **params) # @option request_options [Hash{String => Object}] :additional_body_parameters # @option request_options [Integer] :timeout_in_seconds # @option params [String] :tenant_id - # @option params [String] :id + # @option params [String] :doc_id # @option params [#read] :file # # @example # client.documents.upload_proxy( # tenant_id: "tenantId", - # id: "id", + # doc_id: "docId", # file: File.open("document.pdf", "rb") # ) # - # @return [CloudPDF::Types::DocumentsUploadProxy200Response] + # @return [CloudPDF::Types::DocumentsUploadProxyResponse] def upload_proxy(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) body = Internal::Multipart::FormData.new @@ -340,7 +340,7 @@ def upload_proxy(request_options: {}, **params) request = CloudPDF::Internal::Multipart::Request.new( base_url: request_options[:base_url], method: "POST", - path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}/documents/#{URI.encode_uri_component(params[:id].to_s)}/upload-proxy", + path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}/documents/#{URI.encode_uri_component(params[:doc_id].to_s)}/upload-proxy", body: body, request_options: request_options ) @@ -351,7 +351,7 @@ def upload_proxy(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocumentsUploadProxy200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocumentsUploadProxyResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -408,9 +408,9 @@ def import_from(request_options: {}, **params) end # With an upload token, the document goes into the token's folder with the token's metadata, whatever the request - # says; contentLength must be within the token's maxBytes, and the token makes at most maxFiles documents (403 - # after). docId, idempotencyKey and dedupMode reuse-existing are refused (400): each could reach a document the - # token didn't make. + # says; sizeBytes must be within the token's maxBytes, and the token makes at most maxFiles documents (403 after). + # docId, idempotencyKey and dedupMode reuse-existing are refused (400): each could reach a document the token + # didn't make. # # @param request_options [Hash] # @param params [CloudPDF::Documents::Types::DocumentsInitRequest] @@ -424,11 +424,11 @@ def import_from(request_options: {}, **params) # @example # client.documents.init( # tenant_id: "tenantId", - # content_length: 1.1, + # size_bytes: 1, # content_sha256: "contentSha256" # ) # - # @return [CloudPDF::Types::DocumentsInit200Response] + # @return [CloudPDF::Types::DocumentsInitResponse] def init(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) request_data = CloudPDF::Documents::Types::DocumentsInitRequest.new(params).to_h @@ -449,7 +449,7 @@ def init(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocumentsInit200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocumentsInitResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/CloudPDF/documents/layers/client.rb b/lib/CloudPDF/documents/layers/client.rb index 02a91eec..94ff43ba 100644 --- a/lib/CloudPDF/documents/layers/client.rb +++ b/lib/CloudPDF/documents/layers/client.rb @@ -19,7 +19,7 @@ def initialize(client:) # @option request_options [Hash{String => Object}] :additional_body_parameters # @option request_options [Integer] :timeout_in_seconds # @option params [String] :tenant_id - # @option params [String] :id + # @option params [String] :doc_id # @option params [Integer, nil] :limit # @option params [String, nil] :cursor # @option params [String, nil] :grant_id @@ -27,10 +27,10 @@ def initialize(client:) # @example # client.documents.layers.list( # tenant_id: "tenantId", - # id: "id" + # doc_id: "docId" # ) # - # @return [CloudPDF::Types::DocumentsLayersList200Response] + # @return [CloudPDF::Types::DocumentsLayersListResponse] def list(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) query_params = {} @@ -41,7 +41,7 @@ def list(request_options: {}, **params) request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", - path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}/documents/#{URI.encode_uri_component(params[:id].to_s)}/layers", + path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}/documents/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers", query: query_params, request_options: request_options ) @@ -52,7 +52,7 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::DocumentsLayersList200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocumentsLayersListResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -67,13 +67,13 @@ def list(request_options: {}, **params) # @option request_options [Hash{String => Object}] :additional_body_parameters # @option request_options [Integer] :timeout_in_seconds # @option params [String] :tenant_id - # @option params [String] :id + # @option params [String] :doc_id # @option params [String] :layer_name # # @example # client.documents.layers.delete( # tenant_id: "tenantId", - # id: "id", + # doc_id: "docId", # layer_name: "layerName" # ) # @@ -83,7 +83,7 @@ def delete(request_options: {}, **params) request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "DELETE", - path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}/documents/#{URI.encode_uri_component(params[:id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}", + path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}/documents/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}", request_options: request_options ) begin diff --git a/lib/CloudPDF/documents/layers/types/delete_layers_request.rb b/lib/CloudPDF/documents/layers/types/delete_layers_request.rb index 413376d8..9758666d 100644 --- a/lib/CloudPDF/documents/layers/types/delete_layers_request.rb +++ b/lib/CloudPDF/documents/layers/types/delete_layers_request.rb @@ -7,7 +7,7 @@ module Types class DeleteLayersRequest < Internal::Types::Model field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" - field :id, -> { String }, optional: false, nullable: false + field :doc_id, -> { String }, optional: false, nullable: false, api_name: "docId" field :layer_name, -> { String }, optional: false, nullable: false, api_name: "layerName" end diff --git a/lib/CloudPDF/documents/layers/types/list_layers_request.rb b/lib/CloudPDF/documents/layers/types/list_layers_request.rb index b965e417..bd0da792 100644 --- a/lib/CloudPDF/documents/layers/types/list_layers_request.rb +++ b/lib/CloudPDF/documents/layers/types/list_layers_request.rb @@ -7,7 +7,7 @@ module Types class ListLayersRequest < Internal::Types::Model field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" - field :id, -> { String }, optional: false, nullable: false + field :doc_id, -> { String }, optional: false, nullable: false, api_name: "docId" field :limit, -> { Integer }, optional: true, nullable: false diff --git a/lib/CloudPDF/documents/types/delete_documents_request.rb b/lib/CloudPDF/documents/types/delete_documents_request.rb index 09bc6c88..d8eae274 100644 --- a/lib/CloudPDF/documents/types/delete_documents_request.rb +++ b/lib/CloudPDF/documents/types/delete_documents_request.rb @@ -6,7 +6,7 @@ module Types class DeleteDocumentsRequest < Internal::Types::Model field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" - field :id, -> { String }, optional: false, nullable: false + field :doc_id, -> { String }, optional: false, nullable: false, api_name: "docId" end end end diff --git a/lib/CloudPDF/documents/types/documents_commit_request.rb b/lib/CloudPDF/documents/types/documents_commit_request.rb index b9e40e47..3c3ef69b 100644 --- a/lib/CloudPDF/documents/types/documents_commit_request.rb +++ b/lib/CloudPDF/documents/types/documents_commit_request.rb @@ -6,7 +6,7 @@ module Types class DocumentsCommitRequest < Internal::Types::Model field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" - field :id, -> { String }, optional: false, nullable: false + field :doc_id, -> { String }, optional: false, nullable: false, api_name: "docId" field :sha256, -> { String }, optional: false, nullable: false end diff --git a/lib/CloudPDF/documents/types/documents_init_request.rb b/lib/CloudPDF/documents/types/documents_init_request.rb index 0e56ab47..7ca5a258 100644 --- a/lib/CloudPDF/documents/types/documents_init_request.rb +++ b/lib/CloudPDF/documents/types/documents_init_request.rb @@ -6,7 +6,7 @@ module Types class DocumentsInitRequest < Internal::Types::Model field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" - field :content_length, -> { Integer }, optional: false, nullable: false, api_name: "contentLength" + field :size_bytes, -> { Integer }, optional: false, nullable: false, api_name: "sizeBytes" field :content_sha256, -> { String }, optional: false, nullable: false, api_name: "contentSha256" @@ -22,7 +22,7 @@ class DocumentsInitRequest < Internal::Types::Model field :doc_id, -> { String }, optional: true, nullable: false, api_name: "docId" - field :upload_ttl_sec, -> { Integer }, optional: true, nullable: false, api_name: "uploadTtlSec" + field :upload_ttl_seconds, -> { Integer }, optional: true, nullable: false, api_name: "uploadTtlSeconds" field :upload_preference, -> { CloudPDF::Documents::Types::DocumentsInitRequestUploadPreference }, optional: true, nullable: false, api_name: "uploadPreference" end diff --git a/lib/CloudPDF/documents/types/documents_update_request.rb b/lib/CloudPDF/documents/types/documents_update_request.rb index e9ea30ee..20128f79 100644 --- a/lib/CloudPDF/documents/types/documents_update_request.rb +++ b/lib/CloudPDF/documents/types/documents_update_request.rb @@ -6,7 +6,7 @@ module Types class DocumentsUpdateRequest < Internal::Types::Model field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" - field :id, -> { String }, optional: false, nullable: false + field :doc_id, -> { String }, optional: false, nullable: false, api_name: "docId" field :name, -> { String }, optional: false, nullable: false end diff --git a/lib/CloudPDF/documents/types/download_documents_request.rb b/lib/CloudPDF/documents/types/download_documents_request.rb index 57cdced9..cd97398f 100644 --- a/lib/CloudPDF/documents/types/download_documents_request.rb +++ b/lib/CloudPDF/documents/types/download_documents_request.rb @@ -6,7 +6,7 @@ module Types class DownloadDocumentsRequest < Internal::Types::Model field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" - field :id, -> { String }, optional: false, nullable: false + field :doc_id, -> { String }, optional: false, nullable: false, api_name: "docId" end end end diff --git a/lib/CloudPDF/documents/types/get_documents_request.rb b/lib/CloudPDF/documents/types/get_documents_request.rb index 42fbcac8..48abe1ce 100644 --- a/lib/CloudPDF/documents/types/get_documents_request.rb +++ b/lib/CloudPDF/documents/types/get_documents_request.rb @@ -6,7 +6,7 @@ module Types class GetDocumentsRequest < Internal::Types::Model field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" - field :id, -> { String }, optional: false, nullable: false + field :doc_id, -> { String }, optional: false, nullable: false, api_name: "docId" end end end diff --git a/lib/CloudPDF/documents/types/thumbnail_documents_request.rb b/lib/CloudPDF/documents/types/thumbnail_documents_request.rb index ac173e37..b2417db2 100644 --- a/lib/CloudPDF/documents/types/thumbnail_documents_request.rb +++ b/lib/CloudPDF/documents/types/thumbnail_documents_request.rb @@ -6,7 +6,7 @@ module Types class ThumbnailDocumentsRequest < Internal::Types::Model field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" - field :id, -> { String }, optional: false, nullable: false + field :doc_id, -> { String }, optional: false, nullable: false, api_name: "docId" end end end diff --git a/lib/CloudPDF/documents/types/upload_proxy_documents_request.rb b/lib/CloudPDF/documents/types/upload_proxy_documents_request.rb index 5b606787..793dbebc 100644 --- a/lib/CloudPDF/documents/types/upload_proxy_documents_request.rb +++ b/lib/CloudPDF/documents/types/upload_proxy_documents_request.rb @@ -6,7 +6,7 @@ module Types class UploadProxyDocumentsRequest < Internal::Types::Model field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" - field :id, -> { String }, optional: false, nullable: false + field :doc_id, -> { String }, optional: false, nullable: false, api_name: "docId" field :file, -> { Object }, optional: false, nullable: false end diff --git a/lib/CloudPDF/folders/client.rb b/lib/CloudPDF/folders/client.rb index 55ed46b4..21b89d24 100644 --- a/lib/CloudPDF/folders/client.rb +++ b/lib/CloudPDF/folders/client.rb @@ -25,7 +25,7 @@ def initialize(client:) # @example # client.folders.list(tenant_id: "tenantId") # - # @return [CloudPDF::Types::FoldersList200Response] + # @return [CloudPDF::Types::FoldersListResponse] def list(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) query_params = {} @@ -47,7 +47,7 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::FoldersList200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::FoldersListResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -72,7 +72,7 @@ def list(request_options: {}, **params) # name: "name" # ) # - # @return [CloudPDF::Types::FoldersCreate200Response] + # @return [CloudPDF::Types::FoldersCreateResponse] def create(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) request_data = CloudPDF::Folders::Types::FoldersCreateRequest.new(params).to_h @@ -93,7 +93,7 @@ def create(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::FoldersCreate200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::FoldersCreateResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -116,7 +116,7 @@ def create(request_options: {}, **params) # folder_id: "folderId" # ) # - # @return [CloudPDF::Types::FoldersGet200Response] + # @return [CloudPDF::Types::FoldersGetResponse] def get(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) request = CloudPDF::Internal::JSON::Request.new( @@ -132,7 +132,7 @@ def get(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::FoldersGet200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::FoldersGetResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -206,7 +206,7 @@ def delete(request_options: {}, **params) # name: "name" # ) # - # @return [CloudPDF::Types::FoldersUpdate200Response] + # @return [CloudPDF::Types::FoldersUpdateResponse] def update(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) request_data = CloudPDF::Folders::Types::FoldersUpdateRequest.new(params).to_h @@ -227,7 +227,7 @@ def update(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::FoldersUpdate200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::FoldersUpdateResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -235,10 +235,10 @@ def update(request_options: {}, **params) end # Up to 1,000 ids in total. A folder moves with everything in it. 404 NotFound names the ids that do not exist or - # are being deleted in `details.documentIds` and `details.folderIds`. 409 Conflict carries `details.reason`: - # `cycle` (the destination is a moved folder or inside one; `details.folderId`), `too-deep` (the move would nest - # folders deeper than 100 levels; `details.maxDepth`) or `name-taken` (a moved folder's name is taken in the - # destination, ignoring case; `details.name`). + # are being deleted in `details.docIds` and `details.folderIds`. 409 Conflict carries `details.reason`: `cycle` + # (the destination is a moved folder or inside one; `details.folderId`), `too-deep` (the move would nest folders + # deeper than 100 levels; `details.maxDepth`) or `name-taken` (a moved folder's name is taken in the destination, + # ignoring case; `details.name`). # # @param request_options [Hash] # @param params [CloudPDF::Folders::Types::FoldersMoveIntoRequest] diff --git a/lib/CloudPDF/folders/types/folders_move_into_request.rb b/lib/CloudPDF/folders/types/folders_move_into_request.rb index a12e9037..65f05b92 100644 --- a/lib/CloudPDF/folders/types/folders_move_into_request.rb +++ b/lib/CloudPDF/folders/types/folders_move_into_request.rb @@ -8,7 +8,7 @@ class FoldersMoveIntoRequest < Internal::Types::Model field :folder_id, -> { String }, optional: false, nullable: false, api_name: "folderId" - field :document_ids, -> { Internal::Types::Array[String] }, optional: true, nullable: false, api_name: "documentIds" + field :doc_ids, -> { Internal::Types::Array[String] }, optional: true, nullable: false, api_name: "docIds" field :folder_ids, -> { Internal::Types::Array[String] }, optional: true, nullable: false, api_name: "folderIds" end diff --git a/lib/CloudPDF/grants/client.rb b/lib/CloudPDF/grants/client.rb index 4741d33f..53894c79 100644 --- a/lib/CloudPDF/grants/client.rb +++ b/lib/CloudPDF/grants/client.rb @@ -30,7 +30,7 @@ def initialize(client:) # @example # client.grants.exchange(grant: "grant") # - # @return [CloudPDF::Types::GrantsExchange200Response] + # @return [CloudPDF::Types::GrantsExchangeResponse] def exchange(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) request = CloudPDF::Internal::JSON::Request.new( @@ -47,7 +47,7 @@ def exchange(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::GrantsExchange200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::GrantsExchangeResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -70,7 +70,7 @@ def exchange(request_options: {}, **params) # @example # client.grants.list(tenant_id: "tenantId") # - # @return [CloudPDF::Types::GrantsList200Response] + # @return [CloudPDF::Types::GrantsListResponse] def list(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) query_params = {} @@ -93,7 +93,7 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::GrantsList200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::GrantsListResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -120,7 +120,7 @@ def list(request_options: {}, **params) # scope: ["scope"] # ) # - # @return [CloudPDF::Types::GrantsCreate200Response] + # @return [CloudPDF::Types::GrantsCreateResponse] def create(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) request_data = CloudPDF::Grants::Types::GrantsCreateRequest.new(params).to_h @@ -141,7 +141,7 @@ def create(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::GrantsCreate200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::GrantsCreateResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -164,7 +164,7 @@ def create(request_options: {}, **params) # grant_id: "grantId" # ) # - # @return [CloudPDF::Types::GrantsGet200Response] + # @return [CloudPDF::Types::GrantsGetResponse] def get(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) request = CloudPDF::Internal::JSON::Request.new( @@ -180,7 +180,7 @@ def get(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::GrantsGet200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::GrantsGetResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -240,7 +240,7 @@ def delete(request_options: {}, **params) # grant_id: "grantId" # ) # - # @return [CloudPDF::Types::GrantsUpdate200Response] + # @return [CloudPDF::Types::GrantsUpdateResponse] def update(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) request_data = CloudPDF::Grants::Types::GrantsUpdateRequest.new(params).to_h @@ -261,7 +261,7 @@ def update(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::GrantsUpdate200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::GrantsUpdateResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -288,7 +288,7 @@ def update(request_options: {}, **params) # grant_id: "grantId" # ) # - # @return [CloudPDF::Types::GrantsArchive200Response] + # @return [CloudPDF::Types::GrantsArchiveResponse] def archive(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) request = CloudPDF::Internal::JSON::Request.new( @@ -304,7 +304,7 @@ def archive(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::GrantsArchive200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::GrantsArchiveResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/CloudPDF/grants/types/grants_create_request.rb b/lib/CloudPDF/grants/types/grants_create_request.rb index 2b5e3337..5f9c98e4 100644 --- a/lib/CloudPDF/grants/types/grants_create_request.rb +++ b/lib/CloudPDF/grants/types/grants_create_request.rb @@ -30,7 +30,7 @@ class GrantsCreateRequest < Internal::Types::Model field :session_ttl_seconds, -> { Integer }, optional: true, nullable: false, api_name: "sessionTtlSeconds" - field :expires_at, -> { Integer }, optional: true, nullable: false, api_name: "expiresAt" + field :expires_at, -> { String }, optional: true, nullable: false, api_name: "expiresAt" end end end diff --git a/lib/CloudPDF/grants/types/grants_update_request.rb b/lib/CloudPDF/grants/types/grants_update_request.rb index 44d73f65..3eb65d32 100644 --- a/lib/CloudPDF/grants/types/grants_update_request.rb +++ b/lib/CloudPDF/grants/types/grants_update_request.rb @@ -32,7 +32,7 @@ class GrantsUpdateRequest < Internal::Types::Model field :disabled, -> { Internal::Types::Boolean }, optional: true, nullable: false - field :expires_at, -> { Integer }, optional: true, nullable: false, api_name: "expiresAt" + field :expires_at, -> { String }, optional: true, nullable: false, api_name: "expiresAt" end end end diff --git a/lib/CloudPDF/grants/visitors/client.rb b/lib/CloudPDF/grants/visitors/client.rb index bf8fe94c..f237f112 100644 --- a/lib/CloudPDF/grants/visitors/client.rb +++ b/lib/CloudPDF/grants/visitors/client.rb @@ -31,7 +31,7 @@ def initialize(client:) # grant_id: "grantId" # ) # - # @return [CloudPDF::Types::GrantsVisitorsList200Response] + # @return [CloudPDF::Types::GrantsVisitorsListResponse] def list(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) query_params = {} @@ -52,7 +52,7 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::GrantsVisitorsList200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::GrantsVisitorsListResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/CloudPDF/tenants/client.rb b/lib/CloudPDF/tenants/client.rb index 6d0992a4..bcafec18 100644 --- a/lib/CloudPDF/tenants/client.rb +++ b/lib/CloudPDF/tenants/client.rb @@ -23,7 +23,7 @@ def initialize(client:) # @example # client.tenants.list # - # @return [CloudPDF::Types::TenantsList200Response] + # @return [CloudPDF::Types::TenantsListResponse] def list(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) query_params = {} @@ -44,7 +44,7 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::TenantsList200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::TenantsListResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -62,7 +62,7 @@ def list(request_options: {}, **params) # @example # client.tenants.create(id: "id") # - # @return [CloudPDF::Types::TenantsCreate200Response] + # @return [CloudPDF::Types::TenantsCreateResponse] def create(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) request = CloudPDF::Internal::JSON::Request.new( @@ -79,7 +79,7 @@ def create(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::TenantsCreate200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::TenantsCreateResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -98,7 +98,7 @@ def create(request_options: {}, **params) # @example # client.tenants.get(tenant_id: "tenantId") # - # @return [CloudPDF::Types::TenantsGet200Response] + # @return [CloudPDF::Types::TenantsGetResponse] def get(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) request = CloudPDF::Internal::JSON::Request.new( @@ -114,7 +114,7 @@ def get(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::TenantsGet200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::TenantsGetResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -178,7 +178,7 @@ def delete(request_options: {}, **params) # }] # ) # - # @return [CloudPDF::Types::TenantsUpdate200Response] + # @return [CloudPDF::Types::TenantsUpdateResponse] def update(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) request_data = CloudPDF::Tenants::Types::TenantsUpdateRequest.new(params).to_h @@ -199,7 +199,7 @@ def update(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::TenantsUpdate200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::TenantsUpdateResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -298,7 +298,7 @@ def suspend(request_options: {}, **params) # @example # client.tenants.usage(tenant_id: "tenantId") # - # @return [CloudPDF::Types::TenantsUsage200Response] + # @return [CloudPDF::Types::TenantsUsageResponse] def usage(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) query_params = {} @@ -320,7 +320,7 @@ def usage(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::TenantsUsage200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::TenantsUsageResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/CloudPDF/tokens/client.rb b/lib/CloudPDF/tokens/client.rb index bd6386e1..b2bdf75c 100644 --- a/lib/CloudPDF/tokens/client.rb +++ b/lib/CloudPDF/tokens/client.rb @@ -27,7 +27,7 @@ def initialize(client:) # @example # client.tokens.issue(tenant_id: "tenantId") # - # @return [CloudPDF::Types::TokensIssue200Response] + # @return [CloudPDF::Types::TokensIssueResponse] def issue(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) path_param_names = %i[tenant_id] @@ -47,7 +47,7 @@ def issue(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - (response.body.to_s.empty? ? nil : CloudPDF::Types::TokensIssue200Response.load(response.body)) + (response.body.to_s.empty? ? nil : CloudPDF::Types::TokensIssueResponse.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/CloudPDF/tokens/types/tokens_revoke_request.rb b/lib/CloudPDF/tokens/types/tokens_revoke_request.rb index 68f52361..818fa3b9 100644 --- a/lib/CloudPDF/tokens/types/tokens_revoke_request.rb +++ b/lib/CloudPDF/tokens/types/tokens_revoke_request.rb @@ -10,7 +10,7 @@ class TokensRevokeRequest < Internal::Types::Model field :reason, -> { String }, optional: true, nullable: false - field :expires_at_seconds, -> { Integer }, optional: true, nullable: false, api_name: "expiresAtSeconds" + field :expires_at, -> { String }, optional: true, nullable: false, api_name: "expiresAt" end end end diff --git a/lib/CloudPDF/types/admin_error_payload.rb b/lib/CloudPDF/types/admin_error_payload.rb deleted file mode 100644 index 1a4352bf..00000000 --- a/lib/CloudPDF/types/admin_error_payload.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AdminErrorPayload < Internal::Types::Model - field :error, -> { CloudPDF::Types::AdminErrorPayloadError }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/admin_error_payload_error.rb b/lib/CloudPDF/types/admin_error_payload_error.rb deleted file mode 100644 index 1ed50567..00000000 --- a/lib/CloudPDF/types/admin_error_payload_error.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AdminErrorPayloadError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/annotation.rb b/lib/CloudPDF/types/annotation.rb index 5eb8e96f..873cd440 100644 --- a/lib/CloudPDF/types/annotation.rb +++ b/lib/CloudPDF/types/annotation.rb @@ -2,6 +2,9 @@ module CloudPDF module Types + # An annotation, by its `subtype`. A newer server can add subtypes: read one your client doesn't know as + # `unsupported`, keeping the fields every annotation has, with `rawSubtypeCode` 0 and `rawSubtypeName` null when the + # body has neither. class Annotation < Internal::Types::Model extend CloudPDF::Internal::Types::Union diff --git a/lib/CloudPDF/types/annotation_draft_widget.rb b/lib/CloudPDF/types/annotation_draft_widget.rb index f12a1ae8..02e1f5e4 100644 --- a/lib/CloudPDF/types/annotation_draft_widget.rb +++ b/lib/CloudPDF/types/annotation_draft_widget.rb @@ -93,7 +93,9 @@ class AnnotationDraftWidget < Internal::Types::Model field :field, -> { Object }, optional: true, nullable: false - field :field_family, -> { Object }, optional: true, nullable: false, api_name: "fieldFamily" + field :field_kind, -> { Object }, optional: true, nullable: false, api_name: "fieldKind" + + field :has_mark, -> { Object }, optional: true, nullable: false, api_name: "hasMark" end end end diff --git a/lib/CloudPDF/types/annotation_line.rb b/lib/CloudPDF/types/annotation_line.rb index ee3f4a06..c51541bf 100644 --- a/lib/CloudPDF/types/annotation_line.rb +++ b/lib/CloudPDF/types/annotation_line.rb @@ -87,9 +87,9 @@ class AnnotationLine < Internal::Types::Model field :intent, -> { CloudPDF::Types::AnnotationLineIntent }, optional: false, nullable: true - field :measure, -> { CloudPDF::Types::AnnotationLineMeasure }, optional: false, nullable: true + field :measure, -> { CloudPDF::Types::PdfMeasurement }, optional: false, nullable: true - field :caption_enabled, -> { Internal::Types::Boolean }, optional: false, nullable: true, api_name: "captionEnabled" + field :caption_enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "captionEnabled" field :caption_position, -> { CloudPDF::Types::AnnotationLineCaptionPosition }, optional: false, nullable: false, api_name: "captionPosition" diff --git a/lib/CloudPDF/types/annotation_line_measure.rb b/lib/CloudPDF/types/annotation_line_measure.rb deleted file mode 100644 index ec35a65c..00000000 --- a/lib/CloudPDF/types/annotation_line_measure.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationLineMeasure < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :subtype - - member -> { CloudPDF::Types::AnnotationLineMeasureRectilinear }, key: "RECTILINEAR" - - member -> { CloudPDF::Types::AnnotationLineMeasureGeospatial }, key: "GEOSPATIAL" - - member -> { CloudPDF::Types::AnnotationLineMeasureUnknown }, key: "UNKNOWN" - end - end -end diff --git a/lib/CloudPDF/types/annotation_line_measure_geospatial.rb b/lib/CloudPDF/types/annotation_line_measure_geospatial.rb deleted file mode 100644 index 89e8145c..00000000 --- a/lib/CloudPDF/types/annotation_line_measure_geospatial.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationLineMeasureGeospatial < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/annotation_line_measure_rectilinear.rb b/lib/CloudPDF/types/annotation_line_measure_rectilinear.rb deleted file mode 100644 index 68bb08d2..00000000 --- a/lib/CloudPDF/types/annotation_line_measure_rectilinear.rb +++ /dev/null @@ -1,25 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationLineMeasureRectilinear < Internal::Types::Model - field :ratio, -> { String }, optional: true, nullable: false - - field :x, -> { Internal::Types::Array[CloudPDF::Types::AnnotationLineMeasureRectilinearXItem] }, optional: false, nullable: false - - field :y, -> { Internal::Types::Array[CloudPDF::Types::AnnotationLineMeasureRectilinearYItem] }, optional: true, nullable: false - - field :distance, -> { Internal::Types::Array[CloudPDF::Types::AnnotationLineMeasureRectilinearDistanceItem] }, optional: false, nullable: false - - field :area, -> { Internal::Types::Array[CloudPDF::Types::AnnotationLineMeasureRectilinearAreaItem] }, optional: false, nullable: false - - field :angle, -> { Internal::Types::Array[CloudPDF::Types::AnnotationLineMeasureRectilinearAngleItem] }, optional: true, nullable: false - - field :slope, -> { Internal::Types::Array[CloudPDF::Types::AnnotationLineMeasureRectilinearSlopeItem] }, optional: true, nullable: false - - field :origin, -> { CloudPDF::Types::AnnotationLineMeasureRectilinearOrigin }, optional: true, nullable: false - - field :cyx, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/annotation_line_measure_rectilinear_angle_item.rb b/lib/CloudPDF/types/annotation_line_measure_rectilinear_angle_item.rb deleted file mode 100644 index 4c3f4e01..00000000 --- a/lib/CloudPDF/types/annotation_line_measure_rectilinear_angle_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationLineMeasureRectilinearAngleItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::AnnotationLineMeasureRectilinearAngleItemFraction }, optional: true, nullable: false - - field :precision, -> { Integer }, optional: true, nullable: false - - field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :thousands, -> { String }, optional: true, nullable: false - - field :decimal, -> { String }, optional: true, nullable: false - - field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" - - field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" - - field :label_position, -> { CloudPDF::Types::AnnotationLineMeasureRectilinearAngleItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/annotation_line_measure_rectilinear_angle_item_fraction.rb b/lib/CloudPDF/types/annotation_line_measure_rectilinear_angle_item_fraction.rb deleted file mode 100644 index fac7ce93..00000000 --- a/lib/CloudPDF/types/annotation_line_measure_rectilinear_angle_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationLineMeasureRectilinearAngleItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/annotation_line_measure_rectilinear_angle_item_label_position.rb b/lib/CloudPDF/types/annotation_line_measure_rectilinear_angle_item_label_position.rb deleted file mode 100644 index c899fff5..00000000 --- a/lib/CloudPDF/types/annotation_line_measure_rectilinear_angle_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationLineMeasureRectilinearAngleItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/annotation_line_measure_rectilinear_area_item.rb b/lib/CloudPDF/types/annotation_line_measure_rectilinear_area_item.rb deleted file mode 100644 index 208afbf4..00000000 --- a/lib/CloudPDF/types/annotation_line_measure_rectilinear_area_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationLineMeasureRectilinearAreaItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::AnnotationLineMeasureRectilinearAreaItemFraction }, optional: true, nullable: false - - field :precision, -> { Integer }, optional: true, nullable: false - - field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :thousands, -> { String }, optional: true, nullable: false - - field :decimal, -> { String }, optional: true, nullable: false - - field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" - - field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" - - field :label_position, -> { CloudPDF::Types::AnnotationLineMeasureRectilinearAreaItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/annotation_line_measure_rectilinear_area_item_fraction.rb b/lib/CloudPDF/types/annotation_line_measure_rectilinear_area_item_fraction.rb deleted file mode 100644 index 5813db57..00000000 --- a/lib/CloudPDF/types/annotation_line_measure_rectilinear_area_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationLineMeasureRectilinearAreaItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/annotation_line_measure_rectilinear_area_item_label_position.rb b/lib/CloudPDF/types/annotation_line_measure_rectilinear_area_item_label_position.rb deleted file mode 100644 index 3704f535..00000000 --- a/lib/CloudPDF/types/annotation_line_measure_rectilinear_area_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationLineMeasureRectilinearAreaItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/annotation_line_measure_rectilinear_distance_item.rb b/lib/CloudPDF/types/annotation_line_measure_rectilinear_distance_item.rb deleted file mode 100644 index 3059cb2f..00000000 --- a/lib/CloudPDF/types/annotation_line_measure_rectilinear_distance_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationLineMeasureRectilinearDistanceItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::AnnotationLineMeasureRectilinearDistanceItemFraction }, optional: true, nullable: false - - field :precision, -> { Integer }, optional: true, nullable: false - - field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :thousands, -> { String }, optional: true, nullable: false - - field :decimal, -> { String }, optional: true, nullable: false - - field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" - - field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" - - field :label_position, -> { CloudPDF::Types::AnnotationLineMeasureRectilinearDistanceItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/annotation_line_measure_rectilinear_distance_item_fraction.rb b/lib/CloudPDF/types/annotation_line_measure_rectilinear_distance_item_fraction.rb deleted file mode 100644 index afc44d9f..00000000 --- a/lib/CloudPDF/types/annotation_line_measure_rectilinear_distance_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationLineMeasureRectilinearDistanceItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/annotation_line_measure_rectilinear_distance_item_label_position.rb b/lib/CloudPDF/types/annotation_line_measure_rectilinear_distance_item_label_position.rb deleted file mode 100644 index b8c4cbdd..00000000 --- a/lib/CloudPDF/types/annotation_line_measure_rectilinear_distance_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationLineMeasureRectilinearDistanceItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/annotation_line_measure_rectilinear_origin.rb b/lib/CloudPDF/types/annotation_line_measure_rectilinear_origin.rb deleted file mode 100644 index fcd6aeb0..00000000 --- a/lib/CloudPDF/types/annotation_line_measure_rectilinear_origin.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationLineMeasureRectilinearOrigin < Internal::Types::Model - field :x, -> { Integer }, optional: false, nullable: false - - field :y, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/annotation_line_measure_rectilinear_slope_item.rb b/lib/CloudPDF/types/annotation_line_measure_rectilinear_slope_item.rb deleted file mode 100644 index acdef32b..00000000 --- a/lib/CloudPDF/types/annotation_line_measure_rectilinear_slope_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationLineMeasureRectilinearSlopeItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::AnnotationLineMeasureRectilinearSlopeItemFraction }, optional: true, nullable: false - - field :precision, -> { Integer }, optional: true, nullable: false - - field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :thousands, -> { String }, optional: true, nullable: false - - field :decimal, -> { String }, optional: true, nullable: false - - field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" - - field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" - - field :label_position, -> { CloudPDF::Types::AnnotationLineMeasureRectilinearSlopeItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/annotation_line_measure_rectilinear_slope_item_fraction.rb b/lib/CloudPDF/types/annotation_line_measure_rectilinear_slope_item_fraction.rb deleted file mode 100644 index 568440de..00000000 --- a/lib/CloudPDF/types/annotation_line_measure_rectilinear_slope_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationLineMeasureRectilinearSlopeItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/annotation_line_measure_rectilinear_slope_item_label_position.rb b/lib/CloudPDF/types/annotation_line_measure_rectilinear_slope_item_label_position.rb deleted file mode 100644 index c814ac89..00000000 --- a/lib/CloudPDF/types/annotation_line_measure_rectilinear_slope_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationLineMeasureRectilinearSlopeItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/annotation_line_measure_rectilinear_x_item.rb b/lib/CloudPDF/types/annotation_line_measure_rectilinear_x_item.rb deleted file mode 100644 index b01e0c49..00000000 --- a/lib/CloudPDF/types/annotation_line_measure_rectilinear_x_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationLineMeasureRectilinearXItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::AnnotationLineMeasureRectilinearXItemFraction }, optional: true, nullable: false - - field :precision, -> { Integer }, optional: true, nullable: false - - field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :thousands, -> { String }, optional: true, nullable: false - - field :decimal, -> { String }, optional: true, nullable: false - - field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" - - field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" - - field :label_position, -> { CloudPDF::Types::AnnotationLineMeasureRectilinearXItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/annotation_line_measure_rectilinear_x_item_fraction.rb b/lib/CloudPDF/types/annotation_line_measure_rectilinear_x_item_fraction.rb deleted file mode 100644 index cbdbd8aa..00000000 --- a/lib/CloudPDF/types/annotation_line_measure_rectilinear_x_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationLineMeasureRectilinearXItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/annotation_line_measure_rectilinear_x_item_label_position.rb b/lib/CloudPDF/types/annotation_line_measure_rectilinear_x_item_label_position.rb deleted file mode 100644 index bcfbc008..00000000 --- a/lib/CloudPDF/types/annotation_line_measure_rectilinear_x_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationLineMeasureRectilinearXItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/annotation_line_measure_rectilinear_y_item.rb b/lib/CloudPDF/types/annotation_line_measure_rectilinear_y_item.rb deleted file mode 100644 index 299889af..00000000 --- a/lib/CloudPDF/types/annotation_line_measure_rectilinear_y_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationLineMeasureRectilinearYItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::AnnotationLineMeasureRectilinearYItemFraction }, optional: true, nullable: false - - field :precision, -> { Integer }, optional: true, nullable: false - - field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :thousands, -> { String }, optional: true, nullable: false - - field :decimal, -> { String }, optional: true, nullable: false - - field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" - - field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" - - field :label_position, -> { CloudPDF::Types::AnnotationLineMeasureRectilinearYItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/annotation_line_measure_rectilinear_y_item_fraction.rb b/lib/CloudPDF/types/annotation_line_measure_rectilinear_y_item_fraction.rb deleted file mode 100644 index 0269093b..00000000 --- a/lib/CloudPDF/types/annotation_line_measure_rectilinear_y_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationLineMeasureRectilinearYItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/annotation_line_measure_rectilinear_y_item_label_position.rb b/lib/CloudPDF/types/annotation_line_measure_rectilinear_y_item_label_position.rb deleted file mode 100644 index 705560d0..00000000 --- a/lib/CloudPDF/types/annotation_line_measure_rectilinear_y_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationLineMeasureRectilinearYItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/annotation_line_measure_unknown.rb b/lib/CloudPDF/types/annotation_line_measure_unknown.rb deleted file mode 100644 index 0b8a4d20..00000000 --- a/lib/CloudPDF/types/annotation_line_measure_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationLineMeasureUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/annotation_mutation_meta.rb b/lib/CloudPDF/types/annotation_mutation_meta.rb index 8cca9fb9..f40cacd8 100644 --- a/lib/CloudPDF/types/annotation_mutation_meta.rb +++ b/lib/CloudPDF/types/annotation_mutation_meta.rb @@ -13,7 +13,7 @@ class AnnotationMutationMeta < Internal::Types::Model field :missing_characters, -> { Internal::Types::Array[String] }, optional: true, nullable: false, api_name: "missingCharacters" - field :changed, -> { Internal::Types::Array[CloudPDF::Types::AnnotationRef] }, optional: false, nullable: false + field :changed_refs, -> { Internal::Types::Array[CloudPDF::Types::AnnotationRef] }, optional: false, nullable: false, api_name: "changedRefs" end end end diff --git a/lib/CloudPDF/types/annotation_polygon.rb b/lib/CloudPDF/types/annotation_polygon.rb index 61b1db4b..e2289e0d 100644 --- a/lib/CloudPDF/types/annotation_polygon.rb +++ b/lib/CloudPDF/types/annotation_polygon.rb @@ -89,7 +89,7 @@ class AnnotationPolygon < Internal::Types::Model field :intent, -> { CloudPDF::Types::AnnotationPolygonIntent }, optional: false, nullable: true - field :measure, -> { CloudPDF::Types::AnnotationPolygonMeasure }, optional: false, nullable: true + field :measure, -> { CloudPDF::Types::PdfMeasurement }, optional: false, nullable: true field :cloudy_intensity, -> { Integer }, optional: false, nullable: true, api_name: "cloudyIntensity" end diff --git a/lib/CloudPDF/types/annotation_polygon_measure.rb b/lib/CloudPDF/types/annotation_polygon_measure.rb deleted file mode 100644 index 8022da62..00000000 --- a/lib/CloudPDF/types/annotation_polygon_measure.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationPolygonMeasure < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :subtype - - member -> { CloudPDF::Types::AnnotationPolygonMeasureRectilinear }, key: "RECTILINEAR" - - member -> { CloudPDF::Types::AnnotationPolygonMeasureGeospatial }, key: "GEOSPATIAL" - - member -> { CloudPDF::Types::AnnotationPolygonMeasureUnknown }, key: "UNKNOWN" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polygon_measure_geospatial.rb b/lib/CloudPDF/types/annotation_polygon_measure_geospatial.rb deleted file mode 100644 index 20f8c21f..00000000 --- a/lib/CloudPDF/types/annotation_polygon_measure_geospatial.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationPolygonMeasureGeospatial < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear.rb b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear.rb deleted file mode 100644 index a14f2752..00000000 --- a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear.rb +++ /dev/null @@ -1,25 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationPolygonMeasureRectilinear < Internal::Types::Model - field :ratio, -> { String }, optional: true, nullable: false - - field :x, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPolygonMeasureRectilinearXItem] }, optional: false, nullable: false - - field :y, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPolygonMeasureRectilinearYItem] }, optional: true, nullable: false - - field :distance, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPolygonMeasureRectilinearDistanceItem] }, optional: false, nullable: false - - field :area, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPolygonMeasureRectilinearAreaItem] }, optional: false, nullable: false - - field :angle, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPolygonMeasureRectilinearAngleItem] }, optional: true, nullable: false - - field :slope, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPolygonMeasureRectilinearSlopeItem] }, optional: true, nullable: false - - field :origin, -> { CloudPDF::Types::AnnotationPolygonMeasureRectilinearOrigin }, optional: true, nullable: false - - field :cyx, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_angle_item.rb b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_angle_item.rb deleted file mode 100644 index 9338289d..00000000 --- a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_angle_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationPolygonMeasureRectilinearAngleItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::AnnotationPolygonMeasureRectilinearAngleItemFraction }, optional: true, nullable: false - - field :precision, -> { Integer }, optional: true, nullable: false - - field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :thousands, -> { String }, optional: true, nullable: false - - field :decimal, -> { String }, optional: true, nullable: false - - field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" - - field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" - - field :label_position, -> { CloudPDF::Types::AnnotationPolygonMeasureRectilinearAngleItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_angle_item_fraction.rb b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_angle_item_fraction.rb deleted file mode 100644 index 7bd625d7..00000000 --- a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_angle_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationPolygonMeasureRectilinearAngleItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_angle_item_label_position.rb b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_angle_item_label_position.rb deleted file mode 100644 index fb0908a9..00000000 --- a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_angle_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationPolygonMeasureRectilinearAngleItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_area_item.rb b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_area_item.rb deleted file mode 100644 index fb5b9560..00000000 --- a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_area_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationPolygonMeasureRectilinearAreaItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::AnnotationPolygonMeasureRectilinearAreaItemFraction }, optional: true, nullable: false - - field :precision, -> { Integer }, optional: true, nullable: false - - field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :thousands, -> { String }, optional: true, nullable: false - - field :decimal, -> { String }, optional: true, nullable: false - - field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" - - field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" - - field :label_position, -> { CloudPDF::Types::AnnotationPolygonMeasureRectilinearAreaItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_area_item_fraction.rb b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_area_item_fraction.rb deleted file mode 100644 index 3e8d68c2..00000000 --- a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_area_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationPolygonMeasureRectilinearAreaItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_area_item_label_position.rb b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_area_item_label_position.rb deleted file mode 100644 index 59c83f69..00000000 --- a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_area_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationPolygonMeasureRectilinearAreaItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_distance_item.rb b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_distance_item.rb deleted file mode 100644 index 722bdfa0..00000000 --- a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_distance_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationPolygonMeasureRectilinearDistanceItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::AnnotationPolygonMeasureRectilinearDistanceItemFraction }, optional: true, nullable: false - - field :precision, -> { Integer }, optional: true, nullable: false - - field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :thousands, -> { String }, optional: true, nullable: false - - field :decimal, -> { String }, optional: true, nullable: false - - field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" - - field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" - - field :label_position, -> { CloudPDF::Types::AnnotationPolygonMeasureRectilinearDistanceItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_distance_item_fraction.rb b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_distance_item_fraction.rb deleted file mode 100644 index 2b6f2c1f..00000000 --- a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_distance_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationPolygonMeasureRectilinearDistanceItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_distance_item_label_position.rb b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_distance_item_label_position.rb deleted file mode 100644 index 2d320306..00000000 --- a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_distance_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationPolygonMeasureRectilinearDistanceItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_origin.rb b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_origin.rb deleted file mode 100644 index 04ee99df..00000000 --- a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_origin.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationPolygonMeasureRectilinearOrigin < Internal::Types::Model - field :x, -> { Integer }, optional: false, nullable: false - - field :y, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_slope_item.rb b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_slope_item.rb deleted file mode 100644 index 5b8a35a5..00000000 --- a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_slope_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationPolygonMeasureRectilinearSlopeItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::AnnotationPolygonMeasureRectilinearSlopeItemFraction }, optional: true, nullable: false - - field :precision, -> { Integer }, optional: true, nullable: false - - field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :thousands, -> { String }, optional: true, nullable: false - - field :decimal, -> { String }, optional: true, nullable: false - - field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" - - field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" - - field :label_position, -> { CloudPDF::Types::AnnotationPolygonMeasureRectilinearSlopeItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_slope_item_fraction.rb b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_slope_item_fraction.rb deleted file mode 100644 index 24fba00c..00000000 --- a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_slope_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationPolygonMeasureRectilinearSlopeItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_slope_item_label_position.rb b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_slope_item_label_position.rb deleted file mode 100644 index b2375c69..00000000 --- a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_slope_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationPolygonMeasureRectilinearSlopeItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_x_item.rb b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_x_item.rb deleted file mode 100644 index 646fbca1..00000000 --- a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_x_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationPolygonMeasureRectilinearXItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::AnnotationPolygonMeasureRectilinearXItemFraction }, optional: true, nullable: false - - field :precision, -> { Integer }, optional: true, nullable: false - - field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :thousands, -> { String }, optional: true, nullable: false - - field :decimal, -> { String }, optional: true, nullable: false - - field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" - - field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" - - field :label_position, -> { CloudPDF::Types::AnnotationPolygonMeasureRectilinearXItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_x_item_fraction.rb b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_x_item_fraction.rb deleted file mode 100644 index fbd005c2..00000000 --- a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_x_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationPolygonMeasureRectilinearXItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_x_item_label_position.rb b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_x_item_label_position.rb deleted file mode 100644 index 574a53df..00000000 --- a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_x_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationPolygonMeasureRectilinearXItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_y_item.rb b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_y_item.rb deleted file mode 100644 index d1d62d3b..00000000 --- a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_y_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationPolygonMeasureRectilinearYItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::AnnotationPolygonMeasureRectilinearYItemFraction }, optional: true, nullable: false - - field :precision, -> { Integer }, optional: true, nullable: false - - field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :thousands, -> { String }, optional: true, nullable: false - - field :decimal, -> { String }, optional: true, nullable: false - - field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" - - field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" - - field :label_position, -> { CloudPDF::Types::AnnotationPolygonMeasureRectilinearYItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_y_item_fraction.rb b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_y_item_fraction.rb deleted file mode 100644 index 8e838cf3..00000000 --- a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_y_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationPolygonMeasureRectilinearYItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_y_item_label_position.rb b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_y_item_label_position.rb deleted file mode 100644 index 5cf7e96a..00000000 --- a/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_y_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationPolygonMeasureRectilinearYItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polygon_measure_unknown.rb b/lib/CloudPDF/types/annotation_polygon_measure_unknown.rb deleted file mode 100644 index 0e60d417..00000000 --- a/lib/CloudPDF/types/annotation_polygon_measure_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationPolygonMeasureUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/annotation_polyline.rb b/lib/CloudPDF/types/annotation_polyline.rb index 9af576d3..c571c07b 100644 --- a/lib/CloudPDF/types/annotation_polyline.rb +++ b/lib/CloudPDF/types/annotation_polyline.rb @@ -89,7 +89,7 @@ class AnnotationPolyline < Internal::Types::Model field :intent, -> { CloudPDF::Types::AnnotationPolylineIntent }, optional: false, nullable: true - field :measure, -> { CloudPDF::Types::AnnotationPolylineMeasure }, optional: false, nullable: true + field :measure, -> { CloudPDF::Types::PdfMeasurement }, optional: false, nullable: true field :line_endings, -> { CloudPDF::Types::AnnotationPolylineLineEndings }, optional: false, nullable: false, api_name: "lineEndings" end diff --git a/lib/CloudPDF/types/annotation_polyline_measure.rb b/lib/CloudPDF/types/annotation_polyline_measure.rb deleted file mode 100644 index 0cc95084..00000000 --- a/lib/CloudPDF/types/annotation_polyline_measure.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationPolylineMeasure < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :subtype - - member -> { CloudPDF::Types::AnnotationPolylineMeasureRectilinear }, key: "RECTILINEAR" - - member -> { CloudPDF::Types::AnnotationPolylineMeasureGeospatial }, key: "GEOSPATIAL" - - member -> { CloudPDF::Types::AnnotationPolylineMeasureUnknown }, key: "UNKNOWN" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polyline_measure_geospatial.rb b/lib/CloudPDF/types/annotation_polyline_measure_geospatial.rb deleted file mode 100644 index 667a0d51..00000000 --- a/lib/CloudPDF/types/annotation_polyline_measure_geospatial.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationPolylineMeasureGeospatial < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear.rb b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear.rb deleted file mode 100644 index 315a7ad0..00000000 --- a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear.rb +++ /dev/null @@ -1,25 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationPolylineMeasureRectilinear < Internal::Types::Model - field :ratio, -> { String }, optional: true, nullable: false - - field :x, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPolylineMeasureRectilinearXItem] }, optional: false, nullable: false - - field :y, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPolylineMeasureRectilinearYItem] }, optional: true, nullable: false - - field :distance, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPolylineMeasureRectilinearDistanceItem] }, optional: false, nullable: false - - field :area, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPolylineMeasureRectilinearAreaItem] }, optional: false, nullable: false - - field :angle, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPolylineMeasureRectilinearAngleItem] }, optional: true, nullable: false - - field :slope, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPolylineMeasureRectilinearSlopeItem] }, optional: true, nullable: false - - field :origin, -> { CloudPDF::Types::AnnotationPolylineMeasureRectilinearOrigin }, optional: true, nullable: false - - field :cyx, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_angle_item.rb b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_angle_item.rb deleted file mode 100644 index 7a8b3ee2..00000000 --- a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_angle_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationPolylineMeasureRectilinearAngleItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::AnnotationPolylineMeasureRectilinearAngleItemFraction }, optional: true, nullable: false - - field :precision, -> { Integer }, optional: true, nullable: false - - field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :thousands, -> { String }, optional: true, nullable: false - - field :decimal, -> { String }, optional: true, nullable: false - - field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" - - field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" - - field :label_position, -> { CloudPDF::Types::AnnotationPolylineMeasureRectilinearAngleItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_angle_item_fraction.rb b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_angle_item_fraction.rb deleted file mode 100644 index 61007412..00000000 --- a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_angle_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationPolylineMeasureRectilinearAngleItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_angle_item_label_position.rb b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_angle_item_label_position.rb deleted file mode 100644 index 68619679..00000000 --- a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_angle_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationPolylineMeasureRectilinearAngleItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_area_item.rb b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_area_item.rb deleted file mode 100644 index b59cb0d9..00000000 --- a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_area_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationPolylineMeasureRectilinearAreaItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::AnnotationPolylineMeasureRectilinearAreaItemFraction }, optional: true, nullable: false - - field :precision, -> { Integer }, optional: true, nullable: false - - field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :thousands, -> { String }, optional: true, nullable: false - - field :decimal, -> { String }, optional: true, nullable: false - - field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" - - field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" - - field :label_position, -> { CloudPDF::Types::AnnotationPolylineMeasureRectilinearAreaItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_area_item_fraction.rb b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_area_item_fraction.rb deleted file mode 100644 index cef3e812..00000000 --- a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_area_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationPolylineMeasureRectilinearAreaItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_area_item_label_position.rb b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_area_item_label_position.rb deleted file mode 100644 index ac58c0ac..00000000 --- a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_area_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationPolylineMeasureRectilinearAreaItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_distance_item.rb b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_distance_item.rb deleted file mode 100644 index de33b631..00000000 --- a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_distance_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationPolylineMeasureRectilinearDistanceItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::AnnotationPolylineMeasureRectilinearDistanceItemFraction }, optional: true, nullable: false - - field :precision, -> { Integer }, optional: true, nullable: false - - field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :thousands, -> { String }, optional: true, nullable: false - - field :decimal, -> { String }, optional: true, nullable: false - - field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" - - field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" - - field :label_position, -> { CloudPDF::Types::AnnotationPolylineMeasureRectilinearDistanceItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_distance_item_fraction.rb b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_distance_item_fraction.rb deleted file mode 100644 index 17d053f6..00000000 --- a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_distance_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationPolylineMeasureRectilinearDistanceItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_distance_item_label_position.rb b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_distance_item_label_position.rb deleted file mode 100644 index 7c6c7564..00000000 --- a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_distance_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationPolylineMeasureRectilinearDistanceItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_origin.rb b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_origin.rb deleted file mode 100644 index b9543bc0..00000000 --- a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_origin.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationPolylineMeasureRectilinearOrigin < Internal::Types::Model - field :x, -> { Integer }, optional: false, nullable: false - - field :y, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_slope_item.rb b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_slope_item.rb deleted file mode 100644 index 76d4e46c..00000000 --- a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_slope_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationPolylineMeasureRectilinearSlopeItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::AnnotationPolylineMeasureRectilinearSlopeItemFraction }, optional: true, nullable: false - - field :precision, -> { Integer }, optional: true, nullable: false - - field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :thousands, -> { String }, optional: true, nullable: false - - field :decimal, -> { String }, optional: true, nullable: false - - field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" - - field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" - - field :label_position, -> { CloudPDF::Types::AnnotationPolylineMeasureRectilinearSlopeItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_slope_item_fraction.rb b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_slope_item_fraction.rb deleted file mode 100644 index 1dda938f..00000000 --- a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_slope_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationPolylineMeasureRectilinearSlopeItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_slope_item_label_position.rb b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_slope_item_label_position.rb deleted file mode 100644 index 67d3ca75..00000000 --- a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_slope_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationPolylineMeasureRectilinearSlopeItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_x_item.rb b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_x_item.rb deleted file mode 100644 index 8fd4547a..00000000 --- a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_x_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationPolylineMeasureRectilinearXItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::AnnotationPolylineMeasureRectilinearXItemFraction }, optional: true, nullable: false - - field :precision, -> { Integer }, optional: true, nullable: false - - field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :thousands, -> { String }, optional: true, nullable: false - - field :decimal, -> { String }, optional: true, nullable: false - - field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" - - field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" - - field :label_position, -> { CloudPDF::Types::AnnotationPolylineMeasureRectilinearXItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_x_item_fraction.rb b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_x_item_fraction.rb deleted file mode 100644 index 73553e88..00000000 --- a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_x_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationPolylineMeasureRectilinearXItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_x_item_label_position.rb b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_x_item_label_position.rb deleted file mode 100644 index 137651fa..00000000 --- a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_x_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationPolylineMeasureRectilinearXItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_y_item.rb b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_y_item.rb deleted file mode 100644 index 12e82070..00000000 --- a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_y_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationPolylineMeasureRectilinearYItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::AnnotationPolylineMeasureRectilinearYItemFraction }, optional: true, nullable: false - - field :precision, -> { Integer }, optional: true, nullable: false - - field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :thousands, -> { String }, optional: true, nullable: false - - field :decimal, -> { String }, optional: true, nullable: false - - field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" - - field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" - - field :label_position, -> { CloudPDF::Types::AnnotationPolylineMeasureRectilinearYItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_y_item_fraction.rb b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_y_item_fraction.rb deleted file mode 100644 index c1a81cbe..00000000 --- a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_y_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationPolylineMeasureRectilinearYItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_y_item_label_position.rb b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_y_item_label_position.rb deleted file mode 100644 index e710c3c5..00000000 --- a/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_y_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module AnnotationPolylineMeasureRectilinearYItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/annotation_polyline_measure_unknown.rb b/lib/CloudPDF/types/annotation_polyline_measure_unknown.rb deleted file mode 100644 index e1cce20e..00000000 --- a/lib/CloudPDF/types/annotation_polyline_measure_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class AnnotationPolylineMeasureUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/attachment.rb b/lib/CloudPDF/types/attachment.rb index c696d595..1417f668 100644 --- a/lib/CloudPDF/types/attachment.rb +++ b/lib/CloudPDF/types/attachment.rb @@ -11,9 +11,9 @@ class Attachment < Internal::Types::Model field :description, -> { String }, optional: false, nullable: true - field :size, -> { Integer }, optional: false, nullable: true + field :size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "sizeBytes" - field :checksum, -> { String }, optional: false, nullable: true + field :md5, -> { String }, optional: false, nullable: true field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" diff --git a/lib/CloudPDF/types/attachment_file_info.rb b/lib/CloudPDF/types/attachment_file_info.rb index da5c7b8d..4a37303e 100644 --- a/lib/CloudPDF/types/attachment_file_info.rb +++ b/lib/CloudPDF/types/attachment_file_info.rb @@ -9,9 +9,9 @@ class AttachmentFileInfo < Internal::Types::Model field :description, -> { String }, optional: false, nullable: true - field :size, -> { Integer }, optional: false, nullable: true + field :size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "sizeBytes" - field :checksum, -> { String }, optional: false, nullable: true + field :md5, -> { String }, optional: false, nullable: true field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" diff --git a/lib/CloudPDF/types/attachment_mutation_meta.rb b/lib/CloudPDF/types/attachment_mutation_meta.rb index a98ecea5..ba97ce0e 100644 --- a/lib/CloudPDF/types/attachment_mutation_meta.rb +++ b/lib/CloudPDF/types/attachment_mutation_meta.rb @@ -13,7 +13,7 @@ class AttachmentMutationMeta < Internal::Types::Model field :missing_characters, -> { Internal::Types::Array[String] }, optional: true, nullable: false, api_name: "missingCharacters" - field :changed, -> { Internal::Types::Array[CloudPDF::Types::AttachmentRef] }, optional: false, nullable: false + field :changed_refs, -> { Internal::Types::Array[CloudPDF::Types::AttachmentRef] }, optional: false, nullable: false, api_name: "changedRefs" end end end diff --git a/lib/CloudPDF/types/cache_delta.rb b/lib/CloudPDF/types/cache_delta.rb index 8e68501e..47b2d895 100644 --- a/lib/CloudPDF/types/cache_delta.rb +++ b/lib/CloudPDF/types/cache_delta.rb @@ -21,6 +21,8 @@ class CacheDelta < Internal::Types::Model field :fonts_version, -> { Integer }, optional: true, nullable: false, api_name: "fontsVersion" + field :contents_version, -> { Integer }, optional: true, nullable: false, api_name: "contentsVersion" + field :layer_version, -> { Integer }, optional: true, nullable: false, api_name: "layerVersion" field :working, -> { Internal::Types::Boolean }, optional: true, nullable: false diff --git a/lib/CloudPDF/types/deployment_license_status_response.rb b/lib/CloudPDF/types/deployment_license_status_response.rb index 31760d9f..f19c8492 100644 --- a/lib/CloudPDF/types/deployment_license_status_response.rb +++ b/lib/CloudPDF/types/deployment_license_status_response.rb @@ -3,11 +3,11 @@ module CloudPDF module Types class DeploymentLicenseStatusResponse < Internal::Types::Model - field :license, -> { Object }, optional: true, nullable: false + field :license, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false - field :reporting, -> { Object }, optional: true, nullable: false + field :reporting, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: true - field :usage, -> { Object }, optional: true, nullable: false + field :usage, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: true end end end diff --git a/lib/CloudPDF/types/doc_annotations_create200response.rb b/lib/CloudPDF/types/doc_annotations_create200response.rb deleted file mode 100644 index 3a4a7268..00000000 --- a/lib/CloudPDF/types/doc_annotations_create200response.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsCreate200Response < Internal::Types::Model - field :annotation, -> { CloudPDF::Types::Annotation }, optional: false, nullable: false - - field :meta, -> { CloudPDF::Types::AnnotationMutationMeta }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_create400response.rb b/lib/CloudPDF/types/doc_annotations_create400response.rb deleted file mode 100644 index 7db71e32..00000000 --- a/lib/CloudPDF/types/doc_annotations_create400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsCreate400Response - # DocAnnotationsCreate400Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_create404response.rb b/lib/CloudPDF/types/doc_annotations_create404response.rb deleted file mode 100644 index 5fedcf9b..00000000 --- a/lib/CloudPDF/types/doc_annotations_create404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsCreate404Response - # DocAnnotationsCreate404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_create_response.rb b/lib/CloudPDF/types/doc_annotations_create_response.rb new file mode 100644 index 00000000..858d1bff --- /dev/null +++ b/lib/CloudPDF/types/doc_annotations_create_response.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocAnnotationsCreateResponse < Internal::Types::Model + field :annotation, -> { CloudPDF::Types::Annotation }, optional: false, nullable: false + + field :meta, -> { CloudPDF::Types::AnnotationMutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_annotations_delete200response.rb b/lib/CloudPDF/types/doc_annotations_delete200response.rb deleted file mode 100644 index 0b2621c0..00000000 --- a/lib/CloudPDF/types/doc_annotations_delete200response.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsDelete200Response < Internal::Types::Model - field :meta, -> { CloudPDF::Types::AnnotationMutationMeta }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_delete404response.rb b/lib/CloudPDF/types/doc_annotations_delete404response.rb deleted file mode 100644 index fd36ec83..00000000 --- a/lib/CloudPDF/types/doc_annotations_delete404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsDelete404Response - # DocAnnotationsDelete404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_delete_response.rb b/lib/CloudPDF/types/doc_annotations_delete_response.rb new file mode 100644 index 00000000..2e20e29a --- /dev/null +++ b/lib/CloudPDF/types/doc_annotations_delete_response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocAnnotationsDeleteResponse < Internal::Types::Model + field :meta, -> { CloudPDF::Types::AnnotationMutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_annotations_export_appearance400response.rb b/lib/CloudPDF/types/doc_annotations_export_appearance400response.rb deleted file mode 100644 index 6160e544..00000000 --- a/lib/CloudPDF/types/doc_annotations_export_appearance400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsExportAppearance400Response - # DocAnnotationsExportAppearance400Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_export_appearance404response.rb b/lib/CloudPDF/types/doc_annotations_export_appearance404response.rb deleted file mode 100644 index da23bc12..00000000 --- a/lib/CloudPDF/types/doc_annotations_export_appearance404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsExportAppearance404Response - # DocAnnotationsExportAppearance404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_flatten200response.rb b/lib/CloudPDF/types/doc_annotations_flatten200response.rb deleted file mode 100644 index d5e04994..00000000 --- a/lib/CloudPDF/types/doc_annotations_flatten200response.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsFlatten200Response < Internal::Types::Model - field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false - - field :usage, -> { CloudPDF::Types::DocAnnotationsFlatten200ResponseUsage }, optional: false, nullable: false - - field :results, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsFlatten200ResponseResultsItem] }, optional: false, nullable: false - - field :meta, -> { CloudPDF::Types::MutationMeta }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_flatten200response_results_item.rb b/lib/CloudPDF/types/doc_annotations_flatten200response_results_item.rb deleted file mode 100644 index 8c4c3da9..00000000 --- a/lib/CloudPDF/types/doc_annotations_flatten200response_results_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsFlatten200ResponseResultsItem < Internal::Types::Model - field :ref, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false - - field :status, -> { CloudPDF::Types::DocAnnotationsFlatten200ResponseResultsItemStatus }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_flatten200response_results_item_status.rb b/lib/CloudPDF/types/doc_annotations_flatten200response_results_item_status.rb deleted file mode 100644 index fd138ada..00000000 --- a/lib/CloudPDF/types/doc_annotations_flatten200response_results_item_status.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsFlatten200ResponseResultsItemStatus - extend CloudPDF::Internal::Types::Enum - - APPLIED = "applied" - UNCHANGED = "unchanged" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_flatten200response_usage.rb b/lib/CloudPDF/types/doc_annotations_flatten200response_usage.rb deleted file mode 100644 index 492a3645..00000000 --- a/lib/CloudPDF/types/doc_annotations_flatten200response_usage.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsFlatten200ResponseUsage - extend CloudPDF::Internal::Types::Enum - - DISPLAY = "display" - PRINT = "print" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_flatten400response.rb b/lib/CloudPDF/types/doc_annotations_flatten400response.rb deleted file mode 100644 index 844f5344..00000000 --- a/lib/CloudPDF/types/doc_annotations_flatten400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsFlatten400Response - # DocAnnotationsFlatten400Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_flatten404response.rb b/lib/CloudPDF/types/doc_annotations_flatten404response.rb deleted file mode 100644 index 45bcc6b1..00000000 --- a/lib/CloudPDF/types/doc_annotations_flatten404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsFlatten404Response - # DocAnnotationsFlatten404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_flatten_response.rb b/lib/CloudPDF/types/doc_annotations_flatten_response.rb new file mode 100644 index 00000000..f0ce019b --- /dev/null +++ b/lib/CloudPDF/types/doc_annotations_flatten_response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocAnnotationsFlattenResponse < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :usage, -> { CloudPDF::Types::DocAnnotationsFlattenResponseUsage }, optional: false, nullable: false + + field :results, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsFlattenResponseResultsItem] }, optional: false, nullable: false + + field :meta, -> { CloudPDF::Types::MutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_annotations_flatten_response_results_item.rb b/lib/CloudPDF/types/doc_annotations_flatten_response_results_item.rb new file mode 100644 index 00000000..6e20cdd0 --- /dev/null +++ b/lib/CloudPDF/types/doc_annotations_flatten_response_results_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocAnnotationsFlattenResponseResultsItem < Internal::Types::Model + field :ref, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :status, -> { CloudPDF::Types::DocAnnotationsFlattenResponseResultsItemStatus }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_annotations_flatten_response_results_item_status.rb b/lib/CloudPDF/types/doc_annotations_flatten_response_results_item_status.rb new file mode 100644 index 00000000..943a5c8b --- /dev/null +++ b/lib/CloudPDF/types/doc_annotations_flatten_response_results_item_status.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocAnnotationsFlattenResponseResultsItemStatus + extend CloudPDF::Internal::Types::Enum + + APPLIED = "applied" + UNCHANGED = "unchanged" + end + end +end diff --git a/lib/CloudPDF/types/doc_annotations_flatten_response_usage.rb b/lib/CloudPDF/types/doc_annotations_flatten_response_usage.rb new file mode 100644 index 00000000..90f2ba2a --- /dev/null +++ b/lib/CloudPDF/types/doc_annotations_flatten_response_usage.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocAnnotationsFlattenResponseUsage + extend CloudPDF::Internal::Types::Enum + + DISPLAY = "display" + PRINT = "print" + end + end +end diff --git a/lib/CloudPDF/types/doc_annotations_list200response.rb b/lib/CloudPDF/types/doc_annotations_list200response.rb deleted file mode 100644 index c9bad5d8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200Response - # DocAnnotationsList200Response is an alias for AnnotationList - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list404response.rb b/lib/CloudPDF/types/doc_annotations_list404response.rb deleted file mode 100644 index fba1ba6f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList404Response - # DocAnnotationsList404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response.rb b/lib/CloudPDF/types/doc_annotations_list_all200response.rb deleted file mode 100644 index 425126f6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200Response - # DocAnnotationsListAll200Response is an alias for AnnotationList - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all404response.rb b/lib/CloudPDF/types/doc_annotations_list_all404response.rb deleted file mode 100644 index bba21a5a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll404Response - # DocAnnotationsListAll404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all409response.rb b/lib/CloudPDF/types/doc_annotations_list_all409response.rb deleted file mode 100644 index a7b1829e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all409response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll409Response - # DocAnnotationsListAll409Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all_response.rb b/lib/CloudPDF/types/doc_annotations_list_all_response.rb new file mode 100644 index 00000000..fb18c07c --- /dev/null +++ b/lib/CloudPDF/types/doc_annotations_list_all_response.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocAnnotationsListAllResponse + # DocAnnotationsListAllResponse is an alias for AnnotationList + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/CloudPDF/types/doc_annotations_list_response.rb b/lib/CloudPDF/types/doc_annotations_list_response.rb new file mode 100644 index 00000000..9c982641 --- /dev/null +++ b/lib/CloudPDF/types/doc_annotations_list_response.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocAnnotationsListResponse + # DocAnnotationsListResponse is an alias for AnnotationList + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/CloudPDF/types/doc_annotations_read_appearance400response.rb b/lib/CloudPDF/types/doc_annotations_read_appearance400response.rb deleted file mode 100644 index 069de450..00000000 --- a/lib/CloudPDF/types/doc_annotations_read_appearance400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsReadAppearance400Response - # DocAnnotationsReadAppearance400Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_read_appearance404response.rb b/lib/CloudPDF/types/doc_annotations_read_appearance404response.rb deleted file mode 100644 index 27076d7e..00000000 --- a/lib/CloudPDF/types/doc_annotations_read_appearance404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsReadAppearance404Response - # DocAnnotationsReadAppearance404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_read_file400response.rb b/lib/CloudPDF/types/doc_annotations_read_file400response.rb deleted file mode 100644 index 8d167d1f..00000000 --- a/lib/CloudPDF/types/doc_annotations_read_file400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsReadFile400Response - # DocAnnotationsReadFile400Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_read_file404response.rb b/lib/CloudPDF/types/doc_annotations_read_file404response.rb deleted file mode 100644 index 4c0600d5..00000000 --- a/lib/CloudPDF/types/doc_annotations_read_file404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsReadFile404Response - # DocAnnotationsReadFile404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_read_file413response.rb b/lib/CloudPDF/types/doc_annotations_read_file413response.rb deleted file mode 100644 index 35aed529..00000000 --- a/lib/CloudPDF/types/doc_annotations_read_file413response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsReadFile413Response - # DocAnnotationsReadFile413Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_reorder200response.rb b/lib/CloudPDF/types/doc_annotations_reorder200response.rb deleted file mode 100644 index 0832d23b..00000000 --- a/lib/CloudPDF/types/doc_annotations_reorder200response.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsReorder200Response < Internal::Types::Model - field :order, -> { Internal::Types::Array[CloudPDF::Types::AnnotationRef] }, optional: false, nullable: false - - field :meta, -> { CloudPDF::Types::AnnotationMutationMeta }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_reorder400response.rb b/lib/CloudPDF/types/doc_annotations_reorder400response.rb deleted file mode 100644 index 15f0c476..00000000 --- a/lib/CloudPDF/types/doc_annotations_reorder400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsReorder400Response - # DocAnnotationsReorder400Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_reorder404response.rb b/lib/CloudPDF/types/doc_annotations_reorder404response.rb deleted file mode 100644 index 90702080..00000000 --- a/lib/CloudPDF/types/doc_annotations_reorder404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsReorder404Response - # DocAnnotationsReorder404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_reorder_response.rb b/lib/CloudPDF/types/doc_annotations_reorder_response.rb new file mode 100644 index 00000000..5dcf80bb --- /dev/null +++ b/lib/CloudPDF/types/doc_annotations_reorder_response.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocAnnotationsReorderResponse < Internal::Types::Model + field :order, -> { Internal::Types::Array[CloudPDF::Types::AnnotationRef] }, optional: false, nullable: false + + field :meta, -> { CloudPDF::Types::AnnotationMutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_annotations_update200response.rb b/lib/CloudPDF/types/doc_annotations_update200response.rb deleted file mode 100644 index e210c18c..00000000 --- a/lib/CloudPDF/types/doc_annotations_update200response.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsUpdate200Response < Internal::Types::Model - field :annotation, -> { CloudPDF::Types::Annotation }, optional: false, nullable: false - - field :appearance, -> { CloudPDF::Types::DocAnnotationsUpdate200ResponseAppearance }, optional: false, nullable: false - - field :meta, -> { CloudPDF::Types::AnnotationMutationMeta }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_update200response_appearance.rb b/lib/CloudPDF/types/doc_annotations_update200response_appearance.rb deleted file mode 100644 index ba0de3b2..00000000 --- a/lib/CloudPDF/types/doc_annotations_update200response_appearance.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsUpdate200ResponseAppearance < Internal::Types::Model - field :action, -> { CloudPDF::Types::DocAnnotationsUpdate200ResponseAppearanceAction }, optional: false, nullable: false - - field :changed, -> { Internal::Types::Boolean }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_update200response_appearance_action.rb b/lib/CloudPDF/types/doc_annotations_update200response_appearance_action.rb deleted file mode 100644 index e531900b..00000000 --- a/lib/CloudPDF/types/doc_annotations_update200response_appearance_action.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsUpdate200ResponseAppearanceAction - extend CloudPDF::Internal::Types::Enum - - PRESERVED = "preserved" - REGENERATED = "regenerated" - GENERATION_UNAVAILABLE = "generation-unavailable" - RESTORED = "restored" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_update400response.rb b/lib/CloudPDF/types/doc_annotations_update400response.rb deleted file mode 100644 index ac10bf8e..00000000 --- a/lib/CloudPDF/types/doc_annotations_update400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsUpdate400Response - # DocAnnotationsUpdate400Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_update404response.rb b/lib/CloudPDF/types/doc_annotations_update404response.rb deleted file mode 100644 index 065e6dfb..00000000 --- a/lib/CloudPDF/types/doc_annotations_update404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsUpdate404Response - # DocAnnotationsUpdate404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_update_response.rb b/lib/CloudPDF/types/doc_annotations_update_response.rb new file mode 100644 index 00000000..eca3fecd --- /dev/null +++ b/lib/CloudPDF/types/doc_annotations_update_response.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocAnnotationsUpdateResponse < Internal::Types::Model + field :annotation, -> { CloudPDF::Types::Annotation }, optional: false, nullable: false + + field :appearance, -> { CloudPDF::Types::DocAnnotationsUpdateResponseAppearance }, optional: false, nullable: false + + field :meta, -> { CloudPDF::Types::AnnotationMutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_annotations_update_response_appearance.rb b/lib/CloudPDF/types/doc_annotations_update_response_appearance.rb new file mode 100644 index 00000000..33e55963 --- /dev/null +++ b/lib/CloudPDF/types/doc_annotations_update_response_appearance.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocAnnotationsUpdateResponseAppearance < Internal::Types::Model + field :action, -> { CloudPDF::Types::DocAnnotationsUpdateResponseAppearanceAction }, optional: false, nullable: false + + field :changed, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_annotations_update_response_appearance_action.rb b/lib/CloudPDF/types/doc_annotations_update_response_appearance_action.rb new file mode 100644 index 00000000..b2bd6ade --- /dev/null +++ b/lib/CloudPDF/types/doc_annotations_update_response_appearance_action.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocAnnotationsUpdateResponseAppearanceAction + extend CloudPDF::Internal::Types::Enum + + PRESERVED = "preserved" + REGENERATED = "regenerated" + GENERATION_UNAVAILABLE = "generation-unavailable" + RESTORED = "restored" + end + end +end diff --git a/lib/CloudPDF/types/doc_attachments_download400response.rb b/lib/CloudPDF/types/doc_attachments_download400response.rb deleted file mode 100644 index 9d386dee..00000000 --- a/lib/CloudPDF/types/doc_attachments_download400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAttachmentsDownload400Response - # DocAttachmentsDownload400Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_attachments_download404response.rb b/lib/CloudPDF/types/doc_attachments_download404response.rb deleted file mode 100644 index 983217f2..00000000 --- a/lib/CloudPDF/types/doc_attachments_download404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAttachmentsDownload404Response - # DocAttachmentsDownload404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_attachments_download413response.rb b/lib/CloudPDF/types/doc_attachments_download413response.rb deleted file mode 100644 index e37956b9..00000000 --- a/lib/CloudPDF/types/doc_attachments_download413response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAttachmentsDownload413Response - # DocAttachmentsDownload413Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_attachments_list200response.rb b/lib/CloudPDF/types/doc_attachments_list200response.rb deleted file mode 100644 index 39511454..00000000 --- a/lib/CloudPDF/types/doc_attachments_list200response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAttachmentsList200Response - # DocAttachmentsList200Response is an alias for AttachmentList - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_attachments_list404response.rb b/lib/CloudPDF/types/doc_attachments_list404response.rb deleted file mode 100644 index a8456961..00000000 --- a/lib/CloudPDF/types/doc_attachments_list404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAttachmentsList404Response - # DocAttachmentsList404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_attachments_list_response.rb b/lib/CloudPDF/types/doc_attachments_list_response.rb new file mode 100644 index 00000000..35ea2154 --- /dev/null +++ b/lib/CloudPDF/types/doc_attachments_list_response.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocAttachmentsListResponse + # DocAttachmentsListResponse is an alias for AttachmentList + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/CloudPDF/types/doc_changes200response.rb b/lib/CloudPDF/types/doc_changes200response.rb deleted file mode 100644 index 51b30996..00000000 --- a/lib/CloudPDF/types/doc_changes200response.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocChanges200Response < Internal::Types::Model - field :changes, -> { Internal::Types::Array[CloudPDF::Types::DocChanges200ResponseChangesItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_changes200response_changes_item.rb b/lib/CloudPDF/types/doc_changes200response_changes_item.rb deleted file mode 100644 index b7b5a21e..00000000 --- a/lib/CloudPDF/types/doc_changes200response_changes_item.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocChanges200ResponseChangesItem < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :status - - member -> { CloudPDF::Types::DocChanges200ResponseChangesItemApplied }, key: "APPLIED" - - member -> { CloudPDF::Types::DocChanges200ResponseChangesItemRefused }, key: "REFUSED" - end - end -end diff --git a/lib/CloudPDF/types/doc_changes200response_changes_item_applied.rb b/lib/CloudPDF/types/doc_changes200response_changes_item_applied.rb deleted file mode 100644 index f603d2ea..00000000 --- a/lib/CloudPDF/types/doc_changes200response_changes_item_applied.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocChanges200ResponseChangesItemApplied < Internal::Types::Model - field :op_id, -> { String }, optional: false, nullable: false, api_name: "opId" - - field :result, -> { CloudPDF::Types::ChangeResult }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_changes200response_changes_item_refused.rb b/lib/CloudPDF/types/doc_changes200response_changes_item_refused.rb deleted file mode 100644 index b4776398..00000000 --- a/lib/CloudPDF/types/doc_changes200response_changes_item_refused.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocChanges200ResponseChangesItemRefused < Internal::Types::Model - field :op_id, -> { String }, optional: false, nullable: false, api_name: "opId" - - field :error, -> { CloudPDF::Types::EngineErrorPayload }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_changes400response.rb b/lib/CloudPDF/types/doc_changes400response.rb deleted file mode 100644 index 7ccd9c99..00000000 --- a/lib/CloudPDF/types/doc_changes400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocChanges400Response - # DocChanges400Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_changes404response.rb b/lib/CloudPDF/types/doc_changes404response.rb deleted file mode 100644 index 6fa4731f..00000000 --- a/lib/CloudPDF/types/doc_changes404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocChanges404Response - # DocChanges404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_changes409response.rb b/lib/CloudPDF/types/doc_changes409response.rb deleted file mode 100644 index 3610fe07..00000000 --- a/lib/CloudPDF/types/doc_changes409response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocChanges409Response - # DocChanges409Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_changes413response.rb b/lib/CloudPDF/types/doc_changes413response.rb deleted file mode 100644 index afa214f9..00000000 --- a/lib/CloudPDF/types/doc_changes413response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocChanges413Response - # DocChanges413Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_changes_response.rb b/lib/CloudPDF/types/doc_changes_response.rb new file mode 100644 index 00000000..2876d403 --- /dev/null +++ b/lib/CloudPDF/types/doc_changes_response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocChangesResponse < Internal::Types::Model + field :changes, -> { Internal::Types::Array[CloudPDF::Types::DocChangesResponseChangesItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_changes_response_changes_item.rb b/lib/CloudPDF/types/doc_changes_response_changes_item.rb new file mode 100644 index 00000000..ea4f9339 --- /dev/null +++ b/lib/CloudPDF/types/doc_changes_response_changes_item.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocChangesResponseChangesItem < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :status + + member -> { CloudPDF::Types::DocChangesResponseChangesItemApplied }, key: "APPLIED" + + member -> { CloudPDF::Types::DocChangesResponseChangesItemRefused }, key: "REFUSED" + end + end +end diff --git a/lib/CloudPDF/types/doc_changes_response_changes_item_applied.rb b/lib/CloudPDF/types/doc_changes_response_changes_item_applied.rb new file mode 100644 index 00000000..91bc5317 --- /dev/null +++ b/lib/CloudPDF/types/doc_changes_response_changes_item_applied.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocChangesResponseChangesItemApplied < Internal::Types::Model + field :op_id, -> { String }, optional: false, nullable: false, api_name: "opId" + + field :result, -> { CloudPDF::Types::ChangeResult }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_changes_response_changes_item_refused.rb b/lib/CloudPDF/types/doc_changes_response_changes_item_refused.rb new file mode 100644 index 00000000..6e1c479b --- /dev/null +++ b/lib/CloudPDF/types/doc_changes_response_changes_item_refused.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocChangesResponseChangesItemRefused < Internal::Types::Model + field :op_id, -> { String }, optional: false, nullable: false, api_name: "opId" + + field :error, -> { CloudPDF::Types::EngineError }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_download_link200response.rb b/lib/CloudPDF/types/doc_download_link200response.rb deleted file mode 100644 index b1f50bf0..00000000 --- a/lib/CloudPDF/types/doc_download_link200response.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocDownloadLink200Response < Internal::Types::Model - field :url, -> { String }, optional: false, nullable: false - - field :expires_at, -> { Integer }, optional: false, nullable: false, api_name: "expiresAt" - end - end -end diff --git a/lib/CloudPDF/types/doc_download_link404response.rb b/lib/CloudPDF/types/doc_download_link404response.rb deleted file mode 100644 index 51a8454a..00000000 --- a/lib/CloudPDF/types/doc_download_link404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocDownloadLink404Response - # DocDownloadLink404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_download_link501response.rb b/lib/CloudPDF/types/doc_download_link501response.rb deleted file mode 100644 index 42a6f446..00000000 --- a/lib/CloudPDF/types/doc_download_link501response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocDownloadLink501Response - # DocDownloadLink501Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_download_link_response.rb b/lib/CloudPDF/types/doc_download_link_response.rb new file mode 100644 index 00000000..bd9386ff --- /dev/null +++ b/lib/CloudPDF/types/doc_download_link_response.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocDownloadLinkResponse < Internal::Types::Model + field :url, -> { String }, optional: false, nullable: false + + field :expires_at, -> { String }, optional: false, nullable: false, api_name: "expiresAt" + end + end +end diff --git a/lib/CloudPDF/types/doc_download_response.rb b/lib/CloudPDF/types/doc_download_response.rb deleted file mode 100644 index d6b0f924..00000000 --- a/lib/CloudPDF/types/doc_download_response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocDownloadResponse - # DocDownloadResponse is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_fonts_list200response.rb b/lib/CloudPDF/types/doc_fonts_list200response.rb deleted file mode 100644 index 480b3394..00000000 --- a/lib/CloudPDF/types/doc_fonts_list200response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFontsList200Response - # DocFontsList200Response is an alias for FontList - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_fonts_list404response.rb b/lib/CloudPDF/types/doc_fonts_list404response.rb deleted file mode 100644 index 9a068e1b..00000000 --- a/lib/CloudPDF/types/doc_fonts_list404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFontsList404Response - # DocFontsList404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_fonts_list_response.rb b/lib/CloudPDF/types/doc_fonts_list_response.rb new file mode 100644 index 00000000..dba5a6a1 --- /dev/null +++ b/lib/CloudPDF/types/doc_fonts_list_response.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocFontsListResponse + # DocFontsListResponse is an alias for FontList + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/CloudPDF/types/doc_fonts_programs_download403response.rb b/lib/CloudPDF/types/doc_fonts_programs_download403response.rb deleted file mode 100644 index 02cbbbee..00000000 --- a/lib/CloudPDF/types/doc_fonts_programs_download403response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFontsProgramsDownload403Response - # DocFontsProgramsDownload403Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_fonts_programs_download404response.rb b/lib/CloudPDF/types/doc_fonts_programs_download404response.rb deleted file mode 100644 index f57b59e1..00000000 --- a/lib/CloudPDF/types/doc_fonts_programs_download404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFontsProgramsDownload404Response - # DocFontsProgramsDownload404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_fonts_programs_get200response.rb b/lib/CloudPDF/types/doc_fonts_programs_get200response.rb deleted file mode 100644 index 589a0150..00000000 --- a/lib/CloudPDF/types/doc_fonts_programs_get200response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFontsProgramsGet200Response - # DocFontsProgramsGet200Response is an alias for FontProgramInfo - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_fonts_programs_get404response.rb b/lib/CloudPDF/types/doc_fonts_programs_get404response.rb deleted file mode 100644 index fdc7a7e5..00000000 --- a/lib/CloudPDF/types/doc_fonts_programs_get404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFontsProgramsGet404Response - # DocFontsProgramsGet404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_fonts_programs_get_response.rb b/lib/CloudPDF/types/doc_fonts_programs_get_response.rb new file mode 100644 index 00000000..ea17d59f --- /dev/null +++ b/lib/CloudPDF/types/doc_fonts_programs_get_response.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocFontsProgramsGetResponse + # DocFontsProgramsGetResponse is an alias for FontProgramInfo + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/CloudPDF/types/doc_fonts_resolve200response.rb b/lib/CloudPDF/types/doc_fonts_resolve200response.rb deleted file mode 100644 index 3223f1ac..00000000 --- a/lib/CloudPDF/types/doc_fonts_resolve200response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFontsResolve200Response - # DocFontsResolve200Response is an alias for FontResolution - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_fonts_resolve400response.rb b/lib/CloudPDF/types/doc_fonts_resolve400response.rb deleted file mode 100644 index 66872548..00000000 --- a/lib/CloudPDF/types/doc_fonts_resolve400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFontsResolve400Response - # DocFontsResolve400Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_fonts_resolve404response.rb b/lib/CloudPDF/types/doc_fonts_resolve404response.rb deleted file mode 100644 index 62498285..00000000 --- a/lib/CloudPDF/types/doc_fonts_resolve404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFontsResolve404Response - # DocFontsResolve404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_fonts_resolve_response.rb b/lib/CloudPDF/types/doc_fonts_resolve_response.rb new file mode 100644 index 00000000..7bbd41a5 --- /dev/null +++ b/lib/CloudPDF/types/doc_fonts_resolve_response.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocFontsResolveResponse + # DocFontsResolveResponse is an alias for FontResolution + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/CloudPDF/types/doc_forms_delete_widget200response.rb b/lib/CloudPDF/types/doc_forms_delete_widget200response.rb deleted file mode 100644 index 39ec1a51..00000000 --- a/lib/CloudPDF/types/doc_forms_delete_widget200response.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsDeleteWidget200Response < Internal::Types::Model - field :widget, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false - - field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false - - field :field, -> { CloudPDF::Types::FormField }, optional: false, nullable: true - - field :meta, -> { CloudPDF::Types::FormMutationMeta }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_delete_widget400response.rb b/lib/CloudPDF/types/doc_forms_delete_widget400response.rb deleted file mode 100644 index bacc5d64..00000000 --- a/lib/CloudPDF/types/doc_forms_delete_widget400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsDeleteWidget400Response - # DocFormsDeleteWidget400Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_delete_widget404response.rb b/lib/CloudPDF/types/doc_forms_delete_widget404response.rb deleted file mode 100644 index e6517f84..00000000 --- a/lib/CloudPDF/types/doc_forms_delete_widget404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsDeleteWidget404Response - # DocFormsDeleteWidget404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_delete_widget_response.rb b/lib/CloudPDF/types/doc_forms_delete_widget_response.rb new file mode 100644 index 00000000..2b60fca2 --- /dev/null +++ b/lib/CloudPDF/types/doc_forms_delete_widget_response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocFormsDeleteWidgetResponse < Internal::Types::Model + field :widget, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :field, -> { CloudPDF::Types::FormField }, optional: false, nullable: true + + field :meta, -> { CloudPDF::Types::FormMutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_forms_list200response.rb b/lib/CloudPDF/types/doc_forms_list200response.rb deleted file mode 100644 index 07744776..00000000 --- a/lib/CloudPDF/types/doc_forms_list200response.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsList200Response < Internal::Types::Model - field :form_kind, -> { CloudPDF::Types::DocFormsList200ResponseFormKind }, optional: false, nullable: false, api_name: "formKind" - - field :needs_appearances, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "needsAppearances" - - field :fields, -> { Internal::Types::Array[CloudPDF::Types::FormField] }, optional: false, nullable: false - - field :widgets, -> { Internal::Types::Array[CloudPDF::Types::WidgetAnnotation] }, optional: false, nullable: false - - field :calculation_order, -> { Internal::Types::Array[CloudPDF::Types::FormFieldRef] }, optional: false, nullable: false, api_name: "calculationOrder" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_list200response_form_kind.rb b/lib/CloudPDF/types/doc_forms_list200response_form_kind.rb deleted file mode 100644 index a66c1c21..00000000 --- a/lib/CloudPDF/types/doc_forms_list200response_form_kind.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsList200ResponseFormKind - extend CloudPDF::Internal::Types::Enum - - NONE = "none" - ACROFORM = "acroform" - XFA = "xfa" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_list404response.rb b/lib/CloudPDF/types/doc_forms_list404response.rb deleted file mode 100644 index be6d9138..00000000 --- a/lib/CloudPDF/types/doc_forms_list404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsList404Response - # DocFormsList404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_list_response.rb b/lib/CloudPDF/types/doc_forms_list_response.rb new file mode 100644 index 00000000..3a18bead --- /dev/null +++ b/lib/CloudPDF/types/doc_forms_list_response.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocFormsListResponse < Internal::Types::Model + field :form_kind, -> { CloudPDF::Types::DocFormsListResponseFormKind }, optional: false, nullable: false, api_name: "formKind" + + field :needs_appearances, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "needsAppearances" + + field :fields, -> { Internal::Types::Array[CloudPDF::Types::FormField] }, optional: false, nullable: false + + field :widgets, -> { Internal::Types::Array[CloudPDF::Types::WidgetAnnotation] }, optional: false, nullable: false + + field :calculation_order, -> { Internal::Types::Array[CloudPDF::Types::FormFieldRef] }, optional: false, nullable: false, api_name: "calculationOrder" + end + end +end diff --git a/lib/CloudPDF/types/doc_forms_list_response_form_kind.rb b/lib/CloudPDF/types/doc_forms_list_response_form_kind.rb new file mode 100644 index 00000000..b8baabac --- /dev/null +++ b/lib/CloudPDF/types/doc_forms_list_response_form_kind.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocFormsListResponseFormKind + extend CloudPDF::Internal::Types::Enum + + NONE = "none" + ACROFORM = "acroform" + XFA = "xfa" + end + end +end diff --git a/lib/CloudPDF/types/doc_forms_reorder_calculations200response.rb b/lib/CloudPDF/types/doc_forms_reorder_calculations200response.rb deleted file mode 100644 index ed04b076..00000000 --- a/lib/CloudPDF/types/doc_forms_reorder_calculations200response.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsReorderCalculations200Response < Internal::Types::Model - field :calculation_order, -> { Internal::Types::Array[CloudPDF::Types::FormFieldRef] }, optional: false, nullable: false, api_name: "calculationOrder" - - field :meta, -> { CloudPDF::Types::FormMutationMeta }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_reorder_calculations400response.rb b/lib/CloudPDF/types/doc_forms_reorder_calculations400response.rb deleted file mode 100644 index 5a3a48c5..00000000 --- a/lib/CloudPDF/types/doc_forms_reorder_calculations400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsReorderCalculations400Response - # DocFormsReorderCalculations400Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_reorder_calculations404response.rb b/lib/CloudPDF/types/doc_forms_reorder_calculations404response.rb deleted file mode 100644 index 9f682c75..00000000 --- a/lib/CloudPDF/types/doc_forms_reorder_calculations404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsReorderCalculations404Response - # DocFormsReorderCalculations404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_reorder_calculations_response.rb b/lib/CloudPDF/types/doc_forms_reorder_calculations_response.rb new file mode 100644 index 00000000..a0370701 --- /dev/null +++ b/lib/CloudPDF/types/doc_forms_reorder_calculations_response.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocFormsReorderCalculationsResponse < Internal::Types::Model + field :calculation_order, -> { Internal::Types::Array[CloudPDF::Types::FormFieldRef] }, optional: false, nullable: false, api_name: "calculationOrder" + + field :meta, -> { CloudPDF::Types::FormMutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_forms_reorder_widgets200response.rb b/lib/CloudPDF/types/doc_forms_reorder_widgets200response.rb deleted file mode 100644 index 0829895d..00000000 --- a/lib/CloudPDF/types/doc_forms_reorder_widgets200response.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsReorderWidgets200Response < Internal::Types::Model - field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false - - field :order, -> { Internal::Types::Array[CloudPDF::Types::AnnotationRef] }, optional: false, nullable: false - - field :meta, -> { CloudPDF::Types::FormMutationMeta }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_reorder_widgets400response.rb b/lib/CloudPDF/types/doc_forms_reorder_widgets400response.rb deleted file mode 100644 index ae56b501..00000000 --- a/lib/CloudPDF/types/doc_forms_reorder_widgets400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsReorderWidgets400Response - # DocFormsReorderWidgets400Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_reorder_widgets404response.rb b/lib/CloudPDF/types/doc_forms_reorder_widgets404response.rb deleted file mode 100644 index 57341ab4..00000000 --- a/lib/CloudPDF/types/doc_forms_reorder_widgets404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsReorderWidgets404Response - # DocFormsReorderWidgets404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_reorder_widgets_response.rb b/lib/CloudPDF/types/doc_forms_reorder_widgets_response.rb new file mode 100644 index 00000000..9e9daeff --- /dev/null +++ b/lib/CloudPDF/types/doc_forms_reorder_widgets_response.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocFormsReorderWidgetsResponse < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :order, -> { Internal::Types::Array[CloudPDF::Types::AnnotationRef] }, optional: false, nullable: false + + field :meta, -> { CloudPDF::Types::FormMutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_forms_reset200response.rb b/lib/CloudPDF/types/doc_forms_reset200response.rb deleted file mode 100644 index 969ab968..00000000 --- a/lib/CloudPDF/types/doc_forms_reset200response.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsReset200Response < Internal::Types::Model - field :fields, -> { Internal::Types::Array[CloudPDF::Types::FormField] }, optional: false, nullable: false - - field :widgets, -> { Internal::Types::Array[CloudPDF::Types::WidgetAnnotation] }, optional: false, nullable: false - - field :meta, -> { CloudPDF::Types::FormMutationMeta }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_reset400response.rb b/lib/CloudPDF/types/doc_forms_reset400response.rb deleted file mode 100644 index dafee8c0..00000000 --- a/lib/CloudPDF/types/doc_forms_reset400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsReset400Response - # DocFormsReset400Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_reset404response.rb b/lib/CloudPDF/types/doc_forms_reset404response.rb deleted file mode 100644 index 00a54f84..00000000 --- a/lib/CloudPDF/types/doc_forms_reset404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsReset404Response - # DocFormsReset404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_reset_response.rb b/lib/CloudPDF/types/doc_forms_reset_response.rb new file mode 100644 index 00000000..85313729 --- /dev/null +++ b/lib/CloudPDF/types/doc_forms_reset_response.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocFormsResetResponse < Internal::Types::Model + field :fields, -> { Internal::Types::Array[CloudPDF::Types::FormField] }, optional: false, nullable: false + + field :widgets, -> { Internal::Types::Array[CloudPDF::Types::WidgetAnnotation] }, optional: false, nullable: false + + field :meta, -> { CloudPDF::Types::FormMutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_forms_set_value200response.rb b/lib/CloudPDF/types/doc_forms_set_value200response.rb deleted file mode 100644 index 1af75b18..00000000 --- a/lib/CloudPDF/types/doc_forms_set_value200response.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsSetValue200Response < Internal::Types::Model - field :field, -> { CloudPDF::Types::FormField }, optional: false, nullable: false - - field :widgets, -> { Internal::Types::Array[CloudPDF::Types::WidgetAnnotation] }, optional: false, nullable: false - - field :meta, -> { CloudPDF::Types::FormMutationMeta }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_set_value400response.rb b/lib/CloudPDF/types/doc_forms_set_value400response.rb deleted file mode 100644 index a8bc5dfb..00000000 --- a/lib/CloudPDF/types/doc_forms_set_value400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsSetValue400Response - # DocFormsSetValue400Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_set_value404response.rb b/lib/CloudPDF/types/doc_forms_set_value404response.rb deleted file mode 100644 index dcbc7b2d..00000000 --- a/lib/CloudPDF/types/doc_forms_set_value404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsSetValue404Response - # DocFormsSetValue404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_set_value_response.rb b/lib/CloudPDF/types/doc_forms_set_value_response.rb new file mode 100644 index 00000000..2f444a20 --- /dev/null +++ b/lib/CloudPDF/types/doc_forms_set_value_response.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocFormsSetValueResponse < Internal::Types::Model + field :field, -> { CloudPDF::Types::FormField }, optional: false, nullable: false + + field :widgets, -> { Internal::Types::Array[CloudPDF::Types::WidgetAnnotation] }, optional: false, nullable: false + + field :meta, -> { CloudPDF::Types::FormMutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_forms_update_widget200response.rb b/lib/CloudPDF/types/doc_forms_update_widget200response.rb deleted file mode 100644 index 4c764dde..00000000 --- a/lib/CloudPDF/types/doc_forms_update_widget200response.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsUpdateWidget200Response < Internal::Types::Model - field :widget, -> { CloudPDF::Types::WidgetAnnotation }, optional: false, nullable: false - - field :appearance, -> { CloudPDF::Types::DocFormsUpdateWidget200ResponseAppearance }, optional: false, nullable: false - - field :meta, -> { CloudPDF::Types::FormMutationMeta }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_update_widget200response_appearance.rb b/lib/CloudPDF/types/doc_forms_update_widget200response_appearance.rb deleted file mode 100644 index 49972cb1..00000000 --- a/lib/CloudPDF/types/doc_forms_update_widget200response_appearance.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsUpdateWidget200ResponseAppearance < Internal::Types::Model - field :action, -> { CloudPDF::Types::DocFormsUpdateWidget200ResponseAppearanceAction }, optional: false, nullable: false - - field :changed, -> { Internal::Types::Boolean }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_update_widget200response_appearance_action.rb b/lib/CloudPDF/types/doc_forms_update_widget200response_appearance_action.rb deleted file mode 100644 index a8f96a00..00000000 --- a/lib/CloudPDF/types/doc_forms_update_widget200response_appearance_action.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsUpdateWidget200ResponseAppearanceAction - extend CloudPDF::Internal::Types::Enum - - PRESERVED = "preserved" - REGENERATED = "regenerated" - GENERATION_UNAVAILABLE = "generation-unavailable" - RESTORED = "restored" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_update_widget400response.rb b/lib/CloudPDF/types/doc_forms_update_widget400response.rb deleted file mode 100644 index 3c538d9b..00000000 --- a/lib/CloudPDF/types/doc_forms_update_widget400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsUpdateWidget400Response - # DocFormsUpdateWidget400Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_update_widget404response.rb b/lib/CloudPDF/types/doc_forms_update_widget404response.rb deleted file mode 100644 index 0e9c58e8..00000000 --- a/lib/CloudPDF/types/doc_forms_update_widget404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsUpdateWidget404Response - # DocFormsUpdateWidget404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_update_widget_response.rb b/lib/CloudPDF/types/doc_forms_update_widget_response.rb new file mode 100644 index 00000000..66ec6ffc --- /dev/null +++ b/lib/CloudPDF/types/doc_forms_update_widget_response.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocFormsUpdateWidgetResponse < Internal::Types::Model + field :widget, -> { CloudPDF::Types::WidgetAnnotation }, optional: false, nullable: false + + field :appearance, -> { CloudPDF::Types::DocFormsUpdateWidgetResponseAppearance }, optional: false, nullable: false + + field :meta, -> { CloudPDF::Types::FormMutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_forms_update_widget_response_appearance.rb b/lib/CloudPDF/types/doc_forms_update_widget_response_appearance.rb new file mode 100644 index 00000000..23c0e773 --- /dev/null +++ b/lib/CloudPDF/types/doc_forms_update_widget_response_appearance.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocFormsUpdateWidgetResponseAppearance < Internal::Types::Model + field :action, -> { CloudPDF::Types::DocFormsUpdateWidgetResponseAppearanceAction }, optional: false, nullable: false + + field :changed, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_forms_update_widget_response_appearance_action.rb b/lib/CloudPDF/types/doc_forms_update_widget_response_appearance_action.rb new file mode 100644 index 00000000..d05a798a --- /dev/null +++ b/lib/CloudPDF/types/doc_forms_update_widget_response_appearance_action.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocFormsUpdateWidgetResponseAppearanceAction + extend CloudPDF::Internal::Types::Enum + + PRESERVED = "preserved" + REGENERATED = "regenerated" + GENERATION_UNAVAILABLE = "generation-unavailable" + RESTORED = "restored" + end + end +end diff --git a/lib/CloudPDF/types/doc_head200response.rb b/lib/CloudPDF/types/doc_head200response.rb deleted file mode 100644 index 51e8d0c1..00000000 --- a/lib/CloudPDF/types/doc_head200response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocHead200Response < Internal::Types::Model - field :id, -> { String }, optional: false, nullable: false - - field :base_sha, -> { String }, optional: false, nullable: false, api_name: "baseSha" - - field :storage_size_bytes, -> { Integer }, optional: false, nullable: false, api_name: "storageSizeBytes" - - field :doc_version, -> { Integer }, optional: false, nullable: false, api_name: "docVersion" - - field :state, -> { CloudPDF::Types::DocHead200ResponseState }, optional: false, nullable: false - - field :encryption, -> { CloudPDF::Types::DocHead200ResponseEncryption }, optional: false, nullable: false - - field :permissions, -> { CloudPDF::Types::DocHead200ResponsePermissions }, optional: false, nullable: false - - field :access, -> { CloudPDF::Types::DocHead200ResponseAccess }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_head200response_access.rb b/lib/CloudPDF/types/doc_head200response_access.rb deleted file mode 100644 index 7c964691..00000000 --- a/lib/CloudPDF/types/doc_head200response_access.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocHead200ResponseAccess < Internal::Types::Model - field :required, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :reasons, -> { Internal::Types::Array[CloudPDF::Types::DocHead200ResponseAccessReasonsItem] }, optional: false, nullable: false - - field :endpoint, -> { String }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_head200response_access_reasons_item.rb b/lib/CloudPDF/types/doc_head200response_access_reasons_item.rb deleted file mode 100644 index 0fb44093..00000000 --- a/lib/CloudPDF/types/doc_head200response_access_reasons_item.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocHead200ResponseAccessReasonsItem - extend CloudPDF::Internal::Types::Enum - - PASSWORD = "password" - CDN = "cdn" - PERMISSIONS_UNKNOWN = "permissions-unknown" - end - end -end diff --git a/lib/CloudPDF/types/doc_head200response_encryption.rb b/lib/CloudPDF/types/doc_head200response_encryption.rb deleted file mode 100644 index e3f91c8d..00000000 --- a/lib/CloudPDF/types/doc_head200response_encryption.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocHead200ResponseEncryption < Internal::Types::Model - field :state, -> { CloudPDF::Types::DocHead200ResponseEncryptionState }, optional: false, nullable: false - - field :requires_password, -> { Internal::Types::Boolean }, optional: false, nullable: true, api_name: "requiresPassword" - end - end -end diff --git a/lib/CloudPDF/types/doc_head200response_encryption_state.rb b/lib/CloudPDF/types/doc_head200response_encryption_state.rb deleted file mode 100644 index bedea1e1..00000000 --- a/lib/CloudPDF/types/doc_head200response_encryption_state.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocHead200ResponseEncryptionState - extend CloudPDF::Internal::Types::Enum - - UNKNOWN = "unknown" - NONE = "none" - ENCRYPTED = "encrypted" - UNSUPPORTED = "unsupported" - end - end -end diff --git a/lib/CloudPDF/types/doc_head200response_permissions.rb b/lib/CloudPDF/types/doc_head200response_permissions.rb deleted file mode 100644 index b15b619c..00000000 --- a/lib/CloudPDF/types/doc_head200response_permissions.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocHead200ResponsePermissions < Internal::Types::Model - field :known, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :bits, -> { Integer }, optional: false, nullable: true - - field :all_allowed, -> { Internal::Types::Boolean }, optional: false, nullable: true, api_name: "allAllowed" - - field :opened_as, -> { CloudPDF::Types::DocHead200ResponsePermissionsOpenedAs }, optional: false, nullable: true, api_name: "openedAs" - - field :security_handler_revision, -> { Integer }, optional: false, nullable: true, api_name: "securityHandlerRevision" - - field :can_upgrade_to_owner, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "canUpgradeToOwner" - end - end -end diff --git a/lib/CloudPDF/types/doc_head200response_permissions_opened_as.rb b/lib/CloudPDF/types/doc_head200response_permissions_opened_as.rb deleted file mode 100644 index c938e9d1..00000000 --- a/lib/CloudPDF/types/doc_head200response_permissions_opened_as.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocHead200ResponsePermissionsOpenedAs - extend CloudPDF::Internal::Types::Enum - - NONE = "none" - USER = "user" - OWNER = "owner" - end - end -end diff --git a/lib/CloudPDF/types/doc_head200response_state.rb b/lib/CloudPDF/types/doc_head200response_state.rb deleted file mode 100644 index 9fd37474..00000000 --- a/lib/CloudPDF/types/doc_head200response_state.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocHead200ResponseState - extend CloudPDF::Internal::Types::Enum - - PENDING = "pending" - READY = "ready" - FAILED = "failed" - DELETING = "deleting" - end - end -end diff --git a/lib/CloudPDF/types/doc_head404response.rb b/lib/CloudPDF/types/doc_head404response.rb deleted file mode 100644 index 919fdf4e..00000000 --- a/lib/CloudPDF/types/doc_head404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocHead404Response - # DocHead404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_head_response.rb b/lib/CloudPDF/types/doc_head_response.rb new file mode 100644 index 00000000..7ec668de --- /dev/null +++ b/lib/CloudPDF/types/doc_head_response.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocHeadResponse < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :base_sha256, -> { String }, optional: false, nullable: false, api_name: "baseSha256" + + field :size_bytes, -> { Integer }, optional: false, nullable: false, api_name: "sizeBytes" + + field :doc_version, -> { Integer }, optional: false, nullable: false, api_name: "docVersion" + + field :state, -> { CloudPDF::Types::DocHeadResponseState }, optional: false, nullable: false + + field :encryption, -> { CloudPDF::Types::DocHeadResponseEncryption }, optional: false, nullable: false + + field :permissions, -> { CloudPDF::Types::DocHeadResponsePermissions }, optional: false, nullable: false + + field :access, -> { CloudPDF::Types::DocHeadResponseAccess }, optional: false, nullable: false + + field :engine, -> { Internal::Types::Hash[String, String] }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_head_response_access.rb b/lib/CloudPDF/types/doc_head_response_access.rb new file mode 100644 index 00000000..84f0eabf --- /dev/null +++ b/lib/CloudPDF/types/doc_head_response_access.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocHeadResponseAccess < Internal::Types::Model + field :required, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :reasons, -> { Internal::Types::Array[CloudPDF::Types::DocHeadResponseAccessReasonsItem] }, optional: false, nullable: false + + field :endpoint, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_head_response_access_reasons_item.rb b/lib/CloudPDF/types/doc_head_response_access_reasons_item.rb new file mode 100644 index 00000000..b783f35f --- /dev/null +++ b/lib/CloudPDF/types/doc_head_response_access_reasons_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocHeadResponseAccessReasonsItem + extend CloudPDF::Internal::Types::Enum + + PASSWORD = "password" + CDN = "cdn" + PERMISSIONS_UNKNOWN = "permissions-unknown" + end + end +end diff --git a/lib/CloudPDF/types/doc_head_response_encryption.rb b/lib/CloudPDF/types/doc_head_response_encryption.rb new file mode 100644 index 00000000..a540126a --- /dev/null +++ b/lib/CloudPDF/types/doc_head_response_encryption.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocHeadResponseEncryption < Internal::Types::Model + field :state, -> { CloudPDF::Types::DocHeadResponseEncryptionState }, optional: false, nullable: false + + field :requires_password, -> { Internal::Types::Boolean }, optional: false, nullable: true, api_name: "requiresPassword" + end + end +end diff --git a/lib/CloudPDF/types/doc_head_response_encryption_state.rb b/lib/CloudPDF/types/doc_head_response_encryption_state.rb new file mode 100644 index 00000000..4a71ef09 --- /dev/null +++ b/lib/CloudPDF/types/doc_head_response_encryption_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocHeadResponseEncryptionState + extend CloudPDF::Internal::Types::Enum + + UNKNOWN = "unknown" + NONE = "none" + ENCRYPTED = "encrypted" + UNSUPPORTED = "unsupported" + end + end +end diff --git a/lib/CloudPDF/types/doc_head_response_permissions.rb b/lib/CloudPDF/types/doc_head_response_permissions.rb new file mode 100644 index 00000000..0489b00a --- /dev/null +++ b/lib/CloudPDF/types/doc_head_response_permissions.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocHeadResponsePermissions < Internal::Types::Model + field :known, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :flags, -> { CloudPDF::Types::PdfPermissionFlags }, optional: false, nullable: true + + field :all_allowed, -> { Internal::Types::Boolean }, optional: false, nullable: true, api_name: "allAllowed" + + field :opened_as, -> { CloudPDF::Types::DocHeadResponsePermissionsOpenedAs }, optional: false, nullable: true, api_name: "openedAs" + + field :security_handler_revision, -> { Integer }, optional: false, nullable: true, api_name: "securityHandlerRevision" + + field :can_upgrade_to_owner, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "canUpgradeToOwner" + end + end +end diff --git a/lib/CloudPDF/types/doc_head_response_permissions_opened_as.rb b/lib/CloudPDF/types/doc_head_response_permissions_opened_as.rb new file mode 100644 index 00000000..7827af90 --- /dev/null +++ b/lib/CloudPDF/types/doc_head_response_permissions_opened_as.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocHeadResponsePermissionsOpenedAs + extend CloudPDF::Internal::Types::Enum + + NONE = "none" + USER = "user" + OWNER = "owner" + end + end +end diff --git a/lib/CloudPDF/types/doc_head_response_state.rb b/lib/CloudPDF/types/doc_head_response_state.rb new file mode 100644 index 00000000..b327c157 --- /dev/null +++ b/lib/CloudPDF/types/doc_head_response_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocHeadResponseState + extend CloudPDF::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + FAILED = "failed" + DELETING = "deleting" + end + end +end diff --git a/lib/CloudPDF/types/doc_manifest200response.rb b/lib/CloudPDF/types/doc_manifest200response.rb deleted file mode 100644 index 1a5001c8..00000000 --- a/lib/CloudPDF/types/doc_manifest200response.rb +++ /dev/null @@ -1,43 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocManifest200Response < Internal::Types::Model - field :doc_version, -> { Integer }, optional: false, nullable: false, api_name: "docVersion" - - field :layout_version, -> { Integer }, optional: false, nullable: false, api_name: "layoutVersion" - - field :metadata_version, -> { Integer }, optional: false, nullable: false, api_name: "metadataVersion" - - field :actions_version, -> { Integer }, optional: true, nullable: false, api_name: "actionsVersion" - - field :attachments_version, -> { Integer }, optional: true, nullable: false, api_name: "attachmentsVersion" - - field :annotations_version, -> { Integer }, optional: true, nullable: false, api_name: "annotationsVersion" - - field :forms_version, -> { Integer }, optional: true, nullable: false, api_name: "formsVersion" - - field :outline_version, -> { Integer }, optional: true, nullable: false, api_name: "outlineVersion" - - field :fonts_version, -> { Integer }, optional: true, nullable: false, api_name: "fontsVersion" - - field :server_fonts, -> { String }, optional: false, nullable: false, api_name: "serverFonts" - - field :audit_head, -> { Integer }, optional: false, nullable: false, api_name: "auditHead" - - field :base_sha, -> { String }, optional: false, nullable: false, api_name: "baseSha" - - field :layer_version, -> { Integer }, optional: true, nullable: false, api_name: "layerVersion" - - field :working, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :base_byte_length, -> { Integer }, optional: true, nullable: false, api_name: "baseByteLength" - - field :scopes, -> { CloudPDF::Types::DocManifest200ResponseScopes }, optional: true, nullable: false - - field :protection, -> { CloudPDF::Types::DocManifest200ResponseProtection }, optional: false, nullable: true - - field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocManifest200ResponsePagesItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_manifest200response_pages_item.rb b/lib/CloudPDF/types/doc_manifest200response_pages_item.rb deleted file mode 100644 index f548d8df..00000000 --- a/lib/CloudPDF/types/doc_manifest200response_pages_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocManifest200ResponsePagesItem < Internal::Types::Model - field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false - - field :cache, -> { CloudPDF::Types::DocManifest200ResponsePagesItemCache }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_manifest200response_pages_item_cache.rb b/lib/CloudPDF/types/doc_manifest200response_pages_item_cache.rb deleted file mode 100644 index f55b06f2..00000000 --- a/lib/CloudPDF/types/doc_manifest200response_pages_item_cache.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocManifest200ResponsePagesItemCache < Internal::Types::Model - field :content_version, -> { Integer }, optional: false, nullable: false, api_name: "contentVersion" - - field :annotation_version, -> { Integer }, optional: false, nullable: false, api_name: "annotationVersion" - - field :widget_version, -> { Integer }, optional: false, nullable: false, api_name: "widgetVersion" - end - end -end diff --git a/lib/CloudPDF/types/doc_manifest200response_protection.rb b/lib/CloudPDF/types/doc_manifest200response_protection.rb deleted file mode 100644 index b8b10da6..00000000 --- a/lib/CloudPDF/types/doc_manifest200response_protection.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocManifest200ResponseProtection < Internal::Types::Model - field :enforced, -> { CloudPDF::Types::DocManifest200ResponseProtectionEnforced }, optional: false, nullable: true - - field :judged, -> { CloudPDF::Types::DocManifest200ResponseProtectionJudged }, optional: false, nullable: true - - field :certification, -> { CloudPDF::Types::DocManifest200ResponseProtectionCertification }, optional: false, nullable: true - - field :field_locks, -> { Internal::Types::Array[CloudPDF::Types::DocManifest200ResponseProtectionFieldLocksItem] }, optional: false, nullable: false, api_name: "fieldLocks" - - field :policy_version, -> { Integer }, optional: false, nullable: false, api_name: "policyVersion" - end - end -end diff --git a/lib/CloudPDF/types/doc_manifest200response_protection_certification.rb b/lib/CloudPDF/types/doc_manifest200response_protection_certification.rb deleted file mode 100644 index fa249b56..00000000 --- a/lib/CloudPDF/types/doc_manifest200response_protection_certification.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocManifest200ResponseProtectionCertification < Internal::Types::Model - field :signature_index, -> { Integer }, optional: false, nullable: false, api_name: "signatureIndex" - - field :permission, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_manifest200response_protection_enforced.rb b/lib/CloudPDF/types/doc_manifest200response_protection_enforced.rb deleted file mode 100644 index 8f3bd1a6..00000000 --- a/lib/CloudPDF/types/doc_manifest200response_protection_enforced.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocManifest200ResponseProtectionEnforced - extend CloudPDF::Internal::Types::Enum - - NONE = "none" - LTA = "lta" - FILL = "fill" - ANNOTATE = "annotate" - end - end -end diff --git a/lib/CloudPDF/types/doc_manifest200response_protection_field_locks_item.rb b/lib/CloudPDF/types/doc_manifest200response_protection_field_locks_item.rb deleted file mode 100644 index 06711884..00000000 --- a/lib/CloudPDF/types/doc_manifest200response_protection_field_locks_item.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocManifest200ResponseProtectionFieldLocksItem < Internal::Types::Model - field :signature_index, -> { Integer }, optional: false, nullable: false, api_name: "signatureIndex" - - field :source, -> { CloudPDF::Types::DocManifest200ResponseProtectionFieldLocksItemSource }, optional: false, nullable: false - - field :spec, -> { CloudPDF::Types::DocManifest200ResponseProtectionFieldLocksItemSpec }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_manifest200response_protection_field_locks_item_source.rb b/lib/CloudPDF/types/doc_manifest200response_protection_field_locks_item_source.rb deleted file mode 100644 index a91e5999..00000000 --- a/lib/CloudPDF/types/doc_manifest200response_protection_field_locks_item_source.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocManifest200ResponseProtectionFieldLocksItemSource - extend CloudPDF::Internal::Types::Enum - - FIELDMDP = "fieldmdp" - LOCK = "lock" - end - end -end diff --git a/lib/CloudPDF/types/doc_manifest200response_protection_field_locks_item_spec.rb b/lib/CloudPDF/types/doc_manifest200response_protection_field_locks_item_spec.rb deleted file mode 100644 index 3c012e21..00000000 --- a/lib/CloudPDF/types/doc_manifest200response_protection_field_locks_item_spec.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocManifest200ResponseProtectionFieldLocksItemSpec < Internal::Types::Model - field :action, -> { CloudPDF::Types::DocManifest200ResponseProtectionFieldLocksItemSpecAction }, optional: false, nullable: false - - field :fields, -> { Internal::Types::Array[String] }, optional: false, nullable: false - - field :permission, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_manifest200response_protection_field_locks_item_spec_action.rb b/lib/CloudPDF/types/doc_manifest200response_protection_field_locks_item_spec_action.rb deleted file mode 100644 index 5148ab94..00000000 --- a/lib/CloudPDF/types/doc_manifest200response_protection_field_locks_item_spec_action.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocManifest200ResponseProtectionFieldLocksItemSpecAction - extend CloudPDF::Internal::Types::Enum - - ALL = "all" - INCLUDE = "include" - EXCLUDE = "exclude" - end - end -end diff --git a/lib/CloudPDF/types/doc_manifest200response_protection_judged.rb b/lib/CloudPDF/types/doc_manifest200response_protection_judged.rb deleted file mode 100644 index f48e6353..00000000 --- a/lib/CloudPDF/types/doc_manifest200response_protection_judged.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocManifest200ResponseProtectionJudged - extend CloudPDF::Internal::Types::Enum - - NONE = "none" - LTA = "lta" - FILL = "fill" - ANNOTATE = "annotate" - end - end -end diff --git a/lib/CloudPDF/types/doc_manifest200response_scopes.rb b/lib/CloudPDF/types/doc_manifest200response_scopes.rb deleted file mode 100644 index a88f8d72..00000000 --- a/lib/CloudPDF/types/doc_manifest200response_scopes.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocManifest200ResponseScopes < Internal::Types::Model - field :content, -> { CloudPDF::Types::DocManifest200ResponseScopesContent }, optional: false, nullable: false - - field :annotations, -> { CloudPDF::Types::DocManifest200ResponseScopesAnnotations }, optional: false, nullable: false - - field :forms, -> { CloudPDF::Types::DocManifest200ResponseScopesForms }, optional: false, nullable: false - - field :layout, -> { CloudPDF::Types::DocManifest200ResponseScopesLayout }, optional: false, nullable: false - - field :attachments, -> { CloudPDF::Types::DocManifest200ResponseScopesAttachments }, optional: false, nullable: false - - field :metadata, -> { CloudPDF::Types::DocManifest200ResponseScopesMetadata }, optional: false, nullable: false - - field :actions, -> { CloudPDF::Types::DocManifest200ResponseScopesActions }, optional: false, nullable: false - - field :outline, -> { CloudPDF::Types::DocManifest200ResponseScopesOutline }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_manifest200response_scopes_actions.rb b/lib/CloudPDF/types/doc_manifest200response_scopes_actions.rb deleted file mode 100644 index e6771a31..00000000 --- a/lib/CloudPDF/types/doc_manifest200response_scopes_actions.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocManifest200ResponseScopesActions - extend CloudPDF::Internal::Types::Enum - - BASE = "base" - LAYER = "layer" - end - end -end diff --git a/lib/CloudPDF/types/doc_manifest200response_scopes_annotations.rb b/lib/CloudPDF/types/doc_manifest200response_scopes_annotations.rb deleted file mode 100644 index c2a8fd5f..00000000 --- a/lib/CloudPDF/types/doc_manifest200response_scopes_annotations.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocManifest200ResponseScopesAnnotations - extend CloudPDF::Internal::Types::Enum - - BASE = "base" - LAYER = "layer" - end - end -end diff --git a/lib/CloudPDF/types/doc_manifest200response_scopes_attachments.rb b/lib/CloudPDF/types/doc_manifest200response_scopes_attachments.rb deleted file mode 100644 index 68b6840f..00000000 --- a/lib/CloudPDF/types/doc_manifest200response_scopes_attachments.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocManifest200ResponseScopesAttachments - extend CloudPDF::Internal::Types::Enum - - BASE = "base" - LAYER = "layer" - end - end -end diff --git a/lib/CloudPDF/types/doc_manifest200response_scopes_content.rb b/lib/CloudPDF/types/doc_manifest200response_scopes_content.rb deleted file mode 100644 index 3dc49a20..00000000 --- a/lib/CloudPDF/types/doc_manifest200response_scopes_content.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocManifest200ResponseScopesContent - extend CloudPDF::Internal::Types::Enum - - BASE = "base" - LAYER = "layer" - end - end -end diff --git a/lib/CloudPDF/types/doc_manifest200response_scopes_forms.rb b/lib/CloudPDF/types/doc_manifest200response_scopes_forms.rb deleted file mode 100644 index 57d3f817..00000000 --- a/lib/CloudPDF/types/doc_manifest200response_scopes_forms.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocManifest200ResponseScopesForms - extend CloudPDF::Internal::Types::Enum - - BASE = "base" - LAYER = "layer" - end - end -end diff --git a/lib/CloudPDF/types/doc_manifest200response_scopes_layout.rb b/lib/CloudPDF/types/doc_manifest200response_scopes_layout.rb deleted file mode 100644 index 4f839e98..00000000 --- a/lib/CloudPDF/types/doc_manifest200response_scopes_layout.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocManifest200ResponseScopesLayout - extend CloudPDF::Internal::Types::Enum - - BASE = "base" - LAYER = "layer" - end - end -end diff --git a/lib/CloudPDF/types/doc_manifest200response_scopes_metadata.rb b/lib/CloudPDF/types/doc_manifest200response_scopes_metadata.rb deleted file mode 100644 index 03e487e6..00000000 --- a/lib/CloudPDF/types/doc_manifest200response_scopes_metadata.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocManifest200ResponseScopesMetadata - extend CloudPDF::Internal::Types::Enum - - BASE = "base" - LAYER = "layer" - end - end -end diff --git a/lib/CloudPDF/types/doc_manifest200response_scopes_outline.rb b/lib/CloudPDF/types/doc_manifest200response_scopes_outline.rb deleted file mode 100644 index 23bf6eb6..00000000 --- a/lib/CloudPDF/types/doc_manifest200response_scopes_outline.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocManifest200ResponseScopesOutline - extend CloudPDF::Internal::Types::Enum - - BASE = "base" - LAYER = "layer" - end - end -end diff --git a/lib/CloudPDF/types/doc_manifest404response.rb b/lib/CloudPDF/types/doc_manifest404response.rb deleted file mode 100644 index 8c5e2a9a..00000000 --- a/lib/CloudPDF/types/doc_manifest404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocManifest404Response - # DocManifest404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_manifest_response.rb b/lib/CloudPDF/types/doc_manifest_response.rb new file mode 100644 index 00000000..e1b4f362 --- /dev/null +++ b/lib/CloudPDF/types/doc_manifest_response.rb @@ -0,0 +1,43 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocManifestResponse < Internal::Types::Model + field :doc_version, -> { Integer }, optional: false, nullable: false, api_name: "docVersion" + + field :layout_version, -> { Integer }, optional: false, nullable: false, api_name: "layoutVersion" + + field :metadata_version, -> { Integer }, optional: false, nullable: false, api_name: "metadataVersion" + + field :actions_version, -> { Integer }, optional: true, nullable: false, api_name: "actionsVersion" + + field :attachments_version, -> { Integer }, optional: true, nullable: false, api_name: "attachmentsVersion" + + field :annotations_version, -> { Integer }, optional: true, nullable: false, api_name: "annotationsVersion" + + field :forms_version, -> { Integer }, optional: true, nullable: false, api_name: "formsVersion" + + field :outline_version, -> { Integer }, optional: true, nullable: false, api_name: "outlineVersion" + + field :fonts_version, -> { Integer }, optional: true, nullable: false, api_name: "fontsVersion" + + field :contents_version, -> { Integer }, optional: true, nullable: false, api_name: "contentsVersion" + + field :audit_head, -> { Integer }, optional: false, nullable: false, api_name: "auditHead" + + field :base_sha256, -> { String }, optional: false, nullable: false, api_name: "baseSha256" + + field :layer_version, -> { Integer }, optional: true, nullable: false, api_name: "layerVersion" + + field :working, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :base_size_bytes, -> { Integer }, optional: true, nullable: false, api_name: "baseSizeBytes" + + field :scopes, -> { CloudPDF::Types::DocManifestResponseScopes }, optional: true, nullable: false + + field :protection, -> { CloudPDF::Types::DocManifestResponseProtection }, optional: false, nullable: true + + field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocManifestResponsePagesItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_manifest_response_pages_item.rb b/lib/CloudPDF/types/doc_manifest_response_pages_item.rb new file mode 100644 index 00000000..bcb4c446 --- /dev/null +++ b/lib/CloudPDF/types/doc_manifest_response_pages_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocManifestResponsePagesItem < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :cache, -> { CloudPDF::Types::DocManifestResponsePagesItemCache }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_manifest_response_pages_item_cache.rb b/lib/CloudPDF/types/doc_manifest_response_pages_item_cache.rb new file mode 100644 index 00000000..19c3b7c0 --- /dev/null +++ b/lib/CloudPDF/types/doc_manifest_response_pages_item_cache.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocManifestResponsePagesItemCache < Internal::Types::Model + field :content_version, -> { Integer }, optional: false, nullable: false, api_name: "contentVersion" + + field :annotation_version, -> { Integer }, optional: false, nullable: false, api_name: "annotationVersion" + + field :widget_version, -> { Integer }, optional: false, nullable: false, api_name: "widgetVersion" + end + end +end diff --git a/lib/CloudPDF/types/doc_manifest_response_protection.rb b/lib/CloudPDF/types/doc_manifest_response_protection.rb new file mode 100644 index 00000000..b51c2b68 --- /dev/null +++ b/lib/CloudPDF/types/doc_manifest_response_protection.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocManifestResponseProtection < Internal::Types::Model + field :enforced, -> { CloudPDF::Types::DocManifestResponseProtectionEnforced }, optional: false, nullable: true + + field :judged, -> { CloudPDF::Types::DocManifestResponseProtectionJudged }, optional: false, nullable: true + + field :certification, -> { CloudPDF::Types::DocManifestResponseProtectionCertification }, optional: false, nullable: true + + field :field_locks, -> { Internal::Types::Array[CloudPDF::Types::DocManifestResponseProtectionFieldLocksItem] }, optional: false, nullable: false, api_name: "fieldLocks" + + field :policy_version, -> { Integer }, optional: false, nullable: false, api_name: "policyVersion" + end + end +end diff --git a/lib/CloudPDF/types/doc_manifest_response_protection_certification.rb b/lib/CloudPDF/types/doc_manifest_response_protection_certification.rb new file mode 100644 index 00000000..093dcb53 --- /dev/null +++ b/lib/CloudPDF/types/doc_manifest_response_protection_certification.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocManifestResponseProtectionCertification < Internal::Types::Model + field :signature_index, -> { Integer }, optional: false, nullable: false, api_name: "signatureIndex" + + field :permission, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_manifest_response_protection_enforced.rb b/lib/CloudPDF/types/doc_manifest_response_protection_enforced.rb new file mode 100644 index 00000000..ec4d026f --- /dev/null +++ b/lib/CloudPDF/types/doc_manifest_response_protection_enforced.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocManifestResponseProtectionEnforced + extend CloudPDF::Internal::Types::Enum + + NONE = "none" + LTA = "lta" + FILL = "fill" + ANNOTATE = "annotate" + end + end +end diff --git a/lib/CloudPDF/types/doc_manifest_response_protection_field_locks_item.rb b/lib/CloudPDF/types/doc_manifest_response_protection_field_locks_item.rb new file mode 100644 index 00000000..512f505a --- /dev/null +++ b/lib/CloudPDF/types/doc_manifest_response_protection_field_locks_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocManifestResponseProtectionFieldLocksItem < Internal::Types::Model + field :signature_index, -> { Integer }, optional: false, nullable: false, api_name: "signatureIndex" + + field :source, -> { CloudPDF::Types::DocManifestResponseProtectionFieldLocksItemSource }, optional: false, nullable: false + + field :spec, -> { CloudPDF::Types::FieldLockSpec }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_manifest_response_protection_field_locks_item_source.rb b/lib/CloudPDF/types/doc_manifest_response_protection_field_locks_item_source.rb new file mode 100644 index 00000000..6b378f3d --- /dev/null +++ b/lib/CloudPDF/types/doc_manifest_response_protection_field_locks_item_source.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocManifestResponseProtectionFieldLocksItemSource + extend CloudPDF::Internal::Types::Enum + + FIELDMDP = "fieldmdp" + LOCK = "lock" + end + end +end diff --git a/lib/CloudPDF/types/doc_manifest_response_protection_judged.rb b/lib/CloudPDF/types/doc_manifest_response_protection_judged.rb new file mode 100644 index 00000000..45040516 --- /dev/null +++ b/lib/CloudPDF/types/doc_manifest_response_protection_judged.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocManifestResponseProtectionJudged + extend CloudPDF::Internal::Types::Enum + + NONE = "none" + LTA = "lta" + FILL = "fill" + ANNOTATE = "annotate" + end + end +end diff --git a/lib/CloudPDF/types/doc_manifest_response_scopes.rb b/lib/CloudPDF/types/doc_manifest_response_scopes.rb new file mode 100644 index 00000000..b62d92ba --- /dev/null +++ b/lib/CloudPDF/types/doc_manifest_response_scopes.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocManifestResponseScopes < Internal::Types::Model + field :content, -> { CloudPDF::Types::DocManifestResponseScopesContent }, optional: false, nullable: false + + field :annotations, -> { CloudPDF::Types::DocManifestResponseScopesAnnotations }, optional: false, nullable: false + + field :forms, -> { CloudPDF::Types::DocManifestResponseScopesForms }, optional: false, nullable: false + + field :layout, -> { CloudPDF::Types::DocManifestResponseScopesLayout }, optional: false, nullable: false + + field :attachments, -> { CloudPDF::Types::DocManifestResponseScopesAttachments }, optional: false, nullable: false + + field :metadata, -> { CloudPDF::Types::DocManifestResponseScopesMetadata }, optional: false, nullable: false + + field :actions, -> { CloudPDF::Types::DocManifestResponseScopesActions }, optional: false, nullable: false + + field :outline, -> { CloudPDF::Types::DocManifestResponseScopesOutline }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_manifest_response_scopes_actions.rb b/lib/CloudPDF/types/doc_manifest_response_scopes_actions.rb new file mode 100644 index 00000000..aa6d0cbb --- /dev/null +++ b/lib/CloudPDF/types/doc_manifest_response_scopes_actions.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocManifestResponseScopesActions + extend CloudPDF::Internal::Types::Enum + + BASE = "base" + LAYER = "layer" + end + end +end diff --git a/lib/CloudPDF/types/doc_manifest_response_scopes_annotations.rb b/lib/CloudPDF/types/doc_manifest_response_scopes_annotations.rb new file mode 100644 index 00000000..7f22c959 --- /dev/null +++ b/lib/CloudPDF/types/doc_manifest_response_scopes_annotations.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocManifestResponseScopesAnnotations + extend CloudPDF::Internal::Types::Enum + + BASE = "base" + LAYER = "layer" + end + end +end diff --git a/lib/CloudPDF/types/doc_manifest_response_scopes_attachments.rb b/lib/CloudPDF/types/doc_manifest_response_scopes_attachments.rb new file mode 100644 index 00000000..236dd802 --- /dev/null +++ b/lib/CloudPDF/types/doc_manifest_response_scopes_attachments.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocManifestResponseScopesAttachments + extend CloudPDF::Internal::Types::Enum + + BASE = "base" + LAYER = "layer" + end + end +end diff --git a/lib/CloudPDF/types/doc_manifest_response_scopes_content.rb b/lib/CloudPDF/types/doc_manifest_response_scopes_content.rb new file mode 100644 index 00000000..facd08cc --- /dev/null +++ b/lib/CloudPDF/types/doc_manifest_response_scopes_content.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocManifestResponseScopesContent + extend CloudPDF::Internal::Types::Enum + + BASE = "base" + LAYER = "layer" + end + end +end diff --git a/lib/CloudPDF/types/doc_manifest_response_scopes_forms.rb b/lib/CloudPDF/types/doc_manifest_response_scopes_forms.rb new file mode 100644 index 00000000..7c2dcfd5 --- /dev/null +++ b/lib/CloudPDF/types/doc_manifest_response_scopes_forms.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocManifestResponseScopesForms + extend CloudPDF::Internal::Types::Enum + + BASE = "base" + LAYER = "layer" + end + end +end diff --git a/lib/CloudPDF/types/doc_manifest_response_scopes_layout.rb b/lib/CloudPDF/types/doc_manifest_response_scopes_layout.rb new file mode 100644 index 00000000..6af38fdb --- /dev/null +++ b/lib/CloudPDF/types/doc_manifest_response_scopes_layout.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocManifestResponseScopesLayout + extend CloudPDF::Internal::Types::Enum + + BASE = "base" + LAYER = "layer" + end + end +end diff --git a/lib/CloudPDF/types/doc_manifest_response_scopes_metadata.rb b/lib/CloudPDF/types/doc_manifest_response_scopes_metadata.rb new file mode 100644 index 00000000..c228f2fa --- /dev/null +++ b/lib/CloudPDF/types/doc_manifest_response_scopes_metadata.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocManifestResponseScopesMetadata + extend CloudPDF::Internal::Types::Enum + + BASE = "base" + LAYER = "layer" + end + end +end diff --git a/lib/CloudPDF/types/doc_manifest_response_scopes_outline.rb b/lib/CloudPDF/types/doc_manifest_response_scopes_outline.rb new file mode 100644 index 00000000..91484f3e --- /dev/null +++ b/lib/CloudPDF/types/doc_manifest_response_scopes_outline.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocManifestResponseScopesOutline + extend CloudPDF::Internal::Types::Enum + + BASE = "base" + LAYER = "layer" + end + end +end diff --git a/lib/CloudPDF/types/doc_mdp_permission.rb b/lib/CloudPDF/types/doc_mdp_permission.rb new file mode 100644 index 00000000..f721cf8e --- /dev/null +++ b/lib/CloudPDF/types/doc_mdp_permission.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocMdpPermission + # DocMdpPermission is an alias for Integer + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/CloudPDF/types/doc_metadata_custom_get200response.rb b/lib/CloudPDF/types/doc_metadata_custom_get200response.rb deleted file mode 100644 index 7573ba9d..00000000 --- a/lib/CloudPDF/types/doc_metadata_custom_get200response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocMetadataCustomGet200Response - # DocMetadataCustomGet200Response is an alias for Hash - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_metadata_custom_get404response.rb b/lib/CloudPDF/types/doc_metadata_custom_get404response.rb deleted file mode 100644 index 8293827a..00000000 --- a/lib/CloudPDF/types/doc_metadata_custom_get404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocMetadataCustomGet404Response - # DocMetadataCustomGet404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_metadata_custom_get_response.rb b/lib/CloudPDF/types/doc_metadata_custom_get_response.rb new file mode 100644 index 00000000..0dbc5f10 --- /dev/null +++ b/lib/CloudPDF/types/doc_metadata_custom_get_response.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocMetadataCustomGetResponse + # DocMetadataCustomGetResponse is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/CloudPDF/types/doc_metadata_get200response.rb b/lib/CloudPDF/types/doc_metadata_get200response.rb deleted file mode 100644 index 93956955..00000000 --- a/lib/CloudPDF/types/doc_metadata_get200response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocMetadataGet200Response - # DocMetadataGet200Response is an alias for DocumentMetadata - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_metadata_get404response.rb b/lib/CloudPDF/types/doc_metadata_get404response.rb deleted file mode 100644 index 409d519c..00000000 --- a/lib/CloudPDF/types/doc_metadata_get404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocMetadataGet404Response - # DocMetadataGet404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_metadata_get_response.rb b/lib/CloudPDF/types/doc_metadata_get_response.rb new file mode 100644 index 00000000..a7a6bf34 --- /dev/null +++ b/lib/CloudPDF/types/doc_metadata_get_response.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocMetadataGetResponse + # DocMetadataGetResponse is an alias for DocumentMetadata + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/CloudPDF/types/doc_outline_get200response.rb b/lib/CloudPDF/types/doc_outline_get200response.rb deleted file mode 100644 index a8984e92..00000000 --- a/lib/CloudPDF/types/doc_outline_get200response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocOutlineGet200Response - # DocOutlineGet200Response is an alias for DocumentOutline - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_outline_get404response.rb b/lib/CloudPDF/types/doc_outline_get404response.rb deleted file mode 100644 index d0fdeae6..00000000 --- a/lib/CloudPDF/types/doc_outline_get404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocOutlineGet404Response - # DocOutlineGet404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_outline_get_response.rb b/lib/CloudPDF/types/doc_outline_get_response.rb new file mode 100644 index 00000000..7763b0e6 --- /dev/null +++ b/lib/CloudPDF/types/doc_outline_get_response.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocOutlineGetResponse + # DocOutlineGetResponse is an alias for DocumentOutline + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_extract400response.rb b/lib/CloudPDF/types/doc_pages_extract400response.rb deleted file mode 100644 index 520cd0a4..00000000 --- a/lib/CloudPDF/types/doc_pages_extract400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesExtract400Response - # DocPagesExtract400Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_extract404response.rb b/lib/CloudPDF/types/doc_pages_extract404response.rb deleted file mode 100644 index 6f277157..00000000 --- a/lib/CloudPDF/types/doc_pages_extract404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesExtract404Response - # DocPagesExtract404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_flatten200response.rb b/lib/CloudPDF/types/doc_pages_flatten200response.rb deleted file mode 100644 index f8c759c5..00000000 --- a/lib/CloudPDF/types/doc_pages_flatten200response.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesFlatten200Response < Internal::Types::Model - field :pages, -> { Internal::Types::Array[CloudPDF::Types::PageRef] }, optional: false, nullable: false - - field :usage, -> { CloudPDF::Types::DocPagesFlatten200ResponseUsage }, optional: false, nullable: false - - field :results, -> { Internal::Types::Array[CloudPDF::Types::DocPagesFlatten200ResponseResultsItem] }, optional: false, nullable: false - - field :meta, -> { CloudPDF::Types::MutationMeta }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_flatten200response_results_item.rb b/lib/CloudPDF/types/doc_pages_flatten200response_results_item.rb deleted file mode 100644 index f7de4af6..00000000 --- a/lib/CloudPDF/types/doc_pages_flatten200response_results_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesFlatten200ResponseResultsItem < Internal::Types::Model - field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false - - field :status, -> { CloudPDF::Types::DocPagesFlatten200ResponseResultsItemStatus }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_flatten200response_results_item_status.rb b/lib/CloudPDF/types/doc_pages_flatten200response_results_item_status.rb deleted file mode 100644 index 0d7d4db3..00000000 --- a/lib/CloudPDF/types/doc_pages_flatten200response_results_item_status.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesFlatten200ResponseResultsItemStatus - extend CloudPDF::Internal::Types::Enum - - APPLIED = "applied" - UNCHANGED = "unchanged" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_flatten200response_usage.rb b/lib/CloudPDF/types/doc_pages_flatten200response_usage.rb deleted file mode 100644 index b36aa0ee..00000000 --- a/lib/CloudPDF/types/doc_pages_flatten200response_usage.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesFlatten200ResponseUsage - extend CloudPDF::Internal::Types::Enum - - DISPLAY = "display" - PRINT = "print" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_flatten400response.rb b/lib/CloudPDF/types/doc_pages_flatten400response.rb deleted file mode 100644 index b6794e55..00000000 --- a/lib/CloudPDF/types/doc_pages_flatten400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesFlatten400Response - # DocPagesFlatten400Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_flatten404response.rb b/lib/CloudPDF/types/doc_pages_flatten404response.rb deleted file mode 100644 index 528a1d37..00000000 --- a/lib/CloudPDF/types/doc_pages_flatten404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesFlatten404Response - # DocPagesFlatten404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_flatten_response.rb b/lib/CloudPDF/types/doc_pages_flatten_response.rb new file mode 100644 index 00000000..301170a3 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_flatten_response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesFlattenResponse < Internal::Types::Model + field :pages, -> { Internal::Types::Array[CloudPDF::Types::PageRef] }, optional: false, nullable: false + + field :usage, -> { CloudPDF::Types::DocPagesFlattenResponseUsage }, optional: false, nullable: false + + field :results, -> { Internal::Types::Array[CloudPDF::Types::DocPagesFlattenResponseResultsItem] }, optional: false, nullable: false + + field :meta, -> { CloudPDF::Types::MutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_flatten_response_results_item.rb b/lib/CloudPDF/types/doc_pages_flatten_response_results_item.rb new file mode 100644 index 00000000..24dfebd3 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_flatten_response_results_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesFlattenResponseResultsItem < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :status, -> { CloudPDF::Types::DocPagesFlattenResponseResultsItemStatus }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_flatten_response_results_item_status.rb b/lib/CloudPDF/types/doc_pages_flatten_response_results_item_status.rb new file mode 100644 index 00000000..fdf753b3 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_flatten_response_results_item_status.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocPagesFlattenResponseResultsItemStatus + extend CloudPDF::Internal::Types::Enum + + APPLIED = "applied" + UNCHANGED = "unchanged" + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_flatten_response_usage.rb b/lib/CloudPDF/types/doc_pages_flatten_response_usage.rb new file mode 100644 index 00000000..c9c0cb91 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_flatten_response_usage.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocPagesFlattenResponseUsage + extend CloudPDF::Internal::Types::Enum + + DISPLAY = "display" + PRINT = "print" + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_remove_name200response.rb b/lib/CloudPDF/types/doc_pages_remove_name200response.rb deleted file mode 100644 index a248aa21..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name200response.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRemoveName200Response < Internal::Types::Model - field :layout, -> { CloudPDF::Types::DocPagesRemoveName200ResponseLayout }, optional: false, nullable: false - - field :meta, -> { CloudPDF::Types::MutationMeta }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name200response_layout.rb b/lib/CloudPDF/types/doc_pages_remove_name200response_layout.rb deleted file mode 100644 index 2057c7bf..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name200response_layout.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRemoveName200ResponseLayout < Internal::Types::Model - field :page_count, -> { Integer }, optional: false, nullable: false, api_name: "pageCount" - - field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesRemoveName200ResponseLayoutPagesItem] }, optional: false, nullable: false - - field :labels, -> { Internal::Types::Array[CloudPDF::Types::DocPagesRemoveName200ResponseLayoutLabelsItem] }, optional: false, nullable: false - - field :named_pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesRemoveName200ResponseLayoutNamedPagesItem] }, optional: false, nullable: false, api_name: "namedPages" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_labels_item.rb b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_labels_item.rb deleted file mode 100644 index 6f1f3ab4..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_labels_item.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRemoveName200ResponseLayoutLabelsItem < Internal::Types::Model - field :first_page, -> { Integer }, optional: false, nullable: false, api_name: "firstPage" - - field :style, -> { CloudPDF::Types::DocPagesRemoveName200ResponseLayoutLabelsItemStyle }, optional: false, nullable: true - - field :first_number, -> { Integer }, optional: false, nullable: false, api_name: "firstNumber" - - field :prefix, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_labels_item_style.rb b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_labels_item_style.rb deleted file mode 100644 index b94fa59c..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_labels_item_style.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesRemoveName200ResponseLayoutLabelsItemStyle - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - UPPER_ROMAN = "upperRoman" - LOWER_ROMAN = "lowerRoman" - UPPER_LETTERS = "upperLetters" - LOWER_LETTERS = "lowerLetters" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_named_pages_item.rb b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_named_pages_item.rb deleted file mode 100644 index 54c58a88..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_named_pages_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRemoveName200ResponseLayoutNamedPagesItem < Internal::Types::Model - field :name, -> { String }, optional: false, nullable: false - - field :target, -> { CloudPDF::Types::DocPagesRemoveName200ResponseLayoutNamedPagesItemTarget }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_named_pages_item_target.rb b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_named_pages_item_target.rb deleted file mode 100644 index c0024f04..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_named_pages_item_target.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRemoveName200ResponseLayoutNamedPagesItemTarget < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocPagesRemoveName200ResponseLayoutNamedPagesItemTargetPage }, key: "PAGE" - - member -> { CloudPDF::Types::DocPagesRemoveName200ResponseLayoutNamedPagesItemTargetTemplate }, key: "TEMPLATE" - - member -> { CloudPDF::Types::DocPagesRemoveName200ResponseLayoutNamedPagesItemTargetDangling }, key: "DANGLING" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_named_pages_item_target_dangling.rb b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_named_pages_item_target_dangling.rb deleted file mode 100644 index 0a3b1d8d..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_named_pages_item_target_dangling.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRemoveName200ResponseLayoutNamedPagesItemTargetDangling < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_named_pages_item_target_page.rb b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_named_pages_item_target_page.rb deleted file mode 100644 index 7b9d5de8..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_named_pages_item_target_page.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRemoveName200ResponseLayoutNamedPagesItemTargetPage < Internal::Types::Model - field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_named_pages_item_target_template.rb b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_named_pages_item_target_template.rb deleted file mode 100644 index e8b88d64..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_named_pages_item_target_template.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRemoveName200ResponseLayoutNamedPagesItemTargetTemplate < Internal::Types::Model - field :object_number, -> { Integer }, optional: false, nullable: false, api_name: "objectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item.rb b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item.rb deleted file mode 100644 index 048cf3ec..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRemoveName200ResponseLayoutPagesItem < Internal::Types::Model - field :index, -> { Integer }, optional: false, nullable: false - - field :ref, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false - - field :label, -> { String }, optional: false, nullable: true - - field :size, -> { CloudPDF::Types::DocPagesRemoveName200ResponseLayoutPagesItemSize }, optional: false, nullable: false - - field :rotation, -> { Integer }, optional: false, nullable: false - - field :user_unit, -> { Integer }, optional: false, nullable: false, api_name: "userUnit" - - field :tab_order, -> { CloudPDF::Types::DocPagesRemoveName200ResponseLayoutPagesItemTabOrder }, optional: false, nullable: true, api_name: "tabOrder" - - field :boxes, -> { CloudPDF::Types::DocPagesRemoveName200ResponseLayoutPagesItemBoxes }, optional: false, nullable: false - - field :pdf_crop_box, -> { CloudPDF::Types::DocPagesRemoveName200ResponseLayoutPagesItemPdfCropBox }, optional: false, nullable: false, api_name: "pdfCropBox" - - field :actions, -> { CloudPDF::Types::PdfPageActions }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes.rb b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes.rb deleted file mode 100644 index 08f2c0a4..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRemoveName200ResponseLayoutPagesItemBoxes < Internal::Types::Model - field :media, -> { CloudPDF::Types::DocPagesRemoveName200ResponseLayoutPagesItemBoxesMedia }, optional: false, nullable: false - - field :crop, -> { CloudPDF::Types::DocPagesRemoveName200ResponseLayoutPagesItemBoxesCrop }, optional: false, nullable: false - - field :bleed, -> { CloudPDF::Types::DocPagesRemoveName200ResponseLayoutPagesItemBoxesBleed }, optional: false, nullable: false - - field :trim, -> { CloudPDF::Types::DocPagesRemoveName200ResponseLayoutPagesItemBoxesTrim }, optional: false, nullable: false - - field :art, -> { CloudPDF::Types::DocPagesRemoveName200ResponseLayoutPagesItemBoxesArt }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes_art.rb b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes_art.rb deleted file mode 100644 index 140734c5..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes_art.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRemoveName200ResponseLayoutPagesItemBoxesArt < Internal::Types::Model - field :x, -> { Integer }, optional: false, nullable: false - - field :y, -> { Integer }, optional: false, nullable: false - - field :width, -> { Integer }, optional: false, nullable: false - - field :height, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes_bleed.rb b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes_bleed.rb deleted file mode 100644 index 290b50ac..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes_bleed.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRemoveName200ResponseLayoutPagesItemBoxesBleed < Internal::Types::Model - field :x, -> { Integer }, optional: false, nullable: false - - field :y, -> { Integer }, optional: false, nullable: false - - field :width, -> { Integer }, optional: false, nullable: false - - field :height, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes_crop.rb b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes_crop.rb deleted file mode 100644 index 1b2ff4af..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes_crop.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRemoveName200ResponseLayoutPagesItemBoxesCrop < Internal::Types::Model - field :x, -> { Integer }, optional: false, nullable: false - - field :y, -> { Integer }, optional: false, nullable: false - - field :width, -> { Integer }, optional: false, nullable: false - - field :height, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes_media.rb b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes_media.rb deleted file mode 100644 index 40a44b59..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes_media.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRemoveName200ResponseLayoutPagesItemBoxesMedia < Internal::Types::Model - field :x, -> { Integer }, optional: false, nullable: false - - field :y, -> { Integer }, optional: false, nullable: false - - field :width, -> { Integer }, optional: false, nullable: false - - field :height, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes_trim.rb b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes_trim.rb deleted file mode 100644 index b3ebe962..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes_trim.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRemoveName200ResponseLayoutPagesItemBoxesTrim < Internal::Types::Model - field :x, -> { Integer }, optional: false, nullable: false - - field :y, -> { Integer }, optional: false, nullable: false - - field :width, -> { Integer }, optional: false, nullable: false - - field :height, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_pdf_crop_box.rb b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_pdf_crop_box.rb deleted file mode 100644 index 7a4b04bf..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_pdf_crop_box.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRemoveName200ResponseLayoutPagesItemPdfCropBox < Internal::Types::Model - field :left, -> { Integer }, optional: false, nullable: false - - field :bottom, -> { Integer }, optional: false, nullable: false - - field :right, -> { Integer }, optional: false, nullable: false - - field :top, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_size.rb b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_size.rb deleted file mode 100644 index 9d4417c1..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_size.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRemoveName200ResponseLayoutPagesItemSize < Internal::Types::Model - field :width, -> { Integer }, optional: false, nullable: false - - field :height, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_tab_order.rb b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_tab_order.rb deleted file mode 100644 index 64897046..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_tab_order.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesRemoveName200ResponseLayoutPagesItemTabOrder - extend CloudPDF::Internal::Types::Enum - - ROWS = "rows" - COLUMNS = "columns" - STRUCTURE = "structure" - ANNOTATIONS = "annotations" - WIDGETS = "widgets" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name400response.rb b/lib/CloudPDF/types/doc_pages_remove_name400response.rb deleted file mode 100644 index 8ac4eb70..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesRemoveName400Response - # DocPagesRemoveName400Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name404response.rb b/lib/CloudPDF/types/doc_pages_remove_name404response.rb deleted file mode 100644 index 1aa2dd88..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesRemoveName404Response - # DocPagesRemoveName404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name_response.rb b/lib/CloudPDF/types/doc_pages_remove_name_response.rb new file mode 100644 index 00000000..b9e99e31 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name_response.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRemoveNameResponse < Internal::Types::Model + field :layout, -> { CloudPDF::Types::DocPagesRemoveNameResponseLayout }, optional: false, nullable: false + + field :meta, -> { CloudPDF::Types::MutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_remove_name_response_layout.rb b/lib/CloudPDF/types/doc_pages_remove_name_response_layout.rb new file mode 100644 index 00000000..d68d8600 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name_response_layout.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRemoveNameResponseLayout < Internal::Types::Model + field :page_count, -> { Integer }, optional: false, nullable: false, api_name: "pageCount" + + field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesRemoveNameResponseLayoutPagesItem] }, optional: false, nullable: false + + field :labels, -> { Internal::Types::Array[CloudPDF::Types::DocPagesRemoveNameResponseLayoutLabelsItem] }, optional: false, nullable: false + + field :named_pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesRemoveNameResponseLayoutNamedPagesItem] }, optional: false, nullable: false, api_name: "namedPages" + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_remove_name_response_layout_labels_item.rb b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_labels_item.rb new file mode 100644 index 00000000..20a47024 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_labels_item.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRemoveNameResponseLayoutLabelsItem < Internal::Types::Model + field :first_page, -> { Integer }, optional: false, nullable: false, api_name: "firstPage" + + field :style, -> { CloudPDF::Types::DocPagesRemoveNameResponseLayoutLabelsItemStyle }, optional: false, nullable: true + + field :first_number, -> { Integer }, optional: false, nullable: false, api_name: "firstNumber" + + field :prefix, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_remove_name_response_layout_labels_item_style.rb b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_labels_item_style.rb new file mode 100644 index 00000000..8a5b6aff --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_labels_item_style.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocPagesRemoveNameResponseLayoutLabelsItemStyle + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + UPPER_ROMAN = "upperRoman" + LOWER_ROMAN = "lowerRoman" + UPPER_LETTERS = "upperLetters" + LOWER_LETTERS = "lowerLetters" + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_remove_name_response_layout_named_pages_item.rb b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_named_pages_item.rb new file mode 100644 index 00000000..9fd82dc6 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_named_pages_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRemoveNameResponseLayoutNamedPagesItem < Internal::Types::Model + field :name, -> { String }, optional: false, nullable: false + + field :target, -> { CloudPDF::Types::DocPagesRemoveNameResponseLayoutNamedPagesItemTarget }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_remove_name_response_layout_named_pages_item_target.rb b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_named_pages_item_target.rb new file mode 100644 index 00000000..a1fcb308 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_named_pages_item_target.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRemoveNameResponseLayoutNamedPagesItemTarget < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :kind + + member -> { CloudPDF::Types::DocPagesRemoveNameResponseLayoutNamedPagesItemTargetPage }, key: "PAGE" + + member -> { CloudPDF::Types::DocPagesRemoveNameResponseLayoutNamedPagesItemTargetTemplate }, key: "TEMPLATE" + + member -> { CloudPDF::Types::DocPagesRemoveNameResponseLayoutNamedPagesItemTargetDangling }, key: "DANGLING" + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_remove_name_response_layout_named_pages_item_target_dangling.rb b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_named_pages_item_target_dangling.rb new file mode 100644 index 00000000..58c92006 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_named_pages_item_target_dangling.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRemoveNameResponseLayoutNamedPagesItemTargetDangling < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/doc_pages_remove_name_response_layout_named_pages_item_target_page.rb b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_named_pages_item_target_page.rb new file mode 100644 index 00000000..8ec8adf3 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_named_pages_item_target_page.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRemoveNameResponseLayoutNamedPagesItemTargetPage < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_remove_name_response_layout_named_pages_item_target_template.rb b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_named_pages_item_target_template.rb new file mode 100644 index 00000000..633ba047 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_named_pages_item_target_template.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRemoveNameResponseLayoutNamedPagesItemTargetTemplate < Internal::Types::Model + field :object_number, -> { Integer }, optional: false, nullable: false, api_name: "objectNumber" + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item.rb b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item.rb new file mode 100644 index 00000000..244ed74c --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRemoveNameResponseLayoutPagesItem < Internal::Types::Model + field :index, -> { Integer }, optional: false, nullable: false + + field :ref, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :label, -> { String }, optional: false, nullable: true + + field :size, -> { CloudPDF::Types::DocPagesRemoveNameResponseLayoutPagesItemSize }, optional: false, nullable: false + + field :rotation, -> { Integer }, optional: false, nullable: false + + field :user_unit, -> { Integer }, optional: false, nullable: false, api_name: "userUnit" + + field :tab_order, -> { CloudPDF::Types::DocPagesRemoveNameResponseLayoutPagesItemTabOrder }, optional: false, nullable: true, api_name: "tabOrder" + + field :boxes, -> { CloudPDF::Types::DocPagesRemoveNameResponseLayoutPagesItemBoxes }, optional: false, nullable: false + + field :pdf_crop_box, -> { CloudPDF::Types::DocPagesRemoveNameResponseLayoutPagesItemPdfCropBox }, optional: false, nullable: false, api_name: "pdfCropBox" + + field :actions, -> { CloudPDF::Types::PdfPageActions }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_boxes.rb b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_boxes.rb new file mode 100644 index 00000000..e1d02d03 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_boxes.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRemoveNameResponseLayoutPagesItemBoxes < Internal::Types::Model + field :media, -> { CloudPDF::Types::DocPagesRemoveNameResponseLayoutPagesItemBoxesMedia }, optional: false, nullable: false + + field :crop, -> { CloudPDF::Types::DocPagesRemoveNameResponseLayoutPagesItemBoxesCrop }, optional: false, nullable: false + + field :bleed, -> { CloudPDF::Types::DocPagesRemoveNameResponseLayoutPagesItemBoxesBleed }, optional: false, nullable: false + + field :trim, -> { CloudPDF::Types::DocPagesRemoveNameResponseLayoutPagesItemBoxesTrim }, optional: false, nullable: false + + field :art, -> { CloudPDF::Types::DocPagesRemoveNameResponseLayoutPagesItemBoxesArt }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_boxes_art.rb b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_boxes_art.rb new file mode 100644 index 00000000..aa4db130 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_boxes_art.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRemoveNameResponseLayoutPagesItemBoxesArt < Internal::Types::Model + field :x, -> { Integer }, optional: false, nullable: false + + field :y, -> { Integer }, optional: false, nullable: false + + field :width, -> { Integer }, optional: false, nullable: false + + field :height, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_boxes_bleed.rb b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_boxes_bleed.rb new file mode 100644 index 00000000..094431cc --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_boxes_bleed.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRemoveNameResponseLayoutPagesItemBoxesBleed < Internal::Types::Model + field :x, -> { Integer }, optional: false, nullable: false + + field :y, -> { Integer }, optional: false, nullable: false + + field :width, -> { Integer }, optional: false, nullable: false + + field :height, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_boxes_crop.rb b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_boxes_crop.rb new file mode 100644 index 00000000..05189dbd --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_boxes_crop.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRemoveNameResponseLayoutPagesItemBoxesCrop < Internal::Types::Model + field :x, -> { Integer }, optional: false, nullable: false + + field :y, -> { Integer }, optional: false, nullable: false + + field :width, -> { Integer }, optional: false, nullable: false + + field :height, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_boxes_media.rb b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_boxes_media.rb new file mode 100644 index 00000000..911fd439 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_boxes_media.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRemoveNameResponseLayoutPagesItemBoxesMedia < Internal::Types::Model + field :x, -> { Integer }, optional: false, nullable: false + + field :y, -> { Integer }, optional: false, nullable: false + + field :width, -> { Integer }, optional: false, nullable: false + + field :height, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_boxes_trim.rb b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_boxes_trim.rb new file mode 100644 index 00000000..ae6a85de --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_boxes_trim.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRemoveNameResponseLayoutPagesItemBoxesTrim < Internal::Types::Model + field :x, -> { Integer }, optional: false, nullable: false + + field :y, -> { Integer }, optional: false, nullable: false + + field :width, -> { Integer }, optional: false, nullable: false + + field :height, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_pdf_crop_box.rb b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_pdf_crop_box.rb new file mode 100644 index 00000000..45d605d1 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_pdf_crop_box.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRemoveNameResponseLayoutPagesItemPdfCropBox < Internal::Types::Model + field :left, -> { Integer }, optional: false, nullable: false + + field :bottom, -> { Integer }, optional: false, nullable: false + + field :right, -> { Integer }, optional: false, nullable: false + + field :top, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_size.rb b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_size.rb new file mode 100644 index 00000000..387052bc --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_size.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRemoveNameResponseLayoutPagesItemSize < Internal::Types::Model + field :width, -> { Integer }, optional: false, nullable: false + + field :height, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_tab_order.rb b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_tab_order.rb new file mode 100644 index 00000000..8474b1e1 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_tab_order.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocPagesRemoveNameResponseLayoutPagesItemTabOrder + extend CloudPDF::Internal::Types::Enum + + ROWS = "rows" + COLUMNS = "columns" + STRUCTURE = "structure" + ANNOTATIONS = "annotations" + WIDGETS = "widgets" + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_set_name200response.rb b/lib/CloudPDF/types/doc_pages_set_name200response.rb deleted file mode 100644 index e3ed2e89..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name200response.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetName200Response < Internal::Types::Model - field :layout, -> { CloudPDF::Types::DocPagesSetName200ResponseLayout }, optional: false, nullable: false - - field :meta, -> { CloudPDF::Types::MutationMeta }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name200response_layout.rb b/lib/CloudPDF/types/doc_pages_set_name200response_layout.rb deleted file mode 100644 index 0b9ed332..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name200response_layout.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetName200ResponseLayout < Internal::Types::Model - field :page_count, -> { Integer }, optional: false, nullable: false, api_name: "pageCount" - - field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesSetName200ResponseLayoutPagesItem] }, optional: false, nullable: false - - field :labels, -> { Internal::Types::Array[CloudPDF::Types::DocPagesSetName200ResponseLayoutLabelsItem] }, optional: false, nullable: false - - field :named_pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesSetName200ResponseLayoutNamedPagesItem] }, optional: false, nullable: false, api_name: "namedPages" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name200response_layout_labels_item.rb b/lib/CloudPDF/types/doc_pages_set_name200response_layout_labels_item.rb deleted file mode 100644 index 2defa5bc..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name200response_layout_labels_item.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetName200ResponseLayoutLabelsItem < Internal::Types::Model - field :first_page, -> { Integer }, optional: false, nullable: false, api_name: "firstPage" - - field :style, -> { CloudPDF::Types::DocPagesSetName200ResponseLayoutLabelsItemStyle }, optional: false, nullable: true - - field :first_number, -> { Integer }, optional: false, nullable: false, api_name: "firstNumber" - - field :prefix, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name200response_layout_labels_item_style.rb b/lib/CloudPDF/types/doc_pages_set_name200response_layout_labels_item_style.rb deleted file mode 100644 index 87809f61..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name200response_layout_labels_item_style.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesSetName200ResponseLayoutLabelsItemStyle - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - UPPER_ROMAN = "upperRoman" - LOWER_ROMAN = "lowerRoman" - UPPER_LETTERS = "upperLetters" - LOWER_LETTERS = "lowerLetters" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name200response_layout_named_pages_item.rb b/lib/CloudPDF/types/doc_pages_set_name200response_layout_named_pages_item.rb deleted file mode 100644 index 3a780ff0..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name200response_layout_named_pages_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetName200ResponseLayoutNamedPagesItem < Internal::Types::Model - field :name, -> { String }, optional: false, nullable: false - - field :target, -> { CloudPDF::Types::DocPagesSetName200ResponseLayoutNamedPagesItemTarget }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name200response_layout_named_pages_item_target.rb b/lib/CloudPDF/types/doc_pages_set_name200response_layout_named_pages_item_target.rb deleted file mode 100644 index 63d8f49f..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name200response_layout_named_pages_item_target.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetName200ResponseLayoutNamedPagesItemTarget < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocPagesSetName200ResponseLayoutNamedPagesItemTargetPage }, key: "PAGE" - - member -> { CloudPDF::Types::DocPagesSetName200ResponseLayoutNamedPagesItemTargetTemplate }, key: "TEMPLATE" - - member -> { CloudPDF::Types::DocPagesSetName200ResponseLayoutNamedPagesItemTargetDangling }, key: "DANGLING" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name200response_layout_named_pages_item_target_dangling.rb b/lib/CloudPDF/types/doc_pages_set_name200response_layout_named_pages_item_target_dangling.rb deleted file mode 100644 index 138ccc65..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name200response_layout_named_pages_item_target_dangling.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetName200ResponseLayoutNamedPagesItemTargetDangling < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name200response_layout_named_pages_item_target_page.rb b/lib/CloudPDF/types/doc_pages_set_name200response_layout_named_pages_item_target_page.rb deleted file mode 100644 index 686d73e8..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name200response_layout_named_pages_item_target_page.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetName200ResponseLayoutNamedPagesItemTargetPage < Internal::Types::Model - field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name200response_layout_named_pages_item_target_template.rb b/lib/CloudPDF/types/doc_pages_set_name200response_layout_named_pages_item_target_template.rb deleted file mode 100644 index 4d149c2a..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name200response_layout_named_pages_item_target_template.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetName200ResponseLayoutNamedPagesItemTargetTemplate < Internal::Types::Model - field :object_number, -> { Integer }, optional: false, nullable: false, api_name: "objectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item.rb b/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item.rb deleted file mode 100644 index 4f8f9aea..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetName200ResponseLayoutPagesItem < Internal::Types::Model - field :index, -> { Integer }, optional: false, nullable: false - - field :ref, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false - - field :label, -> { String }, optional: false, nullable: true - - field :size, -> { CloudPDF::Types::DocPagesSetName200ResponseLayoutPagesItemSize }, optional: false, nullable: false - - field :rotation, -> { Integer }, optional: false, nullable: false - - field :user_unit, -> { Integer }, optional: false, nullable: false, api_name: "userUnit" - - field :tab_order, -> { CloudPDF::Types::DocPagesSetName200ResponseLayoutPagesItemTabOrder }, optional: false, nullable: true, api_name: "tabOrder" - - field :boxes, -> { CloudPDF::Types::DocPagesSetName200ResponseLayoutPagesItemBoxes }, optional: false, nullable: false - - field :pdf_crop_box, -> { CloudPDF::Types::DocPagesSetName200ResponseLayoutPagesItemPdfCropBox }, optional: false, nullable: false, api_name: "pdfCropBox" - - field :actions, -> { CloudPDF::Types::PdfPageActions }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes.rb b/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes.rb deleted file mode 100644 index 7a8c9679..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetName200ResponseLayoutPagesItemBoxes < Internal::Types::Model - field :media, -> { CloudPDF::Types::DocPagesSetName200ResponseLayoutPagesItemBoxesMedia }, optional: false, nullable: false - - field :crop, -> { CloudPDF::Types::DocPagesSetName200ResponseLayoutPagesItemBoxesCrop }, optional: false, nullable: false - - field :bleed, -> { CloudPDF::Types::DocPagesSetName200ResponseLayoutPagesItemBoxesBleed }, optional: false, nullable: false - - field :trim, -> { CloudPDF::Types::DocPagesSetName200ResponseLayoutPagesItemBoxesTrim }, optional: false, nullable: false - - field :art, -> { CloudPDF::Types::DocPagesSetName200ResponseLayoutPagesItemBoxesArt }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes_art.rb b/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes_art.rb deleted file mode 100644 index 80ce4bca..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes_art.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetName200ResponseLayoutPagesItemBoxesArt < Internal::Types::Model - field :x, -> { Integer }, optional: false, nullable: false - - field :y, -> { Integer }, optional: false, nullable: false - - field :width, -> { Integer }, optional: false, nullable: false - - field :height, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes_bleed.rb b/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes_bleed.rb deleted file mode 100644 index 69854254..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes_bleed.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetName200ResponseLayoutPagesItemBoxesBleed < Internal::Types::Model - field :x, -> { Integer }, optional: false, nullable: false - - field :y, -> { Integer }, optional: false, nullable: false - - field :width, -> { Integer }, optional: false, nullable: false - - field :height, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes_crop.rb b/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes_crop.rb deleted file mode 100644 index 7e30a2cd..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes_crop.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetName200ResponseLayoutPagesItemBoxesCrop < Internal::Types::Model - field :x, -> { Integer }, optional: false, nullable: false - - field :y, -> { Integer }, optional: false, nullable: false - - field :width, -> { Integer }, optional: false, nullable: false - - field :height, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes_media.rb b/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes_media.rb deleted file mode 100644 index 7681cb5a..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes_media.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetName200ResponseLayoutPagesItemBoxesMedia < Internal::Types::Model - field :x, -> { Integer }, optional: false, nullable: false - - field :y, -> { Integer }, optional: false, nullable: false - - field :width, -> { Integer }, optional: false, nullable: false - - field :height, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes_trim.rb b/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes_trim.rb deleted file mode 100644 index 84dddb1c..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes_trim.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetName200ResponseLayoutPagesItemBoxesTrim < Internal::Types::Model - field :x, -> { Integer }, optional: false, nullable: false - - field :y, -> { Integer }, optional: false, nullable: false - - field :width, -> { Integer }, optional: false, nullable: false - - field :height, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_pdf_crop_box.rb b/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_pdf_crop_box.rb deleted file mode 100644 index 4494a7c3..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_pdf_crop_box.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetName200ResponseLayoutPagesItemPdfCropBox < Internal::Types::Model - field :left, -> { Integer }, optional: false, nullable: false - - field :bottom, -> { Integer }, optional: false, nullable: false - - field :right, -> { Integer }, optional: false, nullable: false - - field :top, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_size.rb b/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_size.rb deleted file mode 100644 index 5c014435..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_size.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetName200ResponseLayoutPagesItemSize < Internal::Types::Model - field :width, -> { Integer }, optional: false, nullable: false - - field :height, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_tab_order.rb b/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_tab_order.rb deleted file mode 100644 index 6c5dddd3..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_tab_order.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesSetName200ResponseLayoutPagesItemTabOrder - extend CloudPDF::Internal::Types::Enum - - ROWS = "rows" - COLUMNS = "columns" - STRUCTURE = "structure" - ANNOTATIONS = "annotations" - WIDGETS = "widgets" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name400response.rb b/lib/CloudPDF/types/doc_pages_set_name400response.rb deleted file mode 100644 index b2216a86..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesSetName400Response - # DocPagesSetName400Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name404response.rb b/lib/CloudPDF/types/doc_pages_set_name404response.rb deleted file mode 100644 index 351e3282..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesSetName404Response - # DocPagesSetName404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name_response.rb b/lib/CloudPDF/types/doc_pages_set_name_response.rb new file mode 100644 index 00000000..ff47d7ee --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name_response.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesSetNameResponse < Internal::Types::Model + field :layout, -> { CloudPDF::Types::DocPagesSetNameResponseLayout }, optional: false, nullable: false + + field :meta, -> { CloudPDF::Types::MutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_set_name_response_layout.rb b/lib/CloudPDF/types/doc_pages_set_name_response_layout.rb new file mode 100644 index 00000000..bc24b50f --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name_response_layout.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesSetNameResponseLayout < Internal::Types::Model + field :page_count, -> { Integer }, optional: false, nullable: false, api_name: "pageCount" + + field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesSetNameResponseLayoutPagesItem] }, optional: false, nullable: false + + field :labels, -> { Internal::Types::Array[CloudPDF::Types::DocPagesSetNameResponseLayoutLabelsItem] }, optional: false, nullable: false + + field :named_pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesSetNameResponseLayoutNamedPagesItem] }, optional: false, nullable: false, api_name: "namedPages" + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_set_name_response_layout_labels_item.rb b/lib/CloudPDF/types/doc_pages_set_name_response_layout_labels_item.rb new file mode 100644 index 00000000..92640556 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name_response_layout_labels_item.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesSetNameResponseLayoutLabelsItem < Internal::Types::Model + field :first_page, -> { Integer }, optional: false, nullable: false, api_name: "firstPage" + + field :style, -> { CloudPDF::Types::DocPagesSetNameResponseLayoutLabelsItemStyle }, optional: false, nullable: true + + field :first_number, -> { Integer }, optional: false, nullable: false, api_name: "firstNumber" + + field :prefix, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_set_name_response_layout_labels_item_style.rb b/lib/CloudPDF/types/doc_pages_set_name_response_layout_labels_item_style.rb new file mode 100644 index 00000000..de144d90 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name_response_layout_labels_item_style.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocPagesSetNameResponseLayoutLabelsItemStyle + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + UPPER_ROMAN = "upperRoman" + LOWER_ROMAN = "lowerRoman" + UPPER_LETTERS = "upperLetters" + LOWER_LETTERS = "lowerLetters" + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_set_name_response_layout_named_pages_item.rb b/lib/CloudPDF/types/doc_pages_set_name_response_layout_named_pages_item.rb new file mode 100644 index 00000000..f41a82ff --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name_response_layout_named_pages_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesSetNameResponseLayoutNamedPagesItem < Internal::Types::Model + field :name, -> { String }, optional: false, nullable: false + + field :target, -> { CloudPDF::Types::DocPagesSetNameResponseLayoutNamedPagesItemTarget }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_set_name_response_layout_named_pages_item_target.rb b/lib/CloudPDF/types/doc_pages_set_name_response_layout_named_pages_item_target.rb new file mode 100644 index 00000000..516786e9 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name_response_layout_named_pages_item_target.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesSetNameResponseLayoutNamedPagesItemTarget < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :kind + + member -> { CloudPDF::Types::DocPagesSetNameResponseLayoutNamedPagesItemTargetPage }, key: "PAGE" + + member -> { CloudPDF::Types::DocPagesSetNameResponseLayoutNamedPagesItemTargetTemplate }, key: "TEMPLATE" + + member -> { CloudPDF::Types::DocPagesSetNameResponseLayoutNamedPagesItemTargetDangling }, key: "DANGLING" + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_set_name_response_layout_named_pages_item_target_dangling.rb b/lib/CloudPDF/types/doc_pages_set_name_response_layout_named_pages_item_target_dangling.rb new file mode 100644 index 00000000..f8c46c81 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name_response_layout_named_pages_item_target_dangling.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesSetNameResponseLayoutNamedPagesItemTargetDangling < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/doc_pages_set_name_response_layout_named_pages_item_target_page.rb b/lib/CloudPDF/types/doc_pages_set_name_response_layout_named_pages_item_target_page.rb new file mode 100644 index 00000000..237cdfd8 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name_response_layout_named_pages_item_target_page.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesSetNameResponseLayoutNamedPagesItemTargetPage < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_set_name_response_layout_named_pages_item_target_template.rb b/lib/CloudPDF/types/doc_pages_set_name_response_layout_named_pages_item_target_template.rb new file mode 100644 index 00000000..60127637 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name_response_layout_named_pages_item_target_template.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesSetNameResponseLayoutNamedPagesItemTargetTemplate < Internal::Types::Model + field :object_number, -> { Integer }, optional: false, nullable: false, api_name: "objectNumber" + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item.rb b/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item.rb new file mode 100644 index 00000000..9d3e3d6d --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesSetNameResponseLayoutPagesItem < Internal::Types::Model + field :index, -> { Integer }, optional: false, nullable: false + + field :ref, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :label, -> { String }, optional: false, nullable: true + + field :size, -> { CloudPDF::Types::DocPagesSetNameResponseLayoutPagesItemSize }, optional: false, nullable: false + + field :rotation, -> { Integer }, optional: false, nullable: false + + field :user_unit, -> { Integer }, optional: false, nullable: false, api_name: "userUnit" + + field :tab_order, -> { CloudPDF::Types::DocPagesSetNameResponseLayoutPagesItemTabOrder }, optional: false, nullable: true, api_name: "tabOrder" + + field :boxes, -> { CloudPDF::Types::DocPagesSetNameResponseLayoutPagesItemBoxes }, optional: false, nullable: false + + field :pdf_crop_box, -> { CloudPDF::Types::DocPagesSetNameResponseLayoutPagesItemPdfCropBox }, optional: false, nullable: false, api_name: "pdfCropBox" + + field :actions, -> { CloudPDF::Types::PdfPageActions }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item_boxes.rb b/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item_boxes.rb new file mode 100644 index 00000000..4abc9960 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item_boxes.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesSetNameResponseLayoutPagesItemBoxes < Internal::Types::Model + field :media, -> { CloudPDF::Types::DocPagesSetNameResponseLayoutPagesItemBoxesMedia }, optional: false, nullable: false + + field :crop, -> { CloudPDF::Types::DocPagesSetNameResponseLayoutPagesItemBoxesCrop }, optional: false, nullable: false + + field :bleed, -> { CloudPDF::Types::DocPagesSetNameResponseLayoutPagesItemBoxesBleed }, optional: false, nullable: false + + field :trim, -> { CloudPDF::Types::DocPagesSetNameResponseLayoutPagesItemBoxesTrim }, optional: false, nullable: false + + field :art, -> { CloudPDF::Types::DocPagesSetNameResponseLayoutPagesItemBoxesArt }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item_boxes_art.rb b/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item_boxes_art.rb new file mode 100644 index 00000000..5404e27a --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item_boxes_art.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesSetNameResponseLayoutPagesItemBoxesArt < Internal::Types::Model + field :x, -> { Integer }, optional: false, nullable: false + + field :y, -> { Integer }, optional: false, nullable: false + + field :width, -> { Integer }, optional: false, nullable: false + + field :height, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item_boxes_bleed.rb b/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item_boxes_bleed.rb new file mode 100644 index 00000000..8ec0defb --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item_boxes_bleed.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesSetNameResponseLayoutPagesItemBoxesBleed < Internal::Types::Model + field :x, -> { Integer }, optional: false, nullable: false + + field :y, -> { Integer }, optional: false, nullable: false + + field :width, -> { Integer }, optional: false, nullable: false + + field :height, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item_boxes_crop.rb b/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item_boxes_crop.rb new file mode 100644 index 00000000..e8627dc7 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item_boxes_crop.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesSetNameResponseLayoutPagesItemBoxesCrop < Internal::Types::Model + field :x, -> { Integer }, optional: false, nullable: false + + field :y, -> { Integer }, optional: false, nullable: false + + field :width, -> { Integer }, optional: false, nullable: false + + field :height, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item_boxes_media.rb b/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item_boxes_media.rb new file mode 100644 index 00000000..536eee77 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item_boxes_media.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesSetNameResponseLayoutPagesItemBoxesMedia < Internal::Types::Model + field :x, -> { Integer }, optional: false, nullable: false + + field :y, -> { Integer }, optional: false, nullable: false + + field :width, -> { Integer }, optional: false, nullable: false + + field :height, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item_boxes_trim.rb b/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item_boxes_trim.rb new file mode 100644 index 00000000..5bbb5078 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item_boxes_trim.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesSetNameResponseLayoutPagesItemBoxesTrim < Internal::Types::Model + field :x, -> { Integer }, optional: false, nullable: false + + field :y, -> { Integer }, optional: false, nullable: false + + field :width, -> { Integer }, optional: false, nullable: false + + field :height, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item_pdf_crop_box.rb b/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item_pdf_crop_box.rb new file mode 100644 index 00000000..5cf0c3fc --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item_pdf_crop_box.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesSetNameResponseLayoutPagesItemPdfCropBox < Internal::Types::Model + field :left, -> { Integer }, optional: false, nullable: false + + field :bottom, -> { Integer }, optional: false, nullable: false + + field :right, -> { Integer }, optional: false, nullable: false + + field :top, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item_size.rb b/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item_size.rb new file mode 100644 index 00000000..6c820e5f --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item_size.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesSetNameResponseLayoutPagesItemSize < Internal::Types::Model + field :width, -> { Integer }, optional: false, nullable: false + + field :height, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item_tab_order.rb b/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item_tab_order.rb new file mode 100644 index 00000000..f8dfa5d2 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name_response_layout_pages_item_tab_order.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocPagesSetNameResponseLayoutPagesItemTabOrder + extend CloudPDF::Internal::Types::Enum + + ROWS = "rows" + COLUMNS = "columns" + STRUCTURE = "structure" + ANNOTATIONS = "annotations" + WIDGETS = "widgets" + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_set_scale200response.rb b/lib/CloudPDF/types/doc_pages_set_scale200response.rb deleted file mode 100644 index 028e48f2..00000000 --- a/lib/CloudPDF/types/doc_pages_set_scale200response.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetScale200Response < Internal::Types::Model - field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false - - field :meta, -> { CloudPDF::Types::MutationMeta }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_scale400response.rb b/lib/CloudPDF/types/doc_pages_set_scale400response.rb deleted file mode 100644 index e424e2bd..00000000 --- a/lib/CloudPDF/types/doc_pages_set_scale400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesSetScale400Response - # DocPagesSetScale400Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_scale404response.rb b/lib/CloudPDF/types/doc_pages_set_scale404response.rb deleted file mode 100644 index ff997ba3..00000000 --- a/lib/CloudPDF/types/doc_pages_set_scale404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesSetScale404Response - # DocPagesSetScale404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_scale_response.rb b/lib/CloudPDF/types/doc_pages_set_scale_response.rb new file mode 100644 index 00000000..235116b5 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_scale_response.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesSetScaleResponse < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :meta, -> { CloudPDF::Types::MutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response.rb b/lib/CloudPDF/types/doc_pages_viewports200response.rb deleted file mode 100644 index bc50fa19..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesViewports200Response < Internal::Types::Model - field :viewports, -> { Internal::Types::Array[CloudPDF::Types::DocPagesViewports200ResponseViewportsItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item.rb b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item.rb deleted file mode 100644 index a00f1d21..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesViewports200ResponseViewportsItem < Internal::Types::Model - field :bbox, -> { CloudPDF::Types::DocPagesViewports200ResponseViewportsItemBbox }, optional: false, nullable: false - - field :name, -> { String }, optional: false, nullable: true - - field :measure, -> { CloudPDF::Types::DocPagesViewports200ResponseViewportsItemMeasure }, optional: false, nullable: true - - field :owned, -> { Internal::Types::Boolean }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_bbox.rb b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_bbox.rb deleted file mode 100644 index 5a7f4a70..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_bbox.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesViewports200ResponseViewportsItemBbox < Internal::Types::Model - field :x, -> { Integer }, optional: false, nullable: false - - field :y, -> { Integer }, optional: false, nullable: false - - field :width, -> { Integer }, optional: false, nullable: false - - field :height, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure.rb b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure.rb deleted file mode 100644 index d65d4d9b..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesViewports200ResponseViewportsItemMeasure < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :subtype - - member -> { CloudPDF::Types::DocPagesViewports200ResponseViewportsItemMeasureRectilinear }, key: "RECTILINEAR" - - member -> { CloudPDF::Types::DocPagesViewports200ResponseViewportsItemMeasureGeospatial }, key: "GEOSPATIAL" - - member -> { CloudPDF::Types::DocPagesViewports200ResponseViewportsItemMeasureUnknown }, key: "UNKNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_geospatial.rb b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_geospatial.rb deleted file mode 100644 index 5a8d653a..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_geospatial.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesViewports200ResponseViewportsItemMeasureGeospatial < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear.rb b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear.rb deleted file mode 100644 index d8ef709e..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear.rb +++ /dev/null @@ -1,25 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesViewports200ResponseViewportsItemMeasureRectilinear < Internal::Types::Model - field :ratio, -> { String }, optional: true, nullable: false - - field :x, -> { Internal::Types::Array[CloudPDF::Types::DocPagesViewports200ResponseViewportsItemMeasureRectilinearXItem] }, optional: false, nullable: false - - field :y, -> { Internal::Types::Array[CloudPDF::Types::DocPagesViewports200ResponseViewportsItemMeasureRectilinearYItem] }, optional: true, nullable: false - - field :distance, -> { Internal::Types::Array[CloudPDF::Types::DocPagesViewports200ResponseViewportsItemMeasureRectilinearDistanceItem] }, optional: false, nullable: false - - field :area, -> { Internal::Types::Array[CloudPDF::Types::DocPagesViewports200ResponseViewportsItemMeasureRectilinearAreaItem] }, optional: false, nullable: false - - field :angle, -> { Internal::Types::Array[CloudPDF::Types::DocPagesViewports200ResponseViewportsItemMeasureRectilinearAngleItem] }, optional: true, nullable: false - - field :slope, -> { Internal::Types::Array[CloudPDF::Types::DocPagesViewports200ResponseViewportsItemMeasureRectilinearSlopeItem] }, optional: true, nullable: false - - field :origin, -> { CloudPDF::Types::DocPagesViewports200ResponseViewportsItemMeasureRectilinearOrigin }, optional: true, nullable: false - - field :cyx, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_angle_item.rb b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_angle_item.rb deleted file mode 100644 index 661c12ea..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_angle_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesViewports200ResponseViewportsItemMeasureRectilinearAngleItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocPagesViewports200ResponseViewportsItemMeasureRectilinearAngleItemFraction }, optional: true, nullable: false - - field :precision, -> { Integer }, optional: true, nullable: false - - field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :thousands, -> { String }, optional: true, nullable: false - - field :decimal, -> { String }, optional: true, nullable: false - - field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" - - field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" - - field :label_position, -> { CloudPDF::Types::DocPagesViewports200ResponseViewportsItemMeasureRectilinearAngleItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_angle_item_fraction.rb b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_angle_item_fraction.rb deleted file mode 100644 index 198fa739..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_angle_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesViewports200ResponseViewportsItemMeasureRectilinearAngleItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_angle_item_label_position.rb b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_angle_item_label_position.rb deleted file mode 100644 index 59883405..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_angle_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesViewports200ResponseViewportsItemMeasureRectilinearAngleItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_area_item.rb b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_area_item.rb deleted file mode 100644 index d5a0f2eb..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_area_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesViewports200ResponseViewportsItemMeasureRectilinearAreaItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocPagesViewports200ResponseViewportsItemMeasureRectilinearAreaItemFraction }, optional: true, nullable: false - - field :precision, -> { Integer }, optional: true, nullable: false - - field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :thousands, -> { String }, optional: true, nullable: false - - field :decimal, -> { String }, optional: true, nullable: false - - field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" - - field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" - - field :label_position, -> { CloudPDF::Types::DocPagesViewports200ResponseViewportsItemMeasureRectilinearAreaItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_area_item_fraction.rb b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_area_item_fraction.rb deleted file mode 100644 index 6a30f7e5..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_area_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesViewports200ResponseViewportsItemMeasureRectilinearAreaItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_area_item_label_position.rb b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_area_item_label_position.rb deleted file mode 100644 index a11f8926..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_area_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesViewports200ResponseViewportsItemMeasureRectilinearAreaItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_distance_item.rb b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_distance_item.rb deleted file mode 100644 index 75cc67f0..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_distance_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesViewports200ResponseViewportsItemMeasureRectilinearDistanceItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocPagesViewports200ResponseViewportsItemMeasureRectilinearDistanceItemFraction }, optional: true, nullable: false - - field :precision, -> { Integer }, optional: true, nullable: false - - field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :thousands, -> { String }, optional: true, nullable: false - - field :decimal, -> { String }, optional: true, nullable: false - - field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" - - field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" - - field :label_position, -> { CloudPDF::Types::DocPagesViewports200ResponseViewportsItemMeasureRectilinearDistanceItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_distance_item_fraction.rb b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_distance_item_fraction.rb deleted file mode 100644 index 0728034d..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_distance_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesViewports200ResponseViewportsItemMeasureRectilinearDistanceItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_distance_item_label_position.rb b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_distance_item_label_position.rb deleted file mode 100644 index d1e0fb62..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_distance_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesViewports200ResponseViewportsItemMeasureRectilinearDistanceItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_origin.rb b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_origin.rb deleted file mode 100644 index 589dfb16..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_origin.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesViewports200ResponseViewportsItemMeasureRectilinearOrigin < Internal::Types::Model - field :x, -> { Integer }, optional: false, nullable: false - - field :y, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_slope_item.rb b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_slope_item.rb deleted file mode 100644 index 73df4e1d..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_slope_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesViewports200ResponseViewportsItemMeasureRectilinearSlopeItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocPagesViewports200ResponseViewportsItemMeasureRectilinearSlopeItemFraction }, optional: true, nullable: false - - field :precision, -> { Integer }, optional: true, nullable: false - - field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :thousands, -> { String }, optional: true, nullable: false - - field :decimal, -> { String }, optional: true, nullable: false - - field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" - - field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" - - field :label_position, -> { CloudPDF::Types::DocPagesViewports200ResponseViewportsItemMeasureRectilinearSlopeItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_slope_item_fraction.rb b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_slope_item_fraction.rb deleted file mode 100644 index 02f0b00b..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_slope_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesViewports200ResponseViewportsItemMeasureRectilinearSlopeItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_slope_item_label_position.rb b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_slope_item_label_position.rb deleted file mode 100644 index aa25c4cc..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_slope_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesViewports200ResponseViewportsItemMeasureRectilinearSlopeItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_x_item.rb b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_x_item.rb deleted file mode 100644 index 5d5c8808..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_x_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesViewports200ResponseViewportsItemMeasureRectilinearXItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocPagesViewports200ResponseViewportsItemMeasureRectilinearXItemFraction }, optional: true, nullable: false - - field :precision, -> { Integer }, optional: true, nullable: false - - field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :thousands, -> { String }, optional: true, nullable: false - - field :decimal, -> { String }, optional: true, nullable: false - - field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" - - field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" - - field :label_position, -> { CloudPDF::Types::DocPagesViewports200ResponseViewportsItemMeasureRectilinearXItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_x_item_fraction.rb b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_x_item_fraction.rb deleted file mode 100644 index c38615c4..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_x_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesViewports200ResponseViewportsItemMeasureRectilinearXItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_x_item_label_position.rb b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_x_item_label_position.rb deleted file mode 100644 index 164035f4..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_x_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesViewports200ResponseViewportsItemMeasureRectilinearXItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_y_item.rb b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_y_item.rb deleted file mode 100644 index 10e42573..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_y_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesViewports200ResponseViewportsItemMeasureRectilinearYItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocPagesViewports200ResponseViewportsItemMeasureRectilinearYItemFraction }, optional: true, nullable: false - - field :precision, -> { Integer }, optional: true, nullable: false - - field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :thousands, -> { String }, optional: true, nullable: false - - field :decimal, -> { String }, optional: true, nullable: false - - field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" - - field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" - - field :label_position, -> { CloudPDF::Types::DocPagesViewports200ResponseViewportsItemMeasureRectilinearYItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_y_item_fraction.rb b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_y_item_fraction.rb deleted file mode 100644 index bb276805..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_y_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesViewports200ResponseViewportsItemMeasureRectilinearYItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_y_item_label_position.rb b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_y_item_label_position.rb deleted file mode 100644 index 6f8bd885..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_y_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesViewports200ResponseViewportsItemMeasureRectilinearYItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_unknown.rb b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_unknown.rb deleted file mode 100644 index 07620271..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesViewports200ResponseViewportsItemMeasureUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports404response.rb b/lib/CloudPDF/types/doc_pages_viewports404response.rb deleted file mode 100644 index c3782d11..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesViewports404Response - # DocPagesViewports404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports_response.rb b/lib/CloudPDF/types/doc_pages_viewports_response.rb new file mode 100644 index 00000000..eaad0a6f --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_viewports_response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesViewportsResponse < Internal::Types::Model + field :viewports, -> { Internal::Types::Array[CloudPDF::Types::DocPagesViewportsResponseViewportsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_viewports_response_viewports_item.rb b/lib/CloudPDF/types/doc_pages_viewports_response_viewports_item.rb new file mode 100644 index 00000000..000f0440 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_viewports_response_viewports_item.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesViewportsResponseViewportsItem < Internal::Types::Model + field :bbox, -> { CloudPDF::Types::DocPagesViewportsResponseViewportsItemBbox }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: true + + field :measure, -> { CloudPDF::Types::PdfMeasurement }, optional: false, nullable: true + + field :owned, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_viewports_response_viewports_item_bbox.rb b/lib/CloudPDF/types/doc_pages_viewports_response_viewports_item_bbox.rb new file mode 100644 index 00000000..1ae53589 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_viewports_response_viewports_item_bbox.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesViewportsResponseViewportsItemBbox < Internal::Types::Model + field :x, -> { Integer }, optional: false, nullable: false + + field :y, -> { Integer }, optional: false, nullable: false + + field :width, -> { Integer }, optional: false, nullable: false + + field :height, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_redactions_apply200response.rb b/lib/CloudPDF/types/doc_redactions_apply200response.rb deleted file mode 100644 index 8fc5cffa..00000000 --- a/lib/CloudPDF/types/doc_redactions_apply200response.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocRedactionsApply200Response < Internal::Types::Model - field :scope, -> { CloudPDF::Types::DocRedactionsApply200ResponseScope }, optional: false, nullable: false - - field :results, -> { Internal::Types::Array[CloudPDF::Types::DocRedactionsApply200ResponseResultsItem] }, optional: false, nullable: false - - field :removed_annotation_count, -> { Integer }, optional: false, nullable: false, api_name: "removedAnnotationCount" - - field :meta, -> { CloudPDF::Types::MutationMeta }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_redactions_apply200response_results_item.rb b/lib/CloudPDF/types/doc_redactions_apply200response_results_item.rb deleted file mode 100644 index cd8515e6..00000000 --- a/lib/CloudPDF/types/doc_redactions_apply200response_results_item.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocRedactionsApply200ResponseResultsItem < Internal::Types::Model - field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false - - field :status, -> { CloudPDF::Types::DocRedactionsApply200ResponseResultsItemStatus }, optional: false, nullable: false - - field :removed_annotation_count, -> { Integer }, optional: false, nullable: false, api_name: "removedAnnotationCount" - end - end -end diff --git a/lib/CloudPDF/types/doc_redactions_apply200response_results_item_status.rb b/lib/CloudPDF/types/doc_redactions_apply200response_results_item_status.rb deleted file mode 100644 index 25e4d421..00000000 --- a/lib/CloudPDF/types/doc_redactions_apply200response_results_item_status.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocRedactionsApply200ResponseResultsItemStatus - extend CloudPDF::Internal::Types::Enum - - APPLIED = "applied" - UNCHANGED = "unchanged" - end - end -end diff --git a/lib/CloudPDF/types/doc_redactions_apply200response_scope.rb b/lib/CloudPDF/types/doc_redactions_apply200response_scope.rb deleted file mode 100644 index 1fded4f0..00000000 --- a/lib/CloudPDF/types/doc_redactions_apply200response_scope.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocRedactionsApply200ResponseScope < Internal::Types::Model - field :pages, -> { Internal::Types::Array[CloudPDF::Types::PageRef] }, optional: true, nullable: false - - field :annotations, -> { Internal::Types::Array[CloudPDF::Types::AnnotationRef] }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_redactions_apply400response.rb b/lib/CloudPDF/types/doc_redactions_apply400response.rb deleted file mode 100644 index 7ca5ea0f..00000000 --- a/lib/CloudPDF/types/doc_redactions_apply400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocRedactionsApply400Response - # DocRedactionsApply400Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_redactions_apply404response.rb b/lib/CloudPDF/types/doc_redactions_apply404response.rb deleted file mode 100644 index 7124e2b0..00000000 --- a/lib/CloudPDF/types/doc_redactions_apply404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocRedactionsApply404Response - # DocRedactionsApply404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_redactions_apply_response.rb b/lib/CloudPDF/types/doc_redactions_apply_response.rb new file mode 100644 index 00000000..34a9a695 --- /dev/null +++ b/lib/CloudPDF/types/doc_redactions_apply_response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocRedactionsApplyResponse < Internal::Types::Model + field :scope, -> { CloudPDF::Types::DocRedactionsApplyResponseScope }, optional: false, nullable: false + + field :results, -> { Internal::Types::Array[CloudPDF::Types::DocRedactionsApplyResponseResultsItem] }, optional: false, nullable: false + + field :removed_annotation_count, -> { Integer }, optional: false, nullable: false, api_name: "removedAnnotationCount" + + field :meta, -> { CloudPDF::Types::MutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_redactions_apply_response_results_item.rb b/lib/CloudPDF/types/doc_redactions_apply_response_results_item.rb new file mode 100644 index 00000000..96d85da1 --- /dev/null +++ b/lib/CloudPDF/types/doc_redactions_apply_response_results_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocRedactionsApplyResponseResultsItem < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :status, -> { CloudPDF::Types::DocRedactionsApplyResponseResultsItemStatus }, optional: false, nullable: false + + field :removed_annotation_count, -> { Integer }, optional: false, nullable: false, api_name: "removedAnnotationCount" + end + end +end diff --git a/lib/CloudPDF/types/doc_redactions_apply_response_results_item_status.rb b/lib/CloudPDF/types/doc_redactions_apply_response_results_item_status.rb new file mode 100644 index 00000000..5fc4b80b --- /dev/null +++ b/lib/CloudPDF/types/doc_redactions_apply_response_results_item_status.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocRedactionsApplyResponseResultsItemStatus + extend CloudPDF::Internal::Types::Enum + + APPLIED = "applied" + UNCHANGED = "unchanged" + end + end +end diff --git a/lib/CloudPDF/types/doc_redactions_apply_response_scope.rb b/lib/CloudPDF/types/doc_redactions_apply_response_scope.rb new file mode 100644 index 00000000..b173aa94 --- /dev/null +++ b/lib/CloudPDF/types/doc_redactions_apply_response_scope.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocRedactionsApplyResponseScope < Internal::Types::Model + field :pages, -> { Internal::Types::Array[CloudPDF::Types::PageRef] }, optional: true, nullable: false + + field :annotations, -> { Internal::Types::Array[CloudPDF::Types::AnnotationRef] }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_render_response.rb b/lib/CloudPDF/types/doc_render_response.rb deleted file mode 100644 index debae339..00000000 --- a/lib/CloudPDF/types/doc_render_response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocRenderResponse - # DocRenderResponse is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_analysis200response.rb b/lib/CloudPDF/types/doc_signatures_analysis200response.rb deleted file mode 100644 index 91f50a3e..00000000 --- a/lib/CloudPDF/types/doc_signatures_analysis200response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesAnalysis200Response < Internal::Types::Model - field :mode, -> { CloudPDF::Types::DocSignaturesAnalysis200ResponseMode }, optional: false, nullable: false - - field :policy_version, -> { Integer }, optional: false, nullable: false, api_name: "policyVersion" - - field :basis, -> { CloudPDF::Types::DocSignaturesAnalysis200ResponseBasis }, optional: false, nullable: false - - field :since, -> { CloudPDF::Types::DocSignaturesAnalysis200ResponseSince }, optional: false, nullable: false - - field :until_, -> { CloudPDF::Types::DocSignaturesAnalysis200ResponseUntil }, optional: false, nullable: false, api_name: "until" - - field :restrictions, -> { Internal::Types::Array[CloudPDF::Types::DocSignaturesAnalysis200ResponseRestrictionsItem] }, optional: false, nullable: false - - field :current, -> { CloudPDF::Types::DocSignaturesAnalysis200ResponseCurrent }, optional: false, nullable: false - - field :later, -> { CloudPDF::Types::DocSignaturesAnalysis200ResponseLater }, optional: false, nullable: false - - field :verdict, -> { CloudPDF::Types::DocSignaturesAnalysis200ResponseVerdict }, optional: false, nullable: false - - field :steps, -> { Internal::Types::Array[Object] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_analysis200response_basis.rb b/lib/CloudPDF/types/doc_signatures_analysis200response_basis.rb deleted file mode 100644 index f6283107..00000000 --- a/lib/CloudPDF/types/doc_signatures_analysis200response_basis.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesAnalysis200ResponseBasis < Internal::Types::Model - field :version, -> { CloudPDF::Types::DocSignaturesAnalysis200ResponseBasisVersion }, optional: false, nullable: false - - field :edits_version, -> { Integer }, optional: false, nullable: false, api_name: "editsVersion" - - field :source, -> { CloudPDF::Types::DocSignaturesAnalysis200ResponseBasisSource }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_analysis200response_basis_source.rb b/lib/CloudPDF/types/doc_signatures_analysis200response_basis_source.rb deleted file mode 100644 index e9dae821..00000000 --- a/lib/CloudPDF/types/doc_signatures_analysis200response_basis_source.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesAnalysis200ResponseBasisSource - extend CloudPDF::Internal::Types::Enum - - PERSISTED = "persisted" - WORKING_COPY = "working-copy" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_analysis200response_basis_version.rb b/lib/CloudPDF/types/doc_signatures_analysis200response_basis_version.rb deleted file mode 100644 index 9dea3db1..00000000 --- a/lib/CloudPDF/types/doc_signatures_analysis200response_basis_version.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesAnalysis200ResponseBasisVersion < Internal::Types::Model - field :sha256, -> { String }, optional: false, nullable: false - - field :byte_length, -> { Integer }, optional: false, nullable: false, api_name: "byteLength" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_analysis200response_current.rb b/lib/CloudPDF/types/doc_signatures_analysis200response_current.rb deleted file mode 100644 index aa99113a..00000000 --- a/lib/CloudPDF/types/doc_signatures_analysis200response_current.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesAnalysis200ResponseCurrent < Internal::Types::Model - field :verdict, -> { CloudPDF::Types::DocSignaturesAnalysis200ResponseCurrentVerdict }, optional: false, nullable: false - - field :complete, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :primary, -> { CloudPDF::Types::DocSignaturesAnalysis200ResponseCurrentPrimary }, optional: true, nullable: false - - field :findings, -> { Internal::Types::Array[CloudPDF::Types::DocSignaturesAnalysis200ResponseCurrentFindingsItem] }, optional: false, nullable: false - - field :method_, -> { CloudPDF::Types::DocSignaturesAnalysis200ResponseCurrentMethod }, optional: false, nullable: false, api_name: "method" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_analysis200response_current_findings_item.rb b/lib/CloudPDF/types/doc_signatures_analysis200response_current_findings_item.rb deleted file mode 100644 index 27fcb24b..00000000 --- a/lib/CloudPDF/types/doc_signatures_analysis200response_current_findings_item.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesAnalysis200ResponseCurrentFindingsItem < Internal::Types::Model - field :rule, -> { String }, optional: false, nullable: false - - field :verdict, -> { CloudPDF::Types::DocSignaturesAnalysis200ResponseCurrentFindingsItemVerdict }, optional: false, nullable: false - - field :object_number, -> { Integer }, optional: false, nullable: false, api_name: "objectNumber" - - field :edge, -> { String }, optional: true, nullable: false - - field :detail, -> { String }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_analysis200response_current_findings_item_verdict.rb b/lib/CloudPDF/types/doc_signatures_analysis200response_current_findings_item_verdict.rb deleted file mode 100644 index 9789b661..00000000 --- a/lib/CloudPDF/types/doc_signatures_analysis200response_current_findings_item_verdict.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesAnalysis200ResponseCurrentFindingsItemVerdict - extend CloudPDF::Internal::Types::Enum - - PERMITTED = "permitted" - FORBIDDEN = "forbidden" - INCOMPLETE = "incomplete" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_analysis200response_current_method.rb b/lib/CloudPDF/types/doc_signatures_analysis200response_current_method.rb deleted file mode 100644 index 5df8c79f..00000000 --- a/lib/CloudPDF/types/doc_signatures_analysis200response_current_method.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesAnalysis200ResponseCurrentMethod - extend CloudPDF::Internal::Types::Enum - - NET_STATE = "net-state" - NET_STATE_REPLAY = "net-state+replay" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_analysis200response_current_primary.rb b/lib/CloudPDF/types/doc_signatures_analysis200response_current_primary.rb deleted file mode 100644 index f7071d3e..00000000 --- a/lib/CloudPDF/types/doc_signatures_analysis200response_current_primary.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesAnalysis200ResponseCurrentPrimary < Internal::Types::Model - field :rule, -> { String }, optional: false, nullable: false - - field :verdict, -> { CloudPDF::Types::DocSignaturesAnalysis200ResponseCurrentPrimaryVerdict }, optional: false, nullable: false - - field :object_number, -> { Integer }, optional: false, nullable: false, api_name: "objectNumber" - - field :edge, -> { String }, optional: true, nullable: false - - field :detail, -> { String }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_analysis200response_current_primary_verdict.rb b/lib/CloudPDF/types/doc_signatures_analysis200response_current_primary_verdict.rb deleted file mode 100644 index aded9451..00000000 --- a/lib/CloudPDF/types/doc_signatures_analysis200response_current_primary_verdict.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesAnalysis200ResponseCurrentPrimaryVerdict - extend CloudPDF::Internal::Types::Enum - - PERMITTED = "permitted" - FORBIDDEN = "forbidden" - INCOMPLETE = "incomplete" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_analysis200response_current_verdict.rb b/lib/CloudPDF/types/doc_signatures_analysis200response_current_verdict.rb deleted file mode 100644 index 32e82c60..00000000 --- a/lib/CloudPDF/types/doc_signatures_analysis200response_current_verdict.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesAnalysis200ResponseCurrentVerdict - extend CloudPDF::Internal::Types::Enum - - UNCHANGED = "unchanged" - PERMITTED = "permitted" - FORBIDDEN = "forbidden" - INDETERMINATE = "indeterminate" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_analysis200response_later.rb b/lib/CloudPDF/types/doc_signatures_analysis200response_later.rb deleted file mode 100644 index 15922cf9..00000000 --- a/lib/CloudPDF/types/doc_signatures_analysis200response_later.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesAnalysis200ResponseLater < Internal::Types::Model - field :revision_count, -> { Integer }, optional: false, nullable: false, api_name: "revisionCount" - - field :undone_object_numbers, -> { Internal::Types::Array[Integer] }, optional: false, nullable: false, api_name: "undoneObjectNumbers" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_analysis200response_mode.rb b/lib/CloudPDF/types/doc_signatures_analysis200response_mode.rb deleted file mode 100644 index 9a96eb37..00000000 --- a/lib/CloudPDF/types/doc_signatures_analysis200response_mode.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesAnalysis200ResponseMode - extend CloudPDF::Internal::Types::Enum - - AUTHORITATIVE = "authoritative" - EXPLORATORY = "exploratory" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_analysis200response_restrictions_item.rb b/lib/CloudPDF/types/doc_signatures_analysis200response_restrictions_item.rb deleted file mode 100644 index 5ba9af25..00000000 --- a/lib/CloudPDF/types/doc_signatures_analysis200response_restrictions_item.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesAnalysis200ResponseRestrictionsItem < Internal::Types::Model - field :signature_index, -> { Integer }, optional: false, nullable: false, api_name: "signatureIndex" - - field :revision_index, -> { Integer }, optional: false, nullable: false, api_name: "revisionIndex" - - field :source, -> { CloudPDF::Types::DocSignaturesAnalysis200ResponseRestrictionsItemSource }, optional: false, nullable: false - - field :own, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :permission, -> { Integer }, optional: true, nullable: false - - field :fields, -> { Object }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_analysis200response_restrictions_item_source.rb b/lib/CloudPDF/types/doc_signatures_analysis200response_restrictions_item_source.rb deleted file mode 100644 index e18f9345..00000000 --- a/lib/CloudPDF/types/doc_signatures_analysis200response_restrictions_item_source.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesAnalysis200ResponseRestrictionsItemSource - extend CloudPDF::Internal::Types::Enum - - DOCMDP = "docmdp" - FIELDMDP = "fieldmdp" - LOCK = "lock" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_analysis200response_since.rb b/lib/CloudPDF/types/doc_signatures_analysis200response_since.rb deleted file mode 100644 index 35f9b2b8..00000000 --- a/lib/CloudPDF/types/doc_signatures_analysis200response_since.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesAnalysis200ResponseSince < Internal::Types::Model - field :revision_index, -> { Integer }, optional: false, nullable: false, api_name: "revisionIndex" - - field :signature_index, -> { Integer }, optional: false, nullable: true, api_name: "signatureIndex" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_analysis200response_until.rb b/lib/CloudPDF/types/doc_signatures_analysis200response_until.rb deleted file mode 100644 index 7e71dde3..00000000 --- a/lib/CloudPDF/types/doc_signatures_analysis200response_until.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesAnalysis200ResponseUntil < Internal::Types::Model - field :revision_index, -> { Integer }, optional: false, nullable: false, api_name: "revisionIndex" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_analysis200response_verdict.rb b/lib/CloudPDF/types/doc_signatures_analysis200response_verdict.rb deleted file mode 100644 index acdd8e2f..00000000 --- a/lib/CloudPDF/types/doc_signatures_analysis200response_verdict.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesAnalysis200ResponseVerdict - extend CloudPDF::Internal::Types::Enum - - UNCHANGED = "unchanged" - PERMITTED = "permitted" - FORBIDDEN = "forbidden" - INDETERMINATE = "indeterminate" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_analysis400response.rb b/lib/CloudPDF/types/doc_signatures_analysis400response.rb deleted file mode 100644 index c71a5307..00000000 --- a/lib/CloudPDF/types/doc_signatures_analysis400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesAnalysis400Response - # DocSignaturesAnalysis400Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_analysis404response.rb b/lib/CloudPDF/types/doc_signatures_analysis404response.rb deleted file mode 100644 index c4099396..00000000 --- a/lib/CloudPDF/types/doc_signatures_analysis404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesAnalysis404Response - # DocSignaturesAnalysis404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_analysis_response.rb b/lib/CloudPDF/types/doc_signatures_analysis_response.rb new file mode 100644 index 00000000..fae79e90 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_analysis_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesAnalysisResponse < Internal::Types::Model + field :mode, -> { CloudPDF::Types::DocSignaturesAnalysisResponseMode }, optional: false, nullable: false + + field :policy_version, -> { Integer }, optional: false, nullable: false, api_name: "policyVersion" + + field :basis, -> { CloudPDF::Types::DocSignaturesAnalysisResponseBasis }, optional: false, nullable: false + + field :since, -> { CloudPDF::Types::DocSignaturesAnalysisResponseSince }, optional: false, nullable: false + + field :until_, -> { CloudPDF::Types::DocSignaturesAnalysisResponseUntil }, optional: false, nullable: false, api_name: "until" + + field :restrictions, -> { Internal::Types::Array[CloudPDF::Types::DocSignaturesAnalysisResponseRestrictionsItem] }, optional: false, nullable: false + + field :current, -> { CloudPDF::Types::DocSignaturesAnalysisResponseCurrent }, optional: false, nullable: false + + field :later, -> { CloudPDF::Types::DocSignaturesAnalysisResponseLater }, optional: false, nullable: false + + field :verdict, -> { CloudPDF::Types::DocSignaturesAnalysisResponseVerdict }, optional: false, nullable: false + + field :steps, -> { Internal::Types::Array[Object] }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_analysis_response_basis.rb b/lib/CloudPDF/types/doc_signatures_analysis_response_basis.rb new file mode 100644 index 00000000..661e89e4 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_analysis_response_basis.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesAnalysisResponseBasis < Internal::Types::Model + field :version, -> { CloudPDF::Types::DocSignaturesAnalysisResponseBasisVersion }, optional: false, nullable: false + + field :edits_version, -> { Integer }, optional: false, nullable: false, api_name: "editsVersion" + + field :source, -> { CloudPDF::Types::DocSignaturesAnalysisResponseBasisSource }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_analysis_response_basis_source.rb b/lib/CloudPDF/types/doc_signatures_analysis_response_basis_source.rb new file mode 100644 index 00000000..eb8fb5f7 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_analysis_response_basis_source.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocSignaturesAnalysisResponseBasisSource + extend CloudPDF::Internal::Types::Enum + + PERSISTED = "persisted" + WORKING_COPY = "working-copy" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_analysis_response_basis_version.rb b/lib/CloudPDF/types/doc_signatures_analysis_response_basis_version.rb new file mode 100644 index 00000000..98163b3d --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_analysis_response_basis_version.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesAnalysisResponseBasisVersion < Internal::Types::Model + field :sha256, -> { String }, optional: false, nullable: false + + field :size_bytes, -> { Integer }, optional: false, nullable: false, api_name: "sizeBytes" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_analysis_response_current.rb b/lib/CloudPDF/types/doc_signatures_analysis_response_current.rb new file mode 100644 index 00000000..78204982 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_analysis_response_current.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesAnalysisResponseCurrent < Internal::Types::Model + field :verdict, -> { CloudPDF::Types::DocSignaturesAnalysisResponseCurrentVerdict }, optional: false, nullable: false + + field :complete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :primary, -> { CloudPDF::Types::DocSignaturesAnalysisResponseCurrentPrimary }, optional: true, nullable: false + + field :findings, -> { Internal::Types::Array[CloudPDF::Types::DocSignaturesAnalysisResponseCurrentFindingsItem] }, optional: false, nullable: false + + field :method_, -> { CloudPDF::Types::DocSignaturesAnalysisResponseCurrentMethod }, optional: false, nullable: false, api_name: "method" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_analysis_response_current_findings_item.rb b/lib/CloudPDF/types/doc_signatures_analysis_response_current_findings_item.rb new file mode 100644 index 00000000..68deb555 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_analysis_response_current_findings_item.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesAnalysisResponseCurrentFindingsItem < Internal::Types::Model + field :rule, -> { String }, optional: false, nullable: false + + field :verdict, -> { CloudPDF::Types::DocSignaturesAnalysisResponseCurrentFindingsItemVerdict }, optional: false, nullable: false + + field :object_number, -> { Integer }, optional: false, nullable: false, api_name: "objectNumber" + + field :edge, -> { String }, optional: true, nullable: false + + field :detail, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_analysis_response_current_findings_item_verdict.rb b/lib/CloudPDF/types/doc_signatures_analysis_response_current_findings_item_verdict.rb new file mode 100644 index 00000000..efe66c31 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_analysis_response_current_findings_item_verdict.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocSignaturesAnalysisResponseCurrentFindingsItemVerdict + extend CloudPDF::Internal::Types::Enum + + PERMITTED = "permitted" + FORBIDDEN = "forbidden" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_analysis_response_current_method.rb b/lib/CloudPDF/types/doc_signatures_analysis_response_current_method.rb new file mode 100644 index 00000000..1a0cebd7 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_analysis_response_current_method.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocSignaturesAnalysisResponseCurrentMethod + extend CloudPDF::Internal::Types::Enum + + NET_STATE = "net-state" + NET_STATE_REPLAY = "net-state+replay" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_analysis_response_current_primary.rb b/lib/CloudPDF/types/doc_signatures_analysis_response_current_primary.rb new file mode 100644 index 00000000..5173a4ce --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_analysis_response_current_primary.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesAnalysisResponseCurrentPrimary < Internal::Types::Model + field :rule, -> { String }, optional: false, nullable: false + + field :verdict, -> { CloudPDF::Types::DocSignaturesAnalysisResponseCurrentPrimaryVerdict }, optional: false, nullable: false + + field :object_number, -> { Integer }, optional: false, nullable: false, api_name: "objectNumber" + + field :edge, -> { String }, optional: true, nullable: false + + field :detail, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_analysis_response_current_primary_verdict.rb b/lib/CloudPDF/types/doc_signatures_analysis_response_current_primary_verdict.rb new file mode 100644 index 00000000..ead5a850 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_analysis_response_current_primary_verdict.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocSignaturesAnalysisResponseCurrentPrimaryVerdict + extend CloudPDF::Internal::Types::Enum + + PERMITTED = "permitted" + FORBIDDEN = "forbidden" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_analysis_response_current_verdict.rb b/lib/CloudPDF/types/doc_signatures_analysis_response_current_verdict.rb new file mode 100644 index 00000000..2f49f306 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_analysis_response_current_verdict.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocSignaturesAnalysisResponseCurrentVerdict + extend CloudPDF::Internal::Types::Enum + + UNCHANGED = "unchanged" + PERMITTED = "permitted" + FORBIDDEN = "forbidden" + INDETERMINATE = "indeterminate" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_analysis_response_later.rb b/lib/CloudPDF/types/doc_signatures_analysis_response_later.rb new file mode 100644 index 00000000..9651af11 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_analysis_response_later.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesAnalysisResponseLater < Internal::Types::Model + field :revision_count, -> { Integer }, optional: false, nullable: false, api_name: "revisionCount" + + field :undone_object_numbers, -> { Internal::Types::Array[Integer] }, optional: false, nullable: false, api_name: "undoneObjectNumbers" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_analysis_response_mode.rb b/lib/CloudPDF/types/doc_signatures_analysis_response_mode.rb new file mode 100644 index 00000000..8627a78e --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_analysis_response_mode.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocSignaturesAnalysisResponseMode + extend CloudPDF::Internal::Types::Enum + + AUTHORITATIVE = "authoritative" + EXPLORATORY = "exploratory" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_analysis_response_restrictions_item.rb b/lib/CloudPDF/types/doc_signatures_analysis_response_restrictions_item.rb new file mode 100644 index 00000000..7c9fdcdc --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_analysis_response_restrictions_item.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesAnalysisResponseRestrictionsItem < Internal::Types::Model + field :signature_index, -> { Integer }, optional: false, nullable: false, api_name: "signatureIndex" + + field :revision_index, -> { Integer }, optional: false, nullable: false, api_name: "revisionIndex" + + field :source, -> { CloudPDF::Types::DocSignaturesAnalysisResponseRestrictionsItemSource }, optional: false, nullable: false + + field :own, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :permission, -> { Integer }, optional: true, nullable: false + + field :fields, -> { Object }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_analysis_response_restrictions_item_source.rb b/lib/CloudPDF/types/doc_signatures_analysis_response_restrictions_item_source.rb new file mode 100644 index 00000000..e7801028 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_analysis_response_restrictions_item_source.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocSignaturesAnalysisResponseRestrictionsItemSource + extend CloudPDF::Internal::Types::Enum + + DOCMDP = "docmdp" + FIELDMDP = "fieldmdp" + LOCK = "lock" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_analysis_response_since.rb b/lib/CloudPDF/types/doc_signatures_analysis_response_since.rb new file mode 100644 index 00000000..738103a0 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_analysis_response_since.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesAnalysisResponseSince < Internal::Types::Model + field :revision_index, -> { Integer }, optional: false, nullable: false, api_name: "revisionIndex" + + field :signature_index, -> { Integer }, optional: false, nullable: true, api_name: "signatureIndex" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_analysis_response_until.rb b/lib/CloudPDF/types/doc_signatures_analysis_response_until.rb new file mode 100644 index 00000000..5fd2a371 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_analysis_response_until.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesAnalysisResponseUntil < Internal::Types::Model + field :revision_index, -> { Integer }, optional: false, nullable: false, api_name: "revisionIndex" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_analysis_response_verdict.rb b/lib/CloudPDF/types/doc_signatures_analysis_response_verdict.rb new file mode 100644 index 00000000..45739a3b --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_analysis_response_verdict.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocSignaturesAnalysisResponseVerdict + extend CloudPDF::Internal::Types::Enum + + UNCHANGED = "unchanged" + PERMITTED = "permitted" + FORBIDDEN = "forbidden" + INDETERMINATE = "indeterminate" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_cancel200response.rb b/lib/CloudPDF/types/doc_signatures_cancel200response.rb deleted file mode 100644 index d7157687..00000000 --- a/lib/CloudPDF/types/doc_signatures_cancel200response.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesCancel200Response < Internal::Types::Model - field :status, -> { CloudPDF::Types::DocSignaturesCancel200ResponseStatus }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_cancel200response_status.rb b/lib/CloudPDF/types/doc_signatures_cancel200response_status.rb deleted file mode 100644 index 8519745c..00000000 --- a/lib/CloudPDF/types/doc_signatures_cancel200response_status.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesCancel200ResponseStatus - extend CloudPDF::Internal::Types::Enum - - CANCELLED = "cancelled" - ALREADY_COMPLETED = "already-completed" - UNKNOWN = "unknown" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_cancel404response.rb b/lib/CloudPDF/types/doc_signatures_cancel404response.rb deleted file mode 100644 index 3a0db8d0..00000000 --- a/lib/CloudPDF/types/doc_signatures_cancel404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesCancel404Response - # DocSignaturesCancel404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_cancel_response.rb b/lib/CloudPDF/types/doc_signatures_cancel_response.rb new file mode 100644 index 00000000..1744d441 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_cancel_response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesCancelResponse < Internal::Types::Model + field :status, -> { CloudPDF::Types::DocSignaturesCancelResponseStatus }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_cancel_response_status.rb b/lib/CloudPDF/types/doc_signatures_cancel_response_status.rb new file mode 100644 index 00000000..a7b918ac --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_cancel_response_status.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocSignaturesCancelResponseStatus + extend CloudPDF::Internal::Types::Enum + + CANCELLED = "cancelled" + ALREADY_COMPLETED = "already-completed" + UNKNOWN = "unknown" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response.rb b/lib/CloudPDF/types/doc_signatures_complete200response.rb deleted file mode 100644 index 06b96499..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesComplete200Response < Internal::Types::Model - field :status, -> { CloudPDF::Types::DocSignaturesComplete200ResponseStatus }, optional: false, nullable: false - - field :signature, -> { CloudPDF::Types::DocSignaturesComplete200ResponseSignature }, optional: false, nullable: false - - field :version, -> { CloudPDF::Types::DocSignaturesComplete200ResponseVersion }, optional: false, nullable: false - - field :previous, -> { CloudPDF::Types::DocSignaturesComplete200ResponsePrevious }, optional: false, nullable: false - - field :protection, -> { CloudPDF::Types::DocSignaturesComplete200ResponseProtection }, optional: false, nullable: false - - field :meta, -> { CloudPDF::Types::MutationMeta }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_previous.rb b/lib/CloudPDF/types/doc_signatures_complete200response_previous.rb deleted file mode 100644 index b8b4781f..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_previous.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesComplete200ResponsePrevious < Internal::Types::Model - field :base_sha256, -> { String }, optional: false, nullable: false, api_name: "baseSha256" - - field :edits_version, -> { Integer }, optional: false, nullable: false, api_name: "editsVersion" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_protection.rb b/lib/CloudPDF/types/doc_signatures_complete200response_protection.rb deleted file mode 100644 index 711840d4..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_protection.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesComplete200ResponseProtection < Internal::Types::Model - field :enforced, -> { CloudPDF::Types::DocSignaturesComplete200ResponseProtectionEnforced }, optional: false, nullable: true - - field :judged, -> { CloudPDF::Types::DocSignaturesComplete200ResponseProtectionJudged }, optional: false, nullable: true - - field :certification, -> { CloudPDF::Types::DocSignaturesComplete200ResponseProtectionCertification }, optional: false, nullable: true - - field :field_locks, -> { Internal::Types::Array[CloudPDF::Types::DocSignaturesComplete200ResponseProtectionFieldLocksItem] }, optional: false, nullable: false, api_name: "fieldLocks" - - field :policy_version, -> { Integer }, optional: false, nullable: false, api_name: "policyVersion" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_protection_certification.rb b/lib/CloudPDF/types/doc_signatures_complete200response_protection_certification.rb deleted file mode 100644 index 28e7044d..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_protection_certification.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesComplete200ResponseProtectionCertification < Internal::Types::Model - field :signature_index, -> { Integer }, optional: false, nullable: false, api_name: "signatureIndex" - - field :permission, -> { Integer }, optional: false, nullable: true - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_protection_enforced.rb b/lib/CloudPDF/types/doc_signatures_complete200response_protection_enforced.rb deleted file mode 100644 index 51e76234..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_protection_enforced.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesComplete200ResponseProtectionEnforced - extend CloudPDF::Internal::Types::Enum - - NONE = "none" - LTA = "lta" - FILL = "fill" - ANNOTATE = "annotate" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_protection_field_locks_item.rb b/lib/CloudPDF/types/doc_signatures_complete200response_protection_field_locks_item.rb deleted file mode 100644 index 2baffc0d..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_protection_field_locks_item.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesComplete200ResponseProtectionFieldLocksItem < Internal::Types::Model - field :signature_index, -> { Integer }, optional: false, nullable: false, api_name: "signatureIndex" - - field :source, -> { CloudPDF::Types::DocSignaturesComplete200ResponseProtectionFieldLocksItemSource }, optional: false, nullable: false - - field :spec, -> { CloudPDF::Types::DocSignaturesComplete200ResponseProtectionFieldLocksItemSpec }, optional: false, nullable: true - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_protection_field_locks_item_source.rb b/lib/CloudPDF/types/doc_signatures_complete200response_protection_field_locks_item_source.rb deleted file mode 100644 index 688ce2d8..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_protection_field_locks_item_source.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesComplete200ResponseProtectionFieldLocksItemSource - extend CloudPDF::Internal::Types::Enum - - FIELDMDP = "fieldmdp" - LOCK = "lock" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_protection_field_locks_item_spec.rb b/lib/CloudPDF/types/doc_signatures_complete200response_protection_field_locks_item_spec.rb deleted file mode 100644 index 78f093c6..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_protection_field_locks_item_spec.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesComplete200ResponseProtectionFieldLocksItemSpec < Internal::Types::Model - field :action, -> { CloudPDF::Types::DocSignaturesComplete200ResponseProtectionFieldLocksItemSpecAction }, optional: false, nullable: false - - field :fields, -> { Internal::Types::Array[String] }, optional: false, nullable: false - - field :permission, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_protection_field_locks_item_spec_action.rb b/lib/CloudPDF/types/doc_signatures_complete200response_protection_field_locks_item_spec_action.rb deleted file mode 100644 index 95a9995c..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_protection_field_locks_item_spec_action.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesComplete200ResponseProtectionFieldLocksItemSpecAction - extend CloudPDF::Internal::Types::Enum - - ALL = "all" - INCLUDE = "include" - EXCLUDE = "exclude" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_protection_judged.rb b/lib/CloudPDF/types/doc_signatures_complete200response_protection_judged.rb deleted file mode 100644 index c0bf69fe..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_protection_judged.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesComplete200ResponseProtectionJudged - extend CloudPDF::Internal::Types::Enum - - NONE = "none" - LTA = "lta" - FILL = "fill" - ANNOTATE = "annotate" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_signature.rb b/lib/CloudPDF/types/doc_signatures_complete200response_signature.rb deleted file mode 100644 index bd51b1a5..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_signature.rb +++ /dev/null @@ -1,43 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesComplete200ResponseSignature < Internal::Types::Model - field :index, -> { Integer }, optional: false, nullable: false - - field :field, -> { CloudPDF::Types::FormFieldRef }, optional: false, nullable: false - - field :field_name, -> { String }, optional: false, nullable: false, api_name: "fieldName" - - field :widget, -> { CloudPDF::Types::FormWidget }, optional: false, nullable: true - - field :signed, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :kind, -> { CloudPDF::Types::DocSignaturesComplete200ResponseSignatureKind }, optional: false, nullable: false - - field :filter, -> { String }, optional: false, nullable: true - - field :sub_filter, -> { String }, optional: false, nullable: true, api_name: "subFilter" - - field :byte_range, -> { Internal::Types::Array[Object] }, optional: false, nullable: true, api_name: "byteRange" - - field :contents_size, -> { Integer }, optional: false, nullable: false, api_name: "contentsSize" - - field :coverage, -> { CloudPDF::Types::DocSignaturesComplete200ResponseSignatureCoverage }, optional: false, nullable: true - - field :revision_index, -> { Integer }, optional: false, nullable: true, api_name: "revisionIndex" - - field :signer, -> { CloudPDF::Types::DocSignaturesComplete200ResponseSignatureSigner }, optional: false, nullable: false - - field :doc_mdp, -> { Integer }, optional: false, nullable: true, api_name: "docMdp" - - field :catalog_certification, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "catalogCertification" - - field :field_mdp, -> { CloudPDF::Types::DocSignaturesComplete200ResponseSignatureFieldMdp }, optional: false, nullable: true, api_name: "fieldMdp" - - field :lock, -> { CloudPDF::Types::DocSignaturesComplete200ResponseSignatureLock }, optional: false, nullable: true - - field :seed_value, -> { CloudPDF::Types::DocSignaturesComplete200ResponseSignatureSeedValue }, optional: false, nullable: true, api_name: "seedValue" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_signature_coverage.rb b/lib/CloudPDF/types/doc_signatures_complete200response_signature_coverage.rb deleted file mode 100644 index 21d75540..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_signature_coverage.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesComplete200ResponseSignatureCoverage - extend CloudPDF::Internal::Types::Enum - - WHOLE_REVISION = "whole-revision" - PARTIAL = "partial" - MALFORMED = "malformed" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_signature_field_mdp.rb b/lib/CloudPDF/types/doc_signatures_complete200response_signature_field_mdp.rb deleted file mode 100644 index cdc8c934..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_signature_field_mdp.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesComplete200ResponseSignatureFieldMdp < Internal::Types::Model - field :action, -> { CloudPDF::Types::DocSignaturesComplete200ResponseSignatureFieldMdpAction }, optional: false, nullable: false - - field :fields, -> { Internal::Types::Array[String] }, optional: false, nullable: false - - field :permission, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_signature_field_mdp_action.rb b/lib/CloudPDF/types/doc_signatures_complete200response_signature_field_mdp_action.rb deleted file mode 100644 index dc5c17d4..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_signature_field_mdp_action.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesComplete200ResponseSignatureFieldMdpAction - extend CloudPDF::Internal::Types::Enum - - ALL = "all" - INCLUDE = "include" - EXCLUDE = "exclude" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_signature_kind.rb b/lib/CloudPDF/types/doc_signatures_complete200response_signature_kind.rb deleted file mode 100644 index 42279075..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_signature_kind.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesComplete200ResponseSignatureKind - extend CloudPDF::Internal::Types::Enum - - SIGNATURE = "signature" - TIMESTAMP = "timestamp" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_signature_lock.rb b/lib/CloudPDF/types/doc_signatures_complete200response_signature_lock.rb deleted file mode 100644 index 9b9b82bb..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_signature_lock.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesComplete200ResponseSignatureLock < Internal::Types::Model - field :action, -> { CloudPDF::Types::DocSignaturesComplete200ResponseSignatureLockAction }, optional: false, nullable: false - - field :fields, -> { Internal::Types::Array[String] }, optional: false, nullable: false - - field :permission, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_signature_lock_action.rb b/lib/CloudPDF/types/doc_signatures_complete200response_signature_lock_action.rb deleted file mode 100644 index 2847f8af..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_signature_lock_action.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesComplete200ResponseSignatureLockAction - extend CloudPDF::Internal::Types::Enum - - ALL = "all" - INCLUDE = "include" - EXCLUDE = "exclude" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_signature_seed_value.rb b/lib/CloudPDF/types/doc_signatures_complete200response_signature_seed_value.rb deleted file mode 100644 index b722d4bd..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_signature_seed_value.rb +++ /dev/null @@ -1,25 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesComplete200ResponseSignatureSeedValue < Internal::Types::Model - field :required_flags, -> { Integer }, optional: false, nullable: false, api_name: "requiredFlags" - - field :present_flags, -> { Integer }, optional: false, nullable: false, api_name: "presentFlags" - - field :version, -> { Integer }, optional: false, nullable: true - - field :mdp, -> { Integer }, optional: false, nullable: true - - field :filter, -> { String }, optional: false, nullable: true - - field :sub_filters, -> { Internal::Types::Array[String] }, optional: false, nullable: false, api_name: "subFilters" - - field :digest_methods, -> { Internal::Types::Array[String] }, optional: false, nullable: false, api_name: "digestMethods" - - field :reasons, -> { Internal::Types::Array[String] }, optional: false, nullable: false - - field :unsupported_required, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "unsupportedRequired" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_signature_signer.rb b/lib/CloudPDF/types/doc_signatures_complete200response_signature_signer.rb deleted file mode 100644 index fc2d8dd1..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_signature_signer.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesComplete200ResponseSignatureSigner < Internal::Types::Model - field :name, -> { String }, optional: false, nullable: true - - field :reason, -> { String }, optional: false, nullable: true - - field :location, -> { String }, optional: false, nullable: true - - field :contact_info, -> { String }, optional: false, nullable: true, api_name: "contactInfo" - - field :signed_at, -> { String }, optional: false, nullable: true, api_name: "signedAt" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_status.rb b/lib/CloudPDF/types/doc_signatures_complete200response_status.rb deleted file mode 100644 index d744d651..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_status.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesComplete200ResponseStatus - extend CloudPDF::Internal::Types::Enum - - COMPLETED = "completed" - ALREADY_COMPLETED = "already-completed" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_version.rb b/lib/CloudPDF/types/doc_signatures_complete200response_version.rb deleted file mode 100644 index 183d1f06..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_version.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesComplete200ResponseVersion < Internal::Types::Model - field :sha256, -> { String }, optional: false, nullable: false - - field :byte_length, -> { Integer }, optional: false, nullable: false, api_name: "byteLength" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete400response.rb b/lib/CloudPDF/types/doc_signatures_complete400response.rb deleted file mode 100644 index 70b57763..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesComplete400Response - # DocSignaturesComplete400Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete404response.rb b/lib/CloudPDF/types/doc_signatures_complete404response.rb deleted file mode 100644 index c1b73244..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesComplete404Response - # DocSignaturesComplete404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete409response.rb b/lib/CloudPDF/types/doc_signatures_complete409response.rb deleted file mode 100644 index 66aeefff..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete409response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesComplete409Response - # DocSignaturesComplete409Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete_response.rb b/lib/CloudPDF/types/doc_signatures_complete_response.rb new file mode 100644 index 00000000..72f27d41 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_complete_response.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesCompleteResponse < Internal::Types::Model + field :status, -> { CloudPDF::Types::DocSignaturesCompleteResponseStatus }, optional: false, nullable: false + + field :signature, -> { CloudPDF::Types::DocSignaturesCompleteResponseSignature }, optional: false, nullable: false + + field :version, -> { CloudPDF::Types::DocSignaturesCompleteResponseVersion }, optional: false, nullable: false + + field :previous, -> { CloudPDF::Types::DocSignaturesCompleteResponsePrevious }, optional: false, nullable: false + + field :protection, -> { CloudPDF::Types::DocSignaturesCompleteResponseProtection }, optional: false, nullable: false + + field :meta, -> { CloudPDF::Types::MutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_complete_response_previous.rb b/lib/CloudPDF/types/doc_signatures_complete_response_previous.rb new file mode 100644 index 00000000..a1774fb0 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_complete_response_previous.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesCompleteResponsePrevious < Internal::Types::Model + field :base_sha256, -> { String }, optional: false, nullable: false, api_name: "baseSha256" + + field :edits_version, -> { Integer }, optional: false, nullable: false, api_name: "editsVersion" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_complete_response_protection.rb b/lib/CloudPDF/types/doc_signatures_complete_response_protection.rb new file mode 100644 index 00000000..817f5bb5 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_complete_response_protection.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesCompleteResponseProtection < Internal::Types::Model + field :enforced, -> { CloudPDF::Types::DocSignaturesCompleteResponseProtectionEnforced }, optional: false, nullable: true + + field :judged, -> { CloudPDF::Types::DocSignaturesCompleteResponseProtectionJudged }, optional: false, nullable: true + + field :certification, -> { CloudPDF::Types::DocSignaturesCompleteResponseProtectionCertification }, optional: false, nullable: true + + field :field_locks, -> { Internal::Types::Array[CloudPDF::Types::DocSignaturesCompleteResponseProtectionFieldLocksItem] }, optional: false, nullable: false, api_name: "fieldLocks" + + field :policy_version, -> { Integer }, optional: false, nullable: false, api_name: "policyVersion" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_complete_response_protection_certification.rb b/lib/CloudPDF/types/doc_signatures_complete_response_protection_certification.rb new file mode 100644 index 00000000..e2da05b6 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_complete_response_protection_certification.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesCompleteResponseProtectionCertification < Internal::Types::Model + field :signature_index, -> { Integer }, optional: false, nullable: false, api_name: "signatureIndex" + + field :permission, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_complete_response_protection_enforced.rb b/lib/CloudPDF/types/doc_signatures_complete_response_protection_enforced.rb new file mode 100644 index 00000000..65d68bba --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_complete_response_protection_enforced.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocSignaturesCompleteResponseProtectionEnforced + extend CloudPDF::Internal::Types::Enum + + NONE = "none" + LTA = "lta" + FILL = "fill" + ANNOTATE = "annotate" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_complete_response_protection_field_locks_item.rb b/lib/CloudPDF/types/doc_signatures_complete_response_protection_field_locks_item.rb new file mode 100644 index 00000000..cdcf70f9 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_complete_response_protection_field_locks_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesCompleteResponseProtectionFieldLocksItem < Internal::Types::Model + field :signature_index, -> { Integer }, optional: false, nullable: false, api_name: "signatureIndex" + + field :source, -> { CloudPDF::Types::DocSignaturesCompleteResponseProtectionFieldLocksItemSource }, optional: false, nullable: false + + field :spec, -> { CloudPDF::Types::FieldLockSpec }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_complete_response_protection_field_locks_item_source.rb b/lib/CloudPDF/types/doc_signatures_complete_response_protection_field_locks_item_source.rb new file mode 100644 index 00000000..389131fb --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_complete_response_protection_field_locks_item_source.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocSignaturesCompleteResponseProtectionFieldLocksItemSource + extend CloudPDF::Internal::Types::Enum + + FIELDMDP = "fieldmdp" + LOCK = "lock" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_complete_response_protection_judged.rb b/lib/CloudPDF/types/doc_signatures_complete_response_protection_judged.rb new file mode 100644 index 00000000..0956102a --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_complete_response_protection_judged.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocSignaturesCompleteResponseProtectionJudged + extend CloudPDF::Internal::Types::Enum + + NONE = "none" + LTA = "lta" + FILL = "fill" + ANNOTATE = "annotate" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_complete_response_signature.rb b/lib/CloudPDF/types/doc_signatures_complete_response_signature.rb new file mode 100644 index 00000000..92702609 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_complete_response_signature.rb @@ -0,0 +1,43 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesCompleteResponseSignature < Internal::Types::Model + field :index, -> { Integer }, optional: false, nullable: false + + field :field, -> { CloudPDF::Types::FormFieldRef }, optional: false, nullable: false + + field :field_name, -> { String }, optional: false, nullable: false, api_name: "fieldName" + + field :widget, -> { CloudPDF::Types::FormWidget }, optional: false, nullable: true + + field :signed, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :kind, -> { CloudPDF::Types::DocSignaturesCompleteResponseSignatureKind }, optional: false, nullable: false + + field :filter, -> { String }, optional: false, nullable: true + + field :sub_filter, -> { String }, optional: false, nullable: true, api_name: "subFilter" + + field :byte_range, -> { Internal::Types::Array[Object] }, optional: false, nullable: true, api_name: "byteRange" + + field :contents_size_bytes, -> { Integer }, optional: false, nullable: false, api_name: "contentsSizeBytes" + + field :coverage, -> { CloudPDF::Types::DocSignaturesCompleteResponseSignatureCoverage }, optional: false, nullable: true + + field :revision_index, -> { Integer }, optional: false, nullable: true, api_name: "revisionIndex" + + field :signer, -> { CloudPDF::Types::DocSignaturesCompleteResponseSignatureSigner }, optional: false, nullable: false + + field :doc_mdp, -> { Integer }, optional: false, nullable: true, api_name: "docMdp" + + field :catalog_certification, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "catalogCertification" + + field :field_mdp, -> { CloudPDF::Types::FieldLockSpec }, optional: false, nullable: true, api_name: "fieldMdp" + + field :lock, -> { CloudPDF::Types::FieldLockSpec }, optional: false, nullable: true + + field :seed_value, -> { CloudPDF::Types::DocSignaturesCompleteResponseSignatureSeedValue }, optional: false, nullable: true, api_name: "seedValue" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_complete_response_signature_coverage.rb b/lib/CloudPDF/types/doc_signatures_complete_response_signature_coverage.rb new file mode 100644 index 00000000..e3a4e9b3 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_complete_response_signature_coverage.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocSignaturesCompleteResponseSignatureCoverage + extend CloudPDF::Internal::Types::Enum + + WHOLE_REVISION = "whole-revision" + PARTIAL = "partial" + MALFORMED = "malformed" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_complete_response_signature_kind.rb b/lib/CloudPDF/types/doc_signatures_complete_response_signature_kind.rb new file mode 100644 index 00000000..b4fc3594 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_complete_response_signature_kind.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocSignaturesCompleteResponseSignatureKind + extend CloudPDF::Internal::Types::Enum + + SIGNATURE = "signature" + TIMESTAMP = "timestamp" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_complete_response_signature_seed_value.rb b/lib/CloudPDF/types/doc_signatures_complete_response_signature_seed_value.rb new file mode 100644 index 00000000..e38e05f3 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_complete_response_signature_seed_value.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesCompleteResponseSignatureSeedValue < Internal::Types::Model + field :parser_version, -> { Integer }, optional: false, nullable: true, api_name: "parserVersion" + + field :parser_version_required, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "parserVersionRequired" + + field :mdp, -> { Integer }, optional: false, nullable: true + + field :filter, -> { String }, optional: false, nullable: true + + field :filter_required, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "filterRequired" + + field :sub_filters, -> { Internal::Types::Array[String] }, optional: false, nullable: false, api_name: "subFilters" + + field :sub_filters_required, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "subFiltersRequired" + + field :digest_methods, -> { Internal::Types::Array[String] }, optional: false, nullable: false, api_name: "digestMethods" + + field :digest_methods_required, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "digestMethodsRequired" + + field :reasons, -> { Internal::Types::Array[String] }, optional: false, nullable: false + + field :reasons_required, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "reasonsRequired" + + field :unsupported_required, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "unsupportedRequired" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_complete_response_signature_signer.rb b/lib/CloudPDF/types/doc_signatures_complete_response_signature_signer.rb new file mode 100644 index 00000000..2026ba5a --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_complete_response_signature_signer.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesCompleteResponseSignatureSigner < Internal::Types::Model + field :name, -> { String }, optional: false, nullable: true + + field :reason, -> { String }, optional: false, nullable: true + + field :location, -> { String }, optional: false, nullable: true + + field :contact_info, -> { String }, optional: false, nullable: true, api_name: "contactInfo" + + field :signed_at, -> { String }, optional: false, nullable: true, api_name: "signedAt" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_complete_response_status.rb b/lib/CloudPDF/types/doc_signatures_complete_response_status.rb new file mode 100644 index 00000000..ddb0adc2 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_complete_response_status.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocSignaturesCompleteResponseStatus + extend CloudPDF::Internal::Types::Enum + + COMPLETED = "completed" + ALREADY_COMPLETED = "already-completed" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_complete_response_version.rb b/lib/CloudPDF/types/doc_signatures_complete_response_version.rb new file mode 100644 index 00000000..e8644782 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_complete_response_version.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesCompleteResponseVersion < Internal::Types::Model + field :sha256, -> { String }, optional: false, nullable: false + + field :size_bytes, -> { Integer }, optional: false, nullable: false, api_name: "sizeBytes" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_list200response.rb b/lib/CloudPDF/types/doc_signatures_list200response.rb deleted file mode 100644 index 5141f321..00000000 --- a/lib/CloudPDF/types/doc_signatures_list200response.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesList200Response < Internal::Types::Model - field :chain_valid, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "chainValid" - - field :revisions, -> { Internal::Types::Array[CloudPDF::Types::DocSignaturesList200ResponseRevisionsItem] }, optional: false, nullable: false - - field :signatures, -> { Internal::Types::Array[CloudPDF::Types::DocSignaturesList200ResponseSignaturesItem] }, optional: false, nullable: false - - field :protection, -> { CloudPDF::Types::DocSignaturesList200ResponseProtection }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_list200response_protection.rb b/lib/CloudPDF/types/doc_signatures_list200response_protection.rb deleted file mode 100644 index 12d9b890..00000000 --- a/lib/CloudPDF/types/doc_signatures_list200response_protection.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesList200ResponseProtection < Internal::Types::Model - field :enforced, -> { CloudPDF::Types::DocSignaturesList200ResponseProtectionEnforced }, optional: false, nullable: true - - field :judged, -> { CloudPDF::Types::DocSignaturesList200ResponseProtectionJudged }, optional: false, nullable: true - - field :certification, -> { CloudPDF::Types::DocSignaturesList200ResponseProtectionCertification }, optional: false, nullable: true - - field :field_locks, -> { Internal::Types::Array[CloudPDF::Types::DocSignaturesList200ResponseProtectionFieldLocksItem] }, optional: false, nullable: false, api_name: "fieldLocks" - - field :policy_version, -> { Integer }, optional: false, nullable: false, api_name: "policyVersion" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_list200response_protection_certification.rb b/lib/CloudPDF/types/doc_signatures_list200response_protection_certification.rb deleted file mode 100644 index 2b89541c..00000000 --- a/lib/CloudPDF/types/doc_signatures_list200response_protection_certification.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesList200ResponseProtectionCertification < Internal::Types::Model - field :signature_index, -> { Integer }, optional: false, nullable: false, api_name: "signatureIndex" - - field :permission, -> { Integer }, optional: false, nullable: true - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_list200response_protection_enforced.rb b/lib/CloudPDF/types/doc_signatures_list200response_protection_enforced.rb deleted file mode 100644 index ea1f88c4..00000000 --- a/lib/CloudPDF/types/doc_signatures_list200response_protection_enforced.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesList200ResponseProtectionEnforced - extend CloudPDF::Internal::Types::Enum - - NONE = "none" - LTA = "lta" - FILL = "fill" - ANNOTATE = "annotate" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_list200response_protection_field_locks_item.rb b/lib/CloudPDF/types/doc_signatures_list200response_protection_field_locks_item.rb deleted file mode 100644 index d350a20f..00000000 --- a/lib/CloudPDF/types/doc_signatures_list200response_protection_field_locks_item.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesList200ResponseProtectionFieldLocksItem < Internal::Types::Model - field :signature_index, -> { Integer }, optional: false, nullable: false, api_name: "signatureIndex" - - field :source, -> { CloudPDF::Types::DocSignaturesList200ResponseProtectionFieldLocksItemSource }, optional: false, nullable: false - - field :spec, -> { CloudPDF::Types::DocSignaturesList200ResponseProtectionFieldLocksItemSpec }, optional: false, nullable: true - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_list200response_protection_field_locks_item_source.rb b/lib/CloudPDF/types/doc_signatures_list200response_protection_field_locks_item_source.rb deleted file mode 100644 index e26ec726..00000000 --- a/lib/CloudPDF/types/doc_signatures_list200response_protection_field_locks_item_source.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesList200ResponseProtectionFieldLocksItemSource - extend CloudPDF::Internal::Types::Enum - - FIELDMDP = "fieldmdp" - LOCK = "lock" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_list200response_protection_field_locks_item_spec.rb b/lib/CloudPDF/types/doc_signatures_list200response_protection_field_locks_item_spec.rb deleted file mode 100644 index 336e6d59..00000000 --- a/lib/CloudPDF/types/doc_signatures_list200response_protection_field_locks_item_spec.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesList200ResponseProtectionFieldLocksItemSpec < Internal::Types::Model - field :action, -> { CloudPDF::Types::DocSignaturesList200ResponseProtectionFieldLocksItemSpecAction }, optional: false, nullable: false - - field :fields, -> { Internal::Types::Array[String] }, optional: false, nullable: false - - field :permission, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_list200response_protection_field_locks_item_spec_action.rb b/lib/CloudPDF/types/doc_signatures_list200response_protection_field_locks_item_spec_action.rb deleted file mode 100644 index 91e10247..00000000 --- a/lib/CloudPDF/types/doc_signatures_list200response_protection_field_locks_item_spec_action.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesList200ResponseProtectionFieldLocksItemSpecAction - extend CloudPDF::Internal::Types::Enum - - ALL = "all" - INCLUDE = "include" - EXCLUDE = "exclude" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_list200response_protection_judged.rb b/lib/CloudPDF/types/doc_signatures_list200response_protection_judged.rb deleted file mode 100644 index c068e0f5..00000000 --- a/lib/CloudPDF/types/doc_signatures_list200response_protection_judged.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesList200ResponseProtectionJudged - extend CloudPDF::Internal::Types::Enum - - NONE = "none" - LTA = "lta" - FILL = "fill" - ANNOTATE = "annotate" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_list200response_revisions_item.rb b/lib/CloudPDF/types/doc_signatures_list200response_revisions_item.rb deleted file mode 100644 index b90a34be..00000000 --- a/lib/CloudPDF/types/doc_signatures_list200response_revisions_item.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesList200ResponseRevisionsItem < Internal::Types::Model - field :index, -> { Integer }, optional: false, nullable: false - - field :end_, -> { Integer }, optional: false, nullable: false, api_name: "end" - - field :xref_offset, -> { Integer }, optional: false, nullable: false, api_name: "xrefOffset" - - field :signature_index, -> { Integer }, optional: false, nullable: true, api_name: "signatureIndex" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_list200response_signatures_item.rb b/lib/CloudPDF/types/doc_signatures_list200response_signatures_item.rb deleted file mode 100644 index 320bc8df..00000000 --- a/lib/CloudPDF/types/doc_signatures_list200response_signatures_item.rb +++ /dev/null @@ -1,43 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesList200ResponseSignaturesItem < Internal::Types::Model - field :index, -> { Integer }, optional: false, nullable: false - - field :field, -> { CloudPDF::Types::FormFieldRef }, optional: false, nullable: false - - field :field_name, -> { String }, optional: false, nullable: false, api_name: "fieldName" - - field :widget, -> { CloudPDF::Types::FormWidget }, optional: false, nullable: true - - field :signed, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :kind, -> { CloudPDF::Types::DocSignaturesList200ResponseSignaturesItemKind }, optional: false, nullable: false - - field :filter, -> { String }, optional: false, nullable: true - - field :sub_filter, -> { String }, optional: false, nullable: true, api_name: "subFilter" - - field :byte_range, -> { Internal::Types::Array[Object] }, optional: false, nullable: true, api_name: "byteRange" - - field :contents_size, -> { Integer }, optional: false, nullable: false, api_name: "contentsSize" - - field :coverage, -> { CloudPDF::Types::DocSignaturesList200ResponseSignaturesItemCoverage }, optional: false, nullable: true - - field :revision_index, -> { Integer }, optional: false, nullable: true, api_name: "revisionIndex" - - field :signer, -> { CloudPDF::Types::DocSignaturesList200ResponseSignaturesItemSigner }, optional: false, nullable: false - - field :doc_mdp, -> { Integer }, optional: false, nullable: true, api_name: "docMdp" - - field :catalog_certification, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "catalogCertification" - - field :field_mdp, -> { CloudPDF::Types::DocSignaturesList200ResponseSignaturesItemFieldMdp }, optional: false, nullable: true, api_name: "fieldMdp" - - field :lock, -> { CloudPDF::Types::DocSignaturesList200ResponseSignaturesItemLock }, optional: false, nullable: true - - field :seed_value, -> { CloudPDF::Types::DocSignaturesList200ResponseSignaturesItemSeedValue }, optional: false, nullable: true, api_name: "seedValue" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_coverage.rb b/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_coverage.rb deleted file mode 100644 index 0e7195c6..00000000 --- a/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_coverage.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesList200ResponseSignaturesItemCoverage - extend CloudPDF::Internal::Types::Enum - - WHOLE_REVISION = "whole-revision" - PARTIAL = "partial" - MALFORMED = "malformed" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_field_mdp.rb b/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_field_mdp.rb deleted file mode 100644 index b254d66d..00000000 --- a/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_field_mdp.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesList200ResponseSignaturesItemFieldMdp < Internal::Types::Model - field :action, -> { CloudPDF::Types::DocSignaturesList200ResponseSignaturesItemFieldMdpAction }, optional: false, nullable: false - - field :fields, -> { Internal::Types::Array[String] }, optional: false, nullable: false - - field :permission, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_field_mdp_action.rb b/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_field_mdp_action.rb deleted file mode 100644 index 56723ab1..00000000 --- a/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_field_mdp_action.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesList200ResponseSignaturesItemFieldMdpAction - extend CloudPDF::Internal::Types::Enum - - ALL = "all" - INCLUDE = "include" - EXCLUDE = "exclude" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_kind.rb b/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_kind.rb deleted file mode 100644 index b2fba942..00000000 --- a/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_kind.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesList200ResponseSignaturesItemKind - extend CloudPDF::Internal::Types::Enum - - SIGNATURE = "signature" - TIMESTAMP = "timestamp" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_lock.rb b/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_lock.rb deleted file mode 100644 index 7a48bd85..00000000 --- a/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_lock.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesList200ResponseSignaturesItemLock < Internal::Types::Model - field :action, -> { CloudPDF::Types::DocSignaturesList200ResponseSignaturesItemLockAction }, optional: false, nullable: false - - field :fields, -> { Internal::Types::Array[String] }, optional: false, nullable: false - - field :permission, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_lock_action.rb b/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_lock_action.rb deleted file mode 100644 index 4657673d..00000000 --- a/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_lock_action.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesList200ResponseSignaturesItemLockAction - extend CloudPDF::Internal::Types::Enum - - ALL = "all" - INCLUDE = "include" - EXCLUDE = "exclude" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_seed_value.rb b/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_seed_value.rb deleted file mode 100644 index 1bb9d38c..00000000 --- a/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_seed_value.rb +++ /dev/null @@ -1,25 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesList200ResponseSignaturesItemSeedValue < Internal::Types::Model - field :required_flags, -> { Integer }, optional: false, nullable: false, api_name: "requiredFlags" - - field :present_flags, -> { Integer }, optional: false, nullable: false, api_name: "presentFlags" - - field :version, -> { Integer }, optional: false, nullable: true - - field :mdp, -> { Integer }, optional: false, nullable: true - - field :filter, -> { String }, optional: false, nullable: true - - field :sub_filters, -> { Internal::Types::Array[String] }, optional: false, nullable: false, api_name: "subFilters" - - field :digest_methods, -> { Internal::Types::Array[String] }, optional: false, nullable: false, api_name: "digestMethods" - - field :reasons, -> { Internal::Types::Array[String] }, optional: false, nullable: false - - field :unsupported_required, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "unsupportedRequired" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_signer.rb b/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_signer.rb deleted file mode 100644 index 07e0608d..00000000 --- a/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_signer.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesList200ResponseSignaturesItemSigner < Internal::Types::Model - field :name, -> { String }, optional: false, nullable: true - - field :reason, -> { String }, optional: false, nullable: true - - field :location, -> { String }, optional: false, nullable: true - - field :contact_info, -> { String }, optional: false, nullable: true, api_name: "contactInfo" - - field :signed_at, -> { String }, optional: false, nullable: true, api_name: "signedAt" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_list404response.rb b/lib/CloudPDF/types/doc_signatures_list404response.rb deleted file mode 100644 index ded5dac8..00000000 --- a/lib/CloudPDF/types/doc_signatures_list404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesList404Response - # DocSignaturesList404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_list_response.rb b/lib/CloudPDF/types/doc_signatures_list_response.rb new file mode 100644 index 00000000..ebea5dea --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_list_response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesListResponse < Internal::Types::Model + field :chain_valid, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "chainValid" + + field :revisions, -> { Internal::Types::Array[CloudPDF::Types::DocSignaturesListResponseRevisionsItem] }, optional: false, nullable: false + + field :signatures, -> { Internal::Types::Array[CloudPDF::Types::DocSignaturesListResponseSignaturesItem] }, optional: false, nullable: false + + field :protection, -> { CloudPDF::Types::DocSignaturesListResponseProtection }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_list_response_protection.rb b/lib/CloudPDF/types/doc_signatures_list_response_protection.rb new file mode 100644 index 00000000..5379a5e3 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_list_response_protection.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesListResponseProtection < Internal::Types::Model + field :enforced, -> { CloudPDF::Types::DocSignaturesListResponseProtectionEnforced }, optional: false, nullable: true + + field :judged, -> { CloudPDF::Types::DocSignaturesListResponseProtectionJudged }, optional: false, nullable: true + + field :certification, -> { CloudPDF::Types::DocSignaturesListResponseProtectionCertification }, optional: false, nullable: true + + field :field_locks, -> { Internal::Types::Array[CloudPDF::Types::DocSignaturesListResponseProtectionFieldLocksItem] }, optional: false, nullable: false, api_name: "fieldLocks" + + field :policy_version, -> { Integer }, optional: false, nullable: false, api_name: "policyVersion" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_list_response_protection_certification.rb b/lib/CloudPDF/types/doc_signatures_list_response_protection_certification.rb new file mode 100644 index 00000000..80968809 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_list_response_protection_certification.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesListResponseProtectionCertification < Internal::Types::Model + field :signature_index, -> { Integer }, optional: false, nullable: false, api_name: "signatureIndex" + + field :permission, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_list_response_protection_enforced.rb b/lib/CloudPDF/types/doc_signatures_list_response_protection_enforced.rb new file mode 100644 index 00000000..16bd81ef --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_list_response_protection_enforced.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocSignaturesListResponseProtectionEnforced + extend CloudPDF::Internal::Types::Enum + + NONE = "none" + LTA = "lta" + FILL = "fill" + ANNOTATE = "annotate" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_list_response_protection_field_locks_item.rb b/lib/CloudPDF/types/doc_signatures_list_response_protection_field_locks_item.rb new file mode 100644 index 00000000..cd113528 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_list_response_protection_field_locks_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesListResponseProtectionFieldLocksItem < Internal::Types::Model + field :signature_index, -> { Integer }, optional: false, nullable: false, api_name: "signatureIndex" + + field :source, -> { CloudPDF::Types::DocSignaturesListResponseProtectionFieldLocksItemSource }, optional: false, nullable: false + + field :spec, -> { CloudPDF::Types::FieldLockSpec }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_list_response_protection_field_locks_item_source.rb b/lib/CloudPDF/types/doc_signatures_list_response_protection_field_locks_item_source.rb new file mode 100644 index 00000000..cf783bf2 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_list_response_protection_field_locks_item_source.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocSignaturesListResponseProtectionFieldLocksItemSource + extend CloudPDF::Internal::Types::Enum + + FIELDMDP = "fieldmdp" + LOCK = "lock" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_list_response_protection_judged.rb b/lib/CloudPDF/types/doc_signatures_list_response_protection_judged.rb new file mode 100644 index 00000000..f2a7b28c --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_list_response_protection_judged.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocSignaturesListResponseProtectionJudged + extend CloudPDF::Internal::Types::Enum + + NONE = "none" + LTA = "lta" + FILL = "fill" + ANNOTATE = "annotate" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_list_response_revisions_item.rb b/lib/CloudPDF/types/doc_signatures_list_response_revisions_item.rb new file mode 100644 index 00000000..040ac2ae --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_list_response_revisions_item.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesListResponseRevisionsItem < Internal::Types::Model + field :index, -> { Integer }, optional: false, nullable: false + + field :end_, -> { Integer }, optional: false, nullable: false, api_name: "end" + + field :xref_offset, -> { Integer }, optional: false, nullable: false, api_name: "xrefOffset" + + field :signature_index, -> { Integer }, optional: false, nullable: true, api_name: "signatureIndex" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_list_response_signatures_item.rb b/lib/CloudPDF/types/doc_signatures_list_response_signatures_item.rb new file mode 100644 index 00000000..34a5e953 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_list_response_signatures_item.rb @@ -0,0 +1,43 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesListResponseSignaturesItem < Internal::Types::Model + field :index, -> { Integer }, optional: false, nullable: false + + field :field, -> { CloudPDF::Types::FormFieldRef }, optional: false, nullable: false + + field :field_name, -> { String }, optional: false, nullable: false, api_name: "fieldName" + + field :widget, -> { CloudPDF::Types::FormWidget }, optional: false, nullable: true + + field :signed, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :kind, -> { CloudPDF::Types::DocSignaturesListResponseSignaturesItemKind }, optional: false, nullable: false + + field :filter, -> { String }, optional: false, nullable: true + + field :sub_filter, -> { String }, optional: false, nullable: true, api_name: "subFilter" + + field :byte_range, -> { Internal::Types::Array[Object] }, optional: false, nullable: true, api_name: "byteRange" + + field :contents_size_bytes, -> { Integer }, optional: false, nullable: false, api_name: "contentsSizeBytes" + + field :coverage, -> { CloudPDF::Types::DocSignaturesListResponseSignaturesItemCoverage }, optional: false, nullable: true + + field :revision_index, -> { Integer }, optional: false, nullable: true, api_name: "revisionIndex" + + field :signer, -> { CloudPDF::Types::DocSignaturesListResponseSignaturesItemSigner }, optional: false, nullable: false + + field :doc_mdp, -> { Integer }, optional: false, nullable: true, api_name: "docMdp" + + field :catalog_certification, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "catalogCertification" + + field :field_mdp, -> { CloudPDF::Types::FieldLockSpec }, optional: false, nullable: true, api_name: "fieldMdp" + + field :lock, -> { CloudPDF::Types::FieldLockSpec }, optional: false, nullable: true + + field :seed_value, -> { CloudPDF::Types::DocSignaturesListResponseSignaturesItemSeedValue }, optional: false, nullable: true, api_name: "seedValue" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_list_response_signatures_item_coverage.rb b/lib/CloudPDF/types/doc_signatures_list_response_signatures_item_coverage.rb new file mode 100644 index 00000000..9a8b967a --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_list_response_signatures_item_coverage.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocSignaturesListResponseSignaturesItemCoverage + extend CloudPDF::Internal::Types::Enum + + WHOLE_REVISION = "whole-revision" + PARTIAL = "partial" + MALFORMED = "malformed" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_list_response_signatures_item_kind.rb b/lib/CloudPDF/types/doc_signatures_list_response_signatures_item_kind.rb new file mode 100644 index 00000000..700fa18d --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_list_response_signatures_item_kind.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocSignaturesListResponseSignaturesItemKind + extend CloudPDF::Internal::Types::Enum + + SIGNATURE = "signature" + TIMESTAMP = "timestamp" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_list_response_signatures_item_seed_value.rb b/lib/CloudPDF/types/doc_signatures_list_response_signatures_item_seed_value.rb new file mode 100644 index 00000000..bd8e9e04 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_list_response_signatures_item_seed_value.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesListResponseSignaturesItemSeedValue < Internal::Types::Model + field :parser_version, -> { Integer }, optional: false, nullable: true, api_name: "parserVersion" + + field :parser_version_required, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "parserVersionRequired" + + field :mdp, -> { Integer }, optional: false, nullable: true + + field :filter, -> { String }, optional: false, nullable: true + + field :filter_required, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "filterRequired" + + field :sub_filters, -> { Internal::Types::Array[String] }, optional: false, nullable: false, api_name: "subFilters" + + field :sub_filters_required, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "subFiltersRequired" + + field :digest_methods, -> { Internal::Types::Array[String] }, optional: false, nullable: false, api_name: "digestMethods" + + field :digest_methods_required, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "digestMethodsRequired" + + field :reasons, -> { Internal::Types::Array[String] }, optional: false, nullable: false + + field :reasons_required, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "reasonsRequired" + + field :unsupported_required, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "unsupportedRequired" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_list_response_signatures_item_signer.rb b/lib/CloudPDF/types/doc_signatures_list_response_signatures_item_signer.rb new file mode 100644 index 00000000..3efcc6ff --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_list_response_signatures_item_signer.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesListResponseSignaturesItemSigner < Internal::Types::Model + field :name, -> { String }, optional: false, nullable: true + + field :reason, -> { String }, optional: false, nullable: true + + field :location, -> { String }, optional: false, nullable: true + + field :contact_info, -> { String }, optional: false, nullable: true, api_name: "contactInfo" + + field :signed_at, -> { String }, optional: false, nullable: true, api_name: "signedAt" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_prepare200response.rb b/lib/CloudPDF/types/doc_signatures_prepare200response.rb deleted file mode 100644 index e61e73dd..00000000 --- a/lib/CloudPDF/types/doc_signatures_prepare200response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesPrepare200Response < Internal::Types::Model - field :signing_id, -> { String }, optional: false, nullable: false, api_name: "signingId" - - field :digest, -> { String }, optional: false, nullable: false - - field :algorithm, -> { CloudPDF::Types::DocSignaturesPrepare200ResponseAlgorithm }, optional: false, nullable: false - - field :byte_range, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "byteRange" - - field :contents_size, -> { Integer }, optional: false, nullable: false, api_name: "contentsSize" - - field :sub_filter, -> { String }, optional: false, nullable: false, api_name: "subFilter" - - field :expected_version, -> { CloudPDF::Types::DocSignaturesPrepare200ResponseExpectedVersion }, optional: false, nullable: false, api_name: "expectedVersion" - - field :expires_at, -> { String }, optional: false, nullable: true, api_name: "expiresAt" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_prepare200response_algorithm.rb b/lib/CloudPDF/types/doc_signatures_prepare200response_algorithm.rb deleted file mode 100644 index cb6ab56d..00000000 --- a/lib/CloudPDF/types/doc_signatures_prepare200response_algorithm.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesPrepare200ResponseAlgorithm - extend CloudPDF::Internal::Types::Enum - - SHA256 = "sha256" - SHA384 = "sha384" - SHA512 = "sha512" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_prepare200response_expected_version.rb b/lib/CloudPDF/types/doc_signatures_prepare200response_expected_version.rb deleted file mode 100644 index 7fe4ab48..00000000 --- a/lib/CloudPDF/types/doc_signatures_prepare200response_expected_version.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesPrepare200ResponseExpectedVersion < Internal::Types::Model - field :base_sha256, -> { String }, optional: false, nullable: false, api_name: "baseSha256" - - field :edits_version, -> { Integer }, optional: false, nullable: false, api_name: "editsVersion" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_prepare400response.rb b/lib/CloudPDF/types/doc_signatures_prepare400response.rb deleted file mode 100644 index 11241b09..00000000 --- a/lib/CloudPDF/types/doc_signatures_prepare400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesPrepare400Response - # DocSignaturesPrepare400Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_prepare404response.rb b/lib/CloudPDF/types/doc_signatures_prepare404response.rb deleted file mode 100644 index b3bbf2ac..00000000 --- a/lib/CloudPDF/types/doc_signatures_prepare404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesPrepare404Response - # DocSignaturesPrepare404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_prepare409response.rb b/lib/CloudPDF/types/doc_signatures_prepare409response.rb deleted file mode 100644 index e9da20b4..00000000 --- a/lib/CloudPDF/types/doc_signatures_prepare409response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesPrepare409Response - # DocSignaturesPrepare409Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_prepare_response.rb b/lib/CloudPDF/types/doc_signatures_prepare_response.rb new file mode 100644 index 00000000..9181c0a4 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_prepare_response.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesPrepareResponse < Internal::Types::Model + field :signing_id, -> { String }, optional: false, nullable: false, api_name: "signingId" + + field :digest, -> { String }, optional: false, nullable: false + + field :algorithm, -> { CloudPDF::Types::DocSignaturesPrepareResponseAlgorithm }, optional: false, nullable: false + + field :byte_range, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "byteRange" + + field :contents_size_bytes, -> { Integer }, optional: false, nullable: false, api_name: "contentsSizeBytes" + + field :sub_filter, -> { String }, optional: false, nullable: false, api_name: "subFilter" + + field :expected_version, -> { CloudPDF::Types::DocSignaturesPrepareResponseExpectedVersion }, optional: false, nullable: false, api_name: "expectedVersion" + + field :expires_at, -> { String }, optional: false, nullable: true, api_name: "expiresAt" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_prepare_response_algorithm.rb b/lib/CloudPDF/types/doc_signatures_prepare_response_algorithm.rb new file mode 100644 index 00000000..00bad8d0 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_prepare_response_algorithm.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocSignaturesPrepareResponseAlgorithm + extend CloudPDF::Internal::Types::Enum + + SHA256 = "sha256" + SHA384 = "sha384" + SHA512 = "sha512" + end + end +end diff --git a/lib/CloudPDF/types/doc_signatures_prepare_response_expected_version.rb b/lib/CloudPDF/types/doc_signatures_prepare_response_expected_version.rb new file mode 100644 index 00000000..a61add0f --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_prepare_response_expected_version.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocSignaturesPrepareResponseExpectedVersion < Internal::Types::Model + field :base_sha256, -> { String }, optional: false, nullable: false, api_name: "baseSha256" + + field :edits_version, -> { Integer }, optional: false, nullable: false, api_name: "editsVersion" + end + end +end diff --git a/lib/CloudPDF/types/doc_text200response.rb b/lib/CloudPDF/types/doc_text200response.rb deleted file mode 100644 index 2b8d091a..00000000 --- a/lib/CloudPDF/types/doc_text200response.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocText200Response < Internal::Types::Model - field :text, -> { String }, optional: false, nullable: false - - field :char_count, -> { Integer }, optional: false, nullable: false, api_name: "charCount" - - field :char_map, -> { Internal::Types::Array[Internal::Types::Array[Object]] }, optional: true, nullable: false, api_name: "charMap" - end - end -end diff --git a/lib/CloudPDF/types/doc_text404response.rb b/lib/CloudPDF/types/doc_text404response.rb deleted file mode 100644 index f76c80f3..00000000 --- a/lib/CloudPDF/types/doc_text404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocText404Response - # DocText404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_text_response.rb b/lib/CloudPDF/types/doc_text_response.rb new file mode 100644 index 00000000..e0b7df80 --- /dev/null +++ b/lib/CloudPDF/types/doc_text_response.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocTextResponse < Internal::Types::Model + field :text, -> { String }, optional: false, nullable: false + + field :char_count, -> { Integer }, optional: false, nullable: false, api_name: "charCount" + + field :char_map, -> { Internal::Types::Array[Internal::Types::Array[Object]] }, optional: true, nullable: false, api_name: "charMap" + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_analysis200response.rb b/lib/CloudPDF/types/doc_versions_analysis200response.rb deleted file mode 100644 index 97d56cf7..00000000 --- a/lib/CloudPDF/types/doc_versions_analysis200response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocVersionsAnalysis200Response < Internal::Types::Model - field :mode, -> { CloudPDF::Types::DocVersionsAnalysis200ResponseMode }, optional: false, nullable: false - - field :policy_version, -> { Integer }, optional: false, nullable: false, api_name: "policyVersion" - - field :basis, -> { CloudPDF::Types::DocVersionsAnalysis200ResponseBasis }, optional: false, nullable: false - - field :since, -> { CloudPDF::Types::DocVersionsAnalysis200ResponseSince }, optional: false, nullable: false - - field :until_, -> { CloudPDF::Types::DocVersionsAnalysis200ResponseUntil }, optional: false, nullable: false, api_name: "until" - - field :restrictions, -> { Internal::Types::Array[CloudPDF::Types::DocVersionsAnalysis200ResponseRestrictionsItem] }, optional: false, nullable: false - - field :current, -> { CloudPDF::Types::DocVersionsAnalysis200ResponseCurrent }, optional: false, nullable: false - - field :later, -> { CloudPDF::Types::DocVersionsAnalysis200ResponseLater }, optional: false, nullable: false - - field :verdict, -> { CloudPDF::Types::DocVersionsAnalysis200ResponseVerdict }, optional: false, nullable: false - - field :steps, -> { Internal::Types::Array[Object] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_analysis200response_basis.rb b/lib/CloudPDF/types/doc_versions_analysis200response_basis.rb deleted file mode 100644 index 9fd9ac86..00000000 --- a/lib/CloudPDF/types/doc_versions_analysis200response_basis.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocVersionsAnalysis200ResponseBasis < Internal::Types::Model - field :version, -> { CloudPDF::Types::DocVersionsAnalysis200ResponseBasisVersion }, optional: false, nullable: false - - field :edits_version, -> { Integer }, optional: false, nullable: false, api_name: "editsVersion" - - field :source, -> { CloudPDF::Types::DocVersionsAnalysis200ResponseBasisSource }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_analysis200response_basis_source.rb b/lib/CloudPDF/types/doc_versions_analysis200response_basis_source.rb deleted file mode 100644 index 53eda11a..00000000 --- a/lib/CloudPDF/types/doc_versions_analysis200response_basis_source.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsAnalysis200ResponseBasisSource - extend CloudPDF::Internal::Types::Enum - - PERSISTED = "persisted" - WORKING_COPY = "working-copy" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_analysis200response_basis_version.rb b/lib/CloudPDF/types/doc_versions_analysis200response_basis_version.rb deleted file mode 100644 index 4abe7d47..00000000 --- a/lib/CloudPDF/types/doc_versions_analysis200response_basis_version.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocVersionsAnalysis200ResponseBasisVersion < Internal::Types::Model - field :sha256, -> { String }, optional: false, nullable: false - - field :byte_length, -> { Integer }, optional: false, nullable: false, api_name: "byteLength" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_analysis200response_current.rb b/lib/CloudPDF/types/doc_versions_analysis200response_current.rb deleted file mode 100644 index febbc8c4..00000000 --- a/lib/CloudPDF/types/doc_versions_analysis200response_current.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocVersionsAnalysis200ResponseCurrent < Internal::Types::Model - field :verdict, -> { CloudPDF::Types::DocVersionsAnalysis200ResponseCurrentVerdict }, optional: false, nullable: false - - field :complete, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :primary, -> { CloudPDF::Types::DocVersionsAnalysis200ResponseCurrentPrimary }, optional: true, nullable: false - - field :findings, -> { Internal::Types::Array[CloudPDF::Types::DocVersionsAnalysis200ResponseCurrentFindingsItem] }, optional: false, nullable: false - - field :method_, -> { CloudPDF::Types::DocVersionsAnalysis200ResponseCurrentMethod }, optional: false, nullable: false, api_name: "method" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_analysis200response_current_findings_item.rb b/lib/CloudPDF/types/doc_versions_analysis200response_current_findings_item.rb deleted file mode 100644 index f4e96061..00000000 --- a/lib/CloudPDF/types/doc_versions_analysis200response_current_findings_item.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocVersionsAnalysis200ResponseCurrentFindingsItem < Internal::Types::Model - field :rule, -> { String }, optional: false, nullable: false - - field :verdict, -> { CloudPDF::Types::DocVersionsAnalysis200ResponseCurrentFindingsItemVerdict }, optional: false, nullable: false - - field :object_number, -> { Integer }, optional: false, nullable: false, api_name: "objectNumber" - - field :edge, -> { String }, optional: true, nullable: false - - field :detail, -> { String }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_analysis200response_current_findings_item_verdict.rb b/lib/CloudPDF/types/doc_versions_analysis200response_current_findings_item_verdict.rb deleted file mode 100644 index 47c4831c..00000000 --- a/lib/CloudPDF/types/doc_versions_analysis200response_current_findings_item_verdict.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsAnalysis200ResponseCurrentFindingsItemVerdict - extend CloudPDF::Internal::Types::Enum - - PERMITTED = "permitted" - FORBIDDEN = "forbidden" - INCOMPLETE = "incomplete" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_analysis200response_current_method.rb b/lib/CloudPDF/types/doc_versions_analysis200response_current_method.rb deleted file mode 100644 index 0abf1ac3..00000000 --- a/lib/CloudPDF/types/doc_versions_analysis200response_current_method.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsAnalysis200ResponseCurrentMethod - extend CloudPDF::Internal::Types::Enum - - NET_STATE = "net-state" - NET_STATE_REPLAY = "net-state+replay" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_analysis200response_current_primary.rb b/lib/CloudPDF/types/doc_versions_analysis200response_current_primary.rb deleted file mode 100644 index e1b34d35..00000000 --- a/lib/CloudPDF/types/doc_versions_analysis200response_current_primary.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocVersionsAnalysis200ResponseCurrentPrimary < Internal::Types::Model - field :rule, -> { String }, optional: false, nullable: false - - field :verdict, -> { CloudPDF::Types::DocVersionsAnalysis200ResponseCurrentPrimaryVerdict }, optional: false, nullable: false - - field :object_number, -> { Integer }, optional: false, nullable: false, api_name: "objectNumber" - - field :edge, -> { String }, optional: true, nullable: false - - field :detail, -> { String }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_analysis200response_current_primary_verdict.rb b/lib/CloudPDF/types/doc_versions_analysis200response_current_primary_verdict.rb deleted file mode 100644 index 4c42dc4f..00000000 --- a/lib/CloudPDF/types/doc_versions_analysis200response_current_primary_verdict.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsAnalysis200ResponseCurrentPrimaryVerdict - extend CloudPDF::Internal::Types::Enum - - PERMITTED = "permitted" - FORBIDDEN = "forbidden" - INCOMPLETE = "incomplete" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_analysis200response_current_verdict.rb b/lib/CloudPDF/types/doc_versions_analysis200response_current_verdict.rb deleted file mode 100644 index 0c666dbf..00000000 --- a/lib/CloudPDF/types/doc_versions_analysis200response_current_verdict.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsAnalysis200ResponseCurrentVerdict - extend CloudPDF::Internal::Types::Enum - - UNCHANGED = "unchanged" - PERMITTED = "permitted" - FORBIDDEN = "forbidden" - INDETERMINATE = "indeterminate" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_analysis200response_later.rb b/lib/CloudPDF/types/doc_versions_analysis200response_later.rb deleted file mode 100644 index 58598a85..00000000 --- a/lib/CloudPDF/types/doc_versions_analysis200response_later.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocVersionsAnalysis200ResponseLater < Internal::Types::Model - field :revision_count, -> { Integer }, optional: false, nullable: false, api_name: "revisionCount" - - field :undone_object_numbers, -> { Internal::Types::Array[Integer] }, optional: false, nullable: false, api_name: "undoneObjectNumbers" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_analysis200response_mode.rb b/lib/CloudPDF/types/doc_versions_analysis200response_mode.rb deleted file mode 100644 index 1d0b7075..00000000 --- a/lib/CloudPDF/types/doc_versions_analysis200response_mode.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsAnalysis200ResponseMode - extend CloudPDF::Internal::Types::Enum - - AUTHORITATIVE = "authoritative" - EXPLORATORY = "exploratory" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_analysis200response_restrictions_item.rb b/lib/CloudPDF/types/doc_versions_analysis200response_restrictions_item.rb deleted file mode 100644 index 994b3abf..00000000 --- a/lib/CloudPDF/types/doc_versions_analysis200response_restrictions_item.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocVersionsAnalysis200ResponseRestrictionsItem < Internal::Types::Model - field :signature_index, -> { Integer }, optional: false, nullable: false, api_name: "signatureIndex" - - field :revision_index, -> { Integer }, optional: false, nullable: false, api_name: "revisionIndex" - - field :source, -> { CloudPDF::Types::DocVersionsAnalysis200ResponseRestrictionsItemSource }, optional: false, nullable: false - - field :own, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :permission, -> { Integer }, optional: true, nullable: false - - field :fields, -> { Object }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_analysis200response_restrictions_item_source.rb b/lib/CloudPDF/types/doc_versions_analysis200response_restrictions_item_source.rb deleted file mode 100644 index 2d3bf990..00000000 --- a/lib/CloudPDF/types/doc_versions_analysis200response_restrictions_item_source.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsAnalysis200ResponseRestrictionsItemSource - extend CloudPDF::Internal::Types::Enum - - DOCMDP = "docmdp" - FIELDMDP = "fieldmdp" - LOCK = "lock" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_analysis200response_since.rb b/lib/CloudPDF/types/doc_versions_analysis200response_since.rb deleted file mode 100644 index 86e17193..00000000 --- a/lib/CloudPDF/types/doc_versions_analysis200response_since.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocVersionsAnalysis200ResponseSince < Internal::Types::Model - field :revision_index, -> { Integer }, optional: false, nullable: false, api_name: "revisionIndex" - - field :signature_index, -> { Integer }, optional: false, nullable: true, api_name: "signatureIndex" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_analysis200response_until.rb b/lib/CloudPDF/types/doc_versions_analysis200response_until.rb deleted file mode 100644 index 9ffd7f77..00000000 --- a/lib/CloudPDF/types/doc_versions_analysis200response_until.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocVersionsAnalysis200ResponseUntil < Internal::Types::Model - field :revision_index, -> { Integer }, optional: false, nullable: false, api_name: "revisionIndex" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_analysis200response_verdict.rb b/lib/CloudPDF/types/doc_versions_analysis200response_verdict.rb deleted file mode 100644 index 1e4771ef..00000000 --- a/lib/CloudPDF/types/doc_versions_analysis200response_verdict.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsAnalysis200ResponseVerdict - extend CloudPDF::Internal::Types::Enum - - UNCHANGED = "unchanged" - PERMITTED = "permitted" - FORBIDDEN = "forbidden" - INDETERMINATE = "indeterminate" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_analysis400response.rb b/lib/CloudPDF/types/doc_versions_analysis400response.rb deleted file mode 100644 index 59aa0ea0..00000000 --- a/lib/CloudPDF/types/doc_versions_analysis400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsAnalysis400Response - # DocVersionsAnalysis400Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_analysis404response.rb b/lib/CloudPDF/types/doc_versions_analysis404response.rb deleted file mode 100644 index 60f61a0c..00000000 --- a/lib/CloudPDF/types/doc_versions_analysis404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsAnalysis404Response - # DocVersionsAnalysis404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_analysis_response.rb b/lib/CloudPDF/types/doc_versions_analysis_response.rb new file mode 100644 index 00000000..1625d0e5 --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_analysis_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocVersionsAnalysisResponse < Internal::Types::Model + field :mode, -> { CloudPDF::Types::DocVersionsAnalysisResponseMode }, optional: false, nullable: false + + field :policy_version, -> { Integer }, optional: false, nullable: false, api_name: "policyVersion" + + field :basis, -> { CloudPDF::Types::DocVersionsAnalysisResponseBasis }, optional: false, nullable: false + + field :since, -> { CloudPDF::Types::DocVersionsAnalysisResponseSince }, optional: false, nullable: false + + field :until_, -> { CloudPDF::Types::DocVersionsAnalysisResponseUntil }, optional: false, nullable: false, api_name: "until" + + field :restrictions, -> { Internal::Types::Array[CloudPDF::Types::DocVersionsAnalysisResponseRestrictionsItem] }, optional: false, nullable: false + + field :current, -> { CloudPDF::Types::DocVersionsAnalysisResponseCurrent }, optional: false, nullable: false + + field :later, -> { CloudPDF::Types::DocVersionsAnalysisResponseLater }, optional: false, nullable: false + + field :verdict, -> { CloudPDF::Types::DocVersionsAnalysisResponseVerdict }, optional: false, nullable: false + + field :steps, -> { Internal::Types::Array[Object] }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_analysis_response_basis.rb b/lib/CloudPDF/types/doc_versions_analysis_response_basis.rb new file mode 100644 index 00000000..b5b952b9 --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_analysis_response_basis.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocVersionsAnalysisResponseBasis < Internal::Types::Model + field :version, -> { CloudPDF::Types::DocVersionsAnalysisResponseBasisVersion }, optional: false, nullable: false + + field :edits_version, -> { Integer }, optional: false, nullable: false, api_name: "editsVersion" + + field :source, -> { CloudPDF::Types::DocVersionsAnalysisResponseBasisSource }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_analysis_response_basis_source.rb b/lib/CloudPDF/types/doc_versions_analysis_response_basis_source.rb new file mode 100644 index 00000000..f6fc806d --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_analysis_response_basis_source.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocVersionsAnalysisResponseBasisSource + extend CloudPDF::Internal::Types::Enum + + PERSISTED = "persisted" + WORKING_COPY = "working-copy" + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_analysis_response_basis_version.rb b/lib/CloudPDF/types/doc_versions_analysis_response_basis_version.rb new file mode 100644 index 00000000..a8169d45 --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_analysis_response_basis_version.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocVersionsAnalysisResponseBasisVersion < Internal::Types::Model + field :sha256, -> { String }, optional: false, nullable: false + + field :size_bytes, -> { Integer }, optional: false, nullable: false, api_name: "sizeBytes" + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_analysis_response_current.rb b/lib/CloudPDF/types/doc_versions_analysis_response_current.rb new file mode 100644 index 00000000..6fc39090 --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_analysis_response_current.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocVersionsAnalysisResponseCurrent < Internal::Types::Model + field :verdict, -> { CloudPDF::Types::DocVersionsAnalysisResponseCurrentVerdict }, optional: false, nullable: false + + field :complete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :primary, -> { CloudPDF::Types::DocVersionsAnalysisResponseCurrentPrimary }, optional: true, nullable: false + + field :findings, -> { Internal::Types::Array[CloudPDF::Types::DocVersionsAnalysisResponseCurrentFindingsItem] }, optional: false, nullable: false + + field :method_, -> { CloudPDF::Types::DocVersionsAnalysisResponseCurrentMethod }, optional: false, nullable: false, api_name: "method" + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_analysis_response_current_findings_item.rb b/lib/CloudPDF/types/doc_versions_analysis_response_current_findings_item.rb new file mode 100644 index 00000000..7f099c85 --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_analysis_response_current_findings_item.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocVersionsAnalysisResponseCurrentFindingsItem < Internal::Types::Model + field :rule, -> { String }, optional: false, nullable: false + + field :verdict, -> { CloudPDF::Types::DocVersionsAnalysisResponseCurrentFindingsItemVerdict }, optional: false, nullable: false + + field :object_number, -> { Integer }, optional: false, nullable: false, api_name: "objectNumber" + + field :edge, -> { String }, optional: true, nullable: false + + field :detail, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_analysis_response_current_findings_item_verdict.rb b/lib/CloudPDF/types/doc_versions_analysis_response_current_findings_item_verdict.rb new file mode 100644 index 00000000..31cad917 --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_analysis_response_current_findings_item_verdict.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocVersionsAnalysisResponseCurrentFindingsItemVerdict + extend CloudPDF::Internal::Types::Enum + + PERMITTED = "permitted" + FORBIDDEN = "forbidden" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_analysis_response_current_method.rb b/lib/CloudPDF/types/doc_versions_analysis_response_current_method.rb new file mode 100644 index 00000000..c95ea2dd --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_analysis_response_current_method.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocVersionsAnalysisResponseCurrentMethod + extend CloudPDF::Internal::Types::Enum + + NET_STATE = "net-state" + NET_STATE_REPLAY = "net-state+replay" + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_analysis_response_current_primary.rb b/lib/CloudPDF/types/doc_versions_analysis_response_current_primary.rb new file mode 100644 index 00000000..eb673c26 --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_analysis_response_current_primary.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocVersionsAnalysisResponseCurrentPrimary < Internal::Types::Model + field :rule, -> { String }, optional: false, nullable: false + + field :verdict, -> { CloudPDF::Types::DocVersionsAnalysisResponseCurrentPrimaryVerdict }, optional: false, nullable: false + + field :object_number, -> { Integer }, optional: false, nullable: false, api_name: "objectNumber" + + field :edge, -> { String }, optional: true, nullable: false + + field :detail, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_analysis_response_current_primary_verdict.rb b/lib/CloudPDF/types/doc_versions_analysis_response_current_primary_verdict.rb new file mode 100644 index 00000000..a2e0ca18 --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_analysis_response_current_primary_verdict.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocVersionsAnalysisResponseCurrentPrimaryVerdict + extend CloudPDF::Internal::Types::Enum + + PERMITTED = "permitted" + FORBIDDEN = "forbidden" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_analysis_response_current_verdict.rb b/lib/CloudPDF/types/doc_versions_analysis_response_current_verdict.rb new file mode 100644 index 00000000..e4e43199 --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_analysis_response_current_verdict.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocVersionsAnalysisResponseCurrentVerdict + extend CloudPDF::Internal::Types::Enum + + UNCHANGED = "unchanged" + PERMITTED = "permitted" + FORBIDDEN = "forbidden" + INDETERMINATE = "indeterminate" + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_analysis_response_later.rb b/lib/CloudPDF/types/doc_versions_analysis_response_later.rb new file mode 100644 index 00000000..2c972f37 --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_analysis_response_later.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocVersionsAnalysisResponseLater < Internal::Types::Model + field :revision_count, -> { Integer }, optional: false, nullable: false, api_name: "revisionCount" + + field :undone_object_numbers, -> { Internal::Types::Array[Integer] }, optional: false, nullable: false, api_name: "undoneObjectNumbers" + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_analysis_response_mode.rb b/lib/CloudPDF/types/doc_versions_analysis_response_mode.rb new file mode 100644 index 00000000..406edd73 --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_analysis_response_mode.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocVersionsAnalysisResponseMode + extend CloudPDF::Internal::Types::Enum + + AUTHORITATIVE = "authoritative" + EXPLORATORY = "exploratory" + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_analysis_response_restrictions_item.rb b/lib/CloudPDF/types/doc_versions_analysis_response_restrictions_item.rb new file mode 100644 index 00000000..1863d9c8 --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_analysis_response_restrictions_item.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocVersionsAnalysisResponseRestrictionsItem < Internal::Types::Model + field :signature_index, -> { Integer }, optional: false, nullable: false, api_name: "signatureIndex" + + field :revision_index, -> { Integer }, optional: false, nullable: false, api_name: "revisionIndex" + + field :source, -> { CloudPDF::Types::DocVersionsAnalysisResponseRestrictionsItemSource }, optional: false, nullable: false + + field :own, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :permission, -> { Integer }, optional: true, nullable: false + + field :fields, -> { Object }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_analysis_response_restrictions_item_source.rb b/lib/CloudPDF/types/doc_versions_analysis_response_restrictions_item_source.rb new file mode 100644 index 00000000..fe7a8030 --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_analysis_response_restrictions_item_source.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocVersionsAnalysisResponseRestrictionsItemSource + extend CloudPDF::Internal::Types::Enum + + DOCMDP = "docmdp" + FIELDMDP = "fieldmdp" + LOCK = "lock" + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_analysis_response_since.rb b/lib/CloudPDF/types/doc_versions_analysis_response_since.rb new file mode 100644 index 00000000..ddd1b23f --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_analysis_response_since.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocVersionsAnalysisResponseSince < Internal::Types::Model + field :revision_index, -> { Integer }, optional: false, nullable: false, api_name: "revisionIndex" + + field :signature_index, -> { Integer }, optional: false, nullable: true, api_name: "signatureIndex" + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_analysis_response_until.rb b/lib/CloudPDF/types/doc_versions_analysis_response_until.rb new file mode 100644 index 00000000..482429cb --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_analysis_response_until.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocVersionsAnalysisResponseUntil < Internal::Types::Model + field :revision_index, -> { Integer }, optional: false, nullable: false, api_name: "revisionIndex" + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_analysis_response_verdict.rb b/lib/CloudPDF/types/doc_versions_analysis_response_verdict.rb new file mode 100644 index 00000000..c860ccc5 --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_analysis_response_verdict.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocVersionsAnalysisResponseVerdict + extend CloudPDF::Internal::Types::Enum + + UNCHANGED = "unchanged" + PERMITTED = "permitted" + FORBIDDEN = "forbidden" + INDETERMINATE = "indeterminate" + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_download_response.rb b/lib/CloudPDF/types/doc_versions_download_response.rb deleted file mode 100644 index 45ae0ec4..00000000 --- a/lib/CloudPDF/types/doc_versions_download_response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsDownloadResponse - # DocVersionsDownloadResponse is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_list200response.rb b/lib/CloudPDF/types/doc_versions_list200response.rb deleted file mode 100644 index 4669a77a..00000000 --- a/lib/CloudPDF/types/doc_versions_list200response.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocVersionsList200Response < Internal::Types::Model - field :base_sha, -> { String }, optional: false, nullable: false, api_name: "baseSha" - - field :versions, -> { Internal::Types::Array[CloudPDF::Types::DocVersionsList200ResponseVersionsItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_list200response_versions_item.rb b/lib/CloudPDF/types/doc_versions_list200response_versions_item.rb deleted file mode 100644 index 981af396..00000000 --- a/lib/CloudPDF/types/doc_versions_list200response_versions_item.rb +++ /dev/null @@ -1,21 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocVersionsList200ResponseVersionsItem < Internal::Types::Model - field :sha256, -> { String }, optional: false, nullable: false - - field :byte_length, -> { Integer }, optional: false, nullable: false, api_name: "byteLength" - - field :number, -> { Integer }, optional: false, nullable: false - - field :parent_sha256, -> { String }, optional: false, nullable: true, api_name: "parentSha256" - - field :producer, -> { CloudPDF::Types::DocVersionsList200ResponseVersionsItemProducer }, optional: false, nullable: false - - field :signing_id, -> { String }, optional: false, nullable: true, api_name: "signingId" - - field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_list200response_versions_item_producer.rb b/lib/CloudPDF/types/doc_versions_list200response_versions_item_producer.rb deleted file mode 100644 index 398e774f..00000000 --- a/lib/CloudPDF/types/doc_versions_list200response_versions_item_producer.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsList200ResponseVersionsItemProducer - extend CloudPDF::Internal::Types::Enum - - UPLOAD = "upload" - SIGNATURE = "signature" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_list404response.rb b/lib/CloudPDF/types/doc_versions_list404response.rb deleted file mode 100644 index 9e64d0e2..00000000 --- a/lib/CloudPDF/types/doc_versions_list404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsList404Response - # DocVersionsList404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_list_response.rb b/lib/CloudPDF/types/doc_versions_list_response.rb new file mode 100644 index 00000000..e4d290ac --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_list_response.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocVersionsListResponse < Internal::Types::Model + field :base_sha256, -> { String }, optional: false, nullable: false, api_name: "baseSha256" + + field :versions, -> { Internal::Types::Array[CloudPDF::Types::DocVersionsListResponseVersionsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_list_response_versions_item.rb b/lib/CloudPDF/types/doc_versions_list_response_versions_item.rb new file mode 100644 index 00000000..715e60e7 --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_list_response_versions_item.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocVersionsListResponseVersionsItem < Internal::Types::Model + field :sha256, -> { String }, optional: false, nullable: false + + field :size_bytes, -> { Integer }, optional: false, nullable: false, api_name: "sizeBytes" + + field :number, -> { Integer }, optional: false, nullable: false + + field :parent_sha256, -> { String }, optional: false, nullable: true, api_name: "parentSha256" + + field :producer, -> { CloudPDF::Types::DocVersionsListResponseVersionsItemProducer }, optional: false, nullable: false + + field :signing_id, -> { String }, optional: false, nullable: true, api_name: "signingId" + + field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt" + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_list_response_versions_item_producer.rb b/lib/CloudPDF/types/doc_versions_list_response_versions_item_producer.rb new file mode 100644 index 00000000..e3769f29 --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_list_response_versions_item_producer.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocVersionsListResponseVersionsItemProducer + extend CloudPDF::Internal::Types::Enum + + UPLOAD = "upload" + SIGNATURE = "signature" + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_revision_response.rb b/lib/CloudPDF/types/doc_versions_revision_response.rb deleted file mode 100644 index c408df5a..00000000 --- a/lib/CloudPDF/types/doc_versions_revision_response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsRevisionResponse - # DocVersionsRevisionResponse is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signature_contents_response.rb b/lib/CloudPDF/types/doc_versions_signature_contents_response.rb deleted file mode 100644 index 983f22c9..00000000 --- a/lib/CloudPDF/types/doc_versions_signature_contents_response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsSignatureContentsResponse - # DocVersionsSignatureContentsResponse is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signature_digest_response.rb b/lib/CloudPDF/types/doc_versions_signature_digest_response.rb deleted file mode 100644 index dcabef01..00000000 --- a/lib/CloudPDF/types/doc_versions_signature_digest_response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsSignatureDigestResponse - # DocVersionsSignatureDigestResponse is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signatures200response.rb b/lib/CloudPDF/types/doc_versions_signatures200response.rb deleted file mode 100644 index 967941b6..00000000 --- a/lib/CloudPDF/types/doc_versions_signatures200response.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocVersionsSignatures200Response < Internal::Types::Model - field :chain_valid, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "chainValid" - - field :revisions, -> { Internal::Types::Array[CloudPDF::Types::DocVersionsSignatures200ResponseRevisionsItem] }, optional: false, nullable: false - - field :signatures, -> { Internal::Types::Array[CloudPDF::Types::DocVersionsSignatures200ResponseSignaturesItem] }, optional: false, nullable: false - - field :protection, -> { CloudPDF::Types::DocVersionsSignatures200ResponseProtection }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signatures200response_protection.rb b/lib/CloudPDF/types/doc_versions_signatures200response_protection.rb deleted file mode 100644 index b026142b..00000000 --- a/lib/CloudPDF/types/doc_versions_signatures200response_protection.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocVersionsSignatures200ResponseProtection < Internal::Types::Model - field :enforced, -> { CloudPDF::Types::DocVersionsSignatures200ResponseProtectionEnforced }, optional: false, nullable: true - - field :judged, -> { CloudPDF::Types::DocVersionsSignatures200ResponseProtectionJudged }, optional: false, nullable: true - - field :certification, -> { CloudPDF::Types::DocVersionsSignatures200ResponseProtectionCertification }, optional: false, nullable: true - - field :field_locks, -> { Internal::Types::Array[CloudPDF::Types::DocVersionsSignatures200ResponseProtectionFieldLocksItem] }, optional: false, nullable: false, api_name: "fieldLocks" - - field :policy_version, -> { Integer }, optional: false, nullable: false, api_name: "policyVersion" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signatures200response_protection_certification.rb b/lib/CloudPDF/types/doc_versions_signatures200response_protection_certification.rb deleted file mode 100644 index d21cf81e..00000000 --- a/lib/CloudPDF/types/doc_versions_signatures200response_protection_certification.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocVersionsSignatures200ResponseProtectionCertification < Internal::Types::Model - field :signature_index, -> { Integer }, optional: false, nullable: false, api_name: "signatureIndex" - - field :permission, -> { Integer }, optional: false, nullable: true - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signatures200response_protection_enforced.rb b/lib/CloudPDF/types/doc_versions_signatures200response_protection_enforced.rb deleted file mode 100644 index 6d32297c..00000000 --- a/lib/CloudPDF/types/doc_versions_signatures200response_protection_enforced.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsSignatures200ResponseProtectionEnforced - extend CloudPDF::Internal::Types::Enum - - NONE = "none" - LTA = "lta" - FILL = "fill" - ANNOTATE = "annotate" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signatures200response_protection_field_locks_item.rb b/lib/CloudPDF/types/doc_versions_signatures200response_protection_field_locks_item.rb deleted file mode 100644 index 23eb6510..00000000 --- a/lib/CloudPDF/types/doc_versions_signatures200response_protection_field_locks_item.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocVersionsSignatures200ResponseProtectionFieldLocksItem < Internal::Types::Model - field :signature_index, -> { Integer }, optional: false, nullable: false, api_name: "signatureIndex" - - field :source, -> { CloudPDF::Types::DocVersionsSignatures200ResponseProtectionFieldLocksItemSource }, optional: false, nullable: false - - field :spec, -> { CloudPDF::Types::DocVersionsSignatures200ResponseProtectionFieldLocksItemSpec }, optional: false, nullable: true - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signatures200response_protection_field_locks_item_source.rb b/lib/CloudPDF/types/doc_versions_signatures200response_protection_field_locks_item_source.rb deleted file mode 100644 index 84febc6e..00000000 --- a/lib/CloudPDF/types/doc_versions_signatures200response_protection_field_locks_item_source.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsSignatures200ResponseProtectionFieldLocksItemSource - extend CloudPDF::Internal::Types::Enum - - FIELDMDP = "fieldmdp" - LOCK = "lock" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signatures200response_protection_field_locks_item_spec.rb b/lib/CloudPDF/types/doc_versions_signatures200response_protection_field_locks_item_spec.rb deleted file mode 100644 index 7ea98503..00000000 --- a/lib/CloudPDF/types/doc_versions_signatures200response_protection_field_locks_item_spec.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocVersionsSignatures200ResponseProtectionFieldLocksItemSpec < Internal::Types::Model - field :action, -> { CloudPDF::Types::DocVersionsSignatures200ResponseProtectionFieldLocksItemSpecAction }, optional: false, nullable: false - - field :fields, -> { Internal::Types::Array[String] }, optional: false, nullable: false - - field :permission, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signatures200response_protection_field_locks_item_spec_action.rb b/lib/CloudPDF/types/doc_versions_signatures200response_protection_field_locks_item_spec_action.rb deleted file mode 100644 index 8d042e86..00000000 --- a/lib/CloudPDF/types/doc_versions_signatures200response_protection_field_locks_item_spec_action.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsSignatures200ResponseProtectionFieldLocksItemSpecAction - extend CloudPDF::Internal::Types::Enum - - ALL = "all" - INCLUDE = "include" - EXCLUDE = "exclude" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signatures200response_protection_judged.rb b/lib/CloudPDF/types/doc_versions_signatures200response_protection_judged.rb deleted file mode 100644 index 08459279..00000000 --- a/lib/CloudPDF/types/doc_versions_signatures200response_protection_judged.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsSignatures200ResponseProtectionJudged - extend CloudPDF::Internal::Types::Enum - - NONE = "none" - LTA = "lta" - FILL = "fill" - ANNOTATE = "annotate" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signatures200response_revisions_item.rb b/lib/CloudPDF/types/doc_versions_signatures200response_revisions_item.rb deleted file mode 100644 index fbe78277..00000000 --- a/lib/CloudPDF/types/doc_versions_signatures200response_revisions_item.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocVersionsSignatures200ResponseRevisionsItem < Internal::Types::Model - field :index, -> { Integer }, optional: false, nullable: false - - field :end_, -> { Integer }, optional: false, nullable: false, api_name: "end" - - field :xref_offset, -> { Integer }, optional: false, nullable: false, api_name: "xrefOffset" - - field :signature_index, -> { Integer }, optional: false, nullable: true, api_name: "signatureIndex" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item.rb b/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item.rb deleted file mode 100644 index dcdfc3fd..00000000 --- a/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item.rb +++ /dev/null @@ -1,43 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocVersionsSignatures200ResponseSignaturesItem < Internal::Types::Model - field :index, -> { Integer }, optional: false, nullable: false - - field :field, -> { CloudPDF::Types::FormFieldRef }, optional: false, nullable: false - - field :field_name, -> { String }, optional: false, nullable: false, api_name: "fieldName" - - field :widget, -> { CloudPDF::Types::FormWidget }, optional: false, nullable: true - - field :signed, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :kind, -> { CloudPDF::Types::DocVersionsSignatures200ResponseSignaturesItemKind }, optional: false, nullable: false - - field :filter, -> { String }, optional: false, nullable: true - - field :sub_filter, -> { String }, optional: false, nullable: true, api_name: "subFilter" - - field :byte_range, -> { Internal::Types::Array[Object] }, optional: false, nullable: true, api_name: "byteRange" - - field :contents_size, -> { Integer }, optional: false, nullable: false, api_name: "contentsSize" - - field :coverage, -> { CloudPDF::Types::DocVersionsSignatures200ResponseSignaturesItemCoverage }, optional: false, nullable: true - - field :revision_index, -> { Integer }, optional: false, nullable: true, api_name: "revisionIndex" - - field :signer, -> { CloudPDF::Types::DocVersionsSignatures200ResponseSignaturesItemSigner }, optional: false, nullable: false - - field :doc_mdp, -> { Integer }, optional: false, nullable: true, api_name: "docMdp" - - field :catalog_certification, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "catalogCertification" - - field :field_mdp, -> { CloudPDF::Types::DocVersionsSignatures200ResponseSignaturesItemFieldMdp }, optional: false, nullable: true, api_name: "fieldMdp" - - field :lock, -> { CloudPDF::Types::DocVersionsSignatures200ResponseSignaturesItemLock }, optional: false, nullable: true - - field :seed_value, -> { CloudPDF::Types::DocVersionsSignatures200ResponseSignaturesItemSeedValue }, optional: false, nullable: true, api_name: "seedValue" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_coverage.rb b/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_coverage.rb deleted file mode 100644 index 0f51205a..00000000 --- a/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_coverage.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsSignatures200ResponseSignaturesItemCoverage - extend CloudPDF::Internal::Types::Enum - - WHOLE_REVISION = "whole-revision" - PARTIAL = "partial" - MALFORMED = "malformed" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_field_mdp.rb b/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_field_mdp.rb deleted file mode 100644 index 3bd1b22e..00000000 --- a/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_field_mdp.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocVersionsSignatures200ResponseSignaturesItemFieldMdp < Internal::Types::Model - field :action, -> { CloudPDF::Types::DocVersionsSignatures200ResponseSignaturesItemFieldMdpAction }, optional: false, nullable: false - - field :fields, -> { Internal::Types::Array[String] }, optional: false, nullable: false - - field :permission, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_field_mdp_action.rb b/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_field_mdp_action.rb deleted file mode 100644 index 67166d18..00000000 --- a/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_field_mdp_action.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsSignatures200ResponseSignaturesItemFieldMdpAction - extend CloudPDF::Internal::Types::Enum - - ALL = "all" - INCLUDE = "include" - EXCLUDE = "exclude" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_kind.rb b/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_kind.rb deleted file mode 100644 index 9577e178..00000000 --- a/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_kind.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsSignatures200ResponseSignaturesItemKind - extend CloudPDF::Internal::Types::Enum - - SIGNATURE = "signature" - TIMESTAMP = "timestamp" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_lock.rb b/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_lock.rb deleted file mode 100644 index d5122859..00000000 --- a/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_lock.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocVersionsSignatures200ResponseSignaturesItemLock < Internal::Types::Model - field :action, -> { CloudPDF::Types::DocVersionsSignatures200ResponseSignaturesItemLockAction }, optional: false, nullable: false - - field :fields, -> { Internal::Types::Array[String] }, optional: false, nullable: false - - field :permission, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_lock_action.rb b/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_lock_action.rb deleted file mode 100644 index 10849804..00000000 --- a/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_lock_action.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsSignatures200ResponseSignaturesItemLockAction - extend CloudPDF::Internal::Types::Enum - - ALL = "all" - INCLUDE = "include" - EXCLUDE = "exclude" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_seed_value.rb b/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_seed_value.rb deleted file mode 100644 index 02d08053..00000000 --- a/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_seed_value.rb +++ /dev/null @@ -1,25 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocVersionsSignatures200ResponseSignaturesItemSeedValue < Internal::Types::Model - field :required_flags, -> { Integer }, optional: false, nullable: false, api_name: "requiredFlags" - - field :present_flags, -> { Integer }, optional: false, nullable: false, api_name: "presentFlags" - - field :version, -> { Integer }, optional: false, nullable: true - - field :mdp, -> { Integer }, optional: false, nullable: true - - field :filter, -> { String }, optional: false, nullable: true - - field :sub_filters, -> { Internal::Types::Array[String] }, optional: false, nullable: false, api_name: "subFilters" - - field :digest_methods, -> { Internal::Types::Array[String] }, optional: false, nullable: false, api_name: "digestMethods" - - field :reasons, -> { Internal::Types::Array[String] }, optional: false, nullable: false - - field :unsupported_required, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "unsupportedRequired" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_signer.rb b/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_signer.rb deleted file mode 100644 index 169964d6..00000000 --- a/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_signer.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocVersionsSignatures200ResponseSignaturesItemSigner < Internal::Types::Model - field :name, -> { String }, optional: false, nullable: true - - field :reason, -> { String }, optional: false, nullable: true - - field :location, -> { String }, optional: false, nullable: true - - field :contact_info, -> { String }, optional: false, nullable: true, api_name: "contactInfo" - - field :signed_at, -> { String }, optional: false, nullable: true, api_name: "signedAt" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signatures404response.rb b/lib/CloudPDF/types/doc_versions_signatures404response.rb deleted file mode 100644 index 4943863c..00000000 --- a/lib/CloudPDF/types/doc_versions_signatures404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsSignatures404Response - # DocVersionsSignatures404Response is an alias for EngineErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signatures_response.rb b/lib/CloudPDF/types/doc_versions_signatures_response.rb new file mode 100644 index 00000000..c023cb98 --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_signatures_response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocVersionsSignaturesResponse < Internal::Types::Model + field :chain_valid, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "chainValid" + + field :revisions, -> { Internal::Types::Array[CloudPDF::Types::DocVersionsSignaturesResponseRevisionsItem] }, optional: false, nullable: false + + field :signatures, -> { Internal::Types::Array[CloudPDF::Types::DocVersionsSignaturesResponseSignaturesItem] }, optional: false, nullable: false + + field :protection, -> { CloudPDF::Types::DocVersionsSignaturesResponseProtection }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_signatures_response_protection.rb b/lib/CloudPDF/types/doc_versions_signatures_response_protection.rb new file mode 100644 index 00000000..9463750a --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_signatures_response_protection.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocVersionsSignaturesResponseProtection < Internal::Types::Model + field :enforced, -> { CloudPDF::Types::DocVersionsSignaturesResponseProtectionEnforced }, optional: false, nullable: true + + field :judged, -> { CloudPDF::Types::DocVersionsSignaturesResponseProtectionJudged }, optional: false, nullable: true + + field :certification, -> { CloudPDF::Types::DocVersionsSignaturesResponseProtectionCertification }, optional: false, nullable: true + + field :field_locks, -> { Internal::Types::Array[CloudPDF::Types::DocVersionsSignaturesResponseProtectionFieldLocksItem] }, optional: false, nullable: false, api_name: "fieldLocks" + + field :policy_version, -> { Integer }, optional: false, nullable: false, api_name: "policyVersion" + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_signatures_response_protection_certification.rb b/lib/CloudPDF/types/doc_versions_signatures_response_protection_certification.rb new file mode 100644 index 00000000..634d67ae --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_signatures_response_protection_certification.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocVersionsSignaturesResponseProtectionCertification < Internal::Types::Model + field :signature_index, -> { Integer }, optional: false, nullable: false, api_name: "signatureIndex" + + field :permission, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_signatures_response_protection_enforced.rb b/lib/CloudPDF/types/doc_versions_signatures_response_protection_enforced.rb new file mode 100644 index 00000000..07a08284 --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_signatures_response_protection_enforced.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocVersionsSignaturesResponseProtectionEnforced + extend CloudPDF::Internal::Types::Enum + + NONE = "none" + LTA = "lta" + FILL = "fill" + ANNOTATE = "annotate" + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_signatures_response_protection_field_locks_item.rb b/lib/CloudPDF/types/doc_versions_signatures_response_protection_field_locks_item.rb new file mode 100644 index 00000000..f9e5a940 --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_signatures_response_protection_field_locks_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocVersionsSignaturesResponseProtectionFieldLocksItem < Internal::Types::Model + field :signature_index, -> { Integer }, optional: false, nullable: false, api_name: "signatureIndex" + + field :source, -> { CloudPDF::Types::DocVersionsSignaturesResponseProtectionFieldLocksItemSource }, optional: false, nullable: false + + field :spec, -> { CloudPDF::Types::FieldLockSpec }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_signatures_response_protection_field_locks_item_source.rb b/lib/CloudPDF/types/doc_versions_signatures_response_protection_field_locks_item_source.rb new file mode 100644 index 00000000..5770d160 --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_signatures_response_protection_field_locks_item_source.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocVersionsSignaturesResponseProtectionFieldLocksItemSource + extend CloudPDF::Internal::Types::Enum + + FIELDMDP = "fieldmdp" + LOCK = "lock" + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_signatures_response_protection_judged.rb b/lib/CloudPDF/types/doc_versions_signatures_response_protection_judged.rb new file mode 100644 index 00000000..7fe0c7f7 --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_signatures_response_protection_judged.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocVersionsSignaturesResponseProtectionJudged + extend CloudPDF::Internal::Types::Enum + + NONE = "none" + LTA = "lta" + FILL = "fill" + ANNOTATE = "annotate" + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_signatures_response_revisions_item.rb b/lib/CloudPDF/types/doc_versions_signatures_response_revisions_item.rb new file mode 100644 index 00000000..f1fb059c --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_signatures_response_revisions_item.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocVersionsSignaturesResponseRevisionsItem < Internal::Types::Model + field :index, -> { Integer }, optional: false, nullable: false + + field :end_, -> { Integer }, optional: false, nullable: false, api_name: "end" + + field :xref_offset, -> { Integer }, optional: false, nullable: false, api_name: "xrefOffset" + + field :signature_index, -> { Integer }, optional: false, nullable: true, api_name: "signatureIndex" + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_signatures_response_signatures_item.rb b/lib/CloudPDF/types/doc_versions_signatures_response_signatures_item.rb new file mode 100644 index 00000000..c09b8214 --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_signatures_response_signatures_item.rb @@ -0,0 +1,43 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocVersionsSignaturesResponseSignaturesItem < Internal::Types::Model + field :index, -> { Integer }, optional: false, nullable: false + + field :field, -> { CloudPDF::Types::FormFieldRef }, optional: false, nullable: false + + field :field_name, -> { String }, optional: false, nullable: false, api_name: "fieldName" + + field :widget, -> { CloudPDF::Types::FormWidget }, optional: false, nullable: true + + field :signed, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :kind, -> { CloudPDF::Types::DocVersionsSignaturesResponseSignaturesItemKind }, optional: false, nullable: false + + field :filter, -> { String }, optional: false, nullable: true + + field :sub_filter, -> { String }, optional: false, nullable: true, api_name: "subFilter" + + field :byte_range, -> { Internal::Types::Array[Object] }, optional: false, nullable: true, api_name: "byteRange" + + field :contents_size_bytes, -> { Integer }, optional: false, nullable: false, api_name: "contentsSizeBytes" + + field :coverage, -> { CloudPDF::Types::DocVersionsSignaturesResponseSignaturesItemCoverage }, optional: false, nullable: true + + field :revision_index, -> { Integer }, optional: false, nullable: true, api_name: "revisionIndex" + + field :signer, -> { CloudPDF::Types::DocVersionsSignaturesResponseSignaturesItemSigner }, optional: false, nullable: false + + field :doc_mdp, -> { Integer }, optional: false, nullable: true, api_name: "docMdp" + + field :catalog_certification, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "catalogCertification" + + field :field_mdp, -> { CloudPDF::Types::FieldLockSpec }, optional: false, nullable: true, api_name: "fieldMdp" + + field :lock, -> { CloudPDF::Types::FieldLockSpec }, optional: false, nullable: true + + field :seed_value, -> { CloudPDF::Types::DocVersionsSignaturesResponseSignaturesItemSeedValue }, optional: false, nullable: true, api_name: "seedValue" + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_signatures_response_signatures_item_coverage.rb b/lib/CloudPDF/types/doc_versions_signatures_response_signatures_item_coverage.rb new file mode 100644 index 00000000..eb44ce9e --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_signatures_response_signatures_item_coverage.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocVersionsSignaturesResponseSignaturesItemCoverage + extend CloudPDF::Internal::Types::Enum + + WHOLE_REVISION = "whole-revision" + PARTIAL = "partial" + MALFORMED = "malformed" + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_signatures_response_signatures_item_kind.rb b/lib/CloudPDF/types/doc_versions_signatures_response_signatures_item_kind.rb new file mode 100644 index 00000000..23a56242 --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_signatures_response_signatures_item_kind.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocVersionsSignaturesResponseSignaturesItemKind + extend CloudPDF::Internal::Types::Enum + + SIGNATURE = "signature" + TIMESTAMP = "timestamp" + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_signatures_response_signatures_item_seed_value.rb b/lib/CloudPDF/types/doc_versions_signatures_response_signatures_item_seed_value.rb new file mode 100644 index 00000000..0e412295 --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_signatures_response_signatures_item_seed_value.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocVersionsSignaturesResponseSignaturesItemSeedValue < Internal::Types::Model + field :parser_version, -> { Integer }, optional: false, nullable: true, api_name: "parserVersion" + + field :parser_version_required, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "parserVersionRequired" + + field :mdp, -> { Integer }, optional: false, nullable: true + + field :filter, -> { String }, optional: false, nullable: true + + field :filter_required, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "filterRequired" + + field :sub_filters, -> { Internal::Types::Array[String] }, optional: false, nullable: false, api_name: "subFilters" + + field :sub_filters_required, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "subFiltersRequired" + + field :digest_methods, -> { Internal::Types::Array[String] }, optional: false, nullable: false, api_name: "digestMethods" + + field :digest_methods_required, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "digestMethodsRequired" + + field :reasons, -> { Internal::Types::Array[String] }, optional: false, nullable: false + + field :reasons_required, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "reasonsRequired" + + field :unsupported_required, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "unsupportedRequired" + end + end +end diff --git a/lib/CloudPDF/types/doc_versions_signatures_response_signatures_item_signer.rb b/lib/CloudPDF/types/doc_versions_signatures_response_signatures_item_signer.rb new file mode 100644 index 00000000..0df3d3eb --- /dev/null +++ b/lib/CloudPDF/types/doc_versions_signatures_response_signatures_item_signer.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocVersionsSignaturesResponseSignaturesItemSigner < Internal::Types::Model + field :name, -> { String }, optional: false, nullable: true + + field :reason, -> { String }, optional: false, nullable: true + + field :location, -> { String }, optional: false, nullable: true + + field :contact_info, -> { String }, optional: false, nullable: true, api_name: "contactInfo" + + field :signed_at, -> { String }, optional: false, nullable: true, api_name: "signedAt" + end + end +end diff --git a/lib/CloudPDF/types/document_actions_snapshot.rb b/lib/CloudPDF/types/document_actions_snapshot.rb index 3dd23cca..f422c24c 100644 --- a/lib/CloudPDF/types/document_actions_snapshot.rb +++ b/lib/CloudPDF/types/document_actions_snapshot.rb @@ -7,7 +7,7 @@ class DocumentActionsSnapshot < Internal::Types::Model field :open_action, -> { CloudPDF::Types::PdfActionTree }, optional: false, nullable: true, api_name: "openAction" - field :open_destination, -> { CloudPDF::Types::PageDestination }, optional: true, nullable: false, api_name: "openDestination" + field :open_destination, -> { CloudPDF::Types::PageDestination }, optional: false, nullable: true, api_name: "openDestination" field :will_close, -> { CloudPDF::Types::PdfActionTree }, optional: true, nullable: false, api_name: "willClose" diff --git a/lib/CloudPDF/types/documents_commit200response.rb b/lib/CloudPDF/types/documents_commit200response.rb deleted file mode 100644 index a7214a7e..00000000 --- a/lib/CloudPDF/types/documents_commit200response.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsCommit200Response < Internal::Types::Model - field :document, -> { CloudPDF::Types::DocumentsCommit200ResponseDocument }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/documents_commit200response_document.rb b/lib/CloudPDF/types/documents_commit200response_document.rb deleted file mode 100644 index 2247143c..00000000 --- a/lib/CloudPDF/types/documents_commit200response_document.rb +++ /dev/null @@ -1,37 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsCommit200ResponseDocument < Internal::Types::Model - field :id, -> { String }, optional: false, nullable: false - - field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" - - field :name, -> { String }, optional: false, nullable: false - - field :folder_id, -> { String }, optional: false, nullable: false, api_name: "folderId" - - field :state, -> { CloudPDF::Types::DocumentsCommit200ResponseDocumentState }, optional: false, nullable: false - - field :base_sha, -> { String }, optional: false, nullable: true, api_name: "baseSha" - - field :storage_size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "storageSizeBytes" - - field :metadata, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: true - - field :idempotency_key, -> { String }, optional: false, nullable: true, api_name: "idempotencyKey" - - field :failure_reason, -> { String }, optional: false, nullable: true, api_name: "failureReason" - - field :thumbnail_state, -> { CloudPDF::Types::DocumentsCommit200ResponseDocumentThumbnailState }, optional: true, nullable: false, api_name: "thumbnailState" - - field :thumbnail_url, -> { String }, optional: true, nullable: false, api_name: "thumbnailUrl" - - field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" - - field :updated_at, -> { Integer }, optional: false, nullable: false, api_name: "updatedAt" - - field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" - end - end -end diff --git a/lib/CloudPDF/types/documents_commit200response_document_state.rb b/lib/CloudPDF/types/documents_commit200response_document_state.rb deleted file mode 100644 index b0ba2c23..00000000 --- a/lib/CloudPDF/types/documents_commit200response_document_state.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsCommit200ResponseDocumentState - extend CloudPDF::Internal::Types::Enum - - PENDING = "pending" - READY = "ready" - FAILED = "failed" - DELETING = "deleting" - end - end -end diff --git a/lib/CloudPDF/types/documents_commit200response_document_thumbnail_state.rb b/lib/CloudPDF/types/documents_commit200response_document_thumbnail_state.rb deleted file mode 100644 index 1e917dca..00000000 --- a/lib/CloudPDF/types/documents_commit200response_document_thumbnail_state.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsCommit200ResponseDocumentThumbnailState - extend CloudPDF::Internal::Types::Enum - - PENDING = "pending" - READY = "ready" - LOCKED = "locked" - FAILED = "failed" - end - end -end diff --git a/lib/CloudPDF/types/documents_commit400response.rb b/lib/CloudPDF/types/documents_commit400response.rb deleted file mode 100644 index b9c7ab75..00000000 --- a/lib/CloudPDF/types/documents_commit400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsCommit400Response - # DocumentsCommit400Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/documents_commit404response.rb b/lib/CloudPDF/types/documents_commit404response.rb deleted file mode 100644 index c3fc7bc3..00000000 --- a/lib/CloudPDF/types/documents_commit404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsCommit404Response - # DocumentsCommit404Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/documents_commit_response.rb b/lib/CloudPDF/types/documents_commit_response.rb new file mode 100644 index 00000000..2ce59433 --- /dev/null +++ b/lib/CloudPDF/types/documents_commit_response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocumentsCommitResponse < Internal::Types::Model + field :document, -> { CloudPDF::Types::DocumentsCommitResponseDocument }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/documents_commit_response_document.rb b/lib/CloudPDF/types/documents_commit_response_document.rb new file mode 100644 index 00000000..493c6c1f --- /dev/null +++ b/lib/CloudPDF/types/documents_commit_response_document.rb @@ -0,0 +1,37 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocumentsCommitResponseDocument < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :name, -> { String }, optional: false, nullable: false + + field :folder_id, -> { String }, optional: false, nullable: false, api_name: "folderId" + + field :state, -> { CloudPDF::Types::DocumentsCommitResponseDocumentState }, optional: false, nullable: false + + field :base_sha256, -> { String }, optional: false, nullable: true, api_name: "baseSha256" + + field :size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "sizeBytes" + + field :metadata, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: true + + field :idempotency_key, -> { String }, optional: false, nullable: true, api_name: "idempotencyKey" + + field :failure_reason, -> { String }, optional: false, nullable: true, api_name: "failureReason" + + field :thumbnail_state, -> { CloudPDF::Types::DocumentsCommitResponseDocumentThumbnailState }, optional: false, nullable: false, api_name: "thumbnailState" + + field :thumbnail_url, -> { String }, optional: false, nullable: true, api_name: "thumbnailUrl" + + field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt" + + field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + end + end +end diff --git a/lib/CloudPDF/types/documents_commit_response_document_state.rb b/lib/CloudPDF/types/documents_commit_response_document_state.rb new file mode 100644 index 00000000..c219cf8f --- /dev/null +++ b/lib/CloudPDF/types/documents_commit_response_document_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocumentsCommitResponseDocumentState + extend CloudPDF::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + FAILED = "failed" + DELETING = "deleting" + end + end +end diff --git a/lib/CloudPDF/types/documents_commit_response_document_thumbnail_state.rb b/lib/CloudPDF/types/documents_commit_response_document_thumbnail_state.rb new file mode 100644 index 00000000..4932dc07 --- /dev/null +++ b/lib/CloudPDF/types/documents_commit_response_document_thumbnail_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocumentsCommitResponseDocumentThumbnailState + extend CloudPDF::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + LOCKED = "locked" + FAILED = "failed" + end + end +end diff --git a/lib/CloudPDF/types/documents_delete403response.rb b/lib/CloudPDF/types/documents_delete403response.rb deleted file mode 100644 index fb26871e..00000000 --- a/lib/CloudPDF/types/documents_delete403response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsDelete403Response - # DocumentsDelete403Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/documents_delete404response.rb b/lib/CloudPDF/types/documents_delete404response.rb deleted file mode 100644 index 91fae6e3..00000000 --- a/lib/CloudPDF/types/documents_delete404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsDelete404Response - # DocumentsDelete404Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/documents_download403response.rb b/lib/CloudPDF/types/documents_download403response.rb deleted file mode 100644 index 1451e5c6..00000000 --- a/lib/CloudPDF/types/documents_download403response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsDownload403Response - # DocumentsDownload403Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/documents_download404response.rb b/lib/CloudPDF/types/documents_download404response.rb deleted file mode 100644 index 27a307a9..00000000 --- a/lib/CloudPDF/types/documents_download404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsDownload404Response - # DocumentsDownload404Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/documents_get200response.rb b/lib/CloudPDF/types/documents_get200response.rb deleted file mode 100644 index bb4ec1de..00000000 --- a/lib/CloudPDF/types/documents_get200response.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsGet200Response < Internal::Types::Model - field :document, -> { CloudPDF::Types::DocumentsGet200ResponseDocument }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/documents_get200response_document.rb b/lib/CloudPDF/types/documents_get200response_document.rb deleted file mode 100644 index 8cf39f30..00000000 --- a/lib/CloudPDF/types/documents_get200response_document.rb +++ /dev/null @@ -1,37 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsGet200ResponseDocument < Internal::Types::Model - field :id, -> { String }, optional: false, nullable: false - - field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" - - field :name, -> { String }, optional: false, nullable: false - - field :folder_id, -> { String }, optional: false, nullable: false, api_name: "folderId" - - field :state, -> { CloudPDF::Types::DocumentsGet200ResponseDocumentState }, optional: false, nullable: false - - field :base_sha, -> { String }, optional: false, nullable: true, api_name: "baseSha" - - field :storage_size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "storageSizeBytes" - - field :metadata, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: true - - field :idempotency_key, -> { String }, optional: false, nullable: true, api_name: "idempotencyKey" - - field :failure_reason, -> { String }, optional: false, nullable: true, api_name: "failureReason" - - field :thumbnail_state, -> { CloudPDF::Types::DocumentsGet200ResponseDocumentThumbnailState }, optional: true, nullable: false, api_name: "thumbnailState" - - field :thumbnail_url, -> { String }, optional: true, nullable: false, api_name: "thumbnailUrl" - - field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" - - field :updated_at, -> { Integer }, optional: false, nullable: false, api_name: "updatedAt" - - field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" - end - end -end diff --git a/lib/CloudPDF/types/documents_get200response_document_state.rb b/lib/CloudPDF/types/documents_get200response_document_state.rb deleted file mode 100644 index 89f4f6a0..00000000 --- a/lib/CloudPDF/types/documents_get200response_document_state.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsGet200ResponseDocumentState - extend CloudPDF::Internal::Types::Enum - - PENDING = "pending" - READY = "ready" - FAILED = "failed" - DELETING = "deleting" - end - end -end diff --git a/lib/CloudPDF/types/documents_get200response_document_thumbnail_state.rb b/lib/CloudPDF/types/documents_get200response_document_thumbnail_state.rb deleted file mode 100644 index a3567308..00000000 --- a/lib/CloudPDF/types/documents_get200response_document_thumbnail_state.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsGet200ResponseDocumentThumbnailState - extend CloudPDF::Internal::Types::Enum - - PENDING = "pending" - READY = "ready" - LOCKED = "locked" - FAILED = "failed" - end - end -end diff --git a/lib/CloudPDF/types/documents_get403response.rb b/lib/CloudPDF/types/documents_get403response.rb deleted file mode 100644 index e8753019..00000000 --- a/lib/CloudPDF/types/documents_get403response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsGet403Response - # DocumentsGet403Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/documents_get404response.rb b/lib/CloudPDF/types/documents_get404response.rb deleted file mode 100644 index d13519ae..00000000 --- a/lib/CloudPDF/types/documents_get404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsGet404Response - # DocumentsGet404Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/documents_get_response.rb b/lib/CloudPDF/types/documents_get_response.rb new file mode 100644 index 00000000..58357ea6 --- /dev/null +++ b/lib/CloudPDF/types/documents_get_response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocumentsGetResponse < Internal::Types::Model + field :document, -> { CloudPDF::Types::DocumentsGetResponseDocument }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/documents_get_response_document.rb b/lib/CloudPDF/types/documents_get_response_document.rb new file mode 100644 index 00000000..ee8bee5c --- /dev/null +++ b/lib/CloudPDF/types/documents_get_response_document.rb @@ -0,0 +1,37 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocumentsGetResponseDocument < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :name, -> { String }, optional: false, nullable: false + + field :folder_id, -> { String }, optional: false, nullable: false, api_name: "folderId" + + field :state, -> { CloudPDF::Types::DocumentsGetResponseDocumentState }, optional: false, nullable: false + + field :base_sha256, -> { String }, optional: false, nullable: true, api_name: "baseSha256" + + field :size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "sizeBytes" + + field :metadata, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: true + + field :idempotency_key, -> { String }, optional: false, nullable: true, api_name: "idempotencyKey" + + field :failure_reason, -> { String }, optional: false, nullable: true, api_name: "failureReason" + + field :thumbnail_state, -> { CloudPDF::Types::DocumentsGetResponseDocumentThumbnailState }, optional: false, nullable: false, api_name: "thumbnailState" + + field :thumbnail_url, -> { String }, optional: false, nullable: true, api_name: "thumbnailUrl" + + field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt" + + field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + end + end +end diff --git a/lib/CloudPDF/types/documents_get_response_document_state.rb b/lib/CloudPDF/types/documents_get_response_document_state.rb new file mode 100644 index 00000000..580f4ca1 --- /dev/null +++ b/lib/CloudPDF/types/documents_get_response_document_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocumentsGetResponseDocumentState + extend CloudPDF::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + FAILED = "failed" + DELETING = "deleting" + end + end +end diff --git a/lib/CloudPDF/types/documents_get_response_document_thumbnail_state.rb b/lib/CloudPDF/types/documents_get_response_document_thumbnail_state.rb new file mode 100644 index 00000000..fbc7ed13 --- /dev/null +++ b/lib/CloudPDF/types/documents_get_response_document_thumbnail_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocumentsGetResponseDocumentThumbnailState + extend CloudPDF::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + LOCKED = "locked" + FAILED = "failed" + end + end +end diff --git a/lib/CloudPDF/types/documents_import_from200response.rb b/lib/CloudPDF/types/documents_import_from200response.rb index b52be354..ffe31e87 100644 --- a/lib/CloudPDF/types/documents_import_from200response.rb +++ b/lib/CloudPDF/types/documents_import_from200response.rb @@ -3,7 +3,7 @@ module CloudPDF module Types class DocumentsImportFrom200Response < Internal::Types::Model - field :tag, -> { CloudPDF::Types::DocumentsImportFrom200ResponseTag }, optional: false, nullable: false + field :status, -> { CloudPDF::Types::DocumentsImportFrom200ResponseStatus }, optional: false, nullable: false field :document, -> { CloudPDF::Types::DocumentsImportFrom200ResponseDocument }, optional: false, nullable: false end diff --git a/lib/CloudPDF/types/documents_import_from200response_document.rb b/lib/CloudPDF/types/documents_import_from200response_document.rb index af55c16e..72259be4 100644 --- a/lib/CloudPDF/types/documents_import_from200response_document.rb +++ b/lib/CloudPDF/types/documents_import_from200response_document.rb @@ -13,9 +13,9 @@ class DocumentsImportFrom200ResponseDocument < Internal::Types::Model field :state, -> { CloudPDF::Types::DocumentsImportFrom200ResponseDocumentState }, optional: false, nullable: false - field :base_sha, -> { String }, optional: false, nullable: true, api_name: "baseSha" + field :base_sha256, -> { String }, optional: false, nullable: true, api_name: "baseSha256" - field :storage_size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "storageSizeBytes" + field :size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "sizeBytes" field :metadata, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: true @@ -23,13 +23,13 @@ class DocumentsImportFrom200ResponseDocument < Internal::Types::Model field :failure_reason, -> { String }, optional: false, nullable: true, api_name: "failureReason" - field :thumbnail_state, -> { CloudPDF::Types::DocumentsImportFrom200ResponseDocumentThumbnailState }, optional: true, nullable: false, api_name: "thumbnailState" + field :thumbnail_state, -> { CloudPDF::Types::DocumentsImportFrom200ResponseDocumentThumbnailState }, optional: false, nullable: false, api_name: "thumbnailState" - field :thumbnail_url, -> { String }, optional: true, nullable: false, api_name: "thumbnailUrl" + field :thumbnail_url, -> { String }, optional: false, nullable: true, api_name: "thumbnailUrl" - field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" + field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt" - field :updated_at, -> { Integer }, optional: false, nullable: false, api_name: "updatedAt" + field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt" field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" end diff --git a/lib/CloudPDF/types/documents_import_from200response_status.rb b/lib/CloudPDF/types/documents_import_from200response_status.rb new file mode 100644 index 00000000..b33e780d --- /dev/null +++ b/lib/CloudPDF/types/documents_import_from200response_status.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocumentsImportFrom200ResponseStatus + extend CloudPDF::Internal::Types::Enum + + IMPORTED = "imported" + DEDUPED = "deduped" + ACCEPTED = "accepted" + end + end +end diff --git a/lib/CloudPDF/types/documents_import_from200response_tag.rb b/lib/CloudPDF/types/documents_import_from200response_tag.rb deleted file mode 100644 index dbcbd418..00000000 --- a/lib/CloudPDF/types/documents_import_from200response_tag.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsImportFrom200ResponseTag - extend CloudPDF::Internal::Types::Enum - - IMPORTED = "imported" - DEDUPED = "deduped" - ACCEPTED = "accepted" - end - end -end diff --git a/lib/CloudPDF/types/documents_import_from202response.rb b/lib/CloudPDF/types/documents_import_from202response.rb index 1bb06a29..6d1b8ada 100644 --- a/lib/CloudPDF/types/documents_import_from202response.rb +++ b/lib/CloudPDF/types/documents_import_from202response.rb @@ -3,7 +3,7 @@ module CloudPDF module Types class DocumentsImportFrom202Response < Internal::Types::Model - field :tag, -> { CloudPDF::Types::DocumentsImportFrom202ResponseTag }, optional: false, nullable: false + field :status, -> { CloudPDF::Types::DocumentsImportFrom202ResponseStatus }, optional: false, nullable: false field :document, -> { CloudPDF::Types::DocumentsImportFrom202ResponseDocument }, optional: false, nullable: false end diff --git a/lib/CloudPDF/types/documents_import_from202response_document.rb b/lib/CloudPDF/types/documents_import_from202response_document.rb index 210cc2bf..09edadf4 100644 --- a/lib/CloudPDF/types/documents_import_from202response_document.rb +++ b/lib/CloudPDF/types/documents_import_from202response_document.rb @@ -13,9 +13,9 @@ class DocumentsImportFrom202ResponseDocument < Internal::Types::Model field :state, -> { CloudPDF::Types::DocumentsImportFrom202ResponseDocumentState }, optional: false, nullable: false - field :base_sha, -> { String }, optional: false, nullable: true, api_name: "baseSha" + field :base_sha256, -> { String }, optional: false, nullable: true, api_name: "baseSha256" - field :storage_size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "storageSizeBytes" + field :size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "sizeBytes" field :metadata, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: true @@ -23,13 +23,13 @@ class DocumentsImportFrom202ResponseDocument < Internal::Types::Model field :failure_reason, -> { String }, optional: false, nullable: true, api_name: "failureReason" - field :thumbnail_state, -> { CloudPDF::Types::DocumentsImportFrom202ResponseDocumentThumbnailState }, optional: true, nullable: false, api_name: "thumbnailState" + field :thumbnail_state, -> { CloudPDF::Types::DocumentsImportFrom202ResponseDocumentThumbnailState }, optional: false, nullable: false, api_name: "thumbnailState" - field :thumbnail_url, -> { String }, optional: true, nullable: false, api_name: "thumbnailUrl" + field :thumbnail_url, -> { String }, optional: false, nullable: true, api_name: "thumbnailUrl" - field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" + field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt" - field :updated_at, -> { Integer }, optional: false, nullable: false, api_name: "updatedAt" + field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt" field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" end diff --git a/lib/CloudPDF/types/documents_import_from202response_status.rb b/lib/CloudPDF/types/documents_import_from202response_status.rb new file mode 100644 index 00000000..e82ffe0c --- /dev/null +++ b/lib/CloudPDF/types/documents_import_from202response_status.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocumentsImportFrom202ResponseStatus + extend CloudPDF::Internal::Types::Enum + + IMPORTED = "imported" + DEDUPED = "deduped" + ACCEPTED = "accepted" + end + end +end diff --git a/lib/CloudPDF/types/documents_import_from202response_tag.rb b/lib/CloudPDF/types/documents_import_from202response_tag.rb deleted file mode 100644 index 4c0c9473..00000000 --- a/lib/CloudPDF/types/documents_import_from202response_tag.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsImportFrom202ResponseTag - extend CloudPDF::Internal::Types::Enum - - IMPORTED = "imported" - DEDUPED = "deduped" - ACCEPTED = "accepted" - end - end -end diff --git a/lib/CloudPDF/types/documents_import_from400response.rb b/lib/CloudPDF/types/documents_import_from400response.rb deleted file mode 100644 index 6881fd54..00000000 --- a/lib/CloudPDF/types/documents_import_from400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsImportFrom400Response - # DocumentsImportFrom400Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/documents_import_from403response.rb b/lib/CloudPDF/types/documents_import_from403response.rb deleted file mode 100644 index f77a74c9..00000000 --- a/lib/CloudPDF/types/documents_import_from403response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsImportFrom403Response - # DocumentsImportFrom403Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/documents_import_from502response.rb b/lib/CloudPDF/types/documents_import_from502response.rb deleted file mode 100644 index 1a400b86..00000000 --- a/lib/CloudPDF/types/documents_import_from502response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsImportFrom502Response - # DocumentsImportFrom502Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/documents_init200response.rb b/lib/CloudPDF/types/documents_init200response.rb deleted file mode 100644 index 52a5b674..00000000 --- a/lib/CloudPDF/types/documents_init200response.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsInit200Response < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :tag - - member -> { CloudPDF::Types::DocumentsInit200ResponseCreated }, key: "CREATED" - - member -> { CloudPDF::Types::DocumentsInit200ResponseResumed }, key: "RESUMED" - - member -> { CloudPDF::Types::DocumentsInit200ResponseDeduped }, key: "DEDUPED" - end - end -end diff --git a/lib/CloudPDF/types/documents_init200response_created.rb b/lib/CloudPDF/types/documents_init200response_created.rb deleted file mode 100644 index c6b2ce33..00000000 --- a/lib/CloudPDF/types/documents_init200response_created.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsInit200ResponseCreated < Internal::Types::Model - field :document, -> { CloudPDF::Types::DocumentsInit200ResponseCreatedDocument }, optional: false, nullable: false - - field :upload, -> { CloudPDF::Types::DocumentsInit200ResponseCreatedUpload }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/documents_init200response_created_document.rb b/lib/CloudPDF/types/documents_init200response_created_document.rb deleted file mode 100644 index a0249e93..00000000 --- a/lib/CloudPDF/types/documents_init200response_created_document.rb +++ /dev/null @@ -1,37 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsInit200ResponseCreatedDocument < Internal::Types::Model - field :id, -> { String }, optional: false, nullable: false - - field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" - - field :name, -> { String }, optional: false, nullable: false - - field :folder_id, -> { String }, optional: false, nullable: false, api_name: "folderId" - - field :state, -> { CloudPDF::Types::DocumentsInit200ResponseCreatedDocumentState }, optional: false, nullable: false - - field :base_sha, -> { String }, optional: false, nullable: true, api_name: "baseSha" - - field :storage_size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "storageSizeBytes" - - field :metadata, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: true - - field :idempotency_key, -> { String }, optional: false, nullable: true, api_name: "idempotencyKey" - - field :failure_reason, -> { String }, optional: false, nullable: true, api_name: "failureReason" - - field :thumbnail_state, -> { CloudPDF::Types::DocumentsInit200ResponseCreatedDocumentThumbnailState }, optional: true, nullable: false, api_name: "thumbnailState" - - field :thumbnail_url, -> { String }, optional: true, nullable: false, api_name: "thumbnailUrl" - - field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" - - field :updated_at, -> { Integer }, optional: false, nullable: false, api_name: "updatedAt" - - field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" - end - end -end diff --git a/lib/CloudPDF/types/documents_init200response_created_document_state.rb b/lib/CloudPDF/types/documents_init200response_created_document_state.rb deleted file mode 100644 index e2707ff8..00000000 --- a/lib/CloudPDF/types/documents_init200response_created_document_state.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsInit200ResponseCreatedDocumentState - extend CloudPDF::Internal::Types::Enum - - PENDING = "pending" - READY = "ready" - FAILED = "failed" - DELETING = "deleting" - end - end -end diff --git a/lib/CloudPDF/types/documents_init200response_created_document_thumbnail_state.rb b/lib/CloudPDF/types/documents_init200response_created_document_thumbnail_state.rb deleted file mode 100644 index d83c28e7..00000000 --- a/lib/CloudPDF/types/documents_init200response_created_document_thumbnail_state.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsInit200ResponseCreatedDocumentThumbnailState - extend CloudPDF::Internal::Types::Enum - - PENDING = "pending" - READY = "ready" - LOCKED = "locked" - FAILED = "failed" - end - end -end diff --git a/lib/CloudPDF/types/documents_init200response_created_upload.rb b/lib/CloudPDF/types/documents_init200response_created_upload.rb deleted file mode 100644 index 0342c668..00000000 --- a/lib/CloudPDF/types/documents_init200response_created_upload.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsInit200ResponseCreatedUpload < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocumentsInit200ResponseCreatedUploadPresigned }, key: "PRESIGNED" - - member -> { CloudPDF::Types::DocumentsInit200ResponseCreatedUploadProxy }, key: "PROXY" - end - end -end diff --git a/lib/CloudPDF/types/documents_init200response_created_upload_presigned.rb b/lib/CloudPDF/types/documents_init200response_created_upload_presigned.rb deleted file mode 100644 index bc306190..00000000 --- a/lib/CloudPDF/types/documents_init200response_created_upload_presigned.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsInit200ResponseCreatedUploadPresigned < Internal::Types::Model - field :presigned, -> { CloudPDF::Types::DocumentsInit200ResponseCreatedUploadPresignedPresigned }, optional: false, nullable: false - - field :key, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/documents_init200response_created_upload_presigned_presigned.rb b/lib/CloudPDF/types/documents_init200response_created_upload_presigned_presigned.rb deleted file mode 100644 index efceb544..00000000 --- a/lib/CloudPDF/types/documents_init200response_created_upload_presigned_presigned.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsInit200ResponseCreatedUploadPresignedPresigned < Internal::Types::Model - field :url, -> { String }, optional: false, nullable: false - - field :headers, -> { Internal::Types::Hash[String, String] }, optional: false, nullable: false - - field :method_, -> { CloudPDF::Types::DocumentsInit200ResponseCreatedUploadPresignedPresignedMethod }, optional: false, nullable: false, api_name: "method" - - field :expires_at, -> { Integer }, optional: false, nullable: false, api_name: "expiresAt" - end - end -end diff --git a/lib/CloudPDF/types/documents_init200response_created_upload_presigned_presigned_method.rb b/lib/CloudPDF/types/documents_init200response_created_upload_presigned_presigned_method.rb deleted file mode 100644 index f8a6981b..00000000 --- a/lib/CloudPDF/types/documents_init200response_created_upload_presigned_presigned_method.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsInit200ResponseCreatedUploadPresignedPresignedMethod - extend CloudPDF::Internal::Types::Enum - - PUT = "PUT" - end - end -end diff --git a/lib/CloudPDF/types/documents_init200response_created_upload_proxy.rb b/lib/CloudPDF/types/documents_init200response_created_upload_proxy.rb deleted file mode 100644 index dd5d67f4..00000000 --- a/lib/CloudPDF/types/documents_init200response_created_upload_proxy.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsInit200ResponseCreatedUploadProxy < Internal::Types::Model - field :url, -> { String }, optional: false, nullable: false - - field :key, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/documents_init200response_deduped.rb b/lib/CloudPDF/types/documents_init200response_deduped.rb deleted file mode 100644 index a691118d..00000000 --- a/lib/CloudPDF/types/documents_init200response_deduped.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsInit200ResponseDeduped < Internal::Types::Model - field :document, -> { CloudPDF::Types::DocumentsInit200ResponseDedupedDocument }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/documents_init200response_deduped_document.rb b/lib/CloudPDF/types/documents_init200response_deduped_document.rb deleted file mode 100644 index 21253d13..00000000 --- a/lib/CloudPDF/types/documents_init200response_deduped_document.rb +++ /dev/null @@ -1,37 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsInit200ResponseDedupedDocument < Internal::Types::Model - field :id, -> { String }, optional: false, nullable: false - - field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" - - field :name, -> { String }, optional: false, nullable: false - - field :folder_id, -> { String }, optional: false, nullable: false, api_name: "folderId" - - field :state, -> { CloudPDF::Types::DocumentsInit200ResponseDedupedDocumentState }, optional: false, nullable: false - - field :base_sha, -> { String }, optional: false, nullable: true, api_name: "baseSha" - - field :storage_size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "storageSizeBytes" - - field :metadata, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: true - - field :idempotency_key, -> { String }, optional: false, nullable: true, api_name: "idempotencyKey" - - field :failure_reason, -> { String }, optional: false, nullable: true, api_name: "failureReason" - - field :thumbnail_state, -> { CloudPDF::Types::DocumentsInit200ResponseDedupedDocumentThumbnailState }, optional: true, nullable: false, api_name: "thumbnailState" - - field :thumbnail_url, -> { String }, optional: true, nullable: false, api_name: "thumbnailUrl" - - field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" - - field :updated_at, -> { Integer }, optional: false, nullable: false, api_name: "updatedAt" - - field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" - end - end -end diff --git a/lib/CloudPDF/types/documents_init200response_deduped_document_state.rb b/lib/CloudPDF/types/documents_init200response_deduped_document_state.rb deleted file mode 100644 index 65134fc4..00000000 --- a/lib/CloudPDF/types/documents_init200response_deduped_document_state.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsInit200ResponseDedupedDocumentState - extend CloudPDF::Internal::Types::Enum - - PENDING = "pending" - READY = "ready" - FAILED = "failed" - DELETING = "deleting" - end - end -end diff --git a/lib/CloudPDF/types/documents_init200response_deduped_document_thumbnail_state.rb b/lib/CloudPDF/types/documents_init200response_deduped_document_thumbnail_state.rb deleted file mode 100644 index 18144e1f..00000000 --- a/lib/CloudPDF/types/documents_init200response_deduped_document_thumbnail_state.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsInit200ResponseDedupedDocumentThumbnailState - extend CloudPDF::Internal::Types::Enum - - PENDING = "pending" - READY = "ready" - LOCKED = "locked" - FAILED = "failed" - end - end -end diff --git a/lib/CloudPDF/types/documents_init200response_resumed.rb b/lib/CloudPDF/types/documents_init200response_resumed.rb deleted file mode 100644 index 7ddadf0d..00000000 --- a/lib/CloudPDF/types/documents_init200response_resumed.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsInit200ResponseResumed < Internal::Types::Model - field :document, -> { CloudPDF::Types::DocumentsInit200ResponseResumedDocument }, optional: false, nullable: false - - field :upload, -> { CloudPDF::Types::DocumentsInit200ResponseResumedUpload }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/documents_init200response_resumed_document.rb b/lib/CloudPDF/types/documents_init200response_resumed_document.rb deleted file mode 100644 index 3baa2542..00000000 --- a/lib/CloudPDF/types/documents_init200response_resumed_document.rb +++ /dev/null @@ -1,37 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsInit200ResponseResumedDocument < Internal::Types::Model - field :id, -> { String }, optional: false, nullable: false - - field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" - - field :name, -> { String }, optional: false, nullable: false - - field :folder_id, -> { String }, optional: false, nullable: false, api_name: "folderId" - - field :state, -> { CloudPDF::Types::DocumentsInit200ResponseResumedDocumentState }, optional: false, nullable: false - - field :base_sha, -> { String }, optional: false, nullable: true, api_name: "baseSha" - - field :storage_size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "storageSizeBytes" - - field :metadata, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: true - - field :idempotency_key, -> { String }, optional: false, nullable: true, api_name: "idempotencyKey" - - field :failure_reason, -> { String }, optional: false, nullable: true, api_name: "failureReason" - - field :thumbnail_state, -> { CloudPDF::Types::DocumentsInit200ResponseResumedDocumentThumbnailState }, optional: true, nullable: false, api_name: "thumbnailState" - - field :thumbnail_url, -> { String }, optional: true, nullable: false, api_name: "thumbnailUrl" - - field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" - - field :updated_at, -> { Integer }, optional: false, nullable: false, api_name: "updatedAt" - - field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" - end - end -end diff --git a/lib/CloudPDF/types/documents_init200response_resumed_document_state.rb b/lib/CloudPDF/types/documents_init200response_resumed_document_state.rb deleted file mode 100644 index 36b86818..00000000 --- a/lib/CloudPDF/types/documents_init200response_resumed_document_state.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsInit200ResponseResumedDocumentState - extend CloudPDF::Internal::Types::Enum - - PENDING = "pending" - READY = "ready" - FAILED = "failed" - DELETING = "deleting" - end - end -end diff --git a/lib/CloudPDF/types/documents_init200response_resumed_document_thumbnail_state.rb b/lib/CloudPDF/types/documents_init200response_resumed_document_thumbnail_state.rb deleted file mode 100644 index 6f7fd20e..00000000 --- a/lib/CloudPDF/types/documents_init200response_resumed_document_thumbnail_state.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsInit200ResponseResumedDocumentThumbnailState - extend CloudPDF::Internal::Types::Enum - - PENDING = "pending" - READY = "ready" - LOCKED = "locked" - FAILED = "failed" - end - end -end diff --git a/lib/CloudPDF/types/documents_init200response_resumed_upload.rb b/lib/CloudPDF/types/documents_init200response_resumed_upload.rb deleted file mode 100644 index 04b318d1..00000000 --- a/lib/CloudPDF/types/documents_init200response_resumed_upload.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsInit200ResponseResumedUpload < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocumentsInit200ResponseResumedUploadPresigned }, key: "PRESIGNED" - - member -> { CloudPDF::Types::DocumentsInit200ResponseResumedUploadProxy }, key: "PROXY" - end - end -end diff --git a/lib/CloudPDF/types/documents_init200response_resumed_upload_presigned.rb b/lib/CloudPDF/types/documents_init200response_resumed_upload_presigned.rb deleted file mode 100644 index 075d02a9..00000000 --- a/lib/CloudPDF/types/documents_init200response_resumed_upload_presigned.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsInit200ResponseResumedUploadPresigned < Internal::Types::Model - field :presigned, -> { CloudPDF::Types::DocumentsInit200ResponseResumedUploadPresignedPresigned }, optional: false, nullable: false - - field :key, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/documents_init200response_resumed_upload_presigned_presigned.rb b/lib/CloudPDF/types/documents_init200response_resumed_upload_presigned_presigned.rb deleted file mode 100644 index dc91efb0..00000000 --- a/lib/CloudPDF/types/documents_init200response_resumed_upload_presigned_presigned.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsInit200ResponseResumedUploadPresignedPresigned < Internal::Types::Model - field :url, -> { String }, optional: false, nullable: false - - field :headers, -> { Internal::Types::Hash[String, String] }, optional: false, nullable: false - - field :method_, -> { CloudPDF::Types::DocumentsInit200ResponseResumedUploadPresignedPresignedMethod }, optional: false, nullable: false, api_name: "method" - - field :expires_at, -> { Integer }, optional: false, nullable: false, api_name: "expiresAt" - end - end -end diff --git a/lib/CloudPDF/types/documents_init200response_resumed_upload_presigned_presigned_method.rb b/lib/CloudPDF/types/documents_init200response_resumed_upload_presigned_presigned_method.rb deleted file mode 100644 index c8b3f156..00000000 --- a/lib/CloudPDF/types/documents_init200response_resumed_upload_presigned_presigned_method.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsInit200ResponseResumedUploadPresignedPresignedMethod - extend CloudPDF::Internal::Types::Enum - - PUT = "PUT" - end - end -end diff --git a/lib/CloudPDF/types/documents_init200response_resumed_upload_proxy.rb b/lib/CloudPDF/types/documents_init200response_resumed_upload_proxy.rb deleted file mode 100644 index 41b8b7f8..00000000 --- a/lib/CloudPDF/types/documents_init200response_resumed_upload_proxy.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsInit200ResponseResumedUploadProxy < Internal::Types::Model - field :url, -> { String }, optional: false, nullable: false - - field :key, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/documents_init400response.rb b/lib/CloudPDF/types/documents_init400response.rb deleted file mode 100644 index 50e24ca0..00000000 --- a/lib/CloudPDF/types/documents_init400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsInit400Response - # DocumentsInit400Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/documents_init403response.rb b/lib/CloudPDF/types/documents_init403response.rb deleted file mode 100644 index fb418a76..00000000 --- a/lib/CloudPDF/types/documents_init403response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsInit403Response - # DocumentsInit403Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/documents_init_response.rb b/lib/CloudPDF/types/documents_init_response.rb new file mode 100644 index 00000000..2e5b53cb --- /dev/null +++ b/lib/CloudPDF/types/documents_init_response.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocumentsInitResponse < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :status + + member -> { CloudPDF::Types::DocumentsInitResponseCreated }, key: "CREATED" + + member -> { CloudPDF::Types::DocumentsInitResponseResumed }, key: "RESUMED" + + member -> { CloudPDF::Types::DocumentsInitResponseDeduped }, key: "DEDUPED" + end + end +end diff --git a/lib/CloudPDF/types/documents_init_response_created.rb b/lib/CloudPDF/types/documents_init_response_created.rb new file mode 100644 index 00000000..cb845c10 --- /dev/null +++ b/lib/CloudPDF/types/documents_init_response_created.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocumentsInitResponseCreated < Internal::Types::Model + field :document, -> { CloudPDF::Types::DocumentsInitResponseCreatedDocument }, optional: false, nullable: false + + field :upload, -> { CloudPDF::Types::DocumentsInitResponseCreatedUpload }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/documents_init_response_created_document.rb b/lib/CloudPDF/types/documents_init_response_created_document.rb new file mode 100644 index 00000000..42f3d699 --- /dev/null +++ b/lib/CloudPDF/types/documents_init_response_created_document.rb @@ -0,0 +1,37 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocumentsInitResponseCreatedDocument < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :name, -> { String }, optional: false, nullable: false + + field :folder_id, -> { String }, optional: false, nullable: false, api_name: "folderId" + + field :state, -> { CloudPDF::Types::DocumentsInitResponseCreatedDocumentState }, optional: false, nullable: false + + field :base_sha256, -> { String }, optional: false, nullable: true, api_name: "baseSha256" + + field :size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "sizeBytes" + + field :metadata, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: true + + field :idempotency_key, -> { String }, optional: false, nullable: true, api_name: "idempotencyKey" + + field :failure_reason, -> { String }, optional: false, nullable: true, api_name: "failureReason" + + field :thumbnail_state, -> { CloudPDF::Types::DocumentsInitResponseCreatedDocumentThumbnailState }, optional: false, nullable: false, api_name: "thumbnailState" + + field :thumbnail_url, -> { String }, optional: false, nullable: true, api_name: "thumbnailUrl" + + field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt" + + field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + end + end +end diff --git a/lib/CloudPDF/types/documents_init_response_created_document_state.rb b/lib/CloudPDF/types/documents_init_response_created_document_state.rb new file mode 100644 index 00000000..185df280 --- /dev/null +++ b/lib/CloudPDF/types/documents_init_response_created_document_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocumentsInitResponseCreatedDocumentState + extend CloudPDF::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + FAILED = "failed" + DELETING = "deleting" + end + end +end diff --git a/lib/CloudPDF/types/documents_init_response_created_document_thumbnail_state.rb b/lib/CloudPDF/types/documents_init_response_created_document_thumbnail_state.rb new file mode 100644 index 00000000..f0a27297 --- /dev/null +++ b/lib/CloudPDF/types/documents_init_response_created_document_thumbnail_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocumentsInitResponseCreatedDocumentThumbnailState + extend CloudPDF::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + LOCKED = "locked" + FAILED = "failed" + end + end +end diff --git a/lib/CloudPDF/types/documents_init_response_created_upload.rb b/lib/CloudPDF/types/documents_init_response_created_upload.rb new file mode 100644 index 00000000..7aaca702 --- /dev/null +++ b/lib/CloudPDF/types/documents_init_response_created_upload.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocumentsInitResponseCreatedUpload < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :kind + + member -> { CloudPDF::Types::DocumentsInitResponseCreatedUploadPresigned }, key: "PRESIGNED" + + member -> { CloudPDF::Types::DocumentsInitResponseCreatedUploadProxy }, key: "PROXY" + end + end +end diff --git a/lib/CloudPDF/types/documents_init_response_created_upload_presigned.rb b/lib/CloudPDF/types/documents_init_response_created_upload_presigned.rb new file mode 100644 index 00000000..c834af89 --- /dev/null +++ b/lib/CloudPDF/types/documents_init_response_created_upload_presigned.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocumentsInitResponseCreatedUploadPresigned < Internal::Types::Model + field :presigned, -> { CloudPDF::Types::DocumentsInitResponseCreatedUploadPresignedPresigned }, optional: false, nullable: false + + field :key, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/documents_init_response_created_upload_presigned_presigned.rb b/lib/CloudPDF/types/documents_init_response_created_upload_presigned_presigned.rb new file mode 100644 index 00000000..e3f2af76 --- /dev/null +++ b/lib/CloudPDF/types/documents_init_response_created_upload_presigned_presigned.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocumentsInitResponseCreatedUploadPresignedPresigned < Internal::Types::Model + field :url, -> { String }, optional: false, nullable: false + + field :headers, -> { Internal::Types::Hash[String, String] }, optional: false, nullable: false + + field :method_, -> { CloudPDF::Types::DocumentsInitResponseCreatedUploadPresignedPresignedMethod }, optional: false, nullable: false, api_name: "method" + + field :expires_at, -> { String }, optional: false, nullable: false, api_name: "expiresAt" + end + end +end diff --git a/lib/CloudPDF/types/documents_init_response_created_upload_presigned_presigned_method.rb b/lib/CloudPDF/types/documents_init_response_created_upload_presigned_presigned_method.rb new file mode 100644 index 00000000..5631f8a7 --- /dev/null +++ b/lib/CloudPDF/types/documents_init_response_created_upload_presigned_presigned_method.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocumentsInitResponseCreatedUploadPresignedPresignedMethod + extend CloudPDF::Internal::Types::Enum + + PUT = "PUT" + end + end +end diff --git a/lib/CloudPDF/types/documents_init_response_created_upload_proxy.rb b/lib/CloudPDF/types/documents_init_response_created_upload_proxy.rb new file mode 100644 index 00000000..f3a60749 --- /dev/null +++ b/lib/CloudPDF/types/documents_init_response_created_upload_proxy.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocumentsInitResponseCreatedUploadProxy < Internal::Types::Model + field :url, -> { String }, optional: false, nullable: false + + field :key, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/documents_init_response_deduped.rb b/lib/CloudPDF/types/documents_init_response_deduped.rb new file mode 100644 index 00000000..49cc9bcb --- /dev/null +++ b/lib/CloudPDF/types/documents_init_response_deduped.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocumentsInitResponseDeduped < Internal::Types::Model + field :document, -> { CloudPDF::Types::DocumentsInitResponseDedupedDocument }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/documents_init_response_deduped_document.rb b/lib/CloudPDF/types/documents_init_response_deduped_document.rb new file mode 100644 index 00000000..80ef8ebc --- /dev/null +++ b/lib/CloudPDF/types/documents_init_response_deduped_document.rb @@ -0,0 +1,37 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocumentsInitResponseDedupedDocument < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :name, -> { String }, optional: false, nullable: false + + field :folder_id, -> { String }, optional: false, nullable: false, api_name: "folderId" + + field :state, -> { CloudPDF::Types::DocumentsInitResponseDedupedDocumentState }, optional: false, nullable: false + + field :base_sha256, -> { String }, optional: false, nullable: true, api_name: "baseSha256" + + field :size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "sizeBytes" + + field :metadata, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: true + + field :idempotency_key, -> { String }, optional: false, nullable: true, api_name: "idempotencyKey" + + field :failure_reason, -> { String }, optional: false, nullable: true, api_name: "failureReason" + + field :thumbnail_state, -> { CloudPDF::Types::DocumentsInitResponseDedupedDocumentThumbnailState }, optional: false, nullable: false, api_name: "thumbnailState" + + field :thumbnail_url, -> { String }, optional: false, nullable: true, api_name: "thumbnailUrl" + + field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt" + + field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + end + end +end diff --git a/lib/CloudPDF/types/documents_init_response_deduped_document_state.rb b/lib/CloudPDF/types/documents_init_response_deduped_document_state.rb new file mode 100644 index 00000000..16ab76e3 --- /dev/null +++ b/lib/CloudPDF/types/documents_init_response_deduped_document_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocumentsInitResponseDedupedDocumentState + extend CloudPDF::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + FAILED = "failed" + DELETING = "deleting" + end + end +end diff --git a/lib/CloudPDF/types/documents_init_response_deduped_document_thumbnail_state.rb b/lib/CloudPDF/types/documents_init_response_deduped_document_thumbnail_state.rb new file mode 100644 index 00000000..ae7d50af --- /dev/null +++ b/lib/CloudPDF/types/documents_init_response_deduped_document_thumbnail_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocumentsInitResponseDedupedDocumentThumbnailState + extend CloudPDF::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + LOCKED = "locked" + FAILED = "failed" + end + end +end diff --git a/lib/CloudPDF/types/documents_init_response_resumed.rb b/lib/CloudPDF/types/documents_init_response_resumed.rb new file mode 100644 index 00000000..680afcb1 --- /dev/null +++ b/lib/CloudPDF/types/documents_init_response_resumed.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocumentsInitResponseResumed < Internal::Types::Model + field :document, -> { CloudPDF::Types::DocumentsInitResponseResumedDocument }, optional: false, nullable: false + + field :upload, -> { CloudPDF::Types::DocumentsInitResponseResumedUpload }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/documents_init_response_resumed_document.rb b/lib/CloudPDF/types/documents_init_response_resumed_document.rb new file mode 100644 index 00000000..c6996757 --- /dev/null +++ b/lib/CloudPDF/types/documents_init_response_resumed_document.rb @@ -0,0 +1,37 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocumentsInitResponseResumedDocument < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :name, -> { String }, optional: false, nullable: false + + field :folder_id, -> { String }, optional: false, nullable: false, api_name: "folderId" + + field :state, -> { CloudPDF::Types::DocumentsInitResponseResumedDocumentState }, optional: false, nullable: false + + field :base_sha256, -> { String }, optional: false, nullable: true, api_name: "baseSha256" + + field :size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "sizeBytes" + + field :metadata, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: true + + field :idempotency_key, -> { String }, optional: false, nullable: true, api_name: "idempotencyKey" + + field :failure_reason, -> { String }, optional: false, nullable: true, api_name: "failureReason" + + field :thumbnail_state, -> { CloudPDF::Types::DocumentsInitResponseResumedDocumentThumbnailState }, optional: false, nullable: false, api_name: "thumbnailState" + + field :thumbnail_url, -> { String }, optional: false, nullable: true, api_name: "thumbnailUrl" + + field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt" + + field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + end + end +end diff --git a/lib/CloudPDF/types/documents_init_response_resumed_document_state.rb b/lib/CloudPDF/types/documents_init_response_resumed_document_state.rb new file mode 100644 index 00000000..76b7637c --- /dev/null +++ b/lib/CloudPDF/types/documents_init_response_resumed_document_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocumentsInitResponseResumedDocumentState + extend CloudPDF::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + FAILED = "failed" + DELETING = "deleting" + end + end +end diff --git a/lib/CloudPDF/types/documents_init_response_resumed_document_thumbnail_state.rb b/lib/CloudPDF/types/documents_init_response_resumed_document_thumbnail_state.rb new file mode 100644 index 00000000..40d3036e --- /dev/null +++ b/lib/CloudPDF/types/documents_init_response_resumed_document_thumbnail_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocumentsInitResponseResumedDocumentThumbnailState + extend CloudPDF::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + LOCKED = "locked" + FAILED = "failed" + end + end +end diff --git a/lib/CloudPDF/types/documents_init_response_resumed_upload.rb b/lib/CloudPDF/types/documents_init_response_resumed_upload.rb new file mode 100644 index 00000000..db8e30ad --- /dev/null +++ b/lib/CloudPDF/types/documents_init_response_resumed_upload.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocumentsInitResponseResumedUpload < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :kind + + member -> { CloudPDF::Types::DocumentsInitResponseResumedUploadPresigned }, key: "PRESIGNED" + + member -> { CloudPDF::Types::DocumentsInitResponseResumedUploadProxy }, key: "PROXY" + end + end +end diff --git a/lib/CloudPDF/types/documents_init_response_resumed_upload_presigned.rb b/lib/CloudPDF/types/documents_init_response_resumed_upload_presigned.rb new file mode 100644 index 00000000..2d20c4f3 --- /dev/null +++ b/lib/CloudPDF/types/documents_init_response_resumed_upload_presigned.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocumentsInitResponseResumedUploadPresigned < Internal::Types::Model + field :presigned, -> { CloudPDF::Types::DocumentsInitResponseResumedUploadPresignedPresigned }, optional: false, nullable: false + + field :key, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/documents_init_response_resumed_upload_presigned_presigned.rb b/lib/CloudPDF/types/documents_init_response_resumed_upload_presigned_presigned.rb new file mode 100644 index 00000000..ec60d559 --- /dev/null +++ b/lib/CloudPDF/types/documents_init_response_resumed_upload_presigned_presigned.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocumentsInitResponseResumedUploadPresignedPresigned < Internal::Types::Model + field :url, -> { String }, optional: false, nullable: false + + field :headers, -> { Internal::Types::Hash[String, String] }, optional: false, nullable: false + + field :method_, -> { CloudPDF::Types::DocumentsInitResponseResumedUploadPresignedPresignedMethod }, optional: false, nullable: false, api_name: "method" + + field :expires_at, -> { String }, optional: false, nullable: false, api_name: "expiresAt" + end + end +end diff --git a/lib/CloudPDF/types/documents_init_response_resumed_upload_presigned_presigned_method.rb b/lib/CloudPDF/types/documents_init_response_resumed_upload_presigned_presigned_method.rb new file mode 100644 index 00000000..06aa64a0 --- /dev/null +++ b/lib/CloudPDF/types/documents_init_response_resumed_upload_presigned_presigned_method.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocumentsInitResponseResumedUploadPresignedPresignedMethod + extend CloudPDF::Internal::Types::Enum + + PUT = "PUT" + end + end +end diff --git a/lib/CloudPDF/types/documents_init_response_resumed_upload_proxy.rb b/lib/CloudPDF/types/documents_init_response_resumed_upload_proxy.rb new file mode 100644 index 00000000..69464bc8 --- /dev/null +++ b/lib/CloudPDF/types/documents_init_response_resumed_upload_proxy.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocumentsInitResponseResumedUploadProxy < Internal::Types::Model + field :url, -> { String }, optional: false, nullable: false + + field :key, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/documents_layers_delete403response.rb b/lib/CloudPDF/types/documents_layers_delete403response.rb deleted file mode 100644 index 93c24201..00000000 --- a/lib/CloudPDF/types/documents_layers_delete403response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsLayersDelete403Response - # DocumentsLayersDelete403Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/documents_layers_delete404response.rb b/lib/CloudPDF/types/documents_layers_delete404response.rb deleted file mode 100644 index 9cbf541c..00000000 --- a/lib/CloudPDF/types/documents_layers_delete404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsLayersDelete404Response - # DocumentsLayersDelete404Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/documents_layers_delete409response.rb b/lib/CloudPDF/types/documents_layers_delete409response.rb deleted file mode 100644 index fc50071e..00000000 --- a/lib/CloudPDF/types/documents_layers_delete409response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsLayersDelete409Response - # DocumentsLayersDelete409Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/documents_layers_list200response.rb b/lib/CloudPDF/types/documents_layers_list200response.rb deleted file mode 100644 index 468bfefe..00000000 --- a/lib/CloudPDF/types/documents_layers_list200response.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsLayersList200Response < Internal::Types::Model - field :layers, -> { Internal::Types::Array[CloudPDF::Types::DocumentsLayersList200ResponseLayersItem] }, optional: false, nullable: false - - field :next_cursor, -> { String }, optional: true, nullable: false, api_name: "nextCursor" - end - end -end diff --git a/lib/CloudPDF/types/documents_layers_list200response_layers_item.rb b/lib/CloudPDF/types/documents_layers_list200response_layers_item.rb deleted file mode 100644 index 405df8b4..00000000 --- a/lib/CloudPDF/types/documents_layers_list200response_layers_item.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsLayersList200ResponseLayersItem < Internal::Types::Model - field :doc_id, -> { String }, optional: false, nullable: false, api_name: "docId" - - field :layer_name, -> { String }, optional: false, nullable: false, api_name: "layerName" - - field :grant_id, -> { String }, optional: false, nullable: true, api_name: "grantId" - - field :visitor_id, -> { String }, optional: false, nullable: true, api_name: "visitorId" - - field :storage_size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "storageSizeBytes" - - field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" - - field :updated_at, -> { Integer }, optional: false, nullable: false, api_name: "updatedAt" - - field :last_seen_at, -> { Integer }, optional: false, nullable: true, api_name: "lastSeenAt" - end - end -end diff --git a/lib/CloudPDF/types/documents_layers_list400response.rb b/lib/CloudPDF/types/documents_layers_list400response.rb deleted file mode 100644 index 2c6f0c1d..00000000 --- a/lib/CloudPDF/types/documents_layers_list400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsLayersList400Response - # DocumentsLayersList400Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/documents_layers_list403response.rb b/lib/CloudPDF/types/documents_layers_list403response.rb deleted file mode 100644 index 93d7052c..00000000 --- a/lib/CloudPDF/types/documents_layers_list403response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsLayersList403Response - # DocumentsLayersList403Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/documents_layers_list404response.rb b/lib/CloudPDF/types/documents_layers_list404response.rb deleted file mode 100644 index 7cf29c14..00000000 --- a/lib/CloudPDF/types/documents_layers_list404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsLayersList404Response - # DocumentsLayersList404Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/documents_layers_list_response.rb b/lib/CloudPDF/types/documents_layers_list_response.rb new file mode 100644 index 00000000..d1c6dbec --- /dev/null +++ b/lib/CloudPDF/types/documents_layers_list_response.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocumentsLayersListResponse < Internal::Types::Model + field :layers, -> { Internal::Types::Array[CloudPDF::Types::DocumentsLayersListResponseLayersItem] }, optional: false, nullable: false + + field :next_cursor, -> { String }, optional: false, nullable: true, api_name: "nextCursor" + end + end +end diff --git a/lib/CloudPDF/types/documents_layers_list_response_layers_item.rb b/lib/CloudPDF/types/documents_layers_list_response_layers_item.rb new file mode 100644 index 00000000..4d18b684 --- /dev/null +++ b/lib/CloudPDF/types/documents_layers_list_response_layers_item.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocumentsLayersListResponseLayersItem < Internal::Types::Model + field :doc_id, -> { String }, optional: false, nullable: false, api_name: "docId" + + field :layer_name, -> { String }, optional: false, nullable: false, api_name: "layerName" + + field :grant_id, -> { String }, optional: false, nullable: true, api_name: "grantId" + + field :visitor_id, -> { String }, optional: false, nullable: true, api_name: "visitorId" + + field :size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "sizeBytes" + + field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt" + + field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt" + + field :last_seen_at, -> { String }, optional: false, nullable: true, api_name: "lastSeenAt" + end + end +end diff --git a/lib/CloudPDF/types/documents_list200response.rb b/lib/CloudPDF/types/documents_list200response.rb deleted file mode 100644 index 05564904..00000000 --- a/lib/CloudPDF/types/documents_list200response.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsList200Response < Internal::Types::Model - field :documents, -> { Internal::Types::Array[CloudPDF::Types::DocumentsList200ResponseDocumentsItem] }, optional: false, nullable: false - - field :next_cursor, -> { String }, optional: true, nullable: false, api_name: "nextCursor" - end - end -end diff --git a/lib/CloudPDF/types/documents_list200response_documents_item.rb b/lib/CloudPDF/types/documents_list200response_documents_item.rb deleted file mode 100644 index 10029d1c..00000000 --- a/lib/CloudPDF/types/documents_list200response_documents_item.rb +++ /dev/null @@ -1,37 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsList200ResponseDocumentsItem < Internal::Types::Model - field :id, -> { String }, optional: false, nullable: false - - field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" - - field :name, -> { String }, optional: false, nullable: false - - field :folder_id, -> { String }, optional: false, nullable: false, api_name: "folderId" - - field :state, -> { CloudPDF::Types::DocumentsList200ResponseDocumentsItemState }, optional: false, nullable: false - - field :base_sha, -> { String }, optional: false, nullable: true, api_name: "baseSha" - - field :storage_size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "storageSizeBytes" - - field :metadata, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: true - - field :idempotency_key, -> { String }, optional: false, nullable: true, api_name: "idempotencyKey" - - field :failure_reason, -> { String }, optional: false, nullable: true, api_name: "failureReason" - - field :thumbnail_state, -> { CloudPDF::Types::DocumentsList200ResponseDocumentsItemThumbnailState }, optional: true, nullable: false, api_name: "thumbnailState" - - field :thumbnail_url, -> { String }, optional: true, nullable: false, api_name: "thumbnailUrl" - - field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" - - field :updated_at, -> { Integer }, optional: false, nullable: false, api_name: "updatedAt" - - field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" - end - end -end diff --git a/lib/CloudPDF/types/documents_list200response_documents_item_state.rb b/lib/CloudPDF/types/documents_list200response_documents_item_state.rb deleted file mode 100644 index 54737abc..00000000 --- a/lib/CloudPDF/types/documents_list200response_documents_item_state.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsList200ResponseDocumentsItemState - extend CloudPDF::Internal::Types::Enum - - PENDING = "pending" - READY = "ready" - FAILED = "failed" - DELETING = "deleting" - end - end -end diff --git a/lib/CloudPDF/types/documents_list200response_documents_item_thumbnail_state.rb b/lib/CloudPDF/types/documents_list200response_documents_item_thumbnail_state.rb deleted file mode 100644 index 94bc50d2..00000000 --- a/lib/CloudPDF/types/documents_list200response_documents_item_thumbnail_state.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsList200ResponseDocumentsItemThumbnailState - extend CloudPDF::Internal::Types::Enum - - PENDING = "pending" - READY = "ready" - LOCKED = "locked" - FAILED = "failed" - end - end -end diff --git a/lib/CloudPDF/types/documents_list400response.rb b/lib/CloudPDF/types/documents_list400response.rb deleted file mode 100644 index 9bbdb23d..00000000 --- a/lib/CloudPDF/types/documents_list400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsList400Response - # DocumentsList400Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/documents_list_response.rb b/lib/CloudPDF/types/documents_list_response.rb new file mode 100644 index 00000000..b76b521c --- /dev/null +++ b/lib/CloudPDF/types/documents_list_response.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocumentsListResponse < Internal::Types::Model + field :documents, -> { Internal::Types::Array[CloudPDF::Types::DocumentsListResponseDocumentsItem] }, optional: false, nullable: false + + field :next_cursor, -> { String }, optional: false, nullable: true, api_name: "nextCursor" + end + end +end diff --git a/lib/CloudPDF/types/documents_list_response_documents_item.rb b/lib/CloudPDF/types/documents_list_response_documents_item.rb new file mode 100644 index 00000000..f7b8c58b --- /dev/null +++ b/lib/CloudPDF/types/documents_list_response_documents_item.rb @@ -0,0 +1,37 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocumentsListResponseDocumentsItem < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :name, -> { String }, optional: false, nullable: false + + field :folder_id, -> { String }, optional: false, nullable: false, api_name: "folderId" + + field :state, -> { CloudPDF::Types::DocumentsListResponseDocumentsItemState }, optional: false, nullable: false + + field :base_sha256, -> { String }, optional: false, nullable: true, api_name: "baseSha256" + + field :size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "sizeBytes" + + field :metadata, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: true + + field :idempotency_key, -> { String }, optional: false, nullable: true, api_name: "idempotencyKey" + + field :failure_reason, -> { String }, optional: false, nullable: true, api_name: "failureReason" + + field :thumbnail_state, -> { CloudPDF::Types::DocumentsListResponseDocumentsItemThumbnailState }, optional: false, nullable: false, api_name: "thumbnailState" + + field :thumbnail_url, -> { String }, optional: false, nullable: true, api_name: "thumbnailUrl" + + field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt" + + field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + end + end +end diff --git a/lib/CloudPDF/types/documents_list_response_documents_item_state.rb b/lib/CloudPDF/types/documents_list_response_documents_item_state.rb new file mode 100644 index 00000000..85d91195 --- /dev/null +++ b/lib/CloudPDF/types/documents_list_response_documents_item_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocumentsListResponseDocumentsItemState + extend CloudPDF::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + FAILED = "failed" + DELETING = "deleting" + end + end +end diff --git a/lib/CloudPDF/types/documents_list_response_documents_item_thumbnail_state.rb b/lib/CloudPDF/types/documents_list_response_documents_item_thumbnail_state.rb new file mode 100644 index 00000000..57645553 --- /dev/null +++ b/lib/CloudPDF/types/documents_list_response_documents_item_thumbnail_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocumentsListResponseDocumentsItemThumbnailState + extend CloudPDF::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + LOCKED = "locked" + FAILED = "failed" + end + end +end diff --git a/lib/CloudPDF/types/documents_thumbnail_response.rb b/lib/CloudPDF/types/documents_thumbnail_response.rb deleted file mode 100644 index ac5542fd..00000000 --- a/lib/CloudPDF/types/documents_thumbnail_response.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsThumbnailResponse < Internal::Types::Model - field :error, -> { CloudPDF::Types::DocumentsThumbnailResponseError }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/documents_thumbnail_response_error.rb b/lib/CloudPDF/types/documents_thumbnail_response_error.rb deleted file mode 100644 index 8f05851c..00000000 --- a/lib/CloudPDF/types/documents_thumbnail_response_error.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsThumbnailResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - - field :state, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/documents_update200response.rb b/lib/CloudPDF/types/documents_update200response.rb deleted file mode 100644 index eaabe800..00000000 --- a/lib/CloudPDF/types/documents_update200response.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsUpdate200Response < Internal::Types::Model - field :document, -> { CloudPDF::Types::DocumentsUpdate200ResponseDocument }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/documents_update200response_document.rb b/lib/CloudPDF/types/documents_update200response_document.rb deleted file mode 100644 index 735e3d24..00000000 --- a/lib/CloudPDF/types/documents_update200response_document.rb +++ /dev/null @@ -1,37 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsUpdate200ResponseDocument < Internal::Types::Model - field :id, -> { String }, optional: false, nullable: false - - field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" - - field :name, -> { String }, optional: false, nullable: false - - field :folder_id, -> { String }, optional: false, nullable: false, api_name: "folderId" - - field :state, -> { CloudPDF::Types::DocumentsUpdate200ResponseDocumentState }, optional: false, nullable: false - - field :base_sha, -> { String }, optional: false, nullable: true, api_name: "baseSha" - - field :storage_size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "storageSizeBytes" - - field :metadata, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: true - - field :idempotency_key, -> { String }, optional: false, nullable: true, api_name: "idempotencyKey" - - field :failure_reason, -> { String }, optional: false, nullable: true, api_name: "failureReason" - - field :thumbnail_state, -> { CloudPDF::Types::DocumentsUpdate200ResponseDocumentThumbnailState }, optional: true, nullable: false, api_name: "thumbnailState" - - field :thumbnail_url, -> { String }, optional: true, nullable: false, api_name: "thumbnailUrl" - - field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" - - field :updated_at, -> { Integer }, optional: false, nullable: false, api_name: "updatedAt" - - field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" - end - end -end diff --git a/lib/CloudPDF/types/documents_update200response_document_state.rb b/lib/CloudPDF/types/documents_update200response_document_state.rb deleted file mode 100644 index 739d4b01..00000000 --- a/lib/CloudPDF/types/documents_update200response_document_state.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsUpdate200ResponseDocumentState - extend CloudPDF::Internal::Types::Enum - - PENDING = "pending" - READY = "ready" - FAILED = "failed" - DELETING = "deleting" - end - end -end diff --git a/lib/CloudPDF/types/documents_update200response_document_thumbnail_state.rb b/lib/CloudPDF/types/documents_update200response_document_thumbnail_state.rb deleted file mode 100644 index db975ffc..00000000 --- a/lib/CloudPDF/types/documents_update200response_document_thumbnail_state.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsUpdate200ResponseDocumentThumbnailState - extend CloudPDF::Internal::Types::Enum - - PENDING = "pending" - READY = "ready" - LOCKED = "locked" - FAILED = "failed" - end - end -end diff --git a/lib/CloudPDF/types/documents_update400response.rb b/lib/CloudPDF/types/documents_update400response.rb deleted file mode 100644 index d166030b..00000000 --- a/lib/CloudPDF/types/documents_update400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsUpdate400Response - # DocumentsUpdate400Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/documents_update403response.rb b/lib/CloudPDF/types/documents_update403response.rb deleted file mode 100644 index 39b5a922..00000000 --- a/lib/CloudPDF/types/documents_update403response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsUpdate403Response - # DocumentsUpdate403Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/documents_update404response.rb b/lib/CloudPDF/types/documents_update404response.rb deleted file mode 100644 index eeceab38..00000000 --- a/lib/CloudPDF/types/documents_update404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsUpdate404Response - # DocumentsUpdate404Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/documents_update_response.rb b/lib/CloudPDF/types/documents_update_response.rb new file mode 100644 index 00000000..844b237a --- /dev/null +++ b/lib/CloudPDF/types/documents_update_response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocumentsUpdateResponse < Internal::Types::Model + field :document, -> { CloudPDF::Types::DocumentsUpdateResponseDocument }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/documents_update_response_document.rb b/lib/CloudPDF/types/documents_update_response_document.rb new file mode 100644 index 00000000..3dee1baa --- /dev/null +++ b/lib/CloudPDF/types/documents_update_response_document.rb @@ -0,0 +1,37 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocumentsUpdateResponseDocument < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :name, -> { String }, optional: false, nullable: false + + field :folder_id, -> { String }, optional: false, nullable: false, api_name: "folderId" + + field :state, -> { CloudPDF::Types::DocumentsUpdateResponseDocumentState }, optional: false, nullable: false + + field :base_sha256, -> { String }, optional: false, nullable: true, api_name: "baseSha256" + + field :size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "sizeBytes" + + field :metadata, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: true + + field :idempotency_key, -> { String }, optional: false, nullable: true, api_name: "idempotencyKey" + + field :failure_reason, -> { String }, optional: false, nullable: true, api_name: "failureReason" + + field :thumbnail_state, -> { CloudPDF::Types::DocumentsUpdateResponseDocumentThumbnailState }, optional: false, nullable: false, api_name: "thumbnailState" + + field :thumbnail_url, -> { String }, optional: false, nullable: true, api_name: "thumbnailUrl" + + field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt" + + field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + end + end +end diff --git a/lib/CloudPDF/types/documents_update_response_document_state.rb b/lib/CloudPDF/types/documents_update_response_document_state.rb new file mode 100644 index 00000000..2e8e1989 --- /dev/null +++ b/lib/CloudPDF/types/documents_update_response_document_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocumentsUpdateResponseDocumentState + extend CloudPDF::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + FAILED = "failed" + DELETING = "deleting" + end + end +end diff --git a/lib/CloudPDF/types/documents_update_response_document_thumbnail_state.rb b/lib/CloudPDF/types/documents_update_response_document_thumbnail_state.rb new file mode 100644 index 00000000..25da3978 --- /dev/null +++ b/lib/CloudPDF/types/documents_update_response_document_thumbnail_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocumentsUpdateResponseDocumentThumbnailState + extend CloudPDF::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + LOCKED = "locked" + FAILED = "failed" + end + end +end diff --git a/lib/CloudPDF/types/documents_upload_proxy200response.rb b/lib/CloudPDF/types/documents_upload_proxy200response.rb deleted file mode 100644 index 69034a43..00000000 --- a/lib/CloudPDF/types/documents_upload_proxy200response.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsUploadProxy200Response < Internal::Types::Model - field :sha256, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/documents_upload_proxy400response.rb b/lib/CloudPDF/types/documents_upload_proxy400response.rb deleted file mode 100644 index ec9f8f5b..00000000 --- a/lib/CloudPDF/types/documents_upload_proxy400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsUploadProxy400Response - # DocumentsUploadProxy400Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/documents_upload_proxy404response.rb b/lib/CloudPDF/types/documents_upload_proxy404response.rb deleted file mode 100644 index 87f56758..00000000 --- a/lib/CloudPDF/types/documents_upload_proxy404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsUploadProxy404Response - # DocumentsUploadProxy404Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/documents_upload_proxy409response.rb b/lib/CloudPDF/types/documents_upload_proxy409response.rb deleted file mode 100644 index 35613174..00000000 --- a/lib/CloudPDF/types/documents_upload_proxy409response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocumentsUploadProxy409Response - # DocumentsUploadProxy409Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/documents_upload_proxy_response.rb b/lib/CloudPDF/types/documents_upload_proxy_response.rb new file mode 100644 index 00000000..ffcf4deb --- /dev/null +++ b/lib/CloudPDF/types/documents_upload_proxy_response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocumentsUploadProxyResponse < Internal::Types::Model + field :sha256, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/engine_error.rb b/lib/CloudPDF/types/engine_error.rb new file mode 100644 index 00000000..db5ced30 --- /dev/null +++ b/lib/CloudPDF/types/engine_error.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class EngineError < Internal::Types::Model + field :code, -> { CloudPDF::Types::EngineErrorCode }, optional: false, nullable: false + + field :message, -> { String }, optional: false, nullable: false + + field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/engine_error_code.rb b/lib/CloudPDF/types/engine_error_code.rb new file mode 100644 index 00000000..2e8c9cd4 --- /dev/null +++ b/lib/CloudPDF/types/engine_error_code.rb @@ -0,0 +1,54 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module EngineErrorCode + extend CloudPDF::Internal::Types::Enum + + UNKNOWN = "Unknown" + INVALID_ARG = "InvalidArg" + DOC_NOT_OPEN = "DocNotOpen" + DOC_OPEN_FAILED = "DocOpenFailed" + DOC_PASSWORD_REQUIRED = "DocPasswordRequired" + DOC_PASSWORD_INCORRECT = "DocPasswordIncorrect" + GRANT_PASSPHRASE_REQUIRED = "GrantPassphraseRequired" + ABORTED = "Aborted" + NETWORK = "Network" + UNAUTHENTICATED = "Unauthenticated" + FORBIDDEN = "Forbidden" + NOT_FOUND = "NotFound" + WIRE_FORMAT = "WireFormat" + RUNTIME_UNAVAILABLE = "RuntimeUnavailable" + LAYER_VERSION_CONFLICT = "LayerVersionConflict" + NOT_IMPLEMENTED = "NotImplemented" + MALFORMED_PDF = "MalformedPdf" + SIGNING_PENDING = "SigningPending" + SIGNING_EXPIRED = "SigningExpired" + SIGNING_VERSION_MISMATCH = "SigningVersionMismatch" + SIGNATURE_REFUSED = "SignatureRefused" + PROTECTED_DOCUMENT = "ProtectedDocument" + PAYLOAD_TOO_LARGE = "PayloadTooLarge" + OBJECT_NUMBER_UNAVAILABLE = "ObjectNumberUnavailable" + LAYER_FULL = "LayerFull" + CHANGE_CONFLICT = "ChangeConflict" + UNDO_UNAVAILABLE = "UndoUnavailable" + IDEMPOTENCY_KEY_REUSED = "IdempotencyKeyReused" + LAYER_DELETED = "LayerDeleted" + VISITOR_IDENTITY_REQUIRED = "VisitorIdentityRequired" + CONFLICT = "Conflict" + ENGINE_BUSY = "EngineBusy" + ENGINE_RESTARTING = "EngineRestarting" + DOCUMENT_QUARANTINED = "DocumentQuarantined" + THUMBNAIL_NOT_READY = "ThumbnailNotReady" + TOO_MANY_REQUESTS = "TooManyRequests" + GRANT_EXPIRED = "GrantExpired" + ORIGIN_REQUIRED = "OriginRequired" + ORIGIN_NOT_ALLOWED = "OriginNotAllowed" + FEATURE_NOT_ENABLED = "FeatureNotEnabled" + FEATURE_STOPPED = "FeatureStopped" + LICENSE_INVALID = "LicenseInvalid" + LICENSE_USAGE_LIMIT = "LicenseUsageLimit" + UPSTREAM_ERROR = "UpstreamError" + end + end +end diff --git a/lib/CloudPDF/types/engine_error_payload.rb b/lib/CloudPDF/types/engine_error_payload.rb deleted file mode 100644 index 0c90b343..00000000 --- a/lib/CloudPDF/types/engine_error_payload.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class EngineErrorPayload < Internal::Types::Model - field :name, -> { CloudPDF::Types::EngineErrorPayloadName }, optional: false, nullable: false - - field :code, -> { CloudPDF::Types::EngineErrorPayloadCode }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/engine_error_payload_code.rb b/lib/CloudPDF/types/engine_error_payload_code.rb deleted file mode 100644 index 0e98ce82..00000000 --- a/lib/CloudPDF/types/engine_error_payload_code.rb +++ /dev/null @@ -1,40 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module EngineErrorPayloadCode - extend CloudPDF::Internal::Types::Enum - - UNKNOWN = "Unknown" - INVALID_ARG = "InvalidArg" - DOC_NOT_OPEN = "DocNotOpen" - DOC_OPEN_FAILED = "DocOpenFailed" - DOC_PASSWORD_REQUIRED = "DocPasswordRequired" - DOC_PASSWORD_INCORRECT = "DocPasswordIncorrect" - GRANT_PASSPHRASE_REQUIRED = "GrantPassphraseRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - LAYER_VERSION_CONFLICT = "LayerVersionConflict" - NOT_IMPLEMENTED = "NotImplemented" - MALFORMED_PDF = "MalformedPdf" - SIGNING_PENDING = "SigningPending" - SIGNING_EXPIRED = "SigningExpired" - SIGNING_VERSION_MISMATCH = "SigningVersionMismatch" - SIGNATURE_REFUSED = "SignatureRefused" - PROTECTED_DOCUMENT = "ProtectedDocument" - PAYLOAD_TOO_LARGE = "PayloadTooLarge" - OBJECT_NUMBER_UNAVAILABLE = "ObjectNumberUnavailable" - LAYER_FULL = "LayerFull" - CHANGE_CONFLICT = "ChangeConflict" - UNDO_UNAVAILABLE = "UndoUnavailable" - IDEMPOTENCY_KEY_REUSED = "IdempotencyKeyReused" - LAYER_DELETED = "LayerDeleted" - VISITOR_IDENTITY_REQUIRED = "VisitorIdentityRequired" - end - end -end diff --git a/lib/CloudPDF/types/engine_error_payload_name.rb b/lib/CloudPDF/types/engine_error_payload_name.rb deleted file mode 100644 index 2fae1d18..00000000 --- a/lib/CloudPDF/types/engine_error_payload_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module EngineErrorPayloadName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/error_response.rb b/lib/CloudPDF/types/error_response.rb new file mode 100644 index 00000000..842c90f4 --- /dev/null +++ b/lib/CloudPDF/types/error_response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ErrorResponse < Internal::Types::Model + field :error, -> { CloudPDF::Types::EngineError }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/field_lock_spec.rb b/lib/CloudPDF/types/field_lock_spec.rb new file mode 100644 index 00000000..f6be9a21 --- /dev/null +++ b/lib/CloudPDF/types/field_lock_spec.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FieldLockSpec < Internal::Types::Model + field :action, -> { CloudPDF::Types::FieldLockSpecAction }, optional: false, nullable: false + + field :fields, -> { Internal::Types::Array[String] }, optional: false, nullable: false + + field :permission, -> { Integer }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/field_lock_spec_action.rb b/lib/CloudPDF/types/field_lock_spec_action.rb new file mode 100644 index 00000000..1c63dde4 --- /dev/null +++ b/lib/CloudPDF/types/field_lock_spec_action.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module FieldLockSpecAction + extend CloudPDF::Internal::Types::Enum + + ALL = "all" + INCLUDE = "include" + EXCLUDE = "exclude" + end + end +end diff --git a/lib/CloudPDF/types/folders_create200response.rb b/lib/CloudPDF/types/folders_create200response.rb deleted file mode 100644 index f17866d2..00000000 --- a/lib/CloudPDF/types/folders_create200response.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FoldersCreate200Response < Internal::Types::Model - field :folder, -> { CloudPDF::Types::FoldersCreate200ResponseFolder }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/folders_create200response_folder.rb b/lib/CloudPDF/types/folders_create200response_folder.rb deleted file mode 100644 index ce01071e..00000000 --- a/lib/CloudPDF/types/folders_create200response_folder.rb +++ /dev/null @@ -1,21 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FoldersCreate200ResponseFolder < Internal::Types::Model - field :id, -> { String }, optional: false, nullable: false - - field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" - - field :parent_id, -> { String }, optional: false, nullable: false, api_name: "parentId" - - field :name, -> { String }, optional: false, nullable: false - - field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" - - field :updated_at, -> { Integer }, optional: false, nullable: false, api_name: "updatedAt" - - field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" - end - end -end diff --git a/lib/CloudPDF/types/folders_create400response.rb b/lib/CloudPDF/types/folders_create400response.rb deleted file mode 100644 index 6cb75956..00000000 --- a/lib/CloudPDF/types/folders_create400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module FoldersCreate400Response - # FoldersCreate400Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/folders_create403response.rb b/lib/CloudPDF/types/folders_create403response.rb deleted file mode 100644 index 16dbf88a..00000000 --- a/lib/CloudPDF/types/folders_create403response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module FoldersCreate403Response - # FoldersCreate403Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/folders_create404response.rb b/lib/CloudPDF/types/folders_create404response.rb deleted file mode 100644 index 070abda0..00000000 --- a/lib/CloudPDF/types/folders_create404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module FoldersCreate404Response - # FoldersCreate404Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/folders_create409response.rb b/lib/CloudPDF/types/folders_create409response.rb deleted file mode 100644 index 23a6d2ad..00000000 --- a/lib/CloudPDF/types/folders_create409response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module FoldersCreate409Response - # FoldersCreate409Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/folders_create_response.rb b/lib/CloudPDF/types/folders_create_response.rb new file mode 100644 index 00000000..f7e2101d --- /dev/null +++ b/lib/CloudPDF/types/folders_create_response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FoldersCreateResponse < Internal::Types::Model + field :folder, -> { CloudPDF::Types::FoldersCreateResponseFolder }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/folders_create_response_folder.rb b/lib/CloudPDF/types/folders_create_response_folder.rb new file mode 100644 index 00000000..604df43f --- /dev/null +++ b/lib/CloudPDF/types/folders_create_response_folder.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FoldersCreateResponseFolder < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :parent_id, -> { String }, optional: false, nullable: false, api_name: "parentId" + + field :name, -> { String }, optional: false, nullable: false + + field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt" + + field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + end + end +end diff --git a/lib/CloudPDF/types/folders_delete403response.rb b/lib/CloudPDF/types/folders_delete403response.rb deleted file mode 100644 index 470bb0c3..00000000 --- a/lib/CloudPDF/types/folders_delete403response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module FoldersDelete403Response - # FoldersDelete403Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/folders_delete404response.rb b/lib/CloudPDF/types/folders_delete404response.rb deleted file mode 100644 index 663cf81d..00000000 --- a/lib/CloudPDF/types/folders_delete404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module FoldersDelete404Response - # FoldersDelete404Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/folders_delete409response.rb b/lib/CloudPDF/types/folders_delete409response.rb deleted file mode 100644 index 3f01fa8c..00000000 --- a/lib/CloudPDF/types/folders_delete409response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module FoldersDelete409Response - # FoldersDelete409Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/folders_get200response.rb b/lib/CloudPDF/types/folders_get200response.rb deleted file mode 100644 index 488eb720..00000000 --- a/lib/CloudPDF/types/folders_get200response.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FoldersGet200Response < Internal::Types::Model - field :folder, -> { CloudPDF::Types::FoldersGet200ResponseFolder }, optional: false, nullable: false - - field :path, -> { Internal::Types::Array[CloudPDF::Types::FoldersGet200ResponsePathItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/folders_get200response_folder.rb b/lib/CloudPDF/types/folders_get200response_folder.rb deleted file mode 100644 index 135cc496..00000000 --- a/lib/CloudPDF/types/folders_get200response_folder.rb +++ /dev/null @@ -1,21 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FoldersGet200ResponseFolder < Internal::Types::Model - field :id, -> { String }, optional: false, nullable: false - - field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" - - field :parent_id, -> { String }, optional: false, nullable: false, api_name: "parentId" - - field :name, -> { String }, optional: false, nullable: false - - field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" - - field :updated_at, -> { Integer }, optional: false, nullable: false, api_name: "updatedAt" - - field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" - end - end -end diff --git a/lib/CloudPDF/types/folders_get200response_path_item.rb b/lib/CloudPDF/types/folders_get200response_path_item.rb deleted file mode 100644 index 527818b3..00000000 --- a/lib/CloudPDF/types/folders_get200response_path_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FoldersGet200ResponsePathItem < Internal::Types::Model - field :id, -> { String }, optional: false, nullable: false - - field :name, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/folders_get403response.rb b/lib/CloudPDF/types/folders_get403response.rb deleted file mode 100644 index be1f96d9..00000000 --- a/lib/CloudPDF/types/folders_get403response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module FoldersGet403Response - # FoldersGet403Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/folders_get404response.rb b/lib/CloudPDF/types/folders_get404response.rb deleted file mode 100644 index 823edafe..00000000 --- a/lib/CloudPDF/types/folders_get404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module FoldersGet404Response - # FoldersGet404Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/folders_get_response.rb b/lib/CloudPDF/types/folders_get_response.rb new file mode 100644 index 00000000..25327aa6 --- /dev/null +++ b/lib/CloudPDF/types/folders_get_response.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FoldersGetResponse < Internal::Types::Model + field :folder, -> { CloudPDF::Types::FoldersGetResponseFolder }, optional: false, nullable: false + + field :path, -> { Internal::Types::Array[CloudPDF::Types::FoldersGetResponsePathItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/folders_get_response_folder.rb b/lib/CloudPDF/types/folders_get_response_folder.rb new file mode 100644 index 00000000..f654a218 --- /dev/null +++ b/lib/CloudPDF/types/folders_get_response_folder.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FoldersGetResponseFolder < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :parent_id, -> { String }, optional: false, nullable: false, api_name: "parentId" + + field :name, -> { String }, optional: false, nullable: false + + field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt" + + field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + end + end +end diff --git a/lib/CloudPDF/types/folders_get_response_path_item.rb b/lib/CloudPDF/types/folders_get_response_path_item.rb new file mode 100644 index 00000000..08ad4cc3 --- /dev/null +++ b/lib/CloudPDF/types/folders_get_response_path_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FoldersGetResponsePathItem < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/folders_list200response.rb b/lib/CloudPDF/types/folders_list200response.rb deleted file mode 100644 index d0212776..00000000 --- a/lib/CloudPDF/types/folders_list200response.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FoldersList200Response < Internal::Types::Model - field :folders, -> { Internal::Types::Array[CloudPDF::Types::FoldersList200ResponseFoldersItem] }, optional: false, nullable: false - - field :next_cursor, -> { String }, optional: false, nullable: true, api_name: "nextCursor" - end - end -end diff --git a/lib/CloudPDF/types/folders_list200response_folders_item.rb b/lib/CloudPDF/types/folders_list200response_folders_item.rb deleted file mode 100644 index 8d4f17c7..00000000 --- a/lib/CloudPDF/types/folders_list200response_folders_item.rb +++ /dev/null @@ -1,21 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FoldersList200ResponseFoldersItem < Internal::Types::Model - field :id, -> { String }, optional: false, nullable: false - - field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" - - field :parent_id, -> { String }, optional: false, nullable: false, api_name: "parentId" - - field :name, -> { String }, optional: false, nullable: false - - field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" - - field :updated_at, -> { Integer }, optional: false, nullable: false, api_name: "updatedAt" - - field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" - end - end -end diff --git a/lib/CloudPDF/types/folders_list400response.rb b/lib/CloudPDF/types/folders_list400response.rb deleted file mode 100644 index 651bf4a6..00000000 --- a/lib/CloudPDF/types/folders_list400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module FoldersList400Response - # FoldersList400Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/folders_list403response.rb b/lib/CloudPDF/types/folders_list403response.rb deleted file mode 100644 index 9a4d6f2b..00000000 --- a/lib/CloudPDF/types/folders_list403response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module FoldersList403Response - # FoldersList403Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/folders_list404response.rb b/lib/CloudPDF/types/folders_list404response.rb deleted file mode 100644 index 24aedebf..00000000 --- a/lib/CloudPDF/types/folders_list404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module FoldersList404Response - # FoldersList404Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/folders_list_response.rb b/lib/CloudPDF/types/folders_list_response.rb new file mode 100644 index 00000000..0b130560 --- /dev/null +++ b/lib/CloudPDF/types/folders_list_response.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FoldersListResponse < Internal::Types::Model + field :folders, -> { Internal::Types::Array[CloudPDF::Types::FoldersListResponseFoldersItem] }, optional: false, nullable: false + + field :next_cursor, -> { String }, optional: false, nullable: true, api_name: "nextCursor" + end + end +end diff --git a/lib/CloudPDF/types/folders_list_response_folders_item.rb b/lib/CloudPDF/types/folders_list_response_folders_item.rb new file mode 100644 index 00000000..27c4684a --- /dev/null +++ b/lib/CloudPDF/types/folders_list_response_folders_item.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FoldersListResponseFoldersItem < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :parent_id, -> { String }, optional: false, nullable: false, api_name: "parentId" + + field :name, -> { String }, optional: false, nullable: false + + field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt" + + field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + end + end +end diff --git a/lib/CloudPDF/types/folders_move_into400response.rb b/lib/CloudPDF/types/folders_move_into400response.rb deleted file mode 100644 index 27f00118..00000000 --- a/lib/CloudPDF/types/folders_move_into400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module FoldersMoveInto400Response - # FoldersMoveInto400Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/folders_move_into403response.rb b/lib/CloudPDF/types/folders_move_into403response.rb deleted file mode 100644 index 50f6aa5e..00000000 --- a/lib/CloudPDF/types/folders_move_into403response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module FoldersMoveInto403Response - # FoldersMoveInto403Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/folders_move_into404response.rb b/lib/CloudPDF/types/folders_move_into404response.rb deleted file mode 100644 index a8c9d27a..00000000 --- a/lib/CloudPDF/types/folders_move_into404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module FoldersMoveInto404Response - # FoldersMoveInto404Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/folders_move_into409response.rb b/lib/CloudPDF/types/folders_move_into409response.rb deleted file mode 100644 index 77153c10..00000000 --- a/lib/CloudPDF/types/folders_move_into409response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module FoldersMoveInto409Response - # FoldersMoveInto409Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/folders_update200response.rb b/lib/CloudPDF/types/folders_update200response.rb deleted file mode 100644 index 15d7b516..00000000 --- a/lib/CloudPDF/types/folders_update200response.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FoldersUpdate200Response < Internal::Types::Model - field :folder, -> { CloudPDF::Types::FoldersUpdate200ResponseFolder }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/folders_update200response_folder.rb b/lib/CloudPDF/types/folders_update200response_folder.rb deleted file mode 100644 index 7c5bd595..00000000 --- a/lib/CloudPDF/types/folders_update200response_folder.rb +++ /dev/null @@ -1,21 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FoldersUpdate200ResponseFolder < Internal::Types::Model - field :id, -> { String }, optional: false, nullable: false - - field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" - - field :parent_id, -> { String }, optional: false, nullable: false, api_name: "parentId" - - field :name, -> { String }, optional: false, nullable: false - - field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" - - field :updated_at, -> { Integer }, optional: false, nullable: false, api_name: "updatedAt" - - field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" - end - end -end diff --git a/lib/CloudPDF/types/folders_update400response.rb b/lib/CloudPDF/types/folders_update400response.rb deleted file mode 100644 index 8a5cb13a..00000000 --- a/lib/CloudPDF/types/folders_update400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module FoldersUpdate400Response - # FoldersUpdate400Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/folders_update403response.rb b/lib/CloudPDF/types/folders_update403response.rb deleted file mode 100644 index daf0c542..00000000 --- a/lib/CloudPDF/types/folders_update403response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module FoldersUpdate403Response - # FoldersUpdate403Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/folders_update404response.rb b/lib/CloudPDF/types/folders_update404response.rb deleted file mode 100644 index 4faccc56..00000000 --- a/lib/CloudPDF/types/folders_update404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module FoldersUpdate404Response - # FoldersUpdate404Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/folders_update409response.rb b/lib/CloudPDF/types/folders_update409response.rb deleted file mode 100644 index 51f06756..00000000 --- a/lib/CloudPDF/types/folders_update409response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module FoldersUpdate409Response - # FoldersUpdate409Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/folders_update_response.rb b/lib/CloudPDF/types/folders_update_response.rb new file mode 100644 index 00000000..a35638b4 --- /dev/null +++ b/lib/CloudPDF/types/folders_update_response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FoldersUpdateResponse < Internal::Types::Model + field :folder, -> { CloudPDF::Types::FoldersUpdateResponseFolder }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/folders_update_response_folder.rb b/lib/CloudPDF/types/folders_update_response_folder.rb new file mode 100644 index 00000000..80671fed --- /dev/null +++ b/lib/CloudPDF/types/folders_update_response_folder.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FoldersUpdateResponseFolder < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :parent_id, -> { String }, optional: false, nullable: false, api_name: "parentId" + + field :name, -> { String }, optional: false, nullable: false + + field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt" + + field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + end + end +end diff --git a/lib/CloudPDF/types/font_program.rb b/lib/CloudPDF/types/font_program.rb index 1878e278..836da6f3 100644 --- a/lib/CloudPDF/types/font_program.rb +++ b/lib/CloudPDF/types/font_program.rb @@ -3,9 +3,9 @@ module CloudPDF module Types class FontProgram < Internal::Types::Model - field :display_hash, -> { String }, optional: false, nullable: true, api_name: "displayHash" + field :display_sha256, -> { String }, optional: false, nullable: true, api_name: "displaySha256" - field :source_hash, -> { String }, optional: false, nullable: true, api_name: "sourceHash" + field :source_sha256, -> { String }, optional: false, nullable: true, api_name: "sourceSha256" field :embedded, -> { CloudPDF::Types::FontProgramEmbedded }, optional: false, nullable: false diff --git a/lib/CloudPDF/types/font_program_info.rb b/lib/CloudPDF/types/font_program_info.rb index 1791a6a2..987a0091 100644 --- a/lib/CloudPDF/types/font_program_info.rb +++ b/lib/CloudPDF/types/font_program_info.rb @@ -3,9 +3,9 @@ module CloudPDF module Types class FontProgramInfo < Internal::Types::Model - field :display_hash, -> { String }, optional: false, nullable: true, api_name: "displayHash" + field :display_sha256, -> { String }, optional: false, nullable: true, api_name: "displaySha256" - field :source_hash, -> { String }, optional: false, nullable: true, api_name: "sourceHash" + field :source_sha256, -> { String }, optional: false, nullable: true, api_name: "sourceSha256" field :embedded, -> { CloudPDF::Types::FontProgramInfoEmbedded }, optional: false, nullable: false diff --git a/lib/CloudPDF/types/form_field.rb b/lib/CloudPDF/types/form_field.rb index 23115bb1..fd486cc4 100644 --- a/lib/CloudPDF/types/form_field.rb +++ b/lib/CloudPDF/types/form_field.rb @@ -2,10 +2,12 @@ module CloudPDF module Types + # A form field, by its `family`. A newer server can add families: read one your client doesn't know as `unknown`, + # keeping the fields every field has, with `rawValue` an empty string when the body has none. class FormField < Internal::Types::Model extend CloudPDF::Internal::Types::Union - discriminant :family + discriminant :kind member -> { CloudPDF::Types::FormFieldText }, key: "TEXT" diff --git a/lib/CloudPDF/types/form_field_checkbox.rb b/lib/CloudPDF/types/form_field_checkbox.rb index 5d384d7a..5cf9293b 100644 --- a/lib/CloudPDF/types/form_field_checkbox.rb +++ b/lib/CloudPDF/types/form_field_checkbox.rb @@ -19,9 +19,9 @@ class FormFieldCheckbox < Internal::Types::Model field :mapping_name, -> { String }, optional: false, nullable: true, api_name: "mappingName" - field :value_entry, -> { CloudPDF::Types::FormFieldCheckboxValueEntry }, optional: false, nullable: false, api_name: "valueEntry" + field :value_entry, -> { CloudPDF::Types::FormValueEntry }, optional: false, nullable: false, api_name: "valueEntry" - field :default_value_entry, -> { CloudPDF::Types::FormFieldCheckboxDefaultValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" + field :default_value_entry, -> { CloudPDF::Types::FormValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" field :actions, -> { CloudPDF::Types::PdfFieldActions }, optional: true, nullable: false diff --git a/lib/CloudPDF/types/form_field_checkbox_default_value_entry.rb b/lib/CloudPDF/types/form_field_checkbox_default_value_entry.rb deleted file mode 100644 index acbcc10d..00000000 --- a/lib/CloudPDF/types/form_field_checkbox_default_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldCheckboxDefaultValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::FormFieldCheckboxDefaultValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::FormFieldCheckboxDefaultValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::FormFieldCheckboxDefaultValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::FormFieldCheckboxDefaultValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/form_field_checkbox_default_value_entry_array.rb b/lib/CloudPDF/types/form_field_checkbox_default_value_entry_array.rb deleted file mode 100644 index 126c5c35..00000000 --- a/lib/CloudPDF/types/form_field_checkbox_default_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldCheckboxDefaultValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_checkbox_default_value_entry_none.rb b/lib/CloudPDF/types/form_field_checkbox_default_value_entry_none.rb deleted file mode 100644 index 30b8465a..00000000 --- a/lib/CloudPDF/types/form_field_checkbox_default_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldCheckboxDefaultValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_checkbox_default_value_entry_scalar.rb b/lib/CloudPDF/types/form_field_checkbox_default_value_entry_scalar.rb deleted file mode 100644 index ba7e4ec6..00000000 --- a/lib/CloudPDF/types/form_field_checkbox_default_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldCheckboxDefaultValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_checkbox_default_value_entry_unsupported.rb b/lib/CloudPDF/types/form_field_checkbox_default_value_entry_unsupported.rb deleted file mode 100644 index 47c52a72..00000000 --- a/lib/CloudPDF/types/form_field_checkbox_default_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldCheckboxDefaultValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_checkbox_value_entry.rb b/lib/CloudPDF/types/form_field_checkbox_value_entry.rb deleted file mode 100644 index f84b0f15..00000000 --- a/lib/CloudPDF/types/form_field_checkbox_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldCheckboxValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::FormFieldCheckboxValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::FormFieldCheckboxValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::FormFieldCheckboxValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::FormFieldCheckboxValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/form_field_checkbox_value_entry_array.rb b/lib/CloudPDF/types/form_field_checkbox_value_entry_array.rb deleted file mode 100644 index 01b6ce83..00000000 --- a/lib/CloudPDF/types/form_field_checkbox_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldCheckboxValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_checkbox_value_entry_none.rb b/lib/CloudPDF/types/form_field_checkbox_value_entry_none.rb deleted file mode 100644 index aad62fd7..00000000 --- a/lib/CloudPDF/types/form_field_checkbox_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldCheckboxValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_checkbox_value_entry_scalar.rb b/lib/CloudPDF/types/form_field_checkbox_value_entry_scalar.rb deleted file mode 100644 index 14f70180..00000000 --- a/lib/CloudPDF/types/form_field_checkbox_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldCheckboxValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_checkbox_value_entry_unsupported.rb b/lib/CloudPDF/types/form_field_checkbox_value_entry_unsupported.rb deleted file mode 100644 index b91752af..00000000 --- a/lib/CloudPDF/types/form_field_checkbox_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldCheckboxValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_combobox.rb b/lib/CloudPDF/types/form_field_combobox.rb index 779927d1..7f50ba48 100644 --- a/lib/CloudPDF/types/form_field_combobox.rb +++ b/lib/CloudPDF/types/form_field_combobox.rb @@ -19,9 +19,9 @@ class FormFieldCombobox < Internal::Types::Model field :mapping_name, -> { String }, optional: false, nullable: true, api_name: "mappingName" - field :value_entry, -> { CloudPDF::Types::FormFieldComboboxValueEntry }, optional: false, nullable: false, api_name: "valueEntry" + field :value_entry, -> { CloudPDF::Types::FormValueEntry }, optional: false, nullable: false, api_name: "valueEntry" - field :default_value_entry, -> { CloudPDF::Types::FormFieldComboboxDefaultValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" + field :default_value_entry, -> { CloudPDF::Types::FormValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" field :actions, -> { CloudPDF::Types::PdfFieldActions }, optional: true, nullable: false diff --git a/lib/CloudPDF/types/form_field_combobox_default_value_entry.rb b/lib/CloudPDF/types/form_field_combobox_default_value_entry.rb deleted file mode 100644 index 46c07e0e..00000000 --- a/lib/CloudPDF/types/form_field_combobox_default_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldComboboxDefaultValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::FormFieldComboboxDefaultValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::FormFieldComboboxDefaultValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::FormFieldComboboxDefaultValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::FormFieldComboboxDefaultValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/form_field_combobox_default_value_entry_array.rb b/lib/CloudPDF/types/form_field_combobox_default_value_entry_array.rb deleted file mode 100644 index 85783b74..00000000 --- a/lib/CloudPDF/types/form_field_combobox_default_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldComboboxDefaultValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_combobox_default_value_entry_none.rb b/lib/CloudPDF/types/form_field_combobox_default_value_entry_none.rb deleted file mode 100644 index 019f5fca..00000000 --- a/lib/CloudPDF/types/form_field_combobox_default_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldComboboxDefaultValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_combobox_default_value_entry_scalar.rb b/lib/CloudPDF/types/form_field_combobox_default_value_entry_scalar.rb deleted file mode 100644 index bed921a6..00000000 --- a/lib/CloudPDF/types/form_field_combobox_default_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldComboboxDefaultValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_combobox_default_value_entry_unsupported.rb b/lib/CloudPDF/types/form_field_combobox_default_value_entry_unsupported.rb deleted file mode 100644 index 979e6448..00000000 --- a/lib/CloudPDF/types/form_field_combobox_default_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldComboboxDefaultValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_combobox_value_entry.rb b/lib/CloudPDF/types/form_field_combobox_value_entry.rb deleted file mode 100644 index cd7af7d8..00000000 --- a/lib/CloudPDF/types/form_field_combobox_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldComboboxValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::FormFieldComboboxValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::FormFieldComboboxValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::FormFieldComboboxValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::FormFieldComboboxValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/form_field_combobox_value_entry_array.rb b/lib/CloudPDF/types/form_field_combobox_value_entry_array.rb deleted file mode 100644 index 08110454..00000000 --- a/lib/CloudPDF/types/form_field_combobox_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldComboboxValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_combobox_value_entry_none.rb b/lib/CloudPDF/types/form_field_combobox_value_entry_none.rb deleted file mode 100644 index c5e7645c..00000000 --- a/lib/CloudPDF/types/form_field_combobox_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldComboboxValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_combobox_value_entry_scalar.rb b/lib/CloudPDF/types/form_field_combobox_value_entry_scalar.rb deleted file mode 100644 index 35973d5c..00000000 --- a/lib/CloudPDF/types/form_field_combobox_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldComboboxValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_combobox_value_entry_unsupported.rb b/lib/CloudPDF/types/form_field_combobox_value_entry_unsupported.rb deleted file mode 100644 index e332f146..00000000 --- a/lib/CloudPDF/types/form_field_combobox_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldComboboxValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_draft.rb b/lib/CloudPDF/types/form_field_draft.rb index e048bb3a..320b6929 100644 --- a/lib/CloudPDF/types/form_field_draft.rb +++ b/lib/CloudPDF/types/form_field_draft.rb @@ -5,7 +5,7 @@ module Types class FormFieldDraft < Internal::Types::Model extend CloudPDF::Internal::Types::Union - discriminant :family + discriminant :kind member -> { CloudPDF::Types::FormFieldDraftText }, key: "TEXT" diff --git a/lib/CloudPDF/types/form_field_listbox.rb b/lib/CloudPDF/types/form_field_listbox.rb index 22b6963a..57207360 100644 --- a/lib/CloudPDF/types/form_field_listbox.rb +++ b/lib/CloudPDF/types/form_field_listbox.rb @@ -19,9 +19,9 @@ class FormFieldListbox < Internal::Types::Model field :mapping_name, -> { String }, optional: false, nullable: true, api_name: "mappingName" - field :value_entry, -> { CloudPDF::Types::FormFieldListboxValueEntry }, optional: false, nullable: false, api_name: "valueEntry" + field :value_entry, -> { CloudPDF::Types::FormValueEntry }, optional: false, nullable: false, api_name: "valueEntry" - field :default_value_entry, -> { CloudPDF::Types::FormFieldListboxDefaultValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" + field :default_value_entry, -> { CloudPDF::Types::FormValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" field :actions, -> { CloudPDF::Types::PdfFieldActions }, optional: true, nullable: false diff --git a/lib/CloudPDF/types/form_field_listbox_default_value_entry.rb b/lib/CloudPDF/types/form_field_listbox_default_value_entry.rb deleted file mode 100644 index 75cf7ed8..00000000 --- a/lib/CloudPDF/types/form_field_listbox_default_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldListboxDefaultValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::FormFieldListboxDefaultValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::FormFieldListboxDefaultValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::FormFieldListboxDefaultValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::FormFieldListboxDefaultValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/form_field_listbox_default_value_entry_array.rb b/lib/CloudPDF/types/form_field_listbox_default_value_entry_array.rb deleted file mode 100644 index 830de95a..00000000 --- a/lib/CloudPDF/types/form_field_listbox_default_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldListboxDefaultValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_listbox_default_value_entry_none.rb b/lib/CloudPDF/types/form_field_listbox_default_value_entry_none.rb deleted file mode 100644 index 7078be64..00000000 --- a/lib/CloudPDF/types/form_field_listbox_default_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldListboxDefaultValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_listbox_default_value_entry_scalar.rb b/lib/CloudPDF/types/form_field_listbox_default_value_entry_scalar.rb deleted file mode 100644 index 45f9ac17..00000000 --- a/lib/CloudPDF/types/form_field_listbox_default_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldListboxDefaultValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_listbox_default_value_entry_unsupported.rb b/lib/CloudPDF/types/form_field_listbox_default_value_entry_unsupported.rb deleted file mode 100644 index 79744159..00000000 --- a/lib/CloudPDF/types/form_field_listbox_default_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldListboxDefaultValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_listbox_value_entry.rb b/lib/CloudPDF/types/form_field_listbox_value_entry.rb deleted file mode 100644 index e6ad9129..00000000 --- a/lib/CloudPDF/types/form_field_listbox_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldListboxValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::FormFieldListboxValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::FormFieldListboxValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::FormFieldListboxValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::FormFieldListboxValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/form_field_listbox_value_entry_array.rb b/lib/CloudPDF/types/form_field_listbox_value_entry_array.rb deleted file mode 100644 index 0c455065..00000000 --- a/lib/CloudPDF/types/form_field_listbox_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldListboxValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_listbox_value_entry_none.rb b/lib/CloudPDF/types/form_field_listbox_value_entry_none.rb deleted file mode 100644 index 258c6698..00000000 --- a/lib/CloudPDF/types/form_field_listbox_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldListboxValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_listbox_value_entry_scalar.rb b/lib/CloudPDF/types/form_field_listbox_value_entry_scalar.rb deleted file mode 100644 index 969f7471..00000000 --- a/lib/CloudPDF/types/form_field_listbox_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldListboxValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_listbox_value_entry_unsupported.rb b/lib/CloudPDF/types/form_field_listbox_value_entry_unsupported.rb deleted file mode 100644 index f7c9a375..00000000 --- a/lib/CloudPDF/types/form_field_listbox_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldListboxValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_patch.rb b/lib/CloudPDF/types/form_field_patch.rb index 234c35ed..4d27d39d 100644 --- a/lib/CloudPDF/types/form_field_patch.rb +++ b/lib/CloudPDF/types/form_field_patch.rb @@ -19,7 +19,7 @@ class FormFieldPatch < Internal::Types::Model field :actions, -> { CloudPDF::Types::FieldActionsPatch }, optional: true, nullable: false - field :family, -> { CloudPDF::Types::FormFieldPatchFamily }, optional: true, nullable: false + field :kind, -> { CloudPDF::Types::FormFieldPatchKind }, optional: true, nullable: false field :default_value, -> { CloudPDF::Types::FormFieldPatchDefaultValue }, optional: true, nullable: false, api_name: "defaultValue" diff --git a/lib/CloudPDF/types/form_field_patch_family.rb b/lib/CloudPDF/types/form_field_patch_family.rb deleted file mode 100644 index 956e5b48..00000000 --- a/lib/CloudPDF/types/form_field_patch_family.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module FormFieldPatchFamily - extend CloudPDF::Internal::Types::Enum - - TEXT = "text" - CHECKBOX = "checkbox" - RADIO = "radio" - COMBOBOX = "combobox" - LISTBOX = "listbox" - PUSHBUTTON = "pushbutton" - SIGNATURE = "signature" - end - end -end diff --git a/lib/CloudPDF/types/form_field_patch_kind.rb b/lib/CloudPDF/types/form_field_patch_kind.rb new file mode 100644 index 00000000..17abf91f --- /dev/null +++ b/lib/CloudPDF/types/form_field_patch_kind.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module FormFieldPatchKind + extend CloudPDF::Internal::Types::Enum + + TEXT = "text" + CHECKBOX = "checkbox" + RADIO = "radio" + COMBOBOX = "combobox" + LISTBOX = "listbox" + PUSHBUTTON = "pushbutton" + SIGNATURE = "signature" + end + end +end diff --git a/lib/CloudPDF/types/form_field_pushbutton.rb b/lib/CloudPDF/types/form_field_pushbutton.rb index bd85b4a0..185480d4 100644 --- a/lib/CloudPDF/types/form_field_pushbutton.rb +++ b/lib/CloudPDF/types/form_field_pushbutton.rb @@ -19,9 +19,9 @@ class FormFieldPushbutton < Internal::Types::Model field :mapping_name, -> { String }, optional: false, nullable: true, api_name: "mappingName" - field :value_entry, -> { CloudPDF::Types::FormFieldPushbuttonValueEntry }, optional: false, nullable: false, api_name: "valueEntry" + field :value_entry, -> { CloudPDF::Types::FormValueEntry }, optional: false, nullable: false, api_name: "valueEntry" - field :default_value_entry, -> { CloudPDF::Types::FormFieldPushbuttonDefaultValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" + field :default_value_entry, -> { CloudPDF::Types::FormValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" field :actions, -> { CloudPDF::Types::PdfFieldActions }, optional: true, nullable: false diff --git a/lib/CloudPDF/types/form_field_pushbutton_default_value_entry.rb b/lib/CloudPDF/types/form_field_pushbutton_default_value_entry.rb deleted file mode 100644 index 67e18a3e..00000000 --- a/lib/CloudPDF/types/form_field_pushbutton_default_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldPushbuttonDefaultValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::FormFieldPushbuttonDefaultValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::FormFieldPushbuttonDefaultValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::FormFieldPushbuttonDefaultValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::FormFieldPushbuttonDefaultValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/form_field_pushbutton_default_value_entry_array.rb b/lib/CloudPDF/types/form_field_pushbutton_default_value_entry_array.rb deleted file mode 100644 index 906db17f..00000000 --- a/lib/CloudPDF/types/form_field_pushbutton_default_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldPushbuttonDefaultValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_pushbutton_default_value_entry_none.rb b/lib/CloudPDF/types/form_field_pushbutton_default_value_entry_none.rb deleted file mode 100644 index a292fac1..00000000 --- a/lib/CloudPDF/types/form_field_pushbutton_default_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldPushbuttonDefaultValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_pushbutton_default_value_entry_scalar.rb b/lib/CloudPDF/types/form_field_pushbutton_default_value_entry_scalar.rb deleted file mode 100644 index 2b99857a..00000000 --- a/lib/CloudPDF/types/form_field_pushbutton_default_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldPushbuttonDefaultValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_pushbutton_default_value_entry_unsupported.rb b/lib/CloudPDF/types/form_field_pushbutton_default_value_entry_unsupported.rb deleted file mode 100644 index 4f8a70d2..00000000 --- a/lib/CloudPDF/types/form_field_pushbutton_default_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldPushbuttonDefaultValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_pushbutton_value_entry.rb b/lib/CloudPDF/types/form_field_pushbutton_value_entry.rb deleted file mode 100644 index 9550c68f..00000000 --- a/lib/CloudPDF/types/form_field_pushbutton_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldPushbuttonValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::FormFieldPushbuttonValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::FormFieldPushbuttonValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::FormFieldPushbuttonValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::FormFieldPushbuttonValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/form_field_pushbutton_value_entry_array.rb b/lib/CloudPDF/types/form_field_pushbutton_value_entry_array.rb deleted file mode 100644 index c5cf30c0..00000000 --- a/lib/CloudPDF/types/form_field_pushbutton_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldPushbuttonValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_pushbutton_value_entry_none.rb b/lib/CloudPDF/types/form_field_pushbutton_value_entry_none.rb deleted file mode 100644 index 8e647ee3..00000000 --- a/lib/CloudPDF/types/form_field_pushbutton_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldPushbuttonValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_pushbutton_value_entry_scalar.rb b/lib/CloudPDF/types/form_field_pushbutton_value_entry_scalar.rb deleted file mode 100644 index 76c05eb3..00000000 --- a/lib/CloudPDF/types/form_field_pushbutton_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldPushbuttonValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_pushbutton_value_entry_unsupported.rb b/lib/CloudPDF/types/form_field_pushbutton_value_entry_unsupported.rb deleted file mode 100644 index 14f14978..00000000 --- a/lib/CloudPDF/types/form_field_pushbutton_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldPushbuttonValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_radio.rb b/lib/CloudPDF/types/form_field_radio.rb index da61ba45..de5147b6 100644 --- a/lib/CloudPDF/types/form_field_radio.rb +++ b/lib/CloudPDF/types/form_field_radio.rb @@ -19,9 +19,9 @@ class FormFieldRadio < Internal::Types::Model field :mapping_name, -> { String }, optional: false, nullable: true, api_name: "mappingName" - field :value_entry, -> { CloudPDF::Types::FormFieldRadioValueEntry }, optional: false, nullable: false, api_name: "valueEntry" + field :value_entry, -> { CloudPDF::Types::FormValueEntry }, optional: false, nullable: false, api_name: "valueEntry" - field :default_value_entry, -> { CloudPDF::Types::FormFieldRadioDefaultValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" + field :default_value_entry, -> { CloudPDF::Types::FormValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" field :actions, -> { CloudPDF::Types::PdfFieldActions }, optional: true, nullable: false diff --git a/lib/CloudPDF/types/form_field_radio_default_value_entry.rb b/lib/CloudPDF/types/form_field_radio_default_value_entry.rb deleted file mode 100644 index 7fa9e73e..00000000 --- a/lib/CloudPDF/types/form_field_radio_default_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldRadioDefaultValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::FormFieldRadioDefaultValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::FormFieldRadioDefaultValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::FormFieldRadioDefaultValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::FormFieldRadioDefaultValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/form_field_radio_default_value_entry_array.rb b/lib/CloudPDF/types/form_field_radio_default_value_entry_array.rb deleted file mode 100644 index db42338e..00000000 --- a/lib/CloudPDF/types/form_field_radio_default_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldRadioDefaultValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_radio_default_value_entry_none.rb b/lib/CloudPDF/types/form_field_radio_default_value_entry_none.rb deleted file mode 100644 index 7b8fdbe7..00000000 --- a/lib/CloudPDF/types/form_field_radio_default_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldRadioDefaultValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_radio_default_value_entry_scalar.rb b/lib/CloudPDF/types/form_field_radio_default_value_entry_scalar.rb deleted file mode 100644 index bee72563..00000000 --- a/lib/CloudPDF/types/form_field_radio_default_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldRadioDefaultValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_radio_default_value_entry_unsupported.rb b/lib/CloudPDF/types/form_field_radio_default_value_entry_unsupported.rb deleted file mode 100644 index facc4695..00000000 --- a/lib/CloudPDF/types/form_field_radio_default_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldRadioDefaultValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_radio_value_entry.rb b/lib/CloudPDF/types/form_field_radio_value_entry.rb deleted file mode 100644 index 5fef85a3..00000000 --- a/lib/CloudPDF/types/form_field_radio_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldRadioValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::FormFieldRadioValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::FormFieldRadioValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::FormFieldRadioValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::FormFieldRadioValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/form_field_radio_value_entry_array.rb b/lib/CloudPDF/types/form_field_radio_value_entry_array.rb deleted file mode 100644 index ae29a2dc..00000000 --- a/lib/CloudPDF/types/form_field_radio_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldRadioValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_radio_value_entry_none.rb b/lib/CloudPDF/types/form_field_radio_value_entry_none.rb deleted file mode 100644 index 4a3022be..00000000 --- a/lib/CloudPDF/types/form_field_radio_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldRadioValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_radio_value_entry_scalar.rb b/lib/CloudPDF/types/form_field_radio_value_entry_scalar.rb deleted file mode 100644 index 242423de..00000000 --- a/lib/CloudPDF/types/form_field_radio_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldRadioValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_radio_value_entry_unsupported.rb b/lib/CloudPDF/types/form_field_radio_value_entry_unsupported.rb deleted file mode 100644 index 5f166c0a..00000000 --- a/lib/CloudPDF/types/form_field_radio_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldRadioValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_signature.rb b/lib/CloudPDF/types/form_field_signature.rb index c70d1708..9cd96dea 100644 --- a/lib/CloudPDF/types/form_field_signature.rb +++ b/lib/CloudPDF/types/form_field_signature.rb @@ -19,9 +19,9 @@ class FormFieldSignature < Internal::Types::Model field :mapping_name, -> { String }, optional: false, nullable: true, api_name: "mappingName" - field :value_entry, -> { CloudPDF::Types::FormFieldSignatureValueEntry }, optional: false, nullable: false, api_name: "valueEntry" + field :value_entry, -> { CloudPDF::Types::FormValueEntry }, optional: false, nullable: false, api_name: "valueEntry" - field :default_value_entry, -> { CloudPDF::Types::FormFieldSignatureDefaultValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" + field :default_value_entry, -> { CloudPDF::Types::FormValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" field :actions, -> { CloudPDF::Types::PdfFieldActions }, optional: true, nullable: false diff --git a/lib/CloudPDF/types/form_field_signature_default_value_entry.rb b/lib/CloudPDF/types/form_field_signature_default_value_entry.rb deleted file mode 100644 index 89563b0e..00000000 --- a/lib/CloudPDF/types/form_field_signature_default_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldSignatureDefaultValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::FormFieldSignatureDefaultValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::FormFieldSignatureDefaultValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::FormFieldSignatureDefaultValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::FormFieldSignatureDefaultValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/form_field_signature_default_value_entry_array.rb b/lib/CloudPDF/types/form_field_signature_default_value_entry_array.rb deleted file mode 100644 index 205f8b46..00000000 --- a/lib/CloudPDF/types/form_field_signature_default_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldSignatureDefaultValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_signature_default_value_entry_none.rb b/lib/CloudPDF/types/form_field_signature_default_value_entry_none.rb deleted file mode 100644 index aee3b4c6..00000000 --- a/lib/CloudPDF/types/form_field_signature_default_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldSignatureDefaultValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_signature_default_value_entry_scalar.rb b/lib/CloudPDF/types/form_field_signature_default_value_entry_scalar.rb deleted file mode 100644 index 664041ee..00000000 --- a/lib/CloudPDF/types/form_field_signature_default_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldSignatureDefaultValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_signature_default_value_entry_unsupported.rb b/lib/CloudPDF/types/form_field_signature_default_value_entry_unsupported.rb deleted file mode 100644 index 844f533e..00000000 --- a/lib/CloudPDF/types/form_field_signature_default_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldSignatureDefaultValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_signature_value_entry.rb b/lib/CloudPDF/types/form_field_signature_value_entry.rb deleted file mode 100644 index 40f7f2f0..00000000 --- a/lib/CloudPDF/types/form_field_signature_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldSignatureValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::FormFieldSignatureValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::FormFieldSignatureValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::FormFieldSignatureValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::FormFieldSignatureValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/form_field_signature_value_entry_array.rb b/lib/CloudPDF/types/form_field_signature_value_entry_array.rb deleted file mode 100644 index 7292046d..00000000 --- a/lib/CloudPDF/types/form_field_signature_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldSignatureValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_signature_value_entry_none.rb b/lib/CloudPDF/types/form_field_signature_value_entry_none.rb deleted file mode 100644 index 346b9a69..00000000 --- a/lib/CloudPDF/types/form_field_signature_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldSignatureValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_signature_value_entry_scalar.rb b/lib/CloudPDF/types/form_field_signature_value_entry_scalar.rb deleted file mode 100644 index 40beb835..00000000 --- a/lib/CloudPDF/types/form_field_signature_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldSignatureValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_signature_value_entry_unsupported.rb b/lib/CloudPDF/types/form_field_signature_value_entry_unsupported.rb deleted file mode 100644 index 0397ac3d..00000000 --- a/lib/CloudPDF/types/form_field_signature_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldSignatureValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_text.rb b/lib/CloudPDF/types/form_field_text.rb index 7cbd8c26..3bf5b9e9 100644 --- a/lib/CloudPDF/types/form_field_text.rb +++ b/lib/CloudPDF/types/form_field_text.rb @@ -19,9 +19,9 @@ class FormFieldText < Internal::Types::Model field :mapping_name, -> { String }, optional: false, nullable: true, api_name: "mappingName" - field :value_entry, -> { CloudPDF::Types::FormFieldTextValueEntry }, optional: false, nullable: false, api_name: "valueEntry" + field :value_entry, -> { CloudPDF::Types::FormValueEntry }, optional: false, nullable: false, api_name: "valueEntry" - field :default_value_entry, -> { CloudPDF::Types::FormFieldTextDefaultValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" + field :default_value_entry, -> { CloudPDF::Types::FormValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" field :actions, -> { CloudPDF::Types::PdfFieldActions }, optional: true, nullable: false diff --git a/lib/CloudPDF/types/form_field_text_default_value_entry.rb b/lib/CloudPDF/types/form_field_text_default_value_entry.rb deleted file mode 100644 index 17d0e53b..00000000 --- a/lib/CloudPDF/types/form_field_text_default_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldTextDefaultValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::FormFieldTextDefaultValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::FormFieldTextDefaultValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::FormFieldTextDefaultValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::FormFieldTextDefaultValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/form_field_text_default_value_entry_array.rb b/lib/CloudPDF/types/form_field_text_default_value_entry_array.rb deleted file mode 100644 index f9a6624f..00000000 --- a/lib/CloudPDF/types/form_field_text_default_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldTextDefaultValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_text_default_value_entry_none.rb b/lib/CloudPDF/types/form_field_text_default_value_entry_none.rb deleted file mode 100644 index 38c71e44..00000000 --- a/lib/CloudPDF/types/form_field_text_default_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldTextDefaultValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_text_default_value_entry_scalar.rb b/lib/CloudPDF/types/form_field_text_default_value_entry_scalar.rb deleted file mode 100644 index 3a276272..00000000 --- a/lib/CloudPDF/types/form_field_text_default_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldTextDefaultValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_text_default_value_entry_unsupported.rb b/lib/CloudPDF/types/form_field_text_default_value_entry_unsupported.rb deleted file mode 100644 index 9b50951a..00000000 --- a/lib/CloudPDF/types/form_field_text_default_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldTextDefaultValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_text_value_entry.rb b/lib/CloudPDF/types/form_field_text_value_entry.rb deleted file mode 100644 index 703e6b7c..00000000 --- a/lib/CloudPDF/types/form_field_text_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldTextValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::FormFieldTextValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::FormFieldTextValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::FormFieldTextValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::FormFieldTextValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/form_field_text_value_entry_array.rb b/lib/CloudPDF/types/form_field_text_value_entry_array.rb deleted file mode 100644 index 831f3143..00000000 --- a/lib/CloudPDF/types/form_field_text_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldTextValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_text_value_entry_none.rb b/lib/CloudPDF/types/form_field_text_value_entry_none.rb deleted file mode 100644 index 9b2af9b0..00000000 --- a/lib/CloudPDF/types/form_field_text_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldTextValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_text_value_entry_scalar.rb b/lib/CloudPDF/types/form_field_text_value_entry_scalar.rb deleted file mode 100644 index 80dd3fdf..00000000 --- a/lib/CloudPDF/types/form_field_text_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldTextValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_text_value_entry_unsupported.rb b/lib/CloudPDF/types/form_field_text_value_entry_unsupported.rb deleted file mode 100644 index de57b95a..00000000 --- a/lib/CloudPDF/types/form_field_text_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldTextValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_unknown.rb b/lib/CloudPDF/types/form_field_unknown.rb index b46eec89..a92f6ff6 100644 --- a/lib/CloudPDF/types/form_field_unknown.rb +++ b/lib/CloudPDF/types/form_field_unknown.rb @@ -19,9 +19,9 @@ class FormFieldUnknown < Internal::Types::Model field :mapping_name, -> { String }, optional: false, nullable: true, api_name: "mappingName" - field :value_entry, -> { CloudPDF::Types::FormFieldUnknownValueEntry }, optional: false, nullable: false, api_name: "valueEntry" + field :value_entry, -> { CloudPDF::Types::FormValueEntry }, optional: false, nullable: false, api_name: "valueEntry" - field :default_value_entry, -> { CloudPDF::Types::FormFieldUnknownDefaultValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" + field :default_value_entry, -> { CloudPDF::Types::FormValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" field :actions, -> { CloudPDF::Types::PdfFieldActions }, optional: true, nullable: false diff --git a/lib/CloudPDF/types/form_field_unknown_default_value_entry.rb b/lib/CloudPDF/types/form_field_unknown_default_value_entry.rb deleted file mode 100644 index e5063c4a..00000000 --- a/lib/CloudPDF/types/form_field_unknown_default_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldUnknownDefaultValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::FormFieldUnknownDefaultValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::FormFieldUnknownDefaultValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::FormFieldUnknownDefaultValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::FormFieldUnknownDefaultValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/form_field_unknown_default_value_entry_array.rb b/lib/CloudPDF/types/form_field_unknown_default_value_entry_array.rb deleted file mode 100644 index 780aef69..00000000 --- a/lib/CloudPDF/types/form_field_unknown_default_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldUnknownDefaultValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_unknown_default_value_entry_none.rb b/lib/CloudPDF/types/form_field_unknown_default_value_entry_none.rb deleted file mode 100644 index a596c789..00000000 --- a/lib/CloudPDF/types/form_field_unknown_default_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldUnknownDefaultValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_unknown_default_value_entry_scalar.rb b/lib/CloudPDF/types/form_field_unknown_default_value_entry_scalar.rb deleted file mode 100644 index 2904c654..00000000 --- a/lib/CloudPDF/types/form_field_unknown_default_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldUnknownDefaultValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_unknown_default_value_entry_unsupported.rb b/lib/CloudPDF/types/form_field_unknown_default_value_entry_unsupported.rb deleted file mode 100644 index 94a5a268..00000000 --- a/lib/CloudPDF/types/form_field_unknown_default_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldUnknownDefaultValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_unknown_value_entry.rb b/lib/CloudPDF/types/form_field_unknown_value_entry.rb deleted file mode 100644 index 78f0cd07..00000000 --- a/lib/CloudPDF/types/form_field_unknown_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldUnknownValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::FormFieldUnknownValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::FormFieldUnknownValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::FormFieldUnknownValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::FormFieldUnknownValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/form_field_unknown_value_entry_array.rb b/lib/CloudPDF/types/form_field_unknown_value_entry_array.rb deleted file mode 100644 index 48a4678f..00000000 --- a/lib/CloudPDF/types/form_field_unknown_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldUnknownValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_unknown_value_entry_none.rb b/lib/CloudPDF/types/form_field_unknown_value_entry_none.rb deleted file mode 100644 index 420c9d87..00000000 --- a/lib/CloudPDF/types/form_field_unknown_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldUnknownValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_field_unknown_value_entry_scalar.rb b/lib/CloudPDF/types/form_field_unknown_value_entry_scalar.rb deleted file mode 100644 index b6805d68..00000000 --- a/lib/CloudPDF/types/form_field_unknown_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldUnknownValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/form_field_unknown_value_entry_unsupported.rb b/lib/CloudPDF/types/form_field_unknown_value_entry_unsupported.rb deleted file mode 100644 index b74f08e4..00000000 --- a/lib/CloudPDF/types/form_field_unknown_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class FormFieldUnknownValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/form_value_entry.rb b/lib/CloudPDF/types/form_value_entry.rb new file mode 100644 index 00000000..d02e5441 --- /dev/null +++ b/lib/CloudPDF/types/form_value_entry.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + # A field's stored value, by its `kind`. A newer server can add kinds: read one your client doesn't know as + # `unsupported`. + class FormValueEntry < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :kind + + member -> { CloudPDF::Types::FormValueEntryNone }, key: "NONE" + + member -> { CloudPDF::Types::FormValueEntryScalar }, key: "SCALAR" + + member -> { CloudPDF::Types::FormValueEntryArray }, key: "ARRAY" + + member -> { CloudPDF::Types::FormValueEntryUnsupported }, key: "UNSUPPORTED" + end + end +end diff --git a/lib/CloudPDF/types/form_value_entry_array.rb b/lib/CloudPDF/types/form_value_entry_array.rb new file mode 100644 index 00000000..858785c2 --- /dev/null +++ b/lib/CloudPDF/types/form_value_entry_array.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormValueEntryArray < Internal::Types::Model + field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/form_value_entry_none.rb b/lib/CloudPDF/types/form_value_entry_none.rb new file mode 100644 index 00000000..7098fb85 --- /dev/null +++ b/lib/CloudPDF/types/form_value_entry_none.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormValueEntryNone < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/form_value_entry_scalar.rb b/lib/CloudPDF/types/form_value_entry_scalar.rb new file mode 100644 index 00000000..5f856b1b --- /dev/null +++ b/lib/CloudPDF/types/form_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormValueEntryScalar < Internal::Types::Model + field :value, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/form_value_entry_unsupported.rb b/lib/CloudPDF/types/form_value_entry_unsupported.rb new file mode 100644 index 00000000..bd9e8f7a --- /dev/null +++ b/lib/CloudPDF/types/form_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormValueEntryUnsupported < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/grants_archive200response.rb b/lib/CloudPDF/types/grants_archive200response.rb deleted file mode 100644 index 7595a51a..00000000 --- a/lib/CloudPDF/types/grants_archive200response.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class GrantsArchive200Response < Internal::Types::Model - field :grant, -> { CloudPDF::Types::GrantsArchive200ResponseGrant }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/grants_archive200response_grant.rb b/lib/CloudPDF/types/grants_archive200response_grant.rb deleted file mode 100644 index 56ed6a04..00000000 --- a/lib/CloudPDF/types/grants_archive200response_grant.rb +++ /dev/null @@ -1,51 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class GrantsArchive200ResponseGrant < Internal::Types::Model - field :id, -> { String }, optional: false, nullable: false - - field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" - - field :doc_id, -> { String }, optional: false, nullable: false, api_name: "docId" - - field :name, -> { String }, optional: false, nullable: true - - field :layer_mode, -> { CloudPDF::Types::GrantsArchive200ResponseGrantLayerMode }, optional: false, nullable: false, api_name: "layerMode" - - field :layer_name, -> { String }, optional: false, nullable: true, api_name: "layerName" - - field :keep_visitor_layers, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "keepVisitorLayers" - - field :visitor_idle_seconds, -> { Integer }, optional: false, nullable: true, api_name: "visitorIdleSeconds" - - field :visitor_identity, -> { CloudPDF::Types::GrantsArchive200ResponseGrantVisitorIdentity }, optional: false, nullable: true, api_name: "visitorIdentity" - - field :identity, -> { CloudPDF::Types::Identity }, optional: false, nullable: true - - field :scope, -> { Internal::Types::Array[String] }, optional: false, nullable: false - - field :origins, -> { Internal::Types::Array[String] }, optional: false, nullable: true - - field :passphrase_protected, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "passphraseProtected" - - field :session_ttl_seconds, -> { Integer }, optional: false, nullable: false, api_name: "sessionTtlSeconds" - - field :disabled, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :archived_at, -> { Integer }, optional: false, nullable: true, api_name: "archivedAt" - - field :expires_at, -> { Integer }, optional: false, nullable: true, api_name: "expiresAt" - - field :exchange_count, -> { Integer }, optional: false, nullable: false, api_name: "exchangeCount" - - field :last_exchanged_at, -> { Integer }, optional: false, nullable: true, api_name: "lastExchangedAt" - - field :created_by, -> { String }, optional: false, nullable: false, api_name: "createdBy" - - field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" - - field :updated_at, -> { Integer }, optional: false, nullable: false, api_name: "updatedAt" - end - end -end diff --git a/lib/CloudPDF/types/grants_archive200response_grant_layer_mode.rb b/lib/CloudPDF/types/grants_archive200response_grant_layer_mode.rb deleted file mode 100644 index 6e187678..00000000 --- a/lib/CloudPDF/types/grants_archive200response_grant_layer_mode.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsArchive200ResponseGrantLayerMode - extend CloudPDF::Internal::Types::Enum - - SHARED = "shared" - PER_VISITOR = "per-visitor" - end - end -end diff --git a/lib/CloudPDF/types/grants_archive200response_grant_visitor_identity.rb b/lib/CloudPDF/types/grants_archive200response_grant_visitor_identity.rb deleted file mode 100644 index 1d65a9f3..00000000 --- a/lib/CloudPDF/types/grants_archive200response_grant_visitor_identity.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class GrantsArchive200ResponseGrantVisitorIdentity < Internal::Types::Model - field :fields, -> { CloudPDF::Types::GrantsArchive200ResponseGrantVisitorIdentityFields }, optional: false, nullable: false - - field :ask, -> { CloudPDF::Types::GrantsArchive200ResponseGrantVisitorIdentityAsk }, optional: false, nullable: false - - field :purpose, -> { String }, optional: true, nullable: false - - field :privacy_url, -> { String }, optional: true, nullable: false, api_name: "privacyUrl" - end - end -end diff --git a/lib/CloudPDF/types/grants_archive200response_grant_visitor_identity_ask.rb b/lib/CloudPDF/types/grants_archive200response_grant_visitor_identity_ask.rb deleted file mode 100644 index 4a80e904..00000000 --- a/lib/CloudPDF/types/grants_archive200response_grant_visitor_identity_ask.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsArchive200ResponseGrantVisitorIdentityAsk - extend CloudPDF::Internal::Types::Enum - - ON_OPEN = "on-open" - BEFORE_FIRST_CHANGE = "before-first-change" - end - end -end diff --git a/lib/CloudPDF/types/grants_archive200response_grant_visitor_identity_fields.rb b/lib/CloudPDF/types/grants_archive200response_grant_visitor_identity_fields.rb deleted file mode 100644 index fb69e148..00000000 --- a/lib/CloudPDF/types/grants_archive200response_grant_visitor_identity_fields.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class GrantsArchive200ResponseGrantVisitorIdentityFields < Internal::Types::Model - field :display_name, -> { CloudPDF::Types::GrantsArchive200ResponseGrantVisitorIdentityFieldsDisplayName }, optional: true, nullable: false, api_name: "displayName" - - field :email, -> { CloudPDF::Types::GrantsArchive200ResponseGrantVisitorIdentityFieldsEmail }, optional: true, nullable: false - - field :title, -> { CloudPDF::Types::GrantsArchive200ResponseGrantVisitorIdentityFieldsTitle }, optional: true, nullable: false - - field :organization, -> { CloudPDF::Types::GrantsArchive200ResponseGrantVisitorIdentityFieldsOrganization }, optional: true, nullable: false - - field :organizational_unit, -> { CloudPDF::Types::GrantsArchive200ResponseGrantVisitorIdentityFieldsOrganizationalUnit }, optional: true, nullable: false, api_name: "organizationalUnit" - end - end -end diff --git a/lib/CloudPDF/types/grants_archive200response_grant_visitor_identity_fields_display_name.rb b/lib/CloudPDF/types/grants_archive200response_grant_visitor_identity_fields_display_name.rb deleted file mode 100644 index d56d2c6c..00000000 --- a/lib/CloudPDF/types/grants_archive200response_grant_visitor_identity_fields_display_name.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsArchive200ResponseGrantVisitorIdentityFieldsDisplayName - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_archive200response_grant_visitor_identity_fields_email.rb b/lib/CloudPDF/types/grants_archive200response_grant_visitor_identity_fields_email.rb deleted file mode 100644 index 7d3d9a33..00000000 --- a/lib/CloudPDF/types/grants_archive200response_grant_visitor_identity_fields_email.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsArchive200ResponseGrantVisitorIdentityFieldsEmail - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_archive200response_grant_visitor_identity_fields_organization.rb b/lib/CloudPDF/types/grants_archive200response_grant_visitor_identity_fields_organization.rb deleted file mode 100644 index 9768e852..00000000 --- a/lib/CloudPDF/types/grants_archive200response_grant_visitor_identity_fields_organization.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsArchive200ResponseGrantVisitorIdentityFieldsOrganization - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_archive200response_grant_visitor_identity_fields_organizational_unit.rb b/lib/CloudPDF/types/grants_archive200response_grant_visitor_identity_fields_organizational_unit.rb deleted file mode 100644 index c1916777..00000000 --- a/lib/CloudPDF/types/grants_archive200response_grant_visitor_identity_fields_organizational_unit.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsArchive200ResponseGrantVisitorIdentityFieldsOrganizationalUnit - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_archive200response_grant_visitor_identity_fields_title.rb b/lib/CloudPDF/types/grants_archive200response_grant_visitor_identity_fields_title.rb deleted file mode 100644 index 175faf13..00000000 --- a/lib/CloudPDF/types/grants_archive200response_grant_visitor_identity_fields_title.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsArchive200ResponseGrantVisitorIdentityFieldsTitle - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_archive404response.rb b/lib/CloudPDF/types/grants_archive404response.rb deleted file mode 100644 index c3189bab..00000000 --- a/lib/CloudPDF/types/grants_archive404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsArchive404Response - # GrantsArchive404Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/grants_archive_response.rb b/lib/CloudPDF/types/grants_archive_response.rb new file mode 100644 index 00000000..fd33b51e --- /dev/null +++ b/lib/CloudPDF/types/grants_archive_response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class GrantsArchiveResponse < Internal::Types::Model + field :grant, -> { CloudPDF::Types::GrantsArchiveResponseGrant }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/grants_archive_response_grant.rb b/lib/CloudPDF/types/grants_archive_response_grant.rb new file mode 100644 index 00000000..4db0d69c --- /dev/null +++ b/lib/CloudPDF/types/grants_archive_response_grant.rb @@ -0,0 +1,51 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class GrantsArchiveResponseGrant < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :doc_id, -> { String }, optional: false, nullable: false, api_name: "docId" + + field :name, -> { String }, optional: false, nullable: true + + field :layer_mode, -> { CloudPDF::Types::GrantsArchiveResponseGrantLayerMode }, optional: false, nullable: false, api_name: "layerMode" + + field :layer_name, -> { String }, optional: false, nullable: true, api_name: "layerName" + + field :keep_visitor_layers, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "keepVisitorLayers" + + field :visitor_idle_seconds, -> { Integer }, optional: false, nullable: true, api_name: "visitorIdleSeconds" + + field :visitor_identity, -> { CloudPDF::Types::GrantsArchiveResponseGrantVisitorIdentity }, optional: false, nullable: true, api_name: "visitorIdentity" + + field :identity, -> { CloudPDF::Types::Identity }, optional: false, nullable: true + + field :scope, -> { Internal::Types::Array[String] }, optional: false, nullable: false + + field :origins, -> { Internal::Types::Array[String] }, optional: false, nullable: true + + field :passphrase_protected, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "passphraseProtected" + + field :session_ttl_seconds, -> { Integer }, optional: false, nullable: false, api_name: "sessionTtlSeconds" + + field :disabled, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :archived_at, -> { String }, optional: false, nullable: true, api_name: "archivedAt" + + field :expires_at, -> { String }, optional: false, nullable: true, api_name: "expiresAt" + + field :exchange_count, -> { Integer }, optional: false, nullable: false, api_name: "exchangeCount" + + field :last_exchanged_at, -> { String }, optional: false, nullable: true, api_name: "lastExchangedAt" + + field :created_by, -> { String }, optional: false, nullable: false, api_name: "createdBy" + + field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt" + + field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt" + end + end +end diff --git a/lib/CloudPDF/types/grants_archive_response_grant_layer_mode.rb b/lib/CloudPDF/types/grants_archive_response_grant_layer_mode.rb new file mode 100644 index 00000000..d0760e1d --- /dev/null +++ b/lib/CloudPDF/types/grants_archive_response_grant_layer_mode.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsArchiveResponseGrantLayerMode + extend CloudPDF::Internal::Types::Enum + + SHARED = "shared" + PER_VISITOR = "per-visitor" + end + end +end diff --git a/lib/CloudPDF/types/grants_archive_response_grant_visitor_identity.rb b/lib/CloudPDF/types/grants_archive_response_grant_visitor_identity.rb new file mode 100644 index 00000000..0f2660c6 --- /dev/null +++ b/lib/CloudPDF/types/grants_archive_response_grant_visitor_identity.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class GrantsArchiveResponseGrantVisitorIdentity < Internal::Types::Model + field :fields, -> { CloudPDF::Types::GrantsArchiveResponseGrantVisitorIdentityFields }, optional: false, nullable: false + + field :ask, -> { CloudPDF::Types::GrantsArchiveResponseGrantVisitorIdentityAsk }, optional: false, nullable: false + + field :purpose, -> { String }, optional: true, nullable: false + + field :privacy_url, -> { String }, optional: true, nullable: false, api_name: "privacyUrl" + end + end +end diff --git a/lib/CloudPDF/types/grants_archive_response_grant_visitor_identity_ask.rb b/lib/CloudPDF/types/grants_archive_response_grant_visitor_identity_ask.rb new file mode 100644 index 00000000..248645c7 --- /dev/null +++ b/lib/CloudPDF/types/grants_archive_response_grant_visitor_identity_ask.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsArchiveResponseGrantVisitorIdentityAsk + extend CloudPDF::Internal::Types::Enum + + ON_OPEN = "on-open" + BEFORE_FIRST_CHANGE = "before-first-change" + end + end +end diff --git a/lib/CloudPDF/types/grants_archive_response_grant_visitor_identity_fields.rb b/lib/CloudPDF/types/grants_archive_response_grant_visitor_identity_fields.rb new file mode 100644 index 00000000..501101d7 --- /dev/null +++ b/lib/CloudPDF/types/grants_archive_response_grant_visitor_identity_fields.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class GrantsArchiveResponseGrantVisitorIdentityFields < Internal::Types::Model + field :display_name, -> { CloudPDF::Types::GrantsArchiveResponseGrantVisitorIdentityFieldsDisplayName }, optional: true, nullable: false, api_name: "displayName" + + field :email, -> { CloudPDF::Types::GrantsArchiveResponseGrantVisitorIdentityFieldsEmail }, optional: true, nullable: false + + field :title, -> { CloudPDF::Types::GrantsArchiveResponseGrantVisitorIdentityFieldsTitle }, optional: true, nullable: false + + field :organization, -> { CloudPDF::Types::GrantsArchiveResponseGrantVisitorIdentityFieldsOrganization }, optional: true, nullable: false + + field :organizational_unit, -> { CloudPDF::Types::GrantsArchiveResponseGrantVisitorIdentityFieldsOrganizationalUnit }, optional: true, nullable: false, api_name: "organizationalUnit" + end + end +end diff --git a/lib/CloudPDF/types/grants_archive_response_grant_visitor_identity_fields_display_name.rb b/lib/CloudPDF/types/grants_archive_response_grant_visitor_identity_fields_display_name.rb new file mode 100644 index 00000000..d67fa6d7 --- /dev/null +++ b/lib/CloudPDF/types/grants_archive_response_grant_visitor_identity_fields_display_name.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsArchiveResponseGrantVisitorIdentityFieldsDisplayName + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_archive_response_grant_visitor_identity_fields_email.rb b/lib/CloudPDF/types/grants_archive_response_grant_visitor_identity_fields_email.rb new file mode 100644 index 00000000..e686ef1c --- /dev/null +++ b/lib/CloudPDF/types/grants_archive_response_grant_visitor_identity_fields_email.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsArchiveResponseGrantVisitorIdentityFieldsEmail + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_archive_response_grant_visitor_identity_fields_organization.rb b/lib/CloudPDF/types/grants_archive_response_grant_visitor_identity_fields_organization.rb new file mode 100644 index 00000000..63987714 --- /dev/null +++ b/lib/CloudPDF/types/grants_archive_response_grant_visitor_identity_fields_organization.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsArchiveResponseGrantVisitorIdentityFieldsOrganization + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_archive_response_grant_visitor_identity_fields_organizational_unit.rb b/lib/CloudPDF/types/grants_archive_response_grant_visitor_identity_fields_organizational_unit.rb new file mode 100644 index 00000000..1c43ba70 --- /dev/null +++ b/lib/CloudPDF/types/grants_archive_response_grant_visitor_identity_fields_organizational_unit.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsArchiveResponseGrantVisitorIdentityFieldsOrganizationalUnit + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_archive_response_grant_visitor_identity_fields_title.rb b/lib/CloudPDF/types/grants_archive_response_grant_visitor_identity_fields_title.rb new file mode 100644 index 00000000..97ce4b12 --- /dev/null +++ b/lib/CloudPDF/types/grants_archive_response_grant_visitor_identity_fields_title.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsArchiveResponseGrantVisitorIdentityFieldsTitle + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_create200response.rb b/lib/CloudPDF/types/grants_create200response.rb deleted file mode 100644 index a6871c94..00000000 --- a/lib/CloudPDF/types/grants_create200response.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class GrantsCreate200Response < Internal::Types::Model - field :grant, -> { CloudPDF::Types::GrantsCreate200ResponseGrant }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/grants_create200response_grant.rb b/lib/CloudPDF/types/grants_create200response_grant.rb deleted file mode 100644 index 87206c2b..00000000 --- a/lib/CloudPDF/types/grants_create200response_grant.rb +++ /dev/null @@ -1,51 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class GrantsCreate200ResponseGrant < Internal::Types::Model - field :id, -> { String }, optional: false, nullable: false - - field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" - - field :doc_id, -> { String }, optional: false, nullable: false, api_name: "docId" - - field :name, -> { String }, optional: false, nullable: true - - field :layer_mode, -> { CloudPDF::Types::GrantsCreate200ResponseGrantLayerMode }, optional: false, nullable: false, api_name: "layerMode" - - field :layer_name, -> { String }, optional: false, nullable: true, api_name: "layerName" - - field :keep_visitor_layers, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "keepVisitorLayers" - - field :visitor_idle_seconds, -> { Integer }, optional: false, nullable: true, api_name: "visitorIdleSeconds" - - field :visitor_identity, -> { CloudPDF::Types::GrantsCreate200ResponseGrantVisitorIdentity }, optional: false, nullable: true, api_name: "visitorIdentity" - - field :identity, -> { CloudPDF::Types::Identity }, optional: false, nullable: true - - field :scope, -> { Internal::Types::Array[String] }, optional: false, nullable: false - - field :origins, -> { Internal::Types::Array[String] }, optional: false, nullable: true - - field :passphrase_protected, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "passphraseProtected" - - field :session_ttl_seconds, -> { Integer }, optional: false, nullable: false, api_name: "sessionTtlSeconds" - - field :disabled, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :archived_at, -> { Integer }, optional: false, nullable: true, api_name: "archivedAt" - - field :expires_at, -> { Integer }, optional: false, nullable: true, api_name: "expiresAt" - - field :exchange_count, -> { Integer }, optional: false, nullable: false, api_name: "exchangeCount" - - field :last_exchanged_at, -> { Integer }, optional: false, nullable: true, api_name: "lastExchangedAt" - - field :created_by, -> { String }, optional: false, nullable: false, api_name: "createdBy" - - field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" - - field :updated_at, -> { Integer }, optional: false, nullable: false, api_name: "updatedAt" - end - end -end diff --git a/lib/CloudPDF/types/grants_create200response_grant_layer_mode.rb b/lib/CloudPDF/types/grants_create200response_grant_layer_mode.rb deleted file mode 100644 index 1a1ba2cd..00000000 --- a/lib/CloudPDF/types/grants_create200response_grant_layer_mode.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsCreate200ResponseGrantLayerMode - extend CloudPDF::Internal::Types::Enum - - SHARED = "shared" - PER_VISITOR = "per-visitor" - end - end -end diff --git a/lib/CloudPDF/types/grants_create200response_grant_visitor_identity.rb b/lib/CloudPDF/types/grants_create200response_grant_visitor_identity.rb deleted file mode 100644 index a9b8f4a7..00000000 --- a/lib/CloudPDF/types/grants_create200response_grant_visitor_identity.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class GrantsCreate200ResponseGrantVisitorIdentity < Internal::Types::Model - field :fields, -> { CloudPDF::Types::GrantsCreate200ResponseGrantVisitorIdentityFields }, optional: false, nullable: false - - field :ask, -> { CloudPDF::Types::GrantsCreate200ResponseGrantVisitorIdentityAsk }, optional: false, nullable: false - - field :purpose, -> { String }, optional: true, nullable: false - - field :privacy_url, -> { String }, optional: true, nullable: false, api_name: "privacyUrl" - end - end -end diff --git a/lib/CloudPDF/types/grants_create200response_grant_visitor_identity_ask.rb b/lib/CloudPDF/types/grants_create200response_grant_visitor_identity_ask.rb deleted file mode 100644 index 60b6d79a..00000000 --- a/lib/CloudPDF/types/grants_create200response_grant_visitor_identity_ask.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsCreate200ResponseGrantVisitorIdentityAsk - extend CloudPDF::Internal::Types::Enum - - ON_OPEN = "on-open" - BEFORE_FIRST_CHANGE = "before-first-change" - end - end -end diff --git a/lib/CloudPDF/types/grants_create200response_grant_visitor_identity_fields.rb b/lib/CloudPDF/types/grants_create200response_grant_visitor_identity_fields.rb deleted file mode 100644 index a0f18d24..00000000 --- a/lib/CloudPDF/types/grants_create200response_grant_visitor_identity_fields.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class GrantsCreate200ResponseGrantVisitorIdentityFields < Internal::Types::Model - field :display_name, -> { CloudPDF::Types::GrantsCreate200ResponseGrantVisitorIdentityFieldsDisplayName }, optional: true, nullable: false, api_name: "displayName" - - field :email, -> { CloudPDF::Types::GrantsCreate200ResponseGrantVisitorIdentityFieldsEmail }, optional: true, nullable: false - - field :title, -> { CloudPDF::Types::GrantsCreate200ResponseGrantVisitorIdentityFieldsTitle }, optional: true, nullable: false - - field :organization, -> { CloudPDF::Types::GrantsCreate200ResponseGrantVisitorIdentityFieldsOrganization }, optional: true, nullable: false - - field :organizational_unit, -> { CloudPDF::Types::GrantsCreate200ResponseGrantVisitorIdentityFieldsOrganizationalUnit }, optional: true, nullable: false, api_name: "organizationalUnit" - end - end -end diff --git a/lib/CloudPDF/types/grants_create200response_grant_visitor_identity_fields_display_name.rb b/lib/CloudPDF/types/grants_create200response_grant_visitor_identity_fields_display_name.rb deleted file mode 100644 index 0101a385..00000000 --- a/lib/CloudPDF/types/grants_create200response_grant_visitor_identity_fields_display_name.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsCreate200ResponseGrantVisitorIdentityFieldsDisplayName - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_create200response_grant_visitor_identity_fields_email.rb b/lib/CloudPDF/types/grants_create200response_grant_visitor_identity_fields_email.rb deleted file mode 100644 index 0daf4549..00000000 --- a/lib/CloudPDF/types/grants_create200response_grant_visitor_identity_fields_email.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsCreate200ResponseGrantVisitorIdentityFieldsEmail - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_create200response_grant_visitor_identity_fields_organization.rb b/lib/CloudPDF/types/grants_create200response_grant_visitor_identity_fields_organization.rb deleted file mode 100644 index 9b5651f6..00000000 --- a/lib/CloudPDF/types/grants_create200response_grant_visitor_identity_fields_organization.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsCreate200ResponseGrantVisitorIdentityFieldsOrganization - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_create200response_grant_visitor_identity_fields_organizational_unit.rb b/lib/CloudPDF/types/grants_create200response_grant_visitor_identity_fields_organizational_unit.rb deleted file mode 100644 index 3a60c03f..00000000 --- a/lib/CloudPDF/types/grants_create200response_grant_visitor_identity_fields_organizational_unit.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsCreate200ResponseGrantVisitorIdentityFieldsOrganizationalUnit - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_create200response_grant_visitor_identity_fields_title.rb b/lib/CloudPDF/types/grants_create200response_grant_visitor_identity_fields_title.rb deleted file mode 100644 index dd62f1f0..00000000 --- a/lib/CloudPDF/types/grants_create200response_grant_visitor_identity_fields_title.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsCreate200ResponseGrantVisitorIdentityFieldsTitle - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_create400response.rb b/lib/CloudPDF/types/grants_create400response.rb deleted file mode 100644 index dcb2a7f5..00000000 --- a/lib/CloudPDF/types/grants_create400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsCreate400Response - # GrantsCreate400Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/grants_create403response.rb b/lib/CloudPDF/types/grants_create403response.rb deleted file mode 100644 index 710fe2fc..00000000 --- a/lib/CloudPDF/types/grants_create403response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsCreate403Response - # GrantsCreate403Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/grants_create404response.rb b/lib/CloudPDF/types/grants_create404response.rb deleted file mode 100644 index fd135b95..00000000 --- a/lib/CloudPDF/types/grants_create404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsCreate404Response - # GrantsCreate404Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/grants_create_response.rb b/lib/CloudPDF/types/grants_create_response.rb new file mode 100644 index 00000000..33646267 --- /dev/null +++ b/lib/CloudPDF/types/grants_create_response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class GrantsCreateResponse < Internal::Types::Model + field :grant, -> { CloudPDF::Types::GrantsCreateResponseGrant }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/grants_create_response_grant.rb b/lib/CloudPDF/types/grants_create_response_grant.rb new file mode 100644 index 00000000..09f61af3 --- /dev/null +++ b/lib/CloudPDF/types/grants_create_response_grant.rb @@ -0,0 +1,51 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class GrantsCreateResponseGrant < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :doc_id, -> { String }, optional: false, nullable: false, api_name: "docId" + + field :name, -> { String }, optional: false, nullable: true + + field :layer_mode, -> { CloudPDF::Types::GrantsCreateResponseGrantLayerMode }, optional: false, nullable: false, api_name: "layerMode" + + field :layer_name, -> { String }, optional: false, nullable: true, api_name: "layerName" + + field :keep_visitor_layers, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "keepVisitorLayers" + + field :visitor_idle_seconds, -> { Integer }, optional: false, nullable: true, api_name: "visitorIdleSeconds" + + field :visitor_identity, -> { CloudPDF::Types::GrantsCreateResponseGrantVisitorIdentity }, optional: false, nullable: true, api_name: "visitorIdentity" + + field :identity, -> { CloudPDF::Types::Identity }, optional: false, nullable: true + + field :scope, -> { Internal::Types::Array[String] }, optional: false, nullable: false + + field :origins, -> { Internal::Types::Array[String] }, optional: false, nullable: true + + field :passphrase_protected, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "passphraseProtected" + + field :session_ttl_seconds, -> { Integer }, optional: false, nullable: false, api_name: "sessionTtlSeconds" + + field :disabled, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :archived_at, -> { String }, optional: false, nullable: true, api_name: "archivedAt" + + field :expires_at, -> { String }, optional: false, nullable: true, api_name: "expiresAt" + + field :exchange_count, -> { Integer }, optional: false, nullable: false, api_name: "exchangeCount" + + field :last_exchanged_at, -> { String }, optional: false, nullable: true, api_name: "lastExchangedAt" + + field :created_by, -> { String }, optional: false, nullable: false, api_name: "createdBy" + + field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt" + + field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt" + end + end +end diff --git a/lib/CloudPDF/types/grants_create_response_grant_layer_mode.rb b/lib/CloudPDF/types/grants_create_response_grant_layer_mode.rb new file mode 100644 index 00000000..cc861cc8 --- /dev/null +++ b/lib/CloudPDF/types/grants_create_response_grant_layer_mode.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsCreateResponseGrantLayerMode + extend CloudPDF::Internal::Types::Enum + + SHARED = "shared" + PER_VISITOR = "per-visitor" + end + end +end diff --git a/lib/CloudPDF/types/grants_create_response_grant_visitor_identity.rb b/lib/CloudPDF/types/grants_create_response_grant_visitor_identity.rb new file mode 100644 index 00000000..fe539a0a --- /dev/null +++ b/lib/CloudPDF/types/grants_create_response_grant_visitor_identity.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class GrantsCreateResponseGrantVisitorIdentity < Internal::Types::Model + field :fields, -> { CloudPDF::Types::GrantsCreateResponseGrantVisitorIdentityFields }, optional: false, nullable: false + + field :ask, -> { CloudPDF::Types::GrantsCreateResponseGrantVisitorIdentityAsk }, optional: false, nullable: false + + field :purpose, -> { String }, optional: true, nullable: false + + field :privacy_url, -> { String }, optional: true, nullable: false, api_name: "privacyUrl" + end + end +end diff --git a/lib/CloudPDF/types/grants_create_response_grant_visitor_identity_ask.rb b/lib/CloudPDF/types/grants_create_response_grant_visitor_identity_ask.rb new file mode 100644 index 00000000..6d090206 --- /dev/null +++ b/lib/CloudPDF/types/grants_create_response_grant_visitor_identity_ask.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsCreateResponseGrantVisitorIdentityAsk + extend CloudPDF::Internal::Types::Enum + + ON_OPEN = "on-open" + BEFORE_FIRST_CHANGE = "before-first-change" + end + end +end diff --git a/lib/CloudPDF/types/grants_create_response_grant_visitor_identity_fields.rb b/lib/CloudPDF/types/grants_create_response_grant_visitor_identity_fields.rb new file mode 100644 index 00000000..f538f6ea --- /dev/null +++ b/lib/CloudPDF/types/grants_create_response_grant_visitor_identity_fields.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class GrantsCreateResponseGrantVisitorIdentityFields < Internal::Types::Model + field :display_name, -> { CloudPDF::Types::GrantsCreateResponseGrantVisitorIdentityFieldsDisplayName }, optional: true, nullable: false, api_name: "displayName" + + field :email, -> { CloudPDF::Types::GrantsCreateResponseGrantVisitorIdentityFieldsEmail }, optional: true, nullable: false + + field :title, -> { CloudPDF::Types::GrantsCreateResponseGrantVisitorIdentityFieldsTitle }, optional: true, nullable: false + + field :organization, -> { CloudPDF::Types::GrantsCreateResponseGrantVisitorIdentityFieldsOrganization }, optional: true, nullable: false + + field :organizational_unit, -> { CloudPDF::Types::GrantsCreateResponseGrantVisitorIdentityFieldsOrganizationalUnit }, optional: true, nullable: false, api_name: "organizationalUnit" + end + end +end diff --git a/lib/CloudPDF/types/grants_create_response_grant_visitor_identity_fields_display_name.rb b/lib/CloudPDF/types/grants_create_response_grant_visitor_identity_fields_display_name.rb new file mode 100644 index 00000000..60b07366 --- /dev/null +++ b/lib/CloudPDF/types/grants_create_response_grant_visitor_identity_fields_display_name.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsCreateResponseGrantVisitorIdentityFieldsDisplayName + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_create_response_grant_visitor_identity_fields_email.rb b/lib/CloudPDF/types/grants_create_response_grant_visitor_identity_fields_email.rb new file mode 100644 index 00000000..953ec55b --- /dev/null +++ b/lib/CloudPDF/types/grants_create_response_grant_visitor_identity_fields_email.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsCreateResponseGrantVisitorIdentityFieldsEmail + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_create_response_grant_visitor_identity_fields_organization.rb b/lib/CloudPDF/types/grants_create_response_grant_visitor_identity_fields_organization.rb new file mode 100644 index 00000000..9cf6d3fe --- /dev/null +++ b/lib/CloudPDF/types/grants_create_response_grant_visitor_identity_fields_organization.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsCreateResponseGrantVisitorIdentityFieldsOrganization + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_create_response_grant_visitor_identity_fields_organizational_unit.rb b/lib/CloudPDF/types/grants_create_response_grant_visitor_identity_fields_organizational_unit.rb new file mode 100644 index 00000000..1bc5b8e5 --- /dev/null +++ b/lib/CloudPDF/types/grants_create_response_grant_visitor_identity_fields_organizational_unit.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsCreateResponseGrantVisitorIdentityFieldsOrganizationalUnit + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_create_response_grant_visitor_identity_fields_title.rb b/lib/CloudPDF/types/grants_create_response_grant_visitor_identity_fields_title.rb new file mode 100644 index 00000000..1027a15b --- /dev/null +++ b/lib/CloudPDF/types/grants_create_response_grant_visitor_identity_fields_title.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsCreateResponseGrantVisitorIdentityFieldsTitle + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_delete404response.rb b/lib/CloudPDF/types/grants_delete404response.rb deleted file mode 100644 index 51281fe2..00000000 --- a/lib/CloudPDF/types/grants_delete404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsDelete404Response - # GrantsDelete404Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/grants_delete409response.rb b/lib/CloudPDF/types/grants_delete409response.rb deleted file mode 100644 index a505f547..00000000 --- a/lib/CloudPDF/types/grants_delete409response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsDelete409Response - # GrantsDelete409Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/grants_exchange200response.rb b/lib/CloudPDF/types/grants_exchange200response.rb deleted file mode 100644 index dfacd238..00000000 --- a/lib/CloudPDF/types/grants_exchange200response.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class GrantsExchange200Response < Internal::Types::Model - field :token, -> { String }, optional: false, nullable: false - - field :doc_id, -> { String }, optional: false, nullable: false, api_name: "docId" - - field :layer_name, -> { String }, optional: false, nullable: false, api_name: "layerName" - - field :layer_mode, -> { CloudPDF::Types::GrantsExchange200ResponseLayerMode }, optional: false, nullable: false, api_name: "layerMode" - - field :visitor, -> { CloudPDF::Types::GrantsExchange200ResponseVisitor }, optional: false, nullable: false - - field :expires_at, -> { Integer }, optional: false, nullable: false, api_name: "expiresAt" - end - end -end diff --git a/lib/CloudPDF/types/grants_exchange200response_layer_mode.rb b/lib/CloudPDF/types/grants_exchange200response_layer_mode.rb deleted file mode 100644 index 46adc211..00000000 --- a/lib/CloudPDF/types/grants_exchange200response_layer_mode.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsExchange200ResponseLayerMode - extend CloudPDF::Internal::Types::Enum - - SHARED = "shared" - PER_VISITOR = "per-visitor" - end - end -end diff --git a/lib/CloudPDF/types/grants_exchange200response_visitor.rb b/lib/CloudPDF/types/grants_exchange200response_visitor.rb deleted file mode 100644 index 9e92a265..00000000 --- a/lib/CloudPDF/types/grants_exchange200response_visitor.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class GrantsExchange200ResponseVisitor < Internal::Types::Model - field :handle, -> { String }, optional: false, nullable: false - - field :keep, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :identity_request, -> { CloudPDF::Types::GrantsExchange200ResponseVisitorIdentityRequest }, optional: false, nullable: true, api_name: "identityRequest" - end - end -end diff --git a/lib/CloudPDF/types/grants_exchange200response_visitor_identity_request.rb b/lib/CloudPDF/types/grants_exchange200response_visitor_identity_request.rb deleted file mode 100644 index 08e6ed5b..00000000 --- a/lib/CloudPDF/types/grants_exchange200response_visitor_identity_request.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class GrantsExchange200ResponseVisitorIdentityRequest < Internal::Types::Model - field :fields, -> { CloudPDF::Types::GrantsExchange200ResponseVisitorIdentityRequestFields }, optional: false, nullable: false - - field :missing, -> { Internal::Types::Array[CloudPDF::Types::GrantsExchange200ResponseVisitorIdentityRequestMissingItem] }, optional: false, nullable: false - - field :invalid, -> { Internal::Types::Array[CloudPDF::Types::GrantsExchange200ResponseVisitorIdentityRequestInvalidItem] }, optional: false, nullable: false - - field :purpose, -> { String }, optional: true, nullable: false - - field :privacy_url, -> { String }, optional: true, nullable: false, api_name: "privacyUrl" - end - end -end diff --git a/lib/CloudPDF/types/grants_exchange200response_visitor_identity_request_fields.rb b/lib/CloudPDF/types/grants_exchange200response_visitor_identity_request_fields.rb deleted file mode 100644 index 30bfb821..00000000 --- a/lib/CloudPDF/types/grants_exchange200response_visitor_identity_request_fields.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class GrantsExchange200ResponseVisitorIdentityRequestFields < Internal::Types::Model - field :display_name, -> { CloudPDF::Types::GrantsExchange200ResponseVisitorIdentityRequestFieldsDisplayName }, optional: true, nullable: false, api_name: "displayName" - - field :email, -> { CloudPDF::Types::GrantsExchange200ResponseVisitorIdentityRequestFieldsEmail }, optional: true, nullable: false - - field :title, -> { CloudPDF::Types::GrantsExchange200ResponseVisitorIdentityRequestFieldsTitle }, optional: true, nullable: false - - field :organization, -> { CloudPDF::Types::GrantsExchange200ResponseVisitorIdentityRequestFieldsOrganization }, optional: true, nullable: false - - field :organizational_unit, -> { CloudPDF::Types::GrantsExchange200ResponseVisitorIdentityRequestFieldsOrganizationalUnit }, optional: true, nullable: false, api_name: "organizationalUnit" - end - end -end diff --git a/lib/CloudPDF/types/grants_exchange200response_visitor_identity_request_fields_display_name.rb b/lib/CloudPDF/types/grants_exchange200response_visitor_identity_request_fields_display_name.rb deleted file mode 100644 index b164131a..00000000 --- a/lib/CloudPDF/types/grants_exchange200response_visitor_identity_request_fields_display_name.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsExchange200ResponseVisitorIdentityRequestFieldsDisplayName - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_exchange200response_visitor_identity_request_fields_email.rb b/lib/CloudPDF/types/grants_exchange200response_visitor_identity_request_fields_email.rb deleted file mode 100644 index 1aaa9c57..00000000 --- a/lib/CloudPDF/types/grants_exchange200response_visitor_identity_request_fields_email.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsExchange200ResponseVisitorIdentityRequestFieldsEmail - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_exchange200response_visitor_identity_request_fields_organization.rb b/lib/CloudPDF/types/grants_exchange200response_visitor_identity_request_fields_organization.rb deleted file mode 100644 index 9214fb60..00000000 --- a/lib/CloudPDF/types/grants_exchange200response_visitor_identity_request_fields_organization.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsExchange200ResponseVisitorIdentityRequestFieldsOrganization - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_exchange200response_visitor_identity_request_fields_organizational_unit.rb b/lib/CloudPDF/types/grants_exchange200response_visitor_identity_request_fields_organizational_unit.rb deleted file mode 100644 index 94600ede..00000000 --- a/lib/CloudPDF/types/grants_exchange200response_visitor_identity_request_fields_organizational_unit.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsExchange200ResponseVisitorIdentityRequestFieldsOrganizationalUnit - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_exchange200response_visitor_identity_request_fields_title.rb b/lib/CloudPDF/types/grants_exchange200response_visitor_identity_request_fields_title.rb deleted file mode 100644 index 5bdf3961..00000000 --- a/lib/CloudPDF/types/grants_exchange200response_visitor_identity_request_fields_title.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsExchange200ResponseVisitorIdentityRequestFieldsTitle - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_exchange200response_visitor_identity_request_invalid_item.rb b/lib/CloudPDF/types/grants_exchange200response_visitor_identity_request_invalid_item.rb deleted file mode 100644 index a9dc60a8..00000000 --- a/lib/CloudPDF/types/grants_exchange200response_visitor_identity_request_invalid_item.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsExchange200ResponseVisitorIdentityRequestInvalidItem - extend CloudPDF::Internal::Types::Enum - - DISPLAY_NAME = "displayName" - EMAIL = "email" - TITLE = "title" - ORGANIZATION = "organization" - ORGANIZATIONAL_UNIT = "organizationalUnit" - end - end -end diff --git a/lib/CloudPDF/types/grants_exchange200response_visitor_identity_request_missing_item.rb b/lib/CloudPDF/types/grants_exchange200response_visitor_identity_request_missing_item.rb deleted file mode 100644 index f5311acb..00000000 --- a/lib/CloudPDF/types/grants_exchange200response_visitor_identity_request_missing_item.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsExchange200ResponseVisitorIdentityRequestMissingItem - extend CloudPDF::Internal::Types::Enum - - DISPLAY_NAME = "displayName" - EMAIL = "email" - TITLE = "title" - ORGANIZATION = "organization" - ORGANIZATIONAL_UNIT = "organizationalUnit" - end - end -end diff --git a/lib/CloudPDF/types/grants_exchange400response.rb b/lib/CloudPDF/types/grants_exchange400response.rb deleted file mode 100644 index b599321c..00000000 --- a/lib/CloudPDF/types/grants_exchange400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsExchange400Response - # GrantsExchange400Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/grants_exchange403response.rb b/lib/CloudPDF/types/grants_exchange403response.rb deleted file mode 100644 index 51569c42..00000000 --- a/lib/CloudPDF/types/grants_exchange403response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsExchange403Response - # GrantsExchange403Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/grants_exchange404response.rb b/lib/CloudPDF/types/grants_exchange404response.rb deleted file mode 100644 index 75a92bd0..00000000 --- a/lib/CloudPDF/types/grants_exchange404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsExchange404Response - # GrantsExchange404Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/grants_exchange410response.rb b/lib/CloudPDF/types/grants_exchange410response.rb deleted file mode 100644 index b1fca64d..00000000 --- a/lib/CloudPDF/types/grants_exchange410response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsExchange410Response - # GrantsExchange410Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/grants_exchange422response.rb b/lib/CloudPDF/types/grants_exchange422response.rb deleted file mode 100644 index fea46846..00000000 --- a/lib/CloudPDF/types/grants_exchange422response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsExchange422Response - # GrantsExchange422Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/grants_exchange_response.rb b/lib/CloudPDF/types/grants_exchange_response.rb new file mode 100644 index 00000000..4e49960c --- /dev/null +++ b/lib/CloudPDF/types/grants_exchange_response.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class GrantsExchangeResponse < Internal::Types::Model + field :token, -> { String }, optional: false, nullable: false + + field :doc_id, -> { String }, optional: false, nullable: false, api_name: "docId" + + field :layer_name, -> { String }, optional: false, nullable: false, api_name: "layerName" + + field :layer_mode, -> { CloudPDF::Types::GrantsExchangeResponseLayerMode }, optional: false, nullable: false, api_name: "layerMode" + + field :visitor, -> { CloudPDF::Types::GrantsExchangeResponseVisitor }, optional: false, nullable: false + + field :expires_at, -> { String }, optional: false, nullable: false, api_name: "expiresAt" + end + end +end diff --git a/lib/CloudPDF/types/grants_exchange_response_layer_mode.rb b/lib/CloudPDF/types/grants_exchange_response_layer_mode.rb new file mode 100644 index 00000000..2185ac6d --- /dev/null +++ b/lib/CloudPDF/types/grants_exchange_response_layer_mode.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsExchangeResponseLayerMode + extend CloudPDF::Internal::Types::Enum + + SHARED = "shared" + PER_VISITOR = "per-visitor" + end + end +end diff --git a/lib/CloudPDF/types/grants_exchange_response_visitor.rb b/lib/CloudPDF/types/grants_exchange_response_visitor.rb new file mode 100644 index 00000000..cc7e9d6f --- /dev/null +++ b/lib/CloudPDF/types/grants_exchange_response_visitor.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class GrantsExchangeResponseVisitor < Internal::Types::Model + field :handle, -> { String }, optional: false, nullable: false + + field :keep, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :identity_request, -> { CloudPDF::Types::GrantsExchangeResponseVisitorIdentityRequest }, optional: false, nullable: true, api_name: "identityRequest" + end + end +end diff --git a/lib/CloudPDF/types/grants_exchange_response_visitor_identity_request.rb b/lib/CloudPDF/types/grants_exchange_response_visitor_identity_request.rb new file mode 100644 index 00000000..317e5ad8 --- /dev/null +++ b/lib/CloudPDF/types/grants_exchange_response_visitor_identity_request.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class GrantsExchangeResponseVisitorIdentityRequest < Internal::Types::Model + field :fields, -> { CloudPDF::Types::GrantsExchangeResponseVisitorIdentityRequestFields }, optional: false, nullable: false + + field :missing, -> { Internal::Types::Array[CloudPDF::Types::GrantsExchangeResponseVisitorIdentityRequestMissingItem] }, optional: false, nullable: false + + field :invalid, -> { Internal::Types::Array[CloudPDF::Types::GrantsExchangeResponseVisitorIdentityRequestInvalidItem] }, optional: false, nullable: false + + field :purpose, -> { String }, optional: true, nullable: false + + field :privacy_url, -> { String }, optional: true, nullable: false, api_name: "privacyUrl" + end + end +end diff --git a/lib/CloudPDF/types/grants_exchange_response_visitor_identity_request_fields.rb b/lib/CloudPDF/types/grants_exchange_response_visitor_identity_request_fields.rb new file mode 100644 index 00000000..267a3b91 --- /dev/null +++ b/lib/CloudPDF/types/grants_exchange_response_visitor_identity_request_fields.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class GrantsExchangeResponseVisitorIdentityRequestFields < Internal::Types::Model + field :display_name, -> { CloudPDF::Types::GrantsExchangeResponseVisitorIdentityRequestFieldsDisplayName }, optional: true, nullable: false, api_name: "displayName" + + field :email, -> { CloudPDF::Types::GrantsExchangeResponseVisitorIdentityRequestFieldsEmail }, optional: true, nullable: false + + field :title, -> { CloudPDF::Types::GrantsExchangeResponseVisitorIdentityRequestFieldsTitle }, optional: true, nullable: false + + field :organization, -> { CloudPDF::Types::GrantsExchangeResponseVisitorIdentityRequestFieldsOrganization }, optional: true, nullable: false + + field :organizational_unit, -> { CloudPDF::Types::GrantsExchangeResponseVisitorIdentityRequestFieldsOrganizationalUnit }, optional: true, nullable: false, api_name: "organizationalUnit" + end + end +end diff --git a/lib/CloudPDF/types/grants_exchange_response_visitor_identity_request_fields_display_name.rb b/lib/CloudPDF/types/grants_exchange_response_visitor_identity_request_fields_display_name.rb new file mode 100644 index 00000000..a5745f98 --- /dev/null +++ b/lib/CloudPDF/types/grants_exchange_response_visitor_identity_request_fields_display_name.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsExchangeResponseVisitorIdentityRequestFieldsDisplayName + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_exchange_response_visitor_identity_request_fields_email.rb b/lib/CloudPDF/types/grants_exchange_response_visitor_identity_request_fields_email.rb new file mode 100644 index 00000000..4f9abd39 --- /dev/null +++ b/lib/CloudPDF/types/grants_exchange_response_visitor_identity_request_fields_email.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsExchangeResponseVisitorIdentityRequestFieldsEmail + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_exchange_response_visitor_identity_request_fields_organization.rb b/lib/CloudPDF/types/grants_exchange_response_visitor_identity_request_fields_organization.rb new file mode 100644 index 00000000..c296d07e --- /dev/null +++ b/lib/CloudPDF/types/grants_exchange_response_visitor_identity_request_fields_organization.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsExchangeResponseVisitorIdentityRequestFieldsOrganization + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_exchange_response_visitor_identity_request_fields_organizational_unit.rb b/lib/CloudPDF/types/grants_exchange_response_visitor_identity_request_fields_organizational_unit.rb new file mode 100644 index 00000000..065f2b40 --- /dev/null +++ b/lib/CloudPDF/types/grants_exchange_response_visitor_identity_request_fields_organizational_unit.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsExchangeResponseVisitorIdentityRequestFieldsOrganizationalUnit + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_exchange_response_visitor_identity_request_fields_title.rb b/lib/CloudPDF/types/grants_exchange_response_visitor_identity_request_fields_title.rb new file mode 100644 index 00000000..37a21410 --- /dev/null +++ b/lib/CloudPDF/types/grants_exchange_response_visitor_identity_request_fields_title.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsExchangeResponseVisitorIdentityRequestFieldsTitle + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_exchange_response_visitor_identity_request_invalid_item.rb b/lib/CloudPDF/types/grants_exchange_response_visitor_identity_request_invalid_item.rb new file mode 100644 index 00000000..4f16f1e8 --- /dev/null +++ b/lib/CloudPDF/types/grants_exchange_response_visitor_identity_request_invalid_item.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsExchangeResponseVisitorIdentityRequestInvalidItem + extend CloudPDF::Internal::Types::Enum + + DISPLAY_NAME = "displayName" + EMAIL = "email" + TITLE = "title" + ORGANIZATION = "organization" + ORGANIZATIONAL_UNIT = "organizationalUnit" + end + end +end diff --git a/lib/CloudPDF/types/grants_exchange_response_visitor_identity_request_missing_item.rb b/lib/CloudPDF/types/grants_exchange_response_visitor_identity_request_missing_item.rb new file mode 100644 index 00000000..94d944db --- /dev/null +++ b/lib/CloudPDF/types/grants_exchange_response_visitor_identity_request_missing_item.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsExchangeResponseVisitorIdentityRequestMissingItem + extend CloudPDF::Internal::Types::Enum + + DISPLAY_NAME = "displayName" + EMAIL = "email" + TITLE = "title" + ORGANIZATION = "organization" + ORGANIZATIONAL_UNIT = "organizationalUnit" + end + end +end diff --git a/lib/CloudPDF/types/grants_get200response.rb b/lib/CloudPDF/types/grants_get200response.rb deleted file mode 100644 index a08688f1..00000000 --- a/lib/CloudPDF/types/grants_get200response.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class GrantsGet200Response < Internal::Types::Model - field :grant, -> { CloudPDF::Types::GrantsGet200ResponseGrant }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/grants_get200response_grant.rb b/lib/CloudPDF/types/grants_get200response_grant.rb deleted file mode 100644 index 6a7ea45c..00000000 --- a/lib/CloudPDF/types/grants_get200response_grant.rb +++ /dev/null @@ -1,51 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class GrantsGet200ResponseGrant < Internal::Types::Model - field :id, -> { String }, optional: false, nullable: false - - field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" - - field :doc_id, -> { String }, optional: false, nullable: false, api_name: "docId" - - field :name, -> { String }, optional: false, nullable: true - - field :layer_mode, -> { CloudPDF::Types::GrantsGet200ResponseGrantLayerMode }, optional: false, nullable: false, api_name: "layerMode" - - field :layer_name, -> { String }, optional: false, nullable: true, api_name: "layerName" - - field :keep_visitor_layers, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "keepVisitorLayers" - - field :visitor_idle_seconds, -> { Integer }, optional: false, nullable: true, api_name: "visitorIdleSeconds" - - field :visitor_identity, -> { CloudPDF::Types::GrantsGet200ResponseGrantVisitorIdentity }, optional: false, nullable: true, api_name: "visitorIdentity" - - field :identity, -> { CloudPDF::Types::Identity }, optional: false, nullable: true - - field :scope, -> { Internal::Types::Array[String] }, optional: false, nullable: false - - field :origins, -> { Internal::Types::Array[String] }, optional: false, nullable: true - - field :passphrase_protected, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "passphraseProtected" - - field :session_ttl_seconds, -> { Integer }, optional: false, nullable: false, api_name: "sessionTtlSeconds" - - field :disabled, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :archived_at, -> { Integer }, optional: false, nullable: true, api_name: "archivedAt" - - field :expires_at, -> { Integer }, optional: false, nullable: true, api_name: "expiresAt" - - field :exchange_count, -> { Integer }, optional: false, nullable: false, api_name: "exchangeCount" - - field :last_exchanged_at, -> { Integer }, optional: false, nullable: true, api_name: "lastExchangedAt" - - field :created_by, -> { String }, optional: false, nullable: false, api_name: "createdBy" - - field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" - - field :updated_at, -> { Integer }, optional: false, nullable: false, api_name: "updatedAt" - end - end -end diff --git a/lib/CloudPDF/types/grants_get200response_grant_layer_mode.rb b/lib/CloudPDF/types/grants_get200response_grant_layer_mode.rb deleted file mode 100644 index 6b310bd3..00000000 --- a/lib/CloudPDF/types/grants_get200response_grant_layer_mode.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsGet200ResponseGrantLayerMode - extend CloudPDF::Internal::Types::Enum - - SHARED = "shared" - PER_VISITOR = "per-visitor" - end - end -end diff --git a/lib/CloudPDF/types/grants_get200response_grant_visitor_identity.rb b/lib/CloudPDF/types/grants_get200response_grant_visitor_identity.rb deleted file mode 100644 index badfd2aa..00000000 --- a/lib/CloudPDF/types/grants_get200response_grant_visitor_identity.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class GrantsGet200ResponseGrantVisitorIdentity < Internal::Types::Model - field :fields, -> { CloudPDF::Types::GrantsGet200ResponseGrantVisitorIdentityFields }, optional: false, nullable: false - - field :ask, -> { CloudPDF::Types::GrantsGet200ResponseGrantVisitorIdentityAsk }, optional: false, nullable: false - - field :purpose, -> { String }, optional: true, nullable: false - - field :privacy_url, -> { String }, optional: true, nullable: false, api_name: "privacyUrl" - end - end -end diff --git a/lib/CloudPDF/types/grants_get200response_grant_visitor_identity_ask.rb b/lib/CloudPDF/types/grants_get200response_grant_visitor_identity_ask.rb deleted file mode 100644 index e03a2910..00000000 --- a/lib/CloudPDF/types/grants_get200response_grant_visitor_identity_ask.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsGet200ResponseGrantVisitorIdentityAsk - extend CloudPDF::Internal::Types::Enum - - ON_OPEN = "on-open" - BEFORE_FIRST_CHANGE = "before-first-change" - end - end -end diff --git a/lib/CloudPDF/types/grants_get200response_grant_visitor_identity_fields.rb b/lib/CloudPDF/types/grants_get200response_grant_visitor_identity_fields.rb deleted file mode 100644 index f4b2a36f..00000000 --- a/lib/CloudPDF/types/grants_get200response_grant_visitor_identity_fields.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class GrantsGet200ResponseGrantVisitorIdentityFields < Internal::Types::Model - field :display_name, -> { CloudPDF::Types::GrantsGet200ResponseGrantVisitorIdentityFieldsDisplayName }, optional: true, nullable: false, api_name: "displayName" - - field :email, -> { CloudPDF::Types::GrantsGet200ResponseGrantVisitorIdentityFieldsEmail }, optional: true, nullable: false - - field :title, -> { CloudPDF::Types::GrantsGet200ResponseGrantVisitorIdentityFieldsTitle }, optional: true, nullable: false - - field :organization, -> { CloudPDF::Types::GrantsGet200ResponseGrantVisitorIdentityFieldsOrganization }, optional: true, nullable: false - - field :organizational_unit, -> { CloudPDF::Types::GrantsGet200ResponseGrantVisitorIdentityFieldsOrganizationalUnit }, optional: true, nullable: false, api_name: "organizationalUnit" - end - end -end diff --git a/lib/CloudPDF/types/grants_get200response_grant_visitor_identity_fields_display_name.rb b/lib/CloudPDF/types/grants_get200response_grant_visitor_identity_fields_display_name.rb deleted file mode 100644 index 77041b80..00000000 --- a/lib/CloudPDF/types/grants_get200response_grant_visitor_identity_fields_display_name.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsGet200ResponseGrantVisitorIdentityFieldsDisplayName - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_get200response_grant_visitor_identity_fields_email.rb b/lib/CloudPDF/types/grants_get200response_grant_visitor_identity_fields_email.rb deleted file mode 100644 index 40bec8ac..00000000 --- a/lib/CloudPDF/types/grants_get200response_grant_visitor_identity_fields_email.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsGet200ResponseGrantVisitorIdentityFieldsEmail - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_get200response_grant_visitor_identity_fields_organization.rb b/lib/CloudPDF/types/grants_get200response_grant_visitor_identity_fields_organization.rb deleted file mode 100644 index daac7fc8..00000000 --- a/lib/CloudPDF/types/grants_get200response_grant_visitor_identity_fields_organization.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsGet200ResponseGrantVisitorIdentityFieldsOrganization - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_get200response_grant_visitor_identity_fields_organizational_unit.rb b/lib/CloudPDF/types/grants_get200response_grant_visitor_identity_fields_organizational_unit.rb deleted file mode 100644 index c33671be..00000000 --- a/lib/CloudPDF/types/grants_get200response_grant_visitor_identity_fields_organizational_unit.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsGet200ResponseGrantVisitorIdentityFieldsOrganizationalUnit - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_get200response_grant_visitor_identity_fields_title.rb b/lib/CloudPDF/types/grants_get200response_grant_visitor_identity_fields_title.rb deleted file mode 100644 index 188ccaa6..00000000 --- a/lib/CloudPDF/types/grants_get200response_grant_visitor_identity_fields_title.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsGet200ResponseGrantVisitorIdentityFieldsTitle - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_get404response.rb b/lib/CloudPDF/types/grants_get404response.rb deleted file mode 100644 index 342c42e1..00000000 --- a/lib/CloudPDF/types/grants_get404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsGet404Response - # GrantsGet404Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/grants_get_response.rb b/lib/CloudPDF/types/grants_get_response.rb new file mode 100644 index 00000000..c4c68602 --- /dev/null +++ b/lib/CloudPDF/types/grants_get_response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class GrantsGetResponse < Internal::Types::Model + field :grant, -> { CloudPDF::Types::GrantsGetResponseGrant }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/grants_get_response_grant.rb b/lib/CloudPDF/types/grants_get_response_grant.rb new file mode 100644 index 00000000..01b04c32 --- /dev/null +++ b/lib/CloudPDF/types/grants_get_response_grant.rb @@ -0,0 +1,51 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class GrantsGetResponseGrant < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :doc_id, -> { String }, optional: false, nullable: false, api_name: "docId" + + field :name, -> { String }, optional: false, nullable: true + + field :layer_mode, -> { CloudPDF::Types::GrantsGetResponseGrantLayerMode }, optional: false, nullable: false, api_name: "layerMode" + + field :layer_name, -> { String }, optional: false, nullable: true, api_name: "layerName" + + field :keep_visitor_layers, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "keepVisitorLayers" + + field :visitor_idle_seconds, -> { Integer }, optional: false, nullable: true, api_name: "visitorIdleSeconds" + + field :visitor_identity, -> { CloudPDF::Types::GrantsGetResponseGrantVisitorIdentity }, optional: false, nullable: true, api_name: "visitorIdentity" + + field :identity, -> { CloudPDF::Types::Identity }, optional: false, nullable: true + + field :scope, -> { Internal::Types::Array[String] }, optional: false, nullable: false + + field :origins, -> { Internal::Types::Array[String] }, optional: false, nullable: true + + field :passphrase_protected, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "passphraseProtected" + + field :session_ttl_seconds, -> { Integer }, optional: false, nullable: false, api_name: "sessionTtlSeconds" + + field :disabled, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :archived_at, -> { String }, optional: false, nullable: true, api_name: "archivedAt" + + field :expires_at, -> { String }, optional: false, nullable: true, api_name: "expiresAt" + + field :exchange_count, -> { Integer }, optional: false, nullable: false, api_name: "exchangeCount" + + field :last_exchanged_at, -> { String }, optional: false, nullable: true, api_name: "lastExchangedAt" + + field :created_by, -> { String }, optional: false, nullable: false, api_name: "createdBy" + + field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt" + + field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt" + end + end +end diff --git a/lib/CloudPDF/types/grants_get_response_grant_layer_mode.rb b/lib/CloudPDF/types/grants_get_response_grant_layer_mode.rb new file mode 100644 index 00000000..38d938b3 --- /dev/null +++ b/lib/CloudPDF/types/grants_get_response_grant_layer_mode.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsGetResponseGrantLayerMode + extend CloudPDF::Internal::Types::Enum + + SHARED = "shared" + PER_VISITOR = "per-visitor" + end + end +end diff --git a/lib/CloudPDF/types/grants_get_response_grant_visitor_identity.rb b/lib/CloudPDF/types/grants_get_response_grant_visitor_identity.rb new file mode 100644 index 00000000..ff6af51d --- /dev/null +++ b/lib/CloudPDF/types/grants_get_response_grant_visitor_identity.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class GrantsGetResponseGrantVisitorIdentity < Internal::Types::Model + field :fields, -> { CloudPDF::Types::GrantsGetResponseGrantVisitorIdentityFields }, optional: false, nullable: false + + field :ask, -> { CloudPDF::Types::GrantsGetResponseGrantVisitorIdentityAsk }, optional: false, nullable: false + + field :purpose, -> { String }, optional: true, nullable: false + + field :privacy_url, -> { String }, optional: true, nullable: false, api_name: "privacyUrl" + end + end +end diff --git a/lib/CloudPDF/types/grants_get_response_grant_visitor_identity_ask.rb b/lib/CloudPDF/types/grants_get_response_grant_visitor_identity_ask.rb new file mode 100644 index 00000000..8f0191db --- /dev/null +++ b/lib/CloudPDF/types/grants_get_response_grant_visitor_identity_ask.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsGetResponseGrantVisitorIdentityAsk + extend CloudPDF::Internal::Types::Enum + + ON_OPEN = "on-open" + BEFORE_FIRST_CHANGE = "before-first-change" + end + end +end diff --git a/lib/CloudPDF/types/grants_get_response_grant_visitor_identity_fields.rb b/lib/CloudPDF/types/grants_get_response_grant_visitor_identity_fields.rb new file mode 100644 index 00000000..9567ffe0 --- /dev/null +++ b/lib/CloudPDF/types/grants_get_response_grant_visitor_identity_fields.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class GrantsGetResponseGrantVisitorIdentityFields < Internal::Types::Model + field :display_name, -> { CloudPDF::Types::GrantsGetResponseGrantVisitorIdentityFieldsDisplayName }, optional: true, nullable: false, api_name: "displayName" + + field :email, -> { CloudPDF::Types::GrantsGetResponseGrantVisitorIdentityFieldsEmail }, optional: true, nullable: false + + field :title, -> { CloudPDF::Types::GrantsGetResponseGrantVisitorIdentityFieldsTitle }, optional: true, nullable: false + + field :organization, -> { CloudPDF::Types::GrantsGetResponseGrantVisitorIdentityFieldsOrganization }, optional: true, nullable: false + + field :organizational_unit, -> { CloudPDF::Types::GrantsGetResponseGrantVisitorIdentityFieldsOrganizationalUnit }, optional: true, nullable: false, api_name: "organizationalUnit" + end + end +end diff --git a/lib/CloudPDF/types/grants_get_response_grant_visitor_identity_fields_display_name.rb b/lib/CloudPDF/types/grants_get_response_grant_visitor_identity_fields_display_name.rb new file mode 100644 index 00000000..26cb7ca4 --- /dev/null +++ b/lib/CloudPDF/types/grants_get_response_grant_visitor_identity_fields_display_name.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsGetResponseGrantVisitorIdentityFieldsDisplayName + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_get_response_grant_visitor_identity_fields_email.rb b/lib/CloudPDF/types/grants_get_response_grant_visitor_identity_fields_email.rb new file mode 100644 index 00000000..d2a03b49 --- /dev/null +++ b/lib/CloudPDF/types/grants_get_response_grant_visitor_identity_fields_email.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsGetResponseGrantVisitorIdentityFieldsEmail + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_get_response_grant_visitor_identity_fields_organization.rb b/lib/CloudPDF/types/grants_get_response_grant_visitor_identity_fields_organization.rb new file mode 100644 index 00000000..4604d841 --- /dev/null +++ b/lib/CloudPDF/types/grants_get_response_grant_visitor_identity_fields_organization.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsGetResponseGrantVisitorIdentityFieldsOrganization + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_get_response_grant_visitor_identity_fields_organizational_unit.rb b/lib/CloudPDF/types/grants_get_response_grant_visitor_identity_fields_organizational_unit.rb new file mode 100644 index 00000000..80f3e70d --- /dev/null +++ b/lib/CloudPDF/types/grants_get_response_grant_visitor_identity_fields_organizational_unit.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsGetResponseGrantVisitorIdentityFieldsOrganizationalUnit + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_get_response_grant_visitor_identity_fields_title.rb b/lib/CloudPDF/types/grants_get_response_grant_visitor_identity_fields_title.rb new file mode 100644 index 00000000..1093a7d0 --- /dev/null +++ b/lib/CloudPDF/types/grants_get_response_grant_visitor_identity_fields_title.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsGetResponseGrantVisitorIdentityFieldsTitle + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_list200response.rb b/lib/CloudPDF/types/grants_list200response.rb deleted file mode 100644 index 2ad494e1..00000000 --- a/lib/CloudPDF/types/grants_list200response.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class GrantsList200Response < Internal::Types::Model - field :grants, -> { Internal::Types::Array[CloudPDF::Types::GrantsList200ResponseGrantsItem] }, optional: false, nullable: false - - field :next_cursor, -> { String }, optional: true, nullable: false, api_name: "nextCursor" - end - end -end diff --git a/lib/CloudPDF/types/grants_list200response_grants_item.rb b/lib/CloudPDF/types/grants_list200response_grants_item.rb deleted file mode 100644 index b7a8928d..00000000 --- a/lib/CloudPDF/types/grants_list200response_grants_item.rb +++ /dev/null @@ -1,51 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class GrantsList200ResponseGrantsItem < Internal::Types::Model - field :id, -> { String }, optional: false, nullable: false - - field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" - - field :doc_id, -> { String }, optional: false, nullable: false, api_name: "docId" - - field :name, -> { String }, optional: false, nullable: true - - field :layer_mode, -> { CloudPDF::Types::GrantsList200ResponseGrantsItemLayerMode }, optional: false, nullable: false, api_name: "layerMode" - - field :layer_name, -> { String }, optional: false, nullable: true, api_name: "layerName" - - field :keep_visitor_layers, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "keepVisitorLayers" - - field :visitor_idle_seconds, -> { Integer }, optional: false, nullable: true, api_name: "visitorIdleSeconds" - - field :visitor_identity, -> { CloudPDF::Types::GrantsList200ResponseGrantsItemVisitorIdentity }, optional: false, nullable: true, api_name: "visitorIdentity" - - field :identity, -> { CloudPDF::Types::Identity }, optional: false, nullable: true - - field :scope, -> { Internal::Types::Array[String] }, optional: false, nullable: false - - field :origins, -> { Internal::Types::Array[String] }, optional: false, nullable: true - - field :passphrase_protected, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "passphraseProtected" - - field :session_ttl_seconds, -> { Integer }, optional: false, nullable: false, api_name: "sessionTtlSeconds" - - field :disabled, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :archived_at, -> { Integer }, optional: false, nullable: true, api_name: "archivedAt" - - field :expires_at, -> { Integer }, optional: false, nullable: true, api_name: "expiresAt" - - field :exchange_count, -> { Integer }, optional: false, nullable: false, api_name: "exchangeCount" - - field :last_exchanged_at, -> { Integer }, optional: false, nullable: true, api_name: "lastExchangedAt" - - field :created_by, -> { String }, optional: false, nullable: false, api_name: "createdBy" - - field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" - - field :updated_at, -> { Integer }, optional: false, nullable: false, api_name: "updatedAt" - end - end -end diff --git a/lib/CloudPDF/types/grants_list200response_grants_item_layer_mode.rb b/lib/CloudPDF/types/grants_list200response_grants_item_layer_mode.rb deleted file mode 100644 index 8751c54c..00000000 --- a/lib/CloudPDF/types/grants_list200response_grants_item_layer_mode.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsList200ResponseGrantsItemLayerMode - extend CloudPDF::Internal::Types::Enum - - SHARED = "shared" - PER_VISITOR = "per-visitor" - end - end -end diff --git a/lib/CloudPDF/types/grants_list200response_grants_item_visitor_identity.rb b/lib/CloudPDF/types/grants_list200response_grants_item_visitor_identity.rb deleted file mode 100644 index 779b2cb2..00000000 --- a/lib/CloudPDF/types/grants_list200response_grants_item_visitor_identity.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class GrantsList200ResponseGrantsItemVisitorIdentity < Internal::Types::Model - field :fields, -> { CloudPDF::Types::GrantsList200ResponseGrantsItemVisitorIdentityFields }, optional: false, nullable: false - - field :ask, -> { CloudPDF::Types::GrantsList200ResponseGrantsItemVisitorIdentityAsk }, optional: false, nullable: false - - field :purpose, -> { String }, optional: true, nullable: false - - field :privacy_url, -> { String }, optional: true, nullable: false, api_name: "privacyUrl" - end - end -end diff --git a/lib/CloudPDF/types/grants_list200response_grants_item_visitor_identity_ask.rb b/lib/CloudPDF/types/grants_list200response_grants_item_visitor_identity_ask.rb deleted file mode 100644 index 6271a4fc..00000000 --- a/lib/CloudPDF/types/grants_list200response_grants_item_visitor_identity_ask.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsList200ResponseGrantsItemVisitorIdentityAsk - extend CloudPDF::Internal::Types::Enum - - ON_OPEN = "on-open" - BEFORE_FIRST_CHANGE = "before-first-change" - end - end -end diff --git a/lib/CloudPDF/types/grants_list200response_grants_item_visitor_identity_fields.rb b/lib/CloudPDF/types/grants_list200response_grants_item_visitor_identity_fields.rb deleted file mode 100644 index 788003ea..00000000 --- a/lib/CloudPDF/types/grants_list200response_grants_item_visitor_identity_fields.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class GrantsList200ResponseGrantsItemVisitorIdentityFields < Internal::Types::Model - field :display_name, -> { CloudPDF::Types::GrantsList200ResponseGrantsItemVisitorIdentityFieldsDisplayName }, optional: true, nullable: false, api_name: "displayName" - - field :email, -> { CloudPDF::Types::GrantsList200ResponseGrantsItemVisitorIdentityFieldsEmail }, optional: true, nullable: false - - field :title, -> { CloudPDF::Types::GrantsList200ResponseGrantsItemVisitorIdentityFieldsTitle }, optional: true, nullable: false - - field :organization, -> { CloudPDF::Types::GrantsList200ResponseGrantsItemVisitorIdentityFieldsOrganization }, optional: true, nullable: false - - field :organizational_unit, -> { CloudPDF::Types::GrantsList200ResponseGrantsItemVisitorIdentityFieldsOrganizationalUnit }, optional: true, nullable: false, api_name: "organizationalUnit" - end - end -end diff --git a/lib/CloudPDF/types/grants_list200response_grants_item_visitor_identity_fields_display_name.rb b/lib/CloudPDF/types/grants_list200response_grants_item_visitor_identity_fields_display_name.rb deleted file mode 100644 index 0f0afd98..00000000 --- a/lib/CloudPDF/types/grants_list200response_grants_item_visitor_identity_fields_display_name.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsList200ResponseGrantsItemVisitorIdentityFieldsDisplayName - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_list200response_grants_item_visitor_identity_fields_email.rb b/lib/CloudPDF/types/grants_list200response_grants_item_visitor_identity_fields_email.rb deleted file mode 100644 index 1cc3eb17..00000000 --- a/lib/CloudPDF/types/grants_list200response_grants_item_visitor_identity_fields_email.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsList200ResponseGrantsItemVisitorIdentityFieldsEmail - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_list200response_grants_item_visitor_identity_fields_organization.rb b/lib/CloudPDF/types/grants_list200response_grants_item_visitor_identity_fields_organization.rb deleted file mode 100644 index 83847d88..00000000 --- a/lib/CloudPDF/types/grants_list200response_grants_item_visitor_identity_fields_organization.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsList200ResponseGrantsItemVisitorIdentityFieldsOrganization - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_list200response_grants_item_visitor_identity_fields_organizational_unit.rb b/lib/CloudPDF/types/grants_list200response_grants_item_visitor_identity_fields_organizational_unit.rb deleted file mode 100644 index 277c6eca..00000000 --- a/lib/CloudPDF/types/grants_list200response_grants_item_visitor_identity_fields_organizational_unit.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsList200ResponseGrantsItemVisitorIdentityFieldsOrganizationalUnit - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_list200response_grants_item_visitor_identity_fields_title.rb b/lib/CloudPDF/types/grants_list200response_grants_item_visitor_identity_fields_title.rb deleted file mode 100644 index 0b357c3a..00000000 --- a/lib/CloudPDF/types/grants_list200response_grants_item_visitor_identity_fields_title.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsList200ResponseGrantsItemVisitorIdentityFieldsTitle - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_list400response.rb b/lib/CloudPDF/types/grants_list400response.rb deleted file mode 100644 index 503003c3..00000000 --- a/lib/CloudPDF/types/grants_list400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsList400Response - # GrantsList400Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/grants_list_response.rb b/lib/CloudPDF/types/grants_list_response.rb new file mode 100644 index 00000000..20e0919a --- /dev/null +++ b/lib/CloudPDF/types/grants_list_response.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class GrantsListResponse < Internal::Types::Model + field :grants, -> { Internal::Types::Array[CloudPDF::Types::GrantsListResponseGrantsItem] }, optional: false, nullable: false + + field :next_cursor, -> { String }, optional: false, nullable: true, api_name: "nextCursor" + end + end +end diff --git a/lib/CloudPDF/types/grants_list_response_grants_item.rb b/lib/CloudPDF/types/grants_list_response_grants_item.rb new file mode 100644 index 00000000..47593d88 --- /dev/null +++ b/lib/CloudPDF/types/grants_list_response_grants_item.rb @@ -0,0 +1,51 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class GrantsListResponseGrantsItem < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :doc_id, -> { String }, optional: false, nullable: false, api_name: "docId" + + field :name, -> { String }, optional: false, nullable: true + + field :layer_mode, -> { CloudPDF::Types::GrantsListResponseGrantsItemLayerMode }, optional: false, nullable: false, api_name: "layerMode" + + field :layer_name, -> { String }, optional: false, nullable: true, api_name: "layerName" + + field :keep_visitor_layers, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "keepVisitorLayers" + + field :visitor_idle_seconds, -> { Integer }, optional: false, nullable: true, api_name: "visitorIdleSeconds" + + field :visitor_identity, -> { CloudPDF::Types::GrantsListResponseGrantsItemVisitorIdentity }, optional: false, nullable: true, api_name: "visitorIdentity" + + field :identity, -> { CloudPDF::Types::Identity }, optional: false, nullable: true + + field :scope, -> { Internal::Types::Array[String] }, optional: false, nullable: false + + field :origins, -> { Internal::Types::Array[String] }, optional: false, nullable: true + + field :passphrase_protected, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "passphraseProtected" + + field :session_ttl_seconds, -> { Integer }, optional: false, nullable: false, api_name: "sessionTtlSeconds" + + field :disabled, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :archived_at, -> { String }, optional: false, nullable: true, api_name: "archivedAt" + + field :expires_at, -> { String }, optional: false, nullable: true, api_name: "expiresAt" + + field :exchange_count, -> { Integer }, optional: false, nullable: false, api_name: "exchangeCount" + + field :last_exchanged_at, -> { String }, optional: false, nullable: true, api_name: "lastExchangedAt" + + field :created_by, -> { String }, optional: false, nullable: false, api_name: "createdBy" + + field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt" + + field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt" + end + end +end diff --git a/lib/CloudPDF/types/grants_list_response_grants_item_layer_mode.rb b/lib/CloudPDF/types/grants_list_response_grants_item_layer_mode.rb new file mode 100644 index 00000000..469e392e --- /dev/null +++ b/lib/CloudPDF/types/grants_list_response_grants_item_layer_mode.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsListResponseGrantsItemLayerMode + extend CloudPDF::Internal::Types::Enum + + SHARED = "shared" + PER_VISITOR = "per-visitor" + end + end +end diff --git a/lib/CloudPDF/types/grants_list_response_grants_item_visitor_identity.rb b/lib/CloudPDF/types/grants_list_response_grants_item_visitor_identity.rb new file mode 100644 index 00000000..c3ddb0ce --- /dev/null +++ b/lib/CloudPDF/types/grants_list_response_grants_item_visitor_identity.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class GrantsListResponseGrantsItemVisitorIdentity < Internal::Types::Model + field :fields, -> { CloudPDF::Types::GrantsListResponseGrantsItemVisitorIdentityFields }, optional: false, nullable: false + + field :ask, -> { CloudPDF::Types::GrantsListResponseGrantsItemVisitorIdentityAsk }, optional: false, nullable: false + + field :purpose, -> { String }, optional: true, nullable: false + + field :privacy_url, -> { String }, optional: true, nullable: false, api_name: "privacyUrl" + end + end +end diff --git a/lib/CloudPDF/types/grants_list_response_grants_item_visitor_identity_ask.rb b/lib/CloudPDF/types/grants_list_response_grants_item_visitor_identity_ask.rb new file mode 100644 index 00000000..f58e1fb5 --- /dev/null +++ b/lib/CloudPDF/types/grants_list_response_grants_item_visitor_identity_ask.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsListResponseGrantsItemVisitorIdentityAsk + extend CloudPDF::Internal::Types::Enum + + ON_OPEN = "on-open" + BEFORE_FIRST_CHANGE = "before-first-change" + end + end +end diff --git a/lib/CloudPDF/types/grants_list_response_grants_item_visitor_identity_fields.rb b/lib/CloudPDF/types/grants_list_response_grants_item_visitor_identity_fields.rb new file mode 100644 index 00000000..712853ec --- /dev/null +++ b/lib/CloudPDF/types/grants_list_response_grants_item_visitor_identity_fields.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class GrantsListResponseGrantsItemVisitorIdentityFields < Internal::Types::Model + field :display_name, -> { CloudPDF::Types::GrantsListResponseGrantsItemVisitorIdentityFieldsDisplayName }, optional: true, nullable: false, api_name: "displayName" + + field :email, -> { CloudPDF::Types::GrantsListResponseGrantsItemVisitorIdentityFieldsEmail }, optional: true, nullable: false + + field :title, -> { CloudPDF::Types::GrantsListResponseGrantsItemVisitorIdentityFieldsTitle }, optional: true, nullable: false + + field :organization, -> { CloudPDF::Types::GrantsListResponseGrantsItemVisitorIdentityFieldsOrganization }, optional: true, nullable: false + + field :organizational_unit, -> { CloudPDF::Types::GrantsListResponseGrantsItemVisitorIdentityFieldsOrganizationalUnit }, optional: true, nullable: false, api_name: "organizationalUnit" + end + end +end diff --git a/lib/CloudPDF/types/grants_list_response_grants_item_visitor_identity_fields_display_name.rb b/lib/CloudPDF/types/grants_list_response_grants_item_visitor_identity_fields_display_name.rb new file mode 100644 index 00000000..30ee0e9c --- /dev/null +++ b/lib/CloudPDF/types/grants_list_response_grants_item_visitor_identity_fields_display_name.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsListResponseGrantsItemVisitorIdentityFieldsDisplayName + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_list_response_grants_item_visitor_identity_fields_email.rb b/lib/CloudPDF/types/grants_list_response_grants_item_visitor_identity_fields_email.rb new file mode 100644 index 00000000..4709160d --- /dev/null +++ b/lib/CloudPDF/types/grants_list_response_grants_item_visitor_identity_fields_email.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsListResponseGrantsItemVisitorIdentityFieldsEmail + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_list_response_grants_item_visitor_identity_fields_organization.rb b/lib/CloudPDF/types/grants_list_response_grants_item_visitor_identity_fields_organization.rb new file mode 100644 index 00000000..036ad2f8 --- /dev/null +++ b/lib/CloudPDF/types/grants_list_response_grants_item_visitor_identity_fields_organization.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsListResponseGrantsItemVisitorIdentityFieldsOrganization + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_list_response_grants_item_visitor_identity_fields_organizational_unit.rb b/lib/CloudPDF/types/grants_list_response_grants_item_visitor_identity_fields_organizational_unit.rb new file mode 100644 index 00000000..f30a6e4f --- /dev/null +++ b/lib/CloudPDF/types/grants_list_response_grants_item_visitor_identity_fields_organizational_unit.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsListResponseGrantsItemVisitorIdentityFieldsOrganizationalUnit + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_list_response_grants_item_visitor_identity_fields_title.rb b/lib/CloudPDF/types/grants_list_response_grants_item_visitor_identity_fields_title.rb new file mode 100644 index 00000000..75acf3a2 --- /dev/null +++ b/lib/CloudPDF/types/grants_list_response_grants_item_visitor_identity_fields_title.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsListResponseGrantsItemVisitorIdentityFieldsTitle + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_update200response.rb b/lib/CloudPDF/types/grants_update200response.rb deleted file mode 100644 index ad195457..00000000 --- a/lib/CloudPDF/types/grants_update200response.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class GrantsUpdate200Response < Internal::Types::Model - field :grant, -> { CloudPDF::Types::GrantsUpdate200ResponseGrant }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/grants_update200response_grant.rb b/lib/CloudPDF/types/grants_update200response_grant.rb deleted file mode 100644 index b8dcc2e6..00000000 --- a/lib/CloudPDF/types/grants_update200response_grant.rb +++ /dev/null @@ -1,51 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class GrantsUpdate200ResponseGrant < Internal::Types::Model - field :id, -> { String }, optional: false, nullable: false - - field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" - - field :doc_id, -> { String }, optional: false, nullable: false, api_name: "docId" - - field :name, -> { String }, optional: false, nullable: true - - field :layer_mode, -> { CloudPDF::Types::GrantsUpdate200ResponseGrantLayerMode }, optional: false, nullable: false, api_name: "layerMode" - - field :layer_name, -> { String }, optional: false, nullable: true, api_name: "layerName" - - field :keep_visitor_layers, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "keepVisitorLayers" - - field :visitor_idle_seconds, -> { Integer }, optional: false, nullable: true, api_name: "visitorIdleSeconds" - - field :visitor_identity, -> { CloudPDF::Types::GrantsUpdate200ResponseGrantVisitorIdentity }, optional: false, nullable: true, api_name: "visitorIdentity" - - field :identity, -> { CloudPDF::Types::Identity }, optional: false, nullable: true - - field :scope, -> { Internal::Types::Array[String] }, optional: false, nullable: false - - field :origins, -> { Internal::Types::Array[String] }, optional: false, nullable: true - - field :passphrase_protected, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "passphraseProtected" - - field :session_ttl_seconds, -> { Integer }, optional: false, nullable: false, api_name: "sessionTtlSeconds" - - field :disabled, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :archived_at, -> { Integer }, optional: false, nullable: true, api_name: "archivedAt" - - field :expires_at, -> { Integer }, optional: false, nullable: true, api_name: "expiresAt" - - field :exchange_count, -> { Integer }, optional: false, nullable: false, api_name: "exchangeCount" - - field :last_exchanged_at, -> { Integer }, optional: false, nullable: true, api_name: "lastExchangedAt" - - field :created_by, -> { String }, optional: false, nullable: false, api_name: "createdBy" - - field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" - - field :updated_at, -> { Integer }, optional: false, nullable: false, api_name: "updatedAt" - end - end -end diff --git a/lib/CloudPDF/types/grants_update200response_grant_layer_mode.rb b/lib/CloudPDF/types/grants_update200response_grant_layer_mode.rb deleted file mode 100644 index 59bae30d..00000000 --- a/lib/CloudPDF/types/grants_update200response_grant_layer_mode.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsUpdate200ResponseGrantLayerMode - extend CloudPDF::Internal::Types::Enum - - SHARED = "shared" - PER_VISITOR = "per-visitor" - end - end -end diff --git a/lib/CloudPDF/types/grants_update200response_grant_visitor_identity.rb b/lib/CloudPDF/types/grants_update200response_grant_visitor_identity.rb deleted file mode 100644 index 24ababe6..00000000 --- a/lib/CloudPDF/types/grants_update200response_grant_visitor_identity.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class GrantsUpdate200ResponseGrantVisitorIdentity < Internal::Types::Model - field :fields, -> { CloudPDF::Types::GrantsUpdate200ResponseGrantVisitorIdentityFields }, optional: false, nullable: false - - field :ask, -> { CloudPDF::Types::GrantsUpdate200ResponseGrantVisitorIdentityAsk }, optional: false, nullable: false - - field :purpose, -> { String }, optional: true, nullable: false - - field :privacy_url, -> { String }, optional: true, nullable: false, api_name: "privacyUrl" - end - end -end diff --git a/lib/CloudPDF/types/grants_update200response_grant_visitor_identity_ask.rb b/lib/CloudPDF/types/grants_update200response_grant_visitor_identity_ask.rb deleted file mode 100644 index 1723cbfe..00000000 --- a/lib/CloudPDF/types/grants_update200response_grant_visitor_identity_ask.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsUpdate200ResponseGrantVisitorIdentityAsk - extend CloudPDF::Internal::Types::Enum - - ON_OPEN = "on-open" - BEFORE_FIRST_CHANGE = "before-first-change" - end - end -end diff --git a/lib/CloudPDF/types/grants_update200response_grant_visitor_identity_fields.rb b/lib/CloudPDF/types/grants_update200response_grant_visitor_identity_fields.rb deleted file mode 100644 index 07d1f7a0..00000000 --- a/lib/CloudPDF/types/grants_update200response_grant_visitor_identity_fields.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class GrantsUpdate200ResponseGrantVisitorIdentityFields < Internal::Types::Model - field :display_name, -> { CloudPDF::Types::GrantsUpdate200ResponseGrantVisitorIdentityFieldsDisplayName }, optional: true, nullable: false, api_name: "displayName" - - field :email, -> { CloudPDF::Types::GrantsUpdate200ResponseGrantVisitorIdentityFieldsEmail }, optional: true, nullable: false - - field :title, -> { CloudPDF::Types::GrantsUpdate200ResponseGrantVisitorIdentityFieldsTitle }, optional: true, nullable: false - - field :organization, -> { CloudPDF::Types::GrantsUpdate200ResponseGrantVisitorIdentityFieldsOrganization }, optional: true, nullable: false - - field :organizational_unit, -> { CloudPDF::Types::GrantsUpdate200ResponseGrantVisitorIdentityFieldsOrganizationalUnit }, optional: true, nullable: false, api_name: "organizationalUnit" - end - end -end diff --git a/lib/CloudPDF/types/grants_update200response_grant_visitor_identity_fields_display_name.rb b/lib/CloudPDF/types/grants_update200response_grant_visitor_identity_fields_display_name.rb deleted file mode 100644 index 9f2d6818..00000000 --- a/lib/CloudPDF/types/grants_update200response_grant_visitor_identity_fields_display_name.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsUpdate200ResponseGrantVisitorIdentityFieldsDisplayName - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_update200response_grant_visitor_identity_fields_email.rb b/lib/CloudPDF/types/grants_update200response_grant_visitor_identity_fields_email.rb deleted file mode 100644 index 9c085efd..00000000 --- a/lib/CloudPDF/types/grants_update200response_grant_visitor_identity_fields_email.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsUpdate200ResponseGrantVisitorIdentityFieldsEmail - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_update200response_grant_visitor_identity_fields_organization.rb b/lib/CloudPDF/types/grants_update200response_grant_visitor_identity_fields_organization.rb deleted file mode 100644 index a1cf7a3d..00000000 --- a/lib/CloudPDF/types/grants_update200response_grant_visitor_identity_fields_organization.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsUpdate200ResponseGrantVisitorIdentityFieldsOrganization - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_update200response_grant_visitor_identity_fields_organizational_unit.rb b/lib/CloudPDF/types/grants_update200response_grant_visitor_identity_fields_organizational_unit.rb deleted file mode 100644 index fd59c395..00000000 --- a/lib/CloudPDF/types/grants_update200response_grant_visitor_identity_fields_organizational_unit.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsUpdate200ResponseGrantVisitorIdentityFieldsOrganizationalUnit - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_update200response_grant_visitor_identity_fields_title.rb b/lib/CloudPDF/types/grants_update200response_grant_visitor_identity_fields_title.rb deleted file mode 100644 index c845e9f9..00000000 --- a/lib/CloudPDF/types/grants_update200response_grant_visitor_identity_fields_title.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsUpdate200ResponseGrantVisitorIdentityFieldsTitle - extend CloudPDF::Internal::Types::Enum - - REQUIRED = "required" - OPTIONAL = "optional" - end - end -end diff --git a/lib/CloudPDF/types/grants_update400response.rb b/lib/CloudPDF/types/grants_update400response.rb deleted file mode 100644 index 60036b79..00000000 --- a/lib/CloudPDF/types/grants_update400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsUpdate400Response - # GrantsUpdate400Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/grants_update403response.rb b/lib/CloudPDF/types/grants_update403response.rb deleted file mode 100644 index 8336da19..00000000 --- a/lib/CloudPDF/types/grants_update403response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsUpdate403Response - # GrantsUpdate403Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/grants_update404response.rb b/lib/CloudPDF/types/grants_update404response.rb deleted file mode 100644 index 915f48cf..00000000 --- a/lib/CloudPDF/types/grants_update404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsUpdate404Response - # GrantsUpdate404Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/grants_update409response.rb b/lib/CloudPDF/types/grants_update409response.rb deleted file mode 100644 index 17d7bb79..00000000 --- a/lib/CloudPDF/types/grants_update409response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsUpdate409Response - # GrantsUpdate409Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/grants_update_response.rb b/lib/CloudPDF/types/grants_update_response.rb new file mode 100644 index 00000000..e747cc90 --- /dev/null +++ b/lib/CloudPDF/types/grants_update_response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class GrantsUpdateResponse < Internal::Types::Model + field :grant, -> { CloudPDF::Types::GrantsUpdateResponseGrant }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/grants_update_response_grant.rb b/lib/CloudPDF/types/grants_update_response_grant.rb new file mode 100644 index 00000000..2c8ca57e --- /dev/null +++ b/lib/CloudPDF/types/grants_update_response_grant.rb @@ -0,0 +1,51 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class GrantsUpdateResponseGrant < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :doc_id, -> { String }, optional: false, nullable: false, api_name: "docId" + + field :name, -> { String }, optional: false, nullable: true + + field :layer_mode, -> { CloudPDF::Types::GrantsUpdateResponseGrantLayerMode }, optional: false, nullable: false, api_name: "layerMode" + + field :layer_name, -> { String }, optional: false, nullable: true, api_name: "layerName" + + field :keep_visitor_layers, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "keepVisitorLayers" + + field :visitor_idle_seconds, -> { Integer }, optional: false, nullable: true, api_name: "visitorIdleSeconds" + + field :visitor_identity, -> { CloudPDF::Types::GrantsUpdateResponseGrantVisitorIdentity }, optional: false, nullable: true, api_name: "visitorIdentity" + + field :identity, -> { CloudPDF::Types::Identity }, optional: false, nullable: true + + field :scope, -> { Internal::Types::Array[String] }, optional: false, nullable: false + + field :origins, -> { Internal::Types::Array[String] }, optional: false, nullable: true + + field :passphrase_protected, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "passphraseProtected" + + field :session_ttl_seconds, -> { Integer }, optional: false, nullable: false, api_name: "sessionTtlSeconds" + + field :disabled, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :archived_at, -> { String }, optional: false, nullable: true, api_name: "archivedAt" + + field :expires_at, -> { String }, optional: false, nullable: true, api_name: "expiresAt" + + field :exchange_count, -> { Integer }, optional: false, nullable: false, api_name: "exchangeCount" + + field :last_exchanged_at, -> { String }, optional: false, nullable: true, api_name: "lastExchangedAt" + + field :created_by, -> { String }, optional: false, nullable: false, api_name: "createdBy" + + field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt" + + field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt" + end + end +end diff --git a/lib/CloudPDF/types/grants_update_response_grant_layer_mode.rb b/lib/CloudPDF/types/grants_update_response_grant_layer_mode.rb new file mode 100644 index 00000000..35e3855e --- /dev/null +++ b/lib/CloudPDF/types/grants_update_response_grant_layer_mode.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsUpdateResponseGrantLayerMode + extend CloudPDF::Internal::Types::Enum + + SHARED = "shared" + PER_VISITOR = "per-visitor" + end + end +end diff --git a/lib/CloudPDF/types/grants_update_response_grant_visitor_identity.rb b/lib/CloudPDF/types/grants_update_response_grant_visitor_identity.rb new file mode 100644 index 00000000..ee862549 --- /dev/null +++ b/lib/CloudPDF/types/grants_update_response_grant_visitor_identity.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class GrantsUpdateResponseGrantVisitorIdentity < Internal::Types::Model + field :fields, -> { CloudPDF::Types::GrantsUpdateResponseGrantVisitorIdentityFields }, optional: false, nullable: false + + field :ask, -> { CloudPDF::Types::GrantsUpdateResponseGrantVisitorIdentityAsk }, optional: false, nullable: false + + field :purpose, -> { String }, optional: true, nullable: false + + field :privacy_url, -> { String }, optional: true, nullable: false, api_name: "privacyUrl" + end + end +end diff --git a/lib/CloudPDF/types/grants_update_response_grant_visitor_identity_ask.rb b/lib/CloudPDF/types/grants_update_response_grant_visitor_identity_ask.rb new file mode 100644 index 00000000..64ac60d3 --- /dev/null +++ b/lib/CloudPDF/types/grants_update_response_grant_visitor_identity_ask.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsUpdateResponseGrantVisitorIdentityAsk + extend CloudPDF::Internal::Types::Enum + + ON_OPEN = "on-open" + BEFORE_FIRST_CHANGE = "before-first-change" + end + end +end diff --git a/lib/CloudPDF/types/grants_update_response_grant_visitor_identity_fields.rb b/lib/CloudPDF/types/grants_update_response_grant_visitor_identity_fields.rb new file mode 100644 index 00000000..94624863 --- /dev/null +++ b/lib/CloudPDF/types/grants_update_response_grant_visitor_identity_fields.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class GrantsUpdateResponseGrantVisitorIdentityFields < Internal::Types::Model + field :display_name, -> { CloudPDF::Types::GrantsUpdateResponseGrantVisitorIdentityFieldsDisplayName }, optional: true, nullable: false, api_name: "displayName" + + field :email, -> { CloudPDF::Types::GrantsUpdateResponseGrantVisitorIdentityFieldsEmail }, optional: true, nullable: false + + field :title, -> { CloudPDF::Types::GrantsUpdateResponseGrantVisitorIdentityFieldsTitle }, optional: true, nullable: false + + field :organization, -> { CloudPDF::Types::GrantsUpdateResponseGrantVisitorIdentityFieldsOrganization }, optional: true, nullable: false + + field :organizational_unit, -> { CloudPDF::Types::GrantsUpdateResponseGrantVisitorIdentityFieldsOrganizationalUnit }, optional: true, nullable: false, api_name: "organizationalUnit" + end + end +end diff --git a/lib/CloudPDF/types/grants_update_response_grant_visitor_identity_fields_display_name.rb b/lib/CloudPDF/types/grants_update_response_grant_visitor_identity_fields_display_name.rb new file mode 100644 index 00000000..21c44c33 --- /dev/null +++ b/lib/CloudPDF/types/grants_update_response_grant_visitor_identity_fields_display_name.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsUpdateResponseGrantVisitorIdentityFieldsDisplayName + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_update_response_grant_visitor_identity_fields_email.rb b/lib/CloudPDF/types/grants_update_response_grant_visitor_identity_fields_email.rb new file mode 100644 index 00000000..01beefda --- /dev/null +++ b/lib/CloudPDF/types/grants_update_response_grant_visitor_identity_fields_email.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsUpdateResponseGrantVisitorIdentityFieldsEmail + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_update_response_grant_visitor_identity_fields_organization.rb b/lib/CloudPDF/types/grants_update_response_grant_visitor_identity_fields_organization.rb new file mode 100644 index 00000000..49c5a4e3 --- /dev/null +++ b/lib/CloudPDF/types/grants_update_response_grant_visitor_identity_fields_organization.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsUpdateResponseGrantVisitorIdentityFieldsOrganization + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_update_response_grant_visitor_identity_fields_organizational_unit.rb b/lib/CloudPDF/types/grants_update_response_grant_visitor_identity_fields_organizational_unit.rb new file mode 100644 index 00000000..7825b4cb --- /dev/null +++ b/lib/CloudPDF/types/grants_update_response_grant_visitor_identity_fields_organizational_unit.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsUpdateResponseGrantVisitorIdentityFieldsOrganizationalUnit + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_update_response_grant_visitor_identity_fields_title.rb b/lib/CloudPDF/types/grants_update_response_grant_visitor_identity_fields_title.rb new file mode 100644 index 00000000..923a1e0c --- /dev/null +++ b/lib/CloudPDF/types/grants_update_response_grant_visitor_identity_fields_title.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module GrantsUpdateResponseGrantVisitorIdentityFieldsTitle + extend CloudPDF::Internal::Types::Enum + + REQUIRED = "required" + OPTIONAL = "optional" + end + end +end diff --git a/lib/CloudPDF/types/grants_visitors_delete_response.rb b/lib/CloudPDF/types/grants_visitors_delete_response.rb deleted file mode 100644 index 62306489..00000000 --- a/lib/CloudPDF/types/grants_visitors_delete_response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsVisitorsDeleteResponse - # GrantsVisitorsDeleteResponse is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/grants_visitors_list200response.rb b/lib/CloudPDF/types/grants_visitors_list200response.rb deleted file mode 100644 index ae464046..00000000 --- a/lib/CloudPDF/types/grants_visitors_list200response.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class GrantsVisitorsList200Response < Internal::Types::Model - field :visitors, -> { Internal::Types::Array[CloudPDF::Types::GrantsVisitorsList200ResponseVisitorsItem] }, optional: false, nullable: false - - field :next_cursor, -> { String }, optional: true, nullable: false, api_name: "nextCursor" - end - end -end diff --git a/lib/CloudPDF/types/grants_visitors_list200response_visitors_item.rb b/lib/CloudPDF/types/grants_visitors_list200response_visitors_item.rb deleted file mode 100644 index 3a98ff2b..00000000 --- a/lib/CloudPDF/types/grants_visitors_list200response_visitors_item.rb +++ /dev/null @@ -1,21 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class GrantsVisitorsList200ResponseVisitorsItem < Internal::Types::Model - field :visitor_id, -> { String }, optional: false, nullable: false, api_name: "visitorId" - - field :answers, -> { CloudPDF::Types::GrantsVisitorsList200ResponseVisitorsItemAnswers }, optional: false, nullable: false - - field :email_verified, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "emailVerified" - - field :consented_at, -> { Integer }, optional: false, nullable: true, api_name: "consentedAt" - - field :first_seen_at, -> { Integer }, optional: false, nullable: false, api_name: "firstSeenAt" - - field :last_seen_at, -> { Integer }, optional: false, nullable: false, api_name: "lastSeenAt" - - field :layer, -> { CloudPDF::Types::GrantsVisitorsList200ResponseVisitorsItemLayer }, optional: false, nullable: true - end - end -end diff --git a/lib/CloudPDF/types/grants_visitors_list200response_visitors_item_answers.rb b/lib/CloudPDF/types/grants_visitors_list200response_visitors_item_answers.rb deleted file mode 100644 index 756812e2..00000000 --- a/lib/CloudPDF/types/grants_visitors_list200response_visitors_item_answers.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class GrantsVisitorsList200ResponseVisitorsItemAnswers < Internal::Types::Model - field :display_name, -> { String }, optional: true, nullable: false, api_name: "displayName" - - field :email, -> { String }, optional: true, nullable: false - - field :title, -> { String }, optional: true, nullable: false - - field :organization, -> { String }, optional: true, nullable: false - - field :organizational_unit, -> { String }, optional: true, nullable: false, api_name: "organizationalUnit" - end - end -end diff --git a/lib/CloudPDF/types/grants_visitors_list200response_visitors_item_layer.rb b/lib/CloudPDF/types/grants_visitors_list200response_visitors_item_layer.rb deleted file mode 100644 index c9e9a6c7..00000000 --- a/lib/CloudPDF/types/grants_visitors_list200response_visitors_item_layer.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class GrantsVisitorsList200ResponseVisitorsItemLayer < Internal::Types::Model - field :layer_name, -> { String }, optional: false, nullable: false, api_name: "layerName" - - field :storage_size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "storageSizeBytes" - end - end -end diff --git a/lib/CloudPDF/types/grants_visitors_list400response.rb b/lib/CloudPDF/types/grants_visitors_list400response.rb deleted file mode 100644 index 0d5409cb..00000000 --- a/lib/CloudPDF/types/grants_visitors_list400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsVisitorsList400Response - # GrantsVisitorsList400Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/grants_visitors_list404response.rb b/lib/CloudPDF/types/grants_visitors_list404response.rb deleted file mode 100644 index 6c05ae9d..00000000 --- a/lib/CloudPDF/types/grants_visitors_list404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module GrantsVisitorsList404Response - # GrantsVisitorsList404Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/grants_visitors_list_response.rb b/lib/CloudPDF/types/grants_visitors_list_response.rb new file mode 100644 index 00000000..61febf42 --- /dev/null +++ b/lib/CloudPDF/types/grants_visitors_list_response.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class GrantsVisitorsListResponse < Internal::Types::Model + field :visitors, -> { Internal::Types::Array[CloudPDF::Types::GrantsVisitorsListResponseVisitorsItem] }, optional: false, nullable: false + + field :next_cursor, -> { String }, optional: false, nullable: true, api_name: "nextCursor" + end + end +end diff --git a/lib/CloudPDF/types/grants_visitors_list_response_visitors_item.rb b/lib/CloudPDF/types/grants_visitors_list_response_visitors_item.rb new file mode 100644 index 00000000..e913d1a4 --- /dev/null +++ b/lib/CloudPDF/types/grants_visitors_list_response_visitors_item.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class GrantsVisitorsListResponseVisitorsItem < Internal::Types::Model + field :visitor_id, -> { String }, optional: false, nullable: false, api_name: "visitorId" + + field :answers, -> { CloudPDF::Types::GrantsVisitorsListResponseVisitorsItemAnswers }, optional: false, nullable: false + + field :email_verified, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "emailVerified" + + field :consented_at, -> { String }, optional: false, nullable: true, api_name: "consentedAt" + + field :first_seen_at, -> { String }, optional: false, nullable: false, api_name: "firstSeenAt" + + field :last_seen_at, -> { String }, optional: false, nullable: false, api_name: "lastSeenAt" + + field :layer, -> { CloudPDF::Types::GrantsVisitorsListResponseVisitorsItemLayer }, optional: false, nullable: true + end + end +end diff --git a/lib/CloudPDF/types/grants_visitors_list_response_visitors_item_answers.rb b/lib/CloudPDF/types/grants_visitors_list_response_visitors_item_answers.rb new file mode 100644 index 00000000..b0e478c5 --- /dev/null +++ b/lib/CloudPDF/types/grants_visitors_list_response_visitors_item_answers.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class GrantsVisitorsListResponseVisitorsItemAnswers < Internal::Types::Model + field :display_name, -> { String }, optional: true, nullable: false, api_name: "displayName" + + field :email, -> { String }, optional: true, nullable: false + + field :title, -> { String }, optional: true, nullable: false + + field :organization, -> { String }, optional: true, nullable: false + + field :organizational_unit, -> { String }, optional: true, nullable: false, api_name: "organizationalUnit" + end + end +end diff --git a/lib/CloudPDF/types/grants_visitors_list_response_visitors_item_layer.rb b/lib/CloudPDF/types/grants_visitors_list_response_visitors_item_layer.rb new file mode 100644 index 00000000..beda691c --- /dev/null +++ b/lib/CloudPDF/types/grants_visitors_list_response_visitors_item_layer.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class GrantsVisitorsListResponseVisitorsItemLayer < Internal::Types::Model + field :layer_name, -> { String }, optional: false, nullable: false, api_name: "layerName" + + field :size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "sizeBytes" + end + end +end diff --git a/lib/CloudPDF/types/outline_mutation_meta.rb b/lib/CloudPDF/types/outline_mutation_meta.rb index 4ba6e455..76ab5798 100644 --- a/lib/CloudPDF/types/outline_mutation_meta.rb +++ b/lib/CloudPDF/types/outline_mutation_meta.rb @@ -13,7 +13,7 @@ class OutlineMutationMeta < Internal::Types::Model field :missing_characters, -> { Internal::Types::Array[String] }, optional: true, nullable: false, api_name: "missingCharacters" - field :changed, -> { Internal::Types::Array[CloudPDF::Types::OutlineItemRef] }, optional: false, nullable: false + field :changed_refs, -> { Internal::Types::Array[CloudPDF::Types::OutlineItemRef] }, optional: false, nullable: false, api_name: "changedRefs" end end end diff --git a/lib/CloudPDF/types/page_destination_fit_bh.rb b/lib/CloudPDF/types/page_destination_fit_bh.rb index 606f958e..4f2b0957 100644 --- a/lib/CloudPDF/types/page_destination_fit_bh.rb +++ b/lib/CloudPDF/types/page_destination_fit_bh.rb @@ -5,7 +5,7 @@ module Types class PageDestinationFitBh < Internal::Types::Model field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false - field :y, -> { Integer }, optional: true, nullable: false + field :y, -> { Integer }, optional: false, nullable: true end end end diff --git a/lib/CloudPDF/types/page_destination_fit_bv.rb b/lib/CloudPDF/types/page_destination_fit_bv.rb index 924d3cf0..733e9211 100644 --- a/lib/CloudPDF/types/page_destination_fit_bv.rb +++ b/lib/CloudPDF/types/page_destination_fit_bv.rb @@ -5,7 +5,7 @@ module Types class PageDestinationFitBv < Internal::Types::Model field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false - field :x, -> { Integer }, optional: true, nullable: false + field :x, -> { Integer }, optional: false, nullable: true end end end diff --git a/lib/CloudPDF/types/page_destination_fit_h.rb b/lib/CloudPDF/types/page_destination_fit_h.rb index f7a86c71..992f6b35 100644 --- a/lib/CloudPDF/types/page_destination_fit_h.rb +++ b/lib/CloudPDF/types/page_destination_fit_h.rb @@ -5,7 +5,7 @@ module Types class PageDestinationFitH < Internal::Types::Model field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false - field :y, -> { Integer }, optional: true, nullable: false + field :y, -> { Integer }, optional: false, nullable: true end end end diff --git a/lib/CloudPDF/types/page_destination_fit_v.rb b/lib/CloudPDF/types/page_destination_fit_v.rb index 490c9690..6c0e5ae4 100644 --- a/lib/CloudPDF/types/page_destination_fit_v.rb +++ b/lib/CloudPDF/types/page_destination_fit_v.rb @@ -5,7 +5,7 @@ module Types class PageDestinationFitV < Internal::Types::Model field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false - field :x, -> { Integer }, optional: true, nullable: false + field :x, -> { Integer }, optional: false, nullable: true end end end diff --git a/lib/CloudPDF/types/page_destination_xyz.rb b/lib/CloudPDF/types/page_destination_xyz.rb index cd4cdf27..0d35f1e1 100644 --- a/lib/CloudPDF/types/page_destination_xyz.rb +++ b/lib/CloudPDF/types/page_destination_xyz.rb @@ -5,11 +5,11 @@ module Types class PageDestinationXyz < Internal::Types::Model field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false - field :x, -> { Integer }, optional: true, nullable: false + field :x, -> { Integer }, optional: false, nullable: true - field :y, -> { Integer }, optional: true, nullable: false + field :y, -> { Integer }, optional: false, nullable: true - field :zoom, -> { Integer }, optional: true, nullable: false + field :zoom, -> { Integer }, optional: false, nullable: true end end end diff --git a/lib/CloudPDF/types/pdf_action_node.rb b/lib/CloudPDF/types/pdf_action_node.rb index 1cd00918..df01ef6d 100644 --- a/lib/CloudPDF/types/pdf_action_node.rb +++ b/lib/CloudPDF/types/pdf_action_node.rb @@ -2,6 +2,8 @@ module CloudPDF module Types + # An action, by its `type`. A newer server can add types: read one your client doesn't know as `unknown`, keeping + # its `subtype` and `next`. class PdfActionNode < Internal::Types::Model extend CloudPDF::Internal::Types::Union diff --git a/lib/CloudPDF/types/pdf_action_node_submit_form_payload.rb b/lib/CloudPDF/types/pdf_action_node_submit_form_payload.rb index 76041186..b067ba06 100644 --- a/lib/CloudPDF/types/pdf_action_node_submit_form_payload.rb +++ b/lib/CloudPDF/types/pdf_action_node_submit_form_payload.rb @@ -7,7 +7,27 @@ class PdfActionNodeSubmitFormPayload < Internal::Types::Model field :fields, -> { Internal::Types::Array[CloudPDF::Types::PdfActionTargetRef] }, optional: false, nullable: true - field :flags, -> { CloudPDF::Types::PdfActionNodeSubmitFormPayloadFlags }, optional: false, nullable: false + field :exclude, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :include_no_value_fields, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "includeNoValueFields" + + field :format, -> { CloudPDF::Types::PdfActionNodeSubmitFormPayloadFormat }, optional: false, nullable: false + + field :method_, -> { CloudPDF::Types::PdfActionNodeSubmitFormPayloadMethod }, optional: false, nullable: false, api_name: "method" + + field :submit_coordinates, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "submitCoordinates" + + field :include_append_saves, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "includeAppendSaves" + + field :include_annotations, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "includeAnnotations" + + field :canonical_format, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "canonicalFormat" + + field :excl_non_user_annots, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "exclNonUserAnnots" + + field :excl_f_key, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "exclFKey" + + field :embed_form, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "embedForm" field :char_set, -> { String }, optional: true, nullable: false, api_name: "charSet" end diff --git a/lib/CloudPDF/types/pdf_action_node_submit_form_payload_flags.rb b/lib/CloudPDF/types/pdf_action_node_submit_form_payload_flags.rb deleted file mode 100644 index c912a9c1..00000000 --- a/lib/CloudPDF/types/pdf_action_node_submit_form_payload_flags.rb +++ /dev/null @@ -1,31 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class PdfActionNodeSubmitFormPayloadFlags < Internal::Types::Model - field :raw, -> { Integer }, optional: false, nullable: false - - field :exclude, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :include_no_value_fields, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "includeNoValueFields" - - field :format, -> { CloudPDF::Types::PdfActionNodeSubmitFormPayloadFlagsFormat }, optional: false, nullable: false - - field :method_, -> { CloudPDF::Types::PdfActionNodeSubmitFormPayloadFlagsMethod }, optional: false, nullable: false, api_name: "method" - - field :submit_coordinates, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "submitCoordinates" - - field :include_append_saves, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "includeAppendSaves" - - field :include_annotations, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "includeAnnotations" - - field :canonical_format, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "canonicalFormat" - - field :excl_non_user_annots, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "exclNonUserAnnots" - - field :excl_f_key, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "exclFKey" - - field :embed_form, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "embedForm" - end - end -end diff --git a/lib/CloudPDF/types/pdf_action_node_submit_form_payload_flags_format.rb b/lib/CloudPDF/types/pdf_action_node_submit_form_payload_flags_format.rb deleted file mode 100644 index fe3bf6d9..00000000 --- a/lib/CloudPDF/types/pdf_action_node_submit_form_payload_flags_format.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module PdfActionNodeSubmitFormPayloadFlagsFormat - extend CloudPDF::Internal::Types::Enum - - FDF = "fdf" - HTML = "html" - XFDF = "xfdf" - PDF = "pdf" - end - end -end diff --git a/lib/CloudPDF/types/pdf_action_node_submit_form_payload_flags_method.rb b/lib/CloudPDF/types/pdf_action_node_submit_form_payload_flags_method.rb deleted file mode 100644 index 7badf8e9..00000000 --- a/lib/CloudPDF/types/pdf_action_node_submit_form_payload_flags_method.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module PdfActionNodeSubmitFormPayloadFlagsMethod - extend CloudPDF::Internal::Types::Enum - - POST = "post" - GET = "get" - end - end -end diff --git a/lib/CloudPDF/types/pdf_action_node_submit_form_payload_format.rb b/lib/CloudPDF/types/pdf_action_node_submit_form_payload_format.rb new file mode 100644 index 00000000..ade02cb7 --- /dev/null +++ b/lib/CloudPDF/types/pdf_action_node_submit_form_payload_format.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module PdfActionNodeSubmitFormPayloadFormat + extend CloudPDF::Internal::Types::Enum + + FDF = "fdf" + HTML = "html" + XFDF = "xfdf" + PDF = "pdf" + end + end +end diff --git a/lib/CloudPDF/types/pdf_action_node_submit_form_payload_method.rb b/lib/CloudPDF/types/pdf_action_node_submit_form_payload_method.rb new file mode 100644 index 00000000..d0c52ebb --- /dev/null +++ b/lib/CloudPDF/types/pdf_action_node_submit_form_payload_method.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module PdfActionNodeSubmitFormPayloadMethod + extend CloudPDF::Internal::Types::Enum + + POST = "post" + GET = "get" + end + end +end diff --git a/lib/CloudPDF/types/pdf_action_tree.rb b/lib/CloudPDF/types/pdf_action_tree.rb index c517d406..b677c90f 100644 --- a/lib/CloudPDF/types/pdf_action_tree.rb +++ b/lib/CloudPDF/types/pdf_action_tree.rb @@ -7,8 +7,6 @@ class PdfActionTree < Internal::Types::Model field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false - field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" - field :warnings, -> { Internal::Types::Array[CloudPDF::Types::PdfActionTreeWarningsItem] }, optional: false, nullable: false end end diff --git a/lib/CloudPDF/types/pdf_action_write_submit_form.rb b/lib/CloudPDF/types/pdf_action_write_submit_form.rb index 0e72ffa0..5ba9ba19 100644 --- a/lib/CloudPDF/types/pdf_action_write_submit_form.rb +++ b/lib/CloudPDF/types/pdf_action_write_submit_form.rb @@ -7,7 +7,27 @@ class PdfActionWriteSubmitForm < Internal::Types::Model field :fields, -> { Internal::Types::Array[CloudPDF::Types::PdfActionTargetRef] }, optional: false, nullable: true - field :flags, -> { Integer }, optional: true, nullable: false + field :exclude, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :include_no_value_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "includeNoValueFields" + + field :format, -> { CloudPDF::Types::PdfActionWriteSubmitFormFormat }, optional: true, nullable: false + + field :method_, -> { CloudPDF::Types::PdfActionWriteSubmitFormMethod }, optional: true, nullable: false, api_name: "method" + + field :submit_coordinates, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "submitCoordinates" + + field :include_append_saves, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "includeAppendSaves" + + field :include_annotations, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "includeAnnotations" + + field :canonical_format, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "canonicalFormat" + + field :excl_non_user_annots, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "exclNonUserAnnots" + + field :excl_f_key, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "exclFKey" + + field :embed_form, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "embedForm" field :next_, -> { Internal::Types::Array[Object] }, optional: true, nullable: false, api_name: "next" end diff --git a/lib/CloudPDF/types/pdf_action_write_submit_form_format.rb b/lib/CloudPDF/types/pdf_action_write_submit_form_format.rb new file mode 100644 index 00000000..fc2427f3 --- /dev/null +++ b/lib/CloudPDF/types/pdf_action_write_submit_form_format.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module PdfActionWriteSubmitFormFormat + extend CloudPDF::Internal::Types::Enum + + FDF = "fdf" + HTML = "html" + XFDF = "xfdf" + PDF = "pdf" + end + end +end diff --git a/lib/CloudPDF/types/pdf_action_write_submit_form_method.rb b/lib/CloudPDF/types/pdf_action_write_submit_form_method.rb new file mode 100644 index 00000000..5aeecd7a --- /dev/null +++ b/lib/CloudPDF/types/pdf_action_write_submit_form_method.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module PdfActionWriteSubmitFormMethod + extend CloudPDF::Internal::Types::Enum + + POST = "post" + GET = "get" + end + end +end diff --git a/lib/CloudPDF/types/pdf_link_target.rb b/lib/CloudPDF/types/pdf_link_target.rb index 77362c99..d9a82dfd 100644 --- a/lib/CloudPDF/types/pdf_link_target.rb +++ b/lib/CloudPDF/types/pdf_link_target.rb @@ -2,6 +2,8 @@ module CloudPDF module Types + # Where a link goes, by its `kind`. A newer server can add kinds: read one your client doesn't know as + # `unsupported`. class PdfLinkTarget < Internal::Types::Model extend CloudPDF::Internal::Types::Union diff --git a/lib/CloudPDF/types/pdf_measurement.rb b/lib/CloudPDF/types/pdf_measurement.rb new file mode 100644 index 00000000..64b76dab --- /dev/null +++ b/lib/CloudPDF/types/pdf_measurement.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + # A measure, by its `subtype`. A newer server can add subtypes: read one your client doesn't know as `unknown`. + class PdfMeasurement < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :subtype + + member -> { CloudPDF::Types::PdfMeasurementRectilinear }, key: "RECTILINEAR" + + member -> { CloudPDF::Types::PdfMeasurementGeospatial }, key: "GEOSPATIAL" + + member -> { CloudPDF::Types::PdfMeasurementUnknown }, key: "UNKNOWN" + end + end +end diff --git a/lib/CloudPDF/types/pdf_measurement_geospatial.rb b/lib/CloudPDF/types/pdf_measurement_geospatial.rb new file mode 100644 index 00000000..207debdd --- /dev/null +++ b/lib/CloudPDF/types/pdf_measurement_geospatial.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfMeasurementGeospatial < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/pdf_measurement_rectilinear.rb b/lib/CloudPDF/types/pdf_measurement_rectilinear.rb new file mode 100644 index 00000000..eaf21a62 --- /dev/null +++ b/lib/CloudPDF/types/pdf_measurement_rectilinear.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfMeasurementRectilinear < Internal::Types::Model + field :ratio, -> { String }, optional: true, nullable: false + + field :x, -> { Internal::Types::Array[CloudPDF::Types::PdfMeasurementRectilinearXItem] }, optional: false, nullable: false + + field :y, -> { Internal::Types::Array[CloudPDF::Types::PdfMeasurementRectilinearYItem] }, optional: true, nullable: false + + field :distance, -> { Internal::Types::Array[CloudPDF::Types::PdfMeasurementRectilinearDistanceItem] }, optional: false, nullable: false + + field :area, -> { Internal::Types::Array[CloudPDF::Types::PdfMeasurementRectilinearAreaItem] }, optional: false, nullable: false + + field :angle, -> { Internal::Types::Array[CloudPDF::Types::PdfMeasurementRectilinearAngleItem] }, optional: true, nullable: false + + field :slope, -> { Internal::Types::Array[CloudPDF::Types::PdfMeasurementRectilinearSlopeItem] }, optional: true, nullable: false + + field :origin, -> { CloudPDF::Types::PdfMeasurementRectilinearOrigin }, optional: true, nullable: false + + field :cyx, -> { Integer }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/pdf_measurement_rectilinear_angle_item.rb b/lib/CloudPDF/types/pdf_measurement_rectilinear_angle_item.rb new file mode 100644 index 00000000..cce20afd --- /dev/null +++ b/lib/CloudPDF/types/pdf_measurement_rectilinear_angle_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfMeasurementRectilinearAngleItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: true, nullable: false + + field :fraction, -> { CloudPDF::Types::PdfMeasurementRectilinearAngleItemFraction }, optional: true, nullable: false + + field :precision, -> { Integer }, optional: true, nullable: false + + field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :thousands, -> { String }, optional: true, nullable: false + + field :decimal, -> { String }, optional: true, nullable: false + + field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" + + field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" + + field :label_position, -> { CloudPDF::Types::PdfMeasurementRectilinearAngleItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/pdf_measurement_rectilinear_angle_item_fraction.rb b/lib/CloudPDF/types/pdf_measurement_rectilinear_angle_item_fraction.rb new file mode 100644 index 00000000..d0bfff47 --- /dev/null +++ b/lib/CloudPDF/types/pdf_measurement_rectilinear_angle_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module PdfMeasurementRectilinearAngleItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/pdf_measurement_rectilinear_angle_item_label_position.rb b/lib/CloudPDF/types/pdf_measurement_rectilinear_angle_item_label_position.rb new file mode 100644 index 00000000..65e4647a --- /dev/null +++ b/lib/CloudPDF/types/pdf_measurement_rectilinear_angle_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module PdfMeasurementRectilinearAngleItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/pdf_measurement_rectilinear_area_item.rb b/lib/CloudPDF/types/pdf_measurement_rectilinear_area_item.rb new file mode 100644 index 00000000..e13232c2 --- /dev/null +++ b/lib/CloudPDF/types/pdf_measurement_rectilinear_area_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfMeasurementRectilinearAreaItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: true, nullable: false + + field :fraction, -> { CloudPDF::Types::PdfMeasurementRectilinearAreaItemFraction }, optional: true, nullable: false + + field :precision, -> { Integer }, optional: true, nullable: false + + field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :thousands, -> { String }, optional: true, nullable: false + + field :decimal, -> { String }, optional: true, nullable: false + + field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" + + field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" + + field :label_position, -> { CloudPDF::Types::PdfMeasurementRectilinearAreaItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/pdf_measurement_rectilinear_area_item_fraction.rb b/lib/CloudPDF/types/pdf_measurement_rectilinear_area_item_fraction.rb new file mode 100644 index 00000000..a5c99769 --- /dev/null +++ b/lib/CloudPDF/types/pdf_measurement_rectilinear_area_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module PdfMeasurementRectilinearAreaItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/pdf_measurement_rectilinear_area_item_label_position.rb b/lib/CloudPDF/types/pdf_measurement_rectilinear_area_item_label_position.rb new file mode 100644 index 00000000..2e362113 --- /dev/null +++ b/lib/CloudPDF/types/pdf_measurement_rectilinear_area_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module PdfMeasurementRectilinearAreaItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/pdf_measurement_rectilinear_distance_item.rb b/lib/CloudPDF/types/pdf_measurement_rectilinear_distance_item.rb new file mode 100644 index 00000000..14acbdff --- /dev/null +++ b/lib/CloudPDF/types/pdf_measurement_rectilinear_distance_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfMeasurementRectilinearDistanceItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: true, nullable: false + + field :fraction, -> { CloudPDF::Types::PdfMeasurementRectilinearDistanceItemFraction }, optional: true, nullable: false + + field :precision, -> { Integer }, optional: true, nullable: false + + field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :thousands, -> { String }, optional: true, nullable: false + + field :decimal, -> { String }, optional: true, nullable: false + + field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" + + field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" + + field :label_position, -> { CloudPDF::Types::PdfMeasurementRectilinearDistanceItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/pdf_measurement_rectilinear_distance_item_fraction.rb b/lib/CloudPDF/types/pdf_measurement_rectilinear_distance_item_fraction.rb new file mode 100644 index 00000000..9e39a058 --- /dev/null +++ b/lib/CloudPDF/types/pdf_measurement_rectilinear_distance_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module PdfMeasurementRectilinearDistanceItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/pdf_measurement_rectilinear_distance_item_label_position.rb b/lib/CloudPDF/types/pdf_measurement_rectilinear_distance_item_label_position.rb new file mode 100644 index 00000000..b10e73ed --- /dev/null +++ b/lib/CloudPDF/types/pdf_measurement_rectilinear_distance_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module PdfMeasurementRectilinearDistanceItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/pdf_measurement_rectilinear_origin.rb b/lib/CloudPDF/types/pdf_measurement_rectilinear_origin.rb new file mode 100644 index 00000000..02fdc04f --- /dev/null +++ b/lib/CloudPDF/types/pdf_measurement_rectilinear_origin.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfMeasurementRectilinearOrigin < Internal::Types::Model + field :x, -> { Integer }, optional: false, nullable: false + + field :y, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/pdf_measurement_rectilinear_slope_item.rb b/lib/CloudPDF/types/pdf_measurement_rectilinear_slope_item.rb new file mode 100644 index 00000000..1eaf798a --- /dev/null +++ b/lib/CloudPDF/types/pdf_measurement_rectilinear_slope_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfMeasurementRectilinearSlopeItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: true, nullable: false + + field :fraction, -> { CloudPDF::Types::PdfMeasurementRectilinearSlopeItemFraction }, optional: true, nullable: false + + field :precision, -> { Integer }, optional: true, nullable: false + + field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :thousands, -> { String }, optional: true, nullable: false + + field :decimal, -> { String }, optional: true, nullable: false + + field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" + + field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" + + field :label_position, -> { CloudPDF::Types::PdfMeasurementRectilinearSlopeItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/pdf_measurement_rectilinear_slope_item_fraction.rb b/lib/CloudPDF/types/pdf_measurement_rectilinear_slope_item_fraction.rb new file mode 100644 index 00000000..8417f44b --- /dev/null +++ b/lib/CloudPDF/types/pdf_measurement_rectilinear_slope_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module PdfMeasurementRectilinearSlopeItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/pdf_measurement_rectilinear_slope_item_label_position.rb b/lib/CloudPDF/types/pdf_measurement_rectilinear_slope_item_label_position.rb new file mode 100644 index 00000000..ebf726c5 --- /dev/null +++ b/lib/CloudPDF/types/pdf_measurement_rectilinear_slope_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module PdfMeasurementRectilinearSlopeItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/pdf_measurement_rectilinear_x_item.rb b/lib/CloudPDF/types/pdf_measurement_rectilinear_x_item.rb new file mode 100644 index 00000000..b506f206 --- /dev/null +++ b/lib/CloudPDF/types/pdf_measurement_rectilinear_x_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfMeasurementRectilinearXItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: true, nullable: false + + field :fraction, -> { CloudPDF::Types::PdfMeasurementRectilinearXItemFraction }, optional: true, nullable: false + + field :precision, -> { Integer }, optional: true, nullable: false + + field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :thousands, -> { String }, optional: true, nullable: false + + field :decimal, -> { String }, optional: true, nullable: false + + field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" + + field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" + + field :label_position, -> { CloudPDF::Types::PdfMeasurementRectilinearXItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/pdf_measurement_rectilinear_x_item_fraction.rb b/lib/CloudPDF/types/pdf_measurement_rectilinear_x_item_fraction.rb new file mode 100644 index 00000000..57445042 --- /dev/null +++ b/lib/CloudPDF/types/pdf_measurement_rectilinear_x_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module PdfMeasurementRectilinearXItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/pdf_measurement_rectilinear_x_item_label_position.rb b/lib/CloudPDF/types/pdf_measurement_rectilinear_x_item_label_position.rb new file mode 100644 index 00000000..9970e822 --- /dev/null +++ b/lib/CloudPDF/types/pdf_measurement_rectilinear_x_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module PdfMeasurementRectilinearXItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/pdf_measurement_rectilinear_y_item.rb b/lib/CloudPDF/types/pdf_measurement_rectilinear_y_item.rb new file mode 100644 index 00000000..1951b06d --- /dev/null +++ b/lib/CloudPDF/types/pdf_measurement_rectilinear_y_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfMeasurementRectilinearYItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: true, nullable: false + + field :fraction, -> { CloudPDF::Types::PdfMeasurementRectilinearYItemFraction }, optional: true, nullable: false + + field :precision, -> { Integer }, optional: true, nullable: false + + field :fixed, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :thousands, -> { String }, optional: true, nullable: false + + field :decimal, -> { String }, optional: true, nullable: false + + field :prefix_spacing, -> { String }, optional: true, nullable: false, api_name: "prefixSpacing" + + field :suffix_spacing, -> { String }, optional: true, nullable: false, api_name: "suffixSpacing" + + field :label_position, -> { CloudPDF::Types::PdfMeasurementRectilinearYItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/pdf_measurement_rectilinear_y_item_fraction.rb b/lib/CloudPDF/types/pdf_measurement_rectilinear_y_item_fraction.rb new file mode 100644 index 00000000..599f255f --- /dev/null +++ b/lib/CloudPDF/types/pdf_measurement_rectilinear_y_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module PdfMeasurementRectilinearYItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/pdf_measurement_rectilinear_y_item_label_position.rb b/lib/CloudPDF/types/pdf_measurement_rectilinear_y_item_label_position.rb new file mode 100644 index 00000000..7a7f129b --- /dev/null +++ b/lib/CloudPDF/types/pdf_measurement_rectilinear_y_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module PdfMeasurementRectilinearYItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/pdf_measurement_unknown.rb b/lib/CloudPDF/types/pdf_measurement_unknown.rb new file mode 100644 index 00000000..7533aa08 --- /dev/null +++ b/lib/CloudPDF/types/pdf_measurement_unknown.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfMeasurementUnknown < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/pdf_permission_flags.rb b/lib/CloudPDF/types/pdf_permission_flags.rb new file mode 100644 index 00000000..94ab3800 --- /dev/null +++ b/lib/CloudPDF/types/pdf_permission_flags.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfPermissionFlags < Internal::Types::Model + field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :modify_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "modifyContents" + + field :copy, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :modify_annotations, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "modifyAnnotations" + + field :fill_forms, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "fillForms" + + field :copy_for_accessibility, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "copyForAccessibility" + + field :assemble, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :print_high_quality, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "printHighQuality" + end + end +end diff --git a/lib/CloudPDF/types/tenants_create200response.rb b/lib/CloudPDF/types/tenants_create200response.rb deleted file mode 100644 index cabfb75f..00000000 --- a/lib/CloudPDF/types/tenants_create200response.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class TenantsCreate200Response < Internal::Types::Model - field :tenant, -> { CloudPDF::Types::TenantsCreate200ResponseTenant }, optional: false, nullable: false - - field :created, -> { Internal::Types::Boolean }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/tenants_create200response_tenant.rb b/lib/CloudPDF/types/tenants_create200response_tenant.rb deleted file mode 100644 index 80dc0ffe..00000000 --- a/lib/CloudPDF/types/tenants_create200response_tenant.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class TenantsCreate200ResponseTenant < Internal::Types::Model - field :id, -> { String }, optional: false, nullable: false - - field :name, -> { String }, optional: false, nullable: false - - field :auto_provisioned, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "autoProvisioned" - - field :status, -> { CloudPDF::Types::TenantsCreate200ResponseTenantStatus }, optional: true, nullable: false - - field :features, -> { Internal::Types::Array[CloudPDF::Types::TenantFeature] }, optional: true, nullable: false - - field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" - end - end -end diff --git a/lib/CloudPDF/types/tenants_create200response_tenant_status.rb b/lib/CloudPDF/types/tenants_create200response_tenant_status.rb deleted file mode 100644 index 0acce36f..00000000 --- a/lib/CloudPDF/types/tenants_create200response_tenant_status.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module TenantsCreate200ResponseTenantStatus - extend CloudPDF::Internal::Types::Enum - - ACTIVE = "active" - SUSPENDED = "suspended" - end - end -end diff --git a/lib/CloudPDF/types/tenants_create400response.rb b/lib/CloudPDF/types/tenants_create400response.rb deleted file mode 100644 index c8b32eae..00000000 --- a/lib/CloudPDF/types/tenants_create400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module TenantsCreate400Response - # TenantsCreate400Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/tenants_create_response.rb b/lib/CloudPDF/types/tenants_create_response.rb new file mode 100644 index 00000000..a88b1b17 --- /dev/null +++ b/lib/CloudPDF/types/tenants_create_response.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class TenantsCreateResponse < Internal::Types::Model + field :tenant, -> { CloudPDF::Types::TenantsCreateResponseTenant }, optional: false, nullable: false + + field :created, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/tenants_create_response_tenant.rb b/lib/CloudPDF/types/tenants_create_response_tenant.rb new file mode 100644 index 00000000..06ffa789 --- /dev/null +++ b/lib/CloudPDF/types/tenants_create_response_tenant.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class TenantsCreateResponseTenant < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :auto_provisioned, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "autoProvisioned" + + field :status, -> { CloudPDF::Types::TenantsCreateResponseTenantStatus }, optional: true, nullable: false + + field :features, -> { Internal::Types::Array[CloudPDF::Types::TenantFeature] }, optional: true, nullable: false + + field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt" + end + end +end diff --git a/lib/CloudPDF/types/tenants_create_response_tenant_status.rb b/lib/CloudPDF/types/tenants_create_response_tenant_status.rb new file mode 100644 index 00000000..ba7693fd --- /dev/null +++ b/lib/CloudPDF/types/tenants_create_response_tenant_status.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module TenantsCreateResponseTenantStatus + extend CloudPDF::Internal::Types::Enum + + ACTIVE = "active" + SUSPENDED = "suspended" + end + end +end diff --git a/lib/CloudPDF/types/tenants_delete_response.rb b/lib/CloudPDF/types/tenants_delete_response.rb deleted file mode 100644 index d137a847..00000000 --- a/lib/CloudPDF/types/tenants_delete_response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module TenantsDeleteResponse - # TenantsDeleteResponse is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/tenants_get200response.rb b/lib/CloudPDF/types/tenants_get200response.rb deleted file mode 100644 index 8e8197bd..00000000 --- a/lib/CloudPDF/types/tenants_get200response.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class TenantsGet200Response < Internal::Types::Model - field :tenant, -> { CloudPDF::Types::TenantsGet200ResponseTenant }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/tenants_get200response_tenant.rb b/lib/CloudPDF/types/tenants_get200response_tenant.rb deleted file mode 100644 index 07ad916f..00000000 --- a/lib/CloudPDF/types/tenants_get200response_tenant.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class TenantsGet200ResponseTenant < Internal::Types::Model - field :id, -> { String }, optional: false, nullable: false - - field :name, -> { String }, optional: false, nullable: false - - field :auto_provisioned, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "autoProvisioned" - - field :status, -> { CloudPDF::Types::TenantsGet200ResponseTenantStatus }, optional: true, nullable: false - - field :features, -> { Internal::Types::Array[CloudPDF::Types::TenantFeature] }, optional: true, nullable: false - - field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" - end - end -end diff --git a/lib/CloudPDF/types/tenants_get200response_tenant_status.rb b/lib/CloudPDF/types/tenants_get200response_tenant_status.rb deleted file mode 100644 index 532befa4..00000000 --- a/lib/CloudPDF/types/tenants_get200response_tenant_status.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module TenantsGet200ResponseTenantStatus - extend CloudPDF::Internal::Types::Enum - - ACTIVE = "active" - SUSPENDED = "suspended" - end - end -end diff --git a/lib/CloudPDF/types/tenants_get404response.rb b/lib/CloudPDF/types/tenants_get404response.rb deleted file mode 100644 index 6d817d92..00000000 --- a/lib/CloudPDF/types/tenants_get404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module TenantsGet404Response - # TenantsGet404Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/tenants_get_response.rb b/lib/CloudPDF/types/tenants_get_response.rb new file mode 100644 index 00000000..d7d7a894 --- /dev/null +++ b/lib/CloudPDF/types/tenants_get_response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class TenantsGetResponse < Internal::Types::Model + field :tenant, -> { CloudPDF::Types::TenantsGetResponseTenant }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/tenants_get_response_tenant.rb b/lib/CloudPDF/types/tenants_get_response_tenant.rb new file mode 100644 index 00000000..027754d0 --- /dev/null +++ b/lib/CloudPDF/types/tenants_get_response_tenant.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class TenantsGetResponseTenant < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :auto_provisioned, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "autoProvisioned" + + field :status, -> { CloudPDF::Types::TenantsGetResponseTenantStatus }, optional: true, nullable: false + + field :features, -> { Internal::Types::Array[CloudPDF::Types::TenantFeature] }, optional: true, nullable: false + + field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt" + end + end +end diff --git a/lib/CloudPDF/types/tenants_get_response_tenant_status.rb b/lib/CloudPDF/types/tenants_get_response_tenant_status.rb new file mode 100644 index 00000000..d5ace020 --- /dev/null +++ b/lib/CloudPDF/types/tenants_get_response_tenant_status.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module TenantsGetResponseTenantStatus + extend CloudPDF::Internal::Types::Enum + + ACTIVE = "active" + SUSPENDED = "suspended" + end + end +end diff --git a/lib/CloudPDF/types/tenants_list200response.rb b/lib/CloudPDF/types/tenants_list200response.rb deleted file mode 100644 index 4052a80a..00000000 --- a/lib/CloudPDF/types/tenants_list200response.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class TenantsList200Response < Internal::Types::Model - field :tenants, -> { Internal::Types::Array[CloudPDF::Types::TenantsList200ResponseTenantsItem] }, optional: false, nullable: false - - field :next_cursor, -> { String }, optional: true, nullable: false, api_name: "nextCursor" - end - end -end diff --git a/lib/CloudPDF/types/tenants_list200response_tenants_item.rb b/lib/CloudPDF/types/tenants_list200response_tenants_item.rb deleted file mode 100644 index 70764557..00000000 --- a/lib/CloudPDF/types/tenants_list200response_tenants_item.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class TenantsList200ResponseTenantsItem < Internal::Types::Model - field :id, -> { String }, optional: false, nullable: false - - field :name, -> { String }, optional: false, nullable: false - - field :auto_provisioned, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "autoProvisioned" - - field :status, -> { CloudPDF::Types::TenantsList200ResponseTenantsItemStatus }, optional: true, nullable: false - - field :features, -> { Internal::Types::Array[CloudPDF::Types::TenantFeature] }, optional: true, nullable: false - - field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" - end - end -end diff --git a/lib/CloudPDF/types/tenants_list200response_tenants_item_status.rb b/lib/CloudPDF/types/tenants_list200response_tenants_item_status.rb deleted file mode 100644 index 09172346..00000000 --- a/lib/CloudPDF/types/tenants_list200response_tenants_item_status.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module TenantsList200ResponseTenantsItemStatus - extend CloudPDF::Internal::Types::Enum - - ACTIVE = "active" - SUSPENDED = "suspended" - end - end -end diff --git a/lib/CloudPDF/types/tenants_list400response.rb b/lib/CloudPDF/types/tenants_list400response.rb deleted file mode 100644 index 8aeb01d7..00000000 --- a/lib/CloudPDF/types/tenants_list400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module TenantsList400Response - # TenantsList400Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/tenants_list_response.rb b/lib/CloudPDF/types/tenants_list_response.rb new file mode 100644 index 00000000..5a861207 --- /dev/null +++ b/lib/CloudPDF/types/tenants_list_response.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class TenantsListResponse < Internal::Types::Model + field :tenants, -> { Internal::Types::Array[CloudPDF::Types::TenantsListResponseTenantsItem] }, optional: false, nullable: false + + field :next_cursor, -> { String }, optional: false, nullable: true, api_name: "nextCursor" + end + end +end diff --git a/lib/CloudPDF/types/tenants_list_response_tenants_item.rb b/lib/CloudPDF/types/tenants_list_response_tenants_item.rb new file mode 100644 index 00000000..41a5a05e --- /dev/null +++ b/lib/CloudPDF/types/tenants_list_response_tenants_item.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class TenantsListResponseTenantsItem < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :auto_provisioned, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "autoProvisioned" + + field :status, -> { CloudPDF::Types::TenantsListResponseTenantsItemStatus }, optional: true, nullable: false + + field :features, -> { Internal::Types::Array[CloudPDF::Types::TenantFeature] }, optional: true, nullable: false + + field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt" + end + end +end diff --git a/lib/CloudPDF/types/tenants_list_response_tenants_item_status.rb b/lib/CloudPDF/types/tenants_list_response_tenants_item_status.rb new file mode 100644 index 00000000..d7ac4ead --- /dev/null +++ b/lib/CloudPDF/types/tenants_list_response_tenants_item_status.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module TenantsListResponseTenantsItemStatus + extend CloudPDF::Internal::Types::Enum + + ACTIVE = "active" + SUSPENDED = "suspended" + end + end +end diff --git a/lib/CloudPDF/types/tenants_resume_response.rb b/lib/CloudPDF/types/tenants_resume_response.rb deleted file mode 100644 index a3af1ab5..00000000 --- a/lib/CloudPDF/types/tenants_resume_response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module TenantsResumeResponse - # TenantsResumeResponse is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/tenants_suspend_response.rb b/lib/CloudPDF/types/tenants_suspend_response.rb deleted file mode 100644 index f0b53796..00000000 --- a/lib/CloudPDF/types/tenants_suspend_response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module TenantsSuspendResponse - # TenantsSuspendResponse is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/tenants_update200response.rb b/lib/CloudPDF/types/tenants_update200response.rb deleted file mode 100644 index 81a12065..00000000 --- a/lib/CloudPDF/types/tenants_update200response.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class TenantsUpdate200Response < Internal::Types::Model - field :tenant, -> { CloudPDF::Types::TenantsUpdate200ResponseTenant }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/tenants_update200response_tenant.rb b/lib/CloudPDF/types/tenants_update200response_tenant.rb deleted file mode 100644 index fb0636e1..00000000 --- a/lib/CloudPDF/types/tenants_update200response_tenant.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class TenantsUpdate200ResponseTenant < Internal::Types::Model - field :id, -> { String }, optional: false, nullable: false - - field :name, -> { String }, optional: false, nullable: false - - field :auto_provisioned, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "autoProvisioned" - - field :status, -> { CloudPDF::Types::TenantsUpdate200ResponseTenantStatus }, optional: true, nullable: false - - field :features, -> { Internal::Types::Array[CloudPDF::Types::TenantFeature] }, optional: true, nullable: false - - field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" - end - end -end diff --git a/lib/CloudPDF/types/tenants_update200response_tenant_status.rb b/lib/CloudPDF/types/tenants_update200response_tenant_status.rb deleted file mode 100644 index 74703852..00000000 --- a/lib/CloudPDF/types/tenants_update200response_tenant_status.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module TenantsUpdate200ResponseTenantStatus - extend CloudPDF::Internal::Types::Enum - - ACTIVE = "active" - SUSPENDED = "suspended" - end - end -end diff --git a/lib/CloudPDF/types/tenants_update400response.rb b/lib/CloudPDF/types/tenants_update400response.rb deleted file mode 100644 index 13ae5776..00000000 --- a/lib/CloudPDF/types/tenants_update400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module TenantsUpdate400Response - # TenantsUpdate400Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/tenants_update404response.rb b/lib/CloudPDF/types/tenants_update404response.rb deleted file mode 100644 index efa6f9e1..00000000 --- a/lib/CloudPDF/types/tenants_update404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module TenantsUpdate404Response - # TenantsUpdate404Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/tenants_update_response.rb b/lib/CloudPDF/types/tenants_update_response.rb new file mode 100644 index 00000000..a83d2aff --- /dev/null +++ b/lib/CloudPDF/types/tenants_update_response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class TenantsUpdateResponse < Internal::Types::Model + field :tenant, -> { CloudPDF::Types::TenantsUpdateResponseTenant }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/tenants_update_response_tenant.rb b/lib/CloudPDF/types/tenants_update_response_tenant.rb new file mode 100644 index 00000000..a501e8e1 --- /dev/null +++ b/lib/CloudPDF/types/tenants_update_response_tenant.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class TenantsUpdateResponseTenant < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :auto_provisioned, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "autoProvisioned" + + field :status, -> { CloudPDF::Types::TenantsUpdateResponseTenantStatus }, optional: true, nullable: false + + field :features, -> { Internal::Types::Array[CloudPDF::Types::TenantFeature] }, optional: true, nullable: false + + field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt" + end + end +end diff --git a/lib/CloudPDF/types/tenants_update_response_tenant_status.rb b/lib/CloudPDF/types/tenants_update_response_tenant_status.rb new file mode 100644 index 00000000..2d50260d --- /dev/null +++ b/lib/CloudPDF/types/tenants_update_response_tenant_status.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module TenantsUpdateResponseTenantStatus + extend CloudPDF::Internal::Types::Enum + + ACTIVE = "active" + SUSPENDED = "suspended" + end + end +end diff --git a/lib/CloudPDF/types/tenants_usage200response.rb b/lib/CloudPDF/types/tenants_usage200response.rb deleted file mode 100644 index e5145ef9..00000000 --- a/lib/CloudPDF/types/tenants_usage200response.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class TenantsUsage200Response < Internal::Types::Model - field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" - - field :period_start, -> { String }, optional: false, nullable: false, api_name: "periodStart" - - field :period_end, -> { String }, optional: false, nullable: false, api_name: "periodEnd" - - field :metrics, -> { CloudPDF::Types::TenantsUsage200ResponseMetrics }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/tenants_usage200response_metrics.rb b/lib/CloudPDF/types/tenants_usage200response_metrics.rb deleted file mode 100644 index 48aa2ef9..00000000 --- a/lib/CloudPDF/types/tenants_usage200response_metrics.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class TenantsUsage200ResponseMetrics < Internal::Types::Model - field :pdf_views, -> { Integer }, optional: false, nullable: false, api_name: "pdf.views" - - field :pdf_uploads, -> { Integer }, optional: false, nullable: false, api_name: "pdf.uploads" - - field :storage_bytes, -> { Integer }, optional: false, nullable: false, api_name: "storage.bytes" - end - end -end diff --git a/lib/CloudPDF/types/tenants_usage400response.rb b/lib/CloudPDF/types/tenants_usage400response.rb deleted file mode 100644 index 28f180ae..00000000 --- a/lib/CloudPDF/types/tenants_usage400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module TenantsUsage400Response - # TenantsUsage400Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/tenants_usage404response.rb b/lib/CloudPDF/types/tenants_usage404response.rb deleted file mode 100644 index 0954adc2..00000000 --- a/lib/CloudPDF/types/tenants_usage404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module TenantsUsage404Response - # TenantsUsage404Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/tenants_usage_response.rb b/lib/CloudPDF/types/tenants_usage_response.rb new file mode 100644 index 00000000..16ab8119 --- /dev/null +++ b/lib/CloudPDF/types/tenants_usage_response.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class TenantsUsageResponse < Internal::Types::Model + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :period_start, -> { String }, optional: false, nullable: false, api_name: "periodStart" + + field :period_end, -> { String }, optional: false, nullable: false, api_name: "periodEnd" + + field :metrics, -> { CloudPDF::Types::TenantsUsageResponseMetrics }, optional: false, nullable: false + + field :module_meters, -> { Internal::Types::Hash[String, Integer] }, optional: false, nullable: false, api_name: "moduleMeters" + end + end +end diff --git a/lib/CloudPDF/types/tenants_usage_response_metrics.rb b/lib/CloudPDF/types/tenants_usage_response_metrics.rb new file mode 100644 index 00000000..d4c832f2 --- /dev/null +++ b/lib/CloudPDF/types/tenants_usage_response_metrics.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class TenantsUsageResponseMetrics < Internal::Types::Model + field :pdf_views, -> { Integer }, optional: false, nullable: false, api_name: "pdfViews" + + field :pdf_uploads, -> { Integer }, optional: false, nullable: false, api_name: "pdfUploads" + + field :storage_bytes, -> { Integer }, optional: false, nullable: false, api_name: "storageBytes" + end + end +end diff --git a/lib/CloudPDF/types/tokens_issue200response.rb b/lib/CloudPDF/types/tokens_issue200response.rb deleted file mode 100644 index 240a3ba7..00000000 --- a/lib/CloudPDF/types/tokens_issue200response.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class TokensIssue200Response < Internal::Types::Model - field :token, -> { String }, optional: false, nullable: false - - field :jti, -> { String }, optional: false, nullable: false - - field :expires_at, -> { Integer }, optional: false, nullable: false, api_name: "expiresAt" - end - end -end diff --git a/lib/CloudPDF/types/tokens_issue400response.rb b/lib/CloudPDF/types/tokens_issue400response.rb deleted file mode 100644 index a18c7957..00000000 --- a/lib/CloudPDF/types/tokens_issue400response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module TokensIssue400Response - # TokensIssue400Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/tokens_issue403response.rb b/lib/CloudPDF/types/tokens_issue403response.rb deleted file mode 100644 index 4fc1cf77..00000000 --- a/lib/CloudPDF/types/tokens_issue403response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module TokensIssue403Response - # TokensIssue403Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/tokens_issue404response.rb b/lib/CloudPDF/types/tokens_issue404response.rb deleted file mode 100644 index a2049804..00000000 --- a/lib/CloudPDF/types/tokens_issue404response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module TokensIssue404Response - # TokensIssue404Response is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/tokens_issue_request_doc.rb b/lib/CloudPDF/types/tokens_issue_request_doc.rb index b74c9d1a..a7f44a55 100644 --- a/lib/CloudPDF/types/tokens_issue_request_doc.rb +++ b/lib/CloudPDF/types/tokens_issue_request_doc.rb @@ -15,7 +15,7 @@ class TokensIssueRequestDoc < Internal::Types::Model field :origins, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :expires_in, -> { Integer }, optional: false, nullable: false, api_name: "expiresIn" + field :expires_in_seconds, -> { Integer }, optional: false, nullable: false, api_name: "expiresInSeconds" end end end diff --git a/lib/CloudPDF/types/tokens_issue_request_tenant.rb b/lib/CloudPDF/types/tokens_issue_request_tenant.rb index 1e389d3e..7925a200 100644 --- a/lib/CloudPDF/types/tokens_issue_request_tenant.rb +++ b/lib/CloudPDF/types/tokens_issue_request_tenant.rb @@ -7,7 +7,7 @@ class TokensIssueRequestTenant < Internal::Types::Model field :scope, -> { Internal::Types::Array[String] }, optional: false, nullable: false - field :expires_in, -> { Integer }, optional: false, nullable: false, api_name: "expiresIn" + field :expires_in_seconds, -> { Integer }, optional: false, nullable: false, api_name: "expiresInSeconds" end end end diff --git a/lib/CloudPDF/types/tokens_issue_request_upload.rb b/lib/CloudPDF/types/tokens_issue_request_upload.rb index 2ddab787..b4fedd3b 100644 --- a/lib/CloudPDF/types/tokens_issue_request_upload.rb +++ b/lib/CloudPDF/types/tokens_issue_request_upload.rb @@ -15,7 +15,7 @@ class TokensIssueRequestUpload < Internal::Types::Model field :origins, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :expires_in, -> { Integer }, optional: false, nullable: false, api_name: "expiresIn" + field :expires_in_seconds, -> { Integer }, optional: false, nullable: false, api_name: "expiresInSeconds" end end end diff --git a/lib/CloudPDF/types/tokens_issue_response.rb b/lib/CloudPDF/types/tokens_issue_response.rb new file mode 100644 index 00000000..481f3268 --- /dev/null +++ b/lib/CloudPDF/types/tokens_issue_response.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class TokensIssueResponse < Internal::Types::Model + field :token, -> { String }, optional: false, nullable: false + + field :jti, -> { String }, optional: false, nullable: false + + field :expires_at, -> { String }, optional: false, nullable: false, api_name: "expiresAt" + end + end +end diff --git a/lib/CloudPDF/types/tokens_revoke_response.rb b/lib/CloudPDF/types/tokens_revoke_response.rb deleted file mode 100644 index 0754ad04..00000000 --- a/lib/CloudPDF/types/tokens_revoke_response.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module TokensRevokeResponse - # TokensRevokeResponse is an alias for AdminErrorPayload - - # @option str [String] - # - # @return [untyped] - def self.load(str) - ::JSON.parse(str) - end - - # @option value [untyped] - # - # @return [String] - def self.dump(value) - ::JSON.generate(value) - end - end - end -end diff --git a/lib/CloudPDF/types/widget_annotation.rb b/lib/CloudPDF/types/widget_annotation.rb index 26d64a7d..e5c999c0 100644 --- a/lib/CloudPDF/types/widget_annotation.rb +++ b/lib/CloudPDF/types/widget_annotation.rb @@ -95,7 +95,9 @@ class WidgetAnnotation < Internal::Types::Model field :field, -> { CloudPDF::Types::FormFieldRef }, optional: false, nullable: true - field :field_family, -> { CloudPDF::Types::WidgetAnnotationFieldFamily }, optional: false, nullable: false, api_name: "fieldFamily" + field :field_kind, -> { CloudPDF::Types::WidgetAnnotationFieldKind }, optional: false, nullable: false, api_name: "fieldKind" + + field :has_mark, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasMark" end end end diff --git a/lib/CloudPDF/types/widget_annotation_field_family.rb b/lib/CloudPDF/types/widget_annotation_field_family.rb deleted file mode 100644 index 8f9f000c..00000000 --- a/lib/CloudPDF/types/widget_annotation_field_family.rb +++ /dev/null @@ -1,18 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module WidgetAnnotationFieldFamily - extend CloudPDF::Internal::Types::Enum - - TEXT = "text" - CHECKBOX = "checkbox" - RADIO = "radio" - COMBOBOX = "combobox" - LISTBOX = "listbox" - PUSHBUTTON = "pushbutton" - SIGNATURE = "signature" - UNKNOWN = "unknown" - end - end -end diff --git a/lib/CloudPDF/types/widget_annotation_field_kind.rb b/lib/CloudPDF/types/widget_annotation_field_kind.rb new file mode 100644 index 00000000..2aed9fe0 --- /dev/null +++ b/lib/CloudPDF/types/widget_annotation_field_kind.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module WidgetAnnotationFieldKind + extend CloudPDF::Internal::Types::Enum + + TEXT = "text" + CHECKBOX = "checkbox" + RADIO = "radio" + COMBOBOX = "combobox" + LISTBOX = "listbox" + PUSHBUTTON = "pushbutton" + SIGNATURE = "signature" + UNKNOWN = "unknown" + end + end +end diff --git a/lib/CloudPDF/types/widget_patch.rb b/lib/CloudPDF/types/widget_patch.rb index 6813cd90..64c4af6e 100644 --- a/lib/CloudPDF/types/widget_patch.rb +++ b/lib/CloudPDF/types/widget_patch.rb @@ -95,7 +95,9 @@ class WidgetPatch < Internal::Types::Model field :field, -> { Object }, optional: true, nullable: false - field :field_family, -> { Object }, optional: true, nullable: false, api_name: "fieldFamily" + field :field_kind, -> { Object }, optional: true, nullable: false, api_name: "fieldKind" + + field :has_mark, -> { Object }, optional: true, nullable: false, api_name: "hasMark" end end end diff --git a/lib/CloudPDF/version.rb b/lib/CloudPDF/version.rb index 4857a5f4..8cbbf369 100644 --- a/lib/CloudPDF/version.rb +++ b/lib/CloudPDF/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module CloudPDF - VERSION = "3.0.0.alpha.22" + VERSION = "3.0.0.alpha.23" end diff --git a/lib/cloudpdf.rb b/lib/cloudpdf.rb index 115d9a65..c8bd3163 100644 --- a/lib/cloudpdf.rb +++ b/lib/cloudpdf.rb @@ -64,9 +64,8 @@ require_relative "CloudPDF/types/pdf_action_node_goto_embedded" require_relative "CloudPDF/types/pdf_action_node_launch" require_relative "CloudPDF/types/pdf_action_node_rendition" -require_relative "CloudPDF/types/pdf_action_node_submit_form_payload_flags_format" -require_relative "CloudPDF/types/pdf_action_node_submit_form_payload_flags_method" -require_relative "CloudPDF/types/pdf_action_node_submit_form_payload_flags" +require_relative "CloudPDF/types/pdf_action_node_submit_form_payload_format" +require_relative "CloudPDF/types/pdf_action_node_submit_form_payload_method" require_relative "CloudPDF/types/pdf_action_node_submit_form_payload" require_relative "CloudPDF/types/pdf_action_node_submit_form" require_relative "CloudPDF/types/pdf_action_node_thread" @@ -90,6 +89,8 @@ require_relative "CloudPDF/types/pdf_action_write_named" require_relative "CloudPDF/types/pdf_action_write_hide" require_relative "CloudPDF/types/pdf_action_write_reset_form" +require_relative "CloudPDF/types/pdf_action_write_submit_form_format" +require_relative "CloudPDF/types/pdf_action_write_submit_form_method" require_relative "CloudPDF/types/pdf_action_write_submit_form" require_relative "CloudPDF/types/pdf_action_write" require_relative "CloudPDF/types/widget_actions_patch" @@ -654,7 +655,7 @@ require_relative "CloudPDF/types/form_field_draft_pushbutton" require_relative "CloudPDF/types/form_field_draft_signature" require_relative "CloudPDF/types/form_field_draft" -require_relative "CloudPDF/types/form_field_patch_family" +require_relative "CloudPDF/types/form_field_patch_kind" require_relative "CloudPDF/types/form_field_patch_default_value" require_relative "CloudPDF/types/form_field_patch_options_item" require_relative "CloudPDF/types/form_field_patch" @@ -768,11 +769,9 @@ require_relative "CloudPDF/doc/signatures/types/analysis_signatures_request_level" require_relative "CloudPDF/doc/versions/types/analysis_versions_request_level" require_relative "CloudPDF/doc/versions/types/signature_digest_versions_request_algorithm" -require_relative "CloudPDF/types/admin_error_payload_error" -require_relative "CloudPDF/types/admin_error_payload" -require_relative "CloudPDF/types/engine_error_payload_name" -require_relative "CloudPDF/types/engine_error_payload_code" -require_relative "CloudPDF/types/engine_error_payload" +require_relative "CloudPDF/types/engine_error_code" +require_relative "CloudPDF/types/engine_error" +require_relative "CloudPDF/types/error_response" require_relative "CloudPDF/types/tenant_feature_stopped" require_relative "CloudPDF/types/tenant_feature" require_relative "CloudPDF/types/module_manifest_requires" @@ -787,6 +786,7 @@ require_relative "CloudPDF/types/document_metadata_trapped" require_relative "CloudPDF/types/document_metadata" require_relative "CloudPDF/types/identity" +require_relative "CloudPDF/types/pdf_permission_flags" require_relative "CloudPDF/types/pdf_field_actions" require_relative "CloudPDF/types/pdf_page_actions" require_relative "CloudPDF/types/document_actions_snapshot_name_tree_scripts_item" @@ -869,29 +869,29 @@ require_relative "CloudPDF/types/annotation_polygon_vertices_item" require_relative "CloudPDF/types/annotation_polygon_caption_center" require_relative "CloudPDF/types/annotation_polygon_intent" -require_relative "CloudPDF/types/annotation_polygon_measure_rectilinear_x_item_fraction" -require_relative "CloudPDF/types/annotation_polygon_measure_rectilinear_x_item_label_position" -require_relative "CloudPDF/types/annotation_polygon_measure_rectilinear_x_item" -require_relative "CloudPDF/types/annotation_polygon_measure_rectilinear_y_item_fraction" -require_relative "CloudPDF/types/annotation_polygon_measure_rectilinear_y_item_label_position" -require_relative "CloudPDF/types/annotation_polygon_measure_rectilinear_y_item" -require_relative "CloudPDF/types/annotation_polygon_measure_rectilinear_distance_item_fraction" -require_relative "CloudPDF/types/annotation_polygon_measure_rectilinear_distance_item_label_position" -require_relative "CloudPDF/types/annotation_polygon_measure_rectilinear_distance_item" -require_relative "CloudPDF/types/annotation_polygon_measure_rectilinear_area_item_fraction" -require_relative "CloudPDF/types/annotation_polygon_measure_rectilinear_area_item_label_position" -require_relative "CloudPDF/types/annotation_polygon_measure_rectilinear_area_item" -require_relative "CloudPDF/types/annotation_polygon_measure_rectilinear_angle_item_fraction" -require_relative "CloudPDF/types/annotation_polygon_measure_rectilinear_angle_item_label_position" -require_relative "CloudPDF/types/annotation_polygon_measure_rectilinear_angle_item" -require_relative "CloudPDF/types/annotation_polygon_measure_rectilinear_slope_item_fraction" -require_relative "CloudPDF/types/annotation_polygon_measure_rectilinear_slope_item_label_position" -require_relative "CloudPDF/types/annotation_polygon_measure_rectilinear_slope_item" -require_relative "CloudPDF/types/annotation_polygon_measure_rectilinear_origin" -require_relative "CloudPDF/types/annotation_polygon_measure_rectilinear" -require_relative "CloudPDF/types/annotation_polygon_measure_geospatial" -require_relative "CloudPDF/types/annotation_polygon_measure_unknown" -require_relative "CloudPDF/types/annotation_polygon_measure" +require_relative "CloudPDF/types/pdf_measurement_rectilinear_x_item_fraction" +require_relative "CloudPDF/types/pdf_measurement_rectilinear_x_item_label_position" +require_relative "CloudPDF/types/pdf_measurement_rectilinear_x_item" +require_relative "CloudPDF/types/pdf_measurement_rectilinear_y_item_fraction" +require_relative "CloudPDF/types/pdf_measurement_rectilinear_y_item_label_position" +require_relative "CloudPDF/types/pdf_measurement_rectilinear_y_item" +require_relative "CloudPDF/types/pdf_measurement_rectilinear_distance_item_fraction" +require_relative "CloudPDF/types/pdf_measurement_rectilinear_distance_item_label_position" +require_relative "CloudPDF/types/pdf_measurement_rectilinear_distance_item" +require_relative "CloudPDF/types/pdf_measurement_rectilinear_area_item_fraction" +require_relative "CloudPDF/types/pdf_measurement_rectilinear_area_item_label_position" +require_relative "CloudPDF/types/pdf_measurement_rectilinear_area_item" +require_relative "CloudPDF/types/pdf_measurement_rectilinear_angle_item_fraction" +require_relative "CloudPDF/types/pdf_measurement_rectilinear_angle_item_label_position" +require_relative "CloudPDF/types/pdf_measurement_rectilinear_angle_item" +require_relative "CloudPDF/types/pdf_measurement_rectilinear_slope_item_fraction" +require_relative "CloudPDF/types/pdf_measurement_rectilinear_slope_item_label_position" +require_relative "CloudPDF/types/pdf_measurement_rectilinear_slope_item" +require_relative "CloudPDF/types/pdf_measurement_rectilinear_origin" +require_relative "CloudPDF/types/pdf_measurement_rectilinear" +require_relative "CloudPDF/types/pdf_measurement_geospatial" +require_relative "CloudPDF/types/pdf_measurement_unknown" +require_relative "CloudPDF/types/pdf_measurement" require_relative "CloudPDF/types/annotation_polygon" require_relative "CloudPDF/types/annotation_polyline_rect" require_relative "CloudPDF/types/annotation_polyline_blend_mode" @@ -901,29 +901,6 @@ require_relative "CloudPDF/types/annotation_polyline_vertices_item" require_relative "CloudPDF/types/annotation_polyline_caption_center" require_relative "CloudPDF/types/annotation_polyline_intent" -require_relative "CloudPDF/types/annotation_polyline_measure_rectilinear_x_item_fraction" -require_relative "CloudPDF/types/annotation_polyline_measure_rectilinear_x_item_label_position" -require_relative "CloudPDF/types/annotation_polyline_measure_rectilinear_x_item" -require_relative "CloudPDF/types/annotation_polyline_measure_rectilinear_y_item_fraction" -require_relative "CloudPDF/types/annotation_polyline_measure_rectilinear_y_item_label_position" -require_relative "CloudPDF/types/annotation_polyline_measure_rectilinear_y_item" -require_relative "CloudPDF/types/annotation_polyline_measure_rectilinear_distance_item_fraction" -require_relative "CloudPDF/types/annotation_polyline_measure_rectilinear_distance_item_label_position" -require_relative "CloudPDF/types/annotation_polyline_measure_rectilinear_distance_item" -require_relative "CloudPDF/types/annotation_polyline_measure_rectilinear_area_item_fraction" -require_relative "CloudPDF/types/annotation_polyline_measure_rectilinear_area_item_label_position" -require_relative "CloudPDF/types/annotation_polyline_measure_rectilinear_area_item" -require_relative "CloudPDF/types/annotation_polyline_measure_rectilinear_angle_item_fraction" -require_relative "CloudPDF/types/annotation_polyline_measure_rectilinear_angle_item_label_position" -require_relative "CloudPDF/types/annotation_polyline_measure_rectilinear_angle_item" -require_relative "CloudPDF/types/annotation_polyline_measure_rectilinear_slope_item_fraction" -require_relative "CloudPDF/types/annotation_polyline_measure_rectilinear_slope_item_label_position" -require_relative "CloudPDF/types/annotation_polyline_measure_rectilinear_slope_item" -require_relative "CloudPDF/types/annotation_polyline_measure_rectilinear_origin" -require_relative "CloudPDF/types/annotation_polyline_measure_rectilinear" -require_relative "CloudPDF/types/annotation_polyline_measure_geospatial" -require_relative "CloudPDF/types/annotation_polyline_measure_unknown" -require_relative "CloudPDF/types/annotation_polyline_measure" require_relative "CloudPDF/types/annotation_polyline_line_endings_start" require_relative "CloudPDF/types/annotation_polyline_line_endings_end" require_relative "CloudPDF/types/annotation_polyline_line_endings" @@ -940,29 +917,6 @@ require_relative "CloudPDF/types/annotation_line_line_endings_end" require_relative "CloudPDF/types/annotation_line_line_endings" require_relative "CloudPDF/types/annotation_line_intent" -require_relative "CloudPDF/types/annotation_line_measure_rectilinear_x_item_fraction" -require_relative "CloudPDF/types/annotation_line_measure_rectilinear_x_item_label_position" -require_relative "CloudPDF/types/annotation_line_measure_rectilinear_x_item" -require_relative "CloudPDF/types/annotation_line_measure_rectilinear_y_item_fraction" -require_relative "CloudPDF/types/annotation_line_measure_rectilinear_y_item_label_position" -require_relative "CloudPDF/types/annotation_line_measure_rectilinear_y_item" -require_relative "CloudPDF/types/annotation_line_measure_rectilinear_distance_item_fraction" -require_relative "CloudPDF/types/annotation_line_measure_rectilinear_distance_item_label_position" -require_relative "CloudPDF/types/annotation_line_measure_rectilinear_distance_item" -require_relative "CloudPDF/types/annotation_line_measure_rectilinear_area_item_fraction" -require_relative "CloudPDF/types/annotation_line_measure_rectilinear_area_item_label_position" -require_relative "CloudPDF/types/annotation_line_measure_rectilinear_area_item" -require_relative "CloudPDF/types/annotation_line_measure_rectilinear_angle_item_fraction" -require_relative "CloudPDF/types/annotation_line_measure_rectilinear_angle_item_label_position" -require_relative "CloudPDF/types/annotation_line_measure_rectilinear_angle_item" -require_relative "CloudPDF/types/annotation_line_measure_rectilinear_slope_item_fraction" -require_relative "CloudPDF/types/annotation_line_measure_rectilinear_slope_item_label_position" -require_relative "CloudPDF/types/annotation_line_measure_rectilinear_slope_item" -require_relative "CloudPDF/types/annotation_line_measure_rectilinear_origin" -require_relative "CloudPDF/types/annotation_line_measure_rectilinear" -require_relative "CloudPDF/types/annotation_line_measure_geospatial" -require_relative "CloudPDF/types/annotation_line_measure_unknown" -require_relative "CloudPDF/types/annotation_line_measure" require_relative "CloudPDF/types/annotation_line_caption_position" require_relative "CloudPDF/types/annotation_line_caption_offset" require_relative "CloudPDF/types/annotation_line_leader" @@ -1048,111 +1002,36 @@ require_relative "CloudPDF/types/widget_annotation_border_style" require_relative "CloudPDF/types/widget_annotation_text_align" require_relative "CloudPDF/types/widget_annotation_check_style" -require_relative "CloudPDF/types/widget_annotation_field_family" +require_relative "CloudPDF/types/widget_annotation_field_kind" require_relative "CloudPDF/types/widget_annotation" require_relative "CloudPDF/types/annotation" require_relative "CloudPDF/types/annotation_list" require_relative "CloudPDF/types/annotation_mutation_meta" require_relative "CloudPDF/types/form_field_text_origin" -require_relative "CloudPDF/types/form_field_text_value_entry_none" -require_relative "CloudPDF/types/form_field_text_value_entry_scalar" -require_relative "CloudPDF/types/form_field_text_value_entry_array" -require_relative "CloudPDF/types/form_field_text_value_entry_unsupported" -require_relative "CloudPDF/types/form_field_text_value_entry" -require_relative "CloudPDF/types/form_field_text_default_value_entry_none" -require_relative "CloudPDF/types/form_field_text_default_value_entry_scalar" -require_relative "CloudPDF/types/form_field_text_default_value_entry_array" -require_relative "CloudPDF/types/form_field_text_default_value_entry_unsupported" -require_relative "CloudPDF/types/form_field_text_default_value_entry" +require_relative "CloudPDF/types/form_value_entry_none" +require_relative "CloudPDF/types/form_value_entry_scalar" +require_relative "CloudPDF/types/form_value_entry_array" +require_relative "CloudPDF/types/form_value_entry_unsupported" +require_relative "CloudPDF/types/form_value_entry" require_relative "CloudPDF/types/form_widget" require_relative "CloudPDF/types/form_field_text" require_relative "CloudPDF/types/form_field_checkbox_origin" -require_relative "CloudPDF/types/form_field_checkbox_value_entry_none" -require_relative "CloudPDF/types/form_field_checkbox_value_entry_scalar" -require_relative "CloudPDF/types/form_field_checkbox_value_entry_array" -require_relative "CloudPDF/types/form_field_checkbox_value_entry_unsupported" -require_relative "CloudPDF/types/form_field_checkbox_value_entry" -require_relative "CloudPDF/types/form_field_checkbox_default_value_entry_none" -require_relative "CloudPDF/types/form_field_checkbox_default_value_entry_scalar" -require_relative "CloudPDF/types/form_field_checkbox_default_value_entry_array" -require_relative "CloudPDF/types/form_field_checkbox_default_value_entry_unsupported" -require_relative "CloudPDF/types/form_field_checkbox_default_value_entry" require_relative "CloudPDF/types/form_field_checkbox_widgets_item" require_relative "CloudPDF/types/form_field_checkbox" require_relative "CloudPDF/types/form_field_radio_origin" -require_relative "CloudPDF/types/form_field_radio_value_entry_none" -require_relative "CloudPDF/types/form_field_radio_value_entry_scalar" -require_relative "CloudPDF/types/form_field_radio_value_entry_array" -require_relative "CloudPDF/types/form_field_radio_value_entry_unsupported" -require_relative "CloudPDF/types/form_field_radio_value_entry" -require_relative "CloudPDF/types/form_field_radio_default_value_entry_none" -require_relative "CloudPDF/types/form_field_radio_default_value_entry_scalar" -require_relative "CloudPDF/types/form_field_radio_default_value_entry_array" -require_relative "CloudPDF/types/form_field_radio_default_value_entry_unsupported" -require_relative "CloudPDF/types/form_field_radio_default_value_entry" require_relative "CloudPDF/types/form_field_radio_widgets_item" require_relative "CloudPDF/types/form_field_radio" require_relative "CloudPDF/types/form_field_combobox_origin" -require_relative "CloudPDF/types/form_field_combobox_value_entry_none" -require_relative "CloudPDF/types/form_field_combobox_value_entry_scalar" -require_relative "CloudPDF/types/form_field_combobox_value_entry_array" -require_relative "CloudPDF/types/form_field_combobox_value_entry_unsupported" -require_relative "CloudPDF/types/form_field_combobox_value_entry" -require_relative "CloudPDF/types/form_field_combobox_default_value_entry_none" -require_relative "CloudPDF/types/form_field_combobox_default_value_entry_scalar" -require_relative "CloudPDF/types/form_field_combobox_default_value_entry_array" -require_relative "CloudPDF/types/form_field_combobox_default_value_entry_unsupported" -require_relative "CloudPDF/types/form_field_combobox_default_value_entry" require_relative "CloudPDF/types/form_field_combobox_options_item" require_relative "CloudPDF/types/form_field_combobox" require_relative "CloudPDF/types/form_field_listbox_origin" -require_relative "CloudPDF/types/form_field_listbox_value_entry_none" -require_relative "CloudPDF/types/form_field_listbox_value_entry_scalar" -require_relative "CloudPDF/types/form_field_listbox_value_entry_array" -require_relative "CloudPDF/types/form_field_listbox_value_entry_unsupported" -require_relative "CloudPDF/types/form_field_listbox_value_entry" -require_relative "CloudPDF/types/form_field_listbox_default_value_entry_none" -require_relative "CloudPDF/types/form_field_listbox_default_value_entry_scalar" -require_relative "CloudPDF/types/form_field_listbox_default_value_entry_array" -require_relative "CloudPDF/types/form_field_listbox_default_value_entry_unsupported" -require_relative "CloudPDF/types/form_field_listbox_default_value_entry" require_relative "CloudPDF/types/form_field_listbox_options_item" require_relative "CloudPDF/types/form_field_listbox" require_relative "CloudPDF/types/form_field_pushbutton_origin" -require_relative "CloudPDF/types/form_field_pushbutton_value_entry_none" -require_relative "CloudPDF/types/form_field_pushbutton_value_entry_scalar" -require_relative "CloudPDF/types/form_field_pushbutton_value_entry_array" -require_relative "CloudPDF/types/form_field_pushbutton_value_entry_unsupported" -require_relative "CloudPDF/types/form_field_pushbutton_value_entry" -require_relative "CloudPDF/types/form_field_pushbutton_default_value_entry_none" -require_relative "CloudPDF/types/form_field_pushbutton_default_value_entry_scalar" -require_relative "CloudPDF/types/form_field_pushbutton_default_value_entry_array" -require_relative "CloudPDF/types/form_field_pushbutton_default_value_entry_unsupported" -require_relative "CloudPDF/types/form_field_pushbutton_default_value_entry" require_relative "CloudPDF/types/form_field_pushbutton" require_relative "CloudPDF/types/form_field_signature_origin" -require_relative "CloudPDF/types/form_field_signature_value_entry_none" -require_relative "CloudPDF/types/form_field_signature_value_entry_scalar" -require_relative "CloudPDF/types/form_field_signature_value_entry_array" -require_relative "CloudPDF/types/form_field_signature_value_entry_unsupported" -require_relative "CloudPDF/types/form_field_signature_value_entry" -require_relative "CloudPDF/types/form_field_signature_default_value_entry_none" -require_relative "CloudPDF/types/form_field_signature_default_value_entry_scalar" -require_relative "CloudPDF/types/form_field_signature_default_value_entry_array" -require_relative "CloudPDF/types/form_field_signature_default_value_entry_unsupported" -require_relative "CloudPDF/types/form_field_signature_default_value_entry" require_relative "CloudPDF/types/form_field_signature" require_relative "CloudPDF/types/form_field_unknown_origin" -require_relative "CloudPDF/types/form_field_unknown_value_entry_none" -require_relative "CloudPDF/types/form_field_unknown_value_entry_scalar" -require_relative "CloudPDF/types/form_field_unknown_value_entry_array" -require_relative "CloudPDF/types/form_field_unknown_value_entry_unsupported" -require_relative "CloudPDF/types/form_field_unknown_value_entry" -require_relative "CloudPDF/types/form_field_unknown_default_value_entry_none" -require_relative "CloudPDF/types/form_field_unknown_default_value_entry_scalar" -require_relative "CloudPDF/types/form_field_unknown_default_value_entry_array" -require_relative "CloudPDF/types/form_field_unknown_default_value_entry_unsupported" -require_relative "CloudPDF/types/form_field_unknown_default_value_entry" require_relative "CloudPDF/types/form_field_unknown" require_relative "CloudPDF/types/form_field" require_relative "CloudPDF/types/form_mutation_meta" @@ -1352,577 +1231,368 @@ require_relative "CloudPDF/types/font_resolve_request" require_relative "CloudPDF/types/resolved_font_run" require_relative "CloudPDF/types/font_resolution" -require_relative "CloudPDF/types/tenants_create200response_tenant_status" -require_relative "CloudPDF/types/tenants_create200response_tenant" -require_relative "CloudPDF/types/tenants_create200response" -require_relative "CloudPDF/types/tenants_create400response" -require_relative "CloudPDF/types/tenants_list200response_tenants_item_status" -require_relative "CloudPDF/types/tenants_list200response_tenants_item" -require_relative "CloudPDF/types/tenants_list200response" -require_relative "CloudPDF/types/tenants_list400response" -require_relative "CloudPDF/types/tenants_get200response_tenant_status" -require_relative "CloudPDF/types/tenants_get200response_tenant" -require_relative "CloudPDF/types/tenants_get200response" -require_relative "CloudPDF/types/tenants_get404response" -require_relative "CloudPDF/types/tenants_update200response_tenant_status" -require_relative "CloudPDF/types/tenants_update200response_tenant" -require_relative "CloudPDF/types/tenants_update200response" -require_relative "CloudPDF/types/tenants_update400response" -require_relative "CloudPDF/types/tenants_update404response" -require_relative "CloudPDF/types/tenants_delete_response" -require_relative "CloudPDF/types/documents_init200response_created_document_state" -require_relative "CloudPDF/types/documents_init200response_created_document_thumbnail_state" -require_relative "CloudPDF/types/documents_init200response_created_document" -require_relative "CloudPDF/types/documents_init200response_created_upload_presigned_presigned_method" -require_relative "CloudPDF/types/documents_init200response_created_upload_presigned_presigned" -require_relative "CloudPDF/types/documents_init200response_created_upload_presigned" -require_relative "CloudPDF/types/documents_init200response_created_upload_proxy" -require_relative "CloudPDF/types/documents_init200response_created_upload" -require_relative "CloudPDF/types/documents_init200response_created" -require_relative "CloudPDF/types/documents_init200response_resumed_document_state" -require_relative "CloudPDF/types/documents_init200response_resumed_document_thumbnail_state" -require_relative "CloudPDF/types/documents_init200response_resumed_document" -require_relative "CloudPDF/types/documents_init200response_resumed_upload_presigned_presigned_method" -require_relative "CloudPDF/types/documents_init200response_resumed_upload_presigned_presigned" -require_relative "CloudPDF/types/documents_init200response_resumed_upload_presigned" -require_relative "CloudPDF/types/documents_init200response_resumed_upload_proxy" -require_relative "CloudPDF/types/documents_init200response_resumed_upload" -require_relative "CloudPDF/types/documents_init200response_resumed" -require_relative "CloudPDF/types/documents_init200response_deduped_document_state" -require_relative "CloudPDF/types/documents_init200response_deduped_document_thumbnail_state" -require_relative "CloudPDF/types/documents_init200response_deduped_document" -require_relative "CloudPDF/types/documents_init200response_deduped" -require_relative "CloudPDF/types/documents_init200response" -require_relative "CloudPDF/types/documents_init400response" -require_relative "CloudPDF/types/documents_init403response" -require_relative "CloudPDF/types/documents_commit200response_document_state" -require_relative "CloudPDF/types/documents_commit200response_document_thumbnail_state" -require_relative "CloudPDF/types/documents_commit200response_document" -require_relative "CloudPDF/types/documents_commit200response" -require_relative "CloudPDF/types/documents_commit400response" -require_relative "CloudPDF/types/documents_commit404response" -require_relative "CloudPDF/types/documents_upload_proxy200response" -require_relative "CloudPDF/types/documents_upload_proxy400response" -require_relative "CloudPDF/types/documents_upload_proxy404response" -require_relative "CloudPDF/types/documents_upload_proxy409response" -require_relative "CloudPDF/types/documents_import_from200response_tag" +require_relative "CloudPDF/types/doc_mdp_permission" +require_relative "CloudPDF/types/field_lock_spec_action" +require_relative "CloudPDF/types/field_lock_spec" +require_relative "CloudPDF/types/tenants_create_response_tenant_status" +require_relative "CloudPDF/types/tenants_create_response_tenant" +require_relative "CloudPDF/types/tenants_create_response" +require_relative "CloudPDF/types/tenants_list_response_tenants_item_status" +require_relative "CloudPDF/types/tenants_list_response_tenants_item" +require_relative "CloudPDF/types/tenants_list_response" +require_relative "CloudPDF/types/tenants_get_response_tenant_status" +require_relative "CloudPDF/types/tenants_get_response_tenant" +require_relative "CloudPDF/types/tenants_get_response" +require_relative "CloudPDF/types/tenants_update_response_tenant_status" +require_relative "CloudPDF/types/tenants_update_response_tenant" +require_relative "CloudPDF/types/tenants_update_response" +require_relative "CloudPDF/types/documents_init_response_created_document_state" +require_relative "CloudPDF/types/documents_init_response_created_document_thumbnail_state" +require_relative "CloudPDF/types/documents_init_response_created_document" +require_relative "CloudPDF/types/documents_init_response_created_upload_presigned_presigned_method" +require_relative "CloudPDF/types/documents_init_response_created_upload_presigned_presigned" +require_relative "CloudPDF/types/documents_init_response_created_upload_presigned" +require_relative "CloudPDF/types/documents_init_response_created_upload_proxy" +require_relative "CloudPDF/types/documents_init_response_created_upload" +require_relative "CloudPDF/types/documents_init_response_created" +require_relative "CloudPDF/types/documents_init_response_resumed_document_state" +require_relative "CloudPDF/types/documents_init_response_resumed_document_thumbnail_state" +require_relative "CloudPDF/types/documents_init_response_resumed_document" +require_relative "CloudPDF/types/documents_init_response_resumed_upload_presigned_presigned_method" +require_relative "CloudPDF/types/documents_init_response_resumed_upload_presigned_presigned" +require_relative "CloudPDF/types/documents_init_response_resumed_upload_presigned" +require_relative "CloudPDF/types/documents_init_response_resumed_upload_proxy" +require_relative "CloudPDF/types/documents_init_response_resumed_upload" +require_relative "CloudPDF/types/documents_init_response_resumed" +require_relative "CloudPDF/types/documents_init_response_deduped_document_state" +require_relative "CloudPDF/types/documents_init_response_deduped_document_thumbnail_state" +require_relative "CloudPDF/types/documents_init_response_deduped_document" +require_relative "CloudPDF/types/documents_init_response_deduped" +require_relative "CloudPDF/types/documents_init_response" +require_relative "CloudPDF/types/documents_commit_response_document_state" +require_relative "CloudPDF/types/documents_commit_response_document_thumbnail_state" +require_relative "CloudPDF/types/documents_commit_response_document" +require_relative "CloudPDF/types/documents_commit_response" +require_relative "CloudPDF/types/documents_upload_proxy_response" +require_relative "CloudPDF/types/documents_import_from200response_status" require_relative "CloudPDF/types/documents_import_from200response_document_state" require_relative "CloudPDF/types/documents_import_from200response_document_thumbnail_state" require_relative "CloudPDF/types/documents_import_from200response_document" require_relative "CloudPDF/types/documents_import_from200response" -require_relative "CloudPDF/types/documents_import_from202response_tag" +require_relative "CloudPDF/types/documents_import_from202response_status" require_relative "CloudPDF/types/documents_import_from202response_document_state" require_relative "CloudPDF/types/documents_import_from202response_document_thumbnail_state" require_relative "CloudPDF/types/documents_import_from202response_document" require_relative "CloudPDF/types/documents_import_from202response" -require_relative "CloudPDF/types/documents_import_from400response" -require_relative "CloudPDF/types/documents_import_from403response" -require_relative "CloudPDF/types/documents_import_from502response" -require_relative "CloudPDF/types/documents_list200response_documents_item_state" -require_relative "CloudPDF/types/documents_list200response_documents_item_thumbnail_state" -require_relative "CloudPDF/types/documents_list200response_documents_item" -require_relative "CloudPDF/types/documents_list200response" -require_relative "CloudPDF/types/documents_list400response" -require_relative "CloudPDF/types/documents_get200response_document_state" -require_relative "CloudPDF/types/documents_get200response_document_thumbnail_state" -require_relative "CloudPDF/types/documents_get200response_document" -require_relative "CloudPDF/types/documents_get200response" -require_relative "CloudPDF/types/documents_get403response" -require_relative "CloudPDF/types/documents_get404response" -require_relative "CloudPDF/types/documents_update200response_document_state" -require_relative "CloudPDF/types/documents_update200response_document_thumbnail_state" -require_relative "CloudPDF/types/documents_update200response_document" -require_relative "CloudPDF/types/documents_update200response" -require_relative "CloudPDF/types/documents_update400response" -require_relative "CloudPDF/types/documents_update403response" -require_relative "CloudPDF/types/documents_update404response" -require_relative "CloudPDF/types/documents_download403response" -require_relative "CloudPDF/types/documents_download404response" -require_relative "CloudPDF/types/documents_delete403response" -require_relative "CloudPDF/types/documents_delete404response" -require_relative "CloudPDF/types/documents_layers_list200response_layers_item" -require_relative "CloudPDF/types/documents_layers_list200response" -require_relative "CloudPDF/types/documents_layers_list400response" -require_relative "CloudPDF/types/documents_layers_list403response" -require_relative "CloudPDF/types/documents_layers_list404response" -require_relative "CloudPDF/types/documents_layers_delete403response" -require_relative "CloudPDF/types/documents_layers_delete404response" -require_relative "CloudPDF/types/documents_layers_delete409response" -require_relative "CloudPDF/types/documents_thumbnail_response_error" -require_relative "CloudPDF/types/documents_thumbnail_response" -require_relative "CloudPDF/types/folders_create200response_folder" -require_relative "CloudPDF/types/folders_create200response" -require_relative "CloudPDF/types/folders_create400response" -require_relative "CloudPDF/types/folders_create403response" -require_relative "CloudPDF/types/folders_create404response" -require_relative "CloudPDF/types/folders_create409response" -require_relative "CloudPDF/types/folders_list200response_folders_item" -require_relative "CloudPDF/types/folders_list200response" -require_relative "CloudPDF/types/folders_list400response" -require_relative "CloudPDF/types/folders_list403response" -require_relative "CloudPDF/types/folders_list404response" -require_relative "CloudPDF/types/folders_get200response_folder" -require_relative "CloudPDF/types/folders_get200response_path_item" -require_relative "CloudPDF/types/folders_get200response" -require_relative "CloudPDF/types/folders_get403response" -require_relative "CloudPDF/types/folders_get404response" -require_relative "CloudPDF/types/folders_update200response_folder" -require_relative "CloudPDF/types/folders_update200response" -require_relative "CloudPDF/types/folders_update400response" -require_relative "CloudPDF/types/folders_update403response" -require_relative "CloudPDF/types/folders_update404response" -require_relative "CloudPDF/types/folders_update409response" -require_relative "CloudPDF/types/folders_move_into400response" -require_relative "CloudPDF/types/folders_move_into403response" -require_relative "CloudPDF/types/folders_move_into404response" -require_relative "CloudPDF/types/folders_move_into409response" -require_relative "CloudPDF/types/folders_delete403response" -require_relative "CloudPDF/types/folders_delete404response" -require_relative "CloudPDF/types/folders_delete409response" +require_relative "CloudPDF/types/documents_list_response_documents_item_state" +require_relative "CloudPDF/types/documents_list_response_documents_item_thumbnail_state" +require_relative "CloudPDF/types/documents_list_response_documents_item" +require_relative "CloudPDF/types/documents_list_response" +require_relative "CloudPDF/types/documents_get_response_document_state" +require_relative "CloudPDF/types/documents_get_response_document_thumbnail_state" +require_relative "CloudPDF/types/documents_get_response_document" +require_relative "CloudPDF/types/documents_get_response" +require_relative "CloudPDF/types/documents_update_response_document_state" +require_relative "CloudPDF/types/documents_update_response_document_thumbnail_state" +require_relative "CloudPDF/types/documents_update_response_document" +require_relative "CloudPDF/types/documents_update_response" +require_relative "CloudPDF/types/documents_layers_list_response_layers_item" +require_relative "CloudPDF/types/documents_layers_list_response" +require_relative "CloudPDF/types/folders_create_response_folder" +require_relative "CloudPDF/types/folders_create_response" +require_relative "CloudPDF/types/folders_list_response_folders_item" +require_relative "CloudPDF/types/folders_list_response" +require_relative "CloudPDF/types/folders_get_response_folder" +require_relative "CloudPDF/types/folders_get_response_path_item" +require_relative "CloudPDF/types/folders_get_response" +require_relative "CloudPDF/types/folders_update_response_folder" +require_relative "CloudPDF/types/folders_update_response" require_relative "CloudPDF/types/deployment_license_status_response" require_relative "CloudPDF/types/deployment_modules_response" require_relative "CloudPDF/types/tokens_issue_request_doc" require_relative "CloudPDF/types/tokens_issue_request_tenant" require_relative "CloudPDF/types/tokens_issue_request_upload" require_relative "CloudPDF/types/tokens_issue_request" -require_relative "CloudPDF/types/tokens_issue200response" -require_relative "CloudPDF/types/tokens_issue400response" -require_relative "CloudPDF/types/tokens_issue403response" -require_relative "CloudPDF/types/tokens_issue404response" -require_relative "CloudPDF/types/tokens_revoke_response" -require_relative "CloudPDF/types/tenants_usage200response_metrics" -require_relative "CloudPDF/types/tenants_usage200response" -require_relative "CloudPDF/types/tenants_usage400response" -require_relative "CloudPDF/types/tenants_usage404response" -require_relative "CloudPDF/types/tenants_suspend_response" -require_relative "CloudPDF/types/tenants_resume_response" -require_relative "CloudPDF/types/grants_create200response_grant_layer_mode" -require_relative "CloudPDF/types/grants_create200response_grant_visitor_identity_fields_display_name" -require_relative "CloudPDF/types/grants_create200response_grant_visitor_identity_fields_email" -require_relative "CloudPDF/types/grants_create200response_grant_visitor_identity_fields_title" -require_relative "CloudPDF/types/grants_create200response_grant_visitor_identity_fields_organization" -require_relative "CloudPDF/types/grants_create200response_grant_visitor_identity_fields_organizational_unit" -require_relative "CloudPDF/types/grants_create200response_grant_visitor_identity_fields" -require_relative "CloudPDF/types/grants_create200response_grant_visitor_identity_ask" -require_relative "CloudPDF/types/grants_create200response_grant_visitor_identity" -require_relative "CloudPDF/types/grants_create200response_grant" -require_relative "CloudPDF/types/grants_create200response" -require_relative "CloudPDF/types/grants_create400response" -require_relative "CloudPDF/types/grants_create403response" -require_relative "CloudPDF/types/grants_create404response" -require_relative "CloudPDF/types/grants_list200response_grants_item_layer_mode" -require_relative "CloudPDF/types/grants_list200response_grants_item_visitor_identity_fields_display_name" -require_relative "CloudPDF/types/grants_list200response_grants_item_visitor_identity_fields_email" -require_relative "CloudPDF/types/grants_list200response_grants_item_visitor_identity_fields_title" -require_relative "CloudPDF/types/grants_list200response_grants_item_visitor_identity_fields_organization" -require_relative "CloudPDF/types/grants_list200response_grants_item_visitor_identity_fields_organizational_unit" -require_relative "CloudPDF/types/grants_list200response_grants_item_visitor_identity_fields" -require_relative "CloudPDF/types/grants_list200response_grants_item_visitor_identity_ask" -require_relative "CloudPDF/types/grants_list200response_grants_item_visitor_identity" -require_relative "CloudPDF/types/grants_list200response_grants_item" -require_relative "CloudPDF/types/grants_list200response" -require_relative "CloudPDF/types/grants_list400response" -require_relative "CloudPDF/types/grants_get200response_grant_layer_mode" -require_relative "CloudPDF/types/grants_get200response_grant_visitor_identity_fields_display_name" -require_relative "CloudPDF/types/grants_get200response_grant_visitor_identity_fields_email" -require_relative "CloudPDF/types/grants_get200response_grant_visitor_identity_fields_title" -require_relative "CloudPDF/types/grants_get200response_grant_visitor_identity_fields_organization" -require_relative "CloudPDF/types/grants_get200response_grant_visitor_identity_fields_organizational_unit" -require_relative "CloudPDF/types/grants_get200response_grant_visitor_identity_fields" -require_relative "CloudPDF/types/grants_get200response_grant_visitor_identity_ask" -require_relative "CloudPDF/types/grants_get200response_grant_visitor_identity" -require_relative "CloudPDF/types/grants_get200response_grant" -require_relative "CloudPDF/types/grants_get200response" -require_relative "CloudPDF/types/grants_get404response" -require_relative "CloudPDF/types/grants_update200response_grant_layer_mode" -require_relative "CloudPDF/types/grants_update200response_grant_visitor_identity_fields_display_name" -require_relative "CloudPDF/types/grants_update200response_grant_visitor_identity_fields_email" -require_relative "CloudPDF/types/grants_update200response_grant_visitor_identity_fields_title" -require_relative "CloudPDF/types/grants_update200response_grant_visitor_identity_fields_organization" -require_relative "CloudPDF/types/grants_update200response_grant_visitor_identity_fields_organizational_unit" -require_relative "CloudPDF/types/grants_update200response_grant_visitor_identity_fields" -require_relative "CloudPDF/types/grants_update200response_grant_visitor_identity_ask" -require_relative "CloudPDF/types/grants_update200response_grant_visitor_identity" -require_relative "CloudPDF/types/grants_update200response_grant" -require_relative "CloudPDF/types/grants_update200response" -require_relative "CloudPDF/types/grants_update400response" -require_relative "CloudPDF/types/grants_update403response" -require_relative "CloudPDF/types/grants_update404response" -require_relative "CloudPDF/types/grants_update409response" -require_relative "CloudPDF/types/grants_archive200response_grant_layer_mode" -require_relative "CloudPDF/types/grants_archive200response_grant_visitor_identity_fields_display_name" -require_relative "CloudPDF/types/grants_archive200response_grant_visitor_identity_fields_email" -require_relative "CloudPDF/types/grants_archive200response_grant_visitor_identity_fields_title" -require_relative "CloudPDF/types/grants_archive200response_grant_visitor_identity_fields_organization" -require_relative "CloudPDF/types/grants_archive200response_grant_visitor_identity_fields_organizational_unit" -require_relative "CloudPDF/types/grants_archive200response_grant_visitor_identity_fields" -require_relative "CloudPDF/types/grants_archive200response_grant_visitor_identity_ask" -require_relative "CloudPDF/types/grants_archive200response_grant_visitor_identity" -require_relative "CloudPDF/types/grants_archive200response_grant" -require_relative "CloudPDF/types/grants_archive200response" -require_relative "CloudPDF/types/grants_archive404response" -require_relative "CloudPDF/types/grants_visitors_list200response_visitors_item_answers" -require_relative "CloudPDF/types/grants_visitors_list200response_visitors_item_layer" -require_relative "CloudPDF/types/grants_visitors_list200response_visitors_item" -require_relative "CloudPDF/types/grants_visitors_list200response" -require_relative "CloudPDF/types/grants_visitors_list400response" -require_relative "CloudPDF/types/grants_visitors_list404response" -require_relative "CloudPDF/types/grants_visitors_delete_response" -require_relative "CloudPDF/types/grants_delete404response" -require_relative "CloudPDF/types/grants_delete409response" -require_relative "CloudPDF/types/grants_exchange200response_layer_mode" -require_relative "CloudPDF/types/grants_exchange200response_visitor_identity_request_fields_display_name" -require_relative "CloudPDF/types/grants_exchange200response_visitor_identity_request_fields_email" -require_relative "CloudPDF/types/grants_exchange200response_visitor_identity_request_fields_title" -require_relative "CloudPDF/types/grants_exchange200response_visitor_identity_request_fields_organization" -require_relative "CloudPDF/types/grants_exchange200response_visitor_identity_request_fields_organizational_unit" -require_relative "CloudPDF/types/grants_exchange200response_visitor_identity_request_fields" -require_relative "CloudPDF/types/grants_exchange200response_visitor_identity_request_missing_item" -require_relative "CloudPDF/types/grants_exchange200response_visitor_identity_request_invalid_item" -require_relative "CloudPDF/types/grants_exchange200response_visitor_identity_request" -require_relative "CloudPDF/types/grants_exchange200response_visitor" -require_relative "CloudPDF/types/grants_exchange200response" -require_relative "CloudPDF/types/grants_exchange400response" -require_relative "CloudPDF/types/grants_exchange403response" -require_relative "CloudPDF/types/grants_exchange404response" -require_relative "CloudPDF/types/grants_exchange410response" -require_relative "CloudPDF/types/grants_exchange422response" -require_relative "CloudPDF/types/doc_head200response_state" -require_relative "CloudPDF/types/doc_head200response_encryption_state" -require_relative "CloudPDF/types/doc_head200response_encryption" -require_relative "CloudPDF/types/doc_head200response_permissions_opened_as" -require_relative "CloudPDF/types/doc_head200response_permissions" -require_relative "CloudPDF/types/doc_head200response_access_reasons_item" -require_relative "CloudPDF/types/doc_head200response_access" -require_relative "CloudPDF/types/doc_head200response" -require_relative "CloudPDF/types/doc_head404response" -require_relative "CloudPDF/types/doc_manifest200response_scopes_content" -require_relative "CloudPDF/types/doc_manifest200response_scopes_annotations" -require_relative "CloudPDF/types/doc_manifest200response_scopes_forms" -require_relative "CloudPDF/types/doc_manifest200response_scopes_layout" -require_relative "CloudPDF/types/doc_manifest200response_scopes_attachments" -require_relative "CloudPDF/types/doc_manifest200response_scopes_metadata" -require_relative "CloudPDF/types/doc_manifest200response_scopes_actions" -require_relative "CloudPDF/types/doc_manifest200response_scopes_outline" -require_relative "CloudPDF/types/doc_manifest200response_scopes" -require_relative "CloudPDF/types/doc_manifest200response_protection_enforced" -require_relative "CloudPDF/types/doc_manifest200response_protection_judged" -require_relative "CloudPDF/types/doc_manifest200response_protection_certification" -require_relative "CloudPDF/types/doc_manifest200response_protection_field_locks_item_source" -require_relative "CloudPDF/types/doc_manifest200response_protection_field_locks_item_spec_action" -require_relative "CloudPDF/types/doc_manifest200response_protection_field_locks_item_spec" -require_relative "CloudPDF/types/doc_manifest200response_protection_field_locks_item" -require_relative "CloudPDF/types/doc_manifest200response_protection" -require_relative "CloudPDF/types/doc_manifest200response_pages_item_cache" -require_relative "CloudPDF/types/doc_manifest200response_pages_item" -require_relative "CloudPDF/types/doc_manifest200response" -require_relative "CloudPDF/types/doc_manifest404response" -require_relative "CloudPDF/types/doc_metadata_get200response" -require_relative "CloudPDF/types/doc_metadata_get404response" -require_relative "CloudPDF/types/doc_metadata_custom_get200response" -require_relative "CloudPDF/types/doc_metadata_custom_get404response" -require_relative "CloudPDF/types/doc_outline_get200response" -require_relative "CloudPDF/types/doc_outline_get404response" -require_relative "CloudPDF/types/doc_attachments_list200response" -require_relative "CloudPDF/types/doc_attachments_list404response" -require_relative "CloudPDF/types/doc_attachments_download400response" -require_relative "CloudPDF/types/doc_attachments_download404response" -require_relative "CloudPDF/types/doc_attachments_download413response" -require_relative "CloudPDF/types/doc_fonts_list200response" -require_relative "CloudPDF/types/doc_fonts_list404response" +require_relative "CloudPDF/types/tokens_issue_response" +require_relative "CloudPDF/types/tenants_usage_response_metrics" +require_relative "CloudPDF/types/tenants_usage_response" +require_relative "CloudPDF/types/grants_create_response_grant_layer_mode" +require_relative "CloudPDF/types/grants_create_response_grant_visitor_identity_fields_display_name" +require_relative "CloudPDF/types/grants_create_response_grant_visitor_identity_fields_email" +require_relative "CloudPDF/types/grants_create_response_grant_visitor_identity_fields_title" +require_relative "CloudPDF/types/grants_create_response_grant_visitor_identity_fields_organization" +require_relative "CloudPDF/types/grants_create_response_grant_visitor_identity_fields_organizational_unit" +require_relative "CloudPDF/types/grants_create_response_grant_visitor_identity_fields" +require_relative "CloudPDF/types/grants_create_response_grant_visitor_identity_ask" +require_relative "CloudPDF/types/grants_create_response_grant_visitor_identity" +require_relative "CloudPDF/types/grants_create_response_grant" +require_relative "CloudPDF/types/grants_create_response" +require_relative "CloudPDF/types/grants_list_response_grants_item_layer_mode" +require_relative "CloudPDF/types/grants_list_response_grants_item_visitor_identity_fields_display_name" +require_relative "CloudPDF/types/grants_list_response_grants_item_visitor_identity_fields_email" +require_relative "CloudPDF/types/grants_list_response_grants_item_visitor_identity_fields_title" +require_relative "CloudPDF/types/grants_list_response_grants_item_visitor_identity_fields_organization" +require_relative "CloudPDF/types/grants_list_response_grants_item_visitor_identity_fields_organizational_unit" +require_relative "CloudPDF/types/grants_list_response_grants_item_visitor_identity_fields" +require_relative "CloudPDF/types/grants_list_response_grants_item_visitor_identity_ask" +require_relative "CloudPDF/types/grants_list_response_grants_item_visitor_identity" +require_relative "CloudPDF/types/grants_list_response_grants_item" +require_relative "CloudPDF/types/grants_list_response" +require_relative "CloudPDF/types/grants_get_response_grant_layer_mode" +require_relative "CloudPDF/types/grants_get_response_grant_visitor_identity_fields_display_name" +require_relative "CloudPDF/types/grants_get_response_grant_visitor_identity_fields_email" +require_relative "CloudPDF/types/grants_get_response_grant_visitor_identity_fields_title" +require_relative "CloudPDF/types/grants_get_response_grant_visitor_identity_fields_organization" +require_relative "CloudPDF/types/grants_get_response_grant_visitor_identity_fields_organizational_unit" +require_relative "CloudPDF/types/grants_get_response_grant_visitor_identity_fields" +require_relative "CloudPDF/types/grants_get_response_grant_visitor_identity_ask" +require_relative "CloudPDF/types/grants_get_response_grant_visitor_identity" +require_relative "CloudPDF/types/grants_get_response_grant" +require_relative "CloudPDF/types/grants_get_response" +require_relative "CloudPDF/types/grants_update_response_grant_layer_mode" +require_relative "CloudPDF/types/grants_update_response_grant_visitor_identity_fields_display_name" +require_relative "CloudPDF/types/grants_update_response_grant_visitor_identity_fields_email" +require_relative "CloudPDF/types/grants_update_response_grant_visitor_identity_fields_title" +require_relative "CloudPDF/types/grants_update_response_grant_visitor_identity_fields_organization" +require_relative "CloudPDF/types/grants_update_response_grant_visitor_identity_fields_organizational_unit" +require_relative "CloudPDF/types/grants_update_response_grant_visitor_identity_fields" +require_relative "CloudPDF/types/grants_update_response_grant_visitor_identity_ask" +require_relative "CloudPDF/types/grants_update_response_grant_visitor_identity" +require_relative "CloudPDF/types/grants_update_response_grant" +require_relative "CloudPDF/types/grants_update_response" +require_relative "CloudPDF/types/grants_archive_response_grant_layer_mode" +require_relative "CloudPDF/types/grants_archive_response_grant_visitor_identity_fields_display_name" +require_relative "CloudPDF/types/grants_archive_response_grant_visitor_identity_fields_email" +require_relative "CloudPDF/types/grants_archive_response_grant_visitor_identity_fields_title" +require_relative "CloudPDF/types/grants_archive_response_grant_visitor_identity_fields_organization" +require_relative "CloudPDF/types/grants_archive_response_grant_visitor_identity_fields_organizational_unit" +require_relative "CloudPDF/types/grants_archive_response_grant_visitor_identity_fields" +require_relative "CloudPDF/types/grants_archive_response_grant_visitor_identity_ask" +require_relative "CloudPDF/types/grants_archive_response_grant_visitor_identity" +require_relative "CloudPDF/types/grants_archive_response_grant" +require_relative "CloudPDF/types/grants_archive_response" +require_relative "CloudPDF/types/grants_visitors_list_response_visitors_item_answers" +require_relative "CloudPDF/types/grants_visitors_list_response_visitors_item_layer" +require_relative "CloudPDF/types/grants_visitors_list_response_visitors_item" +require_relative "CloudPDF/types/grants_visitors_list_response" +require_relative "CloudPDF/types/grants_exchange_response_layer_mode" +require_relative "CloudPDF/types/grants_exchange_response_visitor_identity_request_fields_display_name" +require_relative "CloudPDF/types/grants_exchange_response_visitor_identity_request_fields_email" +require_relative "CloudPDF/types/grants_exchange_response_visitor_identity_request_fields_title" +require_relative "CloudPDF/types/grants_exchange_response_visitor_identity_request_fields_organization" +require_relative "CloudPDF/types/grants_exchange_response_visitor_identity_request_fields_organizational_unit" +require_relative "CloudPDF/types/grants_exchange_response_visitor_identity_request_fields" +require_relative "CloudPDF/types/grants_exchange_response_visitor_identity_request_missing_item" +require_relative "CloudPDF/types/grants_exchange_response_visitor_identity_request_invalid_item" +require_relative "CloudPDF/types/grants_exchange_response_visitor_identity_request" +require_relative "CloudPDF/types/grants_exchange_response_visitor" +require_relative "CloudPDF/types/grants_exchange_response" +require_relative "CloudPDF/types/doc_head_response_state" +require_relative "CloudPDF/types/doc_head_response_encryption_state" +require_relative "CloudPDF/types/doc_head_response_encryption" +require_relative "CloudPDF/types/doc_head_response_permissions_opened_as" +require_relative "CloudPDF/types/doc_head_response_permissions" +require_relative "CloudPDF/types/doc_head_response_access_reasons_item" +require_relative "CloudPDF/types/doc_head_response_access" +require_relative "CloudPDF/types/doc_head_response" +require_relative "CloudPDF/types/doc_manifest_response_scopes_content" +require_relative "CloudPDF/types/doc_manifest_response_scopes_annotations" +require_relative "CloudPDF/types/doc_manifest_response_scopes_forms" +require_relative "CloudPDF/types/doc_manifest_response_scopes_layout" +require_relative "CloudPDF/types/doc_manifest_response_scopes_attachments" +require_relative "CloudPDF/types/doc_manifest_response_scopes_metadata" +require_relative "CloudPDF/types/doc_manifest_response_scopes_actions" +require_relative "CloudPDF/types/doc_manifest_response_scopes_outline" +require_relative "CloudPDF/types/doc_manifest_response_scopes" +require_relative "CloudPDF/types/doc_manifest_response_protection_enforced" +require_relative "CloudPDF/types/doc_manifest_response_protection_judged" +require_relative "CloudPDF/types/doc_manifest_response_protection_certification" +require_relative "CloudPDF/types/doc_manifest_response_protection_field_locks_item_source" +require_relative "CloudPDF/types/doc_manifest_response_protection_field_locks_item" +require_relative "CloudPDF/types/doc_manifest_response_protection" +require_relative "CloudPDF/types/doc_manifest_response_pages_item_cache" +require_relative "CloudPDF/types/doc_manifest_response_pages_item" +require_relative "CloudPDF/types/doc_manifest_response" +require_relative "CloudPDF/types/doc_metadata_get_response" +require_relative "CloudPDF/types/doc_metadata_custom_get_response" +require_relative "CloudPDF/types/doc_outline_get_response" +require_relative "CloudPDF/types/doc_attachments_list_response" +require_relative "CloudPDF/types/doc_fonts_list_response" require_relative "CloudPDF/types/doc_fonts_resolve_request" -require_relative "CloudPDF/types/doc_fonts_resolve200response" -require_relative "CloudPDF/types/doc_fonts_resolve400response" -require_relative "CloudPDF/types/doc_fonts_resolve404response" -require_relative "CloudPDF/types/doc_fonts_programs_get200response" -require_relative "CloudPDF/types/doc_fonts_programs_get404response" -require_relative "CloudPDF/types/doc_fonts_programs_download403response" -require_relative "CloudPDF/types/doc_fonts_programs_download404response" -require_relative "CloudPDF/types/doc_signatures_list200response_revisions_item" -require_relative "CloudPDF/types/doc_signatures_list200response_signatures_item_kind" -require_relative "CloudPDF/types/doc_signatures_list200response_signatures_item_coverage" -require_relative "CloudPDF/types/doc_signatures_list200response_signatures_item_signer" -require_relative "CloudPDF/types/doc_signatures_list200response_signatures_item_field_mdp_action" -require_relative "CloudPDF/types/doc_signatures_list200response_signatures_item_field_mdp" -require_relative "CloudPDF/types/doc_signatures_list200response_signatures_item_lock_action" -require_relative "CloudPDF/types/doc_signatures_list200response_signatures_item_lock" -require_relative "CloudPDF/types/doc_signatures_list200response_signatures_item_seed_value" -require_relative "CloudPDF/types/doc_signatures_list200response_signatures_item" -require_relative "CloudPDF/types/doc_signatures_list200response_protection_enforced" -require_relative "CloudPDF/types/doc_signatures_list200response_protection_judged" -require_relative "CloudPDF/types/doc_signatures_list200response_protection_certification" -require_relative "CloudPDF/types/doc_signatures_list200response_protection_field_locks_item_source" -require_relative "CloudPDF/types/doc_signatures_list200response_protection_field_locks_item_spec_action" -require_relative "CloudPDF/types/doc_signatures_list200response_protection_field_locks_item_spec" -require_relative "CloudPDF/types/doc_signatures_list200response_protection_field_locks_item" -require_relative "CloudPDF/types/doc_signatures_list200response_protection" -require_relative "CloudPDF/types/doc_signatures_list200response" -require_relative "CloudPDF/types/doc_signatures_list404response" -require_relative "CloudPDF/types/doc_signatures_analysis200response_mode" -require_relative "CloudPDF/types/doc_signatures_analysis200response_basis_version" -require_relative "CloudPDF/types/doc_signatures_analysis200response_basis_source" -require_relative "CloudPDF/types/doc_signatures_analysis200response_basis" -require_relative "CloudPDF/types/doc_signatures_analysis200response_since" -require_relative "CloudPDF/types/doc_signatures_analysis200response_until" -require_relative "CloudPDF/types/doc_signatures_analysis200response_restrictions_item_source" -require_relative "CloudPDF/types/doc_signatures_analysis200response_restrictions_item" -require_relative "CloudPDF/types/doc_signatures_analysis200response_current_verdict" -require_relative "CloudPDF/types/doc_signatures_analysis200response_current_primary_verdict" -require_relative "CloudPDF/types/doc_signatures_analysis200response_current_primary" -require_relative "CloudPDF/types/doc_signatures_analysis200response_current_findings_item_verdict" -require_relative "CloudPDF/types/doc_signatures_analysis200response_current_findings_item" -require_relative "CloudPDF/types/doc_signatures_analysis200response_current_method" -require_relative "CloudPDF/types/doc_signatures_analysis200response_current" -require_relative "CloudPDF/types/doc_signatures_analysis200response_later" -require_relative "CloudPDF/types/doc_signatures_analysis200response_verdict" -require_relative "CloudPDF/types/doc_signatures_analysis200response" -require_relative "CloudPDF/types/doc_signatures_analysis400response" -require_relative "CloudPDF/types/doc_signatures_analysis404response" -require_relative "CloudPDF/types/doc_signatures_prepare200response_algorithm" -require_relative "CloudPDF/types/doc_signatures_prepare200response_expected_version" -require_relative "CloudPDF/types/doc_signatures_prepare200response" -require_relative "CloudPDF/types/doc_signatures_prepare400response" -require_relative "CloudPDF/types/doc_signatures_prepare404response" -require_relative "CloudPDF/types/doc_signatures_prepare409response" -require_relative "CloudPDF/types/doc_signatures_complete200response_status" -require_relative "CloudPDF/types/doc_signatures_complete200response_signature_kind" -require_relative "CloudPDF/types/doc_signatures_complete200response_signature_coverage" -require_relative "CloudPDF/types/doc_signatures_complete200response_signature_signer" -require_relative "CloudPDF/types/doc_signatures_complete200response_signature_field_mdp_action" -require_relative "CloudPDF/types/doc_signatures_complete200response_signature_field_mdp" -require_relative "CloudPDF/types/doc_signatures_complete200response_signature_lock_action" -require_relative "CloudPDF/types/doc_signatures_complete200response_signature_lock" -require_relative "CloudPDF/types/doc_signatures_complete200response_signature_seed_value" -require_relative "CloudPDF/types/doc_signatures_complete200response_signature" -require_relative "CloudPDF/types/doc_signatures_complete200response_version" -require_relative "CloudPDF/types/doc_signatures_complete200response_previous" -require_relative "CloudPDF/types/doc_signatures_complete200response_protection_enforced" -require_relative "CloudPDF/types/doc_signatures_complete200response_protection_judged" -require_relative "CloudPDF/types/doc_signatures_complete200response_protection_certification" -require_relative "CloudPDF/types/doc_signatures_complete200response_protection_field_locks_item_source" -require_relative "CloudPDF/types/doc_signatures_complete200response_protection_field_locks_item_spec_action" -require_relative "CloudPDF/types/doc_signatures_complete200response_protection_field_locks_item_spec" -require_relative "CloudPDF/types/doc_signatures_complete200response_protection_field_locks_item" -require_relative "CloudPDF/types/doc_signatures_complete200response_protection" -require_relative "CloudPDF/types/doc_signatures_complete200response" -require_relative "CloudPDF/types/doc_signatures_complete400response" -require_relative "CloudPDF/types/doc_signatures_complete404response" -require_relative "CloudPDF/types/doc_signatures_complete409response" -require_relative "CloudPDF/types/doc_signatures_cancel200response_status" -require_relative "CloudPDF/types/doc_signatures_cancel200response" -require_relative "CloudPDF/types/doc_signatures_cancel404response" -require_relative "CloudPDF/types/doc_versions_list200response_versions_item_producer" -require_relative "CloudPDF/types/doc_versions_list200response_versions_item" -require_relative "CloudPDF/types/doc_versions_list200response" -require_relative "CloudPDF/types/doc_versions_list404response" -require_relative "CloudPDF/types/doc_versions_signatures200response_revisions_item" -require_relative "CloudPDF/types/doc_versions_signatures200response_signatures_item_kind" -require_relative "CloudPDF/types/doc_versions_signatures200response_signatures_item_coverage" -require_relative "CloudPDF/types/doc_versions_signatures200response_signatures_item_signer" -require_relative "CloudPDF/types/doc_versions_signatures200response_signatures_item_field_mdp_action" -require_relative "CloudPDF/types/doc_versions_signatures200response_signatures_item_field_mdp" -require_relative "CloudPDF/types/doc_versions_signatures200response_signatures_item_lock_action" -require_relative "CloudPDF/types/doc_versions_signatures200response_signatures_item_lock" -require_relative "CloudPDF/types/doc_versions_signatures200response_signatures_item_seed_value" -require_relative "CloudPDF/types/doc_versions_signatures200response_signatures_item" -require_relative "CloudPDF/types/doc_versions_signatures200response_protection_enforced" -require_relative "CloudPDF/types/doc_versions_signatures200response_protection_judged" -require_relative "CloudPDF/types/doc_versions_signatures200response_protection_certification" -require_relative "CloudPDF/types/doc_versions_signatures200response_protection_field_locks_item_source" -require_relative "CloudPDF/types/doc_versions_signatures200response_protection_field_locks_item_spec_action" -require_relative "CloudPDF/types/doc_versions_signatures200response_protection_field_locks_item_spec" -require_relative "CloudPDF/types/doc_versions_signatures200response_protection_field_locks_item" -require_relative "CloudPDF/types/doc_versions_signatures200response_protection" -require_relative "CloudPDF/types/doc_versions_signatures200response" -require_relative "CloudPDF/types/doc_versions_signatures404response" -require_relative "CloudPDF/types/doc_versions_signature_contents_response" -require_relative "CloudPDF/types/doc_versions_signature_digest_response" -require_relative "CloudPDF/types/doc_versions_analysis200response_mode" -require_relative "CloudPDF/types/doc_versions_analysis200response_basis_version" -require_relative "CloudPDF/types/doc_versions_analysis200response_basis_source" -require_relative "CloudPDF/types/doc_versions_analysis200response_basis" -require_relative "CloudPDF/types/doc_versions_analysis200response_since" -require_relative "CloudPDF/types/doc_versions_analysis200response_until" -require_relative "CloudPDF/types/doc_versions_analysis200response_restrictions_item_source" -require_relative "CloudPDF/types/doc_versions_analysis200response_restrictions_item" -require_relative "CloudPDF/types/doc_versions_analysis200response_current_verdict" -require_relative "CloudPDF/types/doc_versions_analysis200response_current_primary_verdict" -require_relative "CloudPDF/types/doc_versions_analysis200response_current_primary" -require_relative "CloudPDF/types/doc_versions_analysis200response_current_findings_item_verdict" -require_relative "CloudPDF/types/doc_versions_analysis200response_current_findings_item" -require_relative "CloudPDF/types/doc_versions_analysis200response_current_method" -require_relative "CloudPDF/types/doc_versions_analysis200response_current" -require_relative "CloudPDF/types/doc_versions_analysis200response_later" -require_relative "CloudPDF/types/doc_versions_analysis200response_verdict" -require_relative "CloudPDF/types/doc_versions_analysis200response" -require_relative "CloudPDF/types/doc_versions_analysis400response" -require_relative "CloudPDF/types/doc_versions_analysis404response" -require_relative "CloudPDF/types/doc_versions_download_response" -require_relative "CloudPDF/types/doc_versions_revision_response" -require_relative "CloudPDF/types/doc_render_response" -require_relative "CloudPDF/types/doc_text200response" -require_relative "CloudPDF/types/doc_text404response" -require_relative "CloudPDF/types/doc_annotations_list200response" -require_relative "CloudPDF/types/doc_annotations_list404response" -require_relative "CloudPDF/types/doc_annotations_list_all200response" -require_relative "CloudPDF/types/doc_annotations_list_all404response" -require_relative "CloudPDF/types/doc_annotations_list_all409response" -require_relative "CloudPDF/types/doc_changes200response_changes_item_applied" -require_relative "CloudPDF/types/doc_changes200response_changes_item_refused" -require_relative "CloudPDF/types/doc_changes200response_changes_item" -require_relative "CloudPDF/types/doc_changes200response" -require_relative "CloudPDF/types/doc_changes400response" -require_relative "CloudPDF/types/doc_changes404response" -require_relative "CloudPDF/types/doc_changes409response" -require_relative "CloudPDF/types/doc_changes413response" +require_relative "CloudPDF/types/doc_fonts_resolve_response" +require_relative "CloudPDF/types/doc_fonts_programs_get_response" +require_relative "CloudPDF/types/doc_signatures_list_response_revisions_item" +require_relative "CloudPDF/types/doc_signatures_list_response_signatures_item_kind" +require_relative "CloudPDF/types/doc_signatures_list_response_signatures_item_coverage" +require_relative "CloudPDF/types/doc_signatures_list_response_signatures_item_signer" +require_relative "CloudPDF/types/doc_signatures_list_response_signatures_item_seed_value" +require_relative "CloudPDF/types/doc_signatures_list_response_signatures_item" +require_relative "CloudPDF/types/doc_signatures_list_response_protection_enforced" +require_relative "CloudPDF/types/doc_signatures_list_response_protection_judged" +require_relative "CloudPDF/types/doc_signatures_list_response_protection_certification" +require_relative "CloudPDF/types/doc_signatures_list_response_protection_field_locks_item_source" +require_relative "CloudPDF/types/doc_signatures_list_response_protection_field_locks_item" +require_relative "CloudPDF/types/doc_signatures_list_response_protection" +require_relative "CloudPDF/types/doc_signatures_list_response" +require_relative "CloudPDF/types/doc_signatures_analysis_response_mode" +require_relative "CloudPDF/types/doc_signatures_analysis_response_basis_version" +require_relative "CloudPDF/types/doc_signatures_analysis_response_basis_source" +require_relative "CloudPDF/types/doc_signatures_analysis_response_basis" +require_relative "CloudPDF/types/doc_signatures_analysis_response_since" +require_relative "CloudPDF/types/doc_signatures_analysis_response_until" +require_relative "CloudPDF/types/doc_signatures_analysis_response_restrictions_item_source" +require_relative "CloudPDF/types/doc_signatures_analysis_response_restrictions_item" +require_relative "CloudPDF/types/doc_signatures_analysis_response_current_verdict" +require_relative "CloudPDF/types/doc_signatures_analysis_response_current_primary_verdict" +require_relative "CloudPDF/types/doc_signatures_analysis_response_current_primary" +require_relative "CloudPDF/types/doc_signatures_analysis_response_current_findings_item_verdict" +require_relative "CloudPDF/types/doc_signatures_analysis_response_current_findings_item" +require_relative "CloudPDF/types/doc_signatures_analysis_response_current_method" +require_relative "CloudPDF/types/doc_signatures_analysis_response_current" +require_relative "CloudPDF/types/doc_signatures_analysis_response_later" +require_relative "CloudPDF/types/doc_signatures_analysis_response_verdict" +require_relative "CloudPDF/types/doc_signatures_analysis_response" +require_relative "CloudPDF/types/doc_signatures_prepare_response_algorithm" +require_relative "CloudPDF/types/doc_signatures_prepare_response_expected_version" +require_relative "CloudPDF/types/doc_signatures_prepare_response" +require_relative "CloudPDF/types/doc_signatures_complete_response_status" +require_relative "CloudPDF/types/doc_signatures_complete_response_signature_kind" +require_relative "CloudPDF/types/doc_signatures_complete_response_signature_coverage" +require_relative "CloudPDF/types/doc_signatures_complete_response_signature_signer" +require_relative "CloudPDF/types/doc_signatures_complete_response_signature_seed_value" +require_relative "CloudPDF/types/doc_signatures_complete_response_signature" +require_relative "CloudPDF/types/doc_signatures_complete_response_version" +require_relative "CloudPDF/types/doc_signatures_complete_response_previous" +require_relative "CloudPDF/types/doc_signatures_complete_response_protection_enforced" +require_relative "CloudPDF/types/doc_signatures_complete_response_protection_judged" +require_relative "CloudPDF/types/doc_signatures_complete_response_protection_certification" +require_relative "CloudPDF/types/doc_signatures_complete_response_protection_field_locks_item_source" +require_relative "CloudPDF/types/doc_signatures_complete_response_protection_field_locks_item" +require_relative "CloudPDF/types/doc_signatures_complete_response_protection" +require_relative "CloudPDF/types/doc_signatures_complete_response" +require_relative "CloudPDF/types/doc_signatures_cancel_response_status" +require_relative "CloudPDF/types/doc_signatures_cancel_response" +require_relative "CloudPDF/types/doc_versions_list_response_versions_item_producer" +require_relative "CloudPDF/types/doc_versions_list_response_versions_item" +require_relative "CloudPDF/types/doc_versions_list_response" +require_relative "CloudPDF/types/doc_versions_signatures_response_revisions_item" +require_relative "CloudPDF/types/doc_versions_signatures_response_signatures_item_kind" +require_relative "CloudPDF/types/doc_versions_signatures_response_signatures_item_coverage" +require_relative "CloudPDF/types/doc_versions_signatures_response_signatures_item_signer" +require_relative "CloudPDF/types/doc_versions_signatures_response_signatures_item_seed_value" +require_relative "CloudPDF/types/doc_versions_signatures_response_signatures_item" +require_relative "CloudPDF/types/doc_versions_signatures_response_protection_enforced" +require_relative "CloudPDF/types/doc_versions_signatures_response_protection_judged" +require_relative "CloudPDF/types/doc_versions_signatures_response_protection_certification" +require_relative "CloudPDF/types/doc_versions_signatures_response_protection_field_locks_item_source" +require_relative "CloudPDF/types/doc_versions_signatures_response_protection_field_locks_item" +require_relative "CloudPDF/types/doc_versions_signatures_response_protection" +require_relative "CloudPDF/types/doc_versions_signatures_response" +require_relative "CloudPDF/types/doc_versions_analysis_response_mode" +require_relative "CloudPDF/types/doc_versions_analysis_response_basis_version" +require_relative "CloudPDF/types/doc_versions_analysis_response_basis_source" +require_relative "CloudPDF/types/doc_versions_analysis_response_basis" +require_relative "CloudPDF/types/doc_versions_analysis_response_since" +require_relative "CloudPDF/types/doc_versions_analysis_response_until" +require_relative "CloudPDF/types/doc_versions_analysis_response_restrictions_item_source" +require_relative "CloudPDF/types/doc_versions_analysis_response_restrictions_item" +require_relative "CloudPDF/types/doc_versions_analysis_response_current_verdict" +require_relative "CloudPDF/types/doc_versions_analysis_response_current_primary_verdict" +require_relative "CloudPDF/types/doc_versions_analysis_response_current_primary" +require_relative "CloudPDF/types/doc_versions_analysis_response_current_findings_item_verdict" +require_relative "CloudPDF/types/doc_versions_analysis_response_current_findings_item" +require_relative "CloudPDF/types/doc_versions_analysis_response_current_method" +require_relative "CloudPDF/types/doc_versions_analysis_response_current" +require_relative "CloudPDF/types/doc_versions_analysis_response_later" +require_relative "CloudPDF/types/doc_versions_analysis_response_verdict" +require_relative "CloudPDF/types/doc_versions_analysis_response" +require_relative "CloudPDF/types/doc_text_response" +require_relative "CloudPDF/types/doc_annotations_list_response" +require_relative "CloudPDF/types/doc_annotations_list_all_response" +require_relative "CloudPDF/types/doc_changes_response_changes_item_applied" +require_relative "CloudPDF/types/doc_changes_response_changes_item_refused" +require_relative "CloudPDF/types/doc_changes_response_changes_item" +require_relative "CloudPDF/types/doc_changes_response" require_relative "CloudPDF/types/doc_annotations_create_request" -require_relative "CloudPDF/types/doc_annotations_create200response" -require_relative "CloudPDF/types/doc_annotations_create400response" -require_relative "CloudPDF/types/doc_annotations_create404response" +require_relative "CloudPDF/types/doc_annotations_create_response" require_relative "CloudPDF/types/doc_annotations_update_request" -require_relative "CloudPDF/types/doc_annotations_update200response_appearance_action" -require_relative "CloudPDF/types/doc_annotations_update200response_appearance" -require_relative "CloudPDF/types/doc_annotations_update200response" -require_relative "CloudPDF/types/doc_annotations_update400response" -require_relative "CloudPDF/types/doc_annotations_update404response" -require_relative "CloudPDF/types/doc_annotations_delete200response" -require_relative "CloudPDF/types/doc_annotations_delete404response" -require_relative "CloudPDF/types/doc_annotations_reorder200response" -require_relative "CloudPDF/types/doc_annotations_reorder400response" -require_relative "CloudPDF/types/doc_annotations_reorder404response" +require_relative "CloudPDF/types/doc_annotations_update_response_appearance_action" +require_relative "CloudPDF/types/doc_annotations_update_response_appearance" +require_relative "CloudPDF/types/doc_annotations_update_response" +require_relative "CloudPDF/types/doc_annotations_delete_response" +require_relative "CloudPDF/types/doc_annotations_reorder_response" require_relative "CloudPDF/types/doc_annotations_flatten_request" -require_relative "CloudPDF/types/doc_annotations_flatten200response_usage" -require_relative "CloudPDF/types/doc_annotations_flatten200response_results_item_status" -require_relative "CloudPDF/types/doc_annotations_flatten200response_results_item" -require_relative "CloudPDF/types/doc_annotations_flatten200response" -require_relative "CloudPDF/types/doc_annotations_flatten400response" -require_relative "CloudPDF/types/doc_annotations_flatten404response" +require_relative "CloudPDF/types/doc_annotations_flatten_response_usage" +require_relative "CloudPDF/types/doc_annotations_flatten_response_results_item_status" +require_relative "CloudPDF/types/doc_annotations_flatten_response_results_item" +require_relative "CloudPDF/types/doc_annotations_flatten_response" require_relative "CloudPDF/types/doc_annotations_export_appearance_request" -require_relative "CloudPDF/types/doc_annotations_export_appearance400response" -require_relative "CloudPDF/types/doc_annotations_export_appearance404response" -require_relative "CloudPDF/types/doc_annotations_read_appearance400response" -require_relative "CloudPDF/types/doc_annotations_read_appearance404response" -require_relative "CloudPDF/types/doc_annotations_read_file400response" -require_relative "CloudPDF/types/doc_annotations_read_file404response" -require_relative "CloudPDF/types/doc_annotations_read_file413response" -require_relative "CloudPDF/types/doc_forms_list200response_form_kind" -require_relative "CloudPDF/types/doc_forms_list200response" -require_relative "CloudPDF/types/doc_forms_list404response" +require_relative "CloudPDF/types/doc_forms_list_response_form_kind" +require_relative "CloudPDF/types/doc_forms_list_response" require_relative "CloudPDF/types/doc_forms_set_value_request" -require_relative "CloudPDF/types/doc_forms_set_value200response" -require_relative "CloudPDF/types/doc_forms_set_value400response" -require_relative "CloudPDF/types/doc_forms_set_value404response" -require_relative "CloudPDF/types/doc_forms_update_widget200response_appearance_action" -require_relative "CloudPDF/types/doc_forms_update_widget200response_appearance" -require_relative "CloudPDF/types/doc_forms_update_widget200response" -require_relative "CloudPDF/types/doc_forms_update_widget400response" -require_relative "CloudPDF/types/doc_forms_update_widget404response" -require_relative "CloudPDF/types/doc_forms_delete_widget200response" -require_relative "CloudPDF/types/doc_forms_delete_widget400response" -require_relative "CloudPDF/types/doc_forms_delete_widget404response" -require_relative "CloudPDF/types/doc_forms_reorder_widgets200response" -require_relative "CloudPDF/types/doc_forms_reorder_widgets400response" -require_relative "CloudPDF/types/doc_forms_reorder_widgets404response" -require_relative "CloudPDF/types/doc_forms_reorder_calculations200response" -require_relative "CloudPDF/types/doc_forms_reorder_calculations400response" -require_relative "CloudPDF/types/doc_forms_reorder_calculations404response" -require_relative "CloudPDF/types/doc_forms_reset200response" -require_relative "CloudPDF/types/doc_forms_reset400response" -require_relative "CloudPDF/types/doc_forms_reset404response" -require_relative "CloudPDF/types/doc_pages_viewports200response_viewports_item_bbox" -require_relative "CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_x_item_fraction" -require_relative "CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_x_item_label_position" -require_relative "CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_x_item" -require_relative "CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_y_item_fraction" -require_relative "CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_y_item_label_position" -require_relative "CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_y_item" -require_relative "CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_distance_item_fraction" -require_relative "CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_distance_item_label_position" -require_relative "CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_distance_item" -require_relative "CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_area_item_fraction" -require_relative "CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_area_item_label_position" -require_relative "CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_area_item" -require_relative "CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_angle_item_fraction" -require_relative "CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_angle_item_label_position" -require_relative "CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_angle_item" -require_relative "CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_slope_item_fraction" -require_relative "CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_slope_item_label_position" -require_relative "CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_slope_item" -require_relative "CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_origin" -require_relative "CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear" -require_relative "CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_geospatial" -require_relative "CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_unknown" -require_relative "CloudPDF/types/doc_pages_viewports200response_viewports_item_measure" -require_relative "CloudPDF/types/doc_pages_viewports200response_viewports_item" -require_relative "CloudPDF/types/doc_pages_viewports200response" -require_relative "CloudPDF/types/doc_pages_viewports404response" -require_relative "CloudPDF/types/doc_pages_set_scale200response" -require_relative "CloudPDF/types/doc_pages_set_scale400response" -require_relative "CloudPDF/types/doc_pages_set_scale404response" +require_relative "CloudPDF/types/doc_forms_set_value_response" +require_relative "CloudPDF/types/doc_forms_update_widget_response_appearance_action" +require_relative "CloudPDF/types/doc_forms_update_widget_response_appearance" +require_relative "CloudPDF/types/doc_forms_update_widget_response" +require_relative "CloudPDF/types/doc_forms_delete_widget_response" +require_relative "CloudPDF/types/doc_forms_reorder_widgets_response" +require_relative "CloudPDF/types/doc_forms_reorder_calculations_response" +require_relative "CloudPDF/types/doc_forms_reset_response" +require_relative "CloudPDF/types/doc_pages_viewports_response_viewports_item_bbox" +require_relative "CloudPDF/types/doc_pages_viewports_response_viewports_item" +require_relative "CloudPDF/types/doc_pages_viewports_response" +require_relative "CloudPDF/types/doc_pages_set_scale_response" require_relative "CloudPDF/types/doc_pages_set_name_request" -require_relative "CloudPDF/types/doc_pages_set_name200response_layout_pages_item_size" -require_relative "CloudPDF/types/doc_pages_set_name200response_layout_pages_item_tab_order" -require_relative "CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes_media" -require_relative "CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes_crop" -require_relative "CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes_bleed" -require_relative "CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes_trim" -require_relative "CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes_art" -require_relative "CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes" -require_relative "CloudPDF/types/doc_pages_set_name200response_layout_pages_item_pdf_crop_box" -require_relative "CloudPDF/types/doc_pages_set_name200response_layout_pages_item" -require_relative "CloudPDF/types/doc_pages_set_name200response_layout_labels_item_style" -require_relative "CloudPDF/types/doc_pages_set_name200response_layout_labels_item" -require_relative "CloudPDF/types/doc_pages_set_name200response_layout_named_pages_item_target_page" -require_relative "CloudPDF/types/doc_pages_set_name200response_layout_named_pages_item_target_template" -require_relative "CloudPDF/types/doc_pages_set_name200response_layout_named_pages_item_target_dangling" -require_relative "CloudPDF/types/doc_pages_set_name200response_layout_named_pages_item_target" -require_relative "CloudPDF/types/doc_pages_set_name200response_layout_named_pages_item" -require_relative "CloudPDF/types/doc_pages_set_name200response_layout" -require_relative "CloudPDF/types/doc_pages_set_name200response" -require_relative "CloudPDF/types/doc_pages_set_name400response" -require_relative "CloudPDF/types/doc_pages_set_name404response" +require_relative "CloudPDF/types/doc_pages_set_name_response_layout_pages_item_size" +require_relative "CloudPDF/types/doc_pages_set_name_response_layout_pages_item_tab_order" +require_relative "CloudPDF/types/doc_pages_set_name_response_layout_pages_item_boxes_media" +require_relative "CloudPDF/types/doc_pages_set_name_response_layout_pages_item_boxes_crop" +require_relative "CloudPDF/types/doc_pages_set_name_response_layout_pages_item_boxes_bleed" +require_relative "CloudPDF/types/doc_pages_set_name_response_layout_pages_item_boxes_trim" +require_relative "CloudPDF/types/doc_pages_set_name_response_layout_pages_item_boxes_art" +require_relative "CloudPDF/types/doc_pages_set_name_response_layout_pages_item_boxes" +require_relative "CloudPDF/types/doc_pages_set_name_response_layout_pages_item_pdf_crop_box" +require_relative "CloudPDF/types/doc_pages_set_name_response_layout_pages_item" +require_relative "CloudPDF/types/doc_pages_set_name_response_layout_labels_item_style" +require_relative "CloudPDF/types/doc_pages_set_name_response_layout_labels_item" +require_relative "CloudPDF/types/doc_pages_set_name_response_layout_named_pages_item_target_page" +require_relative "CloudPDF/types/doc_pages_set_name_response_layout_named_pages_item_target_template" +require_relative "CloudPDF/types/doc_pages_set_name_response_layout_named_pages_item_target_dangling" +require_relative "CloudPDF/types/doc_pages_set_name_response_layout_named_pages_item_target" +require_relative "CloudPDF/types/doc_pages_set_name_response_layout_named_pages_item" +require_relative "CloudPDF/types/doc_pages_set_name_response_layout" +require_relative "CloudPDF/types/doc_pages_set_name_response" require_relative "CloudPDF/types/doc_pages_remove_name_request" -require_relative "CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_size" -require_relative "CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_tab_order" -require_relative "CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes_media" -require_relative "CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes_crop" -require_relative "CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes_bleed" -require_relative "CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes_trim" -require_relative "CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes_art" -require_relative "CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes" -require_relative "CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_pdf_crop_box" -require_relative "CloudPDF/types/doc_pages_remove_name200response_layout_pages_item" -require_relative "CloudPDF/types/doc_pages_remove_name200response_layout_labels_item_style" -require_relative "CloudPDF/types/doc_pages_remove_name200response_layout_labels_item" -require_relative "CloudPDF/types/doc_pages_remove_name200response_layout_named_pages_item_target_page" -require_relative "CloudPDF/types/doc_pages_remove_name200response_layout_named_pages_item_target_template" -require_relative "CloudPDF/types/doc_pages_remove_name200response_layout_named_pages_item_target_dangling" -require_relative "CloudPDF/types/doc_pages_remove_name200response_layout_named_pages_item_target" -require_relative "CloudPDF/types/doc_pages_remove_name200response_layout_named_pages_item" -require_relative "CloudPDF/types/doc_pages_remove_name200response_layout" -require_relative "CloudPDF/types/doc_pages_remove_name200response" -require_relative "CloudPDF/types/doc_pages_remove_name400response" -require_relative "CloudPDF/types/doc_pages_remove_name404response" +require_relative "CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_size" +require_relative "CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_tab_order" +require_relative "CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_boxes_media" +require_relative "CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_boxes_crop" +require_relative "CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_boxes_bleed" +require_relative "CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_boxes_trim" +require_relative "CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_boxes_art" +require_relative "CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_boxes" +require_relative "CloudPDF/types/doc_pages_remove_name_response_layout_pages_item_pdf_crop_box" +require_relative "CloudPDF/types/doc_pages_remove_name_response_layout_pages_item" +require_relative "CloudPDF/types/doc_pages_remove_name_response_layout_labels_item_style" +require_relative "CloudPDF/types/doc_pages_remove_name_response_layout_labels_item" +require_relative "CloudPDF/types/doc_pages_remove_name_response_layout_named_pages_item_target_page" +require_relative "CloudPDF/types/doc_pages_remove_name_response_layout_named_pages_item_target_template" +require_relative "CloudPDF/types/doc_pages_remove_name_response_layout_named_pages_item_target_dangling" +require_relative "CloudPDF/types/doc_pages_remove_name_response_layout_named_pages_item_target" +require_relative "CloudPDF/types/doc_pages_remove_name_response_layout_named_pages_item" +require_relative "CloudPDF/types/doc_pages_remove_name_response_layout" +require_relative "CloudPDF/types/doc_pages_remove_name_response" require_relative "CloudPDF/types/doc_pages_flatten_request" -require_relative "CloudPDF/types/doc_pages_flatten200response_usage" -require_relative "CloudPDF/types/doc_pages_flatten200response_results_item_status" -require_relative "CloudPDF/types/doc_pages_flatten200response_results_item" -require_relative "CloudPDF/types/doc_pages_flatten200response" -require_relative "CloudPDF/types/doc_pages_flatten400response" -require_relative "CloudPDF/types/doc_pages_flatten404response" +require_relative "CloudPDF/types/doc_pages_flatten_response_usage" +require_relative "CloudPDF/types/doc_pages_flatten_response_results_item_status" +require_relative "CloudPDF/types/doc_pages_flatten_response_results_item" +require_relative "CloudPDF/types/doc_pages_flatten_response" require_relative "CloudPDF/types/doc_pages_extract_request" -require_relative "CloudPDF/types/doc_pages_extract400response" -require_relative "CloudPDF/types/doc_pages_extract404response" -require_relative "CloudPDF/types/doc_redactions_apply200response_scope" -require_relative "CloudPDF/types/doc_redactions_apply200response_results_item_status" -require_relative "CloudPDF/types/doc_redactions_apply200response_results_item" -require_relative "CloudPDF/types/doc_redactions_apply200response" -require_relative "CloudPDF/types/doc_redactions_apply400response" -require_relative "CloudPDF/types/doc_redactions_apply404response" -require_relative "CloudPDF/types/doc_download_link200response" -require_relative "CloudPDF/types/doc_download_link404response" -require_relative "CloudPDF/types/doc_download_link501response" -require_relative "CloudPDF/types/doc_download_response" +require_relative "CloudPDF/types/doc_redactions_apply_response_scope" +require_relative "CloudPDF/types/doc_redactions_apply_response_results_item_status" +require_relative "CloudPDF/types/doc_redactions_apply_response_results_item" +require_relative "CloudPDF/types/doc_redactions_apply_response" +require_relative "CloudPDF/types/doc_download_link_response" require_relative "CloudPDF/client" require_relative "CloudPDF/deployment/client" require_relative "CloudPDF/doc/client" diff --git a/reference.md b/reference.md index e955dfbd..c102c7f8 100644 --- a/reference.md +++ b/reference.md @@ -95,7 +95,7 @@ client.deployment.modules ## Doc -
client.doc.head(doc_id:) -> CloudPDF::Types::DocHead200Response +
client.doc.head(doc_id:) -> CloudPDF::Types::DocHeadResponse
@@ -151,7 +151,7 @@ client.doc.head(doc_id: "docId")
-
client.doc.changes(doc_id:, layer_name:, request) -> CloudPDF::Types::DocChanges200Response +
client.doc.changes(doc_id:, layer_name:, request) -> CloudPDF::Types::DocChangesResponse
@@ -310,7 +310,7 @@ client.doc.download(
-
client.doc.download_link(doc_id:, layer_name:, request) -> CloudPDF::Types::DocDownloadLink200Response +
client.doc.download_link(doc_id:, layer_name:, request) -> CloudPDF::Types::DocDownloadLinkResponse
@@ -379,7 +379,7 @@ client.doc.download_link(
-**expires_in:** `Integer` +**expires_in_seconds:** `Integer`
@@ -399,7 +399,7 @@ client.doc.download_link(
-
client.doc.manifest(doc_id:, layer_name:) -> CloudPDF::Types::DocManifest200Response +
client.doc.manifest(doc_id:, layer_name:) -> CloudPDF::Types::DocManifestResponse
@@ -528,7 +528,7 @@ client.doc.render(
-**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotKey` and `fieldKey`. +**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotationKey` and `fieldKey`.
@@ -556,7 +556,7 @@ client.doc.render(
-
client.doc.text(doc_id:, layer_name:, page_key:) -> CloudPDF::Types::DocText200Response +
client.doc.text(doc_id:, layer_name:, page_key:) -> CloudPDF::Types::DocTextResponse
@@ -604,7 +604,7 @@ client.doc.text(
-**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotKey` and `fieldKey`. +**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotationKey` and `fieldKey`.
@@ -633,7 +633,7 @@ client.doc.text(
## Grants -
client.grants.exchange(request) -> CloudPDF::Types::GrantsExchange200Response +
client.grants.exchange(request) -> CloudPDF::Types::GrantsExchangeResponse
@@ -727,7 +727,7 @@ client.grants.exchange(grant: "grant")
-
client.grants.list(tenant_id:) -> CloudPDF::Types::GrantsList200Response +
client.grants.list(tenant_id:) -> CloudPDF::Types::GrantsListResponse
@@ -807,7 +807,7 @@ client.grants.list(tenant_id: "tenantId")
-
client.grants.create(tenant_id:, request) -> CloudPDF::Types::GrantsCreate200Response +
client.grants.create(tenant_id:, request) -> CloudPDF::Types::GrantsCreateResponse
@@ -957,7 +957,7 @@ client.grants.create(
-**expires_at:** `Integer` +**expires_at:** `String`
@@ -977,7 +977,7 @@ client.grants.create(
-
client.grants.get(tenant_id:, grant_id:) -> CloudPDF::Types::GrantsGet200Response +
client.grants.get(tenant_id:, grant_id:) -> CloudPDF::Types::GrantsGetResponse
@@ -1095,7 +1095,7 @@ client.grants.delete(
-
client.grants.update(tenant_id:, grant_id:, request) -> CloudPDF::Types::GrantsUpdate200Response +
client.grants.update(tenant_id:, grant_id:, request) -> CloudPDF::Types::GrantsUpdateResponse
@@ -1238,7 +1238,7 @@ client.grants.update(
-**expires_at:** `Integer` +**expires_at:** `String`
@@ -1258,7 +1258,7 @@ client.grants.update(
-
client.grants.archive(tenant_id:, grant_id:) -> CloudPDF::Types::GrantsArchive200Response +
client.grants.archive(tenant_id:, grant_id:) -> CloudPDF::Types::GrantsArchiveResponse
@@ -1332,7 +1332,7 @@ client.grants.archive(
## Tenants -
client.tenants.list() -> CloudPDF::Types::TenantsList200Response +
client.tenants.list() -> CloudPDF::Types::TenantsListResponse
@@ -1388,7 +1388,7 @@ client.tenants.list
-
client.tenants.create(request) -> CloudPDF::Types::TenantsCreate200Response +
client.tenants.create(request) -> CloudPDF::Types::TenantsCreateResponse
@@ -1444,7 +1444,7 @@ client.tenants.create(id: "id")
-
client.tenants.get(tenant_id:) -> CloudPDF::Types::TenantsGet200Response +
client.tenants.get(tenant_id:) -> CloudPDF::Types::TenantsGetResponse
@@ -1554,7 +1554,7 @@ client.tenants.delete(tenant_id: "tenantId")
-
client.tenants.update(tenant_id:, request) -> CloudPDF::Types::TenantsUpdate200Response +
client.tenants.update(tenant_id:, request) -> CloudPDF::Types::TenantsUpdateResponse
@@ -1747,7 +1747,7 @@ client.tenants.suspend(tenant_id: "tenantId")
-
client.tenants.usage(tenant_id:) -> CloudPDF::Types::TenantsUsage200Response +
client.tenants.usage(tenant_id:) -> CloudPDF::Types::TenantsUsageResponse
@@ -1834,7 +1834,7 @@ client.tenants.usage(tenant_id: "tenantId")
## Documents -
client.documents.list(tenant_id:) -> CloudPDF::Types::DocumentsList200Response +
client.documents.list(tenant_id:) -> CloudPDF::Types::DocumentsListResponse
@@ -1938,7 +1938,7 @@ client.documents.list(tenant_id: "tenantId")
-
client.documents.get(tenant_id:, id:) -> CloudPDF::Types::DocumentsGet200Response +
client.documents.get(tenant_id:, doc_id:) -> CloudPDF::Types::DocumentsGetResponse
@@ -1953,7 +1953,7 @@ client.documents.list(tenant_id: "tenantId") ```ruby client.documents.get( tenant_id: "tenantId", - id: "id" + doc_id: "docId" ) ```
@@ -1977,7 +1977,7 @@ client.documents.get(
-**id:** `String` +**doc_id:** `String`
@@ -1997,7 +1997,7 @@ client.documents.get(
-
client.documents.delete(tenant_id:, id:) -> +
client.documents.delete(tenant_id:, doc_id:) ->
@@ -2012,7 +2012,7 @@ client.documents.get( ```ruby client.documents.delete( tenant_id: "tenantId", - id: "id" + doc_id: "docId" ) ```
@@ -2036,7 +2036,7 @@ client.documents.delete(
-**id:** `String` +**doc_id:** `String`
@@ -2056,7 +2056,7 @@ client.documents.delete(
-
client.documents.update(tenant_id:, id:, request) -> CloudPDF::Types::DocumentsUpdate200Response +
client.documents.update(tenant_id:, doc_id:, request) -> CloudPDF::Types::DocumentsUpdateResponse
@@ -2085,7 +2085,7 @@ A document that is being deleted answers 404. ```ruby client.documents.update( tenant_id: "tenantId", - id: "id", + doc_id: "docId", name: "name" ) ``` @@ -2110,7 +2110,7 @@ client.documents.update(
-**id:** `String` +**doc_id:** `String`
@@ -2138,7 +2138,7 @@ client.documents.update(
-
client.documents.commit(tenant_id:, id:, request) -> CloudPDF::Types::DocumentsCommit200Response +
client.documents.commit(tenant_id:, doc_id:, request) -> CloudPDF::Types::DocumentsCommitResponse
@@ -2167,7 +2167,7 @@ An upload token commits only the documents it started; any other document answer ```ruby client.documents.commit( tenant_id: "tenantId", - id: "id", + doc_id: "docId", sha256: "sha256" ) ``` @@ -2192,7 +2192,7 @@ client.documents.commit(
-**id:** `String` +**doc_id:** `String`
@@ -2220,7 +2220,7 @@ client.documents.commit(
-
client.documents.download(tenant_id:, id:) -> String +
client.documents.download(tenant_id:, doc_id:) -> String
@@ -2235,7 +2235,7 @@ client.documents.commit( ```ruby client.documents.download( tenant_id: "tenantId", - id: "id" + doc_id: "docId" ) ```
@@ -2259,7 +2259,7 @@ client.documents.download(
-**id:** `String` +**doc_id:** `String`
@@ -2279,7 +2279,7 @@ client.documents.download(
-
client.documents.thumbnail(tenant_id:, id:) -> String +
client.documents.thumbnail(tenant_id:, doc_id:) -> String
@@ -2294,7 +2294,7 @@ client.documents.download( ```ruby client.documents.thumbnail( tenant_id: "tenantId", - id: "id" + doc_id: "docId" ) ```
@@ -2318,7 +2318,7 @@ client.documents.thumbnail(
-**id:** `String` +**doc_id:** `String`
@@ -2338,7 +2338,7 @@ client.documents.thumbnail(
-
client.documents.upload_proxy(tenant_id:, id:, request) -> CloudPDF::Types::DocumentsUploadProxy200Response +
client.documents.upload_proxy(tenant_id:, doc_id:, request) -> CloudPDF::Types::DocumentsUploadProxyResponse
@@ -2368,7 +2368,7 @@ This bounded origin-mediated fallback must only be used after documents.init ret File.open("document.pdf", "rb") do |file| client.documents.upload_proxy( tenant_id: "tenantId", - id: "id", + doc_id: "docId", file: file ) end @@ -2394,7 +2394,7 @@ end
-**id:** `String` +**doc_id:** `String`
@@ -2548,7 +2548,7 @@ client.documents.import_from(tenant_id: "tenantId")
-
client.documents.init(tenant_id:, request) -> CloudPDF::Types::DocumentsInit200Response +
client.documents.init(tenant_id:, request) -> CloudPDF::Types::DocumentsInitResponse
@@ -2560,7 +2560,7 @@ client.documents.import_from(tenant_id: "tenantId")
-With an upload token, the document goes into the token's folder with the token's metadata, whatever the request says; contentLength must be within the token's maxBytes, and the token makes at most maxFiles documents (403 after). docId, idempotencyKey and dedupMode reuse-existing are refused (400): each could reach a document the token didn't make. +With an upload token, the document goes into the token's folder with the token's metadata, whatever the request says; sizeBytes must be within the token's maxBytes, and the token makes at most maxFiles documents (403 after). docId, idempotencyKey and dedupMode reuse-existing are refused (400): each could reach a document the token didn't make.
@@ -2577,7 +2577,7 @@ With an upload token, the document goes into the token's folder with the token's ```ruby client.documents.init( tenant_id: "tenantId", - content_length: 1.1, + size_bytes: 1, content_sha256: "contentSha256" ) ``` @@ -2602,7 +2602,7 @@ client.documents.init(
-**content_length:** `Integer` +**size_bytes:** `Integer`
@@ -2666,7 +2666,7 @@ client.documents.init(
-**upload_ttl_sec:** `Integer` +**upload_ttl_seconds:** `Integer`
@@ -2695,7 +2695,7 @@ client.documents.init(
## Folders -
client.folders.list(tenant_id:) -> CloudPDF::Types::FoldersList200Response +
client.folders.list(tenant_id:) -> CloudPDF::Types::FoldersListResponse
@@ -2767,7 +2767,7 @@ client.folders.list(tenant_id: "tenantId")
-
client.folders.create(tenant_id:, request) -> CloudPDF::Types::FoldersCreate200Response +
client.folders.create(tenant_id:, request) -> CloudPDF::Types::FoldersCreateResponse
@@ -2848,7 +2848,7 @@ client.folders.create(
-
client.folders.get(tenant_id:, folder_id:) -> CloudPDF::Types::FoldersGet200Response +
client.folders.get(tenant_id:, folder_id:) -> CloudPDF::Types::FoldersGetResponse
@@ -2988,7 +2988,7 @@ client.folders.delete(
-
client.folders.update(tenant_id:, folder_id:, request) -> CloudPDF::Types::FoldersUpdate200Response +
client.folders.update(tenant_id:, folder_id:, request) -> CloudPDF::Types::FoldersUpdateResponse
@@ -3082,7 +3082,7 @@ client.folders.update(
-Up to 1,000 ids in total. A folder moves with everything in it. 404 NotFound names the ids that do not exist or are being deleted in `details.documentIds` and `details.folderIds`. 409 Conflict carries `details.reason`: `cycle` (the destination is a moved folder or inside one; `details.folderId`), `too-deep` (the move would nest folders deeper than 100 levels; `details.maxDepth`) or `name-taken` (a moved folder's name is taken in the destination, ignoring case; `details.name`). +Up to 1,000 ids in total. A folder moves with everything in it. 404 NotFound names the ids that do not exist or are being deleted in `details.docIds` and `details.folderIds`. 409 Conflict carries `details.reason`: `cycle` (the destination is a moved folder or inside one; `details.folderId`), `too-deep` (the move would nest folders deeper than 100 levels; `details.maxDepth`) or `name-taken` (a moved folder's name is taken in the destination, ignoring case; `details.name`).
@@ -3131,7 +3131,7 @@ client.folders.move_into(
-**document_ids:** `Internal::Types::Array[String]` +**doc_ids:** `Internal::Types::Array[String]`
@@ -3160,7 +3160,7 @@ client.folders.move_into(
## Tokens -
client.tokens.issue(tenant_id:, request) -> CloudPDF::Types::TokensIssue200Response +
client.tokens.issue(tenant_id:, request) -> CloudPDF::Types::TokensIssueResponse
@@ -3299,7 +3299,7 @@ client.tokens.revoke(
-**expires_at_seconds:** `Integer` +**expires_at:** `String`
@@ -3449,7 +3449,7 @@ client.doc.annotations.list(
-**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotKey` and `fieldKey`. +**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotationKey` and `fieldKey`.
@@ -3477,7 +3477,7 @@ client.doc.annotations.list(
-
client.doc.annotations.create(doc_id:, layer_name:, page_key:, request) -> CloudPDF::Types::DocAnnotationsCreate200Response +
client.doc.annotations.create(doc_id:, layer_name:, page_key:, request) -> CloudPDF::Types::DocAnnotationsCreateResponse
@@ -3542,7 +3542,7 @@ client.doc.annotations.create(
-**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotKey` and `fieldKey`. +**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotationKey` and `fieldKey`.
@@ -3586,7 +3586,7 @@ client.doc.annotations.create(
-
client.doc.annotations.delete(doc_id:, layer_name:, page_key:, annot_key:) -> CloudPDF::Types::DocAnnotationsDelete200Response +
client.doc.annotations.delete(doc_id:, layer_name:, page_key:, annotation_key:) -> CloudPDF::Types::DocAnnotationsDeleteResponse
@@ -3603,7 +3603,7 @@ client.doc.annotations.delete( doc_id: "docId", layer_name: "layerName", page_key: "pageKey", - annot_key: "annotKey" + annotation_key: "annotationKey" ) ```
@@ -3635,7 +3635,7 @@ client.doc.annotations.delete(
-**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotKey` and `fieldKey`. +**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotationKey` and `fieldKey`.
@@ -3643,7 +3643,7 @@ client.doc.annotations.delete(
-**annot_key:** `String` — The annotation's address on the page: `obj:N`, its indirect object number, or `base:N` for an annotation the uploaded file stored inline (without an object number of its own), the position it was born at in the page's /Annots. The name the annotation's `ref` carries for life. +**annotation_key:** `String` — The annotation's address on the page: `obj:N`, its indirect object number, or `base:N` for an annotation the uploaded file stored inline (without an object number of its own), the position it was born at in the page's /Annots. The name the annotation's `ref` carries for life.
@@ -3679,7 +3679,7 @@ client.doc.annotations.delete(
-
client.doc.annotations.update(doc_id:, layer_name:, page_key:, annot_key:, request) -> CloudPDF::Types::DocAnnotationsUpdate200Response +
client.doc.annotations.update(doc_id:, layer_name:, page_key:, annotation_key:, request) -> CloudPDF::Types::DocAnnotationsUpdateResponse
@@ -3696,7 +3696,7 @@ client.doc.annotations.update( doc_id: "docId", layer_name: "layerName", page_key: "pageKey", - annot_key: "annotKey", + annotation_key: "annotationKey", request: { key: "value" } @@ -3731,7 +3731,7 @@ client.doc.annotations.update(
-**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotKey` and `fieldKey`. +**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotationKey` and `fieldKey`.
@@ -3739,7 +3739,7 @@ client.doc.annotations.update(
-**annot_key:** `String` — The annotation's address on the page: `obj:N`, its indirect object number, or `base:N` for an annotation the uploaded file stored inline (without an object number of its own), the position it was born at in the page's /Annots. The name the annotation's `ref` carries for life. +**annotation_key:** `String` — The annotation's address on the page: `obj:N`, its indirect object number, or `base:N` for an annotation the uploaded file stored inline (without an object number of its own), the position it was born at in the page's /Annots. The name the annotation's `ref` carries for life.
@@ -3783,7 +3783,7 @@ client.doc.annotations.update(
-
client.doc.annotations.read_appearance(doc_id:, layer_name:, page_key:, annot_key:) -> String +
client.doc.annotations.read_appearance(doc_id:, layer_name:, page_key:, annotation_key:) -> String
@@ -3800,7 +3800,7 @@ client.doc.annotations.read_appearance( doc_id: "docId", layer_name: "layerName", page_key: "pageKey", - annot_key: "annotKey" + annotation_key: "annotationKey" ) ```
@@ -3832,7 +3832,7 @@ client.doc.annotations.read_appearance(
-**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotKey` and `fieldKey`. +**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotationKey` and `fieldKey`.
@@ -3840,7 +3840,7 @@ client.doc.annotations.read_appearance(
-**annot_key:** `String` — The annotation's address on the page: `obj:N`, its indirect object number, or `base:N` for an annotation the uploaded file stored inline (without an object number of its own), the position it was born at in the page's /Annots. The name the annotation's `ref` carries for life. +**annotation_key:** `String` — The annotation's address on the page: `obj:N`, its indirect object number, or `base:N` for an annotation the uploaded file stored inline (without an object number of its own), the position it was born at in the page's /Annots. The name the annotation's `ref` carries for life.
@@ -3868,7 +3868,7 @@ client.doc.annotations.read_appearance(
-
client.doc.annotations.read_file(doc_id:, layer_name:, page_key:, annot_key:) -> String +
client.doc.annotations.read_file(doc_id:, layer_name:, page_key:, annotation_key:) -> String
@@ -3899,7 +3899,7 @@ client.doc.annotations.read_file( doc_id: "docId", layer_name: "layerName", page_key: "pageKey", - annot_key: "annotKey" + annotation_key: "annotationKey" ) ```
@@ -3931,7 +3931,7 @@ client.doc.annotations.read_file(
-**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotKey` and `fieldKey`. +**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotationKey` and `fieldKey`.
@@ -3939,7 +3939,7 @@ client.doc.annotations.read_file(
-**annot_key:** `String` — The annotation's address on the page: `obj:N`, its indirect object number, or `base:N` for an annotation the uploaded file stored inline (without an object number of its own), the position it was born at in the page's /Annots. The name the annotation's `ref` carries for life. +**annotation_key:** `String` — The annotation's address on the page: `obj:N`, its indirect object number, or `base:N` for an annotation the uploaded file stored inline (without an object number of its own), the position it was born at in the page's /Annots. The name the annotation's `ref` carries for life.
@@ -4020,7 +4020,7 @@ client.doc.annotations.export_appearance(
-**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotKey` and `fieldKey`. +**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotationKey` and `fieldKey`.
@@ -4056,7 +4056,7 @@ client.doc.annotations.export_appearance(
-
client.doc.annotations.flatten(doc_id:, layer_name:, page_key:, request) -> CloudPDF::Types::DocAnnotationsFlatten200Response +
client.doc.annotations.flatten(doc_id:, layer_name:, page_key:, request) -> CloudPDF::Types::DocAnnotationsFlattenResponse
@@ -4107,7 +4107,7 @@ client.doc.annotations.flatten(
-**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotKey` and `fieldKey`. +**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotationKey` and `fieldKey`.
@@ -4151,7 +4151,7 @@ client.doc.annotations.flatten(
-
client.doc.annotations.reorder(doc_id:, layer_name:, page_key:, request) -> CloudPDF::Types::DocAnnotationsReorder200Response +
client.doc.annotations.reorder(doc_id:, layer_name:, page_key:, request) -> CloudPDF::Types::DocAnnotationsReorderResponse
@@ -4201,7 +4201,7 @@ client.doc.annotations.reorder(
-**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotKey` and `fieldKey`. +**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotationKey` and `fieldKey`.
@@ -4572,7 +4572,7 @@ client.doc.fonts.resolve(
## Doc Forms -
client.doc.forms.list(doc_id:, layer_name:) -> CloudPDF::Types::DocFormsList200Response +
client.doc.forms.list(doc_id:, layer_name:) -> CloudPDF::Types::DocFormsListResponse
@@ -4639,7 +4639,7 @@ client.doc.forms.list(
-
client.doc.forms.reorder_calculations(doc_id:, layer_name:, request) -> CloudPDF::Types::DocFormsReorderCalculations200Response +
client.doc.forms.reorder_calculations(doc_id:, layer_name:, request) -> CloudPDF::Types::DocFormsReorderCalculationsResponse
@@ -4732,7 +4732,7 @@ client.doc.forms.reorder_calculations(
-
client.doc.forms.set_value(doc_id:, layer_name:, field_key:, request) -> CloudPDF::Types::DocFormsSetValue200Response +
client.doc.forms.set_value(doc_id:, layer_name:, field_key:, request) -> CloudPDF::Types::DocFormsSetValueResponse
@@ -4827,7 +4827,7 @@ client.doc.forms.set_value(
-
client.doc.forms.reset(doc_id:, layer_name:, request) -> CloudPDF::Types::DocFormsReset200Response +
client.doc.forms.reset(doc_id:, layer_name:, request) -> CloudPDF::Types::DocFormsResetResponse
@@ -4910,7 +4910,7 @@ client.doc.forms.reset(
-
client.doc.forms.delete_widget(doc_id:, layer_name:, page_key:, annot_key:) -> CloudPDF::Types::DocFormsDeleteWidget200Response +
client.doc.forms.delete_widget(doc_id:, layer_name:, page_key:, annotation_key:) -> CloudPDF::Types::DocFormsDeleteWidgetResponse
@@ -4927,7 +4927,7 @@ client.doc.forms.delete_widget( doc_id: "docId", layer_name: "layerName", page_key: "pageKey", - annot_key: "annotKey" + annotation_key: "annotationKey" ) ```
@@ -4959,7 +4959,7 @@ client.doc.forms.delete_widget(
-**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotKey` and `fieldKey`. +**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotationKey` and `fieldKey`.
@@ -4967,7 +4967,7 @@ client.doc.forms.delete_widget(
-**annot_key:** `String` — The annotation's address on the page: `obj:N`, its indirect object number, or `base:N` for an annotation the uploaded file stored inline (without an object number of its own), the position it was born at in the page's /Annots. The name the annotation's `ref` carries for life. +**annotation_key:** `String` — The annotation's address on the page: `obj:N`, its indirect object number, or `base:N` for an annotation the uploaded file stored inline (without an object number of its own), the position it was born at in the page's /Annots. The name the annotation's `ref` carries for life.
@@ -5003,7 +5003,7 @@ client.doc.forms.delete_widget(
-
client.doc.forms.update_widget(doc_id:, layer_name:, page_key:, annot_key:, request) -> CloudPDF::Types::DocFormsUpdateWidget200Response +
client.doc.forms.update_widget(doc_id:, layer_name:, page_key:, annotation_key:, request) -> CloudPDF::Types::DocFormsUpdateWidgetResponse
@@ -5020,7 +5020,7 @@ client.doc.forms.update_widget( doc_id: "docId", layer_name: "layerName", page_key: "pageKey", - annot_key: "annotKey", + annotation_key: "annotationKey", patch: {} ) ``` @@ -5053,7 +5053,7 @@ client.doc.forms.update_widget(
-**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotKey` and `fieldKey`. +**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotationKey` and `fieldKey`.
@@ -5061,7 +5061,7 @@ client.doc.forms.update_widget(
-**annot_key:** `String` — The annotation's address on the page: `obj:N`, its indirect object number, or `base:N` for an annotation the uploaded file stored inline (without an object number of its own), the position it was born at in the page's /Annots. The name the annotation's `ref` carries for life. +**annotation_key:** `String` — The annotation's address on the page: `obj:N`, its indirect object number, or `base:N` for an annotation the uploaded file stored inline (without an object number of its own), the position it was born at in the page's /Annots. The name the annotation's `ref` carries for life.
@@ -5105,7 +5105,7 @@ client.doc.forms.update_widget(
-
client.doc.forms.reorder_widgets(doc_id:, layer_name:, page_key:, request) -> CloudPDF::Types::DocFormsReorderWidgets200Response +
client.doc.forms.reorder_widgets(doc_id:, layer_name:, page_key:, request) -> CloudPDF::Types::DocFormsReorderWidgetsResponse
@@ -5155,7 +5155,7 @@ client.doc.forms.reorder_widgets(
-**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotKey` and `fieldKey`. +**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotationKey` and `fieldKey`.
@@ -5344,7 +5344,7 @@ client.doc.outline.get(
## Doc Pages -
client.doc.pages.set_scale(doc_id:, layer_name:, page_key:, request) -> CloudPDF::Types::DocPagesSetScale200Response +
client.doc.pages.set_scale(doc_id:, layer_name:, page_key:, request) -> CloudPDF::Types::DocPagesSetScaleResponse
@@ -5392,7 +5392,7 @@ client.doc.pages.set_scale(
-**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotKey` and `fieldKey`. +**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotationKey` and `fieldKey`.
@@ -5436,7 +5436,7 @@ client.doc.pages.set_scale(
-
client.doc.pages.viewports(doc_id:, layer_name:, page_key:) -> CloudPDF::Types::DocPagesViewports200Response +
client.doc.pages.viewports(doc_id:, layer_name:, page_key:) -> CloudPDF::Types::DocPagesViewportsResponse
@@ -5484,7 +5484,7 @@ client.doc.pages.viewports(
-**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotKey` and `fieldKey`. +**page_key:** `String` — The page's address, `obj:N`: the page's indirect object number, the durable identity every `PageLayout.ref` carries. Mirrors `annotationKey` and `fieldKey`.
@@ -5606,7 +5606,7 @@ client.doc.pages.extract(
-
client.doc.pages.flatten(doc_id:, layer_name:, request) -> CloudPDF::Types::DocPagesFlatten200Response +
client.doc.pages.flatten(doc_id:, layer_name:, request) -> CloudPDF::Types::DocPagesFlattenResponse
@@ -5692,7 +5692,7 @@ client.doc.pages.flatten(
-
client.doc.pages.set_name(doc_id:, layer_name:, request) -> CloudPDF::Types::DocPagesSetName200Response +
client.doc.pages.set_name(doc_id:, layer_name:, request) -> CloudPDF::Types::DocPagesSetNameResponse
@@ -5778,7 +5778,7 @@ client.doc.pages.set_name(
-
client.doc.pages.remove_name(doc_id:, layer_name:, request) -> CloudPDF::Types::DocPagesRemoveName200Response +
client.doc.pages.remove_name(doc_id:, layer_name:, request) -> CloudPDF::Types::DocPagesRemoveNameResponse
@@ -5865,7 +5865,7 @@ client.doc.pages.remove_name(
## Doc Redactions -
client.doc.redactions.apply(doc_id:, layer_name:, request) -> CloudPDF::Types::DocRedactionsApply200Response +
client.doc.redactions.apply(doc_id:, layer_name:, request) -> CloudPDF::Types::DocRedactionsApplyResponse
@@ -5957,7 +5957,7 @@ client.doc.redactions.apply(
## Doc Signatures -
client.doc.signatures.list(doc_id:, layer_name:) -> CloudPDF::Types::DocSignaturesList200Response +
client.doc.signatures.list(doc_id:, layer_name:) -> CloudPDF::Types::DocSignaturesListResponse
@@ -6038,7 +6038,7 @@ client.doc.signatures.list(
-
client.doc.signatures.cancel(doc_id:, layer_name:, signing_id:) -> CloudPDF::Types::DocSignaturesCancel200Response +
client.doc.signatures.cancel(doc_id:, layer_name:, signing_id:) -> CloudPDF::Types::DocSignaturesCancelResponse
@@ -6114,7 +6114,7 @@ client.doc.signatures.cancel(
-
client.doc.signatures.complete(doc_id:, layer_name:, signing_id:, request) -> CloudPDF::Types::DocSignaturesComplete200Response +
client.doc.signatures.complete(doc_id:, layer_name:, signing_id:, request) -> CloudPDF::Types::DocSignaturesCompleteResponse
@@ -6225,7 +6225,7 @@ client.doc.signatures.complete(
-
client.doc.signatures.analysis(doc_id:, layer_name:) -> CloudPDF::Types::DocSignaturesAnalysis200Response +
client.doc.signatures.analysis(doc_id:, layer_name:) -> CloudPDF::Types::DocSignaturesAnalysisResponse
@@ -6330,7 +6330,7 @@ client.doc.signatures.analysis(
-
client.doc.signatures.prepare(doc_id:, layer_name:, request) -> CloudPDF::Types::DocSignaturesPrepare200Response +
client.doc.signatures.prepare(doc_id:, layer_name:, request) -> CloudPDF::Types::DocSignaturesPrepareResponse
@@ -6412,7 +6412,7 @@ client.doc.signatures.prepare(
## Doc Versions -
client.doc.versions.list(doc_id:, layer_name:) -> CloudPDF::Types::DocVersionsList200Response +
client.doc.versions.list(doc_id:, layer_name:) -> CloudPDF::Types::DocVersionsListResponse
@@ -6493,7 +6493,7 @@ client.doc.versions.list(
-
client.doc.versions.analysis(doc_id:, layer_name:, sha:) -> CloudPDF::Types::DocVersionsAnalysis200Response +
client.doc.versions.analysis(doc_id:, layer_name:, sha256:) -> CloudPDF::Types::DocVersionsAnalysisResponse
@@ -6523,7 +6523,7 @@ Exactly one of `since.signature` / `since.revision`; `until=` defaults client.doc.versions.analysis( doc_id: "docId", layer_name: "layerName", - sha: "sha" + sha256: "sha256" ) ```
@@ -6555,7 +6555,7 @@ client.doc.versions.analysis(
-**sha:** `String` +**sha256:** `String`
@@ -6623,7 +6623,7 @@ client.doc.versions.analysis(
-
client.doc.versions.download(doc_id:, layer_name:, sha:) -> String +
client.doc.versions.download(doc_id:, layer_name:, sha256:) -> String
@@ -6639,7 +6639,7 @@ client.doc.versions.analysis( client.doc.versions.download( doc_id: "docId", layer_name: "layerName", - sha: "sha" + sha256: "sha256" ) ```
@@ -6671,7 +6671,7 @@ client.doc.versions.download(
-**sha:** `String` +**sha256:** `String`
@@ -6699,7 +6699,7 @@ client.doc.versions.download(
-
client.doc.versions.revision(doc_id:, layer_name:, sha:, index:) -> String +
client.doc.versions.revision(doc_id:, layer_name:, sha256:, index:) -> String
@@ -6715,7 +6715,7 @@ client.doc.versions.download( client.doc.versions.revision( doc_id: "docId", layer_name: "layerName", - sha: "sha", + sha256: "sha256", index: 1 ) ``` @@ -6748,7 +6748,7 @@ client.doc.versions.revision(
-**sha:** `String` +**sha256:** `String`
@@ -6784,7 +6784,7 @@ client.doc.versions.revision(
-
client.doc.versions.signatures(doc_id:, layer_name:, sha:) -> CloudPDF::Types::DocVersionsSignatures200Response +
client.doc.versions.signatures(doc_id:, layer_name:, sha256:) -> CloudPDF::Types::DocVersionsSignaturesResponse
@@ -6800,7 +6800,7 @@ client.doc.versions.revision( client.doc.versions.signatures( doc_id: "docId", layer_name: "layerName", - sha: "sha" + sha256: "sha256" ) ```
@@ -6832,7 +6832,7 @@ client.doc.versions.signatures(
-**sha:** `String` +**sha256:** `String`
@@ -6860,7 +6860,7 @@ client.doc.versions.signatures(
-
client.doc.versions.signature_contents(doc_id:, layer_name:, sha:, field_key:) -> String +
client.doc.versions.signature_contents(doc_id:, layer_name:, sha256:, field_key:) -> String
@@ -6890,7 +6890,7 @@ client.doc.versions.signatures( client.doc.versions.signature_contents( doc_id: "docId", layer_name: "layerName", - sha: "sha", + sha256: "sha256", field_key: "fieldKey" ) ``` @@ -6923,7 +6923,7 @@ client.doc.versions.signature_contents(
-**sha:** `String` +**sha256:** `String`
@@ -6959,7 +6959,7 @@ client.doc.versions.signature_contents(
-
client.doc.versions.signature_digest(doc_id:, layer_name:, sha:, field_key:, algorithm:) -> String +
client.doc.versions.signature_digest(doc_id:, layer_name:, sha256:, field_key:, algorithm:) -> String
@@ -6989,7 +6989,7 @@ What a CMS verifier compares its message digest to. client.doc.versions.signature_digest( doc_id: "docId", layer_name: "layerName", - sha: "sha", + sha256: "sha256", field_key: "fieldKey", algorithm: "sha1" ) @@ -7023,7 +7023,7 @@ client.doc.versions.signature_digest(
-**sha:** `String` +**sha256:** `String`
@@ -7068,7 +7068,7 @@ client.doc.versions.signature_digest(
## Doc Fonts Programs -
client.doc.fonts.programs.download(doc_id:, layer_name:, display_hash:) -> String +
client.doc.fonts.programs.download(doc_id:, layer_name:, display_sha256:) -> String
@@ -7098,7 +7098,7 @@ A document token needs any one of the listed capabilities: one that may write te client.doc.fonts.programs.download( doc_id: "docId", layer_name: "layerName", - display_hash: "displayHash" + display_sha256: "displaySha256" ) ```
@@ -7130,7 +7130,7 @@ client.doc.fonts.programs.download(
-**display_hash:** `String` +**display_sha256:** `String`
@@ -7158,7 +7158,7 @@ client.doc.fonts.programs.download(
-
client.doc.fonts.programs.get(doc_id:, layer_name:, display_hash:) -> CloudPDF::Types::FontProgramInfo +
client.doc.fonts.programs.get(doc_id:, layer_name:, display_sha256:) -> CloudPDF::Types::FontProgramInfo
@@ -7174,7 +7174,7 @@ client.doc.fonts.programs.download( client.doc.fonts.programs.get( doc_id: "docId", layer_name: "layerName", - display_hash: "displayHash" + display_sha256: "displaySha256" ) ```
@@ -7206,7 +7206,7 @@ client.doc.fonts.programs.get(
-**display_hash:** `String` +**display_sha256:** `String`
@@ -7303,7 +7303,7 @@ client.doc.metadata.custom.get(
## Documents Layers -
client.documents.layers.list(tenant_id:, id:) -> CloudPDF::Types::DocumentsLayersList200Response +
client.documents.layers.list(tenant_id:, doc_id:) -> CloudPDF::Types::DocumentsLayersListResponse
@@ -7318,7 +7318,7 @@ client.doc.metadata.custom.get( ```ruby client.documents.layers.list( tenant_id: "tenantId", - id: "id" + doc_id: "docId" ) ```
@@ -7342,7 +7342,7 @@ client.documents.layers.list(
-**id:** `String` +**doc_id:** `String`
@@ -7386,7 +7386,7 @@ client.documents.layers.list(
-
client.documents.layers.delete(tenant_id:, id:, layer_name:) -> +
client.documents.layers.delete(tenant_id:, doc_id:, layer_name:) ->
@@ -7401,7 +7401,7 @@ client.documents.layers.list( ```ruby client.documents.layers.delete( tenant_id: "tenantId", - id: "id", + doc_id: "docId", layer_name: "layerName" ) ``` @@ -7426,7 +7426,7 @@ client.documents.layers.delete(
-**id:** `String` +**doc_id:** `String`
@@ -7455,7 +7455,7 @@ client.documents.layers.delete(
## Grants Visitors -
client.grants.visitors.list(tenant_id:, grant_id:) -> CloudPDF::Types::GrantsVisitorsList200Response +
client.grants.visitors.list(tenant_id:, grant_id:) -> CloudPDF::Types::GrantsVisitorsListResponse