diff --git a/.fern/metadata.json b/.fern/metadata.json index f6f55ca1..3e42a66a 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -1,13 +1,13 @@ { "cliVersion": "5.91.0", "generatorName": "fernapi/fern-ruby-sdk", - "generatorVersion": "1.21.1", + "generatorVersion": "1.28.1", "generatorConfig": { "moduleName": "CloudPDF" }, - "originGitCommit": "b7dddfba5011349a40db7878b5cbc8685b2d42cf", + "originGitCommit": "c6f87eecf9636e7ef367946a7fd7f3729401ce90", "originGitCommitIsDirty": false, "invokedBy": "ci", - "requestedVersion": "3.0.0.alpha.14", + "requestedVersion": "3.0.0.alpha.15", "ciProvider": "github" } \ No newline at end of file diff --git a/README.md b/README.md index 8fa4988b..1f320b6e 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,13 @@ require "cloudpdf" client = CloudPDF::Client.new(token: "") -client.shares.exchange(share_token: "shareToken") +client.doc.changes( + doc_id: "docId", + layer_name: "layerName", + changes: [{ + op_id: "opId" + }] +) ``` ## Environments @@ -58,7 +64,7 @@ client = CloudPDF::Client.new( ) begin - result = client.shares.exchange + result = client.doc.changes rescue CloudPDF::Errors::TimeoutError puts "API didn't respond before our timeout elapsed" rescue CloudPDF::Errors::ServiceUnavailableError @@ -108,7 +114,7 @@ The SDK defaults to a 60 second timeout. Use the `timeout` option to configure t ```ruby require "cloudpdf" -response = client.shares.exchange( +response = client.doc.changes( ..., timeout: 30 # 30 second timeout ) @@ -121,7 +127,7 @@ If you would like to send additional headers as part of the request, use the `ad ```ruby require "cloudpdf" -response = client.shares.exchange( +response = client.doc.changes( ..., request_options: { additional_headers: { @@ -138,7 +144,7 @@ If you would like to send additional query parameters as part of the request, us ```ruby require "cloudpdf" -response = client.shares.exchange( +response = client.doc.changes( ..., request_options: { additional_query_parameters: { diff --git a/cloudpdf-generation.json b/cloudpdf-generation.json index 9ff38ec9..b84f5c18 100644 --- a/cloudpdf-generation.json +++ b/cloudpdf-generation.json @@ -1,17 +1,17 @@ { "language": "ruby", - "canonicalVersion": "3.0.0-next.14", - "sdkVersion": "3.0.0.alpha.14", + "canonicalVersion": "3.0.0-next.15", + "sdkVersion": "3.0.0.alpha.15", "source": { "repository": "embedpdf/embed-pdf-viewer", "openapi": "cloudpdf/contract/openapi.json", - "openapiSha256": "188ea071e3534971638ee3d1fb1f19c77f36e04b2a783f5eefdbe67326527ea6", - "gitCommit": "b7dddfba5011349a40db7878b5cbc8685b2d42cf", + "openapiSha256": "9d70deca638cc7a80b0e670ec47fc45710d6603eb8f493d5fac95a38d7e5f8b3", + "gitCommit": "c6f87eecf9636e7ef367946a7fd7f3729401ce90", "gitCommitIsDirty": false }, "fern": { "cliVersion": "5.91.0", "generatorName": "fernapi/fern-ruby-sdk", - "generatorVersion": "1.21.1" + "generatorVersion": "1.28.1" } } diff --git a/lib/CloudPDF/deployment/client.rb b/lib/CloudPDF/deployment/client.rb index baf70fe8..3120a0e3 100644 --- a/lib/CloudPDF/deployment/client.rb +++ b/lib/CloudPDF/deployment/client.rb @@ -36,7 +36,7 @@ def license_status(request_options: {}, **_params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DeploymentLicenseStatusResponse.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DeploymentLicenseStatusResponse.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/client.rb b/lib/CloudPDF/doc/annotations/client.rb index ab39cacd..f191caa4 100644 --- a/lib/CloudPDF/doc/annotations/client.rb +++ b/lib/CloudPDF/doc/annotations/client.rb @@ -12,7 +12,7 @@ def initialize(client:) end # Returns one entry per page plus the audit-log cursor for reconciling subsequent document events. Page order is - # unspecified; join by `pageState.pageObjectNumber` when display order matters. + # unspecified; join by `page` (a `PageRef`) when display order matters. # # @param request_options [Hash] # @param params [Hash] @@ -31,7 +31,7 @@ def initialize(client:) # layer_name: "layerName" # ) # - # @return [CloudPDF::Types::DocAnnotationsListAll200Response] + # @return [CloudPDF::Types::AnnotationList] def list_all(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) headers = {} @@ -51,7 +51,7 @@ def list_all(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocAnnotationsListAll200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocAnnotationsListAll200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -67,17 +67,17 @@ def list_all(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # @option params [String] :doc_id # @option params [String] :layer_name - # @option params [Integer] :pon + # @option params [String] :page_key # @option params [String, nil] :document_password # # @example # client.doc.annotations.list( # doc_id: "docId", # layer_name: "layerName", - # pon: 1 + # page_key: "pageKey" # ) # - # @return [CloudPDF::Types::DocAnnotationsList200Response] + # @return [CloudPDF::Types::AnnotationList] def list(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) headers = {} @@ -86,7 +86,7 @@ def list(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[:pon].to_s)}/items", + 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", headers: headers, request_options: request_options ) @@ -97,7 +97,7 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocAnnotationsList200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocAnnotationsList200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -116,14 +116,15 @@ def list(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # @option params [String] :doc_id # @option params [String] :layer_name - # @option params [Integer] :pon + # @option params [String] :page_key # @option params [String, nil] :document_password + # @option params [String, nil] :idempotency_key # # @example # client.doc.annotations.create( # doc_id: "docId", # layer_name: "layerName", - # pon: 1, + # page_key: "pageKey", # request: { # key: "value" # } @@ -132,16 +133,17 @@ def list(request_options: {}, **params) # @return [CloudPDF::Types::DocAnnotationsCreate200Response] def create(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) - path_param_names = %i[doc_id layer_name pon] + path_param_names = %i[doc_id layer_name page_key] body_params = params.except(*path_param_names) headers = {} headers["X-Document-Password"] = params[:document_password] if params[:document_password] + headers["Idempotency-Key"] = params[:idempotency_key] if params[:idempotency_key] request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "POST", - 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[:pon].to_s)}/items", + 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", headers: headers, body: body_params, request_options: request_options @@ -153,7 +155,7 @@ def create(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocAnnotationsCreate200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocAnnotationsCreate200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -169,15 +171,16 @@ def create(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # @option params [String] :doc_id # @option params [String] :layer_name - # @option params [Integer] :pon + # @option params [String] :page_key # @option params [String] :annot_key # @option params [String, nil] :document_password + # @option params [String, nil] :idempotency_key # # @example # client.doc.annotations.delete( # doc_id: "docId", # layer_name: "layerName", - # pon: 1, + # page_key: "pageKey", # annot_key: "annotKey" # ) # @@ -186,11 +189,12 @@ def delete(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) headers = {} headers["X-Document-Password"] = params[:document_password] if params[:document_password] + headers["Idempotency-Key"] = params[:idempotency_key] if params[:idempotency_key] 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[:pon].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[:annot_key].to_s)}", headers: headers, request_options: request_options ) @@ -201,7 +205,7 @@ def delete(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocAnnotationsDelete200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocAnnotationsDelete200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -217,15 +221,16 @@ def delete(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # @option params [String] :doc_id # @option params [String] :layer_name - # @option params [Integer] :pon + # @option params [String] :page_key # @option params [String] :annot_key # @option params [String, nil] :document_password + # @option params [String, nil] :idempotency_key # # @example # client.doc.annotations.update( # doc_id: "docId", # layer_name: "layerName", - # pon: 1, + # page_key: "pageKey", # annot_key: "annotKey", # request: { # key: "value" @@ -235,16 +240,17 @@ def delete(request_options: {}, **params) # @return [CloudPDF::Types::DocAnnotationsUpdate200Response] def update(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) - path_param_names = %i[doc_id layer_name pon annot_key] + path_param_names = %i[doc_id layer_name page_key annot_key] body_params = params.except(*path_param_names) headers = {} headers["X-Document-Password"] = params[:document_password] if params[:document_password] + headers["Idempotency-Key"] = params[:idempotency_key] if params[:idempotency_key] 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[:pon].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[:annot_key].to_s)}", headers: headers, body: body_params, request_options: request_options @@ -256,13 +262,59 @@ def update(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocAnnotationsUpdate200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocAnnotationsUpdate200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) end end + # @param request_options [Hash] + # @param params [Hash] + # @option request_options [String] :base_url + # @option request_options [Hash{String => Object}] :additional_headers + # @option request_options [Hash{String => Object}] :additional_query_parameters + # @option request_options [Hash{String => Object}] :additional_body_parameters + # @option request_options [Integer] :timeout_in_seconds + # @option params [String] :doc_id + # @option params [String] :layer_name + # @option params [String] :page_key + # @option params [String] :annot_key + # @option params [String, nil] :document_password + # + # @example + # client.doc.annotations.read_appearance( + # doc_id: "docId", + # layer_name: "layerName", + # page_key: "pageKey", + # annot_key: "annotKey" + # ) + # + # @return [untyped] + def read_appearance(request_options: {}, **params) + params = CloudPDF::Internal::Types::Utils.normalize_keys(params) + headers = {} + headers["X-Document-Password"] = params[:document_password] if params[:document_password] + + 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", + headers: headers, + request_options: request_options + ) + begin + response = @client.send(request) + rescue Net::HTTPRequestTimeout + raise CloudPDF::Errors::TimeoutError + end + code = response.code.to_i + return if code.between?(200, 299) + + error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + # @param request_options [Hash] # @param params [CloudPDF::Types::DocAnnotationsExportAppearanceRequest] # @option request_options [String] :base_url @@ -272,14 +324,14 @@ def update(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # @option params [String] :doc_id # @option params [String] :layer_name - # @option params [Integer] :pon + # @option params [String] :page_key # @option params [String, nil] :document_password # # @example # client.doc.annotations.export_appearance( # doc_id: "docId", # layer_name: "layerName", - # pon: 1, + # page_key: "pageKey", # request: { # string: { # key: "value" @@ -290,7 +342,7 @@ def update(request_options: {}, **params) # @return [untyped] def export_appearance(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) - path_param_names = %i[doc_id layer_name pon] + path_param_names = %i[doc_id layer_name page_key] body_params = params.except(*path_param_names) headers = {} @@ -299,7 +351,7 @@ def export_appearance(request_options: {}, **params) request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "POST", - 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[:pon].to_s)}/items/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/appearance", headers: headers, body: body_params, request_options: request_options @@ -325,14 +377,15 @@ def export_appearance(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # @option params [String] :doc_id # @option params [String] :layer_name - # @option params [Integer] :pon + # @option params [String] :page_key # @option params [String, nil] :document_password + # @option params [String, nil] :idempotency_key # # @example # client.doc.annotations.flatten( # doc_id: "docId", # layer_name: "layerName", - # pon: 1, + # page_key: "pageKey", # request: { # key: "value" # } @@ -341,16 +394,17 @@ def export_appearance(request_options: {}, **params) # @return [CloudPDF::Types::DocAnnotationsFlatten200Response] def flatten(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) - path_param_names = %i[doc_id layer_name pon] + path_param_names = %i[doc_id layer_name page_key] body_params = params.except(*path_param_names) headers = {} headers["X-Document-Password"] = params[:document_password] if params[:document_password] + headers["Idempotency-Key"] = params[:idempotency_key] if params[:idempotency_key] request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "POST", - 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[:pon].to_s)}/items/flatten", + 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/flatten", headers: headers, body: body_params, request_options: request_options @@ -362,7 +416,62 @@ def flatten(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocAnnotationsFlatten200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocAnnotationsFlatten200Response.load(response.body)) + else + error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + end + + # @param request_options [Hash] + # @param params [CloudPDF::Doc::Annotations::Types::DocAnnotationsReorderRequest] + # @option request_options [String] :base_url + # @option request_options [Hash{String => Object}] :additional_headers + # @option request_options [Hash{String => Object}] :additional_query_parameters + # @option request_options [Hash{String => Object}] :additional_body_parameters + # @option request_options [Integer] :timeout_in_seconds + # @option params [String] :doc_id + # @option params [String] :layer_name + # @option params [String] :page_key + # @option params [String, nil] :document_password + # @option params [String, nil] :idempotency_key + # + # @example + # client.doc.annotations.reorder( + # doc_id: "docId", + # layer_name: "layerName", + # page_key: "pageKey", + # refs: [], + # position: "start" + # ) + # + # @return [CloudPDF::Types::DocAnnotationsReorder200Response] + def reorder(request_options: {}, **params) + params = CloudPDF::Internal::Types::Utils.normalize_keys(params) + request_data = CloudPDF::Doc::Annotations::Types::DocAnnotationsReorderRequest.new(params).to_h + non_body_param_names = %w[docId layerName pageKey X-Document-Password Idempotency-Key] + body = request_data.except(*non_body_param_names) + + headers = {} + headers["X-Document-Password"] = params[:document_password] if params[:document_password] + headers["Idempotency-Key"] = params[:idempotency_key] if params[:idempotency_key] + + request = CloudPDF::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "POST", + 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/reorder", + headers: headers, + body: body, + request_options: request_options + ) + begin + response = @client.send(request) + rescue Net::HTTPRequestTimeout + raise CloudPDF::Errors::TimeoutError + end + code = response.code.to_i + if code.between?(200, 299) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocAnnotationsReorder200Response.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/create_annotations_request.rb b/lib/CloudPDF/doc/annotations/types/create_annotations_request.rb index 448b31f8..08a8ee28 100644 --- a/lib/CloudPDF/doc/annotations/types/create_annotations_request.rb +++ b/lib/CloudPDF/doc/annotations/types/create_annotations_request.rb @@ -9,10 +9,12 @@ class CreateAnnotationsRequest < Internal::Types::Model field :layer_name, -> { String }, optional: false, nullable: false, api_name: "layerName" - field :pon, -> { Integer }, optional: false, nullable: false + field :page_key, -> { String }, optional: false, nullable: false, api_name: "pageKey" field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + field :idempotency_key, -> { String }, optional: true, nullable: false, api_name: "Idempotency-Key" + field :body, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false end end diff --git a/lib/CloudPDF/doc/annotations/types/delete_annotations_request.rb b/lib/CloudPDF/doc/annotations/types/delete_annotations_request.rb index 59271bb9..246db759 100644 --- a/lib/CloudPDF/doc/annotations/types/delete_annotations_request.rb +++ b/lib/CloudPDF/doc/annotations/types/delete_annotations_request.rb @@ -9,11 +9,13 @@ class DeleteAnnotationsRequest < Internal::Types::Model field :layer_name, -> { String }, optional: false, nullable: false, api_name: "layerName" - field :pon, -> { Integer }, optional: false, nullable: false + field :page_key, -> { String }, optional: false, nullable: false, api_name: "pageKey" field :annot_key, -> { String }, optional: false, nullable: false, api_name: "annotKey" field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + + field :idempotency_key, -> { String }, optional: true, nullable: false, api_name: "Idempotency-Key" end end end diff --git a/lib/CloudPDF/doc/annotations/types/doc_annotations_reorder_request.rb b/lib/CloudPDF/doc/annotations/types/doc_annotations_reorder_request.rb new file mode 100644 index 00000000..96e71e6e --- /dev/null +++ b/lib/CloudPDF/doc/annotations/types/doc_annotations_reorder_request.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true + +module CloudPDF + module Doc + module Annotations + module Types + class DocAnnotationsReorderRequest < 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 :page_key, -> { String }, optional: false, nullable: false, api_name: "pageKey" + + field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + + field :idempotency_key, -> { String }, optional: true, nullable: false, api_name: "Idempotency-Key" + + field :refs, -> { Internal::Types::Array[CloudPDF::Types::AnnotationRef] }, optional: false, nullable: false + + field :position, -> { CloudPDF::Types::AnnotationPosition }, optional: false, nullable: false + end + end + end + end +end diff --git a/lib/CloudPDF/doc/annotations/types/export_appearance_annotations_request.rb b/lib/CloudPDF/doc/annotations/types/export_appearance_annotations_request.rb index a2dabb08..4033149a 100644 --- a/lib/CloudPDF/doc/annotations/types/export_appearance_annotations_request.rb +++ b/lib/CloudPDF/doc/annotations/types/export_appearance_annotations_request.rb @@ -9,7 +9,7 @@ class ExportAppearanceAnnotationsRequest < Internal::Types::Model field :layer_name, -> { String }, optional: false, nullable: false, api_name: "layerName" - field :pon, -> { Integer }, optional: false, nullable: false + field :page_key, -> { String }, optional: false, nullable: false, api_name: "pageKey" field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" diff --git a/lib/CloudPDF/doc/annotations/types/flatten_annotations_request.rb b/lib/CloudPDF/doc/annotations/types/flatten_annotations_request.rb index 1ab5914d..fad98ee1 100644 --- a/lib/CloudPDF/doc/annotations/types/flatten_annotations_request.rb +++ b/lib/CloudPDF/doc/annotations/types/flatten_annotations_request.rb @@ -9,10 +9,12 @@ class FlattenAnnotationsRequest < Internal::Types::Model field :layer_name, -> { String }, optional: false, nullable: false, api_name: "layerName" - field :pon, -> { Integer }, optional: false, nullable: false + field :page_key, -> { String }, optional: false, nullable: false, api_name: "pageKey" field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + field :idempotency_key, -> { String }, optional: true, nullable: false, api_name: "Idempotency-Key" + field :body, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false end end diff --git a/lib/CloudPDF/doc/annotations/types/list_annotations_request.rb b/lib/CloudPDF/doc/annotations/types/list_annotations_request.rb index e64f0d7e..d0552c95 100644 --- a/lib/CloudPDF/doc/annotations/types/list_annotations_request.rb +++ b/lib/CloudPDF/doc/annotations/types/list_annotations_request.rb @@ -9,7 +9,7 @@ class ListAnnotationsRequest < Internal::Types::Model field :layer_name, -> { String }, optional: false, nullable: false, api_name: "layerName" - field :pon, -> { Integer }, optional: false, nullable: false + field :page_key, -> { String }, optional: false, nullable: false, api_name: "pageKey" field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" end diff --git a/lib/CloudPDF/doc/annotations/types/read_appearance_annotations_request.rb b/lib/CloudPDF/doc/annotations/types/read_appearance_annotations_request.rb new file mode 100644 index 00000000..4882191e --- /dev/null +++ b/lib/CloudPDF/doc/annotations/types/read_appearance_annotations_request.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module CloudPDF + module Doc + module Annotations + module Types + class ReadAppearanceAnnotationsRequest < 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 :page_key, -> { String }, optional: false, nullable: false, api_name: "pageKey" + + field :annot_key, -> { String }, optional: false, nullable: false, api_name: "annotKey" + + field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + end + end + end + end +end diff --git a/lib/CloudPDF/doc/annotations/types/update_annotations_request.rb b/lib/CloudPDF/doc/annotations/types/update_annotations_request.rb index 318eece3..6328c01f 100644 --- a/lib/CloudPDF/doc/annotations/types/update_annotations_request.rb +++ b/lib/CloudPDF/doc/annotations/types/update_annotations_request.rb @@ -9,12 +9,14 @@ class UpdateAnnotationsRequest < Internal::Types::Model field :layer_name, -> { String }, optional: false, nullable: false, api_name: "layerName" - field :pon, -> { Integer }, optional: false, nullable: false + field :page_key, -> { String }, optional: false, nullable: false, api_name: "pageKey" field :annot_key, -> { String }, optional: false, nullable: false, api_name: "annotKey" field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + field :idempotency_key, -> { String }, optional: true, nullable: false, api_name: "Idempotency-Key" + field :body, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false end end diff --git a/lib/CloudPDF/doc/client.rb b/lib/CloudPDF/doc/client.rb index 4b1c0caf..2dff2ee0 100644 --- a/lib/CloudPDF/doc/client.rb +++ b/lib/CloudPDF/doc/client.rb @@ -43,7 +43,71 @@ def head(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocHead200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocHead200Response.load(response.body)) + else + error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + end + + # Each change stands on its own and names itself by `opId`: a refused change rolls back alone, and the answer + # lists every change in order, applied with its result or refused with its error. Asked again under its `opId`, a + # change gets the same answer, refusals included; a different change under an answered `opId` is refused + # (IdempotencyKeyReused). `{ opId, undoOf }` undoes an earlier change of the caller, here or in an earlier + # request; an undo leaves alone what was changed since, and the undo of an undo redoes. A redaction, a flatten, a + # form repair or a completed signature ends undo for the changes before it (UndoUnavailable). Each op is checked + # against its own capability: annotation ops need `doc.annotate.modify`, form values `doc.forms.fill`, form + # structure `doc.forms.modify`, metadata `doc.metadata.modify`. Bytes (a stamp's drawing, an attached file, a + # signature's artwork) travel as multipart: a JSON `body` part, each op naming its files by role as `resources: { + # : '' }`, and each file as the part `resource:`. At most 64 changes per request and 512 ops per + # change. + # + # @param request_options [Hash] + # @param params [CloudPDF::Doc::Types::DocChangesRequest] + # @option request_options [String] :base_url + # @option request_options [Hash{String => Object}] :additional_headers + # @option request_options [Hash{String => Object}] :additional_query_parameters + # @option request_options [Hash{String => Object}] :additional_body_parameters + # @option request_options [Integer] :timeout_in_seconds + # @option params [String] :doc_id + # @option params [String] :layer_name + # @option params [String, nil] :document_password + # + # @example + # client.doc.changes( + # doc_id: "docId", + # layer_name: "layerName", + # changes: [{ + # op_id: "opId" + # }] + # ) + # + # @return [CloudPDF::Types::DocChanges200Response] + def changes(request_options: {}, **params) + params = CloudPDF::Internal::Types::Utils.normalize_keys(params) + request_data = CloudPDF::Doc::Types::DocChangesRequest.new(params).to_h + non_body_param_names = %w[docId layerName X-Document-Password] + body = request_data.except(*non_body_param_names) + + headers = {} + headers["X-Document-Password"] = params[:document_password] if params[:document_password] + + request = CloudPDF::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "POST", + path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/changes", + headers: headers, + body: body, + request_options: request_options + ) + begin + response = @client.send(request) + rescue Net::HTTPRequestTimeout + raise CloudPDF::Errors::TimeoutError + end + code = response.code.to_i + if code.between?(200, 299) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocChanges200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -129,7 +193,7 @@ def manifest(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocManifest200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocManifest200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -148,14 +212,14 @@ def manifest(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # @option params [String] :doc_id # @option params [String] :layer_name - # @option params [Integer] :pon + # @option params [String] :page_key # @option params [String, nil] :document_password # # @example # client.doc.render( # doc_id: "docId", # layer_name: "layerName", - # pon: 1 + # page_key: "pageKey" # ) # # @return [untyped] @@ -167,7 +231,7 @@ def render(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)}/render/pages/#{URI.encode_uri_component(params[:pon].to_s)}/data", + path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/render/pages/#{URI.encode_uri_component(params[:page_key].to_s)}/data", headers: headers, request_options: request_options ) @@ -192,14 +256,14 @@ def render(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # @option params [String] :doc_id # @option params [String] :layer_name - # @option params [Integer] :pon + # @option params [String] :page_key # @option params [String, nil] :document_password # # @example # client.doc.text( # doc_id: "docId", # layer_name: "layerName", - # pon: 1 + # page_key: "pageKey" # ) # # @return [CloudPDF::Types::DocText200Response] @@ -211,7 +275,7 @@ def text(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)}/text/pages/#{URI.encode_uri_component(params[:pon].to_s)}/data", + path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/text/pages/#{URI.encode_uri_component(params[:page_key].to_s)}/data", headers: headers, request_options: request_options ) @@ -222,7 +286,7 @@ def text(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocText200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocText200Response.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/client.rb b/lib/CloudPDF/doc/forms/client.rb index e428f149..fc76054f 100644 --- a/lib/CloudPDF/doc/forms/client.rb +++ b/lib/CloudPDF/doc/forms/client.rb @@ -23,13 +23,13 @@ def initialize(client:) # @option params [String, nil] :document_password # # @example - # client.doc.forms.get( + # client.doc.forms.list( # doc_id: "docId", # layer_name: "layerName" # ) # - # @return [CloudPDF::Types::DocFormsGet200Response] - def get(request_options: {}, **params) + # @return [CloudPDF::Types::DocFormsList200Response] + def list(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) headers = {} headers["X-Document-Password"] = params[:document_password] if params[:document_password] @@ -48,7 +48,7 @@ def get(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocFormsGet200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocFormsList200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -56,7 +56,7 @@ def get(request_options: {}, **params) end # @param request_options [Hash] - # @param params [Hash] + # @param params [CloudPDF::Doc::Forms::Types::DocFormsReorderCalculationsRequest] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -64,30 +64,34 @@ def get(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # @option params [String] :doc_id # @option params [String] :layer_name - # @option params [CloudPDF::Doc::Forms::Types::ExportDataFormsRequestFormat, nil] :format # @option params [String, nil] :document_password + # @option params [String, nil] :idempotency_key # # @example - # client.doc.forms.export_data( + # client.doc.forms.reorder_calculations( # doc_id: "docId", - # layer_name: "layerName" + # layer_name: "layerName", + # fields: [], + # position: "start" # ) # - # @return [untyped] - def export_data(request_options: {}, **params) + # @return [CloudPDF::Types::DocFormsReorderCalculations200Response] + def reorder_calculations(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) - query_params = {} - query_params["format"] = params[:format] if params.key?(:format) + request_data = CloudPDF::Doc::Forms::Types::DocFormsReorderCalculationsRequest.new(params).to_h + non_body_param_names = %w[docId layerName X-Document-Password Idempotency-Key] + body = request_data.except(*non_body_param_names) headers = {} headers["X-Document-Password"] = params[:document_password] if params[:document_password] + headers["Idempotency-Key"] = params[:idempotency_key] if params[:idempotency_key] 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)}/form/data", + method: "POST", + path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/form/calculations/reorder", headers: headers, - query: query_params, + body: body, request_options: request_options ) begin @@ -96,14 +100,16 @@ def export_data(request_options: {}, **params) raise CloudPDF::Errors::TimeoutError end code = response.code.to_i - return if code.between?(200, 299) - - error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) - raise error_class.new(response.body, code: code) + if code.between?(200, 299) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocFormsReorderCalculations200Response.load(response.body)) + else + error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end end # @param request_options [Hash] - # @param params [CloudPDF::Types::DocFormsImportDataRequest] + # @param params [CloudPDF::Types::DocFormsSetValueRequest] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -111,30 +117,34 @@ def export_data(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # @option params [String] :doc_id # @option params [String] :layer_name + # @option params [String] :field_key # @option params [String, nil] :document_password + # @option params [String, nil] :idempotency_key # # @example - # client.doc.forms.import_data( + # client.doc.forms.set_value( # doc_id: "docId", # layer_name: "layerName", + # field_key: "fieldKey", # request: { # key: "value" # } # ) # - # @return [CloudPDF::Types::DocFormsImportData200Response] - def import_data(request_options: {}, **params) + # @return [CloudPDF::Types::DocFormsSetValue200Response] + def set_value(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) - path_param_names = %i[doc_id layer_name] + path_param_names = %i[doc_id layer_name field_key] body_params = params.except(*path_param_names) headers = {} headers["X-Document-Password"] = params[:document_password] if params[:document_password] + headers["Idempotency-Key"] = params[:idempotency_key] if params[:idempotency_key] request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "POST", - path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/form/data", + path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/form/fields/#{URI.encode_uri_component(params[:field_key].to_s)}/value", headers: headers, body: body_params, request_options: request_options @@ -146,7 +156,7 @@ def import_data(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocFormsImportData200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocFormsSetValue200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -154,7 +164,7 @@ def import_data(request_options: {}, **params) end # @param request_options [Hash] - # @param params [Hash] + # @param params [CloudPDF::Doc::Forms::Types::DocFormsResetRequest] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -162,27 +172,32 @@ def import_data(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # @option params [String] :doc_id # @option params [String] :layer_name - # @option params [String] :field_key # @option params [String, nil] :document_password + # @option params [String, nil] :idempotency_key # # @example # client.doc.forms.reset( # doc_id: "docId", - # layer_name: "layerName", - # field_key: "fieldKey" + # layer_name: "layerName" # ) # # @return [CloudPDF::Types::DocFormsReset200Response] def reset(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) + request_data = CloudPDF::Doc::Forms::Types::DocFormsResetRequest.new(params).to_h + non_body_param_names = %w[docId layerName X-Document-Password Idempotency-Key] + body = request_data.except(*non_body_param_names) + headers = {} headers["X-Document-Password"] = params[:document_password] if params[:document_password] + headers["Idempotency-Key"] = params[:idempotency_key] if params[:idempotency_key] request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "POST", - path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/form/fields/#{URI.encode_uri_component(params[:field_key].to_s)}/reset", + path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/form/reset", headers: headers, + body: body, request_options: request_options ) begin @@ -192,7 +207,7 @@ def reset(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocFormsReset200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocFormsReset200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -200,7 +215,7 @@ def reset(request_options: {}, **params) end # @param request_options [Hash] - # @param params [CloudPDF::Types::DocFormsSetValueRequest] + # @param params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -208,34 +223,142 @@ def reset(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # @option params [String] :doc_id # @option params [String] :layer_name - # @option params [String] :field_key + # @option params [String] :page_key + # @option params [String] :annot_key # @option params [String, nil] :document_password + # @option params [String, nil] :idempotency_key # # @example - # client.doc.forms.set_value( + # client.doc.forms.delete_widget( # doc_id: "docId", # layer_name: "layerName", - # field_key: "fieldKey", - # request: { - # key: "value" - # } + # page_key: "pageKey", + # annot_key: "annotKey" # ) # - # @return [CloudPDF::Types::DocFormsSetValue200Response] - def set_value(request_options: {}, **params) + # @return [CloudPDF::Types::DocFormsDeleteWidget200Response] + def delete_widget(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) - path_param_names = %i[doc_id layer_name field_key] - body_params = params.except(*path_param_names) + headers = {} + headers["X-Document-Password"] = params[:document_password] if params[:document_password] + headers["Idempotency-Key"] = params[:idempotency_key] if params[:idempotency_key] + + 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)}", + headers: headers, + request_options: request_options + ) + begin + response = @client.send(request) + rescue Net::HTTPRequestTimeout + raise CloudPDF::Errors::TimeoutError + end + code = response.code.to_i + if code.between?(200, 299) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocFormsDeleteWidget200Response.load(response.body)) + else + error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + end + + # @param request_options [Hash] + # @param params [CloudPDF::Doc::Forms::Types::DocFormsUpdateWidgetRequest] + # @option request_options [String] :base_url + # @option request_options [Hash{String => Object}] :additional_headers + # @option request_options [Hash{String => Object}] :additional_query_parameters + # @option request_options [Hash{String => Object}] :additional_body_parameters + # @option request_options [Integer] :timeout_in_seconds + # @option params [String] :doc_id + # @option params [String] :layer_name + # @option params [String] :page_key + # @option params [String] :annot_key + # @option params [String, nil] :document_password + # @option params [String, nil] :idempotency_key + # + # @example + # client.doc.forms.update_widget( + # doc_id: "docId", + # layer_name: "layerName", + # page_key: "pageKey", + # annot_key: "annotKey", + # patch: {} + # ) + # + # @return [CloudPDF::Types::DocFormsUpdateWidget200Response] + 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] + body = request_data.except(*non_body_param_names) + + headers = {} + headers["X-Document-Password"] = params[:document_password] if params[:document_password] + headers["Idempotency-Key"] = params[:idempotency_key] if params[:idempotency_key] + + 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)}", + headers: headers, + body: body, + request_options: request_options + ) + begin + response = @client.send(request) + rescue Net::HTTPRequestTimeout + raise CloudPDF::Errors::TimeoutError + end + code = response.code.to_i + if code.between?(200, 299) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocFormsUpdateWidget200Response.load(response.body)) + else + error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + end + + # @param request_options [Hash] + # @param params [CloudPDF::Doc::Forms::Types::DocFormsReorderWidgetsRequest] + # @option request_options [String] :base_url + # @option request_options [Hash{String => Object}] :additional_headers + # @option request_options [Hash{String => Object}] :additional_query_parameters + # @option request_options [Hash{String => Object}] :additional_body_parameters + # @option request_options [Integer] :timeout_in_seconds + # @option params [String] :doc_id + # @option params [String] :layer_name + # @option params [String] :page_key + # @option params [String, nil] :document_password + # @option params [String, nil] :idempotency_key + # + # @example + # client.doc.forms.reorder_widgets( + # doc_id: "docId", + # layer_name: "layerName", + # page_key: "pageKey", + # widgets: [], + # position: "start" + # ) + # + # @return [CloudPDF::Types::DocFormsReorderWidgets200Response] + 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 + non_body_param_names = %w[docId layerName pageKey X-Document-Password Idempotency-Key] + body = request_data.except(*non_body_param_names) headers = {} headers["X-Document-Password"] = params[:document_password] if params[:document_password] + headers["Idempotency-Key"] = params[:idempotency_key] if params[:idempotency_key] request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "POST", - path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/form/fields/#{URI.encode_uri_component(params[:field_key].to_s)}/value", + 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)}/reorder", headers: headers, - body: body_params, + body: body, request_options: request_options ) begin @@ -245,7 +368,7 @@ def set_value(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocFormsSetValue200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocFormsReorderWidgets200Response.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 new file mode 100644 index 00000000..d83004e2 --- /dev/null +++ b/lib/CloudPDF/doc/forms/types/delete_widget_forms_request.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module CloudPDF + module Doc + module Forms + module Types + class DeleteWidgetFormsRequest < 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 :page_key, -> { String }, optional: false, nullable: false, api_name: "pageKey" + + field :annot_key, -> { String }, optional: false, nullable: false, api_name: "annotKey" + + field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + + field :idempotency_key, -> { String }, optional: true, nullable: false, api_name: "Idempotency-Key" + end + end + end + end +end diff --git a/lib/CloudPDF/doc/forms/types/doc_forms_reorder_calculations_request.rb b/lib/CloudPDF/doc/forms/types/doc_forms_reorder_calculations_request.rb new file mode 100644 index 00000000..3e78a4b4 --- /dev/null +++ b/lib/CloudPDF/doc/forms/types/doc_forms_reorder_calculations_request.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module CloudPDF + module Doc + module Forms + module Types + class DocFormsReorderCalculationsRequest < 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 :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + + field :idempotency_key, -> { String }, optional: true, nullable: false, api_name: "Idempotency-Key" + + field :fields, -> { Internal::Types::Array[CloudPDF::Types::FormFieldRef] }, optional: false, nullable: false + + field :position, -> { CloudPDF::Types::FieldPosition }, optional: false, nullable: false + end + end + end + end +end diff --git a/lib/CloudPDF/doc/forms/types/doc_forms_reorder_widgets_request.rb b/lib/CloudPDF/doc/forms/types/doc_forms_reorder_widgets_request.rb new file mode 100644 index 00000000..9128eced --- /dev/null +++ b/lib/CloudPDF/doc/forms/types/doc_forms_reorder_widgets_request.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true + +module CloudPDF + module Doc + module Forms + module Types + class DocFormsReorderWidgetsRequest < 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 :page_key, -> { String }, optional: false, nullable: false, api_name: "pageKey" + + field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + + field :idempotency_key, -> { String }, optional: true, nullable: false, api_name: "Idempotency-Key" + + field :widgets, -> { Internal::Types::Array[CloudPDF::Types::AnnotationRef] }, optional: false, nullable: false + + field :position, -> { CloudPDF::Types::AnnotationPosition }, optional: false, nullable: false + end + end + end + end +end diff --git a/lib/CloudPDF/doc/forms/types/doc_forms_reset_request.rb b/lib/CloudPDF/doc/forms/types/doc_forms_reset_request.rb new file mode 100644 index 00000000..a459beb2 --- /dev/null +++ b/lib/CloudPDF/doc/forms/types/doc_forms_reset_request.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module CloudPDF + module Doc + module Forms + module Types + class DocFormsResetRequest < 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 :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + + field :idempotency_key, -> { String }, optional: true, nullable: false, api_name: "Idempotency-Key" + + field :refs, -> { Internal::Types::Array[CloudPDF::Types::FormFieldRef] }, optional: true, nullable: false + end + end + end + end +end 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 new file mode 100644 index 00000000..673fb7ad --- /dev/null +++ b/lib/CloudPDF/doc/forms/types/doc_forms_update_widget_request.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true + +module CloudPDF + module Doc + module Forms + module Types + class DocFormsUpdateWidgetRequest < 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 :page_key, -> { String }, optional: false, nullable: false, api_name: "pageKey" + + field :annot_key, -> { String }, optional: false, nullable: false, api_name: "annotKey" + + field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + + field :idempotency_key, -> { String }, optional: true, nullable: false, api_name: "Idempotency-Key" + + field :patch, -> { CloudPDF::Types::WidgetPatch }, optional: false, nullable: false + end + end + end + end +end diff --git a/lib/CloudPDF/doc/forms/types/export_data_forms_request.rb b/lib/CloudPDF/doc/forms/types/export_data_forms_request.rb deleted file mode 100644 index 891cc6d9..00000000 --- a/lib/CloudPDF/doc/forms/types/export_data_forms_request.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Doc - module Forms - module Types - class ExportDataFormsRequest < 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 :format, -> { CloudPDF::Doc::Forms::Types::ExportDataFormsRequestFormat }, optional: true, nullable: false - - field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" - end - end - end - end -end diff --git a/lib/CloudPDF/doc/forms/types/export_data_forms_request_format.rb b/lib/CloudPDF/doc/forms/types/export_data_forms_request_format.rb deleted file mode 100644 index 084139e1..00000000 --- a/lib/CloudPDF/doc/forms/types/export_data_forms_request_format.rb +++ /dev/null @@ -1,16 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Doc - module Forms - module Types - module ExportDataFormsRequestFormat - extend CloudPDF::Internal::Types::Enum - - FDF = "fdf" - XFDF = "xfdf" - end - end - end - end -end diff --git a/lib/CloudPDF/doc/forms/types/get_forms_request.rb b/lib/CloudPDF/doc/forms/types/get_forms_request.rb deleted file mode 100644 index 85112a3d..00000000 --- a/lib/CloudPDF/doc/forms/types/get_forms_request.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Doc - module Forms - module Types - class GetFormsRequest < 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 :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" - end - end - end - end -end diff --git a/lib/CloudPDF/doc/forms/types/import_data_forms_request.rb b/lib/CloudPDF/doc/forms/types/import_data_forms_request.rb deleted file mode 100644 index 3510a358..00000000 --- a/lib/CloudPDF/doc/forms/types/import_data_forms_request.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Doc - module Forms - module Types - class ImportDataFormsRequest < 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 :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" - - field :body, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false - end - end - end - end -end diff --git a/lib/CloudPDF/doc/forms/types/list_forms_request.rb b/lib/CloudPDF/doc/forms/types/list_forms_request.rb new file mode 100644 index 00000000..e7739fb0 --- /dev/null +++ b/lib/CloudPDF/doc/forms/types/list_forms_request.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Doc + module Forms + module Types + class ListFormsRequest < 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 :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + end + end + end + end +end diff --git a/lib/CloudPDF/doc/forms/types/reset_forms_request.rb b/lib/CloudPDF/doc/forms/types/reset_forms_request.rb deleted file mode 100644 index 7027b79d..00000000 --- a/lib/CloudPDF/doc/forms/types/reset_forms_request.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Doc - module Forms - module Types - class ResetFormsRequest < 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 :field_key, -> { String }, optional: false, nullable: false, api_name: "fieldKey" - - field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" - end - end - end - end -end diff --git a/lib/CloudPDF/doc/forms/types/set_value_forms_request.rb b/lib/CloudPDF/doc/forms/types/set_value_forms_request.rb index 4b9a1b0c..71b6e58b 100644 --- a/lib/CloudPDF/doc/forms/types/set_value_forms_request.rb +++ b/lib/CloudPDF/doc/forms/types/set_value_forms_request.rb @@ -13,6 +13,8 @@ class SetValueFormsRequest < Internal::Types::Model field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + field :idempotency_key, -> { String }, optional: true, nullable: false, api_name: "Idempotency-Key" + field :body, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false end end diff --git a/lib/CloudPDF/doc/metadata/client.rb b/lib/CloudPDF/doc/metadata/client.rb index 34c17033..3e944eb3 100644 --- a/lib/CloudPDF/doc/metadata/client.rb +++ b/lib/CloudPDF/doc/metadata/client.rb @@ -28,7 +28,7 @@ def initialize(client:) # layer_name: "layerName" # ) # - # @return [CloudPDF::Types::DocMetadataGet200Response] + # @return [CloudPDF::Types::DocumentMetadata] def get(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) headers = {} @@ -48,12 +48,17 @@ def get(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocMetadataGet200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocMetadataGet200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) end end + + # @return [CloudPDF::Custom::Client] + def custom + @custom ||= CloudPDF::Doc::Metadata::Custom::Client.new(client: @client) + end end end end diff --git a/lib/CloudPDF/doc/metadata/custom/client.rb b/lib/CloudPDF/doc/metadata/custom/client.rb new file mode 100644 index 00000000..153e9f53 --- /dev/null +++ b/lib/CloudPDF/doc/metadata/custom/client.rb @@ -0,0 +1,62 @@ +# frozen_string_literal: true + +module CloudPDF + module Doc + module Metadata + module Custom + class Client + # @param client [CloudPDF::Internal::Http::RawClient] + # + # @return [void] + def initialize(client:) + @client = client + end + + # @param request_options [Hash] + # @param params [Hash] + # @option request_options [String] :base_url + # @option request_options [Hash{String => Object}] :additional_headers + # @option request_options [Hash{String => Object}] :additional_query_parameters + # @option request_options [Hash{String => Object}] :additional_body_parameters + # @option request_options [Integer] :timeout_in_seconds + # @option params [String] :doc_id + # @option params [String] :layer_name + # @option params [String, nil] :document_password + # + # @example + # client.doc.metadata.custom.get( + # doc_id: "docId", + # layer_name: "layerName" + # ) + # + # @return [Hash[String, String]] + def get(request_options: {}, **params) + params = CloudPDF::Internal::Types::Utils.normalize_keys(params) + headers = {} + headers["X-Document-Password"] = params[:document_password] if params[:document_password] + + 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)}/metadata/custom", + headers: headers, + request_options: request_options + ) + begin + response = @client.send(request) + rescue Net::HTTPRequestTimeout + raise CloudPDF::Errors::TimeoutError + end + code = response.code.to_i + if code.between?(200, 299) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocMetadataCustomGet200Response.load(response.body)) + else + error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + end + end + end + end + end +end diff --git a/lib/CloudPDF/doc/metadata/custom/types/get_custom_request.rb b/lib/CloudPDF/doc/metadata/custom/types/get_custom_request.rb new file mode 100644 index 00000000..7f289874 --- /dev/null +++ b/lib/CloudPDF/doc/metadata/custom/types/get_custom_request.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module CloudPDF + module Doc + module Metadata + module Custom + module Types + class GetCustomRequest < 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 :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + end + end + end + end + end +end diff --git a/lib/CloudPDF/doc/pages/client.rb b/lib/CloudPDF/doc/pages/client.rb index e37466ec..d435b49a 100644 --- a/lib/CloudPDF/doc/pages/client.rb +++ b/lib/CloudPDF/doc/pages/client.rb @@ -20,30 +20,32 @@ def initialize(client:) # @option request_options [Integer] :timeout_in_seconds # @option params [String] :doc_id # @option params [String] :layer_name - # @option params [Integer] :pon + # @option params [String] :page_key # @option params [String, nil] :document_password + # @option params [String, nil] :idempotency_key # # @example # client.doc.pages.set_scale( # doc_id: "docId", # layer_name: "layerName", - # pon: 1 + # page_key: "pageKey" # ) # # @return [CloudPDF::Types::DocPagesSetScale200Response] 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 - non_body_param_names = %w[docId layerName pon X-Document-Password] + non_body_param_names = %w[docId layerName pageKey X-Document-Password Idempotency-Key] body = request_data.except(*non_body_param_names) headers = {} headers["X-Document-Password"] = params[:document_password] if params[:document_password] + headers["Idempotency-Key"] = params[:idempotency_key] if params[:idempotency_key] request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "PUT", - path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/pages/#{URI.encode_uri_component(params[:pon].to_s)}/scale", + path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/pages/#{URI.encode_uri_component(params[:page_key].to_s)}/scale", headers: headers, body: body, request_options: request_options @@ -55,7 +57,7 @@ def set_scale(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocPagesSetScale200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocPagesSetScale200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -71,17 +73,17 @@ def set_scale(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # @option params [String] :doc_id # @option params [String] :layer_name - # @option params [Integer] :pon + # @option params [String] :page_key # @option params [String, nil] :document_password # # @example # client.doc.pages.viewports( # doc_id: "docId", # layer_name: "layerName", - # pon: 1 + # page_key: "pageKey" # ) # - # @return [Array[CloudPDF::Types::DocPagesViewports200ResponseItem]] + # @return [CloudPDF::Types::DocPagesViewports200Response] def viewports(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) headers = {} @@ -90,7 +92,7 @@ def viewports(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)}/pages/#{URI.encode_uri_component(params[:pon].to_s)}/viewports", + path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/pages/#{URI.encode_uri_component(params[:page_key].to_s)}/viewports", headers: headers, request_options: request_options ) @@ -101,7 +103,7 @@ def viewports(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocPagesViewports200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocPagesViewports200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -118,6 +120,7 @@ def viewports(request_options: {}, **params) # @option params [String] :doc_id # @option params [String] :layer_name # @option params [String, nil] :document_password + # @option params [String, nil] :idempotency_key # # @example # client.doc.pages.delete( @@ -136,6 +139,7 @@ def delete(request_options: {}, **params) headers = {} headers["X-Document-Password"] = params[:document_password] if params[:document_password] + headers["Idempotency-Key"] = params[:idempotency_key] if params[:idempotency_key] request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], @@ -152,15 +156,15 @@ def delete(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocPagesDelete200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocPagesDelete200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) end end - # A read, not a mutation: the source document is untouched and no event is published. Body is - # `{"pageObjectNumbers": number[]}`; the response body is the new PDF. + # A read, not a mutation: the source document is untouched and no event is published. Body is `{"pages": + # PageRef[]}`; the response body is the new PDF. # # @param request_options [Hash] # @param params [CloudPDF::Types::DocPagesExtractRequest] @@ -223,6 +227,7 @@ def extract(request_options: {}, **params) # @option params [String] :doc_id # @option params [String] :layer_name # @option params [String, nil] :document_password + # @option params [String, nil] :idempotency_key # # @example # client.doc.pages.flatten( @@ -241,6 +246,7 @@ def flatten(request_options: {}, **params) headers = {} headers["X-Document-Password"] = params[:document_password] if params[:document_password] + headers["Idempotency-Key"] = params[:idempotency_key] if params[:idempotency_key] request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], @@ -257,16 +263,16 @@ def flatten(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocPagesFlatten200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocPagesFlatten200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) end end - # Multipart mutation envelope: a `body` field holding `{"destIndex"?: number}` (omitted → append) plus a - # `resource:source` file part carrying the standalone PDF whose pages are copied in. The inserted copies get - # fresh page object numbers, returned in insertion order. + # Multipart: a JSON `body` part `{"position"?: PagePosition, "resources": {"source": ""}}` (position + # omitted → the end), and the standalone PDF whose pages are copied in as the part `resource:`. The + # inserted copies get fresh page object numbers, returned in insertion order. # # @param request_options [Hash] # @param params [void] @@ -278,6 +284,7 @@ def flatten(request_options: {}, **params) # @option params [String] :doc_id # @option params [String] :layer_name # @option params [String, nil] :document_password + # @option params [String, nil] :idempotency_key # # @example # client.doc.pages.insert( @@ -290,7 +297,12 @@ def insert(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) body = Internal::Multipart::FormData.new - body.add_part(params[:file].to_form_data_part(name: "file")) if params[:file] + if params[:file] + body.add_file( + name: "file", + file: params[:file] + ) + end request = CloudPDF::Internal::Multipart::Request.new( base_url: request_options[:base_url], @@ -306,15 +318,15 @@ def insert(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocPagesInsert200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocPagesInsert200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) end end - # Body is `{"size": {"width", "height"}, "count"?, "destIndex"?}` — size in PDF points, count in [1, 100], - # destIndex omitted → append. + # Body is `{"size": {"width", "height"}, "count"?, "position"?}` — size in PDF points, count in [1, 100], + # `position` a `PagePosition` (omitted → the end). # # @param request_options [Hash] # @param params [CloudPDF::Types::DocPagesInsertBlankRequest] @@ -326,6 +338,7 @@ def insert(request_options: {}, **params) # @option params [String] :doc_id # @option params [String] :layer_name # @option params [String, nil] :document_password + # @option params [String, nil] :idempotency_key # # @example # client.doc.pages.insert_blank( @@ -344,6 +357,7 @@ def insert_blank(request_options: {}, **params) headers = {} headers["X-Document-Password"] = params[:document_password] if params[:document_password] + headers["Idempotency-Key"] = params[:idempotency_key] if params[:idempotency_key] request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], @@ -360,7 +374,7 @@ def insert_blank(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocPagesInsertBlank200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocPagesInsertBlank200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -368,7 +382,7 @@ def insert_blank(request_options: {}, **params) end # @param request_options [Hash] - # @param params [CloudPDF::Types::DocPagesMoveRequest] + # @param params [CloudPDF::Types::DocPagesSetNameRequest] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -377,9 +391,10 @@ def insert_blank(request_options: {}, **params) # @option params [String] :doc_id # @option params [String] :layer_name # @option params [String, nil] :document_password + # @option params [String, nil] :idempotency_key # # @example - # client.doc.pages.move( + # client.doc.pages.set_name( # doc_id: "docId", # layer_name: "layerName", # request: { @@ -387,19 +402,20 @@ def insert_blank(request_options: {}, **params) # } # ) # - # @return [CloudPDF::Types::DocPagesMove200Response] - def move(request_options: {}, **params) + # @return [CloudPDF::Types::DocPagesSetName200Response] + def set_name(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) path_param_names = %i[doc_id layer_name] body_params = params.except(*path_param_names) headers = {} headers["X-Document-Password"] = params[:document_password] if params[:document_password] + headers["Idempotency-Key"] = params[:idempotency_key] if params[:idempotency_key] request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "POST", - path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/pages/move", + path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/pages/names", headers: headers, body: body_params, request_options: request_options @@ -411,7 +427,7 @@ def move(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocPagesMove200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocPagesSetName200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -419,7 +435,7 @@ def move(request_options: {}, **params) end # @param request_options [Hash] - # @param params [CloudPDF::Types::DocPagesSetNameRequest] + # @param params [CloudPDF::Types::DocPagesRemoveNameRequest] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -428,9 +444,10 @@ def move(request_options: {}, **params) # @option params [String] :doc_id # @option params [String] :layer_name # @option params [String, nil] :document_password + # @option params [String, nil] :idempotency_key # # @example - # client.doc.pages.set_name( + # client.doc.pages.remove_name( # doc_id: "docId", # layer_name: "layerName", # request: { @@ -438,19 +455,20 @@ def move(request_options: {}, **params) # } # ) # - # @return [CloudPDF::Types::DocPagesSetName200Response] - def set_name(request_options: {}, **params) + # @return [CloudPDF::Types::DocPagesRemoveName200Response] + def remove_name(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) path_param_names = %i[doc_id layer_name] body_params = params.except(*path_param_names) headers = {} headers["X-Document-Password"] = params[:document_password] if params[:document_password] + headers["Idempotency-Key"] = params[:idempotency_key] if params[:idempotency_key] request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "POST", - path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/pages/names", + path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/pages/names/delete", headers: headers, body: body_params, request_options: request_options @@ -462,7 +480,7 @@ def set_name(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocPagesSetName200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocPagesRemoveName200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -470,7 +488,7 @@ def set_name(request_options: {}, **params) end # @param request_options [Hash] - # @param params [CloudPDF::Types::DocPagesRemoveNameRequest] + # @param params [CloudPDF::Doc::Pages::Types::DocPagesReorderRequest] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -479,31 +497,36 @@ def set_name(request_options: {}, **params) # @option params [String] :doc_id # @option params [String] :layer_name # @option params [String, nil] :document_password + # @option params [String, nil] :idempotency_key # # @example - # client.doc.pages.remove_name( + # client.doc.pages.reorder( # doc_id: "docId", # layer_name: "layerName", - # request: { - # key: "value" - # } + # pages: [{ + # kind: "objectNumber", + # object_number: 1 + # }], + # position: "start" # ) # - # @return [CloudPDF::Types::DocPagesRemoveName200Response] - def remove_name(request_options: {}, **params) + # @return [CloudPDF::Types::DocPagesReorder200Response] + def reorder(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) - path_param_names = %i[doc_id layer_name] - body_params = params.except(*path_param_names) + request_data = CloudPDF::Doc::Pages::Types::DocPagesReorderRequest.new(params).to_h + non_body_param_names = %w[docId layerName X-Document-Password Idempotency-Key] + body = request_data.except(*non_body_param_names) headers = {} headers["X-Document-Password"] = params[:document_password] if params[:document_password] + headers["Idempotency-Key"] = params[:idempotency_key] if params[:idempotency_key] request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "POST", - path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/pages/names/delete", + path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/pages/reorder", headers: headers, - body: body_params, + body: body, request_options: request_options ) begin @@ -513,7 +536,7 @@ def remove_name(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocPagesRemoveName200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocPagesReorder200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -530,6 +553,7 @@ def remove_name(request_options: {}, **params) # @option params [String] :doc_id # @option params [String] :layer_name # @option params [String, nil] :document_password + # @option params [String, nil] :idempotency_key # # @example # client.doc.pages.rotate( @@ -548,6 +572,7 @@ def rotate(request_options: {}, **params) headers = {} headers["X-Document-Password"] = params[:document_password] if params[:document_password] + headers["Idempotency-Key"] = params[:idempotency_key] if params[:idempotency_key] request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], @@ -564,7 +589,7 @@ def rotate(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocPagesRotate200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocPagesRotate200Response.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/types/delete_pages_request.rb b/lib/CloudPDF/doc/pages/types/delete_pages_request.rb index 7161788c..4e229d18 100644 --- a/lib/CloudPDF/doc/pages/types/delete_pages_request.rb +++ b/lib/CloudPDF/doc/pages/types/delete_pages_request.rb @@ -11,6 +11,8 @@ class DeletePagesRequest < Internal::Types::Model field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + field :idempotency_key, -> { String }, optional: true, nullable: false, api_name: "Idempotency-Key" + field :body, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false end end diff --git a/lib/CloudPDF/doc/pages/types/doc_pages_reorder_request.rb b/lib/CloudPDF/doc/pages/types/doc_pages_reorder_request.rb new file mode 100644 index 00000000..c1d63938 --- /dev/null +++ b/lib/CloudPDF/doc/pages/types/doc_pages_reorder_request.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module CloudPDF + module Doc + module Pages + module Types + class DocPagesReorderRequest < 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 :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + + field :idempotency_key, -> { String }, optional: true, nullable: false, api_name: "Idempotency-Key" + + field :pages, -> { Internal::Types::Array[CloudPDF::Types::PageRef] }, optional: false, nullable: false + + field :position, -> { CloudPDF::Types::PagePosition }, optional: false, nullable: false + end + end + end + end +end diff --git a/lib/CloudPDF/doc/pages/types/doc_pages_set_scale_request.rb b/lib/CloudPDF/doc/pages/types/doc_pages_set_scale_request.rb index e135a59f..2f19c1a5 100644 --- a/lib/CloudPDF/doc/pages/types/doc_pages_set_scale_request.rb +++ b/lib/CloudPDF/doc/pages/types/doc_pages_set_scale_request.rb @@ -9,10 +9,12 @@ class DocPagesSetScaleRequest < Internal::Types::Model field :layer_name, -> { String }, optional: false, nullable: false, api_name: "layerName" - field :pon, -> { Integer }, optional: false, nullable: false + field :page_key, -> { String }, optional: false, nullable: false, api_name: "pageKey" field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + field :idempotency_key, -> { String }, optional: true, nullable: false, api_name: "Idempotency-Key" + field :measure, -> { CloudPDF::Doc::Pages::Types::DocPagesSetScaleRequestMeasure }, optional: false, nullable: true end end diff --git a/lib/CloudPDF/doc/pages/types/doc_pages_set_scale_request_measure_subtype.rb b/lib/CloudPDF/doc/pages/types/doc_pages_set_scale_request_measure_subtype.rb index e92b457e..42c76aa7 100644 --- a/lib/CloudPDF/doc/pages/types/doc_pages_set_scale_request_measure_subtype.rb +++ b/lib/CloudPDF/doc/pages/types/doc_pages_set_scale_request_measure_subtype.rb @@ -7,7 +7,7 @@ module Types module DocPagesSetScaleRequestMeasureSubtype extend CloudPDF::Internal::Types::Enum - RL = "RL" + RECTILINEAR = "rectilinear" end end end diff --git a/lib/CloudPDF/doc/pages/types/flatten_pages_request.rb b/lib/CloudPDF/doc/pages/types/flatten_pages_request.rb index 2203aea7..3cf045b5 100644 --- a/lib/CloudPDF/doc/pages/types/flatten_pages_request.rb +++ b/lib/CloudPDF/doc/pages/types/flatten_pages_request.rb @@ -11,6 +11,8 @@ class FlattenPagesRequest < Internal::Types::Model field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + field :idempotency_key, -> { String }, optional: true, nullable: false, api_name: "Idempotency-Key" + field :body, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false end end diff --git a/lib/CloudPDF/doc/pages/types/insert_blank_pages_request.rb b/lib/CloudPDF/doc/pages/types/insert_blank_pages_request.rb index 042bb2e3..8a5beede 100644 --- a/lib/CloudPDF/doc/pages/types/insert_blank_pages_request.rb +++ b/lib/CloudPDF/doc/pages/types/insert_blank_pages_request.rb @@ -11,6 +11,8 @@ class InsertBlankPagesRequest < Internal::Types::Model field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + field :idempotency_key, -> { String }, optional: true, nullable: false, api_name: "Idempotency-Key" + field :body, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false end end diff --git a/lib/CloudPDF/doc/pages/types/insert_pages_request.rb b/lib/CloudPDF/doc/pages/types/insert_pages_request.rb index 8a34ca6b..572517b4 100644 --- a/lib/CloudPDF/doc/pages/types/insert_pages_request.rb +++ b/lib/CloudPDF/doc/pages/types/insert_pages_request.rb @@ -10,6 +10,8 @@ class InsertPagesRequest < Internal::Types::Model field :layer_name, -> { String }, optional: false, nullable: false, api_name: "layerName" field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + + field :idempotency_key, -> { String }, optional: true, nullable: false, api_name: "Idempotency-Key" end end end diff --git a/lib/CloudPDF/doc/pages/types/move_pages_request.rb b/lib/CloudPDF/doc/pages/types/move_pages_request.rb deleted file mode 100644 index 6303d96d..00000000 --- a/lib/CloudPDF/doc/pages/types/move_pages_request.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Doc - module Pages - module Types - class MovePagesRequest < 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 :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" - - field :body, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false - end - end - end - end -end diff --git a/lib/CloudPDF/doc/pages/types/remove_name_pages_request.rb b/lib/CloudPDF/doc/pages/types/remove_name_pages_request.rb index 9590b085..5cbc840e 100644 --- a/lib/CloudPDF/doc/pages/types/remove_name_pages_request.rb +++ b/lib/CloudPDF/doc/pages/types/remove_name_pages_request.rb @@ -11,6 +11,8 @@ class RemoveNamePagesRequest < Internal::Types::Model field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + field :idempotency_key, -> { String }, optional: true, nullable: false, api_name: "Idempotency-Key" + field :body, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false end end diff --git a/lib/CloudPDF/doc/pages/types/rotate_pages_request.rb b/lib/CloudPDF/doc/pages/types/rotate_pages_request.rb index 22011455..4d33f7e0 100644 --- a/lib/CloudPDF/doc/pages/types/rotate_pages_request.rb +++ b/lib/CloudPDF/doc/pages/types/rotate_pages_request.rb @@ -11,6 +11,8 @@ class RotatePagesRequest < Internal::Types::Model field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + field :idempotency_key, -> { String }, optional: true, nullable: false, api_name: "Idempotency-Key" + field :body, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false end end diff --git a/lib/CloudPDF/doc/pages/types/set_name_pages_request.rb b/lib/CloudPDF/doc/pages/types/set_name_pages_request.rb index caf9e227..d15b80b2 100644 --- a/lib/CloudPDF/doc/pages/types/set_name_pages_request.rb +++ b/lib/CloudPDF/doc/pages/types/set_name_pages_request.rb @@ -11,6 +11,8 @@ class SetNamePagesRequest < Internal::Types::Model field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + field :idempotency_key, -> { String }, optional: true, nullable: false, api_name: "Idempotency-Key" + field :body, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false end end diff --git a/lib/CloudPDF/doc/pages/types/viewports_pages_request.rb b/lib/CloudPDF/doc/pages/types/viewports_pages_request.rb index 6bb538c0..fa3493c2 100644 --- a/lib/CloudPDF/doc/pages/types/viewports_pages_request.rb +++ b/lib/CloudPDF/doc/pages/types/viewports_pages_request.rb @@ -9,7 +9,7 @@ class ViewportsPagesRequest < Internal::Types::Model field :layer_name, -> { String }, optional: false, nullable: false, api_name: "layerName" - field :pon, -> { Integer }, optional: false, nullable: false + field :page_key, -> { String }, optional: false, nullable: false, api_name: "pageKey" field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" end diff --git a/lib/CloudPDF/doc/redactions/client.rb b/lib/CloudPDF/doc/redactions/client.rb index 149cb6c0..f9e2f4c9 100644 --- a/lib/CloudPDF/doc/redactions/client.rb +++ b/lib/CloudPDF/doc/redactions/client.rb @@ -12,7 +12,7 @@ def initialize(client:) end # @param request_options [Hash] - # @param params [CloudPDF::Types::DocRedactionsApplyRequest] + # @param params [CloudPDF::Doc::Redactions::Types::DocRedactionsApplyRequest] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -21,31 +21,31 @@ def initialize(client:) # @option params [String] :doc_id # @option params [String] :layer_name # @option params [String, nil] :document_password + # @option params [String, nil] :idempotency_key # # @example # client.doc.redactions.apply( # doc_id: "docId", - # layer_name: "layerName", - # request: { - # key: "value" - # } + # layer_name: "layerName" # ) # # @return [CloudPDF::Types::DocRedactionsApply200Response] def apply(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) - path_param_names = %i[doc_id layer_name] - body_params = params.except(*path_param_names) + request_data = CloudPDF::Doc::Redactions::Types::DocRedactionsApplyRequest.new(params).to_h + non_body_param_names = %w[docId layerName X-Document-Password Idempotency-Key] + body = request_data.except(*non_body_param_names) headers = {} headers["X-Document-Password"] = params[:document_password] if params[:document_password] + headers["Idempotency-Key"] = params[:idempotency_key] if params[:idempotency_key] request = CloudPDF::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "POST", path: "v1/docs/#{URI.encode_uri_component(params[:doc_id].to_s)}/layers/#{URI.encode_uri_component(params[:layer_name].to_s)}/redactions/apply", headers: headers, - body: body_params, + body: body, request_options: request_options ) begin @@ -55,7 +55,7 @@ def apply(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocRedactionsApply200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocRedactionsApply200Response.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/types/apply_redactions_request.rb b/lib/CloudPDF/doc/redactions/types/apply_redactions_request.rb deleted file mode 100644 index 71034a6c..00000000 --- a/lib/CloudPDF/doc/redactions/types/apply_redactions_request.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Doc - module Redactions - module Types - class ApplyRedactionsRequest < 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 :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" - - field :body, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false - end - end - end - end -end diff --git a/lib/CloudPDF/doc/redactions/types/doc_redactions_apply_request.rb b/lib/CloudPDF/doc/redactions/types/doc_redactions_apply_request.rb new file mode 100644 index 00000000..ba65e4f0 --- /dev/null +++ b/lib/CloudPDF/doc/redactions/types/doc_redactions_apply_request.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module CloudPDF + module Doc + module Redactions + module Types + class DocRedactionsApplyRequest < 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 :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + + field :idempotency_key, -> { String }, optional: true, nullable: false, api_name: "Idempotency-Key" + + 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 + end +end diff --git a/lib/CloudPDF/doc/signatures/client.rb b/lib/CloudPDF/doc/signatures/client.rb index 6c42585d..407b211b 100644 --- a/lib/CloudPDF/doc/signatures/client.rb +++ b/lib/CloudPDF/doc/signatures/client.rb @@ -51,7 +51,7 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocSignaturesList200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocSignaturesList200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -71,14 +71,14 @@ def list(request_options: {}, **params) # @option params [String, nil] :document_password # # @example - # client.doc.signatures.abort( + # client.doc.signatures.cancel( # doc_id: "docId", # layer_name: "layerName", # signing_id: "signingId" # ) # - # @return [CloudPDF::Types::DocSignaturesAbort200Response] - def abort(request_options: {}, **params) + # @return [CloudPDF::Types::DocSignaturesCancel200Response] + def cancel(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) headers = {} headers["X-Document-Password"] = params[:document_password] if params[:document_password] @@ -97,7 +97,7 @@ def abort(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocSignaturesAbort200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocSignaturesCancel200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -157,7 +157,7 @@ def complete(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocSignaturesComplete200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocSignaturesComplete200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -214,17 +214,18 @@ def analysis(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocSignaturesAnalysis200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocSignaturesAnalysis200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) end end - # The multipart envelope: a JSON `body` part (field, subFilter, digest, contentsSize, signer, certify, lock, - # appearance) and an optional `resource:` PDF part the body's `appearance.resource` names. A certification - # (`certify.permission`) additionally requires `doc.sign.certify`. The layer is read-only until the signing - # completes, is aborted, or expires (15 minutes). A layer behind the document head cannot sign (StaleBase). + # Multipart: a JSON `body` part (field, subFilter, digest, contentsSize, signer, certify, lock), naming the + # appearance PDF it may carry as `resources: { appearance: '' }`, and that PDF as the part + # `resource:`. A certification (`certify.permission`) additionally requires `doc.sign.certify`. The layer + # is read-only until the signing completes, is cancelled, or expires (15 minutes). A layer behind the document + # head cannot sign (StaleBase). # # @param request_options [Hash] # @param params [void] @@ -248,7 +249,12 @@ def prepare(request_options: {}, **params) params = CloudPDF::Internal::Types::Utils.normalize_keys(params) body = Internal::Multipart::FormData.new - body.add_part(params[:file].to_form_data_part(name: "file")) if params[:file] + if params[:file] + body.add_file( + name: "file", + file: params[:file] + ) + end request = CloudPDF::Internal::Multipart::Request.new( base_url: request_options[:base_url], @@ -264,7 +270,7 @@ def prepare(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocSignaturesPrepare200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocSignaturesPrepare200Response.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/types/abort_signatures_request.rb b/lib/CloudPDF/doc/signatures/types/abort_signatures_request.rb deleted file mode 100644 index bc5c701d..00000000 --- a/lib/CloudPDF/doc/signatures/types/abort_signatures_request.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Doc - module Signatures - module Types - class AbortSignaturesRequest < 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 :signing_id, -> { String }, optional: false, nullable: false, api_name: "signingId" - - field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" - end - end - end - end -end diff --git a/lib/CloudPDF/doc/signatures/types/cancel_signatures_request.rb b/lib/CloudPDF/doc/signatures/types/cancel_signatures_request.rb new file mode 100644 index 00000000..0fd5d904 --- /dev/null +++ b/lib/CloudPDF/doc/signatures/types/cancel_signatures_request.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module CloudPDF + module Doc + module Signatures + module Types + class CancelSignaturesRequest < 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 :signing_id, -> { String }, optional: false, nullable: false, api_name: "signingId" + + field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + end + end + end + end +end diff --git a/lib/CloudPDF/doc/types/doc_changes_request.rb b/lib/CloudPDF/doc/types/doc_changes_request.rb new file mode 100644 index 00000000..f4988d25 --- /dev/null +++ b/lib/CloudPDF/doc/types/doc_changes_request.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Doc + module Types + class DocChangesRequest < 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 :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + + field :changes, -> { Internal::Types::Array[CloudPDF::Doc::Types::DocChangesRequestChangesItem] }, optional: false, nullable: false + end + end + end +end diff --git a/lib/CloudPDF/doc/types/doc_changes_request_changes_item.rb b/lib/CloudPDF/doc/types/doc_changes_request_changes_item.rb new file mode 100644 index 00000000..209fe7da --- /dev/null +++ b/lib/CloudPDF/doc/types/doc_changes_request_changes_item.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Doc + module Types + class DocChangesRequestChangesItem < Internal::Types::Model + field :op_id, -> { String }, optional: false, nullable: false, api_name: "opId" + + field :ops, -> { Internal::Types::Array[CloudPDF::Types::ChangeOp] }, optional: true, nullable: false + + field :undo_of, -> { String }, optional: true, nullable: false, api_name: "undoOf" + end + end + end +end diff --git a/lib/CloudPDF/doc/types/render_doc_request.rb b/lib/CloudPDF/doc/types/render_doc_request.rb index a8b503e0..8e295da9 100644 --- a/lib/CloudPDF/doc/types/render_doc_request.rb +++ b/lib/CloudPDF/doc/types/render_doc_request.rb @@ -8,7 +8,7 @@ class RenderDocRequest < Internal::Types::Model field :layer_name, -> { String }, optional: false, nullable: false, api_name: "layerName" - field :pon, -> { Integer }, optional: false, nullable: false + field :page_key, -> { String }, optional: false, nullable: false, api_name: "pageKey" field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" end diff --git a/lib/CloudPDF/doc/types/text_doc_request.rb b/lib/CloudPDF/doc/types/text_doc_request.rb index dbd6cfbb..d5d112ec 100644 --- a/lib/CloudPDF/doc/types/text_doc_request.rb +++ b/lib/CloudPDF/doc/types/text_doc_request.rb @@ -8,7 +8,7 @@ class TextDocRequest < Internal::Types::Model field :layer_name, -> { String }, optional: false, nullable: false, api_name: "layerName" - field :pon, -> { Integer }, optional: false, nullable: false + field :page_key, -> { String }, optional: false, nullable: false, api_name: "pageKey" field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" end diff --git a/lib/CloudPDF/doc/versions/client.rb b/lib/CloudPDF/doc/versions/client.rb index aa5fae77..e86daed7 100644 --- a/lib/CloudPDF/doc/versions/client.rb +++ b/lib/CloudPDF/doc/versions/client.rb @@ -46,7 +46,7 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocVersionsList200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocVersionsList200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -106,7 +106,7 @@ def analysis(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocVersionsAnalysis200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocVersionsAnalysis200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -236,7 +236,7 @@ def signatures(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocVersionsSignatures200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocVersionsSignatures200Response.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/client.rb b/lib/CloudPDF/documents/client.rb index af6d79ff..d741296b 100644 --- a/lib/CloudPDF/documents/client.rb +++ b/lib/CloudPDF/documents/client.rb @@ -47,7 +47,7 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocumentsList200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocumentsList200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -86,7 +86,7 @@ def get(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocumentsGet200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocumentsGet200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -168,7 +168,7 @@ def commit(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocumentsCommit200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocumentsCommit200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -276,6 +276,7 @@ def upload_proxy(request_options: {}, **params) body = Internal::Multipart::FormData.new raise ArgumentError, "file is required" unless params[:file] + body.add_file(name: "file", file: params[:file], content_type: "application/pdf") request = CloudPDF::Internal::Multipart::Request.new( @@ -292,7 +293,7 @@ def upload_proxy(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocumentsUploadProxy200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocumentsUploadProxy200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -341,7 +342,7 @@ def import_from(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocumentsImportFrom200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocumentsImportFrom200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -385,7 +386,7 @@ def init(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::DocumentsInit200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::DocumentsInit200Response.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/types/documents_import_from_request_source.rb b/lib/CloudPDF/documents/types/documents_import_from_request_source.rb index 0f2589ab..045434b6 100644 --- a/lib/CloudPDF/documents/types/documents_import_from_request_source.rb +++ b/lib/CloudPDF/documents/types/documents_import_from_request_source.rb @@ -3,7 +3,7 @@ module CloudPDF module Documents module Types - # Where CloudPDF pulls the bytes from. The two shapes differ in WHO supplies the authority to read, not in which + # Where CloudPDF pulls the bytes from. The two shapes differ in who supplies the authority to read, not in which # storage vendor holds the file. class DocumentsImportFromRequestSource < Internal::Types::Model extend CloudPDF::Internal::Types::Union diff --git a/lib/CloudPDF/errors/server_error.rb b/lib/CloudPDF/errors/server_error.rb index f3a5b49b..37bd9156 100644 --- a/lib/CloudPDF/errors/server_error.rb +++ b/lib/CloudPDF/errors/server_error.rb @@ -5,7 +5,7 @@ module Errors class ServerError < ResponseError end - class ServiceUnavailableError < ApiError + class ServiceUnavailableError < ResponseError end end end diff --git a/lib/CloudPDF/internal/multipart/multipart_form_data.rb b/lib/CloudPDF/internal/multipart/multipart_form_data.rb index a0176344..eb5f51ea 100644 --- a/lib/CloudPDF/internal/multipart/multipart_form_data.rb +++ b/lib/CloudPDF/internal/multipart/multipart_form_data.rb @@ -30,13 +30,18 @@ def add(name:, value:, content_type: nil) # Adds a file to the multipart form data. # # @param name [String] The name of the form field - # @param file [#read] The file or readable object - # @param filename [String, nil] Optional filename (defaults to basename of path for File objects) + # @param file [String, #read] A path to a file on disk, or a file/readable object + # @param filename [String, nil] Optional filename (defaults to basename of the path for paths and File objects) # @param content_type [String, nil] Optional content type (e.g. "image/png") # @return [self] Returns self for chaining def add_file(name:, file:, filename: nil, content_type: nil) headers = content_type ? { "Content-Type" => content_type } : nil - filename ||= filename_for(file) + if file.is_a?(::String) + filename ||= ::File.basename(file) + file = ::File.binread(file) + else + filename ||= filename_for(file) + end add_part(FormDataPart.new(name:, value: file, filename:, headers:)) end diff --git a/lib/CloudPDF/internal/types/model.rb b/lib/CloudPDF/internal/types/model.rb index e0b53011..3053ebbe 100644 --- a/lib/CloudPDF/internal/types/model.rb +++ b/lib/CloudPDF/internal/types/model.rb @@ -141,13 +141,21 @@ def initialize(values = {}) values = Utils.symbolize_keys(values.dup) self.class.fields.each do |field_name, field| - value = values.delete(field.api_name.to_sym) || values.delete(field.api_name) || values.delete(field_name) + value = nil + [field.api_name.to_sym, field_name].uniq.each do |key| + next unless values.key?(key) - field_value = value || (if field.literal? - field.value - elsif field.default - field.default - end) + candidate = values.delete(key) + value = candidate if value.nil? + end + + field_value = if !value.nil? + value + elsif field.literal? + field.value + elsif !field.default.nil? + field.default + end @data[field_name] = Utils.coerce(field.type, field_value) end diff --git a/lib/CloudPDF/shares/client.rb b/lib/CloudPDF/shares/client.rb index 0423b9a7..310eec2f 100644 --- a/lib/CloudPDF/shares/client.rb +++ b/lib/CloudPDF/shares/client.rb @@ -42,7 +42,7 @@ def exchange(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::SharesExchange200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::SharesExchange200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -86,14 +86,14 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::SharesList200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::SharesList200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) end end - # The returned share id IS the public share token. Mounted only when the deployment can sign (HS256 mode) — + # The returned share id is the public share token. Mounted only when the deployment can sign (HS256 mode) — # exchange mints session JWTs, so grants exist only where minting does. # # @param request_options [Hash] @@ -133,7 +133,7 @@ def create(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::SharesCreate200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::SharesCreate200Response.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 get(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::SharesGet200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::SharesGet200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -253,7 +253,7 @@ def update(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::SharesUpdate200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::SharesUpdate200Response.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 b7195ec1..4636d60e 100644 --- a/lib/CloudPDF/tenants/client.rb +++ b/lib/CloudPDF/tenants/client.rb @@ -44,7 +44,7 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::TenantsList200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::TenantsList200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -79,7 +79,7 @@ def create(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::TenantsCreate200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::TenantsCreate200Response.load(response.body)) else error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -114,7 +114,7 @@ def get(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::TenantsGet200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::TenantsGet200Response.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 usage(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::TenantsUsage200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::TenantsUsage200Response.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 910e1827..aac57635 100644 --- a/lib/CloudPDF/tokens/client.rb +++ b/lib/CloudPDF/tokens/client.rb @@ -45,7 +45,7 @@ def issue(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - CloudPDF::Types::TokensIssue200Response.load(response.body) + (response.body.to_s.empty? ? nil : CloudPDF::Types::TokensIssue200Response.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/types/annotation.rb b/lib/CloudPDF/types/annotation.rb new file mode 100644 index 00000000..5eb8e96f --- /dev/null +++ b/lib/CloudPDF/types/annotation.rb @@ -0,0 +1,51 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class Annotation < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :subtype + + member -> { CloudPDF::Types::AnnotationHighlight }, key: "HIGHLIGHT" + + member -> { CloudPDF::Types::AnnotationUnderline }, key: "UNDERLINE" + + member -> { CloudPDF::Types::AnnotationSquiggly }, key: "SQUIGGLY" + + member -> { CloudPDF::Types::AnnotationStrikeout }, key: "STRIKEOUT" + + member -> { CloudPDF::Types::AnnotationCircle }, key: "CIRCLE" + + member -> { CloudPDF::Types::AnnotationSquare }, key: "SQUARE" + + member -> { CloudPDF::Types::AnnotationPolygon }, key: "POLYGON" + + member -> { CloudPDF::Types::AnnotationPolyline }, key: "POLYLINE" + + member -> { CloudPDF::Types::AnnotationLine }, key: "LINE" + + member -> { CloudPDF::Types::AnnotationLink }, key: "LINK" + + member -> { CloudPDF::Types::AnnotationInk }, key: "INK" + + member -> { CloudPDF::Types::AnnotationFreeText }, key: "FREE_TEXT" + + member -> { CloudPDF::Types::AnnotationCaret }, key: "CARET" + + member -> { CloudPDF::Types::AnnotationText }, key: "TEXT" + + member -> { CloudPDF::Types::AnnotationStamp }, key: "STAMP" + + member -> { CloudPDF::Types::AnnotationFileAttachment }, key: "FILE_ATTACHMENT" + + member -> { CloudPDF::Types::WidgetAnnotation }, key: "WIDGET" + + member -> { CloudPDF::Types::AnnotationRedact }, key: "REDACT" + + member -> { CloudPDF::Types::AnnotationPopup }, key: "POPUP" + + member -> { CloudPDF::Types::AnnotationUnsupported }, key: "UNSUPPORTED" + end + end +end diff --git a/lib/CloudPDF/types/annotation_caret.rb b/lib/CloudPDF/types/annotation_caret.rb new file mode 100644 index 00000000..6a9c6f26 --- /dev/null +++ b/lib/CloudPDF/types/annotation_caret.rb @@ -0,0 +1,77 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationCaret < Internal::Types::Model + field :ref, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :has_appearance, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { String }, optional: false, nullable: true, api_name: "appearanceState" + + field :nm, -> { String }, optional: false, nullable: true + + field :rect, -> { CloudPDF::Types::AnnotationCaretRect }, optional: false, nullable: false + + field :contents, -> { String }, optional: false, nullable: true + + field :subject, -> { String }, optional: false, nullable: true + + field :blend_mode, -> { CloudPDF::Types::AnnotationCaretBlendMode }, optional: false, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationCaretReply }, optional: false, nullable: true + + field :popup, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: true + + field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId" + + field :author, -> { String }, optional: false, nullable: true + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :modified_at, -> { String }, optional: false, nullable: true, api_name: "modifiedAt" + + field :user_id, -> { String }, optional: false, nullable: true, api_name: "userId" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + + field :modified_by, -> { String }, optional: false, nullable: true, api_name: "modifiedBy" + + field :imported_by, -> { String }, optional: false, nullable: true, api_name: "importedBy" + + field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true + + field :color, -> { String }, optional: false, nullable: false + + field :opacity, -> { Integer }, optional: false, nullable: false + + field :box, -> { CloudPDF::Types::AnnotationCaretBox }, optional: false, nullable: false + + field :rotation, -> { Integer }, optional: false, nullable: true + + field :intent, -> { CloudPDF::Types::AnnotationCaretIntent }, optional: false, nullable: true + end + end +end diff --git a/lib/CloudPDF/types/annotation_caret_blend_mode.rb b/lib/CloudPDF/types/annotation_caret_blend_mode.rb new file mode 100644 index 00000000..d467cebe --- /dev/null +++ b/lib/CloudPDF/types/annotation_caret_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationCaretBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_caret_box.rb b/lib/CloudPDF/types/annotation_caret_box.rb new file mode 100644 index 00000000..fa1fcc13 --- /dev/null +++ b/lib/CloudPDF/types/annotation_caret_box.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationCaretBox < 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/annotation_caret_intent.rb b/lib/CloudPDF/types/annotation_caret_intent.rb new file mode 100644 index 00000000..acc93013 --- /dev/null +++ b/lib/CloudPDF/types/annotation_caret_intent.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationCaretIntent + extend CloudPDF::Internal::Types::Enum + + REPLACE = "replace" + end + end +end diff --git a/lib/CloudPDF/types/annotation_caret_rect.rb b/lib/CloudPDF/types/annotation_caret_rect.rb new file mode 100644 index 00000000..1ac20fe4 --- /dev/null +++ b/lib/CloudPDF/types/annotation_caret_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationCaretRect < 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/annotation_caret_reply.rb b/lib/CloudPDF/types/annotation_caret_reply.rb new file mode 100644 index 00000000..8fdcacce --- /dev/null +++ b/lib/CloudPDF/types/annotation_caret_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationCaretReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationCaretReplyType }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_caret_reply_type.rb b/lib/CloudPDF/types/annotation_caret_reply_type.rb new file mode 100644 index 00000000..b2077137 --- /dev/null +++ b/lib/CloudPDF/types/annotation_caret_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationCaretReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_circle.rb b/lib/CloudPDF/types/annotation_circle.rb new file mode 100644 index 00000000..f2b625a5 --- /dev/null +++ b/lib/CloudPDF/types/annotation_circle.rb @@ -0,0 +1,85 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationCircle < Internal::Types::Model + field :ref, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :has_appearance, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { String }, optional: false, nullable: true, api_name: "appearanceState" + + field :nm, -> { String }, optional: false, nullable: true + + field :rect, -> { CloudPDF::Types::AnnotationCircleRect }, optional: false, nullable: false + + field :contents, -> { String }, optional: false, nullable: true + + field :subject, -> { String }, optional: false, nullable: true + + field :blend_mode, -> { CloudPDF::Types::AnnotationCircleBlendMode }, optional: false, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationCircleReply }, optional: false, nullable: true + + field :popup, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: true + + field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId" + + field :author, -> { String }, optional: false, nullable: true + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :modified_at, -> { String }, optional: false, nullable: true, api_name: "modifiedAt" + + field :user_id, -> { String }, optional: false, nullable: true, api_name: "userId" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + + field :modified_by, -> { String }, optional: false, nullable: true, api_name: "modifiedBy" + + field :imported_by, -> { String }, optional: false, nullable: true, api_name: "importedBy" + + field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true + + field :color, -> { String }, optional: false, nullable: false + + field :opacity, -> { Integer }, optional: false, nullable: false + + field :stroke_width, -> { Integer }, optional: false, nullable: false, api_name: "strokeWidth" + + field :border_style, -> { CloudPDF::Types::AnnotationCircleBorderStyle }, optional: false, nullable: false, api_name: "borderStyle" + + field :dash_array, -> { Internal::Types::Array[Integer] }, optional: false, nullable: true, api_name: "dashArray" + + field :interior_color, -> { String }, optional: false, nullable: true, api_name: "interiorColor" + + field :box, -> { CloudPDF::Types::AnnotationCircleBox }, optional: false, nullable: false + + field :rotation, -> { Integer }, optional: false, nullable: true + + field :cloudy_intensity, -> { Integer }, optional: false, nullable: true, api_name: "cloudyIntensity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_circle_blend_mode.rb b/lib/CloudPDF/types/annotation_circle_blend_mode.rb new file mode 100644 index 00000000..2448304c --- /dev/null +++ b/lib/CloudPDF/types/annotation_circle_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationCircleBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_circle_border_style.rb b/lib/CloudPDF/types/annotation_circle_border_style.rb new file mode 100644 index 00000000..0dc6a8bb --- /dev/null +++ b/lib/CloudPDF/types/annotation_circle_border_style.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationCircleBorderStyle + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + BEVELED = "beveled" + INSET = "inset" + end + end +end diff --git a/lib/CloudPDF/types/annotation_circle_box.rb b/lib/CloudPDF/types/annotation_circle_box.rb new file mode 100644 index 00000000..766fc3a2 --- /dev/null +++ b/lib/CloudPDF/types/annotation_circle_box.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationCircleBox < 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/annotation_circle_rect.rb b/lib/CloudPDF/types/annotation_circle_rect.rb new file mode 100644 index 00000000..98af1a69 --- /dev/null +++ b/lib/CloudPDF/types/annotation_circle_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationCircleRect < 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/annotation_circle_reply.rb b/lib/CloudPDF/types/annotation_circle_reply.rb new file mode 100644 index 00000000..e3b82114 --- /dev/null +++ b/lib/CloudPDF/types/annotation_circle_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationCircleReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationCircleReplyType }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_circle_reply_type.rb b/lib/CloudPDF/types/annotation_circle_reply_type.rb new file mode 100644 index 00000000..a34833ec --- /dev/null +++ b/lib/CloudPDF/types/annotation_circle_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationCircleReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft.rb b/lib/CloudPDF/types/annotation_draft.rb new file mode 100644 index 00000000..9ddade4a --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft.rb @@ -0,0 +1,49 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraft < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :subtype + + member -> { CloudPDF::Types::AnnotationDraftHighlight }, key: "HIGHLIGHT" + + member -> { CloudPDF::Types::AnnotationDraftUnderline }, key: "UNDERLINE" + + member -> { CloudPDF::Types::AnnotationDraftSquiggly }, key: "SQUIGGLY" + + member -> { CloudPDF::Types::AnnotationDraftStrikeout }, key: "STRIKEOUT" + + member -> { CloudPDF::Types::AnnotationDraftCircle }, key: "CIRCLE" + + member -> { CloudPDF::Types::AnnotationDraftSquare }, key: "SQUARE" + + member -> { CloudPDF::Types::AnnotationDraftPolygon }, key: "POLYGON" + + member -> { CloudPDF::Types::AnnotationDraftPolyline }, key: "POLYLINE" + + member -> { CloudPDF::Types::AnnotationDraftLine }, key: "LINE" + + member -> { CloudPDF::Types::AnnotationDraftLink }, key: "LINK" + + member -> { CloudPDF::Types::AnnotationDraftInk }, key: "INK" + + member -> { CloudPDF::Types::AnnotationDraftFreeText }, key: "FREE_TEXT" + + member -> { CloudPDF::Types::AnnotationDraftCaret }, key: "CARET" + + member -> { CloudPDF::Types::AnnotationDraftText }, key: "TEXT" + + member -> { CloudPDF::Types::AnnotationDraftStamp }, key: "STAMP" + + member -> { CloudPDF::Types::AnnotationDraftFileAttachment }, key: "FILE_ATTACHMENT" + + member -> { CloudPDF::Types::AnnotationDraftWidget }, key: "WIDGET" + + member -> { CloudPDF::Types::AnnotationDraftRedact }, key: "REDACT" + + member -> { CloudPDF::Types::AnnotationDraftPopup }, key: "POPUP" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_caret.rb b/lib/CloudPDF/types/annotation_draft_caret.rb new file mode 100644 index 00000000..97d0b5e1 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_caret.rb @@ -0,0 +1,77 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftCaret < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationDraftCaretRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationDraftCaretBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationDraftCaretReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :box, -> { CloudPDF::Types::AnnotationDraftCaretBox }, optional: true, nullable: false + + field :rotation, -> { Integer }, optional: true, nullable: false + + field :intent, -> { CloudPDF::Types::AnnotationDraftCaretIntent }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_caret_blend_mode.rb b/lib/CloudPDF/types/annotation_draft_caret_blend_mode.rb new file mode 100644 index 00000000..d74a6350 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_caret_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftCaretBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_caret_box.rb b/lib/CloudPDF/types/annotation_draft_caret_box.rb new file mode 100644 index 00000000..beaf4160 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_caret_box.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftCaretBox < 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/annotation_draft_caret_intent.rb b/lib/CloudPDF/types/annotation_draft_caret_intent.rb new file mode 100644 index 00000000..968a57bc --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_caret_intent.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftCaretIntent + extend CloudPDF::Internal::Types::Enum + + REPLACE = "replace" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_caret_rect.rb b/lib/CloudPDF/types/annotation_draft_caret_rect.rb new file mode 100644 index 00000000..dad9914b --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_caret_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftCaretRect < 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/annotation_draft_caret_reply.rb b/lib/CloudPDF/types/annotation_draft_caret_reply.rb new file mode 100644 index 00000000..683501a7 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_caret_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftCaretReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationDraftCaretReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_caret_reply_type.rb b/lib/CloudPDF/types/annotation_draft_caret_reply_type.rb new file mode 100644 index 00000000..8283775a --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_caret_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftCaretReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_circle.rb b/lib/CloudPDF/types/annotation_draft_circle.rb new file mode 100644 index 00000000..24896859 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_circle.rb @@ -0,0 +1,85 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftCircle < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationDraftCircleRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationDraftCircleBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationDraftCircleReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :stroke_width, -> { Integer }, optional: true, nullable: false, api_name: "strokeWidth" + + field :border_style, -> { CloudPDF::Types::AnnotationDraftCircleBorderStyle }, optional: true, nullable: false, api_name: "borderStyle" + + field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" + + field :interior_color, -> { String }, optional: true, nullable: false, api_name: "interiorColor" + + field :box, -> { CloudPDF::Types::AnnotationDraftCircleBox }, optional: true, nullable: false + + field :rotation, -> { Integer }, optional: true, nullable: false + + field :cloudy_intensity, -> { Integer }, optional: true, nullable: false, api_name: "cloudyIntensity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_circle_blend_mode.rb b/lib/CloudPDF/types/annotation_draft_circle_blend_mode.rb new file mode 100644 index 00000000..237bce09 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_circle_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftCircleBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_circle_border_style.rb b/lib/CloudPDF/types/annotation_draft_circle_border_style.rb new file mode 100644 index 00000000..d0f58a64 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_circle_border_style.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftCircleBorderStyle + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_circle_box.rb b/lib/CloudPDF/types/annotation_draft_circle_box.rb new file mode 100644 index 00000000..2a490ee4 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_circle_box.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftCircleBox < 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/annotation_draft_circle_rect.rb b/lib/CloudPDF/types/annotation_draft_circle_rect.rb new file mode 100644 index 00000000..b5ec0ce8 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_circle_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftCircleRect < 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/annotation_draft_circle_reply.rb b/lib/CloudPDF/types/annotation_draft_circle_reply.rb new file mode 100644 index 00000000..56b8f57e --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_circle_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftCircleReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationDraftCircleReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_circle_reply_type.rb b/lib/CloudPDF/types/annotation_draft_circle_reply_type.rb new file mode 100644 index 00000000..e6825ad5 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_circle_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftCircleReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_file_attachment.rb b/lib/CloudPDF/types/annotation_draft_file_attachment.rb new file mode 100644 index 00000000..37f7e3d4 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_file_attachment.rb @@ -0,0 +1,75 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftFileAttachment < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationDraftFileAttachmentRect }, optional: false, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationDraftFileAttachmentBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationDraftFileAttachmentReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :icon, -> { CloudPDF::Types::AnnotationDraftFileAttachmentIcon }, optional: true, nullable: false + + field :file, -> { CloudPDF::Types::AnnotationDraftFileAttachmentFile }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_file_attachment_blend_mode.rb b/lib/CloudPDF/types/annotation_draft_file_attachment_blend_mode.rb new file mode 100644 index 00000000..f7efd0b4 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_file_attachment_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftFileAttachmentBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_file_attachment_file.rb b/lib/CloudPDF/types/annotation_draft_file_attachment_file.rb new file mode 100644 index 00000000..105ee24a --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_file_attachment_file.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftFileAttachmentFile < Internal::Types::Model + field :name, -> { String }, optional: false, nullable: false + + field :mime_type, -> { String }, optional: true, nullable: false, api_name: "mimeType" + + field :description, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_file_attachment_icon.rb b/lib/CloudPDF/types/annotation_draft_file_attachment_icon.rb new file mode 100644 index 00000000..3b20bcde --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_file_attachment_icon.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftFileAttachmentIcon + extend CloudPDF::Internal::Types::Enum + + PUSH_PIN = "push-pin" + PAPERCLIP = "paperclip" + GRAPH = "graph" + TAG = "tag" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_file_attachment_rect.rb b/lib/CloudPDF/types/annotation_draft_file_attachment_rect.rb new file mode 100644 index 00000000..58eb3765 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_file_attachment_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftFileAttachmentRect < 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/annotation_draft_file_attachment_reply.rb b/lib/CloudPDF/types/annotation_draft_file_attachment_reply.rb new file mode 100644 index 00000000..e915f90a --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_file_attachment_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftFileAttachmentReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationDraftFileAttachmentReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_file_attachment_reply_type.rb b/lib/CloudPDF/types/annotation_draft_file_attachment_reply_type.rb new file mode 100644 index 00000000..2216aaa8 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_file_attachment_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftFileAttachmentReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_free_text.rb b/lib/CloudPDF/types/annotation_draft_free_text.rb new file mode 100644 index 00000000..1519138a --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_free_text.rb @@ -0,0 +1,103 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftFreeText < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationDraftFreeTextRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationDraftFreeTextBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationDraftFreeTextReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :box, -> { CloudPDF::Types::AnnotationDraftFreeTextBox }, optional: true, nullable: false + + field :rotation, -> { Integer }, optional: true, nullable: false + + field :intent, -> { CloudPDF::Types::AnnotationDraftFreeTextIntent }, optional: true, nullable: false + + field :font_family, -> { String }, optional: true, nullable: false, api_name: "fontFamily" + + field :font_size, -> { Integer }, optional: true, nullable: false, api_name: "fontSize" + + field :text_align, -> { CloudPDF::Types::AnnotationDraftFreeTextTextAlign }, optional: true, nullable: false, api_name: "textAlign" + + field :vertical_align, -> { CloudPDF::Types::AnnotationDraftFreeTextVerticalAlign }, optional: true, nullable: false, api_name: "verticalAlign" + + field :rich_text, -> { CloudPDF::Types::AnnotationDraftFreeTextRichText }, optional: true, nullable: false, api_name: "richText" + + field :color, -> { String }, optional: true, nullable: false + + field :font_color, -> { String }, optional: true, nullable: false, api_name: "fontColor" + + field :interior_color, -> { String }, optional: true, nullable: false, api_name: "interiorColor" + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :stroke_width, -> { Integer }, optional: true, nullable: false, api_name: "strokeWidth" + + field :border_style, -> { CloudPDF::Types::AnnotationDraftFreeTextBorderStyle }, optional: true, nullable: false, api_name: "borderStyle" + + field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" + + field :cloudy_intensity, -> { Integer }, optional: true, nullable: false, api_name: "cloudyIntensity" + + field :callout_line, -> { Internal::Types::Array[Object] }, optional: true, nullable: false, api_name: "calloutLine" + + field :line_ending, -> { CloudPDF::Types::AnnotationDraftFreeTextLineEnding }, optional: true, nullable: false, api_name: "lineEnding" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_free_text_blend_mode.rb b/lib/CloudPDF/types/annotation_draft_free_text_blend_mode.rb new file mode 100644 index 00000000..0f26a19c --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_free_text_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftFreeTextBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_free_text_border_style.rb b/lib/CloudPDF/types/annotation_draft_free_text_border_style.rb new file mode 100644 index 00000000..a4027e93 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_free_text_border_style.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftFreeTextBorderStyle + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_free_text_box.rb b/lib/CloudPDF/types/annotation_draft_free_text_box.rb new file mode 100644 index 00000000..dfab66c5 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_free_text_box.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftFreeTextBox < 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/annotation_draft_free_text_intent.rb b/lib/CloudPDF/types/annotation_draft_free_text_intent.rb new file mode 100644 index 00000000..264890c4 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_free_text_intent.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftFreeTextIntent + extend CloudPDF::Internal::Types::Enum + + FREE_TEXT = "free-text" + FREE_TEXT_CALLOUT = "free-text-callout" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_free_text_line_ending.rb b/lib/CloudPDF/types/annotation_draft_free_text_line_ending.rb new file mode 100644 index 00000000..a5b6deac --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_free_text_line_ending.rb @@ -0,0 +1,20 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftFreeTextLineEnding + extend CloudPDF::Internal::Types::Enum + + NONE = "none" + SQUARE = "square" + CIRCLE = "circle" + DIAMOND = "diamond" + OPEN_ARROW = "open-arrow" + CLOSED_ARROW = "closed-arrow" + BUTT = "butt" + R_OPEN_ARROW = "r-open-arrow" + R_CLOSED_ARROW = "r-closed-arrow" + SLASH = "slash" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_free_text_rect.rb b/lib/CloudPDF/types/annotation_draft_free_text_rect.rb new file mode 100644 index 00000000..9de4352b --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_free_text_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftFreeTextRect < 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/annotation_draft_free_text_reply.rb b/lib/CloudPDF/types/annotation_draft_free_text_reply.rb new file mode 100644 index 00000000..1ec91194 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_free_text_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftFreeTextReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationDraftFreeTextReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_free_text_reply_type.rb b/lib/CloudPDF/types/annotation_draft_free_text_reply_type.rb new file mode 100644 index 00000000..c8808c15 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_free_text_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftFreeTextReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_free_text_rich_text.rb b/lib/CloudPDF/types/annotation_draft_free_text_rich_text.rb new file mode 100644 index 00000000..35fc3d40 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_free_text_rich_text.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftFreeTextRichText < Internal::Types::Model + field :body, -> { CloudPDF::Types::AnnotationDraftFreeTextRichTextBody }, optional: true, nullable: false + + field :paragraphs, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftFreeTextRichTextParagraphsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_free_text_rich_text_body.rb b/lib/CloudPDF/types/annotation_draft_free_text_rich_text_body.rb new file mode 100644 index 00000000..33bddc73 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_free_text_rich_text_body.rb @@ -0,0 +1,37 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftFreeTextRichTextBody < Internal::Types::Model + field :family, -> { String }, optional: true, nullable: false + + field :weight, -> { Integer }, optional: true, nullable: false + + field :italic, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :size, -> { Integer }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :decoration, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftFreeTextRichTextBodyDecorationItem] }, optional: true, nullable: false + + field :script, -> { CloudPDF::Types::AnnotationDraftFreeTextRichTextBodyScript }, optional: true, nullable: false + + field :letter_spacing, -> { Integer }, optional: true, nullable: false, api_name: "letterSpacing" + + field :horizontal_scale, -> { Integer }, optional: true, nullable: false, api_name: "horizontalScale" + + field :unknown, -> { String }, optional: true, nullable: false + + field :align, -> { CloudPDF::Types::AnnotationDraftFreeTextRichTextBodyAlign }, optional: true, nullable: false + + field :dir, -> { CloudPDF::Types::AnnotationDraftFreeTextRichTextBodyDir }, optional: true, nullable: false + + field :line_height, -> { Integer }, optional: true, nullable: false, api_name: "lineHeight" + + field :margins, -> { CloudPDF::Types::AnnotationDraftFreeTextRichTextBodyMargins }, optional: true, nullable: false + + field :text_indent, -> { Integer }, optional: true, nullable: false, api_name: "textIndent" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_free_text_rich_text_body_align.rb b/lib/CloudPDF/types/annotation_draft_free_text_rich_text_body_align.rb new file mode 100644 index 00000000..33dfc5c8 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_free_text_rich_text_body_align.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftFreeTextRichTextBodyAlign + extend CloudPDF::Internal::Types::Enum + + LEFT = "left" + CENTER = "center" + RIGHT = "right" + JUSTIFY = "justify" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_free_text_rich_text_body_decoration_item.rb b/lib/CloudPDF/types/annotation_draft_free_text_rich_text_body_decoration_item.rb new file mode 100644 index 00000000..a0581ae7 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_free_text_rich_text_body_decoration_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftFreeTextRichTextBodyDecorationItem + extend CloudPDF::Internal::Types::Enum + + UNDERLINE = "underline" + LINE_THROUGH = "line-through" + WORD = "word" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_free_text_rich_text_body_dir.rb b/lib/CloudPDF/types/annotation_draft_free_text_rich_text_body_dir.rb new file mode 100644 index 00000000..d7e5dc36 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_free_text_rich_text_body_dir.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftFreeTextRichTextBodyDir + extend CloudPDF::Internal::Types::Enum + + LTR = "ltr" + RTL = "rtl" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_free_text_rich_text_body_margins.rb b/lib/CloudPDF/types/annotation_draft_free_text_rich_text_body_margins.rb new file mode 100644 index 00000000..973345c5 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_free_text_rich_text_body_margins.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftFreeTextRichTextBodyMargins < Internal::Types::Model + field :top, -> { Integer }, optional: false, nullable: false + + field :bottom, -> { Integer }, optional: false, nullable: false + + field :left, -> { Integer }, optional: false, nullable: false + + field :right, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_free_text_rich_text_body_script.rb b/lib/CloudPDF/types/annotation_draft_free_text_rich_text_body_script.rb new file mode 100644 index 00000000..0c725b4c --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_free_text_rich_text_body_script.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftFreeTextRichTextBodyScript + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + SUB = "sub" + SUPER = "super" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item.rb b/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item.rb new file mode 100644 index 00000000..cd5cce6b --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftFreeTextRichTextParagraphsItem < Internal::Types::Model + field :align, -> { CloudPDF::Types::AnnotationDraftFreeTextRichTextParagraphsItemAlign }, optional: true, nullable: false + + field :dir, -> { CloudPDF::Types::AnnotationDraftFreeTextRichTextParagraphsItemDir }, optional: true, nullable: false + + field :line_height, -> { Integer }, optional: true, nullable: false, api_name: "lineHeight" + + field :margins, -> { CloudPDF::Types::AnnotationDraftFreeTextRichTextParagraphsItemMargins }, optional: true, nullable: false + + field :text_indent, -> { Integer }, optional: true, nullable: false, api_name: "textIndent" + + field :unknown, -> { String }, optional: true, nullable: false + + field :runs, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftFreeTextRichTextParagraphsItemRunsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_align.rb b/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_align.rb new file mode 100644 index 00000000..073991be --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_align.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftFreeTextRichTextParagraphsItemAlign + extend CloudPDF::Internal::Types::Enum + + LEFT = "left" + CENTER = "center" + RIGHT = "right" + JUSTIFY = "justify" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_dir.rb b/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_dir.rb new file mode 100644 index 00000000..52f0fb67 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_dir.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftFreeTextRichTextParagraphsItemDir + extend CloudPDF::Internal::Types::Enum + + LTR = "ltr" + RTL = "rtl" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_margins.rb b/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_margins.rb new file mode 100644 index 00000000..cdba30ab --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_margins.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftFreeTextRichTextParagraphsItemMargins < Internal::Types::Model + field :top, -> { Integer }, optional: false, nullable: false + + field :bottom, -> { Integer }, optional: false, nullable: false + + field :left, -> { Integer }, optional: false, nullable: false + + field :right, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_runs_item.rb b/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_runs_item.rb new file mode 100644 index 00000000..cd55a016 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_runs_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftFreeTextRichTextParagraphsItemRunsItem < Internal::Types::Model + field :text, -> { String }, optional: false, nullable: false + + field :style, -> { CloudPDF::Types::AnnotationDraftFreeTextRichTextParagraphsItemRunsItemStyle }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_runs_item_style.rb b/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_runs_item_style.rb new file mode 100644 index 00000000..8a20ad55 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_runs_item_style.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftFreeTextRichTextParagraphsItemRunsItemStyle < Internal::Types::Model + field :family, -> { String }, optional: true, nullable: false + + field :weight, -> { Integer }, optional: true, nullable: false + + field :italic, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :size, -> { Integer }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :decoration, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftFreeTextRichTextParagraphsItemRunsItemStyleDecorationItem] }, optional: true, nullable: false + + field :script, -> { CloudPDF::Types::AnnotationDraftFreeTextRichTextParagraphsItemRunsItemStyleScript }, optional: true, nullable: false + + field :letter_spacing, -> { Integer }, optional: true, nullable: false, api_name: "letterSpacing" + + field :horizontal_scale, -> { Integer }, optional: true, nullable: false, api_name: "horizontalScale" + + field :unknown, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_runs_item_style_decoration_item.rb b/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_runs_item_style_decoration_item.rb new file mode 100644 index 00000000..a21ff4b2 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_runs_item_style_decoration_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftFreeTextRichTextParagraphsItemRunsItemStyleDecorationItem + extend CloudPDF::Internal::Types::Enum + + UNDERLINE = "underline" + LINE_THROUGH = "line-through" + WORD = "word" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_runs_item_style_script.rb b/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_runs_item_style_script.rb new file mode 100644 index 00000000..a13a1fc6 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_runs_item_style_script.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftFreeTextRichTextParagraphsItemRunsItemStyleScript + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + SUB = "sub" + SUPER = "super" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_free_text_text_align.rb b/lib/CloudPDF/types/annotation_draft_free_text_text_align.rb new file mode 100644 index 00000000..b4ca6aae --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_free_text_text_align.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftFreeTextTextAlign + extend CloudPDF::Internal::Types::Enum + + LEFT = "left" + CENTER = "center" + RIGHT = "right" + JUSTIFY = "justify" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_free_text_vertical_align.rb b/lib/CloudPDF/types/annotation_draft_free_text_vertical_align.rb new file mode 100644 index 00000000..b74b5972 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_free_text_vertical_align.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftFreeTextVerticalAlign + extend CloudPDF::Internal::Types::Enum + + TOP = "top" + MIDDLE = "middle" + BOTTOM = "bottom" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_highlight.rb b/lib/CloudPDF/types/annotation_draft_highlight.rb new file mode 100644 index 00000000..8c31c9b3 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_highlight.rb @@ -0,0 +1,73 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftHighlight < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationDraftHighlightRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationDraftHighlightBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationDraftHighlightReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :quad_points, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftHighlightQuadPointsItem] }, optional: false, nullable: false, api_name: "quadPoints" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_highlight_blend_mode.rb b/lib/CloudPDF/types/annotation_draft_highlight_blend_mode.rb new file mode 100644 index 00000000..14ac0dfe --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_highlight_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftHighlightBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_highlight_quad_points_item.rb b/lib/CloudPDF/types/annotation_draft_highlight_quad_points_item.rb new file mode 100644 index 00000000..4f2c7a50 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_highlight_quad_points_item.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftHighlightQuadPointsItem < Internal::Types::Model + field :upper_left, -> { CloudPDF::Types::AnnotationDraftHighlightQuadPointsItemUpperLeft }, optional: false, nullable: false, api_name: "upperLeft" + + field :upper_right, -> { CloudPDF::Types::AnnotationDraftHighlightQuadPointsItemUpperRight }, optional: false, nullable: false, api_name: "upperRight" + + field :lower_left, -> { CloudPDF::Types::AnnotationDraftHighlightQuadPointsItemLowerLeft }, optional: false, nullable: false, api_name: "lowerLeft" + + field :lower_right, -> { CloudPDF::Types::AnnotationDraftHighlightQuadPointsItemLowerRight }, optional: false, nullable: false, api_name: "lowerRight" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_highlight_quad_points_item_lower_left.rb b/lib/CloudPDF/types/annotation_draft_highlight_quad_points_item_lower_left.rb new file mode 100644 index 00000000..879c1243 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_highlight_quad_points_item_lower_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftHighlightQuadPointsItemLowerLeft < 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_draft_highlight_quad_points_item_lower_right.rb b/lib/CloudPDF/types/annotation_draft_highlight_quad_points_item_lower_right.rb new file mode 100644 index 00000000..5485c23d --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_highlight_quad_points_item_lower_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftHighlightQuadPointsItemLowerRight < 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_draft_highlight_quad_points_item_upper_left.rb b/lib/CloudPDF/types/annotation_draft_highlight_quad_points_item_upper_left.rb new file mode 100644 index 00000000..3490a3f5 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_highlight_quad_points_item_upper_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftHighlightQuadPointsItemUpperLeft < 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_draft_highlight_quad_points_item_upper_right.rb b/lib/CloudPDF/types/annotation_draft_highlight_quad_points_item_upper_right.rb new file mode 100644 index 00000000..73aaf0d7 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_highlight_quad_points_item_upper_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftHighlightQuadPointsItemUpperRight < 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_draft_highlight_rect.rb b/lib/CloudPDF/types/annotation_draft_highlight_rect.rb new file mode 100644 index 00000000..96d4b58d --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_highlight_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftHighlightRect < 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/annotation_draft_highlight_reply.rb b/lib/CloudPDF/types/annotation_draft_highlight_reply.rb new file mode 100644 index 00000000..91e8be46 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_highlight_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftHighlightReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationDraftHighlightReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_highlight_reply_type.rb b/lib/CloudPDF/types/annotation_draft_highlight_reply_type.rb new file mode 100644 index 00000000..4b2f6366 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_highlight_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftHighlightReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_ink.rb b/lib/CloudPDF/types/annotation_draft_ink.rb new file mode 100644 index 00000000..06f01bfb --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_ink.rb @@ -0,0 +1,83 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftInk < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationDraftInkRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationDraftInkBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationDraftInkReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :stroke_width, -> { Integer }, optional: true, nullable: false, api_name: "strokeWidth" + + field :border_style, -> { CloudPDF::Types::AnnotationDraftInkBorderStyle }, optional: true, nullable: false, api_name: "borderStyle" + + field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" + + field :ink_list, -> { Internal::Types::Array[Internal::Types::Array[CloudPDF::Types::AnnotationDraftInkInkListItemItem]] }, optional: false, nullable: false, api_name: "inkList" + + field :intent, -> { CloudPDF::Types::AnnotationDraftInkIntent }, optional: true, nullable: false + + field :rotation, -> { Integer }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_ink_blend_mode.rb b/lib/CloudPDF/types/annotation_draft_ink_blend_mode.rb new file mode 100644 index 00000000..778788b8 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_ink_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftInkBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_ink_border_style.rb b/lib/CloudPDF/types/annotation_draft_ink_border_style.rb new file mode 100644 index 00000000..cd9530d7 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_ink_border_style.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftInkBorderStyle + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_ink_ink_list_item_item.rb b/lib/CloudPDF/types/annotation_draft_ink_ink_list_item_item.rb new file mode 100644 index 00000000..aca7e47e --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_ink_ink_list_item_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftInkInkListItemItem < 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_draft_ink_intent.rb b/lib/CloudPDF/types/annotation_draft_ink_intent.rb new file mode 100644 index 00000000..ff0b9d17 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_ink_intent.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftInkIntent + extend CloudPDF::Internal::Types::Enum + + INK_HIGHLIGHT = "ink-highlight" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_ink_rect.rb b/lib/CloudPDF/types/annotation_draft_ink_rect.rb new file mode 100644 index 00000000..04f9570a --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_ink_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftInkRect < 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/annotation_draft_ink_reply.rb b/lib/CloudPDF/types/annotation_draft_ink_reply.rb new file mode 100644 index 00000000..9ba6d6f9 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_ink_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftInkReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationDraftInkReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_ink_reply_type.rb b/lib/CloudPDF/types/annotation_draft_ink_reply_type.rb new file mode 100644 index 00000000..f7ac24ac --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_ink_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftInkReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line.rb b/lib/CloudPDF/types/annotation_draft_line.rb new file mode 100644 index 00000000..6ebaf60f --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line.rb @@ -0,0 +1,97 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftLine < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationDraftLineRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationDraftLineBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationDraftLineReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :stroke_width, -> { Integer }, optional: true, nullable: false, api_name: "strokeWidth" + + field :border_style, -> { CloudPDF::Types::AnnotationDraftLineBorderStyle }, optional: true, nullable: false, api_name: "borderStyle" + + field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" + + field :interior_color, -> { String }, optional: true, nullable: false, api_name: "interiorColor" + + field :line_points, -> { CloudPDF::Types::AnnotationDraftLineLinePoints }, optional: false, nullable: false, api_name: "linePoints" + + field :line_endings, -> { CloudPDF::Types::AnnotationDraftLineLineEndings }, optional: true, nullable: false, api_name: "lineEndings" + + field :rotation, -> { Integer }, optional: true, nullable: false + + field :intent, -> { CloudPDF::Types::AnnotationDraftLineIntent }, optional: true, nullable: false + + field :measure, -> { CloudPDF::Types::AnnotationDraftLineMeasure }, optional: true, nullable: false + + field :caption_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "captionEnabled" + + field :caption_position, -> { CloudPDF::Types::AnnotationDraftLineCaptionPosition }, optional: true, nullable: false, api_name: "captionPosition" + + field :caption_offset, -> { CloudPDF::Types::AnnotationDraftLineCaptionOffset }, optional: true, nullable: false, api_name: "captionOffset" + + field :leader, -> { CloudPDF::Types::AnnotationDraftLineLeader }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_blend_mode.rb b/lib/CloudPDF/types/annotation_draft_line_blend_mode.rb new file mode 100644 index 00000000..3ecaf60a --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftLineBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_border_style.rb b/lib/CloudPDF/types/annotation_draft_line_border_style.rb new file mode 100644 index 00000000..2a0b5ec8 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_border_style.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftLineBorderStyle + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_caption_offset.rb b/lib/CloudPDF/types/annotation_draft_line_caption_offset.rb new file mode 100644 index 00000000..08766111 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_caption_offset.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftLineCaptionOffset < Internal::Types::Model + field :along, -> { Integer }, optional: false, nullable: false + + field :perpendicular, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_caption_position.rb b/lib/CloudPDF/types/annotation_draft_line_caption_position.rb new file mode 100644 index 00000000..201f4632 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_caption_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftLineCaptionPosition + extend CloudPDF::Internal::Types::Enum + + INLINE = "inline" + TOP = "top" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_intent.rb b/lib/CloudPDF/types/annotation_draft_line_intent.rb new file mode 100644 index 00000000..c417c4ea --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_intent.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftLineIntent + extend CloudPDF::Internal::Types::Enum + + LINE_ARROW = "line-arrow" + LINE_DIMENSION = "line-dimension" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_leader.rb b/lib/CloudPDF/types/annotation_draft_line_leader.rb new file mode 100644 index 00000000..1f129b00 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_leader.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftLineLeader < Internal::Types::Model + field :length, -> { Integer }, optional: false, nullable: false + + field :extension, -> { Integer }, optional: true, nullable: false + + field :offset, -> { Integer }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_line_endings.rb b/lib/CloudPDF/types/annotation_draft_line_line_endings.rb new file mode 100644 index 00000000..296c516e --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_line_endings.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftLineLineEndings < Internal::Types::Model + field :start, -> { CloudPDF::Types::AnnotationDraftLineLineEndingsStart }, optional: false, nullable: false + + field :end_, -> { CloudPDF::Types::AnnotationDraftLineLineEndingsEnd }, optional: false, nullable: false, api_name: "end" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_line_endings_end.rb b/lib/CloudPDF/types/annotation_draft_line_line_endings_end.rb new file mode 100644 index 00000000..e2c4cfc7 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_line_endings_end.rb @@ -0,0 +1,20 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftLineLineEndingsEnd + extend CloudPDF::Internal::Types::Enum + + NONE = "none" + SQUARE = "square" + CIRCLE = "circle" + DIAMOND = "diamond" + OPEN_ARROW = "open-arrow" + CLOSED_ARROW = "closed-arrow" + BUTT = "butt" + R_OPEN_ARROW = "r-open-arrow" + R_CLOSED_ARROW = "r-closed-arrow" + SLASH = "slash" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_line_endings_start.rb b/lib/CloudPDF/types/annotation_draft_line_line_endings_start.rb new file mode 100644 index 00000000..45a8a27a --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_line_endings_start.rb @@ -0,0 +1,20 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftLineLineEndingsStart + extend CloudPDF::Internal::Types::Enum + + NONE = "none" + SQUARE = "square" + CIRCLE = "circle" + DIAMOND = "diamond" + OPEN_ARROW = "open-arrow" + CLOSED_ARROW = "closed-arrow" + BUTT = "butt" + R_OPEN_ARROW = "r-open-arrow" + R_CLOSED_ARROW = "r-closed-arrow" + SLASH = "slash" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_line_points.rb b/lib/CloudPDF/types/annotation_draft_line_line_points.rb new file mode 100644 index 00000000..d0ad05e3 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_line_points.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftLineLinePoints < Internal::Types::Model + field :start, -> { CloudPDF::Types::AnnotationDraftLineLinePointsStart }, optional: false, nullable: false + + field :end_, -> { CloudPDF::Types::AnnotationDraftLineLinePointsEnd }, optional: false, nullable: false, api_name: "end" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_line_points_end.rb b/lib/CloudPDF/types/annotation_draft_line_line_points_end.rb new file mode 100644 index 00000000..17cf53bd --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_line_points_end.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftLineLinePointsEnd < 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_draft_line_line_points_start.rb b/lib/CloudPDF/types/annotation_draft_line_line_points_start.rb new file mode 100644 index 00000000..9d28df31 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_line_points_start.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftLineLinePointsStart < 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_draft_line_measure.rb b/lib/CloudPDF/types/annotation_draft_line_measure.rb new file mode 100644 index 00000000..b0350200 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_measure.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftLineMeasure < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :subtype + + member -> { CloudPDF::Types::AnnotationDraftLineMeasureRectilinear }, key: "RECTILINEAR" + + member -> { CloudPDF::Types::AnnotationDraftLineMeasureUnknown }, key: "UNKNOWN" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear.rb b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear.rb new file mode 100644 index 00000000..9dedc35b --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftLineMeasureRectilinear < Internal::Types::Model + field :ratio, -> { String }, optional: true, nullable: false + + field :x, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftLineMeasureRectilinearXItem] }, optional: false, nullable: false + + field :y, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftLineMeasureRectilinearYItem] }, optional: true, nullable: false + + field :distance, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftLineMeasureRectilinearDistanceItem] }, optional: false, nullable: false + + field :area, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftLineMeasureRectilinearAreaItem] }, optional: false, nullable: false + + field :angle, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftLineMeasureRectilinearAngleItem] }, optional: true, nullable: false + + field :slope, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftLineMeasureRectilinearSlopeItem] }, optional: true, nullable: false + + field :origin, -> { CloudPDF::Types::AnnotationDraftLineMeasureRectilinearOrigin }, optional: true, nullable: false + + field :cyx, -> { Integer }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_angle_item.rb b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_angle_item.rb new file mode 100644 index 00000000..da97c702 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_angle_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftLineMeasureRectilinearAngleItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationDraftLineMeasureRectilinearAngleItemFraction }, 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::AnnotationDraftLineMeasureRectilinearAngleItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_angle_item_fraction.rb b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_angle_item_fraction.rb new file mode 100644 index 00000000..1de7d020 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_angle_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftLineMeasureRectilinearAngleItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_angle_item_label_position.rb b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_angle_item_label_position.rb new file mode 100644 index 00000000..ae005f43 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_angle_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftLineMeasureRectilinearAngleItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_area_item.rb b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_area_item.rb new file mode 100644 index 00000000..50304d51 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_area_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftLineMeasureRectilinearAreaItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationDraftLineMeasureRectilinearAreaItemFraction }, 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::AnnotationDraftLineMeasureRectilinearAreaItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_area_item_fraction.rb b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_area_item_fraction.rb new file mode 100644 index 00000000..23c03ffd --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_area_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftLineMeasureRectilinearAreaItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_area_item_label_position.rb b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_area_item_label_position.rb new file mode 100644 index 00000000..35353a14 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_area_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftLineMeasureRectilinearAreaItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_distance_item.rb b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_distance_item.rb new file mode 100644 index 00000000..94d6e36e --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_distance_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftLineMeasureRectilinearDistanceItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationDraftLineMeasureRectilinearDistanceItemFraction }, 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::AnnotationDraftLineMeasureRectilinearDistanceItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_distance_item_fraction.rb b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_distance_item_fraction.rb new file mode 100644 index 00000000..38ffb477 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_distance_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftLineMeasureRectilinearDistanceItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_distance_item_label_position.rb b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_distance_item_label_position.rb new file mode 100644 index 00000000..37cd5b68 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_distance_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftLineMeasureRectilinearDistanceItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_origin.rb b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_origin.rb new file mode 100644 index 00000000..b73c1f39 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_origin.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftLineMeasureRectilinearOrigin < 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_draft_line_measure_rectilinear_slope_item.rb b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_slope_item.rb new file mode 100644 index 00000000..46654ef0 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_slope_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftLineMeasureRectilinearSlopeItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationDraftLineMeasureRectilinearSlopeItemFraction }, 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::AnnotationDraftLineMeasureRectilinearSlopeItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_slope_item_fraction.rb b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_slope_item_fraction.rb new file mode 100644 index 00000000..d1a20195 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_slope_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftLineMeasureRectilinearSlopeItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_slope_item_label_position.rb b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_slope_item_label_position.rb new file mode 100644 index 00000000..4cecea43 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_slope_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftLineMeasureRectilinearSlopeItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_x_item.rb b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_x_item.rb new file mode 100644 index 00000000..b3d0cbc7 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_x_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftLineMeasureRectilinearXItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationDraftLineMeasureRectilinearXItemFraction }, 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::AnnotationDraftLineMeasureRectilinearXItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_x_item_fraction.rb b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_x_item_fraction.rb new file mode 100644 index 00000000..351dc60b --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_x_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftLineMeasureRectilinearXItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_x_item_label_position.rb b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_x_item_label_position.rb new file mode 100644 index 00000000..dcbda34b --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_x_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftLineMeasureRectilinearXItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_y_item.rb b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_y_item.rb new file mode 100644 index 00000000..8b9bb797 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_y_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftLineMeasureRectilinearYItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationDraftLineMeasureRectilinearYItemFraction }, 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::AnnotationDraftLineMeasureRectilinearYItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_y_item_fraction.rb b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_y_item_fraction.rb new file mode 100644 index 00000000..a98e18eb --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_y_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftLineMeasureRectilinearYItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_y_item_label_position.rb b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_y_item_label_position.rb new file mode 100644 index 00000000..6440b676 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_measure_rectilinear_y_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftLineMeasureRectilinearYItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_measure_unknown.rb b/lib/CloudPDF/types/annotation_draft_line_measure_unknown.rb new file mode 100644 index 00000000..dfaeaf17 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_measure_unknown.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftLineMeasureUnknown < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :subtype + + member -> { CloudPDF::Types::AnnotationDraftLineMeasureUnknownGeospatial }, key: "GEOSPATIAL" + + member -> { CloudPDF::Types::AnnotationDraftLineMeasureUnknownUnknown }, key: "UNKNOWN" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_measure_unknown_geospatial.rb b/lib/CloudPDF/types/annotation_draft_line_measure_unknown_geospatial.rb new file mode 100644 index 00000000..07075a05 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_measure_unknown_geospatial.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftLineMeasureUnknownGeospatial < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_measure_unknown_unknown.rb b/lib/CloudPDF/types/annotation_draft_line_measure_unknown_unknown.rb new file mode 100644 index 00000000..e47304c0 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_measure_unknown_unknown.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftLineMeasureUnknownUnknown < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_rect.rb b/lib/CloudPDF/types/annotation_draft_line_rect.rb new file mode 100644 index 00000000..d0ee18fe --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftLineRect < 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/annotation_draft_line_reply.rb b/lib/CloudPDF/types/annotation_draft_line_reply.rb new file mode 100644 index 00000000..e84a9b11 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftLineReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationDraftLineReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_line_reply_type.rb b/lib/CloudPDF/types/annotation_draft_line_reply_type.rb new file mode 100644 index 00000000..ec7cee97 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_line_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftLineReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_link.rb b/lib/CloudPDF/types/annotation_draft_link.rb new file mode 100644 index 00000000..f2e38ad8 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_link.rb @@ -0,0 +1,69 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftLink < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationDraftLinkRect }, optional: false, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationDraftLinkBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationDraftLinkReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :target, -> { CloudPDF::Types::PdfLinkTargetWritable }, optional: false, nullable: true + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_link_blend_mode.rb b/lib/CloudPDF/types/annotation_draft_link_blend_mode.rb new file mode 100644 index 00000000..a0d03ea7 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_link_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftLinkBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_link_rect.rb b/lib/CloudPDF/types/annotation_draft_link_rect.rb new file mode 100644 index 00000000..2f4a63c8 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_link_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftLinkRect < 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/annotation_draft_link_reply.rb b/lib/CloudPDF/types/annotation_draft_link_reply.rb new file mode 100644 index 00000000..51b11f77 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_link_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftLinkReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationDraftLinkReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_link_reply_type.rb b/lib/CloudPDF/types/annotation_draft_link_reply_type.rb new file mode 100644 index 00000000..5aa259cb --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_link_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftLinkReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon.rb b/lib/CloudPDF/types/annotation_draft_polygon.rb new file mode 100644 index 00000000..3dc02cde --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon.rb @@ -0,0 +1,93 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolygon < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationDraftPolygonRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationDraftPolygonBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationDraftPolygonReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :stroke_width, -> { Integer }, optional: true, nullable: false, api_name: "strokeWidth" + + field :border_style, -> { CloudPDF::Types::AnnotationDraftPolygonBorderStyle }, optional: true, nullable: false, api_name: "borderStyle" + + field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" + + field :interior_color, -> { String }, optional: true, nullable: false, api_name: "interiorColor" + + field :vertices, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftPolygonVerticesItem] }, optional: false, nullable: false + + field :rotation, -> { Integer }, optional: true, nullable: false + + field :caption_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "captionEnabled" + + field :caption_center, -> { CloudPDF::Types::AnnotationDraftPolygonCaptionCenter }, optional: true, nullable: false, api_name: "captionCenter" + + field :intent, -> { CloudPDF::Types::AnnotationDraftPolygonIntent }, optional: true, nullable: false + + field :measure, -> { CloudPDF::Types::AnnotationDraftPolygonMeasure }, optional: true, nullable: false + + field :cloudy_intensity, -> { Integer }, optional: true, nullable: false, api_name: "cloudyIntensity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_blend_mode.rb b/lib/CloudPDF/types/annotation_draft_polygon_blend_mode.rb new file mode 100644 index 00000000..3ab84556 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolygonBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_border_style.rb b/lib/CloudPDF/types/annotation_draft_polygon_border_style.rb new file mode 100644 index 00000000..04c5183f --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_border_style.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolygonBorderStyle + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_caption_center.rb b/lib/CloudPDF/types/annotation_draft_polygon_caption_center.rb new file mode 100644 index 00000000..d9d7f6cb --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_caption_center.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolygonCaptionCenter < 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_draft_polygon_intent.rb b/lib/CloudPDF/types/annotation_draft_polygon_intent.rb new file mode 100644 index 00000000..4377f495 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_intent.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolygonIntent + extend CloudPDF::Internal::Types::Enum + + POLYGON_CLOUD = "polygon-cloud" + POLYGON_DIMENSION = "polygon-dimension" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_measure.rb b/lib/CloudPDF/types/annotation_draft_polygon_measure.rb new file mode 100644 index 00000000..79fec3ed --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_measure.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolygonMeasure < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :subtype + + member -> { CloudPDF::Types::AnnotationDraftPolygonMeasureRectilinear }, key: "RECTILINEAR" + + member -> { CloudPDF::Types::AnnotationDraftPolygonMeasureUnknown }, key: "UNKNOWN" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear.rb b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear.rb new file mode 100644 index 00000000..dfddc377 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolygonMeasureRectilinear < Internal::Types::Model + field :ratio, -> { String }, optional: true, nullable: false + + field :x, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftPolygonMeasureRectilinearXItem] }, optional: false, nullable: false + + field :y, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftPolygonMeasureRectilinearYItem] }, optional: true, nullable: false + + field :distance, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftPolygonMeasureRectilinearDistanceItem] }, optional: false, nullable: false + + field :area, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftPolygonMeasureRectilinearAreaItem] }, optional: false, nullable: false + + field :angle, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftPolygonMeasureRectilinearAngleItem] }, optional: true, nullable: false + + field :slope, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftPolygonMeasureRectilinearSlopeItem] }, optional: true, nullable: false + + field :origin, -> { CloudPDF::Types::AnnotationDraftPolygonMeasureRectilinearOrigin }, optional: true, nullable: false + + field :cyx, -> { Integer }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_angle_item.rb b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_angle_item.rb new file mode 100644 index 00000000..eb5b5256 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_angle_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolygonMeasureRectilinearAngleItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationDraftPolygonMeasureRectilinearAngleItemFraction }, 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::AnnotationDraftPolygonMeasureRectilinearAngleItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_angle_item_fraction.rb b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_angle_item_fraction.rb new file mode 100644 index 00000000..31781509 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_angle_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolygonMeasureRectilinearAngleItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_angle_item_label_position.rb b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_angle_item_label_position.rb new file mode 100644 index 00000000..cea7a737 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_angle_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolygonMeasureRectilinearAngleItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_area_item.rb b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_area_item.rb new file mode 100644 index 00000000..dafcb884 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_area_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolygonMeasureRectilinearAreaItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationDraftPolygonMeasureRectilinearAreaItemFraction }, 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::AnnotationDraftPolygonMeasureRectilinearAreaItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_area_item_fraction.rb b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_area_item_fraction.rb new file mode 100644 index 00000000..e7b6f286 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_area_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolygonMeasureRectilinearAreaItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_area_item_label_position.rb b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_area_item_label_position.rb new file mode 100644 index 00000000..99374953 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_area_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolygonMeasureRectilinearAreaItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_distance_item.rb b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_distance_item.rb new file mode 100644 index 00000000..42eeb977 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_distance_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolygonMeasureRectilinearDistanceItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationDraftPolygonMeasureRectilinearDistanceItemFraction }, 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::AnnotationDraftPolygonMeasureRectilinearDistanceItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_distance_item_fraction.rb b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_distance_item_fraction.rb new file mode 100644 index 00000000..ac900efe --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_distance_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolygonMeasureRectilinearDistanceItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_distance_item_label_position.rb b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_distance_item_label_position.rb new file mode 100644 index 00000000..106624ed --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_distance_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolygonMeasureRectilinearDistanceItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_origin.rb b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_origin.rb new file mode 100644 index 00000000..12dfd7f9 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_origin.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolygonMeasureRectilinearOrigin < 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_draft_polygon_measure_rectilinear_slope_item.rb b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_slope_item.rb new file mode 100644 index 00000000..6ab898df --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_slope_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolygonMeasureRectilinearSlopeItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationDraftPolygonMeasureRectilinearSlopeItemFraction }, 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::AnnotationDraftPolygonMeasureRectilinearSlopeItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_slope_item_fraction.rb b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_slope_item_fraction.rb new file mode 100644 index 00000000..cc799a24 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_slope_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolygonMeasureRectilinearSlopeItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_slope_item_label_position.rb b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_slope_item_label_position.rb new file mode 100644 index 00000000..2f2b4e1d --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_slope_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolygonMeasureRectilinearSlopeItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_x_item.rb b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_x_item.rb new file mode 100644 index 00000000..0deae6cd --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_x_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolygonMeasureRectilinearXItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationDraftPolygonMeasureRectilinearXItemFraction }, 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::AnnotationDraftPolygonMeasureRectilinearXItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_x_item_fraction.rb b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_x_item_fraction.rb new file mode 100644 index 00000000..afa0842f --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_x_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolygonMeasureRectilinearXItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_x_item_label_position.rb b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_x_item_label_position.rb new file mode 100644 index 00000000..eb2f43dc --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_x_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolygonMeasureRectilinearXItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_y_item.rb b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_y_item.rb new file mode 100644 index 00000000..c756b0ce --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_y_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolygonMeasureRectilinearYItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationDraftPolygonMeasureRectilinearYItemFraction }, 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::AnnotationDraftPolygonMeasureRectilinearYItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_y_item_fraction.rb b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_y_item_fraction.rb new file mode 100644 index 00000000..b25aca81 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_y_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolygonMeasureRectilinearYItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_y_item_label_position.rb b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_y_item_label_position.rb new file mode 100644 index 00000000..e21d3a34 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_measure_rectilinear_y_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolygonMeasureRectilinearYItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_measure_unknown.rb b/lib/CloudPDF/types/annotation_draft_polygon_measure_unknown.rb new file mode 100644 index 00000000..487784fb --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_measure_unknown.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolygonMeasureUnknown < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :subtype + + member -> { CloudPDF::Types::AnnotationDraftPolygonMeasureUnknownGeospatial }, key: "GEOSPATIAL" + + member -> { CloudPDF::Types::AnnotationDraftPolygonMeasureUnknownUnknown }, key: "UNKNOWN" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_measure_unknown_geospatial.rb b/lib/CloudPDF/types/annotation_draft_polygon_measure_unknown_geospatial.rb new file mode 100644 index 00000000..483053f5 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_measure_unknown_geospatial.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolygonMeasureUnknownGeospatial < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_measure_unknown_unknown.rb b/lib/CloudPDF/types/annotation_draft_polygon_measure_unknown_unknown.rb new file mode 100644 index 00000000..a0137630 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_measure_unknown_unknown.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolygonMeasureUnknownUnknown < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_rect.rb b/lib/CloudPDF/types/annotation_draft_polygon_rect.rb new file mode 100644 index 00000000..c1269a0c --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolygonRect < 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/annotation_draft_polygon_reply.rb b/lib/CloudPDF/types/annotation_draft_polygon_reply.rb new file mode 100644 index 00000000..b5dedde4 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolygonReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationDraftPolygonReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_reply_type.rb b/lib/CloudPDF/types/annotation_draft_polygon_reply_type.rb new file mode 100644 index 00000000..0c4e7f57 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolygonReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polygon_vertices_item.rb b/lib/CloudPDF/types/annotation_draft_polygon_vertices_item.rb new file mode 100644 index 00000000..37f09923 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polygon_vertices_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolygonVerticesItem < 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_draft_polyline.rb b/lib/CloudPDF/types/annotation_draft_polyline.rb new file mode 100644 index 00000000..43f7dc8d --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline.rb @@ -0,0 +1,93 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolyline < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationDraftPolylineRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationDraftPolylineBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationDraftPolylineReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :stroke_width, -> { Integer }, optional: true, nullable: false, api_name: "strokeWidth" + + field :border_style, -> { CloudPDF::Types::AnnotationDraftPolylineBorderStyle }, optional: true, nullable: false, api_name: "borderStyle" + + field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" + + field :interior_color, -> { String }, optional: true, nullable: false, api_name: "interiorColor" + + field :vertices, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftPolylineVerticesItem] }, optional: false, nullable: false + + field :rotation, -> { Integer }, optional: true, nullable: false + + field :caption_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "captionEnabled" + + field :caption_center, -> { CloudPDF::Types::AnnotationDraftPolylineCaptionCenter }, optional: true, nullable: false, api_name: "captionCenter" + + field :intent, -> { CloudPDF::Types::AnnotationDraftPolylineIntent }, optional: true, nullable: false + + field :measure, -> { CloudPDF::Types::AnnotationDraftPolylineMeasure }, optional: true, nullable: false + + field :line_endings, -> { CloudPDF::Types::AnnotationDraftPolylineLineEndings }, optional: true, nullable: false, api_name: "lineEndings" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_blend_mode.rb b/lib/CloudPDF/types/annotation_draft_polyline_blend_mode.rb new file mode 100644 index 00000000..1e0eeea7 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolylineBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_border_style.rb b/lib/CloudPDF/types/annotation_draft_polyline_border_style.rb new file mode 100644 index 00000000..a75a0644 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_border_style.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolylineBorderStyle + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_caption_center.rb b/lib/CloudPDF/types/annotation_draft_polyline_caption_center.rb new file mode 100644 index 00000000..d93d64c7 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_caption_center.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolylineCaptionCenter < 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_draft_polyline_intent.rb b/lib/CloudPDF/types/annotation_draft_polyline_intent.rb new file mode 100644 index 00000000..550c691e --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_intent.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolylineIntent + extend CloudPDF::Internal::Types::Enum + + POLYLINE_DIMENSION = "polyline-dimension" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_line_endings.rb b/lib/CloudPDF/types/annotation_draft_polyline_line_endings.rb new file mode 100644 index 00000000..bebb7cbf --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_line_endings.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolylineLineEndings < Internal::Types::Model + field :start, -> { CloudPDF::Types::AnnotationDraftPolylineLineEndingsStart }, optional: false, nullable: false + + field :end_, -> { CloudPDF::Types::AnnotationDraftPolylineLineEndingsEnd }, optional: false, nullable: false, api_name: "end" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_line_endings_end.rb b/lib/CloudPDF/types/annotation_draft_polyline_line_endings_end.rb new file mode 100644 index 00000000..11c6ec4b --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_line_endings_end.rb @@ -0,0 +1,20 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolylineLineEndingsEnd + extend CloudPDF::Internal::Types::Enum + + NONE = "none" + SQUARE = "square" + CIRCLE = "circle" + DIAMOND = "diamond" + OPEN_ARROW = "open-arrow" + CLOSED_ARROW = "closed-arrow" + BUTT = "butt" + R_OPEN_ARROW = "r-open-arrow" + R_CLOSED_ARROW = "r-closed-arrow" + SLASH = "slash" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_line_endings_start.rb b/lib/CloudPDF/types/annotation_draft_polyline_line_endings_start.rb new file mode 100644 index 00000000..bb730790 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_line_endings_start.rb @@ -0,0 +1,20 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolylineLineEndingsStart + extend CloudPDF::Internal::Types::Enum + + NONE = "none" + SQUARE = "square" + CIRCLE = "circle" + DIAMOND = "diamond" + OPEN_ARROW = "open-arrow" + CLOSED_ARROW = "closed-arrow" + BUTT = "butt" + R_OPEN_ARROW = "r-open-arrow" + R_CLOSED_ARROW = "r-closed-arrow" + SLASH = "slash" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_measure.rb b/lib/CloudPDF/types/annotation_draft_polyline_measure.rb new file mode 100644 index 00000000..edbb98dc --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_measure.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolylineMeasure < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :subtype + + member -> { CloudPDF::Types::AnnotationDraftPolylineMeasureRectilinear }, key: "RECTILINEAR" + + member -> { CloudPDF::Types::AnnotationDraftPolylineMeasureUnknown }, key: "UNKNOWN" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear.rb b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear.rb new file mode 100644 index 00000000..81b697a6 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolylineMeasureRectilinear < Internal::Types::Model + field :ratio, -> { String }, optional: true, nullable: false + + field :x, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftPolylineMeasureRectilinearXItem] }, optional: false, nullable: false + + field :y, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftPolylineMeasureRectilinearYItem] }, optional: true, nullable: false + + field :distance, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftPolylineMeasureRectilinearDistanceItem] }, optional: false, nullable: false + + field :area, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftPolylineMeasureRectilinearAreaItem] }, optional: false, nullable: false + + field :angle, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftPolylineMeasureRectilinearAngleItem] }, optional: true, nullable: false + + field :slope, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftPolylineMeasureRectilinearSlopeItem] }, optional: true, nullable: false + + field :origin, -> { CloudPDF::Types::AnnotationDraftPolylineMeasureRectilinearOrigin }, optional: true, nullable: false + + field :cyx, -> { Integer }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_angle_item.rb b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_angle_item.rb new file mode 100644 index 00000000..d0946027 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_angle_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolylineMeasureRectilinearAngleItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationDraftPolylineMeasureRectilinearAngleItemFraction }, 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::AnnotationDraftPolylineMeasureRectilinearAngleItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_angle_item_fraction.rb b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_angle_item_fraction.rb new file mode 100644 index 00000000..45d28414 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_angle_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolylineMeasureRectilinearAngleItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_angle_item_label_position.rb b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_angle_item_label_position.rb new file mode 100644 index 00000000..5c745e84 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_angle_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolylineMeasureRectilinearAngleItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_area_item.rb b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_area_item.rb new file mode 100644 index 00000000..640997f3 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_area_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolylineMeasureRectilinearAreaItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationDraftPolylineMeasureRectilinearAreaItemFraction }, 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::AnnotationDraftPolylineMeasureRectilinearAreaItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_area_item_fraction.rb b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_area_item_fraction.rb new file mode 100644 index 00000000..ce22f177 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_area_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolylineMeasureRectilinearAreaItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_area_item_label_position.rb b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_area_item_label_position.rb new file mode 100644 index 00000000..f633a939 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_area_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolylineMeasureRectilinearAreaItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_distance_item.rb b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_distance_item.rb new file mode 100644 index 00000000..6c894cee --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_distance_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolylineMeasureRectilinearDistanceItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationDraftPolylineMeasureRectilinearDistanceItemFraction }, 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::AnnotationDraftPolylineMeasureRectilinearDistanceItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_distance_item_fraction.rb b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_distance_item_fraction.rb new file mode 100644 index 00000000..e200f981 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_distance_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolylineMeasureRectilinearDistanceItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_distance_item_label_position.rb b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_distance_item_label_position.rb new file mode 100644 index 00000000..58008cb4 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_distance_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolylineMeasureRectilinearDistanceItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_origin.rb b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_origin.rb new file mode 100644 index 00000000..5ef09e28 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_origin.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolylineMeasureRectilinearOrigin < 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_draft_polyline_measure_rectilinear_slope_item.rb b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_slope_item.rb new file mode 100644 index 00000000..153df28e --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_slope_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolylineMeasureRectilinearSlopeItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationDraftPolylineMeasureRectilinearSlopeItemFraction }, 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::AnnotationDraftPolylineMeasureRectilinearSlopeItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_slope_item_fraction.rb b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_slope_item_fraction.rb new file mode 100644 index 00000000..bd80f430 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_slope_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolylineMeasureRectilinearSlopeItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_slope_item_label_position.rb b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_slope_item_label_position.rb new file mode 100644 index 00000000..896caed3 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_slope_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolylineMeasureRectilinearSlopeItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_x_item.rb b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_x_item.rb new file mode 100644 index 00000000..f4b2259d --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_x_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolylineMeasureRectilinearXItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationDraftPolylineMeasureRectilinearXItemFraction }, 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::AnnotationDraftPolylineMeasureRectilinearXItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_x_item_fraction.rb b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_x_item_fraction.rb new file mode 100644 index 00000000..855ddacb --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_x_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolylineMeasureRectilinearXItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_x_item_label_position.rb b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_x_item_label_position.rb new file mode 100644 index 00000000..96c0d355 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_x_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolylineMeasureRectilinearXItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_y_item.rb b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_y_item.rb new file mode 100644 index 00000000..1d671bc1 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_y_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolylineMeasureRectilinearYItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationDraftPolylineMeasureRectilinearYItemFraction }, 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::AnnotationDraftPolylineMeasureRectilinearYItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_y_item_fraction.rb b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_y_item_fraction.rb new file mode 100644 index 00000000..9d98207b --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_y_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolylineMeasureRectilinearYItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_y_item_label_position.rb b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_y_item_label_position.rb new file mode 100644 index 00000000..c8e10837 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_measure_rectilinear_y_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolylineMeasureRectilinearYItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_measure_unknown.rb b/lib/CloudPDF/types/annotation_draft_polyline_measure_unknown.rb new file mode 100644 index 00000000..9863d12c --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_measure_unknown.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolylineMeasureUnknown < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :subtype + + member -> { CloudPDF::Types::AnnotationDraftPolylineMeasureUnknownGeospatial }, key: "GEOSPATIAL" + + member -> { CloudPDF::Types::AnnotationDraftPolylineMeasureUnknownUnknown }, key: "UNKNOWN" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_measure_unknown_geospatial.rb b/lib/CloudPDF/types/annotation_draft_polyline_measure_unknown_geospatial.rb new file mode 100644 index 00000000..4e47df37 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_measure_unknown_geospatial.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolylineMeasureUnknownGeospatial < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_measure_unknown_unknown.rb b/lib/CloudPDF/types/annotation_draft_polyline_measure_unknown_unknown.rb new file mode 100644 index 00000000..ed886930 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_measure_unknown_unknown.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolylineMeasureUnknownUnknown < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_rect.rb b/lib/CloudPDF/types/annotation_draft_polyline_rect.rb new file mode 100644 index 00000000..81144187 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolylineRect < 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/annotation_draft_polyline_reply.rb b/lib/CloudPDF/types/annotation_draft_polyline_reply.rb new file mode 100644 index 00000000..862f409c --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolylineReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationDraftPolylineReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_reply_type.rb b/lib/CloudPDF/types/annotation_draft_polyline_reply_type.rb new file mode 100644 index 00000000..3e0d66da --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPolylineReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_polyline_vertices_item.rb b/lib/CloudPDF/types/annotation_draft_polyline_vertices_item.rb new file mode 100644 index 00000000..572e5012 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_polyline_vertices_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPolylineVerticesItem < 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_draft_popup.rb b/lib/CloudPDF/types/annotation_draft_popup.rb new file mode 100644 index 00000000..54d95bc0 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_popup.rb @@ -0,0 +1,71 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPopup < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationDraftPopupRect }, optional: false, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationDraftPopupBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationDraftPopupReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :parent, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :open, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_popup_blend_mode.rb b/lib/CloudPDF/types/annotation_draft_popup_blend_mode.rb new file mode 100644 index 00000000..7e2a026f --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_popup_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPopupBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_popup_rect.rb b/lib/CloudPDF/types/annotation_draft_popup_rect.rb new file mode 100644 index 00000000..cce5d9b8 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_popup_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPopupRect < 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/annotation_draft_popup_reply.rb b/lib/CloudPDF/types/annotation_draft_popup_reply.rb new file mode 100644 index 00000000..184b07de --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_popup_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftPopupReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationDraftPopupReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_popup_reply_type.rb b/lib/CloudPDF/types/annotation_draft_popup_reply_type.rb new file mode 100644 index 00000000..405b0e2a --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_popup_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftPopupReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_redact.rb b/lib/CloudPDF/types/annotation_draft_redact.rb new file mode 100644 index 00000000..5f78d810 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_redact.rb @@ -0,0 +1,87 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftRedact < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationDraftRedactRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationDraftRedactBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationDraftRedactReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :quad_points, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftRedactQuadPointsItem] }, optional: true, nullable: false, api_name: "quadPoints" + + field :interior_color, -> { String }, optional: true, nullable: false, api_name: "interiorColor" + + field :overlay_text, -> { String }, optional: true, nullable: false, api_name: "overlayText" + + field :repeat, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :font_family, -> { String }, optional: true, nullable: false, api_name: "fontFamily" + + field :font_size, -> { Integer }, optional: true, nullable: false, api_name: "fontSize" + + field :font_color, -> { String }, optional: true, nullable: false, api_name: "fontColor" + + field :text_align, -> { CloudPDF::Types::AnnotationDraftRedactTextAlign }, optional: true, nullable: false, api_name: "textAlign" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_redact_blend_mode.rb b/lib/CloudPDF/types/annotation_draft_redact_blend_mode.rb new file mode 100644 index 00000000..e0e4da11 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_redact_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftRedactBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_redact_quad_points_item.rb b/lib/CloudPDF/types/annotation_draft_redact_quad_points_item.rb new file mode 100644 index 00000000..731aa115 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_redact_quad_points_item.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftRedactQuadPointsItem < Internal::Types::Model + field :upper_left, -> { CloudPDF::Types::AnnotationDraftRedactQuadPointsItemUpperLeft }, optional: false, nullable: false, api_name: "upperLeft" + + field :upper_right, -> { CloudPDF::Types::AnnotationDraftRedactQuadPointsItemUpperRight }, optional: false, nullable: false, api_name: "upperRight" + + field :lower_left, -> { CloudPDF::Types::AnnotationDraftRedactQuadPointsItemLowerLeft }, optional: false, nullable: false, api_name: "lowerLeft" + + field :lower_right, -> { CloudPDF::Types::AnnotationDraftRedactQuadPointsItemLowerRight }, optional: false, nullable: false, api_name: "lowerRight" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_redact_quad_points_item_lower_left.rb b/lib/CloudPDF/types/annotation_draft_redact_quad_points_item_lower_left.rb new file mode 100644 index 00000000..b9a9e1d5 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_redact_quad_points_item_lower_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftRedactQuadPointsItemLowerLeft < 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_draft_redact_quad_points_item_lower_right.rb b/lib/CloudPDF/types/annotation_draft_redact_quad_points_item_lower_right.rb new file mode 100644 index 00000000..e942fce8 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_redact_quad_points_item_lower_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftRedactQuadPointsItemLowerRight < 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_draft_redact_quad_points_item_upper_left.rb b/lib/CloudPDF/types/annotation_draft_redact_quad_points_item_upper_left.rb new file mode 100644 index 00000000..398716fe --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_redact_quad_points_item_upper_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftRedactQuadPointsItemUpperLeft < 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_draft_redact_quad_points_item_upper_right.rb b/lib/CloudPDF/types/annotation_draft_redact_quad_points_item_upper_right.rb new file mode 100644 index 00000000..56eba76d --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_redact_quad_points_item_upper_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftRedactQuadPointsItemUpperRight < 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_draft_redact_rect.rb b/lib/CloudPDF/types/annotation_draft_redact_rect.rb new file mode 100644 index 00000000..2004a361 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_redact_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftRedactRect < 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/annotation_draft_redact_reply.rb b/lib/CloudPDF/types/annotation_draft_redact_reply.rb new file mode 100644 index 00000000..68556670 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_redact_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftRedactReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationDraftRedactReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_redact_reply_type.rb b/lib/CloudPDF/types/annotation_draft_redact_reply_type.rb new file mode 100644 index 00000000..9e81343f --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_redact_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftRedactReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_redact_text_align.rb b/lib/CloudPDF/types/annotation_draft_redact_text_align.rb new file mode 100644 index 00000000..39e5500a --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_redact_text_align.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftRedactTextAlign + extend CloudPDF::Internal::Types::Enum + + LEFT = "left" + CENTER = "center" + RIGHT = "right" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_square.rb b/lib/CloudPDF/types/annotation_draft_square.rb new file mode 100644 index 00000000..cfcfec1a --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_square.rb @@ -0,0 +1,85 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftSquare < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationDraftSquareRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationDraftSquareBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationDraftSquareReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :stroke_width, -> { Integer }, optional: true, nullable: false, api_name: "strokeWidth" + + field :border_style, -> { CloudPDF::Types::AnnotationDraftSquareBorderStyle }, optional: true, nullable: false, api_name: "borderStyle" + + field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" + + field :interior_color, -> { String }, optional: true, nullable: false, api_name: "interiorColor" + + field :box, -> { CloudPDF::Types::AnnotationDraftSquareBox }, optional: true, nullable: false + + field :rotation, -> { Integer }, optional: true, nullable: false + + field :cloudy_intensity, -> { Integer }, optional: true, nullable: false, api_name: "cloudyIntensity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_square_blend_mode.rb b/lib/CloudPDF/types/annotation_draft_square_blend_mode.rb new file mode 100644 index 00000000..bf1be030 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_square_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftSquareBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_square_border_style.rb b/lib/CloudPDF/types/annotation_draft_square_border_style.rb new file mode 100644 index 00000000..8aa07760 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_square_border_style.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftSquareBorderStyle + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_square_box.rb b/lib/CloudPDF/types/annotation_draft_square_box.rb new file mode 100644 index 00000000..c216bc81 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_square_box.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftSquareBox < 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/annotation_draft_square_rect.rb b/lib/CloudPDF/types/annotation_draft_square_rect.rb new file mode 100644 index 00000000..f50b3bb2 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_square_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftSquareRect < 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/annotation_draft_square_reply.rb b/lib/CloudPDF/types/annotation_draft_square_reply.rb new file mode 100644 index 00000000..4c075438 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_square_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftSquareReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationDraftSquareReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_square_reply_type.rb b/lib/CloudPDF/types/annotation_draft_square_reply_type.rb new file mode 100644 index 00000000..d4524e72 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_square_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftSquareReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_squiggly.rb b/lib/CloudPDF/types/annotation_draft_squiggly.rb new file mode 100644 index 00000000..6e5576b4 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_squiggly.rb @@ -0,0 +1,73 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftSquiggly < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationDraftSquigglyRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationDraftSquigglyBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationDraftSquigglyReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :quad_points, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftSquigglyQuadPointsItem] }, optional: false, nullable: false, api_name: "quadPoints" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_squiggly_blend_mode.rb b/lib/CloudPDF/types/annotation_draft_squiggly_blend_mode.rb new file mode 100644 index 00000000..af913d2b --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_squiggly_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftSquigglyBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_squiggly_quad_points_item.rb b/lib/CloudPDF/types/annotation_draft_squiggly_quad_points_item.rb new file mode 100644 index 00000000..246e88b8 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_squiggly_quad_points_item.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftSquigglyQuadPointsItem < Internal::Types::Model + field :upper_left, -> { CloudPDF::Types::AnnotationDraftSquigglyQuadPointsItemUpperLeft }, optional: false, nullable: false, api_name: "upperLeft" + + field :upper_right, -> { CloudPDF::Types::AnnotationDraftSquigglyQuadPointsItemUpperRight }, optional: false, nullable: false, api_name: "upperRight" + + field :lower_left, -> { CloudPDF::Types::AnnotationDraftSquigglyQuadPointsItemLowerLeft }, optional: false, nullable: false, api_name: "lowerLeft" + + field :lower_right, -> { CloudPDF::Types::AnnotationDraftSquigglyQuadPointsItemLowerRight }, optional: false, nullable: false, api_name: "lowerRight" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_squiggly_quad_points_item_lower_left.rb b/lib/CloudPDF/types/annotation_draft_squiggly_quad_points_item_lower_left.rb new file mode 100644 index 00000000..c1793c7d --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_squiggly_quad_points_item_lower_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftSquigglyQuadPointsItemLowerLeft < 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_draft_squiggly_quad_points_item_lower_right.rb b/lib/CloudPDF/types/annotation_draft_squiggly_quad_points_item_lower_right.rb new file mode 100644 index 00000000..a9e7f056 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_squiggly_quad_points_item_lower_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftSquigglyQuadPointsItemLowerRight < 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_draft_squiggly_quad_points_item_upper_left.rb b/lib/CloudPDF/types/annotation_draft_squiggly_quad_points_item_upper_left.rb new file mode 100644 index 00000000..d691c88d --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_squiggly_quad_points_item_upper_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftSquigglyQuadPointsItemUpperLeft < 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_draft_squiggly_quad_points_item_upper_right.rb b/lib/CloudPDF/types/annotation_draft_squiggly_quad_points_item_upper_right.rb new file mode 100644 index 00000000..60ceeeba --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_squiggly_quad_points_item_upper_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftSquigglyQuadPointsItemUpperRight < 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_draft_squiggly_rect.rb b/lib/CloudPDF/types/annotation_draft_squiggly_rect.rb new file mode 100644 index 00000000..7aa681ad --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_squiggly_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftSquigglyRect < 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/annotation_draft_squiggly_reply.rb b/lib/CloudPDF/types/annotation_draft_squiggly_reply.rb new file mode 100644 index 00000000..d02b4405 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_squiggly_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftSquigglyReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationDraftSquigglyReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_squiggly_reply_type.rb b/lib/CloudPDF/types/annotation_draft_squiggly_reply_type.rb new file mode 100644 index 00000000..9a01090d --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_squiggly_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftSquigglyReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_stamp.rb b/lib/CloudPDF/types/annotation_draft_stamp.rb new file mode 100644 index 00000000..30163560 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_stamp.rb @@ -0,0 +1,77 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftStamp < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationDraftStampRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationDraftStampBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationDraftStampReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :box, -> { CloudPDF::Types::AnnotationDraftStampBox }, optional: true, nullable: false + + field :rotation, -> { Integer }, optional: true, nullable: false + + field :name, -> { String }, optional: true, nullable: false + + field :fit, -> { CloudPDF::Types::AnnotationDraftStampFit }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_stamp_blend_mode.rb b/lib/CloudPDF/types/annotation_draft_stamp_blend_mode.rb new file mode 100644 index 00000000..404111f3 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_stamp_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftStampBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_stamp_box.rb b/lib/CloudPDF/types/annotation_draft_stamp_box.rb new file mode 100644 index 00000000..582dc549 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_stamp_box.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftStampBox < 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/annotation_draft_stamp_fit.rb b/lib/CloudPDF/types/annotation_draft_stamp_fit.rb new file mode 100644 index 00000000..382db0c0 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_stamp_fit.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftStampFit + extend CloudPDF::Internal::Types::Enum + + CONTAIN = "contain" + COVER = "cover" + FILL = "fill" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_stamp_rect.rb b/lib/CloudPDF/types/annotation_draft_stamp_rect.rb new file mode 100644 index 00000000..f2687d65 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_stamp_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftStampRect < 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/annotation_draft_stamp_reply.rb b/lib/CloudPDF/types/annotation_draft_stamp_reply.rb new file mode 100644 index 00000000..45b661f6 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_stamp_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftStampReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationDraftStampReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_stamp_reply_type.rb b/lib/CloudPDF/types/annotation_draft_stamp_reply_type.rb new file mode 100644 index 00000000..32d8eb38 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_stamp_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftStampReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_strikeout.rb b/lib/CloudPDF/types/annotation_draft_strikeout.rb new file mode 100644 index 00000000..2fceddcb --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_strikeout.rb @@ -0,0 +1,75 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftStrikeout < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationDraftStrikeoutRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationDraftStrikeoutBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationDraftStrikeoutReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :quad_points, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftStrikeoutQuadPointsItem] }, optional: false, nullable: false, api_name: "quadPoints" + + field :intent, -> { CloudPDF::Types::AnnotationDraftStrikeoutIntent }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_strikeout_blend_mode.rb b/lib/CloudPDF/types/annotation_draft_strikeout_blend_mode.rb new file mode 100644 index 00000000..7171b0f1 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_strikeout_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftStrikeoutBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_strikeout_intent.rb b/lib/CloudPDF/types/annotation_draft_strikeout_intent.rb new file mode 100644 index 00000000..c21f304b --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_strikeout_intent.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftStrikeoutIntent + extend CloudPDF::Internal::Types::Enum + + STRIKEOUT_TEXT_EDIT = "strikeout-text-edit" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_strikeout_quad_points_item.rb b/lib/CloudPDF/types/annotation_draft_strikeout_quad_points_item.rb new file mode 100644 index 00000000..4300fe45 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_strikeout_quad_points_item.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftStrikeoutQuadPointsItem < Internal::Types::Model + field :upper_left, -> { CloudPDF::Types::AnnotationDraftStrikeoutQuadPointsItemUpperLeft }, optional: false, nullable: false, api_name: "upperLeft" + + field :upper_right, -> { CloudPDF::Types::AnnotationDraftStrikeoutQuadPointsItemUpperRight }, optional: false, nullable: false, api_name: "upperRight" + + field :lower_left, -> { CloudPDF::Types::AnnotationDraftStrikeoutQuadPointsItemLowerLeft }, optional: false, nullable: false, api_name: "lowerLeft" + + field :lower_right, -> { CloudPDF::Types::AnnotationDraftStrikeoutQuadPointsItemLowerRight }, optional: false, nullable: false, api_name: "lowerRight" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_strikeout_quad_points_item_lower_left.rb b/lib/CloudPDF/types/annotation_draft_strikeout_quad_points_item_lower_left.rb new file mode 100644 index 00000000..feeab484 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_strikeout_quad_points_item_lower_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftStrikeoutQuadPointsItemLowerLeft < 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_draft_strikeout_quad_points_item_lower_right.rb b/lib/CloudPDF/types/annotation_draft_strikeout_quad_points_item_lower_right.rb new file mode 100644 index 00000000..0f2eead8 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_strikeout_quad_points_item_lower_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftStrikeoutQuadPointsItemLowerRight < 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_draft_strikeout_quad_points_item_upper_left.rb b/lib/CloudPDF/types/annotation_draft_strikeout_quad_points_item_upper_left.rb new file mode 100644 index 00000000..99617f86 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_strikeout_quad_points_item_upper_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftStrikeoutQuadPointsItemUpperLeft < 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_draft_strikeout_quad_points_item_upper_right.rb b/lib/CloudPDF/types/annotation_draft_strikeout_quad_points_item_upper_right.rb new file mode 100644 index 00000000..a540204f --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_strikeout_quad_points_item_upper_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftStrikeoutQuadPointsItemUpperRight < 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_draft_strikeout_rect.rb b/lib/CloudPDF/types/annotation_draft_strikeout_rect.rb new file mode 100644 index 00000000..1725fd3a --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_strikeout_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftStrikeoutRect < 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/annotation_draft_strikeout_reply.rb b/lib/CloudPDF/types/annotation_draft_strikeout_reply.rb new file mode 100644 index 00000000..b5fce22e --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_strikeout_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftStrikeoutReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationDraftStrikeoutReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_strikeout_reply_type.rb b/lib/CloudPDF/types/annotation_draft_strikeout_reply_type.rb new file mode 100644 index 00000000..4dc8290e --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_strikeout_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftStrikeoutReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_text.rb b/lib/CloudPDF/types/annotation_draft_text.rb new file mode 100644 index 00000000..540eac14 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_text.rb @@ -0,0 +1,79 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftText < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationDraftTextRect }, optional: false, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationDraftTextBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationDraftTextReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :icon, -> { CloudPDF::Types::AnnotationDraftTextIcon }, optional: true, nullable: false + + field :open, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :state, -> { String }, optional: true, nullable: false + + field :state_model, -> { String }, optional: true, nullable: false, api_name: "stateModel" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_text_blend_mode.rb b/lib/CloudPDF/types/annotation_draft_text_blend_mode.rb new file mode 100644 index 00000000..ed8677d4 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_text_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftTextBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_text_icon.rb b/lib/CloudPDF/types/annotation_draft_text_icon.rb new file mode 100644 index 00000000..eb6fdc20 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_text_icon.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftTextIcon + extend CloudPDF::Internal::Types::Enum + + COMMENT = "comment" + KEY = "key" + NOTE = "note" + HELP = "help" + NEW_PARAGRAPH = "new-paragraph" + PARAGRAPH = "paragraph" + INSERT = "insert" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_text_rect.rb b/lib/CloudPDF/types/annotation_draft_text_rect.rb new file mode 100644 index 00000000..b2c8e685 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_text_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftTextRect < 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/annotation_draft_text_reply.rb b/lib/CloudPDF/types/annotation_draft_text_reply.rb new file mode 100644 index 00000000..a19f543d --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_text_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftTextReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationDraftTextReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_text_reply_type.rb b/lib/CloudPDF/types/annotation_draft_text_reply_type.rb new file mode 100644 index 00000000..51693d44 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_text_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftTextReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_underline.rb b/lib/CloudPDF/types/annotation_draft_underline.rb new file mode 100644 index 00000000..8d2180b8 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_underline.rb @@ -0,0 +1,73 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftUnderline < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationDraftUnderlineRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationDraftUnderlineBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationDraftUnderlineReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :quad_points, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftUnderlineQuadPointsItem] }, optional: false, nullable: false, api_name: "quadPoints" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_underline_blend_mode.rb b/lib/CloudPDF/types/annotation_draft_underline_blend_mode.rb new file mode 100644 index 00000000..9dfec907 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_underline_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftUnderlineBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_underline_quad_points_item.rb b/lib/CloudPDF/types/annotation_draft_underline_quad_points_item.rb new file mode 100644 index 00000000..16fa1e3a --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_underline_quad_points_item.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftUnderlineQuadPointsItem < Internal::Types::Model + field :upper_left, -> { CloudPDF::Types::AnnotationDraftUnderlineQuadPointsItemUpperLeft }, optional: false, nullable: false, api_name: "upperLeft" + + field :upper_right, -> { CloudPDF::Types::AnnotationDraftUnderlineQuadPointsItemUpperRight }, optional: false, nullable: false, api_name: "upperRight" + + field :lower_left, -> { CloudPDF::Types::AnnotationDraftUnderlineQuadPointsItemLowerLeft }, optional: false, nullable: false, api_name: "lowerLeft" + + field :lower_right, -> { CloudPDF::Types::AnnotationDraftUnderlineQuadPointsItemLowerRight }, optional: false, nullable: false, api_name: "lowerRight" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_underline_quad_points_item_lower_left.rb b/lib/CloudPDF/types/annotation_draft_underline_quad_points_item_lower_left.rb new file mode 100644 index 00000000..bf5feff9 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_underline_quad_points_item_lower_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftUnderlineQuadPointsItemLowerLeft < 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_draft_underline_quad_points_item_lower_right.rb b/lib/CloudPDF/types/annotation_draft_underline_quad_points_item_lower_right.rb new file mode 100644 index 00000000..c3c5512e --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_underline_quad_points_item_lower_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftUnderlineQuadPointsItemLowerRight < 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_draft_underline_quad_points_item_upper_left.rb b/lib/CloudPDF/types/annotation_draft_underline_quad_points_item_upper_left.rb new file mode 100644 index 00000000..328081a8 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_underline_quad_points_item_upper_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftUnderlineQuadPointsItemUpperLeft < 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_draft_underline_quad_points_item_upper_right.rb b/lib/CloudPDF/types/annotation_draft_underline_quad_points_item_upper_right.rb new file mode 100644 index 00000000..3bc2536e --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_underline_quad_points_item_upper_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftUnderlineQuadPointsItemUpperRight < 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_draft_underline_rect.rb b/lib/CloudPDF/types/annotation_draft_underline_rect.rb new file mode 100644 index 00000000..86346bcf --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_underline_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftUnderlineRect < 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/annotation_draft_underline_reply.rb b/lib/CloudPDF/types/annotation_draft_underline_reply.rb new file mode 100644 index 00000000..9bb82dee --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_underline_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftUnderlineReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationDraftUnderlineReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_underline_reply_type.rb b/lib/CloudPDF/types/annotation_draft_underline_reply_type.rb new file mode 100644 index 00000000..bec86b08 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_underline_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftUnderlineReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_widget.rb b/lib/CloudPDF/types/annotation_draft_widget.rb new file mode 100644 index 00000000..19a215f7 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_widget.rb @@ -0,0 +1,97 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftWidget < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationDraftWidgetRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationDraftWidgetBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationDraftWidgetReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { CloudPDF::Types::WidgetActionsPatch }, optional: true, nullable: false + + field :box, -> { CloudPDF::Types::AnnotationDraftWidgetBox }, optional: true, nullable: false + + field :rotation, -> { Integer }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :interior_color, -> { String }, optional: true, nullable: false, api_name: "interiorColor" + + field :stroke_width, -> { Integer }, optional: true, nullable: false, api_name: "strokeWidth" + + field :border_style, -> { CloudPDF::Types::AnnotationDraftWidgetBorderStyle }, optional: true, nullable: false, api_name: "borderStyle" + + field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" + + field :font_family, -> { String }, optional: true, nullable: false, api_name: "fontFamily" + + field :font_size, -> { Integer }, optional: true, nullable: false, api_name: "fontSize" + + field :font_color, -> { String }, optional: true, nullable: false, api_name: "fontColor" + + field :text_align, -> { CloudPDF::Types::AnnotationDraftWidgetTextAlign }, optional: true, nullable: false, api_name: "textAlign" + + field :caption, -> { String }, optional: true, nullable: false + + field :check_style, -> { CloudPDF::Types::AnnotationDraftWidgetCheckStyle }, optional: true, nullable: false, api_name: "checkStyle" + + field :field, -> { Object }, optional: true, nullable: false + + field :field_family, -> { Object }, optional: true, nullable: false, api_name: "fieldFamily" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_widget_blend_mode.rb b/lib/CloudPDF/types/annotation_draft_widget_blend_mode.rb new file mode 100644 index 00000000..b71b85f4 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_widget_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftWidgetBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_widget_border_style.rb b/lib/CloudPDF/types/annotation_draft_widget_border_style.rb new file mode 100644 index 00000000..590afaed --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_widget_border_style.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftWidgetBorderStyle + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + BEVELED = "beveled" + INSET = "inset" + UNDERLINE = "underline" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_widget_box.rb b/lib/CloudPDF/types/annotation_draft_widget_box.rb new file mode 100644 index 00000000..5d3907ad --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_widget_box.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftWidgetBox < 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/annotation_draft_widget_check_style.rb b/lib/CloudPDF/types/annotation_draft_widget_check_style.rb new file mode 100644 index 00000000..a54f1893 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_widget_check_style.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftWidgetCheckStyle + extend CloudPDF::Internal::Types::Enum + + CHECK = "check" + CROSS = "cross" + STAR = "star" + CIRCLE = "circle" + SQUARE = "square" + DIAMOND = "diamond" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_widget_rect.rb b/lib/CloudPDF/types/annotation_draft_widget_rect.rb new file mode 100644 index 00000000..e4967157 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_widget_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftWidgetRect < 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/annotation_draft_widget_reply.rb b/lib/CloudPDF/types/annotation_draft_widget_reply.rb new file mode 100644 index 00000000..b0ae6828 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_widget_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationDraftWidgetReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationDraftWidgetReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_widget_reply_type.rb b/lib/CloudPDF/types/annotation_draft_widget_reply_type.rb new file mode 100644 index 00000000..48b78894 --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_widget_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftWidgetReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_draft_widget_text_align.rb b/lib/CloudPDF/types/annotation_draft_widget_text_align.rb new file mode 100644 index 00000000..9db0478a --- /dev/null +++ b/lib/CloudPDF/types/annotation_draft_widget_text_align.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationDraftWidgetTextAlign + extend CloudPDF::Internal::Types::Enum + + LEFT = "left" + CENTER = "center" + RIGHT = "right" + end + end +end diff --git a/lib/CloudPDF/types/annotation_file_attachment.rb b/lib/CloudPDF/types/annotation_file_attachment.rb new file mode 100644 index 00000000..ca8b2c6b --- /dev/null +++ b/lib/CloudPDF/types/annotation_file_attachment.rb @@ -0,0 +1,75 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationFileAttachment < Internal::Types::Model + field :ref, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :has_appearance, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { String }, optional: false, nullable: true, api_name: "appearanceState" + + field :nm, -> { String }, optional: false, nullable: true + + field :rect, -> { CloudPDF::Types::AnnotationFileAttachmentRect }, optional: false, nullable: false + + field :contents, -> { String }, optional: false, nullable: true + + field :subject, -> { String }, optional: false, nullable: true + + field :blend_mode, -> { CloudPDF::Types::AnnotationFileAttachmentBlendMode }, optional: false, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationFileAttachmentReply }, optional: false, nullable: true + + field :popup, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: true + + field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId" + + field :author, -> { String }, optional: false, nullable: true + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :modified_at, -> { String }, optional: false, nullable: true, api_name: "modifiedAt" + + field :user_id, -> { String }, optional: false, nullable: true, api_name: "userId" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + + field :modified_by, -> { String }, optional: false, nullable: true, api_name: "modifiedBy" + + field :imported_by, -> { String }, optional: false, nullable: true, api_name: "importedBy" + + field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true + + field :color, -> { String }, optional: false, nullable: false + + field :opacity, -> { Integer }, optional: false, nullable: false + + field :icon, -> { CloudPDF::Types::AnnotationFileAttachmentIcon }, optional: false, nullable: false + + field :file, -> { CloudPDF::Types::AnnotationFileAttachmentFile }, optional: false, nullable: true + end + end +end diff --git a/lib/CloudPDF/types/annotation_file_attachment_blend_mode.rb b/lib/CloudPDF/types/annotation_file_attachment_blend_mode.rb new file mode 100644 index 00000000..83883c72 --- /dev/null +++ b/lib/CloudPDF/types/annotation_file_attachment_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationFileAttachmentBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_file_attachment_file.rb b/lib/CloudPDF/types/annotation_file_attachment_file.rb new file mode 100644 index 00000000..214ba5bf --- /dev/null +++ b/lib/CloudPDF/types/annotation_file_attachment_file.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationFileAttachmentFile < Internal::Types::Model + field :name, -> { String }, optional: false, nullable: false + + field :mime_type, -> { String }, optional: false, nullable: true, api_name: "mimeType" + + field :description, -> { String }, optional: false, nullable: true + + field :size, -> { Integer }, optional: false, nullable: true + + field :checksum, -> { String }, optional: false, nullable: true + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :modified_at, -> { String }, optional: false, nullable: true, api_name: "modifiedAt" + end + end +end diff --git a/lib/CloudPDF/types/annotation_file_attachment_icon.rb b/lib/CloudPDF/types/annotation_file_attachment_icon.rb new file mode 100644 index 00000000..000baad7 --- /dev/null +++ b/lib/CloudPDF/types/annotation_file_attachment_icon.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationFileAttachmentIcon + extend CloudPDF::Internal::Types::Enum + + PUSH_PIN = "push-pin" + PAPERCLIP = "paperclip" + GRAPH = "graph" + TAG = "tag" + end + end +end diff --git a/lib/CloudPDF/types/annotation_file_attachment_rect.rb b/lib/CloudPDF/types/annotation_file_attachment_rect.rb new file mode 100644 index 00000000..8fa28f9e --- /dev/null +++ b/lib/CloudPDF/types/annotation_file_attachment_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationFileAttachmentRect < 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/annotation_file_attachment_reply.rb b/lib/CloudPDF/types/annotation_file_attachment_reply.rb new file mode 100644 index 00000000..143ca853 --- /dev/null +++ b/lib/CloudPDF/types/annotation_file_attachment_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationFileAttachmentReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationFileAttachmentReplyType }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_file_attachment_reply_type.rb b/lib/CloudPDF/types/annotation_file_attachment_reply_type.rb new file mode 100644 index 00000000..aa770d82 --- /dev/null +++ b/lib/CloudPDF/types/annotation_file_attachment_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationFileAttachmentReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_free_text.rb b/lib/CloudPDF/types/annotation_free_text.rb new file mode 100644 index 00000000..534d3a67 --- /dev/null +++ b/lib/CloudPDF/types/annotation_free_text.rb @@ -0,0 +1,103 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationFreeText < Internal::Types::Model + field :ref, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :has_appearance, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { String }, optional: false, nullable: true, api_name: "appearanceState" + + field :nm, -> { String }, optional: false, nullable: true + + field :rect, -> { CloudPDF::Types::AnnotationFreeTextRect }, optional: false, nullable: false + + field :contents, -> { String }, optional: false, nullable: true + + field :subject, -> { String }, optional: false, nullable: true + + field :blend_mode, -> { CloudPDF::Types::AnnotationFreeTextBlendMode }, optional: false, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationFreeTextReply }, optional: false, nullable: true + + field :popup, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: true + + field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId" + + field :author, -> { String }, optional: false, nullable: true + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :modified_at, -> { String }, optional: false, nullable: true, api_name: "modifiedAt" + + field :user_id, -> { String }, optional: false, nullable: true, api_name: "userId" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + + field :modified_by, -> { String }, optional: false, nullable: true, api_name: "modifiedBy" + + field :imported_by, -> { String }, optional: false, nullable: true, api_name: "importedBy" + + field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true + + field :box, -> { CloudPDF::Types::AnnotationFreeTextBox }, optional: false, nullable: false + + field :rotation, -> { Integer }, optional: false, nullable: true + + field :intent, -> { CloudPDF::Types::AnnotationFreeTextIntent }, optional: false, nullable: false + + field :font_family, -> { String }, optional: false, nullable: false, api_name: "fontFamily" + + field :font_size, -> { Integer }, optional: false, nullable: false, api_name: "fontSize" + + field :text_align, -> { CloudPDF::Types::AnnotationFreeTextTextAlign }, optional: false, nullable: false, api_name: "textAlign" + + field :vertical_align, -> { CloudPDF::Types::AnnotationFreeTextVerticalAlign }, optional: false, nullable: false, api_name: "verticalAlign" + + field :rich_text, -> { CloudPDF::Types::AnnotationFreeTextRichText }, optional: false, nullable: false, api_name: "richText" + + field :color, -> { String }, optional: false, nullable: false + + field :font_color, -> { String }, optional: false, nullable: false, api_name: "fontColor" + + field :interior_color, -> { String }, optional: false, nullable: true, api_name: "interiorColor" + + field :opacity, -> { Integer }, optional: false, nullable: false + + field :stroke_width, -> { Integer }, optional: false, nullable: false, api_name: "strokeWidth" + + field :border_style, -> { CloudPDF::Types::AnnotationFreeTextBorderStyle }, optional: false, nullable: false, api_name: "borderStyle" + + field :dash_array, -> { Internal::Types::Array[Integer] }, optional: false, nullable: true, api_name: "dashArray" + + field :cloudy_intensity, -> { Integer }, optional: false, nullable: true, api_name: "cloudyIntensity" + + field :callout_line, -> { Internal::Types::Array[Object] }, optional: false, nullable: true, api_name: "calloutLine" + + field :line_ending, -> { CloudPDF::Types::AnnotationFreeTextLineEnding }, optional: false, nullable: true, api_name: "lineEnding" + end + end +end diff --git a/lib/CloudPDF/types/annotation_free_text_blend_mode.rb b/lib/CloudPDF/types/annotation_free_text_blend_mode.rb new file mode 100644 index 00000000..2bc538a2 --- /dev/null +++ b/lib/CloudPDF/types/annotation_free_text_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationFreeTextBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_free_text_border_style.rb b/lib/CloudPDF/types/annotation_free_text_border_style.rb new file mode 100644 index 00000000..86d2863a --- /dev/null +++ b/lib/CloudPDF/types/annotation_free_text_border_style.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationFreeTextBorderStyle + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + BEVELED = "beveled" + INSET = "inset" + end + end +end diff --git a/lib/CloudPDF/types/annotation_free_text_box.rb b/lib/CloudPDF/types/annotation_free_text_box.rb new file mode 100644 index 00000000..3689135c --- /dev/null +++ b/lib/CloudPDF/types/annotation_free_text_box.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationFreeTextBox < 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/annotation_free_text_intent.rb b/lib/CloudPDF/types/annotation_free_text_intent.rb new file mode 100644 index 00000000..9e17c14f --- /dev/null +++ b/lib/CloudPDF/types/annotation_free_text_intent.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationFreeTextIntent + extend CloudPDF::Internal::Types::Enum + + FREE_TEXT = "free-text" + FREE_TEXT_CALLOUT = "free-text-callout" + FREE_TEXT_TYPEWRITER = "free-text-typewriter" + end + end +end diff --git a/lib/CloudPDF/types/annotation_free_text_line_ending.rb b/lib/CloudPDF/types/annotation_free_text_line_ending.rb new file mode 100644 index 00000000..34cfced5 --- /dev/null +++ b/lib/CloudPDF/types/annotation_free_text_line_ending.rb @@ -0,0 +1,20 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationFreeTextLineEnding + extend CloudPDF::Internal::Types::Enum + + NONE = "none" + SQUARE = "square" + CIRCLE = "circle" + DIAMOND = "diamond" + OPEN_ARROW = "open-arrow" + CLOSED_ARROW = "closed-arrow" + BUTT = "butt" + R_OPEN_ARROW = "r-open-arrow" + R_CLOSED_ARROW = "r-closed-arrow" + SLASH = "slash" + end + end +end diff --git a/lib/CloudPDF/types/annotation_free_text_rect.rb b/lib/CloudPDF/types/annotation_free_text_rect.rb new file mode 100644 index 00000000..e6d18cc4 --- /dev/null +++ b/lib/CloudPDF/types/annotation_free_text_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationFreeTextRect < 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/annotation_free_text_reply.rb b/lib/CloudPDF/types/annotation_free_text_reply.rb new file mode 100644 index 00000000..53e7aa6b --- /dev/null +++ b/lib/CloudPDF/types/annotation_free_text_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationFreeTextReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationFreeTextReplyType }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_free_text_reply_type.rb b/lib/CloudPDF/types/annotation_free_text_reply_type.rb new file mode 100644 index 00000000..50e5dc7e --- /dev/null +++ b/lib/CloudPDF/types/annotation_free_text_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationFreeTextReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_free_text_rich_text.rb b/lib/CloudPDF/types/annotation_free_text_rich_text.rb new file mode 100644 index 00000000..2b70c211 --- /dev/null +++ b/lib/CloudPDF/types/annotation_free_text_rich_text.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationFreeTextRichText < Internal::Types::Model + field :body, -> { CloudPDF::Types::AnnotationFreeTextRichTextBody }, optional: false, nullable: false + + field :paragraphs, -> { Internal::Types::Array[CloudPDF::Types::AnnotationFreeTextRichTextParagraphsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_free_text_rich_text_body.rb b/lib/CloudPDF/types/annotation_free_text_rich_text_body.rb new file mode 100644 index 00000000..1acb6280 --- /dev/null +++ b/lib/CloudPDF/types/annotation_free_text_rich_text_body.rb @@ -0,0 +1,37 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationFreeTextRichTextBody < Internal::Types::Model + field :family, -> { String }, optional: false, nullable: false + + field :weight, -> { Integer }, optional: false, nullable: false + + field :italic, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :size, -> { Integer }, optional: false, nullable: false + + field :color, -> { String }, optional: false, nullable: false + + field :decoration, -> { Internal::Types::Array[CloudPDF::Types::AnnotationFreeTextRichTextBodyDecorationItem] }, optional: false, nullable: false + + field :script, -> { CloudPDF::Types::AnnotationFreeTextRichTextBodyScript }, optional: false, nullable: false + + field :letter_spacing, -> { Integer }, optional: false, nullable: false, api_name: "letterSpacing" + + field :horizontal_scale, -> { Integer }, optional: false, nullable: false, api_name: "horizontalScale" + + field :unknown, -> { String }, optional: true, nullable: false + + field :align, -> { CloudPDF::Types::AnnotationFreeTextRichTextBodyAlign }, optional: false, nullable: false + + field :dir, -> { CloudPDF::Types::AnnotationFreeTextRichTextBodyDir }, optional: false, nullable: false + + field :line_height, -> { Integer }, optional: true, nullable: false, api_name: "lineHeight" + + field :margins, -> { CloudPDF::Types::AnnotationFreeTextRichTextBodyMargins }, optional: true, nullable: false + + field :text_indent, -> { Integer }, optional: true, nullable: false, api_name: "textIndent" + end + end +end diff --git a/lib/CloudPDF/types/annotation_free_text_rich_text_body_align.rb b/lib/CloudPDF/types/annotation_free_text_rich_text_body_align.rb new file mode 100644 index 00000000..f4237df0 --- /dev/null +++ b/lib/CloudPDF/types/annotation_free_text_rich_text_body_align.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationFreeTextRichTextBodyAlign + extend CloudPDF::Internal::Types::Enum + + LEFT = "left" + CENTER = "center" + RIGHT = "right" + JUSTIFY = "justify" + end + end +end diff --git a/lib/CloudPDF/types/annotation_free_text_rich_text_body_decoration_item.rb b/lib/CloudPDF/types/annotation_free_text_rich_text_body_decoration_item.rb new file mode 100644 index 00000000..0e761c56 --- /dev/null +++ b/lib/CloudPDF/types/annotation_free_text_rich_text_body_decoration_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationFreeTextRichTextBodyDecorationItem + extend CloudPDF::Internal::Types::Enum + + UNDERLINE = "underline" + LINE_THROUGH = "line-through" + WORD = "word" + end + end +end diff --git a/lib/CloudPDF/types/annotation_free_text_rich_text_body_dir.rb b/lib/CloudPDF/types/annotation_free_text_rich_text_body_dir.rb new file mode 100644 index 00000000..d2adfd4e --- /dev/null +++ b/lib/CloudPDF/types/annotation_free_text_rich_text_body_dir.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationFreeTextRichTextBodyDir + extend CloudPDF::Internal::Types::Enum + + LTR = "ltr" + RTL = "rtl" + end + end +end diff --git a/lib/CloudPDF/types/annotation_free_text_rich_text_body_margins.rb b/lib/CloudPDF/types/annotation_free_text_rich_text_body_margins.rb new file mode 100644 index 00000000..821584e6 --- /dev/null +++ b/lib/CloudPDF/types/annotation_free_text_rich_text_body_margins.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationFreeTextRichTextBodyMargins < Internal::Types::Model + field :top, -> { Integer }, optional: false, nullable: false + + field :bottom, -> { Integer }, optional: false, nullable: false + + field :left, -> { Integer }, optional: false, nullable: false + + field :right, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_free_text_rich_text_body_script.rb b/lib/CloudPDF/types/annotation_free_text_rich_text_body_script.rb new file mode 100644 index 00000000..1d1a3e23 --- /dev/null +++ b/lib/CloudPDF/types/annotation_free_text_rich_text_body_script.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationFreeTextRichTextBodyScript + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + SUB = "sub" + SUPER = "super" + end + end +end diff --git a/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item.rb b/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item.rb new file mode 100644 index 00000000..79394dc8 --- /dev/null +++ b/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationFreeTextRichTextParagraphsItem < Internal::Types::Model + field :align, -> { CloudPDF::Types::AnnotationFreeTextRichTextParagraphsItemAlign }, optional: true, nullable: false + + field :dir, -> { CloudPDF::Types::AnnotationFreeTextRichTextParagraphsItemDir }, optional: true, nullable: false + + field :line_height, -> { Integer }, optional: true, nullable: false, api_name: "lineHeight" + + field :margins, -> { CloudPDF::Types::AnnotationFreeTextRichTextParagraphsItemMargins }, optional: true, nullable: false + + field :text_indent, -> { Integer }, optional: true, nullable: false, api_name: "textIndent" + + field :unknown, -> { String }, optional: true, nullable: false + + field :runs, -> { Internal::Types::Array[CloudPDF::Types::AnnotationFreeTextRichTextParagraphsItemRunsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_align.rb b/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_align.rb new file mode 100644 index 00000000..13dbdc64 --- /dev/null +++ b/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_align.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationFreeTextRichTextParagraphsItemAlign + extend CloudPDF::Internal::Types::Enum + + LEFT = "left" + CENTER = "center" + RIGHT = "right" + JUSTIFY = "justify" + end + end +end diff --git a/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_dir.rb b/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_dir.rb new file mode 100644 index 00000000..2798a67a --- /dev/null +++ b/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_dir.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationFreeTextRichTextParagraphsItemDir + extend CloudPDF::Internal::Types::Enum + + LTR = "ltr" + RTL = "rtl" + end + end +end diff --git a/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_margins.rb b/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_margins.rb new file mode 100644 index 00000000..aadc9c7e --- /dev/null +++ b/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_margins.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationFreeTextRichTextParagraphsItemMargins < Internal::Types::Model + field :top, -> { Integer }, optional: false, nullable: false + + field :bottom, -> { Integer }, optional: false, nullable: false + + field :left, -> { Integer }, optional: false, nullable: false + + field :right, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_runs_item.rb b/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_runs_item.rb new file mode 100644 index 00000000..2613bf94 --- /dev/null +++ b/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_runs_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationFreeTextRichTextParagraphsItemRunsItem < Internal::Types::Model + field :text, -> { String }, optional: false, nullable: false + + field :style, -> { CloudPDF::Types::AnnotationFreeTextRichTextParagraphsItemRunsItemStyle }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_runs_item_style.rb b/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_runs_item_style.rb new file mode 100644 index 00000000..ddb33ad0 --- /dev/null +++ b/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_runs_item_style.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationFreeTextRichTextParagraphsItemRunsItemStyle < Internal::Types::Model + field :family, -> { String }, optional: true, nullable: false + + field :weight, -> { Integer }, optional: true, nullable: false + + field :italic, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :size, -> { Integer }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :decoration, -> { Internal::Types::Array[CloudPDF::Types::AnnotationFreeTextRichTextParagraphsItemRunsItemStyleDecorationItem] }, optional: true, nullable: false + + field :script, -> { CloudPDF::Types::AnnotationFreeTextRichTextParagraphsItemRunsItemStyleScript }, optional: true, nullable: false + + field :letter_spacing, -> { Integer }, optional: true, nullable: false, api_name: "letterSpacing" + + field :horizontal_scale, -> { Integer }, optional: true, nullable: false, api_name: "horizontalScale" + + field :unknown, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_runs_item_style_decoration_item.rb b/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_runs_item_style_decoration_item.rb new file mode 100644 index 00000000..ebd70481 --- /dev/null +++ b/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_runs_item_style_decoration_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationFreeTextRichTextParagraphsItemRunsItemStyleDecorationItem + extend CloudPDF::Internal::Types::Enum + + UNDERLINE = "underline" + LINE_THROUGH = "line-through" + WORD = "word" + end + end +end diff --git a/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_runs_item_style_script.rb b/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_runs_item_style_script.rb new file mode 100644 index 00000000..0a9e84e2 --- /dev/null +++ b/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_runs_item_style_script.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationFreeTextRichTextParagraphsItemRunsItemStyleScript + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + SUB = "sub" + SUPER = "super" + end + end +end diff --git a/lib/CloudPDF/types/annotation_free_text_text_align.rb b/lib/CloudPDF/types/annotation_free_text_text_align.rb new file mode 100644 index 00000000..24563e84 --- /dev/null +++ b/lib/CloudPDF/types/annotation_free_text_text_align.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationFreeTextTextAlign + extend CloudPDF::Internal::Types::Enum + + LEFT = "left" + CENTER = "center" + RIGHT = "right" + JUSTIFY = "justify" + end + end +end diff --git a/lib/CloudPDF/types/annotation_free_text_vertical_align.rb b/lib/CloudPDF/types/annotation_free_text_vertical_align.rb new file mode 100644 index 00000000..2f042e2b --- /dev/null +++ b/lib/CloudPDF/types/annotation_free_text_vertical_align.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationFreeTextVerticalAlign + extend CloudPDF::Internal::Types::Enum + + TOP = "top" + MIDDLE = "middle" + BOTTOM = "bottom" + end + end +end diff --git a/lib/CloudPDF/types/annotation_highlight.rb b/lib/CloudPDF/types/annotation_highlight.rb new file mode 100644 index 00000000..736a21e7 --- /dev/null +++ b/lib/CloudPDF/types/annotation_highlight.rb @@ -0,0 +1,73 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationHighlight < Internal::Types::Model + field :ref, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :has_appearance, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { String }, optional: false, nullable: true, api_name: "appearanceState" + + field :nm, -> { String }, optional: false, nullable: true + + field :rect, -> { CloudPDF::Types::AnnotationHighlightRect }, optional: false, nullable: false + + field :contents, -> { String }, optional: false, nullable: true + + field :subject, -> { String }, optional: false, nullable: true + + field :blend_mode, -> { CloudPDF::Types::AnnotationHighlightBlendMode }, optional: false, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationHighlightReply }, optional: false, nullable: true + + field :popup, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: true + + field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId" + + field :author, -> { String }, optional: false, nullable: true + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :modified_at, -> { String }, optional: false, nullable: true, api_name: "modifiedAt" + + field :user_id, -> { String }, optional: false, nullable: true, api_name: "userId" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + + field :modified_by, -> { String }, optional: false, nullable: true, api_name: "modifiedBy" + + field :imported_by, -> { String }, optional: false, nullable: true, api_name: "importedBy" + + field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true + + field :color, -> { String }, optional: false, nullable: false + + field :opacity, -> { Integer }, optional: false, nullable: false + + field :quad_points, -> { Internal::Types::Array[CloudPDF::Types::AnnotationHighlightQuadPointsItem] }, optional: false, nullable: false, api_name: "quadPoints" + end + end +end diff --git a/lib/CloudPDF/types/annotation_highlight_blend_mode.rb b/lib/CloudPDF/types/annotation_highlight_blend_mode.rb new file mode 100644 index 00000000..cc1426b3 --- /dev/null +++ b/lib/CloudPDF/types/annotation_highlight_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationHighlightBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_highlight_quad_points_item.rb b/lib/CloudPDF/types/annotation_highlight_quad_points_item.rb new file mode 100644 index 00000000..72d42683 --- /dev/null +++ b/lib/CloudPDF/types/annotation_highlight_quad_points_item.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationHighlightQuadPointsItem < Internal::Types::Model + field :upper_left, -> { CloudPDF::Types::AnnotationHighlightQuadPointsItemUpperLeft }, optional: false, nullable: false, api_name: "upperLeft" + + field :upper_right, -> { CloudPDF::Types::AnnotationHighlightQuadPointsItemUpperRight }, optional: false, nullable: false, api_name: "upperRight" + + field :lower_left, -> { CloudPDF::Types::AnnotationHighlightQuadPointsItemLowerLeft }, optional: false, nullable: false, api_name: "lowerLeft" + + field :lower_right, -> { CloudPDF::Types::AnnotationHighlightQuadPointsItemLowerRight }, optional: false, nullable: false, api_name: "lowerRight" + end + end +end diff --git a/lib/CloudPDF/types/annotation_highlight_quad_points_item_lower_left.rb b/lib/CloudPDF/types/annotation_highlight_quad_points_item_lower_left.rb new file mode 100644 index 00000000..31cd1604 --- /dev/null +++ b/lib/CloudPDF/types/annotation_highlight_quad_points_item_lower_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationHighlightQuadPointsItemLowerLeft < 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_highlight_quad_points_item_lower_right.rb b/lib/CloudPDF/types/annotation_highlight_quad_points_item_lower_right.rb new file mode 100644 index 00000000..71003b04 --- /dev/null +++ b/lib/CloudPDF/types/annotation_highlight_quad_points_item_lower_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationHighlightQuadPointsItemLowerRight < 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_highlight_quad_points_item_upper_left.rb b/lib/CloudPDF/types/annotation_highlight_quad_points_item_upper_left.rb new file mode 100644 index 00000000..b6a119b6 --- /dev/null +++ b/lib/CloudPDF/types/annotation_highlight_quad_points_item_upper_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationHighlightQuadPointsItemUpperLeft < 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_highlight_quad_points_item_upper_right.rb b/lib/CloudPDF/types/annotation_highlight_quad_points_item_upper_right.rb new file mode 100644 index 00000000..0f23bdc5 --- /dev/null +++ b/lib/CloudPDF/types/annotation_highlight_quad_points_item_upper_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationHighlightQuadPointsItemUpperRight < 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_highlight_rect.rb b/lib/CloudPDF/types/annotation_highlight_rect.rb new file mode 100644 index 00000000..9044423c --- /dev/null +++ b/lib/CloudPDF/types/annotation_highlight_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationHighlightRect < 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/annotation_highlight_reply.rb b/lib/CloudPDF/types/annotation_highlight_reply.rb new file mode 100644 index 00000000..9b7e74f2 --- /dev/null +++ b/lib/CloudPDF/types/annotation_highlight_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationHighlightReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationHighlightReplyType }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_highlight_reply_type.rb b/lib/CloudPDF/types/annotation_highlight_reply_type.rb new file mode 100644 index 00000000..048fe738 --- /dev/null +++ b/lib/CloudPDF/types/annotation_highlight_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationHighlightReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_ink.rb b/lib/CloudPDF/types/annotation_ink.rb new file mode 100644 index 00000000..531f7006 --- /dev/null +++ b/lib/CloudPDF/types/annotation_ink.rb @@ -0,0 +1,83 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationInk < Internal::Types::Model + field :ref, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :has_appearance, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { String }, optional: false, nullable: true, api_name: "appearanceState" + + field :nm, -> { String }, optional: false, nullable: true + + field :rect, -> { CloudPDF::Types::AnnotationInkRect }, optional: false, nullable: false + + field :contents, -> { String }, optional: false, nullable: true + + field :subject, -> { String }, optional: false, nullable: true + + field :blend_mode, -> { CloudPDF::Types::AnnotationInkBlendMode }, optional: false, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationInkReply }, optional: false, nullable: true + + field :popup, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: true + + field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId" + + field :author, -> { String }, optional: false, nullable: true + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :modified_at, -> { String }, optional: false, nullable: true, api_name: "modifiedAt" + + field :user_id, -> { String }, optional: false, nullable: true, api_name: "userId" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + + field :modified_by, -> { String }, optional: false, nullable: true, api_name: "modifiedBy" + + field :imported_by, -> { String }, optional: false, nullable: true, api_name: "importedBy" + + field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true + + field :color, -> { String }, optional: false, nullable: false + + field :opacity, -> { Integer }, optional: false, nullable: false + + field :stroke_width, -> { Integer }, optional: false, nullable: false, api_name: "strokeWidth" + + field :border_style, -> { CloudPDF::Types::AnnotationInkBorderStyle }, optional: false, nullable: false, api_name: "borderStyle" + + field :dash_array, -> { Internal::Types::Array[Integer] }, optional: false, nullable: true, api_name: "dashArray" + + field :ink_list, -> { Internal::Types::Array[Internal::Types::Array[CloudPDF::Types::AnnotationInkInkListItemItem]] }, optional: false, nullable: false, api_name: "inkList" + + field :intent, -> { CloudPDF::Types::AnnotationInkIntent }, optional: false, nullable: true + + field :rotation, -> { Integer }, optional: false, nullable: true + end + end +end diff --git a/lib/CloudPDF/types/annotation_ink_blend_mode.rb b/lib/CloudPDF/types/annotation_ink_blend_mode.rb new file mode 100644 index 00000000..1edb1e35 --- /dev/null +++ b/lib/CloudPDF/types/annotation_ink_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationInkBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_ink_border_style.rb b/lib/CloudPDF/types/annotation_ink_border_style.rb new file mode 100644 index 00000000..dc86fe3d --- /dev/null +++ b/lib/CloudPDF/types/annotation_ink_border_style.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationInkBorderStyle + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + BEVELED = "beveled" + INSET = "inset" + end + end +end diff --git a/lib/CloudPDF/types/annotation_ink_ink_list_item_item.rb b/lib/CloudPDF/types/annotation_ink_ink_list_item_item.rb new file mode 100644 index 00000000..9d0dcdbc --- /dev/null +++ b/lib/CloudPDF/types/annotation_ink_ink_list_item_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationInkInkListItemItem < 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_ink_intent.rb b/lib/CloudPDF/types/annotation_ink_intent.rb new file mode 100644 index 00000000..046577b0 --- /dev/null +++ b/lib/CloudPDF/types/annotation_ink_intent.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationInkIntent + extend CloudPDF::Internal::Types::Enum + + INK_HIGHLIGHT = "ink-highlight" + end + end +end diff --git a/lib/CloudPDF/types/annotation_ink_rect.rb b/lib/CloudPDF/types/annotation_ink_rect.rb new file mode 100644 index 00000000..c0a1cf86 --- /dev/null +++ b/lib/CloudPDF/types/annotation_ink_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationInkRect < 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/annotation_ink_reply.rb b/lib/CloudPDF/types/annotation_ink_reply.rb new file mode 100644 index 00000000..ff48c5f4 --- /dev/null +++ b/lib/CloudPDF/types/annotation_ink_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationInkReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationInkReplyType }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_ink_reply_type.rb b/lib/CloudPDF/types/annotation_ink_reply_type.rb new file mode 100644 index 00000000..99573b5e --- /dev/null +++ b/lib/CloudPDF/types/annotation_ink_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationInkReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_line.rb b/lib/CloudPDF/types/annotation_line.rb new file mode 100644 index 00000000..c77dd288 --- /dev/null +++ b/lib/CloudPDF/types/annotation_line.rb @@ -0,0 +1,97 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationLine < Internal::Types::Model + field :ref, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :has_appearance, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { String }, optional: false, nullable: true, api_name: "appearanceState" + + field :nm, -> { String }, optional: false, nullable: true + + field :rect, -> { CloudPDF::Types::AnnotationLineRect }, optional: false, nullable: false + + field :contents, -> { String }, optional: false, nullable: true + + field :subject, -> { String }, optional: false, nullable: true + + field :blend_mode, -> { CloudPDF::Types::AnnotationLineBlendMode }, optional: false, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationLineReply }, optional: false, nullable: true + + field :popup, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: true + + field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId" + + field :author, -> { String }, optional: false, nullable: true + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :modified_at, -> { String }, optional: false, nullable: true, api_name: "modifiedAt" + + field :user_id, -> { String }, optional: false, nullable: true, api_name: "userId" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + + field :modified_by, -> { String }, optional: false, nullable: true, api_name: "modifiedBy" + + field :imported_by, -> { String }, optional: false, nullable: true, api_name: "importedBy" + + field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true + + field :color, -> { String }, optional: false, nullable: false + + field :opacity, -> { Integer }, optional: false, nullable: false + + field :stroke_width, -> { Integer }, optional: false, nullable: false, api_name: "strokeWidth" + + field :border_style, -> { CloudPDF::Types::AnnotationLineBorderStyle }, optional: false, nullable: false, api_name: "borderStyle" + + field :dash_array, -> { Internal::Types::Array[Integer] }, optional: false, nullable: true, api_name: "dashArray" + + field :interior_color, -> { String }, optional: false, nullable: true, api_name: "interiorColor" + + field :line_points, -> { CloudPDF::Types::AnnotationLineLinePoints }, optional: false, nullable: false, api_name: "linePoints" + + field :line_endings, -> { CloudPDF::Types::AnnotationLineLineEndings }, optional: false, nullable: false, api_name: "lineEndings" + + field :rotation, -> { Integer }, optional: false, nullable: true + + field :intent, -> { CloudPDF::Types::AnnotationLineIntent }, optional: false, nullable: true + + field :measure, -> { CloudPDF::Types::AnnotationLineMeasure }, optional: false, nullable: true + + field :caption_enabled, -> { Internal::Types::Boolean }, optional: false, nullable: true, api_name: "captionEnabled" + + field :caption_position, -> { CloudPDF::Types::AnnotationLineCaptionPosition }, optional: false, nullable: false, api_name: "captionPosition" + + field :caption_offset, -> { CloudPDF::Types::AnnotationLineCaptionOffset }, optional: false, nullable: true, api_name: "captionOffset" + + field :leader, -> { CloudPDF::Types::AnnotationLineLeader }, optional: false, nullable: true + end + end +end diff --git a/lib/CloudPDF/types/annotation_line_blend_mode.rb b/lib/CloudPDF/types/annotation_line_blend_mode.rb new file mode 100644 index 00000000..b1dea0d8 --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationLineBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_line_border_style.rb b/lib/CloudPDF/types/annotation_line_border_style.rb new file mode 100644 index 00000000..b2f390cf --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_border_style.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationLineBorderStyle + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + BEVELED = "beveled" + INSET = "inset" + end + end +end diff --git a/lib/CloudPDF/types/annotation_line_caption_offset.rb b/lib/CloudPDF/types/annotation_line_caption_offset.rb new file mode 100644 index 00000000..7e81b82e --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_caption_offset.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationLineCaptionOffset < Internal::Types::Model + field :along, -> { Integer }, optional: false, nullable: false + + field :perpendicular, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_line_caption_position.rb b/lib/CloudPDF/types/annotation_line_caption_position.rb new file mode 100644 index 00000000..2966552f --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_caption_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationLineCaptionPosition + extend CloudPDF::Internal::Types::Enum + + INLINE = "inline" + TOP = "top" + end + end +end diff --git a/lib/CloudPDF/types/annotation_line_intent.rb b/lib/CloudPDF/types/annotation_line_intent.rb new file mode 100644 index 00000000..2510767f --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_intent.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationLineIntent + extend CloudPDF::Internal::Types::Enum + + LINE_ARROW = "line-arrow" + LINE_DIMENSION = "line-dimension" + end + end +end diff --git a/lib/CloudPDF/types/annotation_line_leader.rb b/lib/CloudPDF/types/annotation_line_leader.rb new file mode 100644 index 00000000..02bd04ae --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_leader.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationLineLeader < Internal::Types::Model + field :length, -> { Integer }, optional: false, nullable: false + + field :extension, -> { Integer }, optional: true, nullable: false + + field :offset, -> { Integer }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_line_line_endings.rb b/lib/CloudPDF/types/annotation_line_line_endings.rb new file mode 100644 index 00000000..77b59a17 --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_line_endings.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationLineLineEndings < Internal::Types::Model + field :start, -> { CloudPDF::Types::AnnotationLineLineEndingsStart }, optional: false, nullable: false + + field :end_, -> { CloudPDF::Types::AnnotationLineLineEndingsEnd }, optional: false, nullable: false, api_name: "end" + end + end +end diff --git a/lib/CloudPDF/types/annotation_line_line_endings_end.rb b/lib/CloudPDF/types/annotation_line_line_endings_end.rb new file mode 100644 index 00000000..2518034a --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_line_endings_end.rb @@ -0,0 +1,20 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationLineLineEndingsEnd + extend CloudPDF::Internal::Types::Enum + + NONE = "none" + SQUARE = "square" + CIRCLE = "circle" + DIAMOND = "diamond" + OPEN_ARROW = "open-arrow" + CLOSED_ARROW = "closed-arrow" + BUTT = "butt" + R_OPEN_ARROW = "r-open-arrow" + R_CLOSED_ARROW = "r-closed-arrow" + SLASH = "slash" + end + end +end diff --git a/lib/CloudPDF/types/annotation_line_line_endings_start.rb b/lib/CloudPDF/types/annotation_line_line_endings_start.rb new file mode 100644 index 00000000..667918e2 --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_line_endings_start.rb @@ -0,0 +1,20 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationLineLineEndingsStart + extend CloudPDF::Internal::Types::Enum + + NONE = "none" + SQUARE = "square" + CIRCLE = "circle" + DIAMOND = "diamond" + OPEN_ARROW = "open-arrow" + CLOSED_ARROW = "closed-arrow" + BUTT = "butt" + R_OPEN_ARROW = "r-open-arrow" + R_CLOSED_ARROW = "r-closed-arrow" + SLASH = "slash" + end + end +end diff --git a/lib/CloudPDF/types/annotation_line_line_points.rb b/lib/CloudPDF/types/annotation_line_line_points.rb new file mode 100644 index 00000000..0b4607d9 --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_line_points.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationLineLinePoints < Internal::Types::Model + field :start, -> { CloudPDF::Types::AnnotationLineLinePointsStart }, optional: false, nullable: false + + field :end_, -> { CloudPDF::Types::AnnotationLineLinePointsEnd }, optional: false, nullable: false, api_name: "end" + end + end +end diff --git a/lib/CloudPDF/types/annotation_line_line_points_end.rb b/lib/CloudPDF/types/annotation_line_line_points_end.rb new file mode 100644 index 00000000..67a1599e --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_line_points_end.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationLineLinePointsEnd < 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_line_points_start.rb b/lib/CloudPDF/types/annotation_line_line_points_start.rb new file mode 100644 index 00000000..2dac88d9 --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_line_points_start.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationLineLinePointsStart < 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.rb b/lib/CloudPDF/types/annotation_line_measure.rb new file mode 100644 index 00000000..ec35a65c --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_measure.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 00000000..89e8145c --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_measure_geospatial.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 00000000..68bb08d2 --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_measure_rectilinear.rb @@ -0,0 +1,25 @@ +# 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 new file mode 100644 index 00000000..4c3f4e01 --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_measure_rectilinear_angle_item.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 00000000..fac7ce93 --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_measure_rectilinear_angle_item_fraction.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 00000000..c899fff5 --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_measure_rectilinear_angle_item_label_position.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 00000000..208afbf4 --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_measure_rectilinear_area_item.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 00000000..5813db57 --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_measure_rectilinear_area_item_fraction.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 00000000..3704f535 --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_measure_rectilinear_area_item_label_position.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 00000000..3059cb2f --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_measure_rectilinear_distance_item.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 00000000..afc44d9f --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_measure_rectilinear_distance_item_fraction.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 00000000..b8c4cbdd --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_measure_rectilinear_distance_item_label_position.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 00000000..fcd6aeb0 --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_measure_rectilinear_origin.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 00000000..acdef32b --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_measure_rectilinear_slope_item.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 00000000..568440de --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_measure_rectilinear_slope_item_fraction.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 00000000..c814ac89 --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_measure_rectilinear_slope_item_label_position.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 00000000..b01e0c49 --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_measure_rectilinear_x_item.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 00000000..cbdbd8aa --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_measure_rectilinear_x_item_fraction.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 00000000..bcfbc008 --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_measure_rectilinear_x_item_label_position.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 00000000..299889af --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_measure_rectilinear_y_item.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 00000000..0269093b --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_measure_rectilinear_y_item_fraction.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 00000000..705560d0 --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_measure_rectilinear_y_item_label_position.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 00000000..0b8a4d20 --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_measure_unknown.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationLineMeasureUnknown < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/annotation_line_rect.rb b/lib/CloudPDF/types/annotation_line_rect.rb new file mode 100644 index 00000000..6e78ffae --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationLineRect < 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/annotation_line_reply.rb b/lib/CloudPDF/types/annotation_line_reply.rb new file mode 100644 index 00000000..8cc1b56c --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationLineReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationLineReplyType }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_line_reply_type.rb b/lib/CloudPDF/types/annotation_line_reply_type.rb new file mode 100644 index 00000000..2709a1a5 --- /dev/null +++ b/lib/CloudPDF/types/annotation_line_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationLineReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_link.rb b/lib/CloudPDF/types/annotation_link.rb new file mode 100644 index 00000000..c13400bd --- /dev/null +++ b/lib/CloudPDF/types/annotation_link.rb @@ -0,0 +1,69 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationLink < Internal::Types::Model + field :ref, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :has_appearance, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { String }, optional: false, nullable: true, api_name: "appearanceState" + + field :nm, -> { String }, optional: false, nullable: true + + field :rect, -> { CloudPDF::Types::AnnotationLinkRect }, optional: false, nullable: false + + field :contents, -> { String }, optional: false, nullable: true + + field :subject, -> { String }, optional: false, nullable: true + + field :blend_mode, -> { CloudPDF::Types::AnnotationLinkBlendMode }, optional: false, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationLinkReply }, optional: false, nullable: true + + field :popup, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: true + + field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId" + + field :author, -> { String }, optional: false, nullable: true + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :modified_at, -> { String }, optional: false, nullable: true, api_name: "modifiedAt" + + field :user_id, -> { String }, optional: false, nullable: true, api_name: "userId" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + + field :modified_by, -> { String }, optional: false, nullable: true, api_name: "modifiedBy" + + field :imported_by, -> { String }, optional: false, nullable: true, api_name: "importedBy" + + field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true + + field :target, -> { CloudPDF::Types::PdfLinkTarget }, optional: false, nullable: true + end + end +end diff --git a/lib/CloudPDF/types/annotation_link_blend_mode.rb b/lib/CloudPDF/types/annotation_link_blend_mode.rb new file mode 100644 index 00000000..a0f10e53 --- /dev/null +++ b/lib/CloudPDF/types/annotation_link_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationLinkBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_link_rect.rb b/lib/CloudPDF/types/annotation_link_rect.rb new file mode 100644 index 00000000..43827662 --- /dev/null +++ b/lib/CloudPDF/types/annotation_link_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationLinkRect < 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/annotation_link_reply.rb b/lib/CloudPDF/types/annotation_link_reply.rb new file mode 100644 index 00000000..100f350a --- /dev/null +++ b/lib/CloudPDF/types/annotation_link_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationLinkReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationLinkReplyType }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_link_reply_type.rb b/lib/CloudPDF/types/annotation_link_reply_type.rb new file mode 100644 index 00000000..671c21cf --- /dev/null +++ b/lib/CloudPDF/types/annotation_link_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationLinkReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_list.rb b/lib/CloudPDF/types/annotation_list.rb new file mode 100644 index 00000000..dc610a2b --- /dev/null +++ b/lib/CloudPDF/types/annotation_list.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationList < Internal::Types::Model + field :annotations, -> { Internal::Types::Array[CloudPDF::Types::Annotation] }, optional: false, nullable: false + + field :pages, -> { Internal::Types::Array[CloudPDF::Types::PageRef] }, optional: false, nullable: false + + field :audit_head, -> { Integer }, optional: true, nullable: false, api_name: "auditHead" + end + end +end diff --git a/lib/CloudPDF/types/annotation_mutation_meta.rb b/lib/CloudPDF/types/annotation_mutation_meta.rb new file mode 100644 index 00000000..63d4bb47 --- /dev/null +++ b/lib/CloudPDF/types/annotation_mutation_meta.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationMutationMeta < Internal::Types::Model + field :affected_pages, -> { Internal::Types::Array[CloudPDF::Types::PageRef] }, optional: false, nullable: false, api_name: "affectedPages" + + field :cache_delta, -> { CloudPDF::Types::CacheDelta }, optional: false, nullable: true, api_name: "cacheDelta" + + field :op_id, -> { String }, optional: false, nullable: false, api_name: "opId" + + field :undoable, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :changed, -> { Internal::Types::Array[CloudPDF::Types::AnnotationRef] }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch.rb b/lib/CloudPDF/types/annotation_patch.rb new file mode 100644 index 00000000..53710592 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch.rb @@ -0,0 +1,49 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatch < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :subtype + + member -> { CloudPDF::Types::AnnotationPatchHighlight }, key: "HIGHLIGHT" + + member -> { CloudPDF::Types::AnnotationPatchUnderline }, key: "UNDERLINE" + + member -> { CloudPDF::Types::AnnotationPatchSquiggly }, key: "SQUIGGLY" + + member -> { CloudPDF::Types::AnnotationPatchStrikeout }, key: "STRIKEOUT" + + member -> { CloudPDF::Types::AnnotationPatchCircle }, key: "CIRCLE" + + member -> { CloudPDF::Types::AnnotationPatchSquare }, key: "SQUARE" + + member -> { CloudPDF::Types::AnnotationPatchPolygon }, key: "POLYGON" + + member -> { CloudPDF::Types::AnnotationPatchPolyline }, key: "POLYLINE" + + member -> { CloudPDF::Types::AnnotationPatchLine }, key: "LINE" + + member -> { CloudPDF::Types::AnnotationPatchLink }, key: "LINK" + + member -> { CloudPDF::Types::AnnotationPatchInk }, key: "INK" + + member -> { CloudPDF::Types::AnnotationPatchFreeText }, key: "FREE_TEXT" + + member -> { CloudPDF::Types::AnnotationPatchCaret }, key: "CARET" + + member -> { CloudPDF::Types::AnnotationPatchText }, key: "TEXT" + + member -> { CloudPDF::Types::AnnotationPatchStamp }, key: "STAMP" + + member -> { CloudPDF::Types::AnnotationPatchFileAttachment }, key: "FILE_ATTACHMENT" + + member -> { CloudPDF::Types::WidgetPatch }, key: "WIDGET" + + member -> { CloudPDF::Types::AnnotationPatchRedact }, key: "REDACT" + + member -> { CloudPDF::Types::AnnotationPatchPopup }, key: "POPUP" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_caret.rb b/lib/CloudPDF/types/annotation_patch_caret.rb new file mode 100644 index 00000000..d2d4b1ab --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_caret.rb @@ -0,0 +1,77 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchCaret < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationPatchCaretRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationPatchCaretBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationPatchCaretReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :box, -> { CloudPDF::Types::AnnotationPatchCaretBox }, optional: true, nullable: false + + field :rotation, -> { Integer }, optional: true, nullable: false + + field :intent, -> { CloudPDF::Types::AnnotationPatchCaretIntent }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_caret_blend_mode.rb b/lib/CloudPDF/types/annotation_patch_caret_blend_mode.rb new file mode 100644 index 00000000..598b1c49 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_caret_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchCaretBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_caret_box.rb b/lib/CloudPDF/types/annotation_patch_caret_box.rb new file mode 100644 index 00000000..1810e539 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_caret_box.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchCaretBox < 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/annotation_patch_caret_intent.rb b/lib/CloudPDF/types/annotation_patch_caret_intent.rb new file mode 100644 index 00000000..3f0186ca --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_caret_intent.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchCaretIntent + extend CloudPDF::Internal::Types::Enum + + REPLACE = "replace" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_caret_rect.rb b/lib/CloudPDF/types/annotation_patch_caret_rect.rb new file mode 100644 index 00000000..62aec37a --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_caret_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchCaretRect < 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/annotation_patch_caret_reply.rb b/lib/CloudPDF/types/annotation_patch_caret_reply.rb new file mode 100644 index 00000000..fe036cf0 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_caret_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchCaretReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationPatchCaretReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_caret_reply_type.rb b/lib/CloudPDF/types/annotation_patch_caret_reply_type.rb new file mode 100644 index 00000000..7ad99530 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_caret_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchCaretReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_circle.rb b/lib/CloudPDF/types/annotation_patch_circle.rb new file mode 100644 index 00000000..62ab9185 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_circle.rb @@ -0,0 +1,85 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchCircle < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationPatchCircleRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationPatchCircleBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationPatchCircleReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :stroke_width, -> { Integer }, optional: true, nullable: false, api_name: "strokeWidth" + + field :border_style, -> { CloudPDF::Types::AnnotationPatchCircleBorderStyle }, optional: true, nullable: false, api_name: "borderStyle" + + field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" + + field :interior_color, -> { String }, optional: true, nullable: false, api_name: "interiorColor" + + field :box, -> { CloudPDF::Types::AnnotationPatchCircleBox }, optional: true, nullable: false + + field :rotation, -> { Integer }, optional: true, nullable: false + + field :cloudy_intensity, -> { Integer }, optional: true, nullable: false, api_name: "cloudyIntensity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_circle_blend_mode.rb b/lib/CloudPDF/types/annotation_patch_circle_blend_mode.rb new file mode 100644 index 00000000..e4c6d860 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_circle_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchCircleBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_circle_border_style.rb b/lib/CloudPDF/types/annotation_patch_circle_border_style.rb new file mode 100644 index 00000000..e8e3ab1c --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_circle_border_style.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchCircleBorderStyle < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + member -> { CloudPDF::Types::AnnotationPatchCircleBorderStyleZero } + + member -> { CloudPDF::Types::AnnotationPatchCircleBorderStyleOne } + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_circle_border_style_one.rb b/lib/CloudPDF/types/annotation_patch_circle_border_style_one.rb new file mode 100644 index 00000000..628c9d63 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_circle_border_style_one.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchCircleBorderStyleOne + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + BEVELED = "beveled" + INSET = "inset" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_circle_border_style_zero.rb b/lib/CloudPDF/types/annotation_patch_circle_border_style_zero.rb new file mode 100644 index 00000000..8b5e9fcf --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_circle_border_style_zero.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchCircleBorderStyleZero + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_circle_box.rb b/lib/CloudPDF/types/annotation_patch_circle_box.rb new file mode 100644 index 00000000..ff5233e2 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_circle_box.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchCircleBox < 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/annotation_patch_circle_rect.rb b/lib/CloudPDF/types/annotation_patch_circle_rect.rb new file mode 100644 index 00000000..57404da1 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_circle_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchCircleRect < 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/annotation_patch_circle_reply.rb b/lib/CloudPDF/types/annotation_patch_circle_reply.rb new file mode 100644 index 00000000..a3218557 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_circle_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchCircleReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationPatchCircleReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_circle_reply_type.rb b/lib/CloudPDF/types/annotation_patch_circle_reply_type.rb new file mode 100644 index 00000000..57bf8656 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_circle_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchCircleReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_file_attachment.rb b/lib/CloudPDF/types/annotation_patch_file_attachment.rb new file mode 100644 index 00000000..6533684c --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_file_attachment.rb @@ -0,0 +1,75 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchFileAttachment < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationPatchFileAttachmentRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationPatchFileAttachmentBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationPatchFileAttachmentReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :icon, -> { CloudPDF::Types::AnnotationPatchFileAttachmentIcon }, optional: true, nullable: false + + field :file, -> { CloudPDF::Types::AnnotationPatchFileAttachmentFile }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_file_attachment_blend_mode.rb b/lib/CloudPDF/types/annotation_patch_file_attachment_blend_mode.rb new file mode 100644 index 00000000..63500df7 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_file_attachment_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchFileAttachmentBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_file_attachment_file.rb b/lib/CloudPDF/types/annotation_patch_file_attachment_file.rb new file mode 100644 index 00000000..61cc2a1b --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_file_attachment_file.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchFileAttachmentFile < Internal::Types::Model + field :name, -> { String }, optional: false, nullable: false + + field :mime_type, -> { String }, optional: true, nullable: false, api_name: "mimeType" + + field :description, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_file_attachment_icon.rb b/lib/CloudPDF/types/annotation_patch_file_attachment_icon.rb new file mode 100644 index 00000000..4966659e --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_file_attachment_icon.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchFileAttachmentIcon + extend CloudPDF::Internal::Types::Enum + + PUSH_PIN = "push-pin" + PAPERCLIP = "paperclip" + GRAPH = "graph" + TAG = "tag" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_file_attachment_rect.rb b/lib/CloudPDF/types/annotation_patch_file_attachment_rect.rb new file mode 100644 index 00000000..c4c456f2 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_file_attachment_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchFileAttachmentRect < 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/annotation_patch_file_attachment_reply.rb b/lib/CloudPDF/types/annotation_patch_file_attachment_reply.rb new file mode 100644 index 00000000..74960d91 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_file_attachment_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchFileAttachmentReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationPatchFileAttachmentReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_file_attachment_reply_type.rb b/lib/CloudPDF/types/annotation_patch_file_attachment_reply_type.rb new file mode 100644 index 00000000..23ce4971 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_file_attachment_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchFileAttachmentReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_free_text.rb b/lib/CloudPDF/types/annotation_patch_free_text.rb new file mode 100644 index 00000000..abd836cc --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text.rb @@ -0,0 +1,103 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchFreeText < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationPatchFreeTextRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationPatchFreeTextBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationPatchFreeTextReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :box, -> { CloudPDF::Types::AnnotationPatchFreeTextBox }, optional: true, nullable: false + + field :rotation, -> { Integer }, optional: true, nullable: false + + field :intent, -> { CloudPDF::Types::AnnotationPatchFreeTextIntent }, optional: true, nullable: false + + field :font_family, -> { String }, optional: true, nullable: false, api_name: "fontFamily" + + field :font_size, -> { Integer }, optional: true, nullable: false, api_name: "fontSize" + + field :text_align, -> { CloudPDF::Types::AnnotationPatchFreeTextTextAlign }, optional: true, nullable: false, api_name: "textAlign" + + field :vertical_align, -> { CloudPDF::Types::AnnotationPatchFreeTextVerticalAlign }, optional: true, nullable: false, api_name: "verticalAlign" + + field :rich_text, -> { CloudPDF::Types::AnnotationPatchFreeTextRichText }, optional: true, nullable: false, api_name: "richText" + + field :color, -> { String }, optional: true, nullable: false + + field :font_color, -> { String }, optional: true, nullable: false, api_name: "fontColor" + + field :interior_color, -> { String }, optional: true, nullable: false, api_name: "interiorColor" + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :stroke_width, -> { Integer }, optional: true, nullable: false, api_name: "strokeWidth" + + field :border_style, -> { CloudPDF::Types::AnnotationPatchFreeTextBorderStyle }, optional: true, nullable: false, api_name: "borderStyle" + + field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" + + field :cloudy_intensity, -> { Integer }, optional: true, nullable: false, api_name: "cloudyIntensity" + + field :callout_line, -> { Internal::Types::Array[Object] }, optional: true, nullable: false, api_name: "calloutLine" + + field :line_ending, -> { CloudPDF::Types::AnnotationPatchFreeTextLineEnding }, optional: true, nullable: false, api_name: "lineEnding" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_free_text_blend_mode.rb b/lib/CloudPDF/types/annotation_patch_free_text_blend_mode.rb new file mode 100644 index 00000000..e40a3d20 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchFreeTextBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_free_text_border_style.rb b/lib/CloudPDF/types/annotation_patch_free_text_border_style.rb new file mode 100644 index 00000000..2e69262a --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_border_style.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchFreeTextBorderStyle < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + member -> { CloudPDF::Types::AnnotationPatchFreeTextBorderStyleZero } + + member -> { CloudPDF::Types::AnnotationPatchFreeTextBorderStyleOne } + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_free_text_border_style_one.rb b/lib/CloudPDF/types/annotation_patch_free_text_border_style_one.rb new file mode 100644 index 00000000..8e38695a --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_border_style_one.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchFreeTextBorderStyleOne + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + BEVELED = "beveled" + INSET = "inset" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_free_text_border_style_zero.rb b/lib/CloudPDF/types/annotation_patch_free_text_border_style_zero.rb new file mode 100644 index 00000000..9056488d --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_border_style_zero.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchFreeTextBorderStyleZero + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_free_text_box.rb b/lib/CloudPDF/types/annotation_patch_free_text_box.rb new file mode 100644 index 00000000..1a4175d8 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_box.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchFreeTextBox < 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/annotation_patch_free_text_intent.rb b/lib/CloudPDF/types/annotation_patch_free_text_intent.rb new file mode 100644 index 00000000..5eb98ae2 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_intent.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchFreeTextIntent < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + member -> { CloudPDF::Types::AnnotationPatchFreeTextIntentZero } + + member -> { CloudPDF::Types::AnnotationPatchFreeTextIntentOne } + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_free_text_intent_one.rb b/lib/CloudPDF/types/annotation_patch_free_text_intent_one.rb new file mode 100644 index 00000000..0fb322fb --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_intent_one.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchFreeTextIntentOne + extend CloudPDF::Internal::Types::Enum + + FREE_TEXT = "free-text" + FREE_TEXT_CALLOUT = "free-text-callout" + FREE_TEXT_TYPEWRITER = "free-text-typewriter" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_free_text_intent_zero.rb b/lib/CloudPDF/types/annotation_patch_free_text_intent_zero.rb new file mode 100644 index 00000000..d108f4fa --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_intent_zero.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchFreeTextIntentZero + extend CloudPDF::Internal::Types::Enum + + FREE_TEXT = "free-text" + FREE_TEXT_CALLOUT = "free-text-callout" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_free_text_line_ending.rb b/lib/CloudPDF/types/annotation_patch_free_text_line_ending.rb new file mode 100644 index 00000000..4cf6358d --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_line_ending.rb @@ -0,0 +1,20 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchFreeTextLineEnding + extend CloudPDF::Internal::Types::Enum + + NONE = "none" + SQUARE = "square" + CIRCLE = "circle" + DIAMOND = "diamond" + OPEN_ARROW = "open-arrow" + CLOSED_ARROW = "closed-arrow" + BUTT = "butt" + R_OPEN_ARROW = "r-open-arrow" + R_CLOSED_ARROW = "r-closed-arrow" + SLASH = "slash" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_free_text_rect.rb b/lib/CloudPDF/types/annotation_patch_free_text_rect.rb new file mode 100644 index 00000000..2e582ca6 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchFreeTextRect < 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/annotation_patch_free_text_reply.rb b/lib/CloudPDF/types/annotation_patch_free_text_reply.rb new file mode 100644 index 00000000..a403cbe3 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchFreeTextReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationPatchFreeTextReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_free_text_reply_type.rb b/lib/CloudPDF/types/annotation_patch_free_text_reply_type.rb new file mode 100644 index 00000000..45f0eeca --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchFreeTextReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_free_text_rich_text.rb b/lib/CloudPDF/types/annotation_patch_free_text_rich_text.rb new file mode 100644 index 00000000..239b6973 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_rich_text.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchFreeTextRichText < Internal::Types::Model + field :body, -> { CloudPDF::Types::AnnotationPatchFreeTextRichTextBody }, optional: true, nullable: false + + field :paragraphs, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchFreeTextRichTextParagraphsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_free_text_rich_text_body.rb b/lib/CloudPDF/types/annotation_patch_free_text_rich_text_body.rb new file mode 100644 index 00000000..0dca8787 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_rich_text_body.rb @@ -0,0 +1,37 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchFreeTextRichTextBody < Internal::Types::Model + field :family, -> { String }, optional: true, nullable: false + + field :weight, -> { Integer }, optional: true, nullable: false + + field :italic, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :size, -> { Integer }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :decoration, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchFreeTextRichTextBodyDecorationItem] }, optional: true, nullable: false + + field :script, -> { CloudPDF::Types::AnnotationPatchFreeTextRichTextBodyScript }, optional: true, nullable: false + + field :letter_spacing, -> { Integer }, optional: true, nullable: false, api_name: "letterSpacing" + + field :horizontal_scale, -> { Integer }, optional: true, nullable: false, api_name: "horizontalScale" + + field :unknown, -> { String }, optional: true, nullable: false + + field :align, -> { CloudPDF::Types::AnnotationPatchFreeTextRichTextBodyAlign }, optional: true, nullable: false + + field :dir, -> { CloudPDF::Types::AnnotationPatchFreeTextRichTextBodyDir }, optional: true, nullable: false + + field :line_height, -> { Integer }, optional: true, nullable: false, api_name: "lineHeight" + + field :margins, -> { CloudPDF::Types::AnnotationPatchFreeTextRichTextBodyMargins }, optional: true, nullable: false + + field :text_indent, -> { Integer }, optional: true, nullable: false, api_name: "textIndent" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_free_text_rich_text_body_align.rb b/lib/CloudPDF/types/annotation_patch_free_text_rich_text_body_align.rb new file mode 100644 index 00000000..0f7ee1f0 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_rich_text_body_align.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchFreeTextRichTextBodyAlign + extend CloudPDF::Internal::Types::Enum + + LEFT = "left" + CENTER = "center" + RIGHT = "right" + JUSTIFY = "justify" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_free_text_rich_text_body_decoration_item.rb b/lib/CloudPDF/types/annotation_patch_free_text_rich_text_body_decoration_item.rb new file mode 100644 index 00000000..f649d699 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_rich_text_body_decoration_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchFreeTextRichTextBodyDecorationItem + extend CloudPDF::Internal::Types::Enum + + UNDERLINE = "underline" + LINE_THROUGH = "line-through" + WORD = "word" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_free_text_rich_text_body_dir.rb b/lib/CloudPDF/types/annotation_patch_free_text_rich_text_body_dir.rb new file mode 100644 index 00000000..4c26bd68 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_rich_text_body_dir.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchFreeTextRichTextBodyDir + extend CloudPDF::Internal::Types::Enum + + LTR = "ltr" + RTL = "rtl" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_free_text_rich_text_body_margins.rb b/lib/CloudPDF/types/annotation_patch_free_text_rich_text_body_margins.rb new file mode 100644 index 00000000..1f9b8084 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_rich_text_body_margins.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchFreeTextRichTextBodyMargins < Internal::Types::Model + field :top, -> { Integer }, optional: false, nullable: false + + field :bottom, -> { Integer }, optional: false, nullable: false + + field :left, -> { Integer }, optional: false, nullable: false + + field :right, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_free_text_rich_text_body_script.rb b/lib/CloudPDF/types/annotation_patch_free_text_rich_text_body_script.rb new file mode 100644 index 00000000..9e8fe585 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_rich_text_body_script.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchFreeTextRichTextBodyScript + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + SUB = "sub" + SUPER = "super" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item.rb b/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item.rb new file mode 100644 index 00000000..f29a66b9 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchFreeTextRichTextParagraphsItem < Internal::Types::Model + field :align, -> { CloudPDF::Types::AnnotationPatchFreeTextRichTextParagraphsItemAlign }, optional: true, nullable: false + + field :dir, -> { CloudPDF::Types::AnnotationPatchFreeTextRichTextParagraphsItemDir }, optional: true, nullable: false + + field :line_height, -> { Integer }, optional: true, nullable: false, api_name: "lineHeight" + + field :margins, -> { CloudPDF::Types::AnnotationPatchFreeTextRichTextParagraphsItemMargins }, optional: true, nullable: false + + field :text_indent, -> { Integer }, optional: true, nullable: false, api_name: "textIndent" + + field :unknown, -> { String }, optional: true, nullable: false + + field :runs, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchFreeTextRichTextParagraphsItemRunsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_align.rb b/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_align.rb new file mode 100644 index 00000000..75f4e502 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_align.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchFreeTextRichTextParagraphsItemAlign + extend CloudPDF::Internal::Types::Enum + + LEFT = "left" + CENTER = "center" + RIGHT = "right" + JUSTIFY = "justify" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_dir.rb b/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_dir.rb new file mode 100644 index 00000000..7b6f8659 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_dir.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchFreeTextRichTextParagraphsItemDir + extend CloudPDF::Internal::Types::Enum + + LTR = "ltr" + RTL = "rtl" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_margins.rb b/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_margins.rb new file mode 100644 index 00000000..04858bd5 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_margins.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchFreeTextRichTextParagraphsItemMargins < Internal::Types::Model + field :top, -> { Integer }, optional: false, nullable: false + + field :bottom, -> { Integer }, optional: false, nullable: false + + field :left, -> { Integer }, optional: false, nullable: false + + field :right, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_runs_item.rb b/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_runs_item.rb new file mode 100644 index 00000000..fdd8397e --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_runs_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchFreeTextRichTextParagraphsItemRunsItem < Internal::Types::Model + field :text, -> { String }, optional: false, nullable: false + + field :style, -> { CloudPDF::Types::AnnotationPatchFreeTextRichTextParagraphsItemRunsItemStyle }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_runs_item_style.rb b/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_runs_item_style.rb new file mode 100644 index 00000000..8dd0257f --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_runs_item_style.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchFreeTextRichTextParagraphsItemRunsItemStyle < Internal::Types::Model + field :family, -> { String }, optional: true, nullable: false + + field :weight, -> { Integer }, optional: true, nullable: false + + field :italic, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :size, -> { Integer }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :decoration, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchFreeTextRichTextParagraphsItemRunsItemStyleDecorationItem] }, optional: true, nullable: false + + field :script, -> { CloudPDF::Types::AnnotationPatchFreeTextRichTextParagraphsItemRunsItemStyleScript }, optional: true, nullable: false + + field :letter_spacing, -> { Integer }, optional: true, nullable: false, api_name: "letterSpacing" + + field :horizontal_scale, -> { Integer }, optional: true, nullable: false, api_name: "horizontalScale" + + field :unknown, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_runs_item_style_decoration_item.rb b/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_runs_item_style_decoration_item.rb new file mode 100644 index 00000000..fc7639e2 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_runs_item_style_decoration_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchFreeTextRichTextParagraphsItemRunsItemStyleDecorationItem + extend CloudPDF::Internal::Types::Enum + + UNDERLINE = "underline" + LINE_THROUGH = "line-through" + WORD = "word" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_runs_item_style_script.rb b/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_runs_item_style_script.rb new file mode 100644 index 00000000..cd2dad14 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_runs_item_style_script.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchFreeTextRichTextParagraphsItemRunsItemStyleScript + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + SUB = "sub" + SUPER = "super" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_free_text_text_align.rb b/lib/CloudPDF/types/annotation_patch_free_text_text_align.rb new file mode 100644 index 00000000..f17e57d3 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_text_align.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchFreeTextTextAlign + extend CloudPDF::Internal::Types::Enum + + LEFT = "left" + CENTER = "center" + RIGHT = "right" + JUSTIFY = "justify" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_free_text_vertical_align.rb b/lib/CloudPDF/types/annotation_patch_free_text_vertical_align.rb new file mode 100644 index 00000000..a361f557 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_free_text_vertical_align.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchFreeTextVerticalAlign + extend CloudPDF::Internal::Types::Enum + + TOP = "top" + MIDDLE = "middle" + BOTTOM = "bottom" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_highlight.rb b/lib/CloudPDF/types/annotation_patch_highlight.rb new file mode 100644 index 00000000..af6f639c --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_highlight.rb @@ -0,0 +1,73 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchHighlight < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationPatchHighlightRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationPatchHighlightBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationPatchHighlightReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :quad_points, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchHighlightQuadPointsItem] }, optional: true, nullable: false, api_name: "quadPoints" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_highlight_blend_mode.rb b/lib/CloudPDF/types/annotation_patch_highlight_blend_mode.rb new file mode 100644 index 00000000..d61fab8b --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_highlight_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchHighlightBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_highlight_quad_points_item.rb b/lib/CloudPDF/types/annotation_patch_highlight_quad_points_item.rb new file mode 100644 index 00000000..7ded93fd --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_highlight_quad_points_item.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchHighlightQuadPointsItem < Internal::Types::Model + field :upper_left, -> { CloudPDF::Types::AnnotationPatchHighlightQuadPointsItemUpperLeft }, optional: false, nullable: false, api_name: "upperLeft" + + field :upper_right, -> { CloudPDF::Types::AnnotationPatchHighlightQuadPointsItemUpperRight }, optional: false, nullable: false, api_name: "upperRight" + + field :lower_left, -> { CloudPDF::Types::AnnotationPatchHighlightQuadPointsItemLowerLeft }, optional: false, nullable: false, api_name: "lowerLeft" + + field :lower_right, -> { CloudPDF::Types::AnnotationPatchHighlightQuadPointsItemLowerRight }, optional: false, nullable: false, api_name: "lowerRight" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_highlight_quad_points_item_lower_left.rb b/lib/CloudPDF/types/annotation_patch_highlight_quad_points_item_lower_left.rb new file mode 100644 index 00000000..ee63eebc --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_highlight_quad_points_item_lower_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchHighlightQuadPointsItemLowerLeft < 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_patch_highlight_quad_points_item_lower_right.rb b/lib/CloudPDF/types/annotation_patch_highlight_quad_points_item_lower_right.rb new file mode 100644 index 00000000..91577575 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_highlight_quad_points_item_lower_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchHighlightQuadPointsItemLowerRight < 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_patch_highlight_quad_points_item_upper_left.rb b/lib/CloudPDF/types/annotation_patch_highlight_quad_points_item_upper_left.rb new file mode 100644 index 00000000..72ed7d5a --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_highlight_quad_points_item_upper_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchHighlightQuadPointsItemUpperLeft < 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_patch_highlight_quad_points_item_upper_right.rb b/lib/CloudPDF/types/annotation_patch_highlight_quad_points_item_upper_right.rb new file mode 100644 index 00000000..3866e2bc --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_highlight_quad_points_item_upper_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchHighlightQuadPointsItemUpperRight < 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_patch_highlight_rect.rb b/lib/CloudPDF/types/annotation_patch_highlight_rect.rb new file mode 100644 index 00000000..e2cb4e82 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_highlight_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchHighlightRect < 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/annotation_patch_highlight_reply.rb b/lib/CloudPDF/types/annotation_patch_highlight_reply.rb new file mode 100644 index 00000000..586fe791 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_highlight_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchHighlightReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationPatchHighlightReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_highlight_reply_type.rb b/lib/CloudPDF/types/annotation_patch_highlight_reply_type.rb new file mode 100644 index 00000000..741be272 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_highlight_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchHighlightReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_ink.rb b/lib/CloudPDF/types/annotation_patch_ink.rb new file mode 100644 index 00000000..d4cdf8ba --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_ink.rb @@ -0,0 +1,83 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchInk < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationPatchInkRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationPatchInkBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationPatchInkReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :stroke_width, -> { Integer }, optional: true, nullable: false, api_name: "strokeWidth" + + field :border_style, -> { CloudPDF::Types::AnnotationPatchInkBorderStyle }, optional: true, nullable: false, api_name: "borderStyle" + + field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" + + field :ink_list, -> { CloudPDF::Types::AnnotationPatchInkInkList }, optional: true, nullable: false, api_name: "inkList" + + field :intent, -> { CloudPDF::Types::AnnotationPatchInkIntent }, optional: true, nullable: false + + field :rotation, -> { Integer }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_ink_blend_mode.rb b/lib/CloudPDF/types/annotation_patch_ink_blend_mode.rb new file mode 100644 index 00000000..0578dc2a --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_ink_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchInkBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_ink_border_style.rb b/lib/CloudPDF/types/annotation_patch_ink_border_style.rb new file mode 100644 index 00000000..b6bfb259 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_ink_border_style.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchInkBorderStyle < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + member -> { CloudPDF::Types::AnnotationPatchInkBorderStyleZero } + + member -> { CloudPDF::Types::AnnotationPatchInkBorderStyleOne } + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_ink_border_style_one.rb b/lib/CloudPDF/types/annotation_patch_ink_border_style_one.rb new file mode 100644 index 00000000..3a73decf --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_ink_border_style_one.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchInkBorderStyleOne + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + BEVELED = "beveled" + INSET = "inset" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_ink_border_style_zero.rb b/lib/CloudPDF/types/annotation_patch_ink_border_style_zero.rb new file mode 100644 index 00000000..da5b5667 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_ink_border_style_zero.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchInkBorderStyleZero + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_ink_ink_list.rb b/lib/CloudPDF/types/annotation_patch_ink_ink_list.rb new file mode 100644 index 00000000..4c365a90 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_ink_ink_list.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchInkInkList < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + member -> { Internal::Types::Array[Internal::Types::Array[CloudPDF::Types::AnnotationPatchInkInkListZeroItemItem]] } + + member -> { Internal::Types::Array[Internal::Types::Array[CloudPDF::Types::AnnotationPatchInkInkListOneItemItem]] } + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_ink_ink_list_one_item_item.rb b/lib/CloudPDF/types/annotation_patch_ink_ink_list_one_item_item.rb new file mode 100644 index 00000000..956c5bd5 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_ink_ink_list_one_item_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchInkInkListOneItemItem < 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_patch_ink_ink_list_zero_item_item.rb b/lib/CloudPDF/types/annotation_patch_ink_ink_list_zero_item_item.rb new file mode 100644 index 00000000..3b32918f --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_ink_ink_list_zero_item_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchInkInkListZeroItemItem < 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_patch_ink_intent.rb b/lib/CloudPDF/types/annotation_patch_ink_intent.rb new file mode 100644 index 00000000..3d750454 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_ink_intent.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchInkIntent + extend CloudPDF::Internal::Types::Enum + + INK_HIGHLIGHT = "ink-highlight" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_ink_rect.rb b/lib/CloudPDF/types/annotation_patch_ink_rect.rb new file mode 100644 index 00000000..e3073436 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_ink_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchInkRect < 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/annotation_patch_ink_reply.rb b/lib/CloudPDF/types/annotation_patch_ink_reply.rb new file mode 100644 index 00000000..0e0fe319 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_ink_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchInkReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationPatchInkReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_ink_reply_type.rb b/lib/CloudPDF/types/annotation_patch_ink_reply_type.rb new file mode 100644 index 00000000..6bb4e960 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_ink_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchInkReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line.rb b/lib/CloudPDF/types/annotation_patch_line.rb new file mode 100644 index 00000000..0e3f7d0d --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line.rb @@ -0,0 +1,97 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchLine < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationPatchLineRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationPatchLineBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationPatchLineReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :stroke_width, -> { Integer }, optional: true, nullable: false, api_name: "strokeWidth" + + field :border_style, -> { CloudPDF::Types::AnnotationPatchLineBorderStyle }, optional: true, nullable: false, api_name: "borderStyle" + + field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" + + field :interior_color, -> { String }, optional: true, nullable: false, api_name: "interiorColor" + + field :line_points, -> { CloudPDF::Types::AnnotationPatchLineLinePoints }, optional: true, nullable: false, api_name: "linePoints" + + field :line_endings, -> { CloudPDF::Types::AnnotationPatchLineLineEndings }, optional: true, nullable: false, api_name: "lineEndings" + + field :rotation, -> { Integer }, optional: true, nullable: false + + field :intent, -> { CloudPDF::Types::AnnotationPatchLineIntent }, optional: true, nullable: false + + field :measure, -> { CloudPDF::Types::AnnotationPatchLineMeasure }, optional: true, nullable: false + + field :caption_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "captionEnabled" + + field :caption_position, -> { CloudPDF::Types::AnnotationPatchLineCaptionPosition }, optional: true, nullable: false, api_name: "captionPosition" + + field :caption_offset, -> { CloudPDF::Types::AnnotationPatchLineCaptionOffset }, optional: true, nullable: false, api_name: "captionOffset" + + field :leader, -> { CloudPDF::Types::AnnotationPatchLineLeader }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_blend_mode.rb b/lib/CloudPDF/types/annotation_patch_line_blend_mode.rb new file mode 100644 index 00000000..de578735 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchLineBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_border_style.rb b/lib/CloudPDF/types/annotation_patch_line_border_style.rb new file mode 100644 index 00000000..9f1d74dc --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_border_style.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchLineBorderStyle < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + member -> { CloudPDF::Types::AnnotationPatchLineBorderStyleZero } + + member -> { CloudPDF::Types::AnnotationPatchLineBorderStyleOne } + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_border_style_one.rb b/lib/CloudPDF/types/annotation_patch_line_border_style_one.rb new file mode 100644 index 00000000..81f73871 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_border_style_one.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchLineBorderStyleOne + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + BEVELED = "beveled" + INSET = "inset" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_border_style_zero.rb b/lib/CloudPDF/types/annotation_patch_line_border_style_zero.rb new file mode 100644 index 00000000..86f79b51 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_border_style_zero.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchLineBorderStyleZero + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_caption_offset.rb b/lib/CloudPDF/types/annotation_patch_line_caption_offset.rb new file mode 100644 index 00000000..7d34a4d5 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_caption_offset.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchLineCaptionOffset < Internal::Types::Model + field :along, -> { Integer }, optional: false, nullable: false + + field :perpendicular, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_caption_position.rb b/lib/CloudPDF/types/annotation_patch_line_caption_position.rb new file mode 100644 index 00000000..666070da --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_caption_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchLineCaptionPosition + extend CloudPDF::Internal::Types::Enum + + INLINE = "inline" + TOP = "top" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_intent.rb b/lib/CloudPDF/types/annotation_patch_line_intent.rb new file mode 100644 index 00000000..2d8e1d7e --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_intent.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchLineIntent + extend CloudPDF::Internal::Types::Enum + + LINE_ARROW = "line-arrow" + LINE_DIMENSION = "line-dimension" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_leader.rb b/lib/CloudPDF/types/annotation_patch_line_leader.rb new file mode 100644 index 00000000..3647df57 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_leader.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchLineLeader < Internal::Types::Model + field :length, -> { Integer }, optional: false, nullable: false + + field :extension, -> { Integer }, optional: true, nullable: false + + field :offset, -> { Integer }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_line_endings.rb b/lib/CloudPDF/types/annotation_patch_line_line_endings.rb new file mode 100644 index 00000000..3fcba14a --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_line_endings.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchLineLineEndings < Internal::Types::Model + field :start, -> { CloudPDF::Types::AnnotationPatchLineLineEndingsStart }, optional: false, nullable: false + + field :end_, -> { CloudPDF::Types::AnnotationPatchLineLineEndingsEnd }, optional: false, nullable: false, api_name: "end" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_line_endings_end.rb b/lib/CloudPDF/types/annotation_patch_line_line_endings_end.rb new file mode 100644 index 00000000..b63967e3 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_line_endings_end.rb @@ -0,0 +1,20 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchLineLineEndingsEnd + extend CloudPDF::Internal::Types::Enum + + NONE = "none" + SQUARE = "square" + CIRCLE = "circle" + DIAMOND = "diamond" + OPEN_ARROW = "open-arrow" + CLOSED_ARROW = "closed-arrow" + BUTT = "butt" + R_OPEN_ARROW = "r-open-arrow" + R_CLOSED_ARROW = "r-closed-arrow" + SLASH = "slash" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_line_endings_start.rb b/lib/CloudPDF/types/annotation_patch_line_line_endings_start.rb new file mode 100644 index 00000000..4bce9ebf --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_line_endings_start.rb @@ -0,0 +1,20 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchLineLineEndingsStart + extend CloudPDF::Internal::Types::Enum + + NONE = "none" + SQUARE = "square" + CIRCLE = "circle" + DIAMOND = "diamond" + OPEN_ARROW = "open-arrow" + CLOSED_ARROW = "closed-arrow" + BUTT = "butt" + R_OPEN_ARROW = "r-open-arrow" + R_CLOSED_ARROW = "r-closed-arrow" + SLASH = "slash" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_line_points.rb b/lib/CloudPDF/types/annotation_patch_line_line_points.rb new file mode 100644 index 00000000..9320c897 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_line_points.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchLineLinePoints < Internal::Types::Model + field :start, -> { CloudPDF::Types::AnnotationPatchLineLinePointsStart }, optional: false, nullable: false + + field :end_, -> { CloudPDF::Types::AnnotationPatchLineLinePointsEnd }, optional: false, nullable: false, api_name: "end" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_line_points_end.rb b/lib/CloudPDF/types/annotation_patch_line_line_points_end.rb new file mode 100644 index 00000000..40c03136 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_line_points_end.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchLineLinePointsEnd < 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_patch_line_line_points_start.rb b/lib/CloudPDF/types/annotation_patch_line_line_points_start.rb new file mode 100644 index 00000000..0f8f30a4 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_line_points_start.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchLineLinePointsStart < 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_patch_line_measure.rb b/lib/CloudPDF/types/annotation_patch_line_measure.rb new file mode 100644 index 00000000..e63d27ba --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_measure.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchLineMeasure < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :subtype + + member -> { CloudPDF::Types::AnnotationPatchLineMeasureRectilinear }, key: "RECTILINEAR" + + member -> { CloudPDF::Types::AnnotationPatchLineMeasureUnknown }, key: "UNKNOWN" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear.rb b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear.rb new file mode 100644 index 00000000..a5a1881e --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchLineMeasureRectilinear < Internal::Types::Model + field :ratio, -> { String }, optional: true, nullable: false + + field :x, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchLineMeasureRectilinearXItem] }, optional: false, nullable: false + + field :y, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchLineMeasureRectilinearYItem] }, optional: true, nullable: false + + field :distance, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchLineMeasureRectilinearDistanceItem] }, optional: false, nullable: false + + field :area, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchLineMeasureRectilinearAreaItem] }, optional: false, nullable: false + + field :angle, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchLineMeasureRectilinearAngleItem] }, optional: true, nullable: false + + field :slope, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchLineMeasureRectilinearSlopeItem] }, optional: true, nullable: false + + field :origin, -> { CloudPDF::Types::AnnotationPatchLineMeasureRectilinearOrigin }, optional: true, nullable: false + + field :cyx, -> { Integer }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_angle_item.rb b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_angle_item.rb new file mode 100644 index 00000000..6c8bfc33 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_angle_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchLineMeasureRectilinearAngleItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationPatchLineMeasureRectilinearAngleItemFraction }, 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::AnnotationPatchLineMeasureRectilinearAngleItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_angle_item_fraction.rb b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_angle_item_fraction.rb new file mode 100644 index 00000000..0440471a --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_angle_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchLineMeasureRectilinearAngleItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_angle_item_label_position.rb b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_angle_item_label_position.rb new file mode 100644 index 00000000..c710e505 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_angle_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchLineMeasureRectilinearAngleItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_area_item.rb b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_area_item.rb new file mode 100644 index 00000000..9daad6e0 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_area_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchLineMeasureRectilinearAreaItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationPatchLineMeasureRectilinearAreaItemFraction }, 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::AnnotationPatchLineMeasureRectilinearAreaItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_area_item_fraction.rb b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_area_item_fraction.rb new file mode 100644 index 00000000..82d45e88 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_area_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchLineMeasureRectilinearAreaItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_area_item_label_position.rb b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_area_item_label_position.rb new file mode 100644 index 00000000..d1d4eb19 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_area_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchLineMeasureRectilinearAreaItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_distance_item.rb b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_distance_item.rb new file mode 100644 index 00000000..41c3d3bd --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_distance_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchLineMeasureRectilinearDistanceItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationPatchLineMeasureRectilinearDistanceItemFraction }, 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::AnnotationPatchLineMeasureRectilinearDistanceItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_distance_item_fraction.rb b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_distance_item_fraction.rb new file mode 100644 index 00000000..0dc69215 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_distance_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchLineMeasureRectilinearDistanceItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_distance_item_label_position.rb b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_distance_item_label_position.rb new file mode 100644 index 00000000..a8a3517f --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_distance_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchLineMeasureRectilinearDistanceItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_origin.rb b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_origin.rb new file mode 100644 index 00000000..8fae83ec --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_origin.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchLineMeasureRectilinearOrigin < 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_patch_line_measure_rectilinear_slope_item.rb b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_slope_item.rb new file mode 100644 index 00000000..04d67288 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_slope_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchLineMeasureRectilinearSlopeItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationPatchLineMeasureRectilinearSlopeItemFraction }, 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::AnnotationPatchLineMeasureRectilinearSlopeItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_slope_item_fraction.rb b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_slope_item_fraction.rb new file mode 100644 index 00000000..dff03fa0 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_slope_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchLineMeasureRectilinearSlopeItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_slope_item_label_position.rb b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_slope_item_label_position.rb new file mode 100644 index 00000000..fe216563 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_slope_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchLineMeasureRectilinearSlopeItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_x_item.rb b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_x_item.rb new file mode 100644 index 00000000..b4144882 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_x_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchLineMeasureRectilinearXItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationPatchLineMeasureRectilinearXItemFraction }, 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::AnnotationPatchLineMeasureRectilinearXItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_x_item_fraction.rb b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_x_item_fraction.rb new file mode 100644 index 00000000..3350e1cd --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_x_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchLineMeasureRectilinearXItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_x_item_label_position.rb b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_x_item_label_position.rb new file mode 100644 index 00000000..30ce4156 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_x_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchLineMeasureRectilinearXItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_y_item.rb b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_y_item.rb new file mode 100644 index 00000000..8df2baa3 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_y_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchLineMeasureRectilinearYItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationPatchLineMeasureRectilinearYItemFraction }, 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::AnnotationPatchLineMeasureRectilinearYItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_y_item_fraction.rb b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_y_item_fraction.rb new file mode 100644 index 00000000..ed0905cb --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_y_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchLineMeasureRectilinearYItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_y_item_label_position.rb b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_y_item_label_position.rb new file mode 100644 index 00000000..4b57ece0 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_measure_rectilinear_y_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchLineMeasureRectilinearYItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_measure_unknown.rb b/lib/CloudPDF/types/annotation_patch_line_measure_unknown.rb new file mode 100644 index 00000000..813c4da4 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_measure_unknown.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchLineMeasureUnknown < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :subtype + + member -> { CloudPDF::Types::AnnotationPatchLineMeasureUnknownGeospatial }, key: "GEOSPATIAL" + + member -> { CloudPDF::Types::AnnotationPatchLineMeasureUnknownUnknown }, key: "UNKNOWN" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_measure_unknown_geospatial.rb b/lib/CloudPDF/types/annotation_patch_line_measure_unknown_geospatial.rb new file mode 100644 index 00000000..24fc8cef --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_measure_unknown_geospatial.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchLineMeasureUnknownGeospatial < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_measure_unknown_unknown.rb b/lib/CloudPDF/types/annotation_patch_line_measure_unknown_unknown.rb new file mode 100644 index 00000000..02019962 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_measure_unknown_unknown.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchLineMeasureUnknownUnknown < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_rect.rb b/lib/CloudPDF/types/annotation_patch_line_rect.rb new file mode 100644 index 00000000..c4438848 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchLineRect < 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/annotation_patch_line_reply.rb b/lib/CloudPDF/types/annotation_patch_line_reply.rb new file mode 100644 index 00000000..d4e6be9f --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchLineReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationPatchLineReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_line_reply_type.rb b/lib/CloudPDF/types/annotation_patch_line_reply_type.rb new file mode 100644 index 00000000..10ab4ee1 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_line_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchLineReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_link.rb b/lib/CloudPDF/types/annotation_patch_link.rb new file mode 100644 index 00000000..efd814fc --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_link.rb @@ -0,0 +1,69 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchLink < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationPatchLinkRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationPatchLinkBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationPatchLinkReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :target, -> { CloudPDF::Types::AnnotationPatchLinkTarget }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_link_blend_mode.rb b/lib/CloudPDF/types/annotation_patch_link_blend_mode.rb new file mode 100644 index 00000000..23da7a7b --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_link_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchLinkBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_link_rect.rb b/lib/CloudPDF/types/annotation_patch_link_rect.rb new file mode 100644 index 00000000..31ee1e36 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_link_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchLinkRect < 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/annotation_patch_link_reply.rb b/lib/CloudPDF/types/annotation_patch_link_reply.rb new file mode 100644 index 00000000..b97c9532 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_link_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchLinkReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationPatchLinkReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_link_reply_type.rb b/lib/CloudPDF/types/annotation_patch_link_reply_type.rb new file mode 100644 index 00000000..c4808754 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_link_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchLinkReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_link_target.rb b/lib/CloudPDF/types/annotation_patch_link_target.rb new file mode 100644 index 00000000..af77c06d --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_link_target.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchLinkTarget < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + member -> { CloudPDF::Types::PdfLinkTargetWritable } + + member -> { CloudPDF::Types::PdfLinkTarget } + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon.rb b/lib/CloudPDF/types/annotation_patch_polygon.rb new file mode 100644 index 00000000..d355dc91 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon.rb @@ -0,0 +1,93 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolygon < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationPatchPolygonRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationPatchPolygonBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationPatchPolygonReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :stroke_width, -> { Integer }, optional: true, nullable: false, api_name: "strokeWidth" + + field :border_style, -> { CloudPDF::Types::AnnotationPatchPolygonBorderStyle }, optional: true, nullable: false, api_name: "borderStyle" + + field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" + + field :interior_color, -> { String }, optional: true, nullable: false, api_name: "interiorColor" + + field :vertices, -> { CloudPDF::Types::AnnotationPatchPolygonVertices }, optional: true, nullable: false + + field :rotation, -> { Integer }, optional: true, nullable: false + + field :caption_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "captionEnabled" + + field :caption_center, -> { CloudPDF::Types::AnnotationPatchPolygonCaptionCenter }, optional: true, nullable: false, api_name: "captionCenter" + + field :intent, -> { CloudPDF::Types::AnnotationPatchPolygonIntent }, optional: true, nullable: false + + field :measure, -> { CloudPDF::Types::AnnotationPatchPolygonMeasure }, optional: true, nullable: false + + field :cloudy_intensity, -> { Integer }, optional: true, nullable: false, api_name: "cloudyIntensity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_blend_mode.rb b/lib/CloudPDF/types/annotation_patch_polygon_blend_mode.rb new file mode 100644 index 00000000..4e61e31c --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolygonBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_border_style.rb b/lib/CloudPDF/types/annotation_patch_polygon_border_style.rb new file mode 100644 index 00000000..90d0cede --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_border_style.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolygonBorderStyle < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + member -> { CloudPDF::Types::AnnotationPatchPolygonBorderStyleZero } + + member -> { CloudPDF::Types::AnnotationPatchPolygonBorderStyleOne } + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_border_style_one.rb b/lib/CloudPDF/types/annotation_patch_polygon_border_style_one.rb new file mode 100644 index 00000000..d45bb19d --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_border_style_one.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolygonBorderStyleOne + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + BEVELED = "beveled" + INSET = "inset" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_border_style_zero.rb b/lib/CloudPDF/types/annotation_patch_polygon_border_style_zero.rb new file mode 100644 index 00000000..0216dc34 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_border_style_zero.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolygonBorderStyleZero + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_caption_center.rb b/lib/CloudPDF/types/annotation_patch_polygon_caption_center.rb new file mode 100644 index 00000000..6d227feb --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_caption_center.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolygonCaptionCenter < 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_patch_polygon_intent.rb b/lib/CloudPDF/types/annotation_patch_polygon_intent.rb new file mode 100644 index 00000000..82e7cd1b --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_intent.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolygonIntent + extend CloudPDF::Internal::Types::Enum + + POLYGON_CLOUD = "polygon-cloud" + POLYGON_DIMENSION = "polygon-dimension" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_measure.rb b/lib/CloudPDF/types/annotation_patch_polygon_measure.rb new file mode 100644 index 00000000..ea376106 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_measure.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolygonMeasure < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :subtype + + member -> { CloudPDF::Types::AnnotationPatchPolygonMeasureRectilinear }, key: "RECTILINEAR" + + member -> { CloudPDF::Types::AnnotationPatchPolygonMeasureUnknown }, key: "UNKNOWN" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear.rb b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear.rb new file mode 100644 index 00000000..9961792e --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolygonMeasureRectilinear < Internal::Types::Model + field :ratio, -> { String }, optional: true, nullable: false + + field :x, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchPolygonMeasureRectilinearXItem] }, optional: false, nullable: false + + field :y, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchPolygonMeasureRectilinearYItem] }, optional: true, nullable: false + + field :distance, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchPolygonMeasureRectilinearDistanceItem] }, optional: false, nullable: false + + field :area, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchPolygonMeasureRectilinearAreaItem] }, optional: false, nullable: false + + field :angle, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchPolygonMeasureRectilinearAngleItem] }, optional: true, nullable: false + + field :slope, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchPolygonMeasureRectilinearSlopeItem] }, optional: true, nullable: false + + field :origin, -> { CloudPDF::Types::AnnotationPatchPolygonMeasureRectilinearOrigin }, optional: true, nullable: false + + field :cyx, -> { Integer }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_angle_item.rb b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_angle_item.rb new file mode 100644 index 00000000..cc66a6d3 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_angle_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolygonMeasureRectilinearAngleItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationPatchPolygonMeasureRectilinearAngleItemFraction }, 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::AnnotationPatchPolygonMeasureRectilinearAngleItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_angle_item_fraction.rb b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_angle_item_fraction.rb new file mode 100644 index 00000000..3c79f8be --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_angle_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolygonMeasureRectilinearAngleItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_angle_item_label_position.rb b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_angle_item_label_position.rb new file mode 100644 index 00000000..774abc40 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_angle_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolygonMeasureRectilinearAngleItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_area_item.rb b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_area_item.rb new file mode 100644 index 00000000..7a1b1ca4 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_area_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolygonMeasureRectilinearAreaItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationPatchPolygonMeasureRectilinearAreaItemFraction }, 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::AnnotationPatchPolygonMeasureRectilinearAreaItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_area_item_fraction.rb b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_area_item_fraction.rb new file mode 100644 index 00000000..e76472ee --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_area_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolygonMeasureRectilinearAreaItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_area_item_label_position.rb b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_area_item_label_position.rb new file mode 100644 index 00000000..a815c634 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_area_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolygonMeasureRectilinearAreaItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_distance_item.rb b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_distance_item.rb new file mode 100644 index 00000000..ca7a03bd --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_distance_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolygonMeasureRectilinearDistanceItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationPatchPolygonMeasureRectilinearDistanceItemFraction }, 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::AnnotationPatchPolygonMeasureRectilinearDistanceItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_distance_item_fraction.rb b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_distance_item_fraction.rb new file mode 100644 index 00000000..1bd7f3cf --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_distance_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolygonMeasureRectilinearDistanceItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_distance_item_label_position.rb b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_distance_item_label_position.rb new file mode 100644 index 00000000..8b048335 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_distance_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolygonMeasureRectilinearDistanceItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_origin.rb b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_origin.rb new file mode 100644 index 00000000..a354e0f2 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_origin.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolygonMeasureRectilinearOrigin < 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_patch_polygon_measure_rectilinear_slope_item.rb b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_slope_item.rb new file mode 100644 index 00000000..ea4c30cf --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_slope_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolygonMeasureRectilinearSlopeItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationPatchPolygonMeasureRectilinearSlopeItemFraction }, 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::AnnotationPatchPolygonMeasureRectilinearSlopeItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_slope_item_fraction.rb b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_slope_item_fraction.rb new file mode 100644 index 00000000..aec6b3c3 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_slope_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolygonMeasureRectilinearSlopeItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_slope_item_label_position.rb b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_slope_item_label_position.rb new file mode 100644 index 00000000..6b10122e --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_slope_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolygonMeasureRectilinearSlopeItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_x_item.rb b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_x_item.rb new file mode 100644 index 00000000..4be90313 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_x_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolygonMeasureRectilinearXItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationPatchPolygonMeasureRectilinearXItemFraction }, 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::AnnotationPatchPolygonMeasureRectilinearXItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_x_item_fraction.rb b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_x_item_fraction.rb new file mode 100644 index 00000000..d2d79b10 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_x_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolygonMeasureRectilinearXItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_x_item_label_position.rb b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_x_item_label_position.rb new file mode 100644 index 00000000..9281113a --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_x_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolygonMeasureRectilinearXItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_y_item.rb b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_y_item.rb new file mode 100644 index 00000000..8a84a1cd --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_y_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolygonMeasureRectilinearYItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationPatchPolygonMeasureRectilinearYItemFraction }, 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::AnnotationPatchPolygonMeasureRectilinearYItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_y_item_fraction.rb b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_y_item_fraction.rb new file mode 100644 index 00000000..3dee53e8 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_y_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolygonMeasureRectilinearYItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_y_item_label_position.rb b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_y_item_label_position.rb new file mode 100644 index 00000000..352704a3 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_measure_rectilinear_y_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolygonMeasureRectilinearYItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_measure_unknown.rb b/lib/CloudPDF/types/annotation_patch_polygon_measure_unknown.rb new file mode 100644 index 00000000..f4fced3f --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_measure_unknown.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolygonMeasureUnknown < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :subtype + + member -> { CloudPDF::Types::AnnotationPatchPolygonMeasureUnknownGeospatial }, key: "GEOSPATIAL" + + member -> { CloudPDF::Types::AnnotationPatchPolygonMeasureUnknownUnknown }, key: "UNKNOWN" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_measure_unknown_geospatial.rb b/lib/CloudPDF/types/annotation_patch_polygon_measure_unknown_geospatial.rb new file mode 100644 index 00000000..ed0a6ab7 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_measure_unknown_geospatial.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolygonMeasureUnknownGeospatial < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_measure_unknown_unknown.rb b/lib/CloudPDF/types/annotation_patch_polygon_measure_unknown_unknown.rb new file mode 100644 index 00000000..13a972da --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_measure_unknown_unknown.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolygonMeasureUnknownUnknown < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_rect.rb b/lib/CloudPDF/types/annotation_patch_polygon_rect.rb new file mode 100644 index 00000000..78ae9375 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolygonRect < 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/annotation_patch_polygon_reply.rb b/lib/CloudPDF/types/annotation_patch_polygon_reply.rb new file mode 100644 index 00000000..34d36772 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolygonReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationPatchPolygonReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_reply_type.rb b/lib/CloudPDF/types/annotation_patch_polygon_reply_type.rb new file mode 100644 index 00000000..cc86c1cf --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolygonReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_vertices.rb b/lib/CloudPDF/types/annotation_patch_polygon_vertices.rb new file mode 100644 index 00000000..2819403f --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_vertices.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolygonVertices < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + member -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchPolygonVerticesZeroItem] } + + member -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchPolygonVerticesOneItem] } + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polygon_vertices_one_item.rb b/lib/CloudPDF/types/annotation_patch_polygon_vertices_one_item.rb new file mode 100644 index 00000000..41c1305f --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_vertices_one_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolygonVerticesOneItem < 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_patch_polygon_vertices_zero_item.rb b/lib/CloudPDF/types/annotation_patch_polygon_vertices_zero_item.rb new file mode 100644 index 00000000..6c90497f --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polygon_vertices_zero_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolygonVerticesZeroItem < 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_patch_polyline.rb b/lib/CloudPDF/types/annotation_patch_polyline.rb new file mode 100644 index 00000000..46c0be9f --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline.rb @@ -0,0 +1,93 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolyline < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationPatchPolylineRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationPatchPolylineBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationPatchPolylineReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :stroke_width, -> { Integer }, optional: true, nullable: false, api_name: "strokeWidth" + + field :border_style, -> { CloudPDF::Types::AnnotationPatchPolylineBorderStyle }, optional: true, nullable: false, api_name: "borderStyle" + + field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" + + field :interior_color, -> { String }, optional: true, nullable: false, api_name: "interiorColor" + + field :vertices, -> { CloudPDF::Types::AnnotationPatchPolylineVertices }, optional: true, nullable: false + + field :rotation, -> { Integer }, optional: true, nullable: false + + field :caption_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "captionEnabled" + + field :caption_center, -> { CloudPDF::Types::AnnotationPatchPolylineCaptionCenter }, optional: true, nullable: false, api_name: "captionCenter" + + field :intent, -> { CloudPDF::Types::AnnotationPatchPolylineIntent }, optional: true, nullable: false + + field :measure, -> { CloudPDF::Types::AnnotationPatchPolylineMeasure }, optional: true, nullable: false + + field :line_endings, -> { CloudPDF::Types::AnnotationPatchPolylineLineEndings }, optional: true, nullable: false, api_name: "lineEndings" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_blend_mode.rb b/lib/CloudPDF/types/annotation_patch_polyline_blend_mode.rb new file mode 100644 index 00000000..3ae7aa4f --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolylineBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_border_style.rb b/lib/CloudPDF/types/annotation_patch_polyline_border_style.rb new file mode 100644 index 00000000..594689ea --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_border_style.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolylineBorderStyle < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + member -> { CloudPDF::Types::AnnotationPatchPolylineBorderStyleZero } + + member -> { CloudPDF::Types::AnnotationPatchPolylineBorderStyleOne } + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_border_style_one.rb b/lib/CloudPDF/types/annotation_patch_polyline_border_style_one.rb new file mode 100644 index 00000000..9346a419 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_border_style_one.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolylineBorderStyleOne + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + BEVELED = "beveled" + INSET = "inset" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_border_style_zero.rb b/lib/CloudPDF/types/annotation_patch_polyline_border_style_zero.rb new file mode 100644 index 00000000..7ebdf14f --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_border_style_zero.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolylineBorderStyleZero + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_caption_center.rb b/lib/CloudPDF/types/annotation_patch_polyline_caption_center.rb new file mode 100644 index 00000000..d3bae115 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_caption_center.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolylineCaptionCenter < 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_patch_polyline_intent.rb b/lib/CloudPDF/types/annotation_patch_polyline_intent.rb new file mode 100644 index 00000000..cafe44ac --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_intent.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolylineIntent + extend CloudPDF::Internal::Types::Enum + + POLYLINE_DIMENSION = "polyline-dimension" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_line_endings.rb b/lib/CloudPDF/types/annotation_patch_polyline_line_endings.rb new file mode 100644 index 00000000..cd7072dc --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_line_endings.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolylineLineEndings < Internal::Types::Model + field :start, -> { CloudPDF::Types::AnnotationPatchPolylineLineEndingsStart }, optional: false, nullable: false + + field :end_, -> { CloudPDF::Types::AnnotationPatchPolylineLineEndingsEnd }, optional: false, nullable: false, api_name: "end" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_line_endings_end.rb b/lib/CloudPDF/types/annotation_patch_polyline_line_endings_end.rb new file mode 100644 index 00000000..da4f298d --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_line_endings_end.rb @@ -0,0 +1,20 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolylineLineEndingsEnd + extend CloudPDF::Internal::Types::Enum + + NONE = "none" + SQUARE = "square" + CIRCLE = "circle" + DIAMOND = "diamond" + OPEN_ARROW = "open-arrow" + CLOSED_ARROW = "closed-arrow" + BUTT = "butt" + R_OPEN_ARROW = "r-open-arrow" + R_CLOSED_ARROW = "r-closed-arrow" + SLASH = "slash" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_line_endings_start.rb b/lib/CloudPDF/types/annotation_patch_polyline_line_endings_start.rb new file mode 100644 index 00000000..bfcd63dc --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_line_endings_start.rb @@ -0,0 +1,20 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolylineLineEndingsStart + extend CloudPDF::Internal::Types::Enum + + NONE = "none" + SQUARE = "square" + CIRCLE = "circle" + DIAMOND = "diamond" + OPEN_ARROW = "open-arrow" + CLOSED_ARROW = "closed-arrow" + BUTT = "butt" + R_OPEN_ARROW = "r-open-arrow" + R_CLOSED_ARROW = "r-closed-arrow" + SLASH = "slash" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_measure.rb b/lib/CloudPDF/types/annotation_patch_polyline_measure.rb new file mode 100644 index 00000000..e72d8ec4 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_measure.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolylineMeasure < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :subtype + + member -> { CloudPDF::Types::AnnotationPatchPolylineMeasureRectilinear }, key: "RECTILINEAR" + + member -> { CloudPDF::Types::AnnotationPatchPolylineMeasureUnknown }, key: "UNKNOWN" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear.rb b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear.rb new file mode 100644 index 00000000..5a42bb14 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolylineMeasureRectilinear < Internal::Types::Model + field :ratio, -> { String }, optional: true, nullable: false + + field :x, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchPolylineMeasureRectilinearXItem] }, optional: false, nullable: false + + field :y, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchPolylineMeasureRectilinearYItem] }, optional: true, nullable: false + + field :distance, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchPolylineMeasureRectilinearDistanceItem] }, optional: false, nullable: false + + field :area, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchPolylineMeasureRectilinearAreaItem] }, optional: false, nullable: false + + field :angle, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchPolylineMeasureRectilinearAngleItem] }, optional: true, nullable: false + + field :slope, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchPolylineMeasureRectilinearSlopeItem] }, optional: true, nullable: false + + field :origin, -> { CloudPDF::Types::AnnotationPatchPolylineMeasureRectilinearOrigin }, optional: true, nullable: false + + field :cyx, -> { Integer }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_angle_item.rb b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_angle_item.rb new file mode 100644 index 00000000..332706d2 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_angle_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolylineMeasureRectilinearAngleItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationPatchPolylineMeasureRectilinearAngleItemFraction }, 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::AnnotationPatchPolylineMeasureRectilinearAngleItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_angle_item_fraction.rb b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_angle_item_fraction.rb new file mode 100644 index 00000000..a3117079 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_angle_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolylineMeasureRectilinearAngleItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_angle_item_label_position.rb b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_angle_item_label_position.rb new file mode 100644 index 00000000..e6d99d89 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_angle_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolylineMeasureRectilinearAngleItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_area_item.rb b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_area_item.rb new file mode 100644 index 00000000..ad9d255e --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_area_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolylineMeasureRectilinearAreaItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationPatchPolylineMeasureRectilinearAreaItemFraction }, 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::AnnotationPatchPolylineMeasureRectilinearAreaItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_area_item_fraction.rb b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_area_item_fraction.rb new file mode 100644 index 00000000..204cabec --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_area_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolylineMeasureRectilinearAreaItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_area_item_label_position.rb b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_area_item_label_position.rb new file mode 100644 index 00000000..c2c210d6 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_area_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolylineMeasureRectilinearAreaItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_distance_item.rb b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_distance_item.rb new file mode 100644 index 00000000..e8de2c89 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_distance_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolylineMeasureRectilinearDistanceItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationPatchPolylineMeasureRectilinearDistanceItemFraction }, 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::AnnotationPatchPolylineMeasureRectilinearDistanceItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_distance_item_fraction.rb b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_distance_item_fraction.rb new file mode 100644 index 00000000..9bb4b92b --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_distance_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolylineMeasureRectilinearDistanceItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_distance_item_label_position.rb b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_distance_item_label_position.rb new file mode 100644 index 00000000..914ff4ce --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_distance_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolylineMeasureRectilinearDistanceItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_origin.rb b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_origin.rb new file mode 100644 index 00000000..8f0801f2 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_origin.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolylineMeasureRectilinearOrigin < 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_patch_polyline_measure_rectilinear_slope_item.rb b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_slope_item.rb new file mode 100644 index 00000000..ba1b8cb5 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_slope_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolylineMeasureRectilinearSlopeItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationPatchPolylineMeasureRectilinearSlopeItemFraction }, 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::AnnotationPatchPolylineMeasureRectilinearSlopeItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_slope_item_fraction.rb b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_slope_item_fraction.rb new file mode 100644 index 00000000..7ef09d8d --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_slope_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolylineMeasureRectilinearSlopeItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_slope_item_label_position.rb b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_slope_item_label_position.rb new file mode 100644 index 00000000..5ca6387c --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_slope_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolylineMeasureRectilinearSlopeItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_x_item.rb b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_x_item.rb new file mode 100644 index 00000000..3eeb8b0b --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_x_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolylineMeasureRectilinearXItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationPatchPolylineMeasureRectilinearXItemFraction }, 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::AnnotationPatchPolylineMeasureRectilinearXItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_x_item_fraction.rb b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_x_item_fraction.rb new file mode 100644 index 00000000..f402259a --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_x_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolylineMeasureRectilinearXItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_x_item_label_position.rb b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_x_item_label_position.rb new file mode 100644 index 00000000..93c7a0a3 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_x_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolylineMeasureRectilinearXItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_y_item.rb b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_y_item.rb new file mode 100644 index 00000000..3f6e22ab --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_y_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolylineMeasureRectilinearYItem < Internal::Types::Model + field :unit, -> { String }, optional: false, nullable: false + + field :conversion, -> { Integer }, optional: false, nullable: false + + field :fraction, -> { CloudPDF::Types::AnnotationPatchPolylineMeasureRectilinearYItemFraction }, 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::AnnotationPatchPolylineMeasureRectilinearYItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_y_item_fraction.rb b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_y_item_fraction.rb new file mode 100644 index 00000000..305a3cb6 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_y_item_fraction.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolylineMeasureRectilinearYItemFraction + extend CloudPDF::Internal::Types::Enum + + DECIMAL = "decimal" + FRACTION = "fraction" + ROUND = "round" + TRUNCATE = "truncate" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_y_item_label_position.rb b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_y_item_label_position.rb new file mode 100644 index 00000000..c27644a2 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_measure_rectilinear_y_item_label_position.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolylineMeasureRectilinearYItemLabelPosition + extend CloudPDF::Internal::Types::Enum + + SUFFIX = "suffix" + PREFIX = "prefix" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_measure_unknown.rb b/lib/CloudPDF/types/annotation_patch_polyline_measure_unknown.rb new file mode 100644 index 00000000..ac7dc8e1 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_measure_unknown.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolylineMeasureUnknown < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :subtype + + member -> { CloudPDF::Types::AnnotationPatchPolylineMeasureUnknownGeospatial }, key: "GEOSPATIAL" + + member -> { CloudPDF::Types::AnnotationPatchPolylineMeasureUnknownUnknown }, key: "UNKNOWN" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_measure_unknown_geospatial.rb b/lib/CloudPDF/types/annotation_patch_polyline_measure_unknown_geospatial.rb new file mode 100644 index 00000000..e5643214 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_measure_unknown_geospatial.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolylineMeasureUnknownGeospatial < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_measure_unknown_unknown.rb b/lib/CloudPDF/types/annotation_patch_polyline_measure_unknown_unknown.rb new file mode 100644 index 00000000..48c4cca3 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_measure_unknown_unknown.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolylineMeasureUnknownUnknown < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_rect.rb b/lib/CloudPDF/types/annotation_patch_polyline_rect.rb new file mode 100644 index 00000000..6f000894 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolylineRect < 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/annotation_patch_polyline_reply.rb b/lib/CloudPDF/types/annotation_patch_polyline_reply.rb new file mode 100644 index 00000000..35036df7 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolylineReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationPatchPolylineReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_reply_type.rb b/lib/CloudPDF/types/annotation_patch_polyline_reply_type.rb new file mode 100644 index 00000000..08e0ffb2 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPolylineReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_vertices.rb b/lib/CloudPDF/types/annotation_patch_polyline_vertices.rb new file mode 100644 index 00000000..cbe422c6 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_vertices.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolylineVertices < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + member -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchPolylineVerticesZeroItem] } + + member -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchPolylineVerticesOneItem] } + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_polyline_vertices_one_item.rb b/lib/CloudPDF/types/annotation_patch_polyline_vertices_one_item.rb new file mode 100644 index 00000000..457548c4 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_vertices_one_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolylineVerticesOneItem < 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_patch_polyline_vertices_zero_item.rb b/lib/CloudPDF/types/annotation_patch_polyline_vertices_zero_item.rb new file mode 100644 index 00000000..dd866a6b --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_polyline_vertices_zero_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPolylineVerticesZeroItem < 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_patch_popup.rb b/lib/CloudPDF/types/annotation_patch_popup.rb new file mode 100644 index 00000000..9adc9fa2 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_popup.rb @@ -0,0 +1,71 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPopup < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationPatchPopupRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationPatchPopupBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationPatchPopupReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :parent, -> { CloudPDF::Types::AnnotationRef }, optional: true, nullable: false + + field :open, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_popup_blend_mode.rb b/lib/CloudPDF/types/annotation_patch_popup_blend_mode.rb new file mode 100644 index 00000000..2dca4e97 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_popup_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPopupBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_popup_rect.rb b/lib/CloudPDF/types/annotation_patch_popup_rect.rb new file mode 100644 index 00000000..e1ab2649 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_popup_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPopupRect < 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/annotation_patch_popup_reply.rb b/lib/CloudPDF/types/annotation_patch_popup_reply.rb new file mode 100644 index 00000000..0f84b08a --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_popup_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchPopupReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationPatchPopupReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_popup_reply_type.rb b/lib/CloudPDF/types/annotation_patch_popup_reply_type.rb new file mode 100644 index 00000000..0d8cbd33 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_popup_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchPopupReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_redact.rb b/lib/CloudPDF/types/annotation_patch_redact.rb new file mode 100644 index 00000000..e04c4506 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_redact.rb @@ -0,0 +1,87 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchRedact < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationPatchRedactRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationPatchRedactBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationPatchRedactReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :quad_points, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchRedactQuadPointsItem] }, optional: true, nullable: false, api_name: "quadPoints" + + field :interior_color, -> { String }, optional: true, nullable: false, api_name: "interiorColor" + + field :overlay_text, -> { String }, optional: true, nullable: false, api_name: "overlayText" + + field :repeat, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :font_family, -> { String }, optional: true, nullable: false, api_name: "fontFamily" + + field :font_size, -> { Integer }, optional: true, nullable: false, api_name: "fontSize" + + field :font_color, -> { String }, optional: true, nullable: false, api_name: "fontColor" + + field :text_align, -> { CloudPDF::Types::AnnotationPatchRedactTextAlign }, optional: true, nullable: false, api_name: "textAlign" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_redact_blend_mode.rb b/lib/CloudPDF/types/annotation_patch_redact_blend_mode.rb new file mode 100644 index 00000000..e844be93 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_redact_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchRedactBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_redact_quad_points_item.rb b/lib/CloudPDF/types/annotation_patch_redact_quad_points_item.rb new file mode 100644 index 00000000..fde08685 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_redact_quad_points_item.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchRedactQuadPointsItem < Internal::Types::Model + field :upper_left, -> { CloudPDF::Types::AnnotationPatchRedactQuadPointsItemUpperLeft }, optional: false, nullable: false, api_name: "upperLeft" + + field :upper_right, -> { CloudPDF::Types::AnnotationPatchRedactQuadPointsItemUpperRight }, optional: false, nullable: false, api_name: "upperRight" + + field :lower_left, -> { CloudPDF::Types::AnnotationPatchRedactQuadPointsItemLowerLeft }, optional: false, nullable: false, api_name: "lowerLeft" + + field :lower_right, -> { CloudPDF::Types::AnnotationPatchRedactQuadPointsItemLowerRight }, optional: false, nullable: false, api_name: "lowerRight" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_redact_quad_points_item_lower_left.rb b/lib/CloudPDF/types/annotation_patch_redact_quad_points_item_lower_left.rb new file mode 100644 index 00000000..85641c3d --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_redact_quad_points_item_lower_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchRedactQuadPointsItemLowerLeft < 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_patch_redact_quad_points_item_lower_right.rb b/lib/CloudPDF/types/annotation_patch_redact_quad_points_item_lower_right.rb new file mode 100644 index 00000000..8f5abf3f --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_redact_quad_points_item_lower_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchRedactQuadPointsItemLowerRight < 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_patch_redact_quad_points_item_upper_left.rb b/lib/CloudPDF/types/annotation_patch_redact_quad_points_item_upper_left.rb new file mode 100644 index 00000000..83f23710 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_redact_quad_points_item_upper_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchRedactQuadPointsItemUpperLeft < 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_patch_redact_quad_points_item_upper_right.rb b/lib/CloudPDF/types/annotation_patch_redact_quad_points_item_upper_right.rb new file mode 100644 index 00000000..5619088b --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_redact_quad_points_item_upper_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchRedactQuadPointsItemUpperRight < 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_patch_redact_rect.rb b/lib/CloudPDF/types/annotation_patch_redact_rect.rb new file mode 100644 index 00000000..4d69f574 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_redact_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchRedactRect < 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/annotation_patch_redact_reply.rb b/lib/CloudPDF/types/annotation_patch_redact_reply.rb new file mode 100644 index 00000000..040916dd --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_redact_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchRedactReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationPatchRedactReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_redact_reply_type.rb b/lib/CloudPDF/types/annotation_patch_redact_reply_type.rb new file mode 100644 index 00000000..9af200a6 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_redact_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchRedactReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_redact_text_align.rb b/lib/CloudPDF/types/annotation_patch_redact_text_align.rb new file mode 100644 index 00000000..927f8e1c --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_redact_text_align.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchRedactTextAlign + extend CloudPDF::Internal::Types::Enum + + LEFT = "left" + CENTER = "center" + RIGHT = "right" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_square.rb b/lib/CloudPDF/types/annotation_patch_square.rb new file mode 100644 index 00000000..5c289d72 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_square.rb @@ -0,0 +1,85 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchSquare < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationPatchSquareRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationPatchSquareBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationPatchSquareReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :stroke_width, -> { Integer }, optional: true, nullable: false, api_name: "strokeWidth" + + field :border_style, -> { CloudPDF::Types::AnnotationPatchSquareBorderStyle }, optional: true, nullable: false, api_name: "borderStyle" + + field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" + + field :interior_color, -> { String }, optional: true, nullable: false, api_name: "interiorColor" + + field :box, -> { CloudPDF::Types::AnnotationPatchSquareBox }, optional: true, nullable: false + + field :rotation, -> { Integer }, optional: true, nullable: false + + field :cloudy_intensity, -> { Integer }, optional: true, nullable: false, api_name: "cloudyIntensity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_square_blend_mode.rb b/lib/CloudPDF/types/annotation_patch_square_blend_mode.rb new file mode 100644 index 00000000..64c8b8e5 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_square_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchSquareBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_square_border_style.rb b/lib/CloudPDF/types/annotation_patch_square_border_style.rb new file mode 100644 index 00000000..5b9e5ff9 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_square_border_style.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchSquareBorderStyle < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + member -> { CloudPDF::Types::AnnotationPatchSquareBorderStyleZero } + + member -> { CloudPDF::Types::AnnotationPatchSquareBorderStyleOne } + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_square_border_style_one.rb b/lib/CloudPDF/types/annotation_patch_square_border_style_one.rb new file mode 100644 index 00000000..d8e3c683 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_square_border_style_one.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchSquareBorderStyleOne + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + BEVELED = "beveled" + INSET = "inset" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_square_border_style_zero.rb b/lib/CloudPDF/types/annotation_patch_square_border_style_zero.rb new file mode 100644 index 00000000..3f30c45c --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_square_border_style_zero.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchSquareBorderStyleZero + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_square_box.rb b/lib/CloudPDF/types/annotation_patch_square_box.rb new file mode 100644 index 00000000..5060fa67 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_square_box.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchSquareBox < 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/annotation_patch_square_rect.rb b/lib/CloudPDF/types/annotation_patch_square_rect.rb new file mode 100644 index 00000000..34628c75 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_square_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchSquareRect < 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/annotation_patch_square_reply.rb b/lib/CloudPDF/types/annotation_patch_square_reply.rb new file mode 100644 index 00000000..be2870c7 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_square_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchSquareReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationPatchSquareReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_square_reply_type.rb b/lib/CloudPDF/types/annotation_patch_square_reply_type.rb new file mode 100644 index 00000000..fd0f743b --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_square_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchSquareReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_squiggly.rb b/lib/CloudPDF/types/annotation_patch_squiggly.rb new file mode 100644 index 00000000..2f4cfd22 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_squiggly.rb @@ -0,0 +1,73 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchSquiggly < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationPatchSquigglyRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationPatchSquigglyBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationPatchSquigglyReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :quad_points, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchSquigglyQuadPointsItem] }, optional: true, nullable: false, api_name: "quadPoints" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_squiggly_blend_mode.rb b/lib/CloudPDF/types/annotation_patch_squiggly_blend_mode.rb new file mode 100644 index 00000000..4dbe1510 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_squiggly_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchSquigglyBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_squiggly_quad_points_item.rb b/lib/CloudPDF/types/annotation_patch_squiggly_quad_points_item.rb new file mode 100644 index 00000000..d1623314 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_squiggly_quad_points_item.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchSquigglyQuadPointsItem < Internal::Types::Model + field :upper_left, -> { CloudPDF::Types::AnnotationPatchSquigglyQuadPointsItemUpperLeft }, optional: false, nullable: false, api_name: "upperLeft" + + field :upper_right, -> { CloudPDF::Types::AnnotationPatchSquigglyQuadPointsItemUpperRight }, optional: false, nullable: false, api_name: "upperRight" + + field :lower_left, -> { CloudPDF::Types::AnnotationPatchSquigglyQuadPointsItemLowerLeft }, optional: false, nullable: false, api_name: "lowerLeft" + + field :lower_right, -> { CloudPDF::Types::AnnotationPatchSquigglyQuadPointsItemLowerRight }, optional: false, nullable: false, api_name: "lowerRight" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_squiggly_quad_points_item_lower_left.rb b/lib/CloudPDF/types/annotation_patch_squiggly_quad_points_item_lower_left.rb new file mode 100644 index 00000000..18480322 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_squiggly_quad_points_item_lower_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchSquigglyQuadPointsItemLowerLeft < 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_patch_squiggly_quad_points_item_lower_right.rb b/lib/CloudPDF/types/annotation_patch_squiggly_quad_points_item_lower_right.rb new file mode 100644 index 00000000..e23a6fb4 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_squiggly_quad_points_item_lower_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchSquigglyQuadPointsItemLowerRight < 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_patch_squiggly_quad_points_item_upper_left.rb b/lib/CloudPDF/types/annotation_patch_squiggly_quad_points_item_upper_left.rb new file mode 100644 index 00000000..1fe0a81f --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_squiggly_quad_points_item_upper_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchSquigglyQuadPointsItemUpperLeft < 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_patch_squiggly_quad_points_item_upper_right.rb b/lib/CloudPDF/types/annotation_patch_squiggly_quad_points_item_upper_right.rb new file mode 100644 index 00000000..91610aef --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_squiggly_quad_points_item_upper_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchSquigglyQuadPointsItemUpperRight < 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_patch_squiggly_rect.rb b/lib/CloudPDF/types/annotation_patch_squiggly_rect.rb new file mode 100644 index 00000000..b9eb0004 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_squiggly_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchSquigglyRect < 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/annotation_patch_squiggly_reply.rb b/lib/CloudPDF/types/annotation_patch_squiggly_reply.rb new file mode 100644 index 00000000..c874227b --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_squiggly_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchSquigglyReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationPatchSquigglyReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_squiggly_reply_type.rb b/lib/CloudPDF/types/annotation_patch_squiggly_reply_type.rb new file mode 100644 index 00000000..62386c39 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_squiggly_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchSquigglyReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_stamp.rb b/lib/CloudPDF/types/annotation_patch_stamp.rb new file mode 100644 index 00000000..f90c269f --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_stamp.rb @@ -0,0 +1,77 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchStamp < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationPatchStampRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationPatchStampBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationPatchStampReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :box, -> { CloudPDF::Types::AnnotationPatchStampBox }, optional: true, nullable: false + + field :rotation, -> { Integer }, optional: true, nullable: false + + field :name, -> { String }, optional: true, nullable: false + + field :fit, -> { CloudPDF::Types::AnnotationPatchStampFit }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_stamp_blend_mode.rb b/lib/CloudPDF/types/annotation_patch_stamp_blend_mode.rb new file mode 100644 index 00000000..7b42b247 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_stamp_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchStampBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_stamp_box.rb b/lib/CloudPDF/types/annotation_patch_stamp_box.rb new file mode 100644 index 00000000..70c9d999 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_stamp_box.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchStampBox < 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/annotation_patch_stamp_fit.rb b/lib/CloudPDF/types/annotation_patch_stamp_fit.rb new file mode 100644 index 00000000..9dbc6252 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_stamp_fit.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchStampFit + extend CloudPDF::Internal::Types::Enum + + CONTAIN = "contain" + COVER = "cover" + FILL = "fill" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_stamp_rect.rb b/lib/CloudPDF/types/annotation_patch_stamp_rect.rb new file mode 100644 index 00000000..d5df72dd --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_stamp_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchStampRect < 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/annotation_patch_stamp_reply.rb b/lib/CloudPDF/types/annotation_patch_stamp_reply.rb new file mode 100644 index 00000000..b3fbcb3d --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_stamp_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchStampReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationPatchStampReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_stamp_reply_type.rb b/lib/CloudPDF/types/annotation_patch_stamp_reply_type.rb new file mode 100644 index 00000000..bc86b105 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_stamp_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchStampReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_strikeout.rb b/lib/CloudPDF/types/annotation_patch_strikeout.rb new file mode 100644 index 00000000..18fde4e2 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_strikeout.rb @@ -0,0 +1,75 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchStrikeout < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationPatchStrikeoutRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationPatchStrikeoutBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationPatchStrikeoutReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :quad_points, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchStrikeoutQuadPointsItem] }, optional: true, nullable: false, api_name: "quadPoints" + + field :intent, -> { CloudPDF::Types::AnnotationPatchStrikeoutIntent }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_strikeout_blend_mode.rb b/lib/CloudPDF/types/annotation_patch_strikeout_blend_mode.rb new file mode 100644 index 00000000..0ac7f48c --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_strikeout_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchStrikeoutBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_strikeout_intent.rb b/lib/CloudPDF/types/annotation_patch_strikeout_intent.rb new file mode 100644 index 00000000..b70ad48d --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_strikeout_intent.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchStrikeoutIntent + extend CloudPDF::Internal::Types::Enum + + STRIKEOUT_TEXT_EDIT = "strikeout-text-edit" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_strikeout_quad_points_item.rb b/lib/CloudPDF/types/annotation_patch_strikeout_quad_points_item.rb new file mode 100644 index 00000000..8f7a904c --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_strikeout_quad_points_item.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchStrikeoutQuadPointsItem < Internal::Types::Model + field :upper_left, -> { CloudPDF::Types::AnnotationPatchStrikeoutQuadPointsItemUpperLeft }, optional: false, nullable: false, api_name: "upperLeft" + + field :upper_right, -> { CloudPDF::Types::AnnotationPatchStrikeoutQuadPointsItemUpperRight }, optional: false, nullable: false, api_name: "upperRight" + + field :lower_left, -> { CloudPDF::Types::AnnotationPatchStrikeoutQuadPointsItemLowerLeft }, optional: false, nullable: false, api_name: "lowerLeft" + + field :lower_right, -> { CloudPDF::Types::AnnotationPatchStrikeoutQuadPointsItemLowerRight }, optional: false, nullable: false, api_name: "lowerRight" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_strikeout_quad_points_item_lower_left.rb b/lib/CloudPDF/types/annotation_patch_strikeout_quad_points_item_lower_left.rb new file mode 100644 index 00000000..fea3e780 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_strikeout_quad_points_item_lower_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchStrikeoutQuadPointsItemLowerLeft < 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_patch_strikeout_quad_points_item_lower_right.rb b/lib/CloudPDF/types/annotation_patch_strikeout_quad_points_item_lower_right.rb new file mode 100644 index 00000000..18126de1 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_strikeout_quad_points_item_lower_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchStrikeoutQuadPointsItemLowerRight < 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_patch_strikeout_quad_points_item_upper_left.rb b/lib/CloudPDF/types/annotation_patch_strikeout_quad_points_item_upper_left.rb new file mode 100644 index 00000000..ca55ab03 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_strikeout_quad_points_item_upper_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchStrikeoutQuadPointsItemUpperLeft < 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_patch_strikeout_quad_points_item_upper_right.rb b/lib/CloudPDF/types/annotation_patch_strikeout_quad_points_item_upper_right.rb new file mode 100644 index 00000000..78e354a9 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_strikeout_quad_points_item_upper_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchStrikeoutQuadPointsItemUpperRight < 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_patch_strikeout_rect.rb b/lib/CloudPDF/types/annotation_patch_strikeout_rect.rb new file mode 100644 index 00000000..ef36a735 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_strikeout_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchStrikeoutRect < 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/annotation_patch_strikeout_reply.rb b/lib/CloudPDF/types/annotation_patch_strikeout_reply.rb new file mode 100644 index 00000000..d98e3d96 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_strikeout_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchStrikeoutReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationPatchStrikeoutReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_strikeout_reply_type.rb b/lib/CloudPDF/types/annotation_patch_strikeout_reply_type.rb new file mode 100644 index 00000000..36cd015d --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_strikeout_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchStrikeoutReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_text.rb b/lib/CloudPDF/types/annotation_patch_text.rb new file mode 100644 index 00000000..a3bcc8df --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_text.rb @@ -0,0 +1,79 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchText < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationPatchTextRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationPatchTextBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationPatchTextReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :icon, -> { CloudPDF::Types::AnnotationPatchTextIcon }, optional: true, nullable: false + + field :open, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :state, -> { String }, optional: true, nullable: false + + field :state_model, -> { String }, optional: true, nullable: false, api_name: "stateModel" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_text_blend_mode.rb b/lib/CloudPDF/types/annotation_patch_text_blend_mode.rb new file mode 100644 index 00000000..961a7407 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_text_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchTextBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_text_icon.rb b/lib/CloudPDF/types/annotation_patch_text_icon.rb new file mode 100644 index 00000000..0636b950 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_text_icon.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchTextIcon + extend CloudPDF::Internal::Types::Enum + + COMMENT = "comment" + KEY = "key" + NOTE = "note" + HELP = "help" + NEW_PARAGRAPH = "new-paragraph" + PARAGRAPH = "paragraph" + INSERT = "insert" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_text_rect.rb b/lib/CloudPDF/types/annotation_patch_text_rect.rb new file mode 100644 index 00000000..8ecc50ce --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_text_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchTextRect < 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/annotation_patch_text_reply.rb b/lib/CloudPDF/types/annotation_patch_text_reply.rb new file mode 100644 index 00000000..ef34650f --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_text_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchTextReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationPatchTextReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_text_reply_type.rb b/lib/CloudPDF/types/annotation_patch_text_reply_type.rb new file mode 100644 index 00000000..94a93ac2 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_text_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchTextReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_underline.rb b/lib/CloudPDF/types/annotation_patch_underline.rb new file mode 100644 index 00000000..346caa0b --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_underline.rb @@ -0,0 +1,73 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchUnderline < Internal::Types::Model + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::AnnotationPatchUnderlineRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::AnnotationPatchUnderlineBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationPatchUnderlineReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { Object }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :opacity, -> { Integer }, optional: true, nullable: false + + field :quad_points, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchUnderlineQuadPointsItem] }, optional: true, nullable: false, api_name: "quadPoints" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_underline_blend_mode.rb b/lib/CloudPDF/types/annotation_patch_underline_blend_mode.rb new file mode 100644 index 00000000..f1d28b18 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_underline_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchUnderlineBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_underline_quad_points_item.rb b/lib/CloudPDF/types/annotation_patch_underline_quad_points_item.rb new file mode 100644 index 00000000..b93fb3f1 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_underline_quad_points_item.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchUnderlineQuadPointsItem < Internal::Types::Model + field :upper_left, -> { CloudPDF::Types::AnnotationPatchUnderlineQuadPointsItemUpperLeft }, optional: false, nullable: false, api_name: "upperLeft" + + field :upper_right, -> { CloudPDF::Types::AnnotationPatchUnderlineQuadPointsItemUpperRight }, optional: false, nullable: false, api_name: "upperRight" + + field :lower_left, -> { CloudPDF::Types::AnnotationPatchUnderlineQuadPointsItemLowerLeft }, optional: false, nullable: false, api_name: "lowerLeft" + + field :lower_right, -> { CloudPDF::Types::AnnotationPatchUnderlineQuadPointsItemLowerRight }, optional: false, nullable: false, api_name: "lowerRight" + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_underline_quad_points_item_lower_left.rb b/lib/CloudPDF/types/annotation_patch_underline_quad_points_item_lower_left.rb new file mode 100644 index 00000000..dac19d02 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_underline_quad_points_item_lower_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchUnderlineQuadPointsItemLowerLeft < 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_patch_underline_quad_points_item_lower_right.rb b/lib/CloudPDF/types/annotation_patch_underline_quad_points_item_lower_right.rb new file mode 100644 index 00000000..efc95d2a --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_underline_quad_points_item_lower_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchUnderlineQuadPointsItemLowerRight < 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_patch_underline_quad_points_item_upper_left.rb b/lib/CloudPDF/types/annotation_patch_underline_quad_points_item_upper_left.rb new file mode 100644 index 00000000..f58bb19c --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_underline_quad_points_item_upper_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchUnderlineQuadPointsItemUpperLeft < 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_patch_underline_quad_points_item_upper_right.rb b/lib/CloudPDF/types/annotation_patch_underline_quad_points_item_upper_right.rb new file mode 100644 index 00000000..2170ac56 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_underline_quad_points_item_upper_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchUnderlineQuadPointsItemUpperRight < 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_patch_underline_rect.rb b/lib/CloudPDF/types/annotation_patch_underline_rect.rb new file mode 100644 index 00000000..b5bd5c3f --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_underline_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchUnderlineRect < 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/annotation_patch_underline_reply.rb b/lib/CloudPDF/types/annotation_patch_underline_reply.rb new file mode 100644 index 00000000..23684360 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_underline_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPatchUnderlineReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationPatchUnderlineReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_patch_underline_reply_type.rb b/lib/CloudPDF/types/annotation_patch_underline_reply_type.rb new file mode 100644 index 00000000..7e82d4f3 --- /dev/null +++ b/lib/CloudPDF/types/annotation_patch_underline_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPatchUnderlineReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_polygon.rb b/lib/CloudPDF/types/annotation_polygon.rb new file mode 100644 index 00000000..ced58cd4 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon.rb @@ -0,0 +1,93 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPolygon < Internal::Types::Model + field :ref, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :has_appearance, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { String }, optional: false, nullable: true, api_name: "appearanceState" + + field :nm, -> { String }, optional: false, nullable: true + + field :rect, -> { CloudPDF::Types::AnnotationPolygonRect }, optional: false, nullable: false + + field :contents, -> { String }, optional: false, nullable: true + + field :subject, -> { String }, optional: false, nullable: true + + field :blend_mode, -> { CloudPDF::Types::AnnotationPolygonBlendMode }, optional: false, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationPolygonReply }, optional: false, nullable: true + + field :popup, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: true + + field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId" + + field :author, -> { String }, optional: false, nullable: true + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :modified_at, -> { String }, optional: false, nullable: true, api_name: "modifiedAt" + + field :user_id, -> { String }, optional: false, nullable: true, api_name: "userId" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + + field :modified_by, -> { String }, optional: false, nullable: true, api_name: "modifiedBy" + + field :imported_by, -> { String }, optional: false, nullable: true, api_name: "importedBy" + + field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true + + field :color, -> { String }, optional: false, nullable: false + + field :opacity, -> { Integer }, optional: false, nullable: false + + field :stroke_width, -> { Integer }, optional: false, nullable: false, api_name: "strokeWidth" + + field :border_style, -> { CloudPDF::Types::AnnotationPolygonBorderStyle }, optional: false, nullable: false, api_name: "borderStyle" + + field :dash_array, -> { Internal::Types::Array[Integer] }, optional: false, nullable: true, api_name: "dashArray" + + field :interior_color, -> { String }, optional: false, nullable: true, api_name: "interiorColor" + + field :vertices, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPolygonVerticesItem] }, optional: false, nullable: false + + field :rotation, -> { Integer }, optional: false, nullable: true + + field :caption_enabled, -> { Internal::Types::Boolean }, optional: false, nullable: true, api_name: "captionEnabled" + + field :caption_center, -> { CloudPDF::Types::AnnotationPolygonCaptionCenter }, optional: false, nullable: true, api_name: "captionCenter" + + field :intent, -> { CloudPDF::Types::AnnotationPolygonIntent }, optional: false, nullable: true + + field :measure, -> { CloudPDF::Types::AnnotationPolygonMeasure }, optional: false, nullable: true + + field :cloudy_intensity, -> { Integer }, optional: false, nullable: true, api_name: "cloudyIntensity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_polygon_blend_mode.rb b/lib/CloudPDF/types/annotation_polygon_blend_mode.rb new file mode 100644 index 00000000..9349616c --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPolygonBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_polygon_border_style.rb b/lib/CloudPDF/types/annotation_polygon_border_style.rb new file mode 100644 index 00000000..a9452df4 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_border_style.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPolygonBorderStyle + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + BEVELED = "beveled" + INSET = "inset" + end + end +end diff --git a/lib/CloudPDF/types/annotation_polygon_caption_center.rb b/lib/CloudPDF/types/annotation_polygon_caption_center.rb new file mode 100644 index 00000000..fe2bc0bd --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_caption_center.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPolygonCaptionCenter < 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_intent.rb b/lib/CloudPDF/types/annotation_polygon_intent.rb new file mode 100644 index 00000000..becd9135 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_intent.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPolygonIntent + extend CloudPDF::Internal::Types::Enum + + POLYGON_CLOUD = "polygon-cloud" + POLYGON_DIMENSION = "polygon-dimension" + end + end +end diff --git a/lib/CloudPDF/types/annotation_polygon_measure.rb b/lib/CloudPDF/types/annotation_polygon_measure.rb new file mode 100644 index 00000000..8022da62 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_measure.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 00000000..20f8c21f --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_measure_geospatial.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 00000000..a14f2752 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear.rb @@ -0,0 +1,25 @@ +# 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 new file mode 100644 index 00000000..9338289d --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_angle_item.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 00000000..7bd625d7 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_angle_item_fraction.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 00000000..fb0908a9 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_angle_item_label_position.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 00000000..fb5b9560 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_area_item.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 00000000..3e8d68c2 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_area_item_fraction.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 00000000..59c83f69 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_area_item_label_position.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 00000000..722bdfa0 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_distance_item.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 00000000..2b6f2c1f --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_distance_item_fraction.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 00000000..2d320306 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_distance_item_label_position.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 00000000..04ee99df --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_origin.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 00000000..5b8a35a5 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_slope_item.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 00000000..24fba00c --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_slope_item_fraction.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 00000000..b2375c69 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_slope_item_label_position.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 00000000..646fbca1 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_x_item.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 00000000..fbd005c2 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_x_item_fraction.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 00000000..574a53df --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_x_item_label_position.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 00000000..d1d62d3b --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_y_item.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 00000000..8e838cf3 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_y_item_fraction.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 00000000..5cf7e96a --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_measure_rectilinear_y_item_label_position.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 00000000..0e60d417 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_measure_unknown.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPolygonMeasureUnknown < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/annotation_polygon_rect.rb b/lib/CloudPDF/types/annotation_polygon_rect.rb new file mode 100644 index 00000000..de419cec --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPolygonRect < 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/annotation_polygon_reply.rb b/lib/CloudPDF/types/annotation_polygon_reply.rb new file mode 100644 index 00000000..e8259c96 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPolygonReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationPolygonReplyType }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_polygon_reply_type.rb b/lib/CloudPDF/types/annotation_polygon_reply_type.rb new file mode 100644 index 00000000..27dc009d --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPolygonReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_polygon_vertices_item.rb b/lib/CloudPDF/types/annotation_polygon_vertices_item.rb new file mode 100644 index 00000000..becb510d --- /dev/null +++ b/lib/CloudPDF/types/annotation_polygon_vertices_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPolygonVerticesItem < 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.rb b/lib/CloudPDF/types/annotation_polyline.rb new file mode 100644 index 00000000..a5d98967 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline.rb @@ -0,0 +1,93 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPolyline < Internal::Types::Model + field :ref, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :has_appearance, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { String }, optional: false, nullable: true, api_name: "appearanceState" + + field :nm, -> { String }, optional: false, nullable: true + + field :rect, -> { CloudPDF::Types::AnnotationPolylineRect }, optional: false, nullable: false + + field :contents, -> { String }, optional: false, nullable: true + + field :subject, -> { String }, optional: false, nullable: true + + field :blend_mode, -> { CloudPDF::Types::AnnotationPolylineBlendMode }, optional: false, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationPolylineReply }, optional: false, nullable: true + + field :popup, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: true + + field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId" + + field :author, -> { String }, optional: false, nullable: true + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :modified_at, -> { String }, optional: false, nullable: true, api_name: "modifiedAt" + + field :user_id, -> { String }, optional: false, nullable: true, api_name: "userId" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + + field :modified_by, -> { String }, optional: false, nullable: true, api_name: "modifiedBy" + + field :imported_by, -> { String }, optional: false, nullable: true, api_name: "importedBy" + + field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true + + field :color, -> { String }, optional: false, nullable: false + + field :opacity, -> { Integer }, optional: false, nullable: false + + field :stroke_width, -> { Integer }, optional: false, nullable: false, api_name: "strokeWidth" + + field :border_style, -> { CloudPDF::Types::AnnotationPolylineBorderStyle }, optional: false, nullable: false, api_name: "borderStyle" + + field :dash_array, -> { Internal::Types::Array[Integer] }, optional: false, nullable: true, api_name: "dashArray" + + field :interior_color, -> { String }, optional: false, nullable: true, api_name: "interiorColor" + + field :vertices, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPolylineVerticesItem] }, optional: false, nullable: false + + field :rotation, -> { Integer }, optional: false, nullable: true + + field :caption_enabled, -> { Internal::Types::Boolean }, optional: false, nullable: true, api_name: "captionEnabled" + + field :caption_center, -> { CloudPDF::Types::AnnotationPolylineCaptionCenter }, optional: false, nullable: true, api_name: "captionCenter" + + field :intent, -> { CloudPDF::Types::AnnotationPolylineIntent }, optional: false, nullable: true + + field :measure, -> { CloudPDF::Types::AnnotationPolylineMeasure }, optional: false, nullable: true + + field :line_endings, -> { CloudPDF::Types::AnnotationPolylineLineEndings }, optional: false, nullable: false, api_name: "lineEndings" + end + end +end diff --git a/lib/CloudPDF/types/annotation_polyline_blend_mode.rb b/lib/CloudPDF/types/annotation_polyline_blend_mode.rb new file mode 100644 index 00000000..5480aa4b --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPolylineBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_polyline_border_style.rb b/lib/CloudPDF/types/annotation_polyline_border_style.rb new file mode 100644 index 00000000..f38f8b95 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_border_style.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPolylineBorderStyle + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + BEVELED = "beveled" + INSET = "inset" + end + end +end diff --git a/lib/CloudPDF/types/annotation_polyline_caption_center.rb b/lib/CloudPDF/types/annotation_polyline_caption_center.rb new file mode 100644 index 00000000..758bae50 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_caption_center.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPolylineCaptionCenter < 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_intent.rb b/lib/CloudPDF/types/annotation_polyline_intent.rb new file mode 100644 index 00000000..1f2fc9b9 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_intent.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPolylineIntent + extend CloudPDF::Internal::Types::Enum + + POLYLINE_DIMENSION = "polyline-dimension" + end + end +end diff --git a/lib/CloudPDF/types/annotation_polyline_line_endings.rb b/lib/CloudPDF/types/annotation_polyline_line_endings.rb new file mode 100644 index 00000000..91da2eb5 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_line_endings.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPolylineLineEndings < Internal::Types::Model + field :start, -> { CloudPDF::Types::AnnotationPolylineLineEndingsStart }, optional: false, nullable: false + + field :end_, -> { CloudPDF::Types::AnnotationPolylineLineEndingsEnd }, optional: false, nullable: false, api_name: "end" + end + end +end diff --git a/lib/CloudPDF/types/annotation_polyline_line_endings_end.rb b/lib/CloudPDF/types/annotation_polyline_line_endings_end.rb new file mode 100644 index 00000000..b5168eb6 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_line_endings_end.rb @@ -0,0 +1,20 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPolylineLineEndingsEnd + extend CloudPDF::Internal::Types::Enum + + NONE = "none" + SQUARE = "square" + CIRCLE = "circle" + DIAMOND = "diamond" + OPEN_ARROW = "open-arrow" + CLOSED_ARROW = "closed-arrow" + BUTT = "butt" + R_OPEN_ARROW = "r-open-arrow" + R_CLOSED_ARROW = "r-closed-arrow" + SLASH = "slash" + end + end +end diff --git a/lib/CloudPDF/types/annotation_polyline_line_endings_start.rb b/lib/CloudPDF/types/annotation_polyline_line_endings_start.rb new file mode 100644 index 00000000..cbb9ca74 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_line_endings_start.rb @@ -0,0 +1,20 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPolylineLineEndingsStart + extend CloudPDF::Internal::Types::Enum + + NONE = "none" + SQUARE = "square" + CIRCLE = "circle" + DIAMOND = "diamond" + OPEN_ARROW = "open-arrow" + CLOSED_ARROW = "closed-arrow" + BUTT = "butt" + R_OPEN_ARROW = "r-open-arrow" + R_CLOSED_ARROW = "r-closed-arrow" + SLASH = "slash" + end + end +end diff --git a/lib/CloudPDF/types/annotation_polyline_measure.rb b/lib/CloudPDF/types/annotation_polyline_measure.rb new file mode 100644 index 00000000..0cc95084 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_measure.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 00000000..667a0d51 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_measure_geospatial.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 00000000..315a7ad0 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear.rb @@ -0,0 +1,25 @@ +# 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 new file mode 100644 index 00000000..7a8b3ee2 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_angle_item.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 00000000..61007412 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_angle_item_fraction.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 00000000..68619679 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_angle_item_label_position.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 00000000..b59cb0d9 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_area_item.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 00000000..cef3e812 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_area_item_fraction.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 00000000..ac58c0ac --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_area_item_label_position.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 00000000..de33b631 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_distance_item.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 00000000..17d053f6 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_distance_item_fraction.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 00000000..7c6c7564 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_distance_item_label_position.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 00000000..b9543bc0 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_origin.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 00000000..76d4e46c --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_slope_item.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 00000000..1dda938f --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_slope_item_fraction.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 00000000..67d3ca75 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_slope_item_label_position.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 00000000..8fd4547a --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_x_item.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 00000000..73553e88 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_x_item_fraction.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 00000000..137651fa --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_x_item_label_position.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 00000000..12e82070 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_y_item.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 00000000..c1a81cbe --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_y_item_fraction.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 00000000..e710c3c5 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_measure_rectilinear_y_item_label_position.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 00000000..e1cce20e --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_measure_unknown.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPolylineMeasureUnknown < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/annotation_polyline_rect.rb b/lib/CloudPDF/types/annotation_polyline_rect.rb new file mode 100644 index 00000000..74da6b9c --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPolylineRect < 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/annotation_polyline_reply.rb b/lib/CloudPDF/types/annotation_polyline_reply.rb new file mode 100644 index 00000000..29cd3ea4 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPolylineReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationPolylineReplyType }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_polyline_reply_type.rb b/lib/CloudPDF/types/annotation_polyline_reply_type.rb new file mode 100644 index 00000000..6945eb73 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPolylineReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_polyline_vertices_item.rb b/lib/CloudPDF/types/annotation_polyline_vertices_item.rb new file mode 100644 index 00000000..cd5f4876 --- /dev/null +++ b/lib/CloudPDF/types/annotation_polyline_vertices_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPolylineVerticesItem < 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_popup.rb b/lib/CloudPDF/types/annotation_popup.rb new file mode 100644 index 00000000..02959e07 --- /dev/null +++ b/lib/CloudPDF/types/annotation_popup.rb @@ -0,0 +1,71 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPopup < Internal::Types::Model + field :ref, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :has_appearance, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { String }, optional: false, nullable: true, api_name: "appearanceState" + + field :nm, -> { String }, optional: false, nullable: true + + field :rect, -> { CloudPDF::Types::AnnotationPopupRect }, optional: false, nullable: false + + field :contents, -> { String }, optional: false, nullable: true + + field :subject, -> { String }, optional: false, nullable: true + + field :blend_mode, -> { CloudPDF::Types::AnnotationPopupBlendMode }, optional: false, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationPopupReply }, optional: false, nullable: true + + field :popup, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: true + + field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId" + + field :author, -> { String }, optional: false, nullable: true + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :modified_at, -> { String }, optional: false, nullable: true, api_name: "modifiedAt" + + field :user_id, -> { String }, optional: false, nullable: true, api_name: "userId" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + + field :modified_by, -> { String }, optional: false, nullable: true, api_name: "modifiedBy" + + field :imported_by, -> { String }, optional: false, nullable: true, api_name: "importedBy" + + field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true + + field :parent, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: true + + field :open, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_popup_blend_mode.rb b/lib/CloudPDF/types/annotation_popup_blend_mode.rb new file mode 100644 index 00000000..feffa84e --- /dev/null +++ b/lib/CloudPDF/types/annotation_popup_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPopupBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_popup_rect.rb b/lib/CloudPDF/types/annotation_popup_rect.rb new file mode 100644 index 00000000..81d41f29 --- /dev/null +++ b/lib/CloudPDF/types/annotation_popup_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPopupRect < 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/annotation_popup_reply.rb b/lib/CloudPDF/types/annotation_popup_reply.rb new file mode 100644 index 00000000..29504ad6 --- /dev/null +++ b/lib/CloudPDF/types/annotation_popup_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPopupReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationPopupReplyType }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_popup_reply_type.rb b/lib/CloudPDF/types/annotation_popup_reply_type.rb new file mode 100644 index 00000000..cc2ba2b3 --- /dev/null +++ b/lib/CloudPDF/types/annotation_popup_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPopupReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_position.rb b/lib/CloudPDF/types/annotation_position.rb new file mode 100644 index 00000000..69652b4e --- /dev/null +++ b/lib/CloudPDF/types/annotation_position.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPosition < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + member -> { CloudPDF::Types::AnnotationPositionZero } + + member -> { CloudPDF::Types::AnnotationPositionAfter } + end + end +end diff --git a/lib/CloudPDF/types/annotation_position_after.rb b/lib/CloudPDF/types/annotation_position_after.rb new file mode 100644 index 00000000..460443b3 --- /dev/null +++ b/lib/CloudPDF/types/annotation_position_after.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationPositionAfter < Internal::Types::Model + field :before, -> { CloudPDF::Types::AnnotationRef }, optional: true, nullable: false + + field :after, -> { CloudPDF::Types::AnnotationRef }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_position_zero.rb b/lib/CloudPDF/types/annotation_position_zero.rb new file mode 100644 index 00000000..c7181dd3 --- /dev/null +++ b/lib/CloudPDF/types/annotation_position_zero.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationPositionZero + extend CloudPDF::Internal::Types::Enum + + START = "start" + END_ = "end" + end + end +end diff --git a/lib/CloudPDF/types/annotation_redact.rb b/lib/CloudPDF/types/annotation_redact.rb new file mode 100644 index 00000000..58577f84 --- /dev/null +++ b/lib/CloudPDF/types/annotation_redact.rb @@ -0,0 +1,87 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationRedact < Internal::Types::Model + field :ref, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :has_appearance, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { String }, optional: false, nullable: true, api_name: "appearanceState" + + field :nm, -> { String }, optional: false, nullable: true + + field :rect, -> { CloudPDF::Types::AnnotationRedactRect }, optional: false, nullable: false + + field :contents, -> { String }, optional: false, nullable: true + + field :subject, -> { String }, optional: false, nullable: true + + field :blend_mode, -> { CloudPDF::Types::AnnotationRedactBlendMode }, optional: false, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationRedactReply }, optional: false, nullable: true + + field :popup, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: true + + field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId" + + field :author, -> { String }, optional: false, nullable: true + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :modified_at, -> { String }, optional: false, nullable: true, api_name: "modifiedAt" + + field :user_id, -> { String }, optional: false, nullable: true, api_name: "userId" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + + field :modified_by, -> { String }, optional: false, nullable: true, api_name: "modifiedBy" + + field :imported_by, -> { String }, optional: false, nullable: true, api_name: "importedBy" + + field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true + + field :color, -> { String }, optional: false, nullable: false + + field :opacity, -> { Integer }, optional: false, nullable: false + + field :quad_points, -> { Internal::Types::Array[CloudPDF::Types::AnnotationRedactQuadPointsItem] }, optional: false, nullable: false, api_name: "quadPoints" + + field :interior_color, -> { String }, optional: false, nullable: true, api_name: "interiorColor" + + field :overlay_text, -> { String }, optional: false, nullable: true, api_name: "overlayText" + + field :repeat, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :font_family, -> { String }, optional: false, nullable: false, api_name: "fontFamily" + + field :font_size, -> { Integer }, optional: false, nullable: false, api_name: "fontSize" + + field :font_color, -> { String }, optional: false, nullable: false, api_name: "fontColor" + + field :text_align, -> { CloudPDF::Types::AnnotationRedactTextAlign }, optional: false, nullable: false, api_name: "textAlign" + end + end +end diff --git a/lib/CloudPDF/types/annotation_redact_blend_mode.rb b/lib/CloudPDF/types/annotation_redact_blend_mode.rb new file mode 100644 index 00000000..3c526ef4 --- /dev/null +++ b/lib/CloudPDF/types/annotation_redact_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationRedactBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_redact_quad_points_item.rb b/lib/CloudPDF/types/annotation_redact_quad_points_item.rb new file mode 100644 index 00000000..fd4ba3e9 --- /dev/null +++ b/lib/CloudPDF/types/annotation_redact_quad_points_item.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationRedactQuadPointsItem < Internal::Types::Model + field :upper_left, -> { CloudPDF::Types::AnnotationRedactQuadPointsItemUpperLeft }, optional: false, nullable: false, api_name: "upperLeft" + + field :upper_right, -> { CloudPDF::Types::AnnotationRedactQuadPointsItemUpperRight }, optional: false, nullable: false, api_name: "upperRight" + + field :lower_left, -> { CloudPDF::Types::AnnotationRedactQuadPointsItemLowerLeft }, optional: false, nullable: false, api_name: "lowerLeft" + + field :lower_right, -> { CloudPDF::Types::AnnotationRedactQuadPointsItemLowerRight }, optional: false, nullable: false, api_name: "lowerRight" + end + end +end diff --git a/lib/CloudPDF/types/annotation_redact_quad_points_item_lower_left.rb b/lib/CloudPDF/types/annotation_redact_quad_points_item_lower_left.rb new file mode 100644 index 00000000..af122447 --- /dev/null +++ b/lib/CloudPDF/types/annotation_redact_quad_points_item_lower_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationRedactQuadPointsItemLowerLeft < 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_redact_quad_points_item_lower_right.rb b/lib/CloudPDF/types/annotation_redact_quad_points_item_lower_right.rb new file mode 100644 index 00000000..ea144dd3 --- /dev/null +++ b/lib/CloudPDF/types/annotation_redact_quad_points_item_lower_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationRedactQuadPointsItemLowerRight < 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_redact_quad_points_item_upper_left.rb b/lib/CloudPDF/types/annotation_redact_quad_points_item_upper_left.rb new file mode 100644 index 00000000..e84e7b46 --- /dev/null +++ b/lib/CloudPDF/types/annotation_redact_quad_points_item_upper_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationRedactQuadPointsItemUpperLeft < 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_redact_quad_points_item_upper_right.rb b/lib/CloudPDF/types/annotation_redact_quad_points_item_upper_right.rb new file mode 100644 index 00000000..ce6acb88 --- /dev/null +++ b/lib/CloudPDF/types/annotation_redact_quad_points_item_upper_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationRedactQuadPointsItemUpperRight < 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_redact_rect.rb b/lib/CloudPDF/types/annotation_redact_rect.rb new file mode 100644 index 00000000..47974225 --- /dev/null +++ b/lib/CloudPDF/types/annotation_redact_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationRedactRect < 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/annotation_redact_reply.rb b/lib/CloudPDF/types/annotation_redact_reply.rb new file mode 100644 index 00000000..cdfe40f1 --- /dev/null +++ b/lib/CloudPDF/types/annotation_redact_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationRedactReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationRedactReplyType }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_redact_reply_type.rb b/lib/CloudPDF/types/annotation_redact_reply_type.rb new file mode 100644 index 00000000..4dab0988 --- /dev/null +++ b/lib/CloudPDF/types/annotation_redact_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationRedactReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_redact_text_align.rb b/lib/CloudPDF/types/annotation_redact_text_align.rb new file mode 100644 index 00000000..ed07d87a --- /dev/null +++ b/lib/CloudPDF/types/annotation_redact_text_align.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationRedactTextAlign + extend CloudPDF::Internal::Types::Enum + + LEFT = "left" + CENTER = "center" + RIGHT = "right" + end + end +end diff --git a/lib/CloudPDF/types/annotation_ref.rb b/lib/CloudPDF/types/annotation_ref.rb new file mode 100644 index 00000000..0a5c0a5b --- /dev/null +++ b/lib/CloudPDF/types/annotation_ref.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationRef < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :kind + + member -> { CloudPDF::Types::AnnotationRefObjectNumber }, key: "OBJECT_NUMBER" + + member -> { CloudPDF::Types::AnnotationRefBaseIndex }, key: "BASE_INDEX" + end + end +end diff --git a/lib/CloudPDF/types/annotation_ref_base_index.rb b/lib/CloudPDF/types/annotation_ref_base_index.rb new file mode 100644 index 00000000..0e275d5d --- /dev/null +++ b/lib/CloudPDF/types/annotation_ref_base_index.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationRefBaseIndex < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :base_index, -> { Integer }, optional: false, nullable: false, api_name: "baseIndex" + end + end +end diff --git a/lib/CloudPDF/types/annotation_ref_object_number.rb b/lib/CloudPDF/types/annotation_ref_object_number.rb new file mode 100644 index 00000000..655d9f34 --- /dev/null +++ b/lib/CloudPDF/types/annotation_ref_object_number.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationRefObjectNumber < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :object_number, -> { Integer }, optional: false, nullable: false, api_name: "objectNumber" + end + end +end diff --git a/lib/CloudPDF/types/annotation_square.rb b/lib/CloudPDF/types/annotation_square.rb new file mode 100644 index 00000000..a3a631f5 --- /dev/null +++ b/lib/CloudPDF/types/annotation_square.rb @@ -0,0 +1,85 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationSquare < Internal::Types::Model + field :ref, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :has_appearance, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { String }, optional: false, nullable: true, api_name: "appearanceState" + + field :nm, -> { String }, optional: false, nullable: true + + field :rect, -> { CloudPDF::Types::AnnotationSquareRect }, optional: false, nullable: false + + field :contents, -> { String }, optional: false, nullable: true + + field :subject, -> { String }, optional: false, nullable: true + + field :blend_mode, -> { CloudPDF::Types::AnnotationSquareBlendMode }, optional: false, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationSquareReply }, optional: false, nullable: true + + field :popup, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: true + + field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId" + + field :author, -> { String }, optional: false, nullable: true + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :modified_at, -> { String }, optional: false, nullable: true, api_name: "modifiedAt" + + field :user_id, -> { String }, optional: false, nullable: true, api_name: "userId" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + + field :modified_by, -> { String }, optional: false, nullable: true, api_name: "modifiedBy" + + field :imported_by, -> { String }, optional: false, nullable: true, api_name: "importedBy" + + field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true + + field :color, -> { String }, optional: false, nullable: false + + field :opacity, -> { Integer }, optional: false, nullable: false + + field :stroke_width, -> { Integer }, optional: false, nullable: false, api_name: "strokeWidth" + + field :border_style, -> { CloudPDF::Types::AnnotationSquareBorderStyle }, optional: false, nullable: false, api_name: "borderStyle" + + field :dash_array, -> { Internal::Types::Array[Integer] }, optional: false, nullable: true, api_name: "dashArray" + + field :interior_color, -> { String }, optional: false, nullable: true, api_name: "interiorColor" + + field :box, -> { CloudPDF::Types::AnnotationSquareBox }, optional: false, nullable: false + + field :rotation, -> { Integer }, optional: false, nullable: true + + field :cloudy_intensity, -> { Integer }, optional: false, nullable: true, api_name: "cloudyIntensity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_square_blend_mode.rb b/lib/CloudPDF/types/annotation_square_blend_mode.rb new file mode 100644 index 00000000..d48aadf6 --- /dev/null +++ b/lib/CloudPDF/types/annotation_square_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationSquareBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_square_border_style.rb b/lib/CloudPDF/types/annotation_square_border_style.rb new file mode 100644 index 00000000..cda6b9f4 --- /dev/null +++ b/lib/CloudPDF/types/annotation_square_border_style.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationSquareBorderStyle + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + BEVELED = "beveled" + INSET = "inset" + end + end +end diff --git a/lib/CloudPDF/types/annotation_square_box.rb b/lib/CloudPDF/types/annotation_square_box.rb new file mode 100644 index 00000000..3a80b756 --- /dev/null +++ b/lib/CloudPDF/types/annotation_square_box.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationSquareBox < 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/annotation_square_rect.rb b/lib/CloudPDF/types/annotation_square_rect.rb new file mode 100644 index 00000000..457c99f1 --- /dev/null +++ b/lib/CloudPDF/types/annotation_square_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationSquareRect < 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/annotation_square_reply.rb b/lib/CloudPDF/types/annotation_square_reply.rb new file mode 100644 index 00000000..844f39a6 --- /dev/null +++ b/lib/CloudPDF/types/annotation_square_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationSquareReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationSquareReplyType }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_square_reply_type.rb b/lib/CloudPDF/types/annotation_square_reply_type.rb new file mode 100644 index 00000000..32644508 --- /dev/null +++ b/lib/CloudPDF/types/annotation_square_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationSquareReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_squiggly.rb b/lib/CloudPDF/types/annotation_squiggly.rb new file mode 100644 index 00000000..f451d450 --- /dev/null +++ b/lib/CloudPDF/types/annotation_squiggly.rb @@ -0,0 +1,73 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationSquiggly < Internal::Types::Model + field :ref, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :has_appearance, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { String }, optional: false, nullable: true, api_name: "appearanceState" + + field :nm, -> { String }, optional: false, nullable: true + + field :rect, -> { CloudPDF::Types::AnnotationSquigglyRect }, optional: false, nullable: false + + field :contents, -> { String }, optional: false, nullable: true + + field :subject, -> { String }, optional: false, nullable: true + + field :blend_mode, -> { CloudPDF::Types::AnnotationSquigglyBlendMode }, optional: false, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationSquigglyReply }, optional: false, nullable: true + + field :popup, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: true + + field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId" + + field :author, -> { String }, optional: false, nullable: true + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :modified_at, -> { String }, optional: false, nullable: true, api_name: "modifiedAt" + + field :user_id, -> { String }, optional: false, nullable: true, api_name: "userId" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + + field :modified_by, -> { String }, optional: false, nullable: true, api_name: "modifiedBy" + + field :imported_by, -> { String }, optional: false, nullable: true, api_name: "importedBy" + + field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true + + field :color, -> { String }, optional: false, nullable: false + + field :opacity, -> { Integer }, optional: false, nullable: false + + field :quad_points, -> { Internal::Types::Array[CloudPDF::Types::AnnotationSquigglyQuadPointsItem] }, optional: false, nullable: false, api_name: "quadPoints" + end + end +end diff --git a/lib/CloudPDF/types/annotation_squiggly_blend_mode.rb b/lib/CloudPDF/types/annotation_squiggly_blend_mode.rb new file mode 100644 index 00000000..4e9d52c4 --- /dev/null +++ b/lib/CloudPDF/types/annotation_squiggly_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationSquigglyBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_squiggly_quad_points_item.rb b/lib/CloudPDF/types/annotation_squiggly_quad_points_item.rb new file mode 100644 index 00000000..9d31bd36 --- /dev/null +++ b/lib/CloudPDF/types/annotation_squiggly_quad_points_item.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationSquigglyQuadPointsItem < Internal::Types::Model + field :upper_left, -> { CloudPDF::Types::AnnotationSquigglyQuadPointsItemUpperLeft }, optional: false, nullable: false, api_name: "upperLeft" + + field :upper_right, -> { CloudPDF::Types::AnnotationSquigglyQuadPointsItemUpperRight }, optional: false, nullable: false, api_name: "upperRight" + + field :lower_left, -> { CloudPDF::Types::AnnotationSquigglyQuadPointsItemLowerLeft }, optional: false, nullable: false, api_name: "lowerLeft" + + field :lower_right, -> { CloudPDF::Types::AnnotationSquigglyQuadPointsItemLowerRight }, optional: false, nullable: false, api_name: "lowerRight" + end + end +end diff --git a/lib/CloudPDF/types/annotation_squiggly_quad_points_item_lower_left.rb b/lib/CloudPDF/types/annotation_squiggly_quad_points_item_lower_left.rb new file mode 100644 index 00000000..412211be --- /dev/null +++ b/lib/CloudPDF/types/annotation_squiggly_quad_points_item_lower_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationSquigglyQuadPointsItemLowerLeft < 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_squiggly_quad_points_item_lower_right.rb b/lib/CloudPDF/types/annotation_squiggly_quad_points_item_lower_right.rb new file mode 100644 index 00000000..e893cca7 --- /dev/null +++ b/lib/CloudPDF/types/annotation_squiggly_quad_points_item_lower_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationSquigglyQuadPointsItemLowerRight < 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_squiggly_quad_points_item_upper_left.rb b/lib/CloudPDF/types/annotation_squiggly_quad_points_item_upper_left.rb new file mode 100644 index 00000000..9bd04831 --- /dev/null +++ b/lib/CloudPDF/types/annotation_squiggly_quad_points_item_upper_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationSquigglyQuadPointsItemUpperLeft < 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_squiggly_quad_points_item_upper_right.rb b/lib/CloudPDF/types/annotation_squiggly_quad_points_item_upper_right.rb new file mode 100644 index 00000000..6f81e6ff --- /dev/null +++ b/lib/CloudPDF/types/annotation_squiggly_quad_points_item_upper_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationSquigglyQuadPointsItemUpperRight < 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_squiggly_rect.rb b/lib/CloudPDF/types/annotation_squiggly_rect.rb new file mode 100644 index 00000000..62752f89 --- /dev/null +++ b/lib/CloudPDF/types/annotation_squiggly_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationSquigglyRect < 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/annotation_squiggly_reply.rb b/lib/CloudPDF/types/annotation_squiggly_reply.rb new file mode 100644 index 00000000..55e0f90a --- /dev/null +++ b/lib/CloudPDF/types/annotation_squiggly_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationSquigglyReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationSquigglyReplyType }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_squiggly_reply_type.rb b/lib/CloudPDF/types/annotation_squiggly_reply_type.rb new file mode 100644 index 00000000..f1d8f71f --- /dev/null +++ b/lib/CloudPDF/types/annotation_squiggly_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationSquigglyReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_stamp.rb b/lib/CloudPDF/types/annotation_stamp.rb new file mode 100644 index 00000000..88b7c248 --- /dev/null +++ b/lib/CloudPDF/types/annotation_stamp.rb @@ -0,0 +1,77 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationStamp < Internal::Types::Model + field :ref, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :has_appearance, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { String }, optional: false, nullable: true, api_name: "appearanceState" + + field :nm, -> { String }, optional: false, nullable: true + + field :rect, -> { CloudPDF::Types::AnnotationStampRect }, optional: false, nullable: false + + field :contents, -> { String }, optional: false, nullable: true + + field :subject, -> { String }, optional: false, nullable: true + + field :blend_mode, -> { CloudPDF::Types::AnnotationStampBlendMode }, optional: false, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationStampReply }, optional: false, nullable: true + + field :popup, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: true + + field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId" + + field :author, -> { String }, optional: false, nullable: true + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :modified_at, -> { String }, optional: false, nullable: true, api_name: "modifiedAt" + + field :user_id, -> { String }, optional: false, nullable: true, api_name: "userId" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + + field :modified_by, -> { String }, optional: false, nullable: true, api_name: "modifiedBy" + + field :imported_by, -> { String }, optional: false, nullable: true, api_name: "importedBy" + + field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true + + field :box, -> { CloudPDF::Types::AnnotationStampBox }, optional: false, nullable: false + + field :rotation, -> { Integer }, optional: false, nullable: true + + field :name, -> { String }, optional: false, nullable: true + + field :fit, -> { CloudPDF::Types::AnnotationStampFit }, optional: false, nullable: true + + field :opacity, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_stamp_blend_mode.rb b/lib/CloudPDF/types/annotation_stamp_blend_mode.rb new file mode 100644 index 00000000..686a8da2 --- /dev/null +++ b/lib/CloudPDF/types/annotation_stamp_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationStampBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_stamp_box.rb b/lib/CloudPDF/types/annotation_stamp_box.rb new file mode 100644 index 00000000..ae2d5fb3 --- /dev/null +++ b/lib/CloudPDF/types/annotation_stamp_box.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationStampBox < 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/annotation_stamp_fit.rb b/lib/CloudPDF/types/annotation_stamp_fit.rb new file mode 100644 index 00000000..5a109407 --- /dev/null +++ b/lib/CloudPDF/types/annotation_stamp_fit.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationStampFit + extend CloudPDF::Internal::Types::Enum + + CONTAIN = "contain" + COVER = "cover" + FILL = "fill" + end + end +end diff --git a/lib/CloudPDF/types/annotation_stamp_rect.rb b/lib/CloudPDF/types/annotation_stamp_rect.rb new file mode 100644 index 00000000..3505f40c --- /dev/null +++ b/lib/CloudPDF/types/annotation_stamp_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationStampRect < 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/annotation_stamp_reply.rb b/lib/CloudPDF/types/annotation_stamp_reply.rb new file mode 100644 index 00000000..09575465 --- /dev/null +++ b/lib/CloudPDF/types/annotation_stamp_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationStampReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationStampReplyType }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_stamp_reply_type.rb b/lib/CloudPDF/types/annotation_stamp_reply_type.rb new file mode 100644 index 00000000..dcaa1bb9 --- /dev/null +++ b/lib/CloudPDF/types/annotation_stamp_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationStampReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_strikeout.rb b/lib/CloudPDF/types/annotation_strikeout.rb new file mode 100644 index 00000000..7971526d --- /dev/null +++ b/lib/CloudPDF/types/annotation_strikeout.rb @@ -0,0 +1,75 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationStrikeout < Internal::Types::Model + field :ref, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :has_appearance, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { String }, optional: false, nullable: true, api_name: "appearanceState" + + field :nm, -> { String }, optional: false, nullable: true + + field :rect, -> { CloudPDF::Types::AnnotationStrikeoutRect }, optional: false, nullable: false + + field :contents, -> { String }, optional: false, nullable: true + + field :subject, -> { String }, optional: false, nullable: true + + field :blend_mode, -> { CloudPDF::Types::AnnotationStrikeoutBlendMode }, optional: false, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationStrikeoutReply }, optional: false, nullable: true + + field :popup, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: true + + field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId" + + field :author, -> { String }, optional: false, nullable: true + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :modified_at, -> { String }, optional: false, nullable: true, api_name: "modifiedAt" + + field :user_id, -> { String }, optional: false, nullable: true, api_name: "userId" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + + field :modified_by, -> { String }, optional: false, nullable: true, api_name: "modifiedBy" + + field :imported_by, -> { String }, optional: false, nullable: true, api_name: "importedBy" + + field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true + + field :color, -> { String }, optional: false, nullable: false + + field :opacity, -> { Integer }, optional: false, nullable: false + + field :quad_points, -> { Internal::Types::Array[CloudPDF::Types::AnnotationStrikeoutQuadPointsItem] }, optional: false, nullable: false, api_name: "quadPoints" + + field :intent, -> { CloudPDF::Types::AnnotationStrikeoutIntent }, optional: false, nullable: true + end + end +end diff --git a/lib/CloudPDF/types/annotation_strikeout_blend_mode.rb b/lib/CloudPDF/types/annotation_strikeout_blend_mode.rb new file mode 100644 index 00000000..7bbb0e72 --- /dev/null +++ b/lib/CloudPDF/types/annotation_strikeout_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationStrikeoutBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_strikeout_intent.rb b/lib/CloudPDF/types/annotation_strikeout_intent.rb new file mode 100644 index 00000000..3da672ac --- /dev/null +++ b/lib/CloudPDF/types/annotation_strikeout_intent.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationStrikeoutIntent + extend CloudPDF::Internal::Types::Enum + + STRIKEOUT_TEXT_EDIT = "strikeout-text-edit" + end + end +end diff --git a/lib/CloudPDF/types/annotation_strikeout_quad_points_item.rb b/lib/CloudPDF/types/annotation_strikeout_quad_points_item.rb new file mode 100644 index 00000000..1bf0d512 --- /dev/null +++ b/lib/CloudPDF/types/annotation_strikeout_quad_points_item.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationStrikeoutQuadPointsItem < Internal::Types::Model + field :upper_left, -> { CloudPDF::Types::AnnotationStrikeoutQuadPointsItemUpperLeft }, optional: false, nullable: false, api_name: "upperLeft" + + field :upper_right, -> { CloudPDF::Types::AnnotationStrikeoutQuadPointsItemUpperRight }, optional: false, nullable: false, api_name: "upperRight" + + field :lower_left, -> { CloudPDF::Types::AnnotationStrikeoutQuadPointsItemLowerLeft }, optional: false, nullable: false, api_name: "lowerLeft" + + field :lower_right, -> { CloudPDF::Types::AnnotationStrikeoutQuadPointsItemLowerRight }, optional: false, nullable: false, api_name: "lowerRight" + end + end +end diff --git a/lib/CloudPDF/types/annotation_strikeout_quad_points_item_lower_left.rb b/lib/CloudPDF/types/annotation_strikeout_quad_points_item_lower_left.rb new file mode 100644 index 00000000..be963d65 --- /dev/null +++ b/lib/CloudPDF/types/annotation_strikeout_quad_points_item_lower_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationStrikeoutQuadPointsItemLowerLeft < 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_strikeout_quad_points_item_lower_right.rb b/lib/CloudPDF/types/annotation_strikeout_quad_points_item_lower_right.rb new file mode 100644 index 00000000..4dc9c01f --- /dev/null +++ b/lib/CloudPDF/types/annotation_strikeout_quad_points_item_lower_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationStrikeoutQuadPointsItemLowerRight < 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_strikeout_quad_points_item_upper_left.rb b/lib/CloudPDF/types/annotation_strikeout_quad_points_item_upper_left.rb new file mode 100644 index 00000000..e7562df0 --- /dev/null +++ b/lib/CloudPDF/types/annotation_strikeout_quad_points_item_upper_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationStrikeoutQuadPointsItemUpperLeft < 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_strikeout_quad_points_item_upper_right.rb b/lib/CloudPDF/types/annotation_strikeout_quad_points_item_upper_right.rb new file mode 100644 index 00000000..4ebf51b7 --- /dev/null +++ b/lib/CloudPDF/types/annotation_strikeout_quad_points_item_upper_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationStrikeoutQuadPointsItemUpperRight < 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_strikeout_rect.rb b/lib/CloudPDF/types/annotation_strikeout_rect.rb new file mode 100644 index 00000000..33d00bca --- /dev/null +++ b/lib/CloudPDF/types/annotation_strikeout_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationStrikeoutRect < 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/annotation_strikeout_reply.rb b/lib/CloudPDF/types/annotation_strikeout_reply.rb new file mode 100644 index 00000000..eec1b889 --- /dev/null +++ b/lib/CloudPDF/types/annotation_strikeout_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationStrikeoutReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationStrikeoutReplyType }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_strikeout_reply_type.rb b/lib/CloudPDF/types/annotation_strikeout_reply_type.rb new file mode 100644 index 00000000..ae3e9aaa --- /dev/null +++ b/lib/CloudPDF/types/annotation_strikeout_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationStrikeoutReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_text.rb b/lib/CloudPDF/types/annotation_text.rb new file mode 100644 index 00000000..23046844 --- /dev/null +++ b/lib/CloudPDF/types/annotation_text.rb @@ -0,0 +1,79 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationText < Internal::Types::Model + field :ref, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :has_appearance, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { String }, optional: false, nullable: true, api_name: "appearanceState" + + field :nm, -> { String }, optional: false, nullable: true + + field :rect, -> { CloudPDF::Types::AnnotationTextRect }, optional: false, nullable: false + + field :contents, -> { String }, optional: false, nullable: true + + field :subject, -> { String }, optional: false, nullable: true + + field :blend_mode, -> { CloudPDF::Types::AnnotationTextBlendMode }, optional: false, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationTextReply }, optional: false, nullable: true + + field :popup, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: true + + field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId" + + field :author, -> { String }, optional: false, nullable: true + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :modified_at, -> { String }, optional: false, nullable: true, api_name: "modifiedAt" + + field :user_id, -> { String }, optional: false, nullable: true, api_name: "userId" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + + field :modified_by, -> { String }, optional: false, nullable: true, api_name: "modifiedBy" + + field :imported_by, -> { String }, optional: false, nullable: true, api_name: "importedBy" + + field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true + + field :color, -> { String }, optional: false, nullable: false + + field :opacity, -> { Integer }, optional: false, nullable: false + + field :icon, -> { CloudPDF::Types::AnnotationTextIcon }, optional: false, nullable: false + + field :open, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :state, -> { String }, optional: false, nullable: true + + field :state_model, -> { String }, optional: false, nullable: true, api_name: "stateModel" + end + end +end diff --git a/lib/CloudPDF/types/annotation_text_blend_mode.rb b/lib/CloudPDF/types/annotation_text_blend_mode.rb new file mode 100644 index 00000000..94f14373 --- /dev/null +++ b/lib/CloudPDF/types/annotation_text_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationTextBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_text_icon.rb b/lib/CloudPDF/types/annotation_text_icon.rb new file mode 100644 index 00000000..a3deb221 --- /dev/null +++ b/lib/CloudPDF/types/annotation_text_icon.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationTextIcon + extend CloudPDF::Internal::Types::Enum + + COMMENT = "comment" + KEY = "key" + NOTE = "note" + HELP = "help" + NEW_PARAGRAPH = "new-paragraph" + PARAGRAPH = "paragraph" + INSERT = "insert" + end + end +end diff --git a/lib/CloudPDF/types/annotation_text_rect.rb b/lib/CloudPDF/types/annotation_text_rect.rb new file mode 100644 index 00000000..31c8568f --- /dev/null +++ b/lib/CloudPDF/types/annotation_text_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationTextRect < 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/annotation_text_reply.rb b/lib/CloudPDF/types/annotation_text_reply.rb new file mode 100644 index 00000000..be53bd1f --- /dev/null +++ b/lib/CloudPDF/types/annotation_text_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationTextReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationTextReplyType }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_text_reply_type.rb b/lib/CloudPDF/types/annotation_text_reply_type.rb new file mode 100644 index 00000000..2eeb1be7 --- /dev/null +++ b/lib/CloudPDF/types/annotation_text_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationTextReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_underline.rb b/lib/CloudPDF/types/annotation_underline.rb new file mode 100644 index 00000000..eb3ff589 --- /dev/null +++ b/lib/CloudPDF/types/annotation_underline.rb @@ -0,0 +1,73 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationUnderline < Internal::Types::Model + field :ref, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :has_appearance, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { String }, optional: false, nullable: true, api_name: "appearanceState" + + field :nm, -> { String }, optional: false, nullable: true + + field :rect, -> { CloudPDF::Types::AnnotationUnderlineRect }, optional: false, nullable: false + + field :contents, -> { String }, optional: false, nullable: true + + field :subject, -> { String }, optional: false, nullable: true + + field :blend_mode, -> { CloudPDF::Types::AnnotationUnderlineBlendMode }, optional: false, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationUnderlineReply }, optional: false, nullable: true + + field :popup, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: true + + field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId" + + field :author, -> { String }, optional: false, nullable: true + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :modified_at, -> { String }, optional: false, nullable: true, api_name: "modifiedAt" + + field :user_id, -> { String }, optional: false, nullable: true, api_name: "userId" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + + field :modified_by, -> { String }, optional: false, nullable: true, api_name: "modifiedBy" + + field :imported_by, -> { String }, optional: false, nullable: true, api_name: "importedBy" + + field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true + + field :color, -> { String }, optional: false, nullable: false + + field :opacity, -> { Integer }, optional: false, nullable: false + + field :quad_points, -> { Internal::Types::Array[CloudPDF::Types::AnnotationUnderlineQuadPointsItem] }, optional: false, nullable: false, api_name: "quadPoints" + end + end +end diff --git a/lib/CloudPDF/types/annotation_underline_blend_mode.rb b/lib/CloudPDF/types/annotation_underline_blend_mode.rb new file mode 100644 index 00000000..ccd7bc89 --- /dev/null +++ b/lib/CloudPDF/types/annotation_underline_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationUnderlineBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_underline_quad_points_item.rb b/lib/CloudPDF/types/annotation_underline_quad_points_item.rb new file mode 100644 index 00000000..c32729e2 --- /dev/null +++ b/lib/CloudPDF/types/annotation_underline_quad_points_item.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationUnderlineQuadPointsItem < Internal::Types::Model + field :upper_left, -> { CloudPDF::Types::AnnotationUnderlineQuadPointsItemUpperLeft }, optional: false, nullable: false, api_name: "upperLeft" + + field :upper_right, -> { CloudPDF::Types::AnnotationUnderlineQuadPointsItemUpperRight }, optional: false, nullable: false, api_name: "upperRight" + + field :lower_left, -> { CloudPDF::Types::AnnotationUnderlineQuadPointsItemLowerLeft }, optional: false, nullable: false, api_name: "lowerLeft" + + field :lower_right, -> { CloudPDF::Types::AnnotationUnderlineQuadPointsItemLowerRight }, optional: false, nullable: false, api_name: "lowerRight" + end + end +end diff --git a/lib/CloudPDF/types/annotation_underline_quad_points_item_lower_left.rb b/lib/CloudPDF/types/annotation_underline_quad_points_item_lower_left.rb new file mode 100644 index 00000000..e9f86953 --- /dev/null +++ b/lib/CloudPDF/types/annotation_underline_quad_points_item_lower_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationUnderlineQuadPointsItemLowerLeft < 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_underline_quad_points_item_lower_right.rb b/lib/CloudPDF/types/annotation_underline_quad_points_item_lower_right.rb new file mode 100644 index 00000000..3459c2a5 --- /dev/null +++ b/lib/CloudPDF/types/annotation_underline_quad_points_item_lower_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationUnderlineQuadPointsItemLowerRight < 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_underline_quad_points_item_upper_left.rb b/lib/CloudPDF/types/annotation_underline_quad_points_item_upper_left.rb new file mode 100644 index 00000000..ea1f4496 --- /dev/null +++ b/lib/CloudPDF/types/annotation_underline_quad_points_item_upper_left.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationUnderlineQuadPointsItemUpperLeft < 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_underline_quad_points_item_upper_right.rb b/lib/CloudPDF/types/annotation_underline_quad_points_item_upper_right.rb new file mode 100644 index 00000000..58f59acf --- /dev/null +++ b/lib/CloudPDF/types/annotation_underline_quad_points_item_upper_right.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationUnderlineQuadPointsItemUpperRight < 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_underline_rect.rb b/lib/CloudPDF/types/annotation_underline_rect.rb new file mode 100644 index 00000000..5e994bbd --- /dev/null +++ b/lib/CloudPDF/types/annotation_underline_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationUnderlineRect < 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/annotation_underline_reply.rb b/lib/CloudPDF/types/annotation_underline_reply.rb new file mode 100644 index 00000000..db602fc9 --- /dev/null +++ b/lib/CloudPDF/types/annotation_underline_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationUnderlineReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationUnderlineReplyType }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_underline_reply_type.rb b/lib/CloudPDF/types/annotation_underline_reply_type.rb new file mode 100644 index 00000000..cef3c236 --- /dev/null +++ b/lib/CloudPDF/types/annotation_underline_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationUnderlineReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/annotation_unsupported.rb b/lib/CloudPDF/types/annotation_unsupported.rb new file mode 100644 index 00000000..fa064b94 --- /dev/null +++ b/lib/CloudPDF/types/annotation_unsupported.rb @@ -0,0 +1,71 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationUnsupported < Internal::Types::Model + field :ref, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :has_appearance, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { String }, optional: false, nullable: true, api_name: "appearanceState" + + field :nm, -> { String }, optional: false, nullable: true + + field :rect, -> { CloudPDF::Types::AnnotationUnsupportedRect }, optional: false, nullable: false + + field :contents, -> { String }, optional: false, nullable: true + + field :subject, -> { String }, optional: false, nullable: true + + field :blend_mode, -> { CloudPDF::Types::AnnotationUnsupportedBlendMode }, optional: false, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::AnnotationUnsupportedReply }, optional: false, nullable: true + + field :popup, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: true + + field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId" + + field :author, -> { String }, optional: false, nullable: true + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :modified_at, -> { String }, optional: false, nullable: true, api_name: "modifiedAt" + + field :user_id, -> { String }, optional: false, nullable: true, api_name: "userId" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + + field :modified_by, -> { String }, optional: false, nullable: true, api_name: "modifiedBy" + + field :imported_by, -> { String }, optional: false, nullable: true, api_name: "importedBy" + + field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true + + field :raw_subtype_code, -> { Integer }, optional: false, nullable: false, api_name: "rawSubtypeCode" + + field :raw_subtype_name, -> { String }, optional: false, nullable: true, api_name: "rawSubtypeName" + end + end +end diff --git a/lib/CloudPDF/types/annotation_unsupported_blend_mode.rb b/lib/CloudPDF/types/annotation_unsupported_blend_mode.rb new file mode 100644 index 00000000..70e23e0c --- /dev/null +++ b/lib/CloudPDF/types/annotation_unsupported_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationUnsupportedBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/annotation_unsupported_rect.rb b/lib/CloudPDF/types/annotation_unsupported_rect.rb new file mode 100644 index 00000000..a97c8584 --- /dev/null +++ b/lib/CloudPDF/types/annotation_unsupported_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationUnsupportedRect < 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/annotation_unsupported_reply.rb b/lib/CloudPDF/types/annotation_unsupported_reply.rb new file mode 100644 index 00000000..380683c0 --- /dev/null +++ b/lib/CloudPDF/types/annotation_unsupported_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class AnnotationUnsupportedReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::AnnotationUnsupportedReplyType }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/annotation_unsupported_reply_type.rb b/lib/CloudPDF/types/annotation_unsupported_reply_type.rb new file mode 100644 index 00000000..ea7ff761 --- /dev/null +++ b/lib/CloudPDF/types/annotation_unsupported_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module AnnotationUnsupportedReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/cache_delta.rb b/lib/CloudPDF/types/cache_delta.rb new file mode 100644 index 00000000..7b30ca4e --- /dev/null +++ b/lib/CloudPDF/types/cache_delta.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class CacheDelta < Internal::Types::Model + field :previous_doc_version, -> { Integer }, optional: false, nullable: false, api_name: "previousDocVersion" + + field :doc_version, -> { Integer }, optional: false, nullable: false, api_name: "docVersion" + + field :annotations_version, -> { Integer }, optional: true, nullable: false, api_name: "annotationsVersion" + + field :forms_version, -> { Integer }, optional: true, nullable: false, api_name: "formsVersion" + + field :layout_version, -> { Integer }, optional: true, nullable: false, api_name: "layoutVersion" + + field :metadata_version, -> { Integer }, optional: true, nullable: false, api_name: "metadataVersion" + + field :attachments_version, -> { Integer }, optional: true, nullable: false, api_name: "attachmentsVersion" + + field :layer_version, -> { Integer }, optional: true, nullable: false, api_name: "layerVersion" + + field :working, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :pages, -> { Internal::Types::Array[CloudPDF::Types::CacheDeltaPagesItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/cache_delta_pages_item.rb b/lib/CloudPDF/types/cache_delta_pages_item.rb new file mode 100644 index 00000000..299ae881 --- /dev/null +++ b/lib/CloudPDF/types/cache_delta_pages_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class CacheDeltaPagesItem < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :cache, -> { CloudPDF::Types::CacheDeltaPagesItemCache }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/cache_delta_pages_item_cache.rb b/lib/CloudPDF/types/cache_delta_pages_item_cache.rb new file mode 100644 index 00000000..fdfe8b63 --- /dev/null +++ b/lib/CloudPDF/types/cache_delta_pages_item_cache.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class CacheDeltaPagesItemCache < 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/change_item.rb b/lib/CloudPDF/types/change_item.rb new file mode 100644 index 00000000..0ba380fb --- /dev/null +++ b/lib/CloudPDF/types/change_item.rb @@ -0,0 +1,59 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeItem < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :type + + member -> { CloudPDF::Types::ChangeItemSkipped }, key: "SKIPPED" + + member -> { CloudPDF::Types::ChangeItemAnnotationsCreate }, key: "ANNOTATIONS_CREATE" + + member -> { CloudPDF::Types::ChangeItemAnnotationsUpdate }, key: "ANNOTATIONS_UPDATE" + + member -> { CloudPDF::Types::ChangeItemAnnotationsDelete }, key: "ANNOTATIONS_DELETE" + + member -> { CloudPDF::Types::ChangeItemAnnotationsReorder }, key: "ANNOTATIONS_REORDER" + + member -> { CloudPDF::Types::ChangeItemAnnotationsRestore }, key: "ANNOTATIONS_RESTORE" + + member -> { CloudPDF::Types::ChangeItemFormsSetValue }, key: "FORMS_SET_VALUE" + + member -> { CloudPDF::Types::ChangeItemFormsSetDisplay }, key: "FORMS_SET_DISPLAY" + + member -> { CloudPDF::Types::ChangeItemFormsSetAppearanceText }, key: "FORMS_SET_APPEARANCE_TEXT" + + member -> { CloudPDF::Types::ChangeItemFormsReset }, key: "FORMS_RESET" + + member -> { CloudPDF::Types::ChangeItemFormsCreate }, key: "FORMS_CREATE" + + member -> { CloudPDF::Types::ChangeItemFormsUpdate }, key: "FORMS_UPDATE" + + member -> { CloudPDF::Types::ChangeItemFormsDelete }, key: "FORMS_DELETE" + + member -> { CloudPDF::Types::ChangeItemFormsRestore }, key: "FORMS_RESTORE" + + member -> { CloudPDF::Types::ChangeItemFormsSetSignatureAppearance }, key: "FORMS_SET_SIGNATURE_APPEARANCE" + + member -> { CloudPDF::Types::ChangeItemFormsAddWidget }, key: "FORMS_ADD_WIDGET" + + member -> { CloudPDF::Types::ChangeItemFormsRemoveWidget }, key: "FORMS_REMOVE_WIDGET" + + member -> { CloudPDF::Types::ChangeItemFormsDeleteWidget }, key: "FORMS_DELETE_WIDGET" + + member -> { CloudPDF::Types::ChangeItemFormsRestoreWidget }, key: "FORMS_RESTORE_WIDGET" + + member -> { CloudPDF::Types::ChangeItemFormsReorderWidgets }, key: "FORMS_REORDER_WIDGETS" + + member -> { CloudPDF::Types::ChangeItemFormsReorderCalculations }, key: "FORMS_REORDER_CALCULATIONS" + + member -> { CloudPDF::Types::ChangeItemFormsUpdateWidget }, key: "FORMS_UPDATE_WIDGET" + + member -> { CloudPDF::Types::ChangeItemMetadataUpdate }, key: "METADATA_UPDATE" + + member -> { CloudPDF::Types::ChangeItemMetadataUpdateCustom }, key: "METADATA_UPDATE_CUSTOM" + end + end +end diff --git a/lib/CloudPDF/types/change_item_annotations_create.rb b/lib/CloudPDF/types/change_item_annotations_create.rb new file mode 100644 index 00000000..4bfd7251 --- /dev/null +++ b/lib/CloudPDF/types/change_item_annotations_create.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeItemAnnotationsCreate < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + 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/change_item_annotations_delete.rb b/lib/CloudPDF/types/change_item_annotations_delete.rb new file mode 100644 index 00000000..e8448131 --- /dev/null +++ b/lib/CloudPDF/types/change_item_annotations_delete.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeItemAnnotationsDelete < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :meta, -> { CloudPDF::Types::AnnotationMutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_item_annotations_reorder.rb b/lib/CloudPDF/types/change_item_annotations_reorder.rb new file mode 100644 index 00000000..82f8cb09 --- /dev/null +++ b/lib/CloudPDF/types/change_item_annotations_reorder.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeItemAnnotationsReorder < 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::AnnotationMutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_item_annotations_restore.rb b/lib/CloudPDF/types/change_item_annotations_restore.rb new file mode 100644 index 00000000..b6c952d7 --- /dev/null +++ b/lib/CloudPDF/types/change_item_annotations_restore.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeItemAnnotationsRestore < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :annotations, -> { Internal::Types::Array[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/change_item_annotations_update.rb b/lib/CloudPDF/types/change_item_annotations_update.rb new file mode 100644 index 00000000..1db76599 --- /dev/null +++ b/lib/CloudPDF/types/change_item_annotations_update.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeItemAnnotationsUpdate < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :skipped, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :annotation, -> { CloudPDF::Types::Annotation }, optional: false, nullable: false + + field :appearance, -> { CloudPDF::Types::ChangeItemAnnotationsUpdateAppearance }, optional: false, nullable: false + + field :meta, -> { CloudPDF::Types::AnnotationMutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_item_annotations_update_appearance.rb b/lib/CloudPDF/types/change_item_annotations_update_appearance.rb new file mode 100644 index 00000000..ba6aecf2 --- /dev/null +++ b/lib/CloudPDF/types/change_item_annotations_update_appearance.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeItemAnnotationsUpdateAppearance < Internal::Types::Model + field :action, -> { CloudPDF::Types::ChangeItemAnnotationsUpdateAppearanceAction }, optional: false, nullable: false + + field :changed, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_item_annotations_update_appearance_action.rb b/lib/CloudPDF/types/change_item_annotations_update_appearance_action.rb new file mode 100644 index 00000000..eb24888b --- /dev/null +++ b/lib/CloudPDF/types/change_item_annotations_update_appearance_action.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module ChangeItemAnnotationsUpdateAppearanceAction + extend CloudPDF::Internal::Types::Enum + + PRESERVED = "preserved" + REGENERATED = "regenerated" + GENERATION_UNAVAILABLE = "generation-unavailable" + RESTORED = "restored" + end + end +end diff --git a/lib/CloudPDF/types/change_item_forms_add_widget.rb b/lib/CloudPDF/types/change_item_forms_add_widget.rb new file mode 100644 index 00000000..3766e9af --- /dev/null +++ b/lib/CloudPDF/types/change_item_forms_add_widget.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeItemFormsAddWidget < 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/change_item_forms_create.rb b/lib/CloudPDF/types/change_item_forms_create.rb new file mode 100644 index 00000000..ea66478a --- /dev/null +++ b/lib/CloudPDF/types/change_item_forms_create.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeItemFormsCreate < 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 :calculation_order, -> { Internal::Types::Array[CloudPDF::Types::FormFieldRef] }, optional: true, nullable: false, api_name: "calculationOrder" + + field :meta, -> { CloudPDF::Types::FormMutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_item_forms_delete.rb b/lib/CloudPDF/types/change_item_forms_delete.rb new file mode 100644 index 00000000..0de9bdf8 --- /dev/null +++ b/lib/CloudPDF/types/change_item_forms_delete.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeItemFormsDelete < Internal::Types::Model + field :calculation_order, -> { Internal::Types::Array[CloudPDF::Types::FormFieldRef] }, optional: true, nullable: false, api_name: "calculationOrder" + + field :meta, -> { CloudPDF::Types::FormMutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_item_forms_delete_widget.rb b/lib/CloudPDF/types/change_item_forms_delete_widget.rb new file mode 100644 index 00000000..1a275213 --- /dev/null +++ b/lib/CloudPDF/types/change_item_forms_delete_widget.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeItemFormsDeleteWidget < 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/change_item_forms_remove_widget.rb b/lib/CloudPDF/types/change_item_forms_remove_widget.rb new file mode 100644 index 00000000..dbaa87e8 --- /dev/null +++ b/lib/CloudPDF/types/change_item_forms_remove_widget.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeItemFormsRemoveWidget < 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/change_item_forms_reorder_calculations.rb b/lib/CloudPDF/types/change_item_forms_reorder_calculations.rb new file mode 100644 index 00000000..c27e1765 --- /dev/null +++ b/lib/CloudPDF/types/change_item_forms_reorder_calculations.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeItemFormsReorderCalculations < 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/change_item_forms_reorder_widgets.rb b/lib/CloudPDF/types/change_item_forms_reorder_widgets.rb new file mode 100644 index 00000000..877c0ecf --- /dev/null +++ b/lib/CloudPDF/types/change_item_forms_reorder_widgets.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeItemFormsReorderWidgets < 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/change_item_forms_reset.rb b/lib/CloudPDF/types/change_item_forms_reset.rb new file mode 100644 index 00000000..00fb645b --- /dev/null +++ b/lib/CloudPDF/types/change_item_forms_reset.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeItemFormsReset < Internal::Types::Model + field :skipped, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + 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/change_item_forms_restore.rb b/lib/CloudPDF/types/change_item_forms_restore.rb new file mode 100644 index 00000000..82ef1209 --- /dev/null +++ b/lib/CloudPDF/types/change_item_forms_restore.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeItemFormsRestore < 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/change_item_forms_restore_widget.rb b/lib/CloudPDF/types/change_item_forms_restore_widget.rb new file mode 100644 index 00000000..42711c28 --- /dev/null +++ b/lib/CloudPDF/types/change_item_forms_restore_widget.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeItemFormsRestoreWidget < Internal::Types::Model + field :field, -> { CloudPDF::Types::FormField }, optional: false, nullable: true + + 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/change_item_forms_set_appearance_text.rb b/lib/CloudPDF/types/change_item_forms_set_appearance_text.rb new file mode 100644 index 00000000..a417fdef --- /dev/null +++ b/lib/CloudPDF/types/change_item_forms_set_appearance_text.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeItemFormsSetAppearanceText < 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 :calculation_order, -> { Internal::Types::Array[CloudPDF::Types::FormFieldRef] }, optional: true, nullable: false, api_name: "calculationOrder" + + field :meta, -> { CloudPDF::Types::FormMutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_item_forms_set_display.rb b/lib/CloudPDF/types/change_item_forms_set_display.rb new file mode 100644 index 00000000..bf5f6cb1 --- /dev/null +++ b/lib/CloudPDF/types/change_item_forms_set_display.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeItemFormsSetDisplay < 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 :calculation_order, -> { Internal::Types::Array[CloudPDF::Types::FormFieldRef] }, optional: true, nullable: false, api_name: "calculationOrder" + + field :meta, -> { CloudPDF::Types::FormMutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_item_forms_set_signature_appearance.rb b/lib/CloudPDF/types/change_item_forms_set_signature_appearance.rb new file mode 100644 index 00000000..9cb619a6 --- /dev/null +++ b/lib/CloudPDF/types/change_item_forms_set_signature_appearance.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeItemFormsSetSignatureAppearance < 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 :calculation_order, -> { Internal::Types::Array[CloudPDF::Types::FormFieldRef] }, optional: true, nullable: false, api_name: "calculationOrder" + + field :meta, -> { CloudPDF::Types::FormMutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_item_forms_set_value.rb b/lib/CloudPDF/types/change_item_forms_set_value.rb new file mode 100644 index 00000000..d6d22c85 --- /dev/null +++ b/lib/CloudPDF/types/change_item_forms_set_value.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeItemFormsSetValue < 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/change_item_forms_update.rb b/lib/CloudPDF/types/change_item_forms_update.rb new file mode 100644 index 00000000..f8725d28 --- /dev/null +++ b/lib/CloudPDF/types/change_item_forms_update.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeItemFormsUpdate < Internal::Types::Model + field :skipped, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :field, -> { 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: true, nullable: false, api_name: "calculationOrder" + + field :meta, -> { CloudPDF::Types::FormMutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_item_forms_update_widget.rb b/lib/CloudPDF/types/change_item_forms_update_widget.rb new file mode 100644 index 00000000..d5b5d969 --- /dev/null +++ b/lib/CloudPDF/types/change_item_forms_update_widget.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeItemFormsUpdateWidget < Internal::Types::Model + field :skipped, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :widget, -> { CloudPDF::Types::WidgetAnnotation }, optional: false, nullable: false + + field :appearance, -> { CloudPDF::Types::ChangeItemFormsUpdateWidgetAppearance }, optional: false, nullable: false + + field :meta, -> { CloudPDF::Types::FormMutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_item_forms_update_widget_appearance.rb b/lib/CloudPDF/types/change_item_forms_update_widget_appearance.rb new file mode 100644 index 00000000..94d3a13d --- /dev/null +++ b/lib/CloudPDF/types/change_item_forms_update_widget_appearance.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeItemFormsUpdateWidgetAppearance < Internal::Types::Model + field :action, -> { CloudPDF::Types::ChangeItemFormsUpdateWidgetAppearanceAction }, optional: false, nullable: false + + field :changed, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_item_forms_update_widget_appearance_action.rb b/lib/CloudPDF/types/change_item_forms_update_widget_appearance_action.rb new file mode 100644 index 00000000..fb72a783 --- /dev/null +++ b/lib/CloudPDF/types/change_item_forms_update_widget_appearance_action.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module ChangeItemFormsUpdateWidgetAppearanceAction + extend CloudPDF::Internal::Types::Enum + + PRESERVED = "preserved" + REGENERATED = "regenerated" + GENERATION_UNAVAILABLE = "generation-unavailable" + RESTORED = "restored" + end + end +end diff --git a/lib/CloudPDF/types/change_item_metadata_update.rb b/lib/CloudPDF/types/change_item_metadata_update.rb new file mode 100644 index 00000000..cf2ca39c --- /dev/null +++ b/lib/CloudPDF/types/change_item_metadata_update.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeItemMetadataUpdate < Internal::Types::Model + field :skipped, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :metadata, -> { CloudPDF::Types::DocumentMetadata }, optional: false, nullable: false + + field :meta, -> { CloudPDF::Types::MutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_item_metadata_update_custom.rb b/lib/CloudPDF/types/change_item_metadata_update_custom.rb new file mode 100644 index 00000000..0ba94341 --- /dev/null +++ b/lib/CloudPDF/types/change_item_metadata_update_custom.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeItemMetadataUpdateCustom < Internal::Types::Model + field :skipped, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :custom, -> { Internal::Types::Hash[String, String] }, optional: false, nullable: false + + field :meta, -> { CloudPDF::Types::MutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_item_skipped.rb b/lib/CloudPDF/types/change_item_skipped.rb new file mode 100644 index 00000000..7211b117 --- /dev/null +++ b/lib/CloudPDF/types/change_item_skipped.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeItemSkipped < Internal::Types::Model + field :op, -> { CloudPDF::Types::ChangeItemSkippedOp }, optional: false, nullable: false + + field :meta, -> { CloudPDF::Types::MutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_item_skipped_op.rb b/lib/CloudPDF/types/change_item_skipped_op.rb new file mode 100644 index 00000000..3f640663 --- /dev/null +++ b/lib/CloudPDF/types/change_item_skipped_op.rb @@ -0,0 +1,32 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module ChangeItemSkippedOp + extend CloudPDF::Internal::Types::Enum + + ANNOTATIONS_CREATE = "annotations.create" + ANNOTATIONS_UPDATE = "annotations.update" + ANNOTATIONS_DELETE = "annotations.delete" + ANNOTATIONS_REORDER = "annotations.reorder" + FORMS_SET_VALUE = "forms.setValue" + FORMS_SET_DISPLAY = "forms.setDisplay" + FORMS_SET_APPEARANCE_TEXT = "forms.setAppearanceText" + FORMS_RESET = "forms.reset" + FORMS_CREATE = "forms.create" + FORMS_UPDATE = "forms.update" + FORMS_DELETE = "forms.delete" + FORMS_ADD_WIDGET = "forms.addWidget" + FORMS_REMOVE_WIDGET = "forms.removeWidget" + FORMS_DELETE_WIDGET = "forms.deleteWidget" + FORMS_REORDER_CALCULATIONS = "forms.reorderCalculations" + FORMS_REORDER_WIDGETS = "forms.reorderWidgets" + FORMS_UPDATE_WIDGET = "forms.updateWidget" + FORMS_SET_SIGNATURE_APPEARANCE = "forms.setSignatureAppearance" + METADATA_UPDATE = "metadata.update" + METADATA_UPDATE_CUSTOM = "metadata.updateCustom" + ANNOTATIONS_RESTORE = "annotations.restore" + FORMS_RESTORE = "forms.restore" + end + end +end diff --git a/lib/CloudPDF/types/change_op.rb b/lib/CloudPDF/types/change_op.rb new file mode 100644 index 00000000..15b1238e --- /dev/null +++ b/lib/CloudPDF/types/change_op.rb @@ -0,0 +1,51 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeOp < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :type + + member -> { CloudPDF::Types::ChangeOpAnnotationsCreate }, key: "ANNOTATIONS_CREATE" + + member -> { CloudPDF::Types::ChangeOpAnnotationsUpdate }, key: "ANNOTATIONS_UPDATE" + + member -> { CloudPDF::Types::ChangeOpAnnotationsDelete }, key: "ANNOTATIONS_DELETE" + + member -> { CloudPDF::Types::ChangeOpAnnotationsReorder }, key: "ANNOTATIONS_REORDER" + + member -> { CloudPDF::Types::ChangeOpFormsSetValue }, key: "FORMS_SET_VALUE" + + member -> { CloudPDF::Types::ChangeOpFormsSetDisplay }, key: "FORMS_SET_DISPLAY" + + member -> { CloudPDF::Types::ChangeOpFormsSetAppearanceText }, key: "FORMS_SET_APPEARANCE_TEXT" + + member -> { CloudPDF::Types::ChangeOpFormsReset }, key: "FORMS_RESET" + + member -> { CloudPDF::Types::ChangeOpFormsCreate }, key: "FORMS_CREATE" + + member -> { CloudPDF::Types::ChangeOpFormsUpdate }, key: "FORMS_UPDATE" + + member -> { CloudPDF::Types::ChangeOpFormsDelete }, key: "FORMS_DELETE" + + member -> { CloudPDF::Types::ChangeOpFormsAddWidget }, key: "FORMS_ADD_WIDGET" + + member -> { CloudPDF::Types::ChangeOpFormsRemoveWidget }, key: "FORMS_REMOVE_WIDGET" + + member -> { CloudPDF::Types::ChangeOpFormsDeleteWidget }, key: "FORMS_DELETE_WIDGET" + + member -> { CloudPDF::Types::ChangeOpFormsReorderCalculations }, key: "FORMS_REORDER_CALCULATIONS" + + member -> { CloudPDF::Types::ChangeOpFormsReorderWidgets }, key: "FORMS_REORDER_WIDGETS" + + member -> { CloudPDF::Types::ChangeOpFormsUpdateWidget }, key: "FORMS_UPDATE_WIDGET" + + member -> { CloudPDF::Types::ChangeOpFormsSetSignatureAppearance }, key: "FORMS_SET_SIGNATURE_APPEARANCE" + + member -> { CloudPDF::Types::ChangeOpMetadataUpdate }, key: "METADATA_UPDATE" + + member -> { CloudPDF::Types::ChangeOpMetadataUpdateCustom }, key: "METADATA_UPDATE_CUSTOM" + end + end +end diff --git a/lib/CloudPDF/types/change_op_annotations_create.rb b/lib/CloudPDF/types/change_op_annotations_create.rb new file mode 100644 index 00000000..8a73a5d5 --- /dev/null +++ b/lib/CloudPDF/types/change_op_annotations_create.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeOpAnnotationsCreate < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :data, -> { CloudPDF::Types::AnnotationDraft }, optional: false, nullable: false + + field :object_number, -> { Integer }, optional: true, nullable: false, api_name: "objectNumber" + + field :resources, -> { CloudPDF::Types::ChangeOpAnnotationsCreateResources }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_op_annotations_create_resources.rb b/lib/CloudPDF/types/change_op_annotations_create_resources.rb new file mode 100644 index 00000000..5a4aa78b --- /dev/null +++ b/lib/CloudPDF/types/change_op_annotations_create_resources.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeOpAnnotationsCreateResources < Internal::Types::Model + field :appearance, -> { String }, optional: true, nullable: false + + field :file, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_op_annotations_delete.rb b/lib/CloudPDF/types/change_op_annotations_delete.rb new file mode 100644 index 00000000..9e009a6b --- /dev/null +++ b/lib/CloudPDF/types/change_op_annotations_delete.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeOpAnnotationsDelete < Internal::Types::Model + field :ref, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :expect, -> { CloudPDF::Types::AnnotationPatch }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_op_annotations_reorder.rb b/lib/CloudPDF/types/change_op_annotations_reorder.rb new file mode 100644 index 00000000..c2e696c1 --- /dev/null +++ b/lib/CloudPDF/types/change_op_annotations_reorder.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeOpAnnotationsReorder < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :refs, -> { Internal::Types::Array[CloudPDF::Types::AnnotationRef] }, optional: false, nullable: false + + field :position, -> { CloudPDF::Types::AnnotationPosition }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_op_annotations_update.rb b/lib/CloudPDF/types/change_op_annotations_update.rb new file mode 100644 index 00000000..6aeb7c41 --- /dev/null +++ b/lib/CloudPDF/types/change_op_annotations_update.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeOpAnnotationsUpdate < Internal::Types::Model + field :ref, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :patch, -> { CloudPDF::Types::AnnotationPatch }, optional: false, nullable: false + + field :resources, -> { CloudPDF::Types::ChangeOpAnnotationsUpdateResources }, optional: true, nullable: false + + field :expect, -> { CloudPDF::Types::AnnotationPatch }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_op_annotations_update_resources.rb b/lib/CloudPDF/types/change_op_annotations_update_resources.rb new file mode 100644 index 00000000..b2f14813 --- /dev/null +++ b/lib/CloudPDF/types/change_op_annotations_update_resources.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeOpAnnotationsUpdateResources < Internal::Types::Model + field :appearance, -> { String }, optional: true, nullable: false + + field :file, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_op_forms_add_widget.rb b/lib/CloudPDF/types/change_op_forms_add_widget.rb new file mode 100644 index 00000000..df981c81 --- /dev/null +++ b/lib/CloudPDF/types/change_op_forms_add_widget.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeOpFormsAddWidget < Internal::Types::Model + field :field, -> { CloudPDF::Types::FormFieldRef }, optional: false, nullable: false + + field :placement, -> { CloudPDF::Types::WidgetPlacement }, optional: false, nullable: false + + field :object_number, -> { Integer }, optional: true, nullable: false, api_name: "objectNumber" + + field :split_object_number, -> { Integer }, optional: true, nullable: false, api_name: "splitObjectNumber" + end + end +end diff --git a/lib/CloudPDF/types/change_op_forms_create.rb b/lib/CloudPDF/types/change_op_forms_create.rb new file mode 100644 index 00000000..097de02b --- /dev/null +++ b/lib/CloudPDF/types/change_op_forms_create.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeOpFormsCreate < Internal::Types::Model + field :draft, -> { CloudPDF::Types::FormFieldDraft }, optional: false, nullable: false + + field :object_number, -> { Integer }, optional: true, nullable: false, api_name: "objectNumber" + + field :widget_object_numbers, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "widgetObjectNumbers" + end + end +end diff --git a/lib/CloudPDF/types/change_op_forms_delete.rb b/lib/CloudPDF/types/change_op_forms_delete.rb new file mode 100644 index 00000000..d5b0d96d --- /dev/null +++ b/lib/CloudPDF/types/change_op_forms_delete.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeOpFormsDelete < Internal::Types::Model + field :field, -> { CloudPDF::Types::FormFieldRef }, optional: false, nullable: false + + field :expect, -> { CloudPDF::Types::FormFieldPatch }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_op_forms_delete_widget.rb b/lib/CloudPDF/types/change_op_forms_delete_widget.rb new file mode 100644 index 00000000..cf59edce --- /dev/null +++ b/lib/CloudPDF/types/change_op_forms_delete_widget.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeOpFormsDeleteWidget < Internal::Types::Model + field :widget, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :expect, -> { CloudPDF::Types::WidgetPatch }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_op_forms_remove_widget.rb b/lib/CloudPDF/types/change_op_forms_remove_widget.rb new file mode 100644 index 00000000..de058d34 --- /dev/null +++ b/lib/CloudPDF/types/change_op_forms_remove_widget.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeOpFormsRemoveWidget < Internal::Types::Model + field :field, -> { CloudPDF::Types::FormFieldRef }, optional: false, nullable: false + + field :widget, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_op_forms_reorder_calculations.rb b/lib/CloudPDF/types/change_op_forms_reorder_calculations.rb new file mode 100644 index 00000000..20aea1b7 --- /dev/null +++ b/lib/CloudPDF/types/change_op_forms_reorder_calculations.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeOpFormsReorderCalculations < Internal::Types::Model + field :fields, -> { Internal::Types::Array[CloudPDF::Types::FormFieldRef] }, optional: false, nullable: false + + field :position, -> { CloudPDF::Types::FieldPosition }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_op_forms_reorder_widgets.rb b/lib/CloudPDF/types/change_op_forms_reorder_widgets.rb new file mode 100644 index 00000000..545f8e19 --- /dev/null +++ b/lib/CloudPDF/types/change_op_forms_reorder_widgets.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeOpFormsReorderWidgets < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :widgets, -> { Internal::Types::Array[CloudPDF::Types::AnnotationRef] }, optional: false, nullable: false + + field :position, -> { CloudPDF::Types::AnnotationPosition }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_op_forms_reset.rb b/lib/CloudPDF/types/change_op_forms_reset.rb new file mode 100644 index 00000000..23bd492f --- /dev/null +++ b/lib/CloudPDF/types/change_op_forms_reset.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeOpFormsReset < Internal::Types::Model + field :fields, -> { Internal::Types::Array[CloudPDF::Types::FormFieldRef] }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_op_forms_set_appearance_text.rb b/lib/CloudPDF/types/change_op_forms_set_appearance_text.rb new file mode 100644 index 00000000..4fda0075 --- /dev/null +++ b/lib/CloudPDF/types/change_op_forms_set_appearance_text.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeOpFormsSetAppearanceText < Internal::Types::Model + field :field, -> { CloudPDF::Types::FormFieldRef }, optional: false, nullable: false + + field :text, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_op_forms_set_display.rb b/lib/CloudPDF/types/change_op_forms_set_display.rb new file mode 100644 index 00000000..718211ad --- /dev/null +++ b/lib/CloudPDF/types/change_op_forms_set_display.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeOpFormsSetDisplay < Internal::Types::Model + field :field, -> { CloudPDF::Types::FormFieldRef }, optional: false, nullable: false + + field :display, -> { CloudPDF::Types::ChangeOpFormsSetDisplayDisplay }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_op_forms_set_display_display.rb b/lib/CloudPDF/types/change_op_forms_set_display_display.rb new file mode 100644 index 00000000..309910e5 --- /dev/null +++ b/lib/CloudPDF/types/change_op_forms_set_display_display.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module ChangeOpFormsSetDisplayDisplay + extend CloudPDF::Internal::Types::Enum + + VISIBLE = "visible" + HIDDEN = "hidden" + NO_PRINT = "noPrint" + NO_VIEW = "noView" + end + end +end diff --git a/lib/CloudPDF/types/change_op_forms_set_signature_appearance.rb b/lib/CloudPDF/types/change_op_forms_set_signature_appearance.rb new file mode 100644 index 00000000..89b5dc9a --- /dev/null +++ b/lib/CloudPDF/types/change_op_forms_set_signature_appearance.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeOpFormsSetSignatureAppearance < Internal::Types::Model + field :field, -> { CloudPDF::Types::FormFieldRef }, optional: false, nullable: false + + field :resources, -> { CloudPDF::Types::ChangeOpFormsSetSignatureAppearanceResources }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_op_forms_set_signature_appearance_resources.rb b/lib/CloudPDF/types/change_op_forms_set_signature_appearance_resources.rb new file mode 100644 index 00000000..1b42f6b3 --- /dev/null +++ b/lib/CloudPDF/types/change_op_forms_set_signature_appearance_resources.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeOpFormsSetSignatureAppearanceResources < Internal::Types::Model + field :appearance, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_op_forms_set_value.rb b/lib/CloudPDF/types/change_op_forms_set_value.rb new file mode 100644 index 00000000..9f5a859a --- /dev/null +++ b/lib/CloudPDF/types/change_op_forms_set_value.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeOpFormsSetValue < Internal::Types::Model + field :field, -> { CloudPDF::Types::FormFieldRef }, optional: false, nullable: false + + field :value, -> { CloudPDF::Types::FormFieldValue }, optional: false, nullable: false + + field :expect, -> { CloudPDF::Types::FormFieldValue }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_op_forms_update.rb b/lib/CloudPDF/types/change_op_forms_update.rb new file mode 100644 index 00000000..321445f2 --- /dev/null +++ b/lib/CloudPDF/types/change_op_forms_update.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeOpFormsUpdate < Internal::Types::Model + field :field, -> { CloudPDF::Types::FormFieldRef }, optional: false, nullable: false + + field :patch, -> { CloudPDF::Types::FormFieldPatch }, optional: false, nullable: false + + field :expect, -> { CloudPDF::Types::FormFieldPatch }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_op_forms_update_widget.rb b/lib/CloudPDF/types/change_op_forms_update_widget.rb new file mode 100644 index 00000000..cb263fe0 --- /dev/null +++ b/lib/CloudPDF/types/change_op_forms_update_widget.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeOpFormsUpdateWidget < Internal::Types::Model + field :widget, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :patch, -> { CloudPDF::Types::WidgetPatch }, optional: false, nullable: false + + field :expect, -> { CloudPDF::Types::WidgetPatch }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_op_metadata_update.rb b/lib/CloudPDF/types/change_op_metadata_update.rb new file mode 100644 index 00000000..0bae6afa --- /dev/null +++ b/lib/CloudPDF/types/change_op_metadata_update.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeOpMetadataUpdate < Internal::Types::Model + field :patch, -> { CloudPDF::Types::MetadataPatch }, optional: false, nullable: false + + field :expect, -> { CloudPDF::Types::MetadataPatch }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_op_metadata_update_custom.rb b/lib/CloudPDF/types/change_op_metadata_update_custom.rb new file mode 100644 index 00000000..16416321 --- /dev/null +++ b/lib/CloudPDF/types/change_op_metadata_update_custom.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeOpMetadataUpdateCustom < Internal::Types::Model + field :patch, -> { Internal::Types::Hash[String, String] }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/change_result.rb b/lib/CloudPDF/types/change_result.rb new file mode 100644 index 00000000..caa0179f --- /dev/null +++ b/lib/CloudPDF/types/change_result.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class ChangeResult < Internal::Types::Model + field :items, -> { Internal::Types::Array[CloudPDF::Types::ChangeItem] }, optional: false, nullable: false + + field :meta, -> { CloudPDF::Types::MutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_annotations_create200response.rb b/lib/CloudPDF/types/doc_annotations_create200response.rb index 0f43b877..3a4a7268 100644 --- a/lib/CloudPDF/types/doc_annotations_create200response.rb +++ b/lib/CloudPDF/types/doc_annotations_create200response.rb @@ -3,7 +3,9 @@ module CloudPDF module Types class DocAnnotationsCreate200Response < Internal::Types::Model - field :meta, -> { CloudPDF::Types::DocAnnotationsCreate200ResponseMeta }, optional: false, nullable: false + 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_create200response_meta.rb b/lib/CloudPDF/types/doc_annotations_create200response_meta.rb deleted file mode 100644 index 68c1d5e8..00000000 --- a/lib/CloudPDF/types/doc_annotations_create200response_meta.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsCreate200ResponseMeta < Internal::Types::Model - field :affected_pages, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsCreate200ResponseMetaAffectedPagesItem] }, optional: false, nullable: false, api_name: "affectedPages" - - field :cache_delta, -> { CloudPDF::Types::DocAnnotationsCreate200ResponseMetaCacheDelta }, optional: false, nullable: true, api_name: "cacheDelta" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_create200response_meta_affected_pages_item.rb b/lib/CloudPDF/types/doc_annotations_create200response_meta_affected_pages_item.rb deleted file mode 100644 index 80492056..00000000 --- a/lib/CloudPDF/types/doc_annotations_create200response_meta_affected_pages_item.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsCreate200ResponseMetaAffectedPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :revision, -> { CloudPDF::Types::DocAnnotationsCreate200ResponseMetaAffectedPagesItemRevision }, optional: false, nullable: false - - field :weak_annotation_state, -> { CloudPDF::Types::DocAnnotationsCreate200ResponseMetaAffectedPagesItemWeakAnnotationState }, optional: false, nullable: false, api_name: "weakAnnotationState" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_create200response_meta_affected_pages_item_revision.rb b/lib/CloudPDF/types/doc_annotations_create200response_meta_affected_pages_item_revision.rb deleted file mode 100644 index 6812f652..00000000 --- a/lib/CloudPDF/types/doc_annotations_create200response_meta_affected_pages_item_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsCreate200ResponseMetaAffectedPagesItemRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_create200response_meta_affected_pages_item_weak_annotation_state.rb b/lib/CloudPDF/types/doc_annotations_create200response_meta_affected_pages_item_weak_annotation_state.rb deleted file mode 100644 index 033f0103..00000000 --- a/lib/CloudPDF/types/doc_annotations_create200response_meta_affected_pages_item_weak_annotation_state.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsCreate200ResponseMetaAffectedPagesItemWeakAnnotationState < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsCreate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown }, key: "UNKNOWN" - - member -> { CloudPDF::Types::DocAnnotationsCreate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown }, key: "KNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_create200response_meta_affected_pages_item_weak_annotation_state_known.rb b/lib/CloudPDF/types/doc_annotations_create200response_meta_affected_pages_item_weak_annotation_state_known.rb deleted file mode 100644 index 85fbdc1a..00000000 --- a/lib/CloudPDF/types/doc_annotations_create200response_meta_affected_pages_item_weak_annotation_state_known.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsCreate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown < Internal::Types::Model - field :has_any_weak_annotations, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAnyWeakAnnotations" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_create200response_meta_affected_pages_item_weak_annotation_state_unknown.rb b/lib/CloudPDF/types/doc_annotations_create200response_meta_affected_pages_item_weak_annotation_state_unknown.rb deleted file mode 100644 index 9d1df462..00000000 --- a/lib/CloudPDF/types/doc_annotations_create200response_meta_affected_pages_item_weak_annotation_state_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsCreate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_create200response_meta_cache_delta.rb b/lib/CloudPDF/types/doc_annotations_create200response_meta_cache_delta.rb deleted file mode 100644 index eb2db03c..00000000 --- a/lib/CloudPDF/types/doc_annotations_create200response_meta_cache_delta.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsCreate200ResponseMetaCacheDelta < Internal::Types::Model - field :previous_doc_version, -> { Integer }, optional: false, nullable: false, api_name: "previousDocVersion" - - field :doc_version, -> { Integer }, optional: false, nullable: false, api_name: "docVersion" - - field :annotations_version, -> { Integer }, optional: true, nullable: false, api_name: "annotationsVersion" - - field :layer_version, -> { Integer }, optional: true, nullable: false, api_name: "layerVersion" - - field :working, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsCreate200ResponseMetaCacheDeltaPagesItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_create200response_meta_cache_delta_pages_item.rb b/lib/CloudPDF/types/doc_annotations_create200response_meta_cache_delta_pages_item.rb deleted file mode 100644 index 4087f041..00000000 --- a/lib/CloudPDF/types/doc_annotations_create200response_meta_cache_delta_pages_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsCreate200ResponseMetaCacheDeltaPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :cache, -> { CloudPDF::Types::DocAnnotationsCreate200ResponseMetaCacheDeltaPagesItemCache }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_create200response_meta_cache_delta_pages_item_cache.rb b/lib/CloudPDF/types/doc_annotations_create200response_meta_cache_delta_pages_item_cache.rb deleted file mode 100644 index 23ddec19..00000000 --- a/lib/CloudPDF/types/doc_annotations_create200response_meta_cache_delta_pages_item_cache.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsCreate200ResponseMetaCacheDeltaPagesItemCache < 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" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_create400response.rb b/lib/CloudPDF/types/doc_annotations_create400response.rb index 9f981ec3..7db71e32 100644 --- a/lib/CloudPDF/types/doc_annotations_create400response.rb +++ b/lib/CloudPDF/types/doc_annotations_create400response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocAnnotationsCreate400Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocAnnotationsCreate400ResponseName }, optional: false, nullable: false + module DocAnnotationsCreate400Response + # DocAnnotationsCreate400Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocAnnotationsCreate400ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_annotations_create400response_code.rb b/lib/CloudPDF/types/doc_annotations_create400response_code.rb deleted file mode 100644 index 4468fc8f..00000000 --- a/lib/CloudPDF/types/doc_annotations_create400response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsCreate400ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_create400response_name.rb b/lib/CloudPDF/types/doc_annotations_create400response_name.rb deleted file mode 100644 index a57415d0..00000000 --- a/lib/CloudPDF/types/doc_annotations_create400response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsCreate400ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_create404response.rb b/lib/CloudPDF/types/doc_annotations_create404response.rb index 17120a9e..5fedcf9b 100644 --- a/lib/CloudPDF/types/doc_annotations_create404response.rb +++ b/lib/CloudPDF/types/doc_annotations_create404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocAnnotationsCreate404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocAnnotationsCreate404ResponseName }, optional: false, nullable: false + module DocAnnotationsCreate404Response + # DocAnnotationsCreate404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocAnnotationsCreate404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_code.rb b/lib/CloudPDF/types/doc_annotations_create404response_code.rb deleted file mode 100644 index 49ed495c..00000000 --- a/lib/CloudPDF/types/doc_annotations_create404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsCreate404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_create404response_name.rb b/lib/CloudPDF/types/doc_annotations_create404response_name.rb deleted file mode 100644 index ab1655ac..00000000 --- a/lib/CloudPDF/types/doc_annotations_create404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsCreate404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_delete200response.rb b/lib/CloudPDF/types/doc_annotations_delete200response.rb index 0ef31b0f..0b2621c0 100644 --- a/lib/CloudPDF/types/doc_annotations_delete200response.rb +++ b/lib/CloudPDF/types/doc_annotations_delete200response.rb @@ -3,7 +3,7 @@ module CloudPDF module Types class DocAnnotationsDelete200Response < Internal::Types::Model - field :meta, -> { CloudPDF::Types::DocAnnotationsDelete200ResponseMeta }, 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_meta.rb b/lib/CloudPDF/types/doc_annotations_delete200response_meta.rb deleted file mode 100644 index 4854e304..00000000 --- a/lib/CloudPDF/types/doc_annotations_delete200response_meta.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsDelete200ResponseMeta < Internal::Types::Model - field :affected_pages, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsDelete200ResponseMetaAffectedPagesItem] }, optional: false, nullable: false, api_name: "affectedPages" - - field :cache_delta, -> { CloudPDF::Types::DocAnnotationsDelete200ResponseMetaCacheDelta }, optional: false, nullable: true, api_name: "cacheDelta" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_delete200response_meta_affected_pages_item.rb b/lib/CloudPDF/types/doc_annotations_delete200response_meta_affected_pages_item.rb deleted file mode 100644 index e5a90739..00000000 --- a/lib/CloudPDF/types/doc_annotations_delete200response_meta_affected_pages_item.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsDelete200ResponseMetaAffectedPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :revision, -> { CloudPDF::Types::DocAnnotationsDelete200ResponseMetaAffectedPagesItemRevision }, optional: false, nullable: false - - field :weak_annotation_state, -> { CloudPDF::Types::DocAnnotationsDelete200ResponseMetaAffectedPagesItemWeakAnnotationState }, optional: false, nullable: false, api_name: "weakAnnotationState" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_delete200response_meta_affected_pages_item_revision.rb b/lib/CloudPDF/types/doc_annotations_delete200response_meta_affected_pages_item_revision.rb deleted file mode 100644 index ab720df1..00000000 --- a/lib/CloudPDF/types/doc_annotations_delete200response_meta_affected_pages_item_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsDelete200ResponseMetaAffectedPagesItemRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_delete200response_meta_affected_pages_item_weak_annotation_state.rb b/lib/CloudPDF/types/doc_annotations_delete200response_meta_affected_pages_item_weak_annotation_state.rb deleted file mode 100644 index 3ac9a6f5..00000000 --- a/lib/CloudPDF/types/doc_annotations_delete200response_meta_affected_pages_item_weak_annotation_state.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsDelete200ResponseMetaAffectedPagesItemWeakAnnotationState < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown }, key: "UNKNOWN" - - member -> { CloudPDF::Types::DocAnnotationsDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown }, key: "KNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_delete200response_meta_affected_pages_item_weak_annotation_state_known.rb b/lib/CloudPDF/types/doc_annotations_delete200response_meta_affected_pages_item_weak_annotation_state_known.rb deleted file mode 100644 index 357c12ce..00000000 --- a/lib/CloudPDF/types/doc_annotations_delete200response_meta_affected_pages_item_weak_annotation_state_known.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown < Internal::Types::Model - field :has_any_weak_annotations, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAnyWeakAnnotations" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_delete200response_meta_affected_pages_item_weak_annotation_state_unknown.rb b/lib/CloudPDF/types/doc_annotations_delete200response_meta_affected_pages_item_weak_annotation_state_unknown.rb deleted file mode 100644 index 5a62df05..00000000 --- a/lib/CloudPDF/types/doc_annotations_delete200response_meta_affected_pages_item_weak_annotation_state_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_delete200response_meta_cache_delta.rb b/lib/CloudPDF/types/doc_annotations_delete200response_meta_cache_delta.rb deleted file mode 100644 index 65b8c2ea..00000000 --- a/lib/CloudPDF/types/doc_annotations_delete200response_meta_cache_delta.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsDelete200ResponseMetaCacheDelta < Internal::Types::Model - field :previous_doc_version, -> { Integer }, optional: false, nullable: false, api_name: "previousDocVersion" - - field :doc_version, -> { Integer }, optional: false, nullable: false, api_name: "docVersion" - - field :annotations_version, -> { Integer }, optional: true, nullable: false, api_name: "annotationsVersion" - - field :layer_version, -> { Integer }, optional: true, nullable: false, api_name: "layerVersion" - - field :working, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsDelete200ResponseMetaCacheDeltaPagesItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_delete200response_meta_cache_delta_pages_item.rb b/lib/CloudPDF/types/doc_annotations_delete200response_meta_cache_delta_pages_item.rb deleted file mode 100644 index 07816327..00000000 --- a/lib/CloudPDF/types/doc_annotations_delete200response_meta_cache_delta_pages_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsDelete200ResponseMetaCacheDeltaPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :cache, -> { CloudPDF::Types::DocAnnotationsDelete200ResponseMetaCacheDeltaPagesItemCache }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_delete200response_meta_cache_delta_pages_item_cache.rb b/lib/CloudPDF/types/doc_annotations_delete200response_meta_cache_delta_pages_item_cache.rb deleted file mode 100644 index cd2ee8de..00000000 --- a/lib/CloudPDF/types/doc_annotations_delete200response_meta_cache_delta_pages_item_cache.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsDelete200ResponseMetaCacheDeltaPagesItemCache < 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" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_delete404response.rb b/lib/CloudPDF/types/doc_annotations_delete404response.rb index 17b6a6f9..fd36ec83 100644 --- a/lib/CloudPDF/types/doc_annotations_delete404response.rb +++ b/lib/CloudPDF/types/doc_annotations_delete404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocAnnotationsDelete404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocAnnotationsDelete404ResponseName }, optional: false, nullable: false + module DocAnnotationsDelete404Response + # DocAnnotationsDelete404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocAnnotationsDelete404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_annotations_delete404response_code.rb b/lib/CloudPDF/types/doc_annotations_delete404response_code.rb deleted file mode 100644 index 9564a3a5..00000000 --- a/lib/CloudPDF/types/doc_annotations_delete404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsDelete404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_delete404response_name.rb b/lib/CloudPDF/types/doc_annotations_delete404response_name.rb deleted file mode 100644 index 5b239986..00000000 --- a/lib/CloudPDF/types/doc_annotations_delete404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsDelete404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_export_appearance400response.rb b/lib/CloudPDF/types/doc_annotations_export_appearance400response.rb index 242bba3c..6160e544 100644 --- a/lib/CloudPDF/types/doc_annotations_export_appearance400response.rb +++ b/lib/CloudPDF/types/doc_annotations_export_appearance400response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocAnnotationsExportAppearance400Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocAnnotationsExportAppearance400ResponseName }, optional: false, nullable: false + module DocAnnotationsExportAppearance400Response + # DocAnnotationsExportAppearance400Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocAnnotationsExportAppearance400ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_appearance400response_code.rb b/lib/CloudPDF/types/doc_annotations_export_appearance400response_code.rb deleted file mode 100644 index 6936604e..00000000 --- a/lib/CloudPDF/types/doc_annotations_export_appearance400response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsExportAppearance400ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_export_appearance400response_name.rb b/lib/CloudPDF/types/doc_annotations_export_appearance400response_name.rb deleted file mode 100644 index 96f549d5..00000000 --- a/lib/CloudPDF/types/doc_annotations_export_appearance400response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsExportAppearance400ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_export_appearance404response.rb b/lib/CloudPDF/types/doc_annotations_export_appearance404response.rb index 2b234a53..da23bc12 100644 --- a/lib/CloudPDF/types/doc_annotations_export_appearance404response.rb +++ b/lib/CloudPDF/types/doc_annotations_export_appearance404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocAnnotationsExportAppearance404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocAnnotationsExportAppearance404ResponseName }, optional: false, nullable: false + module DocAnnotationsExportAppearance404Response + # DocAnnotationsExportAppearance404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocAnnotationsExportAppearance404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_code.rb b/lib/CloudPDF/types/doc_annotations_export_appearance404response_code.rb deleted file mode 100644 index f5dbdb01..00000000 --- a/lib/CloudPDF/types/doc_annotations_export_appearance404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsExportAppearance404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_export_appearance404response_name.rb b/lib/CloudPDF/types/doc_annotations_export_appearance404response_name.rb deleted file mode 100644 index 124b9b32..00000000 --- a/lib/CloudPDF/types/doc_annotations_export_appearance404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsExportAppearance404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_flatten200response.rb b/lib/CloudPDF/types/doc_annotations_flatten200response.rb index 85c3e71c..d5e04994 100644 --- a/lib/CloudPDF/types/doc_annotations_flatten200response.rb +++ b/lib/CloudPDF/types/doc_annotations_flatten200response.rb @@ -3,7 +3,13 @@ module CloudPDF module Types class DocAnnotationsFlatten200Response < Internal::Types::Model - field :meta, -> { CloudPDF::Types::DocAnnotationsFlatten200ResponseMeta }, optional: false, nullable: false + 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_meta.rb b/lib/CloudPDF/types/doc_annotations_flatten200response_meta.rb deleted file mode 100644 index 8214703d..00000000 --- a/lib/CloudPDF/types/doc_annotations_flatten200response_meta.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsFlatten200ResponseMeta < Internal::Types::Model - field :affected_pages, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsFlatten200ResponseMetaAffectedPagesItem] }, optional: false, nullable: false, api_name: "affectedPages" - - field :cache_delta, -> { CloudPDF::Types::DocAnnotationsFlatten200ResponseMetaCacheDelta }, optional: false, nullable: true, api_name: "cacheDelta" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_flatten200response_meta_affected_pages_item.rb b/lib/CloudPDF/types/doc_annotations_flatten200response_meta_affected_pages_item.rb deleted file mode 100644 index 53df1f6a..00000000 --- a/lib/CloudPDF/types/doc_annotations_flatten200response_meta_affected_pages_item.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsFlatten200ResponseMetaAffectedPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :revision, -> { CloudPDF::Types::DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision }, optional: false, nullable: false - - field :weak_annotation_state, -> { CloudPDF::Types::DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState }, optional: false, nullable: false, api_name: "weakAnnotationState" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_flatten200response_meta_affected_pages_item_revision.rb b/lib/CloudPDF/types/doc_annotations_flatten200response_meta_affected_pages_item_revision.rb deleted file mode 100644 index f887e6e6..00000000 --- a/lib/CloudPDF/types/doc_annotations_flatten200response_meta_affected_pages_item_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_flatten200response_meta_affected_pages_item_weak_annotation_state.rb b/lib/CloudPDF/types/doc_annotations_flatten200response_meta_affected_pages_item_weak_annotation_state.rb deleted file mode 100644 index 4111510f..00000000 --- a/lib/CloudPDF/types/doc_annotations_flatten200response_meta_affected_pages_item_weak_annotation_state.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown }, key: "UNKNOWN" - - member -> { CloudPDF::Types::DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown }, key: "KNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_flatten200response_meta_affected_pages_item_weak_annotation_state_known.rb b/lib/CloudPDF/types/doc_annotations_flatten200response_meta_affected_pages_item_weak_annotation_state_known.rb deleted file mode 100644 index cd15b804..00000000 --- a/lib/CloudPDF/types/doc_annotations_flatten200response_meta_affected_pages_item_weak_annotation_state_known.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown < Internal::Types::Model - field :has_any_weak_annotations, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAnyWeakAnnotations" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_flatten200response_meta_affected_pages_item_weak_annotation_state_unknown.rb b/lib/CloudPDF/types/doc_annotations_flatten200response_meta_affected_pages_item_weak_annotation_state_unknown.rb deleted file mode 100644 index a76cf680..00000000 --- a/lib/CloudPDF/types/doc_annotations_flatten200response_meta_affected_pages_item_weak_annotation_state_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_flatten200response_meta_cache_delta.rb b/lib/CloudPDF/types/doc_annotations_flatten200response_meta_cache_delta.rb deleted file mode 100644 index ee79da49..00000000 --- a/lib/CloudPDF/types/doc_annotations_flatten200response_meta_cache_delta.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsFlatten200ResponseMetaCacheDelta < Internal::Types::Model - field :previous_doc_version, -> { Integer }, optional: false, nullable: false, api_name: "previousDocVersion" - - field :doc_version, -> { Integer }, optional: false, nullable: false, api_name: "docVersion" - - field :annotations_version, -> { Integer }, optional: true, nullable: false, api_name: "annotationsVersion" - - field :layer_version, -> { Integer }, optional: true, nullable: false, api_name: "layerVersion" - - field :working, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_flatten200response_meta_cache_delta_pages_item.rb b/lib/CloudPDF/types/doc_annotations_flatten200response_meta_cache_delta_pages_item.rb deleted file mode 100644 index a4ee135d..00000000 --- a/lib/CloudPDF/types/doc_annotations_flatten200response_meta_cache_delta_pages_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :cache, -> { CloudPDF::Types::DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_flatten200response_meta_cache_delta_pages_item_cache.rb b/lib/CloudPDF/types/doc_annotations_flatten200response_meta_cache_delta_pages_item_cache.rb deleted file mode 100644 index 00855e65..00000000 --- a/lib/CloudPDF/types/doc_annotations_flatten200response_meta_cache_delta_pages_item_cache.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache < 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" - 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 new file mode 100644 index 00000000..8c4c3da9 --- /dev/null +++ b/lib/CloudPDF/types/doc_annotations_flatten200response_results_item.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 00000000..fd138ada --- /dev/null +++ b/lib/CloudPDF/types/doc_annotations_flatten200response_results_item_status.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 00000000..492a3645 --- /dev/null +++ b/lib/CloudPDF/types/doc_annotations_flatten200response_usage.rb @@ -0,0 +1,12 @@ +# 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 index 54b290b7..844f5344 100644 --- a/lib/CloudPDF/types/doc_annotations_flatten400response.rb +++ b/lib/CloudPDF/types/doc_annotations_flatten400response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocAnnotationsFlatten400Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocAnnotationsFlatten400ResponseName }, optional: false, nullable: false + module DocAnnotationsFlatten400Response + # DocAnnotationsFlatten400Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocAnnotationsFlatten400ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_annotations_flatten400response_code.rb b/lib/CloudPDF/types/doc_annotations_flatten400response_code.rb deleted file mode 100644 index c3f38215..00000000 --- a/lib/CloudPDF/types/doc_annotations_flatten400response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsFlatten400ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_flatten400response_name.rb b/lib/CloudPDF/types/doc_annotations_flatten400response_name.rb deleted file mode 100644 index 9b6372ea..00000000 --- a/lib/CloudPDF/types/doc_annotations_flatten400response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsFlatten400ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_flatten404response.rb b/lib/CloudPDF/types/doc_annotations_flatten404response.rb index 9af9f7c9..45bcc6b1 100644 --- a/lib/CloudPDF/types/doc_annotations_flatten404response.rb +++ b/lib/CloudPDF/types/doc_annotations_flatten404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocAnnotationsFlatten404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocAnnotationsFlatten404ResponseName }, optional: false, nullable: false + module DocAnnotationsFlatten404Response + # DocAnnotationsFlatten404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocAnnotationsFlatten404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_code.rb b/lib/CloudPDF/types/doc_annotations_flatten404response_code.rb deleted file mode 100644 index dfa10bf4..00000000 --- a/lib/CloudPDF/types/doc_annotations_flatten404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsFlatten404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_flatten404response_name.rb b/lib/CloudPDF/types/doc_annotations_flatten404response_name.rb deleted file mode 100644 index cc6afc81..00000000 --- a/lib/CloudPDF/types/doc_annotations_flatten404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsFlatten404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response.rb b/lib/CloudPDF/types/doc_annotations_list200response.rb index eba2defb..c9bad5d8 100644 --- a/lib/CloudPDF/types/doc_annotations_list200response.rb +++ b/lib/CloudPDF/types/doc_annotations_list200response.rb @@ -2,10 +2,22 @@ module CloudPDF module Types - class DocAnnotationsList200Response < Internal::Types::Model - field :page_state, -> { CloudPDF::Types::DocAnnotationsList200ResponsePageState }, optional: false, nullable: false, api_name: "pageState" + module DocAnnotationsList200Response + # DocAnnotationsList200Response is an alias for AnnotationList - field :annotations, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItem] }, optional: false, nullable: false + # @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_list200response_annotations_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item.rb deleted file mode 100644 index 6ad174cd..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item.rb +++ /dev/null @@ -1,49 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItem < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :subtype - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemHighlight }, key: "HIGHLIGHT" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnderline }, key: "UNDERLINE" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquiggly }, key: "SQUIGGLY" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeout }, key: "STRIKEOUT" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCircle }, key: "CIRCLE" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquare }, key: "SQUARE" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygon }, key: "POLYGON" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolyline }, key: "POLYLINE" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLine }, key: "LINE" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLink }, key: "LINK" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemInk }, key: "INK" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeText }, key: "FREE_TEXT" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCaret }, key: "CARET" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemText }, key: "TEXT" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStamp }, key: "STAMP" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachment }, key: "FILE_ATTACHMENT" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemWidget }, key: "WIDGET" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemRedact }, key: "REDACT" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret.rb deleted file mode 100644 index 8c30bc9b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret.rb +++ /dev/null @@ -1,59 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCaret < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCaretRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCaretFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCaretRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCaretReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :color, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCaretColor }, optional: false, nullable: false - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :intent, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCaretIntent }, optional: false, nullable: true - - field :rect_differences, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences }, optional: false, nullable: true, api_name: "rectDifferences" - - field :rotation, -> { Integer }, optional: true, nullable: false - - field :unrotated_rect, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect }, optional: true, nullable: false, api_name: "unrotatedRect" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_blend_mode.rb deleted file mode 100644 index 3504ba0c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_color.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_color.rb deleted file mode 100644 index 277bad9d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCaretColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_flags.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_flags.rb deleted file mode 100644 index c0ccd3b8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCaretFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_identity_quality.rb deleted file mode 100644 index 7fc40f96..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_in_reply_to.rb deleted file mode 100644 index 4b0e6c68..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_in_reply_to_index.rb deleted file mode 100644 index c5760dbd..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_in_reply_to_index_revision.rb deleted file mode 100644 index a4db4ab0..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_in_reply_to_nm.rb deleted file mode 100644 index e9ec8d17..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_in_reply_to_object_number.rb deleted file mode 100644 index cfb1cfcc..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_intent.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_intent.rb deleted file mode 100644 index 58756109..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_intent.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemCaretIntent - extend CloudPDF::Internal::Types::Enum - - REPLACE = "replace" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_rect.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_rect.rb deleted file mode 100644 index f93f1244..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCaretRect < 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_annotations_list200response_annotations_item_caret_rect_differences.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_rect_differences.rb deleted file mode 100644 index 2d54d418..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_rect_differences.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences < Internal::Types::Model - field :left, -> { Integer }, optional: false, nullable: false - - field :top, -> { Integer }, optional: false, nullable: false - - field :right, -> { Integer }, optional: false, nullable: false - - field :bottom, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_ref.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_ref.rb deleted file mode 100644 index a4a29f0f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCaretRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCaretRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_ref_index.rb deleted file mode 100644 index 1937aef2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_ref_index_revision.rb deleted file mode 100644 index 78415643..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_ref_nm.rb deleted file mode 100644 index 9995a651..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCaretRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_ref_object_number.rb deleted file mode 100644 index 97a08233..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_reply_type.rb deleted file mode 100644 index c047a13f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemCaretReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_unrotated_rect.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_unrotated_rect.rb deleted file mode 100644 index 5f1e812b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_caret_unrotated_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect < 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_annotations_list200response_annotations_item_circle.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle.rb deleted file mode 100644 index f0322faf..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle.rb +++ /dev/null @@ -1,67 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCircle < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCircleRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCircleFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCircleRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCircleReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :color, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCircleColor }, optional: false, nullable: false - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :stroke_width, -> { Integer }, optional: false, nullable: false, api_name: "strokeWidth" - - field :border_style, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyle }, optional: false, nullable: false, api_name: "borderStyle" - - field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" - - field :interior_color, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor }, optional: false, nullable: true, api_name: "interiorColor" - - field :cloudy_intensity, -> { Integer }, optional: false, nullable: true, api_name: "cloudyIntensity" - - field :rect_differences, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences }, optional: false, nullable: true, api_name: "rectDifferences" - - field :rotation, -> { Integer }, optional: true, nullable: false - - field :unrotated_rect, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect }, optional: true, nullable: false, api_name: "unrotatedRect" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_blend_mode.rb deleted file mode 100644 index ed5affed..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_border_style.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_border_style.rb deleted file mode 100644 index 23b5c665..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_border_style.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyle - extend CloudPDF::Internal::Types::Enum - - SOLID = "solid" - DASHED = "dashed" - BEVELED = "beveled" - INSET = "inset" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_color.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_color.rb deleted file mode 100644 index fcc1b2bc..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCircleColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_flags.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_flags.rb deleted file mode 100644 index 958758a0..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCircleFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_identity_quality.rb deleted file mode 100644 index cff4fe94..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_in_reply_to.rb deleted file mode 100644 index 2aaf361b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_in_reply_to_index.rb deleted file mode 100644 index d7467067..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_in_reply_to_index_revision.rb deleted file mode 100644 index 56320594..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_in_reply_to_nm.rb deleted file mode 100644 index 66d8e61a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_in_reply_to_object_number.rb deleted file mode 100644 index c7a48751..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_interior_color.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_interior_color.rb deleted file mode 100644 index b1fa26f1..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_interior_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_rect.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_rect.rb deleted file mode 100644 index 6dbca9e8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCircleRect < 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_annotations_list200response_annotations_item_circle_rect_differences.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_rect_differences.rb deleted file mode 100644 index 562ec53e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_rect_differences.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences < Internal::Types::Model - field :left, -> { Integer }, optional: false, nullable: false - - field :top, -> { Integer }, optional: false, nullable: false - - field :right, -> { Integer }, optional: false, nullable: false - - field :bottom, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_ref.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_ref.rb deleted file mode 100644 index 338d44f8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCircleRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCircleRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_ref_index.rb deleted file mode 100644 index a5ffad08..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_ref_index_revision.rb deleted file mode 100644 index d0f36ed8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_ref_nm.rb deleted file mode 100644 index 21c35884..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCircleRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_ref_object_number.rb deleted file mode 100644 index 6531b135..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_reply_type.rb deleted file mode 100644 index 9b48c796..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemCircleReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_unrotated_rect.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_unrotated_rect.rb deleted file mode 100644 index d95b86d7..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_circle_unrotated_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect < 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_annotations_list200response_annotations_item_file_attachment.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment.rb deleted file mode 100644 index 9a0991f5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment.rb +++ /dev/null @@ -1,55 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFileAttachment < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :color, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor }, optional: false, nullable: false - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :icon, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIcon }, optional: false, nullable: false - - field :file, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_blend_mode.rb deleted file mode 100644 index 9363fcc2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_color.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_color.rb deleted file mode 100644 index 55aefaff..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_file.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_file.rb deleted file mode 100644 index e1e432fd..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_file.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile < Internal::Types::Model - field :name, -> { String }, optional: false, nullable: false - - field :mime_type, -> { String }, optional: true, nullable: false, api_name: "mimeType" - - field :description, -> { String }, optional: true, nullable: false - - field :size, -> { Integer }, optional: true, nullable: false - - field :checksum, -> { String }, optional: true, nullable: false - - field :creation_date, -> { String }, optional: true, nullable: false, api_name: "creationDate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_flags.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_flags.rb deleted file mode 100644 index 7a2d59fd..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_icon.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_icon.rb deleted file mode 100644 index 522c26f0..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_icon.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIcon - extend CloudPDF::Internal::Types::Enum - - PUSH_PIN = "push-pin" - PAPERCLIP = "paperclip" - GRAPH = "graph" - TAG = "tag" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_identity_quality.rb deleted file mode 100644 index ebbba1ad..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_in_reply_to.rb deleted file mode 100644 index 17d81e5c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_in_reply_to_index.rb deleted file mode 100644 index 71cf264e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_in_reply_to_index_revision.rb deleted file mode 100644 index 7d58c9ef..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_in_reply_to_nm.rb deleted file mode 100644 index 61b882fd..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_in_reply_to_object_number.rb deleted file mode 100644 index 278520c6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_rect.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_rect.rb deleted file mode 100644 index 7aa366f5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect < 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_annotations_list200response_annotations_item_file_attachment_ref.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_ref.rb deleted file mode 100644 index 2aa899f4..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_ref_index.rb deleted file mode 100644 index d057ea0a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_ref_index_revision.rb deleted file mode 100644 index fd193edb..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_ref_nm.rb deleted file mode 100644 index be7bf90e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_ref_object_number.rb deleted file mode 100644 index 535c2198..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_reply_type.rb deleted file mode 100644 index 6ee5d6ea..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text.rb deleted file mode 100644 index 924dd418..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text.rb +++ /dev/null @@ -1,81 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFreeText < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :intent, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextIntent }, optional: false, nullable: false - - field :font_family, -> { String }, optional: false, nullable: false, api_name: "fontFamily" - - field :font_size, -> { Integer }, optional: false, nullable: false, api_name: "fontSize" - - field :text_align, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlign }, optional: false, nullable: false, api_name: "textAlign" - - field :rich_text, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextRichText }, optional: false, nullable: false, api_name: "richText" - - field :color, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextColor }, optional: false, nullable: false - - field :font_color, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor }, optional: true, nullable: false, api_name: "fontColor" - - field :interior_color, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor }, optional: false, nullable: true, api_name: "interiorColor" - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :stroke_width, -> { Integer }, optional: false, nullable: false, api_name: "strokeWidth" - - field :border_style, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyle }, optional: false, nullable: false, api_name: "borderStyle" - - field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" - - field :rect_differences, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences }, optional: false, nullable: true, api_name: "rectDifferences" - - field :callout_line, -> { Internal::Types::Array[Object] }, optional: true, nullable: false, api_name: "calloutLine" - - field :line_ending, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding }, optional: true, nullable: false, api_name: "lineEnding" - - field :rotation, -> { Integer }, optional: true, nullable: false - - field :unrotated_rect, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect }, optional: true, nullable: false, api_name: "unrotatedRect" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_blend_mode.rb deleted file mode 100644 index 81c7721d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_border_style.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_border_style.rb deleted file mode 100644 index cd836d27..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_border_style.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyle - extend CloudPDF::Internal::Types::Enum - - SOLID = "solid" - DASHED = "dashed" - BEVELED = "beveled" - INSET = "inset" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_color.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_color.rb deleted file mode 100644 index af084e91..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFreeTextColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_flags.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_flags.rb deleted file mode 100644 index 8329bdd3..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_font_color.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_font_color.rb deleted file mode 100644 index a18aa762..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_font_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_identity_quality.rb deleted file mode 100644 index fe61df75..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_in_reply_to.rb deleted file mode 100644 index b52731d7..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_in_reply_to_index.rb deleted file mode 100644 index 11d18f33..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_in_reply_to_index_revision.rb deleted file mode 100644 index f5a8a8ef..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_in_reply_to_nm.rb deleted file mode 100644 index 0f441fa4..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_in_reply_to_object_number.rb deleted file mode 100644 index 284f12d9..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_intent.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_intent.rb deleted file mode 100644 index 85d4169d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_intent.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemFreeTextIntent - extend CloudPDF::Internal::Types::Enum - - FREE_TEXT = "free-text" - FREE_TEXT_CALLOUT = "free-text-callout" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_interior_color.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_interior_color.rb deleted file mode 100644 index 776c42db..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_interior_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_line_ending.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_line_ending.rb deleted file mode 100644 index 979b5c1c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_line_ending.rb +++ /dev/null @@ -1,20 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding - extend CloudPDF::Internal::Types::Enum - - NONE = "none" - SQUARE = "square" - CIRCLE = "circle" - DIAMOND = "diamond" - OPEN_ARROW = "open-arrow" - CLOSED_ARROW = "closed-arrow" - BUTT = "butt" - R_OPEN_ARROW = "r-open-arrow" - R_CLOSED_ARROW = "r-closed-arrow" - SLASH = "slash" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rect.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rect.rb deleted file mode 100644 index 8426134e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFreeTextRect < 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_annotations_list200response_annotations_item_free_text_rect_differences.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rect_differences.rb deleted file mode 100644 index f8798ed1..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rect_differences.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences < Internal::Types::Model - field :left, -> { Integer }, optional: false, nullable: false - - field :top, -> { Integer }, optional: false, nullable: false - - field :right, -> { Integer }, optional: false, nullable: false - - field :bottom, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_ref.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_ref.rb deleted file mode 100644 index a4a73583..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFreeTextRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_ref_index.rb deleted file mode 100644 index d25d725e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_ref_index_revision.rb deleted file mode 100644 index 985a2f6b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_ref_nm.rb deleted file mode 100644 index 1e221361..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_ref_object_number.rb deleted file mode 100644 index ee991254..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_reply_type.rb deleted file mode 100644 index 23712c50..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text.rb deleted file mode 100644 index 044c6ec6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFreeTextRichText < Internal::Types::Model - field :body, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextRichTextBody }, optional: false, nullable: false - - field :paragraphs, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextRichTextParagraphsItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_body.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_body.rb deleted file mode 100644 index 4d044520..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_body.rb +++ /dev/null @@ -1,37 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFreeTextRichTextBody < Internal::Types::Model - field :family, -> { String }, optional: false, nullable: false - - field :weight, -> { Integer }, optional: false, nullable: false - - field :italic, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :size, -> { Integer }, optional: false, nullable: false - - field :color, -> { String }, optional: false, nullable: false - - field :decoration, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextRichTextBodyDecorationItem] }, optional: false, nullable: false - - field :script, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextRichTextBodyScript }, optional: false, nullable: false - - field :letter_spacing, -> { Integer }, optional: false, nullable: false, api_name: "letterSpacing" - - field :horizontal_scale, -> { Integer }, optional: false, nullable: false, api_name: "horizontalScale" - - field :unknown, -> { String }, optional: true, nullable: false - - field :align, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextRichTextBodyAlign }, optional: false, nullable: false - - field :dir, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextRichTextBodyDir }, optional: false, nullable: false - - field :line_height, -> { Integer }, optional: true, nullable: false, api_name: "lineHeight" - - field :margins, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextRichTextBodyMargins }, optional: true, nullable: false - - field :text_indent, -> { Integer }, optional: true, nullable: false, api_name: "textIndent" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_body_align.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_body_align.rb deleted file mode 100644 index 946e97ae..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_body_align.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemFreeTextRichTextBodyAlign - extend CloudPDF::Internal::Types::Enum - - LEFT = "left" - CENTER = "center" - RIGHT = "right" - JUSTIFY = "justify" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_body_decoration_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_body_decoration_item.rb deleted file mode 100644 index 9307e881..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_body_decoration_item.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemFreeTextRichTextBodyDecorationItem - extend CloudPDF::Internal::Types::Enum - - UNDERLINE = "underline" - LINE_THROUGH = "line-through" - WORD = "word" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_body_dir.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_body_dir.rb deleted file mode 100644 index 2e3d9f9c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_body_dir.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemFreeTextRichTextBodyDir - extend CloudPDF::Internal::Types::Enum - - LTR = "ltr" - RTL = "rtl" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_body_margins.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_body_margins.rb deleted file mode 100644 index 6af23829..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_body_margins.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFreeTextRichTextBodyMargins < Internal::Types::Model - field :top, -> { Integer }, optional: false, nullable: false - - field :bottom, -> { Integer }, optional: false, nullable: false - - field :left, -> { Integer }, optional: false, nullable: false - - field :right, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_body_script.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_body_script.rb deleted file mode 100644 index 19046206..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_body_script.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemFreeTextRichTextBodyScript - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - SUB = "sub" - SUPER = "super" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item.rb deleted file mode 100644 index 86502fcd..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item.rb +++ /dev/null @@ -1,21 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFreeTextRichTextParagraphsItem < Internal::Types::Model - field :align, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextRichTextParagraphsItemAlign }, optional: true, nullable: false - - field :dir, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextRichTextParagraphsItemDir }, optional: true, nullable: false - - field :line_height, -> { Integer }, optional: true, nullable: false, api_name: "lineHeight" - - field :margins, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextRichTextParagraphsItemMargins }, optional: true, nullable: false - - field :text_indent, -> { Integer }, optional: true, nullable: false, api_name: "textIndent" - - field :unknown, -> { String }, optional: true, nullable: false - - field :runs, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextRichTextParagraphsItemRunsItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item_align.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item_align.rb deleted file mode 100644 index dbb0fadd..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item_align.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemFreeTextRichTextParagraphsItemAlign - extend CloudPDF::Internal::Types::Enum - - LEFT = "left" - CENTER = "center" - RIGHT = "right" - JUSTIFY = "justify" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item_dir.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item_dir.rb deleted file mode 100644 index 9db31984..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item_dir.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemFreeTextRichTextParagraphsItemDir - extend CloudPDF::Internal::Types::Enum - - LTR = "ltr" - RTL = "rtl" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item_margins.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item_margins.rb deleted file mode 100644 index c467a6dc..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item_margins.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFreeTextRichTextParagraphsItemMargins < Internal::Types::Model - field :top, -> { Integer }, optional: false, nullable: false - - field :bottom, -> { Integer }, optional: false, nullable: false - - field :left, -> { Integer }, optional: false, nullable: false - - field :right, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item_runs_0dedd5.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item_runs_0dedd5.rb deleted file mode 100644 index d5b455b8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item_runs_0dedd5.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemFreeTextRichTextParagraphsItemRunsItemStyleScript - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - SUB = "sub" - SUPER = "super" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item_runs_957038.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item_runs_957038.rb deleted file mode 100644 index 98728497..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item_runs_957038.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemFreeTextRichTextParagraphsItemRunsItemStyleDecorationItem - extend CloudPDF::Internal::Types::Enum - - UNDERLINE = "underline" - LINE_THROUGH = "line-through" - WORD = "word" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item_runs_fd1f6a.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item_runs_fd1f6a.rb deleted file mode 100644 index 3ea16ede..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item_runs_fd1f6a.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFreeTextRichTextParagraphsItemRunsItemStyle < Internal::Types::Model - field :family, -> { String }, optional: true, nullable: false - - field :weight, -> { Integer }, optional: true, nullable: false - - field :italic, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :size, -> { Integer }, optional: true, nullable: false - - field :color, -> { String }, optional: true, nullable: false - - field :decoration, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextRichTextParagraphsItemRunsItemStyleDecorationItem] }, optional: true, nullable: false - - field :script, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextRichTextParagraphsItemRunsItemStyleScript }, optional: true, nullable: false - - field :letter_spacing, -> { Integer }, optional: true, nullable: false, api_name: "letterSpacing" - - field :horizontal_scale, -> { Integer }, optional: true, nullable: false, api_name: "horizontalScale" - - field :unknown, -> { String }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item_runs_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item_runs_item.rb deleted file mode 100644 index 9f8bfa1b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item_runs_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFreeTextRichTextParagraphsItemRunsItem < Internal::Types::Model - field :text, -> { String }, optional: false, nullable: false - - field :style, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextRichTextParagraphsItemRunsItemStyle }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_text_align.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_text_align.rb deleted file mode 100644 index a753ab4a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_text_align.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlign - extend CloudPDF::Internal::Types::Enum - - LEFT = "left" - CENTER = "center" - RIGHT = "right" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_unrotated_rect.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_unrotated_rect.rb deleted file mode 100644 index 2b719db8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_unrotated_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect < 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_annotations_list200response_annotations_item_highlight.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight.rb deleted file mode 100644 index 7aeb90dd..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight.rb +++ /dev/null @@ -1,53 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemHighlight < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :color, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightColor }, optional: false, nullable: false - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :quad_points, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem] }, optional: false, nullable: false, api_name: "quadPoints" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_blend_mode.rb deleted file mode 100644 index 4ed8a26d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_color.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_color.rb deleted file mode 100644 index d0b9e98f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemHighlightColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_flags.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_flags.rb deleted file mode 100644 index 855f6b10..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemHighlightFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_identity_quality.rb deleted file mode 100644 index b0744e8e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_in_reply_to.rb deleted file mode 100644 index 64f9374a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_in_reply_to_index.rb deleted file mode 100644 index 192d2613..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_in_reply_to_index_revision.rb deleted file mode 100644 index 9ed450ab..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_in_reply_to_nm.rb deleted file mode 100644 index 4b2197b9..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_in_reply_to_object_number.rb deleted file mode 100644 index 5467206c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_quad_points_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_quad_points_item.rb deleted file mode 100644 index 54bfd09e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_quad_points_item.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem < Internal::Types::Model - field :p1, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1 }, optional: false, nullable: false - - field :p2, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2 }, optional: false, nullable: false - - field :p3, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3 }, optional: false, nullable: false - - field :p4, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4 }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_quad_points_item_p1.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_quad_points_item_p1.rb deleted file mode 100644 index df3657d5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_quad_points_item_p1.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1 < 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_annotations_list200response_annotations_item_highlight_quad_points_item_p2.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_quad_points_item_p2.rb deleted file mode 100644 index 4357d81f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_quad_points_item_p2.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2 < 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_annotations_list200response_annotations_item_highlight_quad_points_item_p3.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_quad_points_item_p3.rb deleted file mode 100644 index a1a5fb1d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_quad_points_item_p3.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3 < 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_annotations_list200response_annotations_item_highlight_quad_points_item_p4.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_quad_points_item_p4.rb deleted file mode 100644 index 9be94bda..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_quad_points_item_p4.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4 < 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_annotations_list200response_annotations_item_highlight_rect.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_rect.rb deleted file mode 100644 index e6c629e7..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemHighlightRect < 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_annotations_list200response_annotations_item_highlight_ref.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_ref.rb deleted file mode 100644 index 277d769a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemHighlightRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_ref_index.rb deleted file mode 100644 index e6706e37..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_ref_index_revision.rb deleted file mode 100644 index 4af23e27..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_ref_nm.rb deleted file mode 100644 index 1edf11ff..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_ref_object_number.rb deleted file mode 100644 index b9e9fb41..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_reply_type.rb deleted file mode 100644 index b02096da..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemHighlightReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink.rb deleted file mode 100644 index f0b5d2a5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink.rb +++ /dev/null @@ -1,63 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemInk < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemInkRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemInkIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemInkFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemInkRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemInkBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemInkReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :color, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemInkColor }, optional: false, nullable: false - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :stroke_width, -> { Integer }, optional: false, nullable: false, api_name: "strokeWidth" - - field :border_style, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemInkBorderStyle }, optional: false, nullable: false, api_name: "borderStyle" - - field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" - - field :intent, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemInkIntent }, optional: false, nullable: true - - field :ink_list, -> { Internal::Types::Array[Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem]] }, optional: false, nullable: false, api_name: "inkList" - - field :rotation, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_blend_mode.rb deleted file mode 100644 index 8face834..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemInkBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_border_style.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_border_style.rb deleted file mode 100644 index 16991f9e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_border_style.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemInkBorderStyle - extend CloudPDF::Internal::Types::Enum - - SOLID = "solid" - DASHED = "dashed" - BEVELED = "beveled" - INSET = "inset" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_color.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_color.rb deleted file mode 100644 index 066f739c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemInkColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_flags.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_flags.rb deleted file mode 100644 index 6032c6eb..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemInkFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_identity_quality.rb deleted file mode 100644 index 2f253a1b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemInkIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_in_reply_to.rb deleted file mode 100644 index 3101134e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_in_reply_to_index.rb deleted file mode 100644 index cb435514..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_in_reply_to_index_revision.rb deleted file mode 100644 index a25187e5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_in_reply_to_nm.rb deleted file mode 100644 index cc8149a6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_in_reply_to_object_number.rb deleted file mode 100644 index 9faeeac2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_ink_list_item_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_ink_list_item_item.rb deleted file mode 100644 index 8e38f568..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_ink_list_item_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem < 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_annotations_list200response_annotations_item_ink_intent.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_intent.rb deleted file mode 100644 index 24e9098c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_intent.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemInkIntent - extend CloudPDF::Internal::Types::Enum - - INK_HIGHLIGHT = "ink-highlight" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_rect.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_rect.rb deleted file mode 100644 index a6781156..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemInkRect < 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_annotations_list200response_annotations_item_ink_ref.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_ref.rb deleted file mode 100644 index a489fc88..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemInkRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemInkRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemInkRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_ref_index.rb deleted file mode 100644 index b26a738a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemInkRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_ref_index_revision.rb deleted file mode 100644 index 910bae13..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_ref_nm.rb deleted file mode 100644 index e44ed29c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemInkRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_ref_object_number.rb deleted file mode 100644 index ba61ec07..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_reply_type.rb deleted file mode 100644 index 26989e61..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_ink_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemInkReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line.rb deleted file mode 100644 index 4e8bbbf8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line.rb +++ /dev/null @@ -1,73 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLine < Internal::Types::Model - field :intent, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineIntent }, optional: true, nullable: false - - field :measure, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineMeasure }, optional: true, nullable: false - - field :caption, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineCaption }, optional: true, nullable: false - - field :leader, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineLeader }, optional: true, nullable: false - - field :ref, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :color, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineColor }, optional: false, nullable: false - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :stroke_width, -> { Integer }, optional: false, nullable: false, api_name: "strokeWidth" - - field :border_style, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineBorderStyle }, optional: false, nullable: false, api_name: "borderStyle" - - field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" - - field :interior_color, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor }, optional: false, nullable: true, api_name: "interiorColor" - - field :line_points, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineLinePoints }, optional: false, nullable: false, api_name: "linePoints" - - field :line_endings, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineLineEndings }, optional: false, nullable: false, api_name: "lineEndings" - - field :rotation, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_blend_mode.rb deleted file mode 100644 index 7ec1c0d5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemLineBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_border_style.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_border_style.rb deleted file mode 100644 index 5c14d7f5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_border_style.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemLineBorderStyle - extend CloudPDF::Internal::Types::Enum - - SOLID = "solid" - DASHED = "dashed" - BEVELED = "beveled" - INSET = "inset" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_caption.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_caption.rb deleted file mode 100644 index 6eeb816b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_caption.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineCaption < Internal::Types::Model - field :enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :position, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineCaptionPosition }, optional: true, nullable: false - - field :offset, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineCaptionOffset }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_caption_offset.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_caption_offset.rb deleted file mode 100644 index 0aef0b74..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_caption_offset.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineCaptionOffset < Internal::Types::Model - field :along, -> { Integer }, optional: false, nullable: false - - field :perpendicular, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_caption_position.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_caption_position.rb deleted file mode 100644 index dff3f589..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_caption_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemLineCaptionPosition - extend CloudPDF::Internal::Types::Enum - - INLINE = "inline" - TOP = "top" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_color.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_color.rb deleted file mode 100644 index 03c4c8dc..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_flags.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_flags.rb deleted file mode 100644 index d4fca046..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_identity_quality.rb deleted file mode 100644 index 6f65d457..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemLineIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_in_reply_to.rb deleted file mode 100644 index 67cbfa85..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_in_reply_to_index.rb deleted file mode 100644 index de07479e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_in_reply_to_index_revision.rb deleted file mode 100644 index a7dd1cc5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_in_reply_to_nm.rb deleted file mode 100644 index 98a9a38e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_in_reply_to_object_number.rb deleted file mode 100644 index ea911cfc..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_intent.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_intent.rb deleted file mode 100644 index 83e6744b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_intent.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemLineIntent - extend CloudPDF::Internal::Types::Enum - - LINE_ARROW = "LineArrow" - LINE_DIMENSION = "LineDimension" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_interior_color.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_interior_color.rb deleted file mode 100644 index 9ff5f2b1..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_interior_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_leader.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_leader.rb deleted file mode 100644 index c6634e42..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_leader.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineLeader < Internal::Types::Model - field :length, -> { Integer }, optional: false, nullable: false - - field :extension, -> { Integer }, optional: true, nullable: false - - field :offset, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_line_endings.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_line_endings.rb deleted file mode 100644 index a44b37ff..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_line_endings.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineLineEndings < Internal::Types::Model - field :start, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart }, optional: false, nullable: false - - field :end_, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd }, optional: false, nullable: false, api_name: "end" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_line_endings_end.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_line_endings_end.rb deleted file mode 100644 index 2ff6a58b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_line_endings_end.rb +++ /dev/null @@ -1,20 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd - extend CloudPDF::Internal::Types::Enum - - NONE = "none" - SQUARE = "square" - CIRCLE = "circle" - DIAMOND = "diamond" - OPEN_ARROW = "open-arrow" - CLOSED_ARROW = "closed-arrow" - BUTT = "butt" - R_OPEN_ARROW = "r-open-arrow" - R_CLOSED_ARROW = "r-closed-arrow" - SLASH = "slash" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_line_endings_start.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_line_endings_start.rb deleted file mode 100644 index 13e5147a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_line_endings_start.rb +++ /dev/null @@ -1,20 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart - extend CloudPDF::Internal::Types::Enum - - NONE = "none" - SQUARE = "square" - CIRCLE = "circle" - DIAMOND = "diamond" - OPEN_ARROW = "open-arrow" - CLOSED_ARROW = "closed-arrow" - BUTT = "butt" - R_OPEN_ARROW = "r-open-arrow" - R_CLOSED_ARROW = "r-closed-arrow" - SLASH = "slash" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_line_points.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_line_points.rb deleted file mode 100644 index 8ddcf5e5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_line_points.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineLinePoints < Internal::Types::Model - field :start, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart }, optional: false, nullable: false - - field :end_, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd }, optional: false, nullable: false, api_name: "end" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_line_points_end.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_line_points_end.rb deleted file mode 100644 index 486858d9..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_line_points_end.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd < 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_annotations_list200response_annotations_item_line_line_points_start.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_line_points_start.rb deleted file mode 100644 index 1a7ec96d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_line_points_start.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart < 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_annotations_list200response_annotations_item_line_measure.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure.rb deleted file mode 100644 index db91e865..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineMeasure < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :subtype - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl }, key: "RL" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineMeasureGeo }, key: "GEO" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineMeasureUnknown }, key: "UNKNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_geo.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_geo.rb deleted file mode 100644 index 07af8e4d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_geo.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineMeasureGeo < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl.rb deleted file mode 100644 index 9d180757..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl.rb +++ /dev/null @@ -1,25 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl < Internal::Types::Model - field :ratio, -> { String }, optional: true, nullable: false - - field :x, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlXItem] }, optional: false, nullable: false - - field :y, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlYItem] }, optional: true, nullable: false - - field :distance, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlDistanceItem] }, optional: false, nullable: false - - field :area, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlAreaItem] }, optional: false, nullable: false - - field :angle, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlAngleItem] }, optional: true, nullable: false - - field :slope, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlSlopeItem] }, optional: true, nullable: false - - field :origin, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlOrigin }, optional: true, nullable: false - - field :cyx, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_angle_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_angle_item.rb deleted file mode 100644 index db0de343..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_angle_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlAngleItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlAngleItemFraction }, 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::DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlAngleItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_angle_item_fraction.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_angle_item_fraction.rb deleted file mode 100644 index d4d2280d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_angle_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlAngleItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_angle_item_label_position.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_angle_item_label_position.rb deleted file mode 100644 index 8bde9f42..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_angle_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlAngleItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_area_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_area_item.rb deleted file mode 100644 index 375c8fb7..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_area_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlAreaItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlAreaItemFraction }, 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::DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlAreaItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_area_item_fraction.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_area_item_fraction.rb deleted file mode 100644 index 0ec344a2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_area_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlAreaItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_area_item_label_position.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_area_item_label_position.rb deleted file mode 100644 index 0171ca39..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_area_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlAreaItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_distance_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_distance_item.rb deleted file mode 100644 index e26bc175..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_distance_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlDistanceItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlDistanceItemFraction }, 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::DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlDistanceItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_distance_item_fraction.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_distance_item_fraction.rb deleted file mode 100644 index 26ffa3e3..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_distance_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlDistanceItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_distance_item_label_position.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_distance_item_label_position.rb deleted file mode 100644 index 1f908166..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_distance_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlDistanceItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_origin.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_origin.rb deleted file mode 100644 index 0bdf69cd..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_origin.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlOrigin < 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_annotations_list200response_annotations_item_line_measure_rl_slope_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_slope_item.rb deleted file mode 100644 index 4bd4744c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_slope_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlSlopeItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlSlopeItemFraction }, 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::DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlSlopeItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_slope_item_fraction.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_slope_item_fraction.rb deleted file mode 100644 index 800fd2db..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_slope_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlSlopeItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_slope_item_label_position.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_slope_item_label_position.rb deleted file mode 100644 index 77b5ccf2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_slope_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlSlopeItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_x_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_x_item.rb deleted file mode 100644 index a68228c6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_x_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlXItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlXItemFraction }, 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::DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlXItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_x_item_fraction.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_x_item_fraction.rb deleted file mode 100644 index eb59f9fc..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_x_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlXItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_x_item_label_position.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_x_item_label_position.rb deleted file mode 100644 index 3679d28c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_x_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlXItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_y_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_y_item.rb deleted file mode 100644 index 23dfed70..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_y_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlYItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlYItemFraction }, 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::DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlYItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_y_item_fraction.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_y_item_fraction.rb deleted file mode 100644 index bc97214f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_y_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlYItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_y_item_label_position.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_y_item_label_position.rb deleted file mode 100644 index 672a1bde..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_y_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemLineMeasureRlYItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_unknown.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_unknown.rb deleted file mode 100644 index ee1b8f2a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineMeasureUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_rect.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_rect.rb deleted file mode 100644 index e2edf161..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineRect < 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_annotations_list200response_annotations_item_line_ref.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_ref.rb deleted file mode 100644 index 885ddd4e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_ref_index.rb deleted file mode 100644 index 61902124..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_ref_index_revision.rb deleted file mode 100644 index ad5f829f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_ref_nm.rb deleted file mode 100644 index 4341dc63..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_ref_object_number.rb deleted file mode 100644 index 76c91a2e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_reply_type.rb deleted file mode 100644 index eeebe44b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_line_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemLineReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link.rb deleted file mode 100644 index 787ec7ac..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link.rb +++ /dev/null @@ -1,49 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLink < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLinkRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLinkFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLinkRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLinkReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :target, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLinkTarget }, optional: false, nullable: true - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_blend_mode.rb deleted file mode 100644 index a41bbb6b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_flags.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_flags.rb deleted file mode 100644 index 5e713f71..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLinkFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_identity_quality.rb deleted file mode 100644 index a955dbd5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_in_reply_to.rb deleted file mode 100644 index d0309ab0..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_in_reply_to_index.rb deleted file mode 100644 index 8c0b37de..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_in_reply_to_index_revision.rb deleted file mode 100644 index e8944a62..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_in_reply_to_nm.rb deleted file mode 100644 index b9777add..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_in_reply_to_object_number.rb deleted file mode 100644 index 2a7a5264..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_rect.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_rect.rb deleted file mode 100644 index d84c7507..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLinkRect < 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_annotations_list200response_annotations_item_link_ref.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_ref.rb deleted file mode 100644 index dbf0ab27..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLinkRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLinkRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_ref_index.rb deleted file mode 100644 index 6306c063..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_ref_index_revision.rb deleted file mode 100644 index bdbabb0a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_ref_nm.rb deleted file mode 100644 index 2b985e9a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLinkRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_ref_object_number.rb deleted file mode 100644 index 97dd43f6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_reply_type.rb deleted file mode 100644 index b281b0e9..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemLinkReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_target.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_target.rb deleted file mode 100644 index 95e497b7..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_target.rb +++ /dev/null @@ -1,25 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLinkTarget < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto }, key: "GOTO" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI }, key: "URI" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote }, key: "GOTO_REMOTE" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch }, key: "LAUNCH" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript }, key: "JAVASCRIPT" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed }, key: "NAMED" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemLinkTargetUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_target_goto.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_target_goto.rb deleted file mode 100644 index b8cf73ee..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_target_goto.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto < Internal::Types::Model - field :destination, -> { CloudPDF::Types::PdfDestination }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_target_goto_remote.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_target_goto_remote.rb deleted file mode 100644 index e18dcc82..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_target_goto_remote.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote < Internal::Types::Model - field :file, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_target_javascript.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_target_javascript.rb deleted file mode 100644 index 1747be10..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_target_javascript.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_target_launch.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_target_launch.rb deleted file mode 100644 index cf36052d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_target_launch.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch < Internal::Types::Model - field :path, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_target_named.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_target_named.rb deleted file mode 100644 index 72a964cf..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_target_named.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed < Internal::Types::Model - field :name, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_target_unsupported.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_target_unsupported.rb deleted file mode 100644 index 220cd788..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_target_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLinkTargetUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_target_uri.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_target_uri.rb deleted file mode 100644 index 631faca9..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_link_target_uri.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI < Internal::Types::Model - field :uri, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon.rb deleted file mode 100644 index 4ba164ef..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon.rb +++ /dev/null @@ -1,71 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygon < Internal::Types::Model - field :intent, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonIntent }, optional: true, nullable: false - - field :measure, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure }, optional: true, nullable: false - - field :caption, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonCaption }, optional: true, nullable: false - - field :ref, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :color, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonColor }, optional: false, nullable: false - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :stroke_width, -> { Integer }, optional: false, nullable: false, api_name: "strokeWidth" - - field :border_style, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyle }, optional: false, nullable: false, api_name: "borderStyle" - - field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" - - field :interior_color, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor }, optional: false, nullable: true, api_name: "interiorColor" - - field :vertices, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem] }, optional: false, nullable: false - - field :rotation, -> { Integer }, optional: true, nullable: false - - field :cloudy_intensity, -> { Integer }, optional: false, nullable: true, api_name: "cloudyIntensity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_blend_mode.rb deleted file mode 100644 index b48253d8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_border_style.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_border_style.rb deleted file mode 100644 index 7524760c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_border_style.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyle - extend CloudPDF::Internal::Types::Enum - - SOLID = "solid" - DASHED = "dashed" - BEVELED = "beveled" - INSET = "inset" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_caption.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_caption.rb deleted file mode 100644 index 1d99d0e7..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_caption.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygonCaption < Internal::Types::Model - field :enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :center, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonCaptionCenter }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_caption_center.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_caption_center.rb deleted file mode 100644 index 557f883d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_caption_center.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygonCaptionCenter < 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_annotations_list200response_annotations_item_polygon_color.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_color.rb deleted file mode 100644 index 45b1516b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygonColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_flags.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_flags.rb deleted file mode 100644 index 5e6ea5f5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygonFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_identity_quality.rb deleted file mode 100644 index 3dd89b0d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_in_reply_to.rb deleted file mode 100644 index 74c3d380..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_in_reply_to_index.rb deleted file mode 100644 index c545b833..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_in_reply_to_index_revision.rb deleted file mode 100644 index 917a37b6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_in_reply_to_nm.rb deleted file mode 100644 index 89fb93ae..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_in_reply_to_object_number.rb deleted file mode 100644 index 64827cb6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_intent.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_intent.rb deleted file mode 100644 index 1a32cfbb..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_intent.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolygonIntent - extend CloudPDF::Internal::Types::Enum - - POLYGON_CLOUD = "PolygonCloud" - POLYGON_DIMENSION = "PolygonDimension" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_interior_color.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_interior_color.rb deleted file mode 100644 index 47427d83..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_interior_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure.rb deleted file mode 100644 index 3f660af9..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :subtype - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl }, key: "RL" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureGeo }, key: "GEO" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureUnknown }, key: "UNKNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_geo.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_geo.rb deleted file mode 100644 index 52d84c6e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_geo.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureGeo < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl.rb deleted file mode 100644 index 70f06808..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl.rb +++ /dev/null @@ -1,25 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl < Internal::Types::Model - field :ratio, -> { String }, optional: true, nullable: false - - field :x, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlXItem] }, optional: false, nullable: false - - field :y, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlYItem] }, optional: true, nullable: false - - field :distance, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlDistanceItem] }, optional: false, nullable: false - - field :area, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlAreaItem] }, optional: false, nullable: false - - field :angle, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlAngleItem] }, optional: true, nullable: false - - field :slope, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlSlopeItem] }, optional: true, nullable: false - - field :origin, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlOrigin }, optional: true, nullable: false - - field :cyx, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_angle_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_angle_item.rb deleted file mode 100644 index 3c7a4f30..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_angle_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlAngleItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlAngleItemFraction }, 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::DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlAngleItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_angle_item_fraction.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_angle_item_fraction.rb deleted file mode 100644 index 528b1add..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_angle_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlAngleItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_angle_item_label_position.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_angle_item_label_position.rb deleted file mode 100644 index 8924e99d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_angle_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlAngleItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_area_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_area_item.rb deleted file mode 100644 index ede2131e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_area_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlAreaItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlAreaItemFraction }, 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::DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlAreaItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_area_item_fraction.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_area_item_fraction.rb deleted file mode 100644 index 1856d266..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_area_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlAreaItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_area_item_label_position.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_area_item_label_position.rb deleted file mode 100644 index d8acd963..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_area_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlAreaItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_distance_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_distance_item.rb deleted file mode 100644 index 34e4095a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_distance_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlDistanceItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlDistanceItemFraction }, 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::DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlDistanceItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_distance_item_fraction.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_distance_item_fraction.rb deleted file mode 100644 index 80cfb3c5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_distance_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlDistanceItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_distance_item_label_position.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_distance_item_label_position.rb deleted file mode 100644 index 5c04bcde..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_distance_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlDistanceItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_origin.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_origin.rb deleted file mode 100644 index a2ebd17f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_origin.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlOrigin < 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_annotations_list200response_annotations_item_polygon_measure_rl_slope_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_slope_item.rb deleted file mode 100644 index 486c2c7f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_slope_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlSlopeItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlSlopeItemFraction }, 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::DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlSlopeItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_slope_item_fraction.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_slope_item_fraction.rb deleted file mode 100644 index 900ef6ee..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_slope_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlSlopeItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_slope_item_label_position.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_slope_item_label_position.rb deleted file mode 100644 index f529848b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_slope_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlSlopeItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_x_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_x_item.rb deleted file mode 100644 index b383fc25..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_x_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlXItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlXItemFraction }, 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::DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlXItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_x_item_fraction.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_x_item_fraction.rb deleted file mode 100644 index 61a302ab..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_x_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlXItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_x_item_label_position.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_x_item_label_position.rb deleted file mode 100644 index 0ec0d941..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_x_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlXItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_y_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_y_item.rb deleted file mode 100644 index 7065f3d2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_y_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlYItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlYItemFraction }, 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::DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlYItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_y_item_fraction.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_y_item_fraction.rb deleted file mode 100644 index 11989153..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_y_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlYItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_y_item_label_position.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_y_item_label_position.rb deleted file mode 100644 index f9b73c9c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_y_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRlYItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_unknown.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_unknown.rb deleted file mode 100644 index 8360222b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_rect.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_rect.rb deleted file mode 100644 index a261343c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygonRect < 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_annotations_list200response_annotations_item_polygon_ref.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_ref.rb deleted file mode 100644 index 90c2cdd9..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygonRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_ref_index.rb deleted file mode 100644 index c4ce95d8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_ref_index_revision.rb deleted file mode 100644 index 3fc32125..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_ref_nm.rb deleted file mode 100644 index 746ea071..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_ref_object_number.rb deleted file mode 100644 index 2cbb0c6d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_reply_type.rb deleted file mode 100644 index 8ae23c52..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolygonReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_vertices_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_vertices_item.rb deleted file mode 100644 index 45d9ac9c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_vertices_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem < 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_annotations_list200response_annotations_item_polyline.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline.rb deleted file mode 100644 index 8393892a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline.rb +++ /dev/null @@ -1,71 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolyline < Internal::Types::Model - field :intent, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineIntent }, optional: true, nullable: false - - field :measure, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineMeasure }, optional: true, nullable: false - - field :caption, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineCaption }, optional: true, nullable: false - - field :ref, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :color, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineColor }, optional: false, nullable: false - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :stroke_width, -> { Integer }, optional: false, nullable: false, api_name: "strokeWidth" - - field :border_style, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyle }, optional: false, nullable: false, api_name: "borderStyle" - - field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" - - field :interior_color, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor }, optional: false, nullable: true, api_name: "interiorColor" - - field :vertices, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem] }, optional: false, nullable: false - - field :rotation, -> { Integer }, optional: true, nullable: false - - field :line_endings, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings }, optional: false, nullable: false, api_name: "lineEndings" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_blend_mode.rb deleted file mode 100644 index d95e15fd..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_border_style.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_border_style.rb deleted file mode 100644 index 83c139c8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_border_style.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyle - extend CloudPDF::Internal::Types::Enum - - SOLID = "solid" - DASHED = "dashed" - BEVELED = "beveled" - INSET = "inset" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_caption.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_caption.rb deleted file mode 100644 index 95e5fd39..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_caption.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineCaption < Internal::Types::Model - field :enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :center, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineCaptionCenter }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_caption_center.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_caption_center.rb deleted file mode 100644 index 9b653613..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_caption_center.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineCaptionCenter < 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_annotations_list200response_annotations_item_polyline_color.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_color.rb deleted file mode 100644 index 04867db0..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_flags.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_flags.rb deleted file mode 100644 index f53b1b91..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_identity_quality.rb deleted file mode 100644 index aa34a2d6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_in_reply_to.rb deleted file mode 100644 index ba26a547..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_in_reply_to_index.rb deleted file mode 100644 index 169f4efb..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_in_reply_to_index_revision.rb deleted file mode 100644 index 79d476e4..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_in_reply_to_nm.rb deleted file mode 100644 index 80afddd1..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_in_reply_to_object_number.rb deleted file mode 100644 index a1c2d0f4..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_intent.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_intent.rb deleted file mode 100644 index 4c4ddc57..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_intent.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolylineIntent - extend CloudPDF::Internal::Types::Enum - - POLY_LINE_DIMENSION = "PolyLineDimension" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_interior_color.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_interior_color.rb deleted file mode 100644 index 07825ecc..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_interior_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_line_endings.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_line_endings.rb deleted file mode 100644 index d75ebd5d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_line_endings.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings < Internal::Types::Model - field :start, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart }, optional: false, nullable: false - - field :end_, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd }, optional: false, nullable: false, api_name: "end" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_line_endings_end.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_line_endings_end.rb deleted file mode 100644 index fb3f5f42..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_line_endings_end.rb +++ /dev/null @@ -1,20 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd - extend CloudPDF::Internal::Types::Enum - - NONE = "none" - SQUARE = "square" - CIRCLE = "circle" - DIAMOND = "diamond" - OPEN_ARROW = "open-arrow" - CLOSED_ARROW = "closed-arrow" - BUTT = "butt" - R_OPEN_ARROW = "r-open-arrow" - R_CLOSED_ARROW = "r-closed-arrow" - SLASH = "slash" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_line_endings_start.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_line_endings_start.rb deleted file mode 100644 index 08e03987..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_line_endings_start.rb +++ /dev/null @@ -1,20 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart - extend CloudPDF::Internal::Types::Enum - - NONE = "none" - SQUARE = "square" - CIRCLE = "circle" - DIAMOND = "diamond" - OPEN_ARROW = "open-arrow" - CLOSED_ARROW = "closed-arrow" - BUTT = "butt" - R_OPEN_ARROW = "r-open-arrow" - R_CLOSED_ARROW = "r-closed-arrow" - SLASH = "slash" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure.rb deleted file mode 100644 index d185326e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineMeasure < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :subtype - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRl }, key: "RL" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureGeo }, key: "GEO" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureUnknown }, key: "UNKNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_geo.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_geo.rb deleted file mode 100644 index e08442c2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_geo.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureGeo < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl.rb deleted file mode 100644 index f1e5e987..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl.rb +++ /dev/null @@ -1,25 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRl < Internal::Types::Model - field :ratio, -> { String }, optional: true, nullable: false - - field :x, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlXItem] }, optional: false, nullable: false - - field :y, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlYItem] }, optional: true, nullable: false - - field :distance, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlDistanceItem] }, optional: false, nullable: false - - field :area, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlAreaItem] }, optional: false, nullable: false - - field :angle, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlAngleItem] }, optional: true, nullable: false - - field :slope, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlSlopeItem] }, optional: true, nullable: false - - field :origin, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlOrigin }, optional: true, nullable: false - - field :cyx, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_angle_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_angle_item.rb deleted file mode 100644 index 42460122..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_angle_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlAngleItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlAngleItemFraction }, 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::DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlAngleItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_angle_item_fraction.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_angle_item_fraction.rb deleted file mode 100644 index 1bef2ee7..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_angle_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlAngleItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_angle_item_label_position.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_angle_item_label_position.rb deleted file mode 100644 index cbee4997..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_angle_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlAngleItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_area_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_area_item.rb deleted file mode 100644 index c8c4f92b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_area_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlAreaItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlAreaItemFraction }, 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::DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlAreaItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_area_item_fraction.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_area_item_fraction.rb deleted file mode 100644 index 632ee4c1..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_area_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlAreaItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_area_item_label_position.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_area_item_label_position.rb deleted file mode 100644 index 7f974945..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_area_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlAreaItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_distance_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_distance_item.rb deleted file mode 100644 index 8906fba6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_distance_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlDistanceItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlDistanceItemFraction }, 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::DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlDistanceItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_distance_item_fraction.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_distance_item_fraction.rb deleted file mode 100644 index e346c722..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_distance_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlDistanceItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_distance_item_label_position.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_distance_item_label_position.rb deleted file mode 100644 index 5e781894..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_distance_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlDistanceItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_origin.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_origin.rb deleted file mode 100644 index e89e06a4..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_origin.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlOrigin < 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_annotations_list200response_annotations_item_polyline_measure_rl_slope_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_slope_item.rb deleted file mode 100644 index ada8a209..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_slope_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlSlopeItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlSlopeItemFraction }, 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::DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlSlopeItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_slope_item_fraction.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_slope_item_fraction.rb deleted file mode 100644 index f1328214..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_slope_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlSlopeItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_slope_item_label_position.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_slope_item_label_position.rb deleted file mode 100644 index 0baf1d3e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_slope_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlSlopeItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_x_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_x_item.rb deleted file mode 100644 index 3c3fd395..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_x_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlXItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlXItemFraction }, 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::DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlXItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_x_item_fraction.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_x_item_fraction.rb deleted file mode 100644 index 5c6857c4..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_x_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlXItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_x_item_label_position.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_x_item_label_position.rb deleted file mode 100644 index 1784e276..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_x_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlXItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_y_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_y_item.rb deleted file mode 100644 index 68e9a498..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_y_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlYItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlYItemFraction }, 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::DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlYItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_y_item_fraction.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_y_item_fraction.rb deleted file mode 100644 index 316ee761..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_y_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlYItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_y_item_label_position.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_y_item_label_position.rb deleted file mode 100644 index 37625687..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_y_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureRlYItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_unknown.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_unknown.rb deleted file mode 100644 index 8a3adc62..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineMeasureUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_rect.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_rect.rb deleted file mode 100644 index f1fc2f4f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineRect < 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_annotations_list200response_annotations_item_polyline_ref.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_ref.rb deleted file mode 100644 index ea50fb11..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_ref_index.rb deleted file mode 100644 index 32fe6924..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_ref_index_revision.rb deleted file mode 100644 index 82ef8318..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_ref_nm.rb deleted file mode 100644 index cee5bc9f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_ref_object_number.rb deleted file mode 100644 index 862a06fc..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_reply_type.rb deleted file mode 100644 index 62e4a62a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemPolylineReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_vertices_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_vertices_item.rb deleted file mode 100644 index cb318c86..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_vertices_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem < 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_annotations_list200response_annotations_item_redact.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact.rb deleted file mode 100644 index c47afac1..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact.rb +++ /dev/null @@ -1,67 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemRedact < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemRedactRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemRedactFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemRedactRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemRedactReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :quad_points, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem] }, optional: false, nullable: false, api_name: "quadPoints" - - field :color, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemRedactColor }, optional: false, nullable: false - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :interior_color, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor }, optional: false, nullable: true, api_name: "interiorColor" - - field :overlay_text, -> { String }, optional: false, nullable: true, api_name: "overlayText" - - field :repeat, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :font_family, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily }, optional: false, nullable: false, api_name: "fontFamily" - - field :font_size, -> { Integer }, optional: false, nullable: false, api_name: "fontSize" - - field :font_color, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemRedactFontColor }, optional: false, nullable: false, api_name: "fontColor" - - field :text_align, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemRedactTextAlign }, optional: false, nullable: false, api_name: "textAlign" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_blend_mode.rb deleted file mode 100644 index 3eb4f4db..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_color.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_color.rb deleted file mode 100644 index 48667343..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemRedactColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_flags.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_flags.rb deleted file mode 100644 index a8fc77bb..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemRedactFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_font_color.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_font_color.rb deleted file mode 100644 index 54afab62..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_font_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemRedactFontColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_font_family.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_font_family.rb deleted file mode 100644 index 2a5078d8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_font_family.rb +++ /dev/null @@ -1,24 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily - extend CloudPDF::Internal::Types::Enum - - COURIER = "courier" - COURIER_BOLD = "courier-bold" - COURIER_BOLD_OBLIQUE = "courier-bold-oblique" - COURIER_OBLIQUE = "courier-oblique" - HELVETICA = "helvetica" - HELVETICA_BOLD = "helvetica-bold" - HELVETICA_BOLD_OBLIQUE = "helvetica-bold-oblique" - HELVETICA_OBLIQUE = "helvetica-oblique" - TIMES_ROMAN = "times-roman" - TIMES_BOLD = "times-bold" - TIMES_BOLD_ITALIC = "times-bold-italic" - TIMES_ITALIC = "times-italic" - SYMBOL = "symbol" - ZAPF_DINGBATS = "zapf-dingbats" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_identity_quality.rb deleted file mode 100644 index 18df1662..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_in_reply_to.rb deleted file mode 100644 index 885ad40b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_in_reply_to_index.rb deleted file mode 100644 index b6125b8c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_in_reply_to_index_revision.rb deleted file mode 100644 index 741a05d0..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_in_reply_to_nm.rb deleted file mode 100644 index 8a8d3c2e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_in_reply_to_object_number.rb deleted file mode 100644 index 433420cc..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_interior_color.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_interior_color.rb deleted file mode 100644 index 3b21092b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_interior_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_quad_points_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_quad_points_item.rb deleted file mode 100644 index b2fc5619..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_quad_points_item.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem < Internal::Types::Model - field :p1, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1 }, optional: false, nullable: false - - field :p2, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2 }, optional: false, nullable: false - - field :p3, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3 }, optional: false, nullable: false - - field :p4, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4 }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_quad_points_item_p1.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_quad_points_item_p1.rb deleted file mode 100644 index 69f4ed49..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_quad_points_item_p1.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1 < 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_annotations_list200response_annotations_item_redact_quad_points_item_p2.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_quad_points_item_p2.rb deleted file mode 100644 index bb76b44c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_quad_points_item_p2.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2 < 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_annotations_list200response_annotations_item_redact_quad_points_item_p3.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_quad_points_item_p3.rb deleted file mode 100644 index ecf4d088..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_quad_points_item_p3.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3 < 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_annotations_list200response_annotations_item_redact_quad_points_item_p4.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_quad_points_item_p4.rb deleted file mode 100644 index 94bd9caf..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_quad_points_item_p4.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4 < 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_annotations_list200response_annotations_item_redact_rect.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_rect.rb deleted file mode 100644 index eb8611c8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemRedactRect < 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_annotations_list200response_annotations_item_redact_ref.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_ref.rb deleted file mode 100644 index d0fd6f14..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemRedactRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemRedactRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_ref_index.rb deleted file mode 100644 index 907c4db4..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_ref_index_revision.rb deleted file mode 100644 index b2da82fb..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_ref_nm.rb deleted file mode 100644 index 2f1e5c4c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemRedactRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_ref_object_number.rb deleted file mode 100644 index a7e78ae7..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_reply_type.rb deleted file mode 100644 index 8ca3e0c3..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemRedactReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_text_align.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_text_align.rb deleted file mode 100644 index 9d62bab6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_redact_text_align.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemRedactTextAlign - extend CloudPDF::Internal::Types::Enum - - LEFT = "left" - CENTER = "center" - RIGHT = "right" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square.rb deleted file mode 100644 index 229e6bf2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square.rb +++ /dev/null @@ -1,67 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquare < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquareRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquareFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquareRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquareReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :color, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquareColor }, optional: false, nullable: false - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :stroke_width, -> { Integer }, optional: false, nullable: false, api_name: "strokeWidth" - - field :border_style, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyle }, optional: false, nullable: false, api_name: "borderStyle" - - field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" - - field :interior_color, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor }, optional: false, nullable: true, api_name: "interiorColor" - - field :cloudy_intensity, -> { Integer }, optional: false, nullable: true, api_name: "cloudyIntensity" - - field :rect_differences, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences }, optional: false, nullable: true, api_name: "rectDifferences" - - field :rotation, -> { Integer }, optional: true, nullable: false - - field :unrotated_rect, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect }, optional: true, nullable: false, api_name: "unrotatedRect" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_blend_mode.rb deleted file mode 100644 index 643d26df..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_border_style.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_border_style.rb deleted file mode 100644 index 0aa9b175..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_border_style.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyle - extend CloudPDF::Internal::Types::Enum - - SOLID = "solid" - DASHED = "dashed" - BEVELED = "beveled" - INSET = "inset" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_color.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_color.rb deleted file mode 100644 index 2818c016..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquareColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_flags.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_flags.rb deleted file mode 100644 index e3077dd8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquareFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_identity_quality.rb deleted file mode 100644 index 313fed69..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_in_reply_to.rb deleted file mode 100644 index 14c83898..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_in_reply_to_index.rb deleted file mode 100644 index 4bb8fc61..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_in_reply_to_index_revision.rb deleted file mode 100644 index 9abfeb22..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_in_reply_to_nm.rb deleted file mode 100644 index 8b4b6f75..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_in_reply_to_object_number.rb deleted file mode 100644 index d5b57f26..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_interior_color.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_interior_color.rb deleted file mode 100644 index 0a651a79..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_interior_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_rect.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_rect.rb deleted file mode 100644 index d7ed5758..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquareRect < 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_annotations_list200response_annotations_item_square_rect_differences.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_rect_differences.rb deleted file mode 100644 index 8798ec07..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_rect_differences.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences < Internal::Types::Model - field :left, -> { Integer }, optional: false, nullable: false - - field :top, -> { Integer }, optional: false, nullable: false - - field :right, -> { Integer }, optional: false, nullable: false - - field :bottom, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_ref.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_ref.rb deleted file mode 100644 index e1086052..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquareRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquareRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_ref_index.rb deleted file mode 100644 index 8dd60271..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_ref_index_revision.rb deleted file mode 100644 index abca8e99..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_ref_nm.rb deleted file mode 100644 index 9d3c9b65..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquareRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_ref_object_number.rb deleted file mode 100644 index 276026d4..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_reply_type.rb deleted file mode 100644 index d994a481..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemSquareReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_unrotated_rect.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_unrotated_rect.rb deleted file mode 100644 index c3b9c2d1..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_square_unrotated_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect < 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_annotations_list200response_annotations_item_squiggly.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly.rb deleted file mode 100644 index 7b78fd8a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly.rb +++ /dev/null @@ -1,53 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquiggly < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :color, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyColor }, optional: false, nullable: false - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :quad_points, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem] }, optional: false, nullable: false, api_name: "quadPoints" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_blend_mode.rb deleted file mode 100644 index 6d4263b1..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_color.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_color.rb deleted file mode 100644 index 362f37ec..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquigglyColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_flags.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_flags.rb deleted file mode 100644 index 6f9178b1..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_identity_quality.rb deleted file mode 100644 index 9c546547..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_in_reply_to.rb deleted file mode 100644 index 19283f56..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_in_reply_to_index.rb deleted file mode 100644 index fe861bfe..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_in_reply_to_index_revision.rb deleted file mode 100644 index 1fe3f180..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_in_reply_to_nm.rb deleted file mode 100644 index caeabe1d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_in_reply_to_object_number.rb deleted file mode 100644 index 35e09f62..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_quad_points_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_quad_points_item.rb deleted file mode 100644 index aa36be49..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_quad_points_item.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem < Internal::Types::Model - field :p1, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1 }, optional: false, nullable: false - - field :p2, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2 }, optional: false, nullable: false - - field :p3, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3 }, optional: false, nullable: false - - field :p4, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4 }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_quad_points_item_p1.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_quad_points_item_p1.rb deleted file mode 100644 index a05cbb75..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_quad_points_item_p1.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1 < 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_annotations_list200response_annotations_item_squiggly_quad_points_item_p2.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_quad_points_item_p2.rb deleted file mode 100644 index 1b147ef9..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_quad_points_item_p2.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2 < 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_annotations_list200response_annotations_item_squiggly_quad_points_item_p3.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_quad_points_item_p3.rb deleted file mode 100644 index 76c41227..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_quad_points_item_p3.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3 < 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_annotations_list200response_annotations_item_squiggly_quad_points_item_p4.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_quad_points_item_p4.rb deleted file mode 100644 index f2263e21..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_quad_points_item_p4.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4 < 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_annotations_list200response_annotations_item_squiggly_rect.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_rect.rb deleted file mode 100644 index abb3bae6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquigglyRect < 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_annotations_list200response_annotations_item_squiggly_ref.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_ref.rb deleted file mode 100644 index 6716567d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquigglyRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_ref_index.rb deleted file mode 100644 index 7b17a8e0..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_ref_index_revision.rb deleted file mode 100644 index 87268616..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_ref_nm.rb deleted file mode 100644 index 6892d052..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_ref_object_number.rb deleted file mode 100644 index 3a7097c4..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_reply_type.rb deleted file mode 100644 index 49531183..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp.rb deleted file mode 100644 index baf9c281..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp.rb +++ /dev/null @@ -1,53 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStamp < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStampRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStampIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStampFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStampRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStampBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStampReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :name, -> { String }, optional: false, nullable: true - - field :rotation, -> { Integer }, optional: true, nullable: false - - field :unrotated_rect, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect }, optional: true, nullable: false, api_name: "unrotatedRect" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_blend_mode.rb deleted file mode 100644 index 7c9cd08a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemStampBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_flags.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_flags.rb deleted file mode 100644 index e06aeb2c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStampFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_identity_quality.rb deleted file mode 100644 index 087f8618..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemStampIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_in_reply_to.rb deleted file mode 100644 index 168f9d42..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_in_reply_to_index.rb deleted file mode 100644 index 267e2861..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_in_reply_to_index_revision.rb deleted file mode 100644 index 4be42a16..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_in_reply_to_nm.rb deleted file mode 100644 index bb94f98a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_in_reply_to_object_number.rb deleted file mode 100644 index 132c92f3..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_rect.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_rect.rb deleted file mode 100644 index 544aef87..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStampRect < 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_annotations_list200response_annotations_item_stamp_ref.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_ref.rb deleted file mode 100644 index 7f68f4b2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStampRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStampRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStampRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_ref_index.rb deleted file mode 100644 index d639389a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStampRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_ref_index_revision.rb deleted file mode 100644 index 25054e1d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_ref_nm.rb deleted file mode 100644 index 8061d394..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStampRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_ref_object_number.rb deleted file mode 100644 index 5e9fd465..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_reply_type.rb deleted file mode 100644 index 6b461009..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemStampReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_unrotated_rect.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_unrotated_rect.rb deleted file mode 100644 index 7ecea7d2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_unrotated_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect < 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_annotations_list200response_annotations_item_strikeout.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout.rb deleted file mode 100644 index ee479cf6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout.rb +++ /dev/null @@ -1,55 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStrikeout < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :color, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor }, optional: false, nullable: false - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :quad_points, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem] }, optional: false, nullable: false, api_name: "quadPoints" - - field :intent, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutIntent }, optional: false, nullable: true - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_blend_mode.rb deleted file mode 100644 index 2145bcd8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_color.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_color.rb deleted file mode 100644 index 13d289f3..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_flags.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_flags.rb deleted file mode 100644 index 970804af..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_identity_quality.rb deleted file mode 100644 index 774a0747..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_in_reply_to.rb deleted file mode 100644 index 9aff0e13..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_in_reply_to_index.rb deleted file mode 100644 index b27a85f8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_in_reply_to_index_revision.rb deleted file mode 100644 index 83f555e8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_in_reply_to_nm.rb deleted file mode 100644 index 81ef43c9..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_in_reply_to_object_number.rb deleted file mode 100644 index c1911523..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_intent.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_intent.rb deleted file mode 100644 index bdb78364..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_intent.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemStrikeoutIntent - extend CloudPDF::Internal::Types::Enum - - STRIKEOUT_TEXT_EDIT = "strikeout-text-edit" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_quad_points_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_quad_points_item.rb deleted file mode 100644 index 5adb917e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_quad_points_item.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem < Internal::Types::Model - field :p1, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1 }, optional: false, nullable: false - - field :p2, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2 }, optional: false, nullable: false - - field :p3, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3 }, optional: false, nullable: false - - field :p4, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4 }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_quad_points_item_p1.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_quad_points_item_p1.rb deleted file mode 100644 index 38087077..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_quad_points_item_p1.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1 < 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_annotations_list200response_annotations_item_strikeout_quad_points_item_p2.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_quad_points_item_p2.rb deleted file mode 100644 index 221ce118..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_quad_points_item_p2.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2 < 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_annotations_list200response_annotations_item_strikeout_quad_points_item_p3.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_quad_points_item_p3.rb deleted file mode 100644 index abf0f0a4..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_quad_points_item_p3.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3 < 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_annotations_list200response_annotations_item_strikeout_quad_points_item_p4.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_quad_points_item_p4.rb deleted file mode 100644 index d04505f5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_quad_points_item_p4.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4 < 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_annotations_list200response_annotations_item_strikeout_rect.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_rect.rb deleted file mode 100644 index ba66c9e7..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect < 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_annotations_list200response_annotations_item_strikeout_ref.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_ref.rb deleted file mode 100644 index 227eb523..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_ref_index.rb deleted file mode 100644 index 2fafa234..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_ref_index_revision.rb deleted file mode 100644 index 0e2caafb..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_ref_nm.rb deleted file mode 100644 index 6e3a4182..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_ref_object_number.rb deleted file mode 100644 index a37f00d8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_reply_type.rb deleted file mode 100644 index 07f0ad03..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text.rb deleted file mode 100644 index 17f03a02..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text.rb +++ /dev/null @@ -1,57 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemText < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemTextRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemTextIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemTextFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemTextRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemTextBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemTextReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :color, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemTextColor }, optional: false, nullable: false - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :icon, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemTextIcon }, optional: false, nullable: false - - field :state, -> { String }, optional: false, nullable: true - - field :state_model, -> { String }, optional: false, nullable: true, api_name: "stateModel" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_blend_mode.rb deleted file mode 100644 index e4c43df6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemTextBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_color.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_color.rb deleted file mode 100644 index 919af8af..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemTextColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_flags.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_flags.rb deleted file mode 100644 index c820062a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemTextFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_icon.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_icon.rb deleted file mode 100644 index cb443693..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_icon.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemTextIcon - extend CloudPDF::Internal::Types::Enum - - COMMENT = "comment" - KEY = "key" - NOTE = "note" - HELP = "help" - NEW_PARAGRAPH = "new-paragraph" - PARAGRAPH = "paragraph" - INSERT = "insert" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_identity_quality.rb deleted file mode 100644 index ab0ad3e3..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemTextIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_in_reply_to.rb deleted file mode 100644 index e1332e44..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_in_reply_to_index.rb deleted file mode 100644 index 7d47ba23..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_in_reply_to_index_revision.rb deleted file mode 100644 index e3c260b8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_in_reply_to_nm.rb deleted file mode 100644 index 71032303..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_in_reply_to_object_number.rb deleted file mode 100644 index 469f04eb..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_rect.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_rect.rb deleted file mode 100644 index f7282ecf..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemTextRect < 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_annotations_list200response_annotations_item_text_ref.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_ref.rb deleted file mode 100644 index 3af80eb4..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemTextRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemTextRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemTextRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_ref_index.rb deleted file mode 100644 index f7a98982..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemTextRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_ref_index_revision.rb deleted file mode 100644 index 8e3fee77..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_ref_nm.rb deleted file mode 100644 index 8a929767..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemTextRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_ref_object_number.rb deleted file mode 100644 index eb3e8db5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_reply_type.rb deleted file mode 100644 index 8c2a9a3e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_text_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemTextReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline.rb deleted file mode 100644 index 1e22e60d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline.rb +++ /dev/null @@ -1,53 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnderline < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :color, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineColor }, optional: false, nullable: false - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :quad_points, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem] }, optional: false, nullable: false, api_name: "quadPoints" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_blend_mode.rb deleted file mode 100644 index 58c3b113..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_color.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_color.rb deleted file mode 100644 index 37d86e3b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnderlineColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_flags.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_flags.rb deleted file mode 100644 index c34d097e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_identity_quality.rb deleted file mode 100644 index 96dad12f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_in_reply_to.rb deleted file mode 100644 index f023d8cf..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_in_reply_to_index.rb deleted file mode 100644 index aa3164f6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_in_reply_to_index_revision.rb deleted file mode 100644 index abe94a4e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_in_reply_to_nm.rb deleted file mode 100644 index 78f0c2a7..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_in_reply_to_object_number.rb deleted file mode 100644 index 5cdc46b7..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_quad_points_item.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_quad_points_item.rb deleted file mode 100644 index f6a94211..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_quad_points_item.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem < Internal::Types::Model - field :p1, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1 }, optional: false, nullable: false - - field :p2, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2 }, optional: false, nullable: false - - field :p3, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3 }, optional: false, nullable: false - - field :p4, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4 }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_quad_points_item_p1.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_quad_points_item_p1.rb deleted file mode 100644 index 04acc722..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_quad_points_item_p1.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1 < 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_annotations_list200response_annotations_item_underline_quad_points_item_p2.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_quad_points_item_p2.rb deleted file mode 100644 index acef2464..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_quad_points_item_p2.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2 < 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_annotations_list200response_annotations_item_underline_quad_points_item_p3.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_quad_points_item_p3.rb deleted file mode 100644 index 754ce75f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_quad_points_item_p3.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3 < 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_annotations_list200response_annotations_item_underline_quad_points_item_p4.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_quad_points_item_p4.rb deleted file mode 100644 index dc4e097f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_quad_points_item_p4.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4 < 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_annotations_list200response_annotations_item_underline_rect.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_rect.rb deleted file mode 100644 index 7e82fe51..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnderlineRect < 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_annotations_list200response_annotations_item_underline_ref.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_ref.rb deleted file mode 100644 index ba0d099a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnderlineRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_ref_index.rb deleted file mode 100644 index d87973c2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_ref_index_revision.rb deleted file mode 100644 index 4bedafe7..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_ref_nm.rb deleted file mode 100644 index ce155925..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_ref_object_number.rb deleted file mode 100644 index d75b47b3..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_reply_type.rb deleted file mode 100644 index 01d08be2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_underline_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported.rb deleted file mode 100644 index 3064a837..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported.rb +++ /dev/null @@ -1,51 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnsupported < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :raw_subtype_code, -> { Integer }, optional: false, nullable: false, api_name: "rawSubtypeCode" - - field :raw_subtype_name, -> { String }, optional: false, nullable: true, api_name: "rawSubtypeName" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_blend_mode.rb deleted file mode 100644 index cc27fed8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_flags.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_flags.rb deleted file mode 100644 index 2698a699..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_identity_quality.rb deleted file mode 100644 index da74a88e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_in_reply_to.rb deleted file mode 100644 index b4cdecec..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_in_reply_to_index.rb deleted file mode 100644 index d1d7ec31..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_in_reply_to_index_revision.rb deleted file mode 100644 index 7be0f02f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_in_reply_to_nm.rb deleted file mode 100644 index 2bf683b0..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_in_reply_to_object_number.rb deleted file mode 100644 index c5b6968a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_rect.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_rect.rb deleted file mode 100644 index 726334ee..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect < 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_annotations_list200response_annotations_item_unsupported_ref.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_ref.rb deleted file mode 100644 index 76a241a7..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_ref_index.rb deleted file mode 100644 index bf599717..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_ref_index_revision.rb deleted file mode 100644 index 362cfab0..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_ref_nm.rb deleted file mode 100644 index 6e3b03e5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_ref_object_number.rb deleted file mode 100644 index 172e9494..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_reply_type.rb deleted file mode 100644 index 26a28744..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget.rb deleted file mode 100644 index a77bcce2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget.rb +++ /dev/null @@ -1,67 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemWidget < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :color, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetColor }, optional: false, nullable: true - - field :interior_color, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor }, optional: false, nullable: true, api_name: "interiorColor" - - field :stroke_width, -> { Integer }, optional: false, nullable: false, api_name: "strokeWidth" - - field :border_style, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyle }, optional: false, nullable: false, api_name: "borderStyle" - - field :font_family, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily }, optional: true, nullable: false, api_name: "fontFamily" - - field :font_size, -> { Integer }, optional: true, nullable: false, api_name: "fontSize" - - field :font_color, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor }, optional: true, nullable: false, api_name: "fontColor" - - field :text_align, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlign }, optional: false, nullable: false, api_name: "textAlign" - - field :field_object_number, -> { Integer }, optional: false, nullable: false, api_name: "fieldObjectNumber" - - field :field_family, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily }, optional: false, nullable: false, api_name: "fieldFamily" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_blend_mode.rb deleted file mode 100644 index ca9005a4..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_border_style.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_border_style.rb deleted file mode 100644 index b314895c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_border_style.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyle - extend CloudPDF::Internal::Types::Enum - - SOLID = "solid" - DASHED = "dashed" - BEVELED = "beveled" - INSET = "inset" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_color.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_color.rb deleted file mode 100644 index 02d9fdd9..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemWidgetColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_field_family.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_field_family.rb deleted file mode 100644 index aba613d6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_field_family.rb +++ /dev/null @@ -1,18 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily - 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/doc_annotations_list200response_annotations_item_widget_flags.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_flags.rb deleted file mode 100644 index 57f93ab8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemWidgetFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_font_color.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_font_color.rb deleted file mode 100644 index 83ddd091..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_font_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_font_family.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_font_family.rb deleted file mode 100644 index 34cdac23..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_font_family.rb +++ /dev/null @@ -1,24 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily - extend CloudPDF::Internal::Types::Enum - - COURIER = "courier" - COURIER_BOLD = "courier-bold" - COURIER_BOLD_OBLIQUE = "courier-bold-oblique" - COURIER_OBLIQUE = "courier-oblique" - HELVETICA = "helvetica" - HELVETICA_BOLD = "helvetica-bold" - HELVETICA_BOLD_OBLIQUE = "helvetica-bold-oblique" - HELVETICA_OBLIQUE = "helvetica-oblique" - TIMES_ROMAN = "times-roman" - TIMES_BOLD = "times-bold" - TIMES_BOLD_ITALIC = "times-bold-italic" - TIMES_ITALIC = "times-italic" - SYMBOL = "symbol" - ZAPF_DINGBATS = "zapf-dingbats" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_identity_quality.rb deleted file mode 100644 index 70ba4242..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_in_reply_to.rb deleted file mode 100644 index 971dd4dc..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_in_reply_to_index.rb deleted file mode 100644 index e9e7e96b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_in_reply_to_index_revision.rb deleted file mode 100644 index 9425f3af..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_in_reply_to_nm.rb deleted file mode 100644 index e8bf6ea4..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_in_reply_to_object_number.rb deleted file mode 100644 index 21bcf544..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_interior_color.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_interior_color.rb deleted file mode 100644 index b5a05f15..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_interior_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_rect.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_rect.rb deleted file mode 100644 index 9e0d3814..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemWidgetRect < 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_annotations_list200response_annotations_item_widget_ref.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_ref.rb deleted file mode 100644 index 3bd38c1e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemWidgetRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_ref_index.rb deleted file mode 100644 index f0b964ed..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_ref_index_revision.rb deleted file mode 100644 index 6a1df1c5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_ref_nm.rb deleted file mode 100644 index 66576436..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_ref_object_number.rb deleted file mode 100644 index 7831f914..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_reply_type.rb deleted file mode 100644 index 67c67042..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemWidgetReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_text_align.rb b/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_text_align.rb deleted file mode 100644 index fdfdf664..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_annotations_item_widget_text_align.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlign - extend CloudPDF::Internal::Types::Enum - - LEFT = "left" - CENTER = "center" - RIGHT = "right" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_page_state.rb b/lib/CloudPDF/types/doc_annotations_list200response_page_state.rb deleted file mode 100644 index 9ffbfcb9..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_page_state.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponsePageState < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :revision, -> { CloudPDF::Types::DocAnnotationsList200ResponsePageStateRevision }, optional: false, nullable: false - - field :weak_annotation_state, -> { CloudPDF::Types::DocAnnotationsList200ResponsePageStateWeakAnnotationState }, optional: false, nullable: false, api_name: "weakAnnotationState" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_page_state_revision.rb b/lib/CloudPDF/types/doc_annotations_list200response_page_state_revision.rb deleted file mode 100644 index e856dedf..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_page_state_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponsePageStateRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_page_state_weak_annotation_state.rb b/lib/CloudPDF/types/doc_annotations_list200response_page_state_weak_annotation_state.rb deleted file mode 100644 index 8c42ad80..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_page_state_weak_annotation_state.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponsePageStateWeakAnnotationState < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown }, key: "UNKNOWN" - - member -> { CloudPDF::Types::DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown }, key: "KNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_page_state_weak_annotation_state_known.rb b/lib/CloudPDF/types/doc_annotations_list200response_page_state_weak_annotation_state_known.rb deleted file mode 100644 index b403ff24..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_page_state_weak_annotation_state_known.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown < Internal::Types::Model - field :has_any_weak_annotations, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAnyWeakAnnotations" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list200response_page_state_weak_annotation_state_unknown.rb b/lib/CloudPDF/types/doc_annotations_list200response_page_state_weak_annotation_state_unknown.rb deleted file mode 100644 index 45863406..00000000 --- a/lib/CloudPDF/types/doc_annotations_list200response_page_state_weak_annotation_state_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list404response.rb b/lib/CloudPDF/types/doc_annotations_list404response.rb index 44c49d17..fba1ba6f 100644 --- a/lib/CloudPDF/types/doc_annotations_list404response.rb +++ b/lib/CloudPDF/types/doc_annotations_list404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocAnnotationsList404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocAnnotationsList404ResponseName }, optional: false, nullable: false + module DocAnnotationsList404Response + # DocAnnotationsList404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocAnnotationsList404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_code.rb b/lib/CloudPDF/types/doc_annotations_list404response_code.rb deleted file mode 100644 index c80d63a2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list404response_name.rb b/lib/CloudPDF/types/doc_annotations_list404response_name.rb deleted file mode 100644 index 49063f2a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsList404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response.rb b/lib/CloudPDF/types/doc_annotations_list_all200response.rb index d742ef45..425126f6 100644 --- a/lib/CloudPDF/types/doc_annotations_list_all200response.rb +++ b/lib/CloudPDF/types/doc_annotations_list_all200response.rb @@ -2,10 +2,22 @@ module CloudPDF module Types - class DocAnnotationsListAll200Response < Internal::Types::Model - field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItem] }, optional: false, nullable: false + module DocAnnotationsListAll200Response + # DocAnnotationsListAll200Response is an alias for AnnotationList - field :audit_head, -> { Integer }, optional: true, nullable: false, api_name: "auditHead" + # @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_pages_item.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item.rb deleted file mode 100644 index e6df6779..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItem < Internal::Types::Model - field :page_state, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemPageState }, optional: false, nullable: false, api_name: "pageState" - - field :annotations, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item.rb deleted file mode 100644 index 51fea5b1..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item.rb +++ /dev/null @@ -1,49 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItem < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :subtype - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight }, key: "HIGHLIGHT" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline }, key: "UNDERLINE" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly }, key: "SQUIGGLY" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout }, key: "STRIKEOUT" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle }, key: "CIRCLE" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare }, key: "SQUARE" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon }, key: "POLYGON" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline }, key: "POLYLINE" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine }, key: "LINE" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink }, key: "LINK" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk }, key: "INK" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText }, key: "FREE_TEXT" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret }, key: "CARET" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText }, key: "TEXT" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp }, key: "STAMP" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment }, key: "FILE_ATTACHMENT" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget }, key: "WIDGET" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact }, key: "REDACT" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret.rb deleted file mode 100644 index da7575ac..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret.rb +++ /dev/null @@ -1,59 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :color, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor }, optional: false, nullable: false - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :intent, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIntent }, optional: false, nullable: true - - field :rect_differences, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences }, optional: false, nullable: true, api_name: "rectDifferences" - - field :rotation, -> { Integer }, optional: true, nullable: false - - field :unrotated_rect, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect }, optional: true, nullable: false, api_name: "unrotatedRect" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_blend_mode.rb deleted file mode 100644 index e78d97ef..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_color.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_color.rb deleted file mode 100644 index e3a2b2c4..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_flags.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_flags.rb deleted file mode 100644 index 730aa4cb..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_identity_quality.rb deleted file mode 100644 index 00085fb5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_in_reply_to.rb deleted file mode 100644 index 4c61524a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_in_reply_to_index.rb deleted file mode 100644 index a6497c79..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_in_reply_to_index_revision.rb deleted file mode 100644 index 0e2c42a2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_in_reply_to_nm.rb deleted file mode 100644 index be471d05..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_in_reply_to_object_number.rb deleted file mode 100644 index f138c2db..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_intent.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_intent.rb deleted file mode 100644 index 1ee7183f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_intent.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIntent - extend CloudPDF::Internal::Types::Enum - - REPLACE = "replace" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_rect.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_rect.rb deleted file mode 100644 index 4c5dd13f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect < 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_annotations_list_all200response_pages_item_annotations_item_caret_rect_differences.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_rect_differences.rb deleted file mode 100644 index 551b96a0..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_rect_differences.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences < Internal::Types::Model - field :left, -> { Integer }, optional: false, nullable: false - - field :top, -> { Integer }, optional: false, nullable: false - - field :right, -> { Integer }, optional: false, nullable: false - - field :bottom, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_ref.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_ref.rb deleted file mode 100644 index e4198eb5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_ref_index.rb deleted file mode 100644 index acfa01f9..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_ref_index_revision.rb deleted file mode 100644 index c6459135..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_ref_nm.rb deleted file mode 100644 index 6e50feef..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_ref_object_number.rb deleted file mode 100644 index f961eecd..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_reply_type.rb deleted file mode 100644 index aa7b191f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_unrotated_rect.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_unrotated_rect.rb deleted file mode 100644 index 1b61843c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_unrotated_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect < 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_annotations_list_all200response_pages_item_annotations_item_circle.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle.rb deleted file mode 100644 index ca39ea2b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle.rb +++ /dev/null @@ -1,67 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :color, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor }, optional: false, nullable: false - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :stroke_width, -> { Integer }, optional: false, nullable: false, api_name: "strokeWidth" - - field :border_style, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyle }, optional: false, nullable: false, api_name: "borderStyle" - - field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" - - field :interior_color, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor }, optional: false, nullable: true, api_name: "interiorColor" - - field :cloudy_intensity, -> { Integer }, optional: false, nullable: true, api_name: "cloudyIntensity" - - field :rect_differences, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences }, optional: false, nullable: true, api_name: "rectDifferences" - - field :rotation, -> { Integer }, optional: true, nullable: false - - field :unrotated_rect, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect }, optional: true, nullable: false, api_name: "unrotatedRect" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_blend_mode.rb deleted file mode 100644 index 5f17d1b5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_border_style.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_border_style.rb deleted file mode 100644 index 574ddd0d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_border_style.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyle - extend CloudPDF::Internal::Types::Enum - - SOLID = "solid" - DASHED = "dashed" - BEVELED = "beveled" - INSET = "inset" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_color.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_color.rb deleted file mode 100644 index 427fa549..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_flags.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_flags.rb deleted file mode 100644 index 38bf8397..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_identity_quality.rb deleted file mode 100644 index b7c744ce..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_in_reply_to.rb deleted file mode 100644 index be3bedf6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_in_reply_to_index.rb deleted file mode 100644 index cafe2306..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_in_reply_to_index_revision.rb deleted file mode 100644 index 0ee8a11c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_in_reply_to_nm.rb deleted file mode 100644 index 341f5a00..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_in_reply_to_object_number.rb deleted file mode 100644 index 10131051..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_interior_color.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_interior_color.rb deleted file mode 100644 index 66b3d689..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_interior_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_rect.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_rect.rb deleted file mode 100644 index c868ccbb..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect < 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_annotations_list_all200response_pages_item_annotations_item_circle_rect_differences.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_rect_differences.rb deleted file mode 100644 index bc40cbbf..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_rect_differences.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences < Internal::Types::Model - field :left, -> { Integer }, optional: false, nullable: false - - field :top, -> { Integer }, optional: false, nullable: false - - field :right, -> { Integer }, optional: false, nullable: false - - field :bottom, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_ref.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_ref.rb deleted file mode 100644 index e51845b7..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_ref_index.rb deleted file mode 100644 index 067e8755..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_ref_index_revision.rb deleted file mode 100644 index 76e1d4cb..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_ref_nm.rb deleted file mode 100644 index 103b672e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_ref_object_number.rb deleted file mode 100644 index b5fc49ba..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_reply_type.rb deleted file mode 100644 index c21502ce..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_unrotated_rect.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_unrotated_rect.rb deleted file mode 100644 index cb6a50ca..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_unrotated_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect < 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_annotations_list_all200response_pages_item_annotations_item_file_attachment.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment.rb deleted file mode 100644 index cd5e979a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment.rb +++ /dev/null @@ -1,55 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :color, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor }, optional: false, nullable: false - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :icon, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIcon }, optional: false, nullable: false - - field :file, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_blend_mode.rb deleted file mode 100644 index 77b3528a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_color.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_color.rb deleted file mode 100644 index 2bf1eef6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_file.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_file.rb deleted file mode 100644 index 7ac17359..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_file.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile < Internal::Types::Model - field :name, -> { String }, optional: false, nullable: false - - field :mime_type, -> { String }, optional: true, nullable: false, api_name: "mimeType" - - field :description, -> { String }, optional: true, nullable: false - - field :size, -> { Integer }, optional: true, nullable: false - - field :checksum, -> { String }, optional: true, nullable: false - - field :creation_date, -> { String }, optional: true, nullable: false, api_name: "creationDate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_flags.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_flags.rb deleted file mode 100644 index 8cc02a4f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_icon.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_icon.rb deleted file mode 100644 index 11450d72..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_icon.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIcon - extend CloudPDF::Internal::Types::Enum - - PUSH_PIN = "push-pin" - PAPERCLIP = "paperclip" - GRAPH = "graph" - TAG = "tag" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_identity_quality.rb deleted file mode 100644 index 000302bc..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_in_reply_t_795f07.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_in_reply_t_795f07.rb deleted file mode 100644 index 6d2f19e2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_in_reply_t_795f07.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_in_reply_t_8c8dea.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_in_reply_t_8c8dea.rb deleted file mode 100644 index af58d989..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_in_reply_t_8c8dea.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_in_reply_to.rb deleted file mode 100644 index 28c4b70f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_in_reply_to_index.rb deleted file mode 100644 index c9d934a4..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_in_reply_to_nm.rb deleted file mode 100644 index b999ea02..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_rect.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_rect.rb deleted file mode 100644 index 11145d4a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect < 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_annotations_list_all200response_pages_item_annotations_item_file_attachment_ref.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_ref.rb deleted file mode 100644 index 6afe1e84..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_ref_index.rb deleted file mode 100644 index 4d614574..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_ref_index_2af29e.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_ref_index_2af29e.rb deleted file mode 100644 index b79172b2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_ref_index_2af29e.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_ref_nm.rb deleted file mode 100644 index afcd312b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_ref_object_number.rb deleted file mode 100644 index 3bafe4c6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_reply_type.rb deleted file mode 100644 index e114408f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text.rb deleted file mode 100644 index ddf6ddd0..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text.rb +++ /dev/null @@ -1,81 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :intent, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntent }, optional: false, nullable: false - - field :font_family, -> { String }, optional: false, nullable: false, api_name: "fontFamily" - - field :font_size, -> { Integer }, optional: false, nullable: false, api_name: "fontSize" - - field :text_align, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlign }, optional: false, nullable: false, api_name: "textAlign" - - field :rich_text, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichText }, optional: false, nullable: false, api_name: "richText" - - field :color, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor }, optional: false, nullable: false - - field :font_color, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor }, optional: true, nullable: false, api_name: "fontColor" - - field :interior_color, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor }, optional: false, nullable: true, api_name: "interiorColor" - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :stroke_width, -> { Integer }, optional: false, nullable: false, api_name: "strokeWidth" - - field :border_style, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyle }, optional: false, nullable: false, api_name: "borderStyle" - - field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" - - field :rect_differences, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences }, optional: false, nullable: true, api_name: "rectDifferences" - - field :callout_line, -> { Internal::Types::Array[Object] }, optional: true, nullable: false, api_name: "calloutLine" - - field :line_ending, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding }, optional: true, nullable: false, api_name: "lineEnding" - - field :rotation, -> { Integer }, optional: true, nullable: false - - field :unrotated_rect, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect }, optional: true, nullable: false, api_name: "unrotatedRect" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_blend_mode.rb deleted file mode 100644 index 2b3b9132..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_border_style.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_border_style.rb deleted file mode 100644 index 981eb8b7..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_border_style.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyle - extend CloudPDF::Internal::Types::Enum - - SOLID = "solid" - DASHED = "dashed" - BEVELED = "beveled" - INSET = "inset" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_color.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_color.rb deleted file mode 100644 index ba77c9c2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_flags.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_flags.rb deleted file mode 100644 index 1b4e5a8f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_font_color.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_font_color.rb deleted file mode 100644 index 39af6418..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_font_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_identity_quality.rb deleted file mode 100644 index 2c999977..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_in_reply_to.rb deleted file mode 100644 index d074dc12..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_in_reply_to_inde_5219ca.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_in_reply_to_inde_5219ca.rb deleted file mode 100644 index 278453db..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_in_reply_to_inde_5219ca.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_in_reply_to_index.rb deleted file mode 100644 index 7831bc64..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_in_reply_to_nm.rb deleted file mode 100644 index 20f4b686..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_in_reply_to_obje_88252a.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_in_reply_to_obje_88252a.rb deleted file mode 100644 index ae1f0a0a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_in_reply_to_obje_88252a.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_intent.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_intent.rb deleted file mode 100644 index c2234253..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_intent.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntent - extend CloudPDF::Internal::Types::Enum - - FREE_TEXT = "free-text" - FREE_TEXT_CALLOUT = "free-text-callout" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_interior_color.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_interior_color.rb deleted file mode 100644 index 904cc3c2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_interior_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_line_ending.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_line_ending.rb deleted file mode 100644 index 9cd0331e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_line_ending.rb +++ /dev/null @@ -1,20 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding - extend CloudPDF::Internal::Types::Enum - - NONE = "none" - SQUARE = "square" - CIRCLE = "circle" - DIAMOND = "diamond" - OPEN_ARROW = "open-arrow" - CLOSED_ARROW = "closed-arrow" - BUTT = "butt" - R_OPEN_ARROW = "r-open-arrow" - R_CLOSED_ARROW = "r-closed-arrow" - SLASH = "slash" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rect.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rect.rb deleted file mode 100644 index ddeacfee..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect < 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_annotations_list_all200response_pages_item_annotations_item_free_text_rect_differences.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rect_differences.rb deleted file mode 100644 index e9142253..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rect_differences.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences < Internal::Types::Model - field :left, -> { Integer }, optional: false, nullable: false - - field :top, -> { Integer }, optional: false, nullable: false - - field :right, -> { Integer }, optional: false, nullable: false - - field :bottom, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_ref.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_ref.rb deleted file mode 100644 index c8d5959c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_ref_index.rb deleted file mode 100644 index 556b45a3..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_ref_index_revision.rb deleted file mode 100644 index da1752da..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_ref_nm.rb deleted file mode 100644 index 90af6e9b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_ref_object_number.rb deleted file mode 100644 index 76dcf3f8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_reply_type.rb deleted file mode 100644 index 62e309df..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text.rb deleted file mode 100644 index 094bc153..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichText < Internal::Types::Model - field :body, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichTextBody }, optional: false, nullable: false - - field :paragraphs, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichTextParagraphsItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_body.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_body.rb deleted file mode 100644 index 7181f5da..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_body.rb +++ /dev/null @@ -1,37 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichTextBody < Internal::Types::Model - field :family, -> { String }, optional: false, nullable: false - - field :weight, -> { Integer }, optional: false, nullable: false - - field :italic, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :size, -> { Integer }, optional: false, nullable: false - - field :color, -> { String }, optional: false, nullable: false - - field :decoration, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichTextBodyDecorationItem] }, optional: false, nullable: false - - field :script, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichTextBodyScript }, optional: false, nullable: false - - field :letter_spacing, -> { Integer }, optional: false, nullable: false, api_name: "letterSpacing" - - field :horizontal_scale, -> { Integer }, optional: false, nullable: false, api_name: "horizontalScale" - - field :unknown, -> { String }, optional: true, nullable: false - - field :align, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichTextBodyAlign }, optional: false, nullable: false - - field :dir, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichTextBodyDir }, optional: false, nullable: false - - field :line_height, -> { Integer }, optional: true, nullable: false, api_name: "lineHeight" - - field :margins, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichTextBodyMargins }, optional: true, nullable: false - - field :text_indent, -> { Integer }, optional: true, nullable: false, api_name: "textIndent" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_body_align.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_body_align.rb deleted file mode 100644 index 3963d8bc..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_body_align.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichTextBodyAlign - extend CloudPDF::Internal::Types::Enum - - LEFT = "left" - CENTER = "center" - RIGHT = "right" - JUSTIFY = "justify" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_body_d_27cc8f.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_body_d_27cc8f.rb deleted file mode 100644 index b53f94c0..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_body_d_27cc8f.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichTextBodyDecorationItem - extend CloudPDF::Internal::Types::Enum - - UNDERLINE = "underline" - LINE_THROUGH = "line-through" - WORD = "word" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_body_dir.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_body_dir.rb deleted file mode 100644 index 202ad86e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_body_dir.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichTextBodyDir - extend CloudPDF::Internal::Types::Enum - - LTR = "ltr" - RTL = "rtl" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_body_margins.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_body_margins.rb deleted file mode 100644 index 360c86ef..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_body_margins.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichTextBodyMargins < Internal::Types::Model - field :top, -> { Integer }, optional: false, nullable: false - - field :bottom, -> { Integer }, optional: false, nullable: false - - field :left, -> { Integer }, optional: false, nullable: false - - field :right, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_body_script.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_body_script.rb deleted file mode 100644 index 68fb5d54..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_body_script.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichTextBodyScript - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - SUB = "sub" - SUPER = "super" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_182642.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_182642.rb deleted file mode 100644 index 94a825c5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_182642.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichTextParagraphsItemRunsItemStyleDecorationItem - extend CloudPDF::Internal::Types::Enum - - UNDERLINE = "underline" - LINE_THROUGH = "line-through" - WORD = "word" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_1e6df8.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_1e6df8.rb deleted file mode 100644 index 04056ded..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_1e6df8.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichTextParagraphsItemRunsItemStyle < Internal::Types::Model - field :family, -> { String }, optional: true, nullable: false - - field :weight, -> { Integer }, optional: true, nullable: false - - field :italic, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :size, -> { Integer }, optional: true, nullable: false - - field :color, -> { String }, optional: true, nullable: false - - field :decoration, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichTextParagraphsItemRunsItemStyleDecorationItem] }, optional: true, nullable: false - - field :script, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichTextParagraphsItemRunsItemStyleScript }, optional: true, nullable: false - - field :letter_spacing, -> { Integer }, optional: true, nullable: false, api_name: "letterSpacing" - - field :horizontal_scale, -> { Integer }, optional: true, nullable: false, api_name: "horizontalScale" - - field :unknown, -> { String }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_2ecf2a.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_2ecf2a.rb deleted file mode 100644 index 6ed2ca37..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_2ecf2a.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichTextParagraphsItemDir - extend CloudPDF::Internal::Types::Enum - - LTR = "ltr" - RTL = "rtl" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_84e1e5.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_84e1e5.rb deleted file mode 100644 index b7687ef3..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_84e1e5.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichTextParagraphsItemRunsItemStyleScript - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - SUB = "sub" - SUPER = "super" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_99744f.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_99744f.rb deleted file mode 100644 index 82a4dc55..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_99744f.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichTextParagraphsItemRunsItem < Internal::Types::Model - field :text, -> { String }, optional: false, nullable: false - - field :style, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichTextParagraphsItemRunsItemStyle }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_aa2697.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_aa2697.rb deleted file mode 100644 index 887ec0ad..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_aa2697.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichTextParagraphsItemMargins < Internal::Types::Model - field :top, -> { Integer }, optional: false, nullable: false - - field :bottom, -> { Integer }, optional: false, nullable: false - - field :left, -> { Integer }, optional: false, nullable: false - - field :right, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_d0e05b.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_d0e05b.rb deleted file mode 100644 index 3d30f704..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_d0e05b.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichTextParagraphsItemAlign - extend CloudPDF::Internal::Types::Enum - - LEFT = "left" - CENTER = "center" - RIGHT = "right" - JUSTIFY = "justify" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_e928ea.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_e928ea.rb deleted file mode 100644 index 24646db5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_e928ea.rb +++ /dev/null @@ -1,21 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichTextParagraphsItem < Internal::Types::Model - field :align, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichTextParagraphsItemAlign }, optional: true, nullable: false - - field :dir, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichTextParagraphsItemDir }, optional: true, nullable: false - - field :line_height, -> { Integer }, optional: true, nullable: false, api_name: "lineHeight" - - field :margins, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichTextParagraphsItemMargins }, optional: true, nullable: false - - field :text_indent, -> { Integer }, optional: true, nullable: false, api_name: "textIndent" - - field :unknown, -> { String }, optional: true, nullable: false - - field :runs, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRichTextParagraphsItemRunsItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_text_align.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_text_align.rb deleted file mode 100644 index cf91e790..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_text_align.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlign - extend CloudPDF::Internal::Types::Enum - - LEFT = "left" - CENTER = "center" - RIGHT = "right" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_unrotated_rect.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_unrotated_rect.rb deleted file mode 100644 index c9392143..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_unrotated_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect < 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_annotations_list_all200response_pages_item_annotations_item_highlight.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight.rb deleted file mode 100644 index 087c8d15..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight.rb +++ /dev/null @@ -1,53 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :color, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor }, optional: false, nullable: false - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :quad_points, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem] }, optional: false, nullable: false, api_name: "quadPoints" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_blend_mode.rb deleted file mode 100644 index 84007f5f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_color.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_color.rb deleted file mode 100644 index ded33489..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_flags.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_flags.rb deleted file mode 100644 index 8eee5216..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_identity_quality.rb deleted file mode 100644 index d7a1023f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_in_reply_to.rb deleted file mode 100644 index 20da5eaa..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_in_reply_to_inde_efa0a1.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_in_reply_to_inde_efa0a1.rb deleted file mode 100644 index 98ce2e5b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_in_reply_to_inde_efa0a1.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_in_reply_to_index.rb deleted file mode 100644 index caff4c98..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_in_reply_to_nm.rb deleted file mode 100644 index 8051e5cf..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_in_reply_to_obje_f048d6.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_in_reply_to_obje_f048d6.rb deleted file mode 100644 index 75ed6b3b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_in_reply_to_obje_f048d6.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_quad_points_item.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_quad_points_item.rb deleted file mode 100644 index 695724ba..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_quad_points_item.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem < Internal::Types::Model - field :p1, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1 }, optional: false, nullable: false - - field :p2, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2 }, optional: false, nullable: false - - field :p3, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3 }, optional: false, nullable: false - - field :p4, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4 }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_quad_points_item_p1.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_quad_points_item_p1.rb deleted file mode 100644 index 5d30bd64..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_quad_points_item_p1.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1 < 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_annotations_list_all200response_pages_item_annotations_item_highlight_quad_points_item_p2.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_quad_points_item_p2.rb deleted file mode 100644 index 0e4e928e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_quad_points_item_p2.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2 < 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_annotations_list_all200response_pages_item_annotations_item_highlight_quad_points_item_p3.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_quad_points_item_p3.rb deleted file mode 100644 index bb111ef1..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_quad_points_item_p3.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3 < 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_annotations_list_all200response_pages_item_annotations_item_highlight_quad_points_item_p4.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_quad_points_item_p4.rb deleted file mode 100644 index f58e771c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_quad_points_item_p4.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4 < 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_annotations_list_all200response_pages_item_annotations_item_highlight_rect.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_rect.rb deleted file mode 100644 index 78ae3a3a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect < 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_annotations_list_all200response_pages_item_annotations_item_highlight_ref.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_ref.rb deleted file mode 100644 index 0d1f4911..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_ref_index.rb deleted file mode 100644 index 740e3c53..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_ref_index_revision.rb deleted file mode 100644 index dd0af6e8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_ref_nm.rb deleted file mode 100644 index 0ed5688f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_ref_object_number.rb deleted file mode 100644 index 4b1db23b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_reply_type.rb deleted file mode 100644 index 7896a9f4..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink.rb deleted file mode 100644 index bae92183..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink.rb +++ /dev/null @@ -1,63 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :color, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor }, optional: false, nullable: false - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :stroke_width, -> { Integer }, optional: false, nullable: false, api_name: "strokeWidth" - - field :border_style, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyle }, optional: false, nullable: false, api_name: "borderStyle" - - field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" - - field :intent, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIntent }, optional: false, nullable: true - - field :ink_list, -> { Internal::Types::Array[Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem]] }, optional: false, nullable: false, api_name: "inkList" - - field :rotation, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_blend_mode.rb deleted file mode 100644 index 4c91f26b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_border_style.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_border_style.rb deleted file mode 100644 index 4ba9edd5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_border_style.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyle - extend CloudPDF::Internal::Types::Enum - - SOLID = "solid" - DASHED = "dashed" - BEVELED = "beveled" - INSET = "inset" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_color.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_color.rb deleted file mode 100644 index 8fa7947d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_flags.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_flags.rb deleted file mode 100644 index 257c42c1..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_identity_quality.rb deleted file mode 100644 index ef0e9ca3..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_in_reply_to.rb deleted file mode 100644 index c556d006..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_in_reply_to_index.rb deleted file mode 100644 index 4d40cca4..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_in_reply_to_index_revision.rb deleted file mode 100644 index 408da980..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_in_reply_to_nm.rb deleted file mode 100644 index 07b0d05c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_in_reply_to_object_number.rb deleted file mode 100644 index 9ab9e618..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_ink_list_item_item.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_ink_list_item_item.rb deleted file mode 100644 index 40e21467..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_ink_list_item_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem < 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_annotations_list_all200response_pages_item_annotations_item_ink_intent.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_intent.rb deleted file mode 100644 index 4964a4b9..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_intent.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIntent - extend CloudPDF::Internal::Types::Enum - - INK_HIGHLIGHT = "ink-highlight" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_rect.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_rect.rb deleted file mode 100644 index 0fa4580a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect < 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_annotations_list_all200response_pages_item_annotations_item_ink_ref.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_ref.rb deleted file mode 100644 index 895400bc..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_ref_index.rb deleted file mode 100644 index 80ec35a2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_ref_index_revision.rb deleted file mode 100644 index b49ca41a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_ref_nm.rb deleted file mode 100644 index dbd46b4d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_ref_object_number.rb deleted file mode 100644 index 38462b44..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_reply_type.rb deleted file mode 100644 index 0c4f2057..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line.rb deleted file mode 100644 index 69908e51..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line.rb +++ /dev/null @@ -1,73 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine < Internal::Types::Model - field :intent, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIntent }, optional: true, nullable: false - - field :measure, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasure }, optional: true, nullable: false - - field :caption, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineCaption }, optional: true, nullable: false - - field :leader, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLeader }, optional: true, nullable: false - - field :ref, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :color, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor }, optional: false, nullable: false - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :stroke_width, -> { Integer }, optional: false, nullable: false, api_name: "strokeWidth" - - field :border_style, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyle }, optional: false, nullable: false, api_name: "borderStyle" - - field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" - - field :interior_color, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor }, optional: false, nullable: true, api_name: "interiorColor" - - field :line_points, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints }, optional: false, nullable: false, api_name: "linePoints" - - field :line_endings, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings }, optional: false, nullable: false, api_name: "lineEndings" - - field :rotation, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_blend_mode.rb deleted file mode 100644 index 503bc7d8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_border_style.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_border_style.rb deleted file mode 100644 index 256919a3..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_border_style.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyle - extend CloudPDF::Internal::Types::Enum - - SOLID = "solid" - DASHED = "dashed" - BEVELED = "beveled" - INSET = "inset" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_caption.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_caption.rb deleted file mode 100644 index 262ada3b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_caption.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineCaption < Internal::Types::Model - field :enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :position, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineCaptionPosition }, optional: true, nullable: false - - field :offset, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineCaptionOffset }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_caption_offset.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_caption_offset.rb deleted file mode 100644 index 0ba591ed..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_caption_offset.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineCaptionOffset < Internal::Types::Model - field :along, -> { Integer }, optional: false, nullable: false - - field :perpendicular, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_caption_position.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_caption_position.rb deleted file mode 100644 index 938e0da5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_caption_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineCaptionPosition - extend CloudPDF::Internal::Types::Enum - - INLINE = "inline" - TOP = "top" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_color.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_color.rb deleted file mode 100644 index 59068e6f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_flags.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_flags.rb deleted file mode 100644 index 63ae6d69..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_identity_quality.rb deleted file mode 100644 index 61aa8728..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_in_reply_to.rb deleted file mode 100644 index 15bc20a1..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_in_reply_to_index.rb deleted file mode 100644 index 6cc03316..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_in_reply_to_index_revision.rb deleted file mode 100644 index c1e872ba..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_in_reply_to_nm.rb deleted file mode 100644 index 4c42627d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_in_reply_to_object_number.rb deleted file mode 100644 index b0516798..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_intent.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_intent.rb deleted file mode 100644 index c279b038..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_intent.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIntent - extend CloudPDF::Internal::Types::Enum - - LINE_ARROW = "LineArrow" - LINE_DIMENSION = "LineDimension" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_interior_color.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_interior_color.rb deleted file mode 100644 index 5a97ba3b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_interior_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_leader.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_leader.rb deleted file mode 100644 index 16ed069d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_leader.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLeader < Internal::Types::Model - field :length, -> { Integer }, optional: false, nullable: false - - field :extension, -> { Integer }, optional: true, nullable: false - - field :offset, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_line_endings.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_line_endings.rb deleted file mode 100644 index e7eaa4cb..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_line_endings.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings < Internal::Types::Model - field :start, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart }, optional: false, nullable: false - - field :end_, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd }, optional: false, nullable: false, api_name: "end" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_line_endings_end.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_line_endings_end.rb deleted file mode 100644 index 914bdc9f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_line_endings_end.rb +++ /dev/null @@ -1,20 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd - extend CloudPDF::Internal::Types::Enum - - NONE = "none" - SQUARE = "square" - CIRCLE = "circle" - DIAMOND = "diamond" - OPEN_ARROW = "open-arrow" - CLOSED_ARROW = "closed-arrow" - BUTT = "butt" - R_OPEN_ARROW = "r-open-arrow" - R_CLOSED_ARROW = "r-closed-arrow" - SLASH = "slash" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_line_endings_start.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_line_endings_start.rb deleted file mode 100644 index 22f5ee0d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_line_endings_start.rb +++ /dev/null @@ -1,20 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart - extend CloudPDF::Internal::Types::Enum - - NONE = "none" - SQUARE = "square" - CIRCLE = "circle" - DIAMOND = "diamond" - OPEN_ARROW = "open-arrow" - CLOSED_ARROW = "closed-arrow" - BUTT = "butt" - R_OPEN_ARROW = "r-open-arrow" - R_CLOSED_ARROW = "r-closed-arrow" - SLASH = "slash" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_line_points.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_line_points.rb deleted file mode 100644 index bdb38a23..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_line_points.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints < Internal::Types::Model - field :start, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart }, optional: false, nullable: false - - field :end_, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd }, optional: false, nullable: false, api_name: "end" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_line_points_end.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_line_points_end.rb deleted file mode 100644 index a92000e4..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_line_points_end.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd < 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_annotations_list_all200response_pages_item_annotations_item_line_line_points_start.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_line_points_start.rb deleted file mode 100644 index ad43735b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_line_points_start.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart < 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_annotations_list_all200response_pages_item_annotations_item_line_measure.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure.rb deleted file mode 100644 index b98025cf..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasure < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :subtype - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRl }, key: "RL" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureGeo }, key: "GEO" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureUnknown }, key: "UNKNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_geo.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_geo.rb deleted file mode 100644 index 77a1b8ac..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_geo.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureGeo < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl.rb deleted file mode 100644 index e86fa6c9..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl.rb +++ /dev/null @@ -1,25 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRl < Internal::Types::Model - field :ratio, -> { String }, optional: true, nullable: false - - field :x, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlXItem] }, optional: false, nullable: false - - field :y, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlYItem] }, optional: true, nullable: false - - field :distance, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlDistanceItem] }, optional: false, nullable: false - - field :area, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlAreaItem] }, optional: false, nullable: false - - field :angle, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlAngleItem] }, optional: true, nullable: false - - field :slope, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlSlopeItem] }, optional: true, nullable: false - - field :origin, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlOrigin }, optional: true, nullable: false - - field :cyx, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_angle_item.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_angle_item.rb deleted file mode 100644 index 3b0f62bd..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_angle_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlAngleItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlAngleItemFraction }, 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::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlAngleItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_angle_item_3a6bbb.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_angle_item_3a6bbb.rb deleted file mode 100644 index a879ebbb..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_angle_item_3a6bbb.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlAngleItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_angle_item_653de0.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_angle_item_653de0.rb deleted file mode 100644 index cadc3e38..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_angle_item_653de0.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlAngleItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_area_item.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_area_item.rb deleted file mode 100644 index d06c3477..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_area_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlAreaItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlAreaItemFraction }, 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::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlAreaItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_area_item_2c46b5.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_area_item_2c46b5.rb deleted file mode 100644 index b7059855..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_area_item_2c46b5.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlAreaItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_area_item_b687a2.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_area_item_b687a2.rb deleted file mode 100644 index a81d91ba..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_area_item_b687a2.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlAreaItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_distance_i_580373.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_distance_i_580373.rb deleted file mode 100644 index 8917277c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_distance_i_580373.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlDistanceItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_distance_i_c9b4fc.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_distance_i_c9b4fc.rb deleted file mode 100644 index 70e7bafa..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_distance_i_c9b4fc.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlDistanceItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_distance_item.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_distance_item.rb deleted file mode 100644 index 7360e331..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_distance_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlDistanceItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlDistanceItemFraction }, 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::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlDistanceItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_origin.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_origin.rb deleted file mode 100644 index 82dceb3e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_origin.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlOrigin < 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_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_slope_item.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_slope_item.rb deleted file mode 100644 index 635d1122..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_slope_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlSlopeItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlSlopeItemFraction }, 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::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlSlopeItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_slope_item_bad341.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_slope_item_bad341.rb deleted file mode 100644 index a37eb7e5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_slope_item_bad341.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlSlopeItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_slope_item_c2b452.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_slope_item_c2b452.rb deleted file mode 100644 index c66b536d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_slope_item_c2b452.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlSlopeItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_x_item.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_x_item.rb deleted file mode 100644 index 2a871aad..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_x_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlXItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlXItemFraction }, 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::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlXItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_x_item_fraction.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_x_item_fraction.rb deleted file mode 100644 index 113e0922..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_x_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlXItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_x_item_lab_dc7fb0.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_x_item_lab_dc7fb0.rb deleted file mode 100644 index e5617830..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_x_item_lab_dc7fb0.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlXItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_y_item.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_y_item.rb deleted file mode 100644 index 0951d0b3..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_y_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlYItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlYItemFraction }, 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::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlYItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_y_item_fraction.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_y_item_fraction.rb deleted file mode 100644 index 12dc1eb8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_y_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlYItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_y_item_lab_da4937.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_y_item_lab_da4937.rb deleted file mode 100644 index cd18de99..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_y_item_lab_da4937.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureRlYItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_unknown.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_unknown.rb deleted file mode 100644 index d4fe1dc4..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasureUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_rect.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_rect.rb deleted file mode 100644 index 7858881c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect < 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_annotations_list_all200response_pages_item_annotations_item_line_ref.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_ref.rb deleted file mode 100644 index 4d800cf9..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_ref_index.rb deleted file mode 100644 index 07b26df6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_ref_index_revision.rb deleted file mode 100644 index 0d187da8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_ref_nm.rb deleted file mode 100644 index c3655b02..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_ref_object_number.rb deleted file mode 100644 index 74ec5b47..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_reply_type.rb deleted file mode 100644 index 548290b8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link.rb deleted file mode 100644 index 1b87c493..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link.rb +++ /dev/null @@ -1,49 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :target, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget }, optional: false, nullable: true - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_blend_mode.rb deleted file mode 100644 index 058c1ada..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_flags.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_flags.rb deleted file mode 100644 index 16e7babd..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_identity_quality.rb deleted file mode 100644 index 3c69a04d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_in_reply_to.rb deleted file mode 100644 index d08a7db0..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_in_reply_to_index.rb deleted file mode 100644 index 6cb8271d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_in_reply_to_index_revision.rb deleted file mode 100644 index b3dd3819..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_in_reply_to_nm.rb deleted file mode 100644 index a6c2f517..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_in_reply_to_object_number.rb deleted file mode 100644 index 1af83b2d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_rect.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_rect.rb deleted file mode 100644 index 953d4ccf..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect < 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_annotations_list_all200response_pages_item_annotations_item_link_ref.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_ref.rb deleted file mode 100644 index 7dba0c2d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_ref_index.rb deleted file mode 100644 index a0df157d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_ref_index_revision.rb deleted file mode 100644 index 0e3d9ac8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_ref_nm.rb deleted file mode 100644 index ddff10ec..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_ref_object_number.rb deleted file mode 100644 index 5cc843d0..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_reply_type.rb deleted file mode 100644 index 9288b52a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target.rb deleted file mode 100644 index c6a32612..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target.rb +++ /dev/null @@ -1,25 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto }, key: "GOTO" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI }, key: "URI" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote }, key: "GOTO_REMOTE" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch }, key: "LAUNCH" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavascript }, key: "JAVASCRIPT" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed }, key: "NAMED" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target_goto.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target_goto.rb deleted file mode 100644 index 92b29fa1..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target_goto.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto < Internal::Types::Model - field :destination, -> { CloudPDF::Types::PdfDestination }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target_goto_remote.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target_goto_remote.rb deleted file mode 100644 index 3ac6414a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target_goto_remote.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote < Internal::Types::Model - field :file, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target_javascript.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target_javascript.rb deleted file mode 100644 index dbb1db85..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target_javascript.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavascript < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target_launch.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target_launch.rb deleted file mode 100644 index 9d690d5d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target_launch.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch < Internal::Types::Model - field :path, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target_named.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target_named.rb deleted file mode 100644 index 46328771..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target_named.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed < Internal::Types::Model - field :name, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target_unsupported.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target_unsupported.rb deleted file mode 100644 index 2f8717ed..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target_uri.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target_uri.rb deleted file mode 100644 index 61c145bb..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target_uri.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI < Internal::Types::Model - field :uri, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon.rb deleted file mode 100644 index 619b47b2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon.rb +++ /dev/null @@ -1,71 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon < Internal::Types::Model - field :intent, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIntent }, optional: true, nullable: false - - field :measure, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasure }, optional: true, nullable: false - - field :caption, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonCaption }, optional: true, nullable: false - - field :ref, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :color, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor }, optional: false, nullable: false - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :stroke_width, -> { Integer }, optional: false, nullable: false, api_name: "strokeWidth" - - field :border_style, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyle }, optional: false, nullable: false, api_name: "borderStyle" - - field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" - - field :interior_color, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor }, optional: false, nullable: true, api_name: "interiorColor" - - field :vertices, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem] }, optional: false, nullable: false - - field :rotation, -> { Integer }, optional: true, nullable: false - - field :cloudy_intensity, -> { Integer }, optional: false, nullable: true, api_name: "cloudyIntensity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_blend_mode.rb deleted file mode 100644 index 877238a2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_border_style.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_border_style.rb deleted file mode 100644 index a9781b00..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_border_style.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyle - extend CloudPDF::Internal::Types::Enum - - SOLID = "solid" - DASHED = "dashed" - BEVELED = "beveled" - INSET = "inset" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_caption.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_caption.rb deleted file mode 100644 index 810eb7b2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_caption.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonCaption < Internal::Types::Model - field :enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :center, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonCaptionCenter }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_caption_center.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_caption_center.rb deleted file mode 100644 index 015200f4..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_caption_center.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonCaptionCenter < 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_annotations_list_all200response_pages_item_annotations_item_polygon_color.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_color.rb deleted file mode 100644 index 57197811..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_flags.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_flags.rb deleted file mode 100644 index aeb5d73e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_identity_quality.rb deleted file mode 100644 index c9cb03af..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_in_reply_to.rb deleted file mode 100644 index 79f0f385..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_in_reply_to_index.rb deleted file mode 100644 index aa72f37f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_in_reply_to_index_5b450e.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_in_reply_to_index_5b450e.rb deleted file mode 100644 index 335bd165..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_in_reply_to_index_5b450e.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_in_reply_to_nm.rb deleted file mode 100644 index 178b055f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_in_reply_to_object_number.rb deleted file mode 100644 index 08348ec3..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_intent.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_intent.rb deleted file mode 100644 index f82faade..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_intent.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIntent - extend CloudPDF::Internal::Types::Enum - - POLYGON_CLOUD = "PolygonCloud" - POLYGON_DIMENSION = "PolygonDimension" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_interior_color.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_interior_color.rb deleted file mode 100644 index c874c580..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_interior_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure.rb deleted file mode 100644 index 96cf5867..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasure < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :subtype - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRl }, key: "RL" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureGeo }, key: "GEO" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureUnknown }, key: "UNKNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_geo.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_geo.rb deleted file mode 100644 index 29639f53..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_geo.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureGeo < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl.rb deleted file mode 100644 index 0a73225a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl.rb +++ /dev/null @@ -1,25 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRl < Internal::Types::Model - field :ratio, -> { String }, optional: true, nullable: false - - field :x, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlXItem] }, optional: false, nullable: false - - field :y, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlYItem] }, optional: true, nullable: false - - field :distance, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlDistanceItem] }, optional: false, nullable: false - - field :area, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlAreaItem] }, optional: false, nullable: false - - field :angle, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlAngleItem] }, optional: true, nullable: false - - field :slope, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlSlopeItem] }, optional: true, nullable: false - - field :origin, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlOrigin }, optional: true, nullable: false - - field :cyx, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_angle_i_213607.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_angle_i_213607.rb deleted file mode 100644 index 563f5009..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_angle_i_213607.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlAngleItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_angle_i_f4f709.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_angle_i_f4f709.rb deleted file mode 100644 index e8151383..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_angle_i_f4f709.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlAngleItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_angle_item.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_angle_item.rb deleted file mode 100644 index 8ed001d0..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_angle_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlAngleItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlAngleItemFraction }, 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::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlAngleItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_area_it_0a704d.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_area_it_0a704d.rb deleted file mode 100644 index 583326d7..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_area_it_0a704d.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlAreaItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_area_it_98086c.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_area_it_98086c.rb deleted file mode 100644 index 260f164e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_area_it_98086c.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlAreaItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_area_item.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_area_item.rb deleted file mode 100644 index b19b0b2e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_area_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlAreaItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlAreaItemFraction }, 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::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlAreaItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_distanc_1d0fa3.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_distanc_1d0fa3.rb deleted file mode 100644 index 4697f8d0..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_distanc_1d0fa3.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlDistanceItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_distanc_9963f3.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_distanc_9963f3.rb deleted file mode 100644 index 7e50e5e2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_distanc_9963f3.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlDistanceItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_distance_item.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_distance_item.rb deleted file mode 100644 index b5ddc6c5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_distance_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlDistanceItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlDistanceItemFraction }, 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::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlDistanceItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_origin.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_origin.rb deleted file mode 100644 index 324d0af9..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_origin.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlOrigin < 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_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_slope_i_115a02.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_slope_i_115a02.rb deleted file mode 100644 index 88ca9c2e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_slope_i_115a02.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlSlopeItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_slope_i_4ce4a3.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_slope_i_4ce4a3.rb deleted file mode 100644 index 8332d7dd..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_slope_i_4ce4a3.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlSlopeItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_slope_item.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_slope_item.rb deleted file mode 100644 index a1ca4e04..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_slope_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlSlopeItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlSlopeItemFraction }, 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::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlSlopeItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_x_item.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_x_item.rb deleted file mode 100644 index cfa9ed28..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_x_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlXItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlXItemFraction }, 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::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlXItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_x_item_51708d.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_x_item_51708d.rb deleted file mode 100644 index 2819f589..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_x_item_51708d.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlXItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_x_item_c96251.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_x_item_c96251.rb deleted file mode 100644 index d76abf23..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_x_item_c96251.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlXItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_y_item.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_y_item.rb deleted file mode 100644 index 4079e3a1..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_y_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlYItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlYItemFraction }, 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::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlYItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_y_item_9240d1.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_y_item_9240d1.rb deleted file mode 100644 index 2b5a25d7..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_y_item_9240d1.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlYItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_y_item_ea2e1e.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_y_item_ea2e1e.rb deleted file mode 100644 index 048c7d5a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_y_item_ea2e1e.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureRlYItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_unknown.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_unknown.rb deleted file mode 100644 index 307b830c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasureUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_rect.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_rect.rb deleted file mode 100644 index c5fd4fe9..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect < 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_annotations_list_all200response_pages_item_annotations_item_polygon_ref.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_ref.rb deleted file mode 100644 index 8d433c75..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_ref_index.rb deleted file mode 100644 index 2b91cd0c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_ref_index_revision.rb deleted file mode 100644 index db533f96..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_ref_nm.rb deleted file mode 100644 index 872eb912..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_ref_object_number.rb deleted file mode 100644 index 621ac888..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_reply_type.rb deleted file mode 100644 index 54d1fc6f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_vertices_item.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_vertices_item.rb deleted file mode 100644 index d69e99d8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_vertices_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem < 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_annotations_list_all200response_pages_item_annotations_item_polyline.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline.rb deleted file mode 100644 index 4e5ff184..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline.rb +++ /dev/null @@ -1,71 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline < Internal::Types::Model - field :intent, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIntent }, optional: true, nullable: false - - field :measure, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasure }, optional: true, nullable: false - - field :caption, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineCaption }, optional: true, nullable: false - - field :ref, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :color, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor }, optional: false, nullable: false - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :stroke_width, -> { Integer }, optional: false, nullable: false, api_name: "strokeWidth" - - field :border_style, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyle }, optional: false, nullable: false, api_name: "borderStyle" - - field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" - - field :interior_color, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor }, optional: false, nullable: true, api_name: "interiorColor" - - field :vertices, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem] }, optional: false, nullable: false - - field :rotation, -> { Integer }, optional: true, nullable: false - - field :line_endings, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings }, optional: false, nullable: false, api_name: "lineEndings" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_blend_mode.rb deleted file mode 100644 index 134f2cec..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_border_style.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_border_style.rb deleted file mode 100644 index da0a4571..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_border_style.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyle - extend CloudPDF::Internal::Types::Enum - - SOLID = "solid" - DASHED = "dashed" - BEVELED = "beveled" - INSET = "inset" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_caption.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_caption.rb deleted file mode 100644 index f18fe9be..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_caption.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineCaption < Internal::Types::Model - field :enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :center, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineCaptionCenter }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_caption_center.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_caption_center.rb deleted file mode 100644 index e71b961e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_caption_center.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineCaptionCenter < 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_annotations_list_all200response_pages_item_annotations_item_polyline_color.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_color.rb deleted file mode 100644 index b7564110..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_flags.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_flags.rb deleted file mode 100644 index dfc272b2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_identity_quality.rb deleted file mode 100644 index 52de8fb4..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_in_reply_to.rb deleted file mode 100644 index 9a7c76fe..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_in_reply_to_index.rb deleted file mode 100644 index 51e37882..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_in_reply_to_index_645ec1.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_in_reply_to_index_645ec1.rb deleted file mode 100644 index 5728cbc0..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_in_reply_to_index_645ec1.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_in_reply_to_nm.rb deleted file mode 100644 index 3a464ad8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_in_reply_to_objec_ec3de4.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_in_reply_to_objec_ec3de4.rb deleted file mode 100644 index 3f08cb81..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_in_reply_to_objec_ec3de4.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_intent.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_intent.rb deleted file mode 100644 index c0b5cdb8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_intent.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIntent - extend CloudPDF::Internal::Types::Enum - - POLY_LINE_DIMENSION = "PolyLineDimension" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_interior_color.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_interior_color.rb deleted file mode 100644 index ceb42396..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_interior_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_line_endings.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_line_endings.rb deleted file mode 100644 index 61e25494..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_line_endings.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings < Internal::Types::Model - field :start, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart }, optional: false, nullable: false - - field :end_, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd }, optional: false, nullable: false, api_name: "end" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_line_endings_end.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_line_endings_end.rb deleted file mode 100644 index 70d1258b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_line_endings_end.rb +++ /dev/null @@ -1,20 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd - extend CloudPDF::Internal::Types::Enum - - NONE = "none" - SQUARE = "square" - CIRCLE = "circle" - DIAMOND = "diamond" - OPEN_ARROW = "open-arrow" - CLOSED_ARROW = "closed-arrow" - BUTT = "butt" - R_OPEN_ARROW = "r-open-arrow" - R_CLOSED_ARROW = "r-closed-arrow" - SLASH = "slash" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_line_endings_start.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_line_endings_start.rb deleted file mode 100644 index 5e749708..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_line_endings_start.rb +++ /dev/null @@ -1,20 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart - extend CloudPDF::Internal::Types::Enum - - NONE = "none" - SQUARE = "square" - CIRCLE = "circle" - DIAMOND = "diamond" - OPEN_ARROW = "open-arrow" - CLOSED_ARROW = "closed-arrow" - BUTT = "butt" - R_OPEN_ARROW = "r-open-arrow" - R_CLOSED_ARROW = "r-closed-arrow" - SLASH = "slash" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure.rb deleted file mode 100644 index 75a73c66..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasure < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :subtype - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRl }, key: "RL" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureGeo }, key: "GEO" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureUnknown }, key: "UNKNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_geo.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_geo.rb deleted file mode 100644 index 3ef5d51f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_geo.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureGeo < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl.rb deleted file mode 100644 index 5ae65403..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl.rb +++ /dev/null @@ -1,25 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRl < Internal::Types::Model - field :ratio, -> { String }, optional: true, nullable: false - - field :x, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlXItem] }, optional: false, nullable: false - - field :y, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlYItem] }, optional: true, nullable: false - - field :distance, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlDistanceItem] }, optional: false, nullable: false - - field :area, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlAreaItem] }, optional: false, nullable: false - - field :angle, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlAngleItem] }, optional: true, nullable: false - - field :slope, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlSlopeItem] }, optional: true, nullable: false - - field :origin, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlOrigin }, optional: true, nullable: false - - field :cyx, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_angle_5bb25f.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_angle_5bb25f.rb deleted file mode 100644 index 97abea97..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_angle_5bb25f.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlAngleItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_angle_5f9ed6.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_angle_5f9ed6.rb deleted file mode 100644 index 4dee8465..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_angle_5f9ed6.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlAngleItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_angle_item.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_angle_item.rb deleted file mode 100644 index a36301f4..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_angle_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlAngleItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlAngleItemFraction }, 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::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlAngleItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_area_i_29d650.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_area_i_29d650.rb deleted file mode 100644 index 2b41b9b6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_area_i_29d650.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlAreaItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_area_i_acb235.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_area_i_acb235.rb deleted file mode 100644 index 971e838d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_area_i_acb235.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlAreaItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_area_item.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_area_item.rb deleted file mode 100644 index cf92385b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_area_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlAreaItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlAreaItemFraction }, 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::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlAreaItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_distan_22b16f.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_distan_22b16f.rb deleted file mode 100644 index d1f8a032..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_distan_22b16f.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlDistanceItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_distan_9bbe1e.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_distan_9bbe1e.rb deleted file mode 100644 index 18ca9e1d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_distan_9bbe1e.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlDistanceItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_distance_item.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_distance_item.rb deleted file mode 100644 index f1a84c39..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_distance_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlDistanceItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlDistanceItemFraction }, 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::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlDistanceItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_origin.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_origin.rb deleted file mode 100644 index f129accc..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_origin.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlOrigin < 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_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_slope_2b8768.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_slope_2b8768.rb deleted file mode 100644 index 2c9d3603..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_slope_2b8768.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlSlopeItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_slope_8ec9f0.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_slope_8ec9f0.rb deleted file mode 100644 index ecd8cc7b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_slope_8ec9f0.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlSlopeItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_slope_item.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_slope_item.rb deleted file mode 100644 index 7759893e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_slope_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlSlopeItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlSlopeItemFraction }, 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::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlSlopeItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_x_item.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_x_item.rb deleted file mode 100644 index 74389dd0..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_x_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlXItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlXItemFraction }, 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::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlXItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_x_item_29ee31.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_x_item_29ee31.rb deleted file mode 100644 index 905d538c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_x_item_29ee31.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlXItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_x_item_c0fc02.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_x_item_c0fc02.rb deleted file mode 100644 index 452ae736..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_x_item_c0fc02.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlXItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_y_item.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_y_item.rb deleted file mode 100644 index 4896e7b6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_y_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlYItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlYItemFraction }, 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::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlYItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_y_item_33a5da.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_y_item_33a5da.rb deleted file mode 100644 index abb58f0d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_y_item_33a5da.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlYItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_y_item_5aa477.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_y_item_5aa477.rb deleted file mode 100644 index c9259424..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_y_item_5aa477.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureRlYItemFraction - extend CloudPDF::Internal::Types::Enum - - DECIMAL = "decimal" - FRACTION = "fraction" - ROUND = "round" - TRUNCATE = "truncate" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_unknown.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_unknown.rb deleted file mode 100644 index b178c64f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasureUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_rect.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_rect.rb deleted file mode 100644 index 74a309f5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect < 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_annotations_list_all200response_pages_item_annotations_item_polyline_ref.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_ref.rb deleted file mode 100644 index 4d6b11f9..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_ref_index.rb deleted file mode 100644 index 9957b8ff..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_ref_index_revision.rb deleted file mode 100644 index 4d244613..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_ref_nm.rb deleted file mode 100644 index 0bc1fb25..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_ref_object_number.rb deleted file mode 100644 index 42863fa8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_reply_type.rb deleted file mode 100644 index 64fb7bb5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_vertices_item.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_vertices_item.rb deleted file mode 100644 index 51fc60a6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_vertices_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem < 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_annotations_list_all200response_pages_item_annotations_item_redact.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact.rb deleted file mode 100644 index 1d1928d1..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact.rb +++ /dev/null @@ -1,67 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :quad_points, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem] }, optional: false, nullable: false, api_name: "quadPoints" - - field :color, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor }, optional: false, nullable: false - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :interior_color, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor }, optional: false, nullable: true, api_name: "interiorColor" - - field :overlay_text, -> { String }, optional: false, nullable: true, api_name: "overlayText" - - field :repeat, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :font_family, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily }, optional: false, nullable: false, api_name: "fontFamily" - - field :font_size, -> { Integer }, optional: false, nullable: false, api_name: "fontSize" - - field :font_color, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor }, optional: false, nullable: false, api_name: "fontColor" - - field :text_align, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlign }, optional: false, nullable: false, api_name: "textAlign" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_blend_mode.rb deleted file mode 100644 index 5946a417..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_color.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_color.rb deleted file mode 100644 index 60c4c363..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_flags.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_flags.rb deleted file mode 100644 index 7888c138..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_font_color.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_font_color.rb deleted file mode 100644 index 36476704..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_font_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_font_family.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_font_family.rb deleted file mode 100644 index d189c596..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_font_family.rb +++ /dev/null @@ -1,24 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily - extend CloudPDF::Internal::Types::Enum - - COURIER = "courier" - COURIER_BOLD = "courier-bold" - COURIER_BOLD_OBLIQUE = "courier-bold-oblique" - COURIER_OBLIQUE = "courier-oblique" - HELVETICA = "helvetica" - HELVETICA_BOLD = "helvetica-bold" - HELVETICA_BOLD_OBLIQUE = "helvetica-bold-oblique" - HELVETICA_OBLIQUE = "helvetica-oblique" - TIMES_ROMAN = "times-roman" - TIMES_BOLD = "times-bold" - TIMES_BOLD_ITALIC = "times-bold-italic" - TIMES_ITALIC = "times-italic" - SYMBOL = "symbol" - ZAPF_DINGBATS = "zapf-dingbats" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_identity_quality.rb deleted file mode 100644 index 783c1080..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_in_reply_to.rb deleted file mode 100644 index e0e18ea5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_in_reply_to_index.rb deleted file mode 100644 index 82091993..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_in_reply_to_index_revision.rb deleted file mode 100644 index da7778fb..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_in_reply_to_nm.rb deleted file mode 100644 index f5a653ba..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_in_reply_to_object_number.rb deleted file mode 100644 index 898b9c76..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_interior_color.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_interior_color.rb deleted file mode 100644 index 75a528e2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_interior_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_quad_points_item.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_quad_points_item.rb deleted file mode 100644 index b2639704..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_quad_points_item.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem < Internal::Types::Model - field :p1, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1 }, optional: false, nullable: false - - field :p2, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2 }, optional: false, nullable: false - - field :p3, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3 }, optional: false, nullable: false - - field :p4, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4 }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_quad_points_item_p1.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_quad_points_item_p1.rb deleted file mode 100644 index be2895b5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_quad_points_item_p1.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1 < 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_annotations_list_all200response_pages_item_annotations_item_redact_quad_points_item_p2.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_quad_points_item_p2.rb deleted file mode 100644 index b24a12d5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_quad_points_item_p2.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2 < 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_annotations_list_all200response_pages_item_annotations_item_redact_quad_points_item_p3.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_quad_points_item_p3.rb deleted file mode 100644 index 2c522fb3..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_quad_points_item_p3.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3 < 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_annotations_list_all200response_pages_item_annotations_item_redact_quad_points_item_p4.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_quad_points_item_p4.rb deleted file mode 100644 index 0914bb13..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_quad_points_item_p4.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4 < 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_annotations_list_all200response_pages_item_annotations_item_redact_rect.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_rect.rb deleted file mode 100644 index ddb2e1ab..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect < 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_annotations_list_all200response_pages_item_annotations_item_redact_ref.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_ref.rb deleted file mode 100644 index fa2a351c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_ref_index.rb deleted file mode 100644 index f62cf9ff..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_ref_index_revision.rb deleted file mode 100644 index e98864cd..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_ref_nm.rb deleted file mode 100644 index 02de1c02..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_ref_object_number.rb deleted file mode 100644 index dde16cd8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_reply_type.rb deleted file mode 100644 index 18b610dc..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_text_align.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_text_align.rb deleted file mode 100644 index dc2553ac..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_text_align.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlign - extend CloudPDF::Internal::Types::Enum - - LEFT = "left" - CENTER = "center" - RIGHT = "right" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square.rb deleted file mode 100644 index 511b7f51..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square.rb +++ /dev/null @@ -1,67 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :color, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor }, optional: false, nullable: false - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :stroke_width, -> { Integer }, optional: false, nullable: false, api_name: "strokeWidth" - - field :border_style, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyle }, optional: false, nullable: false, api_name: "borderStyle" - - field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" - - field :interior_color, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor }, optional: false, nullable: true, api_name: "interiorColor" - - field :cloudy_intensity, -> { Integer }, optional: false, nullable: true, api_name: "cloudyIntensity" - - field :rect_differences, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences }, optional: false, nullable: true, api_name: "rectDifferences" - - field :rotation, -> { Integer }, optional: true, nullable: false - - field :unrotated_rect, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect }, optional: true, nullable: false, api_name: "unrotatedRect" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_blend_mode.rb deleted file mode 100644 index a5cf608a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_border_style.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_border_style.rb deleted file mode 100644 index 2b30f04e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_border_style.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyle - extend CloudPDF::Internal::Types::Enum - - SOLID = "solid" - DASHED = "dashed" - BEVELED = "beveled" - INSET = "inset" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_color.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_color.rb deleted file mode 100644 index 3049f38f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_flags.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_flags.rb deleted file mode 100644 index a27e3c3a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_identity_quality.rb deleted file mode 100644 index 7a4fe425..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_in_reply_to.rb deleted file mode 100644 index 948e827e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_in_reply_to_index.rb deleted file mode 100644 index 3e189aa5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_in_reply_to_index_revision.rb deleted file mode 100644 index 566d4e23..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_in_reply_to_nm.rb deleted file mode 100644 index a81836e2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_in_reply_to_object_number.rb deleted file mode 100644 index 65315404..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_interior_color.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_interior_color.rb deleted file mode 100644 index 0d84e24f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_interior_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_rect.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_rect.rb deleted file mode 100644 index c284cb9c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect < 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_annotations_list_all200response_pages_item_annotations_item_square_rect_differences.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_rect_differences.rb deleted file mode 100644 index a179ce02..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_rect_differences.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences < Internal::Types::Model - field :left, -> { Integer }, optional: false, nullable: false - - field :top, -> { Integer }, optional: false, nullable: false - - field :right, -> { Integer }, optional: false, nullable: false - - field :bottom, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_ref.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_ref.rb deleted file mode 100644 index 71543e96..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_ref_index.rb deleted file mode 100644 index f04e2ac6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_ref_index_revision.rb deleted file mode 100644 index 274aec32..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_ref_nm.rb deleted file mode 100644 index 830324fb..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_ref_object_number.rb deleted file mode 100644 index 9f148a73..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_reply_type.rb deleted file mode 100644 index 8f9a6b41..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_unrotated_rect.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_unrotated_rect.rb deleted file mode 100644 index 44188e74..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_unrotated_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect < 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_annotations_list_all200response_pages_item_annotations_item_squiggly.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly.rb deleted file mode 100644 index 1df69594..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly.rb +++ /dev/null @@ -1,53 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :color, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor }, optional: false, nullable: false - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :quad_points, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem] }, optional: false, nullable: false, api_name: "quadPoints" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_blend_mode.rb deleted file mode 100644 index d403d657..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_color.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_color.rb deleted file mode 100644 index 8f3be87e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_flags.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_flags.rb deleted file mode 100644 index d7c3cd2e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_identity_quality.rb deleted file mode 100644 index 5e5c6ff1..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_in_reply_to.rb deleted file mode 100644 index 9b833732..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_in_reply_to_index.rb deleted file mode 100644 index 2114bcad..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_in_reply_to_index_aa1629.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_in_reply_to_index_aa1629.rb deleted file mode 100644 index ba938110..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_in_reply_to_index_aa1629.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_in_reply_to_nm.rb deleted file mode 100644 index 3e96b13f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_in_reply_to_objec_dc998d.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_in_reply_to_objec_dc998d.rb deleted file mode 100644 index 2dbab442..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_in_reply_to_objec_dc998d.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_quad_points_item.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_quad_points_item.rb deleted file mode 100644 index 8d3700a5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_quad_points_item.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem < Internal::Types::Model - field :p1, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1 }, optional: false, nullable: false - - field :p2, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2 }, optional: false, nullable: false - - field :p3, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3 }, optional: false, nullable: false - - field :p4, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4 }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_quad_points_item_p1.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_quad_points_item_p1.rb deleted file mode 100644 index 002003ed..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_quad_points_item_p1.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1 < 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_annotations_list_all200response_pages_item_annotations_item_squiggly_quad_points_item_p2.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_quad_points_item_p2.rb deleted file mode 100644 index 914a36a3..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_quad_points_item_p2.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2 < 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_annotations_list_all200response_pages_item_annotations_item_squiggly_quad_points_item_p3.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_quad_points_item_p3.rb deleted file mode 100644 index 3e6d2541..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_quad_points_item_p3.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3 < 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_annotations_list_all200response_pages_item_annotations_item_squiggly_quad_points_item_p4.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_quad_points_item_p4.rb deleted file mode 100644 index e24a0e41..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_quad_points_item_p4.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4 < 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_annotations_list_all200response_pages_item_annotations_item_squiggly_rect.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_rect.rb deleted file mode 100644 index a0dadefe..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect < 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_annotations_list_all200response_pages_item_annotations_item_squiggly_ref.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_ref.rb deleted file mode 100644 index acb03e0f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_ref_index.rb deleted file mode 100644 index 47a42270..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_ref_index_revision.rb deleted file mode 100644 index 7c7b7eba..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_ref_nm.rb deleted file mode 100644 index ef4677b6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_ref_object_number.rb deleted file mode 100644 index 08ef8c22..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_reply_type.rb deleted file mode 100644 index 9d32f017..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp.rb deleted file mode 100644 index b08cc668..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp.rb +++ /dev/null @@ -1,53 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :name, -> { String }, optional: false, nullable: true - - field :rotation, -> { Integer }, optional: true, nullable: false - - field :unrotated_rect, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect }, optional: true, nullable: false, api_name: "unrotatedRect" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_blend_mode.rb deleted file mode 100644 index 8c36f932..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_flags.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_flags.rb deleted file mode 100644 index 2804f2ba..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_identity_quality.rb deleted file mode 100644 index 85c18b6e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_in_reply_to.rb deleted file mode 100644 index 4c588fc7..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_in_reply_to_index.rb deleted file mode 100644 index f1c1c4f6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_in_reply_to_index_revision.rb deleted file mode 100644 index f3df1767..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_in_reply_to_nm.rb deleted file mode 100644 index 0e6387ea..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_in_reply_to_object_number.rb deleted file mode 100644 index 4e2da293..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_rect.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_rect.rb deleted file mode 100644 index 6a785afa..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect < 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_annotations_list_all200response_pages_item_annotations_item_stamp_ref.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_ref.rb deleted file mode 100644 index d048cd1c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_ref_index.rb deleted file mode 100644 index cd93ce17..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_ref_index_revision.rb deleted file mode 100644 index 10165865..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_ref_nm.rb deleted file mode 100644 index e972ee8c..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_ref_object_number.rb deleted file mode 100644 index bba58f17..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_reply_type.rb deleted file mode 100644 index 464a0774..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_unrotated_rect.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_unrotated_rect.rb deleted file mode 100644 index 72f637e4..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_unrotated_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect < 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_annotations_list_all200response_pages_item_annotations_item_strikeout.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout.rb deleted file mode 100644 index 55c56095..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout.rb +++ /dev/null @@ -1,55 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :color, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor }, optional: false, nullable: false - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :quad_points, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem] }, optional: false, nullable: false, api_name: "quadPoints" - - field :intent, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIntent }, optional: false, nullable: true - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_blend_mode.rb deleted file mode 100644 index 700831de..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_color.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_color.rb deleted file mode 100644 index caae36ab..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_flags.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_flags.rb deleted file mode 100644 index 1c7cf6bd..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_identity_quality.rb deleted file mode 100644 index cb278a1a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_in_reply_to.rb deleted file mode 100644 index 2b53efa5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_in_reply_to_inde_599aa7.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_in_reply_to_inde_599aa7.rb deleted file mode 100644 index aa6b2bff..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_in_reply_to_inde_599aa7.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_in_reply_to_index.rb deleted file mode 100644 index 904400e3..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_in_reply_to_nm.rb deleted file mode 100644 index 68513db4..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_in_reply_to_obje_3db1d1.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_in_reply_to_obje_3db1d1.rb deleted file mode 100644 index 5a4eee83..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_in_reply_to_obje_3db1d1.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_intent.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_intent.rb deleted file mode 100644 index ed4e5e6a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_intent.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIntent - extend CloudPDF::Internal::Types::Enum - - STRIKEOUT_TEXT_EDIT = "strikeout-text-edit" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_quad_points_item.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_quad_points_item.rb deleted file mode 100644 index 7671bda7..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_quad_points_item.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem < Internal::Types::Model - field :p1, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1 }, optional: false, nullable: false - - field :p2, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2 }, optional: false, nullable: false - - field :p3, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3 }, optional: false, nullable: false - - field :p4, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4 }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_quad_points_item_p1.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_quad_points_item_p1.rb deleted file mode 100644 index 0ebed836..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_quad_points_item_p1.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1 < 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_annotations_list_all200response_pages_item_annotations_item_strikeout_quad_points_item_p2.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_quad_points_item_p2.rb deleted file mode 100644 index 04616598..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_quad_points_item_p2.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2 < 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_annotations_list_all200response_pages_item_annotations_item_strikeout_quad_points_item_p3.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_quad_points_item_p3.rb deleted file mode 100644 index bf6adf64..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_quad_points_item_p3.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3 < 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_annotations_list_all200response_pages_item_annotations_item_strikeout_quad_points_item_p4.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_quad_points_item_p4.rb deleted file mode 100644 index b64a1a19..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_quad_points_item_p4.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4 < 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_annotations_list_all200response_pages_item_annotations_item_strikeout_rect.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_rect.rb deleted file mode 100644 index e5839dd7..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect < 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_annotations_list_all200response_pages_item_annotations_item_strikeout_ref.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_ref.rb deleted file mode 100644 index aa366de8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_ref_index.rb deleted file mode 100644 index bc08feb2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_ref_index_revision.rb deleted file mode 100644 index 5e38fae6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_ref_nm.rb deleted file mode 100644 index 8babcaa2..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_ref_object_number.rb deleted file mode 100644 index ce877b26..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_reply_type.rb deleted file mode 100644 index 7f604cfd..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text.rb deleted file mode 100644 index b60fe673..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text.rb +++ /dev/null @@ -1,57 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :color, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor }, optional: false, nullable: false - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :icon, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon }, optional: false, nullable: false - - field :state, -> { String }, optional: false, nullable: true - - field :state_model, -> { String }, optional: false, nullable: true, api_name: "stateModel" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_blend_mode.rb deleted file mode 100644 index a5c6c6f8..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_color.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_color.rb deleted file mode 100644 index 7a79dc32..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_flags.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_flags.rb deleted file mode 100644 index 18c9bbb4..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_icon.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_icon.rb deleted file mode 100644 index c10dba44..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_icon.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon - extend CloudPDF::Internal::Types::Enum - - COMMENT = "comment" - KEY = "key" - NOTE = "note" - HELP = "help" - NEW_PARAGRAPH = "new-paragraph" - PARAGRAPH = "paragraph" - INSERT = "insert" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_identity_quality.rb deleted file mode 100644 index 5245bd68..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_in_reply_to.rb deleted file mode 100644 index 3a4d66bf..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_in_reply_to_index.rb deleted file mode 100644 index 695c398a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_in_reply_to_index_revision.rb deleted file mode 100644 index 39299db9..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_in_reply_to_nm.rb deleted file mode 100644 index ad13c535..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_in_reply_to_object_number.rb deleted file mode 100644 index ee91ddd9..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_rect.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_rect.rb deleted file mode 100644 index 2e76f160..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect < 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_annotations_list_all200response_pages_item_annotations_item_text_ref.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_ref.rb deleted file mode 100644 index 81e823b6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_ref_index.rb deleted file mode 100644 index 6e81de9a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_ref_index_revision.rb deleted file mode 100644 index a037363f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_ref_nm.rb deleted file mode 100644 index ee1f9e88..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_ref_object_number.rb deleted file mode 100644 index f9d6c9e6..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_reply_type.rb deleted file mode 100644 index 6d4e50fe..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline.rb deleted file mode 100644 index 3824b316..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline.rb +++ /dev/null @@ -1,53 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :color, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor }, optional: false, nullable: false - - field :opacity, -> { Integer }, optional: false, nullable: false - - field :quad_points, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem] }, optional: false, nullable: false, api_name: "quadPoints" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_blend_mode.rb deleted file mode 100644 index 59af82c3..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_color.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_color.rb deleted file mode 100644 index f036bd31..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_flags.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_flags.rb deleted file mode 100644 index 5113b02d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_identity_quality.rb deleted file mode 100644 index fa2cd26e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_in_reply_to.rb deleted file mode 100644 index a7a7d848..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_in_reply_to_inde_fb8bd5.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_in_reply_to_inde_fb8bd5.rb deleted file mode 100644 index 419fcb5e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_in_reply_to_inde_fb8bd5.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_in_reply_to_index.rb deleted file mode 100644 index 1851089e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_in_reply_to_nm.rb deleted file mode 100644 index 5693e519..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_in_reply_to_obje_78ad9a.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_in_reply_to_obje_78ad9a.rb deleted file mode 100644 index 1d9d104a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_in_reply_to_obje_78ad9a.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_quad_points_item.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_quad_points_item.rb deleted file mode 100644 index 819c6053..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_quad_points_item.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem < Internal::Types::Model - field :p1, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1 }, optional: false, nullable: false - - field :p2, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2 }, optional: false, nullable: false - - field :p3, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3 }, optional: false, nullable: false - - field :p4, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4 }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_quad_points_item_p1.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_quad_points_item_p1.rb deleted file mode 100644 index 4860510b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_quad_points_item_p1.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1 < 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_annotations_list_all200response_pages_item_annotations_item_underline_quad_points_item_p2.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_quad_points_item_p2.rb deleted file mode 100644 index 757d65aa..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_quad_points_item_p2.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2 < 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_annotations_list_all200response_pages_item_annotations_item_underline_quad_points_item_p3.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_quad_points_item_p3.rb deleted file mode 100644 index 617cd8cf..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_quad_points_item_p3.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3 < 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_annotations_list_all200response_pages_item_annotations_item_underline_quad_points_item_p4.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_quad_points_item_p4.rb deleted file mode 100644 index df65adba..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_quad_points_item_p4.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4 < 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_annotations_list_all200response_pages_item_annotations_item_underline_rect.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_rect.rb deleted file mode 100644 index 686099c0..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect < 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_annotations_list_all200response_pages_item_annotations_item_underline_ref.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_ref.rb deleted file mode 100644 index 44d48524..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_ref_index.rb deleted file mode 100644 index f8e86087..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_ref_index_revision.rb deleted file mode 100644 index ae6cfbf1..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_ref_nm.rb deleted file mode 100644 index b40ec0c9..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_ref_object_number.rb deleted file mode 100644 index 318a493a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_reply_type.rb deleted file mode 100644 index c22da7b4..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported.rb deleted file mode 100644 index 40a97807..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported.rb +++ /dev/null @@ -1,51 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :raw_subtype_code, -> { Integer }, optional: false, nullable: false, api_name: "rawSubtypeCode" - - field :raw_subtype_name, -> { String }, optional: false, nullable: true, api_name: "rawSubtypeName" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_blend_mode.rb deleted file mode 100644 index 01bba1c7..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_flags.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_flags.rb deleted file mode 100644 index 926fd9b4..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_identity_quality.rb deleted file mode 100644 index 8a88e928..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_in_reply_to.rb deleted file mode 100644 index bdd89a7d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_in_reply_to_in_54e3a3.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_in_reply_to_in_54e3a3.rb deleted file mode 100644 index c283dcad..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_in_reply_to_in_54e3a3.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_in_reply_to_index.rb deleted file mode 100644 index 5c1f9f44..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_in_reply_to_nm.rb deleted file mode 100644 index 1dd89f43..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_in_reply_to_ob_fe7f51.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_in_reply_to_ob_fe7f51.rb deleted file mode 100644 index 5dfba86a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_in_reply_to_ob_fe7f51.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_rect.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_rect.rb deleted file mode 100644 index ff60a9d0..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect < 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_annotations_list_all200response_pages_item_annotations_item_unsupported_ref.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_ref.rb deleted file mode 100644 index 787d864f..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_ref_index.rb deleted file mode 100644 index c770cc73..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_ref_index_revision.rb deleted file mode 100644 index 6a1b342e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_ref_nm.rb deleted file mode 100644 index 9ab11d19..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_ref_object_number.rb deleted file mode 100644 index bf38a9a7..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_reply_type.rb deleted file mode 100644 index ab00f254..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget.rb deleted file mode 100644 index e764b26b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget.rb +++ /dev/null @@ -1,67 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef }, optional: false, nullable: false - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :identity_quality, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQuality }, optional: false, nullable: false, api_name: "identityQuality" - - field :nm, -> { String }, optional: false, nullable: true - - field :flags, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags }, optional: false, nullable: false - - field :rect, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect }, optional: false, nullable: false - - field :contents, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :blend_mode, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode }, optional: false, nullable: false, api_name: "blendMode" - - field :in_reply_to, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo }, optional: false, nullable: true, api_name: "inReplyTo" - - field :reply_type, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyType }, optional: false, nullable: true, api_name: "replyType" - - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :created_by, -> { String }, optional: true, nullable: false, api_name: "createdBy" - - field :updated_by, -> { String }, optional: true, nullable: false, api_name: "updatedBy" - - field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: true, nullable: false - - field :color, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor }, optional: false, nullable: true - - field :interior_color, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor }, optional: false, nullable: true, api_name: "interiorColor" - - field :stroke_width, -> { Integer }, optional: false, nullable: false, api_name: "strokeWidth" - - field :border_style, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyle }, optional: false, nullable: false, api_name: "borderStyle" - - field :font_family, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily }, optional: true, nullable: false, api_name: "fontFamily" - - field :font_size, -> { Integer }, optional: true, nullable: false, api_name: "fontSize" - - field :font_color, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor }, optional: true, nullable: false, api_name: "fontColor" - - field :text_align, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlign }, optional: false, nullable: false, api_name: "textAlign" - - field :field_object_number, -> { Integer }, optional: false, nullable: false, api_name: "fieldObjectNumber" - - field :field_family, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily }, optional: false, nullable: false, api_name: "fieldFamily" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_blend_mode.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_blend_mode.rb deleted file mode 100644 index 9bec8c7a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_blend_mode.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode - extend CloudPDF::Internal::Types::Enum - - NORMAL = "normal" - MULTIPLY = "multiply" - SCREEN = "screen" - OVERLAY = "overlay" - DARKEN = "darken" - LIGHTEN = "lighten" - COLOR_DODGE = "color-dodge" - COLOR_BURN = "color-burn" - HARD_LIGHT = "hard-light" - SOFT_LIGHT = "soft-light" - DIFFERENCE = "difference" - EXCLUSION = "exclusion" - HUE = "hue" - SATURATION = "saturation" - COLOR = "color" - LUMINOSITY = "luminosity" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_border_style.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_border_style.rb deleted file mode 100644 index 6db57aa1..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_border_style.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyle - extend CloudPDF::Internal::Types::Enum - - SOLID = "solid" - DASHED = "dashed" - BEVELED = "beveled" - INSET = "inset" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_color.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_color.rb deleted file mode 100644 index 5afef050..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_field_family.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_field_family.rb deleted file mode 100644 index 47192b47..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_field_family.rb +++ /dev/null @@ -1,18 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily - 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/doc_annotations_list_all200response_pages_item_annotations_item_widget_flags.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_flags.rb deleted file mode 100644 index d141fcb4..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_flags.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags < Internal::Types::Model - field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" - - field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" - - field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" - - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" - - field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_font_color.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_font_color.rb deleted file mode 100644 index 416c8068..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_font_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_font_family.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_font_family.rb deleted file mode 100644 index f4d7d2be..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_font_family.rb +++ /dev/null @@ -1,24 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily - extend CloudPDF::Internal::Types::Enum - - COURIER = "courier" - COURIER_BOLD = "courier-bold" - COURIER_BOLD_OBLIQUE = "courier-bold-oblique" - COURIER_OBLIQUE = "courier-oblique" - HELVETICA = "helvetica" - HELVETICA_BOLD = "helvetica-bold" - HELVETICA_BOLD_OBLIQUE = "helvetica-bold-oblique" - HELVETICA_OBLIQUE = "helvetica-oblique" - TIMES_ROMAN = "times-roman" - TIMES_BOLD = "times-bold" - TIMES_BOLD_ITALIC = "times-bold-italic" - TIMES_ITALIC = "times-italic" - SYMBOL = "symbol" - ZAPF_DINGBATS = "zapf-dingbats" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_identity_quality.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_identity_quality.rb deleted file mode 100644 index 87ef67a9..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_identity_quality.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQuality - extend CloudPDF::Internal::Types::Enum - - DURABLE = "durable" - WEAK = "weak" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_in_reply_to.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_in_reply_to.rb deleted file mode 100644 index 427d1541..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_in_reply_to.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_in_reply_to_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_in_reply_to_index.rb deleted file mode 100644 index 1bf136ed..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_in_reply_to_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_in_reply_to_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_in_reply_to_index_revision.rb deleted file mode 100644 index 89cd6c9e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_in_reply_to_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_in_reply_to_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_in_reply_to_nm.rb deleted file mode 100644 index 952cdddf..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_in_reply_to_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_in_reply_to_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_in_reply_to_object_number.rb deleted file mode 100644 index 5ca1ba11..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_in_reply_to_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_interior_color.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_interior_color.rb deleted file mode 100644 index 065d17fc..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_interior_color.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor < Internal::Types::Model - field :r, -> { Integer }, optional: false, nullable: false - - field :g, -> { Integer }, optional: false, nullable: false - - field :b, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_rect.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_rect.rb deleted file mode 100644 index b25ac4cf..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_rect.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect < 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_annotations_list_all200response_pages_item_annotations_item_widget_ref.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_ref.rb deleted file mode 100644 index caedf99a..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_ref.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm }, key: "NM" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex }, key: "INDEX" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_ref_index.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_ref_index.rb deleted file mode 100644 index 4cdc8ec5..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_ref_index.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :index, -> { Integer }, optional: false, nullable: false - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_ref_index_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_ref_index_revision.rb deleted file mode 100644 index 03e3d667..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_ref_index_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_ref_nm.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_ref_nm.rb deleted file mode 100644 index 7689e9ac..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_ref_nm.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :nm, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_ref_object_number.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_ref_object_number.rb deleted file mode 100644 index 9c0c9049..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_ref_object_number.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_reply_type.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_reply_type.rb deleted file mode 100644 index b5b43262..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_reply_type.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyType - extend CloudPDF::Internal::Types::Enum - - REPLY = "reply" - GROUP = "group" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_text_align.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_text_align.rb deleted file mode 100644 index 30457f28..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_text_align.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlign - extend CloudPDF::Internal::Types::Enum - - LEFT = "left" - CENTER = "center" - RIGHT = "right" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_page_state.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_page_state.rb deleted file mode 100644 index 3fce9af0..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_page_state.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemPageState < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :revision, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemPageStateRevision }, optional: false, nullable: false - - field :weak_annotation_state, -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState }, optional: false, nullable: false, api_name: "weakAnnotationState" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_page_state_revision.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_page_state_revision.rb deleted file mode 100644 index 07d57d27..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_page_state_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemPageStateRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_page_state_weak_annotation_state.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_page_state_weak_annotation_state.rb deleted file mode 100644 index be1c80ed..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_page_state_weak_annotation_state.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown }, key: "UNKNOWN" - - member -> { CloudPDF::Types::DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown }, key: "KNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_page_state_weak_annotation_state_known.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_page_state_weak_annotation_state_known.rb deleted file mode 100644 index c899fd54..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_page_state_weak_annotation_state_known.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown < Internal::Types::Model - field :has_any_weak_annotations, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAnyWeakAnnotations" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_page_state_weak_annotation_state_unknown.rb b/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_page_state_weak_annotation_state_unknown.rb deleted file mode 100644 index 5950bb7e..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all200response_pages_item_page_state_weak_annotation_state_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all404response.rb b/lib/CloudPDF/types/doc_annotations_list_all404response.rb index 5a3040df..bba21a5a 100644 --- a/lib/CloudPDF/types/doc_annotations_list_all404response.rb +++ b/lib/CloudPDF/types/doc_annotations_list_all404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocAnnotationsListAll404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocAnnotationsListAll404ResponseName }, optional: false, nullable: false + module DocAnnotationsListAll404Response + # DocAnnotationsListAll404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocAnnotationsListAll404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_code.rb b/lib/CloudPDF/types/doc_annotations_list_all404response_code.rb deleted file mode 100644 index 9772ec0b..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all404response_name.rb b/lib/CloudPDF/types/doc_annotations_list_all404response_name.rb deleted file mode 100644 index f861508d..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all409response.rb b/lib/CloudPDF/types/doc_annotations_list_all409response.rb index bcc31556..a7b1829e 100644 --- a/lib/CloudPDF/types/doc_annotations_list_all409response.rb +++ b/lib/CloudPDF/types/doc_annotations_list_all409response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocAnnotationsListAll409Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocAnnotationsListAll409ResponseName }, optional: false, nullable: false + module DocAnnotationsListAll409Response + # DocAnnotationsListAll409Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocAnnotationsListAll409ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_code.rb b/lib/CloudPDF/types/doc_annotations_list_all409response_code.rb deleted file mode 100644 index 84d2e228..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all409response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll409ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_list_all409response_name.rb b/lib/CloudPDF/types/doc_annotations_list_all409response_name.rb deleted file mode 100644 index aca02151..00000000 --- a/lib/CloudPDF/types/doc_annotations_list_all409response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsListAll409ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_read_appearance400response.rb b/lib/CloudPDF/types/doc_annotations_read_appearance400response.rb new file mode 100644 index 00000000..069de450 --- /dev/null +++ b/lib/CloudPDF/types/doc_annotations_read_appearance400response.rb @@ -0,0 +1,23 @@ +# 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 new file mode 100644 index 00000000..27076d7e --- /dev/null +++ b/lib/CloudPDF/types/doc_annotations_read_appearance404response.rb @@ -0,0 +1,23 @@ +# 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_reorder200response.rb b/lib/CloudPDF/types/doc_annotations_reorder200response.rb new file mode 100644 index 00000000..0832d23b --- /dev/null +++ b/lib/CloudPDF/types/doc_annotations_reorder200response.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 00000000..15f0c476 --- /dev/null +++ b/lib/CloudPDF/types/doc_annotations_reorder400response.rb @@ -0,0 +1,23 @@ +# 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 new file mode 100644 index 00000000..90702080 --- /dev/null +++ b/lib/CloudPDF/types/doc_annotations_reorder404response.rb @@ -0,0 +1,23 @@ +# 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_update200response.rb b/lib/CloudPDF/types/doc_annotations_update200response.rb index c5ffc8e6..e210c18c 100644 --- a/lib/CloudPDF/types/doc_annotations_update200response.rb +++ b/lib/CloudPDF/types/doc_annotations_update200response.rb @@ -3,7 +3,11 @@ module CloudPDF module Types class DocAnnotationsUpdate200Response < Internal::Types::Model - field :meta, -> { CloudPDF::Types::DocAnnotationsUpdate200ResponseMeta }, optional: false, nullable: false + 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 new file mode 100644 index 00000000..ba0de3b2 --- /dev/null +++ b/lib/CloudPDF/types/doc_annotations_update200response_appearance.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 00000000..e531900b --- /dev/null +++ b/lib/CloudPDF/types/doc_annotations_update200response_appearance_action.rb @@ -0,0 +1,14 @@ +# 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_update200response_meta.rb b/lib/CloudPDF/types/doc_annotations_update200response_meta.rb deleted file mode 100644 index 1f324276..00000000 --- a/lib/CloudPDF/types/doc_annotations_update200response_meta.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsUpdate200ResponseMeta < Internal::Types::Model - field :affected_pages, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsUpdate200ResponseMetaAffectedPagesItem] }, optional: false, nullable: false, api_name: "affectedPages" - - field :cache_delta, -> { CloudPDF::Types::DocAnnotationsUpdate200ResponseMetaCacheDelta }, optional: false, nullable: true, api_name: "cacheDelta" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_update200response_meta_affected_pages_item.rb b/lib/CloudPDF/types/doc_annotations_update200response_meta_affected_pages_item.rb deleted file mode 100644 index 4955b8d1..00000000 --- a/lib/CloudPDF/types/doc_annotations_update200response_meta_affected_pages_item.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsUpdate200ResponseMetaAffectedPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :revision, -> { CloudPDF::Types::DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision }, optional: false, nullable: false - - field :weak_annotation_state, -> { CloudPDF::Types::DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState }, optional: false, nullable: false, api_name: "weakAnnotationState" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_update200response_meta_affected_pages_item_revision.rb b/lib/CloudPDF/types/doc_annotations_update200response_meta_affected_pages_item_revision.rb deleted file mode 100644 index 8c841621..00000000 --- a/lib/CloudPDF/types/doc_annotations_update200response_meta_affected_pages_item_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_update200response_meta_affected_pages_item_weak_annotation_state.rb b/lib/CloudPDF/types/doc_annotations_update200response_meta_affected_pages_item_weak_annotation_state.rb deleted file mode 100644 index f8a17639..00000000 --- a/lib/CloudPDF/types/doc_annotations_update200response_meta_affected_pages_item_weak_annotation_state.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown }, key: "UNKNOWN" - - member -> { CloudPDF::Types::DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown }, key: "KNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_update200response_meta_affected_pages_item_weak_annotation_state_known.rb b/lib/CloudPDF/types/doc_annotations_update200response_meta_affected_pages_item_weak_annotation_state_known.rb deleted file mode 100644 index 337bb99e..00000000 --- a/lib/CloudPDF/types/doc_annotations_update200response_meta_affected_pages_item_weak_annotation_state_known.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown < Internal::Types::Model - field :has_any_weak_annotations, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAnyWeakAnnotations" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_update200response_meta_affected_pages_item_weak_annotation_state_unknown.rb b/lib/CloudPDF/types/doc_annotations_update200response_meta_affected_pages_item_weak_annotation_state_unknown.rb deleted file mode 100644 index 9ae3c62b..00000000 --- a/lib/CloudPDF/types/doc_annotations_update200response_meta_affected_pages_item_weak_annotation_state_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_update200response_meta_cache_delta.rb b/lib/CloudPDF/types/doc_annotations_update200response_meta_cache_delta.rb deleted file mode 100644 index 333568d8..00000000 --- a/lib/CloudPDF/types/doc_annotations_update200response_meta_cache_delta.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsUpdate200ResponseMetaCacheDelta < Internal::Types::Model - field :previous_doc_version, -> { Integer }, optional: false, nullable: false, api_name: "previousDocVersion" - - field :doc_version, -> { Integer }, optional: false, nullable: false, api_name: "docVersion" - - field :annotations_version, -> { Integer }, optional: true, nullable: false, api_name: "annotationsVersion" - - field :layer_version, -> { Integer }, optional: true, nullable: false, api_name: "layerVersion" - - field :working, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_update200response_meta_cache_delta_pages_item.rb b/lib/CloudPDF/types/doc_annotations_update200response_meta_cache_delta_pages_item.rb deleted file mode 100644 index e53425ad..00000000 --- a/lib/CloudPDF/types/doc_annotations_update200response_meta_cache_delta_pages_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :cache, -> { CloudPDF::Types::DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_update200response_meta_cache_delta_pages_item_cache.rb b/lib/CloudPDF/types/doc_annotations_update200response_meta_cache_delta_pages_item_cache.rb deleted file mode 100644 index cd4d238c..00000000 --- a/lib/CloudPDF/types/doc_annotations_update200response_meta_cache_delta_pages_item_cache.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache < 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" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_update400response.rb b/lib/CloudPDF/types/doc_annotations_update400response.rb index 4df90470..ac10bf8e 100644 --- a/lib/CloudPDF/types/doc_annotations_update400response.rb +++ b/lib/CloudPDF/types/doc_annotations_update400response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocAnnotationsUpdate400Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocAnnotationsUpdate400ResponseName }, optional: false, nullable: false + module DocAnnotationsUpdate400Response + # DocAnnotationsUpdate400Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocAnnotationsUpdate400ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_annotations_update400response_code.rb b/lib/CloudPDF/types/doc_annotations_update400response_code.rb deleted file mode 100644 index 8fbfabc9..00000000 --- a/lib/CloudPDF/types/doc_annotations_update400response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsUpdate400ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_update400response_name.rb b/lib/CloudPDF/types/doc_annotations_update400response_name.rb deleted file mode 100644 index 498f570b..00000000 --- a/lib/CloudPDF/types/doc_annotations_update400response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsUpdate400ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_update404response.rb b/lib/CloudPDF/types/doc_annotations_update404response.rb index 40f2b8d4..065e6dfb 100644 --- a/lib/CloudPDF/types/doc_annotations_update404response.rb +++ b/lib/CloudPDF/types/doc_annotations_update404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocAnnotationsUpdate404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocAnnotationsUpdate404ResponseName }, optional: false, nullable: false + module DocAnnotationsUpdate404Response + # DocAnnotationsUpdate404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocAnnotationsUpdate404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_code.rb b/lib/CloudPDF/types/doc_annotations_update404response_code.rb deleted file mode 100644 index 8bc122c6..00000000 --- a/lib/CloudPDF/types/doc_annotations_update404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsUpdate404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_annotations_update404response_name.rb b/lib/CloudPDF/types/doc_annotations_update404response_name.rb deleted file mode 100644 index 9d8bc2ee..00000000 --- a/lib/CloudPDF/types/doc_annotations_update404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocAnnotationsUpdate404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_changes200response.rb b/lib/CloudPDF/types/doc_changes200response.rb new file mode 100644 index 00000000..51b30996 --- /dev/null +++ b/lib/CloudPDF/types/doc_changes200response.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..b7b5a21e --- /dev/null +++ b/lib/CloudPDF/types/doc_changes200response_changes_item.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 00000000..f603d2ea --- /dev/null +++ b/lib/CloudPDF/types/doc_changes200response_changes_item_applied.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 00000000..b4776398 --- /dev/null +++ b/lib/CloudPDF/types/doc_changes200response_changes_item_refused.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 00000000..7ccd9c99 --- /dev/null +++ b/lib/CloudPDF/types/doc_changes400response.rb @@ -0,0 +1,23 @@ +# 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 new file mode 100644 index 00000000..6fa4731f --- /dev/null +++ b/lib/CloudPDF/types/doc_changes404response.rb @@ -0,0 +1,23 @@ +# 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 new file mode 100644 index 00000000..3610fe07 --- /dev/null +++ b/lib/CloudPDF/types/doc_changes409response.rb @@ -0,0 +1,23 @@ +# 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 new file mode 100644 index 00000000..afa214f9 --- /dev/null +++ b/lib/CloudPDF/types/doc_changes413response.rb @@ -0,0 +1,23 @@ +# 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_download_response.rb b/lib/CloudPDF/types/doc_download_response.rb index 69d50018..d6b0f924 100644 --- a/lib/CloudPDF/types/doc_download_response.rb +++ b/lib/CloudPDF/types/doc_download_response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocDownloadResponse < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocDownloadResponseName }, optional: false, nullable: false + module DocDownloadResponse + # DocDownloadResponse is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocDownloadResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_download_response_code.rb b/lib/CloudPDF/types/doc_download_response_code.rb deleted file mode 100644 index faafda76..00000000 --- a/lib/CloudPDF/types/doc_download_response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocDownloadResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_download_response_name.rb b/lib/CloudPDF/types/doc_download_response_name.rb deleted file mode 100644 index ad5c88c6..00000000 --- a/lib/CloudPDF/types/doc_download_response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocDownloadResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_delete_widget200response.rb b/lib/CloudPDF/types/doc_forms_delete_widget200response.rb new file mode 100644 index 00000000..39ec1a51 --- /dev/null +++ b/lib/CloudPDF/types/doc_forms_delete_widget200response.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 00000000..bacc5d64 --- /dev/null +++ b/lib/CloudPDF/types/doc_forms_delete_widget400response.rb @@ -0,0 +1,23 @@ +# 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 new file mode 100644 index 00000000..e6517f84 --- /dev/null +++ b/lib/CloudPDF/types/doc_forms_delete_widget404response.rb @@ -0,0 +1,23 @@ +# 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_export_data_response.rb b/lib/CloudPDF/types/doc_forms_export_data_response.rb deleted file mode 100644 index bc129cb3..00000000 --- a/lib/CloudPDF/types/doc_forms_export_data_response.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsExportDataResponse < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocFormsExportDataResponseName }, optional: false, nullable: false - - field :code, -> { CloudPDF::Types::DocFormsExportDataResponseCode }, 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/doc_forms_export_data_response_code.rb b/lib/CloudPDF/types/doc_forms_export_data_response_code.rb deleted file mode 100644 index fa7122ba..00000000 --- a/lib/CloudPDF/types/doc_forms_export_data_response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsExportDataResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_export_data_response_name.rb b/lib/CloudPDF/types/doc_forms_export_data_response_name.rb deleted file mode 100644 index 2de4551a..00000000 --- a/lib/CloudPDF/types/doc_forms_export_data_response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsExportDataResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response.rb b/lib/CloudPDF/types/doc_forms_get200response.rb deleted file mode 100644 index 6a978fb7..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200Response < Internal::Types::Model - field :form_kind, -> { CloudPDF::Types::DocFormsGet200ResponseFormKind }, 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::DocFormsGet200ResponseFieldsItem] }, optional: false, nullable: false - - field :calculation_order, -> { Internal::Types::Array[CloudPDF::Types::DocFormsGet200ResponseCalculationOrderItem] }, optional: false, nullable: false, api_name: "calculationOrder" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_calculation_order_item.rb b/lib/CloudPDF/types/doc_forms_get200response_calculation_order_item.rb deleted file mode 100644 index f242fe7e..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_calculation_order_item.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseCalculationOrderItem < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocFormsGet200ResponseCalculationOrderItemObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocFormsGet200ResponseCalculationOrderItemFqn }, key: "FQN" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_calculation_order_item_fqn.rb b/lib/CloudPDF/types/doc_forms_get200response_calculation_order_item_fqn.rb deleted file mode 100644 index 335476a0..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_calculation_order_item_fqn.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseCalculationOrderItemFqn < Internal::Types::Model - field :name, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_calculation_order_item_object_number.rb b/lib/CloudPDF/types/doc_forms_get200response_calculation_order_item_object_number.rb deleted file mode 100644 index 7b9c00e3..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_calculation_order_item_object_number.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseCalculationOrderItemObjectNumber < Internal::Types::Model - field :field_object_number, -> { Integer }, optional: false, nullable: false, api_name: "fieldObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item.rb deleted file mode 100644 index 9a1092c6..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItem < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :family - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemText }, key: "TEXT" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemCheckbox }, key: "CHECKBOX" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemRadio }, key: "RADIO" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemCombobox }, key: "COMBOBOX" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemListbox }, key: "LISTBOX" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemPushbutton }, key: "PUSHBUTTON" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemSignature }, key: "SIGNATURE" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemUnknown }, key: "UNKNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox.rb deleted file mode 100644 index 6954ea5d..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox.rb +++ /dev/null @@ -1,33 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemCheckbox < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemCheckboxRef }, optional: false, nullable: false - - field :field_object_number, -> { Integer }, optional: false, nullable: false, api_name: "fieldObjectNumber" - - field :name, -> { String }, optional: false, nullable: false - - field :origin, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemCheckboxOrigin }, optional: false, nullable: false - - field :flags, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemCheckboxFlags }, optional: false, nullable: false - - field :alternate_name, -> { String }, optional: false, nullable: true, api_name: "alternateName" - - field :mapping_name, -> { String }, optional: false, nullable: true, api_name: "mappingName" - - field :value_entry, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemCheckboxValueEntry }, optional: false, nullable: false, api_name: "valueEntry" - - field :default_value_entry, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" - - field :actions, -> { CloudPDF::Types::PdfFieldActions }, optional: true, nullable: false - - field :widgets, -> { Internal::Types::Array[CloudPDF::Types::DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem] }, optional: false, nullable: false - - field :checked, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :export_value, -> { String }, optional: false, nullable: false, api_name: "exportValue" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_default_value_entry.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_default_value_entry.rb deleted file mode 100644 index a397afd0..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_default_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_default_value_entry_array.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_default_value_entry_array.rb deleted file mode 100644 index 5a7b35f3..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_default_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_default_value_entry_none.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_default_value_entry_none.rb deleted file mode 100644 index 31ff87df..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_default_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_default_value_entry_scalar.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_default_value_entry_scalar.rb deleted file mode 100644 index f63afd65..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_default_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_default_value_entry_unsupported.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_default_value_entry_unsupported.rb deleted file mode 100644 index cda1747d..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_default_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_flags.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_flags.rb deleted file mode 100644 index 07b91564..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_flags.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemCheckboxFlags < Internal::Types::Model - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :required, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_export, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noExport" - - field :raw, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_origin.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_origin.rb deleted file mode 100644 index 1e60325b..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_origin.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsGet200ResponseFieldsItemCheckboxOrigin - extend CloudPDF::Internal::Types::Enum - - ACROFORM = "acroform" - RECOVERED = "recovered" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_ref.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_ref.rb deleted file mode 100644 index 9aa89092..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_ref.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemCheckboxRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemCheckboxRefFqn }, key: "FQN" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_ref_fqn.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_ref_fqn.rb deleted file mode 100644 index 51e5032e..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_ref_fqn.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemCheckboxRefFqn < Internal::Types::Model - field :name, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_ref_object_number.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_ref_object_number.rb deleted file mode 100644 index ba5fcb2a..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_ref_object_number.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber < Internal::Types::Model - field :field_object_number, -> { Integer }, optional: false, nullable: false, api_name: "fieldObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_value_entry.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_value_entry.rb deleted file mode 100644 index e65b8eae..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemCheckboxValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_value_entry_array.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_value_entry_array.rb deleted file mode 100644 index b0fc5cce..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_value_entry_none.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_value_entry_none.rb deleted file mode 100644 index fbb4bff0..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_value_entry_scalar.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_value_entry_scalar.rb deleted file mode 100644 index 1f65384e..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_value_entry_unsupported.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_value_entry_unsupported.rb deleted file mode 100644 index d5515e8a..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_widgets_item.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_widgets_item.rb deleted file mode 100644 index ae905402..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_checkbox_widgets_item.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem < Internal::Types::Model - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :on_state, -> { String }, optional: false, nullable: false, api_name: "onState" - - field :export_value, -> { String }, optional: false, nullable: false, api_name: "exportValue" - - field :checked, -> { Internal::Types::Boolean }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox.rb deleted file mode 100644 index a69fb1f0..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox.rb +++ /dev/null @@ -1,37 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemCombobox < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemComboboxRef }, optional: false, nullable: false - - field :field_object_number, -> { Integer }, optional: false, nullable: false, api_name: "fieldObjectNumber" - - field :name, -> { String }, optional: false, nullable: false - - field :origin, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemComboboxOrigin }, optional: false, nullable: false - - field :flags, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemComboboxFlags }, optional: false, nullable: false - - field :alternate_name, -> { String }, optional: false, nullable: true, api_name: "alternateName" - - field :mapping_name, -> { String }, optional: false, nullable: true, api_name: "mappingName" - - field :value_entry, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemComboboxValueEntry }, optional: false, nullable: false, api_name: "valueEntry" - - field :default_value_entry, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" - - field :actions, -> { CloudPDF::Types::PdfFieldActions }, optional: true, nullable: false - - field :widgets, -> { Internal::Types::Array[CloudPDF::Types::DocFormsGet200ResponseFieldsItemComboboxWidgetsItem] }, optional: false, nullable: false - - field :value, -> { String }, optional: false, nullable: false - - field :default_value, -> { String }, optional: false, nullable: false, api_name: "defaultValue" - - field :edit, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :options, -> { Internal::Types::Array[CloudPDF::Types::DocFormsGet200ResponseFieldsItemComboboxOptionsItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_default_value_entry.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_default_value_entry.rb deleted file mode 100644 index 95d7131c..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_default_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_default_value_entry_array.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_default_value_entry_array.rb deleted file mode 100644 index af30bb2d..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_default_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_default_value_entry_none.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_default_value_entry_none.rb deleted file mode 100644 index 2a70cccf..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_default_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_default_value_entry_scalar.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_default_value_entry_scalar.rb deleted file mode 100644 index 3cba922e..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_default_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_default_value_entry_unsupported.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_default_value_entry_unsupported.rb deleted file mode 100644 index 8e77d43e..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_default_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_flags.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_flags.rb deleted file mode 100644 index bc4dfadc..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_flags.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemComboboxFlags < Internal::Types::Model - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :required, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_export, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noExport" - - field :raw, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_options_item.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_options_item.rb deleted file mode 100644 index f062e128..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_options_item.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemComboboxOptionsItem < Internal::Types::Model - field :label, -> { String }, optional: false, nullable: false - - field :value, -> { String }, optional: false, nullable: false - - field :selected, -> { Internal::Types::Boolean }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_origin.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_origin.rb deleted file mode 100644 index e4eefff0..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_origin.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsGet200ResponseFieldsItemComboboxOrigin - extend CloudPDF::Internal::Types::Enum - - ACROFORM = "acroform" - RECOVERED = "recovered" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_ref.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_ref.rb deleted file mode 100644 index 43f78592..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_ref.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemComboboxRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemComboboxRefFqn }, key: "FQN" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_ref_fqn.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_ref_fqn.rb deleted file mode 100644 index a1074267..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_ref_fqn.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemComboboxRefFqn < Internal::Types::Model - field :name, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_ref_object_number.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_ref_object_number.rb deleted file mode 100644 index 2380900a..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_ref_object_number.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber < Internal::Types::Model - field :field_object_number, -> { Integer }, optional: false, nullable: false, api_name: "fieldObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_value_entry.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_value_entry.rb deleted file mode 100644 index 321c3e75..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemComboboxValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemComboboxValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemComboboxValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_value_entry_array.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_value_entry_array.rb deleted file mode 100644 index 430724be..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemComboboxValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_value_entry_none.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_value_entry_none.rb deleted file mode 100644 index ad44059f..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemComboboxValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_value_entry_scalar.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_value_entry_scalar.rb deleted file mode 100644 index 0380a386..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_value_entry_unsupported.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_value_entry_unsupported.rb deleted file mode 100644 index 08605dff..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_widgets_item.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_widgets_item.rb deleted file mode 100644 index 224d513d..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_combobox_widgets_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemComboboxWidgetsItem < Internal::Types::Model - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox.rb deleted file mode 100644 index 4016235e..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemListbox < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemListboxRef }, optional: false, nullable: false - - field :field_object_number, -> { Integer }, optional: false, nullable: false, api_name: "fieldObjectNumber" - - field :name, -> { String }, optional: false, nullable: false - - field :origin, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemListboxOrigin }, optional: false, nullable: false - - field :flags, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemListboxFlags }, optional: false, nullable: false - - field :alternate_name, -> { String }, optional: false, nullable: true, api_name: "alternateName" - - field :mapping_name, -> { String }, optional: false, nullable: true, api_name: "mappingName" - - field :value_entry, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemListboxValueEntry }, optional: false, nullable: false, api_name: "valueEntry" - - field :default_value_entry, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" - - field :actions, -> { CloudPDF::Types::PdfFieldActions }, optional: true, nullable: false - - field :widgets, -> { Internal::Types::Array[CloudPDF::Types::DocFormsGet200ResponseFieldsItemListboxWidgetsItem] }, optional: false, nullable: false - - field :selected_values, -> { Internal::Types::Array[String] }, optional: false, nullable: false, api_name: "selectedValues" - - field :multi_select, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "multiSelect" - - field :options, -> { Internal::Types::Array[CloudPDF::Types::DocFormsGet200ResponseFieldsItemListboxOptionsItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_default_value_entry.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_default_value_entry.rb deleted file mode 100644 index a7d6dcb1..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_default_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_default_value_entry_array.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_default_value_entry_array.rb deleted file mode 100644 index 4f6027a5..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_default_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_default_value_entry_none.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_default_value_entry_none.rb deleted file mode 100644 index a45645ab..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_default_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_default_value_entry_scalar.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_default_value_entry_scalar.rb deleted file mode 100644 index 79d4d0fa..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_default_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_default_value_entry_unsupported.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_default_value_entry_unsupported.rb deleted file mode 100644 index 1ede9870..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_default_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_flags.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_flags.rb deleted file mode 100644 index a58a5e47..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_flags.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemListboxFlags < Internal::Types::Model - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :required, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_export, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noExport" - - field :raw, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_options_item.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_options_item.rb deleted file mode 100644 index 9b140838..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_options_item.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemListboxOptionsItem < Internal::Types::Model - field :label, -> { String }, optional: false, nullable: false - - field :value, -> { String }, optional: false, nullable: false - - field :selected, -> { Internal::Types::Boolean }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_origin.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_origin.rb deleted file mode 100644 index 7fba6e3b..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_origin.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsGet200ResponseFieldsItemListboxOrigin - extend CloudPDF::Internal::Types::Enum - - ACROFORM = "acroform" - RECOVERED = "recovered" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_ref.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_ref.rb deleted file mode 100644 index 94069730..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_ref.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemListboxRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemListboxRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemListboxRefFqn }, key: "FQN" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_ref_fqn.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_ref_fqn.rb deleted file mode 100644 index 71bc5a83..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_ref_fqn.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemListboxRefFqn < Internal::Types::Model - field :name, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_ref_object_number.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_ref_object_number.rb deleted file mode 100644 index b1c681de..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_ref_object_number.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemListboxRefObjectNumber < Internal::Types::Model - field :field_object_number, -> { Integer }, optional: false, nullable: false, api_name: "fieldObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_value_entry.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_value_entry.rb deleted file mode 100644 index 3eb0a67e..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemListboxValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemListboxValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemListboxValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemListboxValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_value_entry_array.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_value_entry_array.rb deleted file mode 100644 index 61dd39b5..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemListboxValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_value_entry_none.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_value_entry_none.rb deleted file mode 100644 index 82624329..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemListboxValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_value_entry_scalar.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_value_entry_scalar.rb deleted file mode 100644 index bc8ac4ea..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemListboxValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_value_entry_unsupported.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_value_entry_unsupported.rb deleted file mode 100644 index 80dc114c..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_widgets_item.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_widgets_item.rb deleted file mode 100644 index bd7f1844..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_listbox_widgets_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemListboxWidgetsItem < Internal::Types::Model - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton.rb deleted file mode 100644 index ebc8aa70..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton.rb +++ /dev/null @@ -1,29 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemPushbutton < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemPushbuttonRef }, optional: false, nullable: false - - field :field_object_number, -> { Integer }, optional: false, nullable: false, api_name: "fieldObjectNumber" - - field :name, -> { String }, optional: false, nullable: false - - field :origin, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemPushbuttonOrigin }, optional: false, nullable: false - - field :flags, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemPushbuttonFlags }, optional: false, nullable: false - - field :alternate_name, -> { String }, optional: false, nullable: true, api_name: "alternateName" - - field :mapping_name, -> { String }, optional: false, nullable: true, api_name: "mappingName" - - field :value_entry, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemPushbuttonValueEntry }, optional: false, nullable: false, api_name: "valueEntry" - - field :default_value_entry, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" - - field :actions, -> { CloudPDF::Types::PdfFieldActions }, optional: true, nullable: false - - field :widgets, -> { Internal::Types::Array[CloudPDF::Types::DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_default_value_entry.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_default_value_entry.rb deleted file mode 100644 index 912792e3..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_default_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_default_value_entry_array.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_default_value_entry_array.rb deleted file mode 100644 index 8e33f77c..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_default_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_default_value_entry_none.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_default_value_entry_none.rb deleted file mode 100644 index c1c83d8e..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_default_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_default_value_entry_scalar.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_default_value_entry_scalar.rb deleted file mode 100644 index 963526e2..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_default_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_default_value_entry_unsupported.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_default_value_entry_unsupported.rb deleted file mode 100644 index 39bcbbe9..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_default_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_flags.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_flags.rb deleted file mode 100644 index ccf484d2..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_flags.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemPushbuttonFlags < Internal::Types::Model - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :required, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_export, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noExport" - - field :raw, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_origin.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_origin.rb deleted file mode 100644 index 84411744..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_origin.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsGet200ResponseFieldsItemPushbuttonOrigin - extend CloudPDF::Internal::Types::Enum - - ACROFORM = "acroform" - RECOVERED = "recovered" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_ref.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_ref.rb deleted file mode 100644 index 1abc071b..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_ref.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemPushbuttonRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemPushbuttonRefFqn }, key: "FQN" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_ref_fqn.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_ref_fqn.rb deleted file mode 100644 index 5a19d402..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_ref_fqn.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemPushbuttonRefFqn < Internal::Types::Model - field :name, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_ref_object_number.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_ref_object_number.rb deleted file mode 100644 index b1253d05..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_ref_object_number.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber < Internal::Types::Model - field :field_object_number, -> { Integer }, optional: false, nullable: false, api_name: "fieldObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_value_entry.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_value_entry.rb deleted file mode 100644 index 2658b885..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemPushbuttonValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_value_entry_array.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_value_entry_array.rb deleted file mode 100644 index c3435e5c..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_value_entry_none.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_value_entry_none.rb deleted file mode 100644 index f496ffe6..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_value_entry_scalar.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_value_entry_scalar.rb deleted file mode 100644 index e3e7ba01..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_value_entry_unsupported.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_value_entry_unsupported.rb deleted file mode 100644 index 42cdc0d6..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_widgets_item.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_widgets_item.rb deleted file mode 100644 index 4f33e2c9..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_widgets_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem < Internal::Types::Model - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio.rb deleted file mode 100644 index 815649e4..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemRadio < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemRadioRef }, optional: false, nullable: false - - field :field_object_number, -> { Integer }, optional: false, nullable: false, api_name: "fieldObjectNumber" - - field :name, -> { String }, optional: false, nullable: false - - field :origin, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemRadioOrigin }, optional: false, nullable: false - - field :flags, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemRadioFlags }, optional: false, nullable: false - - field :alternate_name, -> { String }, optional: false, nullable: true, api_name: "alternateName" - - field :mapping_name, -> { String }, optional: false, nullable: true, api_name: "mappingName" - - field :value_entry, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemRadioValueEntry }, optional: false, nullable: false, api_name: "valueEntry" - - field :default_value_entry, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" - - field :actions, -> { CloudPDF::Types::PdfFieldActions }, optional: true, nullable: false - - field :widgets, -> { Internal::Types::Array[CloudPDF::Types::DocFormsGet200ResponseFieldsItemRadioWidgetsItem] }, optional: false, nullable: false - - field :value, -> { String }, optional: false, nullable: false - - field :radios_in_unison, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "radiosInUnison" - - field :no_toggle_to_off, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noToggleToOff" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_default_value_entry.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_default_value_entry.rb deleted file mode 100644 index c20633b9..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_default_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_default_value_entry_array.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_default_value_entry_array.rb deleted file mode 100644 index 192086cf..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_default_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_default_value_entry_none.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_default_value_entry_none.rb deleted file mode 100644 index 5bc2a1fd..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_default_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_default_value_entry_scalar.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_default_value_entry_scalar.rb deleted file mode 100644 index 627a05ed..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_default_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_default_value_entry_unsupported.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_default_value_entry_unsupported.rb deleted file mode 100644 index 833e9989..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_default_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_flags.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_flags.rb deleted file mode 100644 index e0a07664..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_flags.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemRadioFlags < Internal::Types::Model - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :required, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_export, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noExport" - - field :raw, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_origin.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_origin.rb deleted file mode 100644 index 75e62bb7..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_origin.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsGet200ResponseFieldsItemRadioOrigin - extend CloudPDF::Internal::Types::Enum - - ACROFORM = "acroform" - RECOVERED = "recovered" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_ref.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_ref.rb deleted file mode 100644 index d4be1f96..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_ref.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemRadioRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemRadioRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemRadioRefFqn }, key: "FQN" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_ref_fqn.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_ref_fqn.rb deleted file mode 100644 index eb67fec2..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_ref_fqn.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemRadioRefFqn < Internal::Types::Model - field :name, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_ref_object_number.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_ref_object_number.rb deleted file mode 100644 index 98b9ecf2..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_ref_object_number.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemRadioRefObjectNumber < Internal::Types::Model - field :field_object_number, -> { Integer }, optional: false, nullable: false, api_name: "fieldObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_value_entry.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_value_entry.rb deleted file mode 100644 index 94fd768d..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemRadioValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemRadioValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemRadioValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemRadioValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_value_entry_array.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_value_entry_array.rb deleted file mode 100644 index 0f972e68..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemRadioValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_value_entry_none.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_value_entry_none.rb deleted file mode 100644 index 19d3f764..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemRadioValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_value_entry_scalar.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_value_entry_scalar.rb deleted file mode 100644 index b49440c8..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemRadioValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_value_entry_unsupported.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_value_entry_unsupported.rb deleted file mode 100644 index dc9725e4..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_widgets_item.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_widgets_item.rb deleted file mode 100644 index f590be41..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_radio_widgets_item.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemRadioWidgetsItem < Internal::Types::Model - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :on_state, -> { String }, optional: false, nullable: false, api_name: "onState" - - field :export_value, -> { String }, optional: false, nullable: false, api_name: "exportValue" - - field :checked, -> { Internal::Types::Boolean }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature.rb deleted file mode 100644 index 8b894cd4..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature.rb +++ /dev/null @@ -1,29 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemSignature < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemSignatureRef }, optional: false, nullable: false - - field :field_object_number, -> { Integer }, optional: false, nullable: false, api_name: "fieldObjectNumber" - - field :name, -> { String }, optional: false, nullable: false - - field :origin, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemSignatureOrigin }, optional: false, nullable: false - - field :flags, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemSignatureFlags }, optional: false, nullable: false - - field :alternate_name, -> { String }, optional: false, nullable: true, api_name: "alternateName" - - field :mapping_name, -> { String }, optional: false, nullable: true, api_name: "mappingName" - - field :value_entry, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemSignatureValueEntry }, optional: false, nullable: false, api_name: "valueEntry" - - field :default_value_entry, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" - - field :actions, -> { CloudPDF::Types::PdfFieldActions }, optional: true, nullable: false - - field :widgets, -> { Internal::Types::Array[CloudPDF::Types::DocFormsGet200ResponseFieldsItemSignatureWidgetsItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_default_value_entry.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_default_value_entry.rb deleted file mode 100644 index 37780470..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_default_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_default_value_entry_array.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_default_value_entry_array.rb deleted file mode 100644 index a5434810..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_default_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_default_value_entry_none.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_default_value_entry_none.rb deleted file mode 100644 index 8d38e740..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_default_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_default_value_entry_scalar.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_default_value_entry_scalar.rb deleted file mode 100644 index ca009229..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_default_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_default_value_entry_unsupported.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_default_value_entry_unsupported.rb deleted file mode 100644 index a214a772..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_default_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_flags.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_flags.rb deleted file mode 100644 index e300a059..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_flags.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemSignatureFlags < Internal::Types::Model - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :required, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_export, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noExport" - - field :raw, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_origin.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_origin.rb deleted file mode 100644 index 95251c1c..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_origin.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsGet200ResponseFieldsItemSignatureOrigin - extend CloudPDF::Internal::Types::Enum - - ACROFORM = "acroform" - RECOVERED = "recovered" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_ref.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_ref.rb deleted file mode 100644 index b67c3ee0..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_ref.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemSignatureRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemSignatureRefFqn }, key: "FQN" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_ref_fqn.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_ref_fqn.rb deleted file mode 100644 index 0aa3cb44..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_ref_fqn.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemSignatureRefFqn < Internal::Types::Model - field :name, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_ref_object_number.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_ref_object_number.rb deleted file mode 100644 index 6dbb84b8..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_ref_object_number.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber < Internal::Types::Model - field :field_object_number, -> { Integer }, optional: false, nullable: false, api_name: "fieldObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_value_entry.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_value_entry.rb deleted file mode 100644 index a4cf565d..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemSignatureValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemSignatureValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemSignatureValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_value_entry_array.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_value_entry_array.rb deleted file mode 100644 index ec80c474..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemSignatureValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_value_entry_none.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_value_entry_none.rb deleted file mode 100644 index 7aa7639e..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemSignatureValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_value_entry_scalar.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_value_entry_scalar.rb deleted file mode 100644 index e9f335e6..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_value_entry_unsupported.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_value_entry_unsupported.rb deleted file mode 100644 index 0ab9889d..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_widgets_item.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_widgets_item.rb deleted file mode 100644 index d620ec69..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_signature_widgets_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemSignatureWidgetsItem < Internal::Types::Model - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_text.rb deleted file mode 100644 index 7c87bb48..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text.rb +++ /dev/null @@ -1,41 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemText < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemTextRef }, optional: false, nullable: false - - field :field_object_number, -> { Integer }, optional: false, nullable: false, api_name: "fieldObjectNumber" - - field :name, -> { String }, optional: false, nullable: false - - field :origin, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemTextOrigin }, optional: false, nullable: false - - field :flags, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemTextFlags }, optional: false, nullable: false - - field :alternate_name, -> { String }, optional: false, nullable: true, api_name: "alternateName" - - field :mapping_name, -> { String }, optional: false, nullable: true, api_name: "mappingName" - - field :value_entry, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemTextValueEntry }, optional: false, nullable: false, api_name: "valueEntry" - - field :default_value_entry, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemTextDefaultValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" - - field :actions, -> { CloudPDF::Types::PdfFieldActions }, optional: true, nullable: false - - field :widgets, -> { Internal::Types::Array[CloudPDF::Types::DocFormsGet200ResponseFieldsItemTextWidgetsItem] }, optional: false, nullable: false - - field :value, -> { String }, optional: false, nullable: false - - field :default_value, -> { String }, optional: false, nullable: false, api_name: "defaultValue" - - field :max_length, -> { Integer }, optional: false, nullable: true, api_name: "maxLength" - - field :multiline, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :password, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :comb, -> { Internal::Types::Boolean }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_default_value_entry.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_default_value_entry.rb deleted file mode 100644 index dfa62b30..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_default_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemTextDefaultValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_default_value_entry_array.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_default_value_entry_array.rb deleted file mode 100644 index a53b5613..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_default_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_default_value_entry_none.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_default_value_entry_none.rb deleted file mode 100644 index 0ea07d6e..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_default_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_default_value_entry_scalar.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_default_value_entry_scalar.rb deleted file mode 100644 index 864c28fe..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_default_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_default_value_entry_unsupported.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_default_value_entry_unsupported.rb deleted file mode 100644 index 4b67d31b..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_default_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_flags.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_flags.rb deleted file mode 100644 index dc24505a..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_flags.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemTextFlags < Internal::Types::Model - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :required, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_export, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noExport" - - field :raw, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_origin.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_origin.rb deleted file mode 100644 index f06fe96c..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_origin.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsGet200ResponseFieldsItemTextOrigin - extend CloudPDF::Internal::Types::Enum - - ACROFORM = "acroform" - RECOVERED = "recovered" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_ref.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_ref.rb deleted file mode 100644 index 633ab205..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_ref.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemTextRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemTextRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemTextRefFqn }, key: "FQN" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_ref_fqn.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_ref_fqn.rb deleted file mode 100644 index 86538585..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_ref_fqn.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemTextRefFqn < Internal::Types::Model - field :name, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_ref_object_number.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_ref_object_number.rb deleted file mode 100644 index 1e160bc1..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_ref_object_number.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemTextRefObjectNumber < Internal::Types::Model - field :field_object_number, -> { Integer }, optional: false, nullable: false, api_name: "fieldObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_value_entry.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_value_entry.rb deleted file mode 100644 index 573d5235..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemTextValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemTextValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemTextValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemTextValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_value_entry_array.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_value_entry_array.rb deleted file mode 100644 index 6507fe89..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemTextValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_value_entry_none.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_value_entry_none.rb deleted file mode 100644 index a3d6c470..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemTextValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_value_entry_scalar.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_value_entry_scalar.rb deleted file mode 100644 index 3c1079f8..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemTextValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_value_entry_unsupported.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_value_entry_unsupported.rb deleted file mode 100644 index 778aecd1..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_widgets_item.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_widgets_item.rb deleted file mode 100644 index cd5a7757..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_text_widgets_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemTextWidgetsItem < Internal::Types::Model - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown.rb deleted file mode 100644 index d5f96795..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown.rb +++ /dev/null @@ -1,31 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemUnknown < Internal::Types::Model - field :ref, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemUnknownRef }, optional: false, nullable: false - - field :field_object_number, -> { Integer }, optional: false, nullable: false, api_name: "fieldObjectNumber" - - field :name, -> { String }, optional: false, nullable: false - - field :origin, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemUnknownOrigin }, optional: false, nullable: false - - field :flags, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemUnknownFlags }, optional: false, nullable: false - - field :alternate_name, -> { String }, optional: false, nullable: true, api_name: "alternateName" - - field :mapping_name, -> { String }, optional: false, nullable: true, api_name: "mappingName" - - field :value_entry, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemUnknownValueEntry }, optional: false, nullable: false, api_name: "valueEntry" - - field :default_value_entry, -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" - - field :actions, -> { CloudPDF::Types::PdfFieldActions }, optional: true, nullable: false - - field :widgets, -> { Internal::Types::Array[CloudPDF::Types::DocFormsGet200ResponseFieldsItemUnknownWidgetsItem] }, optional: false, nullable: false - - field :raw_value, -> { String }, optional: false, nullable: false, api_name: "rawValue" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_default_value_entry.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_default_value_entry.rb deleted file mode 100644 index ffdb8444..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_default_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_default_value_entry_array.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_default_value_entry_array.rb deleted file mode 100644 index bcc711ce..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_default_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_default_value_entry_none.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_default_value_entry_none.rb deleted file mode 100644 index 7d691bbc..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_default_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_default_value_entry_scalar.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_default_value_entry_scalar.rb deleted file mode 100644 index 8f78fe77..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_default_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_default_value_entry_unsupported.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_default_value_entry_unsupported.rb deleted file mode 100644 index 248d1e79..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_default_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_flags.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_flags.rb deleted file mode 100644 index fb259ab6..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_flags.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemUnknownFlags < Internal::Types::Model - field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" - - field :required, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :no_export, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noExport" - - field :raw, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_origin.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_origin.rb deleted file mode 100644 index a24f06d9..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_origin.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsGet200ResponseFieldsItemUnknownOrigin - extend CloudPDF::Internal::Types::Enum - - ACROFORM = "acroform" - RECOVERED = "recovered" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_ref.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_ref.rb deleted file mode 100644 index 2de7f41b..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_ref.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemUnknownRef < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemUnknownRefFqn }, key: "FQN" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_ref_fqn.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_ref_fqn.rb deleted file mode 100644 index 95e1e1b6..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_ref_fqn.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemUnknownRefFqn < Internal::Types::Model - field :name, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_ref_object_number.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_ref_object_number.rb deleted file mode 100644 index 81e1eea9..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_ref_object_number.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber < Internal::Types::Model - field :field_object_number, -> { Integer }, optional: false, nullable: false, api_name: "fieldObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_value_entry.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_value_entry.rb deleted file mode 100644 index 0eb41e49..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_value_entry.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemUnknownValueEntry < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemUnknownValueEntryNone }, key: "NONE" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar }, key: "SCALAR" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemUnknownValueEntryArray }, key: "ARRAY" - - member -> { CloudPDF::Types::DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported }, key: "UNSUPPORTED" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_value_entry_array.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_value_entry_array.rb deleted file mode 100644 index 37c76343..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_value_entry_array.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemUnknownValueEntryArray < Internal::Types::Model - field :values, -> { Internal::Types::Array[String] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_value_entry_none.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_value_entry_none.rb deleted file mode 100644 index 9e7806e8..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_value_entry_none.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemUnknownValueEntryNone < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_value_entry_scalar.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_value_entry_scalar.rb deleted file mode 100644 index 3e4f3fdd..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_value_entry_scalar.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar < Internal::Types::Model - field :value, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_value_entry_unsupported.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_value_entry_unsupported.rb deleted file mode 100644 index ec980972..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_value_entry_unsupported.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_widgets_item.rb b/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_widgets_item.rb deleted file mode 100644 index ceccc990..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_fields_item_unknown_widgets_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet200ResponseFieldsItemUnknownWidgetsItem < Internal::Types::Model - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get200response_form_kind.rb b/lib/CloudPDF/types/doc_forms_get200response_form_kind.rb deleted file mode 100644 index 2eb1925e..00000000 --- a/lib/CloudPDF/types/doc_forms_get200response_form_kind.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsGet200ResponseFormKind - extend CloudPDF::Internal::Types::Enum - - NONE = "none" - ACROFORM = "acroform" - XFA = "xfa" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get404response.rb b/lib/CloudPDF/types/doc_forms_get404response.rb deleted file mode 100644 index 09b67f4e..00000000 --- a/lib/CloudPDF/types/doc_forms_get404response.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsGet404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocFormsGet404ResponseName }, optional: false, nullable: false - - field :code, -> { CloudPDF::Types::DocFormsGet404ResponseCode }, 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/doc_forms_get404response_code.rb b/lib/CloudPDF/types/doc_forms_get404response_code.rb deleted file mode 100644 index f19ae8ec..00000000 --- a/lib/CloudPDF/types/doc_forms_get404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsGet404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_get404response_name.rb b/lib/CloudPDF/types/doc_forms_get404response_name.rb deleted file mode 100644 index a30d2777..00000000 --- a/lib/CloudPDF/types/doc_forms_get404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsGet404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_import_data200response.rb b/lib/CloudPDF/types/doc_forms_import_data200response.rb deleted file mode 100644 index aa9a0d8b..00000000 --- a/lib/CloudPDF/types/doc_forms_import_data200response.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsImportData200Response < Internal::Types::Model - field :meta, -> { CloudPDF::Types::DocFormsImportData200ResponseMeta }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_import_data200response_meta.rb b/lib/CloudPDF/types/doc_forms_import_data200response_meta.rb deleted file mode 100644 index 384846dd..00000000 --- a/lib/CloudPDF/types/doc_forms_import_data200response_meta.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsImportData200ResponseMeta < Internal::Types::Model - field :affected_pages, -> { Internal::Types::Array[CloudPDF::Types::DocFormsImportData200ResponseMetaAffectedPagesItem] }, optional: false, nullable: false, api_name: "affectedPages" - - field :cache_delta, -> { CloudPDF::Types::DocFormsImportData200ResponseMetaCacheDelta }, optional: false, nullable: true, api_name: "cacheDelta" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_import_data200response_meta_affected_pages_item.rb b/lib/CloudPDF/types/doc_forms_import_data200response_meta_affected_pages_item.rb deleted file mode 100644 index c8c0630f..00000000 --- a/lib/CloudPDF/types/doc_forms_import_data200response_meta_affected_pages_item.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsImportData200ResponseMetaAffectedPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :revision, -> { CloudPDF::Types::DocFormsImportData200ResponseMetaAffectedPagesItemRevision }, optional: false, nullable: false - - field :weak_annotation_state, -> { CloudPDF::Types::DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState }, optional: false, nullable: false, api_name: "weakAnnotationState" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_import_data200response_meta_affected_pages_item_revision.rb b/lib/CloudPDF/types/doc_forms_import_data200response_meta_affected_pages_item_revision.rb deleted file mode 100644 index 00117bd5..00000000 --- a/lib/CloudPDF/types/doc_forms_import_data200response_meta_affected_pages_item_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsImportData200ResponseMetaAffectedPagesItemRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_import_data200response_meta_affected_pages_item_weak_annotation_state.rb b/lib/CloudPDF/types/doc_forms_import_data200response_meta_affected_pages_item_weak_annotation_state.rb deleted file mode 100644 index 38cbd557..00000000 --- a/lib/CloudPDF/types/doc_forms_import_data200response_meta_affected_pages_item_weak_annotation_state.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown }, key: "UNKNOWN" - - member -> { CloudPDF::Types::DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown }, key: "KNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_import_data200response_meta_affected_pages_item_weak_annotation_state_known.rb b/lib/CloudPDF/types/doc_forms_import_data200response_meta_affected_pages_item_weak_annotation_state_known.rb deleted file mode 100644 index 3831a8b9..00000000 --- a/lib/CloudPDF/types/doc_forms_import_data200response_meta_affected_pages_item_weak_annotation_state_known.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown < Internal::Types::Model - field :has_any_weak_annotations, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAnyWeakAnnotations" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_import_data200response_meta_affected_pages_item_weak_annotation_state_unknown.rb b/lib/CloudPDF/types/doc_forms_import_data200response_meta_affected_pages_item_weak_annotation_state_unknown.rb deleted file mode 100644 index cd6b727c..00000000 --- a/lib/CloudPDF/types/doc_forms_import_data200response_meta_affected_pages_item_weak_annotation_state_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_import_data200response_meta_cache_delta.rb b/lib/CloudPDF/types/doc_forms_import_data200response_meta_cache_delta.rb deleted file mode 100644 index c1194610..00000000 --- a/lib/CloudPDF/types/doc_forms_import_data200response_meta_cache_delta.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsImportData200ResponseMetaCacheDelta < Internal::Types::Model - field :previous_doc_version, -> { Integer }, optional: false, nullable: false, api_name: "previousDocVersion" - - field :doc_version, -> { Integer }, optional: false, nullable: false, api_name: "docVersion" - - field :annotations_version, -> { Integer }, optional: true, nullable: false, api_name: "annotationsVersion" - - field :layer_version, -> { Integer }, optional: true, nullable: false, api_name: "layerVersion" - - field :working, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocFormsImportData200ResponseMetaCacheDeltaPagesItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_import_data200response_meta_cache_delta_pages_item.rb b/lib/CloudPDF/types/doc_forms_import_data200response_meta_cache_delta_pages_item.rb deleted file mode 100644 index 3ec3528f..00000000 --- a/lib/CloudPDF/types/doc_forms_import_data200response_meta_cache_delta_pages_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsImportData200ResponseMetaCacheDeltaPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :cache, -> { CloudPDF::Types::DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_import_data200response_meta_cache_delta_pages_item_cache.rb b/lib/CloudPDF/types/doc_forms_import_data200response_meta_cache_delta_pages_item_cache.rb deleted file mode 100644 index 915bc774..00000000 --- a/lib/CloudPDF/types/doc_forms_import_data200response_meta_cache_delta_pages_item_cache.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache < 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" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_import_data400response.rb b/lib/CloudPDF/types/doc_forms_import_data400response.rb deleted file mode 100644 index f4bfb494..00000000 --- a/lib/CloudPDF/types/doc_forms_import_data400response.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsImportData400Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocFormsImportData400ResponseName }, optional: false, nullable: false - - field :code, -> { CloudPDF::Types::DocFormsImportData400ResponseCode }, 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/doc_forms_import_data400response_code.rb b/lib/CloudPDF/types/doc_forms_import_data400response_code.rb deleted file mode 100644 index 4059360d..00000000 --- a/lib/CloudPDF/types/doc_forms_import_data400response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsImportData400ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_import_data400response_name.rb b/lib/CloudPDF/types/doc_forms_import_data400response_name.rb deleted file mode 100644 index 104e400e..00000000 --- a/lib/CloudPDF/types/doc_forms_import_data400response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsImportData400ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_import_data404response.rb b/lib/CloudPDF/types/doc_forms_import_data404response.rb deleted file mode 100644 index 2e67505a..00000000 --- a/lib/CloudPDF/types/doc_forms_import_data404response.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsImportData404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocFormsImportData404ResponseName }, optional: false, nullable: false - - field :code, -> { CloudPDF::Types::DocFormsImportData404ResponseCode }, 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/doc_forms_import_data404response_code.rb b/lib/CloudPDF/types/doc_forms_import_data404response_code.rb deleted file mode 100644 index 9775f825..00000000 --- a/lib/CloudPDF/types/doc_forms_import_data404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsImportData404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_import_data404response_name.rb b/lib/CloudPDF/types/doc_forms_import_data404response_name.rb deleted file mode 100644 index ba3f20e4..00000000 --- a/lib/CloudPDF/types/doc_forms_import_data404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsImportData404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_import_data_request.rb b/lib/CloudPDF/types/doc_forms_import_data_request.rb deleted file mode 100644 index be598f81..00000000 --- a/lib/CloudPDF/types/doc_forms_import_data_request.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsImportDataRequest - # DocFormsImportDataRequest 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_forms_list200response.rb b/lib/CloudPDF/types/doc_forms_list200response.rb new file mode 100644 index 00000000..07744776 --- /dev/null +++ b/lib/CloudPDF/types/doc_forms_list200response.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 00000000..a66c1c21 --- /dev/null +++ b/lib/CloudPDF/types/doc_forms_list200response_form_kind.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 00000000..be6d9138 --- /dev/null +++ b/lib/CloudPDF/types/doc_forms_list404response.rb @@ -0,0 +1,23 @@ +# 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_reorder_calculations200response.rb b/lib/CloudPDF/types/doc_forms_reorder_calculations200response.rb new file mode 100644 index 00000000..ed04b076 --- /dev/null +++ b/lib/CloudPDF/types/doc_forms_reorder_calculations200response.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 00000000..5a3a48c5 --- /dev/null +++ b/lib/CloudPDF/types/doc_forms_reorder_calculations400response.rb @@ -0,0 +1,23 @@ +# 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 new file mode 100644 index 00000000..9f682c75 --- /dev/null +++ b/lib/CloudPDF/types/doc_forms_reorder_calculations404response.rb @@ -0,0 +1,23 @@ +# 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_widgets200response.rb b/lib/CloudPDF/types/doc_forms_reorder_widgets200response.rb new file mode 100644 index 00000000..0829895d --- /dev/null +++ b/lib/CloudPDF/types/doc_forms_reorder_widgets200response.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 00000000..ae56b501 --- /dev/null +++ b/lib/CloudPDF/types/doc_forms_reorder_widgets400response.rb @@ -0,0 +1,23 @@ +# 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 new file mode 100644 index 00000000..57341ab4 --- /dev/null +++ b/lib/CloudPDF/types/doc_forms_reorder_widgets404response.rb @@ -0,0 +1,23 @@ +# 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_reset200response.rb b/lib/CloudPDF/types/doc_forms_reset200response.rb index 042bbaca..969ab968 100644 --- a/lib/CloudPDF/types/doc_forms_reset200response.rb +++ b/lib/CloudPDF/types/doc_forms_reset200response.rb @@ -3,7 +3,11 @@ module CloudPDF module Types class DocFormsReset200Response < Internal::Types::Model - field :meta, -> { CloudPDF::Types::DocFormsReset200ResponseMeta }, optional: false, nullable: false + 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_reset200response_meta.rb b/lib/CloudPDF/types/doc_forms_reset200response_meta.rb deleted file mode 100644 index 21c8ab0c..00000000 --- a/lib/CloudPDF/types/doc_forms_reset200response_meta.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsReset200ResponseMeta < Internal::Types::Model - field :affected_pages, -> { Internal::Types::Array[CloudPDF::Types::DocFormsReset200ResponseMetaAffectedPagesItem] }, optional: false, nullable: false, api_name: "affectedPages" - - field :cache_delta, -> { CloudPDF::Types::DocFormsReset200ResponseMetaCacheDelta }, optional: false, nullable: true, api_name: "cacheDelta" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_reset200response_meta_affected_pages_item.rb b/lib/CloudPDF/types/doc_forms_reset200response_meta_affected_pages_item.rb deleted file mode 100644 index 4923a093..00000000 --- a/lib/CloudPDF/types/doc_forms_reset200response_meta_affected_pages_item.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsReset200ResponseMetaAffectedPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :revision, -> { CloudPDF::Types::DocFormsReset200ResponseMetaAffectedPagesItemRevision }, optional: false, nullable: false - - field :weak_annotation_state, -> { CloudPDF::Types::DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState }, optional: false, nullable: false, api_name: "weakAnnotationState" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_reset200response_meta_affected_pages_item_revision.rb b/lib/CloudPDF/types/doc_forms_reset200response_meta_affected_pages_item_revision.rb deleted file mode 100644 index aebca23f..00000000 --- a/lib/CloudPDF/types/doc_forms_reset200response_meta_affected_pages_item_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsReset200ResponseMetaAffectedPagesItemRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_reset200response_meta_affected_pages_item_weak_annotation_state.rb b/lib/CloudPDF/types/doc_forms_reset200response_meta_affected_pages_item_weak_annotation_state.rb deleted file mode 100644 index de67ecc4..00000000 --- a/lib/CloudPDF/types/doc_forms_reset200response_meta_affected_pages_item_weak_annotation_state.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown }, key: "UNKNOWN" - - member -> { CloudPDF::Types::DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown }, key: "KNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_reset200response_meta_affected_pages_item_weak_annotation_state_known.rb b/lib/CloudPDF/types/doc_forms_reset200response_meta_affected_pages_item_weak_annotation_state_known.rb deleted file mode 100644 index 5e833741..00000000 --- a/lib/CloudPDF/types/doc_forms_reset200response_meta_affected_pages_item_weak_annotation_state_known.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown < Internal::Types::Model - field :has_any_weak_annotations, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAnyWeakAnnotations" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_reset200response_meta_affected_pages_item_weak_annotation_state_unknown.rb b/lib/CloudPDF/types/doc_forms_reset200response_meta_affected_pages_item_weak_annotation_state_unknown.rb deleted file mode 100644 index 2f446b7a..00000000 --- a/lib/CloudPDF/types/doc_forms_reset200response_meta_affected_pages_item_weak_annotation_state_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_reset200response_meta_cache_delta.rb b/lib/CloudPDF/types/doc_forms_reset200response_meta_cache_delta.rb deleted file mode 100644 index c633d412..00000000 --- a/lib/CloudPDF/types/doc_forms_reset200response_meta_cache_delta.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsReset200ResponseMetaCacheDelta < Internal::Types::Model - field :previous_doc_version, -> { Integer }, optional: false, nullable: false, api_name: "previousDocVersion" - - field :doc_version, -> { Integer }, optional: false, nullable: false, api_name: "docVersion" - - field :annotations_version, -> { Integer }, optional: true, nullable: false, api_name: "annotationsVersion" - - field :layer_version, -> { Integer }, optional: true, nullable: false, api_name: "layerVersion" - - field :working, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocFormsReset200ResponseMetaCacheDeltaPagesItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_reset200response_meta_cache_delta_pages_item.rb b/lib/CloudPDF/types/doc_forms_reset200response_meta_cache_delta_pages_item.rb deleted file mode 100644 index 54f27bb2..00000000 --- a/lib/CloudPDF/types/doc_forms_reset200response_meta_cache_delta_pages_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsReset200ResponseMetaCacheDeltaPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :cache, -> { CloudPDF::Types::DocFormsReset200ResponseMetaCacheDeltaPagesItemCache }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_reset200response_meta_cache_delta_pages_item_cache.rb b/lib/CloudPDF/types/doc_forms_reset200response_meta_cache_delta_pages_item_cache.rb deleted file mode 100644 index d8c4295b..00000000 --- a/lib/CloudPDF/types/doc_forms_reset200response_meta_cache_delta_pages_item_cache.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsReset200ResponseMetaCacheDeltaPagesItemCache < 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" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_reset400response.rb b/lib/CloudPDF/types/doc_forms_reset400response.rb new file mode 100644 index 00000000..dafee8c0 --- /dev/null +++ b/lib/CloudPDF/types/doc_forms_reset400response.rb @@ -0,0 +1,23 @@ +# 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 index 3a2c0c1f..00a54f84 100644 --- a/lib/CloudPDF/types/doc_forms_reset404response.rb +++ b/lib/CloudPDF/types/doc_forms_reset404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocFormsReset404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocFormsReset404ResponseName }, optional: false, nullable: false + module DocFormsReset404Response + # DocFormsReset404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocFormsReset404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_code.rb b/lib/CloudPDF/types/doc_forms_reset404response_code.rb deleted file mode 100644 index 0bc46388..00000000 --- a/lib/CloudPDF/types/doc_forms_reset404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsReset404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_reset404response_name.rb b/lib/CloudPDF/types/doc_forms_reset404response_name.rb deleted file mode 100644 index 8a5874d4..00000000 --- a/lib/CloudPDF/types/doc_forms_reset404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsReset404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_set_value200response.rb b/lib/CloudPDF/types/doc_forms_set_value200response.rb index bcb4db0f..1af75b18 100644 --- a/lib/CloudPDF/types/doc_forms_set_value200response.rb +++ b/lib/CloudPDF/types/doc_forms_set_value200response.rb @@ -3,7 +3,11 @@ module CloudPDF module Types class DocFormsSetValue200Response < Internal::Types::Model - field :meta, -> { CloudPDF::Types::DocFormsSetValue200ResponseMeta }, optional: false, nullable: false + 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_value200response_meta.rb b/lib/CloudPDF/types/doc_forms_set_value200response_meta.rb deleted file mode 100644 index ea51355e..00000000 --- a/lib/CloudPDF/types/doc_forms_set_value200response_meta.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsSetValue200ResponseMeta < Internal::Types::Model - field :affected_pages, -> { Internal::Types::Array[CloudPDF::Types::DocFormsSetValue200ResponseMetaAffectedPagesItem] }, optional: false, nullable: false, api_name: "affectedPages" - - field :cache_delta, -> { CloudPDF::Types::DocFormsSetValue200ResponseMetaCacheDelta }, optional: false, nullable: true, api_name: "cacheDelta" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_set_value200response_meta_affected_pages_item.rb b/lib/CloudPDF/types/doc_forms_set_value200response_meta_affected_pages_item.rb deleted file mode 100644 index 69ec2060..00000000 --- a/lib/CloudPDF/types/doc_forms_set_value200response_meta_affected_pages_item.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsSetValue200ResponseMetaAffectedPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :revision, -> { CloudPDF::Types::DocFormsSetValue200ResponseMetaAffectedPagesItemRevision }, optional: false, nullable: false - - field :weak_annotation_state, -> { CloudPDF::Types::DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState }, optional: false, nullable: false, api_name: "weakAnnotationState" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_set_value200response_meta_affected_pages_item_revision.rb b/lib/CloudPDF/types/doc_forms_set_value200response_meta_affected_pages_item_revision.rb deleted file mode 100644 index cc80ec09..00000000 --- a/lib/CloudPDF/types/doc_forms_set_value200response_meta_affected_pages_item_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsSetValue200ResponseMetaAffectedPagesItemRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_set_value200response_meta_affected_pages_item_weak_annotation_state.rb b/lib/CloudPDF/types/doc_forms_set_value200response_meta_affected_pages_item_weak_annotation_state.rb deleted file mode 100644 index 55e8e598..00000000 --- a/lib/CloudPDF/types/doc_forms_set_value200response_meta_affected_pages_item_weak_annotation_state.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown }, key: "UNKNOWN" - - member -> { CloudPDF::Types::DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown }, key: "KNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_set_value200response_meta_affected_pages_item_weak_annotation_state_known.rb b/lib/CloudPDF/types/doc_forms_set_value200response_meta_affected_pages_item_weak_annotation_state_known.rb deleted file mode 100644 index 8aab05af..00000000 --- a/lib/CloudPDF/types/doc_forms_set_value200response_meta_affected_pages_item_weak_annotation_state_known.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown < Internal::Types::Model - field :has_any_weak_annotations, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAnyWeakAnnotations" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_set_value200response_meta_affected_pages_item_weak_annotation_state_unknown.rb b/lib/CloudPDF/types/doc_forms_set_value200response_meta_affected_pages_item_weak_annotation_state_unknown.rb deleted file mode 100644 index 68910fa6..00000000 --- a/lib/CloudPDF/types/doc_forms_set_value200response_meta_affected_pages_item_weak_annotation_state_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_forms_set_value200response_meta_cache_delta.rb b/lib/CloudPDF/types/doc_forms_set_value200response_meta_cache_delta.rb deleted file mode 100644 index 0ae89f7f..00000000 --- a/lib/CloudPDF/types/doc_forms_set_value200response_meta_cache_delta.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsSetValue200ResponseMetaCacheDelta < Internal::Types::Model - field :previous_doc_version, -> { Integer }, optional: false, nullable: false, api_name: "previousDocVersion" - - field :doc_version, -> { Integer }, optional: false, nullable: false, api_name: "docVersion" - - field :annotations_version, -> { Integer }, optional: true, nullable: false, api_name: "annotationsVersion" - - field :layer_version, -> { Integer }, optional: true, nullable: false, api_name: "layerVersion" - - field :working, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocFormsSetValue200ResponseMetaCacheDeltaPagesItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_set_value200response_meta_cache_delta_pages_item.rb b/lib/CloudPDF/types/doc_forms_set_value200response_meta_cache_delta_pages_item.rb deleted file mode 100644 index e55f86f3..00000000 --- a/lib/CloudPDF/types/doc_forms_set_value200response_meta_cache_delta_pages_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsSetValue200ResponseMetaCacheDeltaPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :cache, -> { CloudPDF::Types::DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_set_value200response_meta_cache_delta_pages_item_cache.rb b/lib/CloudPDF/types/doc_forms_set_value200response_meta_cache_delta_pages_item_cache.rb deleted file mode 100644 index 36487cb1..00000000 --- a/lib/CloudPDF/types/doc_forms_set_value200response_meta_cache_delta_pages_item_cache.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache < 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" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_set_value400response.rb b/lib/CloudPDF/types/doc_forms_set_value400response.rb index 9435b6b9..a8bc5dfb 100644 --- a/lib/CloudPDF/types/doc_forms_set_value400response.rb +++ b/lib/CloudPDF/types/doc_forms_set_value400response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocFormsSetValue400Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocFormsSetValue400ResponseName }, optional: false, nullable: false + module DocFormsSetValue400Response + # DocFormsSetValue400Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocFormsSetValue400ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_value400response_code.rb b/lib/CloudPDF/types/doc_forms_set_value400response_code.rb deleted file mode 100644 index be825e6c..00000000 --- a/lib/CloudPDF/types/doc_forms_set_value400response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsSetValue400ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_set_value400response_name.rb b/lib/CloudPDF/types/doc_forms_set_value400response_name.rb deleted file mode 100644 index 9be82d6d..00000000 --- a/lib/CloudPDF/types/doc_forms_set_value400response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsSetValue400ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_set_value404response.rb b/lib/CloudPDF/types/doc_forms_set_value404response.rb index e338ee3a..dcbc7b2d 100644 --- a/lib/CloudPDF/types/doc_forms_set_value404response.rb +++ b/lib/CloudPDF/types/doc_forms_set_value404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocFormsSetValue404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocFormsSetValue404ResponseName }, optional: false, nullable: false + module DocFormsSetValue404Response + # DocFormsSetValue404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocFormsSetValue404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_code.rb b/lib/CloudPDF/types/doc_forms_set_value404response_code.rb deleted file mode 100644 index 5468254f..00000000 --- a/lib/CloudPDF/types/doc_forms_set_value404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsSetValue404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_set_value404response_name.rb b/lib/CloudPDF/types/doc_forms_set_value404response_name.rb deleted file mode 100644 index 645fac0f..00000000 --- a/lib/CloudPDF/types/doc_forms_set_value404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocFormsSetValue404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_forms_update_widget200response.rb b/lib/CloudPDF/types/doc_forms_update_widget200response.rb new file mode 100644 index 00000000..4c764dde --- /dev/null +++ b/lib/CloudPDF/types/doc_forms_update_widget200response.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 00000000..49972cb1 --- /dev/null +++ b/lib/CloudPDF/types/doc_forms_update_widget200response_appearance.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 00000000..a8f96a00 --- /dev/null +++ b/lib/CloudPDF/types/doc_forms_update_widget200response_appearance_action.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 00000000..3c538d9b --- /dev/null +++ b/lib/CloudPDF/types/doc_forms_update_widget400response.rb @@ -0,0 +1,23 @@ +# 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 new file mode 100644 index 00000000..0e9c58e8 --- /dev/null +++ b/lib/CloudPDF/types/doc_forms_update_widget404response.rb @@ -0,0 +1,23 @@ +# 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_head404response.rb b/lib/CloudPDF/types/doc_head404response.rb index 5568fc27..919fdf4e 100644 --- a/lib/CloudPDF/types/doc_head404response.rb +++ b/lib/CloudPDF/types/doc_head404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocHead404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocHead404ResponseName }, optional: false, nullable: false + module DocHead404Response + # DocHead404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocHead404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_head404response_code.rb b/lib/CloudPDF/types/doc_head404response_code.rb deleted file mode 100644 index 095042fb..00000000 --- a/lib/CloudPDF/types/doc_head404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocHead404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_head404response_name.rb b/lib/CloudPDF/types/doc_head404response_name.rb deleted file mode 100644 index f55647db..00000000 --- a/lib/CloudPDF/types/doc_head404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocHead404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_manifest200response.rb b/lib/CloudPDF/types/doc_manifest200response.rb index 3b18c3ce..2e0ac094 100644 --- a/lib/CloudPDF/types/doc_manifest200response.rb +++ b/lib/CloudPDF/types/doc_manifest200response.rb @@ -15,6 +15,8 @@ class DocManifest200Response < Internal::Types::Model field :annotations_version, -> { Integer }, optional: true, nullable: false, api_name: "annotationsVersion" + field :forms_version, -> { Integer }, optional: true, nullable: false, api_name: "formsVersion" + field :audit_head, -> { Integer }, optional: false, nullable: false, api_name: "auditHead" field :base_sha, -> { String }, optional: false, nullable: false, api_name: "baseSha" @@ -27,6 +29,8 @@ class DocManifest200Response < Internal::Types::Model 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 diff --git a/lib/CloudPDF/types/doc_manifest200response_pages_item.rb b/lib/CloudPDF/types/doc_manifest200response_pages_item.rb index d04e7aa9..f548d8df 100644 --- a/lib/CloudPDF/types/doc_manifest200response_pages_item.rb +++ b/lib/CloudPDF/types/doc_manifest200response_pages_item.rb @@ -3,7 +3,7 @@ module CloudPDF module Types class DocManifest200ResponsePagesItem < Internal::Types::Model - field :state, -> { CloudPDF::Types::DocManifest200ResponsePagesItemState }, optional: false, nullable: false + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false field :cache, -> { CloudPDF::Types::DocManifest200ResponsePagesItemCache }, optional: false, nullable: false end diff --git a/lib/CloudPDF/types/doc_manifest200response_pages_item_cache.rb b/lib/CloudPDF/types/doc_manifest200response_pages_item_cache.rb index 2246432c..f55b06f2 100644 --- a/lib/CloudPDF/types/doc_manifest200response_pages_item_cache.rb +++ b/lib/CloudPDF/types/doc_manifest200response_pages_item_cache.rb @@ -6,6 +6,8 @@ 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_pages_item_state.rb b/lib/CloudPDF/types/doc_manifest200response_pages_item_state.rb deleted file mode 100644 index 26b4b685..00000000 --- a/lib/CloudPDF/types/doc_manifest200response_pages_item_state.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocManifest200ResponsePagesItemState < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :revision, -> { CloudPDF::Types::DocManifest200ResponsePagesItemStateRevision }, optional: false, nullable: false - - field :weak_annotation_state, -> { CloudPDF::Types::DocManifest200ResponsePagesItemStateWeakAnnotationState }, optional: false, nullable: false, api_name: "weakAnnotationState" - end - end -end diff --git a/lib/CloudPDF/types/doc_manifest200response_pages_item_state_revision.rb b/lib/CloudPDF/types/doc_manifest200response_pages_item_state_revision.rb deleted file mode 100644 index 2e4a74af..00000000 --- a/lib/CloudPDF/types/doc_manifest200response_pages_item_state_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocManifest200ResponsePagesItemStateRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_manifest200response_pages_item_state_weak_annotation_state.rb b/lib/CloudPDF/types/doc_manifest200response_pages_item_state_weak_annotation_state.rb deleted file mode 100644 index f1a10593..00000000 --- a/lib/CloudPDF/types/doc_manifest200response_pages_item_state_weak_annotation_state.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocManifest200ResponsePagesItemStateWeakAnnotationState < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocManifest200ResponsePagesItemStateWeakAnnotationStateUnknown }, key: "UNKNOWN" - - member -> { CloudPDF::Types::DocManifest200ResponsePagesItemStateWeakAnnotationStateKnown }, key: "KNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_manifest200response_pages_item_state_weak_annotation_state_known.rb b/lib/CloudPDF/types/doc_manifest200response_pages_item_state_weak_annotation_state_known.rb deleted file mode 100644 index 9a67cc6b..00000000 --- a/lib/CloudPDF/types/doc_manifest200response_pages_item_state_weak_annotation_state_known.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocManifest200ResponsePagesItemStateWeakAnnotationStateKnown < Internal::Types::Model - field :has_any_weak_annotations, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAnyWeakAnnotations" - end - end -end diff --git a/lib/CloudPDF/types/doc_manifest200response_pages_item_state_weak_annotation_state_unknown.rb b/lib/CloudPDF/types/doc_manifest200response_pages_item_state_weak_annotation_state_unknown.rb deleted file mode 100644 index d1ec6ea1..00000000 --- a/lib/CloudPDF/types/doc_manifest200response_pages_item_state_weak_annotation_state_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocManifest200ResponsePagesItemStateWeakAnnotationStateUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_manifest200response_protection.rb b/lib/CloudPDF/types/doc_manifest200response_protection.rb new file mode 100644 index 00000000..b8b10da6 --- /dev/null +++ b/lib/CloudPDF/types/doc_manifest200response_protection.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 00000000..fa249b56 --- /dev/null +++ b/lib/CloudPDF/types/doc_manifest200response_protection_certification.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 00000000..8f3bd1a6 --- /dev/null +++ b/lib/CloudPDF/types/doc_manifest200response_protection_enforced.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 00000000..06711884 --- /dev/null +++ b/lib/CloudPDF/types/doc_manifest200response_protection_field_locks_item.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 00000000..a91e5999 --- /dev/null +++ b/lib/CloudPDF/types/doc_manifest200response_protection_field_locks_item_source.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 00000000..3c012e21 --- /dev/null +++ b/lib/CloudPDF/types/doc_manifest200response_protection_field_locks_item_spec.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 00000000..5148ab94 --- /dev/null +++ b/lib/CloudPDF/types/doc_manifest200response_protection_field_locks_item_spec_action.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 00000000..f48e6353 --- /dev/null +++ b/lib/CloudPDF/types/doc_manifest200response_protection_judged.rb @@ -0,0 +1,14 @@ +# 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 index 9c5ecbcf..d2dbf49e 100644 --- a/lib/CloudPDF/types/doc_manifest200response_scopes.rb +++ b/lib/CloudPDF/types/doc_manifest200response_scopes.rb @@ -7,6 +7,8 @@ class DocManifest200ResponseScopes < Internal::Types::Model 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 diff --git a/lib/CloudPDF/types/doc_manifest200response_scopes_forms.rb b/lib/CloudPDF/types/doc_manifest200response_scopes_forms.rb new file mode 100644 index 00000000..57d3f817 --- /dev/null +++ b/lib/CloudPDF/types/doc_manifest200response_scopes_forms.rb @@ -0,0 +1,12 @@ +# 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_manifest404response.rb b/lib/CloudPDF/types/doc_manifest404response.rb index 538dcbfe..8c5e2a9a 100644 --- a/lib/CloudPDF/types/doc_manifest404response.rb +++ b/lib/CloudPDF/types/doc_manifest404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocManifest404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocManifest404ResponseName }, optional: false, nullable: false + module DocManifest404Response + # DocManifest404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocManifest404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_manifest404response_code.rb b/lib/CloudPDF/types/doc_manifest404response_code.rb deleted file mode 100644 index e5c70e65..00000000 --- a/lib/CloudPDF/types/doc_manifest404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocManifest404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_manifest404response_name.rb b/lib/CloudPDF/types/doc_manifest404response_name.rb deleted file mode 100644 index 3bb1193b..00000000 --- a/lib/CloudPDF/types/doc_manifest404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocManifest404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_metadata_custom_get200response.rb b/lib/CloudPDF/types/doc_metadata_custom_get200response.rb new file mode 100644 index 00000000..7573ba9d --- /dev/null +++ b/lib/CloudPDF/types/doc_metadata_custom_get200response.rb @@ -0,0 +1,23 @@ +# 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 new file mode 100644 index 00000000..8293827a --- /dev/null +++ b/lib/CloudPDF/types/doc_metadata_custom_get404response.rb @@ -0,0 +1,23 @@ +# 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_get200response.rb b/lib/CloudPDF/types/doc_metadata_get200response.rb index 65c6586d..93956955 100644 --- a/lib/CloudPDF/types/doc_metadata_get200response.rb +++ b/lib/CloudPDF/types/doc_metadata_get200response.rb @@ -2,26 +2,22 @@ module CloudPDF module Types - class DocMetadataGet200Response < Internal::Types::Model - field :title, -> { String }, optional: false, nullable: true - - field :author, -> { String }, optional: false, nullable: true - - field :subject, -> { String }, optional: false, nullable: true - - field :keywords, -> { String }, optional: false, nullable: true - - field :producer, -> { String }, optional: false, nullable: true - - field :creator, -> { String }, optional: false, nullable: true - - field :created, -> { String }, optional: false, nullable: true - - field :modified, -> { String }, optional: false, nullable: true - - field :trapped, -> { CloudPDF::Types::DocMetadataGet200ResponseTrapped }, optional: false, nullable: false - - field :custom, -> { Internal::Types::Hash[String, String] }, optional: false, nullable: false + 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_get200response_trapped.rb b/lib/CloudPDF/types/doc_metadata_get200response_trapped.rb deleted file mode 100644 index 7fc5bfdb..00000000 --- a/lib/CloudPDF/types/doc_metadata_get200response_trapped.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocMetadataGet200ResponseTrapped - extend CloudPDF::Internal::Types::Enum - - TRUE = "true" - FALSE = "false" - UNKNOWN = "unknown" - end - end -end diff --git a/lib/CloudPDF/types/doc_metadata_get404response.rb b/lib/CloudPDF/types/doc_metadata_get404response.rb index a339e612..409d519c 100644 --- a/lib/CloudPDF/types/doc_metadata_get404response.rb +++ b/lib/CloudPDF/types/doc_metadata_get404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocMetadataGet404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocMetadataGet404ResponseName }, optional: false, nullable: false + module DocMetadataGet404Response + # DocMetadataGet404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocMetadataGet404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_code.rb b/lib/CloudPDF/types/doc_metadata_get404response_code.rb deleted file mode 100644 index 54bf668b..00000000 --- a/lib/CloudPDF/types/doc_metadata_get404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocMetadataGet404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_metadata_get404response_name.rb b/lib/CloudPDF/types/doc_metadata_get404response_name.rb deleted file mode 100644 index f4d4f2af..00000000 --- a/lib/CloudPDF/types/doc_metadata_get404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocMetadataGet404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_delete200response.rb b/lib/CloudPDF/types/doc_pages_delete200response.rb index 3dc05a76..38dff65f 100644 --- a/lib/CloudPDF/types/doc_pages_delete200response.rb +++ b/lib/CloudPDF/types/doc_pages_delete200response.rb @@ -3,7 +3,9 @@ module CloudPDF module Types class DocPagesDelete200Response < Internal::Types::Model - field :meta, -> { CloudPDF::Types::DocPagesDelete200ResponseMeta }, optional: false, nullable: false + field :layout, -> { CloudPDF::Types::DocPagesDelete200ResponseLayout }, optional: false, nullable: false + + field :meta, -> { CloudPDF::Types::MutationMeta }, optional: false, nullable: false end end end diff --git a/lib/CloudPDF/types/doc_pages_delete200response_layout.rb b/lib/CloudPDF/types/doc_pages_delete200response_layout.rb new file mode 100644 index 00000000..bf5d6ddf --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_delete200response_layout.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesDelete200ResponseLayout < Internal::Types::Model + field :page_count, -> { Integer }, optional: false, nullable: false, api_name: "pageCount" + + field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesDelete200ResponseLayoutPagesItem] }, optional: false, nullable: false + + field :named_pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesDelete200ResponseLayoutNamedPagesItem] }, optional: false, nullable: false, api_name: "namedPages" + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_delete200response_layout_named_pages_item.rb b/lib/CloudPDF/types/doc_pages_delete200response_layout_named_pages_item.rb new file mode 100644 index 00000000..110cae88 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_delete200response_layout_named_pages_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesDelete200ResponseLayoutNamedPagesItem < Internal::Types::Model + field :name, -> { String }, optional: false, nullable: false + + field :target, -> { CloudPDF::Types::DocPagesDelete200ResponseLayoutNamedPagesItemTarget }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_delete200response_layout_named_pages_item_target.rb b/lib/CloudPDF/types/doc_pages_delete200response_layout_named_pages_item_target.rb new file mode 100644 index 00000000..9b1e9c01 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_delete200response_layout_named_pages_item_target.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesDelete200ResponseLayoutNamedPagesItemTarget < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :kind + + member -> { CloudPDF::Types::DocPagesDelete200ResponseLayoutNamedPagesItemTargetPage }, key: "PAGE" + + member -> { CloudPDF::Types::DocPagesDelete200ResponseLayoutNamedPagesItemTargetTemplate }, key: "TEMPLATE" + + member -> { CloudPDF::Types::DocPagesDelete200ResponseLayoutNamedPagesItemTargetDangling }, key: "DANGLING" + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_delete200response_layout_named_pages_item_target_dangling.rb b/lib/CloudPDF/types/doc_pages_delete200response_layout_named_pages_item_target_dangling.rb new file mode 100644 index 00000000..ff42b36b --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_delete200response_layout_named_pages_item_target_dangling.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesDelete200ResponseLayoutNamedPagesItemTargetDangling < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/doc_pages_delete200response_layout_named_pages_item_target_page.rb b/lib/CloudPDF/types/doc_pages_delete200response_layout_named_pages_item_target_page.rb new file mode 100644 index 00000000..f8a4beb2 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_delete200response_layout_named_pages_item_target_page.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesDelete200ResponseLayoutNamedPagesItemTargetPage < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_delete200response_layout_named_pages_item_target_template.rb b/lib/CloudPDF/types/doc_pages_delete200response_layout_named_pages_item_target_template.rb new file mode 100644 index 00000000..ac47a8c2 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_delete200response_layout_named_pages_item_target_template.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesDelete200ResponseLayoutNamedPagesItemTargetTemplate < 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_delete200response_layout_pages_item.rb b/lib/CloudPDF/types/doc_pages_delete200response_layout_pages_item.rb new file mode 100644 index 00000000..f8595067 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_delete200response_layout_pages_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesDelete200ResponseLayoutPagesItem < 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::DocPagesDelete200ResponseLayoutPagesItemSize }, 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::DocPagesDelete200ResponseLayoutPagesItemTabOrder }, optional: false, nullable: true, api_name: "tabOrder" + + field :boxes, -> { CloudPDF::Types::DocPagesDelete200ResponseLayoutPagesItemBoxes }, optional: false, nullable: false + + field :pdf_crop_box, -> { CloudPDF::Types::DocPagesDelete200ResponseLayoutPagesItemPdfCropBox }, 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_delete200response_layout_pages_item_boxes.rb b/lib/CloudPDF/types/doc_pages_delete200response_layout_pages_item_boxes.rb new file mode 100644 index 00000000..cc491c28 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_delete200response_layout_pages_item_boxes.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesDelete200ResponseLayoutPagesItemBoxes < Internal::Types::Model + field :media, -> { CloudPDF::Types::DocPagesDelete200ResponseLayoutPagesItemBoxesMedia }, optional: false, nullable: false + + field :crop, -> { CloudPDF::Types::DocPagesDelete200ResponseLayoutPagesItemBoxesCrop }, optional: false, nullable: false + + field :bleed, -> { CloudPDF::Types::DocPagesDelete200ResponseLayoutPagesItemBoxesBleed }, optional: false, nullable: false + + field :trim, -> { CloudPDF::Types::DocPagesDelete200ResponseLayoutPagesItemBoxesTrim }, optional: false, nullable: false + + field :art, -> { CloudPDF::Types::DocPagesDelete200ResponseLayoutPagesItemBoxesArt }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_delete200response_layout_pages_item_boxes_art.rb b/lib/CloudPDF/types/doc_pages_delete200response_layout_pages_item_boxes_art.rb new file mode 100644 index 00000000..40e8c87e --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_delete200response_layout_pages_item_boxes_art.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesDelete200ResponseLayoutPagesItemBoxesArt < 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_delete200response_layout_pages_item_boxes_bleed.rb b/lib/CloudPDF/types/doc_pages_delete200response_layout_pages_item_boxes_bleed.rb new file mode 100644 index 00000000..c6e04ae7 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_delete200response_layout_pages_item_boxes_bleed.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesDelete200ResponseLayoutPagesItemBoxesBleed < 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_delete200response_layout_pages_item_boxes_crop.rb b/lib/CloudPDF/types/doc_pages_delete200response_layout_pages_item_boxes_crop.rb new file mode 100644 index 00000000..15444aa4 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_delete200response_layout_pages_item_boxes_crop.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesDelete200ResponseLayoutPagesItemBoxesCrop < 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_delete200response_layout_pages_item_boxes_media.rb b/lib/CloudPDF/types/doc_pages_delete200response_layout_pages_item_boxes_media.rb new file mode 100644 index 00000000..b073977f --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_delete200response_layout_pages_item_boxes_media.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesDelete200ResponseLayoutPagesItemBoxesMedia < 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_delete200response_layout_pages_item_boxes_trim.rb b/lib/CloudPDF/types/doc_pages_delete200response_layout_pages_item_boxes_trim.rb new file mode 100644 index 00000000..fca843f5 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_delete200response_layout_pages_item_boxes_trim.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesDelete200ResponseLayoutPagesItemBoxesTrim < 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_delete200response_layout_pages_item_pdf_crop_box.rb b/lib/CloudPDF/types/doc_pages_delete200response_layout_pages_item_pdf_crop_box.rb new file mode 100644 index 00000000..f8783aa2 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_delete200response_layout_pages_item_pdf_crop_box.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesDelete200ResponseLayoutPagesItemPdfCropBox < 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_delete200response_layout_pages_item_size.rb b/lib/CloudPDF/types/doc_pages_delete200response_layout_pages_item_size.rb new file mode 100644 index 00000000..4b00bc10 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_delete200response_layout_pages_item_size.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesDelete200ResponseLayoutPagesItemSize < 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_delete200response_layout_pages_item_tab_order.rb b/lib/CloudPDF/types/doc_pages_delete200response_layout_pages_item_tab_order.rb new file mode 100644 index 00000000..fb253e4a --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_delete200response_layout_pages_item_tab_order.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocPagesDelete200ResponseLayoutPagesItemTabOrder + 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_delete200response_meta.rb b/lib/CloudPDF/types/doc_pages_delete200response_meta.rb deleted file mode 100644 index 8158014b..00000000 --- a/lib/CloudPDF/types/doc_pages_delete200response_meta.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesDelete200ResponseMeta < Internal::Types::Model - field :affected_pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesDelete200ResponseMetaAffectedPagesItem] }, optional: false, nullable: false, api_name: "affectedPages" - - field :cache_delta, -> { CloudPDF::Types::DocPagesDelete200ResponseMetaCacheDelta }, optional: false, nullable: true, api_name: "cacheDelta" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_delete200response_meta_affected_pages_item.rb b/lib/CloudPDF/types/doc_pages_delete200response_meta_affected_pages_item.rb deleted file mode 100644 index 178ac9d2..00000000 --- a/lib/CloudPDF/types/doc_pages_delete200response_meta_affected_pages_item.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesDelete200ResponseMetaAffectedPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :revision, -> { CloudPDF::Types::DocPagesDelete200ResponseMetaAffectedPagesItemRevision }, optional: false, nullable: false - - field :weak_annotation_state, -> { CloudPDF::Types::DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState }, optional: false, nullable: false, api_name: "weakAnnotationState" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_delete200response_meta_affected_pages_item_revision.rb b/lib/CloudPDF/types/doc_pages_delete200response_meta_affected_pages_item_revision.rb deleted file mode 100644 index 9488ff9f..00000000 --- a/lib/CloudPDF/types/doc_pages_delete200response_meta_affected_pages_item_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesDelete200ResponseMetaAffectedPagesItemRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_delete200response_meta_affected_pages_item_weak_annotation_state.rb b/lib/CloudPDF/types/doc_pages_delete200response_meta_affected_pages_item_weak_annotation_state.rb deleted file mode 100644 index 493075eb..00000000 --- a/lib/CloudPDF/types/doc_pages_delete200response_meta_affected_pages_item_weak_annotation_state.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown }, key: "UNKNOWN" - - member -> { CloudPDF::Types::DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown }, key: "KNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_delete200response_meta_affected_pages_item_weak_annotation_state_known.rb b/lib/CloudPDF/types/doc_pages_delete200response_meta_affected_pages_item_weak_annotation_state_known.rb deleted file mode 100644 index ee5ae2f5..00000000 --- a/lib/CloudPDF/types/doc_pages_delete200response_meta_affected_pages_item_weak_annotation_state_known.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown < Internal::Types::Model - field :has_any_weak_annotations, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAnyWeakAnnotations" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_delete200response_meta_affected_pages_item_weak_annotation_state_unknown.rb b/lib/CloudPDF/types/doc_pages_delete200response_meta_affected_pages_item_weak_annotation_state_unknown.rb deleted file mode 100644 index ec817502..00000000 --- a/lib/CloudPDF/types/doc_pages_delete200response_meta_affected_pages_item_weak_annotation_state_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_pages_delete200response_meta_cache_delta.rb b/lib/CloudPDF/types/doc_pages_delete200response_meta_cache_delta.rb deleted file mode 100644 index e110edcd..00000000 --- a/lib/CloudPDF/types/doc_pages_delete200response_meta_cache_delta.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesDelete200ResponseMetaCacheDelta < Internal::Types::Model - field :previous_doc_version, -> { Integer }, optional: false, nullable: false, api_name: "previousDocVersion" - - field :doc_version, -> { Integer }, optional: false, nullable: false, api_name: "docVersion" - - field :annotations_version, -> { Integer }, optional: true, nullable: false, api_name: "annotationsVersion" - - field :layer_version, -> { Integer }, optional: true, nullable: false, api_name: "layerVersion" - - field :working, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesDelete200ResponseMetaCacheDeltaPagesItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_delete200response_meta_cache_delta_pages_item.rb b/lib/CloudPDF/types/doc_pages_delete200response_meta_cache_delta_pages_item.rb deleted file mode 100644 index 43ab213d..00000000 --- a/lib/CloudPDF/types/doc_pages_delete200response_meta_cache_delta_pages_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesDelete200ResponseMetaCacheDeltaPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :cache, -> { CloudPDF::Types::DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_delete200response_meta_cache_delta_pages_item_cache.rb b/lib/CloudPDF/types/doc_pages_delete200response_meta_cache_delta_pages_item_cache.rb deleted file mode 100644 index 229c7599..00000000 --- a/lib/CloudPDF/types/doc_pages_delete200response_meta_cache_delta_pages_item_cache.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache < 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" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_delete400response.rb b/lib/CloudPDF/types/doc_pages_delete400response.rb index 627ed99e..4facaa7c 100644 --- a/lib/CloudPDF/types/doc_pages_delete400response.rb +++ b/lib/CloudPDF/types/doc_pages_delete400response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocPagesDelete400Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocPagesDelete400ResponseName }, optional: false, nullable: false + module DocPagesDelete400Response + # DocPagesDelete400Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocPagesDelete400ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_pages_delete400response_code.rb b/lib/CloudPDF/types/doc_pages_delete400response_code.rb deleted file mode 100644 index 15bd5e87..00000000 --- a/lib/CloudPDF/types/doc_pages_delete400response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesDelete400ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_delete400response_name.rb b/lib/CloudPDF/types/doc_pages_delete400response_name.rb deleted file mode 100644 index df11d00a..00000000 --- a/lib/CloudPDF/types/doc_pages_delete400response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesDelete400ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_delete404response.rb b/lib/CloudPDF/types/doc_pages_delete404response.rb index 1984074d..ba542de2 100644 --- a/lib/CloudPDF/types/doc_pages_delete404response.rb +++ b/lib/CloudPDF/types/doc_pages_delete404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocPagesDelete404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocPagesDelete404ResponseName }, optional: false, nullable: false + module DocPagesDelete404Response + # DocPagesDelete404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocPagesDelete404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_pages_delete404response_code.rb b/lib/CloudPDF/types/doc_pages_delete404response_code.rb deleted file mode 100644 index 4e76908a..00000000 --- a/lib/CloudPDF/types/doc_pages_delete404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesDelete404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_delete404response_name.rb b/lib/CloudPDF/types/doc_pages_delete404response_name.rb deleted file mode 100644 index 3176a674..00000000 --- a/lib/CloudPDF/types/doc_pages_delete404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesDelete404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_extract400response.rb b/lib/CloudPDF/types/doc_pages_extract400response.rb index 12142dba..520cd0a4 100644 --- a/lib/CloudPDF/types/doc_pages_extract400response.rb +++ b/lib/CloudPDF/types/doc_pages_extract400response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocPagesExtract400Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocPagesExtract400ResponseName }, optional: false, nullable: false + module DocPagesExtract400Response + # DocPagesExtract400Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocPagesExtract400ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_code.rb b/lib/CloudPDF/types/doc_pages_extract400response_code.rb deleted file mode 100644 index bd4dd6b4..00000000 --- a/lib/CloudPDF/types/doc_pages_extract400response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesExtract400ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_extract400response_name.rb b/lib/CloudPDF/types/doc_pages_extract400response_name.rb deleted file mode 100644 index 47d3bf4d..00000000 --- a/lib/CloudPDF/types/doc_pages_extract400response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesExtract400ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_extract404response.rb b/lib/CloudPDF/types/doc_pages_extract404response.rb index bd642a85..6f277157 100644 --- a/lib/CloudPDF/types/doc_pages_extract404response.rb +++ b/lib/CloudPDF/types/doc_pages_extract404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocPagesExtract404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocPagesExtract404ResponseName }, optional: false, nullable: false + module DocPagesExtract404Response + # DocPagesExtract404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocPagesExtract404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_code.rb b/lib/CloudPDF/types/doc_pages_extract404response_code.rb deleted file mode 100644 index 5e2e07e9..00000000 --- a/lib/CloudPDF/types/doc_pages_extract404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesExtract404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_extract404response_name.rb b/lib/CloudPDF/types/doc_pages_extract404response_name.rb deleted file mode 100644 index 014bb166..00000000 --- a/lib/CloudPDF/types/doc_pages_extract404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesExtract404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_flatten200response.rb b/lib/CloudPDF/types/doc_pages_flatten200response.rb index 1b0c4408..f8c759c5 100644 --- a/lib/CloudPDF/types/doc_pages_flatten200response.rb +++ b/lib/CloudPDF/types/doc_pages_flatten200response.rb @@ -3,7 +3,13 @@ module CloudPDF module Types class DocPagesFlatten200Response < Internal::Types::Model - field :meta, -> { CloudPDF::Types::DocPagesFlatten200ResponseMeta }, optional: false, nullable: false + 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_meta.rb b/lib/CloudPDF/types/doc_pages_flatten200response_meta.rb deleted file mode 100644 index 407e9dbb..00000000 --- a/lib/CloudPDF/types/doc_pages_flatten200response_meta.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesFlatten200ResponseMeta < Internal::Types::Model - field :affected_pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesFlatten200ResponseMetaAffectedPagesItem] }, optional: false, nullable: false, api_name: "affectedPages" - - field :cache_delta, -> { CloudPDF::Types::DocPagesFlatten200ResponseMetaCacheDelta }, optional: false, nullable: true, api_name: "cacheDelta" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_flatten200response_meta_affected_pages_item.rb b/lib/CloudPDF/types/doc_pages_flatten200response_meta_affected_pages_item.rb deleted file mode 100644 index bfa426ad..00000000 --- a/lib/CloudPDF/types/doc_pages_flatten200response_meta_affected_pages_item.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesFlatten200ResponseMetaAffectedPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :revision, -> { CloudPDF::Types::DocPagesFlatten200ResponseMetaAffectedPagesItemRevision }, optional: false, nullable: false - - field :weak_annotation_state, -> { CloudPDF::Types::DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState }, optional: false, nullable: false, api_name: "weakAnnotationState" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_flatten200response_meta_affected_pages_item_revision.rb b/lib/CloudPDF/types/doc_pages_flatten200response_meta_affected_pages_item_revision.rb deleted file mode 100644 index 38171e27..00000000 --- a/lib/CloudPDF/types/doc_pages_flatten200response_meta_affected_pages_item_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesFlatten200ResponseMetaAffectedPagesItemRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_flatten200response_meta_affected_pages_item_weak_annotation_state.rb b/lib/CloudPDF/types/doc_pages_flatten200response_meta_affected_pages_item_weak_annotation_state.rb deleted file mode 100644 index 1b06fac4..00000000 --- a/lib/CloudPDF/types/doc_pages_flatten200response_meta_affected_pages_item_weak_annotation_state.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown }, key: "UNKNOWN" - - member -> { CloudPDF::Types::DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown }, key: "KNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_flatten200response_meta_affected_pages_item_weak_annotation_state_known.rb b/lib/CloudPDF/types/doc_pages_flatten200response_meta_affected_pages_item_weak_annotation_state_known.rb deleted file mode 100644 index b5917f94..00000000 --- a/lib/CloudPDF/types/doc_pages_flatten200response_meta_affected_pages_item_weak_annotation_state_known.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown < Internal::Types::Model - field :has_any_weak_annotations, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAnyWeakAnnotations" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_flatten200response_meta_affected_pages_item_weak_annotation_state_unknown.rb b/lib/CloudPDF/types/doc_pages_flatten200response_meta_affected_pages_item_weak_annotation_state_unknown.rb deleted file mode 100644 index 5012d211..00000000 --- a/lib/CloudPDF/types/doc_pages_flatten200response_meta_affected_pages_item_weak_annotation_state_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_pages_flatten200response_meta_cache_delta.rb b/lib/CloudPDF/types/doc_pages_flatten200response_meta_cache_delta.rb deleted file mode 100644 index ce2140c4..00000000 --- a/lib/CloudPDF/types/doc_pages_flatten200response_meta_cache_delta.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesFlatten200ResponseMetaCacheDelta < Internal::Types::Model - field :previous_doc_version, -> { Integer }, optional: false, nullable: false, api_name: "previousDocVersion" - - field :doc_version, -> { Integer }, optional: false, nullable: false, api_name: "docVersion" - - field :annotations_version, -> { Integer }, optional: true, nullable: false, api_name: "annotationsVersion" - - field :layer_version, -> { Integer }, optional: true, nullable: false, api_name: "layerVersion" - - field :working, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesFlatten200ResponseMetaCacheDeltaPagesItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_flatten200response_meta_cache_delta_pages_item.rb b/lib/CloudPDF/types/doc_pages_flatten200response_meta_cache_delta_pages_item.rb deleted file mode 100644 index d156cf56..00000000 --- a/lib/CloudPDF/types/doc_pages_flatten200response_meta_cache_delta_pages_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesFlatten200ResponseMetaCacheDeltaPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :cache, -> { CloudPDF::Types::DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_flatten200response_meta_cache_delta_pages_item_cache.rb b/lib/CloudPDF/types/doc_pages_flatten200response_meta_cache_delta_pages_item_cache.rb deleted file mode 100644 index c26f7afb..00000000 --- a/lib/CloudPDF/types/doc_pages_flatten200response_meta_cache_delta_pages_item_cache.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache < 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" - 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 new file mode 100644 index 00000000..f7de4af6 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_flatten200response_results_item.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 00000000..0d7d4db3 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_flatten200response_results_item_status.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 00000000..b36aa0ee --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_flatten200response_usage.rb @@ -0,0 +1,12 @@ +# 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 index c5328965..b6794e55 100644 --- a/lib/CloudPDF/types/doc_pages_flatten400response.rb +++ b/lib/CloudPDF/types/doc_pages_flatten400response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocPagesFlatten400Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocPagesFlatten400ResponseName }, optional: false, nullable: false + module DocPagesFlatten400Response + # DocPagesFlatten400Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocPagesFlatten400ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_pages_flatten400response_code.rb b/lib/CloudPDF/types/doc_pages_flatten400response_code.rb deleted file mode 100644 index 9909ee10..00000000 --- a/lib/CloudPDF/types/doc_pages_flatten400response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesFlatten400ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_flatten400response_name.rb b/lib/CloudPDF/types/doc_pages_flatten400response_name.rb deleted file mode 100644 index e2b7a60f..00000000 --- a/lib/CloudPDF/types/doc_pages_flatten400response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesFlatten400ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_flatten404response.rb b/lib/CloudPDF/types/doc_pages_flatten404response.rb index e8097dd3..528a1d37 100644 --- a/lib/CloudPDF/types/doc_pages_flatten404response.rb +++ b/lib/CloudPDF/types/doc_pages_flatten404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocPagesFlatten404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocPagesFlatten404ResponseName }, optional: false, nullable: false + module DocPagesFlatten404Response + # DocPagesFlatten404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocPagesFlatten404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_code.rb b/lib/CloudPDF/types/doc_pages_flatten404response_code.rb deleted file mode 100644 index 38cbf55e..00000000 --- a/lib/CloudPDF/types/doc_pages_flatten404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesFlatten404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_flatten404response_name.rb b/lib/CloudPDF/types/doc_pages_flatten404response_name.rb deleted file mode 100644 index f97ab2c8..00000000 --- a/lib/CloudPDF/types/doc_pages_flatten404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesFlatten404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_insert200response.rb b/lib/CloudPDF/types/doc_pages_insert200response.rb index 53a1ddaf..135cea3c 100644 --- a/lib/CloudPDF/types/doc_pages_insert200response.rb +++ b/lib/CloudPDF/types/doc_pages_insert200response.rb @@ -3,7 +3,11 @@ module CloudPDF module Types class DocPagesInsert200Response < Internal::Types::Model - field :meta, -> { CloudPDF::Types::DocPagesInsert200ResponseMeta }, optional: false, nullable: false + field :inserted_pages, -> { Internal::Types::Array[CloudPDF::Types::PageRef] }, optional: false, nullable: false, api_name: "insertedPages" + + field :layout, -> { CloudPDF::Types::DocPagesInsert200ResponseLayout }, optional: false, nullable: false + + field :meta, -> { CloudPDF::Types::MutationMeta }, optional: false, nullable: false end end end diff --git a/lib/CloudPDF/types/doc_pages_insert200response_layout.rb b/lib/CloudPDF/types/doc_pages_insert200response_layout.rb new file mode 100644 index 00000000..4745647b --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert200response_layout.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsert200ResponseLayout < Internal::Types::Model + field :page_count, -> { Integer }, optional: false, nullable: false, api_name: "pageCount" + + field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesInsert200ResponseLayoutPagesItem] }, optional: false, nullable: false + + field :named_pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesInsert200ResponseLayoutNamedPagesItem] }, optional: false, nullable: false, api_name: "namedPages" + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_insert200response_layout_named_pages_item.rb b/lib/CloudPDF/types/doc_pages_insert200response_layout_named_pages_item.rb new file mode 100644 index 00000000..46e8347e --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert200response_layout_named_pages_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsert200ResponseLayoutNamedPagesItem < Internal::Types::Model + field :name, -> { String }, optional: false, nullable: false + + field :target, -> { CloudPDF::Types::DocPagesInsert200ResponseLayoutNamedPagesItemTarget }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_insert200response_layout_named_pages_item_target.rb b/lib/CloudPDF/types/doc_pages_insert200response_layout_named_pages_item_target.rb new file mode 100644 index 00000000..91fa44db --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert200response_layout_named_pages_item_target.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsert200ResponseLayoutNamedPagesItemTarget < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :kind + + member -> { CloudPDF::Types::DocPagesInsert200ResponseLayoutNamedPagesItemTargetPage }, key: "PAGE" + + member -> { CloudPDF::Types::DocPagesInsert200ResponseLayoutNamedPagesItemTargetTemplate }, key: "TEMPLATE" + + member -> { CloudPDF::Types::DocPagesInsert200ResponseLayoutNamedPagesItemTargetDangling }, key: "DANGLING" + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_insert200response_layout_named_pages_item_target_dangling.rb b/lib/CloudPDF/types/doc_pages_insert200response_layout_named_pages_item_target_dangling.rb new file mode 100644 index 00000000..f57f5581 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert200response_layout_named_pages_item_target_dangling.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsert200ResponseLayoutNamedPagesItemTargetDangling < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/doc_pages_insert200response_layout_named_pages_item_target_page.rb b/lib/CloudPDF/types/doc_pages_insert200response_layout_named_pages_item_target_page.rb new file mode 100644 index 00000000..2314fc2b --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert200response_layout_named_pages_item_target_page.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsert200ResponseLayoutNamedPagesItemTargetPage < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_insert200response_layout_named_pages_item_target_template.rb b/lib/CloudPDF/types/doc_pages_insert200response_layout_named_pages_item_target_template.rb new file mode 100644 index 00000000..3cf1fb11 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert200response_layout_named_pages_item_target_template.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsert200ResponseLayoutNamedPagesItemTargetTemplate < 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_insert200response_layout_pages_item.rb b/lib/CloudPDF/types/doc_pages_insert200response_layout_pages_item.rb new file mode 100644 index 00000000..a4c01421 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert200response_layout_pages_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsert200ResponseLayoutPagesItem < 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::DocPagesInsert200ResponseLayoutPagesItemSize }, 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::DocPagesInsert200ResponseLayoutPagesItemTabOrder }, optional: false, nullable: true, api_name: "tabOrder" + + field :boxes, -> { CloudPDF::Types::DocPagesInsert200ResponseLayoutPagesItemBoxes }, optional: false, nullable: false + + field :pdf_crop_box, -> { CloudPDF::Types::DocPagesInsert200ResponseLayoutPagesItemPdfCropBox }, 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_insert200response_layout_pages_item_boxes.rb b/lib/CloudPDF/types/doc_pages_insert200response_layout_pages_item_boxes.rb new file mode 100644 index 00000000..4a4fd55f --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert200response_layout_pages_item_boxes.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsert200ResponseLayoutPagesItemBoxes < Internal::Types::Model + field :media, -> { CloudPDF::Types::DocPagesInsert200ResponseLayoutPagesItemBoxesMedia }, optional: false, nullable: false + + field :crop, -> { CloudPDF::Types::DocPagesInsert200ResponseLayoutPagesItemBoxesCrop }, optional: false, nullable: false + + field :bleed, -> { CloudPDF::Types::DocPagesInsert200ResponseLayoutPagesItemBoxesBleed }, optional: false, nullable: false + + field :trim, -> { CloudPDF::Types::DocPagesInsert200ResponseLayoutPagesItemBoxesTrim }, optional: false, nullable: false + + field :art, -> { CloudPDF::Types::DocPagesInsert200ResponseLayoutPagesItemBoxesArt }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_insert200response_layout_pages_item_boxes_art.rb b/lib/CloudPDF/types/doc_pages_insert200response_layout_pages_item_boxes_art.rb new file mode 100644 index 00000000..d4279424 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert200response_layout_pages_item_boxes_art.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsert200ResponseLayoutPagesItemBoxesArt < 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_insert200response_layout_pages_item_boxes_bleed.rb b/lib/CloudPDF/types/doc_pages_insert200response_layout_pages_item_boxes_bleed.rb new file mode 100644 index 00000000..13d687e5 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert200response_layout_pages_item_boxes_bleed.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsert200ResponseLayoutPagesItemBoxesBleed < 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_insert200response_layout_pages_item_boxes_crop.rb b/lib/CloudPDF/types/doc_pages_insert200response_layout_pages_item_boxes_crop.rb new file mode 100644 index 00000000..7420fa12 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert200response_layout_pages_item_boxes_crop.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsert200ResponseLayoutPagesItemBoxesCrop < 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_insert200response_layout_pages_item_boxes_media.rb b/lib/CloudPDF/types/doc_pages_insert200response_layout_pages_item_boxes_media.rb new file mode 100644 index 00000000..665f7045 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert200response_layout_pages_item_boxes_media.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsert200ResponseLayoutPagesItemBoxesMedia < 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_insert200response_layout_pages_item_boxes_trim.rb b/lib/CloudPDF/types/doc_pages_insert200response_layout_pages_item_boxes_trim.rb new file mode 100644 index 00000000..9be4934b --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert200response_layout_pages_item_boxes_trim.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsert200ResponseLayoutPagesItemBoxesTrim < 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_insert200response_layout_pages_item_pdf_crop_box.rb b/lib/CloudPDF/types/doc_pages_insert200response_layout_pages_item_pdf_crop_box.rb new file mode 100644 index 00000000..8ec0c164 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert200response_layout_pages_item_pdf_crop_box.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsert200ResponseLayoutPagesItemPdfCropBox < 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_insert200response_layout_pages_item_size.rb b/lib/CloudPDF/types/doc_pages_insert200response_layout_pages_item_size.rb new file mode 100644 index 00000000..16b18353 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert200response_layout_pages_item_size.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsert200ResponseLayoutPagesItemSize < 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_insert200response_layout_pages_item_tab_order.rb b/lib/CloudPDF/types/doc_pages_insert200response_layout_pages_item_tab_order.rb new file mode 100644 index 00000000..59c5780b --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert200response_layout_pages_item_tab_order.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocPagesInsert200ResponseLayoutPagesItemTabOrder + 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_insert200response_meta.rb b/lib/CloudPDF/types/doc_pages_insert200response_meta.rb deleted file mode 100644 index 54f7c5b8..00000000 --- a/lib/CloudPDF/types/doc_pages_insert200response_meta.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesInsert200ResponseMeta < Internal::Types::Model - field :affected_pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesInsert200ResponseMetaAffectedPagesItem] }, optional: false, nullable: false, api_name: "affectedPages" - - field :cache_delta, -> { CloudPDF::Types::DocPagesInsert200ResponseMetaCacheDelta }, optional: false, nullable: true, api_name: "cacheDelta" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_insert200response_meta_affected_pages_item.rb b/lib/CloudPDF/types/doc_pages_insert200response_meta_affected_pages_item.rb deleted file mode 100644 index a259653e..00000000 --- a/lib/CloudPDF/types/doc_pages_insert200response_meta_affected_pages_item.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesInsert200ResponseMetaAffectedPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :revision, -> { CloudPDF::Types::DocPagesInsert200ResponseMetaAffectedPagesItemRevision }, optional: false, nullable: false - - field :weak_annotation_state, -> { CloudPDF::Types::DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState }, optional: false, nullable: false, api_name: "weakAnnotationState" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_insert200response_meta_affected_pages_item_revision.rb b/lib/CloudPDF/types/doc_pages_insert200response_meta_affected_pages_item_revision.rb deleted file mode 100644 index bcfe93d1..00000000 --- a/lib/CloudPDF/types/doc_pages_insert200response_meta_affected_pages_item_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesInsert200ResponseMetaAffectedPagesItemRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_insert200response_meta_affected_pages_item_weak_annotation_state.rb b/lib/CloudPDF/types/doc_pages_insert200response_meta_affected_pages_item_weak_annotation_state.rb deleted file mode 100644 index 6561f4a4..00000000 --- a/lib/CloudPDF/types/doc_pages_insert200response_meta_affected_pages_item_weak_annotation_state.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown }, key: "UNKNOWN" - - member -> { CloudPDF::Types::DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown }, key: "KNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_insert200response_meta_affected_pages_item_weak_annotation_state_known.rb b/lib/CloudPDF/types/doc_pages_insert200response_meta_affected_pages_item_weak_annotation_state_known.rb deleted file mode 100644 index 7fa1ad41..00000000 --- a/lib/CloudPDF/types/doc_pages_insert200response_meta_affected_pages_item_weak_annotation_state_known.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown < Internal::Types::Model - field :has_any_weak_annotations, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAnyWeakAnnotations" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_insert200response_meta_affected_pages_item_weak_annotation_state_unknown.rb b/lib/CloudPDF/types/doc_pages_insert200response_meta_affected_pages_item_weak_annotation_state_unknown.rb deleted file mode 100644 index e0bae701..00000000 --- a/lib/CloudPDF/types/doc_pages_insert200response_meta_affected_pages_item_weak_annotation_state_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_pages_insert200response_meta_cache_delta.rb b/lib/CloudPDF/types/doc_pages_insert200response_meta_cache_delta.rb deleted file mode 100644 index 948a3139..00000000 --- a/lib/CloudPDF/types/doc_pages_insert200response_meta_cache_delta.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesInsert200ResponseMetaCacheDelta < Internal::Types::Model - field :previous_doc_version, -> { Integer }, optional: false, nullable: false, api_name: "previousDocVersion" - - field :doc_version, -> { Integer }, optional: false, nullable: false, api_name: "docVersion" - - field :annotations_version, -> { Integer }, optional: true, nullable: false, api_name: "annotationsVersion" - - field :layer_version, -> { Integer }, optional: true, nullable: false, api_name: "layerVersion" - - field :working, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesInsert200ResponseMetaCacheDeltaPagesItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_insert200response_meta_cache_delta_pages_item.rb b/lib/CloudPDF/types/doc_pages_insert200response_meta_cache_delta_pages_item.rb deleted file mode 100644 index cd16e588..00000000 --- a/lib/CloudPDF/types/doc_pages_insert200response_meta_cache_delta_pages_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesInsert200ResponseMetaCacheDeltaPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :cache, -> { CloudPDF::Types::DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_insert200response_meta_cache_delta_pages_item_cache.rb b/lib/CloudPDF/types/doc_pages_insert200response_meta_cache_delta_pages_item_cache.rb deleted file mode 100644 index 61d57662..00000000 --- a/lib/CloudPDF/types/doc_pages_insert200response_meta_cache_delta_pages_item_cache.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache < 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" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_insert400response.rb b/lib/CloudPDF/types/doc_pages_insert400response.rb index eed739e6..77e8d2d9 100644 --- a/lib/CloudPDF/types/doc_pages_insert400response.rb +++ b/lib/CloudPDF/types/doc_pages_insert400response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocPagesInsert400Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocPagesInsert400ResponseName }, optional: false, nullable: false + module DocPagesInsert400Response + # DocPagesInsert400Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocPagesInsert400ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_pages_insert400response_code.rb b/lib/CloudPDF/types/doc_pages_insert400response_code.rb deleted file mode 100644 index 948bca41..00000000 --- a/lib/CloudPDF/types/doc_pages_insert400response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesInsert400ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_insert400response_name.rb b/lib/CloudPDF/types/doc_pages_insert400response_name.rb deleted file mode 100644 index 76131b79..00000000 --- a/lib/CloudPDF/types/doc_pages_insert400response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesInsert400ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_insert404response.rb b/lib/CloudPDF/types/doc_pages_insert404response.rb index 21137dd6..6f9fafed 100644 --- a/lib/CloudPDF/types/doc_pages_insert404response.rb +++ b/lib/CloudPDF/types/doc_pages_insert404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocPagesInsert404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocPagesInsert404ResponseName }, optional: false, nullable: false + module DocPagesInsert404Response + # DocPagesInsert404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocPagesInsert404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_pages_insert404response_code.rb b/lib/CloudPDF/types/doc_pages_insert404response_code.rb deleted file mode 100644 index bb4ce5da..00000000 --- a/lib/CloudPDF/types/doc_pages_insert404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesInsert404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_insert404response_name.rb b/lib/CloudPDF/types/doc_pages_insert404response_name.rb deleted file mode 100644 index 715384fd..00000000 --- a/lib/CloudPDF/types/doc_pages_insert404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesInsert404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_insert_blank200response.rb b/lib/CloudPDF/types/doc_pages_insert_blank200response.rb index 5f3581f6..375c9435 100644 --- a/lib/CloudPDF/types/doc_pages_insert_blank200response.rb +++ b/lib/CloudPDF/types/doc_pages_insert_blank200response.rb @@ -3,7 +3,11 @@ module CloudPDF module Types class DocPagesInsertBlank200Response < Internal::Types::Model - field :meta, -> { CloudPDF::Types::DocPagesInsertBlank200ResponseMeta }, optional: false, nullable: false + field :inserted_pages, -> { Internal::Types::Array[CloudPDF::Types::PageRef] }, optional: false, nullable: false, api_name: "insertedPages" + + field :layout, -> { CloudPDF::Types::DocPagesInsertBlank200ResponseLayout }, optional: false, nullable: false + + field :meta, -> { CloudPDF::Types::MutationMeta }, optional: false, nullable: false end end end diff --git a/lib/CloudPDF/types/doc_pages_insert_blank200response_layout.rb b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout.rb new file mode 100644 index 00000000..2c9c56e4 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsertBlank200ResponseLayout < Internal::Types::Model + field :page_count, -> { Integer }, optional: false, nullable: false, api_name: "pageCount" + + field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesInsertBlank200ResponseLayoutPagesItem] }, optional: false, nullable: false + + field :named_pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesInsertBlank200ResponseLayoutNamedPagesItem] }, optional: false, nullable: false, api_name: "namedPages" + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_named_pages_item.rb b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_named_pages_item.rb new file mode 100644 index 00000000..07c387ca --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_named_pages_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsertBlank200ResponseLayoutNamedPagesItem < Internal::Types::Model + field :name, -> { String }, optional: false, nullable: false + + field :target, -> { CloudPDF::Types::DocPagesInsertBlank200ResponseLayoutNamedPagesItemTarget }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_named_pages_item_target.rb b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_named_pages_item_target.rb new file mode 100644 index 00000000..694426f2 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_named_pages_item_target.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsertBlank200ResponseLayoutNamedPagesItemTarget < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :kind + + member -> { CloudPDF::Types::DocPagesInsertBlank200ResponseLayoutNamedPagesItemTargetPage }, key: "PAGE" + + member -> { CloudPDF::Types::DocPagesInsertBlank200ResponseLayoutNamedPagesItemTargetTemplate }, key: "TEMPLATE" + + member -> { CloudPDF::Types::DocPagesInsertBlank200ResponseLayoutNamedPagesItemTargetDangling }, key: "DANGLING" + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_named_pages_item_target_dangling.rb b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_named_pages_item_target_dangling.rb new file mode 100644 index 00000000..48c784d2 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_named_pages_item_target_dangling.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsertBlank200ResponseLayoutNamedPagesItemTargetDangling < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_named_pages_item_target_page.rb b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_named_pages_item_target_page.rb new file mode 100644 index 00000000..58813766 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_named_pages_item_target_page.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsertBlank200ResponseLayoutNamedPagesItemTargetPage < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_named_pages_item_target_template.rb b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_named_pages_item_target_template.rb new file mode 100644 index 00000000..c793f986 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_named_pages_item_target_template.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsertBlank200ResponseLayoutNamedPagesItemTargetTemplate < 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_insert_blank200response_layout_pages_item.rb b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item.rb new file mode 100644 index 00000000..692ab627 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsertBlank200ResponseLayoutPagesItem < 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::DocPagesInsertBlank200ResponseLayoutPagesItemSize }, 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::DocPagesInsertBlank200ResponseLayoutPagesItemTabOrder }, optional: false, nullable: true, api_name: "tabOrder" + + field :boxes, -> { CloudPDF::Types::DocPagesInsertBlank200ResponseLayoutPagesItemBoxes }, optional: false, nullable: false + + field :pdf_crop_box, -> { CloudPDF::Types::DocPagesInsertBlank200ResponseLayoutPagesItemPdfCropBox }, 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_insert_blank200response_layout_pages_item_boxes.rb b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item_boxes.rb new file mode 100644 index 00000000..f49f509c --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item_boxes.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsertBlank200ResponseLayoutPagesItemBoxes < Internal::Types::Model + field :media, -> { CloudPDF::Types::DocPagesInsertBlank200ResponseLayoutPagesItemBoxesMedia }, optional: false, nullable: false + + field :crop, -> { CloudPDF::Types::DocPagesInsertBlank200ResponseLayoutPagesItemBoxesCrop }, optional: false, nullable: false + + field :bleed, -> { CloudPDF::Types::DocPagesInsertBlank200ResponseLayoutPagesItemBoxesBleed }, optional: false, nullable: false + + field :trim, -> { CloudPDF::Types::DocPagesInsertBlank200ResponseLayoutPagesItemBoxesTrim }, optional: false, nullable: false + + field :art, -> { CloudPDF::Types::DocPagesInsertBlank200ResponseLayoutPagesItemBoxesArt }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item_boxes_art.rb b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item_boxes_art.rb new file mode 100644 index 00000000..9be3b410 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item_boxes_art.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsertBlank200ResponseLayoutPagesItemBoxesArt < 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_insert_blank200response_layout_pages_item_boxes_bleed.rb b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item_boxes_bleed.rb new file mode 100644 index 00000000..18204943 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item_boxes_bleed.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsertBlank200ResponseLayoutPagesItemBoxesBleed < 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_insert_blank200response_layout_pages_item_boxes_crop.rb b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item_boxes_crop.rb new file mode 100644 index 00000000..10eb0744 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item_boxes_crop.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsertBlank200ResponseLayoutPagesItemBoxesCrop < 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_insert_blank200response_layout_pages_item_boxes_media.rb b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item_boxes_media.rb new file mode 100644 index 00000000..ecd53899 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item_boxes_media.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsertBlank200ResponseLayoutPagesItemBoxesMedia < 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_insert_blank200response_layout_pages_item_boxes_trim.rb b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item_boxes_trim.rb new file mode 100644 index 00000000..b0c1be2e --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item_boxes_trim.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsertBlank200ResponseLayoutPagesItemBoxesTrim < 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_insert_blank200response_layout_pages_item_pdf_crop_box.rb b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item_pdf_crop_box.rb new file mode 100644 index 00000000..9a1484ac --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item_pdf_crop_box.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsertBlank200ResponseLayoutPagesItemPdfCropBox < 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_insert_blank200response_layout_pages_item_size.rb b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item_size.rb new file mode 100644 index 00000000..1ef692b2 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item_size.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesInsertBlank200ResponseLayoutPagesItemSize < 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_insert_blank200response_layout_pages_item_tab_order.rb b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item_tab_order.rb new file mode 100644 index 00000000..9ac7f42e --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item_tab_order.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocPagesInsertBlank200ResponseLayoutPagesItemTabOrder + 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_insert_blank200response_meta.rb b/lib/CloudPDF/types/doc_pages_insert_blank200response_meta.rb deleted file mode 100644 index 114a310b..00000000 --- a/lib/CloudPDF/types/doc_pages_insert_blank200response_meta.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesInsertBlank200ResponseMeta < Internal::Types::Model - field :affected_pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesInsertBlank200ResponseMetaAffectedPagesItem] }, optional: false, nullable: false, api_name: "affectedPages" - - field :cache_delta, -> { CloudPDF::Types::DocPagesInsertBlank200ResponseMetaCacheDelta }, optional: false, nullable: true, api_name: "cacheDelta" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_insert_blank200response_meta_affected_pages_item.rb b/lib/CloudPDF/types/doc_pages_insert_blank200response_meta_affected_pages_item.rb deleted file mode 100644 index f4a1f8c6..00000000 --- a/lib/CloudPDF/types/doc_pages_insert_blank200response_meta_affected_pages_item.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesInsertBlank200ResponseMetaAffectedPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :revision, -> { CloudPDF::Types::DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision }, optional: false, nullable: false - - field :weak_annotation_state, -> { CloudPDF::Types::DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState }, optional: false, nullable: false, api_name: "weakAnnotationState" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_insert_blank200response_meta_affected_pages_item_revision.rb b/lib/CloudPDF/types/doc_pages_insert_blank200response_meta_affected_pages_item_revision.rb deleted file mode 100644 index 8900276d..00000000 --- a/lib/CloudPDF/types/doc_pages_insert_blank200response_meta_affected_pages_item_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_insert_blank200response_meta_affected_pages_item_weak_annotation_state.rb b/lib/CloudPDF/types/doc_pages_insert_blank200response_meta_affected_pages_item_weak_annotation_state.rb deleted file mode 100644 index 4a14275b..00000000 --- a/lib/CloudPDF/types/doc_pages_insert_blank200response_meta_affected_pages_item_weak_annotation_state.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown }, key: "UNKNOWN" - - member -> { CloudPDF::Types::DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown }, key: "KNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_insert_blank200response_meta_affected_pages_item_weak_annotation_state_known.rb b/lib/CloudPDF/types/doc_pages_insert_blank200response_meta_affected_pages_item_weak_annotation_state_known.rb deleted file mode 100644 index daa81c50..00000000 --- a/lib/CloudPDF/types/doc_pages_insert_blank200response_meta_affected_pages_item_weak_annotation_state_known.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown < Internal::Types::Model - field :has_any_weak_annotations, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAnyWeakAnnotations" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_insert_blank200response_meta_affected_pages_item_weak_annotation_state_unknown.rb b/lib/CloudPDF/types/doc_pages_insert_blank200response_meta_affected_pages_item_weak_annotation_state_unknown.rb deleted file mode 100644 index 60d75028..00000000 --- a/lib/CloudPDF/types/doc_pages_insert_blank200response_meta_affected_pages_item_weak_annotation_state_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_pages_insert_blank200response_meta_cache_delta.rb b/lib/CloudPDF/types/doc_pages_insert_blank200response_meta_cache_delta.rb deleted file mode 100644 index 2fe014df..00000000 --- a/lib/CloudPDF/types/doc_pages_insert_blank200response_meta_cache_delta.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesInsertBlank200ResponseMetaCacheDelta < Internal::Types::Model - field :previous_doc_version, -> { Integer }, optional: false, nullable: false, api_name: "previousDocVersion" - - field :doc_version, -> { Integer }, optional: false, nullable: false, api_name: "docVersion" - - field :annotations_version, -> { Integer }, optional: true, nullable: false, api_name: "annotationsVersion" - - field :layer_version, -> { Integer }, optional: true, nullable: false, api_name: "layerVersion" - - field :working, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_insert_blank200response_meta_cache_delta_pages_item.rb b/lib/CloudPDF/types/doc_pages_insert_blank200response_meta_cache_delta_pages_item.rb deleted file mode 100644 index 06449b99..00000000 --- a/lib/CloudPDF/types/doc_pages_insert_blank200response_meta_cache_delta_pages_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :cache, -> { CloudPDF::Types::DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_insert_blank200response_meta_cache_delta_pages_item_cache.rb b/lib/CloudPDF/types/doc_pages_insert_blank200response_meta_cache_delta_pages_item_cache.rb deleted file mode 100644 index 9ebd0235..00000000 --- a/lib/CloudPDF/types/doc_pages_insert_blank200response_meta_cache_delta_pages_item_cache.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache < 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" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_insert_blank400response.rb b/lib/CloudPDF/types/doc_pages_insert_blank400response.rb index 48c3341c..d95ffdf2 100644 --- a/lib/CloudPDF/types/doc_pages_insert_blank400response.rb +++ b/lib/CloudPDF/types/doc_pages_insert_blank400response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocPagesInsertBlank400Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocPagesInsertBlank400ResponseName }, optional: false, nullable: false + module DocPagesInsertBlank400Response + # DocPagesInsertBlank400Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocPagesInsertBlank400ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_pages_insert_blank400response_code.rb b/lib/CloudPDF/types/doc_pages_insert_blank400response_code.rb deleted file mode 100644 index b849d305..00000000 --- a/lib/CloudPDF/types/doc_pages_insert_blank400response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesInsertBlank400ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_insert_blank400response_name.rb b/lib/CloudPDF/types/doc_pages_insert_blank400response_name.rb deleted file mode 100644 index ddf7847a..00000000 --- a/lib/CloudPDF/types/doc_pages_insert_blank400response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesInsertBlank400ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_insert_blank404response.rb b/lib/CloudPDF/types/doc_pages_insert_blank404response.rb index 658f1df9..a0a5c1e1 100644 --- a/lib/CloudPDF/types/doc_pages_insert_blank404response.rb +++ b/lib/CloudPDF/types/doc_pages_insert_blank404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocPagesInsertBlank404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocPagesInsertBlank404ResponseName }, optional: false, nullable: false + module DocPagesInsertBlank404Response + # DocPagesInsertBlank404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocPagesInsertBlank404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_pages_insert_blank404response_code.rb b/lib/CloudPDF/types/doc_pages_insert_blank404response_code.rb deleted file mode 100644 index 0fe57962..00000000 --- a/lib/CloudPDF/types/doc_pages_insert_blank404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesInsertBlank404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_insert_blank404response_name.rb b/lib/CloudPDF/types/doc_pages_insert_blank404response_name.rb deleted file mode 100644 index 884c673f..00000000 --- a/lib/CloudPDF/types/doc_pages_insert_blank404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesInsertBlank404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_move200response.rb b/lib/CloudPDF/types/doc_pages_move200response.rb deleted file mode 100644 index 3be23599..00000000 --- a/lib/CloudPDF/types/doc_pages_move200response.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesMove200Response < Internal::Types::Model - field :meta, -> { CloudPDF::Types::DocPagesMove200ResponseMeta }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_move200response_meta.rb b/lib/CloudPDF/types/doc_pages_move200response_meta.rb deleted file mode 100644 index 54a83436..00000000 --- a/lib/CloudPDF/types/doc_pages_move200response_meta.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesMove200ResponseMeta < Internal::Types::Model - field :affected_pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesMove200ResponseMetaAffectedPagesItem] }, optional: false, nullable: false, api_name: "affectedPages" - - field :cache_delta, -> { CloudPDF::Types::DocPagesMove200ResponseMetaCacheDelta }, optional: false, nullable: true, api_name: "cacheDelta" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_move200response_meta_affected_pages_item.rb b/lib/CloudPDF/types/doc_pages_move200response_meta_affected_pages_item.rb deleted file mode 100644 index eb5157c5..00000000 --- a/lib/CloudPDF/types/doc_pages_move200response_meta_affected_pages_item.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesMove200ResponseMetaAffectedPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :revision, -> { CloudPDF::Types::DocPagesMove200ResponseMetaAffectedPagesItemRevision }, optional: false, nullable: false - - field :weak_annotation_state, -> { CloudPDF::Types::DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState }, optional: false, nullable: false, api_name: "weakAnnotationState" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_move200response_meta_affected_pages_item_revision.rb b/lib/CloudPDF/types/doc_pages_move200response_meta_affected_pages_item_revision.rb deleted file mode 100644 index 0e51329b..00000000 --- a/lib/CloudPDF/types/doc_pages_move200response_meta_affected_pages_item_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesMove200ResponseMetaAffectedPagesItemRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_move200response_meta_affected_pages_item_weak_annotation_state.rb b/lib/CloudPDF/types/doc_pages_move200response_meta_affected_pages_item_weak_annotation_state.rb deleted file mode 100644 index e553284d..00000000 --- a/lib/CloudPDF/types/doc_pages_move200response_meta_affected_pages_item_weak_annotation_state.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown }, key: "UNKNOWN" - - member -> { CloudPDF::Types::DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown }, key: "KNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_move200response_meta_affected_pages_item_weak_annotation_state_known.rb b/lib/CloudPDF/types/doc_pages_move200response_meta_affected_pages_item_weak_annotation_state_known.rb deleted file mode 100644 index b93428ac..00000000 --- a/lib/CloudPDF/types/doc_pages_move200response_meta_affected_pages_item_weak_annotation_state_known.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown < Internal::Types::Model - field :has_any_weak_annotations, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAnyWeakAnnotations" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_move200response_meta_affected_pages_item_weak_annotation_state_unknown.rb b/lib/CloudPDF/types/doc_pages_move200response_meta_affected_pages_item_weak_annotation_state_unknown.rb deleted file mode 100644 index 5ada8d25..00000000 --- a/lib/CloudPDF/types/doc_pages_move200response_meta_affected_pages_item_weak_annotation_state_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_pages_move200response_meta_cache_delta.rb b/lib/CloudPDF/types/doc_pages_move200response_meta_cache_delta.rb deleted file mode 100644 index 654942bd..00000000 --- a/lib/CloudPDF/types/doc_pages_move200response_meta_cache_delta.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesMove200ResponseMetaCacheDelta < Internal::Types::Model - field :previous_doc_version, -> { Integer }, optional: false, nullable: false, api_name: "previousDocVersion" - - field :doc_version, -> { Integer }, optional: false, nullable: false, api_name: "docVersion" - - field :annotations_version, -> { Integer }, optional: true, nullable: false, api_name: "annotationsVersion" - - field :layer_version, -> { Integer }, optional: true, nullable: false, api_name: "layerVersion" - - field :working, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesMove200ResponseMetaCacheDeltaPagesItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_move200response_meta_cache_delta_pages_item.rb b/lib/CloudPDF/types/doc_pages_move200response_meta_cache_delta_pages_item.rb deleted file mode 100644 index 7b751d2b..00000000 --- a/lib/CloudPDF/types/doc_pages_move200response_meta_cache_delta_pages_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesMove200ResponseMetaCacheDeltaPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :cache, -> { CloudPDF::Types::DocPagesMove200ResponseMetaCacheDeltaPagesItemCache }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_move200response_meta_cache_delta_pages_item_cache.rb b/lib/CloudPDF/types/doc_pages_move200response_meta_cache_delta_pages_item_cache.rb deleted file mode 100644 index a5eca17e..00000000 --- a/lib/CloudPDF/types/doc_pages_move200response_meta_cache_delta_pages_item_cache.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesMove200ResponseMetaCacheDeltaPagesItemCache < 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" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_move400response.rb b/lib/CloudPDF/types/doc_pages_move400response.rb deleted file mode 100644 index de4720cb..00000000 --- a/lib/CloudPDF/types/doc_pages_move400response.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesMove400Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocPagesMove400ResponseName }, optional: false, nullable: false - - field :code, -> { CloudPDF::Types::DocPagesMove400ResponseCode }, 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/doc_pages_move400response_code.rb b/lib/CloudPDF/types/doc_pages_move400response_code.rb deleted file mode 100644 index 15f3f7ee..00000000 --- a/lib/CloudPDF/types/doc_pages_move400response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesMove400ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_move400response_name.rb b/lib/CloudPDF/types/doc_pages_move400response_name.rb deleted file mode 100644 index 59860b44..00000000 --- a/lib/CloudPDF/types/doc_pages_move400response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesMove400ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_move404response.rb b/lib/CloudPDF/types/doc_pages_move404response.rb deleted file mode 100644 index 77f7e059..00000000 --- a/lib/CloudPDF/types/doc_pages_move404response.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesMove404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocPagesMove404ResponseName }, optional: false, nullable: false - - field :code, -> { CloudPDF::Types::DocPagesMove404ResponseCode }, 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/doc_pages_move404response_code.rb b/lib/CloudPDF/types/doc_pages_move404response_code.rb deleted file mode 100644 index e35bc860..00000000 --- a/lib/CloudPDF/types/doc_pages_move404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesMove404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_move404response_name.rb b/lib/CloudPDF/types/doc_pages_move404response_name.rb deleted file mode 100644 index 6c9061da..00000000 --- a/lib/CloudPDF/types/doc_pages_move404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesMove404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_move_request.rb b/lib/CloudPDF/types/doc_pages_move_request.rb deleted file mode 100644 index 49017c67..00000000 --- a/lib/CloudPDF/types/doc_pages_move_request.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesMoveRequest - # DocPagesMoveRequest 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_pages_remove_name200response.rb b/lib/CloudPDF/types/doc_pages_remove_name200response.rb index 21447040..a248aa21 100644 --- a/lib/CloudPDF/types/doc_pages_remove_name200response.rb +++ b/lib/CloudPDF/types/doc_pages_remove_name200response.rb @@ -3,7 +3,9 @@ module CloudPDF module Types class DocPagesRemoveName200Response < Internal::Types::Model - field :meta, -> { CloudPDF::Types::DocPagesRemoveName200ResponseMeta }, optional: false, nullable: false + 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 new file mode 100644 index 00000000..c897d5ca --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name200response_layout.rb @@ -0,0 +1,13 @@ +# 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 :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_named_pages_item.rb b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_named_pages_item.rb new file mode 100644 index 00000000..54c58a88 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_named_pages_item.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 00000000..c0024f04 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_named_pages_item_target.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 00000000..0a3b1d8d --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_named_pages_item_target_dangling.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 00000000..7b9d5de8 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_named_pages_item_target_page.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..e8b88d64 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_named_pages_item_target_template.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..048cf3ec --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 00000000..08f2c0a4 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 00000000..140734c5 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes_art.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 00000000..290b50ac --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes_bleed.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 00000000..1b2ff4af --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes_crop.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 00000000..40a44b59 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes_media.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 00000000..b3ebe962 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_boxes_trim.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 00000000..7a4b04bf --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_pdf_crop_box.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 00000000..9d4417c1 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_size.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 00000000..64897046 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_remove_name200response_layout_pages_item_tab_order.rb @@ -0,0 +1,15 @@ +# 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_name200response_meta.rb b/lib/CloudPDF/types/doc_pages_remove_name200response_meta.rb deleted file mode 100644 index 79d2e948..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name200response_meta.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRemoveName200ResponseMeta < Internal::Types::Model - field :affected_pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesRemoveName200ResponseMetaAffectedPagesItem] }, optional: false, nullable: false, api_name: "affectedPages" - - field :cache_delta, -> { CloudPDF::Types::DocPagesRemoveName200ResponseMetaCacheDelta }, optional: false, nullable: true, api_name: "cacheDelta" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name200response_meta_affected_pages_item.rb b/lib/CloudPDF/types/doc_pages_remove_name200response_meta_affected_pages_item.rb deleted file mode 100644 index 78e5a4d6..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name200response_meta_affected_pages_item.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRemoveName200ResponseMetaAffectedPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :revision, -> { CloudPDF::Types::DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision }, optional: false, nullable: false - - field :weak_annotation_state, -> { CloudPDF::Types::DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationState }, optional: false, nullable: false, api_name: "weakAnnotationState" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name200response_meta_affected_pages_item_revision.rb b/lib/CloudPDF/types/doc_pages_remove_name200response_meta_affected_pages_item_revision.rb deleted file mode 100644 index 9ee2a571..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name200response_meta_affected_pages_item_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name200response_meta_affected_pages_item_weak_annotation_state.rb b/lib/CloudPDF/types/doc_pages_remove_name200response_meta_affected_pages_item_weak_annotation_state.rb deleted file mode 100644 index 40abf895..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name200response_meta_affected_pages_item_weak_annotation_state.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationState < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown }, key: "UNKNOWN" - - member -> { CloudPDF::Types::DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown }, key: "KNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name200response_meta_affected_pages_item_weak_annotation_state_known.rb b/lib/CloudPDF/types/doc_pages_remove_name200response_meta_affected_pages_item_weak_annotation_state_known.rb deleted file mode 100644 index b5699ebd..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name200response_meta_affected_pages_item_weak_annotation_state_known.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown < Internal::Types::Model - field :has_any_weak_annotations, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAnyWeakAnnotations" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name200response_meta_affected_pages_item_weak_annotation_state_unknown.rb b/lib/CloudPDF/types/doc_pages_remove_name200response_meta_affected_pages_item_weak_annotation_state_unknown.rb deleted file mode 100644 index e51d2788..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name200response_meta_affected_pages_item_weak_annotation_state_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name200response_meta_cache_delta.rb b/lib/CloudPDF/types/doc_pages_remove_name200response_meta_cache_delta.rb deleted file mode 100644 index 57e2f8f6..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name200response_meta_cache_delta.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRemoveName200ResponseMetaCacheDelta < Internal::Types::Model - field :previous_doc_version, -> { Integer }, optional: false, nullable: false, api_name: "previousDocVersion" - - field :doc_version, -> { Integer }, optional: false, nullable: false, api_name: "docVersion" - - field :annotations_version, -> { Integer }, optional: true, nullable: false, api_name: "annotationsVersion" - - field :layer_version, -> { Integer }, optional: true, nullable: false, api_name: "layerVersion" - - field :working, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name200response_meta_cache_delta_pages_item.rb b/lib/CloudPDF/types/doc_pages_remove_name200response_meta_cache_delta_pages_item.rb deleted file mode 100644 index 740ba2c9..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name200response_meta_cache_delta_pages_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :cache, -> { CloudPDF::Types::DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name200response_meta_cache_delta_pages_item_cache.rb b/lib/CloudPDF/types/doc_pages_remove_name200response_meta_cache_delta_pages_item_cache.rb deleted file mode 100644 index bf69dada..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name200response_meta_cache_delta_pages_item_cache.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache < 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" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name400response.rb b/lib/CloudPDF/types/doc_pages_remove_name400response.rb index f0c9f77a..8ac4eb70 100644 --- a/lib/CloudPDF/types/doc_pages_remove_name400response.rb +++ b/lib/CloudPDF/types/doc_pages_remove_name400response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocPagesRemoveName400Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocPagesRemoveName400ResponseName }, optional: false, nullable: false + module DocPagesRemoveName400Response + # DocPagesRemoveName400Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocPagesRemoveName400ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_name400response_code.rb b/lib/CloudPDF/types/doc_pages_remove_name400response_code.rb deleted file mode 100644 index 7b38dc6f..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name400response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesRemoveName400ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name400response_name.rb b/lib/CloudPDF/types/doc_pages_remove_name400response_name.rb deleted file mode 100644 index e9491a97..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name400response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesRemoveName400ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name404response.rb b/lib/CloudPDF/types/doc_pages_remove_name404response.rb index 0cc3c790..1aa2dd88 100644 --- a/lib/CloudPDF/types/doc_pages_remove_name404response.rb +++ b/lib/CloudPDF/types/doc_pages_remove_name404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocPagesRemoveName404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocPagesRemoveName404ResponseName }, optional: false, nullable: false + module DocPagesRemoveName404Response + # DocPagesRemoveName404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocPagesRemoveName404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_code.rb b/lib/CloudPDF/types/doc_pages_remove_name404response_code.rb deleted file mode 100644 index cdfb3296..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesRemoveName404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_remove_name404response_name.rb b/lib/CloudPDF/types/doc_pages_remove_name404response_name.rb deleted file mode 100644 index bb3f65f8..00000000 --- a/lib/CloudPDF/types/doc_pages_remove_name404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesRemoveName404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_reorder200response.rb b/lib/CloudPDF/types/doc_pages_reorder200response.rb new file mode 100644 index 00000000..257262fd --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_reorder200response.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesReorder200Response < Internal::Types::Model + field :pages, -> { Internal::Types::Array[CloudPDF::Types::PageRef] }, optional: false, nullable: false + + field :layout, -> { CloudPDF::Types::DocPagesReorder200ResponseLayout }, optional: false, nullable: false + + field :meta, -> { CloudPDF::Types::MutationMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_reorder200response_layout.rb b/lib/CloudPDF/types/doc_pages_reorder200response_layout.rb new file mode 100644 index 00000000..a46c7ff4 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_reorder200response_layout.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesReorder200ResponseLayout < Internal::Types::Model + field :page_count, -> { Integer }, optional: false, nullable: false, api_name: "pageCount" + + field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesReorder200ResponseLayoutPagesItem] }, optional: false, nullable: false + + field :named_pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesReorder200ResponseLayoutNamedPagesItem] }, optional: false, nullable: false, api_name: "namedPages" + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_reorder200response_layout_named_pages_item.rb b/lib/CloudPDF/types/doc_pages_reorder200response_layout_named_pages_item.rb new file mode 100644 index 00000000..feb0d72e --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_reorder200response_layout_named_pages_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesReorder200ResponseLayoutNamedPagesItem < Internal::Types::Model + field :name, -> { String }, optional: false, nullable: false + + field :target, -> { CloudPDF::Types::DocPagesReorder200ResponseLayoutNamedPagesItemTarget }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_reorder200response_layout_named_pages_item_target.rb b/lib/CloudPDF/types/doc_pages_reorder200response_layout_named_pages_item_target.rb new file mode 100644 index 00000000..b73f9209 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_reorder200response_layout_named_pages_item_target.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesReorder200ResponseLayoutNamedPagesItemTarget < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :kind + + member -> { CloudPDF::Types::DocPagesReorder200ResponseLayoutNamedPagesItemTargetPage }, key: "PAGE" + + member -> { CloudPDF::Types::DocPagesReorder200ResponseLayoutNamedPagesItemTargetTemplate }, key: "TEMPLATE" + + member -> { CloudPDF::Types::DocPagesReorder200ResponseLayoutNamedPagesItemTargetDangling }, key: "DANGLING" + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_reorder200response_layout_named_pages_item_target_dangling.rb b/lib/CloudPDF/types/doc_pages_reorder200response_layout_named_pages_item_target_dangling.rb new file mode 100644 index 00000000..d23f4bdd --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_reorder200response_layout_named_pages_item_target_dangling.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesReorder200ResponseLayoutNamedPagesItemTargetDangling < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/doc_pages_reorder200response_layout_named_pages_item_target_page.rb b/lib/CloudPDF/types/doc_pages_reorder200response_layout_named_pages_item_target_page.rb new file mode 100644 index 00000000..2ec6a8f9 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_reorder200response_layout_named_pages_item_target_page.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesReorder200ResponseLayoutNamedPagesItemTargetPage < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_reorder200response_layout_named_pages_item_target_template.rb b/lib/CloudPDF/types/doc_pages_reorder200response_layout_named_pages_item_target_template.rb new file mode 100644 index 00000000..77298596 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_reorder200response_layout_named_pages_item_target_template.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesReorder200ResponseLayoutNamedPagesItemTargetTemplate < 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_reorder200response_layout_pages_item.rb b/lib/CloudPDF/types/doc_pages_reorder200response_layout_pages_item.rb new file mode 100644 index 00000000..4aed3ca6 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_reorder200response_layout_pages_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesReorder200ResponseLayoutPagesItem < 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::DocPagesReorder200ResponseLayoutPagesItemSize }, 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::DocPagesReorder200ResponseLayoutPagesItemTabOrder }, optional: false, nullable: true, api_name: "tabOrder" + + field :boxes, -> { CloudPDF::Types::DocPagesReorder200ResponseLayoutPagesItemBoxes }, optional: false, nullable: false + + field :pdf_crop_box, -> { CloudPDF::Types::DocPagesReorder200ResponseLayoutPagesItemPdfCropBox }, 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_reorder200response_layout_pages_item_boxes.rb b/lib/CloudPDF/types/doc_pages_reorder200response_layout_pages_item_boxes.rb new file mode 100644 index 00000000..3aad2659 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_reorder200response_layout_pages_item_boxes.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesReorder200ResponseLayoutPagesItemBoxes < Internal::Types::Model + field :media, -> { CloudPDF::Types::DocPagesReorder200ResponseLayoutPagesItemBoxesMedia }, optional: false, nullable: false + + field :crop, -> { CloudPDF::Types::DocPagesReorder200ResponseLayoutPagesItemBoxesCrop }, optional: false, nullable: false + + field :bleed, -> { CloudPDF::Types::DocPagesReorder200ResponseLayoutPagesItemBoxesBleed }, optional: false, nullable: false + + field :trim, -> { CloudPDF::Types::DocPagesReorder200ResponseLayoutPagesItemBoxesTrim }, optional: false, nullable: false + + field :art, -> { CloudPDF::Types::DocPagesReorder200ResponseLayoutPagesItemBoxesArt }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_reorder200response_layout_pages_item_boxes_art.rb b/lib/CloudPDF/types/doc_pages_reorder200response_layout_pages_item_boxes_art.rb new file mode 100644 index 00000000..3e8b80f4 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_reorder200response_layout_pages_item_boxes_art.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesReorder200ResponseLayoutPagesItemBoxesArt < 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_reorder200response_layout_pages_item_boxes_bleed.rb b/lib/CloudPDF/types/doc_pages_reorder200response_layout_pages_item_boxes_bleed.rb new file mode 100644 index 00000000..dea0072f --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_reorder200response_layout_pages_item_boxes_bleed.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesReorder200ResponseLayoutPagesItemBoxesBleed < 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_reorder200response_layout_pages_item_boxes_crop.rb b/lib/CloudPDF/types/doc_pages_reorder200response_layout_pages_item_boxes_crop.rb new file mode 100644 index 00000000..e14a2df4 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_reorder200response_layout_pages_item_boxes_crop.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesReorder200ResponseLayoutPagesItemBoxesCrop < 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_reorder200response_layout_pages_item_boxes_media.rb b/lib/CloudPDF/types/doc_pages_reorder200response_layout_pages_item_boxes_media.rb new file mode 100644 index 00000000..f544670d --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_reorder200response_layout_pages_item_boxes_media.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesReorder200ResponseLayoutPagesItemBoxesMedia < 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_reorder200response_layout_pages_item_boxes_trim.rb b/lib/CloudPDF/types/doc_pages_reorder200response_layout_pages_item_boxes_trim.rb new file mode 100644 index 00000000..7755cd8f --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_reorder200response_layout_pages_item_boxes_trim.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesReorder200ResponseLayoutPagesItemBoxesTrim < 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_reorder200response_layout_pages_item_pdf_crop_box.rb b/lib/CloudPDF/types/doc_pages_reorder200response_layout_pages_item_pdf_crop_box.rb new file mode 100644 index 00000000..a448e4b1 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_reorder200response_layout_pages_item_pdf_crop_box.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesReorder200ResponseLayoutPagesItemPdfCropBox < 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_reorder200response_layout_pages_item_size.rb b/lib/CloudPDF/types/doc_pages_reorder200response_layout_pages_item_size.rb new file mode 100644 index 00000000..a44f1ab4 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_reorder200response_layout_pages_item_size.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesReorder200ResponseLayoutPagesItemSize < 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_reorder200response_layout_pages_item_tab_order.rb b/lib/CloudPDF/types/doc_pages_reorder200response_layout_pages_item_tab_order.rb new file mode 100644 index 00000000..dd9336bf --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_reorder200response_layout_pages_item_tab_order.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocPagesReorder200ResponseLayoutPagesItemTabOrder + 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_reorder400response.rb b/lib/CloudPDF/types/doc_pages_reorder400response.rb new file mode 100644 index 00000000..c1895d66 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_reorder400response.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocPagesReorder400Response + # DocPagesReorder400Response 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_reorder404response.rb b/lib/CloudPDF/types/doc_pages_reorder404response.rb new file mode 100644 index 00000000..da60c9ed --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_reorder404response.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocPagesReorder404Response + # DocPagesReorder404Response 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_rotate200response.rb b/lib/CloudPDF/types/doc_pages_rotate200response.rb index 89186da3..a02683d9 100644 --- a/lib/CloudPDF/types/doc_pages_rotate200response.rb +++ b/lib/CloudPDF/types/doc_pages_rotate200response.rb @@ -3,7 +3,9 @@ module CloudPDF module Types class DocPagesRotate200Response < Internal::Types::Model - field :meta, -> { CloudPDF::Types::DocPagesRotate200ResponseMeta }, optional: false, nullable: false + field :layout, -> { CloudPDF::Types::DocPagesRotate200ResponseLayout }, optional: false, nullable: false + + field :meta, -> { CloudPDF::Types::MutationMeta }, optional: false, nullable: false end end end diff --git a/lib/CloudPDF/types/doc_pages_rotate200response_layout.rb b/lib/CloudPDF/types/doc_pages_rotate200response_layout.rb new file mode 100644 index 00000000..e3cf93d9 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_rotate200response_layout.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRotate200ResponseLayout < Internal::Types::Model + field :page_count, -> { Integer }, optional: false, nullable: false, api_name: "pageCount" + + field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesRotate200ResponseLayoutPagesItem] }, optional: false, nullable: false + + field :named_pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesRotate200ResponseLayoutNamedPagesItem] }, optional: false, nullable: false, api_name: "namedPages" + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_rotate200response_layout_named_pages_item.rb b/lib/CloudPDF/types/doc_pages_rotate200response_layout_named_pages_item.rb new file mode 100644 index 00000000..9c5d43bd --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_rotate200response_layout_named_pages_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRotate200ResponseLayoutNamedPagesItem < Internal::Types::Model + field :name, -> { String }, optional: false, nullable: false + + field :target, -> { CloudPDF::Types::DocPagesRotate200ResponseLayoutNamedPagesItemTarget }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_rotate200response_layout_named_pages_item_target.rb b/lib/CloudPDF/types/doc_pages_rotate200response_layout_named_pages_item_target.rb new file mode 100644 index 00000000..0cc62972 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_rotate200response_layout_named_pages_item_target.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRotate200ResponseLayoutNamedPagesItemTarget < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :kind + + member -> { CloudPDF::Types::DocPagesRotate200ResponseLayoutNamedPagesItemTargetPage }, key: "PAGE" + + member -> { CloudPDF::Types::DocPagesRotate200ResponseLayoutNamedPagesItemTargetTemplate }, key: "TEMPLATE" + + member -> { CloudPDF::Types::DocPagesRotate200ResponseLayoutNamedPagesItemTargetDangling }, key: "DANGLING" + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_rotate200response_layout_named_pages_item_target_dangling.rb b/lib/CloudPDF/types/doc_pages_rotate200response_layout_named_pages_item_target_dangling.rb new file mode 100644 index 00000000..530498fb --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_rotate200response_layout_named_pages_item_target_dangling.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRotate200ResponseLayoutNamedPagesItemTargetDangling < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/doc_pages_rotate200response_layout_named_pages_item_target_page.rb b/lib/CloudPDF/types/doc_pages_rotate200response_layout_named_pages_item_target_page.rb new file mode 100644 index 00000000..c6eb6c73 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_rotate200response_layout_named_pages_item_target_page.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRotate200ResponseLayoutNamedPagesItemTargetPage < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_rotate200response_layout_named_pages_item_target_template.rb b/lib/CloudPDF/types/doc_pages_rotate200response_layout_named_pages_item_target_template.rb new file mode 100644 index 00000000..8c0d0b38 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_rotate200response_layout_named_pages_item_target_template.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRotate200ResponseLayoutNamedPagesItemTargetTemplate < 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_rotate200response_layout_pages_item.rb b/lib/CloudPDF/types/doc_pages_rotate200response_layout_pages_item.rb new file mode 100644 index 00000000..acc9ddae --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_rotate200response_layout_pages_item.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRotate200ResponseLayoutPagesItem < 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::DocPagesRotate200ResponseLayoutPagesItemSize }, 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::DocPagesRotate200ResponseLayoutPagesItemTabOrder }, optional: false, nullable: true, api_name: "tabOrder" + + field :boxes, -> { CloudPDF::Types::DocPagesRotate200ResponseLayoutPagesItemBoxes }, optional: false, nullable: false + + field :pdf_crop_box, -> { CloudPDF::Types::DocPagesRotate200ResponseLayoutPagesItemPdfCropBox }, 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_rotate200response_layout_pages_item_boxes.rb b/lib/CloudPDF/types/doc_pages_rotate200response_layout_pages_item_boxes.rb new file mode 100644 index 00000000..80a23c58 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_rotate200response_layout_pages_item_boxes.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRotate200ResponseLayoutPagesItemBoxes < Internal::Types::Model + field :media, -> { CloudPDF::Types::DocPagesRotate200ResponseLayoutPagesItemBoxesMedia }, optional: false, nullable: false + + field :crop, -> { CloudPDF::Types::DocPagesRotate200ResponseLayoutPagesItemBoxesCrop }, optional: false, nullable: false + + field :bleed, -> { CloudPDF::Types::DocPagesRotate200ResponseLayoutPagesItemBoxesBleed }, optional: false, nullable: false + + field :trim, -> { CloudPDF::Types::DocPagesRotate200ResponseLayoutPagesItemBoxesTrim }, optional: false, nullable: false + + field :art, -> { CloudPDF::Types::DocPagesRotate200ResponseLayoutPagesItemBoxesArt }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/doc_pages_rotate200response_layout_pages_item_boxes_art.rb b/lib/CloudPDF/types/doc_pages_rotate200response_layout_pages_item_boxes_art.rb new file mode 100644 index 00000000..00fe0e34 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_rotate200response_layout_pages_item_boxes_art.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRotate200ResponseLayoutPagesItemBoxesArt < 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_rotate200response_layout_pages_item_boxes_bleed.rb b/lib/CloudPDF/types/doc_pages_rotate200response_layout_pages_item_boxes_bleed.rb new file mode 100644 index 00000000..5c11a602 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_rotate200response_layout_pages_item_boxes_bleed.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRotate200ResponseLayoutPagesItemBoxesBleed < 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_rotate200response_layout_pages_item_boxes_crop.rb b/lib/CloudPDF/types/doc_pages_rotate200response_layout_pages_item_boxes_crop.rb new file mode 100644 index 00000000..51554305 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_rotate200response_layout_pages_item_boxes_crop.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRotate200ResponseLayoutPagesItemBoxesCrop < 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_rotate200response_layout_pages_item_boxes_media.rb b/lib/CloudPDF/types/doc_pages_rotate200response_layout_pages_item_boxes_media.rb new file mode 100644 index 00000000..d7d1bcc0 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_rotate200response_layout_pages_item_boxes_media.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRotate200ResponseLayoutPagesItemBoxesMedia < 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_rotate200response_layout_pages_item_boxes_trim.rb b/lib/CloudPDF/types/doc_pages_rotate200response_layout_pages_item_boxes_trim.rb new file mode 100644 index 00000000..3157d3c3 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_rotate200response_layout_pages_item_boxes_trim.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRotate200ResponseLayoutPagesItemBoxesTrim < 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_rotate200response_layout_pages_item_pdf_crop_box.rb b/lib/CloudPDF/types/doc_pages_rotate200response_layout_pages_item_pdf_crop_box.rb new file mode 100644 index 00000000..65b6c1a9 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_rotate200response_layout_pages_item_pdf_crop_box.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRotate200ResponseLayoutPagesItemPdfCropBox < 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_rotate200response_layout_pages_item_size.rb b/lib/CloudPDF/types/doc_pages_rotate200response_layout_pages_item_size.rb new file mode 100644 index 00000000..d587baaa --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_rotate200response_layout_pages_item_size.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocPagesRotate200ResponseLayoutPagesItemSize < 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_rotate200response_layout_pages_item_tab_order.rb b/lib/CloudPDF/types/doc_pages_rotate200response_layout_pages_item_tab_order.rb new file mode 100644 index 00000000..fa546eae --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_rotate200response_layout_pages_item_tab_order.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocPagesRotate200ResponseLayoutPagesItemTabOrder + 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_rotate200response_meta.rb b/lib/CloudPDF/types/doc_pages_rotate200response_meta.rb deleted file mode 100644 index ffd39229..00000000 --- a/lib/CloudPDF/types/doc_pages_rotate200response_meta.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRotate200ResponseMeta < Internal::Types::Model - field :affected_pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesRotate200ResponseMetaAffectedPagesItem] }, optional: false, nullable: false, api_name: "affectedPages" - - field :cache_delta, -> { CloudPDF::Types::DocPagesRotate200ResponseMetaCacheDelta }, optional: false, nullable: true, api_name: "cacheDelta" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_rotate200response_meta_affected_pages_item.rb b/lib/CloudPDF/types/doc_pages_rotate200response_meta_affected_pages_item.rb deleted file mode 100644 index 34d87855..00000000 --- a/lib/CloudPDF/types/doc_pages_rotate200response_meta_affected_pages_item.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRotate200ResponseMetaAffectedPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :revision, -> { CloudPDF::Types::DocPagesRotate200ResponseMetaAffectedPagesItemRevision }, optional: false, nullable: false - - field :weak_annotation_state, -> { CloudPDF::Types::DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState }, optional: false, nullable: false, api_name: "weakAnnotationState" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_rotate200response_meta_affected_pages_item_revision.rb b/lib/CloudPDF/types/doc_pages_rotate200response_meta_affected_pages_item_revision.rb deleted file mode 100644 index 5415740a..00000000 --- a/lib/CloudPDF/types/doc_pages_rotate200response_meta_affected_pages_item_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRotate200ResponseMetaAffectedPagesItemRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_rotate200response_meta_affected_pages_item_weak_annotation_state.rb b/lib/CloudPDF/types/doc_pages_rotate200response_meta_affected_pages_item_weak_annotation_state.rb deleted file mode 100644 index b8c7f028..00000000 --- a/lib/CloudPDF/types/doc_pages_rotate200response_meta_affected_pages_item_weak_annotation_state.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown }, key: "UNKNOWN" - - member -> { CloudPDF::Types::DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown }, key: "KNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_rotate200response_meta_affected_pages_item_weak_annotation_state_known.rb b/lib/CloudPDF/types/doc_pages_rotate200response_meta_affected_pages_item_weak_annotation_state_known.rb deleted file mode 100644 index b2e305fd..00000000 --- a/lib/CloudPDF/types/doc_pages_rotate200response_meta_affected_pages_item_weak_annotation_state_known.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown < Internal::Types::Model - field :has_any_weak_annotations, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAnyWeakAnnotations" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_rotate200response_meta_affected_pages_item_weak_annotation_state_unknown.rb b/lib/CloudPDF/types/doc_pages_rotate200response_meta_affected_pages_item_weak_annotation_state_unknown.rb deleted file mode 100644 index ab61c98c..00000000 --- a/lib/CloudPDF/types/doc_pages_rotate200response_meta_affected_pages_item_weak_annotation_state_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_pages_rotate200response_meta_cache_delta.rb b/lib/CloudPDF/types/doc_pages_rotate200response_meta_cache_delta.rb deleted file mode 100644 index 90d56d9d..00000000 --- a/lib/CloudPDF/types/doc_pages_rotate200response_meta_cache_delta.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRotate200ResponseMetaCacheDelta < Internal::Types::Model - field :previous_doc_version, -> { Integer }, optional: false, nullable: false, api_name: "previousDocVersion" - - field :doc_version, -> { Integer }, optional: false, nullable: false, api_name: "docVersion" - - field :annotations_version, -> { Integer }, optional: true, nullable: false, api_name: "annotationsVersion" - - field :layer_version, -> { Integer }, optional: true, nullable: false, api_name: "layerVersion" - - field :working, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesRotate200ResponseMetaCacheDeltaPagesItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_rotate200response_meta_cache_delta_pages_item.rb b/lib/CloudPDF/types/doc_pages_rotate200response_meta_cache_delta_pages_item.rb deleted file mode 100644 index b2ac177c..00000000 --- a/lib/CloudPDF/types/doc_pages_rotate200response_meta_cache_delta_pages_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRotate200ResponseMetaCacheDeltaPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :cache, -> { CloudPDF::Types::DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_rotate200response_meta_cache_delta_pages_item_cache.rb b/lib/CloudPDF/types/doc_pages_rotate200response_meta_cache_delta_pages_item_cache.rb deleted file mode 100644 index a31e901e..00000000 --- a/lib/CloudPDF/types/doc_pages_rotate200response_meta_cache_delta_pages_item_cache.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache < 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" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_rotate400response.rb b/lib/CloudPDF/types/doc_pages_rotate400response.rb index 1e9eeaca..1fab8ed0 100644 --- a/lib/CloudPDF/types/doc_pages_rotate400response.rb +++ b/lib/CloudPDF/types/doc_pages_rotate400response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocPagesRotate400Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocPagesRotate400ResponseName }, optional: false, nullable: false + module DocPagesRotate400Response + # DocPagesRotate400Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocPagesRotate400ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_pages_rotate400response_code.rb b/lib/CloudPDF/types/doc_pages_rotate400response_code.rb deleted file mode 100644 index 4b57dab8..00000000 --- a/lib/CloudPDF/types/doc_pages_rotate400response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesRotate400ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_rotate400response_name.rb b/lib/CloudPDF/types/doc_pages_rotate400response_name.rb deleted file mode 100644 index f710dcc1..00000000 --- a/lib/CloudPDF/types/doc_pages_rotate400response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesRotate400ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_rotate404response.rb b/lib/CloudPDF/types/doc_pages_rotate404response.rb index 048aa1df..e62e7aaa 100644 --- a/lib/CloudPDF/types/doc_pages_rotate404response.rb +++ b/lib/CloudPDF/types/doc_pages_rotate404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocPagesRotate404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocPagesRotate404ResponseName }, optional: false, nullable: false + module DocPagesRotate404Response + # DocPagesRotate404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocPagesRotate404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_pages_rotate404response_code.rb b/lib/CloudPDF/types/doc_pages_rotate404response_code.rb deleted file mode 100644 index 5f866e05..00000000 --- a/lib/CloudPDF/types/doc_pages_rotate404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesRotate404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_rotate404response_name.rb b/lib/CloudPDF/types/doc_pages_rotate404response_name.rb deleted file mode 100644 index 9248f03e..00000000 --- a/lib/CloudPDF/types/doc_pages_rotate404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesRotate404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name200response.rb b/lib/CloudPDF/types/doc_pages_set_name200response.rb index c64f0899..e3ed2e89 100644 --- a/lib/CloudPDF/types/doc_pages_set_name200response.rb +++ b/lib/CloudPDF/types/doc_pages_set_name200response.rb @@ -3,7 +3,9 @@ module CloudPDF module Types class DocPagesSetName200Response < Internal::Types::Model - field :meta, -> { CloudPDF::Types::DocPagesSetName200ResponseMeta }, optional: false, nullable: false + 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 new file mode 100644 index 00000000..9c6e03fe --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name200response_layout.rb @@ -0,0 +1,13 @@ +# 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 :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_named_pages_item.rb b/lib/CloudPDF/types/doc_pages_set_name200response_layout_named_pages_item.rb new file mode 100644 index 00000000..3a780ff0 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name200response_layout_named_pages_item.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 00000000..63d8f49f --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name200response_layout_named_pages_item_target.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 00000000..138ccc65 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name200response_layout_named_pages_item_target_dangling.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 00000000..686d73e8 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name200response_layout_named_pages_item_target_page.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..4d149c2a --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name200response_layout_named_pages_item_target_template.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..4f8f9aea --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 00000000..7a8c9679 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 00000000..80ce4bca --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes_art.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 00000000..69854254 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes_bleed.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 00000000..7e30a2cd --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes_crop.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 00000000..7681cb5a --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes_media.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 00000000..84dddb1c --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_boxes_trim.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 00000000..4494a7c3 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_pdf_crop_box.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 00000000..5c014435 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_size.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 00000000..6c5dddd3 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_set_name200response_layout_pages_item_tab_order.rb @@ -0,0 +1,15 @@ +# 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_name200response_meta.rb b/lib/CloudPDF/types/doc_pages_set_name200response_meta.rb deleted file mode 100644 index 5d0ba91b..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name200response_meta.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetName200ResponseMeta < Internal::Types::Model - field :affected_pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesSetName200ResponseMetaAffectedPagesItem] }, optional: false, nullable: false, api_name: "affectedPages" - - field :cache_delta, -> { CloudPDF::Types::DocPagesSetName200ResponseMetaCacheDelta }, optional: false, nullable: true, api_name: "cacheDelta" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name200response_meta_affected_pages_item.rb b/lib/CloudPDF/types/doc_pages_set_name200response_meta_affected_pages_item.rb deleted file mode 100644 index 269d4ec7..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name200response_meta_affected_pages_item.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetName200ResponseMetaAffectedPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :revision, -> { CloudPDF::Types::DocPagesSetName200ResponseMetaAffectedPagesItemRevision }, optional: false, nullable: false - - field :weak_annotation_state, -> { CloudPDF::Types::DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationState }, optional: false, nullable: false, api_name: "weakAnnotationState" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name200response_meta_affected_pages_item_revision.rb b/lib/CloudPDF/types/doc_pages_set_name200response_meta_affected_pages_item_revision.rb deleted file mode 100644 index 9f9a4788..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name200response_meta_affected_pages_item_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetName200ResponseMetaAffectedPagesItemRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name200response_meta_affected_pages_item_weak_annotation_state.rb b/lib/CloudPDF/types/doc_pages_set_name200response_meta_affected_pages_item_weak_annotation_state.rb deleted file mode 100644 index 28871269..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name200response_meta_affected_pages_item_weak_annotation_state.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationState < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown }, key: "UNKNOWN" - - member -> { CloudPDF::Types::DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown }, key: "KNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name200response_meta_affected_pages_item_weak_annotation_state_known.rb b/lib/CloudPDF/types/doc_pages_set_name200response_meta_affected_pages_item_weak_annotation_state_known.rb deleted file mode 100644 index 739174c9..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name200response_meta_affected_pages_item_weak_annotation_state_known.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown < Internal::Types::Model - field :has_any_weak_annotations, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAnyWeakAnnotations" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name200response_meta_affected_pages_item_weak_annotation_state_unknown.rb b/lib/CloudPDF/types/doc_pages_set_name200response_meta_affected_pages_item_weak_annotation_state_unknown.rb deleted file mode 100644 index 2d3b41ea..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name200response_meta_affected_pages_item_weak_annotation_state_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name200response_meta_cache_delta.rb b/lib/CloudPDF/types/doc_pages_set_name200response_meta_cache_delta.rb deleted file mode 100644 index c8dbce25..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name200response_meta_cache_delta.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetName200ResponseMetaCacheDelta < Internal::Types::Model - field :previous_doc_version, -> { Integer }, optional: false, nullable: false, api_name: "previousDocVersion" - - field :doc_version, -> { Integer }, optional: false, nullable: false, api_name: "docVersion" - - field :annotations_version, -> { Integer }, optional: true, nullable: false, api_name: "annotationsVersion" - - field :layer_version, -> { Integer }, optional: true, nullable: false, api_name: "layerVersion" - - field :working, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesSetName200ResponseMetaCacheDeltaPagesItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name200response_meta_cache_delta_pages_item.rb b/lib/CloudPDF/types/doc_pages_set_name200response_meta_cache_delta_pages_item.rb deleted file mode 100644 index 81efb1e7..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name200response_meta_cache_delta_pages_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetName200ResponseMetaCacheDeltaPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :cache, -> { CloudPDF::Types::DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name200response_meta_cache_delta_pages_item_cache.rb b/lib/CloudPDF/types/doc_pages_set_name200response_meta_cache_delta_pages_item_cache.rb deleted file mode 100644 index 6252b56c..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name200response_meta_cache_delta_pages_item_cache.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache < 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" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name400response.rb b/lib/CloudPDF/types/doc_pages_set_name400response.rb index cbbb2ef7..b2216a86 100644 --- a/lib/CloudPDF/types/doc_pages_set_name400response.rb +++ b/lib/CloudPDF/types/doc_pages_set_name400response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocPagesSetName400Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocPagesSetName400ResponseName }, optional: false, nullable: false + module DocPagesSetName400Response + # DocPagesSetName400Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocPagesSetName400ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_name400response_code.rb b/lib/CloudPDF/types/doc_pages_set_name400response_code.rb deleted file mode 100644 index 8ba6b959..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name400response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesSetName400ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name400response_name.rb b/lib/CloudPDF/types/doc_pages_set_name400response_name.rb deleted file mode 100644 index 96a6b9c3..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name400response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesSetName400ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name404response.rb b/lib/CloudPDF/types/doc_pages_set_name404response.rb index 6aec5829..351e3282 100644 --- a/lib/CloudPDF/types/doc_pages_set_name404response.rb +++ b/lib/CloudPDF/types/doc_pages_set_name404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocPagesSetName404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocPagesSetName404ResponseName }, optional: false, nullable: false + module DocPagesSetName404Response + # DocPagesSetName404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocPagesSetName404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_code.rb b/lib/CloudPDF/types/doc_pages_set_name404response_code.rb deleted file mode 100644 index d6a7f0a8..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesSetName404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_name404response_name.rb b/lib/CloudPDF/types/doc_pages_set_name404response_name.rb deleted file mode 100644 index 0f5c07c1..00000000 --- a/lib/CloudPDF/types/doc_pages_set_name404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesSetName404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_scale200response.rb b/lib/CloudPDF/types/doc_pages_set_scale200response.rb index fdabba42..028e48f2 100644 --- a/lib/CloudPDF/types/doc_pages_set_scale200response.rb +++ b/lib/CloudPDF/types/doc_pages_set_scale200response.rb @@ -3,9 +3,9 @@ module CloudPDF module Types class DocPagesSetScale200Response < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false - field :meta, -> { CloudPDF::Types::DocPagesSetScale200ResponseMeta }, 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_scale200response_meta.rb b/lib/CloudPDF/types/doc_pages_set_scale200response_meta.rb deleted file mode 100644 index c8d44a8d..00000000 --- a/lib/CloudPDF/types/doc_pages_set_scale200response_meta.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetScale200ResponseMeta < Internal::Types::Model - field :affected_pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesSetScale200ResponseMetaAffectedPagesItem] }, optional: false, nullable: false, api_name: "affectedPages" - - field :cache_delta, -> { CloudPDF::Types::DocPagesSetScale200ResponseMetaCacheDelta }, optional: false, nullable: true, api_name: "cacheDelta" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_scale200response_meta_affected_pages_item.rb b/lib/CloudPDF/types/doc_pages_set_scale200response_meta_affected_pages_item.rb deleted file mode 100644 index ffeb5480..00000000 --- a/lib/CloudPDF/types/doc_pages_set_scale200response_meta_affected_pages_item.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetScale200ResponseMetaAffectedPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :revision, -> { CloudPDF::Types::DocPagesSetScale200ResponseMetaAffectedPagesItemRevision }, optional: false, nullable: false - - field :weak_annotation_state, -> { CloudPDF::Types::DocPagesSetScale200ResponseMetaAffectedPagesItemWeakAnnotationState }, optional: false, nullable: false, api_name: "weakAnnotationState" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_scale200response_meta_affected_pages_item_revision.rb b/lib/CloudPDF/types/doc_pages_set_scale200response_meta_affected_pages_item_revision.rb deleted file mode 100644 index 9ad8a7cd..00000000 --- a/lib/CloudPDF/types/doc_pages_set_scale200response_meta_affected_pages_item_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetScale200ResponseMetaAffectedPagesItemRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_scale200response_meta_affected_pages_item_weak_annotation_state.rb b/lib/CloudPDF/types/doc_pages_set_scale200response_meta_affected_pages_item_weak_annotation_state.rb deleted file mode 100644 index 5455e53d..00000000 --- a/lib/CloudPDF/types/doc_pages_set_scale200response_meta_affected_pages_item_weak_annotation_state.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetScale200ResponseMetaAffectedPagesItemWeakAnnotationState < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocPagesSetScale200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown }, key: "UNKNOWN" - - member -> { CloudPDF::Types::DocPagesSetScale200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown }, key: "KNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_scale200response_meta_affected_pages_item_weak_annotation_state_known.rb b/lib/CloudPDF/types/doc_pages_set_scale200response_meta_affected_pages_item_weak_annotation_state_known.rb deleted file mode 100644 index 82175cec..00000000 --- a/lib/CloudPDF/types/doc_pages_set_scale200response_meta_affected_pages_item_weak_annotation_state_known.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetScale200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown < Internal::Types::Model - field :has_any_weak_annotations, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAnyWeakAnnotations" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_scale200response_meta_affected_pages_item_weak_annotation_state_unknown.rb b/lib/CloudPDF/types/doc_pages_set_scale200response_meta_affected_pages_item_weak_annotation_state_unknown.rb deleted file mode 100644 index 0ff07a80..00000000 --- a/lib/CloudPDF/types/doc_pages_set_scale200response_meta_affected_pages_item_weak_annotation_state_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetScale200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_scale200response_meta_cache_delta.rb b/lib/CloudPDF/types/doc_pages_set_scale200response_meta_cache_delta.rb deleted file mode 100644 index f5ae56ac..00000000 --- a/lib/CloudPDF/types/doc_pages_set_scale200response_meta_cache_delta.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetScale200ResponseMetaCacheDelta < Internal::Types::Model - field :previous_doc_version, -> { Integer }, optional: false, nullable: false, api_name: "previousDocVersion" - - field :doc_version, -> { Integer }, optional: false, nullable: false, api_name: "docVersion" - - field :annotations_version, -> { Integer }, optional: true, nullable: false, api_name: "annotationsVersion" - - field :layer_version, -> { Integer }, optional: true, nullable: false, api_name: "layerVersion" - - field :working, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocPagesSetScale200ResponseMetaCacheDeltaPagesItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_scale200response_meta_cache_delta_pages_item.rb b/lib/CloudPDF/types/doc_pages_set_scale200response_meta_cache_delta_pages_item.rb deleted file mode 100644 index 564608c2..00000000 --- a/lib/CloudPDF/types/doc_pages_set_scale200response_meta_cache_delta_pages_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetScale200ResponseMetaCacheDeltaPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :cache, -> { CloudPDF::Types::DocPagesSetScale200ResponseMetaCacheDeltaPagesItemCache }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_scale200response_meta_cache_delta_pages_item_cache.rb b/lib/CloudPDF/types/doc_pages_set_scale200response_meta_cache_delta_pages_item_cache.rb deleted file mode 100644 index bd6058a5..00000000 --- a/lib/CloudPDF/types/doc_pages_set_scale200response_meta_cache_delta_pages_item_cache.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesSetScale200ResponseMetaCacheDeltaPagesItemCache < 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" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_scale400response.rb b/lib/CloudPDF/types/doc_pages_set_scale400response.rb index 54dddb7f..e424e2bd 100644 --- a/lib/CloudPDF/types/doc_pages_set_scale400response.rb +++ b/lib/CloudPDF/types/doc_pages_set_scale400response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocPagesSetScale400Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocPagesSetScale400ResponseName }, optional: false, nullable: false + module DocPagesSetScale400Response + # DocPagesSetScale400Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocPagesSetScale400ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_scale400response_code.rb b/lib/CloudPDF/types/doc_pages_set_scale400response_code.rb deleted file mode 100644 index 22cb74d7..00000000 --- a/lib/CloudPDF/types/doc_pages_set_scale400response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesSetScale400ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_scale400response_name.rb b/lib/CloudPDF/types/doc_pages_set_scale400response_name.rb deleted file mode 100644 index 033c39b8..00000000 --- a/lib/CloudPDF/types/doc_pages_set_scale400response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesSetScale400ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_scale404response.rb b/lib/CloudPDF/types/doc_pages_set_scale404response.rb index 6a929ab0..ff997ba3 100644 --- a/lib/CloudPDF/types/doc_pages_set_scale404response.rb +++ b/lib/CloudPDF/types/doc_pages_set_scale404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocPagesSetScale404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocPagesSetScale404ResponseName }, optional: false, nullable: false + module DocPagesSetScale404Response + # DocPagesSetScale404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocPagesSetScale404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_code.rb b/lib/CloudPDF/types/doc_pages_set_scale404response_code.rb deleted file mode 100644 index 0e487d9c..00000000 --- a/lib/CloudPDF/types/doc_pages_set_scale404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesSetScale404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_set_scale404response_name.rb b/lib/CloudPDF/types/doc_pages_set_scale404response_name.rb deleted file mode 100644 index e9eaab44..00000000 --- a/lib/CloudPDF/types/doc_pages_set_scale404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesSetScale404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response.rb b/lib/CloudPDF/types/doc_pages_viewports200response.rb index 7d7fb6c0..bc50fa19 100644 --- a/lib/CloudPDF/types/doc_pages_viewports200response.rb +++ b/lib/CloudPDF/types/doc_pages_viewports200response.rb @@ -2,22 +2,8 @@ module CloudPDF module Types - module DocPagesViewports200Response - # DocPagesViewports200Response is an alias for Array - - # @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 + 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_item.rb b/lib/CloudPDF/types/doc_pages_viewports200response_item.rb deleted file mode 100644 index 9d6cb581..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_item.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesViewports200ResponseItem < Internal::Types::Model - field :bbox, -> { CloudPDF::Types::DocPagesViewports200ResponseItemBbox }, optional: false, nullable: false - - field :name, -> { String }, optional: true, nullable: false - - field :measure, -> { CloudPDF::Types::DocPagesViewports200ResponseItemMeasure }, optional: true, nullable: false - - field :owned, -> { Internal::Types::Boolean }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_item_bbox.rb b/lib/CloudPDF/types/doc_pages_viewports200response_item_bbox.rb deleted file mode 100644 index dcc79951..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_item_bbox.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesViewports200ResponseItemBbox < 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_viewports200response_item_measure.rb b/lib/CloudPDF/types/doc_pages_viewports200response_item_measure.rb deleted file mode 100644 index 8e83b87c..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesViewports200ResponseItemMeasure < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :subtype - - member -> { CloudPDF::Types::DocPagesViewports200ResponseItemMeasureRl }, key: "RL" - - member -> { CloudPDF::Types::DocPagesViewports200ResponseItemMeasureGeo }, key: "GEO" - - member -> { CloudPDF::Types::DocPagesViewports200ResponseItemMeasureUnknown }, key: "UNKNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_geo.rb b/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_geo.rb deleted file mode 100644 index ad428bf4..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_geo.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesViewports200ResponseItemMeasureGeo < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl.rb b/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl.rb deleted file mode 100644 index 8097dd99..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl.rb +++ /dev/null @@ -1,25 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesViewports200ResponseItemMeasureRl < Internal::Types::Model - field :ratio, -> { String }, optional: true, nullable: false - - field :x, -> { Internal::Types::Array[CloudPDF::Types::DocPagesViewports200ResponseItemMeasureRlXItem] }, optional: false, nullable: false - - field :y, -> { Internal::Types::Array[CloudPDF::Types::DocPagesViewports200ResponseItemMeasureRlYItem] }, optional: true, nullable: false - - field :distance, -> { Internal::Types::Array[CloudPDF::Types::DocPagesViewports200ResponseItemMeasureRlDistanceItem] }, optional: false, nullable: false - - field :area, -> { Internal::Types::Array[CloudPDF::Types::DocPagesViewports200ResponseItemMeasureRlAreaItem] }, optional: false, nullable: false - - field :angle, -> { Internal::Types::Array[CloudPDF::Types::DocPagesViewports200ResponseItemMeasureRlAngleItem] }, optional: true, nullable: false - - field :slope, -> { Internal::Types::Array[CloudPDF::Types::DocPagesViewports200ResponseItemMeasureRlSlopeItem] }, optional: true, nullable: false - - field :origin, -> { CloudPDF::Types::DocPagesViewports200ResponseItemMeasureRlOrigin }, optional: true, nullable: false - - field :cyx, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_angle_item.rb b/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_angle_item.rb deleted file mode 100644 index 5b45a3d7..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_angle_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesViewports200ResponseItemMeasureRlAngleItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocPagesViewports200ResponseItemMeasureRlAngleItemFraction }, 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::DocPagesViewports200ResponseItemMeasureRlAngleItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_angle_item_fraction.rb b/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_angle_item_fraction.rb deleted file mode 100644 index 82a937dd..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_angle_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesViewports200ResponseItemMeasureRlAngleItemFraction - 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_item_measure_rl_angle_item_label_position.rb b/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_angle_item_label_position.rb deleted file mode 100644 index fa572ebf..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_angle_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesViewports200ResponseItemMeasureRlAngleItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_area_item.rb b/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_area_item.rb deleted file mode 100644 index 3646da77..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_area_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesViewports200ResponseItemMeasureRlAreaItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocPagesViewports200ResponseItemMeasureRlAreaItemFraction }, 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::DocPagesViewports200ResponseItemMeasureRlAreaItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_area_item_fraction.rb b/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_area_item_fraction.rb deleted file mode 100644 index c547937d..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_area_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesViewports200ResponseItemMeasureRlAreaItemFraction - 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_item_measure_rl_area_item_label_position.rb b/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_area_item_label_position.rb deleted file mode 100644 index 991e414f..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_area_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesViewports200ResponseItemMeasureRlAreaItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_distance_item.rb b/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_distance_item.rb deleted file mode 100644 index f082e773..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_distance_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesViewports200ResponseItemMeasureRlDistanceItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocPagesViewports200ResponseItemMeasureRlDistanceItemFraction }, 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::DocPagesViewports200ResponseItemMeasureRlDistanceItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_distance_item_fraction.rb b/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_distance_item_fraction.rb deleted file mode 100644 index bef3f5bd..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_distance_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesViewports200ResponseItemMeasureRlDistanceItemFraction - 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_item_measure_rl_distance_item_label_position.rb b/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_distance_item_label_position.rb deleted file mode 100644 index 3cecd032..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_distance_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesViewports200ResponseItemMeasureRlDistanceItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_origin.rb b/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_origin.rb deleted file mode 100644 index 2f792c5d..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_origin.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesViewports200ResponseItemMeasureRlOrigin < 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_item_measure_rl_slope_item.rb b/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_slope_item.rb deleted file mode 100644 index 3f8ddee7..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_slope_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesViewports200ResponseItemMeasureRlSlopeItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocPagesViewports200ResponseItemMeasureRlSlopeItemFraction }, 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::DocPagesViewports200ResponseItemMeasureRlSlopeItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_slope_item_fraction.rb b/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_slope_item_fraction.rb deleted file mode 100644 index f1413762..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_slope_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesViewports200ResponseItemMeasureRlSlopeItemFraction - 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_item_measure_rl_slope_item_label_position.rb b/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_slope_item_label_position.rb deleted file mode 100644 index 1cf3e768..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_slope_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesViewports200ResponseItemMeasureRlSlopeItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_x_item.rb b/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_x_item.rb deleted file mode 100644 index 084e9076..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_x_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesViewports200ResponseItemMeasureRlXItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocPagesViewports200ResponseItemMeasureRlXItemFraction }, 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::DocPagesViewports200ResponseItemMeasureRlXItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_x_item_fraction.rb b/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_x_item_fraction.rb deleted file mode 100644 index e253e472..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_x_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesViewports200ResponseItemMeasureRlXItemFraction - 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_item_measure_rl_x_item_label_position.rb b/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_x_item_label_position.rb deleted file mode 100644 index fbdee6bd..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_x_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesViewports200ResponseItemMeasureRlXItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_y_item.rb b/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_y_item.rb deleted file mode 100644 index cd5a0e3c..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_y_item.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesViewports200ResponseItemMeasureRlYItem < Internal::Types::Model - field :unit, -> { String }, optional: false, nullable: false - - field :conversion, -> { Integer }, optional: true, nullable: false - - field :fraction, -> { CloudPDF::Types::DocPagesViewports200ResponseItemMeasureRlYItemFraction }, 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::DocPagesViewports200ResponseItemMeasureRlYItemLabelPosition }, optional: true, nullable: false, api_name: "labelPosition" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_y_item_fraction.rb b/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_y_item_fraction.rb deleted file mode 100644 index 9f3e9c4c..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_y_item_fraction.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesViewports200ResponseItemMeasureRlYItemFraction - 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_item_measure_rl_y_item_label_position.rb b/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_y_item_label_position.rb deleted file mode 100644 index 33e7c01e..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_rl_y_item_label_position.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesViewports200ResponseItemMeasureRlYItemLabelPosition - extend CloudPDF::Internal::Types::Enum - - SUFFIX = "suffix" - PREFIX = "prefix" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_unknown.rb b/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_unknown.rb deleted file mode 100644 index 809057ee..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports200response_item_measure_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocPagesViewports200ResponseItemMeasureUnknown < Internal::Types::Model; 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 new file mode 100644 index 00000000..a00f1d21 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 00000000..5a7f4a70 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_bbox.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 00000000..d65d4d9b --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 00000000..5a8d653a --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_geospatial.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 00000000..d8ef709e --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear.rb @@ -0,0 +1,25 @@ +# 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 new file mode 100644 index 00000000..661c12ea --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_angle_item.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 00000000..198fa739 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_angle_item_fraction.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 00000000..59883405 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_angle_item_label_position.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 00000000..d5a0f2eb --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_area_item.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 00000000..6a30f7e5 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_area_item_fraction.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 00000000..a11f8926 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_area_item_label_position.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 00000000..75cc67f0 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_distance_item.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 00000000..0728034d --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_distance_item_fraction.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 00000000..d1e0fb62 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_distance_item_label_position.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 00000000..589dfb16 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_origin.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 00000000..73df4e1d --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_slope_item.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 00000000..02f0b00b --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_slope_item_fraction.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 00000000..aa25c4cc --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_slope_item_label_position.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 00000000..5d5c8808 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_x_item.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 00000000..c38615c4 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_x_item_fraction.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 00000000..164035f4 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_x_item_label_position.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 00000000..10e42573 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_y_item.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 00000000..bb276805 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_y_item_fraction.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 00000000..6f8bd885 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_rectilinear_y_item_label_position.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 00000000..07620271 --- /dev/null +++ b/lib/CloudPDF/types/doc_pages_viewports200response_viewports_item_measure_unknown.rb @@ -0,0 +1,7 @@ +# 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 index 45f8321d..c3782d11 100644 --- a/lib/CloudPDF/types/doc_pages_viewports404response.rb +++ b/lib/CloudPDF/types/doc_pages_viewports404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocPagesViewports404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocPagesViewports404ResponseName }, optional: false, nullable: false + module DocPagesViewports404Response + # DocPagesViewports404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocPagesViewports404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_pages_viewports404response_code.rb b/lib/CloudPDF/types/doc_pages_viewports404response_code.rb deleted file mode 100644 index 187ccb7f..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesViewports404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_pages_viewports404response_name.rb b/lib/CloudPDF/types/doc_pages_viewports404response_name.rb deleted file mode 100644 index d64e4870..00000000 --- a/lib/CloudPDF/types/doc_pages_viewports404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocPagesViewports404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_redactions_apply200response.rb b/lib/CloudPDF/types/doc_redactions_apply200response.rb index 3980f07d..8fc5cffa 100644 --- a/lib/CloudPDF/types/doc_redactions_apply200response.rb +++ b/lib/CloudPDF/types/doc_redactions_apply200response.rb @@ -3,7 +3,13 @@ module CloudPDF module Types class DocRedactionsApply200Response < Internal::Types::Model - field :meta, -> { CloudPDF::Types::DocRedactionsApply200ResponseMeta }, optional: false, nullable: false + 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_meta.rb b/lib/CloudPDF/types/doc_redactions_apply200response_meta.rb deleted file mode 100644 index da606bef..00000000 --- a/lib/CloudPDF/types/doc_redactions_apply200response_meta.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocRedactionsApply200ResponseMeta < Internal::Types::Model - field :affected_pages, -> { Internal::Types::Array[CloudPDF::Types::DocRedactionsApply200ResponseMetaAffectedPagesItem] }, optional: false, nullable: false, api_name: "affectedPages" - - field :cache_delta, -> { CloudPDF::Types::DocRedactionsApply200ResponseMetaCacheDelta }, optional: false, nullable: true, api_name: "cacheDelta" - end - end -end diff --git a/lib/CloudPDF/types/doc_redactions_apply200response_meta_affected_pages_item.rb b/lib/CloudPDF/types/doc_redactions_apply200response_meta_affected_pages_item.rb deleted file mode 100644 index 268b67f8..00000000 --- a/lib/CloudPDF/types/doc_redactions_apply200response_meta_affected_pages_item.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocRedactionsApply200ResponseMetaAffectedPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :revision, -> { CloudPDF::Types::DocRedactionsApply200ResponseMetaAffectedPagesItemRevision }, optional: false, nullable: false - - field :weak_annotation_state, -> { CloudPDF::Types::DocRedactionsApply200ResponseMetaAffectedPagesItemWeakAnnotationState }, optional: false, nullable: false, api_name: "weakAnnotationState" - end - end -end diff --git a/lib/CloudPDF/types/doc_redactions_apply200response_meta_affected_pages_item_revision.rb b/lib/CloudPDF/types/doc_redactions_apply200response_meta_affected_pages_item_revision.rb deleted file mode 100644 index e5cf74f2..00000000 --- a/lib/CloudPDF/types/doc_redactions_apply200response_meta_affected_pages_item_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocRedactionsApply200ResponseMetaAffectedPagesItemRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_redactions_apply200response_meta_affected_pages_item_weak_annotation_state.rb b/lib/CloudPDF/types/doc_redactions_apply200response_meta_affected_pages_item_weak_annotation_state.rb deleted file mode 100644 index 92de812f..00000000 --- a/lib/CloudPDF/types/doc_redactions_apply200response_meta_affected_pages_item_weak_annotation_state.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocRedactionsApply200ResponseMetaAffectedPagesItemWeakAnnotationState < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocRedactionsApply200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown }, key: "UNKNOWN" - - member -> { CloudPDF::Types::DocRedactionsApply200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown }, key: "KNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_redactions_apply200response_meta_affected_pages_item_weak_annotation_state_known.rb b/lib/CloudPDF/types/doc_redactions_apply200response_meta_affected_pages_item_weak_annotation_state_known.rb deleted file mode 100644 index a9bc7a59..00000000 --- a/lib/CloudPDF/types/doc_redactions_apply200response_meta_affected_pages_item_weak_annotation_state_known.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocRedactionsApply200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown < Internal::Types::Model - field :has_any_weak_annotations, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAnyWeakAnnotations" - end - end -end diff --git a/lib/CloudPDF/types/doc_redactions_apply200response_meta_affected_pages_item_weak_annotation_state_unknown.rb b/lib/CloudPDF/types/doc_redactions_apply200response_meta_affected_pages_item_weak_annotation_state_unknown.rb deleted file mode 100644 index e3f61338..00000000 --- a/lib/CloudPDF/types/doc_redactions_apply200response_meta_affected_pages_item_weak_annotation_state_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocRedactionsApply200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_redactions_apply200response_meta_cache_delta.rb b/lib/CloudPDF/types/doc_redactions_apply200response_meta_cache_delta.rb deleted file mode 100644 index 027a0cfc..00000000 --- a/lib/CloudPDF/types/doc_redactions_apply200response_meta_cache_delta.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocRedactionsApply200ResponseMetaCacheDelta < Internal::Types::Model - field :previous_doc_version, -> { Integer }, optional: false, nullable: false, api_name: "previousDocVersion" - - field :doc_version, -> { Integer }, optional: false, nullable: false, api_name: "docVersion" - - field :annotations_version, -> { Integer }, optional: true, nullable: false, api_name: "annotationsVersion" - - field :layer_version, -> { Integer }, optional: true, nullable: false, api_name: "layerVersion" - - field :working, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocRedactionsApply200ResponseMetaCacheDeltaPagesItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_redactions_apply200response_meta_cache_delta_pages_item.rb b/lib/CloudPDF/types/doc_redactions_apply200response_meta_cache_delta_pages_item.rb deleted file mode 100644 index f7d16b47..00000000 --- a/lib/CloudPDF/types/doc_redactions_apply200response_meta_cache_delta_pages_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocRedactionsApply200ResponseMetaCacheDeltaPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :cache, -> { CloudPDF::Types::DocRedactionsApply200ResponseMetaCacheDeltaPagesItemCache }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_redactions_apply200response_meta_cache_delta_pages_item_cache.rb b/lib/CloudPDF/types/doc_redactions_apply200response_meta_cache_delta_pages_item_cache.rb deleted file mode 100644 index e2ebffe3..00000000 --- a/lib/CloudPDF/types/doc_redactions_apply200response_meta_cache_delta_pages_item_cache.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocRedactionsApply200ResponseMetaCacheDeltaPagesItemCache < 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" - 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 new file mode 100644 index 00000000..cd8515e6 --- /dev/null +++ b/lib/CloudPDF/types/doc_redactions_apply200response_results_item.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 00000000..25e4d421 --- /dev/null +++ b/lib/CloudPDF/types/doc_redactions_apply200response_results_item_status.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 00000000..1fded4f0 --- /dev/null +++ b/lib/CloudPDF/types/doc_redactions_apply200response_scope.rb @@ -0,0 +1,11 @@ +# 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 index 39d40efb..7ca5ea0f 100644 --- a/lib/CloudPDF/types/doc_redactions_apply400response.rb +++ b/lib/CloudPDF/types/doc_redactions_apply400response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocRedactionsApply400Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocRedactionsApply400ResponseName }, optional: false, nullable: false + module DocRedactionsApply400Response + # DocRedactionsApply400Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocRedactionsApply400ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_redactions_apply400response_code.rb b/lib/CloudPDF/types/doc_redactions_apply400response_code.rb deleted file mode 100644 index 12d02ee4..00000000 --- a/lib/CloudPDF/types/doc_redactions_apply400response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocRedactionsApply400ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_redactions_apply400response_name.rb b/lib/CloudPDF/types/doc_redactions_apply400response_name.rb deleted file mode 100644 index 4d47464b..00000000 --- a/lib/CloudPDF/types/doc_redactions_apply400response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocRedactionsApply400ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_redactions_apply404response.rb b/lib/CloudPDF/types/doc_redactions_apply404response.rb index 68098747..7124e2b0 100644 --- a/lib/CloudPDF/types/doc_redactions_apply404response.rb +++ b/lib/CloudPDF/types/doc_redactions_apply404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocRedactionsApply404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocRedactionsApply404ResponseName }, optional: false, nullable: false + module DocRedactionsApply404Response + # DocRedactionsApply404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocRedactionsApply404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_code.rb b/lib/CloudPDF/types/doc_redactions_apply404response_code.rb deleted file mode 100644 index f7464800..00000000 --- a/lib/CloudPDF/types/doc_redactions_apply404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocRedactionsApply404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_redactions_apply404response_name.rb b/lib/CloudPDF/types/doc_redactions_apply404response_name.rb deleted file mode 100644 index e8914455..00000000 --- a/lib/CloudPDF/types/doc_redactions_apply404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocRedactionsApply404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_redactions_apply_request.rb b/lib/CloudPDF/types/doc_redactions_apply_request.rb deleted file mode 100644 index 5f170e30..00000000 --- a/lib/CloudPDF/types/doc_redactions_apply_request.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocRedactionsApplyRequest - # DocRedactionsApplyRequest 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_render_response.rb b/lib/CloudPDF/types/doc_render_response.rb index ced87606..debae339 100644 --- a/lib/CloudPDF/types/doc_render_response.rb +++ b/lib/CloudPDF/types/doc_render_response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocRenderResponse < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocRenderResponseName }, optional: false, nullable: false + module DocRenderResponse + # DocRenderResponse is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocRenderResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_render_response_code.rb b/lib/CloudPDF/types/doc_render_response_code.rb deleted file mode 100644 index bd4f9df2..00000000 --- a/lib/CloudPDF/types/doc_render_response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocRenderResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_render_response_name.rb b/lib/CloudPDF/types/doc_render_response_name.rb deleted file mode 100644 index da0bf46d..00000000 --- a/lib/CloudPDF/types/doc_render_response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocRenderResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_abort200response.rb b/lib/CloudPDF/types/doc_signatures_abort200response.rb deleted file mode 100644 index c1a7d75c..00000000 --- a/lib/CloudPDF/types/doc_signatures_abort200response.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesAbort200Response < Internal::Types::Model - field :status, -> { CloudPDF::Types::DocSignaturesAbort200ResponseStatus }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_abort200response_status.rb b/lib/CloudPDF/types/doc_signatures_abort200response_status.rb deleted file mode 100644 index ec77d121..00000000 --- a/lib/CloudPDF/types/doc_signatures_abort200response_status.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesAbort200ResponseStatus - extend CloudPDF::Internal::Types::Enum - - ABORTED = "aborted" - ALREADY_COMPLETED = "already-completed" - UNKNOWN = "unknown" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_abort404response.rb b/lib/CloudPDF/types/doc_signatures_abort404response.rb deleted file mode 100644 index eabb635b..00000000 --- a/lib/CloudPDF/types/doc_signatures_abort404response.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesAbort404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocSignaturesAbort404ResponseName }, optional: false, nullable: false - - field :code, -> { CloudPDF::Types::DocSignaturesAbort404ResponseCode }, 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/doc_signatures_abort404response_code.rb b/lib/CloudPDF/types/doc_signatures_abort404response_code.rb deleted file mode 100644 index 311f2f3e..00000000 --- a/lib/CloudPDF/types/doc_signatures_abort404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesAbort404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_abort404response_name.rb b/lib/CloudPDF/types/doc_signatures_abort404response_name.rb deleted file mode 100644 index cf88d1fa..00000000 --- a/lib/CloudPDF/types/doc_signatures_abort404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesAbort404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_analysis400response.rb b/lib/CloudPDF/types/doc_signatures_analysis400response.rb index f891fc53..c71a5307 100644 --- a/lib/CloudPDF/types/doc_signatures_analysis400response.rb +++ b/lib/CloudPDF/types/doc_signatures_analysis400response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocSignaturesAnalysis400Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocSignaturesAnalysis400ResponseName }, optional: false, nullable: false + module DocSignaturesAnalysis400Response + # DocSignaturesAnalysis400Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocSignaturesAnalysis400ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_signatures_analysis400response_code.rb b/lib/CloudPDF/types/doc_signatures_analysis400response_code.rb deleted file mode 100644 index e838a895..00000000 --- a/lib/CloudPDF/types/doc_signatures_analysis400response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesAnalysis400ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_analysis400response_name.rb b/lib/CloudPDF/types/doc_signatures_analysis400response_name.rb deleted file mode 100644 index 8c5d87c0..00000000 --- a/lib/CloudPDF/types/doc_signatures_analysis400response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesAnalysis400ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_analysis404response.rb b/lib/CloudPDF/types/doc_signatures_analysis404response.rb index 84bf2918..c4099396 100644 --- a/lib/CloudPDF/types/doc_signatures_analysis404response.rb +++ b/lib/CloudPDF/types/doc_signatures_analysis404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocSignaturesAnalysis404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocSignaturesAnalysis404ResponseName }, optional: false, nullable: false + module DocSignaturesAnalysis404Response + # DocSignaturesAnalysis404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocSignaturesAnalysis404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_code.rb b/lib/CloudPDF/types/doc_signatures_analysis404response_code.rb deleted file mode 100644 index 20c2e656..00000000 --- a/lib/CloudPDF/types/doc_signatures_analysis404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesAnalysis404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_analysis404response_name.rb b/lib/CloudPDF/types/doc_signatures_analysis404response_name.rb deleted file mode 100644 index 9bd193cf..00000000 --- a/lib/CloudPDF/types/doc_signatures_analysis404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesAnalysis404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_cancel200response.rb b/lib/CloudPDF/types/doc_signatures_cancel200response.rb new file mode 100644 index 00000000..d7157687 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_cancel200response.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..8519745c --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_cancel200response_status.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 00000000..3a0db8d0 --- /dev/null +++ b/lib/CloudPDF/types/doc_signatures_cancel404response.rb @@ -0,0 +1,23 @@ +# 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_complete200response.rb b/lib/CloudPDF/types/doc_signatures_complete200response.rb index 1240678b..06b96499 100644 --- a/lib/CloudPDF/types/doc_signatures_complete200response.rb +++ b/lib/CloudPDF/types/doc_signatures_complete200response.rb @@ -13,7 +13,7 @@ class DocSignaturesComplete200Response < Internal::Types::Model field :protection, -> { CloudPDF::Types::DocSignaturesComplete200ResponseProtection }, optional: false, nullable: false - field :meta, -> { CloudPDF::Types::DocSignaturesComplete200ResponseMeta }, 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_meta.rb b/lib/CloudPDF/types/doc_signatures_complete200response_meta.rb deleted file mode 100644 index 9aadaf9c..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_meta.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesComplete200ResponseMeta < Internal::Types::Model - field :affected_pages, -> { Internal::Types::Array[CloudPDF::Types::DocSignaturesComplete200ResponseMetaAffectedPagesItem] }, optional: false, nullable: false, api_name: "affectedPages" - - field :cache_delta, -> { CloudPDF::Types::DocSignaturesComplete200ResponseMetaCacheDelta }, optional: false, nullable: true, api_name: "cacheDelta" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_meta_affected_pages_item.rb b/lib/CloudPDF/types/doc_signatures_complete200response_meta_affected_pages_item.rb deleted file mode 100644 index 1fc273d3..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_meta_affected_pages_item.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesComplete200ResponseMetaAffectedPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :revision, -> { CloudPDF::Types::DocSignaturesComplete200ResponseMetaAffectedPagesItemRevision }, optional: false, nullable: false - - field :weak_annotation_state, -> { CloudPDF::Types::DocSignaturesComplete200ResponseMetaAffectedPagesItemWeakAnnotationState }, optional: false, nullable: false, api_name: "weakAnnotationState" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_meta_affected_pages_item_revision.rb b/lib/CloudPDF/types/doc_signatures_complete200response_meta_affected_pages_item_revision.rb deleted file mode 100644 index 4d49afd1..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_meta_affected_pages_item_revision.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesComplete200ResponseMetaAffectedPagesItemRevision < Internal::Types::Model - field :doc_session_id, -> { String }, optional: false, nullable: false, api_name: "docSessionId" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :generation, -> { Integer }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_meta_affected_pages_item_weak_annotation_state.rb b/lib/CloudPDF/types/doc_signatures_complete200response_meta_affected_pages_item_weak_annotation_state.rb deleted file mode 100644 index 26b8fec9..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_meta_affected_pages_item_weak_annotation_state.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesComplete200ResponseMetaAffectedPagesItemWeakAnnotationState < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocSignaturesComplete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown }, key: "UNKNOWN" - - member -> { CloudPDF::Types::DocSignaturesComplete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown }, key: "KNOWN" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_meta_affected_pages_item_weak_annotation_state_known.rb b/lib/CloudPDF/types/doc_signatures_complete200response_meta_affected_pages_item_weak_annotation_state_known.rb deleted file mode 100644 index a958d1ba..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_meta_affected_pages_item_weak_annotation_state_known.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesComplete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown < Internal::Types::Model - field :has_any_weak_annotations, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAnyWeakAnnotations" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_meta_affected_pages_item_weak_annotation_state_unknown.rb b/lib/CloudPDF/types/doc_signatures_complete200response_meta_affected_pages_item_weak_annotation_state_unknown.rb deleted file mode 100644 index bf933f97..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_meta_affected_pages_item_weak_annotation_state_unknown.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesComplete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown < Internal::Types::Model; end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_meta_cache_delta.rb b/lib/CloudPDF/types/doc_signatures_complete200response_meta_cache_delta.rb deleted file mode 100644 index f31dd28d..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_meta_cache_delta.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesComplete200ResponseMetaCacheDelta < Internal::Types::Model - field :previous_doc_version, -> { Integer }, optional: false, nullable: false, api_name: "previousDocVersion" - - field :doc_version, -> { Integer }, optional: false, nullable: false, api_name: "docVersion" - - field :annotations_version, -> { Integer }, optional: true, nullable: false, api_name: "annotationsVersion" - - field :layer_version, -> { Integer }, optional: true, nullable: false, api_name: "layerVersion" - - field :working, -> { Internal::Types::Boolean }, optional: true, nullable: false - - field :pages, -> { Internal::Types::Array[CloudPDF::Types::DocSignaturesComplete200ResponseMetaCacheDeltaPagesItem] }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_meta_cache_delta_pages_item.rb b/lib/CloudPDF/types/doc_signatures_complete200response_meta_cache_delta_pages_item.rb deleted file mode 100644 index a049707c..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_meta_cache_delta_pages_item.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesComplete200ResponseMetaCacheDeltaPagesItem < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :cache, -> { CloudPDF::Types::DocSignaturesComplete200ResponseMetaCacheDeltaPagesItemCache }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_meta_cache_delta_pages_item_cache.rb b/lib/CloudPDF/types/doc_signatures_complete200response_meta_cache_delta_pages_item_cache.rb deleted file mode 100644 index 2cdbb5a5..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_meta_cache_delta_pages_item_cache.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesComplete200ResponseMetaCacheDeltaPagesItemCache < 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" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_signature.rb b/lib/CloudPDF/types/doc_signatures_complete200response_signature.rb index e009c385..bd51b1a5 100644 --- a/lib/CloudPDF/types/doc_signatures_complete200response_signature.rb +++ b/lib/CloudPDF/types/doc_signatures_complete200response_signature.rb @@ -5,11 +5,11 @@ module Types class DocSignaturesComplete200ResponseSignature < Internal::Types::Model field :index, -> { Integer }, optional: false, nullable: false - field :field, -> { CloudPDF::Types::DocSignaturesComplete200ResponseSignatureField }, 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::DocSignaturesComplete200ResponseSignatureWidget }, optional: false, nullable: true + field :widget, -> { CloudPDF::Types::FormWidget }, optional: false, nullable: true field :signed, -> { Internal::Types::Boolean }, optional: false, nullable: false diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_signature_field.rb b/lib/CloudPDF/types/doc_signatures_complete200response_signature_field.rb deleted file mode 100644 index faebf629..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_signature_field.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesComplete200ResponseSignatureField < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocSignaturesComplete200ResponseSignatureFieldObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocSignaturesComplete200ResponseSignatureFieldFqn }, key: "FQN" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_signature_field_fqn.rb b/lib/CloudPDF/types/doc_signatures_complete200response_signature_field_fqn.rb deleted file mode 100644 index ff73d51a..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_signature_field_fqn.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesComplete200ResponseSignatureFieldFqn < Internal::Types::Model - field :name, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_signature_field_object_number.rb b/lib/CloudPDF/types/doc_signatures_complete200response_signature_field_object_number.rb deleted file mode 100644 index 590794bf..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_signature_field_object_number.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesComplete200ResponseSignatureFieldObjectNumber < Internal::Types::Model - field :field_object_number, -> { Integer }, optional: false, nullable: false, api_name: "fieldObjectNumber" - 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 index 31338d5d..fc2d8dd1 100644 --- a/lib/CloudPDF/types/doc_signatures_complete200response_signature_signer.rb +++ b/lib/CloudPDF/types/doc_signatures_complete200response_signature_signer.rb @@ -11,7 +11,7 @@ class DocSignaturesComplete200ResponseSignatureSigner < Internal::Types::Model field :contact_info, -> { String }, optional: false, nullable: true, api_name: "contactInfo" - field :claimed_time, -> { String }, optional: false, nullable: true, api_name: "claimedTime" + field :signed_at, -> { String }, optional: false, nullable: true, api_name: "signedAt" end end end diff --git a/lib/CloudPDF/types/doc_signatures_complete200response_signature_widget.rb b/lib/CloudPDF/types/doc_signatures_complete200response_signature_widget.rb deleted file mode 100644 index 230e865b..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete200response_signature_widget.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesComplete200ResponseSignatureWidget < Internal::Types::Model - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete400response.rb b/lib/CloudPDF/types/doc_signatures_complete400response.rb index f09929b1..70b57763 100644 --- a/lib/CloudPDF/types/doc_signatures_complete400response.rb +++ b/lib/CloudPDF/types/doc_signatures_complete400response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocSignaturesComplete400Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocSignaturesComplete400ResponseName }, optional: false, nullable: false + module DocSignaturesComplete400Response + # DocSignaturesComplete400Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocSignaturesComplete400ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_signatures_complete400response_code.rb b/lib/CloudPDF/types/doc_signatures_complete400response_code.rb deleted file mode 100644 index dfe4e7b1..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete400response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesComplete400ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete400response_name.rb b/lib/CloudPDF/types/doc_signatures_complete400response_name.rb deleted file mode 100644 index c4802d69..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete400response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesComplete400ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete404response.rb b/lib/CloudPDF/types/doc_signatures_complete404response.rb index f8a5ab5b..c1b73244 100644 --- a/lib/CloudPDF/types/doc_signatures_complete404response.rb +++ b/lib/CloudPDF/types/doc_signatures_complete404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocSignaturesComplete404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocSignaturesComplete404ResponseName }, optional: false, nullable: false + module DocSignaturesComplete404Response + # DocSignaturesComplete404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocSignaturesComplete404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_code.rb b/lib/CloudPDF/types/doc_signatures_complete404response_code.rb deleted file mode 100644 index f10cfcfc..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesComplete404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete404response_name.rb b/lib/CloudPDF/types/doc_signatures_complete404response_name.rb deleted file mode 100644 index 372e714b..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesComplete404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete409response.rb b/lib/CloudPDF/types/doc_signatures_complete409response.rb index 56101c12..66aeefff 100644 --- a/lib/CloudPDF/types/doc_signatures_complete409response.rb +++ b/lib/CloudPDF/types/doc_signatures_complete409response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocSignaturesComplete409Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocSignaturesComplete409ResponseName }, optional: false, nullable: false + module DocSignaturesComplete409Response + # DocSignaturesComplete409Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocSignaturesComplete409ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_code.rb b/lib/CloudPDF/types/doc_signatures_complete409response_code.rb deleted file mode 100644 index bdf68e6b..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete409response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesComplete409ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_complete409response_name.rb b/lib/CloudPDF/types/doc_signatures_complete409response_name.rb deleted file mode 100644 index 1197655e..00000000 --- a/lib/CloudPDF/types/doc_signatures_complete409response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesComplete409ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - 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 index 7c6b13d5..320bc8df 100644 --- a/lib/CloudPDF/types/doc_signatures_list200response_signatures_item.rb +++ b/lib/CloudPDF/types/doc_signatures_list200response_signatures_item.rb @@ -5,11 +5,11 @@ module Types class DocSignaturesList200ResponseSignaturesItem < Internal::Types::Model field :index, -> { Integer }, optional: false, nullable: false - field :field, -> { CloudPDF::Types::DocSignaturesList200ResponseSignaturesItemField }, 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::DocSignaturesList200ResponseSignaturesItemWidget }, optional: false, nullable: true + field :widget, -> { CloudPDF::Types::FormWidget }, optional: false, nullable: true field :signed, -> { Internal::Types::Boolean }, optional: false, nullable: false diff --git a/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_field.rb b/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_field.rb deleted file mode 100644 index ba5fe3e2..00000000 --- a/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_field.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesList200ResponseSignaturesItemField < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocSignaturesList200ResponseSignaturesItemFieldObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocSignaturesList200ResponseSignaturesItemFieldFqn }, key: "FQN" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_field_fqn.rb b/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_field_fqn.rb deleted file mode 100644 index cb82e2ba..00000000 --- a/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_field_fqn.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesList200ResponseSignaturesItemFieldFqn < Internal::Types::Model - field :name, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_field_object_number.rb b/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_field_object_number.rb deleted file mode 100644 index 45302c17..00000000 --- a/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_field_object_number.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesList200ResponseSignaturesItemFieldObjectNumber < Internal::Types::Model - field :field_object_number, -> { Integer }, optional: false, nullable: false, api_name: "fieldObjectNumber" - 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 index 70119dac..07e0608d 100644 --- a/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_signer.rb +++ b/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_signer.rb @@ -11,7 +11,7 @@ class DocSignaturesList200ResponseSignaturesItemSigner < Internal::Types::Model field :contact_info, -> { String }, optional: false, nullable: true, api_name: "contactInfo" - field :claimed_time, -> { String }, optional: false, nullable: true, api_name: "claimedTime" + field :signed_at, -> { String }, optional: false, nullable: true, api_name: "signedAt" end end end diff --git a/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_widget.rb b/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_widget.rb deleted file mode 100644 index 827e2828..00000000 --- a/lib/CloudPDF/types/doc_signatures_list200response_signatures_item_widget.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocSignaturesList200ResponseSignaturesItemWidget < Internal::Types::Model - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_list404response.rb b/lib/CloudPDF/types/doc_signatures_list404response.rb index 1eeb8643..ded5dac8 100644 --- a/lib/CloudPDF/types/doc_signatures_list404response.rb +++ b/lib/CloudPDF/types/doc_signatures_list404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocSignaturesList404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocSignaturesList404ResponseName }, optional: false, nullable: false + module DocSignaturesList404Response + # DocSignaturesList404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocSignaturesList404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_signatures_list404response_code.rb b/lib/CloudPDF/types/doc_signatures_list404response_code.rb deleted file mode 100644 index c60f3e0f..00000000 --- a/lib/CloudPDF/types/doc_signatures_list404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesList404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_list404response_name.rb b/lib/CloudPDF/types/doc_signatures_list404response_name.rb deleted file mode 100644 index fdbe03c0..00000000 --- a/lib/CloudPDF/types/doc_signatures_list404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesList404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_prepare400response.rb b/lib/CloudPDF/types/doc_signatures_prepare400response.rb index 83480a7f..11241b09 100644 --- a/lib/CloudPDF/types/doc_signatures_prepare400response.rb +++ b/lib/CloudPDF/types/doc_signatures_prepare400response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocSignaturesPrepare400Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocSignaturesPrepare400ResponseName }, optional: false, nullable: false + module DocSignaturesPrepare400Response + # DocSignaturesPrepare400Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocSignaturesPrepare400ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_signatures_prepare400response_code.rb b/lib/CloudPDF/types/doc_signatures_prepare400response_code.rb deleted file mode 100644 index 10689d5d..00000000 --- a/lib/CloudPDF/types/doc_signatures_prepare400response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesPrepare400ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_prepare400response_name.rb b/lib/CloudPDF/types/doc_signatures_prepare400response_name.rb deleted file mode 100644 index c9ee5cd2..00000000 --- a/lib/CloudPDF/types/doc_signatures_prepare400response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesPrepare400ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_prepare404response.rb b/lib/CloudPDF/types/doc_signatures_prepare404response.rb index 49a99580..b3bbf2ac 100644 --- a/lib/CloudPDF/types/doc_signatures_prepare404response.rb +++ b/lib/CloudPDF/types/doc_signatures_prepare404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocSignaturesPrepare404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocSignaturesPrepare404ResponseName }, optional: false, nullable: false + module DocSignaturesPrepare404Response + # DocSignaturesPrepare404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocSignaturesPrepare404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_code.rb b/lib/CloudPDF/types/doc_signatures_prepare404response_code.rb deleted file mode 100644 index e3b781a8..00000000 --- a/lib/CloudPDF/types/doc_signatures_prepare404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesPrepare404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_prepare404response_name.rb b/lib/CloudPDF/types/doc_signatures_prepare404response_name.rb deleted file mode 100644 index e9535a4d..00000000 --- a/lib/CloudPDF/types/doc_signatures_prepare404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesPrepare404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_prepare409response.rb b/lib/CloudPDF/types/doc_signatures_prepare409response.rb index e2c411a7..e9da20b4 100644 --- a/lib/CloudPDF/types/doc_signatures_prepare409response.rb +++ b/lib/CloudPDF/types/doc_signatures_prepare409response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocSignaturesPrepare409Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocSignaturesPrepare409ResponseName }, optional: false, nullable: false + module DocSignaturesPrepare409Response + # DocSignaturesPrepare409Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocSignaturesPrepare409ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_code.rb b/lib/CloudPDF/types/doc_signatures_prepare409response_code.rb deleted file mode 100644 index f7657027..00000000 --- a/lib/CloudPDF/types/doc_signatures_prepare409response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesPrepare409ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_signatures_prepare409response_name.rb b/lib/CloudPDF/types/doc_signatures_prepare409response_name.rb deleted file mode 100644 index 3ba06f57..00000000 --- a/lib/CloudPDF/types/doc_signatures_prepare409response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocSignaturesPrepare409ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_text404response.rb b/lib/CloudPDF/types/doc_text404response.rb index 560735fb..f76c80f3 100644 --- a/lib/CloudPDF/types/doc_text404response.rb +++ b/lib/CloudPDF/types/doc_text404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocText404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocText404ResponseName }, optional: false, nullable: false + module DocText404Response + # DocText404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocText404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_text404response_code.rb b/lib/CloudPDF/types/doc_text404response_code.rb deleted file mode 100644 index d19223c6..00000000 --- a/lib/CloudPDF/types/doc_text404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocText404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_text404response_name.rb b/lib/CloudPDF/types/doc_text404response_name.rb deleted file mode 100644 index 87dd8eb4..00000000 --- a/lib/CloudPDF/types/doc_text404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocText404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_analysis400response.rb b/lib/CloudPDF/types/doc_versions_analysis400response.rb index b1a9270d..59aa0ea0 100644 --- a/lib/CloudPDF/types/doc_versions_analysis400response.rb +++ b/lib/CloudPDF/types/doc_versions_analysis400response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocVersionsAnalysis400Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocVersionsAnalysis400ResponseName }, optional: false, nullable: false + module DocVersionsAnalysis400Response + # DocVersionsAnalysis400Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocVersionsAnalysis400ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_versions_analysis400response_code.rb b/lib/CloudPDF/types/doc_versions_analysis400response_code.rb deleted file mode 100644 index 66aa91fe..00000000 --- a/lib/CloudPDF/types/doc_versions_analysis400response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsAnalysis400ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_analysis400response_name.rb b/lib/CloudPDF/types/doc_versions_analysis400response_name.rb deleted file mode 100644 index 0d8e102a..00000000 --- a/lib/CloudPDF/types/doc_versions_analysis400response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsAnalysis400ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_analysis404response.rb b/lib/CloudPDF/types/doc_versions_analysis404response.rb index 56210dee..60f61a0c 100644 --- a/lib/CloudPDF/types/doc_versions_analysis404response.rb +++ b/lib/CloudPDF/types/doc_versions_analysis404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocVersionsAnalysis404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocVersionsAnalysis404ResponseName }, optional: false, nullable: false + module DocVersionsAnalysis404Response + # DocVersionsAnalysis404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocVersionsAnalysis404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_code.rb b/lib/CloudPDF/types/doc_versions_analysis404response_code.rb deleted file mode 100644 index 2a35aaef..00000000 --- a/lib/CloudPDF/types/doc_versions_analysis404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsAnalysis404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_analysis404response_name.rb b/lib/CloudPDF/types/doc_versions_analysis404response_name.rb deleted file mode 100644 index bdd2febe..00000000 --- a/lib/CloudPDF/types/doc_versions_analysis404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsAnalysis404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_download_response.rb b/lib/CloudPDF/types/doc_versions_download_response.rb index 62627fee..45ae0ec4 100644 --- a/lib/CloudPDF/types/doc_versions_download_response.rb +++ b/lib/CloudPDF/types/doc_versions_download_response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocVersionsDownloadResponse < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocVersionsDownloadResponseName }, optional: false, nullable: false + module DocVersionsDownloadResponse + # DocVersionsDownloadResponse is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocVersionsDownloadResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_versions_download_response_code.rb b/lib/CloudPDF/types/doc_versions_download_response_code.rb deleted file mode 100644 index 96f0802d..00000000 --- a/lib/CloudPDF/types/doc_versions_download_response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsDownloadResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_download_response_name.rb b/lib/CloudPDF/types/doc_versions_download_response_name.rb deleted file mode 100644 index ff237c0a..00000000 --- a/lib/CloudPDF/types/doc_versions_download_response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsDownloadResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_list404response.rb b/lib/CloudPDF/types/doc_versions_list404response.rb index 8ff4fc6c..9e64d0e2 100644 --- a/lib/CloudPDF/types/doc_versions_list404response.rb +++ b/lib/CloudPDF/types/doc_versions_list404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocVersionsList404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocVersionsList404ResponseName }, optional: false, nullable: false + module DocVersionsList404Response + # DocVersionsList404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocVersionsList404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_versions_list404response_code.rb b/lib/CloudPDF/types/doc_versions_list404response_code.rb deleted file mode 100644 index d66698d3..00000000 --- a/lib/CloudPDF/types/doc_versions_list404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsList404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_list404response_name.rb b/lib/CloudPDF/types/doc_versions_list404response_name.rb deleted file mode 100644 index df94456f..00000000 --- a/lib/CloudPDF/types/doc_versions_list404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsList404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_revision_response.rb b/lib/CloudPDF/types/doc_versions_revision_response.rb index 6fae36ed..c408df5a 100644 --- a/lib/CloudPDF/types/doc_versions_revision_response.rb +++ b/lib/CloudPDF/types/doc_versions_revision_response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocVersionsRevisionResponse < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocVersionsRevisionResponseName }, optional: false, nullable: false + module DocVersionsRevisionResponse + # DocVersionsRevisionResponse is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocVersionsRevisionResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_versions_revision_response_code.rb b/lib/CloudPDF/types/doc_versions_revision_response_code.rb deleted file mode 100644 index 19bab54f..00000000 --- a/lib/CloudPDF/types/doc_versions_revision_response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsRevisionResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_revision_response_name.rb b/lib/CloudPDF/types/doc_versions_revision_response_name.rb deleted file mode 100644 index 3a8d1005..00000000 --- a/lib/CloudPDF/types/doc_versions_revision_response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsRevisionResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - 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 index e5faf773..983f22c9 100644 --- a/lib/CloudPDF/types/doc_versions_signature_contents_response.rb +++ b/lib/CloudPDF/types/doc_versions_signature_contents_response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocVersionsSignatureContentsResponse < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocVersionsSignatureContentsResponseName }, optional: false, nullable: false + module DocVersionsSignatureContentsResponse + # DocVersionsSignatureContentsResponse is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocVersionsSignatureContentsResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_code.rb b/lib/CloudPDF/types/doc_versions_signature_contents_response_code.rb deleted file mode 100644 index 09f1d654..00000000 --- a/lib/CloudPDF/types/doc_versions_signature_contents_response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsSignatureContentsResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signature_contents_response_name.rb b/lib/CloudPDF/types/doc_versions_signature_contents_response_name.rb deleted file mode 100644 index 9356b7f6..00000000 --- a/lib/CloudPDF/types/doc_versions_signature_contents_response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsSignatureContentsResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - 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 index adb93483..dcabef01 100644 --- a/lib/CloudPDF/types/doc_versions_signature_digest_response.rb +++ b/lib/CloudPDF/types/doc_versions_signature_digest_response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocVersionsSignatureDigestResponse < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocVersionsSignatureDigestResponseName }, optional: false, nullable: false + module DocVersionsSignatureDigestResponse + # DocVersionsSignatureDigestResponse is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocVersionsSignatureDigestResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @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_code.rb b/lib/CloudPDF/types/doc_versions_signature_digest_response_code.rb deleted file mode 100644 index 8160bae6..00000000 --- a/lib/CloudPDF/types/doc_versions_signature_digest_response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsSignatureDigestResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signature_digest_response_name.rb b/lib/CloudPDF/types/doc_versions_signature_digest_response_name.rb deleted file mode 100644 index d6ec07a9..00000000 --- a/lib/CloudPDF/types/doc_versions_signature_digest_response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsSignatureDigestResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - 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 index b4c63f1c..dcdfc3fd 100644 --- a/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item.rb +++ b/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item.rb @@ -5,11 +5,11 @@ module Types class DocVersionsSignatures200ResponseSignaturesItem < Internal::Types::Model field :index, -> { Integer }, optional: false, nullable: false - field :field, -> { CloudPDF::Types::DocVersionsSignatures200ResponseSignaturesItemField }, 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::DocVersionsSignatures200ResponseSignaturesItemWidget }, optional: false, nullable: true + field :widget, -> { CloudPDF::Types::FormWidget }, optional: false, nullable: true field :signed, -> { Internal::Types::Boolean }, optional: false, nullable: false diff --git a/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_field.rb b/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_field.rb deleted file mode 100644 index 1f316585..00000000 --- a/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_field.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocVersionsSignatures200ResponseSignaturesItemField < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::DocVersionsSignatures200ResponseSignaturesItemFieldObjectNumber }, key: "OBJECT_NUMBER" - - member -> { CloudPDF::Types::DocVersionsSignatures200ResponseSignaturesItemFieldFqn }, key: "FQN" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_field_fqn.rb b/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_field_fqn.rb deleted file mode 100644 index 0fd58add..00000000 --- a/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_field_fqn.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocVersionsSignatures200ResponseSignaturesItemFieldFqn < Internal::Types::Model - field :name, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_field_object_number.rb b/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_field_object_number.rb deleted file mode 100644 index 556b2fcb..00000000 --- a/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_field_object_number.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocVersionsSignatures200ResponseSignaturesItemFieldObjectNumber < Internal::Types::Model - field :field_object_number, -> { Integer }, optional: false, nullable: false, api_name: "fieldObjectNumber" - 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 index 3c8c6d17..169964d6 100644 --- a/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_signer.rb +++ b/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_signer.rb @@ -11,7 +11,7 @@ class DocVersionsSignatures200ResponseSignaturesItemSigner < Internal::Types::Mo field :contact_info, -> { String }, optional: false, nullable: true, api_name: "contactInfo" - field :claimed_time, -> { String }, optional: false, nullable: true, api_name: "claimedTime" + field :signed_at, -> { String }, optional: false, nullable: true, api_name: "signedAt" end end end diff --git a/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_widget.rb b/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_widget.rb deleted file mode 100644 index f19c4883..00000000 --- a/lib/CloudPDF/types/doc_versions_signatures200response_signatures_item_widget.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocVersionsSignatures200ResponseSignaturesItemWidget < Internal::Types::Model - field :annot_object_number, -> { Integer }, optional: false, nullable: false, api_name: "annotObjectNumber" - - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signatures404response.rb b/lib/CloudPDF/types/doc_versions_signatures404response.rb index c6ba039f..4943863c 100644 --- a/lib/CloudPDF/types/doc_versions_signatures404response.rb +++ b/lib/CloudPDF/types/doc_versions_signatures404response.rb @@ -2,14 +2,22 @@ module CloudPDF module Types - class DocVersionsSignatures404Response < Internal::Types::Model - field :name, -> { CloudPDF::Types::DocVersionsSignatures404ResponseName }, optional: false, nullable: false + module DocVersionsSignatures404Response + # DocVersionsSignatures404Response is an alias for EngineErrorPayload - field :code, -> { CloudPDF::Types::DocVersionsSignatures404ResponseCode }, optional: false, nullable: false + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end - field :message, -> { String }, optional: false, nullable: false - - field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end end end end diff --git a/lib/CloudPDF/types/doc_versions_signatures404response_code.rb b/lib/CloudPDF/types/doc_versions_signatures404response_code.rb deleted file mode 100644 index 0d513eb1..00000000 --- a/lib/CloudPDF/types/doc_versions_signatures404response_code.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsSignatures404ResponseCode - 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" - SHARE_PASSWORD_REQUIRED = "SharePasswordRequired" - ABORTED = "Aborted" - NETWORK = "Network" - UNAUTHENTICATED = "Unauthenticated" - FORBIDDEN = "Forbidden" - NOT_FOUND = "NotFound" - WIRE_FORMAT = "WireFormat" - RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" - 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" - STALE_BASE = "StaleBase" - end - end -end diff --git a/lib/CloudPDF/types/doc_versions_signatures404response_name.rb b/lib/CloudPDF/types/doc_versions_signatures404response_name.rb deleted file mode 100644 index 055cbaa8..00000000 --- a/lib/CloudPDF/types/doc_versions_signatures404response_name.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - module DocVersionsSignatures404ResponseName - extend CloudPDF::Internal::Types::Enum - - ENGINE_ERROR = "EngineError" - end - end -end diff --git a/lib/CloudPDF/types/document_actions_snapshot.rb b/lib/CloudPDF/types/document_actions_snapshot.rb index e978de02..3dd23cca 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::PdfDestination }, optional: true, nullable: false, api_name: "openDestination" + field :open_destination, -> { CloudPDF::Types::PageDestination }, optional: true, nullable: false, api_name: "openDestination" field :will_close, -> { CloudPDF::Types::PdfActionTree }, optional: true, nullable: false, api_name: "willClose" diff --git a/lib/CloudPDF/types/document_metadata.rb b/lib/CloudPDF/types/document_metadata.rb new file mode 100644 index 00000000..672aa9dd --- /dev/null +++ b/lib/CloudPDF/types/document_metadata.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class DocumentMetadata < Internal::Types::Model + field :title, -> { String }, optional: false, nullable: true + + field :author, -> { String }, optional: false, nullable: true + + field :subject, -> { String }, optional: false, nullable: true + + field :keywords, -> { String }, optional: false, nullable: true + + field :producer, -> { String }, optional: false, nullable: true + + field :creator, -> { String }, optional: false, nullable: true + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :modified_at, -> { String }, optional: false, nullable: true, api_name: "modifiedAt" + + field :trapped, -> { CloudPDF::Types::DocumentMetadataTrapped }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/document_metadata_trapped.rb b/lib/CloudPDF/types/document_metadata_trapped.rb new file mode 100644 index 00000000..b349c0dc --- /dev/null +++ b/lib/CloudPDF/types/document_metadata_trapped.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module DocumentMetadataTrapped + extend CloudPDF::Internal::Types::Enum + + TRUE = "true" + FALSE = "false" + UNKNOWN = "unknown" + end + end +end diff --git a/lib/CloudPDF/types/documents_commit400response.rb b/lib/CloudPDF/types/documents_commit400response.rb index 17ef144e..b9c7ab75 100644 --- a/lib/CloudPDF/types/documents_commit400response.rb +++ b/lib/CloudPDF/types/documents_commit400response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class DocumentsCommit400Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::DocumentsCommit400ResponseError }, optional: false, nullable: false + 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_commit400response_error.rb b/lib/CloudPDF/types/documents_commit400response_error.rb deleted file mode 100644 index bb174683..00000000 --- a/lib/CloudPDF/types/documents_commit400response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsCommit400ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/documents_commit404response.rb b/lib/CloudPDF/types/documents_commit404response.rb index f69ca610..c3fc7bc3 100644 --- a/lib/CloudPDF/types/documents_commit404response.rb +++ b/lib/CloudPDF/types/documents_commit404response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class DocumentsCommit404Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::DocumentsCommit404ResponseError }, optional: false, nullable: false + 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_commit404response_error.rb b/lib/CloudPDF/types/documents_commit404response_error.rb deleted file mode 100644 index c09f39f4..00000000 --- a/lib/CloudPDF/types/documents_commit404response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsCommit404ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/documents_delete403response.rb b/lib/CloudPDF/types/documents_delete403response.rb index 76f9dc9e..fb26871e 100644 --- a/lib/CloudPDF/types/documents_delete403response.rb +++ b/lib/CloudPDF/types/documents_delete403response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class DocumentsDelete403Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::DocumentsDelete403ResponseError }, optional: false, nullable: false + 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_delete403response_error.rb b/lib/CloudPDF/types/documents_delete403response_error.rb deleted file mode 100644 index 279946a5..00000000 --- a/lib/CloudPDF/types/documents_delete403response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsDelete403ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/documents_delete404response.rb b/lib/CloudPDF/types/documents_delete404response.rb index 4e0475e5..91fae6e3 100644 --- a/lib/CloudPDF/types/documents_delete404response.rb +++ b/lib/CloudPDF/types/documents_delete404response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class DocumentsDelete404Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::DocumentsDelete404ResponseError }, optional: false, nullable: false + 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_delete404response_error.rb b/lib/CloudPDF/types/documents_delete404response_error.rb deleted file mode 100644 index 0faa1964..00000000 --- a/lib/CloudPDF/types/documents_delete404response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsDelete404ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/documents_download403response.rb b/lib/CloudPDF/types/documents_download403response.rb index 00dc0e2d..1451e5c6 100644 --- a/lib/CloudPDF/types/documents_download403response.rb +++ b/lib/CloudPDF/types/documents_download403response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class DocumentsDownload403Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::DocumentsDownload403ResponseError }, optional: false, nullable: false + 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_download403response_error.rb b/lib/CloudPDF/types/documents_download403response_error.rb deleted file mode 100644 index d2176f1b..00000000 --- a/lib/CloudPDF/types/documents_download403response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsDownload403ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/documents_download404response.rb b/lib/CloudPDF/types/documents_download404response.rb index df8e6dc6..27a307a9 100644 --- a/lib/CloudPDF/types/documents_download404response.rb +++ b/lib/CloudPDF/types/documents_download404response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class DocumentsDownload404Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::DocumentsDownload404ResponseError }, optional: false, nullable: false + 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_download404response_error.rb b/lib/CloudPDF/types/documents_download404response_error.rb deleted file mode 100644 index 899fdd03..00000000 --- a/lib/CloudPDF/types/documents_download404response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsDownload404ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/documents_get403response.rb b/lib/CloudPDF/types/documents_get403response.rb index 218c202e..e8753019 100644 --- a/lib/CloudPDF/types/documents_get403response.rb +++ b/lib/CloudPDF/types/documents_get403response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class DocumentsGet403Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::DocumentsGet403ResponseError }, optional: false, nullable: false + 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_get403response_error.rb b/lib/CloudPDF/types/documents_get403response_error.rb deleted file mode 100644 index 3389c54d..00000000 --- a/lib/CloudPDF/types/documents_get403response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsGet403ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/documents_get404response.rb b/lib/CloudPDF/types/documents_get404response.rb index 79f2fa05..d13519ae 100644 --- a/lib/CloudPDF/types/documents_get404response.rb +++ b/lib/CloudPDF/types/documents_get404response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class DocumentsGet404Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::DocumentsGet404ResponseError }, optional: false, nullable: false + 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_get404response_error.rb b/lib/CloudPDF/types/documents_get404response_error.rb deleted file mode 100644 index 133707aa..00000000 --- a/lib/CloudPDF/types/documents_get404response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsGet404ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/documents_import_from400response.rb b/lib/CloudPDF/types/documents_import_from400response.rb index aba9d645..6881fd54 100644 --- a/lib/CloudPDF/types/documents_import_from400response.rb +++ b/lib/CloudPDF/types/documents_import_from400response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class DocumentsImportFrom400Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::DocumentsImportFrom400ResponseError }, optional: false, nullable: false + 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_from400response_error.rb b/lib/CloudPDF/types/documents_import_from400response_error.rb deleted file mode 100644 index 89a7b641..00000000 --- a/lib/CloudPDF/types/documents_import_from400response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsImportFrom400ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/documents_import_from403response.rb b/lib/CloudPDF/types/documents_import_from403response.rb index ddb7dbc9..f77a74c9 100644 --- a/lib/CloudPDF/types/documents_import_from403response.rb +++ b/lib/CloudPDF/types/documents_import_from403response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class DocumentsImportFrom403Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::DocumentsImportFrom403ResponseError }, optional: false, nullable: false + 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_from403response_error.rb b/lib/CloudPDF/types/documents_import_from403response_error.rb deleted file mode 100644 index bd0c2e2f..00000000 --- a/lib/CloudPDF/types/documents_import_from403response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsImportFrom403ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/documents_import_from502response.rb b/lib/CloudPDF/types/documents_import_from502response.rb index 47280a13..1a400b86 100644 --- a/lib/CloudPDF/types/documents_import_from502response.rb +++ b/lib/CloudPDF/types/documents_import_from502response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class DocumentsImportFrom502Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::DocumentsImportFrom502ResponseError }, optional: false, nullable: false + 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_import_from502response_error.rb b/lib/CloudPDF/types/documents_import_from502response_error.rb deleted file mode 100644 index 4304b51f..00000000 --- a/lib/CloudPDF/types/documents_import_from502response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsImportFrom502ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/documents_init400response.rb b/lib/CloudPDF/types/documents_init400response.rb index 08680625..50e24ca0 100644 --- a/lib/CloudPDF/types/documents_init400response.rb +++ b/lib/CloudPDF/types/documents_init400response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class DocumentsInit400Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::DocumentsInit400ResponseError }, optional: false, nullable: false + 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_init400response_error.rb b/lib/CloudPDF/types/documents_init400response_error.rb deleted file mode 100644 index 7c3cda5d..00000000 --- a/lib/CloudPDF/types/documents_init400response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsInit400ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/documents_list400response.rb b/lib/CloudPDF/types/documents_list400response.rb index 18a9b87e..9bbdb23d 100644 --- a/lib/CloudPDF/types/documents_list400response.rb +++ b/lib/CloudPDF/types/documents_list400response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class DocumentsList400Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::DocumentsList400ResponseError }, optional: false, nullable: false + 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_list400response_error.rb b/lib/CloudPDF/types/documents_list400response_error.rb deleted file mode 100644 index 4f3ef1e6..00000000 --- a/lib/CloudPDF/types/documents_list400response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsList400ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { 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 index face4dc9..ec9f8f5b 100644 --- a/lib/CloudPDF/types/documents_upload_proxy400response.rb +++ b/lib/CloudPDF/types/documents_upload_proxy400response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class DocumentsUploadProxy400Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::DocumentsUploadProxy400ResponseError }, optional: false, nullable: false + 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_proxy400response_error.rb b/lib/CloudPDF/types/documents_upload_proxy400response_error.rb deleted file mode 100644 index c8477089..00000000 --- a/lib/CloudPDF/types/documents_upload_proxy400response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsUploadProxy400ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/documents_upload_proxy409response.rb b/lib/CloudPDF/types/documents_upload_proxy409response.rb index b8591393..35613174 100644 --- a/lib/CloudPDF/types/documents_upload_proxy409response.rb +++ b/lib/CloudPDF/types/documents_upload_proxy409response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class DocumentsUploadProxy409Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::DocumentsUploadProxy409ResponseError }, optional: false, nullable: false + 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_proxy409response_error.rb b/lib/CloudPDF/types/documents_upload_proxy409response_error.rb deleted file mode 100644 index 65e958b2..00000000 --- a/lib/CloudPDF/types/documents_upload_proxy409response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class DocumentsUploadProxy409ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, 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 index 2ad5f30b..adb9bcb6 100644 --- a/lib/CloudPDF/types/engine_error_payload_code.rb +++ b/lib/CloudPDF/types/engine_error_payload_code.rb @@ -19,8 +19,6 @@ module EngineErrorPayloadCode NOT_FOUND = "NotFound" WIRE_FORMAT = "WireFormat" RUNTIME_UNAVAILABLE = "RuntimeUnavailable" - INVALID_REFERENCE = "InvalidReference" - WEAK_ANNOTATION_SESSION_CONFLICT = "WeakAnnotationSessionConflict" LAYER_VERSION_CONFLICT = "LayerVersionConflict" NOT_IMPLEMENTED = "NotImplemented" MALFORMED_PDF = "MalformedPdf" @@ -30,6 +28,12 @@ module EngineErrorPayloadCode SIGNATURE_REFUSED = "SignatureRefused" PROTECTED_DOCUMENT = "ProtectedDocument" STALE_BASE = "StaleBase" + PAYLOAD_TOO_LARGE = "PayloadTooLarge" + OBJECT_NUMBER_UNAVAILABLE = "ObjectNumberUnavailable" + LAYER_FULL = "LayerFull" + CHANGE_CONFLICT = "ChangeConflict" + UNDO_UNAVAILABLE = "UndoUnavailable" + IDEMPOTENCY_KEY_REUSED = "IdempotencyKeyReused" end end end diff --git a/lib/CloudPDF/types/field_actions_patch.rb b/lib/CloudPDF/types/field_actions_patch.rb new file mode 100644 index 00000000..a03e37f2 --- /dev/null +++ b/lib/CloudPDF/types/field_actions_patch.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FieldActionsPatch < Internal::Types::Model + field :keystroke, -> { CloudPDF::Types::FieldScriptWrite }, optional: true, nullable: false + + field :format, -> { CloudPDF::Types::FieldScriptWrite }, optional: true, nullable: false + + field :validate, -> { CloudPDF::Types::FieldScriptWrite }, optional: true, nullable: false + + field :calculate, -> { CloudPDF::Types::FieldScriptWrite }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/field_position.rb b/lib/CloudPDF/types/field_position.rb new file mode 100644 index 00000000..d68994a8 --- /dev/null +++ b/lib/CloudPDF/types/field_position.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FieldPosition < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + member -> { CloudPDF::Types::FieldPositionZero } + + member -> { CloudPDF::Types::FieldPositionAfter } + end + end +end diff --git a/lib/CloudPDF/types/field_position_after.rb b/lib/CloudPDF/types/field_position_after.rb new file mode 100644 index 00000000..30c70d35 --- /dev/null +++ b/lib/CloudPDF/types/field_position_after.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FieldPositionAfter < Internal::Types::Model + field :before, -> { CloudPDF::Types::FormFieldRef }, optional: true, nullable: false + + field :after, -> { CloudPDF::Types::FormFieldRef }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/field_position_zero.rb b/lib/CloudPDF/types/field_position_zero.rb new file mode 100644 index 00000000..3510b0b2 --- /dev/null +++ b/lib/CloudPDF/types/field_position_zero.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module FieldPositionZero + extend CloudPDF::Internal::Types::Enum + + START = "start" + END_ = "end" + end + end +end diff --git a/lib/CloudPDF/types/field_script_write.rb b/lib/CloudPDF/types/field_script_write.rb new file mode 100644 index 00000000..d1c41683 --- /dev/null +++ b/lib/CloudPDF/types/field_script_write.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FieldScriptWrite < Internal::Types::Model + field :type, -> { CloudPDF::Types::FieldScriptWriteType }, optional: false, nullable: false + + field :script, -> { String }, optional: false, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: true, nullable: false, api_name: "next" + end + end +end diff --git a/lib/CloudPDF/types/field_script_write_type.rb b/lib/CloudPDF/types/field_script_write_type.rb new file mode 100644 index 00000000..d8995dcb --- /dev/null +++ b/lib/CloudPDF/types/field_script_write_type.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module FieldScriptWriteType + extend CloudPDF::Internal::Types::Enum + + JAVASCRIPT = "javascript" + end + end +end diff --git a/lib/CloudPDF/types/form_field.rb b/lib/CloudPDF/types/form_field.rb new file mode 100644 index 00000000..23115bb1 --- /dev/null +++ b/lib/CloudPDF/types/form_field.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormField < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :family + + member -> { CloudPDF::Types::FormFieldText }, key: "TEXT" + + member -> { CloudPDF::Types::FormFieldCheckbox }, key: "CHECKBOX" + + member -> { CloudPDF::Types::FormFieldRadio }, key: "RADIO" + + member -> { CloudPDF::Types::FormFieldCombobox }, key: "COMBOBOX" + + member -> { CloudPDF::Types::FormFieldListbox }, key: "LISTBOX" + + member -> { CloudPDF::Types::FormFieldPushbutton }, key: "PUSHBUTTON" + + member -> { CloudPDF::Types::FormFieldSignature }, key: "SIGNATURE" + + member -> { CloudPDF::Types::FormFieldUnknown }, key: "UNKNOWN" + end + end +end diff --git a/lib/CloudPDF/types/form_field_checkbox.rb b/lib/CloudPDF/types/form_field_checkbox.rb new file mode 100644 index 00000000..5d384d7a --- /dev/null +++ b/lib/CloudPDF/types/form_field_checkbox.rb @@ -0,0 +1,49 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldCheckbox < Internal::Types::Model + field :ref, -> { CloudPDF::Types::FormFieldRef }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :origin, -> { CloudPDF::Types::FormFieldCheckboxOrigin }, optional: false, nullable: false + + field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" + + field :required, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :no_export, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noExport" + + field :alternate_name, -> { String }, optional: false, nullable: true, api_name: "alternateName" + + 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 :default_value_entry, -> { CloudPDF::Types::FormFieldCheckboxDefaultValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" + + field :actions, -> { CloudPDF::Types::PdfFieldActions }, optional: true, nullable: false + + field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :filled_by, -> { String }, optional: false, nullable: true, api_name: "filledBy" + + field :filled_by_name, -> { String }, optional: false, nullable: true, api_name: "filledByName" + + field :filled_at, -> { String }, optional: false, nullable: true, api_name: "filledAt" + + field :imported_by, -> { String }, optional: false, nullable: true, api_name: "importedBy" + + field :widgets, -> { Internal::Types::Array[CloudPDF::Types::FormFieldCheckboxWidgetsItem] }, optional: false, nullable: false + + field :checked, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :export_value, -> { String }, optional: false, nullable: false, api_name: "exportValue" + end + end +end diff --git a/lib/CloudPDF/types/form_field_checkbox_default_value_entry.rb b/lib/CloudPDF/types/form_field_checkbox_default_value_entry.rb new file mode 100644 index 00000000..acbcc10d --- /dev/null +++ b/lib/CloudPDF/types/form_field_checkbox_default_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 00000000..126c5c35 --- /dev/null +++ b/lib/CloudPDF/types/form_field_checkbox_default_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..30b8465a --- /dev/null +++ b/lib/CloudPDF/types/form_field_checkbox_default_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 00000000..ba7e4ec6 --- /dev/null +++ b/lib/CloudPDF/types/form_field_checkbox_default_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..47c52a72 --- /dev/null +++ b/lib/CloudPDF/types/form_field_checkbox_default_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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_origin.rb b/lib/CloudPDF/types/form_field_checkbox_origin.rb new file mode 100644 index 00000000..188a5d57 --- /dev/null +++ b/lib/CloudPDF/types/form_field_checkbox_origin.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module FormFieldCheckboxOrigin + extend CloudPDF::Internal::Types::Enum + + ACROFORM = "acroform" + RECOVERED = "recovered" + 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 new file mode 100644 index 00000000..f84b0f15 --- /dev/null +++ b/lib/CloudPDF/types/form_field_checkbox_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 00000000..01b6ce83 --- /dev/null +++ b/lib/CloudPDF/types/form_field_checkbox_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..aad62fd7 --- /dev/null +++ b/lib/CloudPDF/types/form_field_checkbox_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 00000000..14f70180 --- /dev/null +++ b/lib/CloudPDF/types/form_field_checkbox_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..b91752af --- /dev/null +++ b/lib/CloudPDF/types/form_field_checkbox_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldCheckboxValueEntryUnsupported < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/form_field_checkbox_widgets_item.rb b/lib/CloudPDF/types/form_field_checkbox_widgets_item.rb new file mode 100644 index 00000000..460a1c8c --- /dev/null +++ b/lib/CloudPDF/types/form_field_checkbox_widgets_item.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldCheckboxWidgetsItem < Internal::Types::Model + field :ref, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: true + + field :object_number, -> { Integer }, optional: false, nullable: false, api_name: "objectNumber" + + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: true + + field :on_state, -> { String }, optional: false, nullable: false, api_name: "onState" + + field :export_value, -> { String }, optional: false, nullable: false, api_name: "exportValue" + + field :checked, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/form_field_combobox.rb b/lib/CloudPDF/types/form_field_combobox.rb new file mode 100644 index 00000000..779927d1 --- /dev/null +++ b/lib/CloudPDF/types/form_field_combobox.rb @@ -0,0 +1,53 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldCombobox < Internal::Types::Model + field :ref, -> { CloudPDF::Types::FormFieldRef }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :origin, -> { CloudPDF::Types::FormFieldComboboxOrigin }, optional: false, nullable: false + + field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" + + field :required, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :no_export, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noExport" + + field :alternate_name, -> { String }, optional: false, nullable: true, api_name: "alternateName" + + 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 :default_value_entry, -> { CloudPDF::Types::FormFieldComboboxDefaultValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" + + field :actions, -> { CloudPDF::Types::PdfFieldActions }, optional: true, nullable: false + + field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :filled_by, -> { String }, optional: false, nullable: true, api_name: "filledBy" + + field :filled_by_name, -> { String }, optional: false, nullable: true, api_name: "filledByName" + + field :filled_at, -> { String }, optional: false, nullable: true, api_name: "filledAt" + + field :imported_by, -> { String }, optional: false, nullable: true, api_name: "importedBy" + + field :widgets, -> { Internal::Types::Array[CloudPDF::Types::FormWidget] }, optional: false, nullable: false + + field :value, -> { String }, optional: false, nullable: false + + field :default_value, -> { String }, optional: false, nullable: false, api_name: "defaultValue" + + field :edit, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :options, -> { Internal::Types::Array[CloudPDF::Types::FormFieldComboboxOptionsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/form_field_combobox_default_value_entry.rb b/lib/CloudPDF/types/form_field_combobox_default_value_entry.rb new file mode 100644 index 00000000..46c07e0e --- /dev/null +++ b/lib/CloudPDF/types/form_field_combobox_default_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 00000000..85783b74 --- /dev/null +++ b/lib/CloudPDF/types/form_field_combobox_default_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..019f5fca --- /dev/null +++ b/lib/CloudPDF/types/form_field_combobox_default_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 00000000..bed921a6 --- /dev/null +++ b/lib/CloudPDF/types/form_field_combobox_default_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..979e6448 --- /dev/null +++ b/lib/CloudPDF/types/form_field_combobox_default_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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_options_item.rb b/lib/CloudPDF/types/form_field_combobox_options_item.rb new file mode 100644 index 00000000..4b1d87d4 --- /dev/null +++ b/lib/CloudPDF/types/form_field_combobox_options_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldComboboxOptionsItem < Internal::Types::Model + field :label, -> { String }, optional: false, nullable: false + + field :value, -> { String }, optional: false, nullable: false + + field :selected, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/form_field_combobox_origin.rb b/lib/CloudPDF/types/form_field_combobox_origin.rb new file mode 100644 index 00000000..2329cdb2 --- /dev/null +++ b/lib/CloudPDF/types/form_field_combobox_origin.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module FormFieldComboboxOrigin + extend CloudPDF::Internal::Types::Enum + + ACROFORM = "acroform" + RECOVERED = "recovered" + 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 new file mode 100644 index 00000000..cd7af7d8 --- /dev/null +++ b/lib/CloudPDF/types/form_field_combobox_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 00000000..08110454 --- /dev/null +++ b/lib/CloudPDF/types/form_field_combobox_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..c5e7645c --- /dev/null +++ b/lib/CloudPDF/types/form_field_combobox_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 00000000..35973d5c --- /dev/null +++ b/lib/CloudPDF/types/form_field_combobox_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..e332f146 --- /dev/null +++ b/lib/CloudPDF/types/form_field_combobox_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 00000000..e048bb3a --- /dev/null +++ b/lib/CloudPDF/types/form_field_draft.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldDraft < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :family + + member -> { CloudPDF::Types::FormFieldDraftText }, key: "TEXT" + + member -> { CloudPDF::Types::FormFieldDraftCheckbox }, key: "CHECKBOX" + + member -> { CloudPDF::Types::FormFieldDraftRadio }, key: "RADIO" + + member -> { CloudPDF::Types::FormFieldDraftCombobox }, key: "COMBOBOX" + + member -> { CloudPDF::Types::FormFieldDraftListbox }, key: "LISTBOX" + + member -> { CloudPDF::Types::FormFieldDraftPushbutton }, key: "PUSHBUTTON" + + member -> { CloudPDF::Types::FormFieldDraftSignature }, key: "SIGNATURE" + end + end +end diff --git a/lib/CloudPDF/types/form_field_draft_checkbox.rb b/lib/CloudPDF/types/form_field_draft_checkbox.rb new file mode 100644 index 00000000..4cb4f3d0 --- /dev/null +++ b/lib/CloudPDF/types/form_field_draft_checkbox.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldDraftCheckbox < Internal::Types::Model + field :name, -> { String }, optional: false, nullable: false + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_export, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noExport" + + field :alternate_name, -> { String }, optional: true, nullable: false, api_name: "alternateName" + + field :mapping_name, -> { String }, optional: true, nullable: false, api_name: "mappingName" + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :actions, -> { CloudPDF::Types::FieldActionsPatch }, optional: true, nullable: false + + field :widgets, -> { Internal::Types::Array[CloudPDF::Types::WidgetPlacement] }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/form_field_draft_combobox.rb b/lib/CloudPDF/types/form_field_draft_combobox.rb new file mode 100644 index 00000000..6afad482 --- /dev/null +++ b/lib/CloudPDF/types/form_field_draft_combobox.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldDraftCombobox < Internal::Types::Model + field :name, -> { String }, optional: false, nullable: false + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_export, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noExport" + + field :alternate_name, -> { String }, optional: true, nullable: false, api_name: "alternateName" + + field :mapping_name, -> { String }, optional: true, nullable: false, api_name: "mappingName" + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :actions, -> { CloudPDF::Types::FieldActionsPatch }, optional: true, nullable: false + + field :widgets, -> { Internal::Types::Array[CloudPDF::Types::WidgetPlacement] }, optional: true, nullable: false + + field :edit, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :options, -> { Internal::Types::Array[CloudPDF::Types::FormFieldDraftComboboxOptionsItem] }, optional: true, nullable: false + + field :default_value, -> { String }, optional: true, nullable: false, api_name: "defaultValue" + end + end +end diff --git a/lib/CloudPDF/types/form_field_draft_combobox_options_item.rb b/lib/CloudPDF/types/form_field_draft_combobox_options_item.rb new file mode 100644 index 00000000..0c8d3a0a --- /dev/null +++ b/lib/CloudPDF/types/form_field_draft_combobox_options_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldDraftComboboxOptionsItem < Internal::Types::Model + field :label, -> { String }, optional: false, nullable: false + + field :value, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/form_field_draft_listbox.rb b/lib/CloudPDF/types/form_field_draft_listbox.rb new file mode 100644 index 00000000..1a8ffc8a --- /dev/null +++ b/lib/CloudPDF/types/form_field_draft_listbox.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldDraftListbox < Internal::Types::Model + field :name, -> { String }, optional: false, nullable: false + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_export, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noExport" + + field :alternate_name, -> { String }, optional: true, nullable: false, api_name: "alternateName" + + field :mapping_name, -> { String }, optional: true, nullable: false, api_name: "mappingName" + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :actions, -> { CloudPDF::Types::FieldActionsPatch }, optional: true, nullable: false + + field :widgets, -> { Internal::Types::Array[CloudPDF::Types::WidgetPlacement] }, optional: true, nullable: false + + field :multi_select, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "multiSelect" + + field :options, -> { Internal::Types::Array[CloudPDF::Types::FormFieldDraftListboxOptionsItem] }, optional: true, nullable: false + + field :default_value, -> { Internal::Types::Array[String] }, optional: true, nullable: false, api_name: "defaultValue" + end + end +end diff --git a/lib/CloudPDF/types/form_field_draft_listbox_options_item.rb b/lib/CloudPDF/types/form_field_draft_listbox_options_item.rb new file mode 100644 index 00000000..68cd9ebe --- /dev/null +++ b/lib/CloudPDF/types/form_field_draft_listbox_options_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldDraftListboxOptionsItem < Internal::Types::Model + field :label, -> { String }, optional: false, nullable: false + + field :value, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/form_field_draft_pushbutton.rb b/lib/CloudPDF/types/form_field_draft_pushbutton.rb new file mode 100644 index 00000000..e8e1e68c --- /dev/null +++ b/lib/CloudPDF/types/form_field_draft_pushbutton.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldDraftPushbutton < Internal::Types::Model + field :name, -> { String }, optional: false, nullable: false + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_export, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noExport" + + field :alternate_name, -> { String }, optional: true, nullable: false, api_name: "alternateName" + + field :mapping_name, -> { String }, optional: true, nullable: false, api_name: "mappingName" + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :actions, -> { CloudPDF::Types::FieldActionsPatch }, optional: true, nullable: false + + field :widgets, -> { Internal::Types::Array[CloudPDF::Types::WidgetPlacement] }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/form_field_draft_radio.rb b/lib/CloudPDF/types/form_field_draft_radio.rb new file mode 100644 index 00000000..9d63b35d --- /dev/null +++ b/lib/CloudPDF/types/form_field_draft_radio.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldDraftRadio < Internal::Types::Model + field :name, -> { String }, optional: false, nullable: false + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_export, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noExport" + + field :alternate_name, -> { String }, optional: true, nullable: false, api_name: "alternateName" + + field :mapping_name, -> { String }, optional: true, nullable: false, api_name: "mappingName" + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :actions, -> { CloudPDF::Types::FieldActionsPatch }, optional: true, nullable: false + + field :widgets, -> { Internal::Types::Array[CloudPDF::Types::WidgetPlacement] }, optional: true, nullable: false + + field :radios_in_unison, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "radiosInUnison" + + field :no_toggle_to_off, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noToggleToOff" + end + end +end diff --git a/lib/CloudPDF/types/form_field_draft_signature.rb b/lib/CloudPDF/types/form_field_draft_signature.rb new file mode 100644 index 00000000..af03f89e --- /dev/null +++ b/lib/CloudPDF/types/form_field_draft_signature.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldDraftSignature < Internal::Types::Model + field :name, -> { String }, optional: false, nullable: false + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_export, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noExport" + + field :alternate_name, -> { String }, optional: true, nullable: false, api_name: "alternateName" + + field :mapping_name, -> { String }, optional: true, nullable: false, api_name: "mappingName" + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :actions, -> { CloudPDF::Types::FieldActionsPatch }, optional: true, nullable: false + + field :widgets, -> { Internal::Types::Array[CloudPDF::Types::WidgetPlacement] }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/form_field_draft_text.rb b/lib/CloudPDF/types/form_field_draft_text.rb new file mode 100644 index 00000000..ccd30566 --- /dev/null +++ b/lib/CloudPDF/types/form_field_draft_text.rb @@ -0,0 +1,35 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldDraftText < Internal::Types::Model + field :name, -> { String }, optional: false, nullable: false + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_export, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noExport" + + field :alternate_name, -> { String }, optional: true, nullable: false, api_name: "alternateName" + + field :mapping_name, -> { String }, optional: true, nullable: false, api_name: "mappingName" + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :actions, -> { CloudPDF::Types::FieldActionsPatch }, optional: true, nullable: false + + field :widgets, -> { Internal::Types::Array[CloudPDF::Types::WidgetPlacement] }, optional: true, nullable: false + + field :default_value, -> { String }, optional: true, nullable: false, api_name: "defaultValue" + + field :max_length, -> { Integer }, optional: true, nullable: false, api_name: "maxLength" + + field :multiline, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :password, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :comb, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/form_field_listbox.rb b/lib/CloudPDF/types/form_field_listbox.rb new file mode 100644 index 00000000..22b6963a --- /dev/null +++ b/lib/CloudPDF/types/form_field_listbox.rb @@ -0,0 +1,55 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldListbox < Internal::Types::Model + field :ref, -> { CloudPDF::Types::FormFieldRef }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :origin, -> { CloudPDF::Types::FormFieldListboxOrigin }, optional: false, nullable: false + + field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" + + field :required, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :no_export, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noExport" + + field :alternate_name, -> { String }, optional: false, nullable: true, api_name: "alternateName" + + 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 :default_value_entry, -> { CloudPDF::Types::FormFieldListboxDefaultValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" + + field :actions, -> { CloudPDF::Types::PdfFieldActions }, optional: true, nullable: false + + field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :filled_by, -> { String }, optional: false, nullable: true, api_name: "filledBy" + + field :filled_by_name, -> { String }, optional: false, nullable: true, api_name: "filledByName" + + field :filled_at, -> { String }, optional: false, nullable: true, api_name: "filledAt" + + field :imported_by, -> { String }, optional: false, nullable: true, api_name: "importedBy" + + field :widgets, -> { Internal::Types::Array[CloudPDF::Types::FormWidget] }, optional: false, nullable: false + + field :selected_values, -> { Internal::Types::Array[String] }, optional: false, nullable: false, api_name: "selectedValues" + + field :default_value, -> { Internal::Types::Array[String] }, optional: false, nullable: false, api_name: "defaultValue" + + field :multi_select, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "multiSelect" + + field :options, -> { Internal::Types::Array[CloudPDF::Types::FormFieldListboxOptionsItem] }, optional: false, nullable: false + + field :top_index, -> { Integer }, optional: false, nullable: false, api_name: "topIndex" + end + end +end diff --git a/lib/CloudPDF/types/form_field_listbox_default_value_entry.rb b/lib/CloudPDF/types/form_field_listbox_default_value_entry.rb new file mode 100644 index 00000000..75cf7ed8 --- /dev/null +++ b/lib/CloudPDF/types/form_field_listbox_default_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 00000000..830de95a --- /dev/null +++ b/lib/CloudPDF/types/form_field_listbox_default_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..7078be64 --- /dev/null +++ b/lib/CloudPDF/types/form_field_listbox_default_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 00000000..45f9ac17 --- /dev/null +++ b/lib/CloudPDF/types/form_field_listbox_default_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..79744159 --- /dev/null +++ b/lib/CloudPDF/types/form_field_listbox_default_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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_options_item.rb b/lib/CloudPDF/types/form_field_listbox_options_item.rb new file mode 100644 index 00000000..f416d2f9 --- /dev/null +++ b/lib/CloudPDF/types/form_field_listbox_options_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldListboxOptionsItem < Internal::Types::Model + field :label, -> { String }, optional: false, nullable: false + + field :value, -> { String }, optional: false, nullable: false + + field :selected, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/form_field_listbox_origin.rb b/lib/CloudPDF/types/form_field_listbox_origin.rb new file mode 100644 index 00000000..216eddee --- /dev/null +++ b/lib/CloudPDF/types/form_field_listbox_origin.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module FormFieldListboxOrigin + extend CloudPDF::Internal::Types::Enum + + ACROFORM = "acroform" + RECOVERED = "recovered" + 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 new file mode 100644 index 00000000..e6ad9129 --- /dev/null +++ b/lib/CloudPDF/types/form_field_listbox_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 00000000..0c455065 --- /dev/null +++ b/lib/CloudPDF/types/form_field_listbox_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..258c6698 --- /dev/null +++ b/lib/CloudPDF/types/form_field_listbox_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 00000000..969f7471 --- /dev/null +++ b/lib/CloudPDF/types/form_field_listbox_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..f7c9a375 --- /dev/null +++ b/lib/CloudPDF/types/form_field_listbox_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 00000000..234c35ed --- /dev/null +++ b/lib/CloudPDF/types/form_field_patch.rb @@ -0,0 +1,45 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldPatch < Internal::Types::Model + field :name, -> { String }, optional: true, nullable: false + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_export, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noExport" + + field :alternate_name, -> { String }, optional: true, nullable: false, api_name: "alternateName" + + field :mapping_name, -> { String }, optional: true, nullable: false, api_name: "mappingName" + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :actions, -> { CloudPDF::Types::FieldActionsPatch }, optional: true, nullable: false + + field :family, -> { CloudPDF::Types::FormFieldPatchFamily }, optional: true, nullable: false + + field :default_value, -> { CloudPDF::Types::FormFieldPatchDefaultValue }, optional: true, nullable: false, api_name: "defaultValue" + + field :max_length, -> { Integer }, optional: true, nullable: false, api_name: "maxLength" + + field :multiline, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :password, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :comb, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :radios_in_unison, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "radiosInUnison" + + field :no_toggle_to_off, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noToggleToOff" + + field :edit, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :multi_select, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "multiSelect" + + field :options, -> { Internal::Types::Array[CloudPDF::Types::FormFieldPatchOptionsItem] }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/form_field_patch_default_value.rb b/lib/CloudPDF/types/form_field_patch_default_value.rb new file mode 100644 index 00000000..ab013b8d --- /dev/null +++ b/lib/CloudPDF/types/form_field_patch_default_value.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldPatchDefaultValue < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + member -> { String } + + member -> { Internal::Types::Array[String] } + end + end +end diff --git a/lib/CloudPDF/types/form_field_patch_family.rb b/lib/CloudPDF/types/form_field_patch_family.rb new file mode 100644 index 00000000..956e5b48 --- /dev/null +++ b/lib/CloudPDF/types/form_field_patch_family.rb @@ -0,0 +1,17 @@ +# 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_options_item.rb b/lib/CloudPDF/types/form_field_patch_options_item.rb new file mode 100644 index 00000000..ff9c537a --- /dev/null +++ b/lib/CloudPDF/types/form_field_patch_options_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldPatchOptionsItem < Internal::Types::Model + field :label, -> { String }, optional: false, nullable: false + + field :value, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/form_field_pushbutton.rb b/lib/CloudPDF/types/form_field_pushbutton.rb new file mode 100644 index 00000000..bd85b4a0 --- /dev/null +++ b/lib/CloudPDF/types/form_field_pushbutton.rb @@ -0,0 +1,45 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldPushbutton < Internal::Types::Model + field :ref, -> { CloudPDF::Types::FormFieldRef }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :origin, -> { CloudPDF::Types::FormFieldPushbuttonOrigin }, optional: false, nullable: false + + field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" + + field :required, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :no_export, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noExport" + + field :alternate_name, -> { String }, optional: false, nullable: true, api_name: "alternateName" + + 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 :default_value_entry, -> { CloudPDF::Types::FormFieldPushbuttonDefaultValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" + + field :actions, -> { CloudPDF::Types::PdfFieldActions }, optional: true, nullable: false + + field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :filled_by, -> { String }, optional: false, nullable: true, api_name: "filledBy" + + field :filled_by_name, -> { String }, optional: false, nullable: true, api_name: "filledByName" + + field :filled_at, -> { String }, optional: false, nullable: true, api_name: "filledAt" + + field :imported_by, -> { String }, optional: false, nullable: true, api_name: "importedBy" + + field :widgets, -> { Internal::Types::Array[CloudPDF::Types::FormWidget] }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/form_field_pushbutton_default_value_entry.rb b/lib/CloudPDF/types/form_field_pushbutton_default_value_entry.rb new file mode 100644 index 00000000..67e18a3e --- /dev/null +++ b/lib/CloudPDF/types/form_field_pushbutton_default_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 00000000..906db17f --- /dev/null +++ b/lib/CloudPDF/types/form_field_pushbutton_default_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..a292fac1 --- /dev/null +++ b/lib/CloudPDF/types/form_field_pushbutton_default_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 00000000..2b99857a --- /dev/null +++ b/lib/CloudPDF/types/form_field_pushbutton_default_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..4f8a70d2 --- /dev/null +++ b/lib/CloudPDF/types/form_field_pushbutton_default_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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_origin.rb b/lib/CloudPDF/types/form_field_pushbutton_origin.rb new file mode 100644 index 00000000..731fe2f5 --- /dev/null +++ b/lib/CloudPDF/types/form_field_pushbutton_origin.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module FormFieldPushbuttonOrigin + extend CloudPDF::Internal::Types::Enum + + ACROFORM = "acroform" + RECOVERED = "recovered" + 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 new file mode 100644 index 00000000..9550c68f --- /dev/null +++ b/lib/CloudPDF/types/form_field_pushbutton_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 00000000..c5cf30c0 --- /dev/null +++ b/lib/CloudPDF/types/form_field_pushbutton_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..8e647ee3 --- /dev/null +++ b/lib/CloudPDF/types/form_field_pushbutton_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 00000000..76c05eb3 --- /dev/null +++ b/lib/CloudPDF/types/form_field_pushbutton_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..14f14978 --- /dev/null +++ b/lib/CloudPDF/types/form_field_pushbutton_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 00000000..da61ba45 --- /dev/null +++ b/lib/CloudPDF/types/form_field_radio.rb @@ -0,0 +1,51 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldRadio < Internal::Types::Model + field :ref, -> { CloudPDF::Types::FormFieldRef }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :origin, -> { CloudPDF::Types::FormFieldRadioOrigin }, optional: false, nullable: false + + field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" + + field :required, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :no_export, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noExport" + + field :alternate_name, -> { String }, optional: false, nullable: true, api_name: "alternateName" + + 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 :default_value_entry, -> { CloudPDF::Types::FormFieldRadioDefaultValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" + + field :actions, -> { CloudPDF::Types::PdfFieldActions }, optional: true, nullable: false + + field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :filled_by, -> { String }, optional: false, nullable: true, api_name: "filledBy" + + field :filled_by_name, -> { String }, optional: false, nullable: true, api_name: "filledByName" + + field :filled_at, -> { String }, optional: false, nullable: true, api_name: "filledAt" + + field :imported_by, -> { String }, optional: false, nullable: true, api_name: "importedBy" + + field :widgets, -> { Internal::Types::Array[CloudPDF::Types::FormFieldRadioWidgetsItem] }, optional: false, nullable: false + + field :value, -> { String }, optional: false, nullable: false + + field :radios_in_unison, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "radiosInUnison" + + field :no_toggle_to_off, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noToggleToOff" + end + end +end diff --git a/lib/CloudPDF/types/form_field_radio_default_value_entry.rb b/lib/CloudPDF/types/form_field_radio_default_value_entry.rb new file mode 100644 index 00000000..7fa9e73e --- /dev/null +++ b/lib/CloudPDF/types/form_field_radio_default_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 00000000..db42338e --- /dev/null +++ b/lib/CloudPDF/types/form_field_radio_default_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..7b8fdbe7 --- /dev/null +++ b/lib/CloudPDF/types/form_field_radio_default_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 00000000..bee72563 --- /dev/null +++ b/lib/CloudPDF/types/form_field_radio_default_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..facc4695 --- /dev/null +++ b/lib/CloudPDF/types/form_field_radio_default_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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_origin.rb b/lib/CloudPDF/types/form_field_radio_origin.rb new file mode 100644 index 00000000..5670d6d6 --- /dev/null +++ b/lib/CloudPDF/types/form_field_radio_origin.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module FormFieldRadioOrigin + extend CloudPDF::Internal::Types::Enum + + ACROFORM = "acroform" + RECOVERED = "recovered" + 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 new file mode 100644 index 00000000..5fef85a3 --- /dev/null +++ b/lib/CloudPDF/types/form_field_radio_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 00000000..ae29a2dc --- /dev/null +++ b/lib/CloudPDF/types/form_field_radio_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..4a3022be --- /dev/null +++ b/lib/CloudPDF/types/form_field_radio_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 00000000..242423de --- /dev/null +++ b/lib/CloudPDF/types/form_field_radio_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..5f166c0a --- /dev/null +++ b/lib/CloudPDF/types/form_field_radio_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldRadioValueEntryUnsupported < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/form_field_radio_widgets_item.rb b/lib/CloudPDF/types/form_field_radio_widgets_item.rb new file mode 100644 index 00000000..8191420f --- /dev/null +++ b/lib/CloudPDF/types/form_field_radio_widgets_item.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldRadioWidgetsItem < Internal::Types::Model + field :ref, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: true + + field :object_number, -> { Integer }, optional: false, nullable: false, api_name: "objectNumber" + + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: true + + field :on_state, -> { String }, optional: false, nullable: false, api_name: "onState" + + field :export_value, -> { String }, optional: false, nullable: false, api_name: "exportValue" + + field :checked, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/form_field_ref.rb b/lib/CloudPDF/types/form_field_ref.rb new file mode 100644 index 00000000..c3b01fed --- /dev/null +++ b/lib/CloudPDF/types/form_field_ref.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldRef < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :kind + + member -> { CloudPDF::Types::FormFieldRefObjectNumber }, key: "OBJECT_NUMBER" + + member -> { CloudPDF::Types::FormFieldRefFqn }, key: "FQN" + end + end +end diff --git a/lib/CloudPDF/types/form_field_ref_fqn.rb b/lib/CloudPDF/types/form_field_ref_fqn.rb new file mode 100644 index 00000000..58b51f97 --- /dev/null +++ b/lib/CloudPDF/types/form_field_ref_fqn.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldRefFqn < Internal::Types::Model + field :name, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/form_field_ref_object_number.rb b/lib/CloudPDF/types/form_field_ref_object_number.rb new file mode 100644 index 00000000..5bfaf3ae --- /dev/null +++ b/lib/CloudPDF/types/form_field_ref_object_number.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldRefObjectNumber < Internal::Types::Model + field :object_number, -> { Integer }, optional: false, nullable: false, api_name: "objectNumber" + end + end +end diff --git a/lib/CloudPDF/types/form_field_signature.rb b/lib/CloudPDF/types/form_field_signature.rb new file mode 100644 index 00000000..c70d1708 --- /dev/null +++ b/lib/CloudPDF/types/form_field_signature.rb @@ -0,0 +1,45 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldSignature < Internal::Types::Model + field :ref, -> { CloudPDF::Types::FormFieldRef }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :origin, -> { CloudPDF::Types::FormFieldSignatureOrigin }, optional: false, nullable: false + + field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" + + field :required, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :no_export, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noExport" + + field :alternate_name, -> { String }, optional: false, nullable: true, api_name: "alternateName" + + 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 :default_value_entry, -> { CloudPDF::Types::FormFieldSignatureDefaultValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" + + field :actions, -> { CloudPDF::Types::PdfFieldActions }, optional: true, nullable: false + + field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :filled_by, -> { String }, optional: false, nullable: true, api_name: "filledBy" + + field :filled_by_name, -> { String }, optional: false, nullable: true, api_name: "filledByName" + + field :filled_at, -> { String }, optional: false, nullable: true, api_name: "filledAt" + + field :imported_by, -> { String }, optional: false, nullable: true, api_name: "importedBy" + + field :widgets, -> { Internal::Types::Array[CloudPDF::Types::FormWidget] }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/form_field_signature_default_value_entry.rb b/lib/CloudPDF/types/form_field_signature_default_value_entry.rb new file mode 100644 index 00000000..89563b0e --- /dev/null +++ b/lib/CloudPDF/types/form_field_signature_default_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 00000000..205f8b46 --- /dev/null +++ b/lib/CloudPDF/types/form_field_signature_default_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..aee3b4c6 --- /dev/null +++ b/lib/CloudPDF/types/form_field_signature_default_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 00000000..664041ee --- /dev/null +++ b/lib/CloudPDF/types/form_field_signature_default_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..844f533e --- /dev/null +++ b/lib/CloudPDF/types/form_field_signature_default_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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_origin.rb b/lib/CloudPDF/types/form_field_signature_origin.rb new file mode 100644 index 00000000..37c811d7 --- /dev/null +++ b/lib/CloudPDF/types/form_field_signature_origin.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module FormFieldSignatureOrigin + extend CloudPDF::Internal::Types::Enum + + ACROFORM = "acroform" + RECOVERED = "recovered" + 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 new file mode 100644 index 00000000..40f7f2f0 --- /dev/null +++ b/lib/CloudPDF/types/form_field_signature_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 00000000..7292046d --- /dev/null +++ b/lib/CloudPDF/types/form_field_signature_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..346b9a69 --- /dev/null +++ b/lib/CloudPDF/types/form_field_signature_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 00000000..40beb835 --- /dev/null +++ b/lib/CloudPDF/types/form_field_signature_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..0397ac3d --- /dev/null +++ b/lib/CloudPDF/types/form_field_signature_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 00000000..7cbd8c26 --- /dev/null +++ b/lib/CloudPDF/types/form_field_text.rb @@ -0,0 +1,57 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldText < Internal::Types::Model + field :ref, -> { CloudPDF::Types::FormFieldRef }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :origin, -> { CloudPDF::Types::FormFieldTextOrigin }, optional: false, nullable: false + + field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" + + field :required, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :no_export, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noExport" + + field :alternate_name, -> { String }, optional: false, nullable: true, api_name: "alternateName" + + 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 :default_value_entry, -> { CloudPDF::Types::FormFieldTextDefaultValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" + + field :actions, -> { CloudPDF::Types::PdfFieldActions }, optional: true, nullable: false + + field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :filled_by, -> { String }, optional: false, nullable: true, api_name: "filledBy" + + field :filled_by_name, -> { String }, optional: false, nullable: true, api_name: "filledByName" + + field :filled_at, -> { String }, optional: false, nullable: true, api_name: "filledAt" + + field :imported_by, -> { String }, optional: false, nullable: true, api_name: "importedBy" + + field :widgets, -> { Internal::Types::Array[CloudPDF::Types::FormWidget] }, optional: false, nullable: false + + field :value, -> { String }, optional: false, nullable: false + + field :default_value, -> { String }, optional: false, nullable: false, api_name: "defaultValue" + + field :max_length, -> { Integer }, optional: false, nullable: true, api_name: "maxLength" + + field :multiline, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :password, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :comb, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/form_field_text_default_value_entry.rb b/lib/CloudPDF/types/form_field_text_default_value_entry.rb new file mode 100644 index 00000000..17d0e53b --- /dev/null +++ b/lib/CloudPDF/types/form_field_text_default_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 00000000..f9a6624f --- /dev/null +++ b/lib/CloudPDF/types/form_field_text_default_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..38c71e44 --- /dev/null +++ b/lib/CloudPDF/types/form_field_text_default_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 00000000..3a276272 --- /dev/null +++ b/lib/CloudPDF/types/form_field_text_default_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..9b50951a --- /dev/null +++ b/lib/CloudPDF/types/form_field_text_default_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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_origin.rb b/lib/CloudPDF/types/form_field_text_origin.rb new file mode 100644 index 00000000..ef01e286 --- /dev/null +++ b/lib/CloudPDF/types/form_field_text_origin.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module FormFieldTextOrigin + extend CloudPDF::Internal::Types::Enum + + ACROFORM = "acroform" + RECOVERED = "recovered" + 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 new file mode 100644 index 00000000..703e6b7c --- /dev/null +++ b/lib/CloudPDF/types/form_field_text_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 00000000..831f3143 --- /dev/null +++ b/lib/CloudPDF/types/form_field_text_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..9b2af9b0 --- /dev/null +++ b/lib/CloudPDF/types/form_field_text_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 00000000..80dd3fdf --- /dev/null +++ b/lib/CloudPDF/types/form_field_text_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..de57b95a --- /dev/null +++ b/lib/CloudPDF/types/form_field_text_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 00000000..b46eec89 --- /dev/null +++ b/lib/CloudPDF/types/form_field_unknown.rb @@ -0,0 +1,47 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldUnknown < Internal::Types::Model + field :ref, -> { CloudPDF::Types::FormFieldRef }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :origin, -> { CloudPDF::Types::FormFieldUnknownOrigin }, optional: false, nullable: false + + field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" + + field :required, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :no_export, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noExport" + + field :alternate_name, -> { String }, optional: false, nullable: true, api_name: "alternateName" + + 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 :default_value_entry, -> { CloudPDF::Types::FormFieldUnknownDefaultValueEntry }, optional: false, nullable: false, api_name: "defaultValueEntry" + + field :actions, -> { CloudPDF::Types::PdfFieldActions }, optional: true, nullable: false + + field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :filled_by, -> { String }, optional: false, nullable: true, api_name: "filledBy" + + field :filled_by_name, -> { String }, optional: false, nullable: true, api_name: "filledByName" + + field :filled_at, -> { String }, optional: false, nullable: true, api_name: "filledAt" + + field :imported_by, -> { String }, optional: false, nullable: true, api_name: "importedBy" + + field :widgets, -> { Internal::Types::Array[CloudPDF::Types::FormWidget] }, optional: false, nullable: false + + field :raw_value, -> { String }, optional: false, nullable: false, api_name: "rawValue" + end + end +end diff --git a/lib/CloudPDF/types/form_field_unknown_default_value_entry.rb b/lib/CloudPDF/types/form_field_unknown_default_value_entry.rb new file mode 100644 index 00000000..e5063c4a --- /dev/null +++ b/lib/CloudPDF/types/form_field_unknown_default_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 00000000..780aef69 --- /dev/null +++ b/lib/CloudPDF/types/form_field_unknown_default_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..a596c789 --- /dev/null +++ b/lib/CloudPDF/types/form_field_unknown_default_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 00000000..2904c654 --- /dev/null +++ b/lib/CloudPDF/types/form_field_unknown_default_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..94a5a268 --- /dev/null +++ b/lib/CloudPDF/types/form_field_unknown_default_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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_origin.rb b/lib/CloudPDF/types/form_field_unknown_origin.rb new file mode 100644 index 00000000..b38a9278 --- /dev/null +++ b/lib/CloudPDF/types/form_field_unknown_origin.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module FormFieldUnknownOrigin + extend CloudPDF::Internal::Types::Enum + + ACROFORM = "acroform" + RECOVERED = "recovered" + 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 new file mode 100644 index 00000000..78f0cd07 --- /dev/null +++ b/lib/CloudPDF/types/form_field_unknown_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 00000000..48a4678f --- /dev/null +++ b/lib/CloudPDF/types/form_field_unknown_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..420c9d87 --- /dev/null +++ b/lib/CloudPDF/types/form_field_unknown_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 00000000..b6805d68 --- /dev/null +++ b/lib/CloudPDF/types/form_field_unknown_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 00000000..b74f08e4 --- /dev/null +++ b/lib/CloudPDF/types/form_field_unknown_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldUnknownValueEntryUnsupported < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/form_field_value.rb b/lib/CloudPDF/types/form_field_value.rb new file mode 100644 index 00000000..8f12ab7b --- /dev/null +++ b/lib/CloudPDF/types/form_field_value.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormFieldValue < Internal::Types::Model + field :value, -> { String }, optional: true, nullable: false + + field :checked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :selected_values, -> { Internal::Types::Array[String] }, optional: true, nullable: false, api_name: "selectedValues" + end + end +end diff --git a/lib/CloudPDF/types/form_mutation_meta.rb b/lib/CloudPDF/types/form_mutation_meta.rb new file mode 100644 index 00000000..8e12734d --- /dev/null +++ b/lib/CloudPDF/types/form_mutation_meta.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormMutationMeta < Internal::Types::Model + field :affected_pages, -> { Internal::Types::Array[CloudPDF::Types::PageRef] }, optional: false, nullable: false, api_name: "affectedPages" + + field :cache_delta, -> { CloudPDF::Types::CacheDelta }, optional: false, nullable: true, api_name: "cacheDelta" + + field :op_id, -> { String }, optional: false, nullable: false, api_name: "opId" + + field :undoable, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :changed_fields, -> { Internal::Types::Array[CloudPDF::Types::FormFieldRef] }, optional: false, nullable: false, api_name: "changedFields" + + field :changed_widgets, -> { Internal::Types::Array[CloudPDF::Types::FormWidget] }, optional: false, nullable: false, api_name: "changedWidgets" + + field :redrawn_widgets, -> { Internal::Types::Array[CloudPDF::Types::FormWidget] }, optional: false, nullable: false, api_name: "redrawnWidgets" + end + end +end diff --git a/lib/CloudPDF/types/form_widget.rb b/lib/CloudPDF/types/form_widget.rb new file mode 100644 index 00000000..c8eaba8c --- /dev/null +++ b/lib/CloudPDF/types/form_widget.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class FormWidget < Internal::Types::Model + field :ref, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: true + + field :object_number, -> { Integer }, optional: false, nullable: false, api_name: "objectNumber" + + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: true + end + end +end diff --git a/lib/CloudPDF/types/metadata_patch.rb b/lib/CloudPDF/types/metadata_patch.rb new file mode 100644 index 00000000..f9295051 --- /dev/null +++ b/lib/CloudPDF/types/metadata_patch.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class MetadataPatch < Internal::Types::Model + field :title, -> { String }, optional: true, nullable: false + + field :author, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :keywords, -> { String }, optional: true, nullable: false + + field :producer, -> { String }, optional: true, nullable: false + + field :creator, -> { String }, optional: true, nullable: false + + field :created_at, -> { String }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { String }, optional: true, nullable: false, api_name: "modifiedAt" + + field :trapped, -> { CloudPDF::Types::MetadataPatchTrapped }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/metadata_patch_trapped.rb b/lib/CloudPDF/types/metadata_patch_trapped.rb new file mode 100644 index 00000000..b238e5b7 --- /dev/null +++ b/lib/CloudPDF/types/metadata_patch_trapped.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module MetadataPatchTrapped + extend CloudPDF::Internal::Types::Enum + + TRUE = "true" + FALSE = "false" + UNKNOWN = "unknown" + end + end +end diff --git a/lib/CloudPDF/types/mutation_meta.rb b/lib/CloudPDF/types/mutation_meta.rb new file mode 100644 index 00000000..edc6b7d2 --- /dev/null +++ b/lib/CloudPDF/types/mutation_meta.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class MutationMeta < Internal::Types::Model + field :affected_pages, -> { Internal::Types::Array[CloudPDF::Types::PageRef] }, optional: false, nullable: false, api_name: "affectedPages" + + field :cache_delta, -> { CloudPDF::Types::CacheDelta }, optional: false, nullable: true, api_name: "cacheDelta" + + field :op_id, -> { String }, optional: false, nullable: false, api_name: "opId" + + field :undoable, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/page_destination.rb b/lib/CloudPDF/types/page_destination.rb new file mode 100644 index 00000000..5c930918 --- /dev/null +++ b/lib/CloudPDF/types/page_destination.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PageDestination < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :kind + + member -> { CloudPDF::Types::PageDestinationXyz }, key: "XYZ" + + member -> { CloudPDF::Types::PageDestinationFit }, key: "FIT" + + member -> { CloudPDF::Types::PageDestinationFitH }, key: "FIT_H" + + member -> { CloudPDF::Types::PageDestinationFitV }, key: "FIT_V" + + member -> { CloudPDF::Types::PageDestinationFitR }, key: "FIT_R" + + member -> { CloudPDF::Types::PageDestinationFitB }, key: "FIT_B" + + member -> { CloudPDF::Types::PageDestinationFitBh }, key: "FIT_BH" + + member -> { CloudPDF::Types::PageDestinationFitBv }, key: "FIT_BV" + end + end +end diff --git a/lib/CloudPDF/types/page_destination_fit.rb b/lib/CloudPDF/types/page_destination_fit.rb new file mode 100644 index 00000000..f21abc7e --- /dev/null +++ b/lib/CloudPDF/types/page_destination_fit.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PageDestinationFit < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/page_destination_fit_b.rb b/lib/CloudPDF/types/page_destination_fit_b.rb new file mode 100644 index 00000000..7bb31e38 --- /dev/null +++ b/lib/CloudPDF/types/page_destination_fit_b.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PageDestinationFitB < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/page_destination_fit_bh.rb b/lib/CloudPDF/types/page_destination_fit_bh.rb new file mode 100644 index 00000000..606f958e --- /dev/null +++ b/lib/CloudPDF/types/page_destination_fit_bh.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PageDestinationFitBh < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :y, -> { Integer }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/page_destination_fit_bv.rb b/lib/CloudPDF/types/page_destination_fit_bv.rb new file mode 100644 index 00000000..924d3cf0 --- /dev/null +++ b/lib/CloudPDF/types/page_destination_fit_bv.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PageDestinationFitBv < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :x, -> { Integer }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/page_destination_fit_h.rb b/lib/CloudPDF/types/page_destination_fit_h.rb new file mode 100644 index 00000000..f7a86c71 --- /dev/null +++ b/lib/CloudPDF/types/page_destination_fit_h.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PageDestinationFitH < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :y, -> { Integer }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/page_destination_fit_r.rb b/lib/CloudPDF/types/page_destination_fit_r.rb new file mode 100644 index 00000000..0531c40c --- /dev/null +++ b/lib/CloudPDF/types/page_destination_fit_r.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PageDestinationFitR < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + 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/page_destination_fit_v.rb b/lib/CloudPDF/types/page_destination_fit_v.rb new file mode 100644 index 00000000..490c9690 --- /dev/null +++ b/lib/CloudPDF/types/page_destination_fit_v.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PageDestinationFitV < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :x, -> { Integer }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/page_destination_xyz.rb b/lib/CloudPDF/types/page_destination_xyz.rb new file mode 100644 index 00000000..cd4cdf27 --- /dev/null +++ b/lib/CloudPDF/types/page_destination_xyz.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PageDestinationXyz < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :x, -> { Integer }, optional: true, nullable: false + + field :y, -> { Integer }, optional: true, nullable: false + + field :zoom, -> { Integer }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/page_position.rb b/lib/CloudPDF/types/page_position.rb new file mode 100644 index 00000000..0bb5dbc4 --- /dev/null +++ b/lib/CloudPDF/types/page_position.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PagePosition < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + member -> { CloudPDF::Types::PagePositionZero } + + member -> { CloudPDF::Types::PagePositionAfter } + end + end +end diff --git a/lib/CloudPDF/types/page_position_after.rb b/lib/CloudPDF/types/page_position_after.rb new file mode 100644 index 00000000..cef5f9d6 --- /dev/null +++ b/lib/CloudPDF/types/page_position_after.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PagePositionAfter < Internal::Types::Model + field :before, -> { CloudPDF::Types::PageRef }, optional: true, nullable: false + + field :after, -> { CloudPDF::Types::PageRef }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/page_position_zero.rb b/lib/CloudPDF/types/page_position_zero.rb new file mode 100644 index 00000000..f9af7d0a --- /dev/null +++ b/lib/CloudPDF/types/page_position_zero.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module PagePositionZero + extend CloudPDF::Internal::Types::Enum + + START = "start" + END_ = "end" + end + end +end diff --git a/lib/CloudPDF/types/page_ref.rb b/lib/CloudPDF/types/page_ref.rb new file mode 100644 index 00000000..e8c7307a --- /dev/null +++ b/lib/CloudPDF/types/page_ref.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PageRef < Internal::Types::Model + field :kind, -> { CloudPDF::Types::PageRefKind }, optional: false, nullable: false + + field :object_number, -> { Integer }, optional: false, nullable: false, api_name: "objectNumber" + end + end +end diff --git a/lib/CloudPDF/types/page_ref_kind.rb b/lib/CloudPDF/types/page_ref_kind.rb new file mode 100644 index 00000000..54bbd741 --- /dev/null +++ b/lib/CloudPDF/types/page_ref_kind.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module PageRefKind + extend CloudPDF::Internal::Types::Enum + + OBJECT_NUMBER = "objectNumber" + end + end +end diff --git a/lib/CloudPDF/types/pdf_action_node_goto.rb b/lib/CloudPDF/types/pdf_action_node_goto.rb index 6cbd381b..2613a369 100644 --- a/lib/CloudPDF/types/pdf_action_node_goto.rb +++ b/lib/CloudPDF/types/pdf_action_node_goto.rb @@ -7,7 +7,7 @@ class PdfActionNodeGoto < Internal::Types::Model field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" - field :destination, -> { CloudPDF::Types::PdfDestination }, optional: false, nullable: false + field :destination, -> { CloudPDF::Types::PageDestination }, optional: false, nullable: false end end end diff --git a/lib/CloudPDF/types/pdf_action_write.rb b/lib/CloudPDF/types/pdf_action_write.rb new file mode 100644 index 00000000..d35a2cf1 --- /dev/null +++ b/lib/CloudPDF/types/pdf_action_write.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfActionWrite < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :type + + member -> { CloudPDF::Types::PdfActionWriteJavascript }, key: "JAVASCRIPT" + + member -> { CloudPDF::Types::PdfActionWriteGoto }, key: "GOTO" + + member -> { CloudPDF::Types::PdfActionWriteURI }, key: "URI" + + member -> { CloudPDF::Types::PdfActionWriteNamed }, key: "NAMED" + + member -> { CloudPDF::Types::PdfActionWriteHide }, key: "HIDE" + + member -> { CloudPDF::Types::PdfActionWriteResetForm }, key: "RESET_FORM" + + member -> { CloudPDF::Types::PdfActionWriteSubmitForm }, key: "SUBMIT_FORM" + end + end +end diff --git a/lib/CloudPDF/types/pdf_action_write_goto.rb b/lib/CloudPDF/types/pdf_action_write_goto.rb new file mode 100644 index 00000000..40007046 --- /dev/null +++ b/lib/CloudPDF/types/pdf_action_write_goto.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfActionWriteGoto < Internal::Types::Model + field :destination, -> { CloudPDF::Types::PageDestination }, optional: false, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: true, nullable: false, api_name: "next" + end + end +end diff --git a/lib/CloudPDF/types/pdf_action_write_hide.rb b/lib/CloudPDF/types/pdf_action_write_hide.rb new file mode 100644 index 00000000..1d1669e8 --- /dev/null +++ b/lib/CloudPDF/types/pdf_action_write_hide.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfActionWriteHide < Internal::Types::Model + field :targets, -> { Internal::Types::Array[CloudPDF::Types::PdfActionTargetRef] }, optional: false, nullable: false + + field :hide, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: true, nullable: false, api_name: "next" + end + end +end diff --git a/lib/CloudPDF/types/pdf_action_write_javascript.rb b/lib/CloudPDF/types/pdf_action_write_javascript.rb new file mode 100644 index 00000000..f95e373f --- /dev/null +++ b/lib/CloudPDF/types/pdf_action_write_javascript.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfActionWriteJavascript < Internal::Types::Model + field :script, -> { String }, optional: false, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: true, nullable: false, api_name: "next" + end + end +end diff --git a/lib/CloudPDF/types/pdf_action_write_named.rb b/lib/CloudPDF/types/pdf_action_write_named.rb new file mode 100644 index 00000000..5ffd7ec0 --- /dev/null +++ b/lib/CloudPDF/types/pdf_action_write_named.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfActionWriteNamed < Internal::Types::Model + field :name, -> { String }, optional: false, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: true, nullable: false, api_name: "next" + end + end +end diff --git a/lib/CloudPDF/types/pdf_action_write_reset_form.rb b/lib/CloudPDF/types/pdf_action_write_reset_form.rb new file mode 100644 index 00000000..024d0eb7 --- /dev/null +++ b/lib/CloudPDF/types/pdf_action_write_reset_form.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfActionWriteResetForm < Internal::Types::Model + field :fields, -> { Internal::Types::Array[CloudPDF::Types::PdfActionTargetRef] }, optional: false, nullable: true + + field :exclude, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: true, nullable: false, api_name: "next" + end + end +end diff --git a/lib/CloudPDF/types/pdf_action_write_submit_form.rb b/lib/CloudPDF/types/pdf_action_write_submit_form.rb new file mode 100644 index 00000000..0e72ffa0 --- /dev/null +++ b/lib/CloudPDF/types/pdf_action_write_submit_form.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfActionWriteSubmitForm < Internal::Types::Model + field :url, -> { String }, optional: false, nullable: false + + field :fields, -> { Internal::Types::Array[CloudPDF::Types::PdfActionTargetRef] }, optional: false, nullable: true + + field :flags, -> { Integer }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: true, nullable: false, api_name: "next" + end + end +end diff --git a/lib/CloudPDF/types/pdf_action_write_uri.rb b/lib/CloudPDF/types/pdf_action_write_uri.rb new file mode 100644 index 00000000..a5596266 --- /dev/null +++ b/lib/CloudPDF/types/pdf_action_write_uri.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfActionWriteURI < Internal::Types::Model + field :uri, -> { String }, optional: false, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: true, nullable: false, api_name: "next" + end + end +end diff --git a/lib/CloudPDF/types/pdf_destination.rb b/lib/CloudPDF/types/pdf_destination.rb deleted file mode 100644 index 006b85b8..00000000 --- a/lib/CloudPDF/types/pdf_destination.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class PdfDestination < Internal::Types::Model - extend CloudPDF::Internal::Types::Union - - discriminant :kind - - member -> { CloudPDF::Types::PdfDestinationXyz }, key: "XYZ" - - member -> { CloudPDF::Types::PdfDestinationFit }, key: "FIT" - - member -> { CloudPDF::Types::PdfDestinationFitH }, key: "FIT_H" - - member -> { CloudPDF::Types::PdfDestinationFitV }, key: "FIT_V" - - member -> { CloudPDF::Types::PdfDestinationFitR }, key: "FIT_R" - - member -> { CloudPDF::Types::PdfDestinationFitB }, key: "FIT_B" - - member -> { CloudPDF::Types::PdfDestinationFitBh }, key: "FIT_BH" - - member -> { CloudPDF::Types::PdfDestinationFitBv }, key: "FIT_BV" - end - end -end diff --git a/lib/CloudPDF/types/pdf_destination_fit.rb b/lib/CloudPDF/types/pdf_destination_fit.rb deleted file mode 100644 index 4fac27ff..00000000 --- a/lib/CloudPDF/types/pdf_destination_fit.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class PdfDestinationFit < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/pdf_destination_fit_b.rb b/lib/CloudPDF/types/pdf_destination_fit_b.rb deleted file mode 100644 index f854d45e..00000000 --- a/lib/CloudPDF/types/pdf_destination_fit_b.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class PdfDestinationFitB < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - end - end -end diff --git a/lib/CloudPDF/types/pdf_destination_fit_bh.rb b/lib/CloudPDF/types/pdf_destination_fit_bh.rb deleted file mode 100644 index 4d2cc8ad..00000000 --- a/lib/CloudPDF/types/pdf_destination_fit_bh.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class PdfDestinationFitBh < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :top, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/pdf_destination_fit_bv.rb b/lib/CloudPDF/types/pdf_destination_fit_bv.rb deleted file mode 100644 index 47a47451..00000000 --- a/lib/CloudPDF/types/pdf_destination_fit_bv.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class PdfDestinationFitBv < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :left, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/pdf_destination_fit_h.rb b/lib/CloudPDF/types/pdf_destination_fit_h.rb deleted file mode 100644 index 6c810283..00000000 --- a/lib/CloudPDF/types/pdf_destination_fit_h.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class PdfDestinationFitH < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :top, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/pdf_destination_fit_r.rb b/lib/CloudPDF/types/pdf_destination_fit_r.rb deleted file mode 100644 index 8d3875af..00000000 --- a/lib/CloudPDF/types/pdf_destination_fit_r.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class PdfDestinationFitR < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - 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/pdf_destination_fit_v.rb b/lib/CloudPDF/types/pdf_destination_fit_v.rb deleted file mode 100644 index a082d4ff..00000000 --- a/lib/CloudPDF/types/pdf_destination_fit_v.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class PdfDestinationFitV < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :left, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/pdf_destination_xyz.rb b/lib/CloudPDF/types/pdf_destination_xyz.rb deleted file mode 100644 index 32252fb3..00000000 --- a/lib/CloudPDF/types/pdf_destination_xyz.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class PdfDestinationXyz < Internal::Types::Model - field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" - - field :left, -> { Integer }, optional: true, nullable: false - - field :top, -> { Integer }, optional: true, nullable: false - - field :zoom, -> { Integer }, optional: true, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/pdf_link_target.rb b/lib/CloudPDF/types/pdf_link_target.rb new file mode 100644 index 00000000..77362c99 --- /dev/null +++ b/lib/CloudPDF/types/pdf_link_target.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfLinkTarget < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :kind + + member -> { CloudPDF::Types::PdfLinkTargetGoto }, key: "GOTO" + + member -> { CloudPDF::Types::PdfLinkTargetURI }, key: "URI" + + member -> { CloudPDF::Types::PdfLinkTargetGotoRemote }, key: "GOTO_REMOTE" + + member -> { CloudPDF::Types::PdfLinkTargetLaunch }, key: "LAUNCH" + + member -> { CloudPDF::Types::PdfLinkTargetJavascript }, key: "JAVASCRIPT" + + member -> { CloudPDF::Types::PdfLinkTargetNamed }, key: "NAMED" + + member -> { CloudPDF::Types::PdfLinkTargetUnsupported }, key: "UNSUPPORTED" + end + end +end diff --git a/lib/CloudPDF/types/pdf_link_target_goto.rb b/lib/CloudPDF/types/pdf_link_target_goto.rb new file mode 100644 index 00000000..f4683183 --- /dev/null +++ b/lib/CloudPDF/types/pdf_link_target_goto.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfLinkTargetGoto < Internal::Types::Model + field :destination, -> { CloudPDF::Types::PageDestination }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/pdf_link_target_goto_remote.rb b/lib/CloudPDF/types/pdf_link_target_goto_remote.rb new file mode 100644 index 00000000..1197a1b6 --- /dev/null +++ b/lib/CloudPDF/types/pdf_link_target_goto_remote.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfLinkTargetGotoRemote < Internal::Types::Model + field :file, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/pdf_link_target_javascript.rb b/lib/CloudPDF/types/pdf_link_target_javascript.rb new file mode 100644 index 00000000..3e11a126 --- /dev/null +++ b/lib/CloudPDF/types/pdf_link_target_javascript.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfLinkTargetJavascript < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/pdf_link_target_launch.rb b/lib/CloudPDF/types/pdf_link_target_launch.rb new file mode 100644 index 00000000..38149933 --- /dev/null +++ b/lib/CloudPDF/types/pdf_link_target_launch.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfLinkTargetLaunch < Internal::Types::Model + field :path, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/pdf_link_target_named.rb b/lib/CloudPDF/types/pdf_link_target_named.rb new file mode 100644 index 00000000..349a1865 --- /dev/null +++ b/lib/CloudPDF/types/pdf_link_target_named.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfLinkTargetNamed < Internal::Types::Model + field :name, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/pdf_link_target_unsupported.rb b/lib/CloudPDF/types/pdf_link_target_unsupported.rb new file mode 100644 index 00000000..37057fa0 --- /dev/null +++ b/lib/CloudPDF/types/pdf_link_target_unsupported.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfLinkTargetUnsupported < Internal::Types::Model; end + end +end diff --git a/lib/CloudPDF/types/pdf_link_target_uri.rb b/lib/CloudPDF/types/pdf_link_target_uri.rb new file mode 100644 index 00000000..e103849e --- /dev/null +++ b/lib/CloudPDF/types/pdf_link_target_uri.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfLinkTargetURI < Internal::Types::Model + field :uri, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/pdf_link_target_writable.rb b/lib/CloudPDF/types/pdf_link_target_writable.rb new file mode 100644 index 00000000..0f605bba --- /dev/null +++ b/lib/CloudPDF/types/pdf_link_target_writable.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfLinkTargetWritable < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + discriminant :kind + + member -> { CloudPDF::Types::PdfLinkTargetWritableGoto }, key: "GOTO" + + member -> { CloudPDF::Types::PdfLinkTargetWritableURI }, key: "URI" + + member -> { CloudPDF::Types::PdfLinkTargetWritableNamed }, key: "NAMED" + end + end +end diff --git a/lib/CloudPDF/types/pdf_link_target_writable_goto.rb b/lib/CloudPDF/types/pdf_link_target_writable_goto.rb new file mode 100644 index 00000000..3390bb8e --- /dev/null +++ b/lib/CloudPDF/types/pdf_link_target_writable_goto.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfLinkTargetWritableGoto < Internal::Types::Model + field :destination, -> { CloudPDF::Types::PageDestination }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/pdf_link_target_writable_named.rb b/lib/CloudPDF/types/pdf_link_target_writable_named.rb new file mode 100644 index 00000000..338a9299 --- /dev/null +++ b/lib/CloudPDF/types/pdf_link_target_writable_named.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfLinkTargetWritableNamed < Internal::Types::Model + field :name, -> { CloudPDF::Types::PdfLinkTargetWritableNamedName }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/pdf_link_target_writable_named_name.rb b/lib/CloudPDF/types/pdf_link_target_writable_named_name.rb new file mode 100644 index 00000000..41d8e577 --- /dev/null +++ b/lib/CloudPDF/types/pdf_link_target_writable_named_name.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module PdfLinkTargetWritableNamedName + extend CloudPDF::Internal::Types::Enum + + NEXT_PAGE = "NextPage" + PREV_PAGE = "PrevPage" + FIRST_PAGE = "FirstPage" + LAST_PAGE = "LastPage" + end + end +end diff --git a/lib/CloudPDF/types/pdf_link_target_writable_uri.rb b/lib/CloudPDF/types/pdf_link_target_writable_uri.rb new file mode 100644 index 00000000..869854ec --- /dev/null +++ b/lib/CloudPDF/types/pdf_link_target_writable_uri.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class PdfLinkTargetWritableURI < Internal::Types::Model + field :uri, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/shares_create400response.rb b/lib/CloudPDF/types/shares_create400response.rb index 30d332ff..30a493f7 100644 --- a/lib/CloudPDF/types/shares_create400response.rb +++ b/lib/CloudPDF/types/shares_create400response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class SharesCreate400Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::SharesCreate400ResponseError }, optional: false, nullable: false + module SharesCreate400Response + # SharesCreate400Response 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/shares_create400response_error.rb b/lib/CloudPDF/types/shares_create400response_error.rb deleted file mode 100644 index 2e3680b2..00000000 --- a/lib/CloudPDF/types/shares_create400response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class SharesCreate400ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/shares_create403response.rb b/lib/CloudPDF/types/shares_create403response.rb index fe4c1178..ce704bfb 100644 --- a/lib/CloudPDF/types/shares_create403response.rb +++ b/lib/CloudPDF/types/shares_create403response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class SharesCreate403Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::SharesCreate403ResponseError }, optional: false, nullable: false + module SharesCreate403Response + # SharesCreate403Response 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/shares_create403response_error.rb b/lib/CloudPDF/types/shares_create403response_error.rb deleted file mode 100644 index 560f5107..00000000 --- a/lib/CloudPDF/types/shares_create403response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class SharesCreate403ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/shares_create404response.rb b/lib/CloudPDF/types/shares_create404response.rb index 76d02252..568e4269 100644 --- a/lib/CloudPDF/types/shares_create404response.rb +++ b/lib/CloudPDF/types/shares_create404response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class SharesCreate404Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::SharesCreate404ResponseError }, optional: false, nullable: false + module SharesCreate404Response + # SharesCreate404Response 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/shares_create404response_error.rb b/lib/CloudPDF/types/shares_create404response_error.rb deleted file mode 100644 index 51e3b7e7..00000000 --- a/lib/CloudPDF/types/shares_create404response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class SharesCreate404ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/shares_delete_response.rb b/lib/CloudPDF/types/shares_delete_response.rb index b2e30446..387ee20e 100644 --- a/lib/CloudPDF/types/shares_delete_response.rb +++ b/lib/CloudPDF/types/shares_delete_response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class SharesDeleteResponse < Internal::Types::Model - field :error, -> { CloudPDF::Types::SharesDeleteResponseError }, optional: false, nullable: false + module SharesDeleteResponse + # SharesDeleteResponse 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/shares_delete_response_error.rb b/lib/CloudPDF/types/shares_delete_response_error.rb deleted file mode 100644 index 701e950d..00000000 --- a/lib/CloudPDF/types/shares_delete_response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class SharesDeleteResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/shares_exchange400response.rb b/lib/CloudPDF/types/shares_exchange400response.rb index adb13090..4f65c6d0 100644 --- a/lib/CloudPDF/types/shares_exchange400response.rb +++ b/lib/CloudPDF/types/shares_exchange400response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class SharesExchange400Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::SharesExchange400ResponseError }, optional: false, nullable: false + module SharesExchange400Response + # SharesExchange400Response 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/shares_exchange400response_error.rb b/lib/CloudPDF/types/shares_exchange400response_error.rb deleted file mode 100644 index 6fea2536..00000000 --- a/lib/CloudPDF/types/shares_exchange400response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class SharesExchange400ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/shares_exchange403response.rb b/lib/CloudPDF/types/shares_exchange403response.rb index d7b0d328..ed2c51f1 100644 --- a/lib/CloudPDF/types/shares_exchange403response.rb +++ b/lib/CloudPDF/types/shares_exchange403response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class SharesExchange403Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::SharesExchange403ResponseError }, optional: false, nullable: false + module SharesExchange403Response + # SharesExchange403Response 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/shares_exchange403response_error.rb b/lib/CloudPDF/types/shares_exchange403response_error.rb deleted file mode 100644 index 0f82b5c3..00000000 --- a/lib/CloudPDF/types/shares_exchange403response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class SharesExchange403ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/shares_exchange404response.rb b/lib/CloudPDF/types/shares_exchange404response.rb index 3feec353..21450a1a 100644 --- a/lib/CloudPDF/types/shares_exchange404response.rb +++ b/lib/CloudPDF/types/shares_exchange404response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class SharesExchange404Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::SharesExchange404ResponseError }, optional: false, nullable: false + module SharesExchange404Response + # SharesExchange404Response 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/shares_exchange404response_error.rb b/lib/CloudPDF/types/shares_exchange404response_error.rb deleted file mode 100644 index 1b7f3b16..00000000 --- a/lib/CloudPDF/types/shares_exchange404response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class SharesExchange404ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/shares_exchange410response.rb b/lib/CloudPDF/types/shares_exchange410response.rb index 485d2d84..e9d2bc8b 100644 --- a/lib/CloudPDF/types/shares_exchange410response.rb +++ b/lib/CloudPDF/types/shares_exchange410response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class SharesExchange410Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::SharesExchange410ResponseError }, optional: false, nullable: false + module SharesExchange410Response + # SharesExchange410Response 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/shares_exchange410response_error.rb b/lib/CloudPDF/types/shares_exchange410response_error.rb deleted file mode 100644 index 8663038c..00000000 --- a/lib/CloudPDF/types/shares_exchange410response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class SharesExchange410ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/shares_exchange422response.rb b/lib/CloudPDF/types/shares_exchange422response.rb index c0479910..76e6f9fa 100644 --- a/lib/CloudPDF/types/shares_exchange422response.rb +++ b/lib/CloudPDF/types/shares_exchange422response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class SharesExchange422Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::SharesExchange422ResponseError }, optional: false, nullable: false + module SharesExchange422Response + # SharesExchange422Response 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/shares_exchange422response_error.rb b/lib/CloudPDF/types/shares_exchange422response_error.rb deleted file mode 100644 index 3ec9d187..00000000 --- a/lib/CloudPDF/types/shares_exchange422response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class SharesExchange422ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/shares_get404response.rb b/lib/CloudPDF/types/shares_get404response.rb index 69b455ea..541d5399 100644 --- a/lib/CloudPDF/types/shares_get404response.rb +++ b/lib/CloudPDF/types/shares_get404response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class SharesGet404Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::SharesGet404ResponseError }, optional: false, nullable: false + module SharesGet404Response + # SharesGet404Response 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/shares_get404response_error.rb b/lib/CloudPDF/types/shares_get404response_error.rb deleted file mode 100644 index e307495c..00000000 --- a/lib/CloudPDF/types/shares_get404response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class SharesGet404ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/shares_list400response.rb b/lib/CloudPDF/types/shares_list400response.rb index a829956c..484d750c 100644 --- a/lib/CloudPDF/types/shares_list400response.rb +++ b/lib/CloudPDF/types/shares_list400response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class SharesList400Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::SharesList400ResponseError }, optional: false, nullable: false + module SharesList400Response + # SharesList400Response 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/shares_list400response_error.rb b/lib/CloudPDF/types/shares_list400response_error.rb deleted file mode 100644 index d4cb2155..00000000 --- a/lib/CloudPDF/types/shares_list400response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class SharesList400ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/shares_update400response.rb b/lib/CloudPDF/types/shares_update400response.rb index bf0104c4..5ae7fabd 100644 --- a/lib/CloudPDF/types/shares_update400response.rb +++ b/lib/CloudPDF/types/shares_update400response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class SharesUpdate400Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::SharesUpdate400ResponseError }, optional: false, nullable: false + module SharesUpdate400Response + # SharesUpdate400Response 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/shares_update400response_error.rb b/lib/CloudPDF/types/shares_update400response_error.rb deleted file mode 100644 index 6defe7b0..00000000 --- a/lib/CloudPDF/types/shares_update400response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class SharesUpdate400ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/shares_update404response.rb b/lib/CloudPDF/types/shares_update404response.rb index 6228f451..e79976df 100644 --- a/lib/CloudPDF/types/shares_update404response.rb +++ b/lib/CloudPDF/types/shares_update404response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class SharesUpdate404Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::SharesUpdate404ResponseError }, optional: false, nullable: false + module SharesUpdate404Response + # SharesUpdate404Response 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/shares_update404response_error.rb b/lib/CloudPDF/types/shares_update404response_error.rb deleted file mode 100644 index 9f749b60..00000000 --- a/lib/CloudPDF/types/shares_update404response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class SharesUpdate404ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/tenants_create400response.rb b/lib/CloudPDF/types/tenants_create400response.rb index bf700d3c..c8b32eae 100644 --- a/lib/CloudPDF/types/tenants_create400response.rb +++ b/lib/CloudPDF/types/tenants_create400response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class TenantsCreate400Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::TenantsCreate400ResponseError }, optional: false, nullable: false + 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_create400response_error.rb b/lib/CloudPDF/types/tenants_create400response_error.rb deleted file mode 100644 index acd69cf3..00000000 --- a/lib/CloudPDF/types/tenants_create400response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class TenantsCreate400ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/tenants_delete_response.rb b/lib/CloudPDF/types/tenants_delete_response.rb index a0cbf79e..d137a847 100644 --- a/lib/CloudPDF/types/tenants_delete_response.rb +++ b/lib/CloudPDF/types/tenants_delete_response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class TenantsDeleteResponse < Internal::Types::Model - field :error, -> { CloudPDF::Types::TenantsDeleteResponseError }, optional: false, nullable: false + 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_delete_response_error.rb b/lib/CloudPDF/types/tenants_delete_response_error.rb deleted file mode 100644 index a72ceacf..00000000 --- a/lib/CloudPDF/types/tenants_delete_response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class TenantsDeleteResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/tenants_get404response.rb b/lib/CloudPDF/types/tenants_get404response.rb index d353363c..6d817d92 100644 --- a/lib/CloudPDF/types/tenants_get404response.rb +++ b/lib/CloudPDF/types/tenants_get404response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class TenantsGet404Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::TenantsGet404ResponseError }, optional: false, nullable: false + 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_get404response_error.rb b/lib/CloudPDF/types/tenants_get404response_error.rb deleted file mode 100644 index 04946784..00000000 --- a/lib/CloudPDF/types/tenants_get404response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class TenantsGet404ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/tenants_list400response.rb b/lib/CloudPDF/types/tenants_list400response.rb index ed2b3f36..8aeb01d7 100644 --- a/lib/CloudPDF/types/tenants_list400response.rb +++ b/lib/CloudPDF/types/tenants_list400response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class TenantsList400Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::TenantsList400ResponseError }, optional: false, nullable: false + 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_list400response_error.rb b/lib/CloudPDF/types/tenants_list400response_error.rb deleted file mode 100644 index 84bdb377..00000000 --- a/lib/CloudPDF/types/tenants_list400response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class TenantsList400ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/tenants_resume_response.rb b/lib/CloudPDF/types/tenants_resume_response.rb index 3159d084..a3af1ab5 100644 --- a/lib/CloudPDF/types/tenants_resume_response.rb +++ b/lib/CloudPDF/types/tenants_resume_response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class TenantsResumeResponse < Internal::Types::Model - field :error, -> { CloudPDF::Types::TenantsResumeResponseError }, optional: false, nullable: false + 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_resume_response_error.rb b/lib/CloudPDF/types/tenants_resume_response_error.rb deleted file mode 100644 index c8dff95b..00000000 --- a/lib/CloudPDF/types/tenants_resume_response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class TenantsResumeResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/tenants_suspend_response.rb b/lib/CloudPDF/types/tenants_suspend_response.rb index aff00a73..f0b53796 100644 --- a/lib/CloudPDF/types/tenants_suspend_response.rb +++ b/lib/CloudPDF/types/tenants_suspend_response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class TenantsSuspendResponse < Internal::Types::Model - field :error, -> { CloudPDF::Types::TenantsSuspendResponseError }, optional: false, nullable: false + 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_suspend_response_error.rb b/lib/CloudPDF/types/tenants_suspend_response_error.rb deleted file mode 100644 index 252d084f..00000000 --- a/lib/CloudPDF/types/tenants_suspend_response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class TenantsSuspendResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/tenants_usage400response.rb b/lib/CloudPDF/types/tenants_usage400response.rb index 3e4c6716..28f180ae 100644 --- a/lib/CloudPDF/types/tenants_usage400response.rb +++ b/lib/CloudPDF/types/tenants_usage400response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class TenantsUsage400Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::TenantsUsage400ResponseError }, optional: false, nullable: false + 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_usage400response_error.rb b/lib/CloudPDF/types/tenants_usage400response_error.rb deleted file mode 100644 index 0463d34d..00000000 --- a/lib/CloudPDF/types/tenants_usage400response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class TenantsUsage400ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/tenants_usage404response.rb b/lib/CloudPDF/types/tenants_usage404response.rb index d7444dfe..0954adc2 100644 --- a/lib/CloudPDF/types/tenants_usage404response.rb +++ b/lib/CloudPDF/types/tenants_usage404response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class TenantsUsage404Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::TenantsUsage404ResponseError }, optional: false, nullable: false + 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_usage404response_error.rb b/lib/CloudPDF/types/tenants_usage404response_error.rb deleted file mode 100644 index 002614f7..00000000 --- a/lib/CloudPDF/types/tenants_usage404response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class TenantsUsage404ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/tokens_issue400response.rb b/lib/CloudPDF/types/tokens_issue400response.rb index 371a2f4d..a18c7957 100644 --- a/lib/CloudPDF/types/tokens_issue400response.rb +++ b/lib/CloudPDF/types/tokens_issue400response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class TokensIssue400Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::TokensIssue400ResponseError }, optional: false, nullable: false + 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_issue400response_error.rb b/lib/CloudPDF/types/tokens_issue400response_error.rb deleted file mode 100644 index ff5c18d0..00000000 --- a/lib/CloudPDF/types/tokens_issue400response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class TokensIssue400ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/tokens_issue403response.rb b/lib/CloudPDF/types/tokens_issue403response.rb index eaceffc8..4fc1cf77 100644 --- a/lib/CloudPDF/types/tokens_issue403response.rb +++ b/lib/CloudPDF/types/tokens_issue403response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class TokensIssue403Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::TokensIssue403ResponseError }, optional: false, nullable: false + 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_issue403response_error.rb b/lib/CloudPDF/types/tokens_issue403response_error.rb deleted file mode 100644 index a0c58952..00000000 --- a/lib/CloudPDF/types/tokens_issue403response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class TokensIssue403ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/tokens_issue404response.rb b/lib/CloudPDF/types/tokens_issue404response.rb index 395fca9b..a2049804 100644 --- a/lib/CloudPDF/types/tokens_issue404response.rb +++ b/lib/CloudPDF/types/tokens_issue404response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class TokensIssue404Response < Internal::Types::Model - field :error, -> { CloudPDF::Types::TokensIssue404ResponseError }, optional: false, nullable: false + 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_issue404response_error.rb b/lib/CloudPDF/types/tokens_issue404response_error.rb deleted file mode 100644 index 7e6972f0..00000000 --- a/lib/CloudPDF/types/tokens_issue404response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class TokensIssue404ResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/tokens_issue_request_doc.rb b/lib/CloudPDF/types/tokens_issue_request_doc.rb index 63e600ff..120f1a51 100644 --- a/lib/CloudPDF/types/tokens_issue_request_doc.rb +++ b/lib/CloudPDF/types/tokens_issue_request_doc.rb @@ -11,13 +11,7 @@ class TokensIssueRequestDoc < Internal::Types::Model field :scope, -> { Internal::Types::Array[String] }, optional: false, nullable: false - field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" - - field :display_name, -> { String }, optional: true, nullable: false, api_name: "displayName" - - field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" - - field :groups, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :identity, -> { CloudPDF::Types::TokensIssueRequestDocIdentity }, optional: true, nullable: false field :origins, -> { Internal::Types::Array[String] }, optional: true, nullable: false diff --git a/lib/CloudPDF/types/tokens_issue_request_doc_identity.rb b/lib/CloudPDF/types/tokens_issue_request_doc_identity.rb new file mode 100644 index 00000000..bf75885c --- /dev/null +++ b/lib/CloudPDF/types/tokens_issue_request_doc_identity.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class TokensIssueRequestDocIdentity < Internal::Types::Model + field :user_id, -> { String }, optional: true, nullable: false, api_name: "userId" + + 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" + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + end + end +end diff --git a/lib/CloudPDF/types/tokens_revoke_response.rb b/lib/CloudPDF/types/tokens_revoke_response.rb index 62e8d78c..0754ad04 100644 --- a/lib/CloudPDF/types/tokens_revoke_response.rb +++ b/lib/CloudPDF/types/tokens_revoke_response.rb @@ -2,8 +2,22 @@ module CloudPDF module Types - class TokensRevokeResponse < Internal::Types::Model - field :error, -> { CloudPDF::Types::TokensRevokeResponseError }, optional: false, nullable: false + 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/tokens_revoke_response_error.rb b/lib/CloudPDF/types/tokens_revoke_response_error.rb deleted file mode 100644 index a55561b6..00000000 --- a/lib/CloudPDF/types/tokens_revoke_response_error.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module CloudPDF - module Types - class TokensRevokeResponseError < Internal::Types::Model - field :code, -> { String }, optional: false, nullable: false - - field :message, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/CloudPDF/types/widget_actions_patch.rb b/lib/CloudPDF/types/widget_actions_patch.rb new file mode 100644 index 00000000..ec011ba3 --- /dev/null +++ b/lib/CloudPDF/types/widget_actions_patch.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class WidgetActionsPatch < Internal::Types::Model + field :activate, -> { CloudPDF::Types::PdfActionWrite }, optional: true, nullable: false + + field :cursor_enter, -> { CloudPDF::Types::PdfActionWrite }, optional: true, nullable: false, api_name: "cursorEnter" + + field :cursor_exit, -> { CloudPDF::Types::PdfActionWrite }, optional: true, nullable: false, api_name: "cursorExit" + + field :mouse_down, -> { CloudPDF::Types::PdfActionWrite }, optional: true, nullable: false, api_name: "mouseDown" + + field :mouse_up, -> { CloudPDF::Types::PdfActionWrite }, optional: true, nullable: false, api_name: "mouseUp" + + field :focus, -> { CloudPDF::Types::PdfActionWrite }, optional: true, nullable: false + + field :blur, -> { CloudPDF::Types::PdfActionWrite }, optional: true, nullable: false + + field :page_open, -> { CloudPDF::Types::PdfActionWrite }, optional: true, nullable: false, api_name: "pageOpen" + + field :page_close, -> { CloudPDF::Types::PdfActionWrite }, optional: true, nullable: false, api_name: "pageClose" + + field :page_visible, -> { CloudPDF::Types::PdfActionWrite }, optional: true, nullable: false, api_name: "pageVisible" + + field :page_invisible, -> { CloudPDF::Types::PdfActionWrite }, optional: true, nullable: false, api_name: "pageInvisible" + end + end +end diff --git a/lib/CloudPDF/types/widget_annotation.rb b/lib/CloudPDF/types/widget_annotation.rb new file mode 100644 index 00000000..51f45f46 --- /dev/null +++ b/lib/CloudPDF/types/widget_annotation.rb @@ -0,0 +1,99 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class WidgetAnnotation < Internal::Types::Model + field :subtype, -> { CloudPDF::Types::WidgetAnnotationSubtype }, optional: false, nullable: false + + field :ref, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :has_appearance, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { String }, optional: false, nullable: true, api_name: "appearanceState" + + field :nm, -> { String }, optional: false, nullable: true + + field :rect, -> { CloudPDF::Types::WidgetAnnotationRect }, optional: false, nullable: false + + field :contents, -> { String }, optional: false, nullable: true + + field :subject, -> { String }, optional: false, nullable: true + + field :blend_mode, -> { CloudPDF::Types::WidgetAnnotationBlendMode }, optional: false, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::WidgetAnnotationReply }, optional: false, nullable: true + + field :popup, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: true + + field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId" + + field :author, -> { String }, optional: false, nullable: true + + field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt" + + field :modified_at, -> { String }, optional: false, nullable: true, api_name: "modifiedAt" + + field :user_id, -> { String }, optional: false, nullable: true, api_name: "userId" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + + field :modified_by, -> { String }, optional: false, nullable: true, api_name: "modifiedBy" + + field :imported_by, -> { String }, optional: false, nullable: true, api_name: "importedBy" + + field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true + + field :box, -> { CloudPDF::Types::WidgetAnnotationBox }, optional: false, nullable: false + + field :rotation, -> { Integer }, optional: false, nullable: true + + field :color, -> { String }, optional: false, nullable: true + + field :interior_color, -> { String }, optional: false, nullable: true, api_name: "interiorColor" + + field :stroke_width, -> { Integer }, optional: false, nullable: false, api_name: "strokeWidth" + + field :border_style, -> { CloudPDF::Types::WidgetAnnotationBorderStyle }, optional: false, nullable: false, api_name: "borderStyle" + + field :dash_array, -> { Internal::Types::Array[Integer] }, optional: false, nullable: true, api_name: "dashArray" + + field :font_family, -> { String }, optional: false, nullable: true, api_name: "fontFamily" + + field :font_size, -> { Integer }, optional: false, nullable: true, api_name: "fontSize" + + field :font_color, -> { String }, optional: false, nullable: true, api_name: "fontColor" + + field :text_align, -> { CloudPDF::Types::WidgetAnnotationTextAlign }, optional: false, nullable: false, api_name: "textAlign" + + field :caption, -> { String }, optional: false, nullable: true + + field :check_style, -> { CloudPDF::Types::WidgetAnnotationCheckStyle }, optional: false, nullable: true, api_name: "checkStyle" + + field :field, -> { CloudPDF::Types::FormFieldRef }, optional: false, nullable: true + + field :field_family, -> { CloudPDF::Types::WidgetAnnotationFieldFamily }, optional: false, nullable: false, api_name: "fieldFamily" + end + end +end diff --git a/lib/CloudPDF/types/widget_annotation_blend_mode.rb b/lib/CloudPDF/types/widget_annotation_blend_mode.rb new file mode 100644 index 00000000..91f2629b --- /dev/null +++ b/lib/CloudPDF/types/widget_annotation_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module WidgetAnnotationBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/widget_annotation_border_style.rb b/lib/CloudPDF/types/widget_annotation_border_style.rb new file mode 100644 index 00000000..fb1dea74 --- /dev/null +++ b/lib/CloudPDF/types/widget_annotation_border_style.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module WidgetAnnotationBorderStyle + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + BEVELED = "beveled" + INSET = "inset" + UNDERLINE = "underline" + end + end +end diff --git a/lib/CloudPDF/types/widget_annotation_box.rb b/lib/CloudPDF/types/widget_annotation_box.rb new file mode 100644 index 00000000..4f23ade1 --- /dev/null +++ b/lib/CloudPDF/types/widget_annotation_box.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class WidgetAnnotationBox < 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/widget_annotation_check_style.rb b/lib/CloudPDF/types/widget_annotation_check_style.rb new file mode 100644 index 00000000..54ded80a --- /dev/null +++ b/lib/CloudPDF/types/widget_annotation_check_style.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module WidgetAnnotationCheckStyle + extend CloudPDF::Internal::Types::Enum + + CHECK = "check" + CROSS = "cross" + STAR = "star" + CIRCLE = "circle" + SQUARE = "square" + DIAMOND = "diamond" + end + end +end diff --git a/lib/CloudPDF/types/widget_annotation_field_family.rb b/lib/CloudPDF/types/widget_annotation_field_family.rb new file mode 100644 index 00000000..8f9f000c --- /dev/null +++ b/lib/CloudPDF/types/widget_annotation_field_family.rb @@ -0,0 +1,18 @@ +# 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_rect.rb b/lib/CloudPDF/types/widget_annotation_rect.rb new file mode 100644 index 00000000..26f5ca9a --- /dev/null +++ b/lib/CloudPDF/types/widget_annotation_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class WidgetAnnotationRect < 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/widget_annotation_reply.rb b/lib/CloudPDF/types/widget_annotation_reply.rb new file mode 100644 index 00000000..65dfa443 --- /dev/null +++ b/lib/CloudPDF/types/widget_annotation_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class WidgetAnnotationReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::WidgetAnnotationReplyType }, optional: false, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/widget_annotation_reply_type.rb b/lib/CloudPDF/types/widget_annotation_reply_type.rb new file mode 100644 index 00000000..a37dd653 --- /dev/null +++ b/lib/CloudPDF/types/widget_annotation_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module WidgetAnnotationReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/widget_annotation_subtype.rb b/lib/CloudPDF/types/widget_annotation_subtype.rb new file mode 100644 index 00000000..732717d6 --- /dev/null +++ b/lib/CloudPDF/types/widget_annotation_subtype.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module WidgetAnnotationSubtype + extend CloudPDF::Internal::Types::Enum + + WIDGET = "widget" + end + end +end diff --git a/lib/CloudPDF/types/widget_annotation_text_align.rb b/lib/CloudPDF/types/widget_annotation_text_align.rb new file mode 100644 index 00000000..7c8024b7 --- /dev/null +++ b/lib/CloudPDF/types/widget_annotation_text_align.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module WidgetAnnotationTextAlign + extend CloudPDF::Internal::Types::Enum + + LEFT = "left" + CENTER = "center" + RIGHT = "right" + end + end +end diff --git a/lib/CloudPDF/types/widget_patch.rb b/lib/CloudPDF/types/widget_patch.rb new file mode 100644 index 00000000..76a9c6d2 --- /dev/null +++ b/lib/CloudPDF/types/widget_patch.rb @@ -0,0 +1,99 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class WidgetPatch < Internal::Types::Model + field :subtype, -> { CloudPDF::Types::WidgetPatchSubtype }, optional: true, nullable: false + + field :ref, -> { Object }, optional: true, nullable: false + + field :page, -> { Object }, optional: true, nullable: false + + field :has_appearance, -> { Object }, optional: true, nullable: false, api_name: "hasAppearance" + + field :appearance_state, -> { Object }, optional: true, nullable: false, api_name: "appearanceState" + + field :nm, -> { String }, optional: true, nullable: false + + field :rect, -> { CloudPDF::Types::WidgetPatchRect }, optional: true, nullable: false + + field :contents, -> { String }, optional: true, nullable: false + + field :subject, -> { String }, optional: true, nullable: false + + field :blend_mode, -> { CloudPDF::Types::WidgetPatchBlendMode }, optional: true, nullable: false, api_name: "blendMode" + + field :invisible, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :hidden, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :print, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :no_zoom, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noZoom" + + field :no_rotate, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noRotate" + + field :no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "noView" + + field :read_only, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "readOnly" + + field :locked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :toggle_no_view, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "toggleNoView" + + field :locked_contents, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "lockedContents" + + field :reply, -> { CloudPDF::Types::WidgetPatchReply }, optional: true, nullable: false + + field :popup, -> { Object }, optional: true, nullable: false + + field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId" + + field :author, -> { Object }, optional: true, nullable: false + + field :created_at, -> { Object }, optional: true, nullable: false, api_name: "createdAt" + + field :modified_at, -> { Object }, optional: true, nullable: false, api_name: "modifiedAt" + + field :user_id, -> { Object }, optional: true, nullable: false, api_name: "userId" + + field :created_by, -> { Object }, optional: true, nullable: false, api_name: "createdBy" + + field :modified_by, -> { Object }, optional: true, nullable: false, api_name: "modifiedBy" + + field :imported_by, -> { Object }, optional: true, nullable: false, api_name: "importedBy" + + field :actions, -> { CloudPDF::Types::WidgetPatchActions }, optional: true, nullable: false + + field :box, -> { CloudPDF::Types::WidgetPatchBox }, optional: true, nullable: false + + field :rotation, -> { Integer }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :interior_color, -> { String }, optional: true, nullable: false, api_name: "interiorColor" + + field :stroke_width, -> { Integer }, optional: true, nullable: false, api_name: "strokeWidth" + + field :border_style, -> { CloudPDF::Types::WidgetPatchBorderStyle }, optional: true, nullable: false, api_name: "borderStyle" + + field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" + + field :font_family, -> { String }, optional: true, nullable: false, api_name: "fontFamily" + + field :font_size, -> { Integer }, optional: true, nullable: false, api_name: "fontSize" + + field :font_color, -> { String }, optional: true, nullable: false, api_name: "fontColor" + + field :text_align, -> { CloudPDF::Types::WidgetPatchTextAlign }, optional: true, nullable: false, api_name: "textAlign" + + field :caption, -> { String }, optional: true, nullable: false + + field :check_style, -> { CloudPDF::Types::WidgetPatchCheckStyle }, optional: true, nullable: false, api_name: "checkStyle" + + field :field, -> { Object }, optional: true, nullable: false + + field :field_family, -> { Object }, optional: true, nullable: false, api_name: "fieldFamily" + end + end +end diff --git a/lib/CloudPDF/types/widget_patch_actions.rb b/lib/CloudPDF/types/widget_patch_actions.rb new file mode 100644 index 00000000..624cebb2 --- /dev/null +++ b/lib/CloudPDF/types/widget_patch_actions.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class WidgetPatchActions < Internal::Types::Model + extend CloudPDF::Internal::Types::Union + + member -> { CloudPDF::Types::WidgetActionsPatch } + + member -> { CloudPDF::Types::PdfAnnotationActions } + end + end +end diff --git a/lib/CloudPDF/types/widget_patch_blend_mode.rb b/lib/CloudPDF/types/widget_patch_blend_mode.rb new file mode 100644 index 00000000..9181cc51 --- /dev/null +++ b/lib/CloudPDF/types/widget_patch_blend_mode.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module WidgetPatchBlendMode + extend CloudPDF::Internal::Types::Enum + + NORMAL = "normal" + MULTIPLY = "multiply" + SCREEN = "screen" + OVERLAY = "overlay" + DARKEN = "darken" + LIGHTEN = "lighten" + COLOR_DODGE = "color-dodge" + COLOR_BURN = "color-burn" + HARD_LIGHT = "hard-light" + SOFT_LIGHT = "soft-light" + DIFFERENCE = "difference" + EXCLUSION = "exclusion" + HUE = "hue" + SATURATION = "saturation" + COLOR = "color" + LUMINOSITY = "luminosity" + end + end +end diff --git a/lib/CloudPDF/types/widget_patch_border_style.rb b/lib/CloudPDF/types/widget_patch_border_style.rb new file mode 100644 index 00000000..4f6b0df4 --- /dev/null +++ b/lib/CloudPDF/types/widget_patch_border_style.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module WidgetPatchBorderStyle + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + BEVELED = "beveled" + INSET = "inset" + UNDERLINE = "underline" + end + end +end diff --git a/lib/CloudPDF/types/widget_patch_box.rb b/lib/CloudPDF/types/widget_patch_box.rb new file mode 100644 index 00000000..86563b3c --- /dev/null +++ b/lib/CloudPDF/types/widget_patch_box.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class WidgetPatchBox < 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/widget_patch_check_style.rb b/lib/CloudPDF/types/widget_patch_check_style.rb new file mode 100644 index 00000000..599eb78e --- /dev/null +++ b/lib/CloudPDF/types/widget_patch_check_style.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module WidgetPatchCheckStyle + extend CloudPDF::Internal::Types::Enum + + CHECK = "check" + CROSS = "cross" + STAR = "star" + CIRCLE = "circle" + SQUARE = "square" + DIAMOND = "diamond" + end + end +end diff --git a/lib/CloudPDF/types/widget_patch_rect.rb b/lib/CloudPDF/types/widget_patch_rect.rb new file mode 100644 index 00000000..0a3043ec --- /dev/null +++ b/lib/CloudPDF/types/widget_patch_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class WidgetPatchRect < 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/widget_patch_reply.rb b/lib/CloudPDF/types/widget_patch_reply.rb new file mode 100644 index 00000000..88c32435 --- /dev/null +++ b/lib/CloudPDF/types/widget_patch_reply.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class WidgetPatchReply < Internal::Types::Model + field :to, -> { CloudPDF::Types::AnnotationRef }, optional: false, nullable: false + + field :type, -> { CloudPDF::Types::WidgetPatchReplyType }, optional: true, nullable: false + end + end +end diff --git a/lib/CloudPDF/types/widget_patch_reply_type.rb b/lib/CloudPDF/types/widget_patch_reply_type.rb new file mode 100644 index 00000000..086679a8 --- /dev/null +++ b/lib/CloudPDF/types/widget_patch_reply_type.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module WidgetPatchReplyType + extend CloudPDF::Internal::Types::Enum + + REPLY = "reply" + GROUP = "group" + end + end +end diff --git a/lib/CloudPDF/types/widget_patch_subtype.rb b/lib/CloudPDF/types/widget_patch_subtype.rb new file mode 100644 index 00000000..80982234 --- /dev/null +++ b/lib/CloudPDF/types/widget_patch_subtype.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module WidgetPatchSubtype + extend CloudPDF::Internal::Types::Enum + + WIDGET = "widget" + end + end +end diff --git a/lib/CloudPDF/types/widget_patch_text_align.rb b/lib/CloudPDF/types/widget_patch_text_align.rb new file mode 100644 index 00000000..1dd43065 --- /dev/null +++ b/lib/CloudPDF/types/widget_patch_text_align.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module WidgetPatchTextAlign + extend CloudPDF::Internal::Types::Enum + + LEFT = "left" + CENTER = "center" + RIGHT = "right" + end + end +end diff --git a/lib/CloudPDF/types/widget_placement.rb b/lib/CloudPDF/types/widget_placement.rb new file mode 100644 index 00000000..b1fb61c9 --- /dev/null +++ b/lib/CloudPDF/types/widget_placement.rb @@ -0,0 +1,41 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class WidgetPlacement < Internal::Types::Model + field :page, -> { CloudPDF::Types::PageRef }, optional: false, nullable: false + + field :rect, -> { CloudPDF::Types::WidgetPlacementRect }, optional: true, nullable: false + + field :box, -> { CloudPDF::Types::WidgetPlacementBox }, optional: true, nullable: false + + field :rotation, -> { Integer }, optional: true, nullable: false + + field :export_value, -> { String }, optional: true, nullable: false, api_name: "exportValue" + + field :actions, -> { CloudPDF::Types::WidgetActionsPatch }, optional: true, nullable: false + + field :color, -> { String }, optional: true, nullable: false + + field :interior_color, -> { String }, optional: true, nullable: false, api_name: "interiorColor" + + field :stroke_width, -> { Integer }, optional: true, nullable: false, api_name: "strokeWidth" + + field :border_style, -> { CloudPDF::Types::WidgetPlacementBorderStyle }, optional: true, nullable: false, api_name: "borderStyle" + + field :dash_array, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false, api_name: "dashArray" + + field :font_family, -> { String }, optional: true, nullable: false, api_name: "fontFamily" + + field :font_size, -> { Integer }, optional: true, nullable: false, api_name: "fontSize" + + field :font_color, -> { String }, optional: true, nullable: false, api_name: "fontColor" + + field :text_align, -> { CloudPDF::Types::WidgetPlacementTextAlign }, optional: true, nullable: false, api_name: "textAlign" + + field :caption, -> { String }, optional: true, nullable: false + + field :check_style, -> { CloudPDF::Types::WidgetPlacementCheckStyle }, optional: true, nullable: false, api_name: "checkStyle" + end + end +end diff --git a/lib/CloudPDF/types/widget_placement_border_style.rb b/lib/CloudPDF/types/widget_placement_border_style.rb new file mode 100644 index 00000000..3e77ba12 --- /dev/null +++ b/lib/CloudPDF/types/widget_placement_border_style.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module WidgetPlacementBorderStyle + extend CloudPDF::Internal::Types::Enum + + SOLID = "solid" + DASHED = "dashed" + BEVELED = "beveled" + INSET = "inset" + UNDERLINE = "underline" + end + end +end diff --git a/lib/CloudPDF/types/widget_placement_box.rb b/lib/CloudPDF/types/widget_placement_box.rb new file mode 100644 index 00000000..a78a5777 --- /dev/null +++ b/lib/CloudPDF/types/widget_placement_box.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class WidgetPlacementBox < 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/widget_placement_check_style.rb b/lib/CloudPDF/types/widget_placement_check_style.rb new file mode 100644 index 00000000..e222c2e5 --- /dev/null +++ b/lib/CloudPDF/types/widget_placement_check_style.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module WidgetPlacementCheckStyle + extend CloudPDF::Internal::Types::Enum + + CHECK = "check" + CROSS = "cross" + STAR = "star" + CIRCLE = "circle" + SQUARE = "square" + DIAMOND = "diamond" + end + end +end diff --git a/lib/CloudPDF/types/widget_placement_rect.rb b/lib/CloudPDF/types/widget_placement_rect.rb new file mode 100644 index 00000000..7f4f7f33 --- /dev/null +++ b/lib/CloudPDF/types/widget_placement_rect.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + class WidgetPlacementRect < 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/widget_placement_text_align.rb b/lib/CloudPDF/types/widget_placement_text_align.rb new file mode 100644 index 00000000..002df99a --- /dev/null +++ b/lib/CloudPDF/types/widget_placement_text_align.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module CloudPDF + module Types + module WidgetPlacementTextAlign + extend CloudPDF::Internal::Types::Enum + + LEFT = "left" + CENTER = "center" + RIGHT = "right" + end + end +end diff --git a/lib/CloudPDF/version.rb b/lib/CloudPDF/version.rb index 7f0eea5e..3fb5a7fe 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.14" + VERSION = "3.0.0.alpha.15" end diff --git a/lib/cloudpdf.rb b/lib/cloudpdf.rb index 678525ef..1b4f15a6 100644 --- a/lib/cloudpdf.rb +++ b/lib/cloudpdf.rb @@ -35,6 +35,670 @@ require_relative "CloudPDF/internal/iterators/offset_item_iterator" require_relative "CloudPDF/internal/iterators/cursor_page_iterator" require_relative "CloudPDF/internal/iterators/offset_page_iterator" +require_relative "CloudPDF/types/page_ref_kind" +require_relative "CloudPDF/types/page_ref" +require_relative "CloudPDF/types/metadata_patch_trapped" +require_relative "CloudPDF/types/metadata_patch" +require_relative "CloudPDF/types/pdf_action_target_ref_name" +require_relative "CloudPDF/types/pdf_action_target_ref_object_number" +require_relative "CloudPDF/types/pdf_action_target_ref" +require_relative "CloudPDF/types/page_destination_xyz" +require_relative "CloudPDF/types/page_destination_fit" +require_relative "CloudPDF/types/page_destination_fit_h" +require_relative "CloudPDF/types/page_destination_fit_v" +require_relative "CloudPDF/types/page_destination_fit_r" +require_relative "CloudPDF/types/page_destination_fit_b" +require_relative "CloudPDF/types/page_destination_fit_bh" +require_relative "CloudPDF/types/page_destination_fit_bv" +require_relative "CloudPDF/types/page_destination" +require_relative "CloudPDF/types/pdf_action_node_javascript" +require_relative "CloudPDF/types/pdf_action_node_goto" +require_relative "CloudPDF/types/pdf_action_node_uri" +require_relative "CloudPDF/types/pdf_action_node_named" +require_relative "CloudPDF/types/pdf_action_node_hide" +require_relative "CloudPDF/types/pdf_action_node_reset_form" +require_relative "CloudPDF/types/pdf_action_node_goto_remote" +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" +require_relative "CloudPDF/types/pdf_action_node_submit_form" +require_relative "CloudPDF/types/pdf_action_node_thread" +require_relative "CloudPDF/types/pdf_action_node_sound" +require_relative "CloudPDF/types/pdf_action_node_movie" +require_relative "CloudPDF/types/pdf_action_node_import_data" +require_relative "CloudPDF/types/pdf_action_node_set_ocg_state" +require_relative "CloudPDF/types/pdf_action_node_transition" +require_relative "CloudPDF/types/pdf_action_node_goto3d_view" +require_relative "CloudPDF/types/pdf_action_node_unknown" +require_relative "CloudPDF/types/pdf_action_node" +require_relative "CloudPDF/types/pdf_action_tree_warnings_item" +require_relative "CloudPDF/types/pdf_action_tree" +require_relative "CloudPDF/types/pdf_annotation_actions" +require_relative "CloudPDF/types/field_script_write_type" +require_relative "CloudPDF/types/field_script_write" +require_relative "CloudPDF/types/field_actions_patch" +require_relative "CloudPDF/types/pdf_action_write_javascript" +require_relative "CloudPDF/types/pdf_action_write_goto" +require_relative "CloudPDF/types/pdf_action_write_uri" +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" +require_relative "CloudPDF/types/pdf_action_write" +require_relative "CloudPDF/types/widget_actions_patch" +require_relative "CloudPDF/types/annotation_ref_object_number" +require_relative "CloudPDF/types/annotation_ref_base_index" +require_relative "CloudPDF/types/annotation_ref" +require_relative "CloudPDF/types/annotation_draft_highlight_rect" +require_relative "CloudPDF/types/annotation_draft_highlight_blend_mode" +require_relative "CloudPDF/types/annotation_draft_highlight_reply_type" +require_relative "CloudPDF/types/annotation_draft_highlight_reply" +require_relative "CloudPDF/types/annotation_draft_highlight_quad_points_item_upper_left" +require_relative "CloudPDF/types/annotation_draft_highlight_quad_points_item_upper_right" +require_relative "CloudPDF/types/annotation_draft_highlight_quad_points_item_lower_left" +require_relative "CloudPDF/types/annotation_draft_highlight_quad_points_item_lower_right" +require_relative "CloudPDF/types/annotation_draft_highlight_quad_points_item" +require_relative "CloudPDF/types/annotation_draft_highlight" +require_relative "CloudPDF/types/annotation_draft_underline_rect" +require_relative "CloudPDF/types/annotation_draft_underline_blend_mode" +require_relative "CloudPDF/types/annotation_draft_underline_reply_type" +require_relative "CloudPDF/types/annotation_draft_underline_reply" +require_relative "CloudPDF/types/annotation_draft_underline_quad_points_item_upper_left" +require_relative "CloudPDF/types/annotation_draft_underline_quad_points_item_upper_right" +require_relative "CloudPDF/types/annotation_draft_underline_quad_points_item_lower_left" +require_relative "CloudPDF/types/annotation_draft_underline_quad_points_item_lower_right" +require_relative "CloudPDF/types/annotation_draft_underline_quad_points_item" +require_relative "CloudPDF/types/annotation_draft_underline" +require_relative "CloudPDF/types/annotation_draft_squiggly_rect" +require_relative "CloudPDF/types/annotation_draft_squiggly_blend_mode" +require_relative "CloudPDF/types/annotation_draft_squiggly_reply_type" +require_relative "CloudPDF/types/annotation_draft_squiggly_reply" +require_relative "CloudPDF/types/annotation_draft_squiggly_quad_points_item_upper_left" +require_relative "CloudPDF/types/annotation_draft_squiggly_quad_points_item_upper_right" +require_relative "CloudPDF/types/annotation_draft_squiggly_quad_points_item_lower_left" +require_relative "CloudPDF/types/annotation_draft_squiggly_quad_points_item_lower_right" +require_relative "CloudPDF/types/annotation_draft_squiggly_quad_points_item" +require_relative "CloudPDF/types/annotation_draft_squiggly" +require_relative "CloudPDF/types/annotation_draft_strikeout_rect" +require_relative "CloudPDF/types/annotation_draft_strikeout_blend_mode" +require_relative "CloudPDF/types/annotation_draft_strikeout_reply_type" +require_relative "CloudPDF/types/annotation_draft_strikeout_reply" +require_relative "CloudPDF/types/annotation_draft_strikeout_quad_points_item_upper_left" +require_relative "CloudPDF/types/annotation_draft_strikeout_quad_points_item_upper_right" +require_relative "CloudPDF/types/annotation_draft_strikeout_quad_points_item_lower_left" +require_relative "CloudPDF/types/annotation_draft_strikeout_quad_points_item_lower_right" +require_relative "CloudPDF/types/annotation_draft_strikeout_quad_points_item" +require_relative "CloudPDF/types/annotation_draft_strikeout_intent" +require_relative "CloudPDF/types/annotation_draft_strikeout" +require_relative "CloudPDF/types/annotation_draft_circle_rect" +require_relative "CloudPDF/types/annotation_draft_circle_blend_mode" +require_relative "CloudPDF/types/annotation_draft_circle_reply_type" +require_relative "CloudPDF/types/annotation_draft_circle_reply" +require_relative "CloudPDF/types/annotation_draft_circle_border_style" +require_relative "CloudPDF/types/annotation_draft_circle_box" +require_relative "CloudPDF/types/annotation_draft_circle" +require_relative "CloudPDF/types/annotation_draft_square_rect" +require_relative "CloudPDF/types/annotation_draft_square_blend_mode" +require_relative "CloudPDF/types/annotation_draft_square_reply_type" +require_relative "CloudPDF/types/annotation_draft_square_reply" +require_relative "CloudPDF/types/annotation_draft_square_border_style" +require_relative "CloudPDF/types/annotation_draft_square_box" +require_relative "CloudPDF/types/annotation_draft_square" +require_relative "CloudPDF/types/annotation_draft_polygon_rect" +require_relative "CloudPDF/types/annotation_draft_polygon_blend_mode" +require_relative "CloudPDF/types/annotation_draft_polygon_reply_type" +require_relative "CloudPDF/types/annotation_draft_polygon_reply" +require_relative "CloudPDF/types/annotation_draft_polygon_border_style" +require_relative "CloudPDF/types/annotation_draft_polygon_vertices_item" +require_relative "CloudPDF/types/annotation_draft_polygon_caption_center" +require_relative "CloudPDF/types/annotation_draft_polygon_intent" +require_relative "CloudPDF/types/annotation_draft_polygon_measure_rectilinear_x_item_fraction" +require_relative "CloudPDF/types/annotation_draft_polygon_measure_rectilinear_x_item_label_position" +require_relative "CloudPDF/types/annotation_draft_polygon_measure_rectilinear_x_item" +require_relative "CloudPDF/types/annotation_draft_polygon_measure_rectilinear_y_item_fraction" +require_relative "CloudPDF/types/annotation_draft_polygon_measure_rectilinear_y_item_label_position" +require_relative "CloudPDF/types/annotation_draft_polygon_measure_rectilinear_y_item" +require_relative "CloudPDF/types/annotation_draft_polygon_measure_rectilinear_distance_item_fraction" +require_relative "CloudPDF/types/annotation_draft_polygon_measure_rectilinear_distance_item_label_position" +require_relative "CloudPDF/types/annotation_draft_polygon_measure_rectilinear_distance_item" +require_relative "CloudPDF/types/annotation_draft_polygon_measure_rectilinear_area_item_fraction" +require_relative "CloudPDF/types/annotation_draft_polygon_measure_rectilinear_area_item_label_position" +require_relative "CloudPDF/types/annotation_draft_polygon_measure_rectilinear_area_item" +require_relative "CloudPDF/types/annotation_draft_polygon_measure_rectilinear_angle_item_fraction" +require_relative "CloudPDF/types/annotation_draft_polygon_measure_rectilinear_angle_item_label_position" +require_relative "CloudPDF/types/annotation_draft_polygon_measure_rectilinear_angle_item" +require_relative "CloudPDF/types/annotation_draft_polygon_measure_rectilinear_slope_item_fraction" +require_relative "CloudPDF/types/annotation_draft_polygon_measure_rectilinear_slope_item_label_position" +require_relative "CloudPDF/types/annotation_draft_polygon_measure_rectilinear_slope_item" +require_relative "CloudPDF/types/annotation_draft_polygon_measure_rectilinear_origin" +require_relative "CloudPDF/types/annotation_draft_polygon_measure_rectilinear" +require_relative "CloudPDF/types/annotation_draft_polygon_measure_unknown_geospatial" +require_relative "CloudPDF/types/annotation_draft_polygon_measure_unknown_unknown" +require_relative "CloudPDF/types/annotation_draft_polygon_measure_unknown" +require_relative "CloudPDF/types/annotation_draft_polygon_measure" +require_relative "CloudPDF/types/annotation_draft_polygon" +require_relative "CloudPDF/types/annotation_draft_polyline_rect" +require_relative "CloudPDF/types/annotation_draft_polyline_blend_mode" +require_relative "CloudPDF/types/annotation_draft_polyline_reply_type" +require_relative "CloudPDF/types/annotation_draft_polyline_reply" +require_relative "CloudPDF/types/annotation_draft_polyline_border_style" +require_relative "CloudPDF/types/annotation_draft_polyline_vertices_item" +require_relative "CloudPDF/types/annotation_draft_polyline_caption_center" +require_relative "CloudPDF/types/annotation_draft_polyline_intent" +require_relative "CloudPDF/types/annotation_draft_polyline_measure_rectilinear_x_item_fraction" +require_relative "CloudPDF/types/annotation_draft_polyline_measure_rectilinear_x_item_label_position" +require_relative "CloudPDF/types/annotation_draft_polyline_measure_rectilinear_x_item" +require_relative "CloudPDF/types/annotation_draft_polyline_measure_rectilinear_y_item_fraction" +require_relative "CloudPDF/types/annotation_draft_polyline_measure_rectilinear_y_item_label_position" +require_relative "CloudPDF/types/annotation_draft_polyline_measure_rectilinear_y_item" +require_relative "CloudPDF/types/annotation_draft_polyline_measure_rectilinear_distance_item_fraction" +require_relative "CloudPDF/types/annotation_draft_polyline_measure_rectilinear_distance_item_label_position" +require_relative "CloudPDF/types/annotation_draft_polyline_measure_rectilinear_distance_item" +require_relative "CloudPDF/types/annotation_draft_polyline_measure_rectilinear_area_item_fraction" +require_relative "CloudPDF/types/annotation_draft_polyline_measure_rectilinear_area_item_label_position" +require_relative "CloudPDF/types/annotation_draft_polyline_measure_rectilinear_area_item" +require_relative "CloudPDF/types/annotation_draft_polyline_measure_rectilinear_angle_item_fraction" +require_relative "CloudPDF/types/annotation_draft_polyline_measure_rectilinear_angle_item_label_position" +require_relative "CloudPDF/types/annotation_draft_polyline_measure_rectilinear_angle_item" +require_relative "CloudPDF/types/annotation_draft_polyline_measure_rectilinear_slope_item_fraction" +require_relative "CloudPDF/types/annotation_draft_polyline_measure_rectilinear_slope_item_label_position" +require_relative "CloudPDF/types/annotation_draft_polyline_measure_rectilinear_slope_item" +require_relative "CloudPDF/types/annotation_draft_polyline_measure_rectilinear_origin" +require_relative "CloudPDF/types/annotation_draft_polyline_measure_rectilinear" +require_relative "CloudPDF/types/annotation_draft_polyline_measure_unknown_geospatial" +require_relative "CloudPDF/types/annotation_draft_polyline_measure_unknown_unknown" +require_relative "CloudPDF/types/annotation_draft_polyline_measure_unknown" +require_relative "CloudPDF/types/annotation_draft_polyline_measure" +require_relative "CloudPDF/types/annotation_draft_polyline_line_endings_start" +require_relative "CloudPDF/types/annotation_draft_polyline_line_endings_end" +require_relative "CloudPDF/types/annotation_draft_polyline_line_endings" +require_relative "CloudPDF/types/annotation_draft_polyline" +require_relative "CloudPDF/types/annotation_draft_line_rect" +require_relative "CloudPDF/types/annotation_draft_line_blend_mode" +require_relative "CloudPDF/types/annotation_draft_line_reply_type" +require_relative "CloudPDF/types/annotation_draft_line_reply" +require_relative "CloudPDF/types/annotation_draft_line_border_style" +require_relative "CloudPDF/types/annotation_draft_line_line_points_start" +require_relative "CloudPDF/types/annotation_draft_line_line_points_end" +require_relative "CloudPDF/types/annotation_draft_line_line_points" +require_relative "CloudPDF/types/annotation_draft_line_line_endings_start" +require_relative "CloudPDF/types/annotation_draft_line_line_endings_end" +require_relative "CloudPDF/types/annotation_draft_line_line_endings" +require_relative "CloudPDF/types/annotation_draft_line_intent" +require_relative "CloudPDF/types/annotation_draft_line_measure_rectilinear_x_item_fraction" +require_relative "CloudPDF/types/annotation_draft_line_measure_rectilinear_x_item_label_position" +require_relative "CloudPDF/types/annotation_draft_line_measure_rectilinear_x_item" +require_relative "CloudPDF/types/annotation_draft_line_measure_rectilinear_y_item_fraction" +require_relative "CloudPDF/types/annotation_draft_line_measure_rectilinear_y_item_label_position" +require_relative "CloudPDF/types/annotation_draft_line_measure_rectilinear_y_item" +require_relative "CloudPDF/types/annotation_draft_line_measure_rectilinear_distance_item_fraction" +require_relative "CloudPDF/types/annotation_draft_line_measure_rectilinear_distance_item_label_position" +require_relative "CloudPDF/types/annotation_draft_line_measure_rectilinear_distance_item" +require_relative "CloudPDF/types/annotation_draft_line_measure_rectilinear_area_item_fraction" +require_relative "CloudPDF/types/annotation_draft_line_measure_rectilinear_area_item_label_position" +require_relative "CloudPDF/types/annotation_draft_line_measure_rectilinear_area_item" +require_relative "CloudPDF/types/annotation_draft_line_measure_rectilinear_angle_item_fraction" +require_relative "CloudPDF/types/annotation_draft_line_measure_rectilinear_angle_item_label_position" +require_relative "CloudPDF/types/annotation_draft_line_measure_rectilinear_angle_item" +require_relative "CloudPDF/types/annotation_draft_line_measure_rectilinear_slope_item_fraction" +require_relative "CloudPDF/types/annotation_draft_line_measure_rectilinear_slope_item_label_position" +require_relative "CloudPDF/types/annotation_draft_line_measure_rectilinear_slope_item" +require_relative "CloudPDF/types/annotation_draft_line_measure_rectilinear_origin" +require_relative "CloudPDF/types/annotation_draft_line_measure_rectilinear" +require_relative "CloudPDF/types/annotation_draft_line_measure_unknown_geospatial" +require_relative "CloudPDF/types/annotation_draft_line_measure_unknown_unknown" +require_relative "CloudPDF/types/annotation_draft_line_measure_unknown" +require_relative "CloudPDF/types/annotation_draft_line_measure" +require_relative "CloudPDF/types/annotation_draft_line_caption_position" +require_relative "CloudPDF/types/annotation_draft_line_caption_offset" +require_relative "CloudPDF/types/annotation_draft_line_leader" +require_relative "CloudPDF/types/annotation_draft_line" +require_relative "CloudPDF/types/annotation_draft_link_rect" +require_relative "CloudPDF/types/annotation_draft_link_blend_mode" +require_relative "CloudPDF/types/annotation_draft_link_reply_type" +require_relative "CloudPDF/types/annotation_draft_link_reply" +require_relative "CloudPDF/types/pdf_link_target_writable_goto" +require_relative "CloudPDF/types/pdf_link_target_writable_uri" +require_relative "CloudPDF/types/pdf_link_target_writable_named_name" +require_relative "CloudPDF/types/pdf_link_target_writable_named" +require_relative "CloudPDF/types/pdf_link_target_writable" +require_relative "CloudPDF/types/annotation_draft_link" +require_relative "CloudPDF/types/annotation_draft_ink_rect" +require_relative "CloudPDF/types/annotation_draft_ink_blend_mode" +require_relative "CloudPDF/types/annotation_draft_ink_reply_type" +require_relative "CloudPDF/types/annotation_draft_ink_reply" +require_relative "CloudPDF/types/annotation_draft_ink_border_style" +require_relative "CloudPDF/types/annotation_draft_ink_ink_list_item_item" +require_relative "CloudPDF/types/annotation_draft_ink_intent" +require_relative "CloudPDF/types/annotation_draft_ink" +require_relative "CloudPDF/types/annotation_draft_free_text_rect" +require_relative "CloudPDF/types/annotation_draft_free_text_blend_mode" +require_relative "CloudPDF/types/annotation_draft_free_text_reply_type" +require_relative "CloudPDF/types/annotation_draft_free_text_reply" +require_relative "CloudPDF/types/annotation_draft_free_text_box" +require_relative "CloudPDF/types/annotation_draft_free_text_intent" +require_relative "CloudPDF/types/annotation_draft_free_text_text_align" +require_relative "CloudPDF/types/annotation_draft_free_text_vertical_align" +require_relative "CloudPDF/types/annotation_draft_free_text_rich_text_body_decoration_item" +require_relative "CloudPDF/types/annotation_draft_free_text_rich_text_body_script" +require_relative "CloudPDF/types/annotation_draft_free_text_rich_text_body_align" +require_relative "CloudPDF/types/annotation_draft_free_text_rich_text_body_dir" +require_relative "CloudPDF/types/annotation_draft_free_text_rich_text_body_margins" +require_relative "CloudPDF/types/annotation_draft_free_text_rich_text_body" +require_relative "CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_align" +require_relative "CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_dir" +require_relative "CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_margins" +require_relative "CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_runs_item_style_decoration_item" +require_relative "CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_runs_item_style_script" +require_relative "CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_runs_item_style" +require_relative "CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_runs_item" +require_relative "CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item" +require_relative "CloudPDF/types/annotation_draft_free_text_rich_text" +require_relative "CloudPDF/types/annotation_draft_free_text_border_style" +require_relative "CloudPDF/types/annotation_draft_free_text_line_ending" +require_relative "CloudPDF/types/annotation_draft_free_text" +require_relative "CloudPDF/types/annotation_draft_caret_rect" +require_relative "CloudPDF/types/annotation_draft_caret_blend_mode" +require_relative "CloudPDF/types/annotation_draft_caret_reply_type" +require_relative "CloudPDF/types/annotation_draft_caret_reply" +require_relative "CloudPDF/types/annotation_draft_caret_box" +require_relative "CloudPDF/types/annotation_draft_caret_intent" +require_relative "CloudPDF/types/annotation_draft_caret" +require_relative "CloudPDF/types/annotation_draft_text_rect" +require_relative "CloudPDF/types/annotation_draft_text_blend_mode" +require_relative "CloudPDF/types/annotation_draft_text_reply_type" +require_relative "CloudPDF/types/annotation_draft_text_reply" +require_relative "CloudPDF/types/annotation_draft_text_icon" +require_relative "CloudPDF/types/annotation_draft_text" +require_relative "CloudPDF/types/annotation_draft_stamp_rect" +require_relative "CloudPDF/types/annotation_draft_stamp_blend_mode" +require_relative "CloudPDF/types/annotation_draft_stamp_reply_type" +require_relative "CloudPDF/types/annotation_draft_stamp_reply" +require_relative "CloudPDF/types/annotation_draft_stamp_box" +require_relative "CloudPDF/types/annotation_draft_stamp_fit" +require_relative "CloudPDF/types/annotation_draft_stamp" +require_relative "CloudPDF/types/annotation_draft_file_attachment_rect" +require_relative "CloudPDF/types/annotation_draft_file_attachment_blend_mode" +require_relative "CloudPDF/types/annotation_draft_file_attachment_reply_type" +require_relative "CloudPDF/types/annotation_draft_file_attachment_reply" +require_relative "CloudPDF/types/annotation_draft_file_attachment_icon" +require_relative "CloudPDF/types/annotation_draft_file_attachment_file" +require_relative "CloudPDF/types/annotation_draft_file_attachment" +require_relative "CloudPDF/types/annotation_draft_widget_rect" +require_relative "CloudPDF/types/annotation_draft_widget_blend_mode" +require_relative "CloudPDF/types/annotation_draft_widget_reply_type" +require_relative "CloudPDF/types/annotation_draft_widget_reply" +require_relative "CloudPDF/types/annotation_draft_widget_box" +require_relative "CloudPDF/types/annotation_draft_widget_border_style" +require_relative "CloudPDF/types/annotation_draft_widget_text_align" +require_relative "CloudPDF/types/annotation_draft_widget_check_style" +require_relative "CloudPDF/types/annotation_draft_widget" +require_relative "CloudPDF/types/annotation_draft_redact_rect" +require_relative "CloudPDF/types/annotation_draft_redact_blend_mode" +require_relative "CloudPDF/types/annotation_draft_redact_reply_type" +require_relative "CloudPDF/types/annotation_draft_redact_reply" +require_relative "CloudPDF/types/annotation_draft_redact_quad_points_item_upper_left" +require_relative "CloudPDF/types/annotation_draft_redact_quad_points_item_upper_right" +require_relative "CloudPDF/types/annotation_draft_redact_quad_points_item_lower_left" +require_relative "CloudPDF/types/annotation_draft_redact_quad_points_item_lower_right" +require_relative "CloudPDF/types/annotation_draft_redact_quad_points_item" +require_relative "CloudPDF/types/annotation_draft_redact_text_align" +require_relative "CloudPDF/types/annotation_draft_redact" +require_relative "CloudPDF/types/annotation_draft_popup_rect" +require_relative "CloudPDF/types/annotation_draft_popup_blend_mode" +require_relative "CloudPDF/types/annotation_draft_popup_reply_type" +require_relative "CloudPDF/types/annotation_draft_popup_reply" +require_relative "CloudPDF/types/annotation_draft_popup" +require_relative "CloudPDF/types/annotation_draft" +require_relative "CloudPDF/types/annotation_patch_highlight_rect" +require_relative "CloudPDF/types/annotation_patch_highlight_blend_mode" +require_relative "CloudPDF/types/annotation_patch_highlight_reply_type" +require_relative "CloudPDF/types/annotation_patch_highlight_reply" +require_relative "CloudPDF/types/annotation_patch_highlight_quad_points_item_upper_left" +require_relative "CloudPDF/types/annotation_patch_highlight_quad_points_item_upper_right" +require_relative "CloudPDF/types/annotation_patch_highlight_quad_points_item_lower_left" +require_relative "CloudPDF/types/annotation_patch_highlight_quad_points_item_lower_right" +require_relative "CloudPDF/types/annotation_patch_highlight_quad_points_item" +require_relative "CloudPDF/types/annotation_patch_highlight" +require_relative "CloudPDF/types/annotation_patch_underline_rect" +require_relative "CloudPDF/types/annotation_patch_underline_blend_mode" +require_relative "CloudPDF/types/annotation_patch_underline_reply_type" +require_relative "CloudPDF/types/annotation_patch_underline_reply" +require_relative "CloudPDF/types/annotation_patch_underline_quad_points_item_upper_left" +require_relative "CloudPDF/types/annotation_patch_underline_quad_points_item_upper_right" +require_relative "CloudPDF/types/annotation_patch_underline_quad_points_item_lower_left" +require_relative "CloudPDF/types/annotation_patch_underline_quad_points_item_lower_right" +require_relative "CloudPDF/types/annotation_patch_underline_quad_points_item" +require_relative "CloudPDF/types/annotation_patch_underline" +require_relative "CloudPDF/types/annotation_patch_squiggly_rect" +require_relative "CloudPDF/types/annotation_patch_squiggly_blend_mode" +require_relative "CloudPDF/types/annotation_patch_squiggly_reply_type" +require_relative "CloudPDF/types/annotation_patch_squiggly_reply" +require_relative "CloudPDF/types/annotation_patch_squiggly_quad_points_item_upper_left" +require_relative "CloudPDF/types/annotation_patch_squiggly_quad_points_item_upper_right" +require_relative "CloudPDF/types/annotation_patch_squiggly_quad_points_item_lower_left" +require_relative "CloudPDF/types/annotation_patch_squiggly_quad_points_item_lower_right" +require_relative "CloudPDF/types/annotation_patch_squiggly_quad_points_item" +require_relative "CloudPDF/types/annotation_patch_squiggly" +require_relative "CloudPDF/types/annotation_patch_strikeout_rect" +require_relative "CloudPDF/types/annotation_patch_strikeout_blend_mode" +require_relative "CloudPDF/types/annotation_patch_strikeout_reply_type" +require_relative "CloudPDF/types/annotation_patch_strikeout_reply" +require_relative "CloudPDF/types/annotation_patch_strikeout_quad_points_item_upper_left" +require_relative "CloudPDF/types/annotation_patch_strikeout_quad_points_item_upper_right" +require_relative "CloudPDF/types/annotation_patch_strikeout_quad_points_item_lower_left" +require_relative "CloudPDF/types/annotation_patch_strikeout_quad_points_item_lower_right" +require_relative "CloudPDF/types/annotation_patch_strikeout_quad_points_item" +require_relative "CloudPDF/types/annotation_patch_strikeout_intent" +require_relative "CloudPDF/types/annotation_patch_strikeout" +require_relative "CloudPDF/types/annotation_patch_circle_rect" +require_relative "CloudPDF/types/annotation_patch_circle_blend_mode" +require_relative "CloudPDF/types/annotation_patch_circle_reply_type" +require_relative "CloudPDF/types/annotation_patch_circle_reply" +require_relative "CloudPDF/types/annotation_patch_circle_border_style_zero" +require_relative "CloudPDF/types/annotation_patch_circle_border_style_one" +require_relative "CloudPDF/types/annotation_patch_circle_border_style" +require_relative "CloudPDF/types/annotation_patch_circle_box" +require_relative "CloudPDF/types/annotation_patch_circle" +require_relative "CloudPDF/types/annotation_patch_square_rect" +require_relative "CloudPDF/types/annotation_patch_square_blend_mode" +require_relative "CloudPDF/types/annotation_patch_square_reply_type" +require_relative "CloudPDF/types/annotation_patch_square_reply" +require_relative "CloudPDF/types/annotation_patch_square_border_style_zero" +require_relative "CloudPDF/types/annotation_patch_square_border_style_one" +require_relative "CloudPDF/types/annotation_patch_square_border_style" +require_relative "CloudPDF/types/annotation_patch_square_box" +require_relative "CloudPDF/types/annotation_patch_square" +require_relative "CloudPDF/types/annotation_patch_polygon_rect" +require_relative "CloudPDF/types/annotation_patch_polygon_blend_mode" +require_relative "CloudPDF/types/annotation_patch_polygon_reply_type" +require_relative "CloudPDF/types/annotation_patch_polygon_reply" +require_relative "CloudPDF/types/annotation_patch_polygon_border_style_zero" +require_relative "CloudPDF/types/annotation_patch_polygon_border_style_one" +require_relative "CloudPDF/types/annotation_patch_polygon_border_style" +require_relative "CloudPDF/types/annotation_patch_polygon_vertices_zero_item" +require_relative "CloudPDF/types/annotation_patch_polygon_vertices_one_item" +require_relative "CloudPDF/types/annotation_patch_polygon_vertices" +require_relative "CloudPDF/types/annotation_patch_polygon_caption_center" +require_relative "CloudPDF/types/annotation_patch_polygon_intent" +require_relative "CloudPDF/types/annotation_patch_polygon_measure_rectilinear_x_item_fraction" +require_relative "CloudPDF/types/annotation_patch_polygon_measure_rectilinear_x_item_label_position" +require_relative "CloudPDF/types/annotation_patch_polygon_measure_rectilinear_x_item" +require_relative "CloudPDF/types/annotation_patch_polygon_measure_rectilinear_y_item_fraction" +require_relative "CloudPDF/types/annotation_patch_polygon_measure_rectilinear_y_item_label_position" +require_relative "CloudPDF/types/annotation_patch_polygon_measure_rectilinear_y_item" +require_relative "CloudPDF/types/annotation_patch_polygon_measure_rectilinear_distance_item_fraction" +require_relative "CloudPDF/types/annotation_patch_polygon_measure_rectilinear_distance_item_label_position" +require_relative "CloudPDF/types/annotation_patch_polygon_measure_rectilinear_distance_item" +require_relative "CloudPDF/types/annotation_patch_polygon_measure_rectilinear_area_item_fraction" +require_relative "CloudPDF/types/annotation_patch_polygon_measure_rectilinear_area_item_label_position" +require_relative "CloudPDF/types/annotation_patch_polygon_measure_rectilinear_area_item" +require_relative "CloudPDF/types/annotation_patch_polygon_measure_rectilinear_angle_item_fraction" +require_relative "CloudPDF/types/annotation_patch_polygon_measure_rectilinear_angle_item_label_position" +require_relative "CloudPDF/types/annotation_patch_polygon_measure_rectilinear_angle_item" +require_relative "CloudPDF/types/annotation_patch_polygon_measure_rectilinear_slope_item_fraction" +require_relative "CloudPDF/types/annotation_patch_polygon_measure_rectilinear_slope_item_label_position" +require_relative "CloudPDF/types/annotation_patch_polygon_measure_rectilinear_slope_item" +require_relative "CloudPDF/types/annotation_patch_polygon_measure_rectilinear_origin" +require_relative "CloudPDF/types/annotation_patch_polygon_measure_rectilinear" +require_relative "CloudPDF/types/annotation_patch_polygon_measure_unknown_geospatial" +require_relative "CloudPDF/types/annotation_patch_polygon_measure_unknown_unknown" +require_relative "CloudPDF/types/annotation_patch_polygon_measure_unknown" +require_relative "CloudPDF/types/annotation_patch_polygon_measure" +require_relative "CloudPDF/types/annotation_patch_polygon" +require_relative "CloudPDF/types/annotation_patch_polyline_rect" +require_relative "CloudPDF/types/annotation_patch_polyline_blend_mode" +require_relative "CloudPDF/types/annotation_patch_polyline_reply_type" +require_relative "CloudPDF/types/annotation_patch_polyline_reply" +require_relative "CloudPDF/types/annotation_patch_polyline_border_style_zero" +require_relative "CloudPDF/types/annotation_patch_polyline_border_style_one" +require_relative "CloudPDF/types/annotation_patch_polyline_border_style" +require_relative "CloudPDF/types/annotation_patch_polyline_vertices_zero_item" +require_relative "CloudPDF/types/annotation_patch_polyline_vertices_one_item" +require_relative "CloudPDF/types/annotation_patch_polyline_vertices" +require_relative "CloudPDF/types/annotation_patch_polyline_caption_center" +require_relative "CloudPDF/types/annotation_patch_polyline_intent" +require_relative "CloudPDF/types/annotation_patch_polyline_measure_rectilinear_x_item_fraction" +require_relative "CloudPDF/types/annotation_patch_polyline_measure_rectilinear_x_item_label_position" +require_relative "CloudPDF/types/annotation_patch_polyline_measure_rectilinear_x_item" +require_relative "CloudPDF/types/annotation_patch_polyline_measure_rectilinear_y_item_fraction" +require_relative "CloudPDF/types/annotation_patch_polyline_measure_rectilinear_y_item_label_position" +require_relative "CloudPDF/types/annotation_patch_polyline_measure_rectilinear_y_item" +require_relative "CloudPDF/types/annotation_patch_polyline_measure_rectilinear_distance_item_fraction" +require_relative "CloudPDF/types/annotation_patch_polyline_measure_rectilinear_distance_item_label_position" +require_relative "CloudPDF/types/annotation_patch_polyline_measure_rectilinear_distance_item" +require_relative "CloudPDF/types/annotation_patch_polyline_measure_rectilinear_area_item_fraction" +require_relative "CloudPDF/types/annotation_patch_polyline_measure_rectilinear_area_item_label_position" +require_relative "CloudPDF/types/annotation_patch_polyline_measure_rectilinear_area_item" +require_relative "CloudPDF/types/annotation_patch_polyline_measure_rectilinear_angle_item_fraction" +require_relative "CloudPDF/types/annotation_patch_polyline_measure_rectilinear_angle_item_label_position" +require_relative "CloudPDF/types/annotation_patch_polyline_measure_rectilinear_angle_item" +require_relative "CloudPDF/types/annotation_patch_polyline_measure_rectilinear_slope_item_fraction" +require_relative "CloudPDF/types/annotation_patch_polyline_measure_rectilinear_slope_item_label_position" +require_relative "CloudPDF/types/annotation_patch_polyline_measure_rectilinear_slope_item" +require_relative "CloudPDF/types/annotation_patch_polyline_measure_rectilinear_origin" +require_relative "CloudPDF/types/annotation_patch_polyline_measure_rectilinear" +require_relative "CloudPDF/types/annotation_patch_polyline_measure_unknown_geospatial" +require_relative "CloudPDF/types/annotation_patch_polyline_measure_unknown_unknown" +require_relative "CloudPDF/types/annotation_patch_polyline_measure_unknown" +require_relative "CloudPDF/types/annotation_patch_polyline_measure" +require_relative "CloudPDF/types/annotation_patch_polyline_line_endings_start" +require_relative "CloudPDF/types/annotation_patch_polyline_line_endings_end" +require_relative "CloudPDF/types/annotation_patch_polyline_line_endings" +require_relative "CloudPDF/types/annotation_patch_polyline" +require_relative "CloudPDF/types/annotation_patch_line_rect" +require_relative "CloudPDF/types/annotation_patch_line_blend_mode" +require_relative "CloudPDF/types/annotation_patch_line_reply_type" +require_relative "CloudPDF/types/annotation_patch_line_reply" +require_relative "CloudPDF/types/annotation_patch_line_border_style_zero" +require_relative "CloudPDF/types/annotation_patch_line_border_style_one" +require_relative "CloudPDF/types/annotation_patch_line_border_style" +require_relative "CloudPDF/types/annotation_patch_line_line_points_start" +require_relative "CloudPDF/types/annotation_patch_line_line_points_end" +require_relative "CloudPDF/types/annotation_patch_line_line_points" +require_relative "CloudPDF/types/annotation_patch_line_line_endings_start" +require_relative "CloudPDF/types/annotation_patch_line_line_endings_end" +require_relative "CloudPDF/types/annotation_patch_line_line_endings" +require_relative "CloudPDF/types/annotation_patch_line_intent" +require_relative "CloudPDF/types/annotation_patch_line_measure_rectilinear_x_item_fraction" +require_relative "CloudPDF/types/annotation_patch_line_measure_rectilinear_x_item_label_position" +require_relative "CloudPDF/types/annotation_patch_line_measure_rectilinear_x_item" +require_relative "CloudPDF/types/annotation_patch_line_measure_rectilinear_y_item_fraction" +require_relative "CloudPDF/types/annotation_patch_line_measure_rectilinear_y_item_label_position" +require_relative "CloudPDF/types/annotation_patch_line_measure_rectilinear_y_item" +require_relative "CloudPDF/types/annotation_patch_line_measure_rectilinear_distance_item_fraction" +require_relative "CloudPDF/types/annotation_patch_line_measure_rectilinear_distance_item_label_position" +require_relative "CloudPDF/types/annotation_patch_line_measure_rectilinear_distance_item" +require_relative "CloudPDF/types/annotation_patch_line_measure_rectilinear_area_item_fraction" +require_relative "CloudPDF/types/annotation_patch_line_measure_rectilinear_area_item_label_position" +require_relative "CloudPDF/types/annotation_patch_line_measure_rectilinear_area_item" +require_relative "CloudPDF/types/annotation_patch_line_measure_rectilinear_angle_item_fraction" +require_relative "CloudPDF/types/annotation_patch_line_measure_rectilinear_angle_item_label_position" +require_relative "CloudPDF/types/annotation_patch_line_measure_rectilinear_angle_item" +require_relative "CloudPDF/types/annotation_patch_line_measure_rectilinear_slope_item_fraction" +require_relative "CloudPDF/types/annotation_patch_line_measure_rectilinear_slope_item_label_position" +require_relative "CloudPDF/types/annotation_patch_line_measure_rectilinear_slope_item" +require_relative "CloudPDF/types/annotation_patch_line_measure_rectilinear_origin" +require_relative "CloudPDF/types/annotation_patch_line_measure_rectilinear" +require_relative "CloudPDF/types/annotation_patch_line_measure_unknown_geospatial" +require_relative "CloudPDF/types/annotation_patch_line_measure_unknown_unknown" +require_relative "CloudPDF/types/annotation_patch_line_measure_unknown" +require_relative "CloudPDF/types/annotation_patch_line_measure" +require_relative "CloudPDF/types/annotation_patch_line_caption_position" +require_relative "CloudPDF/types/annotation_patch_line_caption_offset" +require_relative "CloudPDF/types/annotation_patch_line_leader" +require_relative "CloudPDF/types/annotation_patch_line" +require_relative "CloudPDF/types/annotation_patch_link_rect" +require_relative "CloudPDF/types/annotation_patch_link_blend_mode" +require_relative "CloudPDF/types/annotation_patch_link_reply_type" +require_relative "CloudPDF/types/annotation_patch_link_reply" +require_relative "CloudPDF/types/pdf_link_target_goto" +require_relative "CloudPDF/types/pdf_link_target_uri" +require_relative "CloudPDF/types/pdf_link_target_goto_remote" +require_relative "CloudPDF/types/pdf_link_target_launch" +require_relative "CloudPDF/types/pdf_link_target_javascript" +require_relative "CloudPDF/types/pdf_link_target_named" +require_relative "CloudPDF/types/pdf_link_target_unsupported" +require_relative "CloudPDF/types/pdf_link_target" +require_relative "CloudPDF/types/annotation_patch_link_target" +require_relative "CloudPDF/types/annotation_patch_link" +require_relative "CloudPDF/types/annotation_patch_ink_rect" +require_relative "CloudPDF/types/annotation_patch_ink_blend_mode" +require_relative "CloudPDF/types/annotation_patch_ink_reply_type" +require_relative "CloudPDF/types/annotation_patch_ink_reply" +require_relative "CloudPDF/types/annotation_patch_ink_border_style_zero" +require_relative "CloudPDF/types/annotation_patch_ink_border_style_one" +require_relative "CloudPDF/types/annotation_patch_ink_border_style" +require_relative "CloudPDF/types/annotation_patch_ink_ink_list_zero_item_item" +require_relative "CloudPDF/types/annotation_patch_ink_ink_list_one_item_item" +require_relative "CloudPDF/types/annotation_patch_ink_ink_list" +require_relative "CloudPDF/types/annotation_patch_ink_intent" +require_relative "CloudPDF/types/annotation_patch_ink" +require_relative "CloudPDF/types/annotation_patch_free_text_rect" +require_relative "CloudPDF/types/annotation_patch_free_text_blend_mode" +require_relative "CloudPDF/types/annotation_patch_free_text_reply_type" +require_relative "CloudPDF/types/annotation_patch_free_text_reply" +require_relative "CloudPDF/types/annotation_patch_free_text_box" +require_relative "CloudPDF/types/annotation_patch_free_text_intent_zero" +require_relative "CloudPDF/types/annotation_patch_free_text_intent_one" +require_relative "CloudPDF/types/annotation_patch_free_text_intent" +require_relative "CloudPDF/types/annotation_patch_free_text_text_align" +require_relative "CloudPDF/types/annotation_patch_free_text_vertical_align" +require_relative "CloudPDF/types/annotation_patch_free_text_rich_text_body_decoration_item" +require_relative "CloudPDF/types/annotation_patch_free_text_rich_text_body_script" +require_relative "CloudPDF/types/annotation_patch_free_text_rich_text_body_align" +require_relative "CloudPDF/types/annotation_patch_free_text_rich_text_body_dir" +require_relative "CloudPDF/types/annotation_patch_free_text_rich_text_body_margins" +require_relative "CloudPDF/types/annotation_patch_free_text_rich_text_body" +require_relative "CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_align" +require_relative "CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_dir" +require_relative "CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_margins" +require_relative "CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_runs_item_style_decoration_item" +require_relative "CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_runs_item_style_script" +require_relative "CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_runs_item_style" +require_relative "CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_runs_item" +require_relative "CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item" +require_relative "CloudPDF/types/annotation_patch_free_text_rich_text" +require_relative "CloudPDF/types/annotation_patch_free_text_border_style_zero" +require_relative "CloudPDF/types/annotation_patch_free_text_border_style_one" +require_relative "CloudPDF/types/annotation_patch_free_text_border_style" +require_relative "CloudPDF/types/annotation_patch_free_text_line_ending" +require_relative "CloudPDF/types/annotation_patch_free_text" +require_relative "CloudPDF/types/annotation_patch_caret_rect" +require_relative "CloudPDF/types/annotation_patch_caret_blend_mode" +require_relative "CloudPDF/types/annotation_patch_caret_reply_type" +require_relative "CloudPDF/types/annotation_patch_caret_reply" +require_relative "CloudPDF/types/annotation_patch_caret_box" +require_relative "CloudPDF/types/annotation_patch_caret_intent" +require_relative "CloudPDF/types/annotation_patch_caret" +require_relative "CloudPDF/types/annotation_patch_text_rect" +require_relative "CloudPDF/types/annotation_patch_text_blend_mode" +require_relative "CloudPDF/types/annotation_patch_text_reply_type" +require_relative "CloudPDF/types/annotation_patch_text_reply" +require_relative "CloudPDF/types/annotation_patch_text_icon" +require_relative "CloudPDF/types/annotation_patch_text" +require_relative "CloudPDF/types/annotation_patch_stamp_rect" +require_relative "CloudPDF/types/annotation_patch_stamp_blend_mode" +require_relative "CloudPDF/types/annotation_patch_stamp_reply_type" +require_relative "CloudPDF/types/annotation_patch_stamp_reply" +require_relative "CloudPDF/types/annotation_patch_stamp_box" +require_relative "CloudPDF/types/annotation_patch_stamp_fit" +require_relative "CloudPDF/types/annotation_patch_stamp" +require_relative "CloudPDF/types/annotation_patch_file_attachment_rect" +require_relative "CloudPDF/types/annotation_patch_file_attachment_blend_mode" +require_relative "CloudPDF/types/annotation_patch_file_attachment_reply_type" +require_relative "CloudPDF/types/annotation_patch_file_attachment_reply" +require_relative "CloudPDF/types/annotation_patch_file_attachment_icon" +require_relative "CloudPDF/types/annotation_patch_file_attachment_file" +require_relative "CloudPDF/types/annotation_patch_file_attachment" +require_relative "CloudPDF/types/annotation_patch_redact_rect" +require_relative "CloudPDF/types/annotation_patch_redact_blend_mode" +require_relative "CloudPDF/types/annotation_patch_redact_reply_type" +require_relative "CloudPDF/types/annotation_patch_redact_reply" +require_relative "CloudPDF/types/annotation_patch_redact_quad_points_item_upper_left" +require_relative "CloudPDF/types/annotation_patch_redact_quad_points_item_upper_right" +require_relative "CloudPDF/types/annotation_patch_redact_quad_points_item_lower_left" +require_relative "CloudPDF/types/annotation_patch_redact_quad_points_item_lower_right" +require_relative "CloudPDF/types/annotation_patch_redact_quad_points_item" +require_relative "CloudPDF/types/annotation_patch_redact_text_align" +require_relative "CloudPDF/types/annotation_patch_redact" +require_relative "CloudPDF/types/annotation_patch_popup_rect" +require_relative "CloudPDF/types/annotation_patch_popup_blend_mode" +require_relative "CloudPDF/types/annotation_patch_popup_reply_type" +require_relative "CloudPDF/types/annotation_patch_popup_reply" +require_relative "CloudPDF/types/annotation_patch_popup" +require_relative "CloudPDF/types/widget_patch_subtype" +require_relative "CloudPDF/types/widget_patch_rect" +require_relative "CloudPDF/types/widget_patch_blend_mode" +require_relative "CloudPDF/types/widget_patch_reply_type" +require_relative "CloudPDF/types/widget_patch_reply" +require_relative "CloudPDF/types/widget_patch_actions" +require_relative "CloudPDF/types/widget_patch_box" +require_relative "CloudPDF/types/widget_patch_border_style" +require_relative "CloudPDF/types/widget_patch_text_align" +require_relative "CloudPDF/types/widget_patch_check_style" +require_relative "CloudPDF/types/widget_patch" +require_relative "CloudPDF/types/annotation_patch" +require_relative "CloudPDF/types/annotation_position_zero" +require_relative "CloudPDF/types/annotation_position_after" +require_relative "CloudPDF/types/annotation_position" +require_relative "CloudPDF/types/form_field_ref_object_number" +require_relative "CloudPDF/types/form_field_ref_fqn" +require_relative "CloudPDF/types/form_field_ref" +require_relative "CloudPDF/types/form_field_value" +require_relative "CloudPDF/types/widget_placement_rect" +require_relative "CloudPDF/types/widget_placement_box" +require_relative "CloudPDF/types/widget_placement_border_style" +require_relative "CloudPDF/types/widget_placement_text_align" +require_relative "CloudPDF/types/widget_placement_check_style" +require_relative "CloudPDF/types/widget_placement" +require_relative "CloudPDF/types/form_field_draft_text" +require_relative "CloudPDF/types/form_field_draft_checkbox" +require_relative "CloudPDF/types/form_field_draft_radio" +require_relative "CloudPDF/types/form_field_draft_combobox_options_item" +require_relative "CloudPDF/types/form_field_draft_combobox" +require_relative "CloudPDF/types/form_field_draft_listbox_options_item" +require_relative "CloudPDF/types/form_field_draft_listbox" +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_default_value" +require_relative "CloudPDF/types/form_field_patch_options_item" +require_relative "CloudPDF/types/form_field_patch" +require_relative "CloudPDF/types/field_position_zero" +require_relative "CloudPDF/types/field_position_after" +require_relative "CloudPDF/types/field_position" +require_relative "CloudPDF/types/change_op_annotations_create_resources" +require_relative "CloudPDF/types/change_op_annotations_create" +require_relative "CloudPDF/types/change_op_annotations_update_resources" +require_relative "CloudPDF/types/change_op_annotations_update" +require_relative "CloudPDF/types/change_op_annotations_delete" +require_relative "CloudPDF/types/change_op_annotations_reorder" +require_relative "CloudPDF/types/change_op_forms_set_value" +require_relative "CloudPDF/types/change_op_forms_set_display_display" +require_relative "CloudPDF/types/change_op_forms_set_display" +require_relative "CloudPDF/types/change_op_forms_set_appearance_text" +require_relative "CloudPDF/types/change_op_forms_reset" +require_relative "CloudPDF/types/change_op_forms_create" +require_relative "CloudPDF/types/change_op_forms_update" +require_relative "CloudPDF/types/change_op_forms_delete" +require_relative "CloudPDF/types/change_op_forms_add_widget" +require_relative "CloudPDF/types/change_op_forms_remove_widget" +require_relative "CloudPDF/types/change_op_forms_delete_widget" +require_relative "CloudPDF/types/change_op_forms_reorder_calculations" +require_relative "CloudPDF/types/change_op_forms_reorder_widgets" +require_relative "CloudPDF/types/change_op_forms_update_widget" +require_relative "CloudPDF/types/change_op_forms_set_signature_appearance_resources" +require_relative "CloudPDF/types/change_op_forms_set_signature_appearance" +require_relative "CloudPDF/types/change_op_metadata_update" +require_relative "CloudPDF/types/change_op_metadata_update_custom" +require_relative "CloudPDF/types/change_op" +require_relative "CloudPDF/doc/types/doc_changes_request_changes_item" require_relative "CloudPDF/documents/types/list_documents_request_state" require_relative "CloudPDF/documents/types/documents_import_from_request_source_url" require_relative "CloudPDF/documents/types/documents_import_from_request_source_connection" @@ -44,7 +708,6 @@ require_relative "CloudPDF/documents/types/documents_import_from_request_mode" require_relative "CloudPDF/documents/types/documents_init_request_dedup_mode" require_relative "CloudPDF/documents/types/documents_init_request_upload_preference" -require_relative "CloudPDF/doc/forms/types/export_data_forms_request_format" require_relative "CloudPDF/doc/pages/types/doc_pages_set_scale_request_measure_subtype" require_relative "CloudPDF/doc/pages/types/doc_pages_set_scale_request_measure_x_item_fraction" require_relative "CloudPDF/doc/pages/types/doc_pages_set_scale_request_measure_x_item_label_position" @@ -75,65 +738,427 @@ 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/pdf_action_target_ref_name" -require_relative "CloudPDF/types/pdf_action_target_ref_object_number" -require_relative "CloudPDF/types/pdf_action_target_ref" -require_relative "CloudPDF/types/pdf_destination_xyz" -require_relative "CloudPDF/types/pdf_destination_fit" -require_relative "CloudPDF/types/pdf_destination_fit_h" -require_relative "CloudPDF/types/pdf_destination_fit_v" -require_relative "CloudPDF/types/pdf_destination_fit_r" -require_relative "CloudPDF/types/pdf_destination_fit_b" -require_relative "CloudPDF/types/pdf_destination_fit_bh" -require_relative "CloudPDF/types/pdf_destination_fit_bv" -require_relative "CloudPDF/types/pdf_destination" -require_relative "CloudPDF/types/pdf_action_node_javascript" -require_relative "CloudPDF/types/pdf_action_node_goto" -require_relative "CloudPDF/types/pdf_action_node_uri" -require_relative "CloudPDF/types/pdf_action_node_named" -require_relative "CloudPDF/types/pdf_action_node_hide" -require_relative "CloudPDF/types/pdf_action_node_reset_form" -require_relative "CloudPDF/types/pdf_action_node_goto_remote" -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" -require_relative "CloudPDF/types/pdf_action_node_submit_form" -require_relative "CloudPDF/types/pdf_action_node_thread" -require_relative "CloudPDF/types/pdf_action_node_sound" -require_relative "CloudPDF/types/pdf_action_node_movie" -require_relative "CloudPDF/types/pdf_action_node_import_data" -require_relative "CloudPDF/types/pdf_action_node_set_ocg_state" -require_relative "CloudPDF/types/pdf_action_node_transition" -require_relative "CloudPDF/types/pdf_action_node_goto3d_view" -require_relative "CloudPDF/types/pdf_action_node_unknown" -require_relative "CloudPDF/types/pdf_action_node" -require_relative "CloudPDF/types/pdf_action_tree_warnings_item" -require_relative "CloudPDF/types/pdf_action_tree" +require_relative "CloudPDF/types/page_position_zero" +require_relative "CloudPDF/types/page_position_after" +require_relative "CloudPDF/types/page_position" +require_relative "CloudPDF/types/cache_delta_pages_item_cache" +require_relative "CloudPDF/types/cache_delta_pages_item" +require_relative "CloudPDF/types/cache_delta" +require_relative "CloudPDF/types/mutation_meta" +require_relative "CloudPDF/types/document_metadata_trapped" +require_relative "CloudPDF/types/document_metadata" require_relative "CloudPDF/types/pdf_field_actions" require_relative "CloudPDF/types/pdf_page_actions" -require_relative "CloudPDF/types/pdf_annotation_actions" require_relative "CloudPDF/types/document_actions_snapshot_name_tree_scripts_item" require_relative "CloudPDF/types/document_actions_snapshot" +require_relative "CloudPDF/types/annotation_highlight_rect" +require_relative "CloudPDF/types/annotation_highlight_blend_mode" +require_relative "CloudPDF/types/annotation_highlight_reply_type" +require_relative "CloudPDF/types/annotation_highlight_reply" +require_relative "CloudPDF/types/annotation_highlight_quad_points_item_upper_left" +require_relative "CloudPDF/types/annotation_highlight_quad_points_item_upper_right" +require_relative "CloudPDF/types/annotation_highlight_quad_points_item_lower_left" +require_relative "CloudPDF/types/annotation_highlight_quad_points_item_lower_right" +require_relative "CloudPDF/types/annotation_highlight_quad_points_item" +require_relative "CloudPDF/types/annotation_highlight" +require_relative "CloudPDF/types/annotation_underline_rect" +require_relative "CloudPDF/types/annotation_underline_blend_mode" +require_relative "CloudPDF/types/annotation_underline_reply_type" +require_relative "CloudPDF/types/annotation_underline_reply" +require_relative "CloudPDF/types/annotation_underline_quad_points_item_upper_left" +require_relative "CloudPDF/types/annotation_underline_quad_points_item_upper_right" +require_relative "CloudPDF/types/annotation_underline_quad_points_item_lower_left" +require_relative "CloudPDF/types/annotation_underline_quad_points_item_lower_right" +require_relative "CloudPDF/types/annotation_underline_quad_points_item" +require_relative "CloudPDF/types/annotation_underline" +require_relative "CloudPDF/types/annotation_squiggly_rect" +require_relative "CloudPDF/types/annotation_squiggly_blend_mode" +require_relative "CloudPDF/types/annotation_squiggly_reply_type" +require_relative "CloudPDF/types/annotation_squiggly_reply" +require_relative "CloudPDF/types/annotation_squiggly_quad_points_item_upper_left" +require_relative "CloudPDF/types/annotation_squiggly_quad_points_item_upper_right" +require_relative "CloudPDF/types/annotation_squiggly_quad_points_item_lower_left" +require_relative "CloudPDF/types/annotation_squiggly_quad_points_item_lower_right" +require_relative "CloudPDF/types/annotation_squiggly_quad_points_item" +require_relative "CloudPDF/types/annotation_squiggly" +require_relative "CloudPDF/types/annotation_strikeout_rect" +require_relative "CloudPDF/types/annotation_strikeout_blend_mode" +require_relative "CloudPDF/types/annotation_strikeout_reply_type" +require_relative "CloudPDF/types/annotation_strikeout_reply" +require_relative "CloudPDF/types/annotation_strikeout_quad_points_item_upper_left" +require_relative "CloudPDF/types/annotation_strikeout_quad_points_item_upper_right" +require_relative "CloudPDF/types/annotation_strikeout_quad_points_item_lower_left" +require_relative "CloudPDF/types/annotation_strikeout_quad_points_item_lower_right" +require_relative "CloudPDF/types/annotation_strikeout_quad_points_item" +require_relative "CloudPDF/types/annotation_strikeout_intent" +require_relative "CloudPDF/types/annotation_strikeout" +require_relative "CloudPDF/types/annotation_circle_rect" +require_relative "CloudPDF/types/annotation_circle_blend_mode" +require_relative "CloudPDF/types/annotation_circle_reply_type" +require_relative "CloudPDF/types/annotation_circle_reply" +require_relative "CloudPDF/types/annotation_circle_border_style" +require_relative "CloudPDF/types/annotation_circle_box" +require_relative "CloudPDF/types/annotation_circle" +require_relative "CloudPDF/types/annotation_square_rect" +require_relative "CloudPDF/types/annotation_square_blend_mode" +require_relative "CloudPDF/types/annotation_square_reply_type" +require_relative "CloudPDF/types/annotation_square_reply" +require_relative "CloudPDF/types/annotation_square_border_style" +require_relative "CloudPDF/types/annotation_square_box" +require_relative "CloudPDF/types/annotation_square" +require_relative "CloudPDF/types/annotation_polygon_rect" +require_relative "CloudPDF/types/annotation_polygon_blend_mode" +require_relative "CloudPDF/types/annotation_polygon_reply_type" +require_relative "CloudPDF/types/annotation_polygon_reply" +require_relative "CloudPDF/types/annotation_polygon_border_style" +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/annotation_polygon" +require_relative "CloudPDF/types/annotation_polyline_rect" +require_relative "CloudPDF/types/annotation_polyline_blend_mode" +require_relative "CloudPDF/types/annotation_polyline_reply_type" +require_relative "CloudPDF/types/annotation_polyline_reply" +require_relative "CloudPDF/types/annotation_polyline_border_style" +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" +require_relative "CloudPDF/types/annotation_polyline" +require_relative "CloudPDF/types/annotation_line_rect" +require_relative "CloudPDF/types/annotation_line_blend_mode" +require_relative "CloudPDF/types/annotation_line_reply_type" +require_relative "CloudPDF/types/annotation_line_reply" +require_relative "CloudPDF/types/annotation_line_border_style" +require_relative "CloudPDF/types/annotation_line_line_points_start" +require_relative "CloudPDF/types/annotation_line_line_points_end" +require_relative "CloudPDF/types/annotation_line_line_points" +require_relative "CloudPDF/types/annotation_line_line_endings_start" +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" +require_relative "CloudPDF/types/annotation_line" +require_relative "CloudPDF/types/annotation_link_rect" +require_relative "CloudPDF/types/annotation_link_blend_mode" +require_relative "CloudPDF/types/annotation_link_reply_type" +require_relative "CloudPDF/types/annotation_link_reply" +require_relative "CloudPDF/types/annotation_link" +require_relative "CloudPDF/types/annotation_ink_rect" +require_relative "CloudPDF/types/annotation_ink_blend_mode" +require_relative "CloudPDF/types/annotation_ink_reply_type" +require_relative "CloudPDF/types/annotation_ink_reply" +require_relative "CloudPDF/types/annotation_ink_border_style" +require_relative "CloudPDF/types/annotation_ink_ink_list_item_item" +require_relative "CloudPDF/types/annotation_ink_intent" +require_relative "CloudPDF/types/annotation_ink" +require_relative "CloudPDF/types/annotation_free_text_rect" +require_relative "CloudPDF/types/annotation_free_text_blend_mode" +require_relative "CloudPDF/types/annotation_free_text_reply_type" +require_relative "CloudPDF/types/annotation_free_text_reply" +require_relative "CloudPDF/types/annotation_free_text_box" +require_relative "CloudPDF/types/annotation_free_text_intent" +require_relative "CloudPDF/types/annotation_free_text_text_align" +require_relative "CloudPDF/types/annotation_free_text_vertical_align" +require_relative "CloudPDF/types/annotation_free_text_rich_text_body_decoration_item" +require_relative "CloudPDF/types/annotation_free_text_rich_text_body_script" +require_relative "CloudPDF/types/annotation_free_text_rich_text_body_align" +require_relative "CloudPDF/types/annotation_free_text_rich_text_body_dir" +require_relative "CloudPDF/types/annotation_free_text_rich_text_body_margins" +require_relative "CloudPDF/types/annotation_free_text_rich_text_body" +require_relative "CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_align" +require_relative "CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_dir" +require_relative "CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_margins" +require_relative "CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_runs_item_style_decoration_item" +require_relative "CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_runs_item_style_script" +require_relative "CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_runs_item_style" +require_relative "CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_runs_item" +require_relative "CloudPDF/types/annotation_free_text_rich_text_paragraphs_item" +require_relative "CloudPDF/types/annotation_free_text_rich_text" +require_relative "CloudPDF/types/annotation_free_text_border_style" +require_relative "CloudPDF/types/annotation_free_text_line_ending" +require_relative "CloudPDF/types/annotation_free_text" +require_relative "CloudPDF/types/annotation_caret_rect" +require_relative "CloudPDF/types/annotation_caret_blend_mode" +require_relative "CloudPDF/types/annotation_caret_reply_type" +require_relative "CloudPDF/types/annotation_caret_reply" +require_relative "CloudPDF/types/annotation_caret_box" +require_relative "CloudPDF/types/annotation_caret_intent" +require_relative "CloudPDF/types/annotation_caret" +require_relative "CloudPDF/types/annotation_text_rect" +require_relative "CloudPDF/types/annotation_text_blend_mode" +require_relative "CloudPDF/types/annotation_text_reply_type" +require_relative "CloudPDF/types/annotation_text_reply" +require_relative "CloudPDF/types/annotation_text_icon" +require_relative "CloudPDF/types/annotation_text" +require_relative "CloudPDF/types/annotation_stamp_rect" +require_relative "CloudPDF/types/annotation_stamp_blend_mode" +require_relative "CloudPDF/types/annotation_stamp_reply_type" +require_relative "CloudPDF/types/annotation_stamp_reply" +require_relative "CloudPDF/types/annotation_stamp_box" +require_relative "CloudPDF/types/annotation_stamp_fit" +require_relative "CloudPDF/types/annotation_stamp" +require_relative "CloudPDF/types/annotation_file_attachment_rect" +require_relative "CloudPDF/types/annotation_file_attachment_blend_mode" +require_relative "CloudPDF/types/annotation_file_attachment_reply_type" +require_relative "CloudPDF/types/annotation_file_attachment_reply" +require_relative "CloudPDF/types/annotation_file_attachment_icon" +require_relative "CloudPDF/types/annotation_file_attachment_file" +require_relative "CloudPDF/types/annotation_file_attachment" +require_relative "CloudPDF/types/annotation_redact_rect" +require_relative "CloudPDF/types/annotation_redact_blend_mode" +require_relative "CloudPDF/types/annotation_redact_reply_type" +require_relative "CloudPDF/types/annotation_redact_reply" +require_relative "CloudPDF/types/annotation_redact_quad_points_item_upper_left" +require_relative "CloudPDF/types/annotation_redact_quad_points_item_upper_right" +require_relative "CloudPDF/types/annotation_redact_quad_points_item_lower_left" +require_relative "CloudPDF/types/annotation_redact_quad_points_item_lower_right" +require_relative "CloudPDF/types/annotation_redact_quad_points_item" +require_relative "CloudPDF/types/annotation_redact_text_align" +require_relative "CloudPDF/types/annotation_redact" +require_relative "CloudPDF/types/annotation_popup_rect" +require_relative "CloudPDF/types/annotation_popup_blend_mode" +require_relative "CloudPDF/types/annotation_popup_reply_type" +require_relative "CloudPDF/types/annotation_popup_reply" +require_relative "CloudPDF/types/annotation_popup" +require_relative "CloudPDF/types/annotation_unsupported_rect" +require_relative "CloudPDF/types/annotation_unsupported_blend_mode" +require_relative "CloudPDF/types/annotation_unsupported_reply_type" +require_relative "CloudPDF/types/annotation_unsupported_reply" +require_relative "CloudPDF/types/annotation_unsupported" +require_relative "CloudPDF/types/widget_annotation_subtype" +require_relative "CloudPDF/types/widget_annotation_rect" +require_relative "CloudPDF/types/widget_annotation_blend_mode" +require_relative "CloudPDF/types/widget_annotation_reply_type" +require_relative "CloudPDF/types/widget_annotation_reply" +require_relative "CloudPDF/types/widget_annotation_box" +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" +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_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" +require_relative "CloudPDF/types/change_item_skipped_op" +require_relative "CloudPDF/types/change_item_skipped" +require_relative "CloudPDF/types/change_item_annotations_create" +require_relative "CloudPDF/types/change_item_annotations_update_appearance_action" +require_relative "CloudPDF/types/change_item_annotations_update_appearance" +require_relative "CloudPDF/types/change_item_annotations_update" +require_relative "CloudPDF/types/change_item_annotations_delete" +require_relative "CloudPDF/types/change_item_annotations_reorder" +require_relative "CloudPDF/types/change_item_annotations_restore" +require_relative "CloudPDF/types/change_item_forms_set_value" +require_relative "CloudPDF/types/change_item_forms_set_display" +require_relative "CloudPDF/types/change_item_forms_set_appearance_text" +require_relative "CloudPDF/types/change_item_forms_reset" +require_relative "CloudPDF/types/change_item_forms_create" +require_relative "CloudPDF/types/change_item_forms_update" +require_relative "CloudPDF/types/change_item_forms_delete" +require_relative "CloudPDF/types/change_item_forms_restore" +require_relative "CloudPDF/types/change_item_forms_set_signature_appearance" +require_relative "CloudPDF/types/change_item_forms_add_widget" +require_relative "CloudPDF/types/change_item_forms_remove_widget" +require_relative "CloudPDF/types/change_item_forms_delete_widget" +require_relative "CloudPDF/types/change_item_forms_restore_widget" +require_relative "CloudPDF/types/change_item_forms_reorder_widgets" +require_relative "CloudPDF/types/change_item_forms_reorder_calculations" +require_relative "CloudPDF/types/change_item_forms_update_widget_appearance_action" +require_relative "CloudPDF/types/change_item_forms_update_widget_appearance" +require_relative "CloudPDF/types/change_item_forms_update_widget" +require_relative "CloudPDF/types/change_item_metadata_update" +require_relative "CloudPDF/types/change_item_metadata_update_custom" +require_relative "CloudPDF/types/change_item" +require_relative "CloudPDF/types/change_result" 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_error" 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_error" 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_error" require_relative "CloudPDF/types/tenants_get404response" -require_relative "CloudPDF/types/tenants_delete_response_error" 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" @@ -158,20 +1183,15 @@ 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_error" require_relative "CloudPDF/types/documents_init400response" 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_error" require_relative "CloudPDF/types/documents_commit400response" -require_relative "CloudPDF/types/documents_commit404response_error" require_relative "CloudPDF/types/documents_commit404response" require_relative "CloudPDF/types/documents_upload_proxy200response" -require_relative "CloudPDF/types/documents_upload_proxy400response_error" require_relative "CloudPDF/types/documents_upload_proxy400response" -require_relative "CloudPDF/types/documents_upload_proxy409response_error" require_relative "CloudPDF/types/documents_upload_proxy409response" require_relative "CloudPDF/types/documents_import_from200response_tag" require_relative "CloudPDF/types/documents_import_from200response_document_state" @@ -183,37 +1203,28 @@ 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_error" require_relative "CloudPDF/types/documents_import_from400response" -require_relative "CloudPDF/types/documents_import_from403response_error" require_relative "CloudPDF/types/documents_import_from403response" -require_relative "CloudPDF/types/documents_import_from502response_error" 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_error" 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_error" require_relative "CloudPDF/types/documents_get403response" -require_relative "CloudPDF/types/documents_get404response_error" require_relative "CloudPDF/types/documents_get404response" -require_relative "CloudPDF/types/documents_download403response_error" require_relative "CloudPDF/types/documents_download403response" -require_relative "CloudPDF/types/documents_download404response_error" require_relative "CloudPDF/types/documents_download404response" -require_relative "CloudPDF/types/documents_delete403response_error" require_relative "CloudPDF/types/documents_delete403response" -require_relative "CloudPDF/types/documents_delete404response_error" require_relative "CloudPDF/types/documents_delete404response" require_relative "CloudPDF/types/documents_thumbnail_response_error" require_relative "CloudPDF/types/documents_thumbnail_response" require_relative "CloudPDF/types/deployment_license_status_response" +require_relative "CloudPDF/types/tokens_issue_request_doc_identity" require_relative "CloudPDF/types/tokens_issue_request_doc" require_relative "CloudPDF/types/tokens_issue_request_tenant_scope_item_zero" require_relative "CloudPDF/types/tokens_issue_request_tenant_scope_item_one" @@ -221,58 +1232,37 @@ require_relative "CloudPDF/types/tokens_issue_request_tenant" require_relative "CloudPDF/types/tokens_issue_request" require_relative "CloudPDF/types/tokens_issue200response" -require_relative "CloudPDF/types/tokens_issue400response_error" require_relative "CloudPDF/types/tokens_issue400response" -require_relative "CloudPDF/types/tokens_issue403response_error" require_relative "CloudPDF/types/tokens_issue403response" -require_relative "CloudPDF/types/tokens_issue404response_error" require_relative "CloudPDF/types/tokens_issue404response" -require_relative "CloudPDF/types/tokens_revoke_response_error" 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_error" require_relative "CloudPDF/types/tenants_usage400response" -require_relative "CloudPDF/types/tenants_usage404response_error" require_relative "CloudPDF/types/tenants_usage404response" -require_relative "CloudPDF/types/tenants_suspend_response_error" require_relative "CloudPDF/types/tenants_suspend_response" -require_relative "CloudPDF/types/tenants_resume_response_error" require_relative "CloudPDF/types/tenants_resume_response" require_relative "CloudPDF/types/shares_create200response_share" require_relative "CloudPDF/types/shares_create200response" -require_relative "CloudPDF/types/shares_create400response_error" require_relative "CloudPDF/types/shares_create400response" -require_relative "CloudPDF/types/shares_create403response_error" require_relative "CloudPDF/types/shares_create403response" -require_relative "CloudPDF/types/shares_create404response_error" require_relative "CloudPDF/types/shares_create404response" require_relative "CloudPDF/types/shares_list200response_shares_item" require_relative "CloudPDF/types/shares_list200response" -require_relative "CloudPDF/types/shares_list400response_error" require_relative "CloudPDF/types/shares_list400response" require_relative "CloudPDF/types/shares_get200response_share" require_relative "CloudPDF/types/shares_get200response" -require_relative "CloudPDF/types/shares_get404response_error" require_relative "CloudPDF/types/shares_get404response" require_relative "CloudPDF/types/shares_update200response_share" require_relative "CloudPDF/types/shares_update200response" -require_relative "CloudPDF/types/shares_update400response_error" require_relative "CloudPDF/types/shares_update400response" -require_relative "CloudPDF/types/shares_update404response_error" require_relative "CloudPDF/types/shares_update404response" -require_relative "CloudPDF/types/shares_delete_response_error" require_relative "CloudPDF/types/shares_delete_response" require_relative "CloudPDF/types/shares_exchange200response" -require_relative "CloudPDF/types/shares_exchange400response_error" require_relative "CloudPDF/types/shares_exchange400response" -require_relative "CloudPDF/types/shares_exchange403response_error" require_relative "CloudPDF/types/shares_exchange403response" -require_relative "CloudPDF/types/shares_exchange404response_error" require_relative "CloudPDF/types/shares_exchange404response" -require_relative "CloudPDF/types/shares_exchange410response_error" require_relative "CloudPDF/types/shares_exchange410response" -require_relative "CloudPDF/types/shares_exchange422response_error" require_relative "CloudPDF/types/shares_exchange422response" require_relative "CloudPDF/types/doc_head200response_state" require_relative "CloudPDF/types/doc_head200response_encryption_state" @@ -282,37 +1272,32 @@ 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_name" -require_relative "CloudPDF/types/doc_head404response_code" 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" -require_relative "CloudPDF/types/doc_manifest200response_pages_item_state_revision" -require_relative "CloudPDF/types/doc_manifest200response_pages_item_state_weak_annotation_state_unknown" -require_relative "CloudPDF/types/doc_manifest200response_pages_item_state_weak_annotation_state_known" -require_relative "CloudPDF/types/doc_manifest200response_pages_item_state_weak_annotation_state" -require_relative "CloudPDF/types/doc_manifest200response_pages_item_state" +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_name" -require_relative "CloudPDF/types/doc_manifest404response_code" require_relative "CloudPDF/types/doc_manifest404response" -require_relative "CloudPDF/types/doc_metadata_get200response_trapped" require_relative "CloudPDF/types/doc_metadata_get200response" -require_relative "CloudPDF/types/doc_metadata_get404response_name" -require_relative "CloudPDF/types/doc_metadata_get404response_code" 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_signatures_list200response_revisions_item" -require_relative "CloudPDF/types/doc_signatures_list200response_signatures_item_field_object_number" -require_relative "CloudPDF/types/doc_signatures_list200response_signatures_item_field_fqn" -require_relative "CloudPDF/types/doc_signatures_list200response_signatures_item_field" -require_relative "CloudPDF/types/doc_signatures_list200response_signatures_item_widget" 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" @@ -331,8 +1316,6 @@ 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_name" -require_relative "CloudPDF/types/doc_signatures_list404response_code" require_relative "CloudPDF/types/doc_signatures_list404response" require_relative "CloudPDF/types/doc_signatures_analysis200response_mode" require_relative "CloudPDF/types/doc_signatures_analysis200response_basis_version" @@ -352,29 +1335,15 @@ 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_name" -require_relative "CloudPDF/types/doc_signatures_analysis400response_code" require_relative "CloudPDF/types/doc_signatures_analysis400response" -require_relative "CloudPDF/types/doc_signatures_analysis404response_name" -require_relative "CloudPDF/types/doc_signatures_analysis404response_code" 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_name" -require_relative "CloudPDF/types/doc_signatures_prepare400response_code" require_relative "CloudPDF/types/doc_signatures_prepare400response" -require_relative "CloudPDF/types/doc_signatures_prepare404response_name" -require_relative "CloudPDF/types/doc_signatures_prepare404response_code" require_relative "CloudPDF/types/doc_signatures_prepare404response" -require_relative "CloudPDF/types/doc_signatures_prepare409response_name" -require_relative "CloudPDF/types/doc_signatures_prepare409response_code" require_relative "CloudPDF/types/doc_signatures_prepare409response" require_relative "CloudPDF/types/doc_signatures_complete200response_status" -require_relative "CloudPDF/types/doc_signatures_complete200response_signature_field_object_number" -require_relative "CloudPDF/types/doc_signatures_complete200response_signature_field_fqn" -require_relative "CloudPDF/types/doc_signatures_complete200response_signature_field" -require_relative "CloudPDF/types/doc_signatures_complete200response_signature_widget" 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" @@ -394,41 +1363,18 @@ 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_meta_affected_pages_item_revision" -require_relative "CloudPDF/types/doc_signatures_complete200response_meta_affected_pages_item_weak_annotation_state_unknown" -require_relative "CloudPDF/types/doc_signatures_complete200response_meta_affected_pages_item_weak_annotation_state_known" -require_relative "CloudPDF/types/doc_signatures_complete200response_meta_affected_pages_item_weak_annotation_state" -require_relative "CloudPDF/types/doc_signatures_complete200response_meta_affected_pages_item" -require_relative "CloudPDF/types/doc_signatures_complete200response_meta_cache_delta_pages_item_cache" -require_relative "CloudPDF/types/doc_signatures_complete200response_meta_cache_delta_pages_item" -require_relative "CloudPDF/types/doc_signatures_complete200response_meta_cache_delta" -require_relative "CloudPDF/types/doc_signatures_complete200response_meta" require_relative "CloudPDF/types/doc_signatures_complete200response" -require_relative "CloudPDF/types/doc_signatures_complete400response_name" -require_relative "CloudPDF/types/doc_signatures_complete400response_code" require_relative "CloudPDF/types/doc_signatures_complete400response" -require_relative "CloudPDF/types/doc_signatures_complete404response_name" -require_relative "CloudPDF/types/doc_signatures_complete404response_code" require_relative "CloudPDF/types/doc_signatures_complete404response" -require_relative "CloudPDF/types/doc_signatures_complete409response_name" -require_relative "CloudPDF/types/doc_signatures_complete409response_code" require_relative "CloudPDF/types/doc_signatures_complete409response" -require_relative "CloudPDF/types/doc_signatures_abort200response_status" -require_relative "CloudPDF/types/doc_signatures_abort200response" -require_relative "CloudPDF/types/doc_signatures_abort404response_name" -require_relative "CloudPDF/types/doc_signatures_abort404response_code" -require_relative "CloudPDF/types/doc_signatures_abort404response" +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_name" -require_relative "CloudPDF/types/doc_versions_list404response_code" 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_field_object_number" -require_relative "CloudPDF/types/doc_versions_signatures200response_signatures_item_field_fqn" -require_relative "CloudPDF/types/doc_versions_signatures200response_signatures_item_field" -require_relative "CloudPDF/types/doc_versions_signatures200response_signatures_item_widget" 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" @@ -447,14 +1393,8 @@ 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_name" -require_relative "CloudPDF/types/doc_versions_signatures404response_code" require_relative "CloudPDF/types/doc_versions_signatures404response" -require_relative "CloudPDF/types/doc_versions_signature_contents_response_name" -require_relative "CloudPDF/types/doc_versions_signature_contents_response_code" require_relative "CloudPDF/types/doc_versions_signature_contents_response" -require_relative "CloudPDF/types/doc_versions_signature_digest_response_name" -require_relative "CloudPDF/types/doc_versions_signature_digest_response_code" 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" @@ -474,1532 +1414,267 @@ 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_name" -require_relative "CloudPDF/types/doc_versions_analysis400response_code" require_relative "CloudPDF/types/doc_versions_analysis400response" -require_relative "CloudPDF/types/doc_versions_analysis404response_name" -require_relative "CloudPDF/types/doc_versions_analysis404response_code" require_relative "CloudPDF/types/doc_versions_analysis404response" -require_relative "CloudPDF/types/doc_versions_download_response_name" -require_relative "CloudPDF/types/doc_versions_download_response_code" require_relative "CloudPDF/types/doc_versions_download_response" -require_relative "CloudPDF/types/doc_versions_revision_response_name" -require_relative "CloudPDF/types/doc_versions_revision_response_code" require_relative "CloudPDF/types/doc_versions_revision_response" -require_relative "CloudPDF/types/doc_render_response_name" -require_relative "CloudPDF/types/doc_render_response_code" require_relative "CloudPDF/types/doc_render_response" require_relative "CloudPDF/types/doc_text200response" -require_relative "CloudPDF/types/doc_text404response_name" -require_relative "CloudPDF/types/doc_text404response_code" require_relative "CloudPDF/types/doc_text404response" -require_relative "CloudPDF/types/doc_annotations_list200response_page_state_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_page_state_weak_annotation_state_unknown" -require_relative "CloudPDF/types/doc_annotations_list200response_page_state_weak_annotation_state_known" -require_relative "CloudPDF/types/doc_annotations_list200response_page_state_weak_annotation_state" -require_relative "CloudPDF/types/doc_annotations_list200response_page_state" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_ref_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_ref" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_flags" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_rect" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_reply_type" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_color" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_quad_points_item_p1" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_quad_points_item_p2" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_quad_points_item_p3" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_quad_points_item_p4" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_highlight_quad_points_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_highlight" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_underline_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_underline_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_underline_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_underline_ref_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_underline_ref" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_underline_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_underline_flags" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_underline_rect" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_underline_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_underline_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_underline_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_underline_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_underline_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_underline_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_underline_reply_type" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_underline_color" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_underline_quad_points_item_p1" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_underline_quad_points_item_p2" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_underline_quad_points_item_p3" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_underline_quad_points_item_p4" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_underline_quad_points_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_underline" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_ref_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_ref" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_flags" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_rect" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_reply_type" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_color" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_quad_points_item_p1" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_quad_points_item_p2" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_quad_points_item_p3" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_quad_points_item_p4" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly_quad_points_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_squiggly" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_ref_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_ref" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_flags" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_rect" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_reply_type" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_color" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_quad_points_item_p1" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_quad_points_item_p2" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_quad_points_item_p3" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_quad_points_item_p4" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_quad_points_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout_intent" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_strikeout" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_circle_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_circle_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_circle_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_circle_ref_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_circle_ref" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_circle_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_circle_flags" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_circle_rect" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_circle_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_circle_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_circle_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_circle_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_circle_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_circle_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_circle_reply_type" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_circle_color" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_circle_border_style" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_circle_interior_color" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_circle_rect_differences" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_circle_unrotated_rect" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_circle" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_square_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_square_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_square_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_square_ref_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_square_ref" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_square_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_square_flags" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_square_rect" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_square_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_square_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_square_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_square_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_square_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_square_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_square_reply_type" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_square_color" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_square_border_style" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_square_interior_color" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_square_rect_differences" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_square_unrotated_rect" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_square" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_intent" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_x_item_fraction" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_x_item_label_position" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_x_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_y_item_fraction" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_y_item_label_position" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_y_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_distance_item_fraction" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_distance_item_label_position" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_distance_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_area_item_fraction" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_area_item_label_position" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_area_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_angle_item_fraction" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_angle_item_label_position" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_angle_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_slope_item_fraction" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_slope_item_label_position" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_slope_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl_origin" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_rl" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_geo" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure_unknown" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_measure" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_caption_center" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_caption" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_ref_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_ref" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_flags" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_rect" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_reply_type" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_color" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_border_style" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_interior_color" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon_vertices_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polygon" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_intent" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_x_item_fraction" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_x_item_label_position" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_x_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_y_item_fraction" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_y_item_label_position" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_y_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_distance_item_fraction" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_distance_item_label_position" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_distance_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_area_item_fraction" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_area_item_label_position" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_area_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_angle_item_fraction" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_angle_item_label_position" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_angle_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_slope_item_fraction" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_slope_item_label_position" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_slope_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl_origin" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_rl" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_geo" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure_unknown" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_measure" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_caption_center" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_caption" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_ref_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_ref" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_flags" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_rect" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_reply_type" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_color" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_border_style" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_interior_color" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_vertices_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_line_endings_start" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_line_endings_end" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline_line_endings" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_polyline" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_intent" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_x_item_fraction" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_x_item_label_position" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_x_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_y_item_fraction" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_y_item_label_position" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_y_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_distance_item_fraction" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_distance_item_label_position" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_distance_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_area_item_fraction" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_area_item_label_position" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_area_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_angle_item_fraction" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_angle_item_label_position" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_angle_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_slope_item_fraction" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_slope_item_label_position" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_slope_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl_origin" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_rl" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_geo" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure_unknown" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_measure" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_caption_position" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_caption_offset" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_caption" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_leader" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_ref_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_ref" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_flags" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_rect" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_reply_type" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_color" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_border_style" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_interior_color" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_line_points_start" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_line_points_end" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_line_points" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_line_endings_start" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_line_endings_end" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line_line_endings" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_line" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_link_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_link_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_link_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_link_ref_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_link_ref" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_link_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_link_flags" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_link_rect" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_link_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_link_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_link_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_link_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_link_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_link_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_link_reply_type" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_link_target_goto" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_link_target_uri" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_link_target_goto_remote" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_link_target_launch" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_link_target_javascript" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_link_target_named" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_link_target_unsupported" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_link_target" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_link" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_ink_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_ink_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_ink_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_ink_ref_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_ink_ref" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_ink_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_ink_flags" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_ink_rect" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_ink_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_ink_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_ink_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_ink_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_ink_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_ink_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_ink_reply_type" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_ink_color" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_ink_border_style" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_ink_intent" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_ink_ink_list_item_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_ink" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_ref_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_ref" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_flags" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rect" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_reply_type" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_intent" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_text_align" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_body_decoration_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_body_script" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_body_align" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_body_dir" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_body_margins" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_body" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item_align" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item_dir" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item_margins" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item_runs_957038" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item_runs_0dedd5" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item_runs_fd1f6a" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item_runs_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text_paragraphs_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rich_text" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_color" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_font_color" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_interior_color" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_border_style" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_rect_differences" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_line_ending" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text_unrotated_rect" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_free_text" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_caret_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_caret_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_caret_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_caret_ref_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_caret_ref" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_caret_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_caret_flags" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_caret_rect" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_caret_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_caret_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_caret_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_caret_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_caret_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_caret_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_caret_reply_type" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_caret_color" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_caret_intent" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_caret_rect_differences" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_caret_unrotated_rect" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_caret" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_text_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_text_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_text_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_text_ref_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_text_ref" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_text_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_text_flags" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_text_rect" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_text_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_text_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_text_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_text_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_text_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_text_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_text_reply_type" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_text_color" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_text_icon" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_text" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_ref_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_ref" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_flags" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_rect" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_reply_type" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_stamp_unrotated_rect" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_stamp" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_ref_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_ref" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_flags" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_rect" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_reply_type" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_color" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_icon" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment_file" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_file_attachment" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_widget_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_widget_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_widget_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_widget_ref_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_widget_ref" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_widget_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_widget_flags" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_widget_rect" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_widget_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_widget_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_widget_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_widget_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_widget_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_widget_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_widget_reply_type" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_widget_color" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_widget_interior_color" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_widget_border_style" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_widget_font_family" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_widget_font_color" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_widget_text_align" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_widget_field_family" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_widget" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_redact_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_redact_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_redact_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_redact_ref_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_redact_ref" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_redact_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_redact_flags" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_redact_rect" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_redact_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_redact_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_redact_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_redact_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_redact_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_redact_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_redact_reply_type" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_redact_quad_points_item_p1" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_redact_quad_points_item_p2" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_redact_quad_points_item_p3" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_redact_quad_points_item_p4" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_redact_quad_points_item" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_redact_color" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_redact_interior_color" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_redact_font_family" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_redact_font_color" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_redact_text_align" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_redact" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_ref_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_ref" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_flags" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_rect" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported_reply_type" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item_unsupported" -require_relative "CloudPDF/types/doc_annotations_list200response_annotations_item" require_relative "CloudPDF/types/doc_annotations_list200response" -require_relative "CloudPDF/types/doc_annotations_list404response_name" -require_relative "CloudPDF/types/doc_annotations_list404response_code" require_relative "CloudPDF/types/doc_annotations_list404response" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_page_state_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_page_state_weak_annotation_state_unknown" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_page_state_weak_annotation_state_known" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_page_state_weak_annotation_state" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_page_state" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_ref_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_ref" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_flags" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_rect" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_in_reply_to_obje_f048d6" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_in_reply_to_inde_efa0a1" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_reply_type" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_color" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_quad_points_item_p1" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_quad_points_item_p2" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_quad_points_item_p3" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_quad_points_item_p4" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight_quad_points_item" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_highlight" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_ref_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_ref" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_flags" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_rect" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_in_reply_to_obje_78ad9a" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_in_reply_to_inde_fb8bd5" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_reply_type" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_color" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_quad_points_item_p1" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_quad_points_item_p2" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_quad_points_item_p3" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_quad_points_item_p4" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline_quad_points_item" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_underline" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_ref_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_ref" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_flags" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_rect" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_in_reply_to_objec_dc998d" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_in_reply_to_index_aa1629" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_reply_type" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_color" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_quad_points_item_p1" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_quad_points_item_p2" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_quad_points_item_p3" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_quad_points_item_p4" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly_quad_points_item" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_squiggly" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_ref_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_ref" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_flags" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_rect" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_in_reply_to_obje_3db1d1" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_in_reply_to_inde_599aa7" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_reply_type" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_color" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_quad_points_item_p1" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_quad_points_item_p2" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_quad_points_item_p3" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_quad_points_item_p4" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_quad_points_item" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout_intent" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_strikeout" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_ref_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_ref" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_flags" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_rect" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_reply_type" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_color" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_border_style" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_interior_color" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_rect_differences" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle_unrotated_rect" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_circle" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_ref_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_ref" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_flags" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_rect" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_reply_type" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_color" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_border_style" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_interior_color" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_rect_differences" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square_unrotated_rect" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_square" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_intent" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_x_item_51708d" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_x_item_c96251" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_x_item" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_y_item_9240d1" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_y_item_ea2e1e" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_y_item" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_distanc_9963f3" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_distanc_1d0fa3" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_distance_item" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_area_it_0a704d" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_area_it_98086c" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_area_item" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_angle_i_213607" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_angle_i_f4f709" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_angle_item" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_slope_i_4ce4a3" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_slope_i_115a02" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_slope_item" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl_origin" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_rl" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_geo" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure_unknown" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_measure" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_caption_center" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_caption" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_ref_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_ref" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_flags" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_rect" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_in_reply_to_index_5b450e" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_reply_type" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_color" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_border_style" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_interior_color" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon_vertices_item" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polygon" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_intent" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_x_item_29ee31" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_x_item_c0fc02" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_x_item" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_y_item_5aa477" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_y_item_33a5da" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_y_item" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_distan_22b16f" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_distan_9bbe1e" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_distance_item" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_area_i_29d650" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_area_i_acb235" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_area_item" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_angle_5bb25f" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_angle_5f9ed6" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_angle_item" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_slope_2b8768" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_slope_8ec9f0" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_slope_item" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl_origin" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_rl" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_geo" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure_unknown" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_measure" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_caption_center" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_caption" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_ref_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_ref" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_flags" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_rect" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_in_reply_to_objec_ec3de4" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_in_reply_to_index_645ec1" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_reply_type" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_color" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_border_style" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_interior_color" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_vertices_item" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_line_endings_start" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_line_endings_end" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline_line_endings" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_polyline" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_intent" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_x_item_fraction" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_x_item_lab_dc7fb0" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_x_item" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_y_item_fraction" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_y_item_lab_da4937" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_y_item" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_distance_i_c9b4fc" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_distance_i_580373" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_distance_item" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_area_item_b687a2" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_area_item_2c46b5" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_area_item" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_angle_item_653de0" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_angle_item_3a6bbb" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_angle_item" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_slope_item_c2b452" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_slope_item_bad341" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_slope_item" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl_origin" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_rl" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_geo" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure_unknown" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_measure" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_caption_position" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_caption_offset" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_caption" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_leader" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_ref_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_ref" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_flags" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_rect" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_reply_type" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_color" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_border_style" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_interior_color" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_line_points_start" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_line_points_end" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_line_points" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_line_endings_start" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_line_endings_end" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line_line_endings" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_line" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_ref_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_ref" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_flags" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_rect" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_reply_type" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target_goto" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target_uri" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target_goto_remote" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target_launch" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target_javascript" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target_named" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target_unsupported" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link_target" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_link" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_ref_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_ref" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_flags" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_rect" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_reply_type" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_color" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_border_style" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_intent" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink_ink_list_item_item" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_ink" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_ref_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_ref" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_flags" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rect" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_in_reply_to_obje_88252a" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_in_reply_to_inde_5219ca" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_reply_type" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_intent" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_text_align" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_body_d_27cc8f" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_body_script" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_body_align" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_body_dir" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_body_margins" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_body" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_d0e05b" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_2ecf2a" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_aa2697" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_182642" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_84e1e5" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_1e6df8" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_99744f" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text_paragr_e928ea" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rich_text" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_color" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_font_color" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_interior_color" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_border_style" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_rect_differences" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_line_ending" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text_unrotated_rect" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_free_text" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_ref_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_ref" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_flags" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_rect" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_reply_type" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_color" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_intent" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_rect_differences" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret_unrotated_rect" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_caret" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_ref_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_ref" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_flags" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_rect" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_reply_type" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_color" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text_icon" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_text" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_ref_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_ref" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_flags" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_rect" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_reply_type" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp_unrotated_rect" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_stamp" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_ref_index_2af29e" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_ref_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_ref" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_flags" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_rect" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_in_reply_t_795f07" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_in_reply_t_8c8dea" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_reply_type" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_color" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_icon" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment_file" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_file_attachment" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_ref_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_ref" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_flags" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_rect" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_reply_type" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_color" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_interior_color" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_border_style" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_font_family" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_font_color" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_text_align" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget_field_family" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_widget" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_ref_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_ref" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_flags" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_rect" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_in_reply_to_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_in_reply_to_index_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_reply_type" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_quad_points_item_p1" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_quad_points_item_p2" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_quad_points_item_p3" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_quad_points_item_p4" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_quad_points_item" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_color" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_interior_color" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_font_family" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_font_color" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact_text_align" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_redact" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_ref_object_number" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_ref_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_ref_index_revision" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_ref_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_ref" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_identity_quality" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_flags" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_rect" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_blend_mode" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_in_reply_to_ob_fe7f51" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_in_reply_to_nm" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_in_reply_to_in_54e3a3" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_in_reply_to_index" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_in_reply_to" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported_reply_type" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item_unsupported" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item_annotations_item" -require_relative "CloudPDF/types/doc_annotations_list_all200response_pages_item" require_relative "CloudPDF/types/doc_annotations_list_all200response" -require_relative "CloudPDF/types/doc_annotations_list_all404response_name" -require_relative "CloudPDF/types/doc_annotations_list_all404response_code" require_relative "CloudPDF/types/doc_annotations_list_all404response" -require_relative "CloudPDF/types/doc_annotations_list_all409response_name" -require_relative "CloudPDF/types/doc_annotations_list_all409response_code" 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_annotations_create_request" -require_relative "CloudPDF/types/doc_annotations_create200response_meta_affected_pages_item_revision" -require_relative "CloudPDF/types/doc_annotations_create200response_meta_affected_pages_item_weak_annotation_state_unknown" -require_relative "CloudPDF/types/doc_annotations_create200response_meta_affected_pages_item_weak_annotation_state_known" -require_relative "CloudPDF/types/doc_annotations_create200response_meta_affected_pages_item_weak_annotation_state" -require_relative "CloudPDF/types/doc_annotations_create200response_meta_affected_pages_item" -require_relative "CloudPDF/types/doc_annotations_create200response_meta_cache_delta_pages_item_cache" -require_relative "CloudPDF/types/doc_annotations_create200response_meta_cache_delta_pages_item" -require_relative "CloudPDF/types/doc_annotations_create200response_meta_cache_delta" -require_relative "CloudPDF/types/doc_annotations_create200response_meta" require_relative "CloudPDF/types/doc_annotations_create200response" -require_relative "CloudPDF/types/doc_annotations_create400response_name" -require_relative "CloudPDF/types/doc_annotations_create400response_code" require_relative "CloudPDF/types/doc_annotations_create400response" -require_relative "CloudPDF/types/doc_annotations_create404response_name" -require_relative "CloudPDF/types/doc_annotations_create404response_code" require_relative "CloudPDF/types/doc_annotations_create404response" require_relative "CloudPDF/types/doc_annotations_update_request" -require_relative "CloudPDF/types/doc_annotations_update200response_meta_affected_pages_item_revision" -require_relative "CloudPDF/types/doc_annotations_update200response_meta_affected_pages_item_weak_annotation_state_unknown" -require_relative "CloudPDF/types/doc_annotations_update200response_meta_affected_pages_item_weak_annotation_state_known" -require_relative "CloudPDF/types/doc_annotations_update200response_meta_affected_pages_item_weak_annotation_state" -require_relative "CloudPDF/types/doc_annotations_update200response_meta_affected_pages_item" -require_relative "CloudPDF/types/doc_annotations_update200response_meta_cache_delta_pages_item_cache" -require_relative "CloudPDF/types/doc_annotations_update200response_meta_cache_delta_pages_item" -require_relative "CloudPDF/types/doc_annotations_update200response_meta_cache_delta" -require_relative "CloudPDF/types/doc_annotations_update200response_meta" +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_name" -require_relative "CloudPDF/types/doc_annotations_update400response_code" require_relative "CloudPDF/types/doc_annotations_update400response" -require_relative "CloudPDF/types/doc_annotations_update404response_name" -require_relative "CloudPDF/types/doc_annotations_update404response_code" require_relative "CloudPDF/types/doc_annotations_update404response" -require_relative "CloudPDF/types/doc_annotations_delete200response_meta_affected_pages_item_revision" -require_relative "CloudPDF/types/doc_annotations_delete200response_meta_affected_pages_item_weak_annotation_state_unknown" -require_relative "CloudPDF/types/doc_annotations_delete200response_meta_affected_pages_item_weak_annotation_state_known" -require_relative "CloudPDF/types/doc_annotations_delete200response_meta_affected_pages_item_weak_annotation_state" -require_relative "CloudPDF/types/doc_annotations_delete200response_meta_affected_pages_item" -require_relative "CloudPDF/types/doc_annotations_delete200response_meta_cache_delta_pages_item_cache" -require_relative "CloudPDF/types/doc_annotations_delete200response_meta_cache_delta_pages_item" -require_relative "CloudPDF/types/doc_annotations_delete200response_meta_cache_delta" -require_relative "CloudPDF/types/doc_annotations_delete200response_meta" require_relative "CloudPDF/types/doc_annotations_delete200response" -require_relative "CloudPDF/types/doc_annotations_delete404response_name" -require_relative "CloudPDF/types/doc_annotations_delete404response_code" 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_flatten_request" -require_relative "CloudPDF/types/doc_annotations_flatten200response_meta_affected_pages_item_revision" -require_relative "CloudPDF/types/doc_annotations_flatten200response_meta_affected_pages_item_weak_annotation_state_unknown" -require_relative "CloudPDF/types/doc_annotations_flatten200response_meta_affected_pages_item_weak_annotation_state_known" -require_relative "CloudPDF/types/doc_annotations_flatten200response_meta_affected_pages_item_weak_annotation_state" -require_relative "CloudPDF/types/doc_annotations_flatten200response_meta_affected_pages_item" -require_relative "CloudPDF/types/doc_annotations_flatten200response_meta_cache_delta_pages_item_cache" -require_relative "CloudPDF/types/doc_annotations_flatten200response_meta_cache_delta_pages_item" -require_relative "CloudPDF/types/doc_annotations_flatten200response_meta_cache_delta" -require_relative "CloudPDF/types/doc_annotations_flatten200response_meta" +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_name" -require_relative "CloudPDF/types/doc_annotations_flatten400response_code" require_relative "CloudPDF/types/doc_annotations_flatten400response" -require_relative "CloudPDF/types/doc_annotations_flatten404response_name" -require_relative "CloudPDF/types/doc_annotations_flatten404response_code" require_relative "CloudPDF/types/doc_annotations_flatten404response" require_relative "CloudPDF/types/doc_annotations_export_appearance_request" -require_relative "CloudPDF/types/doc_annotations_export_appearance400response_name" -require_relative "CloudPDF/types/doc_annotations_export_appearance400response_code" require_relative "CloudPDF/types/doc_annotations_export_appearance400response" -require_relative "CloudPDF/types/doc_annotations_export_appearance404response_name" -require_relative "CloudPDF/types/doc_annotations_export_appearance404response_code" require_relative "CloudPDF/types/doc_annotations_export_appearance404response" -require_relative "CloudPDF/types/doc_forms_get200response_form_kind" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_text_ref_object_number" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_text_ref_fqn" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_text_ref" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_text_origin" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_text_flags" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_text_value_entry_none" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_text_value_entry_scalar" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_text_value_entry_array" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_text_value_entry_unsupported" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_text_value_entry" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_text_default_value_entry_none" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_text_default_value_entry_scalar" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_text_default_value_entry_array" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_text_default_value_entry_unsupported" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_text_default_value_entry" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_text_widgets_item" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_text" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_checkbox_ref_object_number" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_checkbox_ref_fqn" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_checkbox_ref" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_checkbox_origin" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_checkbox_flags" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_checkbox_value_entry_none" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_checkbox_value_entry_scalar" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_checkbox_value_entry_array" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_checkbox_value_entry_unsupported" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_checkbox_value_entry" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_checkbox_default_value_entry_none" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_checkbox_default_value_entry_scalar" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_checkbox_default_value_entry_array" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_checkbox_default_value_entry_unsupported" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_checkbox_default_value_entry" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_checkbox_widgets_item" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_checkbox" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_radio_ref_object_number" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_radio_ref_fqn" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_radio_ref" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_radio_origin" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_radio_flags" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_radio_value_entry_none" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_radio_value_entry_scalar" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_radio_value_entry_array" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_radio_value_entry_unsupported" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_radio_value_entry" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_radio_default_value_entry_none" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_radio_default_value_entry_scalar" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_radio_default_value_entry_array" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_radio_default_value_entry_unsupported" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_radio_default_value_entry" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_radio_widgets_item" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_radio" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_combobox_ref_object_number" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_combobox_ref_fqn" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_combobox_ref" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_combobox_origin" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_combobox_flags" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_combobox_value_entry_none" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_combobox_value_entry_scalar" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_combobox_value_entry_array" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_combobox_value_entry_unsupported" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_combobox_value_entry" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_combobox_default_value_entry_none" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_combobox_default_value_entry_scalar" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_combobox_default_value_entry_array" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_combobox_default_value_entry_unsupported" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_combobox_default_value_entry" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_combobox_widgets_item" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_combobox_options_item" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_combobox" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_listbox_ref_object_number" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_listbox_ref_fqn" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_listbox_ref" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_listbox_origin" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_listbox_flags" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_listbox_value_entry_none" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_listbox_value_entry_scalar" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_listbox_value_entry_array" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_listbox_value_entry_unsupported" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_listbox_value_entry" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_listbox_default_value_entry_none" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_listbox_default_value_entry_scalar" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_listbox_default_value_entry_array" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_listbox_default_value_entry_unsupported" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_listbox_default_value_entry" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_listbox_widgets_item" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_listbox_options_item" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_listbox" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_ref_object_number" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_ref_fqn" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_ref" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_origin" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_flags" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_value_entry_none" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_value_entry_scalar" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_value_entry_array" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_value_entry_unsupported" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_value_entry" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_default_value_entry_none" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_default_value_entry_scalar" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_default_value_entry_array" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_default_value_entry_unsupported" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_default_value_entry" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_pushbutton_widgets_item" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_pushbutton" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_signature_ref_object_number" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_signature_ref_fqn" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_signature_ref" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_signature_origin" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_signature_flags" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_signature_value_entry_none" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_signature_value_entry_scalar" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_signature_value_entry_array" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_signature_value_entry_unsupported" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_signature_value_entry" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_signature_default_value_entry_none" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_signature_default_value_entry_scalar" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_signature_default_value_entry_array" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_signature_default_value_entry_unsupported" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_signature_default_value_entry" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_signature_widgets_item" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_signature" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_unknown_ref_object_number" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_unknown_ref_fqn" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_unknown_ref" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_unknown_origin" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_unknown_flags" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_unknown_value_entry_none" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_unknown_value_entry_scalar" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_unknown_value_entry_array" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_unknown_value_entry_unsupported" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_unknown_value_entry" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_unknown_default_value_entry_none" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_unknown_default_value_entry_scalar" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_unknown_default_value_entry_array" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_unknown_default_value_entry_unsupported" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_unknown_default_value_entry" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_unknown_widgets_item" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item_unknown" -require_relative "CloudPDF/types/doc_forms_get200response_fields_item" -require_relative "CloudPDF/types/doc_forms_get200response_calculation_order_item_object_number" -require_relative "CloudPDF/types/doc_forms_get200response_calculation_order_item_fqn" -require_relative "CloudPDF/types/doc_forms_get200response_calculation_order_item" -require_relative "CloudPDF/types/doc_forms_get200response" -require_relative "CloudPDF/types/doc_forms_get404response_name" -require_relative "CloudPDF/types/doc_forms_get404response_code" -require_relative "CloudPDF/types/doc_forms_get404response" +require_relative "CloudPDF/types/doc_annotations_read_appearance400response" +require_relative "CloudPDF/types/doc_annotations_read_appearance404response" +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_set_value_request" -require_relative "CloudPDF/types/doc_forms_set_value200response_meta_affected_pages_item_revision" -require_relative "CloudPDF/types/doc_forms_set_value200response_meta_affected_pages_item_weak_annotation_state_unknown" -require_relative "CloudPDF/types/doc_forms_set_value200response_meta_affected_pages_item_weak_annotation_state_known" -require_relative "CloudPDF/types/doc_forms_set_value200response_meta_affected_pages_item_weak_annotation_state" -require_relative "CloudPDF/types/doc_forms_set_value200response_meta_affected_pages_item" -require_relative "CloudPDF/types/doc_forms_set_value200response_meta_cache_delta_pages_item_cache" -require_relative "CloudPDF/types/doc_forms_set_value200response_meta_cache_delta_pages_item" -require_relative "CloudPDF/types/doc_forms_set_value200response_meta_cache_delta" -require_relative "CloudPDF/types/doc_forms_set_value200response_meta" require_relative "CloudPDF/types/doc_forms_set_value200response" -require_relative "CloudPDF/types/doc_forms_set_value400response_name" -require_relative "CloudPDF/types/doc_forms_set_value400response_code" require_relative "CloudPDF/types/doc_forms_set_value400response" -require_relative "CloudPDF/types/doc_forms_set_value404response_name" -require_relative "CloudPDF/types/doc_forms_set_value404response_code" require_relative "CloudPDF/types/doc_forms_set_value404response" -require_relative "CloudPDF/types/doc_forms_reset200response_meta_affected_pages_item_revision" -require_relative "CloudPDF/types/doc_forms_reset200response_meta_affected_pages_item_weak_annotation_state_unknown" -require_relative "CloudPDF/types/doc_forms_reset200response_meta_affected_pages_item_weak_annotation_state_known" -require_relative "CloudPDF/types/doc_forms_reset200response_meta_affected_pages_item_weak_annotation_state" -require_relative "CloudPDF/types/doc_forms_reset200response_meta_affected_pages_item" -require_relative "CloudPDF/types/doc_forms_reset200response_meta_cache_delta_pages_item_cache" -require_relative "CloudPDF/types/doc_forms_reset200response_meta_cache_delta_pages_item" -require_relative "CloudPDF/types/doc_forms_reset200response_meta_cache_delta" -require_relative "CloudPDF/types/doc_forms_reset200response_meta" +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_reset404response_name" -require_relative "CloudPDF/types/doc_forms_reset404response_code" +require_relative "CloudPDF/types/doc_forms_reset400response" require_relative "CloudPDF/types/doc_forms_reset404response" -require_relative "CloudPDF/types/doc_forms_export_data_response_name" -require_relative "CloudPDF/types/doc_forms_export_data_response_code" -require_relative "CloudPDF/types/doc_forms_export_data_response" -require_relative "CloudPDF/types/doc_forms_import_data_request" -require_relative "CloudPDF/types/doc_forms_import_data200response_meta_affected_pages_item_revision" -require_relative "CloudPDF/types/doc_forms_import_data200response_meta_affected_pages_item_weak_annotation_state_unknown" -require_relative "CloudPDF/types/doc_forms_import_data200response_meta_affected_pages_item_weak_annotation_state_known" -require_relative "CloudPDF/types/doc_forms_import_data200response_meta_affected_pages_item_weak_annotation_state" -require_relative "CloudPDF/types/doc_forms_import_data200response_meta_affected_pages_item" -require_relative "CloudPDF/types/doc_forms_import_data200response_meta_cache_delta_pages_item_cache" -require_relative "CloudPDF/types/doc_forms_import_data200response_meta_cache_delta_pages_item" -require_relative "CloudPDF/types/doc_forms_import_data200response_meta_cache_delta" -require_relative "CloudPDF/types/doc_forms_import_data200response_meta" -require_relative "CloudPDF/types/doc_forms_import_data200response" -require_relative "CloudPDF/types/doc_forms_import_data400response_name" -require_relative "CloudPDF/types/doc_forms_import_data400response_code" -require_relative "CloudPDF/types/doc_forms_import_data400response" -require_relative "CloudPDF/types/doc_forms_import_data404response_name" -require_relative "CloudPDF/types/doc_forms_import_data404response_code" -require_relative "CloudPDF/types/doc_forms_import_data404response" -require_relative "CloudPDF/types/doc_pages_viewports200response_item_bbox" -require_relative "CloudPDF/types/doc_pages_viewports200response_item_measure_rl_x_item_fraction" -require_relative "CloudPDF/types/doc_pages_viewports200response_item_measure_rl_x_item_label_position" -require_relative "CloudPDF/types/doc_pages_viewports200response_item_measure_rl_x_item" -require_relative "CloudPDF/types/doc_pages_viewports200response_item_measure_rl_y_item_fraction" -require_relative "CloudPDF/types/doc_pages_viewports200response_item_measure_rl_y_item_label_position" -require_relative "CloudPDF/types/doc_pages_viewports200response_item_measure_rl_y_item" -require_relative "CloudPDF/types/doc_pages_viewports200response_item_measure_rl_distance_item_fraction" -require_relative "CloudPDF/types/doc_pages_viewports200response_item_measure_rl_distance_item_label_position" -require_relative "CloudPDF/types/doc_pages_viewports200response_item_measure_rl_distance_item" -require_relative "CloudPDF/types/doc_pages_viewports200response_item_measure_rl_area_item_fraction" -require_relative "CloudPDF/types/doc_pages_viewports200response_item_measure_rl_area_item_label_position" -require_relative "CloudPDF/types/doc_pages_viewports200response_item_measure_rl_area_item" -require_relative "CloudPDF/types/doc_pages_viewports200response_item_measure_rl_angle_item_fraction" -require_relative "CloudPDF/types/doc_pages_viewports200response_item_measure_rl_angle_item_label_position" -require_relative "CloudPDF/types/doc_pages_viewports200response_item_measure_rl_angle_item" -require_relative "CloudPDF/types/doc_pages_viewports200response_item_measure_rl_slope_item_fraction" -require_relative "CloudPDF/types/doc_pages_viewports200response_item_measure_rl_slope_item_label_position" -require_relative "CloudPDF/types/doc_pages_viewports200response_item_measure_rl_slope_item" -require_relative "CloudPDF/types/doc_pages_viewports200response_item_measure_rl_origin" -require_relative "CloudPDF/types/doc_pages_viewports200response_item_measure_rl" -require_relative "CloudPDF/types/doc_pages_viewports200response_item_measure_geo" -require_relative "CloudPDF/types/doc_pages_viewports200response_item_measure_unknown" -require_relative "CloudPDF/types/doc_pages_viewports200response_item_measure" -require_relative "CloudPDF/types/doc_pages_viewports200response_item" +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_name" -require_relative "CloudPDF/types/doc_pages_viewports404response_code" require_relative "CloudPDF/types/doc_pages_viewports404response" -require_relative "CloudPDF/types/doc_pages_set_scale200response_meta_affected_pages_item_revision" -require_relative "CloudPDF/types/doc_pages_set_scale200response_meta_affected_pages_item_weak_annotation_state_unknown" -require_relative "CloudPDF/types/doc_pages_set_scale200response_meta_affected_pages_item_weak_annotation_state_known" -require_relative "CloudPDF/types/doc_pages_set_scale200response_meta_affected_pages_item_weak_annotation_state" -require_relative "CloudPDF/types/doc_pages_set_scale200response_meta_affected_pages_item" -require_relative "CloudPDF/types/doc_pages_set_scale200response_meta_cache_delta_pages_item_cache" -require_relative "CloudPDF/types/doc_pages_set_scale200response_meta_cache_delta_pages_item" -require_relative "CloudPDF/types/doc_pages_set_scale200response_meta_cache_delta" -require_relative "CloudPDF/types/doc_pages_set_scale200response_meta" require_relative "CloudPDF/types/doc_pages_set_scale200response" -require_relative "CloudPDF/types/doc_pages_set_scale400response_name" -require_relative "CloudPDF/types/doc_pages_set_scale400response_code" require_relative "CloudPDF/types/doc_pages_set_scale400response" -require_relative "CloudPDF/types/doc_pages_set_scale404response_name" -require_relative "CloudPDF/types/doc_pages_set_scale404response_code" require_relative "CloudPDF/types/doc_pages_set_scale404response" -require_relative "CloudPDF/types/doc_pages_move_request" -require_relative "CloudPDF/types/doc_pages_move200response_meta_affected_pages_item_revision" -require_relative "CloudPDF/types/doc_pages_move200response_meta_affected_pages_item_weak_annotation_state_unknown" -require_relative "CloudPDF/types/doc_pages_move200response_meta_affected_pages_item_weak_annotation_state_known" -require_relative "CloudPDF/types/doc_pages_move200response_meta_affected_pages_item_weak_annotation_state" -require_relative "CloudPDF/types/doc_pages_move200response_meta_affected_pages_item" -require_relative "CloudPDF/types/doc_pages_move200response_meta_cache_delta_pages_item_cache" -require_relative "CloudPDF/types/doc_pages_move200response_meta_cache_delta_pages_item" -require_relative "CloudPDF/types/doc_pages_move200response_meta_cache_delta" -require_relative "CloudPDF/types/doc_pages_move200response_meta" -require_relative "CloudPDF/types/doc_pages_move200response" -require_relative "CloudPDF/types/doc_pages_move400response_name" -require_relative "CloudPDF/types/doc_pages_move400response_code" -require_relative "CloudPDF/types/doc_pages_move400response" -require_relative "CloudPDF/types/doc_pages_move404response_name" -require_relative "CloudPDF/types/doc_pages_move404response_code" -require_relative "CloudPDF/types/doc_pages_move404response" +require_relative "CloudPDF/types/doc_pages_reorder200response_layout_pages_item_size" +require_relative "CloudPDF/types/doc_pages_reorder200response_layout_pages_item_tab_order" +require_relative "CloudPDF/types/doc_pages_reorder200response_layout_pages_item_boxes_media" +require_relative "CloudPDF/types/doc_pages_reorder200response_layout_pages_item_boxes_crop" +require_relative "CloudPDF/types/doc_pages_reorder200response_layout_pages_item_boxes_bleed" +require_relative "CloudPDF/types/doc_pages_reorder200response_layout_pages_item_boxes_trim" +require_relative "CloudPDF/types/doc_pages_reorder200response_layout_pages_item_boxes_art" +require_relative "CloudPDF/types/doc_pages_reorder200response_layout_pages_item_boxes" +require_relative "CloudPDF/types/doc_pages_reorder200response_layout_pages_item_pdf_crop_box" +require_relative "CloudPDF/types/doc_pages_reorder200response_layout_pages_item" +require_relative "CloudPDF/types/doc_pages_reorder200response_layout_named_pages_item_target_page" +require_relative "CloudPDF/types/doc_pages_reorder200response_layout_named_pages_item_target_template" +require_relative "CloudPDF/types/doc_pages_reorder200response_layout_named_pages_item_target_dangling" +require_relative "CloudPDF/types/doc_pages_reorder200response_layout_named_pages_item_target" +require_relative "CloudPDF/types/doc_pages_reorder200response_layout_named_pages_item" +require_relative "CloudPDF/types/doc_pages_reorder200response_layout" +require_relative "CloudPDF/types/doc_pages_reorder200response" +require_relative "CloudPDF/types/doc_pages_reorder400response" +require_relative "CloudPDF/types/doc_pages_reorder404response" require_relative "CloudPDF/types/doc_pages_rotate_request" -require_relative "CloudPDF/types/doc_pages_rotate200response_meta_affected_pages_item_revision" -require_relative "CloudPDF/types/doc_pages_rotate200response_meta_affected_pages_item_weak_annotation_state_unknown" -require_relative "CloudPDF/types/doc_pages_rotate200response_meta_affected_pages_item_weak_annotation_state_known" -require_relative "CloudPDF/types/doc_pages_rotate200response_meta_affected_pages_item_weak_annotation_state" -require_relative "CloudPDF/types/doc_pages_rotate200response_meta_affected_pages_item" -require_relative "CloudPDF/types/doc_pages_rotate200response_meta_cache_delta_pages_item_cache" -require_relative "CloudPDF/types/doc_pages_rotate200response_meta_cache_delta_pages_item" -require_relative "CloudPDF/types/doc_pages_rotate200response_meta_cache_delta" -require_relative "CloudPDF/types/doc_pages_rotate200response_meta" +require_relative "CloudPDF/types/doc_pages_rotate200response_layout_pages_item_size" +require_relative "CloudPDF/types/doc_pages_rotate200response_layout_pages_item_tab_order" +require_relative "CloudPDF/types/doc_pages_rotate200response_layout_pages_item_boxes_media" +require_relative "CloudPDF/types/doc_pages_rotate200response_layout_pages_item_boxes_crop" +require_relative "CloudPDF/types/doc_pages_rotate200response_layout_pages_item_boxes_bleed" +require_relative "CloudPDF/types/doc_pages_rotate200response_layout_pages_item_boxes_trim" +require_relative "CloudPDF/types/doc_pages_rotate200response_layout_pages_item_boxes_art" +require_relative "CloudPDF/types/doc_pages_rotate200response_layout_pages_item_boxes" +require_relative "CloudPDF/types/doc_pages_rotate200response_layout_pages_item_pdf_crop_box" +require_relative "CloudPDF/types/doc_pages_rotate200response_layout_pages_item" +require_relative "CloudPDF/types/doc_pages_rotate200response_layout_named_pages_item_target_page" +require_relative "CloudPDF/types/doc_pages_rotate200response_layout_named_pages_item_target_template" +require_relative "CloudPDF/types/doc_pages_rotate200response_layout_named_pages_item_target_dangling" +require_relative "CloudPDF/types/doc_pages_rotate200response_layout_named_pages_item_target" +require_relative "CloudPDF/types/doc_pages_rotate200response_layout_named_pages_item" +require_relative "CloudPDF/types/doc_pages_rotate200response_layout" require_relative "CloudPDF/types/doc_pages_rotate200response" -require_relative "CloudPDF/types/doc_pages_rotate400response_name" -require_relative "CloudPDF/types/doc_pages_rotate400response_code" require_relative "CloudPDF/types/doc_pages_rotate400response" -require_relative "CloudPDF/types/doc_pages_rotate404response_name" -require_relative "CloudPDF/types/doc_pages_rotate404response_code" require_relative "CloudPDF/types/doc_pages_rotate404response" require_relative "CloudPDF/types/doc_pages_delete_request" -require_relative "CloudPDF/types/doc_pages_delete200response_meta_affected_pages_item_revision" -require_relative "CloudPDF/types/doc_pages_delete200response_meta_affected_pages_item_weak_annotation_state_unknown" -require_relative "CloudPDF/types/doc_pages_delete200response_meta_affected_pages_item_weak_annotation_state_known" -require_relative "CloudPDF/types/doc_pages_delete200response_meta_affected_pages_item_weak_annotation_state" -require_relative "CloudPDF/types/doc_pages_delete200response_meta_affected_pages_item" -require_relative "CloudPDF/types/doc_pages_delete200response_meta_cache_delta_pages_item_cache" -require_relative "CloudPDF/types/doc_pages_delete200response_meta_cache_delta_pages_item" -require_relative "CloudPDF/types/doc_pages_delete200response_meta_cache_delta" -require_relative "CloudPDF/types/doc_pages_delete200response_meta" +require_relative "CloudPDF/types/doc_pages_delete200response_layout_pages_item_size" +require_relative "CloudPDF/types/doc_pages_delete200response_layout_pages_item_tab_order" +require_relative "CloudPDF/types/doc_pages_delete200response_layout_pages_item_boxes_media" +require_relative "CloudPDF/types/doc_pages_delete200response_layout_pages_item_boxes_crop" +require_relative "CloudPDF/types/doc_pages_delete200response_layout_pages_item_boxes_bleed" +require_relative "CloudPDF/types/doc_pages_delete200response_layout_pages_item_boxes_trim" +require_relative "CloudPDF/types/doc_pages_delete200response_layout_pages_item_boxes_art" +require_relative "CloudPDF/types/doc_pages_delete200response_layout_pages_item_boxes" +require_relative "CloudPDF/types/doc_pages_delete200response_layout_pages_item_pdf_crop_box" +require_relative "CloudPDF/types/doc_pages_delete200response_layout_pages_item" +require_relative "CloudPDF/types/doc_pages_delete200response_layout_named_pages_item_target_page" +require_relative "CloudPDF/types/doc_pages_delete200response_layout_named_pages_item_target_template" +require_relative "CloudPDF/types/doc_pages_delete200response_layout_named_pages_item_target_dangling" +require_relative "CloudPDF/types/doc_pages_delete200response_layout_named_pages_item_target" +require_relative "CloudPDF/types/doc_pages_delete200response_layout_named_pages_item" +require_relative "CloudPDF/types/doc_pages_delete200response_layout" require_relative "CloudPDF/types/doc_pages_delete200response" -require_relative "CloudPDF/types/doc_pages_delete400response_name" -require_relative "CloudPDF/types/doc_pages_delete400response_code" require_relative "CloudPDF/types/doc_pages_delete400response" -require_relative "CloudPDF/types/doc_pages_delete404response_name" -require_relative "CloudPDF/types/doc_pages_delete404response_code" require_relative "CloudPDF/types/doc_pages_delete404response" require_relative "CloudPDF/types/doc_pages_set_name_request" -require_relative "CloudPDF/types/doc_pages_set_name200response_meta_affected_pages_item_revision" -require_relative "CloudPDF/types/doc_pages_set_name200response_meta_affected_pages_item_weak_annotation_state_unknown" -require_relative "CloudPDF/types/doc_pages_set_name200response_meta_affected_pages_item_weak_annotation_state_known" -require_relative "CloudPDF/types/doc_pages_set_name200response_meta_affected_pages_item_weak_annotation_state" -require_relative "CloudPDF/types/doc_pages_set_name200response_meta_affected_pages_item" -require_relative "CloudPDF/types/doc_pages_set_name200response_meta_cache_delta_pages_item_cache" -require_relative "CloudPDF/types/doc_pages_set_name200response_meta_cache_delta_pages_item" -require_relative "CloudPDF/types/doc_pages_set_name200response_meta_cache_delta" -require_relative "CloudPDF/types/doc_pages_set_name200response_meta" +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_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_name" -require_relative "CloudPDF/types/doc_pages_set_name400response_code" require_relative "CloudPDF/types/doc_pages_set_name400response" -require_relative "CloudPDF/types/doc_pages_set_name404response_name" -require_relative "CloudPDF/types/doc_pages_set_name404response_code" require_relative "CloudPDF/types/doc_pages_set_name404response" require_relative "CloudPDF/types/doc_pages_remove_name_request" -require_relative "CloudPDF/types/doc_pages_remove_name200response_meta_affected_pages_item_revision" -require_relative "CloudPDF/types/doc_pages_remove_name200response_meta_affected_pages_item_weak_annotation_state_unknown" -require_relative "CloudPDF/types/doc_pages_remove_name200response_meta_affected_pages_item_weak_annotation_state_known" -require_relative "CloudPDF/types/doc_pages_remove_name200response_meta_affected_pages_item_weak_annotation_state" -require_relative "CloudPDF/types/doc_pages_remove_name200response_meta_affected_pages_item" -require_relative "CloudPDF/types/doc_pages_remove_name200response_meta_cache_delta_pages_item_cache" -require_relative "CloudPDF/types/doc_pages_remove_name200response_meta_cache_delta_pages_item" -require_relative "CloudPDF/types/doc_pages_remove_name200response_meta_cache_delta" -require_relative "CloudPDF/types/doc_pages_remove_name200response_meta" +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_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_name" -require_relative "CloudPDF/types/doc_pages_remove_name400response_code" require_relative "CloudPDF/types/doc_pages_remove_name400response" -require_relative "CloudPDF/types/doc_pages_remove_name404response_name" -require_relative "CloudPDF/types/doc_pages_remove_name404response_code" require_relative "CloudPDF/types/doc_pages_remove_name404response" require_relative "CloudPDF/types/doc_pages_flatten_request" -require_relative "CloudPDF/types/doc_pages_flatten200response_meta_affected_pages_item_revision" -require_relative "CloudPDF/types/doc_pages_flatten200response_meta_affected_pages_item_weak_annotation_state_unknown" -require_relative "CloudPDF/types/doc_pages_flatten200response_meta_affected_pages_item_weak_annotation_state_known" -require_relative "CloudPDF/types/doc_pages_flatten200response_meta_affected_pages_item_weak_annotation_state" -require_relative "CloudPDF/types/doc_pages_flatten200response_meta_affected_pages_item" -require_relative "CloudPDF/types/doc_pages_flatten200response_meta_cache_delta_pages_item_cache" -require_relative "CloudPDF/types/doc_pages_flatten200response_meta_cache_delta_pages_item" -require_relative "CloudPDF/types/doc_pages_flatten200response_meta_cache_delta" -require_relative "CloudPDF/types/doc_pages_flatten200response_meta" +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_name" -require_relative "CloudPDF/types/doc_pages_flatten400response_code" require_relative "CloudPDF/types/doc_pages_flatten400response" -require_relative "CloudPDF/types/doc_pages_flatten404response_name" -require_relative "CloudPDF/types/doc_pages_flatten404response_code" require_relative "CloudPDF/types/doc_pages_flatten404response" -require_relative "CloudPDF/types/doc_pages_insert200response_meta_affected_pages_item_revision" -require_relative "CloudPDF/types/doc_pages_insert200response_meta_affected_pages_item_weak_annotation_state_unknown" -require_relative "CloudPDF/types/doc_pages_insert200response_meta_affected_pages_item_weak_annotation_state_known" -require_relative "CloudPDF/types/doc_pages_insert200response_meta_affected_pages_item_weak_annotation_state" -require_relative "CloudPDF/types/doc_pages_insert200response_meta_affected_pages_item" -require_relative "CloudPDF/types/doc_pages_insert200response_meta_cache_delta_pages_item_cache" -require_relative "CloudPDF/types/doc_pages_insert200response_meta_cache_delta_pages_item" -require_relative "CloudPDF/types/doc_pages_insert200response_meta_cache_delta" -require_relative "CloudPDF/types/doc_pages_insert200response_meta" +require_relative "CloudPDF/types/doc_pages_insert200response_layout_pages_item_size" +require_relative "CloudPDF/types/doc_pages_insert200response_layout_pages_item_tab_order" +require_relative "CloudPDF/types/doc_pages_insert200response_layout_pages_item_boxes_media" +require_relative "CloudPDF/types/doc_pages_insert200response_layout_pages_item_boxes_crop" +require_relative "CloudPDF/types/doc_pages_insert200response_layout_pages_item_boxes_bleed" +require_relative "CloudPDF/types/doc_pages_insert200response_layout_pages_item_boxes_trim" +require_relative "CloudPDF/types/doc_pages_insert200response_layout_pages_item_boxes_art" +require_relative "CloudPDF/types/doc_pages_insert200response_layout_pages_item_boxes" +require_relative "CloudPDF/types/doc_pages_insert200response_layout_pages_item_pdf_crop_box" +require_relative "CloudPDF/types/doc_pages_insert200response_layout_pages_item" +require_relative "CloudPDF/types/doc_pages_insert200response_layout_named_pages_item_target_page" +require_relative "CloudPDF/types/doc_pages_insert200response_layout_named_pages_item_target_template" +require_relative "CloudPDF/types/doc_pages_insert200response_layout_named_pages_item_target_dangling" +require_relative "CloudPDF/types/doc_pages_insert200response_layout_named_pages_item_target" +require_relative "CloudPDF/types/doc_pages_insert200response_layout_named_pages_item" +require_relative "CloudPDF/types/doc_pages_insert200response_layout" require_relative "CloudPDF/types/doc_pages_insert200response" -require_relative "CloudPDF/types/doc_pages_insert400response_name" -require_relative "CloudPDF/types/doc_pages_insert400response_code" require_relative "CloudPDF/types/doc_pages_insert400response" -require_relative "CloudPDF/types/doc_pages_insert404response_name" -require_relative "CloudPDF/types/doc_pages_insert404response_code" require_relative "CloudPDF/types/doc_pages_insert404response" require_relative "CloudPDF/types/doc_pages_insert_blank_request" -require_relative "CloudPDF/types/doc_pages_insert_blank200response_meta_affected_pages_item_revision" -require_relative "CloudPDF/types/doc_pages_insert_blank200response_meta_affected_pages_item_weak_annotation_state_unknown" -require_relative "CloudPDF/types/doc_pages_insert_blank200response_meta_affected_pages_item_weak_annotation_state_known" -require_relative "CloudPDF/types/doc_pages_insert_blank200response_meta_affected_pages_item_weak_annotation_state" -require_relative "CloudPDF/types/doc_pages_insert_blank200response_meta_affected_pages_item" -require_relative "CloudPDF/types/doc_pages_insert_blank200response_meta_cache_delta_pages_item_cache" -require_relative "CloudPDF/types/doc_pages_insert_blank200response_meta_cache_delta_pages_item" -require_relative "CloudPDF/types/doc_pages_insert_blank200response_meta_cache_delta" -require_relative "CloudPDF/types/doc_pages_insert_blank200response_meta" +require_relative "CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item_size" +require_relative "CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item_tab_order" +require_relative "CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item_boxes_media" +require_relative "CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item_boxes_crop" +require_relative "CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item_boxes_bleed" +require_relative "CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item_boxes_trim" +require_relative "CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item_boxes_art" +require_relative "CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item_boxes" +require_relative "CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item_pdf_crop_box" +require_relative "CloudPDF/types/doc_pages_insert_blank200response_layout_pages_item" +require_relative "CloudPDF/types/doc_pages_insert_blank200response_layout_named_pages_item_target_page" +require_relative "CloudPDF/types/doc_pages_insert_blank200response_layout_named_pages_item_target_template" +require_relative "CloudPDF/types/doc_pages_insert_blank200response_layout_named_pages_item_target_dangling" +require_relative "CloudPDF/types/doc_pages_insert_blank200response_layout_named_pages_item_target" +require_relative "CloudPDF/types/doc_pages_insert_blank200response_layout_named_pages_item" +require_relative "CloudPDF/types/doc_pages_insert_blank200response_layout" require_relative "CloudPDF/types/doc_pages_insert_blank200response" -require_relative "CloudPDF/types/doc_pages_insert_blank400response_name" -require_relative "CloudPDF/types/doc_pages_insert_blank400response_code" require_relative "CloudPDF/types/doc_pages_insert_blank400response" -require_relative "CloudPDF/types/doc_pages_insert_blank404response_name" -require_relative "CloudPDF/types/doc_pages_insert_blank404response_code" require_relative "CloudPDF/types/doc_pages_insert_blank404response" require_relative "CloudPDF/types/doc_pages_extract_request" -require_relative "CloudPDF/types/doc_pages_extract400response_name" -require_relative "CloudPDF/types/doc_pages_extract400response_code" require_relative "CloudPDF/types/doc_pages_extract400response" -require_relative "CloudPDF/types/doc_pages_extract404response_name" -require_relative "CloudPDF/types/doc_pages_extract404response_code" require_relative "CloudPDF/types/doc_pages_extract404response" -require_relative "CloudPDF/types/doc_redactions_apply_request" -require_relative "CloudPDF/types/doc_redactions_apply200response_meta_affected_pages_item_revision" -require_relative "CloudPDF/types/doc_redactions_apply200response_meta_affected_pages_item_weak_annotation_state_unknown" -require_relative "CloudPDF/types/doc_redactions_apply200response_meta_affected_pages_item_weak_annotation_state_known" -require_relative "CloudPDF/types/doc_redactions_apply200response_meta_affected_pages_item_weak_annotation_state" -require_relative "CloudPDF/types/doc_redactions_apply200response_meta_affected_pages_item" -require_relative "CloudPDF/types/doc_redactions_apply200response_meta_cache_delta_pages_item_cache" -require_relative "CloudPDF/types/doc_redactions_apply200response_meta_cache_delta_pages_item" -require_relative "CloudPDF/types/doc_redactions_apply200response_meta_cache_delta" -require_relative "CloudPDF/types/doc_redactions_apply200response_meta" +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_name" -require_relative "CloudPDF/types/doc_redactions_apply400response_code" require_relative "CloudPDF/types/doc_redactions_apply400response" -require_relative "CloudPDF/types/doc_redactions_apply404response_name" -require_relative "CloudPDF/types/doc_redactions_apply404response_code" require_relative "CloudPDF/types/doc_redactions_apply404response" -require_relative "CloudPDF/types/doc_download_response_name" -require_relative "CloudPDF/types/doc_download_response_code" require_relative "CloudPDF/types/doc_download_response" require_relative "CloudPDF/client" require_relative "CloudPDF/deployment/client" require_relative "CloudPDF/doc/client" require_relative "CloudPDF/doc/types/head_doc_request" +require_relative "CloudPDF/doc/types/doc_changes_request" require_relative "CloudPDF/doc/types/download_doc_request" require_relative "CloudPDF/doc/types/manifest_doc_request" require_relative "CloudPDF/doc/types/render_doc_request" @@ -2038,14 +1713,18 @@ require_relative "CloudPDF/doc/annotations/types/create_annotations_request" require_relative "CloudPDF/doc/annotations/types/delete_annotations_request" require_relative "CloudPDF/doc/annotations/types/update_annotations_request" +require_relative "CloudPDF/doc/annotations/types/read_appearance_annotations_request" require_relative "CloudPDF/doc/annotations/types/export_appearance_annotations_request" require_relative "CloudPDF/doc/annotations/types/flatten_annotations_request" +require_relative "CloudPDF/doc/annotations/types/doc_annotations_reorder_request" require_relative "CloudPDF/doc/forms/client" -require_relative "CloudPDF/doc/forms/types/get_forms_request" -require_relative "CloudPDF/doc/forms/types/export_data_forms_request" -require_relative "CloudPDF/doc/forms/types/import_data_forms_request" -require_relative "CloudPDF/doc/forms/types/reset_forms_request" +require_relative "CloudPDF/doc/forms/types/list_forms_request" +require_relative "CloudPDF/doc/forms/types/doc_forms_reorder_calculations_request" require_relative "CloudPDF/doc/forms/types/set_value_forms_request" +require_relative "CloudPDF/doc/forms/types/doc_forms_reset_request" +require_relative "CloudPDF/doc/forms/types/delete_widget_forms_request" +require_relative "CloudPDF/doc/forms/types/doc_forms_update_widget_request" +require_relative "CloudPDF/doc/forms/types/doc_forms_reorder_widgets_request" require_relative "CloudPDF/doc/metadata/client" require_relative "CloudPDF/doc/metadata/types/get_metadata_request" require_relative "CloudPDF/doc/pages/client" @@ -2056,15 +1735,15 @@ require_relative "CloudPDF/doc/pages/types/flatten_pages_request" require_relative "CloudPDF/doc/pages/types/insert_pages_request" require_relative "CloudPDF/doc/pages/types/insert_blank_pages_request" -require_relative "CloudPDF/doc/pages/types/move_pages_request" require_relative "CloudPDF/doc/pages/types/set_name_pages_request" require_relative "CloudPDF/doc/pages/types/remove_name_pages_request" +require_relative "CloudPDF/doc/pages/types/doc_pages_reorder_request" require_relative "CloudPDF/doc/pages/types/rotate_pages_request" require_relative "CloudPDF/doc/redactions/client" -require_relative "CloudPDF/doc/redactions/types/apply_redactions_request" +require_relative "CloudPDF/doc/redactions/types/doc_redactions_apply_request" require_relative "CloudPDF/doc/signatures/client" require_relative "CloudPDF/doc/signatures/types/list_signatures_request" -require_relative "CloudPDF/doc/signatures/types/abort_signatures_request" +require_relative "CloudPDF/doc/signatures/types/cancel_signatures_request" require_relative "CloudPDF/doc/signatures/types/doc_signatures_complete_request" require_relative "CloudPDF/doc/signatures/types/analysis_signatures_request" require_relative "CloudPDF/doc/signatures/types/prepare_signatures_request" @@ -2076,3 +1755,5 @@ require_relative "CloudPDF/doc/versions/types/signatures_versions_request" require_relative "CloudPDF/doc/versions/types/signature_contents_versions_request" require_relative "CloudPDF/doc/versions/types/signature_digest_versions_request" +require_relative "CloudPDF/doc/metadata/custom/client" +require_relative "CloudPDF/doc/metadata/custom/types/get_custom_request" diff --git a/reference.md b/reference.md index 90bb201b..286c553f 100644 --- a/reference.md +++ b/reference.md @@ -93,6 +93,98 @@ client.doc.head(doc_id: "docId") + + + + +
client.doc.changes(doc_id:, layer_name:, request) -> CloudPDF::Types::DocChanges200Response +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Each change stands on its own and names itself by `opId`: a refused change rolls back alone, and the answer lists every change in order, applied with its result or refused with its error. Asked again under its `opId`, a change gets the same answer, refusals included; a different change under an answered `opId` is refused (IdempotencyKeyReused). `{ opId, undoOf }` undoes an earlier change of the caller, here or in an earlier request; an undo leaves alone what was changed since, and the undo of an undo redoes. A redaction, a flatten, a form repair or a completed signature ends undo for the changes before it (UndoUnavailable). Each op is checked against its own capability: annotation ops need `doc.annotate.modify`, form values `doc.forms.fill`, form structure `doc.forms.modify`, metadata `doc.metadata.modify`. Bytes (a stamp's drawing, an attached file, a signature's artwork) travel as multipart: a JSON `body` part, each op naming its files by role as `resources: { : '' }`, and each file as the part `resource:`. At most 64 changes per request and 512 ops per change. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.doc.changes( + doc_id: "docId", + layer_name: "layerName", + changes: [{ + op_id: "opId" + }] +) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**doc_id:** `String` + +
+
+ +
+
+ +**layer_name:** `String` + +
+
+ +
+
+ +**document_password:** `String` — Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead. + +
+
+ +
+
+ +**changes:** `Internal::Types::Array[CloudPDF::Doc::Types::DocChangesRequestChangesItem]` + +
+
+ +
+
+ +**request_options:** `CloudPDF::Doc::RequestOptions` + +
+
+
+
+ +
@@ -231,7 +323,7 @@ client.doc.manifest( -
client.doc.render(doc_id:, layer_name:, pon:) -> String +
client.doc.render(doc_id:, layer_name:, page_key:) -> String
@@ -261,7 +353,7 @@ Render parameters (viewport, format) pass as flat dotted query keys, e.g. `?view client.doc.render( doc_id: "docId", layer_name: "layerName", - pon: 1 + page_key: "pageKey" ) ```
@@ -293,7 +385,7 @@ client.doc.render(
-**pon:** `Integer` +**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`.
@@ -321,7 +413,7 @@ client.doc.render(
-
client.doc.text(doc_id:, layer_name:, pon:) -> CloudPDF::Types::DocText200Response +
client.doc.text(doc_id:, layer_name:, page_key:) -> CloudPDF::Types::DocText200Response
@@ -337,7 +429,7 @@ client.doc.render( client.doc.text( doc_id: "docId", layer_name: "layerName", - pon: 1 + page_key: "pageKey" ) ```
@@ -369,7 +461,7 @@ client.doc.text(
-**pon:** `Integer` +**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`.
@@ -552,7 +644,7 @@ client.shares.list(tenant_id: "tenantId")
-The returned share id IS the public share token. Mounted only when the deployment can sign (HS256 mode) — exchange mints session JWTs, so grants exist only where minting does. +The returned share id is the public share token. Mounted only when the deployment can sign (HS256 mode) — exchange mints session JWTs, so grants exist only where minting does.
@@ -1801,7 +1893,7 @@ client.documents.import_from(tenant_id: "tenantId")
-**source:** `CloudPDF::Documents::Types::DocumentsImportFromRequestSource` — Where CloudPDF pulls the bytes from. The two shapes differ in WHO supplies the authority to read, not in which storage vendor holds the file. +**source:** `CloudPDF::Documents::Types::DocumentsImportFromRequestSource` — Where CloudPDF pulls the bytes from. The two shapes differ in who supplies the authority to read, not in which storage vendor holds the file.
@@ -2146,7 +2238,7 @@ client.tokens.revoke(
## Doc Annotations -
client.doc.annotations.list_all(doc_id:, layer_name:) -> CloudPDF::Types::DocAnnotationsListAll200Response +
client.doc.annotations.list_all(doc_id:, layer_name:) -> CloudPDF::Types::AnnotationList
@@ -2158,7 +2250,7 @@ client.tokens.revoke(
-Returns one entry per page plus the audit-log cursor for reconciling subsequent document events. Page order is unspecified; join by `pageState.pageObjectNumber` when display order matters. +Returns one entry per page plus the audit-log cursor for reconciling subsequent document events. Page order is unspecified; join by `page` (a `PageRef`) when display order matters.
@@ -2227,7 +2319,7 @@ client.doc.annotations.list_all(
-
client.doc.annotations.list(doc_id:, layer_name:, pon:) -> CloudPDF::Types::DocAnnotationsList200Response +
client.doc.annotations.list(doc_id:, layer_name:, page_key:) -> CloudPDF::Types::AnnotationList
@@ -2243,7 +2335,7 @@ client.doc.annotations.list_all( client.doc.annotations.list( doc_id: "docId", layer_name: "layerName", - pon: 1 + page_key: "pageKey" ) ```
@@ -2275,7 +2367,7 @@ client.doc.annotations.list(
-**pon:** `Integer` +**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`.
@@ -2303,7 +2395,7 @@ client.doc.annotations.list(
-
client.doc.annotations.create(doc_id:, layer_name:, pon:, request) -> CloudPDF::Types::DocAnnotationsCreate200Response +
client.doc.annotations.create(doc_id:, layer_name:, page_key:, request) -> CloudPDF::Types::DocAnnotationsCreate200Response
@@ -2333,7 +2425,7 @@ Doc JWTs may instead carry collab scopes (annotations:create:self, …) that ref client.doc.annotations.create( doc_id: "docId", layer_name: "layerName", - pon: 1, + page_key: "pageKey", request: { key: "value" } @@ -2368,7 +2460,7 @@ client.doc.annotations.create(
-**pon:** `Integer` +**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`.
@@ -2384,6 +2476,14 @@ client.doc.annotations.create(
+**idempotency_key:** `String` — Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing. + +
+
+ +
+
+ **request:** `Internal::Types::Hash[String, Object]`
@@ -2404,7 +2504,7 @@ client.doc.annotations.create(
-
client.doc.annotations.delete(doc_id:, layer_name:, pon:, annot_key:) -> CloudPDF::Types::DocAnnotationsDelete200Response +
client.doc.annotations.delete(doc_id:, layer_name:, page_key:, annot_key:) -> CloudPDF::Types::DocAnnotationsDelete200Response
@@ -2420,7 +2520,7 @@ client.doc.annotations.create( client.doc.annotations.delete( doc_id: "docId", layer_name: "layerName", - pon: 1, + page_key: "pageKey", annot_key: "annotKey" ) ``` @@ -2453,7 +2553,7 @@ client.doc.annotations.delete(
-**pon:** `Integer` +**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`.
@@ -2461,7 +2561,7 @@ client.doc.annotations.delete(
-**annot_key:** `String` +**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.
@@ -2477,6 +2577,14 @@ client.doc.annotations.delete(
+**idempotency_key:** `String` — Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing. + +
+
+ +
+
+ **request_options:** `CloudPDF::Doc::Annotations::RequestOptions`
@@ -2489,7 +2597,7 @@ client.doc.annotations.delete(
-
client.doc.annotations.update(doc_id:, layer_name:, pon:, annot_key:, request) -> CloudPDF::Types::DocAnnotationsUpdate200Response +
client.doc.annotations.update(doc_id:, layer_name:, page_key:, annot_key:, request) -> CloudPDF::Types::DocAnnotationsUpdate200Response
@@ -2505,7 +2613,7 @@ client.doc.annotations.delete( client.doc.annotations.update( doc_id: "docId", layer_name: "layerName", - pon: 1, + page_key: "pageKey", annot_key: "annotKey", request: { key: "value" @@ -2541,7 +2649,7 @@ client.doc.annotations.update(
-**pon:** `Integer` +**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`.
@@ -2549,7 +2657,7 @@ client.doc.annotations.update(
-**annot_key:** `String` +**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.
@@ -2565,6 +2673,14 @@ client.doc.annotations.update(
+**idempotency_key:** `String` — Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing. + +
+
+ +
+
+ **request:** `Internal::Types::Hash[String, Object]`
@@ -2585,7 +2701,7 @@ client.doc.annotations.update(
-
client.doc.annotations.export_appearance(doc_id:, layer_name:, pon:, request) -> String +
client.doc.annotations.read_appearance(doc_id:, layer_name:, page_key:, annot_key:) -> String
@@ -2598,15 +2714,11 @@ client.doc.annotations.update(
```ruby -client.doc.annotations.export_appearance( +client.doc.annotations.read_appearance( doc_id: "docId", layer_name: "layerName", - pon: 1, - request: { - string: { - key: "value" - } - } + page_key: "pageKey", + annot_key: "annotKey" ) ```
@@ -2638,7 +2750,7 @@ client.doc.annotations.export_appearance(
-**pon:** `Integer` +**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`.
@@ -2646,7 +2758,7 @@ client.doc.annotations.export_appearance(
-**document_password:** `String` — Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead. +**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.
@@ -2654,7 +2766,7 @@ client.doc.annotations.export_appearance(
-**request:** `Internal::Types::Hash[String, Object]` +**document_password:** `String` — Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
@@ -2674,7 +2786,7 @@ client.doc.annotations.export_appearance(
-
client.doc.annotations.flatten(doc_id:, layer_name:, pon:, request) -> CloudPDF::Types::DocAnnotationsFlatten200Response +
client.doc.annotations.export_appearance(doc_id:, layer_name:, page_key:, request) -> String
@@ -2687,12 +2799,14 @@ client.doc.annotations.export_appearance(
```ruby -client.doc.annotations.flatten( +client.doc.annotations.export_appearance( doc_id: "docId", layer_name: "layerName", - pon: 1, + page_key: "pageKey", request: { - key: "value" + string: { + key: "value" + } } ) ``` @@ -2725,7 +2839,7 @@ client.doc.annotations.flatten(
-**pon:** `Integer` +**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`.
@@ -2761,8 +2875,7 @@ client.doc.annotations.flatten(
-## Doc Forms -
client.doc.forms.get(doc_id:, layer_name:) -> CloudPDF::Types::DocFormsGet200Response +
client.doc.annotations.flatten(doc_id:, layer_name:, page_key:, request) -> CloudPDF::Types::DocAnnotationsFlatten200Response
@@ -2775,9 +2888,13 @@ client.doc.annotations.flatten(
```ruby -client.doc.forms.get( +client.doc.annotations.flatten( doc_id: "docId", - layer_name: "layerName" + layer_name: "layerName", + page_key: "pageKey", + request: { + key: "value" + } ) ```
@@ -2809,6 +2926,14 @@ client.doc.forms.get(
+**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`. + +
+
+ +
+
+ **document_password:** `String` — Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
@@ -2817,7 +2942,23 @@ client.doc.forms.get(
-**request_options:** `CloudPDF::Doc::Forms::RequestOptions` +**idempotency_key:** `String` — Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing. + +
+
+ +
+
+ +**request:** `Internal::Types::Hash[String, Object]` + +
+
+ +
+
+ +**request_options:** `CloudPDF::Doc::Annotations::RequestOptions`
@@ -2829,7 +2970,7 @@ client.doc.forms.get(
-
client.doc.forms.export_data(doc_id:, layer_name:) -> String +
client.doc.annotations.reorder(doc_id:, layer_name:, page_key:, request) -> CloudPDF::Types::DocAnnotationsReorder200Response
@@ -2842,9 +2983,12 @@ client.doc.forms.get(
```ruby -client.doc.forms.export_data( +client.doc.annotations.reorder( doc_id: "docId", - layer_name: "layerName" + layer_name: "layerName", + page_key: "pageKey", + refs: [], + position: "start" ) ```
@@ -2876,7 +3020,7 @@ client.doc.forms.export_data(
-**format:** `CloudPDF::Doc::Forms::Types::ExportDataFormsRequestFormat` +**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`.
@@ -2892,7 +3036,31 @@ client.doc.forms.export_data(
-**request_options:** `CloudPDF::Doc::Forms::RequestOptions` +**idempotency_key:** `String` — Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing. + +
+
+ +
+
+ +**refs:** `Internal::Types::Array[CloudPDF::Types::AnnotationRef]` + +
+
+ +
+
+ +**position:** `CloudPDF::Types::AnnotationPosition` + +
+
+ +
+
+ +**request_options:** `CloudPDF::Doc::Annotations::RequestOptions`
@@ -2904,7 +3072,8 @@ client.doc.forms.export_data(
-
client.doc.forms.import_data(doc_id:, layer_name:, request) -> CloudPDF::Types::DocFormsImportData200Response +## Doc Forms +
client.doc.forms.list(doc_id:, layer_name:) -> CloudPDF::Types::DocFormsList200Response
@@ -2917,12 +3086,9 @@ client.doc.forms.export_data(
```ruby -client.doc.forms.import_data( +client.doc.forms.list( doc_id: "docId", - layer_name: "layerName", - request: { - key: "value" - } + layer_name: "layerName" ) ```
@@ -2962,14 +3128,6 @@ client.doc.forms.import_data(
-**request:** `Internal::Types::Hash[String, Object]` - -
-
- -
-
- **request_options:** `CloudPDF::Doc::Forms::RequestOptions`
@@ -2982,7 +3140,7 @@ client.doc.forms.import_data(
-
client.doc.forms.reset(doc_id:, layer_name:, field_key:) -> CloudPDF::Types::DocFormsReset200Response +
client.doc.forms.reorder_calculations(doc_id:, layer_name:, request) -> CloudPDF::Types::DocFormsReorderCalculations200Response
@@ -2995,10 +3153,11 @@ client.doc.forms.import_data(
```ruby -client.doc.forms.reset( +client.doc.forms.reorder_calculations( doc_id: "docId", layer_name: "layerName", - field_key: "fieldKey" + fields: [], + position: "start" ) ```
@@ -3030,7 +3189,7 @@ client.doc.forms.reset(
-**field_key:** `String` +**document_password:** `String` — Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
@@ -3038,7 +3197,23 @@ client.doc.forms.reset(
-**document_password:** `String` — Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead. +**idempotency_key:** `String` — Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing. + +
+
+ +
+
+ +**fields:** `Internal::Types::Array[CloudPDF::Types::FormFieldRef]` + +
+
+ +
+
+ +**position:** `CloudPDF::Types::FieldPosition`
@@ -3125,6 +3300,14 @@ client.doc.forms.set_value(
+**idempotency_key:** `String` — Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing. + +
+
+ +
+
+ **request:** `Internal::Types::Hash[String, Object]`
@@ -3145,8 +3328,7 @@ client.doc.forms.set_value(
-## Doc Metadata -
client.doc.metadata.get(doc_id:, layer_name:) -> CloudPDF::Types::DocMetadataGet200Response +
client.doc.forms.reset(doc_id:, layer_name:, request) -> CloudPDF::Types::DocFormsReset200Response
@@ -3159,7 +3341,7 @@ client.doc.forms.set_value(
```ruby -client.doc.metadata.get( +client.doc.forms.reset( doc_id: "docId", layer_name: "layerName" ) @@ -3201,7 +3383,23 @@ client.doc.metadata.get(
-**request_options:** `CloudPDF::Doc::Metadata::RequestOptions` +**idempotency_key:** `String` — Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing. + +
+
+ +
+
+ +**refs:** `Internal::Types::Array[CloudPDF::Types::FormFieldRef]` + +
+
+ +
+
+ +**request_options:** `CloudPDF::Doc::Forms::RequestOptions`
@@ -3213,8 +3411,7 @@ client.doc.metadata.get(
-## Doc Pages -
client.doc.pages.set_scale(doc_id:, layer_name:, pon:, request) -> CloudPDF::Types::DocPagesSetScale200Response +
client.doc.forms.delete_widget(doc_id:, layer_name:, page_key:, annot_key:) -> CloudPDF::Types::DocFormsDeleteWidget200Response
@@ -3227,10 +3424,11 @@ client.doc.metadata.get(
```ruby -client.doc.pages.set_scale( +client.doc.forms.delete_widget( doc_id: "docId", layer_name: "layerName", - pon: 1 + page_key: "pageKey", + annot_key: "annotKey" ) ```
@@ -3262,7 +3460,15 @@ client.doc.pages.set_scale(
-**pon:** `Integer` +**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`. + +
+
+ +
+
+ +**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.
@@ -3278,7 +3484,7 @@ client.doc.pages.set_scale(
-**measure:** `CloudPDF::Doc::Pages::Types::DocPagesSetScaleRequestMeasure` +**idempotency_key:** `String` — Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing.
@@ -3286,7 +3492,7 @@ client.doc.pages.set_scale(
-**request_options:** `CloudPDF::Doc::Pages::RequestOptions` +**request_options:** `CloudPDF::Doc::Forms::RequestOptions`
@@ -3298,7 +3504,7 @@ client.doc.pages.set_scale(
-
client.doc.pages.viewports(doc_id:, layer_name:, pon:) -> Internal::Types::Array[CloudPDF::Types::DocPagesViewports200ResponseItem] +
client.doc.forms.update_widget(doc_id:, layer_name:, page_key:, annot_key:, request) -> CloudPDF::Types::DocFormsUpdateWidget200Response
@@ -3311,10 +3517,12 @@ client.doc.pages.set_scale(
```ruby -client.doc.pages.viewports( +client.doc.forms.update_widget( doc_id: "docId", layer_name: "layerName", - pon: 1 + page_key: "pageKey", + annot_key: "annotKey", + patch: {} ) ```
@@ -3346,7 +3554,7 @@ client.doc.pages.viewports(
-**pon:** `Integer` +**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`.
@@ -3354,7 +3562,7 @@ client.doc.pages.viewports(
-**document_password:** `String` — Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead. +**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.
@@ -3362,11 +3570,374 @@ client.doc.pages.viewports(
-**request_options:** `CloudPDF::Doc::Pages::RequestOptions` +**document_password:** `String` — Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
- + +
+
+ +**idempotency_key:** `String` — Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing. + +
+
+ +
+
+ +**patch:** `CloudPDF::Types::WidgetPatch` + +
+
+ +
+
+ +**request_options:** `CloudPDF::Doc::Forms::RequestOptions` + +
+
+ +
+ + + + +
+ +
client.doc.forms.reorder_widgets(doc_id:, layer_name:, page_key:, request) -> CloudPDF::Types::DocFormsReorderWidgets200Response +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.doc.forms.reorder_widgets( + doc_id: "docId", + layer_name: "layerName", + page_key: "pageKey", + widgets: [], + position: "start" +) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**doc_id:** `String` + +
+
+ +
+
+ +**layer_name:** `String` + +
+
+ +
+
+ +**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`. + +
+
+ +
+
+ +**document_password:** `String` — Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead. + +
+
+ +
+
+ +**idempotency_key:** `String` — Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing. + +
+
+ +
+
+ +**widgets:** `Internal::Types::Array[CloudPDF::Types::AnnotationRef]` + +
+
+ +
+
+ +**position:** `CloudPDF::Types::AnnotationPosition` + +
+
+ +
+
+ +**request_options:** `CloudPDF::Doc::Forms::RequestOptions` + +
+
+
+
+ + +
+
+
+ +## Doc Metadata +
client.doc.metadata.get(doc_id:, layer_name:) -> CloudPDF::Types::DocumentMetadata +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.doc.metadata.get( + doc_id: "docId", + layer_name: "layerName" +) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**doc_id:** `String` + +
+
+ +
+
+ +**layer_name:** `String` + +
+
+ +
+
+ +**document_password:** `String` — Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead. + +
+
+ +
+
+ +**request_options:** `CloudPDF::Doc::Metadata::RequestOptions` + +
+
+
+
+ + +
+
+
+ +## Doc Pages +
client.doc.pages.set_scale(doc_id:, layer_name:, page_key:, request) -> CloudPDF::Types::DocPagesSetScale200Response +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.doc.pages.set_scale( + doc_id: "docId", + layer_name: "layerName", + page_key: "pageKey" +) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**doc_id:** `String` + +
+
+ +
+
+ +**layer_name:** `String` + +
+
+ +
+
+ +**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`. + +
+
+ +
+
+ +**document_password:** `String` — Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead. + +
+
+ +
+
+ +**idempotency_key:** `String` — Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing. + +
+
+ +
+
+ +**measure:** `CloudPDF::Doc::Pages::Types::DocPagesSetScaleRequestMeasure` + +
+
+ +
+
+ +**request_options:** `CloudPDF::Doc::Pages::RequestOptions` + +
+
+
+
+ + +
+
+
+ +
client.doc.pages.viewports(doc_id:, layer_name:, page_key:) -> CloudPDF::Types::DocPagesViewports200Response +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.doc.pages.viewports( + doc_id: "docId", + layer_name: "layerName", + page_key: "pageKey" +) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**doc_id:** `String` + +
+
+ +
+
+ +**layer_name:** `String` + +
+
+ +
+
+ +**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`. + +
+
+ +
+
+ +**document_password:** `String` — Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead. + +
+
+ +
+
+ +**request_options:** `CloudPDF::Doc::Pages::RequestOptions` + +
+
+
@@ -3432,6 +4003,14 @@ client.doc.pages.delete(
+**idempotency_key:** `String` — Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing. + +
+
+ +
+
+ **request:** `Internal::Types::Hash[String, Object]`
@@ -3464,7 +4043,7 @@ client.doc.pages.delete(
-A read, not a mutation: the source document is untouched and no event is published. Body is `{"pageObjectNumbers": number[]}`; the response body is the new PDF. +A read, not a mutation: the source document is untouched and no event is published. Body is `{"pages": PageRef[]}`; the response body is the new PDF.
@@ -3604,6 +4183,14 @@ client.doc.pages.flatten(
+**idempotency_key:** `String` — Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing. + +
+
+ +
+
+ **request:** `Internal::Types::Hash[String, Object]`
@@ -3636,7 +4223,7 @@ client.doc.pages.flatten(
-Multipart mutation envelope: a `body` field holding `{"destIndex"?: number}` (omitted → append) plus a `resource:source` file part carrying the standalone PDF whose pages are copied in. The inserted copies get fresh page object numbers, returned in insertion order. +Multipart: a JSON `body` part `{"position"?: PagePosition, "resources": {"source": ""}}` (position omitted → the end), and the standalone PDF whose pages are copied in as the part `resource:`. The inserted copies get fresh page object numbers, returned in insertion order.
@@ -3693,6 +4280,14 @@ client.doc.pages.insert(
+**idempotency_key:** `String` — Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing. + +
+
+ +
+
+ **request_options:** `CloudPDF::Doc::Pages::RequestOptions`
@@ -3717,7 +4312,7 @@ client.doc.pages.insert(
-Body is `{"size": {"width", "height"}, "count"?, "destIndex"?}` — size in PDF points, count in [1, 100], destIndex omitted → append. +Body is `{"size": {"width", "height"}, "count"?, "position"?}` — size in PDF points, count in [1, 100], `position` a `PagePosition` (omitted → the end).
@@ -3777,6 +4372,14 @@ client.doc.pages.insert_blank(
+**idempotency_key:** `String` — Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing. + +
+
+ +
+
+ **request:** `Internal::Types::Hash[String, Object]`
@@ -3797,7 +4400,7 @@ client.doc.pages.insert_blank(
-
client.doc.pages.move(doc_id:, layer_name:, request) -> CloudPDF::Types::DocPagesMove200Response +
client.doc.pages.set_name(doc_id:, layer_name:, request) -> CloudPDF::Types::DocPagesSetName200Response
@@ -3810,7 +4413,7 @@ client.doc.pages.insert_blank(
```ruby -client.doc.pages.move( +client.doc.pages.set_name( doc_id: "docId", layer_name: "layerName", request: { @@ -3855,6 +4458,14 @@ client.doc.pages.move(
+**idempotency_key:** `String` — Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing. + +
+
+ +
+
+ **request:** `Internal::Types::Hash[String, Object]`
@@ -3875,7 +4486,7 @@ client.doc.pages.move(
-
client.doc.pages.set_name(doc_id:, layer_name:, request) -> CloudPDF::Types::DocPagesSetName200Response +
client.doc.pages.remove_name(doc_id:, layer_name:, request) -> CloudPDF::Types::DocPagesRemoveName200Response
@@ -3888,7 +4499,7 @@ client.doc.pages.move(
```ruby -client.doc.pages.set_name( +client.doc.pages.remove_name( doc_id: "docId", layer_name: "layerName", request: { @@ -3933,6 +4544,14 @@ client.doc.pages.set_name(
+**idempotency_key:** `String` — Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing. + +
+
+ +
+
+ **request:** `Internal::Types::Hash[String, Object]`
@@ -3953,7 +4572,7 @@ client.doc.pages.set_name(
-
client.doc.pages.remove_name(doc_id:, layer_name:, request) -> CloudPDF::Types::DocPagesRemoveName200Response +
client.doc.pages.reorder(doc_id:, layer_name:, request) -> CloudPDF::Types::DocPagesReorder200Response
@@ -3966,12 +4585,14 @@ client.doc.pages.set_name(
```ruby -client.doc.pages.remove_name( +client.doc.pages.reorder( doc_id: "docId", layer_name: "layerName", - request: { - key: "value" - } + pages: [{ + kind: "objectNumber", + object_number: 1 + }], + position: "start" ) ```
@@ -4011,7 +4632,23 @@ client.doc.pages.remove_name(
-**request:** `Internal::Types::Hash[String, Object]` +**idempotency_key:** `String` — Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing. + +
+
+ +
+
+ +**pages:** `Internal::Types::Array[CloudPDF::Types::PageRef]` + +
+
+ +
+
+ +**position:** `CloudPDF::Types::PagePosition`
@@ -4089,6 +4726,14 @@ client.doc.pages.rotate(
+**idempotency_key:** `String` — Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing. + +
+
+ +
+
+ **request:** `Internal::Types::Hash[String, Object]`
@@ -4125,10 +4770,7 @@ client.doc.pages.rotate( ```ruby client.doc.redactions.apply( doc_id: "docId", - layer_name: "layerName", - request: { - key: "value" - } + layer_name: "layerName" ) ``` @@ -4168,7 +4810,23 @@ client.doc.redactions.apply(
-**request:** `Internal::Types::Hash[String, Object]` +**idempotency_key:** `String` — Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing. + +
+
+ +
+
+ +**pages:** `Internal::Types::Array[CloudPDF::Types::PageRef]` + +
+
+ +
+
+ +**annotations:** `Internal::Types::Array[CloudPDF::Types::AnnotationRef]`
@@ -4270,7 +4928,7 @@ client.doc.signatures.list(
-
client.doc.signatures.abort(doc_id:, layer_name:, signing_id:) -> CloudPDF::Types::DocSignaturesAbort200Response +
client.doc.signatures.cancel(doc_id:, layer_name:, signing_id:) -> CloudPDF::Types::DocSignaturesCancel200Response
@@ -4283,7 +4941,7 @@ client.doc.signatures.list(
```ruby -client.doc.signatures.abort( +client.doc.signatures.cancel( doc_id: "docId", layer_name: "layerName", signing_id: "signingId" @@ -4574,7 +5232,7 @@ client.doc.signatures.analysis(
-The multipart envelope: a JSON `body` part (field, subFilter, digest, contentsSize, signer, certify, lock, appearance) and an optional `resource:` PDF part the body's `appearance.resource` names. A certification (`certify.permission`) additionally requires `doc.sign.certify`. The layer is read-only until the signing completes, is aborted, or expires (15 minutes). A layer behind the document head cannot sign (StaleBase). +Multipart: a JSON `body` part (field, subFilter, digest, contentsSize, signer, certify, lock), naming the appearance PDF it may carry as `resources: { appearance: '' }`, and that PDF as the part `resource:`. A certification (`certify.permission`) additionally requires `doc.sign.certify`. The layer is read-only until the signing completes, is cancelled, or expires (15 minutes). A layer behind the document head cannot sign (StaleBase).
@@ -5234,3 +5892,71 @@ client.doc.versions.signature_digest(
+## Doc Metadata Custom +
client.doc.metadata.custom.get(doc_id:, layer_name:) -> Internal::Types::Hash[String, String] +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.doc.metadata.custom.get( + doc_id: "docId", + layer_name: "layerName" +) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**doc_id:** `String` + +
+
+ +
+
+ +**layer_name:** `String` + +
+
+ +
+
+ +**document_password:** `String` — Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead. + +
+
+ +
+
+ +**request_options:** `CloudPDF::Doc::Metadata::Custom::RequestOptions` + +
+
+
+
+ + +
+
+
+ diff --git a/test/unit/internal/multipart/test_form_data.rb b/test/unit/internal/multipart/test_form_data.rb new file mode 100644 index 00000000..1129c4c9 --- /dev/null +++ b/test/unit/internal/multipart/test_form_data.rb @@ -0,0 +1,79 @@ +# frozen_string_literal: true + +require "test_helper" +require "tempfile" + +describe CloudPDF::Internal::Multipart::FormData do + FormData = CloudPDF::Internal::Multipart::FormData + + describe "#add_file" do + it "reads the file contents and filename from a path string" do + Tempfile.create(["upload", ".json"]) do |tempfile| + tempfile.binmode + tempfile.write("{\"users\":[]}") + tempfile.flush + + form_data = FormData.new + form_data.add_file(name: "users", file: tempfile.path, content_type: "application/json") + + part = form_data.parts.first + + assert_equal "users", part.name + assert_equal "{\"users\":[]}", part.contents + assert_equal File.basename(tempfile.path), part.filename + assert_equal({ "Content-Type" => "application/json" }, part.headers) + + body = form_data.encode + + assert_includes body, "filename=\"#{File.basename(tempfile.path)}\"" + assert_includes body, "{\"users\":[]}" + refute_includes body, tempfile.path + end + end + + it "reads the file contents and filename from a File object" do + Tempfile.create(["upload", ".txt"]) do |tempfile| + tempfile.write("hello") + tempfile.flush + + form_data = FormData.new + File.open(tempfile.path, "rb") do |file| + form_data.add_file(name: "file", file: file) + end + + part = form_data.parts.first + + assert_equal "hello", part.contents + assert_equal File.basename(tempfile.path), part.filename + assert_nil part.headers + end + end + + it "reads readable objects and honors an explicit filename" do + form_data = FormData.new + form_data.add_file(name: "file", file: StringIO.new("data"), filename: "custom.bin") + + part = form_data.parts.first + + assert_equal "data", part.contents + assert_equal "custom.bin", part.filename + end + + it "adds one part per file" do + Tempfile.create("a") do |first| + Tempfile.create("b") do |second| + first.write("first") + first.flush + second.write("second") + second.flush + + form_data = FormData.new + [first.path, second.path].each { |path| form_data.add_file(name: "files", file: path) } + + assert_equal %w[first second], form_data.parts.map(&:contents) + assert_equal %w[files files], form_data.parts.map(&:name) + end + end + end + end +end diff --git a/test/unit/internal/types/test_model.rb b/test/unit/internal/types/test_model.rb index ee0e0998..a055ab27 100644 --- a/test/unit/internal/types/test_model.rb +++ b/test/unit/internal/types/test_model.rb @@ -24,6 +24,15 @@ class ExampleWithDefaults < ExampleModel field :type, String, default: "example" end + class ExampleWithBooleans < CloudPDF::Internal::Types::Model + field :enabled, CloudPDF::Internal::Types::Boolean + field :archived, CloudPDF::Internal::Types::Boolean, default: true + end + + class ExampleWithFalseDefault < CloudPDF::Internal::Types::Model + field :archived, CloudPDF::Internal::Types::Boolean, default: false + end + class ExampleChild < CloudPDF::Internal::Types::Model field :value, String end @@ -104,6 +113,37 @@ class ExampleParent < CloudPDF::Internal::Types::Model assert_kind_of ExampleChild, parent.child end + it "preserves false values instead of treating them as absent" do + example = ExampleWithBooleans.new(enabled: false) + + refute example.enabled + assert_equal({ "enabled" => false, "archived" => true }, example.to_h) + + loaded = ExampleWithBooleans.load({ enabled: false, archived: false }.to_json) + + refute loaded.enabled + refute loaded.archived + end + + it "prefers the first non-nil value when both api_name and field name are given" do + example = ExampleModel.new({ name: "Ruby", yearOfRelease: nil, year: 2014 }) + + assert_equal 2014, example.year + assert_equal({ "name" => "Ruby", "yearOfRelease" => 2014 }, example.to_h) + + example = ExampleModel.new({ name: "Ruby", yearOfRelease: 2010, year: 2014 }) + + assert_equal 2010, example.year + assert_equal({ "name" => "Ruby", "yearOfRelease" => 2010 }, example.to_h) + end + + it "applies a default of false" do + example = ExampleWithFalseDefault.new + + refute example.archived + assert_equal({ "archived" => false }, example.to_h) + end + it "uses the api_name to pull the value" do example = ExampleModel.new({ name: "Inception", yearOfRelease: 2014 })