diff --git a/.fern/metadata.json b/.fern/metadata.json new file mode 100644 index 0000000..5e39dfe --- /dev/null +++ b/.fern/metadata.json @@ -0,0 +1,10 @@ +{ + "cliVersion": "5.91.0", + "generatorName": "fernapi/fern-ruby-sdk", + "generatorVersion": "1.21.1", + "originGitCommit": "c5976f4e10573f4dc0d26937222caeb948fce09e", + "originGitCommitIsDirty": false, + "invokedBy": "ci", + "requestedVersion": "3.0.0.alpha.0", + "ciProvider": "github" +} \ No newline at end of file diff --git a/.github/workflows/sdk-ci.yml b/.github/workflows/sdk-ci.yml new file mode 100644 index 0000000..ee2323c --- /dev/null +++ b/.github/workflows/sdk-ci.yml @@ -0,0 +1,21 @@ +name: SDK CI + +on: + pull_request: + push: + branches: [main] + +permissions: + contents: read + +jobs: + build: + name: Build and validate + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.3' + - run: ruby -e 'Dir["lib/**/*.rb"].each { |file| RubyVM::InstructionSequence.compile_file(file) }' + - run: gem build cloudpdf.gemspec --output /tmp/cloudpdf-ruby.gem diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c111b33 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.gem diff --git a/.rubocop.yml b/.rubocop.yml new file mode 100644 index 0000000..df686ad --- /dev/null +++ b/.rubocop.yml @@ -0,0 +1,103 @@ +plugins: + - rubocop-minitest + +AllCops: + TargetRubyVersion: 3.3 + NewCops: enable + +Style/StringLiterals: + EnforcedStyle: double_quotes + +Style/StringLiteralsInInterpolation: + EnforcedStyle: double_quotes + +Style/AccessModifierDeclarations: + Enabled: false + +Lint/ConstantDefinitionInBlock: + Enabled: false + +Metrics/AbcSize: + Enabled: false + +Metrics/BlockLength: + Enabled: false + +Metrics/ClassLength: + Enabled: false + +Metrics/MethodLength: + Enabled: false + +Metrics/ParameterLists: + Enabled: false + +Metrics/PerceivedComplexity: + Enabled: false + +Metrics/CyclomaticComplexity: + Enabled: false + +Metrics/ModuleLength: + Enabled: false + +Layout/LineLength: + Enabled: false + +Naming/VariableNumber: + EnforcedStyle: normalcase + Severity: warning + +Style/Documentation: + Enabled: false + +Style/Lambda: + EnforcedStyle: literal + +Minitest/MultipleAssertions: + Enabled: false + +Minitest/UselessAssertion: + Enabled: false + +# Dynamic snippets are code samples for documentation, not standalone Ruby files. +Style/FrozenStringLiteralComment: + Exclude: + - "dynamic-snippets/**/*" + +# Indent hash elements 2 spaces from the start of the enclosing line rather than +# aligning with the preceding paren or bracket. Generated code nests hashes inside +# arrays and method calls; the "consistent" style is more readable there. +Layout/FirstHashElementIndentation: + EnforcedStyle: consistent + Exclude: + - "dynamic-snippets/**/*" + +# Match Layout/FirstHashElementIndentation: indent the first argument 2 spaces +# from the start of the method call's line, regardless of parenthesis position. +# Dynamic snippets are code samples, not standalone Ruby files; exclude them to +# keep this config symmetric with Layout/FirstHashElementIndentation above. +Layout/FirstArgumentIndentation: + EnforcedStyle: consistent + Exclude: + - "dynamic-snippets/**/*" + +# The generator emits non-idiomatic class names (e.g. Get_With_Query, JSON_) +# derived from IR type names whose wire form contains underscores or digits. +# Rubocop never auto-corrected these (naming cops have no autocorrecter), so +# disabling the cop keeps CI green without changing customer output. Fixing at +# source would rename public types across every existing SDK and therefore +# requires a ruby-v2 major-version bump with a generator migration. +Naming/ClassAndModuleCamelCase: + Enabled: false + +# Integer literals are emitted unformatted (e.g. 1000000, not 1_000_000). +# Rubocop has an autocorrecter for this cop, but the only caller of integer +# emission is the dynamic-snippets path, which feeds customer-facing surfaces: +# (1) snippet markdown in reference docs, (2) dynamic-snippets/*.rb sample +# files. Neither is rubocop-gated (markdown isn't Ruby, dynamic-snippets/**/* +# is excluded above), so formatting integers there would change docs/dashboard +# output without any rubocop benefit. Disabling the cop keeps integers raw +# everywhere and avoids customer-visible diffs. +Style/NumericLiterals: + Enabled: false diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..95c10ea --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,120 @@ +# Contributing + +Thanks for your interest in contributing to this SDK! This document provides guidelines for contributing to the project. + +## Getting Started + +### Prerequisites + +- Ruby 3.0+ +- Bundler + +### Installation + +Install the project dependencies: + +```bash +bundle install +``` + +### Building + +Build the gem: + +```bash +gem build *.gemspec +``` + +### Testing + +Run the test suite: + +```bash +bundle exec rspec +``` + +### Linting and Formatting + +Check code style: + +```bash +bundle exec rubocop +``` + +Fix code style issues: + +```bash +bundle exec rubocop -a +``` + +## About Generated Code + +**Important**: Most files in this SDK are automatically generated by [Fern](https://buildwithfern.com) from the API definition. Direct modifications to generated files will be overwritten the next time the SDK is generated. + +### Generated Files + +The following directories contain generated code: +- `lib/` - API client classes and types +- Most Ruby files in the project + +### How to Customize + +If you need to customize the SDK, you have two options: + +#### Option 1: Use `.fernignore` + +For custom code that should persist across SDK regenerations: + +1. Create a `.fernignore` file in the project root +2. Add file patterns for files you want to preserve (similar to `.gitignore` syntax) +3. Add your custom code to those files + +Files listed in `.fernignore` will not be overwritten when the SDK is regenerated. + +For more information, see the [Fern documentation on custom code](https://buildwithfern.com/learn/sdks/overview/custom-code). + +#### Option 2: Contribute to the Generator + +If you want to change how code is generated for all users of this SDK: + +1. The Ruby SDK generator lives in the [Fern repository](https://github.com/fern-api/fern) +2. Generator code is located at `generators/ruby-v2/` +3. Follow the [Fern contributing guidelines](https://github.com/fern-api/fern/blob/main/CONTRIBUTING.md) +4. Submit a pull request with your changes to the generator + +This approach is best for: +- Bug fixes in generated code +- New features that would benefit all users +- Improvements to code generation patterns + +## Making Changes + +### Workflow + +1. Create a new branch for your changes +2. Make your modifications +3. Run tests to ensure nothing breaks: `bundle exec rspec` +4. Run linting: `bundle exec rubocop` +5. Build the gem: `gem build *.gemspec` +6. Commit your changes with a clear commit message +7. Push your branch and create a pull request + +### Commit Messages + +Write clear, descriptive commit messages that explain what changed and why. + +### Code Style + +This project uses RuboCop for code formatting. Run `bundle exec rubocop` before committing to ensure your code meets the project's style guidelines. + +## Questions or Issues? + +If you have questions or run into issues: + +1. Check the [Fern documentation](https://buildwithfern.com) +2. Search existing [GitHub issues](https://github.com/fern-api/fern/issues) +3. Open a new issue if your question hasn't been addressed + +## License + +By contributing to this project, you agree that your contributions will be licensed under the same license as the project. diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..16877f8 --- /dev/null +++ b/Gemfile @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +source "https://rubygems.org" + +gemspec + +group :test, :development do + gem "minitest", "~> 5.16" + gem "minitest-rg" + gem "pry" + gem "rake", "~> 13.0" + gem "rubocop", "~> 1.21" + gem "rubocop-minitest" + gem "webmock" +end + +# Load custom Gemfile configuration if it exists +custom_gemfile = File.join(__dir__, "Gemfile.custom") +eval_gemfile(custom_gemfile) if File.exist?(custom_gemfile) diff --git a/Gemfile.custom b/Gemfile.custom new file mode 100644 index 0000000..6e90109 --- /dev/null +++ b/Gemfile.custom @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +# Custom Gemfile configuration file +# This file is automatically loaded by the main Gemfile. You can add custom gems, +# groups, or other Gemfile configurations here. If you do make changes to this file, +# you will need to add it to the .fernignore file to prevent your changes from being +# overwritten by the generator. + +# Example usage: +# group :test, :development do +# gem 'custom-gem', '~> 2.0' +# end + +# Add your custom gem dependencies here diff --git a/LICENSE b/LICENSE index 261eeb9..2c656ef 100644 --- a/LICENSE +++ b/LICENSE @@ -1,3 +1,19 @@ +Copyright 2026 CloudPDF LTD + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use files in this distribution except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +----------------------------------------------------------------------- + Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ @@ -174,28 +190,3 @@ of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/README.md b/README.md index 021a3c6..fa79829 100644 --- a/README.md +++ b/README.md @@ -1 +1,159 @@ -# cloudpdf-sdk-ruby \ No newline at end of file +# Cloudpdf Ruby Library + +[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=Cloudpdf%2FRuby) + +The Cloudpdf Ruby library provides convenient access to the Cloudpdf APIs from Ruby. + +## Table of Contents + +- [Reference](#reference) +- [Usage](#usage) +- [Environments](#environments) +- [Errors](#errors) +- [Advanced](#advanced) + - [Retries](#retries) + - [Timeouts](#timeouts) + - [Additional Headers](#additional-headers) + - [Additional Query Parameters](#additional-query-parameters) +- [Contributing](#contributing) + +## Reference + +A full reference for this library is available [here](./reference.md). + +## Usage + +Instantiate and use the client with the following: + +```ruby +require "cloudpdf" + +client = Cloudpdf::Client.new(token: "") + +client.tenants.create(id: "id") +``` + +## Environments + +This SDK allows you to configure different custom URLs for API requests. You can specify your own custom URL. + +### Custom URL +```ruby +require "cloudpdf" + +client = Cloudpdf::Client.new( + base_url: "https://example.com" +) +``` + +## Errors + +Failed API calls will raise errors that can be rescued from granularly. + +```ruby +require "cloudpdf" + +client = Cloudpdf::Client.new( + base_url: "https://example.com" +) + +begin + result = client.tenants.create +rescue Cloudpdf::Errors::TimeoutError + puts "API didn't respond before our timeout elapsed" +rescue Cloudpdf::Errors::ServiceUnavailableError + puts "API returned status 503, is probably overloaded, try again later" +rescue Cloudpdf::Errors::ServerError + puts "API returned some other 5xx status, this is probably a bug" +rescue Cloudpdf::Errors::ResponseError => e + puts "API returned an unexpected status other than 5xx: #{e.code} #{e.message}" +rescue Cloudpdf::Errors::ApiError => e + puts "Some other error occurred when calling the API: #{e.message}" +end +``` + +## Advanced + +### Retries + +The SDK is instrumented with automatic retries. A request will be retried as long as the request is deemed +retryable and the number of retry attempts has not grown larger than the configured retry limit (default: 2). + +A request is deemed retryable when any of the following HTTP status codes is returned: + +- [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout) +- [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests) +- [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#server_error_responses) (Internal Server Error) + +The `retryStatusCodes` configuration controls which [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#server_error_responses) status codes are retried: + +- `legacy` (default): Retries `408`, `429`, `500`, `502`, `503`, `504`, `521`, `522`, `524` +- `recommended`: Retries `408`, `429`, `502`, `503`, `504` only (excludes `500 Internal Server Error` to avoid retrying non-idempotent failures) + +Use the `max_retries` option to configure this behavior. + +```ruby +require "cloudpdf" + +client = Cloudpdf::Client.new( + base_url: "https://example.com", + max_retries: 3 # Configure max retries (default is 2) +) +``` + +### Timeouts + +The SDK defaults to a 60 second timeout. Use the `timeout` option to configure this behavior. + +```ruby +require "cloudpdf" + +response = client.tenants.create( + ..., + timeout: 30 # 30 second timeout +) +``` + +### Additional Headers + +If you would like to send additional headers as part of the request, use the `additional_headers` request option. + +```ruby +require "cloudpdf" + +response = client.tenants.create( + ..., + request_options: { + additional_headers: { + "X-Custom-Header" => "custom-value" + } + } +) +``` + +### Additional Query Parameters + +If you would like to send additional query parameters as part of the request, use the `additional_query_parameters` request option. + +```ruby +require "cloudpdf" + +response = client.tenants.create( + ..., + request_options: { + additional_query_parameters: { + "custom_param" => "custom-value" + } + } +) +``` + +## Contributing + +While we value open-source contributions to this SDK, this library is generated programmatically. +Additions made directly to this library would have to be moved over to our generation code, +otherwise they would be overwritten upon the next generated release. Feel free to open a PR as +a proof of concept, but know that we will not be able to merge it as-is. We suggest opening +an issue first to discuss with us! + +On the other hand, contributions to the README are always very welcome! diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..9bdd4a6 --- /dev/null +++ b/Rakefile @@ -0,0 +1,20 @@ +# frozen_string_literal: true + +require "bundler/gem_tasks" +require "minitest/test_task" + +Minitest::TestTask.create + +require "rubocop/rake_task" + +RuboCop::RakeTask.new + +task default: %i[test] + +task lint: %i[rubocop] + +# Run only the custom test file +Minitest::TestTask.create(:customtest) do |t| + t.libs << "test" + t.test_globs = ["test/custom.test.rb"] +end diff --git a/cloudpdf-generation.json b/cloudpdf-generation.json new file mode 100644 index 0000000..fe3eda6 --- /dev/null +++ b/cloudpdf-generation.json @@ -0,0 +1,17 @@ +{ + "language": "ruby", + "canonicalVersion": "3.0.0-next.0", + "sdkVersion": "3.0.0.alpha.0", + "source": { + "repository": "embedpdf/embed-pdf-viewer", + "openapi": "cloudpdf/contract/openapi.json", + "openapiSha256": "8c336584c9ea351dce53e22d58e54539ba47ce8c31dae0a365d05ffff8356272", + "gitCommit": "c5976f4e10573f4dc0d26937222caeb948fce09e", + "gitCommitIsDirty": false + }, + "fern": { + "cliVersion": "5.91.0", + "generatorName": "fernapi/fern-ruby-sdk", + "generatorVersion": "1.21.1" + } +} diff --git a/cloudpdf.gemspec b/cloudpdf.gemspec new file mode 100644 index 0000000..ab4567e --- /dev/null +++ b/cloudpdf.gemspec @@ -0,0 +1,48 @@ +# frozen_string_literal: true + +require_relative "lib/cloudpdf/version" +require_relative "custom.gemspec" + +# NOTE: A handful of these fields are required as part of the Ruby specification. +# You can change them here or overwrite them in the custom gemspec file. +Gem::Specification.new do |spec| + spec.name = "cloudpdf" + spec.authors = ["Cloudpdf"] + spec.version = Cloudpdf::VERSION + spec.summary = "Ruby client library for the Cloudpdf API" + spec.description = "The Cloudpdf Ruby library provides convenient access to the Cloudpdf API from Ruby." + spec.required_ruby_version = ">= 3.3.0" + spec.metadata["rubygems_mfa_required"] = "true" + + # Specify which files should be added to the gem when it is released. + # The `git ls-files -z` loads the files in the RubyGem that have been added into git. + # When the gem is built outside a git checkout (e.g. generated output), fall back to + # globbing the filesystem. + gemspec = File.basename(__FILE__) + tracked_files = begin + IO.popen(%w[git ls-files -z], chdir: __dir__, err: IO::NULL) do |ls| + ls.readlines("\x0", chomp: true) + end + rescue SystemCallError + [] + end || [] + if tracked_files.empty? + tracked_files = Dir.chdir(__dir__) do + Dir.glob("{lib,exe,sig}/**/*", File::FNM_DOTMATCH).select { |f| File.file?(f) } + + Dir.glob("*").select { |f| File.file?(f) } + end + end + spec.files = tracked_files.reject do |f| + (f == gemspec) || + f.start_with?(*%w[bin/ test/ spec/ features/ .git appveyor Gemfile]) + end + spec.bindir = "exe" + spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) } + spec.require_paths = ["lib"] + # For more information and examples about making a new gem, check out our + # guide at: https://bundler.io/guides/creating_gem.html + + # Load custom gemspec configuration if it exists + custom_gemspec_file = File.join(__dir__, "custom.gemspec.rb") + add_custom_gemspec_data(spec) if File.exist?(custom_gemspec_file) +end diff --git a/custom.gemspec.rb b/custom.gemspec.rb new file mode 100644 index 0000000..04fa789 --- /dev/null +++ b/custom.gemspec.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +def add_custom_gemspec_data(spec) + spec.authors = ["CloudPDF"] + spec.email = ["hello@cloudpdf.com"] + spec.homepage = "https://www.cloudpdf.com" + spec.license = "Apache-2.0" +end diff --git a/lib/cloudpdf.rb b/lib/cloudpdf.rb new file mode 100644 index 0000000..739449e --- /dev/null +++ b/lib/cloudpdf.rb @@ -0,0 +1,1969 @@ +# frozen_string_literal: true + +require "json" +require "net/http" +require "securerandom" + +require_relative "cloudpdf/internal/json/serializable" +require_relative "cloudpdf/internal/types/type" +require_relative "cloudpdf/internal/types/utils" +require_relative "cloudpdf/internal/types/union" +require_relative "cloudpdf/internal/errors/constraint_error" +require_relative "cloudpdf/internal/errors/type_error" +require_relative "cloudpdf/internal/http/base_request" +require_relative "cloudpdf/internal/json/request" +require_relative "cloudpdf/internal/http/raw_client" +require_relative "cloudpdf/internal/multipart/multipart_encoder" +require_relative "cloudpdf/internal/multipart/multipart_form_data_part" +require_relative "cloudpdf/internal/multipart/multipart_form_data" +require_relative "cloudpdf/internal/multipart/multipart_request" +require_relative "cloudpdf/internal/types/model/field" +require_relative "cloudpdf/internal/types/model" +require_relative "cloudpdf/internal/types/array" +require_relative "cloudpdf/internal/types/boolean" +require_relative "cloudpdf/internal/types/enum" +require_relative "cloudpdf/internal/types/hash" +require_relative "cloudpdf/internal/types/unknown" +require_relative "cloudpdf/errors/api_error" +require_relative "cloudpdf/errors/response_error" +require_relative "cloudpdf/errors/client_error" +require_relative "cloudpdf/errors/redirect_error" +require_relative "cloudpdf/errors/server_error" +require_relative "cloudpdf/errors/timeout_error" +require_relative "cloudpdf/internal/iterators/item_iterator" +require_relative "cloudpdf/internal/iterators/cursor_item_iterator" +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/documents/types/list_documents_request_state" +require_relative "cloudpdf/documents/types/documents_init_request_dedup_mode" +require_relative "cloudpdf/doc/forms/types/export_data_forms_request_format" +require_relative "cloudpdf/types/admin_error_payload_error" +require_relative "cloudpdf/types/admin_error_payload" +require_relative "cloudpdf/types/engine_error_payload_name" +require_relative "cloudpdf/types/engine_error_payload_code" +require_relative "cloudpdf/types/engine_error_payload" +require_relative "cloudpdf/types/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" +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" +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" +require_relative "cloudpdf/types/documents_init200response_created_document" +require_relative "cloudpdf/types/documents_init200response_created_upload_presigned_presigned_method" +require_relative "cloudpdf/types/documents_init200response_created_upload_presigned_presigned" +require_relative "cloudpdf/types/documents_init200response_created_upload_presigned" +require_relative "cloudpdf/types/documents_init200response_created_upload_direct" +require_relative "cloudpdf/types/documents_init200response_created_upload" +require_relative "cloudpdf/types/documents_init200response_created" +require_relative "cloudpdf/types/documents_init200response_resumed_document_state" +require_relative "cloudpdf/types/documents_init200response_resumed_document_thumbnail_state" +require_relative "cloudpdf/types/documents_init200response_resumed_document" +require_relative "cloudpdf/types/documents_init200response_resumed_upload_presigned_presigned_method" +require_relative "cloudpdf/types/documents_init200response_resumed_upload_presigned_presigned" +require_relative "cloudpdf/types/documents_init200response_resumed_upload_presigned" +require_relative "cloudpdf/types/documents_init200response_resumed_upload_direct" +require_relative "cloudpdf/types/documents_init200response_resumed_upload" +require_relative "cloudpdf/types/documents_init200response_resumed" +require_relative "cloudpdf/types/documents_init200response_deduped_document_state" +require_relative "cloudpdf/types/documents_init200response_deduped_document_thumbnail_state" +require_relative "cloudpdf/types/documents_init200response_deduped_document" +require_relative "cloudpdf/types/documents_init200response_deduped" +require_relative "cloudpdf/types/documents_init200response" +require_relative "cloudpdf/types/documents_init400response_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_direct200response" +require_relative "cloudpdf/types/documents_upload_direct400response_error" +require_relative "cloudpdf/types/documents_upload_direct400response" +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" +require_relative "cloudpdf/types/tokens_issue_request_tenant_scope_item_zero" +require_relative "cloudpdf/types/tokens_issue_request_tenant_scope_item_one" +require_relative "cloudpdf/types/tokens_issue_request_tenant_scope_item" +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/doc_head200response_state" +require_relative "cloudpdf/types/doc_head200response_encryption_state" +require_relative "cloudpdf/types/doc_head200response_encryption" +require_relative "cloudpdf/types/doc_head200response_permissions_opened_as" +require_relative "cloudpdf/types/doc_head200response_permissions" +require_relative "cloudpdf/types/doc_head200response_access_reasons_item" +require_relative "cloudpdf/types/doc_head200response_access" +require_relative "cloudpdf/types/doc_head200response" +require_relative "cloudpdf/types/doc_head404response_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_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_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_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_actions_activate_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_activate_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_activate_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_activate" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_enter_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_enter_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_enter_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_enter" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_exit_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_exit_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_exit_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_exit" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_down_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_down_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_down_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_down" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_up_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_up_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_up_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_up" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_focus_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_focus_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_focus_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_focus" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_blur_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_blur_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_blur_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_blur" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_open_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_open_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_open_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_open" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_close_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_close_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_close_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_close" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_visible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_visible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_visible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_visible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_invisible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_invisible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_invisible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_invisible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions" +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_actions_activate_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_activate_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_activate_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_activate" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_enter_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_enter_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_enter_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_enter" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_exit_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_exit_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_exit_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_exit" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_down_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_down_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_down_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_down" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_up_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_up_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_up_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_up" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_focus_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_focus_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_focus_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_focus" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_blur_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_blur_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_blur_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_blur" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_open_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_open_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_open_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_open" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_close_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_close_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_close_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_close" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_visible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_visible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_visible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_visible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_invisible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_invisible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_invisible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_invisible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions" +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_actions_activate_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_activate_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_activate_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_activate" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_enter_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_enter_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_enter_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_enter" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_exit_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_exit_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_exit_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_exit" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_down_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_down_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_down_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_down" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_up_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_up_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_up_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_up" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_focus_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_focus_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_focus_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_focus" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_blur_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_blur_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_blur_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_blur" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_open_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_open_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_open_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_open" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_close_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_close_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_close_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_close" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_visible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_visible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_visible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_visible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_invisible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_invisible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_invisible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_invisible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions" +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_actions_activate_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_activate_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_activate_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_activate" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_enter_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_enter_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_enter_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_enter" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_exit_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_exit_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_exit_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_exit" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_down_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_down_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_down_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_down" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_up_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_up_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_up_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_up" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_focus_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_focus_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_focus_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_focus" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_blur_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_blur_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_blur_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_blur" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_open_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_open_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_open_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_open" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_close_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_close_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_close_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_close" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_visible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_visible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_visible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_visible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_invisible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_invisible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_invisible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_invisible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions" +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_actions_activate_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_activate_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_activate_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_activate" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_enter_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_enter_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_enter_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_enter" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_exit_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_exit_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_exit_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_exit" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_down_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_down_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_down_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_down" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_up_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_up_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_up_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_up" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_focus_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_focus_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_focus_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_focus" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_blur_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_blur_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_blur_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_blur" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_open_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_open_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_open_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_open" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_close_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_close_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_close_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_close" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_visible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_visible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_visible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_visible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_invisible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_invisible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_invisible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_invisible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions" +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_actions_activate_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_activate_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_activate_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_activate" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_enter_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_enter_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_enter_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_enter" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_exit_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_exit_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_exit_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_exit" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_down_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_down_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_down_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_down" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_up_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_up_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_up_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_up" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_focus_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_focus_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_focus_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_focus" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_blur_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_blur_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_blur_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_blur" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_open_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_open_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_open_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_open" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_close_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_close_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_close_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_close" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_visible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_visible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_visible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_visible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_invisible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_invisible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_invisible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_invisible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions" +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_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_actions_activate_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_activate_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_activate_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_activate" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_enter_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_enter_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_enter_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_enter" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_exit_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_exit_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_exit_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_exit" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_down_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_down_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_down_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_down" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_up_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_up_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_up_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_up" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_focus_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_focus_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_focus_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_focus" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_blur_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_blur_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_blur_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_blur" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_open_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_open_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_open_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_open" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_close_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_close_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_close_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_close" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_visible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_visible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_visible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_visible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_invisible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_invisible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_invisible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_invisible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions" +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_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_actions_activate_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_activate_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_activate_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_activate" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_enter_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_enter_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_enter_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_enter" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_exit_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_exit_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_exit_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_exit" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_down_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_down_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_down_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_down" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_up_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_up_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_up_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_up" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_focus_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_focus_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_focus_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_focus" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_blur_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_blur_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_blur_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_blur" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_open_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_open_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_open_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_open" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_close_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_close_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_close_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_close" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_visible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_visible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_visible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_visible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_invisible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_invisible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_invisible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_invisible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions" +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_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_actions_activate_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_activate_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_activate_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_activate" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_enter_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_enter_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_enter_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_enter" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_exit_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_exit_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_exit_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_exit" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_down_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_down_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_down_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_down" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_up_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_up_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_up_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_up" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_focus_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_focus_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_focus_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_focus" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_blur_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_blur_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_blur_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_blur" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_open_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_open_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_open_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_open" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_close_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_close_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_close_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_close" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_visible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_visible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_visible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_visible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_invisible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_invisible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_invisible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_invisible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions" +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_actions_activate_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_activate_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_activate_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_activate" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_enter_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_enter_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_enter_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_enter" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_exit_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_exit_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_exit_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_exit" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_down_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_down_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_down_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_down" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_up_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_up_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_up_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_up" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_focus_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_focus_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_focus_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_focus" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_blur_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_blur_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_blur_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_blur" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_open_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_open_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_open_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_open" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_close_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_close_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_close_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_close" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_visible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_visible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_visible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_visible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_invisible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_invisible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_invisible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_invisible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination_xyz" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination_fit" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination_fit_h" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination_fit_v" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination_fit_r" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination_fit_b" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination_fit_bh" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination_fit_bv" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination" +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_actions_activate_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_activate_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_activate_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_activate" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_enter_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_enter_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_enter_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_enter" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_exit_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_exit_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_exit_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_exit" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_down_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_down_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_down_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_down" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_up_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_up_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_up_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_up" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_focus_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_focus_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_focus_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_focus" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_blur_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_blur_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_blur_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_blur" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_open_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_open_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_open_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_open" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_close_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_close_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_close_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_close" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_visible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_visible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_visible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_visible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_invisible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_invisible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_invisible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_invisible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions" +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_actions_activate_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_activate_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_activate_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_activate" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_enter_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_enter_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_enter_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_enter" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_exit_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_exit_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_exit_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_exit" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_down_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_down_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_down_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_down" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_up_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_up_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_up_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_up" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_focus_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_focus_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_focus_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_focus" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_blur_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_blur_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_blur_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_blur" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_open_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_open_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_open_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_open" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_close_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_close_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_close_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_close" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_visible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_visible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_visible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_visible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_invisible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_invisible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_invisible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_invisible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_intent" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_font_family" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_text_align" +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_actions_activate_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_activate_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_activate_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_activate" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_enter_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_enter_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_enter_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_enter" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_exit_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_exit_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_exit_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_exit" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_down_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_down_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_down_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_down" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_up_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_up_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_up_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_up" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_focus_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_focus_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_focus_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_focus" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_blur_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_blur_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_blur_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_blur" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_open_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_open_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_open_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_open" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_close_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_close_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_close_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_close" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_visible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_visible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_visible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_visible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_invisible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_invisible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_invisible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_invisible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions" +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" +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_actions_activate_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_activate_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_activate_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_activate" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_enter_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_enter_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_enter_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_enter" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_exit_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_exit_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_exit_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_exit" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_down_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_down_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_down_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_down" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_up_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_up_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_up_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_up" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_focus_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_focus_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_focus_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_focus" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_blur_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_blur_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_blur_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_blur" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_open_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_open_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_open_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_open" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_close_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_close_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_close_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_close" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_visible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_visible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_visible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_visible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_invisible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_invisible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_invisible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_invisible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions" +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_actions_activate_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_activate_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_activate_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_activate" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_enter_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_enter_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_enter_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_enter" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_exit_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_exit_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_exit_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_exit" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_down_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_down_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_down_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_down" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_up_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_up_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_up_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_up" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_focus_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_focus_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_focus_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_focus" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_blur_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_blur_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_blur_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_blur" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_open_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_open_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_open_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_open" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_close_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_close_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_close_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_close" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_visible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_visible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_visible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_visible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_invisible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_invisible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_invisible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_invisible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions" +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_actions_activate_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_activate_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_activate_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_activate" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_enter_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_enter_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_enter_warn_54298b" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_enter" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_exit_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_exit_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_exit_warni_24a6a0" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_exit" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_down_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_down_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_down_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_down" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_up_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_up_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_up_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_up" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_focus_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_focus_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_focus_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_focus" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_blur_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_blur_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_blur_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_blur" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_open_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_open_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_open_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_open" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_close_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_close_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_close_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_close" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_visible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_visible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_visible_warn_2f568a" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_visible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_invisible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_invisible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_invisible_wa_35542a" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_invisible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions" +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_actions_activate_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_activate_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_activate_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_activate" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_enter_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_enter_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_enter_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_enter" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_exit_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_exit_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_exit_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_exit" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_down_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_down_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_down_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_down" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_up_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_up_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_up_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_up" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_focus_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_focus_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_focus_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_focus" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_blur_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_blur_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_blur_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_blur" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_open_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_open_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_open_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_open" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_close_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_close_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_close_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_close" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_visible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_visible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_visible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_visible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_invisible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_invisible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_invisible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_invisible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions" +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_actions_activate_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_activate_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_activate_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_activate" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_enter_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_enter_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_enter_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_enter" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_exit_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_exit_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_exit_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_exit" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_down_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_down_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_down_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_down" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_up_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_up_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_up_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_up" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_focus_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_focus_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_focus_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_focus" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_blur_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_blur_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_blur_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_blur" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_open_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_open_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_open_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_open" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_close_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_close_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_close_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_close" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_visible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_visible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_visible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_visible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_invisible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_invisible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_invisible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_invisible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions" +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_actions_activate_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_activate_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_activate_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_activate" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_enter_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_enter_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_enter_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_enter" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_exit_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_exit_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_exit_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_exit" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_down_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_down_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_down_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_down" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_up_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_up_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_up_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_up" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_focus_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_focus_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_focus_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_focus" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_blur_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_blur_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_blur_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_blur" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_open_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_open_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_open_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_open" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_close_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_close_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_close_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_close" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_visible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_visible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_visible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_visible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_invisible_root_type" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_invisible_root" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_invisible_warnings_item" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_invisible" +require_relative "cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions" +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_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" +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_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_actions_keystroke_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_text_actions_keystroke_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_text_actions_keystroke_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_text_actions_keystroke" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_text_actions_format_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_text_actions_format_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_text_actions_format_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_text_actions_format" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_text_actions_validate_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_text_actions_validate_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_text_actions_validate_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_text_actions_validate" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_text_actions_calculate_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_text_actions_calculate_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_text_actions_calculate_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_text_actions_calculate" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_text_actions" +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_actions_keystroke_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_keystroke_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_keystroke_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_keystroke" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_format_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_format_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_format_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_format" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_validate_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_validate_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_validate_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_validate" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_calculate_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_calculate_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_calculate_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_calculate" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions" +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_actions_keystroke_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_keystroke_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_keystroke_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_keystroke" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_format_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_format_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_format_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_format" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_validate_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_validate_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_validate_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_validate" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_calculate_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_calculate_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_calculate_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_calculate" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_radio_actions" +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_actions_keystroke_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_keystroke_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_keystroke_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_keystroke" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_format_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_format_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_format_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_format" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_validate_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_validate_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_validate_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_validate" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_calculate_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_calculate_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_calculate_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_calculate" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions" +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_actions_keystroke_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_keystroke_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_keystroke_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_keystroke" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_format_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_format_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_format_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_format" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_validate_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_validate_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_validate_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_validate" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_calculate_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_calculate_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_calculate_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_calculate" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions" +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_actions_keystroke_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_keystroke_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_keystroke_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_keystroke" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_format_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_format_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_format_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_format" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_validate_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_validate_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_validate_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_validate" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_calculate_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_calculate_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_calculate_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_calculate" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions" +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_actions_keystroke_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_keystroke_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_keystroke_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_keystroke" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_format_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_format_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_format_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_format" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_validate_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_validate_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_validate_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_validate" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_calculate_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_calculate_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_calculate_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_calculate" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_signature_actions" +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_actions_keystroke_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_keystroke_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_keystroke_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_keystroke" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_format_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_format_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_format_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_format" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_validate_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_validate_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_validate_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_validate" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_calculate_root_type" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_calculate_root" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_calculate_warnings_item" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_calculate" +require_relative "cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions" +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_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_reset200response" +require_relative "cloudpdf/types/doc_forms_reset404response_name" +require_relative "cloudpdf/types/doc_forms_reset404response_code" +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_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_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" +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" +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_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" +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_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" +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/download_doc_request" +require_relative "cloudpdf/doc/types/manifest_doc_request" +require_relative "cloudpdf/doc/types/render_doc_request" +require_relative "cloudpdf/doc/types/text_doc_request" +require_relative "cloudpdf/tenants/client" +require_relative "cloudpdf/tenants/types/list_tenants_request" +require_relative "cloudpdf/tenants/types/tenants_create_request" +require_relative "cloudpdf/tenants/types/get_tenants_request" +require_relative "cloudpdf/tenants/types/delete_tenants_request" +require_relative "cloudpdf/documents/client" +require_relative "cloudpdf/documents/types/list_documents_request" +require_relative "cloudpdf/documents/types/get_documents_request" +require_relative "cloudpdf/documents/types/delete_documents_request" +require_relative "cloudpdf/documents/types/documents_commit_request" +require_relative "cloudpdf/documents/types/download_documents_request" +require_relative "cloudpdf/documents/types/thumbnail_documents_request" +require_relative "cloudpdf/documents/types/documents_init_request" +require_relative "cloudpdf/tokens/client" +require_relative "cloudpdf/tokens/types/issue_tokens_request" +require_relative "cloudpdf/tokens/types/tokens_revoke_request" +require_relative "cloudpdf/doc/annotations/client" +require_relative "cloudpdf/doc/annotations/types/list_annotations_request" +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/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/set_value_forms_request" +require_relative "cloudpdf/doc/metadata/client" +require_relative "cloudpdf/doc/metadata/types/get_metadata_request" +require_relative "cloudpdf/doc/pages/client" +require_relative "cloudpdf/doc/pages/types/delete_pages_request" +require_relative "cloudpdf/doc/pages/types/flatten_pages_request" +require_relative "cloudpdf/doc/pages/types/move_pages_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" diff --git a/lib/cloudpdf/client.rb b/lib/cloudpdf/client.rb new file mode 100644 index 0000000..ca518b5 --- /dev/null +++ b/lib/cloudpdf/client.rb @@ -0,0 +1,46 @@ +# frozen_string_literal: true + +module Cloudpdf + class Client + # @param token [String] + # @param base_url [String, nil] + # @param max_retries [Integer] + # + # @return [void] + def initialize(token:, base_url: nil, max_retries: 2) + @raw_client = Cloudpdf::Internal::Http::RawClient.new( + base_url: base_url, + headers: { + "X-Fern-Language" => "Ruby", + Authorization: "Bearer #{token}" + }, + max_retries: max_retries + ) + end + + # @return [Cloudpdf::Deployment::Client] + def deployment + @deployment ||= Cloudpdf::Deployment::Client.new(client: @raw_client) + end + + # @return [Cloudpdf::Doc::Client] + def doc + @doc ||= Cloudpdf::Doc::Client.new(client: @raw_client) + end + + # @return [Cloudpdf::Tenants::Client] + def tenants + @tenants ||= Cloudpdf::Tenants::Client.new(client: @raw_client) + end + + # @return [Cloudpdf::Documents::Client] + def documents + @documents ||= Cloudpdf::Documents::Client.new(client: @raw_client) + end + + # @return [Cloudpdf::Tokens::Client] + def tokens + @tokens ||= Cloudpdf::Tokens::Client.new(client: @raw_client) + end + end +end diff --git a/lib/cloudpdf/deployment/client.rb b/lib/cloudpdf/deployment/client.rb new file mode 100644 index 0000000..a698796 --- /dev/null +++ b/lib/cloudpdf/deployment/client.rb @@ -0,0 +1,47 @@ +# frozen_string_literal: true + +module Cloudpdf + module Deployment + 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 + # + # @example + # client.deployment.license_status + # + # @return [Cloudpdf::Types::DeploymentLicenseStatusResponse] + def license_status(request_options: {}, **_params) + request = Cloudpdf::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "GET", + path: "v1/deployment/license/status", + 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) + Cloudpdf::Types::DeploymentLicenseStatusResponse.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 diff --git a/lib/cloudpdf/doc/annotations/client.rb b/lib/cloudpdf/doc/annotations/client.rb new file mode 100644 index 0000000..1b0f371 --- /dev/null +++ b/lib/cloudpdf/doc/annotations/client.rb @@ -0,0 +1,221 @@ +# frozen_string_literal: true + +module Cloudpdf + module Doc + module Annotations + 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 [Integer] :pon + # @option params [String, nil] :document_password + # + # @example + # client.doc.annotations.list( + # doc_id: "docId", + # layer_name: "layerName", + # pon: 1 + # ) + # + # @return [Cloudpdf::Types::DocAnnotationsList200Response] + 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] + + 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", + 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) + Cloudpdf::Types::DocAnnotationsList200Response.load(response.body) + else + error_class = Cloudpdf::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + end + + # Doc JWTs may instead carry collab scopes (annotations:create:self, …) that refine per-annotation authorship + # rules; the API token is exempt from both. + # + # @param request_options [Hash] + # @param params [Cloudpdf::Types::DocAnnotationsCreateRequest] + # @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 [Integer] :pon + # @option params [String, nil] :document_password + # + # @example + # client.doc.annotations.create( + # doc_id: "docId", + # layer_name: "layerName", + # pon: 1, + # request: { + # key: "value" + # } + # ) + # + # @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] + body_params = params.except(*path_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)}/annotations/pages/#{URI.encode_uri_component(params[:pon].to_s)}/items", + headers: headers, + body: body_params, + 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) + Cloudpdf::Types::DocAnnotationsCreate200Response.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 [Integer] :pon + # @option params [String] :annot_key + # @option params [String, nil] :document_password + # + # @example + # client.doc.annotations.delete( + # doc_id: "docId", + # layer_name: "layerName", + # pon: 1, + # annot_key: "annotKey" + # ) + # + # @return [Cloudpdf::Types::DocAnnotationsDelete200Response] + 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] + + 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)}", + 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) + Cloudpdf::Types::DocAnnotationsDelete200Response.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::DocAnnotationsUpdateRequest] + # @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 [Integer] :pon + # @option params [String] :annot_key + # @option params [String, nil] :document_password + # + # @example + # client.doc.annotations.update( + # doc_id: "docId", + # layer_name: "layerName", + # pon: 1, + # annot_key: "annotKey", + # request: { + # key: "value" + # } + # ) + # + # @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] + body_params = params.except(*path_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: "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)}", + headers: headers, + body: body_params, + 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) + 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 + end + end + end +end diff --git a/lib/cloudpdf/doc/annotations/types/create_annotations_request.rb b/lib/cloudpdf/doc/annotations/types/create_annotations_request.rb new file mode 100644 index 0000000..4f838bd --- /dev/null +++ b/lib/cloudpdf/doc/annotations/types/create_annotations_request.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module Cloudpdf + module Doc + module Annotations + module Types + class CreateAnnotationsRequest < 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 :pon, -> { Integer }, optional: false, nullable: false + + 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/annotations/types/delete_annotations_request.rb b/lib/cloudpdf/doc/annotations/types/delete_annotations_request.rb new file mode 100644 index 0000000..d9fcf4b --- /dev/null +++ b/lib/cloudpdf/doc/annotations/types/delete_annotations_request.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module Cloudpdf + module Doc + module Annotations + module Types + class DeleteAnnotationsRequest < 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 :pon, -> { Integer }, optional: false, nullable: false + + 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/list_annotations_request.rb b/lib/cloudpdf/doc/annotations/types/list_annotations_request.rb new file mode 100644 index 0000000..b48ba81 --- /dev/null +++ b/lib/cloudpdf/doc/annotations/types/list_annotations_request.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module Cloudpdf + module Doc + module Annotations + module Types + class ListAnnotationsRequest < 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 :pon, -> { Integer }, optional: false, 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/annotations/types/update_annotations_request.rb b/lib/cloudpdf/doc/annotations/types/update_annotations_request.rb new file mode 100644 index 0000000..085a836 --- /dev/null +++ b/lib/cloudpdf/doc/annotations/types/update_annotations_request.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Cloudpdf + module Doc + module Annotations + module Types + class UpdateAnnotationsRequest < 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 :pon, -> { Integer }, optional: false, nullable: false + + 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 :body, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false + end + end + end + end +end diff --git a/lib/cloudpdf/doc/client.rb b/lib/cloudpdf/doc/client.rb new file mode 100644 index 0000000..2892355 --- /dev/null +++ b/lib/cloudpdf/doc/client.rb @@ -0,0 +1,258 @@ +# frozen_string_literal: true + +module Cloudpdf + module Doc + 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, nil] :document_password + # + # @example + # client.doc.head(doc_id: "docId") + # + # @return [Cloudpdf::Types::DocHead200Response] + def head(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)}/head", + 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) + 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 + + # @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.download( + # doc_id: "docId", + # layer_name: "layerName" + # ) + # + # @return [untyped] + def download(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)}/download", + 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 [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.manifest( + # doc_id: "docId", + # layer_name: "layerName" + # ) + # + # @return [Cloudpdf::Types::DocManifest200Response] + def manifest(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)}/manifest", + 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) + Cloudpdf::Types::DocManifest200Response.load(response.body) + else + error_class = Cloudpdf::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + end + + # Render parameters (viewport, format) pass as flat dotted query keys, e.g. + # `?viewport.kind=width&viewport.width=800`; the full grammar is documented with the viewer. + # + # @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 [Integer] :pon + # @option params [String, nil] :document_password + # + # @example + # client.doc.render( + # doc_id: "docId", + # layer_name: "layerName", + # pon: 1 + # ) + # + # @return [untyped] + def render(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)}/render/pages/#{URI.encode_uri_component(params[:pon].to_s)}/data", + 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 [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 [Integer] :pon + # @option params [String, nil] :document_password + # + # @example + # client.doc.text( + # doc_id: "docId", + # layer_name: "layerName", + # pon: 1 + # ) + # + # @return [Cloudpdf::Types::DocText200Response] + def text(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)}/text/pages/#{URI.encode_uri_component(params[:pon].to_s)}/data", + 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) + Cloudpdf::Types::DocText200Response.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::Annotations::Client] + def annotations + @annotations ||= Cloudpdf::Doc::Annotations::Client.new(client: @client) + end + + # @return [Cloudpdf::Forms::Client] + def forms + @forms ||= Cloudpdf::Doc::Forms::Client.new(client: @client) + end + + # @return [Cloudpdf::Metadata::Client] + def metadata + @metadata ||= Cloudpdf::Doc::Metadata::Client.new(client: @client) + end + + # @return [Cloudpdf::Pages::Client] + def pages + @pages ||= Cloudpdf::Doc::Pages::Client.new(client: @client) + end + + # @return [Cloudpdf::Redactions::Client] + def redactions + @redactions ||= Cloudpdf::Doc::Redactions::Client.new(client: @client) + end + end + end +end diff --git a/lib/cloudpdf/doc/forms/client.rb b/lib/cloudpdf/doc/forms/client.rb new file mode 100644 index 0000000..41c10f7 --- /dev/null +++ b/lib/cloudpdf/doc/forms/client.rb @@ -0,0 +1,257 @@ +# frozen_string_literal: true + +module Cloudpdf + module Doc + module Forms + 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.forms.get( + # doc_id: "docId", + # layer_name: "layerName" + # ) + # + # @return [Cloudpdf::Types::DocFormsGet200Response] + 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)}/form", + 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) + Cloudpdf::Types::DocFormsGet200Response.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 [Cloudpdf::Doc::Forms::Types::ExportDataFormsRequestFormat, nil] :format + # @option params [String, nil] :document_password + # + # @example + # client.doc.forms.export_data( + # doc_id: "docId", + # layer_name: "layerName" + # ) + # + # @return [untyped] + def export_data(request_options: {}, **params) + params = Cloudpdf::Internal::Types::Utils.normalize_keys(params) + query_params = {} + query_params["format"] = params[:format] if params.key?(:format) + + 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)}/form/data", + headers: headers, + query: query_params, + 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::DocFormsImportDataRequest] + # @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.forms.import_data( + # doc_id: "docId", + # layer_name: "layerName", + # request: { + # key: "value" + # } + # ) + # + # @return [Cloudpdf::Types::DocFormsImportData200Response] + def import_data(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] + + 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", + headers: headers, + body: body_params, + 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) + Cloudpdf::Types::DocFormsImportData200Response.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] :field_key + # @option params [String, nil] :document_password + # + # @example + # client.doc.forms.reset( + # doc_id: "docId", + # layer_name: "layerName", + # field_key: "fieldKey" + # ) + # + # @return [Cloudpdf::Types::DocFormsReset200Response] + def reset(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: "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", + 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) + Cloudpdf::Types::DocFormsReset200Response.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::DocFormsSetValueRequest] + # @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] :field_key + # @option params [String, nil] :document_password + # + # @example + # client.doc.forms.set_value( + # doc_id: "docId", + # layer_name: "layerName", + # field_key: "fieldKey", + # request: { + # key: "value" + # } + # ) + # + # @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 field_key] + body_params = params.except(*path_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)}/form/fields/#{URI.encode_uri_component(params[:field_key].to_s)}/value", + headers: headers, + body: body_params, + 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) + Cloudpdf::Types::DocFormsSetValue200Response.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 diff --git a/lib/cloudpdf/doc/forms/types/export_data_forms_request.rb b/lib/cloudpdf/doc/forms/types/export_data_forms_request.rb new file mode 100644 index 0000000..fb6a931 --- /dev/null +++ b/lib/cloudpdf/doc/forms/types/export_data_forms_request.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 0000000..4339c2e --- /dev/null +++ b/lib/cloudpdf/doc/forms/types/export_data_forms_request_format.rb @@ -0,0 +1,16 @@ +# 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 new file mode 100644 index 0000000..b2b0658 --- /dev/null +++ b/lib/cloudpdf/doc/forms/types/get_forms_request.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..0726d70 --- /dev/null +++ b/lib/cloudpdf/doc/forms/types/import_data_forms_request.rb @@ -0,0 +1,19 @@ +# 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/reset_forms_request.rb b/lib/cloudpdf/doc/forms/types/reset_forms_request.rb new file mode 100644 index 0000000..e695b20 --- /dev/null +++ b/lib/cloudpdf/doc/forms/types/reset_forms_request.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 0000000..0f1d756 --- /dev/null +++ b/lib/cloudpdf/doc/forms/types/set_value_forms_request.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module Cloudpdf + module Doc + module Forms + module Types + class SetValueFormsRequest < 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" + + field :body, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false + end + end + end + end +end diff --git a/lib/cloudpdf/doc/metadata/client.rb b/lib/cloudpdf/doc/metadata/client.rb new file mode 100644 index 0000000..0ba9309 --- /dev/null +++ b/lib/cloudpdf/doc/metadata/client.rb @@ -0,0 +1,60 @@ +# frozen_string_literal: true + +module Cloudpdf + module Doc + module Metadata + 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.get( + # doc_id: "docId", + # layer_name: "layerName" + # ) + # + # @return [Cloudpdf::Types::DocMetadataGet200Response] + 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", + 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) + 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 + end + end + end +end diff --git a/lib/cloudpdf/doc/metadata/types/get_metadata_request.rb b/lib/cloudpdf/doc/metadata/types/get_metadata_request.rb new file mode 100644 index 0000000..1dab81c --- /dev/null +++ b/lib/cloudpdf/doc/metadata/types/get_metadata_request.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module Cloudpdf + module Doc + module Metadata + module Types + class GetMetadataRequest < 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/pages/client.rb b/lib/cloudpdf/doc/pages/client.rb new file mode 100644 index 0000000..da44b12 --- /dev/null +++ b/lib/cloudpdf/doc/pages/client.rb @@ -0,0 +1,220 @@ +# frozen_string_literal: true + +module Cloudpdf + module Doc + module Pages + class Client + # @param client [Cloudpdf::Internal::Http::RawClient] + # + # @return [void] + def initialize(client:) + @client = client + end + + # @param request_options [Hash] + # @param params [Cloudpdf::Types::DocPagesDeleteRequest] + # @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.pages.delete( + # doc_id: "docId", + # layer_name: "layerName", + # request: { + # key: "value" + # } + # ) + # + # @return [Cloudpdf::Types::DocPagesDelete200Response] + def delete(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] + + 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/delete", + headers: headers, + body: body_params, + 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) + 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 + + # @param request_options [Hash] + # @param params [Cloudpdf::Types::DocPagesFlattenRequest] + # @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.pages.flatten( + # doc_id: "docId", + # layer_name: "layerName", + # request: { + # key: "value" + # } + # ) + # + # @return [Cloudpdf::Types::DocPagesFlatten200Response] + def flatten(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] + + 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/flatten", + headers: headers, + body: body_params, + 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) + 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 + + # @param request_options [Hash] + # @param params [Cloudpdf::Types::DocPagesMoveRequest] + # @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.pages.move( + # doc_id: "docId", + # layer_name: "layerName", + # request: { + # key: "value" + # } + # ) + # + # @return [Cloudpdf::Types::DocPagesMove200Response] + def move(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] + + 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", + headers: headers, + body: body_params, + 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) + Cloudpdf::Types::DocPagesMove200Response.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::DocPagesRotateRequest] + # @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.pages.rotate( + # doc_id: "docId", + # layer_name: "layerName", + # request: { + # key: "value" + # } + # ) + # + # @return [Cloudpdf::Types::DocPagesRotate200Response] + def rotate(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] + + 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/rotate", + headers: headers, + body: body_params, + 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) + Cloudpdf::Types::DocPagesRotate200Response.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 diff --git a/lib/cloudpdf/doc/pages/types/delete_pages_request.rb b/lib/cloudpdf/doc/pages/types/delete_pages_request.rb new file mode 100644 index 0000000..8a152ab --- /dev/null +++ b/lib/cloudpdf/doc/pages/types/delete_pages_request.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module Cloudpdf + module Doc + module Pages + module Types + class DeletePagesRequest < 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/flatten_pages_request.rb b/lib/cloudpdf/doc/pages/types/flatten_pages_request.rb new file mode 100644 index 0000000..f6db274 --- /dev/null +++ b/lib/cloudpdf/doc/pages/types/flatten_pages_request.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module Cloudpdf + module Doc + module Pages + module Types + class FlattenPagesRequest < 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/move_pages_request.rb b/lib/cloudpdf/doc/pages/types/move_pages_request.rb new file mode 100644 index 0000000..77c812d --- /dev/null +++ b/lib/cloudpdf/doc/pages/types/move_pages_request.rb @@ -0,0 +1,19 @@ +# 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/rotate_pages_request.rb b/lib/cloudpdf/doc/pages/types/rotate_pages_request.rb new file mode 100644 index 0000000..51597d1 --- /dev/null +++ b/lib/cloudpdf/doc/pages/types/rotate_pages_request.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module Cloudpdf + module Doc + module Pages + module Types + class RotatePagesRequest < 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/client.rb b/lib/cloudpdf/doc/redactions/client.rb new file mode 100644 index 0000000..fe84310 --- /dev/null +++ b/lib/cloudpdf/doc/redactions/client.rb @@ -0,0 +1,67 @@ +# frozen_string_literal: true + +module Cloudpdf + module Doc + module Redactions + class Client + # @param client [Cloudpdf::Internal::Http::RawClient] + # + # @return [void] + def initialize(client:) + @client = client + end + + # @param request_options [Hash] + # @param params [Cloudpdf::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 + # @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.redactions.apply( + # doc_id: "docId", + # layer_name: "layerName", + # request: { + # key: "value" + # } + # ) + # + # @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) + + 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)}/redactions/apply", + headers: headers, + body: body_params, + 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) + Cloudpdf::Types::DocRedactionsApply200Response.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 diff --git a/lib/cloudpdf/doc/redactions/types/apply_redactions_request.rb b/lib/cloudpdf/doc/redactions/types/apply_redactions_request.rb new file mode 100644 index 0000000..813e747 --- /dev/null +++ b/lib/cloudpdf/doc/redactions/types/apply_redactions_request.rb @@ -0,0 +1,19 @@ +# 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/types/download_doc_request.rb b/lib/cloudpdf/doc/types/download_doc_request.rb new file mode 100644 index 0000000..33878b3 --- /dev/null +++ b/lib/cloudpdf/doc/types/download_doc_request.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Doc + module Types + class DownloadDocRequest < 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 diff --git a/lib/cloudpdf/doc/types/head_doc_request.rb b/lib/cloudpdf/doc/types/head_doc_request.rb new file mode 100644 index 0000000..c7f409e --- /dev/null +++ b/lib/cloudpdf/doc/types/head_doc_request.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Doc + module Types + class HeadDocRequest < Internal::Types::Model + field :doc_id, -> { String }, optional: false, nullable: false, api_name: "docId" + + field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + end + end + end +end diff --git a/lib/cloudpdf/doc/types/manifest_doc_request.rb b/lib/cloudpdf/doc/types/manifest_doc_request.rb new file mode 100644 index 0000000..c6aaf75 --- /dev/null +++ b/lib/cloudpdf/doc/types/manifest_doc_request.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Doc + module Types + class ManifestDocRequest < 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 diff --git a/lib/cloudpdf/doc/types/render_doc_request.rb b/lib/cloudpdf/doc/types/render_doc_request.rb new file mode 100644 index 0000000..b1c4203 --- /dev/null +++ b/lib/cloudpdf/doc/types/render_doc_request.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module Cloudpdf + module Doc + module Types + class RenderDocRequest < 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 :pon, -> { Integer }, optional: false, nullable: false + + field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + end + end + end +end diff --git a/lib/cloudpdf/doc/types/text_doc_request.rb b/lib/cloudpdf/doc/types/text_doc_request.rb new file mode 100644 index 0000000..c98ca62 --- /dev/null +++ b/lib/cloudpdf/doc/types/text_doc_request.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module Cloudpdf + module Doc + module Types + class TextDocRequest < 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 :pon, -> { Integer }, optional: false, nullable: false + + field :document_password, -> { String }, optional: true, nullable: false, api_name: "X-Document-Password" + end + end + end +end diff --git a/lib/cloudpdf/documents/client.rb b/lib/cloudpdf/documents/client.rb new file mode 100644 index 0000000..a72cbd3 --- /dev/null +++ b/lib/cloudpdf/documents/client.rb @@ -0,0 +1,330 @@ +# frozen_string_literal: true + +module Cloudpdf + module Documents + 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] :tenant_id + # @option params [Integer, nil] :limit + # @option params [String, nil] :cursor + # @option params [Cloudpdf::Documents::Types::ListDocumentsRequestState, nil] :state + # + # @example + # client.documents.list(tenant_id: "tenantId") + # + # @return [Cloudpdf::Types::DocumentsList200Response] + def list(request_options: {}, **params) + params = Cloudpdf::Internal::Types::Utils.normalize_keys(params) + query_params = {} + query_params["limit"] = params[:limit] if params.key?(:limit) + query_params["cursor"] = params[:cursor] if params.key?(:cursor) + query_params["state"] = params[:state] if params.key?(:state) + + request = Cloudpdf::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "GET", + path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}/documents", + query: query_params, + 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) + Cloudpdf::Types::DocumentsList200Response.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] :tenant_id + # @option params [String] :id + # + # @example + # client.documents.get( + # tenant_id: "tenantId", + # id: "id" + # ) + # + # @return [Cloudpdf::Types::DocumentsGet200Response] + def get(request_options: {}, **params) + params = Cloudpdf::Internal::Types::Utils.normalize_keys(params) + request = Cloudpdf::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "GET", + path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}/documents/#{URI.encode_uri_component(params[:id].to_s)}", + 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) + Cloudpdf::Types::DocumentsGet200Response.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] :tenant_id + # @option params [String] :id + # + # @example + # client.documents.delete( + # tenant_id: "tenantId", + # id: "id" + # ) + # + # @return [untyped] + def delete(request_options: {}, **params) + params = Cloudpdf::Internal::Types::Utils.normalize_keys(params) + request = Cloudpdf::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "DELETE", + path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}/documents/#{URI.encode_uri_component(params[:id].to_s)}", + 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::Documents::Types::DocumentsCommitRequest] + # @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] :tenant_id + # @option params [String] :id + # + # @example + # client.documents.commit( + # tenant_id: "tenantId", + # id: "id", + # sha256: "sha256" + # ) + # + # @return [Cloudpdf::Types::DocumentsCommit200Response] + def commit(request_options: {}, **params) + params = Cloudpdf::Internal::Types::Utils.normalize_keys(params) + request_data = Cloudpdf::Documents::Types::DocumentsCommitRequest.new(params).to_h + non_body_param_names = %w[tenantId id] + body = request_data.except(*non_body_param_names) + + request = Cloudpdf::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "POST", + path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}/documents/#{URI.encode_uri_component(params[:id].to_s)}/commit", + 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) + Cloudpdf::Types::DocumentsCommit200Response.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] :tenant_id + # @option params [String] :id + # + # @example + # client.documents.download( + # tenant_id: "tenantId", + # id: "id" + # ) + # + # @return [untyped] + def download(request_options: {}, **params) + params = Cloudpdf::Internal::Types::Utils.normalize_keys(params) + request = Cloudpdf::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "GET", + path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}/documents/#{URI.encode_uri_component(params[:id].to_s)}/download", + 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 [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] :tenant_id + # @option params [String] :id + # + # @example + # client.documents.thumbnail( + # tenant_id: "tenantId", + # id: "id" + # ) + # + # @return [untyped] + def thumbnail(request_options: {}, **params) + params = Cloudpdf::Internal::Types::Utils.normalize_keys(params) + request = Cloudpdf::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "GET", + path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}/documents/#{URI.encode_uri_component(params[:id].to_s)}/thumbnail", + 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 [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] :tenant_id + # @option params [String] :id + # + # @return [Cloudpdf::Types::DocumentsUploadDirect200Response] + def upload_direct(request_options: {}, **params) + params = Cloudpdf::Internal::Types::Utils.normalize_keys(params) + request = Cloudpdf::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "POST", + path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}/documents/#{URI.encode_uri_component(params[:id].to_s)}/upload-direct", + 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) + Cloudpdf::Types::DocumentsUploadDirect200Response.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::Documents::Types::DocumentsInitRequest] + # @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] :tenant_id + # + # @example + # client.documents.init( + # tenant_id: "tenantId", + # content_length: 1.1, + # content_sha256: "contentSha256" + # ) + # + # @return [Cloudpdf::Types::DocumentsInit200Response] + def init(request_options: {}, **params) + params = Cloudpdf::Internal::Types::Utils.normalize_keys(params) + request_data = Cloudpdf::Documents::Types::DocumentsInitRequest.new(params).to_h + non_body_param_names = %w[tenantId] + body = request_data.except(*non_body_param_names) + + request = Cloudpdf::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "POST", + path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}/documents/init", + 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) + Cloudpdf::Types::DocumentsInit200Response.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 diff --git a/lib/cloudpdf/documents/types/delete_documents_request.rb b/lib/cloudpdf/documents/types/delete_documents_request.rb new file mode 100644 index 0000000..0839c21 --- /dev/null +++ b/lib/cloudpdf/documents/types/delete_documents_request.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Documents + module Types + class DeleteDocumentsRequest < Internal::Types::Model + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :id, -> { String }, optional: false, nullable: false + end + end + end +end diff --git a/lib/cloudpdf/documents/types/documents_commit_request.rb b/lib/cloudpdf/documents/types/documents_commit_request.rb new file mode 100644 index 0000000..58d44fa --- /dev/null +++ b/lib/cloudpdf/documents/types/documents_commit_request.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Documents + module Types + class DocumentsCommitRequest < Internal::Types::Model + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :id, -> { String }, optional: false, nullable: false + + field :sha256, -> { String }, optional: false, nullable: false + end + end + end +end diff --git a/lib/cloudpdf/documents/types/documents_init_request.rb b/lib/cloudpdf/documents/types/documents_init_request.rb new file mode 100644 index 0000000..6a6e1b4 --- /dev/null +++ b/lib/cloudpdf/documents/types/documents_init_request.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true + +module Cloudpdf + module Documents + module Types + class DocumentsInitRequest < Internal::Types::Model + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :content_length, -> { Integer }, optional: false, nullable: false, api_name: "contentLength" + + field :content_sha256, -> { String }, optional: false, nullable: false, api_name: "contentSha256" + + field :metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :idempotency_key, -> { String }, optional: true, nullable: false, api_name: "idempotencyKey" + + field :dedup_mode, -> { Cloudpdf::Documents::Types::DocumentsInitRequestDedupMode }, optional: true, nullable: false, api_name: "dedupMode" + + field :doc_id, -> { String }, optional: true, nullable: false, api_name: "docId" + + field :upload_ttl_sec, -> { Integer }, optional: true, nullable: false, api_name: "uploadTtlSec" + end + end + end +end diff --git a/lib/cloudpdf/documents/types/documents_init_request_dedup_mode.rb b/lib/cloudpdf/documents/types/documents_init_request_dedup_mode.rb new file mode 100644 index 0000000..c526175 --- /dev/null +++ b/lib/cloudpdf/documents/types/documents_init_request_dedup_mode.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Cloudpdf + module Documents + module Types + module DocumentsInitRequestDedupMode + extend Cloudpdf::Internal::Types::Enum + + ALWAYS_CREATE = "always-create" + REUSE_EXISTING = "reuse-existing" + end + end + end +end diff --git a/lib/cloudpdf/documents/types/download_documents_request.rb b/lib/cloudpdf/documents/types/download_documents_request.rb new file mode 100644 index 0000000..95b5969 --- /dev/null +++ b/lib/cloudpdf/documents/types/download_documents_request.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Documents + module Types + class DownloadDocumentsRequest < Internal::Types::Model + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :id, -> { String }, optional: false, nullable: false + end + end + end +end diff --git a/lib/cloudpdf/documents/types/get_documents_request.rb b/lib/cloudpdf/documents/types/get_documents_request.rb new file mode 100644 index 0000000..5cb2169 --- /dev/null +++ b/lib/cloudpdf/documents/types/get_documents_request.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Documents + module Types + class GetDocumentsRequest < Internal::Types::Model + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :id, -> { String }, optional: false, nullable: false + end + end + end +end diff --git a/lib/cloudpdf/documents/types/list_documents_request.rb b/lib/cloudpdf/documents/types/list_documents_request.rb new file mode 100644 index 0000000..4f467a8 --- /dev/null +++ b/lib/cloudpdf/documents/types/list_documents_request.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module Cloudpdf + module Documents + module Types + class ListDocumentsRequest < Internal::Types::Model + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :limit, -> { Integer }, optional: true, nullable: false + + field :cursor, -> { String }, optional: true, nullable: false + + field :state, -> { Cloudpdf::Documents::Types::ListDocumentsRequestState }, optional: true, nullable: false + end + end + end +end diff --git a/lib/cloudpdf/documents/types/list_documents_request_state.rb b/lib/cloudpdf/documents/types/list_documents_request_state.rb new file mode 100644 index 0000000..aed172f --- /dev/null +++ b/lib/cloudpdf/documents/types/list_documents_request_state.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Cloudpdf + module Documents + module Types + module ListDocumentsRequestState + extend Cloudpdf::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + FAILED = "failed" + DELETING = "deleting" + end + end + end +end diff --git a/lib/cloudpdf/documents/types/thumbnail_documents_request.rb b/lib/cloudpdf/documents/types/thumbnail_documents_request.rb new file mode 100644 index 0000000..6762afe --- /dev/null +++ b/lib/cloudpdf/documents/types/thumbnail_documents_request.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Documents + module Types + class ThumbnailDocumentsRequest < Internal::Types::Model + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :id, -> { String }, optional: false, nullable: false + end + end + end +end diff --git a/lib/cloudpdf/errors/api_error.rb b/lib/cloudpdf/errors/api_error.rb new file mode 100644 index 0000000..6d04090 --- /dev/null +++ b/lib/cloudpdf/errors/api_error.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +module Cloudpdf + module Errors + class ApiError < StandardError + end + end +end diff --git a/lib/cloudpdf/errors/client_error.rb b/lib/cloudpdf/errors/client_error.rb new file mode 100644 index 0000000..325242c --- /dev/null +++ b/lib/cloudpdf/errors/client_error.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module Cloudpdf + module Errors + class ClientError < ResponseError + end + + class UnauthorizedError < ClientError + end + + class ForbiddenError < ClientError + end + + class NotFoundError < ClientError + end + end +end diff --git a/lib/cloudpdf/errors/redirect_error.rb b/lib/cloudpdf/errors/redirect_error.rb new file mode 100644 index 0000000..5f87093 --- /dev/null +++ b/lib/cloudpdf/errors/redirect_error.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +module Cloudpdf + module Errors + class RedirectError < ResponseError + end + end +end diff --git a/lib/cloudpdf/errors/response_error.rb b/lib/cloudpdf/errors/response_error.rb new file mode 100644 index 0000000..1afacfe --- /dev/null +++ b/lib/cloudpdf/errors/response_error.rb @@ -0,0 +1,42 @@ +# frozen_string_literal: true + +module Cloudpdf + module Errors + class ResponseError < ApiError + attr_reader :code + + def initialize(msg, code:) + @code = code + super(msg) + end + + def inspect + "#<#{self.class.name} @code=#{code} @body=#{message}>" + end + + # Returns the most appropriate error class for the given code. + # + # @return [Class] + def self.subclass_for_code(code) + case code + when 300..399 + RedirectError + when 401 + UnauthorizedError + when 403 + ForbiddenError + when 404 + NotFoundError + when 400..499 + ClientError + when 503 + ServiceUnavailableError + when 500..599 + ServerError + else + ResponseError + end + end + end + end +end diff --git a/lib/cloudpdf/errors/server_error.rb b/lib/cloudpdf/errors/server_error.rb new file mode 100644 index 0000000..ca27329 --- /dev/null +++ b/lib/cloudpdf/errors/server_error.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Cloudpdf + module Errors + class ServerError < ResponseError + end + + class ServiceUnavailableError < ApiError + end + end +end diff --git a/lib/cloudpdf/errors/timeout_error.rb b/lib/cloudpdf/errors/timeout_error.rb new file mode 100644 index 0000000..b44bae0 --- /dev/null +++ b/lib/cloudpdf/errors/timeout_error.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +module Cloudpdf + module Errors + class TimeoutError < ApiError + end + end +end diff --git a/lib/cloudpdf/internal/errors/constraint_error.rb b/lib/cloudpdf/internal/errors/constraint_error.rb new file mode 100644 index 0000000..f75128a --- /dev/null +++ b/lib/cloudpdf/internal/errors/constraint_error.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Cloudpdf + module Internal + module Errors + class ConstraintError < StandardError + end + end + end +end diff --git a/lib/cloudpdf/internal/errors/type_error.rb b/lib/cloudpdf/internal/errors/type_error.rb new file mode 100644 index 0000000..c6520f1 --- /dev/null +++ b/lib/cloudpdf/internal/errors/type_error.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Cloudpdf + module Internal + module Errors + class TypeError < StandardError + end + end + end +end diff --git a/lib/cloudpdf/internal/http/base_request.rb b/lib/cloudpdf/internal/http/base_request.rb new file mode 100644 index 0000000..458f9de --- /dev/null +++ b/lib/cloudpdf/internal/http/base_request.rb @@ -0,0 +1,51 @@ +# frozen_string_literal: true + +module Cloudpdf + module Internal + module Http + # @api private + class BaseRequest + attr_reader :base_url, :path, :method, :headers, :query, :request_options + + # @param base_url [String] The base URL for the request + # @param path [String] The path for the request + # @param method [String] The HTTP method for the request (:get, :post, etc.) + # @param headers [Hash] Additional headers for the request (optional) + # @param query [Hash] Query parameters for the request (optional) + # @param request_options [Cloudpdf::RequestOptions, Hash{Symbol=>Object}, nil] + def initialize(base_url:, path:, method:, headers: {}, query: {}, request_options: {}) + @base_url = base_url + @path = path + @method = method + @headers = headers + @query = query + @request_options = request_options + end + + # @return [Hash] The query parameters merged with additional query parameters from request options. + def encode_query + additional_query = @request_options&.dig(:additional_query_parameters) || @request_options&.dig("additional_query_parameters") || {} + @query.merge(additional_query) + end + + # Child classes should implement: + # - encode_headers: Returns the encoded HTTP request headers. + # - encode_body: Returns the encoded HTTP request body. + + private + + # Merges additional_headers from request_options into sdk_headers, filtering out + # any keys that collide with SDK-set or client-protected headers (case-insensitive). + # @param sdk_headers [Hash] Headers set by the SDK for this request type. + # @param protected_keys [Array] Additional header keys that must not be overridden. + # @return [Hash] The merged headers. + def merge_additional_headers(sdk_headers, protected_keys: []) + additional_headers = @request_options&.dig(:additional_headers) || @request_options&.dig("additional_headers") || {} + all_protected = (sdk_headers.keys + protected_keys).to_set { |k| k.to_s.downcase } + filtered = additional_headers.reject { |key, _| all_protected.include?(key.to_s.downcase) } + sdk_headers.merge(filtered) + end + end + end + end +end diff --git a/lib/cloudpdf/internal/http/raw_client.rb b/lib/cloudpdf/internal/http/raw_client.rb new file mode 100644 index 0000000..bc92dca --- /dev/null +++ b/lib/cloudpdf/internal/http/raw_client.rb @@ -0,0 +1,265 @@ +# frozen_string_literal: true + +module Cloudpdf + module Internal + module Http + # @api private + class RawClient + # Default HTTP status codes that trigger a retry + RETRYABLE_STATUSES = [408, 429, 500, 502, 503, 504, 521, 522, 524].freeze + # Initial delay between retries in seconds + INITIAL_RETRY_DELAY = 0.5 + # Maximum delay between retries in seconds + MAX_RETRY_DELAY = 60.0 + # Jitter factor for randomizing retry delays (20%) + JITTER_FACTOR = 0.2 + + # @return [String] The base URL for requests + attr_reader :base_url + + # @param base_url [String] The base url for the request. + # @param max_retries [Integer] The number of times to retry a failed request, defaults to 2. + # @param timeout [Float] The timeout for the request, defaults to 60.0 seconds. + # @param headers [Hash] The headers for the request. + # @param overridable_headers [Array] The names of the client-level headers a request + # may replace via `additional_headers`. Holds the API's global headers; SDK metadata and + # auth headers are absent from it and so stay protected. + # @param auth_provider [Object, nil] An optional auth provider responding to + # `auth_headers`. When present its headers are resolved on every request so + # token-based schemes (e.g. OAuth) can refresh an expired token mid-session. + def initialize(base_url:, max_retries: 2, timeout: 60.0, headers: {}, overridable_headers: [], auth_provider: nil) + @base_url = base_url + @max_retries = max_retries + @timeout = timeout + @auth_provider = auth_provider + @default_headers = { + "X-Fern-Language": "Ruby", + "X-Fern-SDK-Name": "cloudpdf", + "X-Fern-SDK-Version": "0.0.1" + }.merge(headers) + @overridable_headers = overridable_headers.to_set { |name| name.to_s.downcase } + end + + # @param request [Cloudpdf::Internal::Http::BaseRequest] The HTTP request. + # @return [HTTP::Response] The HTTP response. + def send(request) + url = build_url(request) + # Resolve auth headers once per request (not per retry) so token-based + # providers refresh at most once here; static providers are cheap. + auth_headers = resolve_auth_headers + attempt = 0 + response = nil + + loop do + http_request = build_http_request( + url:, + method: request.method, + headers: request.encode_headers(protected_keys: protected_header_keys + auth_headers.keys), + body: request.encode_body, + auth_headers: auth_headers + ) + + conn = connect(url) + conn.open_timeout = @timeout + conn.read_timeout = @timeout + conn.write_timeout = @timeout + conn.continue_timeout = @timeout + + response = conn.request(http_request) + + break unless should_retry?(response, attempt) + + delay = retry_delay(response, attempt) + sleep(delay) + attempt += 1 + end + + response + end + + # The client-level header names that `additional_headers` must not replace: every default + # header except the API's global headers, which are overridable per request. + # @return [Array] The protected header names. + def protected_header_keys + return @default_headers.keys if @overridable_headers.empty? + + @default_headers.keys.reject { |name| @overridable_headers.include?(name.to_s.downcase) } + end + + # Determines if a request should be retried based on the response status code. + # @param response [Net::HTTPResponse] The HTTP response. + # @param attempt [Integer] The current retry attempt (0-indexed). + # @return [Boolean] Whether the request should be retried. + def should_retry?(response, attempt) + return false if attempt >= @max_retries + + status = response.code.to_i + RETRYABLE_STATUSES.include?(status) + end + + # Calculates the delay before the next retry attempt using exponential backoff with jitter. + # Respects Retry-After header if present. + # @param response [Net::HTTPResponse] The HTTP response. + # @param attempt [Integer] The current retry attempt (0-indexed). + # @return [Float] The delay in seconds before the next retry. + def retry_delay(response, attempt) + # Check for Retry-After header (can be seconds or HTTP date) + retry_after = response["Retry-After"] + if retry_after + delay = parse_retry_after(retry_after) + return [delay, MAX_RETRY_DELAY].min if delay&.positive? + end + + # Exponential backoff with jitter: base_delay * 2^attempt + base_delay = INITIAL_RETRY_DELAY * (2**attempt) + add_jitter([base_delay, MAX_RETRY_DELAY].min) + end + + # Parses the Retry-After header value. + # @param value [String] The Retry-After header value (seconds or HTTP date). + # @return [Float, nil] The delay in seconds, or nil if parsing fails. + def parse_retry_after(value) + # Try parsing as integer (seconds) + seconds = Integer(value, exception: false) + return seconds.to_f if seconds + + # Try parsing as HTTP date + begin + retry_time = Time.httpdate(value) + delay = retry_time - Time.now + delay.positive? ? delay : nil + rescue ArgumentError + nil + end + end + + # Adds random jitter to a delay value. + # @param delay [Float] The base delay in seconds. + # @return [Float] The delay with jitter applied. + def add_jitter(delay) + jitter = delay * JITTER_FACTOR * (rand - 0.5) * 2 + [delay + jitter, 0].max + end + + LOCALHOST_HOSTS = %w[localhost 127.0.0.1 [::1]].freeze + + # @param request [Cloudpdf::Internal::Http::BaseRequest] The HTTP request. + # @return [URI::Generic] The URL. + def build_url(request) + encoded_query = request.encode_query + + # If the path is already an absolute URL, use it directly + if request.path.start_with?("http://", "https://") + url = request.path + url = "#{url}?#{encode_query(encoded_query)}" if encoded_query&.any? + parsed = URI.parse(url) + validate_https!(parsed) + return parsed + end + + path = request.path.start_with?("/") ? request.path[1..] : request.path + base = request.base_url || @base_url + url = "#{base.chomp("/")}/#{path}" + url = "#{url}?#{encode_query(encoded_query)}" if encoded_query&.any? + parsed = URI.parse(url) + validate_https!(parsed) + parsed + end + + # Raises if the URL uses http:// for a non-localhost host, which would + # send authentication credentials in plaintext. + # @param url [URI::Generic] The parsed URL. + def validate_https!(url) + return if url.scheme != "http" + return if LOCALHOST_HOSTS.include?(url.host) + + raise ArgumentError, + "Refusing to send request to non-HTTPS URL: #{url}. " \ + "HTTP is only allowed for localhost. Use HTTPS or pass a localhost URL." + end + + # Resolves the auth headers to send with the next request. Delegates to the + # configured auth provider (if any) on every call so that token-based + # providers (e.g. OAuth client-credentials) can refresh an expired token + # before the request is sent. Returns an empty hash when no provider is set, + # which keeps the api-key / basic / bearer / no-auth paths unchanged. + # @return [Hash] The auth headers for the current request. + def resolve_auth_headers + return {} if @auth_provider.nil? + + @auth_provider.auth_headers + end + + # @param url [URI::Generic] The url to the resource. + # @param method [String] The HTTP method to use. + # @param headers [Hash] The headers for the request. + # @param body [String, nil] The body for the request. + # @param auth_headers [Hash] The auth headers resolved for this request. These + # take precedence over the static default headers but not over per-request + # headers, mirroring the previous baked-header precedence. + # @return [HTTP::Request] The HTTP request. + def build_http_request(url:, method:, headers: {}, body: nil, auth_headers: {}) + request = Net::HTTPGenericRequest.new( + method, + !body.nil?, + method != "HEAD", + url + ) + + request_headers = @default_headers.merge(auth_headers).merge(headers) + request_headers.each { |name, value| request[name] = value } + request.body = body if body + + # Net::HTTP disables its transparent gzip/deflate decoding as soon as an + # Accept-Encoding header is set explicitly on the request. Re-enable it so + # that compressed response bodies are still inflated. + request.extend(DecodeContent) if request_headers.keys.any? { |name| name.to_s.casecmp("accept-encoding").zero? } + + request + end + + # Keeps Net::HTTP's transparent gzip/deflate response decoding enabled + # even when an Accept-Encoding header is set explicitly on the request. + # @api private + module DecodeContent + def decode_content # rubocop:disable Naming/PredicateMethod + true + end + end + + # @param query [Hash] The query for the request. + # @return [String, nil] The encoded query. + def encode_query(query) + query.to_h.empty? ? nil : URI.encode_www_form(query) + end + + # @param url [URI::Generic] The url to connect to. + # @return [Net::HTTP] The HTTP connection. + def connect(url) + is_https = (url.scheme == "https") + + port = if url.port + url.port + elsif is_https + Net::HTTP.https_default_port + else + Net::HTTP.http_default_port + end + + http = Net::HTTP.new(url.host, port) + http.use_ssl = is_https + http.verify_mode = OpenSSL::SSL::VERIFY_PEER if is_https + # NOTE: We handle retries at the application level with HTTP status code awareness, + # so we set max_retries to 0 to disable Net::HTTP's built-in network-level retries. + http.max_retries = 0 + http + end + + # @return [String] + def inspect + "#<#{self.class.name}:0x#{object_id.to_s(16)} @base_url=#{@base_url.inspect}>" + end + end + end + end +end diff --git a/lib/cloudpdf/internal/iterators/cursor_item_iterator.rb b/lib/cloudpdf/internal/iterators/cursor_item_iterator.rb new file mode 100644 index 0000000..722a60c --- /dev/null +++ b/lib/cloudpdf/internal/iterators/cursor_item_iterator.rb @@ -0,0 +1,28 @@ +# frozen_string_literal: true + +module Cloudpdf + module Internal + class CursorItemIterator < ItemIterator + # Instantiates a CursorItemIterator, an Enumerable class which wraps calls to a cursor-based paginated API and yields individual items from it. + # + # @param initial_cursor [String] The initial cursor to use when iterating, if any. + # @param cursor_field [Symbol] The field in API responses to extract the next cursor from. + # @param item_field [Symbol] The field in API responses to extract the items to iterate over. + # @param block [Proc] A block which is responsible for receiving a cursor to use and returning the given page from the API. + # @return [Cloudpdf::Internal::CursorItemIterator] + def initialize(initial_cursor:, cursor_field:, item_field:, &) + super() + @item_field = item_field + @page_iterator = CursorPageIterator.new(initial_cursor:, cursor_field:, &) + @page = nil + end + + # Returns the CursorPageIterator mediating access to the underlying API. + # + # @return [Cloudpdf::Internal::CursorPageIterator] + def pages + @page_iterator + end + end + end +end diff --git a/lib/cloudpdf/internal/iterators/cursor_page_iterator.rb b/lib/cloudpdf/internal/iterators/cursor_page_iterator.rb new file mode 100644 index 0000000..55f3e4c --- /dev/null +++ b/lib/cloudpdf/internal/iterators/cursor_page_iterator.rb @@ -0,0 +1,63 @@ +# frozen_string_literal: true + +module Cloudpdf + module Internal + class CursorPageIterator + include Enumerable + + # The raw HTTP response from the most recent page response. + # @return [Net::HTTPResponse, nil] + attr_reader :http_response + + # Instantiates a CursorPageIterator, an Enumerable class which wraps calls to a cursor-based paginated API and yields pages of items. + # + # @param initial_cursor [String] The initial cursor to use when iterating, if any. + # @param cursor_field [Symbol] The name of the field in API responses to extract the next cursor from. + # @param block [Proc] A block which is responsible for receiving a cursor to use and returning the given page from the API. + # The block should return a two-element array: [parsed_page, raw_http_response]. + # @return [Cloudpdf::Internal::CursorPageIterator] + def initialize(initial_cursor:, cursor_field:, &block) + @need_initial_load = initial_cursor.nil? + @cursor = initial_cursor + @cursor_field = cursor_field + @get_next_page = block + @http_response = nil + end + + # Iterates over each page returned by the API. + # + # @param block [Proc] The block which each retrieved page is yielded to. + # @return [NilClass] + def each(&block) + while (page = next_page) + block.call(page) + end + end + + # Whether another page will be available from the API. + # + # @return [Boolean] + def next? + @need_initial_load || !@cursor.nil? + end + + # Retrieves the next page from the API. + # + # @return [Object, nil] + def next_page + return if !@need_initial_load && @cursor.nil? + + @need_initial_load = false + result = @get_next_page.call(@cursor) + if result.is_a?(Array) + fetched_page, raw_response = result + @http_response = raw_response + else + fetched_page = result + end + @cursor = fetched_page.send(@cursor_field) + fetched_page + end + end + end +end diff --git a/lib/cloudpdf/internal/iterators/item_iterator.rb b/lib/cloudpdf/internal/iterators/item_iterator.rb new file mode 100644 index 0000000..f6a91f2 --- /dev/null +++ b/lib/cloudpdf/internal/iterators/item_iterator.rb @@ -0,0 +1,65 @@ +# frozen_string_literal: true + +module Cloudpdf + module Internal + class ItemIterator + include Enumerable + + # The raw HTTP response from the most recent page response. + # @return [Net::HTTPResponse, nil] + def http_response + @page_iterator&.http_response + end + + # Iterates over each item returned by the API. + # + # @param block [Proc] The block which each retrieved item is yielded to. + # @return [NilClass] + def each(&block) + while (item = next_element) + block.call(item) + end + end + + # Whether another item will be available from the API. + # + # @return [Boolean] + def next? + load_next_page if @page.nil? + return false if @page.nil? + + return true if any_items_in_cached_page? + + load_next_page + any_items_in_cached_page? + end + + # Retrieves the next item from the API. + def next_element + item = next_item_from_cached_page + return item if item + + load_next_page + next_item_from_cached_page + end + + private + + def next_item_from_cached_page + return unless @page + + @page.send(@item_field).shift + end + + def any_items_in_cached_page? + return false unless @page + + !@page.send(@item_field).empty? + end + + def load_next_page + @page = @page_iterator.next_page + end + end + end +end diff --git a/lib/cloudpdf/internal/iterators/offset_item_iterator.rb b/lib/cloudpdf/internal/iterators/offset_item_iterator.rb new file mode 100644 index 0000000..787547f --- /dev/null +++ b/lib/cloudpdf/internal/iterators/offset_item_iterator.rb @@ -0,0 +1,30 @@ +# frozen_string_literal: true + +module Cloudpdf + module Internal + class OffsetItemIterator < ItemIterator + # Instantiates an OffsetItemIterator, an Enumerable class which wraps calls to an offset-based paginated API and yields the individual items from it. + # + # @param initial_page [Integer] The initial page or offset to start from when iterating. + # @param item_field [Symbol] The name of the field in API responses to extract the items to iterate over. + # @param has_next_field [Symbol] The name of the field in API responses containing a boolean of whether another page exists. + # @param step [Boolean] If true, treats the page number as a true offset (i.e. increments the page number by the number of items returned from each call rather than just 1) + # @param block [Proc] A block which is responsible for receiving a page number to use and returning the given page from the API. + # + # @return [Cloudpdf::Internal::OffsetItemIterator] + def initialize(initial_page:, item_field:, has_next_field:, step:, &) + super() + @item_field = item_field + @page_iterator = OffsetPageIterator.new(initial_page:, item_field:, has_next_field:, step:, &) + @page = nil + end + + # Returns the OffsetPageIterator that is mediating access to the underlying API. + # + # @return [Cloudpdf::Internal::OffsetPageIterator] + def pages + @page_iterator + end + end + end +end diff --git a/lib/cloudpdf/internal/iterators/offset_page_iterator.rb b/lib/cloudpdf/internal/iterators/offset_page_iterator.rb new file mode 100644 index 0000000..a3be87a --- /dev/null +++ b/lib/cloudpdf/internal/iterators/offset_page_iterator.rb @@ -0,0 +1,103 @@ +# frozen_string_literal: true + +module Cloudpdf + module Internal + class OffsetPageIterator + include Enumerable + + # The raw HTTP response from the most recent page response. + # @return [Net::HTTPResponse, nil] + attr_reader :http_response + + # Instantiates an OffsetPageIterator, an Enumerable class which wraps calls to an offset-based paginated API and yields pages of items from it. + # + # @param initial_page [Integer] The initial page to use when iterating, if any. + # @param item_field [Symbol] The field to pull the list of items to iterate over. + # @param has_next_field [Symbol] The field to pull the boolean of whether a next page exists from, if any. + # @param step [Boolean] If true, treats the page number as a true offset (i.e. increments the page number by the number of items returned from each call rather than just 1) + # @param block [Proc] A block which is responsible for receiving a page number to use and returning the given page from the API. + # The block should return a two-element array: [parsed_page, raw_http_response]. + # @return [Cloudpdf::Internal::OffsetPageIterator] + def initialize(initial_page:, item_field:, has_next_field:, step:, &block) + @page_number = initial_page || (step ? 0 : 1) + @item_field = item_field + @has_next_field = has_next_field + @step = step + @get_next_page = block + + # A cache of whether the API has another page, if it gives us that information... + @next_page = nil + # ...or the actual next page, preloaded, if it doesn't. + @has_next_page = nil + + @http_response = nil + end + + # Iterates over each page returned by the API. + # + # @param block [Proc] The block which each retrieved page is yielded to. + # @return [NilClass] + def each(&block) + while (page = next_page) + block.call(page) + end + end + + # Whether another page will be available from the API. + # + # @return [Boolean] + def next? + return @has_next_page unless @has_next_page.nil? + return true if @next_page + + fetched_page = fetch_page(@page_number) + fetched_page_items = fetched_page&.send(@item_field) + if fetched_page_items.nil? || fetched_page_items.empty? + @has_next_page = false + else + @next_page = fetched_page + true + end + end + + # Returns the next page from the API. + def next_page + return nil if @page_number.nil? + + if @next_page + this_page = @next_page + @next_page = nil + else + this_page = fetch_page(@page_number) + end + + @has_next_page = this_page&.send(@has_next_field) if @has_next_field + + items = this_page.send(@item_field) + if items.nil? || items.empty? + @page_number = nil + return nil + elsif @step + @page_number += items.length + else + @page_number += 1 + end + + this_page + end + + private + + def fetch_page(page_number) + result = @get_next_page.call(page_number) + if result.is_a?(Array) + fetched_page, raw_response = result + @http_response = raw_response + fetched_page + else + result + end + end + end + end +end diff --git a/lib/cloudpdf/internal/json/request.rb b/lib/cloudpdf/internal/json/request.rb new file mode 100644 index 0000000..7b1269e --- /dev/null +++ b/lib/cloudpdf/internal/json/request.rb @@ -0,0 +1,41 @@ +# frozen_string_literal: true + +module Cloudpdf + module Internal + module JSON + # @api private + class Request < Cloudpdf::Internal::Http::BaseRequest + attr_reader :body + + # @param base_url [String] The base URL for the request + # @param path [String] The path for the request + # @param method [Symbol] The HTTP method for the request (:get, :post, etc.) + # @param headers [Hash] Additional headers for the request (optional) + # @param query [Hash] Query parameters for the request (optional) + # @param body [Object, nil] The JSON request body (optional) + # @param request_options [Cloudpdf::RequestOptions, Hash{Symbol=>Object}, nil] + def initialize(base_url:, path:, method:, headers: {}, query: {}, body: nil, request_options: {}) + super(base_url:, path:, method:, headers:, query:, request_options:) + + @body = body + end + + # @return [Hash] The encoded HTTP request headers. + # @param protected_keys [Array] Header keys set by the SDK client (e.g. auth, metadata) + # that must not be overridden by additional_headers from request_options. + def encode_headers(protected_keys: []) + sdk_headers = { + "Content-Type" => "application/json", + "Accept" => "application/json" + }.merge(@headers) + merge_additional_headers(sdk_headers, protected_keys:) + end + + # @return [String, nil] The encoded HTTP request body. + def encode_body + @body.nil? ? nil : ::JSON.generate(@body) + end + end + end + end +end diff --git a/lib/cloudpdf/internal/json/serializable.rb b/lib/cloudpdf/internal/json/serializable.rb new file mode 100644 index 0000000..93e7af5 --- /dev/null +++ b/lib/cloudpdf/internal/json/serializable.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true + +module Cloudpdf + module Internal + module JSON + module Serializable + # Loads data from JSON into its deserialized form + # + # @param str [String] Raw JSON to load into an object + # @return [Object] + def load(str) + raise NotImplementedError + end + + # Dumps data from its deserialized form into JSON + # + # @param value [Object] The deserialized value + # @return [String] + def dump(value) + raise NotImplementedError + end + end + end + end +end diff --git a/lib/cloudpdf/internal/multipart/multipart_encoder.rb b/lib/cloudpdf/internal/multipart/multipart_encoder.rb new file mode 100644 index 0000000..1cbfeb9 --- /dev/null +++ b/lib/cloudpdf/internal/multipart/multipart_encoder.rb @@ -0,0 +1,141 @@ +# frozen_string_literal: true + +module Cloudpdf + module Internal + module Multipart + # Encodes parameters into a `multipart/form-data` payload as described by RFC + # 2388: + # + # https://tools.ietf.org/html/rfc2388 + # + # This is most useful for transferring file-like objects. + # + # Parameters should be added with `#encode`. When ready, use `#body` to get + # the encoded result and `#content_type` to get the value that should be + # placed in the `Content-Type` header of a subsequent request (which includes + # a boundary value). + # + # This abstraction is heavily inspired by Stripe's multipart/form-data implementation, + # which can be found here: + # + # https://github.com/stripe/stripe-ruby/blob/ca00b676f04ac421cf5cb5ff0325f243651677b6/lib/stripe/multipart_encoder.rb#L18 + # + # @api private + class Encoder + CONTENT_TYPE = "multipart/form-data" + CRLF = "\r\n" + + attr_reader :boundary, :body + + def initialize + # Chose the same number of random bytes that Go uses in its standard + # library implementation. Easily enough entropy to ensure that it won't + # be present in a file we're sending. + @boundary = SecureRandom.hex(30) + + @body = String.new + @closed = false + @first_field = true + end + + # Gets the content type string including the boundary. + # + # @return [String] The content type with boundary + def content_type + "#{CONTENT_TYPE}; boundary=#{@boundary}" + end + + # Encode the given FormData object into a multipart/form-data payload. + # + # @param form_data [FormData] The form data to encode + # @return [String] The encoded body. + def encode(form_data) + return "" if form_data.parts.empty? + + form_data.parts.each do |part| + write_part(part) + end + close + + @body + end + + # Writes a FormDataPart to the encoder. + # + # @param part [FormDataPart] The part to write + # @return [nil] + def write_part(part) + raise "Cannot write to closed encoder" if @closed + + write_field( + name: part.name, + data: part.contents, + filename: part.filename, + headers: part.headers + ) + + nil + end + + # Writes a field to the encoder. + # + # @param name [String] The field name + # @param data [String] The field data + # @param filename [String, nil] Optional filename + # @param headers [Hash, nil] Optional additional headers + # @return [nil] + def write_field(name:, data:, filename: nil, headers: nil) + raise "Cannot write to closed encoder" if @closed + + if @first_field + @first_field = false + else + @body << CRLF + end + + @body << "--#{@boundary}#{CRLF}" + @body << %(Content-Disposition: form-data; name="#{escape(name.to_s)}") + @body << %(; filename="#{escape(filename)}") if filename + @body << CRLF + + if headers + headers.each do |key, value| + @body << "#{key}: #{value}#{CRLF}" + end + elsif filename + # Default content type for files. + @body << "Content-Type: application/octet-stream#{CRLF}" + end + + @body << CRLF + @body << data.to_s + + nil + end + + # Finalizes the encoder by writing the final boundary. + # + # @return [nil] + def close + raise "Encoder already closed" if @closed + + @body << CRLF + @body << "--#{@boundary}--" + @closed = true + + nil + end + + private + + # Escapes quotes for use in header values and replaces line breaks with spaces. + # + # @param str [String] The string to escape + # @return [String] The escaped string + def escape(str) + str.to_s.gsub('"', "%22").tr("\n", " ").tr("\r", " ") + end + end + end + end +end diff --git a/lib/cloudpdf/internal/multipart/multipart_form_data.rb b/lib/cloudpdf/internal/multipart/multipart_form_data.rb new file mode 100644 index 0000000..06fa2ff --- /dev/null +++ b/lib/cloudpdf/internal/multipart/multipart_form_data.rb @@ -0,0 +1,78 @@ +# frozen_string_literal: true + +module Cloudpdf + module Internal + module Multipart + # @api private + class FormData + # @return [Array] The parts in this multipart form data. + attr_reader :parts + + # @return [Encoder] The encoder for this multipart form data. + private attr_reader :encoder + + def initialize + @encoder = Encoder.new + @parts = [] + end + + # Adds a new part to the multipart form data. + # + # @param name [String] The name of the form field + # @param value [String, Integer, Float, Boolean, #read] The value of the field + # @param content_type [String, nil] Optional content type + # @return [self] Returns self for chaining + def add(name:, value:, content_type: nil) + headers = content_type ? { "Content-Type" => content_type } : nil + add_part(FormDataPart.new(name:, value:, headers:)) + end + + # 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 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) + add_part(FormDataPart.new(name:, value: file, filename:, headers:)) + end + + # Adds a pre-created part to the multipart form data. + # + # @param part [FormDataPart] The part to add + # @return [self] Returns self for chaining + def add_part(part) + @parts << part + self + end + + # Gets the content type string including the boundary. + # + # @return [String] The content type with boundary. + def content_type + @encoder.content_type + end + + # Encode the multipart form data into a multipart/form-data payload. + # + # @return [String] The encoded body. + def encode + @encoder.encode(self) + end + + private + + def filename_for(file) + if file.is_a?(::File) || file.respond_to?(:path) + ::File.basename(file.path) + elsif file.respond_to?(:name) + file.name + end + end + end + end + end +end diff --git a/lib/cloudpdf/internal/multipart/multipart_form_data_part.rb b/lib/cloudpdf/internal/multipart/multipart_form_data_part.rb new file mode 100644 index 0000000..3183b67 --- /dev/null +++ b/lib/cloudpdf/internal/multipart/multipart_form_data_part.rb @@ -0,0 +1,51 @@ +# frozen_string_literal: true + +require "securerandom" + +module Cloudpdf + module Internal + module Multipart + # @api private + class FormDataPart + attr_reader :name, :contents, :filename, :headers + + # @param name [String] The name of the form field + # @param value [String, Integer, Float, Boolean, File, #read] The value of the field + # @param filename [String, nil] Optional filename for file uploads + # @param headers [Hash, nil] Optional additional headers + def initialize(name:, value:, filename: nil, headers: nil) + @name = name + @contents = convert_to_content(value) + @filename = filename + @headers = headers + end + + # Converts the part to a hash suitable for serialization. + # + # @return [Hash] A hash representation of the part + def to_hash + result = { + name: @name, + contents: @contents + } + result[:filename] = @filename if @filename + result[:headers] = @headers if @headers + result + end + + private + + # Converts various types of values to a content representation + # @param value [String, Integer, Float, Boolean, #read] The value to convert + # @return [String] The string representation of the value + def convert_to_content(value) + if value.respond_to?(:read) + value.read + else + value.to_s + end + end + end + end + end +end diff --git a/lib/cloudpdf/internal/multipart/multipart_request.rb b/lib/cloudpdf/internal/multipart/multipart_request.rb new file mode 100644 index 0000000..b169aec --- /dev/null +++ b/lib/cloudpdf/internal/multipart/multipart_request.rb @@ -0,0 +1,40 @@ +# frozen_string_literal: true + +module Cloudpdf + module Internal + module Multipart + # @api private + class Request < Cloudpdf::Internal::Http::BaseRequest + attr_reader :body + + # @param base_url [String] The base URL for the request + # @param path [String] The path for the request + # @param method [Symbol] The HTTP method for the request (:get, :post, etc.) + # @param headers [Hash] Additional headers for the request (optional) + # @param query [Hash] Query parameters for the request (optional) + # @param body [MultipartFormData, nil] The multipart form data for the request (optional) + # @param request_options [Cloudpdf::RequestOptions, Hash{Symbol=>Object}, nil] + def initialize(base_url:, path:, method:, headers: {}, query: {}, body: nil, request_options: {}) + super(base_url:, path:, method:, headers:, query:, request_options:) + + @body = body + end + + # @return [Hash] The encoded HTTP request headers. + # @param protected_keys [Array] Header keys set by the SDK client (e.g. auth, metadata) + # that must not be overridden by additional_headers from request_options. + def encode_headers(protected_keys: []) + sdk_headers = { + "Content-Type" => @body.content_type + }.merge(@headers) + merge_additional_headers(sdk_headers, protected_keys:) + end + + # @return [String, nil] The encoded HTTP request body. + def encode_body + @body&.encode + end + end + end + end +end diff --git a/lib/cloudpdf/internal/types/array.rb b/lib/cloudpdf/internal/types/array.rb new file mode 100644 index 0000000..5c0128c --- /dev/null +++ b/lib/cloudpdf/internal/types/array.rb @@ -0,0 +1,47 @@ +# frozen_string_literal: true + +module Cloudpdf + module Internal + module Types + # An array of a specific type + class Array + include Cloudpdf::Internal::Types::Type + + attr_reader :type + + class << self + # Instantiates a new `Array` of a given type + # + # @param type [Object] The member type of this array + # + # @return [Cloudpdf::Internal::Types::Array] + def [](type) + new(type) + end + end + + # @api private + def initialize(type) + @type = type + end + + # Coerces a value into this array + # + # @param value [Object] + # @option strict [Boolean] + # @return [::Array] + def coerce(value, strict: strict?) + unless value.is_a?(::Array) + raise Errors::TypeError, "cannot coerce `#{value.class}` to Array<#{type}>" if strict + + return value + end + + value.map do |element| + Utils.coerce(type, element, strict: strict) + end + end + end + end + end +end diff --git a/lib/cloudpdf/internal/types/boolean.rb b/lib/cloudpdf/internal/types/boolean.rb new file mode 100644 index 0000000..1670bb6 --- /dev/null +++ b/lib/cloudpdf/internal/types/boolean.rb @@ -0,0 +1,34 @@ +# frozen_string_literal: true + +module Cloudpdf + module Internal + module Types + module Boolean + extend Cloudpdf::Internal::Types::Union + + member TrueClass + member FalseClass + + # Overrides the base coercion method for enums to allow integer and string values to become booleans + # + # @param value [Object] + # @option strict [Boolean] + # @return [Object] + def self.coerce(value, strict: strict?) + case value + when TrueClass, FalseClass + return value + when Integer + return value == 1 + when String + return %w[1 true].include?(value) + end + + raise Errors::TypeError, "cannot coerce `#{value.class}` to Boolean" if strict + + value + end + end + end + end +end diff --git a/lib/cloudpdf/internal/types/enum.rb b/lib/cloudpdf/internal/types/enum.rb new file mode 100644 index 0000000..2f3d150 --- /dev/null +++ b/lib/cloudpdf/internal/types/enum.rb @@ -0,0 +1,56 @@ +# frozen_string_literal: true + +module Cloudpdf + module Internal + module Types + # Module for defining enums + module Enum + include Type + + # @api private + # + # @return [Array] + def values + @values ||= constants.map { |c| const_get(c) } + end + + # @api private + def finalize! + values + end + + # @api private + def strict? + @strict ||= false + end + + # @api private + def strict! + @strict = true + end + + def coerce(value, strict: strict?) + coerced_value = Utils.coerce(Symbol, value) + + return coerced_value if values.include?(coerced_value) + + raise Errors::TypeError, "`#{value}` not in enum #{self}" if strict + + value + end + + # Parse JSON string and coerce to the enum value + # + # @param str [String] JSON string to parse + # @return [String] The enum value + def load(str) + coerce(::JSON.parse(str)) + end + + def inspect + "#{name}[#{values.join(", ")}]" + end + end + end + end +end diff --git a/lib/cloudpdf/internal/types/hash.rb b/lib/cloudpdf/internal/types/hash.rb new file mode 100644 index 0000000..880f4b8 --- /dev/null +++ b/lib/cloudpdf/internal/types/hash.rb @@ -0,0 +1,36 @@ +# frozen_string_literal: true + +module Cloudpdf + module Internal + module Types + class Hash + include Type + + attr_reader :key_type, :value_type + + class << self + def [](key_type, value_type) + new(key_type, value_type) + end + end + + def initialize(key_type, value_type) + @key_type = key_type + @value_type = value_type + end + + def coerce(value, strict: strict?) + unless value.is_a?(::Hash) + raise Errors::TypeError, "not hash" if strict + + return value + end + + value.to_h do |k, v| + [Utils.coerce(key_type, k, strict: strict), Utils.coerce(value_type, v, strict: strict)] + end + end + end + end + end +end diff --git a/lib/cloudpdf/internal/types/model.rb b/lib/cloudpdf/internal/types/model.rb new file mode 100644 index 0000000..c263693 --- /dev/null +++ b/lib/cloudpdf/internal/types/model.rb @@ -0,0 +1,208 @@ +# frozen_string_literal: true + +module Cloudpdf + module Internal + module Types + # @abstract + # + # An abstract model that all data objects will inherit from + class Model + include Type + + class << self + # The defined fields for this model + # + # @api private + # + # @return [Hash] + def fields + @fields ||= if self < Cloudpdf::Internal::Types::Model + superclass.fields.dup + else + {} + end + end + + # Any extra fields that have been created from instantiation + # + # @api private + # + # @return [Hash] + def extra_fields + @extra_fields ||= {} + end + + # Define a new field on this model + # + # @param name [Symbol] The name of the field + # @param type [Class] Type of the field + # @option optional [Boolean] If it is an optional field + # @option nullable [Boolean] If it is a nullable field + # @option api_name [Symbol, String] Name in the API of this field. When serializing/deserializing, will use + # this field name + # @return [void] + def field(name, type, optional: false, nullable: false, api_name: nil, default: nil) + add_field_definition(name: name, type: type, optional: optional, nullable: nullable, api_name: api_name, + default: default) + + define_accessor(name) + define_setter(name) + end + + # Define a new literal for this model + # + # @param name [Symbol] + # @param value [Object] + # @option api_name [Symbol, String] + # @return [void] + def literal(name, value, api_name: nil) + add_field_definition(name: name, type: value.class, optional: false, nullable: false, api_name: api_name, + value: value) + + define_accessor(name) + end + + # Adds a new field definition into the class's fields registry + # + # @api private + # + # @param name [Symbol] + # @param type [Class] + # @option optional [Boolean] + # @return [void] + private def add_field_definition(name:, type:, optional:, nullable:, api_name:, default: nil, value: nil) + fields[name.to_sym] = + Field.new(name: name, type: type, optional: optional, nullable: nullable, api_name: api_name, + value: value, default: default) + end + + # Adds a new field definition into the class's extra fields registry + # + # @api private + # + # @param name [Symbol] + # @param type [Class] + # @option required [Boolean] + # @option optional [Boolean] + # @return [void] + def add_extra_field_definition(name:, type:) + return if extra_fields.key?(name.to_sym) + + extra_fields[name.to_sym] = Field.new(name: name, type: type, optional: true, nullable: false) + + define_accessor(name) + define_setter(name) + end + + # @api private + private def define_accessor(name) + method_name = name.to_sym + + define_method(method_name) do + @data[name] + end + end + + # @api private + private def define_setter(name) + method_name = :"#{name}=" + + define_method(method_name) do |val| + @data[name] = val + end + end + + def coerce(value, strict: (respond_to?(:strict?) ? strict? : false)) # rubocop:disable Lint/UnusedMethodArgument + return value if value.is_a?(self) + + return value unless value.is_a?(::Hash) + + new(value) + end + + def load(str) + coerce(::JSON.parse(str, symbolize_names: true)) + end + + def ===(instance) + instance.class.ancestors.include?(self) + end + end + + # Creates a new instance of this model + # TODO: Should all this logic be in `#coerce` instead? + # + # @param values [Hash] + # @option strict [Boolean] + # @return [self] + def initialize(values = {}) + @data = {} + + 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) + + field_value = value || (if field.literal? + field.value + elsif field.default + field.default + end) + + @data[field_name] = Utils.coerce(field.type, field_value) + end + + # Any remaining values in the input become extra fields + values.each do |name, value| + self.class.add_extra_field_definition(name: name, type: value.class) + + @data[name.to_sym] = value + end + end + + def to_h + result = self.class.fields.merge(self.class.extra_fields).each_with_object({}) do |(name, field), acc| + # If there is a value present in the data, use that value + # If there is a `nil` value present in the data, and it is optional but NOT nullable, exclude key altogether + # If there is a `nil` value present in the data, and it is optional and nullable, use the nil value + + value = @data[name] + + next if value.nil? && field.optional && !field.nullable + + if value.is_a?(::Array) + value = value.map { |item| item.respond_to?(:to_h) ? item.to_h : item } + elsif value.respond_to?(:to_h) + value = value.to_h + end + + acc[field.api_name] = value + end + + # Inject union discriminant if this instance was coerced from a discriminated union + # and the discriminant key is not already present in the result + discriminant_key = instance_variable_get(:@_fern_union_discriminant_key) + discriminant_value = instance_variable_get(:@_fern_union_discriminant_value) + result[discriminant_key] = discriminant_value if discriminant_key && discriminant_value && !result.key?(discriminant_key) + + result + end + + def ==(other) + self.class == other.class && to_h == other.to_h + end + + # @return [String] + def inspect + attrs = @data.map do |name, value| + field = self.class.fields[name] || self.class.extra_fields[name] + display_value = field&.sensitive? ? "[REDACTED]" : value.inspect + "#{name}=#{display_value}" + end + + "#<#{self.class.name}:0x#{object_id&.to_s(16)} #{attrs.join(" ")}>" + end + end + end + end +end diff --git a/lib/cloudpdf/internal/types/model/field.rb b/lib/cloudpdf/internal/types/model/field.rb new file mode 100644 index 0000000..4f51db4 --- /dev/null +++ b/lib/cloudpdf/internal/types/model/field.rb @@ -0,0 +1,38 @@ +# frozen_string_literal: true + +module Cloudpdf + module Internal + module Types + class Model + # Definition of a field on a model + class Field + SENSITIVE_FIELD_NAMES = %i[ + password secret token api_key apikey access_token refresh_token + client_secret client_id credential bearer authorization + ].freeze + + attr_reader :name, :type, :optional, :nullable, :api_name, :value, :default + + def initialize(name:, type:, optional: false, nullable: false, api_name: nil, value: nil, default: nil) + @name = name.to_sym + @type = type + @optional = optional + @nullable = nullable + @api_name = api_name || name.to_s + @value = value + @default = default + end + + def literal? + !value.nil? + end + + def sensitive? + SENSITIVE_FIELD_NAMES.include?(@name) || + SENSITIVE_FIELD_NAMES.any? { |sensitive| @name.to_s.include?(sensitive.to_s) } + end + end + end + end + end +end diff --git a/lib/cloudpdf/internal/types/type.rb b/lib/cloudpdf/internal/types/type.rb new file mode 100644 index 0000000..dd67cfb --- /dev/null +++ b/lib/cloudpdf/internal/types/type.rb @@ -0,0 +1,35 @@ +# frozen_string_literal: true + +module Cloudpdf + module Internal + module Types + # @abstract + module Type + include Cloudpdf::Internal::JSON::Serializable + + # Coerces a value to this type + # + # @param value [unknown] + # @option strict [Boolean] If we should strictly coerce this value + def coerce(value, strict: strict?) + raise NotImplementedError + end + + # Returns if strictness is on for this type, defaults to `false` + # + # @return [Boolean] + def strict? + @strict ||= false + end + + # Enable strictness by default for this type + # + # @return [void] + def strict! + @strict = true + self + end + end + end + end +end diff --git a/lib/cloudpdf/internal/types/union.rb b/lib/cloudpdf/internal/types/union.rb new file mode 100644 index 0000000..d68ba2a --- /dev/null +++ b/lib/cloudpdf/internal/types/union.rb @@ -0,0 +1,161 @@ +# frozen_string_literal: true + +module Cloudpdf + module Internal + module Types + # Define a union between two types + module Union + include Cloudpdf::Internal::Types::Type + + def members + @members ||= [] + end + + # Add a member to this union + # + # @param type [Object] + # @option key [Symbol, String] + # @return [void] + def member(type, key: nil) + members.push([key, Utils.wrap_type(type)]) + self + end + + def type_member?(type) + members.any? { |_key, type_fn| type == type_fn.call } + end + + # Set the discriminant for this union + # + # @param key [Symbol, String] + # @return [void] + def discriminant(key) + @discriminant = key + end + + # @api private + private def discriminated? + !@discriminant.nil? + end + + # Check if value matches a type, handling type wrapper instances + # (Internal::Types::Hash and Internal::Types::Array instances) + # + # @param value [Object] + # @param member_type [Object] + # @return [Boolean] + private def type_matches?(value, member_type) + case member_type + when Cloudpdf::Internal::Types::Hash + value.is_a?(::Hash) + when Cloudpdf::Internal::Types::Array + value.is_a?(::Array) + when Class, Module + value.is_a?(member_type) + else + false + end + end + + # Resolves the type of a value to be one of the members + # + # @param value [Object] + # @return [Class] + private def resolve_member(value) + if discriminated? && value.is_a?(::Hash) + # Try both symbol and string keys for the discriminant + discriminant_value = value.fetch(@discriminant, nil) || value.fetch(@discriminant.to_s, nil) + + return if discriminant_value.nil? + + # Convert to string for consistent comparison + discriminant_str = discriminant_value.to_s + + # First try exact match + members_hash = members.to_h + result = members_hash[discriminant_str]&.call + return result if result + + # Try case-insensitive match as fallback + discriminant_lower = discriminant_str.downcase + matching_keys = members_hash.keys.select { |k| k.to_s.downcase == discriminant_lower } + + # Only use case-insensitive match if exactly one key matches (avoid ambiguity) + return members_hash[matching_keys.first]&.call if matching_keys.length == 1 + + nil + else + # First try exact type matching + result = members.find do |_key, mem| + member_type = Utils.unwrap_type(mem) + type_matches?(value, member_type) + end&.last&.call + + return result if result + + # For Hash values, try to coerce into Model member types + if value.is_a?(::Hash) + members.find do |_key, mem| + member_type = Utils.unwrap_type(mem) + # Check if member_type is a Model class + next unless member_type.is_a?(Class) && member_type <= Model + + # Try to coerce the hash into this model type with strict mode + begin + candidate = Utils.coerce(member_type, value, strict: true) + + # Validate that all required (non-optional) fields are present + # This ensures undiscriminated unions properly distinguish between member types + member_type.fields.each do |field_name, field| + raise Errors::TypeError, "Required field `#{field_name}` missing for union member #{member_type.name}" if candidate.instance_variable_get(:@data)[field_name].nil? && !field.optional + end + + true + rescue Errors::TypeError + false + end + end&.last&.call + end + end + end + + def coerce(value, strict: strict?) + type = resolve_member(value) + + unless type + return value unless strict + + if discriminated? + raise Errors::TypeError, + "value of type `#{value.class}` not member of union #{self}" + end + + raise Errors::TypeError, "could not resolve to member of union #{self}" + end + + coerced = Utils.coerce(type, value, strict: strict) + + # For discriminated unions, store the discriminant info on the coerced instance + # so it can be injected back during serialization (to_h) + if discriminated? && value.is_a?(::Hash) && coerced.is_a?(Model) + discriminant_value = value.fetch(@discriminant, nil) || value.fetch(@discriminant.to_s, nil) + if discriminant_value + coerced.instance_variable_set(:@_fern_union_discriminant_key, @discriminant.to_s) + coerced.instance_variable_set(:@_fern_union_discriminant_value, discriminant_value) + end + end + + coerced + end + + # Parse JSON string and coerce to the correct union member type + # + # @param str [String] JSON string to parse + # @return [Object] Coerced value matching a union member + def load(str) + coerce(::JSON.parse(str, symbolize_names: true)) + end + end + end + end +end diff --git a/lib/cloudpdf/internal/types/unknown.rb b/lib/cloudpdf/internal/types/unknown.rb new file mode 100644 index 0000000..1dcd966 --- /dev/null +++ b/lib/cloudpdf/internal/types/unknown.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Internal + module Types + module Unknown + include Cloudpdf::Internal::Types::Type + + def coerce(value) + value + end + end + end + end +end diff --git a/lib/cloudpdf/internal/types/utils.rb b/lib/cloudpdf/internal/types/utils.rb new file mode 100644 index 0000000..ffe29a5 --- /dev/null +++ b/lib/cloudpdf/internal/types/utils.rb @@ -0,0 +1,116 @@ +# frozen_string_literal: true + +module Cloudpdf + module Internal + module Types + # Utilities for dealing with and checking types + module Utils + # Wraps a type into a type function + # + # @param type [Proc, Object] + # @return [Proc] + def self.wrap_type(type) + case type + when Proc + type + else + -> { type } + end + end + + # Resolves a type or type function into a type + # + # @param type [Proc, Object] + # @return [Object] + def self.unwrap_type(type) + type.is_a?(Proc) ? type.call : type + end + + def self.coerce(target, value, strict: false) + type = unwrap_type(target) + + case type + in Array + case value + when ::Array + return type.coerce(value, strict: strict) + when Set, ::Hash + return coerce(type, value.to_a) + end + in Hash + case value + when ::Hash + return type.coerce(value, strict: strict) + when ::Array + return coerce(type, value.to_h) + end + in ->(t) { t <= NilClass } + return nil + in ->(t) { t <= String } + case value + when String, Symbol, Numeric, TrueClass, FalseClass + return value.to_s + end + in ->(t) { t <= Symbol } + case value + when Symbol, String + return value.to_sym + end + in ->(t) { t <= Integer } + case value + when Numeric, String, Time + return value.to_i + end + in ->(t) { t <= Float } + case value + when Numeric, Time, String + return value.to_f + end + in ->(t) { t <= Model } + case value + when type + return value + when ::Hash + return type.coerce(value, strict: strict) + end + in Module + case type + in ->(t) { + t.singleton_class.included_modules.include?(Enum) || + t.singleton_class.included_modules.include?(Union) + } + return type.coerce(value, strict: strict) + else + value # rubocop:disable Lint/Void + end + else + value # rubocop:disable Lint/Void + end + + raise Errors::TypeError, "cannot coerce value of type `#{value.class}` to `#{target}`" if strict + + value + end + + def self.symbolize_keys(hash) + hash.transform_keys(&:to_sym) + end + + # Converts camelCase keys to snake_case symbols + # This allows SDK methods to accept both snake_case and camelCase keys + # e.g., { refundMethod: ... } becomes { refund_method: ... } + # + # @param hash [Hash] + # @return [Hash] + def self.normalize_keys(hash) + hash.transform_keys do |key| + key_str = key.to_s + # Convert camelCase to snake_case + snake_case = key_str.gsub(/([a-z\d])([A-Z])/, '\1_\2').downcase + snake_case.to_sym + end + end + end + end + end +end diff --git a/lib/cloudpdf/tenants/client.rb b/lib/cloudpdf/tenants/client.rb new file mode 100644 index 0000000..d6c3a79 --- /dev/null +++ b/lib/cloudpdf/tenants/client.rb @@ -0,0 +1,161 @@ +# frozen_string_literal: true + +module Cloudpdf + module Tenants + 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 [Integer, nil] :limit + # @option params [String, nil] :cursor + # + # @example + # client.tenants.list + # + # @return [Cloudpdf::Types::TenantsList200Response] + def list(request_options: {}, **params) + params = Cloudpdf::Internal::Types::Utils.normalize_keys(params) + query_params = {} + query_params["limit"] = params[:limit] if params.key?(:limit) + query_params["cursor"] = params[:cursor] if params.key?(:cursor) + + request = Cloudpdf::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "GET", + path: "v1/tenants", + query: query_params, + 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) + Cloudpdf::Types::TenantsList200Response.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::Tenants::Types::TenantsCreateRequest] + # @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 + # + # @example + # client.tenants.create(id: "id") + # + # @return [Cloudpdf::Types::TenantsCreate200Response] + def create(request_options: {}, **params) + params = Cloudpdf::Internal::Types::Utils.normalize_keys(params) + request = Cloudpdf::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "POST", + path: "v1/tenants", + body: Cloudpdf::Tenants::Types::TenantsCreateRequest.new(params).to_h, + 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) + Cloudpdf::Types::TenantsCreate200Response.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] :tenant_id + # + # @example + # client.tenants.get(tenant_id: "tenantId") + # + # @return [Cloudpdf::Types::TenantsGet200Response] + def get(request_options: {}, **params) + params = Cloudpdf::Internal::Types::Utils.normalize_keys(params) + request = Cloudpdf::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "GET", + path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}", + 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) + Cloudpdf::Types::TenantsGet200Response.load(response.body) + else + error_class = Cloudpdf::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + end + + # Destroys the tenant and everything in its namespace — documents, layers, stored bytes, audit history. + # Irreversible. + # + # @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] :tenant_id + # + # @example + # client.tenants.delete(tenant_id: "tenantId") + # + # @return [untyped] + def delete(request_options: {}, **params) + params = Cloudpdf::Internal::Types::Utils.normalize_keys(params) + request = Cloudpdf::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "DELETE", + path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}", + 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 + end + end +end diff --git a/lib/cloudpdf/tenants/types/delete_tenants_request.rb b/lib/cloudpdf/tenants/types/delete_tenants_request.rb new file mode 100644 index 0000000..db75fe7 --- /dev/null +++ b/lib/cloudpdf/tenants/types/delete_tenants_request.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Cloudpdf + module Tenants + module Types + class DeleteTenantsRequest < Internal::Types::Model + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + end + end + end +end diff --git a/lib/cloudpdf/tenants/types/get_tenants_request.rb b/lib/cloudpdf/tenants/types/get_tenants_request.rb new file mode 100644 index 0000000..cad2c9c --- /dev/null +++ b/lib/cloudpdf/tenants/types/get_tenants_request.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Cloudpdf + module Tenants + module Types + class GetTenantsRequest < Internal::Types::Model + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + end + end + end +end diff --git a/lib/cloudpdf/tenants/types/list_tenants_request.rb b/lib/cloudpdf/tenants/types/list_tenants_request.rb new file mode 100644 index 0000000..ded0936 --- /dev/null +++ b/lib/cloudpdf/tenants/types/list_tenants_request.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Tenants + module Types + class ListTenantsRequest < Internal::Types::Model + field :limit, -> { Integer }, optional: true, nullable: false + + field :cursor, -> { String }, optional: true, nullable: false + end + end + end +end diff --git a/lib/cloudpdf/tenants/types/tenants_create_request.rb b/lib/cloudpdf/tenants/types/tenants_create_request.rb new file mode 100644 index 0000000..1f89d45 --- /dev/null +++ b/lib/cloudpdf/tenants/types/tenants_create_request.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Tenants + module Types + class TenantsCreateRequest < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :name, -> { String }, optional: true, nullable: false + end + end + end +end diff --git a/lib/cloudpdf/tokens/client.rb b/lib/cloudpdf/tokens/client.rb new file mode 100644 index 0000000..8cb2f74 --- /dev/null +++ b/lib/cloudpdf/tokens/client.rb @@ -0,0 +1,100 @@ +# frozen_string_literal: true + +module Cloudpdf + module Tokens + class Client + # @param client [Cloudpdf::Internal::Http::RawClient] + # + # @return [void] + def initialize(client:) + @client = client + end + + # kind "tenant" requires the API token — authority mints only downward. Mounted only when the deployment can sign + # (HS256 mode); asymmetric deployments mint with their own private key. + # + # @param request_options [Hash] + # @param params [Cloudpdf::Types::TokensIssueRequest] + # @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] :tenant_id + # + # @example + # client.tokens.issue(tenant_id: "tenantId") + # + # @return [Cloudpdf::Types::TokensIssue200Response] + def issue(request_options: {}, **params) + params = Cloudpdf::Internal::Types::Utils.normalize_keys(params) + path_param_names = %i[tenant_id] + body_params = params.except(*path_param_names) + + request = Cloudpdf::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "POST", + path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}/tokens", + body: Cloudpdf::Types::TokensIssueRequest.new(body_params).to_h, + 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) + Cloudpdf::Types::TokensIssue200Response.load(response.body) + else + error_class = Cloudpdf::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + end + + # Mounted only when the deployment enables token revocation. + # + # @param request_options [Hash] + # @param params [Cloudpdf::Tokens::Types::TokensRevokeRequest] + # @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] :tenant_id + # @option params [String] :jti + # + # @example + # client.tokens.revoke( + # tenant_id: "tenantId", + # jti: "jti" + # ) + # + # @return [untyped] + def revoke(request_options: {}, **params) + params = Cloudpdf::Internal::Types::Utils.normalize_keys(params) + request_data = Cloudpdf::Tokens::Types::TokensRevokeRequest.new(params).to_h + non_body_param_names = %w[tenantId jti] + body = request_data.except(*non_body_param_names) + + request = Cloudpdf::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "POST", + path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}/tokens/#{URI.encode_uri_component(params[:jti].to_s)}/revoke", + body: body, + 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 + end + end +end diff --git a/lib/cloudpdf/tokens/types/issue_tokens_request.rb b/lib/cloudpdf/tokens/types/issue_tokens_request.rb new file mode 100644 index 0000000..25011fe --- /dev/null +++ b/lib/cloudpdf/tokens/types/issue_tokens_request.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Tokens + module Types + class IssueTokensRequest < Internal::Types::Model + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :body, -> { Cloudpdf::Types::TokensIssueRequest }, optional: false, nullable: false + end + end + end +end diff --git a/lib/cloudpdf/tokens/types/tokens_revoke_request.rb b/lib/cloudpdf/tokens/types/tokens_revoke_request.rb new file mode 100644 index 0000000..f6ca504 --- /dev/null +++ b/lib/cloudpdf/tokens/types/tokens_revoke_request.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module Cloudpdf + module Tokens + module Types + class TokensRevokeRequest < Internal::Types::Model + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :jti, -> { String }, optional: false, nullable: false + + field :reason, -> { String }, optional: true, nullable: false + + field :expires_at_seconds, -> { Integer }, optional: true, nullable: false, api_name: "expiresAtSeconds" + end + end + end +end diff --git a/lib/cloudpdf/types/admin_error_payload.rb b/lib/cloudpdf/types/admin_error_payload.rb new file mode 100644 index 0000000..870407a --- /dev/null +++ b/lib/cloudpdf/types/admin_error_payload.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class AdminErrorPayload < Internal::Types::Model + field :error, -> { Cloudpdf::Types::AdminErrorPayloadError }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/admin_error_payload_error.rb b/lib/cloudpdf/types/admin_error_payload_error.rb new file mode 100644 index 0000000..29bc299 --- /dev/null +++ b/lib/cloudpdf/types/admin_error_payload_error.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class AdminErrorPayloadError < Internal::Types::Model + field :code, -> { String }, optional: false, nullable: false + + field :message, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/deployment_license_status_response.rb b/lib/cloudpdf/types/deployment_license_status_response.rb new file mode 100644 index 0000000..37d0d85 --- /dev/null +++ b/lib/cloudpdf/types/deployment_license_status_response.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DeploymentLicenseStatusResponse < Internal::Types::Model + field :license, -> { Object }, optional: true, nullable: false + + field :reporting, -> { Object }, optional: true, nullable: false + + field :usage, -> { Object }, optional: true, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_create200response.rb b/lib/cloudpdf/types/doc_annotations_create200response.rb new file mode 100644 index 0000000..f143981 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_create200response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsCreate200Response < Internal::Types::Model + field :meta, -> { Cloudpdf::Types::DocAnnotationsCreate200ResponseMeta }, 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 new file mode 100644 index 0000000..e448bcf --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_create200response_meta.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..41cb14d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_create200response_meta_affected_pages_item.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..d6baec5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_create200response_meta_affected_pages_item_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..4712733 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_create200response_meta_affected_pages_item_weak_annotation_state.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..97ca866 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_create200response_meta_affected_pages_item_weak_annotation_state_known.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..2edaf81 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_create200response_meta_affected_pages_item_weak_annotation_state_unknown.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..df14333 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_create200response_meta_cache_delta.rb @@ -0,0 +1,13 @@ +# 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 :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 new file mode 100644 index 0000000..94d7f18 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_create200response_meta_cache_delta_pages_item.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..ca726a3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_create200response_meta_cache_delta_pages_item_cache.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..6c29eb2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_create400response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsCreate400Response < Internal::Types::Model + field :name, -> { Cloudpdf::Types::DocAnnotationsCreate400ResponseName }, optional: false, nullable: false + + field :code, -> { Cloudpdf::Types::DocAnnotationsCreate400ResponseCode }, 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_annotations_create400response_code.rb b/lib/cloudpdf/types/doc_annotations_create400response_code.rb new file mode 100644 index 0000000..a687884 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_create400response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_create400response_name.rb b/lib/cloudpdf/types/doc_annotations_create400response_name.rb new file mode 100644 index 0000000..85f9c52 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_create400response_name.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..7402914 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_create404response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsCreate404Response < Internal::Types::Model + field :name, -> { Cloudpdf::Types::DocAnnotationsCreate404ResponseName }, optional: false, nullable: false + + field :code, -> { Cloudpdf::Types::DocAnnotationsCreate404ResponseCode }, 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_annotations_create404response_code.rb b/lib/cloudpdf/types/doc_annotations_create404response_code.rb new file mode 100644 index 0000000..f193cb2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_create404response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_create404response_name.rb b/lib/cloudpdf/types/doc_annotations_create404response_name.rb new file mode 100644 index 0000000..6a17fff --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_create404response_name.rb @@ -0,0 +1,11 @@ +# 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_create_request.rb b/lib/cloudpdf/types/doc_annotations_create_request.rb new file mode 100644 index 0000000..80e8eab --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_create_request.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsCreateRequest + # DocAnnotationsCreateRequest 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_annotations_delete200response.rb b/lib/cloudpdf/types/doc_annotations_delete200response.rb new file mode 100644 index 0000000..6fff802 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_delete200response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsDelete200Response < Internal::Types::Model + field :meta, -> { Cloudpdf::Types::DocAnnotationsDelete200ResponseMeta }, 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 new file mode 100644 index 0000000..991e65b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_delete200response_meta.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..a5ba908 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_delete200response_meta_affected_pages_item.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..4244a4b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_delete200response_meta_affected_pages_item_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..8fb4943 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_delete200response_meta_affected_pages_item_weak_annotation_state.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..227e825 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_delete200response_meta_affected_pages_item_weak_annotation_state_known.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..f1dbf9d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_delete200response_meta_affected_pages_item_weak_annotation_state_unknown.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..71da615 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_delete200response_meta_cache_delta.rb @@ -0,0 +1,13 @@ +# 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 :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 new file mode 100644 index 0000000..3111614 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_delete200response_meta_cache_delta_pages_item.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..ed99e8b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_delete200response_meta_cache_delta_pages_item_cache.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..c4b3fc2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_delete404response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsDelete404Response < Internal::Types::Model + field :name, -> { Cloudpdf::Types::DocAnnotationsDelete404ResponseName }, optional: false, nullable: false + + field :code, -> { Cloudpdf::Types::DocAnnotationsDelete404ResponseCode }, 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_annotations_delete404response_code.rb b/lib/cloudpdf/types/doc_annotations_delete404response_code.rb new file mode 100644 index 0000000..41ce228 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_delete404response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_delete404response_name.rb b/lib/cloudpdf/types/doc_annotations_delete404response_name.rb new file mode 100644 index 0000000..939cbad --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_delete404response_name.rb @@ -0,0 +1,11 @@ +# 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_list200response.rb b/lib/cloudpdf/types/doc_annotations_list200response.rb new file mode 100644 index 0000000..ea44bcf --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200Response < Internal::Types::Model + field :page_state, -> { Cloudpdf::Types::DocAnnotationsList200ResponsePageState }, optional: false, nullable: false, api_name: "pageState" + + field :annotations, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItem] }, optional: false, nullable: false + 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 new file mode 100644 index 0000000..bd83f5d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item.rb @@ -0,0 +1,49 @@ +# 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 new file mode 100644 index 0000000..e2eb1a7 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret.rb @@ -0,0 +1,53 @@ +# 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 :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::DocAnnotationsList200ResponseAnnotationsItemCaretActions }, 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" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions.rb new file mode 100644 index 0000000..8173c2a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCaretActions < Internal::Types::Model + field :activate, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivate }, optional: true, nullable: false + + field :cursor_enter, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnter }, optional: true, nullable: false, api_name: "cursorEnter" + + field :cursor_exit, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExit }, optional: true, nullable: false, api_name: "cursorExit" + + field :mouse_down, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDown }, optional: true, nullable: false, api_name: "mouseDown" + + field :mouse_up, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUp }, optional: true, nullable: false, api_name: "mouseUp" + + field :focus, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocus }, optional: true, nullable: false + + field :blur, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlur }, optional: true, nullable: false + + field :page_open, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpen }, optional: true, nullable: false, api_name: "pageOpen" + + field :page_close, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageClose }, optional: true, nullable: false, api_name: "pageClose" + + field :page_visible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisible }, optional: true, nullable: false, api_name: "pageVisible" + + field :page_invisible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisible }, optional: true, nullable: false, api_name: "pageInvisible" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_activate.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_activate.rb new file mode 100644 index 0000000..60ac78e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_activate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_activate_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_activate_root.rb new file mode 100644 index 0000000..ad0f92e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_activate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_activate_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_activate_root_type.rb new file mode 100644 index 0000000..944f4af --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_activate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_activate_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_activate_warnings_item.rb new file mode 100644 index 0000000..5a007b2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_activate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_blur.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_blur.rb new file mode 100644 index 0000000..3a1d806 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_blur.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlur < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_blur_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_blur_root.rb new file mode 100644 index 0000000..00738a9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_blur_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_blur_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_blur_root_type.rb new file mode 100644 index 0000000..c8f2907 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_blur_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_blur_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_blur_warnings_item.rb new file mode 100644 index 0000000..b89028d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_blur_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_enter.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_enter.rb new file mode 100644 index 0000000..415385c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_enter.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnter < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_enter_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_enter_root.rb new file mode 100644 index 0000000..b5f4638 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_enter_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_enter_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_enter_root_type.rb new file mode 100644 index 0000000..6675f61 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_enter_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_enter_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_enter_warnings_item.rb new file mode 100644 index 0000000..da03f48 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_enter_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_exit.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_exit.rb new file mode 100644 index 0000000..9e88ad8 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_exit.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExit < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_exit_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_exit_root.rb new file mode 100644 index 0000000..301c275 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_exit_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_exit_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_exit_root_type.rb new file mode 100644 index 0000000..4a98f1e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_exit_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_exit_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_exit_warnings_item.rb new file mode 100644 index 0000000..5fb9d6a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_cursor_exit_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_focus.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_focus.rb new file mode 100644 index 0000000..9541cf2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_focus.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocus < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_focus_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_focus_root.rb new file mode 100644 index 0000000..19363cd --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_focus_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_focus_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_focus_root_type.rb new file mode 100644 index 0000000..a60ed32 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_focus_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_focus_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_focus_warnings_item.rb new file mode 100644 index 0000000..2ccbe1a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_focus_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_down.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_down.rb new file mode 100644 index 0000000..dba59a2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_down.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDown < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_down_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_down_root.rb new file mode 100644 index 0000000..c2f9868 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_down_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_down_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_down_root_type.rb new file mode 100644 index 0000000..c5c9107 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_down_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_down_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_down_warnings_item.rb new file mode 100644 index 0000000..2993b77 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_down_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_up.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_up.rb new file mode 100644 index 0000000..0c3635f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_up.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUp < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_up_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_up_root.rb new file mode 100644 index 0000000..bde38d5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_up_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_up_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_up_root_type.rb new file mode 100644 index 0000000..f49b786 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_up_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_up_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_up_warnings_item.rb new file mode 100644 index 0000000..9698918 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_mouse_up_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_close.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_close.rb new file mode 100644 index 0000000..1736a3c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_close.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageClose < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_close_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_close_root.rb new file mode 100644 index 0000000..16a2647 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_close_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_close_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_close_root_type.rb new file mode 100644 index 0000000..2288ea7 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_close_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_close_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_close_warnings_item.rb new file mode 100644 index 0000000..cdb08c5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_close_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_invisible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_invisible.rb new file mode 100644 index 0000000..b355f84 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_invisible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_invisible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_invisible_root.rb new file mode 100644 index 0000000..6cc6075 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_invisible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_invisible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_invisible_root_type.rb new file mode 100644 index 0000000..e43e540 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_invisible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_invisible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_invisible_warnings_item.rb new file mode 100644 index 0000000..d64fbcc --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_invisible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_open.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_open.rb new file mode 100644 index 0000000..1af5b7a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_open.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpen < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_open_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_open_root.rb new file mode 100644 index 0000000..705dcc3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_open_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_open_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_open_root_type.rb new file mode 100644 index 0000000..026e4be --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_open_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_open_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_open_warnings_item.rb new file mode 100644 index 0000000..7fe6fa3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_open_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_visible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_visible.rb new file mode 100644 index 0000000..ace4fbc --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_visible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_visible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_visible_root.rb new file mode 100644 index 0000000..12b4317 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_visible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_visible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_visible_root_type.rb new file mode 100644 index 0000000..76496c6 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_visible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_visible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_visible_warnings_item.rb new file mode 100644 index 0000000..7d95e85 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_actions_page_visible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + 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 new file mode 100644 index 0000000..8c066bc --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_blend_mode.rb @@ -0,0 +1,26 @@ +# 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 new file mode 100644 index 0000000..2c9c6e3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_color.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..988c1bb --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_flags.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 0000000..906a5a2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_identity_quality.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..c5aef38 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_in_reply_to.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..5b5d077 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_in_reply_to_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..e7c7e91 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_in_reply_to_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..f098d8e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_in_reply_to_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..cffcc0d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_in_reply_to_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..f3f2f01 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_intent.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..7803da2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_rect.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..5d7152a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_rect_differences.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..1fb4279 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_ref.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..1866225 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_ref_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..fddb36b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_ref_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..0432b4a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_ref_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..6ffbb49 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_ref_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..e9e3af0 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_caret_reply_type.rb @@ -0,0 +1,12 @@ +# 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_circle.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle.rb new file mode 100644 index 0000000..cc2f669 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle.rb @@ -0,0 +1,65 @@ +# 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 :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::DocAnnotationsList200ResponseAnnotationsItemCircleActions }, 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_actions.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions.rb new file mode 100644 index 0000000..5511da1 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCircleActions < Internal::Types::Model + field :activate, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivate }, optional: true, nullable: false + + field :cursor_enter, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnter }, optional: true, nullable: false, api_name: "cursorEnter" + + field :cursor_exit, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExit }, optional: true, nullable: false, api_name: "cursorExit" + + field :mouse_down, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDown }, optional: true, nullable: false, api_name: "mouseDown" + + field :mouse_up, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUp }, optional: true, nullable: false, api_name: "mouseUp" + + field :focus, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocus }, optional: true, nullable: false + + field :blur, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlur }, optional: true, nullable: false + + field :page_open, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpen }, optional: true, nullable: false, api_name: "pageOpen" + + field :page_close, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageClose }, optional: true, nullable: false, api_name: "pageClose" + + field :page_visible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisible }, optional: true, nullable: false, api_name: "pageVisible" + + field :page_invisible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisible }, optional: true, nullable: false, api_name: "pageInvisible" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_activate.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_activate.rb new file mode 100644 index 0000000..0655ab7 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_activate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_activate_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_activate_root.rb new file mode 100644 index 0000000..379a67f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_activate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_activate_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_activate_root_type.rb new file mode 100644 index 0000000..89e70a6 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_activate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_activate_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_activate_warnings_item.rb new file mode 100644 index 0000000..d01e507 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_activate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_blur.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_blur.rb new file mode 100644 index 0000000..886a52b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_blur.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlur < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_blur_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_blur_root.rb new file mode 100644 index 0000000..66295cc --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_blur_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_blur_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_blur_root_type.rb new file mode 100644 index 0000000..8c87783 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_blur_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_blur_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_blur_warnings_item.rb new file mode 100644 index 0000000..fa89a33 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_blur_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_enter.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_enter.rb new file mode 100644 index 0000000..766f1fc --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_enter.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnter < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_enter_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_enter_root.rb new file mode 100644 index 0000000..1cdac42 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_enter_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_enter_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_enter_root_type.rb new file mode 100644 index 0000000..74f974e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_enter_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_enter_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_enter_warnings_item.rb new file mode 100644 index 0000000..6e99ef9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_enter_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_exit.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_exit.rb new file mode 100644 index 0000000..f827869 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_exit.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExit < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_exit_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_exit_root.rb new file mode 100644 index 0000000..74a506a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_exit_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_exit_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_exit_root_type.rb new file mode 100644 index 0000000..8157551 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_exit_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_exit_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_exit_warnings_item.rb new file mode 100644 index 0000000..3f8f451 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_cursor_exit_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_focus.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_focus.rb new file mode 100644 index 0000000..86fc51a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_focus.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocus < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_focus_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_focus_root.rb new file mode 100644 index 0000000..1748833 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_focus_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_focus_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_focus_root_type.rb new file mode 100644 index 0000000..ae4b247 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_focus_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_focus_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_focus_warnings_item.rb new file mode 100644 index 0000000..c07ef30 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_focus_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_down.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_down.rb new file mode 100644 index 0000000..4688e24 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_down.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDown < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_down_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_down_root.rb new file mode 100644 index 0000000..ee40e20 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_down_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_down_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_down_root_type.rb new file mode 100644 index 0000000..9272834 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_down_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_down_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_down_warnings_item.rb new file mode 100644 index 0000000..9515f16 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_down_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_up.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_up.rb new file mode 100644 index 0000000..62e1789 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_up.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUp < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_up_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_up_root.rb new file mode 100644 index 0000000..f299eae --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_up_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_up_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_up_root_type.rb new file mode 100644 index 0000000..14ce63d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_up_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_up_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_up_warnings_item.rb new file mode 100644 index 0000000..385aa77 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_mouse_up_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_close.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_close.rb new file mode 100644 index 0000000..60f6fd9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_close.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageClose < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_close_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_close_root.rb new file mode 100644 index 0000000..00336e2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_close_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_close_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_close_root_type.rb new file mode 100644 index 0000000..7f03cca --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_close_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_close_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_close_warnings_item.rb new file mode 100644 index 0000000..e9f72fe --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_close_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_invisible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_invisible.rb new file mode 100644 index 0000000..72060e4 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_invisible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_invisible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_invisible_root.rb new file mode 100644 index 0000000..c108448 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_invisible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_invisible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_invisible_root_type.rb new file mode 100644 index 0000000..dceb69f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_invisible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_invisible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_invisible_warnings_item.rb new file mode 100644 index 0000000..058a578 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_invisible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_open.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_open.rb new file mode 100644 index 0000000..7fcfc46 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_open.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpen < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_open_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_open_root.rb new file mode 100644 index 0000000..e6e04a3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_open_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_open_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_open_root_type.rb new file mode 100644 index 0000000..7a2f98e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_open_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_open_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_open_warnings_item.rb new file mode 100644 index 0000000..2d017ff --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_open_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_visible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_visible.rb new file mode 100644 index 0000000..96fbb1a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_visible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_visible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_visible_root.rb new file mode 100644 index 0000000..1f8e191 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_visible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_visible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_visible_root_type.rb new file mode 100644 index 0000000..af27d91 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_visible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_visible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_visible_warnings_item.rb new file mode 100644 index 0000000..5ed8112 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_actions_page_visible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + 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 new file mode 100644 index 0000000..5fb3b70 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_blend_mode.rb @@ -0,0 +1,26 @@ +# 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 new file mode 100644 index 0000000..5e5a971 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_border_style.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 0000000..faf2648 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_color.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..e39bece --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_flags.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 0000000..f7f5c97 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_identity_quality.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..80d28f2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_in_reply_to.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..54d75f6 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_in_reply_to_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..63598ea --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_in_reply_to_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..ec8f48e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_in_reply_to_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..42de5fd --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_in_reply_to_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..1cb3e8e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_interior_color.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..6fc7297 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_rect.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..2098cbb --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_rect_differences.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..b3818ab --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_ref.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..09d3d73 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_ref_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..931c45f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_ref_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..a683923 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_ref_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..a55de5f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_ref_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..09bf0b8 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_reply_type.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..1817df7 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_circle_unrotated_rect.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..2cc3239 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment.rb @@ -0,0 +1,53 @@ +# 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 :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::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActions }, 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_actions.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions.rb new file mode 100644 index 0000000..a952493 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActions < Internal::Types::Model + field :activate, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivate }, optional: true, nullable: false + + field :cursor_enter, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnter }, optional: true, nullable: false, api_name: "cursorEnter" + + field :cursor_exit, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExit }, optional: true, nullable: false, api_name: "cursorExit" + + field :mouse_down, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDown }, optional: true, nullable: false, api_name: "mouseDown" + + field :mouse_up, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUp }, optional: true, nullable: false, api_name: "mouseUp" + + field :focus, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocus }, optional: true, nullable: false + + field :blur, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlur }, optional: true, nullable: false + + field :page_open, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpen }, optional: true, nullable: false, api_name: "pageOpen" + + field :page_close, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageClose }, optional: true, nullable: false, api_name: "pageClose" + + field :page_visible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisible }, optional: true, nullable: false, api_name: "pageVisible" + + field :page_invisible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisible }, optional: true, nullable: false, api_name: "pageInvisible" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_activate.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_activate.rb new file mode 100644 index 0000000..9120ae5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_activate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_activate_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_activate_root.rb new file mode 100644 index 0000000..24cf236 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_activate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_activate_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_activate_root_type.rb new file mode 100644 index 0000000..7a5b88d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_activate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_activate_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_activate_warnings_item.rb new file mode 100644 index 0000000..0bcaca4 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_activate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_blur.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_blur.rb new file mode 100644 index 0000000..191977e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_blur.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlur < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_blur_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_blur_root.rb new file mode 100644 index 0000000..c37f7b8 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_blur_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_blur_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_blur_root_type.rb new file mode 100644 index 0000000..cd959ce --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_blur_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_blur_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_blur_warnings_item.rb new file mode 100644 index 0000000..df0e0e6 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_blur_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_enter.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_enter.rb new file mode 100644 index 0000000..89ed0d5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_enter.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnter < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_enter_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_enter_root.rb new file mode 100644 index 0000000..1764cff --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_enter_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_enter_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_enter_root_type.rb new file mode 100644 index 0000000..802166e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_enter_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_enter_warn_54298b.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_enter_warn_54298b.rb new file mode 100644 index 0000000..1874265 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_enter_warn_54298b.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_exit.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_exit.rb new file mode 100644 index 0000000..2ecd087 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_exit.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExit < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_exit_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_exit_root.rb new file mode 100644 index 0000000..0084706 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_exit_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_exit_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_exit_root_type.rb new file mode 100644 index 0000000..3cc6762 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_exit_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_exit_warni_24a6a0.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_exit_warni_24a6a0.rb new file mode 100644 index 0000000..54037e1 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_cursor_exit_warni_24a6a0.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_focus.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_focus.rb new file mode 100644 index 0000000..30601f2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_focus.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocus < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_focus_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_focus_root.rb new file mode 100644 index 0000000..774638a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_focus_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_focus_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_focus_root_type.rb new file mode 100644 index 0000000..37c8f25 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_focus_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_focus_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_focus_warnings_item.rb new file mode 100644 index 0000000..6b6678a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_focus_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_down.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_down.rb new file mode 100644 index 0000000..637d6fb --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_down.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDown < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_down_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_down_root.rb new file mode 100644 index 0000000..d0bdf6b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_down_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_down_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_down_root_type.rb new file mode 100644 index 0000000..2ef5195 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_down_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_down_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_down_warnings_item.rb new file mode 100644 index 0000000..6e5a646 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_down_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_up.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_up.rb new file mode 100644 index 0000000..9bef6b3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_up.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUp < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_up_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_up_root.rb new file mode 100644 index 0000000..92c0125 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_up_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_up_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_up_root_type.rb new file mode 100644 index 0000000..7167a84 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_up_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_up_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_up_warnings_item.rb new file mode 100644 index 0000000..f18bd7a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_mouse_up_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_close.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_close.rb new file mode 100644 index 0000000..efe27f2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_close.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageClose < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_close_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_close_root.rb new file mode 100644 index 0000000..3e3b17b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_close_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_close_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_close_root_type.rb new file mode 100644 index 0000000..70b111e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_close_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_close_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_close_warnings_item.rb new file mode 100644 index 0000000..3606523 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_close_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_invisible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_invisible.rb new file mode 100644 index 0000000..c5813c7 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_invisible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_invisible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_invisible_root.rb new file mode 100644 index 0000000..9605133 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_invisible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_invisible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_invisible_root_type.rb new file mode 100644 index 0000000..57f396f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_invisible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_invisible_wa_35542a.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_invisible_wa_35542a.rb new file mode 100644 index 0000000..dab3daf --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_invisible_wa_35542a.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_open.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_open.rb new file mode 100644 index 0000000..0d00081 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_open.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpen < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_open_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_open_root.rb new file mode 100644 index 0000000..1ac2c20 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_open_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_open_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_open_root_type.rb new file mode 100644 index 0000000..5e75476 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_open_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_open_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_open_warnings_item.rb new file mode 100644 index 0000000..ce982cd --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_open_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_visible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_visible.rb new file mode 100644 index 0000000..3dc3eb3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_visible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_visible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_visible_root.rb new file mode 100644 index 0000000..ea4e505 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_visible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_visible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_visible_root_type.rb new file mode 100644 index 0000000..11f8173 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_visible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_visible_warn_2f568a.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_visible_warn_2f568a.rb new file mode 100644 index 0000000..6c83c95 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_actions_page_visible_warn_2f568a.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + 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 new file mode 100644 index 0000000..36151f2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_blend_mode.rb @@ -0,0 +1,26 @@ +# 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 new file mode 100644 index 0000000..90c7d64 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_color.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..43cd080 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_file.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 0000000..c3d1951 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_flags.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 0000000..aa2e773 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_icon.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 0000000..6e06233 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_identity_quality.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..dcbb3c4 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_in_reply_to.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..8fef4ca --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_in_reply_to_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..3da1167 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_in_reply_to_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..a9000f0 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_in_reply_to_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..ccaeddf --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_in_reply_to_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..65e82dd --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_rect.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..282d48e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_ref.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..227e23a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_ref_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..8ccd4ab --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_ref_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..95f1350 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_ref_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..d2139ee --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_ref_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..0a0a53f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_file_attachment_reply_type.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..3000f37 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text.rb @@ -0,0 +1,77 @@ +# 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 :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::DocAnnotationsList200ResponseAnnotationsItemFreeTextActions }, optional: true, nullable: false + + field :intent, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextIntent }, optional: false, nullable: false + + field :font_family, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily }, 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 :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_actions.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions.rb new file mode 100644 index 0000000..dfb90da --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFreeTextActions < Internal::Types::Model + field :activate, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivate }, optional: true, nullable: false + + field :cursor_enter, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnter }, optional: true, nullable: false, api_name: "cursorEnter" + + field :cursor_exit, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExit }, optional: true, nullable: false, api_name: "cursorExit" + + field :mouse_down, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDown }, optional: true, nullable: false, api_name: "mouseDown" + + field :mouse_up, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUp }, optional: true, nullable: false, api_name: "mouseUp" + + field :focus, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocus }, optional: true, nullable: false + + field :blur, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlur }, optional: true, nullable: false + + field :page_open, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpen }, optional: true, nullable: false, api_name: "pageOpen" + + field :page_close, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageClose }, optional: true, nullable: false, api_name: "pageClose" + + field :page_visible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisible }, optional: true, nullable: false, api_name: "pageVisible" + + field :page_invisible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisible }, optional: true, nullable: false, api_name: "pageInvisible" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_activate.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_activate.rb new file mode 100644 index 0000000..8174ff1 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_activate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_activate_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_activate_root.rb new file mode 100644 index 0000000..b514645 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_activate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_activate_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_activate_root_type.rb new file mode 100644 index 0000000..f2e6900 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_activate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_activate_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_activate_warnings_item.rb new file mode 100644 index 0000000..00cede4 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_activate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_blur.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_blur.rb new file mode 100644 index 0000000..c0ebff9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_blur.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlur < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_blur_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_blur_root.rb new file mode 100644 index 0000000..4e5e19a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_blur_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_blur_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_blur_root_type.rb new file mode 100644 index 0000000..9b5d120 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_blur_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_blur_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_blur_warnings_item.rb new file mode 100644 index 0000000..d83e91a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_blur_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_enter.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_enter.rb new file mode 100644 index 0000000..e2a40f1 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_enter.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnter < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_enter_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_enter_root.rb new file mode 100644 index 0000000..ae3f966 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_enter_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_enter_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_enter_root_type.rb new file mode 100644 index 0000000..98ed15e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_enter_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_enter_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_enter_warnings_item.rb new file mode 100644 index 0000000..99009be --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_enter_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_exit.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_exit.rb new file mode 100644 index 0000000..4f18064 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_exit.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExit < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_exit_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_exit_root.rb new file mode 100644 index 0000000..8e0f378 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_exit_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_exit_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_exit_root_type.rb new file mode 100644 index 0000000..e672390 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_exit_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_exit_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_exit_warnings_item.rb new file mode 100644 index 0000000..6a7bdcb --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_cursor_exit_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_focus.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_focus.rb new file mode 100644 index 0000000..a39effe --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_focus.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocus < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_focus_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_focus_root.rb new file mode 100644 index 0000000..5fbeefd --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_focus_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_focus_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_focus_root_type.rb new file mode 100644 index 0000000..a2870f9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_focus_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_focus_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_focus_warnings_item.rb new file mode 100644 index 0000000..023a7bf --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_focus_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_down.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_down.rb new file mode 100644 index 0000000..1cb1750 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_down.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDown < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_down_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_down_root.rb new file mode 100644 index 0000000..7c405b6 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_down_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_down_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_down_root_type.rb new file mode 100644 index 0000000..56fd542 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_down_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_down_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_down_warnings_item.rb new file mode 100644 index 0000000..47a0948 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_down_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_up.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_up.rb new file mode 100644 index 0000000..e04e170 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_up.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUp < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_up_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_up_root.rb new file mode 100644 index 0000000..9cbcf73 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_up_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_up_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_up_root_type.rb new file mode 100644 index 0000000..aed8e82 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_up_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_up_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_up_warnings_item.rb new file mode 100644 index 0000000..b8904d0 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_mouse_up_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_close.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_close.rb new file mode 100644 index 0000000..94d5e5c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_close.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageClose < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_close_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_close_root.rb new file mode 100644 index 0000000..4f60879 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_close_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_close_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_close_root_type.rb new file mode 100644 index 0000000..ca310ba --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_close_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_close_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_close_warnings_item.rb new file mode 100644 index 0000000..a9a5aa9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_close_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_invisible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_invisible.rb new file mode 100644 index 0000000..9a2fc95 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_invisible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_invisible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_invisible_root.rb new file mode 100644 index 0000000..1081faf --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_invisible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_invisible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_invisible_root_type.rb new file mode 100644 index 0000000..a2ad501 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_invisible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_invisible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_invisible_warnings_item.rb new file mode 100644 index 0000000..49c2cf1 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_invisible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_open.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_open.rb new file mode 100644 index 0000000..04bc2dd --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_open.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpen < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_open_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_open_root.rb new file mode 100644 index 0000000..36345f5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_open_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_open_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_open_root_type.rb new file mode 100644 index 0000000..be78879 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_open_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_open_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_open_warnings_item.rb new file mode 100644 index 0000000..b3d99f7 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_open_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_visible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_visible.rb new file mode 100644 index 0000000..c02b563 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_visible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_visible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_visible_root.rb new file mode 100644 index 0000000..d848101 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_visible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_visible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_visible_root_type.rb new file mode 100644 index 0000000..a43c1af --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_visible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_visible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_visible_warnings_item.rb new file mode 100644 index 0000000..69f22fa --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_actions_page_visible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + 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 new file mode 100644 index 0000000..e9a38cd --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_blend_mode.rb @@ -0,0 +1,26 @@ +# 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 new file mode 100644 index 0000000..7287860 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_border_style.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 0000000..a8d1136 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_color.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..1c4ce8d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_flags.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 0000000..19ff1c0 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_font_color.rb @@ -0,0 +1,13 @@ +# 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_font_family.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_font_family.rb new file mode 100644 index 0000000..dd8a0fa --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_font_family.rb @@ -0,0 +1,24 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily + 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_free_text_identity_quality.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_identity_quality.rb new file mode 100644 index 0000000..139a1a9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_identity_quality.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..15d0e0e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_in_reply_to.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..a5fdf82 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_in_reply_to_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..948b659 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_in_reply_to_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..2edc080 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_in_reply_to_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..7a62aa3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_in_reply_to_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..de75db0 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_intent.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..44a1041 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_interior_color.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..34aff14 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_line_ending.rb @@ -0,0 +1,20 @@ +# 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 new file mode 100644 index 0000000..f64b37e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_rect.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..7aa4a62 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_rect_differences.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..b1fa263 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_ref.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..2b19b13 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_ref_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..9beb725 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_ref_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..8798828 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_ref_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..e02eb8e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_ref_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..3399bc2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_reply_type.rb @@ -0,0 +1,12 @@ +# 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_text_align.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_text_align.rb new file mode 100644 index 0000000..00df0f1 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_text_align.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..d24f7d2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_free_text_unrotated_rect.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..e1c81db --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight.rb @@ -0,0 +1,51 @@ +# 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 :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::DocAnnotationsList200ResponseAnnotationsItemHighlightActions }, 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_actions.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions.rb new file mode 100644 index 0000000..3c1ed5c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemHighlightActions < Internal::Types::Model + field :activate, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivate }, optional: true, nullable: false + + field :cursor_enter, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnter }, optional: true, nullable: false, api_name: "cursorEnter" + + field :cursor_exit, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExit }, optional: true, nullable: false, api_name: "cursorExit" + + field :mouse_down, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDown }, optional: true, nullable: false, api_name: "mouseDown" + + field :mouse_up, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUp }, optional: true, nullable: false, api_name: "mouseUp" + + field :focus, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocus }, optional: true, nullable: false + + field :blur, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlur }, optional: true, nullable: false + + field :page_open, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpen }, optional: true, nullable: false, api_name: "pageOpen" + + field :page_close, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageClose }, optional: true, nullable: false, api_name: "pageClose" + + field :page_visible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisible }, optional: true, nullable: false, api_name: "pageVisible" + + field :page_invisible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisible }, optional: true, nullable: false, api_name: "pageInvisible" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_activate.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_activate.rb new file mode 100644 index 0000000..a828da0 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_activate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_activate_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_activate_root.rb new file mode 100644 index 0000000..0fd4dcd --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_activate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_activate_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_activate_root_type.rb new file mode 100644 index 0000000..6876a3a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_activate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_activate_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_activate_warnings_item.rb new file mode 100644 index 0000000..9604250 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_activate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_blur.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_blur.rb new file mode 100644 index 0000000..e8151f9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_blur.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlur < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_blur_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_blur_root.rb new file mode 100644 index 0000000..0d2e6aa --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_blur_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_blur_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_blur_root_type.rb new file mode 100644 index 0000000..041fce8 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_blur_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_blur_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_blur_warnings_item.rb new file mode 100644 index 0000000..2103e8f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_blur_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_enter.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_enter.rb new file mode 100644 index 0000000..f06c927 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_enter.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnter < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_enter_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_enter_root.rb new file mode 100644 index 0000000..33208cb --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_enter_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_enter_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_enter_root_type.rb new file mode 100644 index 0000000..718af65 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_enter_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_enter_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_enter_warnings_item.rb new file mode 100644 index 0000000..8cea0e6 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_enter_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_exit.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_exit.rb new file mode 100644 index 0000000..15f4d87 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_exit.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExit < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_exit_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_exit_root.rb new file mode 100644 index 0000000..dc6a8e5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_exit_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_exit_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_exit_root_type.rb new file mode 100644 index 0000000..bfc8f74 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_exit_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_exit_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_exit_warnings_item.rb new file mode 100644 index 0000000..ca09a87 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_cursor_exit_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_focus.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_focus.rb new file mode 100644 index 0000000..3459fa2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_focus.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocus < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_focus_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_focus_root.rb new file mode 100644 index 0000000..e0d9baf --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_focus_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_focus_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_focus_root_type.rb new file mode 100644 index 0000000..36bbbf1 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_focus_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_focus_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_focus_warnings_item.rb new file mode 100644 index 0000000..d3ddd8b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_focus_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_down.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_down.rb new file mode 100644 index 0000000..1a6e8a4 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_down.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDown < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_down_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_down_root.rb new file mode 100644 index 0000000..2197e45 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_down_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_down_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_down_root_type.rb new file mode 100644 index 0000000..071d88f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_down_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_down_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_down_warnings_item.rb new file mode 100644 index 0000000..2db0827 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_down_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_up.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_up.rb new file mode 100644 index 0000000..0e9da79 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_up.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUp < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_up_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_up_root.rb new file mode 100644 index 0000000..c75c3ae --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_up_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_up_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_up_root_type.rb new file mode 100644 index 0000000..4f181e0 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_up_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_up_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_up_warnings_item.rb new file mode 100644 index 0000000..d05a11a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_mouse_up_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_close.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_close.rb new file mode 100644 index 0000000..cb22350 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_close.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageClose < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_close_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_close_root.rb new file mode 100644 index 0000000..8127aed --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_close_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_close_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_close_root_type.rb new file mode 100644 index 0000000..a452c02 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_close_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_close_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_close_warnings_item.rb new file mode 100644 index 0000000..aabd8ac --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_close_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_invisible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_invisible.rb new file mode 100644 index 0000000..6cdd50b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_invisible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_invisible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_invisible_root.rb new file mode 100644 index 0000000..cb27bc9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_invisible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_invisible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_invisible_root_type.rb new file mode 100644 index 0000000..e7a6988 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_invisible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_invisible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_invisible_warnings_item.rb new file mode 100644 index 0000000..351ae56 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_invisible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_open.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_open.rb new file mode 100644 index 0000000..86a78cc --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_open.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpen < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_open_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_open_root.rb new file mode 100644 index 0000000..0cab61a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_open_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_open_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_open_root_type.rb new file mode 100644 index 0000000..d0d27c3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_open_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_open_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_open_warnings_item.rb new file mode 100644 index 0000000..d51deb9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_open_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_visible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_visible.rb new file mode 100644 index 0000000..f0b37fa --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_visible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_visible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_visible_root.rb new file mode 100644 index 0000000..373dd9c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_visible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_visible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_visible_root_type.rb new file mode 100644 index 0000000..ad5c94a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_visible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_visible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_visible_warnings_item.rb new file mode 100644 index 0000000..c74d02e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_actions_page_visible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + 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 new file mode 100644 index 0000000..0e9e8e4 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_blend_mode.rb @@ -0,0 +1,26 @@ +# 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 new file mode 100644 index 0000000..03b752a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_color.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..dbe7d43 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_flags.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 0000000..09de0d0 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_identity_quality.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..960d8a5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_in_reply_to.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..3098ae8 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_in_reply_to_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..0423991 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_in_reply_to_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..069c4e8 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_in_reply_to_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..eb53b48 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_in_reply_to_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..08836ae --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_quad_points_item.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..5889f60 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_quad_points_item_p1.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..1347c81 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_quad_points_item_p2.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..15853ac --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_quad_points_item_p3.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..038c876 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_quad_points_item_p4.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..678746b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_rect.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..a80a044 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_ref.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..cf27ef5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_ref_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..4d5c66f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_ref_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..9135393 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_ref_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..60d8119 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_ref_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..73a221b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_highlight_reply_type.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..c62cdbd --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink.rb @@ -0,0 +1,61 @@ +# 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 :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::DocAnnotationsList200ResponseAnnotationsItemInkActions }, 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_actions.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions.rb new file mode 100644 index 0000000..dfca054 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemInkActions < Internal::Types::Model + field :activate, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsActivate }, optional: true, nullable: false + + field :cursor_enter, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnter }, optional: true, nullable: false, api_name: "cursorEnter" + + field :cursor_exit, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExit }, optional: true, nullable: false, api_name: "cursorExit" + + field :mouse_down, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDown }, optional: true, nullable: false, api_name: "mouseDown" + + field :mouse_up, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUp }, optional: true, nullable: false, api_name: "mouseUp" + + field :focus, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsFocus }, optional: true, nullable: false + + field :blur, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsBlur }, optional: true, nullable: false + + field :page_open, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpen }, optional: true, nullable: false, api_name: "pageOpen" + + field :page_close, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsPageClose }, optional: true, nullable: false, api_name: "pageClose" + + field :page_visible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisible }, optional: true, nullable: false, api_name: "pageVisible" + + field :page_invisible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisible }, optional: true, nullable: false, api_name: "pageInvisible" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_activate.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_activate.rb new file mode 100644 index 0000000..2ca0b6e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_activate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemInkActionsActivate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_activate_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_activate_root.rb new file mode 100644 index 0000000..82486a2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_activate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_activate_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_activate_root_type.rb new file mode 100644 index 0000000..3646109 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_activate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_activate_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_activate_warnings_item.rb new file mode 100644 index 0000000..689719d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_activate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_blur.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_blur.rb new file mode 100644 index 0000000..3c34f7a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_blur.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemInkActionsBlur < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_blur_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_blur_root.rb new file mode 100644 index 0000000..eb4aa69 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_blur_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_blur_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_blur_root_type.rb new file mode 100644 index 0000000..6f739fa --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_blur_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_blur_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_blur_warnings_item.rb new file mode 100644 index 0000000..4b755bd --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_blur_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_enter.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_enter.rb new file mode 100644 index 0000000..a0630b6 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_enter.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnter < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_enter_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_enter_root.rb new file mode 100644 index 0000000..5aa9199 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_enter_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_enter_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_enter_root_type.rb new file mode 100644 index 0000000..5019d66 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_enter_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_enter_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_enter_warnings_item.rb new file mode 100644 index 0000000..dd40ccf --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_enter_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_exit.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_exit.rb new file mode 100644 index 0000000..59d5fee --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_exit.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExit < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_exit_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_exit_root.rb new file mode 100644 index 0000000..58f9fd6 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_exit_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_exit_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_exit_root_type.rb new file mode 100644 index 0000000..89e2f56 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_exit_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_exit_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_exit_warnings_item.rb new file mode 100644 index 0000000..67eb813 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_cursor_exit_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_focus.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_focus.rb new file mode 100644 index 0000000..624e4d0 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_focus.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemInkActionsFocus < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_focus_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_focus_root.rb new file mode 100644 index 0000000..4252ddf --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_focus_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_focus_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_focus_root_type.rb new file mode 100644 index 0000000..58aa1db --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_focus_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_focus_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_focus_warnings_item.rb new file mode 100644 index 0000000..a2db1de --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_focus_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_down.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_down.rb new file mode 100644 index 0000000..9659a2d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_down.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDown < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_down_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_down_root.rb new file mode 100644 index 0000000..b84237c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_down_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_down_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_down_root_type.rb new file mode 100644 index 0000000..8565dd4 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_down_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_down_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_down_warnings_item.rb new file mode 100644 index 0000000..2940c82 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_down_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_up.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_up.rb new file mode 100644 index 0000000..118d084 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_up.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUp < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_up_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_up_root.rb new file mode 100644 index 0000000..793087c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_up_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_up_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_up_root_type.rb new file mode 100644 index 0000000..eb80095 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_up_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_up_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_up_warnings_item.rb new file mode 100644 index 0000000..ac75736 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_mouse_up_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_close.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_close.rb new file mode 100644 index 0000000..538ae08 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_close.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemInkActionsPageClose < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_close_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_close_root.rb new file mode 100644 index 0000000..bcb170c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_close_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_close_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_close_root_type.rb new file mode 100644 index 0000000..3291eba --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_close_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_close_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_close_warnings_item.rb new file mode 100644 index 0000000..9a82dad --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_close_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_invisible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_invisible.rb new file mode 100644 index 0000000..8917863 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_invisible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_invisible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_invisible_root.rb new file mode 100644 index 0000000..8196296 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_invisible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_invisible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_invisible_root_type.rb new file mode 100644 index 0000000..03411a7 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_invisible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_invisible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_invisible_warnings_item.rb new file mode 100644 index 0000000..4cc1eb5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_invisible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_open.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_open.rb new file mode 100644 index 0000000..815e841 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_open.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpen < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_open_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_open_root.rb new file mode 100644 index 0000000..c1f9996 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_open_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_open_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_open_root_type.rb new file mode 100644 index 0000000..328efd4 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_open_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_open_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_open_warnings_item.rb new file mode 100644 index 0000000..e340bb9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_open_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_visible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_visible.rb new file mode 100644 index 0000000..b78782a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_visible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_visible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_visible_root.rb new file mode 100644 index 0000000..a369bf2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_visible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_visible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_visible_root_type.rb new file mode 100644 index 0000000..ff80015 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_visible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_visible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_visible_warnings_item.rb new file mode 100644 index 0000000..98d466b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_actions_page_visible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + 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 new file mode 100644 index 0000000..3aa8043 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_blend_mode.rb @@ -0,0 +1,26 @@ +# 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 new file mode 100644 index 0000000..81a9df2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_border_style.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 0000000..56e94b7 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_color.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..2b82d31 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_flags.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 0000000..f7e919e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_identity_quality.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..bd61bb6 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_in_reply_to.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..555f74f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_in_reply_to_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..cd51657 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_in_reply_to_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..ad90dfa --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_in_reply_to_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..74d5fa3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_in_reply_to_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..bca70e9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_ink_list_item_item.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..7fffaca --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_intent.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..0287419 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_rect.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..5e6dfdb --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_ref.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..3aefaa3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_ref_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..1232c83 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_ref_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..92e12a2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_ref_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..c7d16e9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_ref_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..690db6d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_ink_reply_type.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..e043f09 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line.rb @@ -0,0 +1,63 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLine < Internal::Types::Model + 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 :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::DocAnnotationsList200ResponseAnnotationsItemLineActions }, 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_actions.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions.rb new file mode 100644 index 0000000..7696276 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLineActions < Internal::Types::Model + field :activate, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsActivate }, optional: true, nullable: false + + field :cursor_enter, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnter }, optional: true, nullable: false, api_name: "cursorEnter" + + field :cursor_exit, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExit }, optional: true, nullable: false, api_name: "cursorExit" + + field :mouse_down, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDown }, optional: true, nullable: false, api_name: "mouseDown" + + field :mouse_up, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUp }, optional: true, nullable: false, api_name: "mouseUp" + + field :focus, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsFocus }, optional: true, nullable: false + + field :blur, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsBlur }, optional: true, nullable: false + + field :page_open, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpen }, optional: true, nullable: false, api_name: "pageOpen" + + field :page_close, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsPageClose }, optional: true, nullable: false, api_name: "pageClose" + + field :page_visible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisible }, optional: true, nullable: false, api_name: "pageVisible" + + field :page_invisible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisible }, optional: true, nullable: false, api_name: "pageInvisible" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_activate.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_activate.rb new file mode 100644 index 0000000..613dfc8 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_activate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLineActionsActivate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_activate_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_activate_root.rb new file mode 100644 index 0000000..c374495 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_activate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_activate_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_activate_root_type.rb new file mode 100644 index 0000000..d258225 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_activate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_activate_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_activate_warnings_item.rb new file mode 100644 index 0000000..fda0474 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_activate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_blur.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_blur.rb new file mode 100644 index 0000000..0b0ba34 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_blur.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLineActionsBlur < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_blur_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_blur_root.rb new file mode 100644 index 0000000..c20c563 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_blur_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_blur_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_blur_root_type.rb new file mode 100644 index 0000000..05da0cc --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_blur_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_blur_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_blur_warnings_item.rb new file mode 100644 index 0000000..5b3e59d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_blur_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_enter.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_enter.rb new file mode 100644 index 0000000..4fc32d3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_enter.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnter < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_enter_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_enter_root.rb new file mode 100644 index 0000000..dac5c0d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_enter_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_enter_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_enter_root_type.rb new file mode 100644 index 0000000..92d3bae --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_enter_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_enter_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_enter_warnings_item.rb new file mode 100644 index 0000000..39408af --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_enter_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_exit.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_exit.rb new file mode 100644 index 0000000..31414c9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_exit.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExit < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_exit_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_exit_root.rb new file mode 100644 index 0000000..f26dc50 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_exit_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_exit_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_exit_root_type.rb new file mode 100644 index 0000000..91897ee --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_exit_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_exit_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_exit_warnings_item.rb new file mode 100644 index 0000000..70cd885 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_cursor_exit_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_focus.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_focus.rb new file mode 100644 index 0000000..1d1b810 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_focus.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLineActionsFocus < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_focus_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_focus_root.rb new file mode 100644 index 0000000..cb76290 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_focus_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_focus_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_focus_root_type.rb new file mode 100644 index 0000000..6077caf --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_focus_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_focus_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_focus_warnings_item.rb new file mode 100644 index 0000000..c4a50c0 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_focus_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_down.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_down.rb new file mode 100644 index 0000000..2e7ec83 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_down.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDown < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_down_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_down_root.rb new file mode 100644 index 0000000..12a27b5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_down_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_down_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_down_root_type.rb new file mode 100644 index 0000000..628bda1 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_down_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_down_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_down_warnings_item.rb new file mode 100644 index 0000000..4b7da46 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_down_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_up.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_up.rb new file mode 100644 index 0000000..51ae175 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_up.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUp < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_up_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_up_root.rb new file mode 100644 index 0000000..af0e6a7 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_up_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_up_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_up_root_type.rb new file mode 100644 index 0000000..1a885d1 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_up_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_up_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_up_warnings_item.rb new file mode 100644 index 0000000..eca4689 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_mouse_up_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_close.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_close.rb new file mode 100644 index 0000000..cf3a59d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_close.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLineActionsPageClose < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_close_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_close_root.rb new file mode 100644 index 0000000..fa3ad5a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_close_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_close_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_close_root_type.rb new file mode 100644 index 0000000..0fdb943 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_close_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_close_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_close_warnings_item.rb new file mode 100644 index 0000000..51e667d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_close_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_invisible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_invisible.rb new file mode 100644 index 0000000..a231fd3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_invisible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_invisible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_invisible_root.rb new file mode 100644 index 0000000..054777e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_invisible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_invisible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_invisible_root_type.rb new file mode 100644 index 0000000..09d8415 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_invisible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_invisible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_invisible_warnings_item.rb new file mode 100644 index 0000000..1f378e6 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_invisible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_open.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_open.rb new file mode 100644 index 0000000..1e3335c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_open.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpen < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_open_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_open_root.rb new file mode 100644 index 0000000..9635482 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_open_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_open_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_open_root_type.rb new file mode 100644 index 0000000..42765e2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_open_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_open_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_open_warnings_item.rb new file mode 100644 index 0000000..6d3836b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_open_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_visible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_visible.rb new file mode 100644 index 0000000..a7c269c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_visible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_visible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_visible_root.rb new file mode 100644 index 0000000..e39e4c3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_visible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_visible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_visible_root_type.rb new file mode 100644 index 0000000..171844e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_visible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_visible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_visible_warnings_item.rb new file mode 100644 index 0000000..34a1cfa --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_actions_page_visible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + 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 new file mode 100644 index 0000000..9e6d16b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_blend_mode.rb @@ -0,0 +1,26 @@ +# 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 new file mode 100644 index 0000000..781a2f6 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_border_style.rb @@ -0,0 +1,14 @@ +# 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_color.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_color.rb new file mode 100644 index 0000000..3b79a9b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_color.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..424fadb --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_flags.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 0000000..c8e4972 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_identity_quality.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..5918c5d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_in_reply_to.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..5d94b43 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_in_reply_to_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..89b78ac --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_in_reply_to_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..ec7e060 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_in_reply_to_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..ad79b99 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_in_reply_to_object_number.rb @@ -0,0 +1,11 @@ +# 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_interior_color.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_interior_color.rb new file mode 100644 index 0000000..a46e8f2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_interior_color.rb @@ -0,0 +1,13 @@ +# 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_line_endings.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_line_endings.rb new file mode 100644 index 0000000..730bc67 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_line_endings.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..94e9f4b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_line_endings_end.rb @@ -0,0 +1,20 @@ +# 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 new file mode 100644 index 0000000..5e1f966 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_line_endings_start.rb @@ -0,0 +1,20 @@ +# 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 new file mode 100644 index 0000000..4dcb286 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_line_points.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..188d48a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_line_points_end.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..ae92e70 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_line_points_start.rb @@ -0,0 +1,11 @@ +# 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_rect.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_rect.rb new file mode 100644 index 0000000..940fdd3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_rect.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..cd707ff --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_ref.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..5f9d90d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_ref_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..88755b4 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_ref_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..574990d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_ref_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..2584b85 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_ref_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..6084f2f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_line_reply_type.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..6cc0507 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link.rb @@ -0,0 +1,47 @@ +# 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 :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::DocAnnotationsList200ResponseAnnotationsItemLinkActions }, 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_actions.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions.rb new file mode 100644 index 0000000..1096d57 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkActions < Internal::Types::Model + field :activate, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivate }, optional: true, nullable: false + + field :cursor_enter, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnter }, optional: true, nullable: false, api_name: "cursorEnter" + + field :cursor_exit, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExit }, optional: true, nullable: false, api_name: "cursorExit" + + field :mouse_down, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDown }, optional: true, nullable: false, api_name: "mouseDown" + + field :mouse_up, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUp }, optional: true, nullable: false, api_name: "mouseUp" + + field :focus, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocus }, optional: true, nullable: false + + field :blur, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlur }, optional: true, nullable: false + + field :page_open, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpen }, optional: true, nullable: false, api_name: "pageOpen" + + field :page_close, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageClose }, optional: true, nullable: false, api_name: "pageClose" + + field :page_visible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisible }, optional: true, nullable: false, api_name: "pageVisible" + + field :page_invisible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisible }, optional: true, nullable: false, api_name: "pageInvisible" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_activate.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_activate.rb new file mode 100644 index 0000000..3a77a3f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_activate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_activate_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_activate_root.rb new file mode 100644 index 0000000..c0b4666 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_activate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_activate_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_activate_root_type.rb new file mode 100644 index 0000000..2a242c3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_activate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_activate_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_activate_warnings_item.rb new file mode 100644 index 0000000..496aeeb --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_activate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_blur.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_blur.rb new file mode 100644 index 0000000..ca46b97 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_blur.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlur < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_blur_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_blur_root.rb new file mode 100644 index 0000000..c6cbd90 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_blur_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_blur_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_blur_root_type.rb new file mode 100644 index 0000000..03c7ec3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_blur_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_blur_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_blur_warnings_item.rb new file mode 100644 index 0000000..33eb890 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_blur_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_enter.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_enter.rb new file mode 100644 index 0000000..ad3e93c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_enter.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnter < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_enter_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_enter_root.rb new file mode 100644 index 0000000..45b9835 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_enter_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_enter_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_enter_root_type.rb new file mode 100644 index 0000000..de03c0c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_enter_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_enter_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_enter_warnings_item.rb new file mode 100644 index 0000000..5f46da7 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_enter_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_exit.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_exit.rb new file mode 100644 index 0000000..25c0308 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_exit.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExit < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_exit_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_exit_root.rb new file mode 100644 index 0000000..0422b43 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_exit_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_exit_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_exit_root_type.rb new file mode 100644 index 0000000..3f87262 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_exit_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_exit_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_exit_warnings_item.rb new file mode 100644 index 0000000..aab1506 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_cursor_exit_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_focus.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_focus.rb new file mode 100644 index 0000000..e4d1ab1 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_focus.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocus < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_focus_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_focus_root.rb new file mode 100644 index 0000000..b32d39e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_focus_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_focus_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_focus_root_type.rb new file mode 100644 index 0000000..f556ad7 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_focus_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_focus_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_focus_warnings_item.rb new file mode 100644 index 0000000..e186af5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_focus_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_down.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_down.rb new file mode 100644 index 0000000..10a0467 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_down.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDown < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_down_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_down_root.rb new file mode 100644 index 0000000..47a2de5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_down_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_down_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_down_root_type.rb new file mode 100644 index 0000000..4fdc723 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_down_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_down_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_down_warnings_item.rb new file mode 100644 index 0000000..779c882 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_down_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_up.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_up.rb new file mode 100644 index 0000000..47bcf48 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_up.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUp < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_up_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_up_root.rb new file mode 100644 index 0000000..350d4cc --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_up_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_up_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_up_root_type.rb new file mode 100644 index 0000000..caac533 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_up_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_up_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_up_warnings_item.rb new file mode 100644 index 0000000..9f30110 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_mouse_up_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_close.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_close.rb new file mode 100644 index 0000000..b24161e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_close.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageClose < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_close_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_close_root.rb new file mode 100644 index 0000000..b413cad --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_close_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_close_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_close_root_type.rb new file mode 100644 index 0000000..51f2ec3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_close_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_close_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_close_warnings_item.rb new file mode 100644 index 0000000..031070e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_close_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_invisible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_invisible.rb new file mode 100644 index 0000000..b8c5d24 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_invisible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_invisible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_invisible_root.rb new file mode 100644 index 0000000..d377203 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_invisible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_invisible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_invisible_root_type.rb new file mode 100644 index 0000000..2d03651 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_invisible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_invisible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_invisible_warnings_item.rb new file mode 100644 index 0000000..514932c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_invisible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_open.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_open.rb new file mode 100644 index 0000000..8ba869e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_open.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpen < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_open_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_open_root.rb new file mode 100644 index 0000000..ae835be --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_open_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_open_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_open_root_type.rb new file mode 100644 index 0000000..1854f40 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_open_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_open_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_open_warnings_item.rb new file mode 100644 index 0000000..cf899fa --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_open_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_visible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_visible.rb new file mode 100644 index 0000000..6ab9285 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_visible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_visible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_visible_root.rb new file mode 100644 index 0000000..d076d11 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_visible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_visible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_visible_root_type.rb new file mode 100644 index 0000000..937bb72 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_visible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_visible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_visible_warnings_item.rb new file mode 100644 index 0000000..20a4902 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_actions_page_visible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + 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 new file mode 100644 index 0000000..029c798 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_blend_mode.rb @@ -0,0 +1,26 @@ +# 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 new file mode 100644 index 0000000..55dbad5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_flags.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 0000000..639e90e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_identity_quality.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..8c23054 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_in_reply_to.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..0fc78a0 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_in_reply_to_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..5e2d331 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_in_reply_to_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..c1e4c48 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_in_reply_to_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..7feed3d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_in_reply_to_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..1104652 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_rect.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..6a04b9c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_ref.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..7305ad7 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_ref_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..34251e2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_ref_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..137fac4 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_ref_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..cf906fe --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_ref_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..0f48b9e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_reply_type.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..5a394aa --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target.rb @@ -0,0 +1,25 @@ +# 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 new file mode 100644 index 0000000..6b0412f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto < Internal::Types::Model + field :destination, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination.rb new file mode 100644 index 0000000..bd0519c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination < Internal::Types::Model + extend Cloudpdf::Internal::Types::Union + + discriminant :kind + + member -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationXyz }, key: "XYZ" + + member -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFit }, key: "FIT" + + member -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitH }, key: "FIT_H" + + member -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitV }, key: "FIT_V" + + member -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitR }, key: "FIT_R" + + member -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitB }, key: "FIT_B" + + member -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBh }, key: "FIT_BH" + + member -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBv }, key: "FIT_BV" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination_fit.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination_fit.rb new file mode 100644 index 0000000..9d3e51c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination_fit.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFit < Internal::Types::Model + field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination_fit_b.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination_fit_b.rb new file mode 100644 index 0000000..b754811 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination_fit_b.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitB < Internal::Types::Model + field :page_object_number, -> { Integer }, optional: false, nullable: false, api_name: "pageObjectNumber" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination_fit_bh.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination_fit_bh.rb new file mode 100644 index 0000000..6f7e67e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination_fit_bh.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBh < 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/doc_annotations_list200response_annotations_item_link_target_goto_destination_fit_bv.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination_fit_bv.rb new file mode 100644 index 0000000..022668f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination_fit_bv.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBv < 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/doc_annotations_list200response_annotations_item_link_target_goto_destination_fit_h.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination_fit_h.rb new file mode 100644 index 0000000..d999796 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination_fit_h.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitH < 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/doc_annotations_list200response_annotations_item_link_target_goto_destination_fit_r.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination_fit_r.rb new file mode 100644 index 0000000..cccfd9d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination_fit_r.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitR < 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/doc_annotations_list200response_annotations_item_link_target_goto_destination_fit_v.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination_fit_v.rb new file mode 100644 index 0000000..f2586b3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination_fit_v.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitV < 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/doc_annotations_list200response_annotations_item_link_target_goto_destination_xyz.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination_xyz.rb new file mode 100644 index 0000000..61279fb --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_destination_xyz.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationXyz < 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/doc_annotations_list200response_annotations_item_link_target_goto_remote.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_remote.rb new file mode 100644 index 0000000..8bf09de --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_goto_remote.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..3d692df --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_javascript.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..48a06e5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_launch.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..c543b09 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_named.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..c71bf5e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_unsupported.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..1bd420f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_link_target_uri.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..a52798b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon.rb @@ -0,0 +1,63 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolygon < Internal::Types::Model + 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 :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::DocAnnotationsList200ResponseAnnotationsItemPolygonActions }, 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_actions.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions.rb new file mode 100644 index 0000000..9050bfa --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolygonActions < Internal::Types::Model + field :activate, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivate }, optional: true, nullable: false + + field :cursor_enter, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnter }, optional: true, nullable: false, api_name: "cursorEnter" + + field :cursor_exit, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExit }, optional: true, nullable: false, api_name: "cursorExit" + + field :mouse_down, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDown }, optional: true, nullable: false, api_name: "mouseDown" + + field :mouse_up, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUp }, optional: true, nullable: false, api_name: "mouseUp" + + field :focus, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocus }, optional: true, nullable: false + + field :blur, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlur }, optional: true, nullable: false + + field :page_open, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpen }, optional: true, nullable: false, api_name: "pageOpen" + + field :page_close, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageClose }, optional: true, nullable: false, api_name: "pageClose" + + field :page_visible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisible }, optional: true, nullable: false, api_name: "pageVisible" + + field :page_invisible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisible }, optional: true, nullable: false, api_name: "pageInvisible" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_activate.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_activate.rb new file mode 100644 index 0000000..4708f74 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_activate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_activate_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_activate_root.rb new file mode 100644 index 0000000..134270d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_activate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_activate_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_activate_root_type.rb new file mode 100644 index 0000000..9d45d87 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_activate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_activate_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_activate_warnings_item.rb new file mode 100644 index 0000000..044df81 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_activate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_blur.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_blur.rb new file mode 100644 index 0000000..583a8bb --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_blur.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlur < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_blur_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_blur_root.rb new file mode 100644 index 0000000..80c5b9b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_blur_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_blur_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_blur_root_type.rb new file mode 100644 index 0000000..1254f63 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_blur_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_blur_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_blur_warnings_item.rb new file mode 100644 index 0000000..185ec13 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_blur_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_enter.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_enter.rb new file mode 100644 index 0000000..463c792 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_enter.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnter < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_enter_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_enter_root.rb new file mode 100644 index 0000000..4426585 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_enter_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_enter_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_enter_root_type.rb new file mode 100644 index 0000000..c4ff235 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_enter_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_enter_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_enter_warnings_item.rb new file mode 100644 index 0000000..63745c2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_enter_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_exit.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_exit.rb new file mode 100644 index 0000000..27330bf --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_exit.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExit < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_exit_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_exit_root.rb new file mode 100644 index 0000000..4fc4a47 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_exit_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_exit_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_exit_root_type.rb new file mode 100644 index 0000000..1c13f24 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_exit_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_exit_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_exit_warnings_item.rb new file mode 100644 index 0000000..d3bc494 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_cursor_exit_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_focus.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_focus.rb new file mode 100644 index 0000000..01cf5f5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_focus.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocus < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_focus_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_focus_root.rb new file mode 100644 index 0000000..4b38d68 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_focus_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_focus_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_focus_root_type.rb new file mode 100644 index 0000000..49a6e16 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_focus_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_focus_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_focus_warnings_item.rb new file mode 100644 index 0000000..ded0532 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_focus_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_down.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_down.rb new file mode 100644 index 0000000..0d752b1 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_down.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDown < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_down_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_down_root.rb new file mode 100644 index 0000000..dec2c39 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_down_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_down_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_down_root_type.rb new file mode 100644 index 0000000..60952c1 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_down_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_down_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_down_warnings_item.rb new file mode 100644 index 0000000..7eef4c9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_down_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_up.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_up.rb new file mode 100644 index 0000000..493b8a9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_up.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUp < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_up_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_up_root.rb new file mode 100644 index 0000000..e38ecd3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_up_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_up_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_up_root_type.rb new file mode 100644 index 0000000..4039edb --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_up_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_up_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_up_warnings_item.rb new file mode 100644 index 0000000..56c8e7f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_mouse_up_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_close.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_close.rb new file mode 100644 index 0000000..4887fe2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_close.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageClose < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_close_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_close_root.rb new file mode 100644 index 0000000..649680e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_close_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_close_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_close_root_type.rb new file mode 100644 index 0000000..c80c815 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_close_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_close_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_close_warnings_item.rb new file mode 100644 index 0000000..3b2ddbe --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_close_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_invisible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_invisible.rb new file mode 100644 index 0000000..ac18455 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_invisible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_invisible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_invisible_root.rb new file mode 100644 index 0000000..ddc086e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_invisible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_invisible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_invisible_root_type.rb new file mode 100644 index 0000000..b9e4f7b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_invisible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_invisible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_invisible_warnings_item.rb new file mode 100644 index 0000000..cefa850 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_invisible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_open.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_open.rb new file mode 100644 index 0000000..ce92085 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_open.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpen < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_open_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_open_root.rb new file mode 100644 index 0000000..7669d40 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_open_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_open_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_open_root_type.rb new file mode 100644 index 0000000..d8c7a8d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_open_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_open_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_open_warnings_item.rb new file mode 100644 index 0000000..ecfd1c7 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_open_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_visible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_visible.rb new file mode 100644 index 0000000..43a4a9f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_visible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_visible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_visible_root.rb new file mode 100644 index 0000000..67b9407 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_visible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_visible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_visible_root_type.rb new file mode 100644 index 0000000..125c97d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_visible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_visible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_visible_warnings_item.rb new file mode 100644 index 0000000..5d852c1 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_actions_page_visible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + 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 new file mode 100644 index 0000000..68ed9a6 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_blend_mode.rb @@ -0,0 +1,26 @@ +# 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 new file mode 100644 index 0000000..b9d300b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_border_style.rb @@ -0,0 +1,14 @@ +# 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_color.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_color.rb new file mode 100644 index 0000000..ecae2a3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_color.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..19af1f5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_flags.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 0000000..73369ab --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_identity_quality.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..bd1385a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_in_reply_to.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..b46cdea --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_in_reply_to_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..c99d415 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_in_reply_to_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..90e0b4a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_in_reply_to_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..d7eaf18 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_in_reply_to_object_number.rb @@ -0,0 +1,11 @@ +# 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_interior_color.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_interior_color.rb new file mode 100644 index 0000000..68078b3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_interior_color.rb @@ -0,0 +1,13 @@ +# 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_rect.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_rect.rb new file mode 100644 index 0000000..683422d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_rect.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..064c166 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_ref.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..864e398 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_ref_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..13bfe2a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_ref_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..650bf0a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_ref_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..147914a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_ref_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..c4ae350 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_reply_type.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..0ff4efa --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polygon_vertices_item.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..6ff31f1 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline.rb @@ -0,0 +1,63 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolyline < Internal::Types::Model + 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 :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::DocAnnotationsList200ResponseAnnotationsItemPolylineActions }, 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_actions.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions.rb new file mode 100644 index 0000000..66c8390 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolylineActions < Internal::Types::Model + field :activate, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivate }, optional: true, nullable: false + + field :cursor_enter, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnter }, optional: true, nullable: false, api_name: "cursorEnter" + + field :cursor_exit, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExit }, optional: true, nullable: false, api_name: "cursorExit" + + field :mouse_down, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDown }, optional: true, nullable: false, api_name: "mouseDown" + + field :mouse_up, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUp }, optional: true, nullable: false, api_name: "mouseUp" + + field :focus, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocus }, optional: true, nullable: false + + field :blur, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlur }, optional: true, nullable: false + + field :page_open, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpen }, optional: true, nullable: false, api_name: "pageOpen" + + field :page_close, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageClose }, optional: true, nullable: false, api_name: "pageClose" + + field :page_visible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisible }, optional: true, nullable: false, api_name: "pageVisible" + + field :page_invisible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisible }, optional: true, nullable: false, api_name: "pageInvisible" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_activate.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_activate.rb new file mode 100644 index 0000000..5614772 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_activate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_activate_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_activate_root.rb new file mode 100644 index 0000000..6e75ef9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_activate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_activate_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_activate_root_type.rb new file mode 100644 index 0000000..d56af8d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_activate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_activate_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_activate_warnings_item.rb new file mode 100644 index 0000000..83c8c9c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_activate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_blur.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_blur.rb new file mode 100644 index 0000000..9e6ce85 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_blur.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlur < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_blur_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_blur_root.rb new file mode 100644 index 0000000..b760c5e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_blur_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_blur_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_blur_root_type.rb new file mode 100644 index 0000000..75f4652 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_blur_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_blur_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_blur_warnings_item.rb new file mode 100644 index 0000000..a94ec15 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_blur_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_enter.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_enter.rb new file mode 100644 index 0000000..8015a01 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_enter.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnter < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_enter_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_enter_root.rb new file mode 100644 index 0000000..b6be94b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_enter_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_enter_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_enter_root_type.rb new file mode 100644 index 0000000..abfa876 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_enter_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_enter_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_enter_warnings_item.rb new file mode 100644 index 0000000..61d2eef --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_enter_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_exit.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_exit.rb new file mode 100644 index 0000000..0028bdf --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_exit.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExit < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_exit_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_exit_root.rb new file mode 100644 index 0000000..5ec077d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_exit_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_exit_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_exit_root_type.rb new file mode 100644 index 0000000..c1998af --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_exit_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_exit_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_exit_warnings_item.rb new file mode 100644 index 0000000..99d3060 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_cursor_exit_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_focus.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_focus.rb new file mode 100644 index 0000000..6222bbb --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_focus.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocus < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_focus_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_focus_root.rb new file mode 100644 index 0000000..8f8addb --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_focus_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_focus_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_focus_root_type.rb new file mode 100644 index 0000000..2e7a0bf --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_focus_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_focus_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_focus_warnings_item.rb new file mode 100644 index 0000000..146cbaf --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_focus_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_down.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_down.rb new file mode 100644 index 0000000..6bcb866 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_down.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDown < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_down_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_down_root.rb new file mode 100644 index 0000000..5ee88da --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_down_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_down_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_down_root_type.rb new file mode 100644 index 0000000..009bdfa --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_down_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_down_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_down_warnings_item.rb new file mode 100644 index 0000000..60e9fdb --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_down_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_up.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_up.rb new file mode 100644 index 0000000..4581929 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_up.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUp < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_up_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_up_root.rb new file mode 100644 index 0000000..c3ecd53 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_up_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_up_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_up_root_type.rb new file mode 100644 index 0000000..8de489b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_up_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_up_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_up_warnings_item.rb new file mode 100644 index 0000000..d21af3c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_mouse_up_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_close.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_close.rb new file mode 100644 index 0000000..829cd0c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_close.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageClose < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_close_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_close_root.rb new file mode 100644 index 0000000..2db6ea3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_close_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_close_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_close_root_type.rb new file mode 100644 index 0000000..cef46fc --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_close_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_close_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_close_warnings_item.rb new file mode 100644 index 0000000..90f3a85 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_close_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_invisible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_invisible.rb new file mode 100644 index 0000000..5012cc5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_invisible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_invisible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_invisible_root.rb new file mode 100644 index 0000000..46c8159 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_invisible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_invisible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_invisible_root_type.rb new file mode 100644 index 0000000..711ffa2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_invisible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_invisible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_invisible_warnings_item.rb new file mode 100644 index 0000000..43743dc --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_invisible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_open.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_open.rb new file mode 100644 index 0000000..9cbd811 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_open.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpen < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_open_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_open_root.rb new file mode 100644 index 0000000..9aed79b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_open_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_open_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_open_root_type.rb new file mode 100644 index 0000000..03f18d2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_open_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_open_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_open_warnings_item.rb new file mode 100644 index 0000000..6c7d57e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_open_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_visible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_visible.rb new file mode 100644 index 0000000..864046b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_visible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_visible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_visible_root.rb new file mode 100644 index 0000000..dfd4928 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_visible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_visible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_visible_root_type.rb new file mode 100644 index 0000000..f8bf7ca --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_visible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_visible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_visible_warnings_item.rb new file mode 100644 index 0000000..3f8481c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_actions_page_visible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + 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 new file mode 100644 index 0000000..5378b7c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_blend_mode.rb @@ -0,0 +1,26 @@ +# 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 new file mode 100644 index 0000000..2b007fa --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_border_style.rb @@ -0,0 +1,14 @@ +# 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_color.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_color.rb new file mode 100644 index 0000000..ca8926a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_color.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..8353dbe --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_flags.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 0000000..d552288 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_identity_quality.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..6916124 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_in_reply_to.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..54451fc --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_in_reply_to_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..344a47c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_in_reply_to_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..debab3b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_in_reply_to_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..a25aa58 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_in_reply_to_object_number.rb @@ -0,0 +1,11 @@ +# 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_interior_color.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_interior_color.rb new file mode 100644 index 0000000..417b6e8 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_interior_color.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..8f8f376 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_line_endings.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..fa7dfb1 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_line_endings_end.rb @@ -0,0 +1,20 @@ +# 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 new file mode 100644 index 0000000..ddd76d5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_line_endings_start.rb @@ -0,0 +1,20 @@ +# 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_rect.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_rect.rb new file mode 100644 index 0000000..5e71231 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_rect.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..035002d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_ref.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..28142c2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_ref_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..c6a210f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_ref_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..0bfde8b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_ref_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..f4ac7bc --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_ref_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..34b5b73 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_reply_type.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..e845ced --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_polyline_vertices_item.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..c5ebf06 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact.rb @@ -0,0 +1,65 @@ +# 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 :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::DocAnnotationsList200ResponseAnnotationsItemRedactActions }, 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_actions.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions.rb new file mode 100644 index 0000000..6fd0f42 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemRedactActions < Internal::Types::Model + field :activate, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivate }, optional: true, nullable: false + + field :cursor_enter, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnter }, optional: true, nullable: false, api_name: "cursorEnter" + + field :cursor_exit, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExit }, optional: true, nullable: false, api_name: "cursorExit" + + field :mouse_down, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDown }, optional: true, nullable: false, api_name: "mouseDown" + + field :mouse_up, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUp }, optional: true, nullable: false, api_name: "mouseUp" + + field :focus, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocus }, optional: true, nullable: false + + field :blur, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlur }, optional: true, nullable: false + + field :page_open, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpen }, optional: true, nullable: false, api_name: "pageOpen" + + field :page_close, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageClose }, optional: true, nullable: false, api_name: "pageClose" + + field :page_visible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisible }, optional: true, nullable: false, api_name: "pageVisible" + + field :page_invisible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisible }, optional: true, nullable: false, api_name: "pageInvisible" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_activate.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_activate.rb new file mode 100644 index 0000000..6c4071a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_activate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_activate_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_activate_root.rb new file mode 100644 index 0000000..1cca562 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_activate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_activate_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_activate_root_type.rb new file mode 100644 index 0000000..598383d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_activate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_activate_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_activate_warnings_item.rb new file mode 100644 index 0000000..1626cf3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_activate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_blur.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_blur.rb new file mode 100644 index 0000000..24625ac --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_blur.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlur < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_blur_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_blur_root.rb new file mode 100644 index 0000000..13995e2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_blur_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_blur_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_blur_root_type.rb new file mode 100644 index 0000000..0262dde --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_blur_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_blur_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_blur_warnings_item.rb new file mode 100644 index 0000000..38d6f07 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_blur_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_enter.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_enter.rb new file mode 100644 index 0000000..ef4f1b2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_enter.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnter < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_enter_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_enter_root.rb new file mode 100644 index 0000000..73058b3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_enter_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_enter_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_enter_root_type.rb new file mode 100644 index 0000000..9e77925 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_enter_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_enter_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_enter_warnings_item.rb new file mode 100644 index 0000000..cf4379b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_enter_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_exit.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_exit.rb new file mode 100644 index 0000000..31ebfc8 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_exit.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExit < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_exit_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_exit_root.rb new file mode 100644 index 0000000..47b2c33 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_exit_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_exit_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_exit_root_type.rb new file mode 100644 index 0000000..50e5feb --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_exit_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_exit_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_exit_warnings_item.rb new file mode 100644 index 0000000..3b505de --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_cursor_exit_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_focus.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_focus.rb new file mode 100644 index 0000000..b22f762 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_focus.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocus < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_focus_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_focus_root.rb new file mode 100644 index 0000000..c649e9b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_focus_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_focus_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_focus_root_type.rb new file mode 100644 index 0000000..ff57f30 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_focus_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_focus_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_focus_warnings_item.rb new file mode 100644 index 0000000..e0e35fa --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_focus_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_down.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_down.rb new file mode 100644 index 0000000..b99a398 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_down.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDown < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_down_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_down_root.rb new file mode 100644 index 0000000..25677dd --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_down_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_down_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_down_root_type.rb new file mode 100644 index 0000000..3e0ab0d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_down_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_down_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_down_warnings_item.rb new file mode 100644 index 0000000..54f7fa2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_down_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_up.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_up.rb new file mode 100644 index 0000000..b156866 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_up.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUp < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_up_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_up_root.rb new file mode 100644 index 0000000..0431109 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_up_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_up_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_up_root_type.rb new file mode 100644 index 0000000..d44bbdd --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_up_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_up_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_up_warnings_item.rb new file mode 100644 index 0000000..4bdc185 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_mouse_up_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_close.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_close.rb new file mode 100644 index 0000000..762bb90 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_close.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageClose < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_close_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_close_root.rb new file mode 100644 index 0000000..6161191 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_close_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_close_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_close_root_type.rb new file mode 100644 index 0000000..787dfa9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_close_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_close_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_close_warnings_item.rb new file mode 100644 index 0000000..3d3fa5c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_close_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_invisible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_invisible.rb new file mode 100644 index 0000000..f3accc6 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_invisible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_invisible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_invisible_root.rb new file mode 100644 index 0000000..19ad95d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_invisible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_invisible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_invisible_root_type.rb new file mode 100644 index 0000000..87075ca --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_invisible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_invisible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_invisible_warnings_item.rb new file mode 100644 index 0000000..551257f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_invisible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_open.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_open.rb new file mode 100644 index 0000000..f7ef4f0 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_open.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpen < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_open_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_open_root.rb new file mode 100644 index 0000000..150fadc --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_open_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_open_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_open_root_type.rb new file mode 100644 index 0000000..9a85829 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_open_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_open_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_open_warnings_item.rb new file mode 100644 index 0000000..a567c54 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_open_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_visible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_visible.rb new file mode 100644 index 0000000..0299f2f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_visible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_visible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_visible_root.rb new file mode 100644 index 0000000..3fbf9f9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_visible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_visible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_visible_root_type.rb new file mode 100644 index 0000000..128503c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_visible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_visible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_visible_warnings_item.rb new file mode 100644 index 0000000..65169a9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_actions_page_visible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + 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 new file mode 100644 index 0000000..c07b657 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_blend_mode.rb @@ -0,0 +1,26 @@ +# 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 new file mode 100644 index 0000000..d8ed24f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_color.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..540cc00 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_flags.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 0000000..28d1574 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_font_color.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..ba7036c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_font_family.rb @@ -0,0 +1,24 @@ +# 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 new file mode 100644 index 0000000..f7050fb --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_identity_quality.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..2f2d1bb --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_in_reply_to.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..0c9c3f6 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_in_reply_to_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..e32bc65 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_in_reply_to_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..60e52fd --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_in_reply_to_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..839e824 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_in_reply_to_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..77d347e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_interior_color.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..389e607 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_quad_points_item.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..5e064b7 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_quad_points_item_p1.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..6200e8d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_quad_points_item_p2.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..6c26131 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_quad_points_item_p3.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..e8837f9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_quad_points_item_p4.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..f6e7bc2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_rect.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..7155005 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_ref.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..ec4d52f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_ref_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..a0a79e2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_ref_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..570fc0d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_ref_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..4890ee7 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_ref_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..1bb2b0a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_reply_type.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..dc8fc67 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_redact_text_align.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..61c4f7c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square.rb @@ -0,0 +1,65 @@ +# 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 :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::DocAnnotationsList200ResponseAnnotationsItemSquareActions }, 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_actions.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions.rb new file mode 100644 index 0000000..5f145e2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquareActions < Internal::Types::Model + field :activate, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivate }, optional: true, nullable: false + + field :cursor_enter, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnter }, optional: true, nullable: false, api_name: "cursorEnter" + + field :cursor_exit, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExit }, optional: true, nullable: false, api_name: "cursorExit" + + field :mouse_down, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDown }, optional: true, nullable: false, api_name: "mouseDown" + + field :mouse_up, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUp }, optional: true, nullable: false, api_name: "mouseUp" + + field :focus, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocus }, optional: true, nullable: false + + field :blur, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlur }, optional: true, nullable: false + + field :page_open, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpen }, optional: true, nullable: false, api_name: "pageOpen" + + field :page_close, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageClose }, optional: true, nullable: false, api_name: "pageClose" + + field :page_visible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisible }, optional: true, nullable: false, api_name: "pageVisible" + + field :page_invisible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisible }, optional: true, nullable: false, api_name: "pageInvisible" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_activate.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_activate.rb new file mode 100644 index 0000000..a6d3f39 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_activate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_activate_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_activate_root.rb new file mode 100644 index 0000000..0ed3f44 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_activate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_activate_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_activate_root_type.rb new file mode 100644 index 0000000..4f6e1fe --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_activate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_activate_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_activate_warnings_item.rb new file mode 100644 index 0000000..5537648 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_activate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_blur.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_blur.rb new file mode 100644 index 0000000..32203e6 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_blur.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlur < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_blur_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_blur_root.rb new file mode 100644 index 0000000..4c2d65c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_blur_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_blur_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_blur_root_type.rb new file mode 100644 index 0000000..b304f2e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_blur_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_blur_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_blur_warnings_item.rb new file mode 100644 index 0000000..472c796 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_blur_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_enter.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_enter.rb new file mode 100644 index 0000000..6d04547 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_enter.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnter < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_enter_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_enter_root.rb new file mode 100644 index 0000000..1ff35f4 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_enter_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_enter_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_enter_root_type.rb new file mode 100644 index 0000000..9abda88 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_enter_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_enter_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_enter_warnings_item.rb new file mode 100644 index 0000000..05cf035 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_enter_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_exit.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_exit.rb new file mode 100644 index 0000000..97ae0c8 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_exit.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExit < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_exit_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_exit_root.rb new file mode 100644 index 0000000..f06d9da --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_exit_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_exit_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_exit_root_type.rb new file mode 100644 index 0000000..fd906ea --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_exit_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_exit_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_exit_warnings_item.rb new file mode 100644 index 0000000..4799f32 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_cursor_exit_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_focus.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_focus.rb new file mode 100644 index 0000000..11eb066 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_focus.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocus < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_focus_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_focus_root.rb new file mode 100644 index 0000000..5d68d67 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_focus_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_focus_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_focus_root_type.rb new file mode 100644 index 0000000..1ddbeb2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_focus_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_focus_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_focus_warnings_item.rb new file mode 100644 index 0000000..87d37b2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_focus_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_down.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_down.rb new file mode 100644 index 0000000..f287bc8 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_down.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDown < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_down_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_down_root.rb new file mode 100644 index 0000000..117b911 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_down_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_down_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_down_root_type.rb new file mode 100644 index 0000000..f6aacdd --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_down_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_down_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_down_warnings_item.rb new file mode 100644 index 0000000..cb350f4 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_down_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_up.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_up.rb new file mode 100644 index 0000000..d8c0591 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_up.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUp < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_up_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_up_root.rb new file mode 100644 index 0000000..a3e0fbf --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_up_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_up_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_up_root_type.rb new file mode 100644 index 0000000..fd76124 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_up_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_up_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_up_warnings_item.rb new file mode 100644 index 0000000..d0ce192 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_mouse_up_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_close.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_close.rb new file mode 100644 index 0000000..193f63d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_close.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageClose < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_close_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_close_root.rb new file mode 100644 index 0000000..1c68a48 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_close_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_close_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_close_root_type.rb new file mode 100644 index 0000000..df895d4 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_close_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_close_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_close_warnings_item.rb new file mode 100644 index 0000000..f689d2e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_close_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_invisible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_invisible.rb new file mode 100644 index 0000000..a2e2eeb --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_invisible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_invisible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_invisible_root.rb new file mode 100644 index 0000000..697353b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_invisible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_invisible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_invisible_root_type.rb new file mode 100644 index 0000000..42643fa --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_invisible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_invisible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_invisible_warnings_item.rb new file mode 100644 index 0000000..ed9790a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_invisible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_open.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_open.rb new file mode 100644 index 0000000..59b9001 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_open.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpen < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_open_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_open_root.rb new file mode 100644 index 0000000..640109b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_open_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_open_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_open_root_type.rb new file mode 100644 index 0000000..bc51dc0 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_open_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_open_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_open_warnings_item.rb new file mode 100644 index 0000000..aa436a0 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_open_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_visible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_visible.rb new file mode 100644 index 0000000..4f2346f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_visible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_visible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_visible_root.rb new file mode 100644 index 0000000..9e1de57 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_visible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_visible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_visible_root_type.rb new file mode 100644 index 0000000..c34b9c5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_visible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_visible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_visible_warnings_item.rb new file mode 100644 index 0000000..5587514 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_actions_page_visible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + 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 new file mode 100644 index 0000000..f1523b2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_blend_mode.rb @@ -0,0 +1,26 @@ +# 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 new file mode 100644 index 0000000..ce36327 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_border_style.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 0000000..f79f2b0 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_color.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..499c320 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_flags.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 0000000..67ee14b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_identity_quality.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..9422d5b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_in_reply_to.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..581dd1e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_in_reply_to_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..d83a41b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_in_reply_to_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..c861a1f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_in_reply_to_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..96e58b2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_in_reply_to_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..7da3613 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_interior_color.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..fded729 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_rect.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..18987c3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_rect_differences.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..abdf7fb --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_ref.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..dc7b660 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_ref_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..7cd0909 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_ref_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..ecc0ca2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_ref_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..5060054 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_ref_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..7028997 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_reply_type.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..407c95b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_square_unrotated_rect.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..0a34d47 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly.rb @@ -0,0 +1,51 @@ +# 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 :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::DocAnnotationsList200ResponseAnnotationsItemSquigglyActions }, 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_actions.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions.rb new file mode 100644 index 0000000..63b791f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquigglyActions < Internal::Types::Model + field :activate, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivate }, optional: true, nullable: false + + field :cursor_enter, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnter }, optional: true, nullable: false, api_name: "cursorEnter" + + field :cursor_exit, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExit }, optional: true, nullable: false, api_name: "cursorExit" + + field :mouse_down, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDown }, optional: true, nullable: false, api_name: "mouseDown" + + field :mouse_up, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUp }, optional: true, nullable: false, api_name: "mouseUp" + + field :focus, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocus }, optional: true, nullable: false + + field :blur, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlur }, optional: true, nullable: false + + field :page_open, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpen }, optional: true, nullable: false, api_name: "pageOpen" + + field :page_close, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageClose }, optional: true, nullable: false, api_name: "pageClose" + + field :page_visible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisible }, optional: true, nullable: false, api_name: "pageVisible" + + field :page_invisible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisible }, optional: true, nullable: false, api_name: "pageInvisible" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_activate.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_activate.rb new file mode 100644 index 0000000..90b7aed --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_activate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_activate_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_activate_root.rb new file mode 100644 index 0000000..388beae --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_activate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_activate_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_activate_root_type.rb new file mode 100644 index 0000000..1892148 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_activate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_activate_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_activate_warnings_item.rb new file mode 100644 index 0000000..ab712f2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_activate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_blur.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_blur.rb new file mode 100644 index 0000000..64781ed --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_blur.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlur < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_blur_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_blur_root.rb new file mode 100644 index 0000000..3440662 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_blur_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_blur_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_blur_root_type.rb new file mode 100644 index 0000000..07ffec3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_blur_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_blur_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_blur_warnings_item.rb new file mode 100644 index 0000000..488d8ec --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_blur_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_enter.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_enter.rb new file mode 100644 index 0000000..8dc6c53 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_enter.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnter < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_enter_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_enter_root.rb new file mode 100644 index 0000000..3327cc8 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_enter_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_enter_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_enter_root_type.rb new file mode 100644 index 0000000..b73a8c1 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_enter_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_enter_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_enter_warnings_item.rb new file mode 100644 index 0000000..8f02292 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_enter_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_exit.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_exit.rb new file mode 100644 index 0000000..0f59a69 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_exit.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExit < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_exit_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_exit_root.rb new file mode 100644 index 0000000..e38ece9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_exit_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_exit_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_exit_root_type.rb new file mode 100644 index 0000000..6c00426 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_exit_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_exit_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_exit_warnings_item.rb new file mode 100644 index 0000000..eb239a5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_cursor_exit_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_focus.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_focus.rb new file mode 100644 index 0000000..0c484e8 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_focus.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocus < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_focus_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_focus_root.rb new file mode 100644 index 0000000..2f4e636 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_focus_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_focus_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_focus_root_type.rb new file mode 100644 index 0000000..caa8b91 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_focus_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_focus_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_focus_warnings_item.rb new file mode 100644 index 0000000..ae7e9cb --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_focus_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_down.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_down.rb new file mode 100644 index 0000000..0dd4474 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_down.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDown < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_down_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_down_root.rb new file mode 100644 index 0000000..d02c52f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_down_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_down_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_down_root_type.rb new file mode 100644 index 0000000..fda66b2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_down_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_down_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_down_warnings_item.rb new file mode 100644 index 0000000..f054ade --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_down_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_up.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_up.rb new file mode 100644 index 0000000..62cca3c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_up.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUp < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_up_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_up_root.rb new file mode 100644 index 0000000..932a42f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_up_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_up_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_up_root_type.rb new file mode 100644 index 0000000..a364ecb --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_up_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_up_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_up_warnings_item.rb new file mode 100644 index 0000000..1efc3aa --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_mouse_up_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_close.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_close.rb new file mode 100644 index 0000000..fb587f0 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_close.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageClose < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_close_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_close_root.rb new file mode 100644 index 0000000..22cad57 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_close_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_close_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_close_root_type.rb new file mode 100644 index 0000000..c7825e4 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_close_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_close_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_close_warnings_item.rb new file mode 100644 index 0000000..a794275 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_close_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_invisible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_invisible.rb new file mode 100644 index 0000000..23b84d4 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_invisible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_invisible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_invisible_root.rb new file mode 100644 index 0000000..915c616 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_invisible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_invisible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_invisible_root_type.rb new file mode 100644 index 0000000..739c4b2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_invisible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_invisible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_invisible_warnings_item.rb new file mode 100644 index 0000000..86f8124 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_invisible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_open.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_open.rb new file mode 100644 index 0000000..ccdcc5c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_open.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpen < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_open_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_open_root.rb new file mode 100644 index 0000000..1606c4a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_open_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_open_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_open_root_type.rb new file mode 100644 index 0000000..964e469 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_open_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_open_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_open_warnings_item.rb new file mode 100644 index 0000000..62ff30c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_open_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_visible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_visible.rb new file mode 100644 index 0000000..1580782 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_visible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_visible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_visible_root.rb new file mode 100644 index 0000000..6c00d1f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_visible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_visible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_visible_root_type.rb new file mode 100644 index 0000000..734e4a4 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_visible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_visible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_visible_warnings_item.rb new file mode 100644 index 0000000..0a91258 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_actions_page_visible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + 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 new file mode 100644 index 0000000..a887697 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_blend_mode.rb @@ -0,0 +1,26 @@ +# 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 new file mode 100644 index 0000000..20f4fc8 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_color.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..78a11bd --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_flags.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 0000000..b59c195 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_identity_quality.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..547aa6b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_in_reply_to.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..311c460 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_in_reply_to_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..8dca62a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_in_reply_to_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..7665ee2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_in_reply_to_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..583164b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_in_reply_to_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..5950ca6 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_quad_points_item.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..4ebefe5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_quad_points_item_p1.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..0276cb6 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_quad_points_item_p2.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..2a488cd --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_quad_points_item_p3.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..2cf5582 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_quad_points_item_p4.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..1bb4225 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_rect.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..2b50d51 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_ref.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..bec2a89 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_ref_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..970035d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_ref_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..45555b0 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_ref_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..144ccc2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_ref_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..c5b2a07 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_squiggly_reply_type.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..2578461 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp.rb @@ -0,0 +1,51 @@ +# 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 :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::DocAnnotationsList200ResponseAnnotationsItemStampActions }, 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_actions.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions.rb new file mode 100644 index 0000000..4ad5c98 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStampActions < Internal::Types::Model + field :activate, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsActivate }, optional: true, nullable: false + + field :cursor_enter, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnter }, optional: true, nullable: false, api_name: "cursorEnter" + + field :cursor_exit, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExit }, optional: true, nullable: false, api_name: "cursorExit" + + field :mouse_down, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDown }, optional: true, nullable: false, api_name: "mouseDown" + + field :mouse_up, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUp }, optional: true, nullable: false, api_name: "mouseUp" + + field :focus, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsFocus }, optional: true, nullable: false + + field :blur, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsBlur }, optional: true, nullable: false + + field :page_open, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpen }, optional: true, nullable: false, api_name: "pageOpen" + + field :page_close, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsPageClose }, optional: true, nullable: false, api_name: "pageClose" + + field :page_visible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisible }, optional: true, nullable: false, api_name: "pageVisible" + + field :page_invisible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisible }, optional: true, nullable: false, api_name: "pageInvisible" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_activate.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_activate.rb new file mode 100644 index 0000000..da5410a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_activate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStampActionsActivate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_activate_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_activate_root.rb new file mode 100644 index 0000000..628158c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_activate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_activate_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_activate_root_type.rb new file mode 100644 index 0000000..21d3685 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_activate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_activate_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_activate_warnings_item.rb new file mode 100644 index 0000000..047ab8c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_activate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_blur.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_blur.rb new file mode 100644 index 0000000..e965928 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_blur.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStampActionsBlur < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_blur_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_blur_root.rb new file mode 100644 index 0000000..13524cf --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_blur_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_blur_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_blur_root_type.rb new file mode 100644 index 0000000..f02e957 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_blur_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_blur_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_blur_warnings_item.rb new file mode 100644 index 0000000..5cb3e5a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_blur_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_enter.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_enter.rb new file mode 100644 index 0000000..fa31563 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_enter.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnter < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_enter_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_enter_root.rb new file mode 100644 index 0000000..d66ab7d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_enter_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_enter_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_enter_root_type.rb new file mode 100644 index 0000000..49e0e7a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_enter_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_enter_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_enter_warnings_item.rb new file mode 100644 index 0000000..f719109 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_enter_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_exit.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_exit.rb new file mode 100644 index 0000000..c03069e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_exit.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExit < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_exit_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_exit_root.rb new file mode 100644 index 0000000..452f5e5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_exit_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_exit_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_exit_root_type.rb new file mode 100644 index 0000000..6a1c464 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_exit_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_exit_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_exit_warnings_item.rb new file mode 100644 index 0000000..185550a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_cursor_exit_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_focus.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_focus.rb new file mode 100644 index 0000000..b477cca --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_focus.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStampActionsFocus < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_focus_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_focus_root.rb new file mode 100644 index 0000000..d58b247 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_focus_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_focus_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_focus_root_type.rb new file mode 100644 index 0000000..7b5ade8 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_focus_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_focus_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_focus_warnings_item.rb new file mode 100644 index 0000000..0ed68fb --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_focus_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_down.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_down.rb new file mode 100644 index 0000000..682fdb2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_down.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDown < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_down_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_down_root.rb new file mode 100644 index 0000000..dfd714a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_down_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_down_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_down_root_type.rb new file mode 100644 index 0000000..b657800 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_down_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_down_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_down_warnings_item.rb new file mode 100644 index 0000000..aad04da --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_down_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_up.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_up.rb new file mode 100644 index 0000000..db6aefe --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_up.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUp < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_up_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_up_root.rb new file mode 100644 index 0000000..6669ffd --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_up_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_up_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_up_root_type.rb new file mode 100644 index 0000000..36452ed --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_up_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_up_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_up_warnings_item.rb new file mode 100644 index 0000000..8aa530f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_mouse_up_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_close.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_close.rb new file mode 100644 index 0000000..e636c6c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_close.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStampActionsPageClose < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_close_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_close_root.rb new file mode 100644 index 0000000..ce429c5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_close_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_close_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_close_root_type.rb new file mode 100644 index 0000000..647be40 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_close_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_close_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_close_warnings_item.rb new file mode 100644 index 0000000..17d4e5d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_close_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_invisible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_invisible.rb new file mode 100644 index 0000000..7dd7f41 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_invisible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_invisible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_invisible_root.rb new file mode 100644 index 0000000..804fdab --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_invisible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_invisible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_invisible_root_type.rb new file mode 100644 index 0000000..2a8b16f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_invisible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_invisible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_invisible_warnings_item.rb new file mode 100644 index 0000000..73c0d1b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_invisible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_open.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_open.rb new file mode 100644 index 0000000..b7e39de --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_open.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpen < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_open_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_open_root.rb new file mode 100644 index 0000000..a354602 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_open_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_open_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_open_root_type.rb new file mode 100644 index 0000000..8373114 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_open_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_open_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_open_warnings_item.rb new file mode 100644 index 0000000..2918432 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_open_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_visible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_visible.rb new file mode 100644 index 0000000..2310ac5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_visible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_visible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_visible_root.rb new file mode 100644 index 0000000..8814ac1 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_visible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_visible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_visible_root_type.rb new file mode 100644 index 0000000..2af8fd7 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_visible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_visible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_visible_warnings_item.rb new file mode 100644 index 0000000..8edec97 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_actions_page_visible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + 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 new file mode 100644 index 0000000..c7deb17 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_blend_mode.rb @@ -0,0 +1,26 @@ +# 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 new file mode 100644 index 0000000..f28decf --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_flags.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 0000000..aabd95f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_identity_quality.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..544a79a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_in_reply_to.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..aa33239 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_in_reply_to_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..27d1240 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_in_reply_to_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..774fd26 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_in_reply_to_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..832ab1b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_in_reply_to_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..05c411d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_rect.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..a514911 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_ref.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..e5e602d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_ref_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..254f719 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_ref_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..b05e5fb --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_ref_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..630dad7 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_ref_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..835bc3a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_reply_type.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..165df58 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_stamp_unrotated_rect.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..2b8da6f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout.rb @@ -0,0 +1,53 @@ +# 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 :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::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActions }, 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_actions.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions.rb new file mode 100644 index 0000000..980f9b1 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActions < Internal::Types::Model + field :activate, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivate }, optional: true, nullable: false + + field :cursor_enter, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnter }, optional: true, nullable: false, api_name: "cursorEnter" + + field :cursor_exit, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExit }, optional: true, nullable: false, api_name: "cursorExit" + + field :mouse_down, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDown }, optional: true, nullable: false, api_name: "mouseDown" + + field :mouse_up, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUp }, optional: true, nullable: false, api_name: "mouseUp" + + field :focus, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocus }, optional: true, nullable: false + + field :blur, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlur }, optional: true, nullable: false + + field :page_open, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpen }, optional: true, nullable: false, api_name: "pageOpen" + + field :page_close, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageClose }, optional: true, nullable: false, api_name: "pageClose" + + field :page_visible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisible }, optional: true, nullable: false, api_name: "pageVisible" + + field :page_invisible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisible }, optional: true, nullable: false, api_name: "pageInvisible" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_activate.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_activate.rb new file mode 100644 index 0000000..2075127 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_activate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_activate_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_activate_root.rb new file mode 100644 index 0000000..e2dfc66 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_activate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_activate_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_activate_root_type.rb new file mode 100644 index 0000000..8ad5b98 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_activate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_activate_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_activate_warnings_item.rb new file mode 100644 index 0000000..ba4305b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_activate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_blur.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_blur.rb new file mode 100644 index 0000000..8adc6d9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_blur.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlur < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_blur_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_blur_root.rb new file mode 100644 index 0000000..9d02f9c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_blur_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_blur_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_blur_root_type.rb new file mode 100644 index 0000000..6165601 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_blur_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_blur_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_blur_warnings_item.rb new file mode 100644 index 0000000..7939e7f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_blur_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_enter.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_enter.rb new file mode 100644 index 0000000..70faa11 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_enter.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnter < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_enter_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_enter_root.rb new file mode 100644 index 0000000..6ad4f9c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_enter_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_enter_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_enter_root_type.rb new file mode 100644 index 0000000..3084319 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_enter_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_enter_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_enter_warnings_item.rb new file mode 100644 index 0000000..5731d35 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_enter_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_exit.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_exit.rb new file mode 100644 index 0000000..2cac21c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_exit.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExit < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_exit_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_exit_root.rb new file mode 100644 index 0000000..0867195 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_exit_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_exit_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_exit_root_type.rb new file mode 100644 index 0000000..63fb727 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_exit_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_exit_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_exit_warnings_item.rb new file mode 100644 index 0000000..734baec --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_cursor_exit_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_focus.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_focus.rb new file mode 100644 index 0000000..50e443a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_focus.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocus < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_focus_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_focus_root.rb new file mode 100644 index 0000000..ae6cc17 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_focus_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_focus_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_focus_root_type.rb new file mode 100644 index 0000000..b7a9f8e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_focus_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_focus_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_focus_warnings_item.rb new file mode 100644 index 0000000..a4b71fb --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_focus_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_down.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_down.rb new file mode 100644 index 0000000..f04a327 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_down.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDown < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_down_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_down_root.rb new file mode 100644 index 0000000..e1d7cd1 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_down_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_down_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_down_root_type.rb new file mode 100644 index 0000000..8bde24f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_down_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_down_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_down_warnings_item.rb new file mode 100644 index 0000000..fcc0e27 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_down_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_up.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_up.rb new file mode 100644 index 0000000..7230929 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_up.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUp < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_up_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_up_root.rb new file mode 100644 index 0000000..90b34b6 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_up_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_up_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_up_root_type.rb new file mode 100644 index 0000000..5ed923f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_up_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_up_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_up_warnings_item.rb new file mode 100644 index 0000000..f365cbc --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_mouse_up_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_close.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_close.rb new file mode 100644 index 0000000..02d83c8 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_close.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageClose < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_close_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_close_root.rb new file mode 100644 index 0000000..a00556c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_close_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_close_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_close_root_type.rb new file mode 100644 index 0000000..527c382 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_close_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_close_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_close_warnings_item.rb new file mode 100644 index 0000000..834003f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_close_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_invisible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_invisible.rb new file mode 100644 index 0000000..477c197 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_invisible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_invisible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_invisible_root.rb new file mode 100644 index 0000000..7d14a33 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_invisible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_invisible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_invisible_root_type.rb new file mode 100644 index 0000000..d6d3519 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_invisible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_invisible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_invisible_warnings_item.rb new file mode 100644 index 0000000..38eed4d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_invisible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_open.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_open.rb new file mode 100644 index 0000000..f0a8864 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_open.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpen < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_open_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_open_root.rb new file mode 100644 index 0000000..f763db0 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_open_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_open_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_open_root_type.rb new file mode 100644 index 0000000..70e8546 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_open_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_open_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_open_warnings_item.rb new file mode 100644 index 0000000..50e6e26 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_open_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_visible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_visible.rb new file mode 100644 index 0000000..8899b3a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_visible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_visible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_visible_root.rb new file mode 100644 index 0000000..3665e99 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_visible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_visible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_visible_root_type.rb new file mode 100644 index 0000000..534284c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_visible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_visible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_visible_warnings_item.rb new file mode 100644 index 0000000..4fabdb4 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_actions_page_visible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + 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 new file mode 100644 index 0000000..2e64ade --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_blend_mode.rb @@ -0,0 +1,26 @@ +# 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 new file mode 100644 index 0000000..8aeae92 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_color.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..1a09eb0 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_flags.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 0000000..8b02b2e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_identity_quality.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..82ccfe1 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_in_reply_to.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..2a1c59e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_in_reply_to_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..5c9c46f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_in_reply_to_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..ad5d6b6 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_in_reply_to_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..76fdbae --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_in_reply_to_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..7513452 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_intent.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..dc26c23 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_quad_points_item.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..e96a490 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_quad_points_item_p1.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..69c12d7 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_quad_points_item_p2.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..36dbb3c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_quad_points_item_p3.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..88f3caa --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_quad_points_item_p4.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..dbbdc99 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_rect.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..66d9669 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_ref.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..c845034 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_ref_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..cda7307 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_ref_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..b088ed4 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_ref_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..309443f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_ref_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..16aea0c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_strikeout_reply_type.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..b65af08 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text.rb @@ -0,0 +1,51 @@ +# 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 :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::DocAnnotationsList200ResponseAnnotationsItemTextActions }, 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 + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions.rb new file mode 100644 index 0000000..1c5c7e6 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemTextActions < Internal::Types::Model + field :activate, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsActivate }, optional: true, nullable: false + + field :cursor_enter, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnter }, optional: true, nullable: false, api_name: "cursorEnter" + + field :cursor_exit, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExit }, optional: true, nullable: false, api_name: "cursorExit" + + field :mouse_down, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDown }, optional: true, nullable: false, api_name: "mouseDown" + + field :mouse_up, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUp }, optional: true, nullable: false, api_name: "mouseUp" + + field :focus, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsFocus }, optional: true, nullable: false + + field :blur, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsBlur }, optional: true, nullable: false + + field :page_open, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpen }, optional: true, nullable: false, api_name: "pageOpen" + + field :page_close, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsPageClose }, optional: true, nullable: false, api_name: "pageClose" + + field :page_visible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisible }, optional: true, nullable: false, api_name: "pageVisible" + + field :page_invisible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisible }, optional: true, nullable: false, api_name: "pageInvisible" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_activate.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_activate.rb new file mode 100644 index 0000000..ac086e6 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_activate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemTextActionsActivate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_activate_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_activate_root.rb new file mode 100644 index 0000000..5b49728 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_activate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_activate_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_activate_root_type.rb new file mode 100644 index 0000000..01fa836 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_activate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_activate_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_activate_warnings_item.rb new file mode 100644 index 0000000..f0a4526 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_activate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_blur.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_blur.rb new file mode 100644 index 0000000..cff0a7e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_blur.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemTextActionsBlur < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_blur_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_blur_root.rb new file mode 100644 index 0000000..6d09b0a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_blur_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_blur_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_blur_root_type.rb new file mode 100644 index 0000000..105e047 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_blur_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_blur_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_blur_warnings_item.rb new file mode 100644 index 0000000..ad5aab7 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_blur_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_enter.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_enter.rb new file mode 100644 index 0000000..9005684 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_enter.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnter < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_enter_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_enter_root.rb new file mode 100644 index 0000000..362aca3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_enter_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_enter_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_enter_root_type.rb new file mode 100644 index 0000000..298d0c6 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_enter_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_enter_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_enter_warnings_item.rb new file mode 100644 index 0000000..da7b7f6 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_enter_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_exit.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_exit.rb new file mode 100644 index 0000000..1906526 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_exit.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExit < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_exit_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_exit_root.rb new file mode 100644 index 0000000..d76f8aa --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_exit_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_exit_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_exit_root_type.rb new file mode 100644 index 0000000..0834a1a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_exit_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_exit_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_exit_warnings_item.rb new file mode 100644 index 0000000..2d01f3e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_cursor_exit_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_focus.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_focus.rb new file mode 100644 index 0000000..457f169 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_focus.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemTextActionsFocus < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_focus_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_focus_root.rb new file mode 100644 index 0000000..9850ba4 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_focus_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_focus_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_focus_root_type.rb new file mode 100644 index 0000000..f6c16d1 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_focus_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_focus_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_focus_warnings_item.rb new file mode 100644 index 0000000..ffeceb9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_focus_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_down.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_down.rb new file mode 100644 index 0000000..27d921e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_down.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDown < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_down_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_down_root.rb new file mode 100644 index 0000000..069775e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_down_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_down_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_down_root_type.rb new file mode 100644 index 0000000..5c497e3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_down_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_down_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_down_warnings_item.rb new file mode 100644 index 0000000..bac8130 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_down_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_up.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_up.rb new file mode 100644 index 0000000..52a980a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_up.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUp < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_up_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_up_root.rb new file mode 100644 index 0000000..f8185cf --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_up_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_up_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_up_root_type.rb new file mode 100644 index 0000000..1cd0424 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_up_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_up_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_up_warnings_item.rb new file mode 100644 index 0000000..360ee2f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_mouse_up_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_close.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_close.rb new file mode 100644 index 0000000..cf5de87 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_close.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemTextActionsPageClose < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_close_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_close_root.rb new file mode 100644 index 0000000..e18a429 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_close_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_close_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_close_root_type.rb new file mode 100644 index 0000000..79d3513 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_close_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_close_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_close_warnings_item.rb new file mode 100644 index 0000000..4dada11 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_close_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_invisible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_invisible.rb new file mode 100644 index 0000000..a93d0d8 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_invisible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_invisible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_invisible_root.rb new file mode 100644 index 0000000..cae6d15 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_invisible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_invisible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_invisible_root_type.rb new file mode 100644 index 0000000..fdccbfc --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_invisible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_invisible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_invisible_warnings_item.rb new file mode 100644 index 0000000..7d9c99d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_invisible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_open.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_open.rb new file mode 100644 index 0000000..b51fbac --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_open.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpen < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_open_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_open_root.rb new file mode 100644 index 0000000..be61f5c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_open_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_open_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_open_root_type.rb new file mode 100644 index 0000000..23e77cd --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_open_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_open_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_open_warnings_item.rb new file mode 100644 index 0000000..34498ea --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_open_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_visible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_visible.rb new file mode 100644 index 0000000..8a10b7f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_visible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_visible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_visible_root.rb new file mode 100644 index 0000000..b5bcf50 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_visible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_visible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_visible_root_type.rb new file mode 100644 index 0000000..0dc8b57 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_visible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_visible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_visible_warnings_item.rb new file mode 100644 index 0000000..dad0d12 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_actions_page_visible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + 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 new file mode 100644 index 0000000..8ea8d4f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_blend_mode.rb @@ -0,0 +1,26 @@ +# 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 new file mode 100644 index 0000000..2f056f5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_color.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..6710284 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_flags.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 0000000..62a1a4a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_icon.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..5f2f45f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_identity_quality.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..7878f87 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_in_reply_to.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..dfecd1e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_in_reply_to_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..db8a57e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_in_reply_to_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..1b5e490 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_in_reply_to_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..abc2667 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_in_reply_to_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..cb0c29e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_rect.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..ae67ded --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_ref.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..2602120 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_ref_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..5cbfe61 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_ref_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..f934ef2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_ref_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..d3ca4a9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_ref_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..bb4ebe2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_text_reply_type.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..400db73 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline.rb @@ -0,0 +1,51 @@ +# 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 :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::DocAnnotationsList200ResponseAnnotationsItemUnderlineActions }, 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_actions.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions.rb new file mode 100644 index 0000000..e185594 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnderlineActions < Internal::Types::Model + field :activate, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivate }, optional: true, nullable: false + + field :cursor_enter, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnter }, optional: true, nullable: false, api_name: "cursorEnter" + + field :cursor_exit, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExit }, optional: true, nullable: false, api_name: "cursorExit" + + field :mouse_down, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDown }, optional: true, nullable: false, api_name: "mouseDown" + + field :mouse_up, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUp }, optional: true, nullable: false, api_name: "mouseUp" + + field :focus, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocus }, optional: true, nullable: false + + field :blur, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlur }, optional: true, nullable: false + + field :page_open, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpen }, optional: true, nullable: false, api_name: "pageOpen" + + field :page_close, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageClose }, optional: true, nullable: false, api_name: "pageClose" + + field :page_visible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisible }, optional: true, nullable: false, api_name: "pageVisible" + + field :page_invisible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisible }, optional: true, nullable: false, api_name: "pageInvisible" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_activate.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_activate.rb new file mode 100644 index 0000000..f6e82cd --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_activate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_activate_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_activate_root.rb new file mode 100644 index 0000000..f37299c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_activate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_activate_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_activate_root_type.rb new file mode 100644 index 0000000..f959998 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_activate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_activate_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_activate_warnings_item.rb new file mode 100644 index 0000000..fefce8c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_activate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_blur.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_blur.rb new file mode 100644 index 0000000..a5f8d1f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_blur.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlur < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_blur_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_blur_root.rb new file mode 100644 index 0000000..b97304c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_blur_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_blur_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_blur_root_type.rb new file mode 100644 index 0000000..a4cecc3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_blur_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_blur_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_blur_warnings_item.rb new file mode 100644 index 0000000..1569747 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_blur_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_enter.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_enter.rb new file mode 100644 index 0000000..21e29ee --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_enter.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnter < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_enter_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_enter_root.rb new file mode 100644 index 0000000..5df24fe --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_enter_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_enter_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_enter_root_type.rb new file mode 100644 index 0000000..8b52fa9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_enter_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_enter_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_enter_warnings_item.rb new file mode 100644 index 0000000..8090eef --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_enter_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_exit.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_exit.rb new file mode 100644 index 0000000..2b2e6d9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_exit.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExit < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_exit_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_exit_root.rb new file mode 100644 index 0000000..df07430 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_exit_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_exit_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_exit_root_type.rb new file mode 100644 index 0000000..2c91e5f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_exit_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_exit_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_exit_warnings_item.rb new file mode 100644 index 0000000..afff9b8 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_cursor_exit_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_focus.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_focus.rb new file mode 100644 index 0000000..26477cc --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_focus.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocus < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_focus_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_focus_root.rb new file mode 100644 index 0000000..5ebe6aa --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_focus_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_focus_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_focus_root_type.rb new file mode 100644 index 0000000..85b84e0 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_focus_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_focus_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_focus_warnings_item.rb new file mode 100644 index 0000000..892de44 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_focus_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_down.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_down.rb new file mode 100644 index 0000000..bf5291d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_down.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDown < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_down_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_down_root.rb new file mode 100644 index 0000000..7b44e6c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_down_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_down_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_down_root_type.rb new file mode 100644 index 0000000..7163f0f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_down_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_down_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_down_warnings_item.rb new file mode 100644 index 0000000..75eae1f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_down_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_up.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_up.rb new file mode 100644 index 0000000..6dc0c03 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_up.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUp < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_up_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_up_root.rb new file mode 100644 index 0000000..7ad67ed --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_up_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_up_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_up_root_type.rb new file mode 100644 index 0000000..741a448 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_up_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_up_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_up_warnings_item.rb new file mode 100644 index 0000000..526f873 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_mouse_up_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_close.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_close.rb new file mode 100644 index 0000000..6a404e4 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_close.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageClose < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_close_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_close_root.rb new file mode 100644 index 0000000..a9295dd --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_close_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_close_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_close_root_type.rb new file mode 100644 index 0000000..a600ee4 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_close_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_close_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_close_warnings_item.rb new file mode 100644 index 0000000..ac0f331 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_close_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_invisible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_invisible.rb new file mode 100644 index 0000000..2fcae13 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_invisible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_invisible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_invisible_root.rb new file mode 100644 index 0000000..8206851 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_invisible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_invisible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_invisible_root_type.rb new file mode 100644 index 0000000..b4f3a96 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_invisible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_invisible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_invisible_warnings_item.rb new file mode 100644 index 0000000..f9e2d4c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_invisible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_open.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_open.rb new file mode 100644 index 0000000..77e8e28 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_open.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpen < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_open_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_open_root.rb new file mode 100644 index 0000000..fefb4a5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_open_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_open_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_open_root_type.rb new file mode 100644 index 0000000..ac7c50c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_open_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_open_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_open_warnings_item.rb new file mode 100644 index 0000000..e352593 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_open_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_visible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_visible.rb new file mode 100644 index 0000000..2b7bedb --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_visible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_visible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_visible_root.rb new file mode 100644 index 0000000..67da931 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_visible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_visible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_visible_root_type.rb new file mode 100644 index 0000000..468cbe9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_visible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_visible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_visible_warnings_item.rb new file mode 100644 index 0000000..9c4081f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_actions_page_visible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + 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 new file mode 100644 index 0000000..0495926 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_blend_mode.rb @@ -0,0 +1,26 @@ +# 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 new file mode 100644 index 0000000..4f55e44 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_color.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..2badc32 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_flags.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 0000000..e1b67dd --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_identity_quality.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..31880e9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_in_reply_to.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..c73ebbf --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_in_reply_to_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..e202432 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_in_reply_to_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..2094d26 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_in_reply_to_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..0615168 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_in_reply_to_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..f1b77cb --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_quad_points_item.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..1786702 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_quad_points_item_p1.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..28679e0 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_quad_points_item_p2.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..7fd4f84 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_quad_points_item_p3.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..82e07b1 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_quad_points_item_p4.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..c353cc3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_rect.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..ecf8b1b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_ref.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..5a9d150 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_ref_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..9f45ee8 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_ref_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..ca40586 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_ref_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..9f69fb9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_ref_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..a342de3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_underline_reply_type.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..ef32c4d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported.rb @@ -0,0 +1,49 @@ +# 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 :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::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActions }, 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_actions.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions.rb new file mode 100644 index 0000000..ecbdfea --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActions < Internal::Types::Model + field :activate, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivate }, optional: true, nullable: false + + field :cursor_enter, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnter }, optional: true, nullable: false, api_name: "cursorEnter" + + field :cursor_exit, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExit }, optional: true, nullable: false, api_name: "cursorExit" + + field :mouse_down, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDown }, optional: true, nullable: false, api_name: "mouseDown" + + field :mouse_up, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUp }, optional: true, nullable: false, api_name: "mouseUp" + + field :focus, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocus }, optional: true, nullable: false + + field :blur, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlur }, optional: true, nullable: false + + field :page_open, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpen }, optional: true, nullable: false, api_name: "pageOpen" + + field :page_close, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageClose }, optional: true, nullable: false, api_name: "pageClose" + + field :page_visible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisible }, optional: true, nullable: false, api_name: "pageVisible" + + field :page_invisible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisible }, optional: true, nullable: false, api_name: "pageInvisible" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_activate.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_activate.rb new file mode 100644 index 0000000..0bf5ced --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_activate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_activate_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_activate_root.rb new file mode 100644 index 0000000..3568b44 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_activate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_activate_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_activate_root_type.rb new file mode 100644 index 0000000..a73e6e3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_activate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_activate_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_activate_warnings_item.rb new file mode 100644 index 0000000..be8ffd8 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_activate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_blur.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_blur.rb new file mode 100644 index 0000000..6c3fa79 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_blur.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlur < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_blur_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_blur_root.rb new file mode 100644 index 0000000..dc0861c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_blur_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_blur_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_blur_root_type.rb new file mode 100644 index 0000000..cd9cf43 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_blur_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_blur_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_blur_warnings_item.rb new file mode 100644 index 0000000..f73ed64 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_blur_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_enter.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_enter.rb new file mode 100644 index 0000000..12f0848 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_enter.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnter < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_enter_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_enter_root.rb new file mode 100644 index 0000000..ec21b93 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_enter_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_enter_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_enter_root_type.rb new file mode 100644 index 0000000..79fc612 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_enter_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_enter_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_enter_warnings_item.rb new file mode 100644 index 0000000..9db03b3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_enter_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_exit.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_exit.rb new file mode 100644 index 0000000..3a2f5ab --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_exit.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExit < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_exit_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_exit_root.rb new file mode 100644 index 0000000..5908cd6 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_exit_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_exit_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_exit_root_type.rb new file mode 100644 index 0000000..ba1f79a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_exit_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_exit_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_exit_warnings_item.rb new file mode 100644 index 0000000..f7f03ba --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_cursor_exit_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_focus.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_focus.rb new file mode 100644 index 0000000..a119219 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_focus.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocus < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_focus_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_focus_root.rb new file mode 100644 index 0000000..84ee96f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_focus_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_focus_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_focus_root_type.rb new file mode 100644 index 0000000..a3f827a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_focus_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_focus_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_focus_warnings_item.rb new file mode 100644 index 0000000..768145c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_focus_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_down.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_down.rb new file mode 100644 index 0000000..f9b8aa5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_down.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDown < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_down_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_down_root.rb new file mode 100644 index 0000000..723420c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_down_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_down_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_down_root_type.rb new file mode 100644 index 0000000..d9cf057 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_down_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_down_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_down_warnings_item.rb new file mode 100644 index 0000000..bb5177f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_down_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_up.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_up.rb new file mode 100644 index 0000000..cad827e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_up.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUp < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_up_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_up_root.rb new file mode 100644 index 0000000..76ca6e8 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_up_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_up_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_up_root_type.rb new file mode 100644 index 0000000..681c74c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_up_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_up_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_up_warnings_item.rb new file mode 100644 index 0000000..bab716b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_mouse_up_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_close.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_close.rb new file mode 100644 index 0000000..e775277 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_close.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageClose < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_close_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_close_root.rb new file mode 100644 index 0000000..8df4afa --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_close_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_close_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_close_root_type.rb new file mode 100644 index 0000000..25b2ffc --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_close_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_close_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_close_warnings_item.rb new file mode 100644 index 0000000..c1d7b68 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_close_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_invisible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_invisible.rb new file mode 100644 index 0000000..d6b387f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_invisible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_invisible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_invisible_root.rb new file mode 100644 index 0000000..266ddfa --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_invisible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_invisible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_invisible_root_type.rb new file mode 100644 index 0000000..3014af7 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_invisible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_invisible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_invisible_warnings_item.rb new file mode 100644 index 0000000..0ff4629 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_invisible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_open.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_open.rb new file mode 100644 index 0000000..7a1910d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_open.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpen < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_open_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_open_root.rb new file mode 100644 index 0000000..7ead5ff --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_open_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_open_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_open_root_type.rb new file mode 100644 index 0000000..db16ef0 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_open_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_open_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_open_warnings_item.rb new file mode 100644 index 0000000..31312fa --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_open_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_visible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_visible.rb new file mode 100644 index 0000000..de2da65 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_visible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_visible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_visible_root.rb new file mode 100644 index 0000000..a25e001 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_visible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_visible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_visible_root_type.rb new file mode 100644 index 0000000..4ea63e8 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_visible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_visible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_visible_warnings_item.rb new file mode 100644 index 0000000..bab7a3d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_actions_page_visible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + 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 new file mode 100644 index 0000000..df2915f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_blend_mode.rb @@ -0,0 +1,26 @@ +# 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 new file mode 100644 index 0000000..81ffcf8 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_flags.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 0000000..24a64d7 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_identity_quality.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..01bf2d9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_in_reply_to.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..49bfb83 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_in_reply_to_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..0fe2bc2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_in_reply_to_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..83f2cbe --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_in_reply_to_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..9a57648 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_in_reply_to_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..d7669ea --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_rect.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..8e64cec --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_ref.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..4d253a3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_ref_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..a8056d2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_ref_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..0088d72 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_ref_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..0679698 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_ref_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..41535d5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_unsupported_reply_type.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..a55457e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget.rb @@ -0,0 +1,65 @@ +# 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 :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::DocAnnotationsList200ResponseAnnotationsItemWidgetActions }, 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_actions.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions.rb new file mode 100644 index 0000000..c6294f5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemWidgetActions < Internal::Types::Model + field :activate, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivate }, optional: true, nullable: false + + field :cursor_enter, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnter }, optional: true, nullable: false, api_name: "cursorEnter" + + field :cursor_exit, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExit }, optional: true, nullable: false, api_name: "cursorExit" + + field :mouse_down, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDown }, optional: true, nullable: false, api_name: "mouseDown" + + field :mouse_up, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUp }, optional: true, nullable: false, api_name: "mouseUp" + + field :focus, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocus }, optional: true, nullable: false + + field :blur, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlur }, optional: true, nullable: false + + field :page_open, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpen }, optional: true, nullable: false, api_name: "pageOpen" + + field :page_close, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageClose }, optional: true, nullable: false, api_name: "pageClose" + + field :page_visible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisible }, optional: true, nullable: false, api_name: "pageVisible" + + field :page_invisible, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisible }, optional: true, nullable: false, api_name: "pageInvisible" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_activate.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_activate.rb new file mode 100644 index 0000000..be614d6 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_activate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_activate_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_activate_root.rb new file mode 100644 index 0000000..b696c1a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_activate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_activate_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_activate_root_type.rb new file mode 100644 index 0000000..1d32035 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_activate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_activate_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_activate_warnings_item.rb new file mode 100644 index 0000000..8de61b7 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_activate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_blur.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_blur.rb new file mode 100644 index 0000000..a54326a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_blur.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlur < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_blur_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_blur_root.rb new file mode 100644 index 0000000..53a96ed --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_blur_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_blur_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_blur_root_type.rb new file mode 100644 index 0000000..9cc7f08 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_blur_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_blur_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_blur_warnings_item.rb new file mode 100644 index 0000000..e6f022e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_blur_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_enter.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_enter.rb new file mode 100644 index 0000000..2feddb2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_enter.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnter < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_enter_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_enter_root.rb new file mode 100644 index 0000000..1798718 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_enter_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_enter_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_enter_root_type.rb new file mode 100644 index 0000000..f940777 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_enter_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_enter_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_enter_warnings_item.rb new file mode 100644 index 0000000..8b46076 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_enter_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_exit.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_exit.rb new file mode 100644 index 0000000..c98eb41 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_exit.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExit < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_exit_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_exit_root.rb new file mode 100644 index 0000000..1c2447b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_exit_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_exit_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_exit_root_type.rb new file mode 100644 index 0000000..3195406 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_exit_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_exit_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_exit_warnings_item.rb new file mode 100644 index 0000000..8a67288 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_cursor_exit_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_focus.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_focus.rb new file mode 100644 index 0000000..7bab337 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_focus.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocus < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_focus_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_focus_root.rb new file mode 100644 index 0000000..2469c1c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_focus_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_focus_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_focus_root_type.rb new file mode 100644 index 0000000..e081bd5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_focus_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_focus_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_focus_warnings_item.rb new file mode 100644 index 0000000..ec56ab9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_focus_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_down.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_down.rb new file mode 100644 index 0000000..dcfada4 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_down.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDown < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_down_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_down_root.rb new file mode 100644 index 0000000..be41737 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_down_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_down_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_down_root_type.rb new file mode 100644 index 0000000..196caeb --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_down_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_down_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_down_warnings_item.rb new file mode 100644 index 0000000..ae930d0 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_down_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_up.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_up.rb new file mode 100644 index 0000000..10a7d79 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_up.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUp < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_up_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_up_root.rb new file mode 100644 index 0000000..6c88640 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_up_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_up_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_up_root_type.rb new file mode 100644 index 0000000..7065908 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_up_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_up_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_up_warnings_item.rb new file mode 100644 index 0000000..53e100b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_mouse_up_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_close.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_close.rb new file mode 100644 index 0000000..a50da0a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_close.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageClose < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_close_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_close_root.rb new file mode 100644 index 0000000..f53e9e2 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_close_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_close_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_close_root_type.rb new file mode 100644 index 0000000..4ec4ecf --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_close_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_close_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_close_warnings_item.rb new file mode 100644 index 0000000..72e7ece --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_close_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_invisible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_invisible.rb new file mode 100644 index 0000000..7929b84 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_invisible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_invisible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_invisible_root.rb new file mode 100644 index 0000000..c25acbd --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_invisible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_invisible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_invisible_root_type.rb new file mode 100644 index 0000000..d9d182f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_invisible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_invisible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_invisible_warnings_item.rb new file mode 100644 index 0000000..b156b58 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_invisible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_open.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_open.rb new file mode 100644 index 0000000..a877dc8 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_open.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpen < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_open_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_open_root.rb new file mode 100644 index 0000000..414fb01 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_open_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_open_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_open_root_type.rb new file mode 100644 index 0000000..fcd2278 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_open_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_open_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_open_warnings_item.rb new file mode 100644 index 0000000..db5fd81 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_open_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_visible.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_visible.rb new file mode 100644 index 0000000..7c32b6e --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_visible.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisible < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_visible_root.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_visible_root.rb new file mode 100644 index 0000000..4225c8c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_visible_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_visible_root_type.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_visible_root_type.rb new file mode 100644 index 0000000..28a798a --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_visible_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_visible_warnings_item.rb b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_visible_warnings_item.rb new file mode 100644 index 0000000..743a7e5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_actions_page_visible_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + 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 new file mode 100644 index 0000000..586b33b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_blend_mode.rb @@ -0,0 +1,26 @@ +# 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 new file mode 100644 index 0000000..f5bd4e6 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_border_style.rb @@ -0,0 +1,14 @@ +# 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 new file mode 100644 index 0000000..6fb41cf --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_color.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..3e0b4ad --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_field_family.rb @@ -0,0 +1,18 @@ +# 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 new file mode 100644 index 0000000..4d27aa3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_flags.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 0000000..9428387 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_font_color.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..31708cc --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_font_family.rb @@ -0,0 +1,24 @@ +# 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 new file mode 100644 index 0000000..e7e956d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_identity_quality.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..acee80b --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_in_reply_to.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..96d661c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_in_reply_to_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..6b9bf03 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_in_reply_to_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..6ff8332 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_in_reply_to_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..49d03f8 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_in_reply_to_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..7285401 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_interior_color.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..c0e666c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_rect.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..50f38d6 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_ref.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..d93eac3 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_ref_index.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..5684942 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_ref_index_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..a61cf40 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_ref_nm.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..4715689 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_ref_object_number.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..2cede52 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_reply_type.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..4bccb87 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_annotations_item_widget_text_align.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..a5cd1c7 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_page_state.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..804a9e5 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_page_state_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..34d28c9 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_page_state_weak_annotation_state.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..cc6d763 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_page_state_weak_annotation_state_known.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..c54229f --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list200response_page_state_weak_annotation_state_unknown.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..f83cfdf --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list404response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsList404Response < Internal::Types::Model + field :name, -> { Cloudpdf::Types::DocAnnotationsList404ResponseName }, optional: false, nullable: false + + field :code, -> { Cloudpdf::Types::DocAnnotationsList404ResponseCode }, 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_annotations_list404response_code.rb b/lib/cloudpdf/types/doc_annotations_list404response_code.rb new file mode 100644 index 0000000..1ef02bf --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list404response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_list404response_name.rb b/lib/cloudpdf/types/doc_annotations_list404response_name.rb new file mode 100644 index 0000000..667790c --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_list404response_name.rb @@ -0,0 +1,11 @@ +# 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_update200response.rb b/lib/cloudpdf/types/doc_annotations_update200response.rb new file mode 100644 index 0000000..c21c007 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_update200response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsUpdate200Response < Internal::Types::Model + field :meta, -> { Cloudpdf::Types::DocAnnotationsUpdate200ResponseMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_update200response_meta.rb b/lib/cloudpdf/types/doc_annotations_update200response_meta.rb new file mode 100644 index 0000000..b4cdc3d --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_update200response_meta.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..4862049 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_update200response_meta_affected_pages_item.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..8542338 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_update200response_meta_affected_pages_item_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..8490613 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_update200response_meta_affected_pages_item_weak_annotation_state.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..71109c6 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_update200response_meta_affected_pages_item_weak_annotation_state_known.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..40f3a33 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_update200response_meta_affected_pages_item_weak_annotation_state_unknown.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..e9d84fe --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_update200response_meta_cache_delta.rb @@ -0,0 +1,13 @@ +# 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 :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 new file mode 100644 index 0000000..6b03094 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_update200response_meta_cache_delta_pages_item.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..5043fdc --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_update200response_meta_cache_delta_pages_item_cache.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..6727092 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_update400response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsUpdate400Response < Internal::Types::Model + field :name, -> { Cloudpdf::Types::DocAnnotationsUpdate400ResponseName }, optional: false, nullable: false + + field :code, -> { Cloudpdf::Types::DocAnnotationsUpdate400ResponseCode }, 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_annotations_update400response_code.rb b/lib/cloudpdf/types/doc_annotations_update400response_code.rb new file mode 100644 index 0000000..65be1fa --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_update400response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_update400response_name.rb b/lib/cloudpdf/types/doc_annotations_update400response_name.rb new file mode 100644 index 0000000..2b57659 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_update400response_name.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..beb8c29 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_update404response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocAnnotationsUpdate404Response < Internal::Types::Model + field :name, -> { Cloudpdf::Types::DocAnnotationsUpdate404ResponseName }, optional: false, nullable: false + + field :code, -> { Cloudpdf::Types::DocAnnotationsUpdate404ResponseCode }, 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_annotations_update404response_code.rb b/lib/cloudpdf/types/doc_annotations_update404response_code.rb new file mode 100644 index 0000000..8796d49 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_update404response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + end + end +end diff --git a/lib/cloudpdf/types/doc_annotations_update404response_name.rb b/lib/cloudpdf/types/doc_annotations_update404response_name.rb new file mode 100644 index 0000000..0949616 --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_update404response_name.rb @@ -0,0 +1,11 @@ +# 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_annotations_update_request.rb b/lib/cloudpdf/types/doc_annotations_update_request.rb new file mode 100644 index 0000000..777e8ff --- /dev/null +++ b/lib/cloudpdf/types/doc_annotations_update_request.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocAnnotationsUpdateRequest + # DocAnnotationsUpdateRequest 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_download_response.rb b/lib/cloudpdf/types/doc_download_response.rb new file mode 100644 index 0000000..33f4d0a --- /dev/null +++ b/lib/cloudpdf/types/doc_download_response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocDownloadResponse < Internal::Types::Model + field :name, -> { Cloudpdf::Types::DocDownloadResponseName }, optional: false, nullable: false + + field :code, -> { Cloudpdf::Types::DocDownloadResponseCode }, 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_download_response_code.rb b/lib/cloudpdf/types/doc_download_response_code.rb new file mode 100644 index 0000000..f5457e4 --- /dev/null +++ b/lib/cloudpdf/types/doc_download_response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + end + end +end diff --git a/lib/cloudpdf/types/doc_download_response_name.rb b/lib/cloudpdf/types/doc_download_response_name.rb new file mode 100644 index 0000000..8df7082 --- /dev/null +++ b/lib/cloudpdf/types/doc_download_response_name.rb @@ -0,0 +1,11 @@ +# 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_export_data_response.rb b/lib/cloudpdf/types/doc_forms_export_data_response.rb new file mode 100644 index 0000000..26b59ad --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_export_data_response.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..837f4fb --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_export_data_response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + 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 new file mode 100644 index 0000000..a28ba3f --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_export_data_response_name.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..b16d1f7 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..c6bfa08 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_calculation_order_item.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..c778252 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_calculation_order_item_fqn.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..41f9b0d --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_calculation_order_item_object_number.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..cba8004 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item.rb @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 0000000..044d849 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox.rb @@ -0,0 +1,33 @@ +# 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::DocFormsGet200ResponseFieldsItemCheckboxActions }, 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_actions.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions.rb new file mode 100644 index 0000000..be97a78 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemCheckboxActions < Internal::Types::Model + field :keystroke, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemCheckboxActionsKeystroke }, optional: true, nullable: false + + field :format, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemCheckboxActionsFormat }, optional: true, nullable: false + + field :validate, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemCheckboxActionsValidate }, optional: true, nullable: false + + field :calculate, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemCheckboxActionsCalculate }, optional: true, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_calculate.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_calculate.rb new file mode 100644 index 0000000..858482c --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_calculate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemCheckboxActionsCalculate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_calculate_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_calculate_root.rb new file mode 100644 index 0000000..125303c --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_calculate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_calculate_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_calculate_root_type.rb new file mode 100644 index 0000000..66fb9e6 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_calculate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_calculate_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_calculate_warnings_item.rb new file mode 100644 index 0000000..ceb18f5 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_calculate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_format.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_format.rb new file mode 100644 index 0000000..3809795 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_format.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemCheckboxActionsFormat < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemCheckboxActionsFormatWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_format_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_format_root.rb new file mode 100644 index 0000000..2410b24 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_format_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_format_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_format_root_type.rb new file mode 100644 index 0000000..6342f1a --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_format_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_format_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_format_warnings_item.rb new file mode 100644 index 0000000..b014d1b --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_format_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemCheckboxActionsFormatWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_keystroke.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_keystroke.rb new file mode 100644 index 0000000..8905b3e --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_keystroke.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemCheckboxActionsKeystroke < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_keystroke_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_keystroke_root.rb new file mode 100644 index 0000000..9113517 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_keystroke_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_keystroke_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_keystroke_root_type.rb new file mode 100644 index 0000000..ca2a4c6 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_keystroke_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_keystroke_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_keystroke_warnings_item.rb new file mode 100644 index 0000000..2903554 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_keystroke_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_validate.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_validate.rb new file mode 100644 index 0000000..9706f2c --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_validate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemCheckboxActionsValidate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemCheckboxActionsValidateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_validate_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_validate_root.rb new file mode 100644 index 0000000..c6ccb89 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_validate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_validate_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_validate_root_type.rb new file mode 100644 index 0000000..85e8a85 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_validate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_validate_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_validate_warnings_item.rb new file mode 100644 index 0000000..6819977 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_actions_validate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemCheckboxActionsValidateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + 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 new file mode 100644 index 0000000..a79b654 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_default_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 0000000..3822232 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_default_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..758d53b --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_default_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..d4f65c7 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_default_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..2d0ca13 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_default_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..0712829 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_flags.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..e8c3d12 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_origin.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..d64b399 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_ref.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..4dead45 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_ref_fqn.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..163f708 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_ref_object_number.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..d897b10 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 0000000..b31b627 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..be4c77a --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..4fe355d --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..47f076e --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..b5f82e0 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_checkbox_widgets_item.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..c565181 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox.rb @@ -0,0 +1,37 @@ +# 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::DocFormsGet200ResponseFieldsItemComboboxActions }, 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_actions.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions.rb new file mode 100644 index 0000000..d637448 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemComboboxActions < Internal::Types::Model + field :keystroke, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemComboboxActionsKeystroke }, optional: true, nullable: false + + field :format, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemComboboxActionsFormat }, optional: true, nullable: false + + field :validate, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemComboboxActionsValidate }, optional: true, nullable: false + + field :calculate, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemComboboxActionsCalculate }, optional: true, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_calculate.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_calculate.rb new file mode 100644 index 0000000..06cc157 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_calculate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemComboboxActionsCalculate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemComboboxActionsCalculateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_calculate_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_calculate_root.rb new file mode 100644 index 0000000..ffd70d1 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_calculate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_calculate_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_calculate_root_type.rb new file mode 100644 index 0000000..2aa1d44 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_calculate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_calculate_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_calculate_warnings_item.rb new file mode 100644 index 0000000..beb0695 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_calculate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemComboboxActionsCalculateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_format.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_format.rb new file mode 100644 index 0000000..5981739 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_format.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemComboboxActionsFormat < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemComboboxActionsFormatRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemComboboxActionsFormatWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_format_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_format_root.rb new file mode 100644 index 0000000..ab03363 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_format_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemComboboxActionsFormatRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_format_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_format_root_type.rb new file mode 100644 index 0000000..bdd289b --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_format_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_format_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_format_warnings_item.rb new file mode 100644 index 0000000..e715796 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_format_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemComboboxActionsFormatWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_keystroke.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_keystroke.rb new file mode 100644 index 0000000..fe98024 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_keystroke.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemComboboxActionsKeystroke < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_keystroke_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_keystroke_root.rb new file mode 100644 index 0000000..6ed9a29 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_keystroke_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_keystroke_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_keystroke_root_type.rb new file mode 100644 index 0000000..f124ef5 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_keystroke_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_keystroke_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_keystroke_warnings_item.rb new file mode 100644 index 0000000..965f2f5 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_keystroke_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_validate.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_validate.rb new file mode 100644 index 0000000..a98cd20 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_validate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemComboboxActionsValidate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemComboboxActionsValidateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemComboboxActionsValidateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_validate_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_validate_root.rb new file mode 100644 index 0000000..a9a4ae0 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_validate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemComboboxActionsValidateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_validate_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_validate_root_type.rb new file mode 100644 index 0000000..22edd29 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_validate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_validate_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_validate_warnings_item.rb new file mode 100644 index 0000000..68b89e9 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_actions_validate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemComboboxActionsValidateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + 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 new file mode 100644 index 0000000..20192b9 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_default_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 0000000..7cddb17 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_default_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..bc02d86 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_default_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..ce15a00 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_default_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..6764838 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_default_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..3eb827b --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_flags.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..0514354 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_options_item.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..8ec46b5 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_origin.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..961dabb --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_ref.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..0c43666 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_ref_fqn.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..569c6a2 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_ref_object_number.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..7930d7b --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 0000000..a20d8f3 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..8348740 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..a78f1af --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..099a576 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..1e2bf47 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_combobox_widgets_item.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..2bfa1c3 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox.rb @@ -0,0 +1,35 @@ +# 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::DocFormsGet200ResponseFieldsItemListboxActions }, 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_actions.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions.rb new file mode 100644 index 0000000..7ca74ef --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemListboxActions < Internal::Types::Model + field :keystroke, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemListboxActionsKeystroke }, optional: true, nullable: false + + field :format, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemListboxActionsFormat }, optional: true, nullable: false + + field :validate, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemListboxActionsValidate }, optional: true, nullable: false + + field :calculate, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemListboxActionsCalculate }, optional: true, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_calculate.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_calculate.rb new file mode 100644 index 0000000..9e7fe13 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_calculate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemListboxActionsCalculate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemListboxActionsCalculateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemListboxActionsCalculateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_calculate_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_calculate_root.rb new file mode 100644 index 0000000..1e8eab1 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_calculate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemListboxActionsCalculateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_calculate_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_calculate_root_type.rb new file mode 100644 index 0000000..9fa554a --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_calculate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_calculate_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_calculate_warnings_item.rb new file mode 100644 index 0000000..1b2bdc9 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_calculate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemListboxActionsCalculateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_format.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_format.rb new file mode 100644 index 0000000..7504688 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_format.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemListboxActionsFormat < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemListboxActionsFormatRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemListboxActionsFormatWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_format_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_format_root.rb new file mode 100644 index 0000000..e83658d --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_format_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemListboxActionsFormatRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_format_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_format_root_type.rb new file mode 100644 index 0000000..be796c3 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_format_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_format_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_format_warnings_item.rb new file mode 100644 index 0000000..f38ef3e --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_format_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemListboxActionsFormatWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_keystroke.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_keystroke.rb new file mode 100644 index 0000000..25c578a --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_keystroke.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemListboxActionsKeystroke < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_keystroke_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_keystroke_root.rb new file mode 100644 index 0000000..763e73f --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_keystroke_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_keystroke_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_keystroke_root_type.rb new file mode 100644 index 0000000..9034bb5 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_keystroke_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_keystroke_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_keystroke_warnings_item.rb new file mode 100644 index 0000000..522fb35 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_keystroke_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_validate.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_validate.rb new file mode 100644 index 0000000..7ffd084 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_validate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemListboxActionsValidate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemListboxActionsValidateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemListboxActionsValidateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_validate_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_validate_root.rb new file mode 100644 index 0000000..a016ce2 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_validate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemListboxActionsValidateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_validate_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_validate_root_type.rb new file mode 100644 index 0000000..6a0ab9a --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_validate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_validate_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_validate_warnings_item.rb new file mode 100644 index 0000000..6f547ad --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_actions_validate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemListboxActionsValidateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + 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 new file mode 100644 index 0000000..a84bb7d --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_default_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 0000000..ac0100f --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_default_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..b25c241 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_default_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..cab6b43 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_default_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..dc5bce9 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_default_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..90fefe4 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_flags.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..bdc67d2 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_options_item.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..4510581 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_origin.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..594b9aa --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_ref.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..9153b58 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_ref_fqn.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..27e40ca --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_ref_object_number.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..bab1b8a --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 0000000..6890fce --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..90018b2 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..ee2ae4f --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..1653c15 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..59c6b2a --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_listbox_widgets_item.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..ea6a210 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton.rb @@ -0,0 +1,29 @@ +# 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::DocFormsGet200ResponseFieldsItemPushbuttonActions }, 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_actions.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions.rb new file mode 100644 index 0000000..6f3d8a5 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemPushbuttonActions < Internal::Types::Model + field :keystroke, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystroke }, optional: true, nullable: false + + field :format, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemPushbuttonActionsFormat }, optional: true, nullable: false + + field :validate, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemPushbuttonActionsValidate }, optional: true, nullable: false + + field :calculate, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculate }, optional: true, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_calculate.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_calculate.rb new file mode 100644 index 0000000..515283a --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_calculate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_calculate_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_calculate_root.rb new file mode 100644 index 0000000..3b1342c --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_calculate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_calculate_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_calculate_root_type.rb new file mode 100644 index 0000000..e1cb5f0 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_calculate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_calculate_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_calculate_warnings_item.rb new file mode 100644 index 0000000..1f584a5 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_calculate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_format.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_format.rb new file mode 100644 index 0000000..99ee12e --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_format.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemPushbuttonActionsFormat < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_format_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_format_root.rb new file mode 100644 index 0000000..8c910b6 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_format_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_format_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_format_root_type.rb new file mode 100644 index 0000000..bd7fd06 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_format_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_format_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_format_warnings_item.rb new file mode 100644 index 0000000..72a56c9 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_format_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_keystroke.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_keystroke.rb new file mode 100644 index 0000000..d90e1f8 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_keystroke.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystroke < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_keystroke_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_keystroke_root.rb new file mode 100644 index 0000000..7f3cc44 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_keystroke_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_keystroke_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_keystroke_root_type.rb new file mode 100644 index 0000000..f4ffbf5 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_keystroke_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_keystroke_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_keystroke_warnings_item.rb new file mode 100644 index 0000000..6e8df3e --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_keystroke_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_validate.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_validate.rb new file mode 100644 index 0000000..27a96cd --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_validate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemPushbuttonActionsValidate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_validate_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_validate_root.rb new file mode 100644 index 0000000..8ab6ef4 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_validate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_validate_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_validate_root_type.rb new file mode 100644 index 0000000..997a837 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_validate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_validate_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_validate_warnings_item.rb new file mode 100644 index 0000000..ec63b3f --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_actions_validate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + 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 new file mode 100644 index 0000000..0fdfafa --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_default_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 0000000..2015b60 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_default_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..41f0a8b --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_default_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..97c4752 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_default_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..9413296 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_default_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..8f64c11 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_flags.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..2fa7c50 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_origin.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..54be2b0 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_ref.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..d4992bc --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_ref_fqn.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..b2e90bb --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_ref_object_number.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..d77ed16 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 0000000..10e7fde --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..d7d1b02 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..27177f6 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..cbc61bc --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..16f2990 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_pushbutton_widgets_item.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..3f3644c --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio.rb @@ -0,0 +1,35 @@ +# 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::DocFormsGet200ResponseFieldsItemRadioActions }, 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_actions.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions.rb new file mode 100644 index 0000000..ecf9954 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemRadioActions < Internal::Types::Model + field :keystroke, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemRadioActionsKeystroke }, optional: true, nullable: false + + field :format, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemRadioActionsFormat }, optional: true, nullable: false + + field :validate, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemRadioActionsValidate }, optional: true, nullable: false + + field :calculate, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemRadioActionsCalculate }, optional: true, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_calculate.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_calculate.rb new file mode 100644 index 0000000..e73d124 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_calculate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemRadioActionsCalculate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemRadioActionsCalculateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemRadioActionsCalculateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_calculate_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_calculate_root.rb new file mode 100644 index 0000000..4575ac9 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_calculate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemRadioActionsCalculateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_calculate_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_calculate_root_type.rb new file mode 100644 index 0000000..31f2898 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_calculate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_calculate_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_calculate_warnings_item.rb new file mode 100644 index 0000000..4cd9365 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_calculate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemRadioActionsCalculateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_format.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_format.rb new file mode 100644 index 0000000..408fd69 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_format.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemRadioActionsFormat < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemRadioActionsFormatRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemRadioActionsFormatWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_format_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_format_root.rb new file mode 100644 index 0000000..8e93d44 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_format_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemRadioActionsFormatRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_format_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_format_root_type.rb new file mode 100644 index 0000000..d4a899d --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_format_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_format_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_format_warnings_item.rb new file mode 100644 index 0000000..83b9282 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_format_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemRadioActionsFormatWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_keystroke.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_keystroke.rb new file mode 100644 index 0000000..c362d47 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_keystroke.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemRadioActionsKeystroke < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_keystroke_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_keystroke_root.rb new file mode 100644 index 0000000..4f7b093 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_keystroke_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_keystroke_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_keystroke_root_type.rb new file mode 100644 index 0000000..4bbc448 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_keystroke_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_keystroke_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_keystroke_warnings_item.rb new file mode 100644 index 0000000..ce9d4c0 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_keystroke_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_validate.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_validate.rb new file mode 100644 index 0000000..b430f3d --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_validate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemRadioActionsValidate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemRadioActionsValidateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemRadioActionsValidateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_validate_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_validate_root.rb new file mode 100644 index 0000000..fc8ceea --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_validate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemRadioActionsValidateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_validate_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_validate_root_type.rb new file mode 100644 index 0000000..7035bb9 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_validate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_validate_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_validate_warnings_item.rb new file mode 100644 index 0000000..c8683e8 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_actions_validate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemRadioActionsValidateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + 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 new file mode 100644 index 0000000..775e30f --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_default_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 0000000..5b36555 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_default_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..dc4036f --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_default_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..09c5301 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_default_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..e99a9e1 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_default_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..4a8461f --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_flags.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..44b679e --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_origin.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..f89555d --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_ref.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..d1ecd57 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_ref_fqn.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..c832832 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_ref_object_number.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..58caf1b --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 0000000..b406c2f --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..0b62962 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..0b43012 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..620058a --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..b3e7d01 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_radio_widgets_item.rb @@ -0,0 +1,17 @@ +# 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 new file mode 100644 index 0000000..7ef2889 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature.rb @@ -0,0 +1,29 @@ +# 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::DocFormsGet200ResponseFieldsItemSignatureActions }, 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_actions.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions.rb new file mode 100644 index 0000000..2d836bc --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemSignatureActions < Internal::Types::Model + field :keystroke, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemSignatureActionsKeystroke }, optional: true, nullable: false + + field :format, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemSignatureActionsFormat }, optional: true, nullable: false + + field :validate, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemSignatureActionsValidate }, optional: true, nullable: false + + field :calculate, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemSignatureActionsCalculate }, optional: true, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_calculate.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_calculate.rb new file mode 100644 index 0000000..5c7455d --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_calculate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemSignatureActionsCalculate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemSignatureActionsCalculateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_calculate_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_calculate_root.rb new file mode 100644 index 0000000..e5c783b --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_calculate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_calculate_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_calculate_root_type.rb new file mode 100644 index 0000000..e67bcb0 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_calculate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_calculate_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_calculate_warnings_item.rb new file mode 100644 index 0000000..b0329ba --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_calculate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemSignatureActionsCalculateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_format.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_format.rb new file mode 100644 index 0000000..64400d0 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_format.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemSignatureActionsFormat < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemSignatureActionsFormatRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemSignatureActionsFormatWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_format_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_format_root.rb new file mode 100644 index 0000000..a2c9600 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_format_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemSignatureActionsFormatRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_format_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_format_root_type.rb new file mode 100644 index 0000000..af2abaa --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_format_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_format_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_format_warnings_item.rb new file mode 100644 index 0000000..87327f7 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_format_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemSignatureActionsFormatWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_keystroke.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_keystroke.rb new file mode 100644 index 0000000..1a85c39 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_keystroke.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemSignatureActionsKeystroke < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_keystroke_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_keystroke_root.rb new file mode 100644 index 0000000..2cac6ee --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_keystroke_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_keystroke_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_keystroke_root_type.rb new file mode 100644 index 0000000..1510ed7 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_keystroke_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_keystroke_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_keystroke_warnings_item.rb new file mode 100644 index 0000000..964ca5e --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_keystroke_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_validate.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_validate.rb new file mode 100644 index 0000000..c10d3dd --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_validate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemSignatureActionsValidate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemSignatureActionsValidateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemSignatureActionsValidateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_validate_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_validate_root.rb new file mode 100644 index 0000000..298bc66 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_validate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemSignatureActionsValidateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_validate_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_validate_root_type.rb new file mode 100644 index 0000000..09d8634 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_validate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_validate_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_validate_warnings_item.rb new file mode 100644 index 0000000..cd669dd --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_actions_validate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemSignatureActionsValidateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + 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 new file mode 100644 index 0000000..3d2e371 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_default_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 0000000..89eb4a2 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_default_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..46e88ee --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_default_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..6560162 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_default_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..cbb28a6 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_default_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..66d4492 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_flags.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..7f152de --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_origin.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..8251c88 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_ref.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..aee46ce --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_ref_fqn.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..01390f5 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_ref_object_number.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..40d63df --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 0000000..727a13e --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..de8d464 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..e9c4280 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..3a321e6 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..93d3f9c --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_signature_widgets_item.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..70c8f81 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text.rb @@ -0,0 +1,41 @@ +# 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::DocFormsGet200ResponseFieldsItemTextActions }, 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_actions.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions.rb new file mode 100644 index 0000000..d34128e --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemTextActions < Internal::Types::Model + field :keystroke, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemTextActionsKeystroke }, optional: true, nullable: false + + field :format, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemTextActionsFormat }, optional: true, nullable: false + + field :validate, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemTextActionsValidate }, optional: true, nullable: false + + field :calculate, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemTextActionsCalculate }, optional: true, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_calculate.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_calculate.rb new file mode 100644 index 0000000..e50cb32 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_calculate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemTextActionsCalculate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemTextActionsCalculateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemTextActionsCalculateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_calculate_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_calculate_root.rb new file mode 100644 index 0000000..c8f782e --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_calculate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemTextActionsCalculateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_calculate_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_calculate_root_type.rb new file mode 100644 index 0000000..aa42825 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_calculate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_calculate_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_calculate_warnings_item.rb new file mode 100644 index 0000000..992f644 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_calculate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemTextActionsCalculateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_format.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_format.rb new file mode 100644 index 0000000..fd8926b --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_format.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemTextActionsFormat < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemTextActionsFormatRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemTextActionsFormatWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_format_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_format_root.rb new file mode 100644 index 0000000..7c78d75 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_format_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemTextActionsFormatRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemTextActionsFormatRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_format_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_format_root_type.rb new file mode 100644 index 0000000..189fc4d --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_format_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemTextActionsFormatRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_format_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_format_warnings_item.rb new file mode 100644 index 0000000..ecafff0 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_format_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemTextActionsFormatWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_keystroke.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_keystroke.rb new file mode 100644 index 0000000..7623d22 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_keystroke.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemTextActionsKeystroke < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemTextActionsKeystrokeWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_keystroke_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_keystroke_root.rb new file mode 100644 index 0000000..f892bee --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_keystroke_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_keystroke_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_keystroke_root_type.rb new file mode 100644 index 0000000..13af46c --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_keystroke_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_keystroke_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_keystroke_warnings_item.rb new file mode 100644 index 0000000..fc2e1ce --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_keystroke_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemTextActionsKeystrokeWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_validate.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_validate.rb new file mode 100644 index 0000000..05ecbd5 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_validate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemTextActionsValidate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemTextActionsValidateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemTextActionsValidateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_validate_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_validate_root.rb new file mode 100644 index 0000000..d07b28f --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_validate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemTextActionsValidateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemTextActionsValidateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_validate_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_validate_root_type.rb new file mode 100644 index 0000000..78ef005 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_validate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemTextActionsValidateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_validate_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_validate_warnings_item.rb new file mode 100644 index 0000000..7c8ded6 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_actions_validate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemTextActionsValidateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + 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 new file mode 100644 index 0000000..36643f4 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_default_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 0000000..adc6e5e --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_default_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..d846962 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_default_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..853e91e --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_default_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..813db35 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_default_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..76ded47 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_flags.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..b6c12b2 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_origin.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..db39b78 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_ref.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..7be1ca0 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_ref_fqn.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..0059f48 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_ref_object_number.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..ab7968c --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 0000000..0440785 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..93632e7 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..317aa10 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..9e2599c --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..b4963c7 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_text_widgets_item.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..c9e8029 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown.rb @@ -0,0 +1,31 @@ +# 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::DocFormsGet200ResponseFieldsItemUnknownActions }, 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_actions.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions.rb new file mode 100644 index 0000000..30aaa73 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemUnknownActions < Internal::Types::Model + field :keystroke, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemUnknownActionsKeystroke }, optional: true, nullable: false + + field :format, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemUnknownActionsFormat }, optional: true, nullable: false + + field :validate, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemUnknownActionsValidate }, optional: true, nullable: false + + field :calculate, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemUnknownActionsCalculate }, optional: true, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_calculate.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_calculate.rb new file mode 100644 index 0000000..316b42e --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_calculate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemUnknownActionsCalculate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemUnknownActionsCalculateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_calculate_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_calculate_root.rb new file mode 100644 index 0000000..0150032 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_calculate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_calculate_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_calculate_root_type.rb new file mode 100644 index 0000000..5516e09 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_calculate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_calculate_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_calculate_warnings_item.rb new file mode 100644 index 0000000..b1ce9c2 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_calculate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemUnknownActionsCalculateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_format.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_format.rb new file mode 100644 index 0000000..95e6043 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_format.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemUnknownActionsFormat < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemUnknownActionsFormatRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemUnknownActionsFormatWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_format_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_format_root.rb new file mode 100644 index 0000000..465da25 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_format_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemUnknownActionsFormatRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_format_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_format_root_type.rb new file mode 100644 index 0000000..7c96121 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_format_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_format_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_format_warnings_item.rb new file mode 100644 index 0000000..31606ee --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_format_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemUnknownActionsFormatWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_keystroke.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_keystroke.rb new file mode 100644 index 0000000..59adf68 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_keystroke.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemUnknownActionsKeystroke < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_keystroke_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_keystroke_root.rb new file mode 100644 index 0000000..52fd44b --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_keystroke_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_keystroke_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_keystroke_root_type.rb new file mode 100644 index 0000000..40e4031 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_keystroke_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_keystroke_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_keystroke_warnings_item.rb new file mode 100644 index 0000000..6b20b5d --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_keystroke_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_validate.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_validate.rb new file mode 100644 index 0000000..80d2360 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_validate.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemUnknownActionsValidate < Internal::Types::Model + field :root, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemUnknownActionsValidateRoot }, optional: false, nullable: true + + field :incomplete, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :warning_flags, -> { Integer }, optional: false, nullable: false, api_name: "warningFlags" + + field :warnings, -> { Internal::Types::Array[Cloudpdf::Types::DocFormsGet200ResponseFieldsItemUnknownActionsValidateWarningsItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_validate_root.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_validate_root.rb new file mode 100644 index 0000000..b79d3e5 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_validate_root.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsGet200ResponseFieldsItemUnknownActionsValidateRoot < Internal::Types::Model + field :type, -> { Cloudpdf::Types::DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType }, optional: false, nullable: false + + field :subtype, -> { String }, optional: false, nullable: false + + field :script, -> { String }, optional: true, nullable: false + + field :next_, -> { Internal::Types::Array[Object] }, optional: false, nullable: false, api_name: "next" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_validate_root_type.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_validate_root_type.rb new file mode 100644 index 0000000..4db86ec --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_validate_root_type.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + GOTO = "goto" + GOTO_REMOTE = "goto-remote" + GOTO_EMBEDDED = "goto-embedded" + LAUNCH = "launch" + THREAD = "thread" + URI = "uri" + SOUND = "sound" + MOVIE = "movie" + HIDE = "hide" + NAMED = "named" + SUBMIT_FORM = "submit-form" + RESET_FORM = "reset-form" + IMPORT_DATA = "import-data" + JAVASCRIPT = "javascript" + SET_OCG_STATE = "set-ocg-state" + RENDITION = "rendition" + TRANSITION = "transition" + GOTO3D_VIEW = "goto-3d-view" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_validate_warnings_item.rb b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_validate_warnings_item.rb new file mode 100644 index 0000000..eeeda75 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_actions_validate_warnings_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsGet200ResponseFieldsItemUnknownActionsValidateWarningsItem + extend Cloudpdf::Internal::Types::Enum + + CYCLE_DROPPED = "cycle-dropped" + MALFORMED_NEXT = "malformed-next" + INCOMPLETE = "incomplete" + 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 new file mode 100644 index 0000000..1192a4f --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_default_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 0000000..d906638 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_default_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..fd94284 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_default_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..b355af8 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_default_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..fa9a28a --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_default_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..4d8e0d4 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_flags.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..31391bf --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_origin.rb @@ -0,0 +1,12 @@ +# 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 new file mode 100644 index 0000000..292bb43 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_ref.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..f8a6199 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_ref_fqn.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..cd1d592 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_ref_object_number.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..f6dbb38 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_value_entry.rb @@ -0,0 +1,19 @@ +# 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 new file mode 100644 index 0000000..78caf59 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_value_entry_array.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..e890eb5 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_value_entry_none.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..901fcb7 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_value_entry_scalar.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..f7268d9 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_value_entry_unsupported.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..69924d9 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_fields_item_unknown_widgets_item.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..60f8ec1 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get200response_form_kind.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..5a6316d --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get404response.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..c16cc3d --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get404response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_get404response_name.rb b/lib/cloudpdf/types/doc_forms_get404response_name.rb new file mode 100644 index 0000000..a7d72f7 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_get404response_name.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..d2d75d0 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_import_data200response.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..75ab2f3 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_import_data200response_meta.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..5cf1450 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_import_data200response_meta_affected_pages_item.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..5c1c6ca --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_import_data200response_meta_affected_pages_item_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..cd4a9d1 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_import_data200response_meta_affected_pages_item_weak_annotation_state.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..e89e4aa --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_import_data200response_meta_affected_pages_item_weak_annotation_state_known.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..3cf7fb6 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_import_data200response_meta_affected_pages_item_weak_annotation_state_unknown.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..22c5c50 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_import_data200response_meta_cache_delta.rb @@ -0,0 +1,13 @@ +# 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 :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 new file mode 100644 index 0000000..37debe3 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_import_data200response_meta_cache_delta_pages_item.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..086ce97 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_import_data200response_meta_cache_delta_pages_item_cache.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..2c8979f --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_import_data400response.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..9a7a88f --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_import_data400response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + 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 new file mode 100644 index 0000000..1f08c15 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_import_data400response_name.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..66028b9 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_import_data404response.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..548488f --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_import_data404response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + 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 new file mode 100644 index 0000000..2e6db0c --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_import_data404response_name.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..a0308ac --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_import_data_request.rb @@ -0,0 +1,23 @@ +# 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_reset200response.rb b/lib/cloudpdf/types/doc_forms_reset200response.rb new file mode 100644 index 0000000..1abb759 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_reset200response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsReset200Response < Internal::Types::Model + field :meta, -> { Cloudpdf::Types::DocFormsReset200ResponseMeta }, 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 new file mode 100644 index 0000000..5236a58 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_reset200response_meta.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..1429925 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_reset200response_meta_affected_pages_item.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..97406ff --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_reset200response_meta_affected_pages_item_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..e46cddb --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_reset200response_meta_affected_pages_item_weak_annotation_state.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..3bb32cd --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_reset200response_meta_affected_pages_item_weak_annotation_state_known.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..af838fc --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_reset200response_meta_affected_pages_item_weak_annotation_state_unknown.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..5e4566d --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_reset200response_meta_cache_delta.rb @@ -0,0 +1,13 @@ +# 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 :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 new file mode 100644 index 0000000..2c5ce90 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_reset200response_meta_cache_delta_pages_item.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..f76f8a1 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_reset200response_meta_cache_delta_pages_item_cache.rb @@ -0,0 +1,11 @@ +# 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_reset404response.rb b/lib/cloudpdf/types/doc_forms_reset404response.rb new file mode 100644 index 0000000..d5edee1 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_reset404response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsReset404Response < Internal::Types::Model + field :name, -> { Cloudpdf::Types::DocFormsReset404ResponseName }, optional: false, nullable: false + + field :code, -> { Cloudpdf::Types::DocFormsReset404ResponseCode }, 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_reset404response_code.rb b/lib/cloudpdf/types/doc_forms_reset404response_code.rb new file mode 100644 index 0000000..2793109 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_reset404response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + end + end +end diff --git a/lib/cloudpdf/types/doc_forms_reset404response_name.rb b/lib/cloudpdf/types/doc_forms_reset404response_name.rb new file mode 100644 index 0000000..8b90c89 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_reset404response_name.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..073e325 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_set_value200response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsSetValue200Response < Internal::Types::Model + field :meta, -> { Cloudpdf::Types::DocFormsSetValue200ResponseMeta }, 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 new file mode 100644 index 0000000..1ee54f8 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_set_value200response_meta.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..2cbd8ea --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_set_value200response_meta_affected_pages_item.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..7cc8567 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_set_value200response_meta_affected_pages_item_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..3188299 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_set_value200response_meta_affected_pages_item_weak_annotation_state.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..0e82cf6 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_set_value200response_meta_affected_pages_item_weak_annotation_state_known.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..804b576 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_set_value200response_meta_affected_pages_item_weak_annotation_state_unknown.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..f961d15 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_set_value200response_meta_cache_delta.rb @@ -0,0 +1,13 @@ +# 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 :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 new file mode 100644 index 0000000..35da12f --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_set_value200response_meta_cache_delta_pages_item.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..413dbaa --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_set_value200response_meta_cache_delta_pages_item_cache.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..1a7975a --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_set_value400response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsSetValue400Response < Internal::Types::Model + field :name, -> { Cloudpdf::Types::DocFormsSetValue400ResponseName }, optional: false, nullable: false + + field :code, -> { Cloudpdf::Types::DocFormsSetValue400ResponseCode }, 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_set_value400response_code.rb b/lib/cloudpdf/types/doc_forms_set_value400response_code.rb new file mode 100644 index 0000000..e2f8a3c --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_set_value400response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + 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 new file mode 100644 index 0000000..cf12169 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_set_value400response_name.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..b2ee0f6 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_set_value404response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocFormsSetValue404Response < Internal::Types::Model + field :name, -> { Cloudpdf::Types::DocFormsSetValue404ResponseName }, optional: false, nullable: false + + field :code, -> { Cloudpdf::Types::DocFormsSetValue404ResponseCode }, 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_set_value404response_code.rb b/lib/cloudpdf/types/doc_forms_set_value404response_code.rb new file mode 100644 index 0000000..f277971 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_set_value404response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + 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 new file mode 100644 index 0000000..10e6fb7 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_set_value404response_name.rb @@ -0,0 +1,11 @@ +# 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_set_value_request.rb b/lib/cloudpdf/types/doc_forms_set_value_request.rb new file mode 100644 index 0000000..0e7ccf4 --- /dev/null +++ b/lib/cloudpdf/types/doc_forms_set_value_request.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocFormsSetValueRequest + # DocFormsSetValueRequest 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_head200response.rb b/lib/cloudpdf/types/doc_head200response.rb new file mode 100644 index 0000000..d7fbd20 --- /dev/null +++ b/lib/cloudpdf/types/doc_head200response.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocHead200Response < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :base_sha, -> { String }, optional: false, nullable: false, api_name: "baseSha" + + field :storage_size_bytes, -> { Integer }, optional: false, nullable: false, api_name: "storageSizeBytes" + + field :doc_version, -> { Integer }, optional: false, nullable: false, api_name: "docVersion" + + field :state, -> { Cloudpdf::Types::DocHead200ResponseState }, optional: false, nullable: false + + field :encryption, -> { Cloudpdf::Types::DocHead200ResponseEncryption }, optional: false, nullable: false + + field :permissions, -> { Cloudpdf::Types::DocHead200ResponsePermissions }, optional: false, nullable: false + + field :access, -> { Cloudpdf::Types::DocHead200ResponseAccess }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_head200response_access.rb b/lib/cloudpdf/types/doc_head200response_access.rb new file mode 100644 index 0000000..655d153 --- /dev/null +++ b/lib/cloudpdf/types/doc_head200response_access.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocHead200ResponseAccess < Internal::Types::Model + field :required, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :reasons, -> { Internal::Types::Array[Cloudpdf::Types::DocHead200ResponseAccessReasonsItem] }, optional: false, nullable: false + + field :endpoint, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_head200response_access_reasons_item.rb b/lib/cloudpdf/types/doc_head200response_access_reasons_item.rb new file mode 100644 index 0000000..36fcc4d --- /dev/null +++ b/lib/cloudpdf/types/doc_head200response_access_reasons_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocHead200ResponseAccessReasonsItem + extend Cloudpdf::Internal::Types::Enum + + PASSWORD = "password" + CDN = "cdn" + PERMISSIONS_UNKNOWN = "permissions-unknown" + end + end +end diff --git a/lib/cloudpdf/types/doc_head200response_encryption.rb b/lib/cloudpdf/types/doc_head200response_encryption.rb new file mode 100644 index 0000000..3aae30a --- /dev/null +++ b/lib/cloudpdf/types/doc_head200response_encryption.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocHead200ResponseEncryption < Internal::Types::Model + field :state, -> { Cloudpdf::Types::DocHead200ResponseEncryptionState }, optional: false, nullable: false + + field :requires_password, -> { Internal::Types::Boolean }, optional: false, nullable: true, api_name: "requiresPassword" + end + end +end diff --git a/lib/cloudpdf/types/doc_head200response_encryption_state.rb b/lib/cloudpdf/types/doc_head200response_encryption_state.rb new file mode 100644 index 0000000..107b993 --- /dev/null +++ b/lib/cloudpdf/types/doc_head200response_encryption_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocHead200ResponseEncryptionState + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "unknown" + NONE = "none" + ENCRYPTED = "encrypted" + UNSUPPORTED = "unsupported" + end + end +end diff --git a/lib/cloudpdf/types/doc_head200response_permissions.rb b/lib/cloudpdf/types/doc_head200response_permissions.rb new file mode 100644 index 0000000..55a3471 --- /dev/null +++ b/lib/cloudpdf/types/doc_head200response_permissions.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocHead200ResponsePermissions < Internal::Types::Model + field :known, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :bits, -> { Integer }, optional: false, nullable: true + + field :all_allowed, -> { Internal::Types::Boolean }, optional: false, nullable: true, api_name: "allAllowed" + + field :opened_as, -> { Cloudpdf::Types::DocHead200ResponsePermissionsOpenedAs }, optional: false, nullable: true, api_name: "openedAs" + + field :security_handler_revision, -> { Integer }, optional: false, nullable: true, api_name: "securityHandlerRevision" + + field :can_upgrade_to_owner, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "canUpgradeToOwner" + end + end +end diff --git a/lib/cloudpdf/types/doc_head200response_permissions_opened_as.rb b/lib/cloudpdf/types/doc_head200response_permissions_opened_as.rb new file mode 100644 index 0000000..bbe7838 --- /dev/null +++ b/lib/cloudpdf/types/doc_head200response_permissions_opened_as.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocHead200ResponsePermissionsOpenedAs + extend Cloudpdf::Internal::Types::Enum + + NONE = "none" + USER = "user" + OWNER = "owner" + end + end +end diff --git a/lib/cloudpdf/types/doc_head200response_state.rb b/lib/cloudpdf/types/doc_head200response_state.rb new file mode 100644 index 0000000..55194b4 --- /dev/null +++ b/lib/cloudpdf/types/doc_head200response_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocHead200ResponseState + extend Cloudpdf::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + FAILED = "failed" + DELETING = "deleting" + end + end +end diff --git a/lib/cloudpdf/types/doc_head404response.rb b/lib/cloudpdf/types/doc_head404response.rb new file mode 100644 index 0000000..b5d1f32 --- /dev/null +++ b/lib/cloudpdf/types/doc_head404response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocHead404Response < Internal::Types::Model + field :name, -> { Cloudpdf::Types::DocHead404ResponseName }, optional: false, nullable: false + + field :code, -> { Cloudpdf::Types::DocHead404ResponseCode }, 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_head404response_code.rb b/lib/cloudpdf/types/doc_head404response_code.rb new file mode 100644 index 0000000..474ceab --- /dev/null +++ b/lib/cloudpdf/types/doc_head404response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + end + end +end diff --git a/lib/cloudpdf/types/doc_head404response_name.rb b/lib/cloudpdf/types/doc_head404response_name.rb new file mode 100644 index 0000000..0570951 --- /dev/null +++ b/lib/cloudpdf/types/doc_head404response_name.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..60f40d9 --- /dev/null +++ b/lib/cloudpdf/types/doc_manifest200response.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocManifest200Response < Internal::Types::Model + field :doc_version, -> { Integer }, optional: false, nullable: false, api_name: "docVersion" + + field :layout_version, -> { Integer }, optional: false, nullable: false, api_name: "layoutVersion" + + field :metadata_version, -> { Integer }, optional: false, nullable: false, api_name: "metadataVersion" + + field :actions_version, -> { Integer }, optional: true, nullable: false, api_name: "actionsVersion" + + field :attachments_version, -> { Integer }, optional: true, nullable: false, api_name: "attachmentsVersion" + + field :audit_head, -> { Integer }, optional: false, nullable: false, api_name: "auditHead" + + field :base_sha, -> { String }, optional: false, nullable: false, api_name: "baseSha" + + field :scopes, -> { Cloudpdf::Types::DocManifest200ResponseScopes }, optional: true, nullable: false + + field :pages, -> { Internal::Types::Array[Cloudpdf::Types::DocManifest200ResponsePagesItem] }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_manifest200response_pages_item.rb b/lib/cloudpdf/types/doc_manifest200response_pages_item.rb new file mode 100644 index 0000000..3379c31 --- /dev/null +++ b/lib/cloudpdf/types/doc_manifest200response_pages_item.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocManifest200ResponsePagesItem < Internal::Types::Model + field :state, -> { Cloudpdf::Types::DocManifest200ResponsePagesItemState }, optional: false, nullable: false + + field :cache, -> { Cloudpdf::Types::DocManifest200ResponsePagesItemCache }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_manifest200response_pages_item_cache.rb b/lib/cloudpdf/types/doc_manifest200response_pages_item_cache.rb new file mode 100644 index 0000000..f2710f2 --- /dev/null +++ b/lib/cloudpdf/types/doc_manifest200response_pages_item_cache.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocManifest200ResponsePagesItemCache < Internal::Types::Model + field :content_version, -> { Integer }, optional: false, nullable: false, api_name: "contentVersion" + + field :annotation_version, -> { Integer }, optional: false, nullable: false, api_name: "annotationVersion" + 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 new file mode 100644 index 0000000..617bda2 --- /dev/null +++ b/lib/cloudpdf/types/doc_manifest200response_pages_item_state.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..7343fdc --- /dev/null +++ b/lib/cloudpdf/types/doc_manifest200response_pages_item_state_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..068a016 --- /dev/null +++ b/lib/cloudpdf/types/doc_manifest200response_pages_item_state_weak_annotation_state.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..70e63b2 --- /dev/null +++ b/lib/cloudpdf/types/doc_manifest200response_pages_item_state_weak_annotation_state_known.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..fccf48c --- /dev/null +++ b/lib/cloudpdf/types/doc_manifest200response_pages_item_state_weak_annotation_state_unknown.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocManifest200ResponsePagesItemStateWeakAnnotationStateUnknown < Internal::Types::Model; end + end +end diff --git a/lib/cloudpdf/types/doc_manifest200response_scopes.rb b/lib/cloudpdf/types/doc_manifest200response_scopes.rb new file mode 100644 index 0000000..8e8ff0f --- /dev/null +++ b/lib/cloudpdf/types/doc_manifest200response_scopes.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocManifest200ResponseScopes < Internal::Types::Model + field :content, -> { Cloudpdf::Types::DocManifest200ResponseScopesContent }, optional: false, nullable: false + + field :annotations, -> { Cloudpdf::Types::DocManifest200ResponseScopesAnnotations }, optional: false, nullable: false + + field :layout, -> { Cloudpdf::Types::DocManifest200ResponseScopesLayout }, optional: false, nullable: false + + field :attachments, -> { Cloudpdf::Types::DocManifest200ResponseScopesAttachments }, optional: false, nullable: false + + field :metadata, -> { Cloudpdf::Types::DocManifest200ResponseScopesMetadata }, optional: false, nullable: false + + field :actions, -> { Cloudpdf::Types::DocManifest200ResponseScopesActions }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_manifest200response_scopes_actions.rb b/lib/cloudpdf/types/doc_manifest200response_scopes_actions.rb new file mode 100644 index 0000000..46c9051 --- /dev/null +++ b/lib/cloudpdf/types/doc_manifest200response_scopes_actions.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocManifest200ResponseScopesActions + extend Cloudpdf::Internal::Types::Enum + + BASE = "base" + LAYER = "layer" + end + end +end diff --git a/lib/cloudpdf/types/doc_manifest200response_scopes_annotations.rb b/lib/cloudpdf/types/doc_manifest200response_scopes_annotations.rb new file mode 100644 index 0000000..33d549d --- /dev/null +++ b/lib/cloudpdf/types/doc_manifest200response_scopes_annotations.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocManifest200ResponseScopesAnnotations + extend Cloudpdf::Internal::Types::Enum + + BASE = "base" + LAYER = "layer" + end + end +end diff --git a/lib/cloudpdf/types/doc_manifest200response_scopes_attachments.rb b/lib/cloudpdf/types/doc_manifest200response_scopes_attachments.rb new file mode 100644 index 0000000..0c5f075 --- /dev/null +++ b/lib/cloudpdf/types/doc_manifest200response_scopes_attachments.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocManifest200ResponseScopesAttachments + extend Cloudpdf::Internal::Types::Enum + + BASE = "base" + LAYER = "layer" + end + end +end diff --git a/lib/cloudpdf/types/doc_manifest200response_scopes_content.rb b/lib/cloudpdf/types/doc_manifest200response_scopes_content.rb new file mode 100644 index 0000000..ba716a9 --- /dev/null +++ b/lib/cloudpdf/types/doc_manifest200response_scopes_content.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocManifest200ResponseScopesContent + extend Cloudpdf::Internal::Types::Enum + + BASE = "base" + LAYER = "layer" + end + end +end diff --git a/lib/cloudpdf/types/doc_manifest200response_scopes_layout.rb b/lib/cloudpdf/types/doc_manifest200response_scopes_layout.rb new file mode 100644 index 0000000..02ef4a6 --- /dev/null +++ b/lib/cloudpdf/types/doc_manifest200response_scopes_layout.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocManifest200ResponseScopesLayout + extend Cloudpdf::Internal::Types::Enum + + BASE = "base" + LAYER = "layer" + end + end +end diff --git a/lib/cloudpdf/types/doc_manifest200response_scopes_metadata.rb b/lib/cloudpdf/types/doc_manifest200response_scopes_metadata.rb new file mode 100644 index 0000000..dd4a3f6 --- /dev/null +++ b/lib/cloudpdf/types/doc_manifest200response_scopes_metadata.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocManifest200ResponseScopesMetadata + extend Cloudpdf::Internal::Types::Enum + + BASE = "base" + LAYER = "layer" + end + end +end diff --git a/lib/cloudpdf/types/doc_manifest404response.rb b/lib/cloudpdf/types/doc_manifest404response.rb new file mode 100644 index 0000000..08edc52 --- /dev/null +++ b/lib/cloudpdf/types/doc_manifest404response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocManifest404Response < Internal::Types::Model + field :name, -> { Cloudpdf::Types::DocManifest404ResponseName }, optional: false, nullable: false + + field :code, -> { Cloudpdf::Types::DocManifest404ResponseCode }, 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_manifest404response_code.rb b/lib/cloudpdf/types/doc_manifest404response_code.rb new file mode 100644 index 0000000..5573407 --- /dev/null +++ b/lib/cloudpdf/types/doc_manifest404response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + end + end +end diff --git a/lib/cloudpdf/types/doc_manifest404response_name.rb b/lib/cloudpdf/types/doc_manifest404response_name.rb new file mode 100644 index 0000000..e81938d --- /dev/null +++ b/lib/cloudpdf/types/doc_manifest404response_name.rb @@ -0,0 +1,11 @@ +# 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_get200response.rb b/lib/cloudpdf/types/doc_metadata_get200response.rb new file mode 100644 index 0000000..db84db4 --- /dev/null +++ b/lib/cloudpdf/types/doc_metadata_get200response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +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 + end + end +end diff --git a/lib/cloudpdf/types/doc_metadata_get200response_trapped.rb b/lib/cloudpdf/types/doc_metadata_get200response_trapped.rb new file mode 100644 index 0000000..7ba3119 --- /dev/null +++ b/lib/cloudpdf/types/doc_metadata_get200response_trapped.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..cf9efbe --- /dev/null +++ b/lib/cloudpdf/types/doc_metadata_get404response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocMetadataGet404Response < Internal::Types::Model + field :name, -> { Cloudpdf::Types::DocMetadataGet404ResponseName }, optional: false, nullable: false + + field :code, -> { Cloudpdf::Types::DocMetadataGet404ResponseCode }, 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_metadata_get404response_code.rb b/lib/cloudpdf/types/doc_metadata_get404response_code.rb new file mode 100644 index 0000000..862f671 --- /dev/null +++ b/lib/cloudpdf/types/doc_metadata_get404response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + end + end +end diff --git a/lib/cloudpdf/types/doc_metadata_get404response_name.rb b/lib/cloudpdf/types/doc_metadata_get404response_name.rb new file mode 100644 index 0000000..51952e6 --- /dev/null +++ b/lib/cloudpdf/types/doc_metadata_get404response_name.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..e28ca6d --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_delete200response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocPagesDelete200Response < Internal::Types::Model + field :meta, -> { Cloudpdf::Types::DocPagesDelete200ResponseMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_pages_delete200response_meta.rb b/lib/cloudpdf/types/doc_pages_delete200response_meta.rb new file mode 100644 index 0000000..7126d46 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_delete200response_meta.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..ef2e01f --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_delete200response_meta_affected_pages_item.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..71a22be --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_delete200response_meta_affected_pages_item_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..15e0856 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_delete200response_meta_affected_pages_item_weak_annotation_state.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..5c85c15 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_delete200response_meta_affected_pages_item_weak_annotation_state_known.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..15f33c3 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_delete200response_meta_affected_pages_item_weak_annotation_state_unknown.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..ec17ac6 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_delete200response_meta_cache_delta.rb @@ -0,0 +1,13 @@ +# 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 :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 new file mode 100644 index 0000000..9e5ff78 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_delete200response_meta_cache_delta_pages_item.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..d3ea3fa --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_delete200response_meta_cache_delta_pages_item_cache.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..d4ea7b8 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_delete400response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocPagesDelete400Response < Internal::Types::Model + field :name, -> { Cloudpdf::Types::DocPagesDelete400ResponseName }, optional: false, nullable: false + + field :code, -> { Cloudpdf::Types::DocPagesDelete400ResponseCode }, 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_delete400response_code.rb b/lib/cloudpdf/types/doc_pages_delete400response_code.rb new file mode 100644 index 0000000..d592ddf --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_delete400response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + end + end +end diff --git a/lib/cloudpdf/types/doc_pages_delete400response_name.rb b/lib/cloudpdf/types/doc_pages_delete400response_name.rb new file mode 100644 index 0000000..c19cd8c --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_delete400response_name.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..b568f6a --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_delete404response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocPagesDelete404Response < Internal::Types::Model + field :name, -> { Cloudpdf::Types::DocPagesDelete404ResponseName }, optional: false, nullable: false + + field :code, -> { Cloudpdf::Types::DocPagesDelete404ResponseCode }, 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_delete404response_code.rb b/lib/cloudpdf/types/doc_pages_delete404response_code.rb new file mode 100644 index 0000000..44a908b --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_delete404response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + end + end +end diff --git a/lib/cloudpdf/types/doc_pages_delete404response_name.rb b/lib/cloudpdf/types/doc_pages_delete404response_name.rb new file mode 100644 index 0000000..b7c3f38 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_delete404response_name.rb @@ -0,0 +1,11 @@ +# 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_delete_request.rb b/lib/cloudpdf/types/doc_pages_delete_request.rb new file mode 100644 index 0000000..aaa59dc --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_delete_request.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocPagesDeleteRequest + # DocPagesDeleteRequest 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_flatten200response.rb b/lib/cloudpdf/types/doc_pages_flatten200response.rb new file mode 100644 index 0000000..886d5c0 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_flatten200response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocPagesFlatten200Response < Internal::Types::Model + field :meta, -> { Cloudpdf::Types::DocPagesFlatten200ResponseMeta }, 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 new file mode 100644 index 0000000..4f3524b --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_flatten200response_meta.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..d78057f --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_flatten200response_meta_affected_pages_item.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..17c43b4 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_flatten200response_meta_affected_pages_item_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..166bb31 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_flatten200response_meta_affected_pages_item_weak_annotation_state.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..39739ef --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_flatten200response_meta_affected_pages_item_weak_annotation_state_known.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..3de6032 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_flatten200response_meta_affected_pages_item_weak_annotation_state_unknown.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..2cf5417 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_flatten200response_meta_cache_delta.rb @@ -0,0 +1,13 @@ +# 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 :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 new file mode 100644 index 0000000..101ed62 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_flatten200response_meta_cache_delta_pages_item.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..a84250b --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_flatten200response_meta_cache_delta_pages_item_cache.rb @@ -0,0 +1,11 @@ +# 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_flatten400response.rb b/lib/cloudpdf/types/doc_pages_flatten400response.rb new file mode 100644 index 0000000..6dd4893 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_flatten400response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocPagesFlatten400Response < Internal::Types::Model + field :name, -> { Cloudpdf::Types::DocPagesFlatten400ResponseName }, optional: false, nullable: false + + field :code, -> { Cloudpdf::Types::DocPagesFlatten400ResponseCode }, 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_flatten400response_code.rb b/lib/cloudpdf/types/doc_pages_flatten400response_code.rb new file mode 100644 index 0000000..f077b29 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_flatten400response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + end + end +end diff --git a/lib/cloudpdf/types/doc_pages_flatten400response_name.rb b/lib/cloudpdf/types/doc_pages_flatten400response_name.rb new file mode 100644 index 0000000..f86b0aa --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_flatten400response_name.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..d19364f --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_flatten404response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocPagesFlatten404Response < Internal::Types::Model + field :name, -> { Cloudpdf::Types::DocPagesFlatten404ResponseName }, optional: false, nullable: false + + field :code, -> { Cloudpdf::Types::DocPagesFlatten404ResponseCode }, 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_flatten404response_code.rb b/lib/cloudpdf/types/doc_pages_flatten404response_code.rb new file mode 100644 index 0000000..34c6720 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_flatten404response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + end + end +end diff --git a/lib/cloudpdf/types/doc_pages_flatten404response_name.rb b/lib/cloudpdf/types/doc_pages_flatten404response_name.rb new file mode 100644 index 0000000..1424b60 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_flatten404response_name.rb @@ -0,0 +1,11 @@ +# 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_flatten_request.rb b/lib/cloudpdf/types/doc_pages_flatten_request.rb new file mode 100644 index 0000000..2ef8a58 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_flatten_request.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocPagesFlattenRequest + # DocPagesFlattenRequest 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_move200response.rb b/lib/cloudpdf/types/doc_pages_move200response.rb new file mode 100644 index 0000000..dff4d87 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_move200response.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..ee5949d --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_move200response_meta.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..c7082f3 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_move200response_meta_affected_pages_item.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..94258f9 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_move200response_meta_affected_pages_item_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..48395cd --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_move200response_meta_affected_pages_item_weak_annotation_state.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..eaaa981 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_move200response_meta_affected_pages_item_weak_annotation_state_known.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..722527b --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_move200response_meta_affected_pages_item_weak_annotation_state_unknown.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..6a3861c --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_move200response_meta_cache_delta.rb @@ -0,0 +1,13 @@ +# 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 :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 new file mode 100644 index 0000000..6d4fd49 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_move200response_meta_cache_delta_pages_item.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..8e08d77 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_move200response_meta_cache_delta_pages_item_cache.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..7771f30 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_move400response.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..aeb6c35 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_move400response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + end + end +end diff --git a/lib/cloudpdf/types/doc_pages_move400response_name.rb b/lib/cloudpdf/types/doc_pages_move400response_name.rb new file mode 100644 index 0000000..c3ec330 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_move400response_name.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..29657d6 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_move404response.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..ba626c2 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_move404response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + end + end +end diff --git a/lib/cloudpdf/types/doc_pages_move404response_name.rb b/lib/cloudpdf/types/doc_pages_move404response_name.rb new file mode 100644 index 0000000..f3b6e35 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_move404response_name.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..0338a26 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_move_request.rb @@ -0,0 +1,23 @@ +# 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_rotate200response.rb b/lib/cloudpdf/types/doc_pages_rotate200response.rb new file mode 100644 index 0000000..70647a3 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_rotate200response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocPagesRotate200Response < Internal::Types::Model + field :meta, -> { Cloudpdf::Types::DocPagesRotate200ResponseMeta }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/doc_pages_rotate200response_meta.rb b/lib/cloudpdf/types/doc_pages_rotate200response_meta.rb new file mode 100644 index 0000000..aebdd41 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_rotate200response_meta.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..24571ee --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_rotate200response_meta_affected_pages_item.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..0fec7bc --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_rotate200response_meta_affected_pages_item_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..7af38d6 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_rotate200response_meta_affected_pages_item_weak_annotation_state.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..c1bfaf9 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_rotate200response_meta_affected_pages_item_weak_annotation_state_known.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..0311da0 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_rotate200response_meta_affected_pages_item_weak_annotation_state_unknown.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..d12f51f --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_rotate200response_meta_cache_delta.rb @@ -0,0 +1,13 @@ +# 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 :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 new file mode 100644 index 0000000..544274c --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_rotate200response_meta_cache_delta_pages_item.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..4007a57 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_rotate200response_meta_cache_delta_pages_item_cache.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..12bc915 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_rotate400response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocPagesRotate400Response < Internal::Types::Model + field :name, -> { Cloudpdf::Types::DocPagesRotate400ResponseName }, optional: false, nullable: false + + field :code, -> { Cloudpdf::Types::DocPagesRotate400ResponseCode }, 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_rotate400response_code.rb b/lib/cloudpdf/types/doc_pages_rotate400response_code.rb new file mode 100644 index 0000000..74eee7d --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_rotate400response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + end + end +end diff --git a/lib/cloudpdf/types/doc_pages_rotate400response_name.rb b/lib/cloudpdf/types/doc_pages_rotate400response_name.rb new file mode 100644 index 0000000..f8dd02d --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_rotate400response_name.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..8da986b --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_rotate404response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocPagesRotate404Response < Internal::Types::Model + field :name, -> { Cloudpdf::Types::DocPagesRotate404ResponseName }, optional: false, nullable: false + + field :code, -> { Cloudpdf::Types::DocPagesRotate404ResponseCode }, 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_rotate404response_code.rb b/lib/cloudpdf/types/doc_pages_rotate404response_code.rb new file mode 100644 index 0000000..8f0f2f6 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_rotate404response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + end + end +end diff --git a/lib/cloudpdf/types/doc_pages_rotate404response_name.rb b/lib/cloudpdf/types/doc_pages_rotate404response_name.rb new file mode 100644 index 0000000..64744de --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_rotate404response_name.rb @@ -0,0 +1,11 @@ +# 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_rotate_request.rb b/lib/cloudpdf/types/doc_pages_rotate_request.rb new file mode 100644 index 0000000..f5da8a5 --- /dev/null +++ b/lib/cloudpdf/types/doc_pages_rotate_request.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocPagesRotateRequest + # DocPagesRotateRequest 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_redactions_apply200response.rb b/lib/cloudpdf/types/doc_redactions_apply200response.rb new file mode 100644 index 0000000..9795227 --- /dev/null +++ b/lib/cloudpdf/types/doc_redactions_apply200response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocRedactionsApply200Response < Internal::Types::Model + field :meta, -> { Cloudpdf::Types::DocRedactionsApply200ResponseMeta }, 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 new file mode 100644 index 0000000..1c7abfc --- /dev/null +++ b/lib/cloudpdf/types/doc_redactions_apply200response_meta.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..1d321c6 --- /dev/null +++ b/lib/cloudpdf/types/doc_redactions_apply200response_meta_affected_pages_item.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..fbfe3fe --- /dev/null +++ b/lib/cloudpdf/types/doc_redactions_apply200response_meta_affected_pages_item_revision.rb @@ -0,0 +1,13 @@ +# 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 new file mode 100644 index 0000000..f284181 --- /dev/null +++ b/lib/cloudpdf/types/doc_redactions_apply200response_meta_affected_pages_item_weak_annotation_state.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..c8eee89 --- /dev/null +++ b/lib/cloudpdf/types/doc_redactions_apply200response_meta_affected_pages_item_weak_annotation_state_known.rb @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 0000000..b5fedab --- /dev/null +++ b/lib/cloudpdf/types/doc_redactions_apply200response_meta_affected_pages_item_weak_annotation_state_unknown.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..31957d9 --- /dev/null +++ b/lib/cloudpdf/types/doc_redactions_apply200response_meta_cache_delta.rb @@ -0,0 +1,13 @@ +# 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 :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 new file mode 100644 index 0000000..2ef43e7 --- /dev/null +++ b/lib/cloudpdf/types/doc_redactions_apply200response_meta_cache_delta_pages_item.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..7a7ff75 --- /dev/null +++ b/lib/cloudpdf/types/doc_redactions_apply200response_meta_cache_delta_pages_item_cache.rb @@ -0,0 +1,11 @@ +# 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_apply400response.rb b/lib/cloudpdf/types/doc_redactions_apply400response.rb new file mode 100644 index 0000000..5f05614 --- /dev/null +++ b/lib/cloudpdf/types/doc_redactions_apply400response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocRedactionsApply400Response < Internal::Types::Model + field :name, -> { Cloudpdf::Types::DocRedactionsApply400ResponseName }, optional: false, nullable: false + + field :code, -> { Cloudpdf::Types::DocRedactionsApply400ResponseCode }, 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_redactions_apply400response_code.rb b/lib/cloudpdf/types/doc_redactions_apply400response_code.rb new file mode 100644 index 0000000..8315b73 --- /dev/null +++ b/lib/cloudpdf/types/doc_redactions_apply400response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + end + end +end diff --git a/lib/cloudpdf/types/doc_redactions_apply400response_name.rb b/lib/cloudpdf/types/doc_redactions_apply400response_name.rb new file mode 100644 index 0000000..1849363 --- /dev/null +++ b/lib/cloudpdf/types/doc_redactions_apply400response_name.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..96957e0 --- /dev/null +++ b/lib/cloudpdf/types/doc_redactions_apply404response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocRedactionsApply404Response < Internal::Types::Model + field :name, -> { Cloudpdf::Types::DocRedactionsApply404ResponseName }, optional: false, nullable: false + + field :code, -> { Cloudpdf::Types::DocRedactionsApply404ResponseCode }, 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_redactions_apply404response_code.rb b/lib/cloudpdf/types/doc_redactions_apply404response_code.rb new file mode 100644 index 0000000..82efe35 --- /dev/null +++ b/lib/cloudpdf/types/doc_redactions_apply404response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + end + end +end diff --git a/lib/cloudpdf/types/doc_redactions_apply404response_name.rb b/lib/cloudpdf/types/doc_redactions_apply404response_name.rb new file mode 100644 index 0000000..8da38c5 --- /dev/null +++ b/lib/cloudpdf/types/doc_redactions_apply404response_name.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..f9479c9 --- /dev/null +++ b/lib/cloudpdf/types/doc_redactions_apply_request.rb @@ -0,0 +1,23 @@ +# 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 new file mode 100644 index 0000000..f68b379 --- /dev/null +++ b/lib/cloudpdf/types/doc_render_response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocRenderResponse < Internal::Types::Model + field :name, -> { Cloudpdf::Types::DocRenderResponseName }, optional: false, nullable: false + + field :code, -> { Cloudpdf::Types::DocRenderResponseCode }, 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_render_response_code.rb b/lib/cloudpdf/types/doc_render_response_code.rb new file mode 100644 index 0000000..4f94f1f --- /dev/null +++ b/lib/cloudpdf/types/doc_render_response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + end + end +end diff --git a/lib/cloudpdf/types/doc_render_response_name.rb b/lib/cloudpdf/types/doc_render_response_name.rb new file mode 100644 index 0000000..9b3a5c5 --- /dev/null +++ b/lib/cloudpdf/types/doc_render_response_name.rb @@ -0,0 +1,11 @@ +# 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_text200response.rb b/lib/cloudpdf/types/doc_text200response.rb new file mode 100644 index 0000000..b92213a --- /dev/null +++ b/lib/cloudpdf/types/doc_text200response.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocText200Response < Internal::Types::Model + field :text, -> { String }, optional: false, nullable: false + + field :char_count, -> { Integer }, optional: false, nullable: false, api_name: "charCount" + end + end +end diff --git a/lib/cloudpdf/types/doc_text404response.rb b/lib/cloudpdf/types/doc_text404response.rb new file mode 100644 index 0000000..29ab90c --- /dev/null +++ b/lib/cloudpdf/types/doc_text404response.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocText404Response < Internal::Types::Model + field :name, -> { Cloudpdf::Types::DocText404ResponseName }, optional: false, nullable: false + + field :code, -> { Cloudpdf::Types::DocText404ResponseCode }, 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_text404response_code.rb b/lib/cloudpdf/types/doc_text404response_code.rb new file mode 100644 index 0000000..3c4a48e --- /dev/null +++ b/lib/cloudpdf/types/doc_text404response_code.rb @@ -0,0 +1,28 @@ +# 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" + 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" + end + end +end diff --git a/lib/cloudpdf/types/doc_text404response_name.rb b/lib/cloudpdf/types/doc_text404response_name.rb new file mode 100644 index 0000000..fe81578 --- /dev/null +++ b/lib/cloudpdf/types/doc_text404response_name.rb @@ -0,0 +1,11 @@ +# 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/documents_commit200response.rb b/lib/cloudpdf/types/documents_commit200response.rb new file mode 100644 index 0000000..efee3aa --- /dev/null +++ b/lib/cloudpdf/types/documents_commit200response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsCommit200Response < Internal::Types::Model + field :document, -> { Cloudpdf::Types::DocumentsCommit200ResponseDocument }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/documents_commit200response_document.rb b/lib/cloudpdf/types/documents_commit200response_document.rb new file mode 100644 index 0000000..78409b8 --- /dev/null +++ b/lib/cloudpdf/types/documents_commit200response_document.rb @@ -0,0 +1,33 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsCommit200ResponseDocument < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :state, -> { Cloudpdf::Types::DocumentsCommit200ResponseDocumentState }, optional: false, nullable: false + + field :base_sha, -> { String }, optional: false, nullable: true, api_name: "baseSha" + + field :storage_size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "storageSizeBytes" + + field :metadata, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: true + + field :idempotency_key, -> { String }, optional: false, nullable: true, api_name: "idempotencyKey" + + field :failure_reason, -> { String }, optional: false, nullable: true, api_name: "failureReason" + + field :thumbnail_state, -> { Cloudpdf::Types::DocumentsCommit200ResponseDocumentThumbnailState }, optional: true, nullable: false, api_name: "thumbnailState" + + field :thumbnail_url, -> { String }, optional: true, nullable: false, api_name: "thumbnailUrl" + + field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" + + field :updated_at, -> { Integer }, optional: false, nullable: false, api_name: "updatedAt" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + end + end +end diff --git a/lib/cloudpdf/types/documents_commit200response_document_state.rb b/lib/cloudpdf/types/documents_commit200response_document_state.rb new file mode 100644 index 0000000..5f5814a --- /dev/null +++ b/lib/cloudpdf/types/documents_commit200response_document_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocumentsCommit200ResponseDocumentState + extend Cloudpdf::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + FAILED = "failed" + DELETING = "deleting" + end + end +end diff --git a/lib/cloudpdf/types/documents_commit200response_document_thumbnail_state.rb b/lib/cloudpdf/types/documents_commit200response_document_thumbnail_state.rb new file mode 100644 index 0000000..48b427d --- /dev/null +++ b/lib/cloudpdf/types/documents_commit200response_document_thumbnail_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocumentsCommit200ResponseDocumentThumbnailState + extend Cloudpdf::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + LOCKED = "locked" + FAILED = "failed" + end + end +end diff --git a/lib/cloudpdf/types/documents_commit400response.rb b/lib/cloudpdf/types/documents_commit400response.rb new file mode 100644 index 0000000..cae4ee4 --- /dev/null +++ b/lib/cloudpdf/types/documents_commit400response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsCommit400Response < Internal::Types::Model + field :error, -> { Cloudpdf::Types::DocumentsCommit400ResponseError }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/documents_commit400response_error.rb b/lib/cloudpdf/types/documents_commit400response_error.rb new file mode 100644 index 0000000..f83c63e --- /dev/null +++ b/lib/cloudpdf/types/documents_commit400response_error.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..161730d --- /dev/null +++ b/lib/cloudpdf/types/documents_commit404response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsCommit404Response < Internal::Types::Model + field :error, -> { Cloudpdf::Types::DocumentsCommit404ResponseError }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/documents_commit404response_error.rb b/lib/cloudpdf/types/documents_commit404response_error.rb new file mode 100644 index 0000000..53e1d9b --- /dev/null +++ b/lib/cloudpdf/types/documents_commit404response_error.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..ed739f5 --- /dev/null +++ b/lib/cloudpdf/types/documents_delete403response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsDelete403Response < Internal::Types::Model + field :error, -> { Cloudpdf::Types::DocumentsDelete403ResponseError }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/documents_delete403response_error.rb b/lib/cloudpdf/types/documents_delete403response_error.rb new file mode 100644 index 0000000..158290d --- /dev/null +++ b/lib/cloudpdf/types/documents_delete403response_error.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..9b91267 --- /dev/null +++ b/lib/cloudpdf/types/documents_delete404response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsDelete404Response < Internal::Types::Model + field :error, -> { Cloudpdf::Types::DocumentsDelete404ResponseError }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/documents_delete404response_error.rb b/lib/cloudpdf/types/documents_delete404response_error.rb new file mode 100644 index 0000000..a73343b --- /dev/null +++ b/lib/cloudpdf/types/documents_delete404response_error.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..d9b0da9 --- /dev/null +++ b/lib/cloudpdf/types/documents_download403response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsDownload403Response < Internal::Types::Model + field :error, -> { Cloudpdf::Types::DocumentsDownload403ResponseError }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/documents_download403response_error.rb b/lib/cloudpdf/types/documents_download403response_error.rb new file mode 100644 index 0000000..3db37db --- /dev/null +++ b/lib/cloudpdf/types/documents_download403response_error.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..55497ac --- /dev/null +++ b/lib/cloudpdf/types/documents_download404response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsDownload404Response < Internal::Types::Model + field :error, -> { Cloudpdf::Types::DocumentsDownload404ResponseError }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/documents_download404response_error.rb b/lib/cloudpdf/types/documents_download404response_error.rb new file mode 100644 index 0000000..7b2a86c --- /dev/null +++ b/lib/cloudpdf/types/documents_download404response_error.rb @@ -0,0 +1,11 @@ +# 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_get200response.rb b/lib/cloudpdf/types/documents_get200response.rb new file mode 100644 index 0000000..7d0e586 --- /dev/null +++ b/lib/cloudpdf/types/documents_get200response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsGet200Response < Internal::Types::Model + field :document, -> { Cloudpdf::Types::DocumentsGet200ResponseDocument }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/documents_get200response_document.rb b/lib/cloudpdf/types/documents_get200response_document.rb new file mode 100644 index 0000000..fadf93d --- /dev/null +++ b/lib/cloudpdf/types/documents_get200response_document.rb @@ -0,0 +1,33 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsGet200ResponseDocument < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :state, -> { Cloudpdf::Types::DocumentsGet200ResponseDocumentState }, optional: false, nullable: false + + field :base_sha, -> { String }, optional: false, nullable: true, api_name: "baseSha" + + field :storage_size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "storageSizeBytes" + + field :metadata, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: true + + field :idempotency_key, -> { String }, optional: false, nullable: true, api_name: "idempotencyKey" + + field :failure_reason, -> { String }, optional: false, nullable: true, api_name: "failureReason" + + field :thumbnail_state, -> { Cloudpdf::Types::DocumentsGet200ResponseDocumentThumbnailState }, optional: true, nullable: false, api_name: "thumbnailState" + + field :thumbnail_url, -> { String }, optional: true, nullable: false, api_name: "thumbnailUrl" + + field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" + + field :updated_at, -> { Integer }, optional: false, nullable: false, api_name: "updatedAt" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + end + end +end diff --git a/lib/cloudpdf/types/documents_get200response_document_state.rb b/lib/cloudpdf/types/documents_get200response_document_state.rb new file mode 100644 index 0000000..679d09e --- /dev/null +++ b/lib/cloudpdf/types/documents_get200response_document_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocumentsGet200ResponseDocumentState + extend Cloudpdf::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + FAILED = "failed" + DELETING = "deleting" + end + end +end diff --git a/lib/cloudpdf/types/documents_get200response_document_thumbnail_state.rb b/lib/cloudpdf/types/documents_get200response_document_thumbnail_state.rb new file mode 100644 index 0000000..c607a87 --- /dev/null +++ b/lib/cloudpdf/types/documents_get200response_document_thumbnail_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocumentsGet200ResponseDocumentThumbnailState + extend Cloudpdf::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + LOCKED = "locked" + FAILED = "failed" + end + end +end diff --git a/lib/cloudpdf/types/documents_get403response.rb b/lib/cloudpdf/types/documents_get403response.rb new file mode 100644 index 0000000..aa7a4e4 --- /dev/null +++ b/lib/cloudpdf/types/documents_get403response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsGet403Response < Internal::Types::Model + field :error, -> { Cloudpdf::Types::DocumentsGet403ResponseError }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/documents_get403response_error.rb b/lib/cloudpdf/types/documents_get403response_error.rb new file mode 100644 index 0000000..af89b7a --- /dev/null +++ b/lib/cloudpdf/types/documents_get403response_error.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..5f53054 --- /dev/null +++ b/lib/cloudpdf/types/documents_get404response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsGet404Response < Internal::Types::Model + field :error, -> { Cloudpdf::Types::DocumentsGet404ResponseError }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/documents_get404response_error.rb b/lib/cloudpdf/types/documents_get404response_error.rb new file mode 100644 index 0000000..f6372d8 --- /dev/null +++ b/lib/cloudpdf/types/documents_get404response_error.rb @@ -0,0 +1,11 @@ +# 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_init200response.rb b/lib/cloudpdf/types/documents_init200response.rb new file mode 100644 index 0000000..f589928 --- /dev/null +++ b/lib/cloudpdf/types/documents_init200response.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsInit200Response < Internal::Types::Model + extend Cloudpdf::Internal::Types::Union + + discriminant :tag + + member -> { Cloudpdf::Types::DocumentsInit200ResponseCreated }, key: "CREATED" + + member -> { Cloudpdf::Types::DocumentsInit200ResponseResumed }, key: "RESUMED" + + member -> { Cloudpdf::Types::DocumentsInit200ResponseDeduped }, key: "DEDUPED" + end + end +end diff --git a/lib/cloudpdf/types/documents_init200response_created.rb b/lib/cloudpdf/types/documents_init200response_created.rb new file mode 100644 index 0000000..aad1773 --- /dev/null +++ b/lib/cloudpdf/types/documents_init200response_created.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsInit200ResponseCreated < Internal::Types::Model + field :document, -> { Cloudpdf::Types::DocumentsInit200ResponseCreatedDocument }, optional: false, nullable: false + + field :upload, -> { Cloudpdf::Types::DocumentsInit200ResponseCreatedUpload }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/documents_init200response_created_document.rb b/lib/cloudpdf/types/documents_init200response_created_document.rb new file mode 100644 index 0000000..b25019b --- /dev/null +++ b/lib/cloudpdf/types/documents_init200response_created_document.rb @@ -0,0 +1,33 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsInit200ResponseCreatedDocument < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :state, -> { Cloudpdf::Types::DocumentsInit200ResponseCreatedDocumentState }, optional: false, nullable: false + + field :base_sha, -> { String }, optional: false, nullable: true, api_name: "baseSha" + + field :storage_size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "storageSizeBytes" + + field :metadata, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: true + + field :idempotency_key, -> { String }, optional: false, nullable: true, api_name: "idempotencyKey" + + field :failure_reason, -> { String }, optional: false, nullable: true, api_name: "failureReason" + + field :thumbnail_state, -> { Cloudpdf::Types::DocumentsInit200ResponseCreatedDocumentThumbnailState }, optional: true, nullable: false, api_name: "thumbnailState" + + field :thumbnail_url, -> { String }, optional: true, nullable: false, api_name: "thumbnailUrl" + + field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" + + field :updated_at, -> { Integer }, optional: false, nullable: false, api_name: "updatedAt" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + end + end +end diff --git a/lib/cloudpdf/types/documents_init200response_created_document_state.rb b/lib/cloudpdf/types/documents_init200response_created_document_state.rb new file mode 100644 index 0000000..51d521f --- /dev/null +++ b/lib/cloudpdf/types/documents_init200response_created_document_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocumentsInit200ResponseCreatedDocumentState + extend Cloudpdf::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + FAILED = "failed" + DELETING = "deleting" + end + end +end diff --git a/lib/cloudpdf/types/documents_init200response_created_document_thumbnail_state.rb b/lib/cloudpdf/types/documents_init200response_created_document_thumbnail_state.rb new file mode 100644 index 0000000..747b20f --- /dev/null +++ b/lib/cloudpdf/types/documents_init200response_created_document_thumbnail_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocumentsInit200ResponseCreatedDocumentThumbnailState + extend Cloudpdf::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + LOCKED = "locked" + FAILED = "failed" + end + end +end diff --git a/lib/cloudpdf/types/documents_init200response_created_upload.rb b/lib/cloudpdf/types/documents_init200response_created_upload.rb new file mode 100644 index 0000000..5c51667 --- /dev/null +++ b/lib/cloudpdf/types/documents_init200response_created_upload.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsInit200ResponseCreatedUpload < Internal::Types::Model + extend Cloudpdf::Internal::Types::Union + + discriminant :kind + + member -> { Cloudpdf::Types::DocumentsInit200ResponseCreatedUploadPresigned }, key: "PRESIGNED" + + member -> { Cloudpdf::Types::DocumentsInit200ResponseCreatedUploadDirect }, key: "DIRECT" + end + end +end diff --git a/lib/cloudpdf/types/documents_init200response_created_upload_direct.rb b/lib/cloudpdf/types/documents_init200response_created_upload_direct.rb new file mode 100644 index 0000000..0604779 --- /dev/null +++ b/lib/cloudpdf/types/documents_init200response_created_upload_direct.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsInit200ResponseCreatedUploadDirect < Internal::Types::Model + field :url, -> { String }, optional: false, nullable: false + + field :key, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/documents_init200response_created_upload_presigned.rb b/lib/cloudpdf/types/documents_init200response_created_upload_presigned.rb new file mode 100644 index 0000000..3e677bb --- /dev/null +++ b/lib/cloudpdf/types/documents_init200response_created_upload_presigned.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsInit200ResponseCreatedUploadPresigned < Internal::Types::Model + field :presigned, -> { Cloudpdf::Types::DocumentsInit200ResponseCreatedUploadPresignedPresigned }, optional: false, nullable: false + + field :key, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/documents_init200response_created_upload_presigned_presigned.rb b/lib/cloudpdf/types/documents_init200response_created_upload_presigned_presigned.rb new file mode 100644 index 0000000..98270e8 --- /dev/null +++ b/lib/cloudpdf/types/documents_init200response_created_upload_presigned_presigned.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsInit200ResponseCreatedUploadPresignedPresigned < Internal::Types::Model + field :url, -> { String }, optional: false, nullable: false + + field :headers, -> { Internal::Types::Hash[String, String] }, optional: false, nullable: false + + field :method_, -> { Cloudpdf::Types::DocumentsInit200ResponseCreatedUploadPresignedPresignedMethod }, optional: false, nullable: false, api_name: "method" + + field :expires_at, -> { Integer }, optional: false, nullable: false, api_name: "expiresAt" + end + end +end diff --git a/lib/cloudpdf/types/documents_init200response_created_upload_presigned_presigned_method.rb b/lib/cloudpdf/types/documents_init200response_created_upload_presigned_presigned_method.rb new file mode 100644 index 0000000..9a1488e --- /dev/null +++ b/lib/cloudpdf/types/documents_init200response_created_upload_presigned_presigned_method.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocumentsInit200ResponseCreatedUploadPresignedPresignedMethod + extend Cloudpdf::Internal::Types::Enum + + PUT = "PUT" + end + end +end diff --git a/lib/cloudpdf/types/documents_init200response_deduped.rb b/lib/cloudpdf/types/documents_init200response_deduped.rb new file mode 100644 index 0000000..9bbe47c --- /dev/null +++ b/lib/cloudpdf/types/documents_init200response_deduped.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsInit200ResponseDeduped < Internal::Types::Model + field :document, -> { Cloudpdf::Types::DocumentsInit200ResponseDedupedDocument }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/documents_init200response_deduped_document.rb b/lib/cloudpdf/types/documents_init200response_deduped_document.rb new file mode 100644 index 0000000..a83d60d --- /dev/null +++ b/lib/cloudpdf/types/documents_init200response_deduped_document.rb @@ -0,0 +1,33 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsInit200ResponseDedupedDocument < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :state, -> { Cloudpdf::Types::DocumentsInit200ResponseDedupedDocumentState }, optional: false, nullable: false + + field :base_sha, -> { String }, optional: false, nullable: true, api_name: "baseSha" + + field :storage_size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "storageSizeBytes" + + field :metadata, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: true + + field :idempotency_key, -> { String }, optional: false, nullable: true, api_name: "idempotencyKey" + + field :failure_reason, -> { String }, optional: false, nullable: true, api_name: "failureReason" + + field :thumbnail_state, -> { Cloudpdf::Types::DocumentsInit200ResponseDedupedDocumentThumbnailState }, optional: true, nullable: false, api_name: "thumbnailState" + + field :thumbnail_url, -> { String }, optional: true, nullable: false, api_name: "thumbnailUrl" + + field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" + + field :updated_at, -> { Integer }, optional: false, nullable: false, api_name: "updatedAt" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + end + end +end diff --git a/lib/cloudpdf/types/documents_init200response_deduped_document_state.rb b/lib/cloudpdf/types/documents_init200response_deduped_document_state.rb new file mode 100644 index 0000000..0b211c4 --- /dev/null +++ b/lib/cloudpdf/types/documents_init200response_deduped_document_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocumentsInit200ResponseDedupedDocumentState + extend Cloudpdf::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + FAILED = "failed" + DELETING = "deleting" + end + end +end diff --git a/lib/cloudpdf/types/documents_init200response_deduped_document_thumbnail_state.rb b/lib/cloudpdf/types/documents_init200response_deduped_document_thumbnail_state.rb new file mode 100644 index 0000000..76b1a6a --- /dev/null +++ b/lib/cloudpdf/types/documents_init200response_deduped_document_thumbnail_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocumentsInit200ResponseDedupedDocumentThumbnailState + extend Cloudpdf::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + LOCKED = "locked" + FAILED = "failed" + end + end +end diff --git a/lib/cloudpdf/types/documents_init200response_resumed.rb b/lib/cloudpdf/types/documents_init200response_resumed.rb new file mode 100644 index 0000000..bc6a6c5 --- /dev/null +++ b/lib/cloudpdf/types/documents_init200response_resumed.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsInit200ResponseResumed < Internal::Types::Model + field :document, -> { Cloudpdf::Types::DocumentsInit200ResponseResumedDocument }, optional: false, nullable: false + + field :upload, -> { Cloudpdf::Types::DocumentsInit200ResponseResumedUpload }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/documents_init200response_resumed_document.rb b/lib/cloudpdf/types/documents_init200response_resumed_document.rb new file mode 100644 index 0000000..64912ff --- /dev/null +++ b/lib/cloudpdf/types/documents_init200response_resumed_document.rb @@ -0,0 +1,33 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsInit200ResponseResumedDocument < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :state, -> { Cloudpdf::Types::DocumentsInit200ResponseResumedDocumentState }, optional: false, nullable: false + + field :base_sha, -> { String }, optional: false, nullable: true, api_name: "baseSha" + + field :storage_size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "storageSizeBytes" + + field :metadata, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: true + + field :idempotency_key, -> { String }, optional: false, nullable: true, api_name: "idempotencyKey" + + field :failure_reason, -> { String }, optional: false, nullable: true, api_name: "failureReason" + + field :thumbnail_state, -> { Cloudpdf::Types::DocumentsInit200ResponseResumedDocumentThumbnailState }, optional: true, nullable: false, api_name: "thumbnailState" + + field :thumbnail_url, -> { String }, optional: true, nullable: false, api_name: "thumbnailUrl" + + field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" + + field :updated_at, -> { Integer }, optional: false, nullable: false, api_name: "updatedAt" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + end + end +end diff --git a/lib/cloudpdf/types/documents_init200response_resumed_document_state.rb b/lib/cloudpdf/types/documents_init200response_resumed_document_state.rb new file mode 100644 index 0000000..ffa5718 --- /dev/null +++ b/lib/cloudpdf/types/documents_init200response_resumed_document_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocumentsInit200ResponseResumedDocumentState + extend Cloudpdf::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + FAILED = "failed" + DELETING = "deleting" + end + end +end diff --git a/lib/cloudpdf/types/documents_init200response_resumed_document_thumbnail_state.rb b/lib/cloudpdf/types/documents_init200response_resumed_document_thumbnail_state.rb new file mode 100644 index 0000000..1799a19 --- /dev/null +++ b/lib/cloudpdf/types/documents_init200response_resumed_document_thumbnail_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocumentsInit200ResponseResumedDocumentThumbnailState + extend Cloudpdf::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + LOCKED = "locked" + FAILED = "failed" + end + end +end diff --git a/lib/cloudpdf/types/documents_init200response_resumed_upload.rb b/lib/cloudpdf/types/documents_init200response_resumed_upload.rb new file mode 100644 index 0000000..f5a132f --- /dev/null +++ b/lib/cloudpdf/types/documents_init200response_resumed_upload.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsInit200ResponseResumedUpload < Internal::Types::Model + extend Cloudpdf::Internal::Types::Union + + discriminant :kind + + member -> { Cloudpdf::Types::DocumentsInit200ResponseResumedUploadPresigned }, key: "PRESIGNED" + + member -> { Cloudpdf::Types::DocumentsInit200ResponseResumedUploadDirect }, key: "DIRECT" + end + end +end diff --git a/lib/cloudpdf/types/documents_init200response_resumed_upload_direct.rb b/lib/cloudpdf/types/documents_init200response_resumed_upload_direct.rb new file mode 100644 index 0000000..cf214fc --- /dev/null +++ b/lib/cloudpdf/types/documents_init200response_resumed_upload_direct.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsInit200ResponseResumedUploadDirect < Internal::Types::Model + field :url, -> { String }, optional: false, nullable: false + + field :key, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/documents_init200response_resumed_upload_presigned.rb b/lib/cloudpdf/types/documents_init200response_resumed_upload_presigned.rb new file mode 100644 index 0000000..d5f3e51 --- /dev/null +++ b/lib/cloudpdf/types/documents_init200response_resumed_upload_presigned.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsInit200ResponseResumedUploadPresigned < Internal::Types::Model + field :presigned, -> { Cloudpdf::Types::DocumentsInit200ResponseResumedUploadPresignedPresigned }, optional: false, nullable: false + + field :key, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/documents_init200response_resumed_upload_presigned_presigned.rb b/lib/cloudpdf/types/documents_init200response_resumed_upload_presigned_presigned.rb new file mode 100644 index 0000000..60e6d2c --- /dev/null +++ b/lib/cloudpdf/types/documents_init200response_resumed_upload_presigned_presigned.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsInit200ResponseResumedUploadPresignedPresigned < Internal::Types::Model + field :url, -> { String }, optional: false, nullable: false + + field :headers, -> { Internal::Types::Hash[String, String] }, optional: false, nullable: false + + field :method_, -> { Cloudpdf::Types::DocumentsInit200ResponseResumedUploadPresignedPresignedMethod }, optional: false, nullable: false, api_name: "method" + + field :expires_at, -> { Integer }, optional: false, nullable: false, api_name: "expiresAt" + end + end +end diff --git a/lib/cloudpdf/types/documents_init200response_resumed_upload_presigned_presigned_method.rb b/lib/cloudpdf/types/documents_init200response_resumed_upload_presigned_presigned_method.rb new file mode 100644 index 0000000..2147809 --- /dev/null +++ b/lib/cloudpdf/types/documents_init200response_resumed_upload_presigned_presigned_method.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocumentsInit200ResponseResumedUploadPresignedPresignedMethod + extend Cloudpdf::Internal::Types::Enum + + PUT = "PUT" + end + end +end diff --git a/lib/cloudpdf/types/documents_init400response.rb b/lib/cloudpdf/types/documents_init400response.rb new file mode 100644 index 0000000..156057c --- /dev/null +++ b/lib/cloudpdf/types/documents_init400response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsInit400Response < Internal::Types::Model + field :error, -> { Cloudpdf::Types::DocumentsInit400ResponseError }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/documents_init400response_error.rb b/lib/cloudpdf/types/documents_init400response_error.rb new file mode 100644 index 0000000..4c6fbf0 --- /dev/null +++ b/lib/cloudpdf/types/documents_init400response_error.rb @@ -0,0 +1,11 @@ +# 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_list200response.rb b/lib/cloudpdf/types/documents_list200response.rb new file mode 100644 index 0000000..1c2acdf --- /dev/null +++ b/lib/cloudpdf/types/documents_list200response.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsList200Response < Internal::Types::Model + field :documents, -> { Internal::Types::Array[Cloudpdf::Types::DocumentsList200ResponseDocumentsItem] }, optional: false, nullable: false + + field :next_cursor, -> { String }, optional: true, nullable: false, api_name: "nextCursor" + end + end +end diff --git a/lib/cloudpdf/types/documents_list200response_documents_item.rb b/lib/cloudpdf/types/documents_list200response_documents_item.rb new file mode 100644 index 0000000..abfa702 --- /dev/null +++ b/lib/cloudpdf/types/documents_list200response_documents_item.rb @@ -0,0 +1,33 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsList200ResponseDocumentsItem < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId" + + field :state, -> { Cloudpdf::Types::DocumentsList200ResponseDocumentsItemState }, optional: false, nullable: false + + field :base_sha, -> { String }, optional: false, nullable: true, api_name: "baseSha" + + field :storage_size_bytes, -> { Integer }, optional: false, nullable: true, api_name: "storageSizeBytes" + + field :metadata, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: true + + field :idempotency_key, -> { String }, optional: false, nullable: true, api_name: "idempotencyKey" + + field :failure_reason, -> { String }, optional: false, nullable: true, api_name: "failureReason" + + field :thumbnail_state, -> { Cloudpdf::Types::DocumentsList200ResponseDocumentsItemThumbnailState }, optional: true, nullable: false, api_name: "thumbnailState" + + field :thumbnail_url, -> { String }, optional: true, nullable: false, api_name: "thumbnailUrl" + + field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" + + field :updated_at, -> { Integer }, optional: false, nullable: false, api_name: "updatedAt" + + field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy" + end + end +end diff --git a/lib/cloudpdf/types/documents_list200response_documents_item_state.rb b/lib/cloudpdf/types/documents_list200response_documents_item_state.rb new file mode 100644 index 0000000..37950a9 --- /dev/null +++ b/lib/cloudpdf/types/documents_list200response_documents_item_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocumentsList200ResponseDocumentsItemState + extend Cloudpdf::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + FAILED = "failed" + DELETING = "deleting" + end + end +end diff --git a/lib/cloudpdf/types/documents_list200response_documents_item_thumbnail_state.rb b/lib/cloudpdf/types/documents_list200response_documents_item_thumbnail_state.rb new file mode 100644 index 0000000..d189114 --- /dev/null +++ b/lib/cloudpdf/types/documents_list200response_documents_item_thumbnail_state.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module DocumentsList200ResponseDocumentsItemThumbnailState + extend Cloudpdf::Internal::Types::Enum + + PENDING = "pending" + READY = "ready" + LOCKED = "locked" + FAILED = "failed" + end + end +end diff --git a/lib/cloudpdf/types/documents_list400response.rb b/lib/cloudpdf/types/documents_list400response.rb new file mode 100644 index 0000000..c9c8f23 --- /dev/null +++ b/lib/cloudpdf/types/documents_list400response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsList400Response < Internal::Types::Model + field :error, -> { Cloudpdf::Types::DocumentsList400ResponseError }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/documents_list400response_error.rb b/lib/cloudpdf/types/documents_list400response_error.rb new file mode 100644 index 0000000..0103298 --- /dev/null +++ b/lib/cloudpdf/types/documents_list400response_error.rb @@ -0,0 +1,11 @@ +# 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_thumbnail_response.rb b/lib/cloudpdf/types/documents_thumbnail_response.rb new file mode 100644 index 0000000..d120224 --- /dev/null +++ b/lib/cloudpdf/types/documents_thumbnail_response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsThumbnailResponse < Internal::Types::Model + field :error, -> { Cloudpdf::Types::DocumentsThumbnailResponseError }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/documents_thumbnail_response_error.rb b/lib/cloudpdf/types/documents_thumbnail_response_error.rb new file mode 100644 index 0000000..5f43c39 --- /dev/null +++ b/lib/cloudpdf/types/documents_thumbnail_response_error.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsThumbnailResponseError < Internal::Types::Model + field :code, -> { String }, optional: false, nullable: false + + field :message, -> { String }, optional: false, nullable: false + + field :state, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/documents_upload_direct200response.rb b/lib/cloudpdf/types/documents_upload_direct200response.rb new file mode 100644 index 0000000..2b3fea9 --- /dev/null +++ b/lib/cloudpdf/types/documents_upload_direct200response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsUploadDirect200Response < Internal::Types::Model + field :sha256, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/documents_upload_direct400response.rb b/lib/cloudpdf/types/documents_upload_direct400response.rb new file mode 100644 index 0000000..257a003 --- /dev/null +++ b/lib/cloudpdf/types/documents_upload_direct400response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsUploadDirect400Response < Internal::Types::Model + field :error, -> { Cloudpdf::Types::DocumentsUploadDirect400ResponseError }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/documents_upload_direct400response_error.rb b/lib/cloudpdf/types/documents_upload_direct400response_error.rb new file mode 100644 index 0000000..9b4d37e --- /dev/null +++ b/lib/cloudpdf/types/documents_upload_direct400response_error.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class DocumentsUploadDirect400ResponseError < 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.rb b/lib/cloudpdf/types/engine_error_payload.rb new file mode 100644 index 0000000..6f30029 --- /dev/null +++ b/lib/cloudpdf/types/engine_error_payload.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class EngineErrorPayload < Internal::Types::Model + field :name, -> { Cloudpdf::Types::EngineErrorPayloadName }, optional: false, nullable: false + + field :code, -> { Cloudpdf::Types::EngineErrorPayloadCode }, optional: false, nullable: false + + field :message, -> { String }, optional: false, nullable: false + + field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/engine_error_payload_code.rb b/lib/cloudpdf/types/engine_error_payload_code.rb new file mode 100644 index 0000000..36a6382 --- /dev/null +++ b/lib/cloudpdf/types/engine_error_payload_code.rb @@ -0,0 +1,28 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module EngineErrorPayloadCode + extend Cloudpdf::Internal::Types::Enum + + UNKNOWN = "Unknown" + INVALID_ARG = "InvalidArg" + DOC_NOT_OPEN = "DocNotOpen" + DOC_OPEN_FAILED = "DocOpenFailed" + DOC_PASSWORD_REQUIRED = "DocPasswordRequired" + DOC_PASSWORD_INCORRECT = "DocPasswordIncorrect" + 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" + end + end +end diff --git a/lib/cloudpdf/types/engine_error_payload_name.rb b/lib/cloudpdf/types/engine_error_payload_name.rb new file mode 100644 index 0000000..97ff96e --- /dev/null +++ b/lib/cloudpdf/types/engine_error_payload_name.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module EngineErrorPayloadName + extend Cloudpdf::Internal::Types::Enum + + ENGINE_ERROR = "EngineError" + end + end +end diff --git a/lib/cloudpdf/types/tenants_create200response.rb b/lib/cloudpdf/types/tenants_create200response.rb new file mode 100644 index 0000000..a27ce2b --- /dev/null +++ b/lib/cloudpdf/types/tenants_create200response.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class TenantsCreate200Response < Internal::Types::Model + field :tenant, -> { Cloudpdf::Types::TenantsCreate200ResponseTenant }, optional: false, nullable: false + + field :created, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/tenants_create200response_tenant.rb b/lib/cloudpdf/types/tenants_create200response_tenant.rb new file mode 100644 index 0000000..5bb22d1 --- /dev/null +++ b/lib/cloudpdf/types/tenants_create200response_tenant.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class TenantsCreate200ResponseTenant < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :auto_provisioned, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "autoProvisioned" + + field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" + end + end +end diff --git a/lib/cloudpdf/types/tenants_create400response.rb b/lib/cloudpdf/types/tenants_create400response.rb new file mode 100644 index 0000000..699ae3b --- /dev/null +++ b/lib/cloudpdf/types/tenants_create400response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class TenantsCreate400Response < Internal::Types::Model + field :error, -> { Cloudpdf::Types::TenantsCreate400ResponseError }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/tenants_create400response_error.rb b/lib/cloudpdf/types/tenants_create400response_error.rb new file mode 100644 index 0000000..b7224b4 --- /dev/null +++ b/lib/cloudpdf/types/tenants_create400response_error.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..6997bd2 --- /dev/null +++ b/lib/cloudpdf/types/tenants_delete_response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class TenantsDeleteResponse < Internal::Types::Model + field :error, -> { Cloudpdf::Types::TenantsDeleteResponseError }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/tenants_delete_response_error.rb b/lib/cloudpdf/types/tenants_delete_response_error.rb new file mode 100644 index 0000000..12fc455 --- /dev/null +++ b/lib/cloudpdf/types/tenants_delete_response_error.rb @@ -0,0 +1,11 @@ +# 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_get200response.rb b/lib/cloudpdf/types/tenants_get200response.rb new file mode 100644 index 0000000..d032f75 --- /dev/null +++ b/lib/cloudpdf/types/tenants_get200response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class TenantsGet200Response < Internal::Types::Model + field :tenant, -> { Cloudpdf::Types::TenantsGet200ResponseTenant }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/tenants_get200response_tenant.rb b/lib/cloudpdf/types/tenants_get200response_tenant.rb new file mode 100644 index 0000000..e1f8064 --- /dev/null +++ b/lib/cloudpdf/types/tenants_get200response_tenant.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class TenantsGet200ResponseTenant < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :auto_provisioned, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "autoProvisioned" + + field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" + end + end +end diff --git a/lib/cloudpdf/types/tenants_get404response.rb b/lib/cloudpdf/types/tenants_get404response.rb new file mode 100644 index 0000000..c988a54 --- /dev/null +++ b/lib/cloudpdf/types/tenants_get404response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class TenantsGet404Response < Internal::Types::Model + field :error, -> { Cloudpdf::Types::TenantsGet404ResponseError }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/tenants_get404response_error.rb b/lib/cloudpdf/types/tenants_get404response_error.rb new file mode 100644 index 0000000..e6c4cb4 --- /dev/null +++ b/lib/cloudpdf/types/tenants_get404response_error.rb @@ -0,0 +1,11 @@ +# 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_list200response.rb b/lib/cloudpdf/types/tenants_list200response.rb new file mode 100644 index 0000000..3d8da80 --- /dev/null +++ b/lib/cloudpdf/types/tenants_list200response.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class TenantsList200Response < Internal::Types::Model + field :tenants, -> { Internal::Types::Array[Cloudpdf::Types::TenantsList200ResponseTenantsItem] }, optional: false, nullable: false + + field :next_cursor, -> { String }, optional: true, nullable: false, api_name: "nextCursor" + end + end +end diff --git a/lib/cloudpdf/types/tenants_list200response_tenants_item.rb b/lib/cloudpdf/types/tenants_list200response_tenants_item.rb new file mode 100644 index 0000000..ab4c49a --- /dev/null +++ b/lib/cloudpdf/types/tenants_list200response_tenants_item.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class TenantsList200ResponseTenantsItem < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :auto_provisioned, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "autoProvisioned" + + field :created_at, -> { Integer }, optional: false, nullable: false, api_name: "createdAt" + end + end +end diff --git a/lib/cloudpdf/types/tenants_list400response.rb b/lib/cloudpdf/types/tenants_list400response.rb new file mode 100644 index 0000000..d926791 --- /dev/null +++ b/lib/cloudpdf/types/tenants_list400response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class TenantsList400Response < Internal::Types::Model + field :error, -> { Cloudpdf::Types::TenantsList400ResponseError }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/tenants_list400response_error.rb b/lib/cloudpdf/types/tenants_list400response_error.rb new file mode 100644 index 0000000..27f7542 --- /dev/null +++ b/lib/cloudpdf/types/tenants_list400response_error.rb @@ -0,0 +1,11 @@ +# 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/tokens_issue200response.rb b/lib/cloudpdf/types/tokens_issue200response.rb new file mode 100644 index 0000000..603b358 --- /dev/null +++ b/lib/cloudpdf/types/tokens_issue200response.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class TokensIssue200Response < Internal::Types::Model + field :token, -> { String }, optional: false, nullable: false + + field :jti, -> { String }, optional: false, nullable: false + + field :expires_at, -> { Integer }, optional: false, nullable: false, api_name: "expiresAt" + end + end +end diff --git a/lib/cloudpdf/types/tokens_issue400response.rb b/lib/cloudpdf/types/tokens_issue400response.rb new file mode 100644 index 0000000..b090313 --- /dev/null +++ b/lib/cloudpdf/types/tokens_issue400response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class TokensIssue400Response < Internal::Types::Model + field :error, -> { Cloudpdf::Types::TokensIssue400ResponseError }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/tokens_issue400response_error.rb b/lib/cloudpdf/types/tokens_issue400response_error.rb new file mode 100644 index 0000000..32901a5 --- /dev/null +++ b/lib/cloudpdf/types/tokens_issue400response_error.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..daef50d --- /dev/null +++ b/lib/cloudpdf/types/tokens_issue403response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class TokensIssue403Response < Internal::Types::Model + field :error, -> { Cloudpdf::Types::TokensIssue403ResponseError }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/tokens_issue403response_error.rb b/lib/cloudpdf/types/tokens_issue403response_error.rb new file mode 100644 index 0000000..30a935b --- /dev/null +++ b/lib/cloudpdf/types/tokens_issue403response_error.rb @@ -0,0 +1,11 @@ +# 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 new file mode 100644 index 0000000..463fe3a --- /dev/null +++ b/lib/cloudpdf/types/tokens_issue404response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class TokensIssue404Response < Internal::Types::Model + field :error, -> { Cloudpdf::Types::TokensIssue404ResponseError }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/tokens_issue404response_error.rb b/lib/cloudpdf/types/tokens_issue404response_error.rb new file mode 100644 index 0000000..8b6be68 --- /dev/null +++ b/lib/cloudpdf/types/tokens_issue404response_error.rb @@ -0,0 +1,11 @@ +# 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.rb b/lib/cloudpdf/types/tokens_issue_request.rb new file mode 100644 index 0000000..6a7328a --- /dev/null +++ b/lib/cloudpdf/types/tokens_issue_request.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class TokensIssueRequest < Internal::Types::Model + extend Cloudpdf::Internal::Types::Union + + discriminant :kind + + member -> { Cloudpdf::Types::TokensIssueRequestDoc }, key: "DOC" + + member -> { Cloudpdf::Types::TokensIssueRequestTenant }, key: "TENANT" + end + end +end diff --git a/lib/cloudpdf/types/tokens_issue_request_doc.rb b/lib/cloudpdf/types/tokens_issue_request_doc.rb new file mode 100644 index 0000000..296ca05 --- /dev/null +++ b/lib/cloudpdf/types/tokens_issue_request_doc.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class TokensIssueRequestDoc < Internal::Types::Model + field :sub, -> { String }, optional: false, nullable: false + + field :doc_id, -> { String }, optional: false, nullable: false, api_name: "docId" + + field :layer_name, -> { String }, optional: true, nullable: false, api_name: "layerName" + + 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 :expires_in, -> { Integer }, optional: false, nullable: false, api_name: "expiresIn" + end + end +end diff --git a/lib/cloudpdf/types/tokens_issue_request_tenant.rb b/lib/cloudpdf/types/tokens_issue_request_tenant.rb new file mode 100644 index 0000000..2f36aed --- /dev/null +++ b/lib/cloudpdf/types/tokens_issue_request_tenant.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class TokensIssueRequestTenant < Internal::Types::Model + field :sub, -> { String }, optional: false, nullable: false + + field :scope, -> { Internal::Types::Array[Cloudpdf::Types::TokensIssueRequestTenantScopeItem] }, optional: false, nullable: false + + field :expires_in, -> { Integer }, optional: false, nullable: false, api_name: "expiresIn" + end + end +end diff --git a/lib/cloudpdf/types/tokens_issue_request_tenant_scope_item.rb b/lib/cloudpdf/types/tokens_issue_request_tenant_scope_item.rb new file mode 100644 index 0000000..666b41a --- /dev/null +++ b/lib/cloudpdf/types/tokens_issue_request_tenant_scope_item.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class TokensIssueRequestTenantScopeItem < Internal::Types::Model + extend Cloudpdf::Internal::Types::Union + + member -> { Cloudpdf::Types::TokensIssueRequestTenantScopeItemZero } + + member -> { Cloudpdf::Types::TokensIssueRequestTenantScopeItemOne } + end + end +end diff --git a/lib/cloudpdf/types/tokens_issue_request_tenant_scope_item_one.rb b/lib/cloudpdf/types/tokens_issue_request_tenant_scope_item_one.rb new file mode 100644 index 0000000..1e4ba51 --- /dev/null +++ b/lib/cloudpdf/types/tokens_issue_request_tenant_scope_item_one.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module TokensIssueRequestTenantScopeItemOne + extend Cloudpdf::Internal::Types::Enum + + DOCS_CREATE = "docs.create" + DOCS_READ = "docs.read" + DOCS_DELETE = "docs.delete" + TOKENS_ISSUE_DOC = "tokens.issue-doc" + TOKENS_REVOKE = "tokens.revoke" + end + end +end diff --git a/lib/cloudpdf/types/tokens_issue_request_tenant_scope_item_zero.rb b/lib/cloudpdf/types/tokens_issue_request_tenant_scope_item_zero.rb new file mode 100644 index 0000000..963077b --- /dev/null +++ b/lib/cloudpdf/types/tokens_issue_request_tenant_scope_item_zero.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + module TokensIssueRequestTenantScopeItemZero + extend Cloudpdf::Internal::Types::Enum + + ALL = "*" + end + end +end diff --git a/lib/cloudpdf/types/tokens_revoke_response.rb b/lib/cloudpdf/types/tokens_revoke_response.rb new file mode 100644 index 0000000..72e163c --- /dev/null +++ b/lib/cloudpdf/types/tokens_revoke_response.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Cloudpdf + module Types + class TokensRevokeResponse < Internal::Types::Model + field :error, -> { Cloudpdf::Types::TokensRevokeResponseError }, optional: false, nullable: false + end + end +end diff --git a/lib/cloudpdf/types/tokens_revoke_response_error.rb b/lib/cloudpdf/types/tokens_revoke_response_error.rb new file mode 100644 index 0000000..1c79ada --- /dev/null +++ b/lib/cloudpdf/types/tokens_revoke_response_error.rb @@ -0,0 +1,11 @@ +# 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/version.rb b/lib/cloudpdf/version.rb new file mode 100644 index 0000000..63216ee --- /dev/null +++ b/lib/cloudpdf/version.rb @@ -0,0 +1,5 @@ +# frozen_string_literal: true + +module Cloudpdf + VERSION = "3.0.0.alpha.0" +end diff --git a/reference.md b/reference.md new file mode 100644 index 0000000..22c97dd --- /dev/null +++ b/reference.md @@ -0,0 +1,2470 @@ +# Reference +## Deployment +
client.deployment.license_status() -> Cloudpdf::Types::DeploymentLicenseStatusResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.deployment.license_status +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request_options:** `Cloudpdf::Deployment::RequestOptions` + +
+
+
+
+ + +
+
+
+ +## Doc +
client.doc.head(doc_id:) -> Cloudpdf::Types::DocHead200Response +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.doc.head(doc_id: "docId") +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**doc_id:** `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::RequestOptions` + +
+
+
+
+ + +
+
+
+ +
client.doc.download(doc_id:, layer_name:) -> String +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.doc.download( + 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::RequestOptions` + +
+
+
+
+ + +
+
+
+ +
client.doc.manifest(doc_id:, layer_name:) -> Cloudpdf::Types::DocManifest200Response +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.doc.manifest( + 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::RequestOptions` + +
+
+
+
+ + +
+
+
+ +
client.doc.render(doc_id:, layer_name:, pon:) -> String +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Render parameters (viewport, format) pass as flat dotted query keys, e.g. `?viewport.kind=width&viewport.width=800`; the full grammar is documented with the viewer. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.doc.render( + doc_id: "docId", + layer_name: "layerName", + pon: 1 +) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**doc_id:** `String` + +
+
+ +
+
+ +**layer_name:** `String` + +
+
+ +
+
+ +**pon:** `Integer` + +
+
+ +
+
+ +**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::RequestOptions` + +
+
+
+
+ + +
+
+
+ +
client.doc.text(doc_id:, layer_name:, pon:) -> Cloudpdf::Types::DocText200Response +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.doc.text( + doc_id: "docId", + layer_name: "layerName", + pon: 1 +) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**doc_id:** `String` + +
+
+ +
+
+ +**layer_name:** `String` + +
+
+ +
+
+ +**pon:** `Integer` + +
+
+ +
+
+ +**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::RequestOptions` + +
+
+
+
+ + +
+
+
+ +## Tenants +
client.tenants.list() -> Cloudpdf::Types::TenantsList200Response +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.tenants.list +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**limit:** `Integer` + +
+
+ +
+
+ +**cursor:** `String` + +
+
+ +
+
+ +**request_options:** `Cloudpdf::Tenants::RequestOptions` + +
+
+
+
+ + +
+
+
+ +
client.tenants.create(request) -> Cloudpdf::Types::TenantsCreate200Response +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.tenants.create(id: "id") +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `String` + +
+
+ +
+
+ +**name:** `String` + +
+
+ +
+
+ +**request_options:** `Cloudpdf::Tenants::RequestOptions` + +
+
+
+
+ + +
+
+
+ +
client.tenants.get(tenant_id:) -> Cloudpdf::Types::TenantsGet200Response +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.tenants.get(tenant_id: "tenantId") +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**tenant_id:** `String` + +
+
+ +
+
+ +**request_options:** `Cloudpdf::Tenants::RequestOptions` + +
+
+
+
+ + +
+
+
+ +
client.tenants.delete(tenant_id:) -> +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Destroys the tenant and everything in its namespace — documents, layers, stored bytes, audit history. Irreversible. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.tenants.delete(tenant_id: "tenantId") +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**tenant_id:** `String` + +
+
+ +
+
+ +**request_options:** `Cloudpdf::Tenants::RequestOptions` + +
+
+
+
+ + +
+
+
+ +## Documents +
client.documents.list(tenant_id:) -> Cloudpdf::Types::DocumentsList200Response +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.documents.list(tenant_id: "tenantId") +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**tenant_id:** `String` + +
+
+ +
+
+ +**limit:** `Integer` + +
+
+ +
+
+ +**cursor:** `String` + +
+
+ +
+
+ +**state:** `Cloudpdf::Documents::Types::ListDocumentsRequestState` + +
+
+ +
+
+ +**request_options:** `Cloudpdf::Documents::RequestOptions` + +
+
+
+
+ + +
+
+
+ +
client.documents.get(tenant_id:, id:) -> Cloudpdf::Types::DocumentsGet200Response +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.documents.get( + tenant_id: "tenantId", + id: "id" +) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**tenant_id:** `String` + +
+
+ +
+
+ +**id:** `String` + +
+
+ +
+
+ +**request_options:** `Cloudpdf::Documents::RequestOptions` + +
+
+
+
+ + +
+
+
+ +
client.documents.delete(tenant_id:, id:) -> +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.documents.delete( + tenant_id: "tenantId", + id: "id" +) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**tenant_id:** `String` + +
+
+ +
+
+ +**id:** `String` + +
+
+ +
+
+ +**request_options:** `Cloudpdf::Documents::RequestOptions` + +
+
+
+
+ + +
+
+
+ +
client.documents.commit(tenant_id:, id:, request) -> Cloudpdf::Types::DocumentsCommit200Response +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.documents.commit( + tenant_id: "tenantId", + id: "id", + sha256: "sha256" +) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**tenant_id:** `String` + +
+
+ +
+
+ +**id:** `String` + +
+
+ +
+
+ +**sha256:** `String` + +
+
+ +
+
+ +**request_options:** `Cloudpdf::Documents::RequestOptions` + +
+
+
+
+ + +
+
+
+ +
client.documents.download(tenant_id:, id:) -> String +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.documents.download( + tenant_id: "tenantId", + id: "id" +) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**tenant_id:** `String` + +
+
+ +
+
+ +**id:** `String` + +
+
+ +
+
+ +**request_options:** `Cloudpdf::Documents::RequestOptions` + +
+
+
+
+ + +
+
+
+ +
client.documents.thumbnail(tenant_id:, id:) -> String +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.documents.thumbnail( + tenant_id: "tenantId", + id: "id" +) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**tenant_id:** `String` + +
+
+ +
+
+ +**id:** `String` + +
+
+ +
+
+ +**request_options:** `Cloudpdf::Documents::RequestOptions` + +
+
+
+
+ + +
+
+
+ +
client.documents.init(tenant_id:, request) -> Cloudpdf::Types::DocumentsInit200Response +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.documents.init( + tenant_id: "tenantId", + content_length: 1.1, + content_sha256: "contentSha256" +) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**tenant_id:** `String` + +
+
+ +
+
+ +**content_length:** `Integer` + +
+
+ +
+
+ +**content_sha256:** `String` + +
+
+ +
+
+ +**metadata:** `Internal::Types::Hash[String, Object]` + +
+
+ +
+
+ +**idempotency_key:** `String` + +
+
+ +
+
+ +**dedup_mode:** `Cloudpdf::Documents::Types::DocumentsInitRequestDedupMode` + +
+
+ +
+
+ +**doc_id:** `String` + +
+
+ +
+
+ +**upload_ttl_sec:** `Integer` + +
+
+ +
+
+ +**request_options:** `Cloudpdf::Documents::RequestOptions` + +
+
+
+
+ + +
+
+
+ +## Tokens +
client.tokens.issue(tenant_id:, request) -> Cloudpdf::Types::TokensIssue200Response +
+
+ +#### 📝 Description + +
+
+ +
+
+ +kind "tenant" requires the API token — authority mints only downward. Mounted only when the deployment can sign (HS256 mode); asymmetric deployments mint with their own private key. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.tokens.issue(tenant_id: "tenantId") +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**tenant_id:** `String` + +
+
+ +
+
+ +**request:** `Cloudpdf::Types::TokensIssueRequest` + +
+
+ +
+
+ +**request_options:** `Cloudpdf::Tokens::RequestOptions` + +
+
+
+
+ + +
+
+
+ +
client.tokens.revoke(tenant_id:, jti:, request) -> +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Mounted only when the deployment enables token revocation. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.tokens.revoke( + tenant_id: "tenantId", + jti: "jti" +) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**tenant_id:** `String` + +
+
+ +
+
+ +**jti:** `String` + +
+
+ +
+
+ +**reason:** `String` + +
+
+ +
+
+ +**expires_at_seconds:** `Integer` + +
+
+ +
+
+ +**request_options:** `Cloudpdf::Tokens::RequestOptions` + +
+
+
+
+ + +
+
+
+ +## Doc Annotations +
client.doc.annotations.list(doc_id:, layer_name:, pon:) -> Cloudpdf::Types::DocAnnotationsList200Response +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.doc.annotations.list( + doc_id: "docId", + layer_name: "layerName", + pon: 1 +) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**doc_id:** `String` + +
+
+ +
+
+ +**layer_name:** `String` + +
+
+ +
+
+ +**pon:** `Integer` + +
+
+ +
+
+ +**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::Annotations::RequestOptions` + +
+
+
+
+ + +
+
+
+ +
client.doc.annotations.create(doc_id:, layer_name:, pon:, request) -> Cloudpdf::Types::DocAnnotationsCreate200Response +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Doc JWTs may instead carry collab scopes (annotations:create:self, …) that refine per-annotation authorship rules; the API token is exempt from both. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.doc.annotations.create( + doc_id: "docId", + layer_name: "layerName", + pon: 1, + request: { + key: "value" + } +) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**doc_id:** `String` + +
+
+ +
+
+ +**layer_name:** `String` + +
+
+ +
+
+ +**pon:** `Integer` + +
+
+ +
+
+ +**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:** `Internal::Types::Hash[String, Object]` + +
+
+ +
+
+ +**request_options:** `Cloudpdf::Doc::Annotations::RequestOptions` + +
+
+
+
+ + +
+
+
+ +
client.doc.annotations.delete(doc_id:, layer_name:, pon:, annot_key:) -> Cloudpdf::Types::DocAnnotationsDelete200Response +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.doc.annotations.delete( + doc_id: "docId", + layer_name: "layerName", + pon: 1, + annot_key: "annotKey" +) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**doc_id:** `String` + +
+
+ +
+
+ +**layer_name:** `String` + +
+
+ +
+
+ +**pon:** `Integer` + +
+
+ +
+
+ +**annot_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. + +
+
+ +
+
+ +**request_options:** `Cloudpdf::Doc::Annotations::RequestOptions` + +
+
+
+
+ + +
+
+
+ +
client.doc.annotations.update(doc_id:, layer_name:, pon:, annot_key:, request) -> Cloudpdf::Types::DocAnnotationsUpdate200Response +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.doc.annotations.update( + doc_id: "docId", + layer_name: "layerName", + pon: 1, + annot_key: "annotKey", + request: { + key: "value" + } +) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**doc_id:** `String` + +
+
+ +
+
+ +**layer_name:** `String` + +
+
+ +
+
+ +**pon:** `Integer` + +
+
+ +
+
+ +**annot_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. + +
+
+ +
+
+ +**request:** `Internal::Types::Hash[String, Object]` + +
+
+ +
+
+ +**request_options:** `Cloudpdf::Doc::Annotations::RequestOptions` + +
+
+
+
+ + +
+
+
+ +## Doc Forms +
client.doc.forms.get(doc_id:, layer_name:) -> Cloudpdf::Types::DocFormsGet200Response +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.doc.forms.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::Forms::RequestOptions` + +
+
+
+
+ + +
+
+
+ +
client.doc.forms.export_data(doc_id:, layer_name:) -> String +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.doc.forms.export_data( + doc_id: "docId", + layer_name: "layerName" +) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**doc_id:** `String` + +
+
+ +
+
+ +**layer_name:** `String` + +
+
+ +
+
+ +**format:** `Cloudpdf::Doc::Forms::Types::ExportDataFormsRequestFormat` + +
+
+ +
+
+ +**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::Forms::RequestOptions` + +
+
+
+
+ + +
+
+
+ +
client.doc.forms.import_data(doc_id:, layer_name:, request) -> Cloudpdf::Types::DocFormsImportData200Response +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.doc.forms.import_data( + doc_id: "docId", + layer_name: "layerName", + request: { + key: "value" + } +) +``` +
+
+
+
+ +#### ⚙️ 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:** `Internal::Types::Hash[String, Object]` + +
+
+ +
+
+ +**request_options:** `Cloudpdf::Doc::Forms::RequestOptions` + +
+
+
+
+ + +
+
+
+ +
client.doc.forms.reset(doc_id:, layer_name:, field_key:) -> Cloudpdf::Types::DocFormsReset200Response +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.doc.forms.reset( + doc_id: "docId", + layer_name: "layerName", + field_key: "fieldKey" +) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**doc_id:** `String` + +
+
+ +
+
+ +**layer_name:** `String` + +
+
+ +
+
+ +**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. + +
+
+ +
+
+ +**request_options:** `Cloudpdf::Doc::Forms::RequestOptions` + +
+
+
+
+ + +
+
+
+ +
client.doc.forms.set_value(doc_id:, layer_name:, field_key:, request) -> Cloudpdf::Types::DocFormsSetValue200Response +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.doc.forms.set_value( + doc_id: "docId", + layer_name: "layerName", + field_key: "fieldKey", + request: { + key: "value" + } +) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**doc_id:** `String` + +
+
+ +
+
+ +**layer_name:** `String` + +
+
+ +
+
+ +**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. + +
+
+ +
+
+ +**request:** `Internal::Types::Hash[String, Object]` + +
+
+ +
+
+ +**request_options:** `Cloudpdf::Doc::Forms::RequestOptions` + +
+
+
+
+ + +
+
+
+ +## Doc Metadata +
client.doc.metadata.get(doc_id:, layer_name:) -> Cloudpdf::Types::DocMetadataGet200Response +
+
+ +#### 🔌 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.delete(doc_id:, layer_name:, request) -> Cloudpdf::Types::DocPagesDelete200Response +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.doc.pages.delete( + doc_id: "docId", + layer_name: "layerName", + request: { + key: "value" + } +) +``` +
+
+
+
+ +#### ⚙️ 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:** `Internal::Types::Hash[String, Object]` + +
+
+ +
+
+ +**request_options:** `Cloudpdf::Doc::Pages::RequestOptions` + +
+
+
+
+ + +
+
+
+ +
client.doc.pages.flatten(doc_id:, layer_name:, request) -> Cloudpdf::Types::DocPagesFlatten200Response +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.doc.pages.flatten( + doc_id: "docId", + layer_name: "layerName", + request: { + key: "value" + } +) +``` +
+
+
+
+ +#### ⚙️ 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:** `Internal::Types::Hash[String, Object]` + +
+
+ +
+
+ +**request_options:** `Cloudpdf::Doc::Pages::RequestOptions` + +
+
+
+
+ + +
+
+
+ +
client.doc.pages.move(doc_id:, layer_name:, request) -> Cloudpdf::Types::DocPagesMove200Response +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.doc.pages.move( + doc_id: "docId", + layer_name: "layerName", + request: { + key: "value" + } +) +``` +
+
+
+
+ +#### ⚙️ 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:** `Internal::Types::Hash[String, Object]` + +
+
+ +
+
+ +**request_options:** `Cloudpdf::Doc::Pages::RequestOptions` + +
+
+
+
+ + +
+
+
+ +
client.doc.pages.rotate(doc_id:, layer_name:, request) -> Cloudpdf::Types::DocPagesRotate200Response +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.doc.pages.rotate( + doc_id: "docId", + layer_name: "layerName", + request: { + key: "value" + } +) +``` +
+
+
+
+ +#### ⚙️ 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:** `Internal::Types::Hash[String, Object]` + +
+
+ +
+
+ +**request_options:** `Cloudpdf::Doc::Pages::RequestOptions` + +
+
+
+
+ + +
+
+
+ +## Doc Redactions +
client.doc.redactions.apply(doc_id:, layer_name:, request) -> Cloudpdf::Types::DocRedactionsApply200Response +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.doc.redactions.apply( + doc_id: "docId", + layer_name: "layerName", + request: { + key: "value" + } +) +``` +
+
+
+
+ +#### ⚙️ 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:** `Internal::Types::Hash[String, Object]` + +
+
+ +
+
+ +**request_options:** `Cloudpdf::Doc::Redactions::RequestOptions` + +
+
+
+
+ + +
+
+
+ diff --git a/test/custom.test.rb b/test/custom.test.rb new file mode 100644 index 0000000..4bd5798 --- /dev/null +++ b/test/custom.test.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +# This is a custom test file, if you wish to add more tests +# to your SDK. +# Be sure to mark this file in `.fernignore`. +# +# If you include example requests/responses in your fern definition, +# you will have tests automatically generated for you. + +# This test is run via command line: rake customtest +describe "Custom Test" do + it "Default" do + refute false + end +end diff --git a/test/test_helper.rb b/test/test_helper.rb new file mode 100644 index 0000000..7519f31 --- /dev/null +++ b/test/test_helper.rb @@ -0,0 +1,3 @@ +# frozen_string_literal: true + +require_relative "../lib/cloudpdf" diff --git a/test/unit/internal/http/test_raw_client.rb b/test/unit/internal/http/test_raw_client.rb new file mode 100644 index 0000000..3516466 --- /dev/null +++ b/test/unit/internal/http/test_raw_client.rb @@ -0,0 +1,195 @@ +# frozen_string_literal: true + +require "test_helper" +require "socket" +require "zlib" + +describe Cloudpdf::Internal::Http::RawClient do + def make_response(status_code) + response = Minitest::Mock.new + response.expect(:code, status_code.to_s) + response + end + + describe "#should_retry?" do + let(:client) do + Cloudpdf::Internal::Http::RawClient.new(base_url: "https://example.com", max_retries: 3) + end + + it "retries on 408 Request Timeout" do + assert client.should_retry?(make_response(408), 0) + end + + it "retries on 429 Too Many Requests" do + assert client.should_retry?(make_response(429), 0) + end + + it "retries on retryable 5xx statuses" do + [500, 502, 503, 504, 521, 522, 524].each do |status| + assert client.should_retry?(make_response(status), 0), "expected retry for status #{status}" + end + end + + it "does not retry on non-retryable 5xx statuses" do + [501, 505, 510, 599].each do |status| + refute client.should_retry?(make_response(status), 0), "expected no retry for status #{status}" + end + end + + it "does not retry on 2xx success codes" do + [200, 201, 204].each do |status| + refute client.should_retry?(make_response(status), 0), "expected no retry for status #{status}" + end + end + + it "does not retry on 4xx other than 408 and 429" do + [400, 401, 403, 404, 422].each do |status| + refute client.should_retry?(make_response(status), 0), "expected no retry for status #{status}" + end + end + + it "does not retry when max retries is reached" do + refute client.should_retry?(make_response(502), 3) + end + + it "retries when attempt is below max retries" do + assert client.should_retry?(make_response(502), 2) + end + end + + describe "gzip response decompression" do + it "decompresses a gzip response when Accept-Encoding is set explicitly" do + body = '{"message": "gzipped response"}' + compressed = Zlib.gzip(body) + + server = TCPServer.new("127.0.0.1", 0) + port = server.addr[1] + server_thread = Thread.new do + socket = server.accept + request_lines = [] + while (line = socket.gets) && line != "\r\n" + request_lines << line + end + socket.write("HTTP/1.1 200 OK\r\n") + socket.write("Content-Type: application/json\r\n") + socket.write("Content-Encoding: gzip\r\n") + socket.write("Content-Length: #{compressed.bytesize}\r\n") + socket.write("\r\n") + socket.write(compressed) + socket.close + request_lines + end + + client = Cloudpdf::Internal::Http::RawClient.new( + base_url: "http://127.0.0.1:#{port}", + max_retries: 0 + ) + request = Cloudpdf::Internal::JSON::Request.new( + base_url: "http://127.0.0.1:#{port}", + path: "/gzip", + method: "GET", + headers: { "Accept-Encoding" => "gzip" } + ) + + response = client.send(request) + request_lines = server_thread.value + server.close + + assert(request_lines.any? { |line| line.casecmp("accept-encoding: gzip\r\n").zero? }) + assert_equal "200", response.code + assert_equal body, response.body + end + end + + # A minimal auth provider whose `auth_headers` returns a *different* token on + # each call, simulating a token that is refreshed on expiry. + class RefreshingAuthProvider + def initialize + @count = 0 + end + + def auth_headers + @count += 1 + { "Authorization" => "Bearer TOKEN_#{@count}" } + end + end + + describe "#resolve_auth_headers" do + it "returns an empty hash when no auth provider is configured" do + client = Cloudpdf::Internal::Http::RawClient.new(base_url: "https://example.com") + + assert_equal({}, client.resolve_auth_headers) + end + + it "consults the auth provider on every call so an expired token is refreshed" do + client = Cloudpdf::Internal::Http::RawClient.new( + base_url: "https://example.com", + auth_provider: RefreshingAuthProvider.new + ) + + assert_equal({ "Authorization" => "Bearer TOKEN_1" }, client.resolve_auth_headers) + assert_equal({ "Authorization" => "Bearer TOKEN_2" }, client.resolve_auth_headers) + end + end + + describe "#build_http_request auth header precedence" do + let(:client) do + Cloudpdf::Internal::Http::RawClient.new( + base_url: "https://example.com", + headers: { "Authorization" => "Bearer STATIC" } + ) + end + + it "lets resolved auth headers override the static default headers" do + request = client.build_http_request( + url: URI.parse("https://example.com"), + method: "GET", + auth_headers: { "Authorization" => "Bearer FRESH" } + ) + + assert_equal("Bearer FRESH", request["Authorization"]) + end + + it "lets per-request headers take precedence over auth headers" do + request = client.build_http_request( + url: URI.parse("https://example.com"), + method: "GET", + headers: { "Authorization" => "Bearer PER_REQUEST" }, + auth_headers: { "Authorization" => "Bearer FRESH" } + ) + + assert_equal("Bearer PER_REQUEST", request["Authorization"]) + end + + it "defaults auth headers to empty, leaving the default headers unchanged" do + request = client.build_http_request(url: URI.parse("https://example.com"), method: "GET") + + assert_equal("Bearer STATIC", request["Authorization"]) + end + end + + describe "#protected_header_keys" do + def client_with(overridable_headers) + Cloudpdf::Internal::Http::RawClient.new( + base_url: "https://example.com", + headers: { "X-Api-Version" => "1", "User-Agent" => "sdk/0.0.1" }, + overridable_headers: overridable_headers + ) + end + + it "protects every default header when no header is overridable" do + assert_includes client_with([]).protected_header_keys, "X-Api-Version" + end + + it "leaves an overridable header unprotected so a request can replace it" do + protected_keys = client_with(["X-Api-Version"]).protected_header_keys + + refute_includes protected_keys, "X-Api-Version" + assert_includes protected_keys, "User-Agent" + end + + it "matches overridable header names case-insensitively" do + refute_includes client_with(["x-api-version"]).protected_header_keys, "X-Api-Version" + end + end +end diff --git a/test/unit/internal/iterators/test_cursor_item_iterator.rb b/test/unit/internal/iterators/test_cursor_item_iterator.rb new file mode 100644 index 0000000..95098be --- /dev/null +++ b/test/unit/internal/iterators/test_cursor_item_iterator.rb @@ -0,0 +1,192 @@ +# frozen_string_literal: true + +require "minitest/autorun" +require "stringio" +require "json" +require "test_helper" + +NUMBERS = (1..65).to_a +PageResponse = Struct.new(:cards, :next_cursor, keyword_init: true) + +class CursorItemIteratorTest < Minitest::Test + def make_iterator(initial_cursor:) + @times_called = 0 + + Cloudpdf::Internal::CursorItemIterator.new(initial_cursor:, cursor_field: :next_cursor, item_field: :cards) do |cursor| + @times_called += 1 + cursor ||= 0 + next_cursor = cursor + 10 + PageResponse.new( + cards: NUMBERS[cursor...next_cursor], + next_cursor: next_cursor < NUMBERS.length ? next_cursor : nil + ) + end + end + + def test_item_iterator_can_iterate_to_exhaustion + iterator = make_iterator(initial_cursor: 0) + + assert_equal NUMBERS, iterator.to_a + assert_equal 7, @times_called + + iterator = make_iterator(initial_cursor: 10) + + assert_equal (11..65).to_a, iterator.to_a + + iterator = make_iterator(initial_cursor: 5) + + assert_equal (6..65).to_a, iterator.to_a + end + + def test_item_iterator_can_work_without_an_initial_cursor + iterator = make_iterator(initial_cursor: nil) + + assert_equal NUMBERS, iterator.to_a + assert_equal 7, @times_called + end + + def test_items_iterator_iterates_lazily + iterator = make_iterator(initial_cursor: 0) + + assert_equal 0, @times_called + assert_equal 1, iterator.first + assert_equal 1, @times_called + + iterator = make_iterator(initial_cursor: 0) + + assert_equal 0, @times_called + assert_equal (1..15).to_a, iterator.first(15) + assert_equal 2, @times_called + + iterator = make_iterator(initial_cursor: 0) + + assert_equal 0, @times_called + iterator.each do |card| + break if card >= 15 + end + + assert_equal 2, @times_called + end + + def test_items_iterator_implements_enumerable + iterator = make_iterator(initial_cursor: 0) + + assert_equal 0, @times_called + doubled = iterator.map { |card| card * 2 } + + assert_equal 7, @times_called + assert_equal NUMBERS.length, doubled.length + end + + def test_items_iterator_can_be_advanced_manually + iterator = make_iterator(initial_cursor: 0) + + assert_equal 0, @times_called + + items = [] + expected_times_called = 0 + while (item = iterator.next_element) + expected_times_called += 1 if (item % 10) == 1 + + assert_equal expected_times_called, @times_called + assert_equal item != NUMBERS.last, iterator.next?, "#{item} #{iterator}" + + items.push(item) + end + + assert_equal 7, @times_called + assert_equal NUMBERS, items + end + + def test_pages_iterator + iterator = make_iterator(initial_cursor: 0).pages + + assert_equal( + [ + (1..10).to_a, + (11..20).to_a, + (21..30).to_a, + (31..40).to_a, + (41..50).to_a, + (51..60).to_a, + (61..65).to_a + ], + iterator.to_a.map(&:cards) + ) + + iterator = make_iterator(initial_cursor: 10).pages + + assert_equal( + [ + (11..20).to_a, + (21..30).to_a, + (31..40).to_a, + (41..50).to_a, + (51..60).to_a, + (61..65).to_a + ], + iterator.to_a.map(&:cards) + ) + end + + def test_pages_iterator_can_work_without_an_initial_cursor + iterator = make_iterator(initial_cursor: nil).pages + + assert_equal 7, iterator.to_a.length + assert_equal 7, @times_called + end + + def test_pages_iterator_iterates_lazily + iterator = make_iterator(initial_cursor: 0).pages + + assert_equal 0, @times_called + + iterator.first + + assert_equal 1, @times_called + + iterator = make_iterator(initial_cursor: 0).pages + + assert_equal 0, @times_called + assert_equal 2, iterator.first(2).length + assert_equal 2, @times_called + end + + def test_pages_iterator_knows_whether_another_page_is_upcoming + iterator = make_iterator(initial_cursor: 0).pages + + iterator.each_with_index do |_page, index| + assert_equal index + 1, @times_called + assert_equal index < 6, iterator.next? + end + end + + def test_pages_iterator_can_be_advanced_manually + iterator = make_iterator(initial_cursor: 0).pages + + assert_equal 0, @times_called + + lengths = [] + expected_times_called = 0 + while (page = iterator.next_page) + expected_times_called += 1 + + assert_equal expected_times_called, @times_called + + lengths.push(page.cards.length) + end + + assert_equal 7, @times_called + assert_equal [10, 10, 10, 10, 10, 10, 5], lengths + end + + def test_pages_iterator_implements_enumerable + iterator = make_iterator(initial_cursor: 0).pages + + assert_equal 0, @times_called + lengths = iterator.map { |page| page.cards.length } + + assert_equal 7, @times_called + assert_equal [10, 10, 10, 10, 10, 10, 5], lengths + end +end diff --git a/test/unit/internal/iterators/test_offset_item_iterator.rb b/test/unit/internal/iterators/test_offset_item_iterator.rb new file mode 100644 index 0000000..152b170 --- /dev/null +++ b/test/unit/internal/iterators/test_offset_item_iterator.rb @@ -0,0 +1,150 @@ +# frozen_string_literal: true + +require "minitest/autorun" +require "stringio" +require "json" +require "test_helper" + +OffsetPageResponse = Struct.new(:items, :has_next, keyword_init: true) +TestIteratorConfig = Struct.new( + :step, + :has_next_field, + :total_item_count, + :per_page, + :initial_page +) do + def first_item_returned + if step + (initial_page || 0) + 1 + else + (((initial_page || 1) - 1) * per_page) + 1 + end + end +end + +LAZY_TEST_ITERATOR_CONFIG = TestIteratorConfig.new(initial_page: 1, step: false, has_next_field: :has_next, total_item_count: 65, per_page: 10) +ALL_TEST_ITERATOR_CONFIGS = [true, false].map do |step| + [:has_next, nil].map do |has_next_field| + [0, 5, 10, 60, 63].map do |total_item_count| + [5, 10].map do |per_page| + initial_pages = [nil, 3, 100] + initial_pages << (step ? 0 : 1) + + initial_pages.map do |initial_page| + TestIteratorConfig.new( + step: step, + has_next_field: has_next_field, + total_item_count: total_item_count, + per_page: per_page, + initial_page: initial_page + ) + end + end + end + end +end.flatten + +class OffsetItemIteratorTest < Minitest::Test + def make_iterator(config) + @times_called = 0 + + items = (1..config.total_item_count).to_a + + Cloudpdf::Internal::OffsetItemIterator.new( + initial_page: config.initial_page, + item_field: :items, + has_next_field: config.has_next_field, + step: config.step + ) do |page| + @times_called += 1 + + slice_start = config.step ? page : (page - 1) * config.per_page + slice_end = slice_start + config.per_page + + output = { + items: items[slice_start...slice_end] + } + output[config.has_next_field] = slice_end < items.length if config.has_next_field + + OffsetPageResponse.new(**output) + end + end + + ALL_TEST_ITERATOR_CONFIGS.each do |config| + define_method("test_item_iterator_can_iterate_to_exhaustion_#{config.to_a.join("_")}") do + iterator = make_iterator(config) + + assert_equal (config.first_item_returned..config.total_item_count).to_a, iterator.to_a + end + + define_method("test_items_iterator_can_be_advanced_manually_and_has_accurate_has_next_#{config.to_a.join("_")}") do + iterator = make_iterator(config) + items = [] + + while (item = iterator.next_element) + assert_equal(item != config.total_item_count, iterator.next?, "#{item} #{iterator}") + + items.push(item) + end + + assert_equal (config.first_item_returned..config.total_item_count).to_a, items + end + + define_method("test_pages_iterator_can_be_advanced_manually_and_has_accurate_has_next_#{config.to_a.join("_")}") do + iterator = make_iterator(config).pages + pages = [] + + loop do + has_next_output = iterator.next? + page = iterator.next_page + + assert_equal(has_next_output, !page.nil?, "next? was inaccurate: #{config} #{iterator.inspect}") + + break if page.nil? + + pages.push(page) + end + + assert_equal pages, make_iterator(config).pages.to_a + end + end + + def test_items_iterator_iterates_lazily + iterator = make_iterator(LAZY_TEST_ITERATOR_CONFIG) + + assert_equal 0, @times_called + assert_equal 1, iterator.first + assert_equal 1, @times_called + + iterator = make_iterator(LAZY_TEST_ITERATOR_CONFIG) + + assert_equal 0, @times_called + assert_equal (1..15).to_a, iterator.first(15) + assert_equal 2, @times_called + + iterator = make_iterator(LAZY_TEST_ITERATOR_CONFIG) + + assert_equal 0, @times_called + iterator.each do |card| + break if card >= 15 + end + + assert_equal 2, @times_called + end + + def test_pages_iterator_iterates_lazily + iterator = make_iterator(LAZY_TEST_ITERATOR_CONFIG).pages + + assert_equal 0, @times_called + + iterator.first + + assert_equal 1, @times_called + + iterator = make_iterator(LAZY_TEST_ITERATOR_CONFIG).pages + + assert_equal 0, @times_called + assert_equal 3, iterator.first(3).length + assert_equal 3, @times_called + end +end diff --git a/test/unit/internal/types/test_array.rb b/test/unit/internal/types/test_array.rb new file mode 100644 index 0000000..eb52554 --- /dev/null +++ b/test/unit/internal/types/test_array.rb @@ -0,0 +1,37 @@ +# frozen_string_literal: true + +require "test_helper" + +describe Cloudpdf::Internal::Types::Array do + module TestArray + StringArray = Cloudpdf::Internal::Types::Array[String] + end + + describe "#initialize" do + it "sets the type" do + assert_equal String, TestArray::StringArray.type + end + end + + describe "#coerce" do + it "does not perform coercion if not an array" do + assert_equal 1, TestArray::StringArray.coerce(1) + end + + it "raises an error if not an array and strictness is on" do + assert_raises Cloudpdf::Internal::Errors::TypeError do + TestArray::StringArray.coerce(1, strict: true) + end + end + + it "coerces the elements" do + assert_equal %w[foobar 1 true], TestArray::StringArray.coerce(["foobar", 1, true]) + end + + it "raises an error if element of array is not coercable and strictness is on" do + assert_raises Cloudpdf::Internal::Errors::TypeError do + TestArray::StringArray.coerce([Object.new], strict: true) + end + end + end +end diff --git a/test/unit/internal/types/test_boolean.rb b/test/unit/internal/types/test_boolean.rb new file mode 100644 index 0000000..6569183 --- /dev/null +++ b/test/unit/internal/types/test_boolean.rb @@ -0,0 +1,35 @@ +# frozen_string_literal: true + +require "test_helper" + +describe Cloudpdf::Internal::Types::Boolean do + describe ".coerce" do + it "coerces true/false" do + assert Cloudpdf::Internal::Types::Boolean.coerce(true) + refute Cloudpdf::Internal::Types::Boolean.coerce(false) + end + + it "coerces an Integer" do + assert Cloudpdf::Internal::Types::Boolean.coerce(1) + refute Cloudpdf::Internal::Types::Boolean.coerce(0) + end + + it "coerces a String" do + assert Cloudpdf::Internal::Types::Boolean.coerce("1") + assert Cloudpdf::Internal::Types::Boolean.coerce("true") + refute Cloudpdf::Internal::Types::Boolean.coerce("0") + end + + it "passes through other values with strictness off" do + obj = Object.new + + assert_equal obj, Cloudpdf::Internal::Types::Boolean.coerce(obj) + end + + it "raises an error with other values with strictness on" do + assert_raises Cloudpdf::Internal::Errors::TypeError do + Cloudpdf::Internal::Types::Boolean.coerce(Object.new, strict: true) + end + end + end +end diff --git a/test/unit/internal/types/test_enum.rb b/test/unit/internal/types/test_enum.rb new file mode 100644 index 0000000..a8c8f8d --- /dev/null +++ b/test/unit/internal/types/test_enum.rb @@ -0,0 +1,42 @@ +# frozen_string_literal: true + +require "test_helper" + +describe Cloudpdf::Internal::Types::Enum do + module EnumTest + module ExampleEnum + extend Cloudpdf::Internal::Types::Enum + + FOO = :foo + BAR = :bar + + finalize! + end + end + + describe "#values" do + it "defines values" do + assert_equal %i[foo bar].sort, EnumTest::ExampleEnum.values.sort + end + end + + describe "#coerce" do + it "coerces an existing member" do + assert_equal :foo, EnumTest::ExampleEnum.coerce(:foo) + end + + it "coerces a string version of a member" do + assert_equal :foo, EnumTest::ExampleEnum.coerce("foo") + end + + it "returns the value if not a member with strictness off" do + assert_equal 1, EnumTest::ExampleEnum.coerce(1) + end + + it "raises an error if value is not a member with strictness on" do + assert_raises Cloudpdf::Internal::Errors::TypeError do + EnumTest::ExampleEnum.coerce(1, strict: true) + end + end + end +end diff --git a/test/unit/internal/types/test_hash.rb b/test/unit/internal/types/test_hash.rb new file mode 100644 index 0000000..58045c5 --- /dev/null +++ b/test/unit/internal/types/test_hash.rb @@ -0,0 +1,50 @@ +# frozen_string_literal: true + +require "test_helper" + +describe Cloudpdf::Internal::Types::Hash do + module TestHash + SymbolStringHash = Cloudpdf::Internal::Types::Hash[Symbol, String] + end + + describe ".[]" do + it "defines the key and value type" do + assert_equal Symbol, TestHash::SymbolStringHash.key_type + assert_equal String, TestHash::SymbolStringHash.value_type + end + end + + describe "#coerce" do + it "coerces the keys" do + assert_equal %i[foo bar], TestHash::SymbolStringHash.coerce({ "foo" => "1", :bar => "2" }).keys + end + + it "coerces the values" do + assert_equal %w[foo 1], TestHash::SymbolStringHash.coerce({ foo: :foo, bar: 1 }).values + end + + it "passes through other values with strictness off" do + obj = Object.new + + assert_equal obj, TestHash::SymbolStringHash.coerce(obj) + end + + it "raises an error with other values with strictness on" do + assert_raises Cloudpdf::Internal::Errors::TypeError do + TestHash::SymbolStringHash.coerce(Object.new, strict: true) + end + end + + it "raises an error with non-coercable key types with strictness on" do + assert_raises Cloudpdf::Internal::Errors::TypeError do + TestHash::SymbolStringHash.coerce({ Object.new => 1 }, strict: true) + end + end + + it "raises an error with non-coercable value types with strictness on" do + assert_raises Cloudpdf::Internal::Errors::TypeError do + TestHash::SymbolStringHash.coerce({ "foobar" => Object.new }, strict: true) + end + end + end +end diff --git a/test/unit/internal/types/test_model.rb b/test/unit/internal/types/test_model.rb new file mode 100644 index 0000000..1c446c7 --- /dev/null +++ b/test/unit/internal/types/test_model.rb @@ -0,0 +1,154 @@ +# frozen_string_literal: true + +require "test_helper" + +describe Cloudpdf::Internal::Types::Model do + module StringInteger + extend Cloudpdf::Internal::Types::Union + + member String + member Integer + end + + class ExampleModel < Cloudpdf::Internal::Types::Model + field :name, String + field :rating, StringInteger, optional: true + field :year, Integer, optional: true, nullable: true, api_name: "yearOfRelease" + end + + class ExampleModelInheritance < ExampleModel + field :director, String + end + + class ExampleWithDefaults < ExampleModel + field :type, String, default: "example" + end + + class ExampleChild < Cloudpdf::Internal::Types::Model + field :value, String + end + + class ExampleParent < Cloudpdf::Internal::Types::Model + field :child, ExampleChild + end + + describe ".field" do + before do + @example = ExampleModel.new(name: "Inception", rating: 4) + end + + it "defines fields on model" do + assert_equal %i[name rating year], ExampleModel.fields.keys + end + + it "defines fields from parent models" do + assert_equal %i[name rating year director], ExampleModelInheritance.fields.keys + end + + it "sets the field's type" do + assert_equal String, ExampleModel.fields[:name].type + assert_equal StringInteger, ExampleModel.fields[:rating].type + end + + it "sets the `default` option" do + assert_equal "example", ExampleWithDefaults.fields[:type].default + end + + it "defines getters" do + assert_respond_to @example, :name + assert_respond_to @example, :rating + + assert_equal "Inception", @example.name + assert_equal 4, @example.rating + end + + it "defines setters" do + assert_respond_to @example, :name= + assert_respond_to @example, :rating= + + @example.name = "Inception 2" + @example.rating = 5 + + assert_equal "Inception 2", @example.name + assert_equal 5, @example.rating + end + end + + describe "#initialize" do + it "sets the data" do + example = ExampleModel.new(name: "Inception", rating: 4) + + assert_equal "Inception", example.name + assert_equal 4, example.rating + end + + it "allows extra fields to be set" do + example = ExampleModel.new(name: "Inception", rating: 4, director: "Christopher Nolan") + + assert_equal "Christopher Nolan", example.director + end + + it "sets the defaults where applicable" do + example_using_defaults = ExampleWithDefaults.new + + assert_equal "example", example_using_defaults.type + + example_without_defaults = ExampleWithDefaults.new(type: "not example") + + assert_equal "not example", example_without_defaults.type + end + + it "coerces child models" do + parent = ExampleParent.new(child: { value: "foobar" }) + + assert_kind_of ExampleChild, parent.child + end + + it "uses the api_name to pull the value" do + example = ExampleModel.new({ name: "Inception", yearOfRelease: 2014 }) + + assert_equal 2014, example.year + refute_respond_to example, :yearOfRelease + end + end + + describe "#inspect" do + class SensitiveModel < Cloudpdf::Internal::Types::Model + field :username, String + field :password, String + field :client_secret, String + field :access_token, String + field :api_key, String + end + + it "redacts sensitive fields" do + model = SensitiveModel.new( + username: "user123", + password: "secret123", + client_secret: "cs_abc", + access_token: "token_xyz", + api_key: "key_123" + ) + + inspect_output = model.inspect + + assert_includes inspect_output, "username=\"user123\"" + assert_includes inspect_output, "password=[REDACTED]" + assert_includes inspect_output, "client_secret=[REDACTED]" + assert_includes inspect_output, "access_token=[REDACTED]" + assert_includes inspect_output, "api_key=[REDACTED]" + refute_includes inspect_output, "secret123" + refute_includes inspect_output, "cs_abc" + refute_includes inspect_output, "token_xyz" + refute_includes inspect_output, "key_123" + end + + it "does not redact non-sensitive fields" do + example = ExampleModel.new(name: "Inception", rating: 4) + inspect_output = example.inspect + + assert_includes inspect_output, "name=\"Inception\"" + assert_includes inspect_output, "rating=4" + end + end +end diff --git a/test/unit/internal/types/test_union.rb b/test/unit/internal/types/test_union.rb new file mode 100644 index 0000000..c9aaa53 --- /dev/null +++ b/test/unit/internal/types/test_union.rb @@ -0,0 +1,62 @@ +# frozen_string_literal: true + +require "test_helper" + +describe Cloudpdf::Internal::Types::Union do + class Rectangle < Cloudpdf::Internal::Types::Model + literal :type, "square" + + field :area, Float + end + + class Circle < Cloudpdf::Internal::Types::Model + literal :type, "circle" + + field :area, Float + end + + class Pineapple < Cloudpdf::Internal::Types::Model + literal :type, "pineapple" + + field :area, Float + end + + module Shape + extend Cloudpdf::Internal::Types::Union + + discriminant :type + + member -> { Rectangle }, key: "rect" + member -> { Circle }, key: "circle" + end + + module StringOrInteger + extend Cloudpdf::Internal::Types::Union + + member String + member Integer + end + + describe "#coerce" do + it "coerces hashes into member models with discriminated unions" do + circle = Shape.coerce({ type: "circle", area: 4.0 }) + + assert_instance_of Circle, circle + end + end + + describe "#type_member?" do + it "defines Model members" do + assert Shape.type_member?(Rectangle) + assert Shape.type_member?(Circle) + refute Shape.type_member?(Pineapple) + end + + it "defines other members" do + assert StringOrInteger.type_member?(String) + assert StringOrInteger.type_member?(Integer) + refute StringOrInteger.type_member?(Float) + refute StringOrInteger.type_member?(Pineapple) + end + end +end diff --git a/test/unit/internal/types/test_utils.rb b/test/unit/internal/types/test_utils.rb new file mode 100644 index 0000000..6e179ab --- /dev/null +++ b/test/unit/internal/types/test_utils.rb @@ -0,0 +1,212 @@ +# frozen_string_literal: true + +require "test_helper" + +describe Cloudpdf::Internal::Types::Utils do + Utils = Cloudpdf::Internal::Types::Utils + + module TestUtils + class M < Cloudpdf::Internal::Types::Model + field :value, String + end + + class UnionMemberA < Cloudpdf::Internal::Types::Model + literal :type, "A" + field :only_on_a, String + end + + class UnionMemberB < Cloudpdf::Internal::Types::Model + literal :type, "B" + field :only_on_b, String + end + + module U + extend Cloudpdf::Internal::Types::Union + + discriminant :type + + member -> { UnionMemberA }, key: "A" + member -> { UnionMemberB }, key: "B" + end + + SymbolStringHash = Cloudpdf::Internal::Types::Hash[Symbol, String] + SymbolModelHash = -> { Cloudpdf::Internal::Types::Hash[Symbol, TestUtils::M] } + end + + describe ".coerce" do + describe "NilClass" do + it "always returns nil" do + assert_nil Utils.coerce(NilClass, "foobar") + assert_nil Utils.coerce(NilClass, 1) + assert_nil Utils.coerce(NilClass, Object.new) + end + end + + describe "String" do + it "coerces from String, Symbol, Numeric, or Boolean" do + assert_equal "foobar", Utils.coerce(String, "foobar") + assert_equal "foobar", Utils.coerce(String, :foobar) + assert_equal "1", Utils.coerce(String, 1) + assert_equal "1.0", Utils.coerce(String, 1.0) + assert_equal "true", Utils.coerce(String, true) + end + + it "passes through value if it cannot be coerced and not strict" do + obj = Object.new + + assert_equal obj, Utils.coerce(String, obj) + end + + it "raises an error if value cannot be coerced and strict" do + assert_raises Cloudpdf::Internal::Errors::TypeError do + Utils.coerce(String, Object.new, strict: true) + end + end + end + + describe "Symbol" do + it "coerces from Symbol, String" do + assert_equal :foobar, Utils.coerce(Symbol, :foobar) + assert_equal :foobar, Utils.coerce(Symbol, "foobar") + end + + it "passes through value if it cannot be coerced and not strict" do + obj = Object.new + + assert_equal obj, Utils.coerce(Symbol, obj) + end + + it "raises an error if value cannot be coerced and strict" do + assert_raises Cloudpdf::Internal::Errors::TypeError do + Utils.coerce(Symbol, Object.new, strict: true) + end + end + end + + describe "Integer" do + it "coerces from Numeric, String, Time" do + assert_equal 1, Utils.coerce(Integer, 1) + assert_equal 1, Utils.coerce(Integer, 1.0) + assert_equal 1, Utils.coerce(Integer, Complex.rect(1)) + assert_equal 1, Utils.coerce(Integer, Rational(1)) + assert_equal 1, Utils.coerce(Integer, "1") + assert_equal 1_713_916_800, Utils.coerce(Integer, Time.utc(2024, 4, 24)) + end + + it "passes through value if it cannot be coerced and not strict" do + obj = Object.new + + assert_equal obj, Utils.coerce(Integer, obj) + end + + it "raises an error if value cannot be coerced and strict" do + assert_raises Cloudpdf::Internal::Errors::TypeError do + Utils.coerce(Integer, Object.new, strict: true) + end + end + end + + describe "Float" do + it "coerces from Numeric, Time" do + assert_in_delta(1.0, Utils.coerce(Float, 1.0)) + assert_in_delta(1.0, Utils.coerce(Float, 1)) + assert_in_delta(1.0, Utils.coerce(Float, Complex.rect(1))) + assert_in_delta(1.0, Utils.coerce(Float, Rational(1))) + assert_in_delta(1_713_916_800.0, Utils.coerce(Integer, Time.utc(2024, 4, 24))) + end + + it "passes through value if it cannot be coerced and not strict" do + obj = Object.new + + assert_equal obj, Utils.coerce(Float, obj) + end + + it "raises an error if value cannot be coerced and strict" do + assert_raises Cloudpdf::Internal::Errors::TypeError do + Utils.coerce(Float, Object.new, strict: true) + end + end + end + + describe "Model" do + it "coerces a hash" do + result = Utils.coerce(TestUtils::M, { value: "foobar" }) + + assert_kind_of TestUtils::M, result + assert_equal "foobar", result.value + end + + it "coerces a hash when the target is a type function" do + result = Utils.coerce(-> { TestUtils::M }, { value: "foobar" }) + + assert_kind_of TestUtils::M, result + assert_equal "foobar", result.value + end + + it "will not coerce non-hashes" do + assert_equal "foobar", Utils.coerce(TestUtils::M, "foobar") + end + end + + describe "Enum" do + module ExampleEnum + extend Cloudpdf::Internal::Types::Enum + + FOO = :FOO + BAR = :BAR + + finalize! + end + + it "coerces into a Symbol version of the member value" do + assert_equal :FOO, Utils.coerce(ExampleEnum, "FOO") + end + + it "returns given value if not a member" do + assert_equal "NOPE", Utils.coerce(ExampleEnum, "NOPE") + end + end + + describe "Array" do + StringArray = Cloudpdf::Internal::Types::Array[String] + ModelArray = -> { Cloudpdf::Internal::Types::Array[TestUtils::M] } + UnionArray = -> { Cloudpdf::Internal::Types::Array[TestUtils::U] } + + it "coerces an array of literals" do + assert_equal %w[a b c], Utils.coerce(StringArray, %w[a b c]) + assert_equal ["1", "2.0", "true"], Utils.coerce(StringArray, [1, 2.0, true]) + assert_equal ["1", "2.0", "true"], Utils.coerce(StringArray, Set.new([1, 2.0, true])) + end + + it "coerces an array of Models" do + assert_equal [TestUtils::M.new(value: "foobar"), TestUtils::M.new(value: "bizbaz")], + Utils.coerce(ModelArray, [{ value: "foobar" }, { value: "bizbaz" }]) + + assert_equal [TestUtils::M.new(value: "foobar"), TestUtils::M.new(value: "bizbaz")], + Utils.coerce(ModelArray, [TestUtils::M.new(value: "foobar"), TestUtils::M.new(value: "bizbaz")]) + end + + it "coerces an array of model unions" do + assert_equal [TestUtils::UnionMemberA.new(type: "A", only_on_a: "A"), TestUtils::UnionMemberB.new(type: "B", only_on_b: "B")], + Utils.coerce(UnionArray, [{ type: "A", only_on_a: "A" }, { type: "B", only_on_b: "B" }]) + end + + it "returns given value if not an array" do + assert_equal 1, Utils.coerce(StringArray, 1) + end + end + + describe "Hash" do + it "coerces the keys and values" do + ssh_res = Utils.coerce(TestUtils::SymbolStringHash, { "foo" => "bar", "biz" => "2" }) + + assert_equal "bar", ssh_res[:foo] + assert_equal "2", ssh_res[:biz] + + smh_res = Utils.coerce(TestUtils::SymbolModelHash, { "foo" => { "value" => "foo" } }) + + assert_equal TestUtils::M.new(value: "foo"), smh_res[:foo] + end + end + end +end