cloudpdf 3.0.0.alpha.20 → 3.0.0.alpha.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. checksums.yaml +4 -4
  2. data/.fern/metadata.json +2 -2
  3. data/lib/CloudPDF/deployment/client.rb +37 -0
  4. data/lib/CloudPDF/tenants/client.rb +53 -0
  5. data/lib/CloudPDF/tenants/types/tenants_update_request.rb +13 -0
  6. data/lib/CloudPDF/tenants/types/usage_tenants_request.rb +4 -0
  7. data/lib/CloudPDF/types/annotation_caret.rb +2 -0
  8. data/lib/CloudPDF/types/annotation_circle.rb +3 -1
  9. data/lib/CloudPDF/types/annotation_draft_caret.rb +2 -0
  10. data/lib/CloudPDF/types/annotation_draft_circle.rb +2 -0
  11. data/lib/CloudPDF/types/annotation_draft_file_attachment.rb +2 -0
  12. data/lib/CloudPDF/types/annotation_draft_free_text.rb +2 -2
  13. data/lib/CloudPDF/types/annotation_draft_highlight.rb +2 -0
  14. data/lib/CloudPDF/types/annotation_draft_ink.rb +2 -0
  15. data/lib/CloudPDF/types/annotation_draft_line.rb +2 -0
  16. data/lib/CloudPDF/types/annotation_draft_polygon.rb +2 -0
  17. data/lib/CloudPDF/types/annotation_draft_polyline.rb +2 -0
  18. data/lib/CloudPDF/types/annotation_draft_redact.rb +2 -0
  19. data/lib/CloudPDF/types/annotation_draft_square.rb +2 -0
  20. data/lib/CloudPDF/types/annotation_draft_squiggly.rb +2 -0
  21. data/lib/CloudPDF/types/annotation_draft_stamp.rb +2 -0
  22. data/lib/CloudPDF/types/annotation_draft_strikeout.rb +2 -0
  23. data/lib/CloudPDF/types/annotation_draft_text.rb +2 -0
  24. data/lib/CloudPDF/types/annotation_draft_underline.rb +2 -0
  25. data/lib/CloudPDF/types/annotation_file_attachment.rb +2 -0
  26. data/lib/CloudPDF/types/annotation_free_text.rb +2 -2
  27. data/lib/CloudPDF/types/annotation_highlight.rb +2 -0
  28. data/lib/CloudPDF/types/annotation_ink.rb +3 -1
  29. data/lib/CloudPDF/types/annotation_line.rb +3 -1
  30. data/lib/CloudPDF/types/annotation_patch_caret.rb +2 -0
  31. data/lib/CloudPDF/types/annotation_patch_circle.rb +2 -0
  32. data/lib/CloudPDF/types/annotation_patch_file_attachment.rb +2 -0
  33. data/lib/CloudPDF/types/annotation_patch_free_text.rb +2 -2
  34. data/lib/CloudPDF/types/annotation_patch_highlight.rb +2 -0
  35. data/lib/CloudPDF/types/annotation_patch_ink.rb +2 -0
  36. data/lib/CloudPDF/types/annotation_patch_line.rb +2 -0
  37. data/lib/CloudPDF/types/annotation_patch_polygon.rb +2 -0
  38. data/lib/CloudPDF/types/annotation_patch_polyline.rb +2 -0
  39. data/lib/CloudPDF/types/annotation_patch_redact.rb +2 -0
  40. data/lib/CloudPDF/types/annotation_patch_square.rb +2 -0
  41. data/lib/CloudPDF/types/annotation_patch_squiggly.rb +2 -0
  42. data/lib/CloudPDF/types/annotation_patch_stamp.rb +2 -0
  43. data/lib/CloudPDF/types/annotation_patch_strikeout.rb +2 -0
  44. data/lib/CloudPDF/types/annotation_patch_text.rb +2 -0
  45. data/lib/CloudPDF/types/annotation_patch_underline.rb +2 -0
  46. data/lib/CloudPDF/types/annotation_polygon.rb +3 -1
  47. data/lib/CloudPDF/types/annotation_polyline.rb +3 -1
  48. data/lib/CloudPDF/types/annotation_redact.rb +2 -0
  49. data/lib/CloudPDF/types/annotation_square.rb +3 -1
  50. data/lib/CloudPDF/types/annotation_squiggly.rb +2 -0
  51. data/lib/CloudPDF/types/annotation_stamp.rb +2 -0
  52. data/lib/CloudPDF/types/annotation_strikeout.rb +2 -0
  53. data/lib/CloudPDF/types/annotation_text.rb +2 -0
  54. data/lib/CloudPDF/types/annotation_underline.rb +2 -0
  55. data/lib/CloudPDF/types/deployment_modules_response.rb +9 -0
  56. data/lib/CloudPDF/types/module_manifest.rb +19 -0
  57. data/lib/CloudPDF/types/module_manifest_requires.rb +9 -0
  58. data/lib/CloudPDF/types/module_meter.rb +15 -0
  59. data/lib/CloudPDF/types/module_permission.rb +19 -0
  60. data/lib/CloudPDF/types/module_permission_level.rb +12 -0
  61. data/lib/CloudPDF/types/rich_text_document.rb +11 -0
  62. data/lib/CloudPDF/types/{annotation_free_text_rich_text_body.rb → rich_text_document_body.rb} +6 -6
  63. data/lib/CloudPDF/types/{annotation_free_text_rich_text_body_align.rb → rich_text_document_body_align.rb} +1 -1
  64. data/lib/CloudPDF/types/{annotation_free_text_rich_text_body_decoration_item.rb → rich_text_document_body_decoration_item.rb} +1 -1
  65. data/lib/CloudPDF/types/{annotation_free_text_rich_text_body_dir.rb → rich_text_document_body_dir.rb} +1 -1
  66. data/lib/CloudPDF/types/{annotation_draft_free_text_rich_text_body_margins.rb → rich_text_document_body_margins.rb} +1 -1
  67. data/lib/CloudPDF/types/{annotation_free_text_rich_text_body_script.rb → rich_text_document_body_script.rb} +1 -1
  68. data/lib/CloudPDF/types/rich_text_document_input.rb +11 -0
  69. data/lib/CloudPDF/types/{annotation_draft_free_text_rich_text_body.rb → rich_text_document_input_body.rb} +6 -6
  70. data/lib/CloudPDF/types/{annotation_draft_free_text_rich_text_body_align.rb → rich_text_document_input_body_align.rb} +1 -1
  71. data/lib/CloudPDF/types/{annotation_patch_free_text_rich_text_body_decoration_item.rb → rich_text_document_input_body_decoration_item.rb} +1 -1
  72. data/lib/CloudPDF/types/{annotation_draft_free_text_rich_text_body_dir.rb → rich_text_document_input_body_dir.rb} +1 -1
  73. data/lib/CloudPDF/types/{annotation_free_text_rich_text_paragraphs_item_margins.rb → rich_text_document_input_body_margins.rb} +1 -1
  74. data/lib/CloudPDF/types/{annotation_draft_free_text_rich_text_body_script.rb → rich_text_document_input_body_script.rb} +1 -1
  75. data/lib/CloudPDF/types/rich_text_document_input_paragraphs_item.rb +21 -0
  76. data/lib/CloudPDF/types/{annotation_patch_free_text_rich_text_body_align.rb → rich_text_document_input_paragraphs_item_align.rb} +1 -1
  77. data/lib/CloudPDF/types/{annotation_patch_free_text_rich_text_body_dir.rb → rich_text_document_input_paragraphs_item_dir.rb} +1 -1
  78. data/lib/CloudPDF/types/{annotation_patch_free_text_rich_text_body_margins.rb → rich_text_document_input_paragraphs_item_margins.rb} +1 -1
  79. data/lib/CloudPDF/types/rich_text_document_input_paragraphs_item_runs_item.rb +11 -0
  80. data/lib/CloudPDF/types/{annotation_free_text_rich_text_paragraphs_item_runs_item_style.rb → rich_text_document_input_paragraphs_item_runs_item_style.rb} +3 -3
  81. data/lib/CloudPDF/types/{annotation_free_text_rich_text_paragraphs_item_runs_item_style_decoration_item.rb → rich_text_document_input_paragraphs_item_runs_item_style_decoration_item.rb} +1 -1
  82. data/lib/CloudPDF/types/{annotation_free_text_rich_text_paragraphs_item_runs_item_style_script.rb → rich_text_document_input_paragraphs_item_runs_item_style_script.rb} +1 -1
  83. data/lib/CloudPDF/types/rich_text_document_paragraphs_item.rb +21 -0
  84. data/lib/CloudPDF/types/{annotation_free_text_rich_text_paragraphs_item_align.rb → rich_text_document_paragraphs_item_align.rb} +1 -1
  85. data/lib/CloudPDF/types/{annotation_free_text_rich_text_paragraphs_item_dir.rb → rich_text_document_paragraphs_item_dir.rb} +1 -1
  86. data/lib/CloudPDF/types/{annotation_free_text_rich_text_body_margins.rb → rich_text_document_paragraphs_item_margins.rb} +1 -1
  87. data/lib/CloudPDF/types/rich_text_document_paragraphs_item_runs_item.rb +11 -0
  88. data/lib/CloudPDF/types/{annotation_patch_free_text_rich_text_paragraphs_item_runs_item_style.rb → rich_text_document_paragraphs_item_runs_item_style.rb} +3 -3
  89. data/lib/CloudPDF/types/{annotation_draft_free_text_rich_text_body_decoration_item.rb → rich_text_document_paragraphs_item_runs_item_style_decoration_item.rb} +1 -1
  90. data/lib/CloudPDF/types/{annotation_patch_free_text_rich_text_body_script.rb → rich_text_document_paragraphs_item_runs_item_style_script.rb} +1 -1
  91. data/lib/CloudPDF/types/tenant_feature.rb +11 -0
  92. data/lib/CloudPDF/types/tenant_feature_stopped.rb +11 -0
  93. data/lib/CloudPDF/types/tenants_create200response_tenant.rb +2 -0
  94. data/lib/CloudPDF/types/tenants_get200response_tenant.rb +2 -0
  95. data/lib/CloudPDF/types/tenants_list200response_tenants_item.rb +2 -0
  96. data/lib/CloudPDF/types/tenants_update200response.rb +9 -0
  97. data/lib/CloudPDF/types/tenants_update200response_tenant.rb +19 -0
  98. data/lib/CloudPDF/types/{annotation_draft_free_text_rich_text_paragraphs_item_dir.rb → tenants_update200response_tenant_status.rb} +3 -3
  99. data/lib/CloudPDF/types/tenants_update400response.rb +23 -0
  100. data/lib/CloudPDF/types/tenants_update404response.rb +23 -0
  101. data/lib/CloudPDF/version.rb +1 -1
  102. data/lib/cloudpdf.rb +44 -45
  103. data/reference.md +145 -0
  104. metadata +46 -47
  105. data/lib/CloudPDF/types/annotation_draft_free_text_rich_text.rb +0 -11
  106. data/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item.rb +0 -21
  107. data/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_align.rb +0 -14
  108. data/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_margins.rb +0 -15
  109. data/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_runs_item.rb +0 -11
  110. data/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_runs_item_style.rb +0 -27
  111. data/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_runs_item_style_decoration_item.rb +0 -13
  112. data/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_runs_item_style_script.rb +0 -13
  113. data/lib/CloudPDF/types/annotation_free_text_rich_text.rb +0 -11
  114. data/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item.rb +0 -21
  115. data/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_runs_item.rb +0 -11
  116. data/lib/CloudPDF/types/annotation_patch_free_text_rich_text.rb +0 -11
  117. data/lib/CloudPDF/types/annotation_patch_free_text_rich_text_body.rb +0 -37
  118. data/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item.rb +0 -21
  119. data/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_align.rb +0 -14
  120. data/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_dir.rb +0 -12
  121. data/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_margins.rb +0 -15
  122. data/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_runs_item.rb +0 -11
  123. data/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_runs_item_style_decoration_item.rb +0 -13
  124. data/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_runs_item_style_script.rb +0 -13
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a62e737365a4ab440bf04753fbabbf635d6d7028dc8804c66e5bb98dcc241374
4
- data.tar.gz: b196ceb5e909449fdd6082a2827391dad356b9f611298eb1a7034705798b6000
3
+ metadata.gz: 0a0ccefc14182f99266ac08a6e2644e89762834ce81409ce792fe21cb427234f
4
+ data.tar.gz: a73c81fe160d5e4ea763bed0d373ad3bc3f21bf4d85f6cd2d1f6eae38ea3fc7d
5
5
  SHA512:
6
- metadata.gz: 70a698ea37dd5fe9f4567c231fc3c4dfd43ee1deea87dff05de0c7c26d0510bfd86c00c9b3240399aac7d2b25d597c740a9f3b20e4b9469d28e60e9fb003c6e6
7
- data.tar.gz: bdf1ff5df5da9758f85310ddf339e50dd8cc71150d830c894e6e8686a8603986fc2084b9c5ce3f1846b8d8f47d059edc2fd85cf01d2ebeba449c6648de9b245f
6
+ metadata.gz: fecb3d5ef9bba387feaba7b813f7127cdb1851f761a320c2ee5c294d43ee20ef87b026068121372618fb7ab1479baa8a054555dcc8935a8655c28f8a932532a4
7
+ data.tar.gz: 827698d611c433c8ddc232fa4e44c2e5d1afb0c1a7e412ccda9a4c7f1789842d8e49553866ab7aa769c7621e58ef2da8a2ab8fa0482071209fed33d6e6d95b66
data/.fern/metadata.json CHANGED
@@ -5,9 +5,9 @@
5
5
  "generatorConfig": {
6
6
  "moduleName": "CloudPDF"
7
7
  },
8
- "originGitCommit": "622018abaf6e4578d1f4d8377982c48b92c9ced3",
8
+ "originGitCommit": "ce65e1390549db1272ac3720a5ddfcea55be2c07",
9
9
  "originGitCommitIsDirty": false,
10
10
  "invokedBy": "ci",
11
- "requestedVersion": "3.0.0.alpha.20",
11
+ "requestedVersion": "3.0.0.alpha.22",
12
12
  "ciProvider": "github"
13
13
  }
@@ -42,6 +42,43 @@ module CloudPDF
42
42
  raise error_class.new(response.body, code: code)
43
43
  end
44
44
  end
45
+
46
+ # What each module declares, for a dashboard or a script that lists modules, offers their permissions in its
47
+ # dialogs and shows their meters. Which tenants may use one is in their `features` (`tenants.get`); what it costs,
48
+ # if anything, is the operator's.
49
+ #
50
+ # @param request_options [Hash]
51
+ # @param _params [Hash]
52
+ # @option request_options [String] :base_url
53
+ # @option request_options [Hash{String => Object}] :additional_headers
54
+ # @option request_options [Hash{String => Object}] :additional_query_parameters
55
+ # @option request_options [Hash{String => Object}] :additional_body_parameters
56
+ # @option request_options [Integer] :timeout_in_seconds
57
+ #
58
+ # @example
59
+ # client.deployment.modules
60
+ #
61
+ # @return [CloudPDF::Types::DeploymentModulesResponse]
62
+ def modules(request_options: {}, **_params)
63
+ request = CloudPDF::Internal::JSON::Request.new(
64
+ base_url: request_options[:base_url],
65
+ method: "GET",
66
+ path: "v1/deployment/modules",
67
+ request_options: request_options
68
+ )
69
+ begin
70
+ response = @client.send(request)
71
+ rescue Net::HTTPRequestTimeout
72
+ raise CloudPDF::Errors::TimeoutError
73
+ end
74
+ code = response.code.to_i
75
+ if code.between?(200, 299)
76
+ (response.body.to_s.empty? ? nil : CloudPDF::Types::DeploymentModulesResponse.load(response.body))
77
+ else
78
+ error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code)
79
+ raise error_class.new(response.body, code: code)
80
+ end
81
+ end
45
82
  end
46
83
  end
47
84
  end
@@ -157,6 +157,55 @@ module CloudPDF
157
157
  raise error_class.new(response.body, code: code)
158
158
  end
159
159
 
160
+ # A feature names an installed module; any other id is a 400. A module route answers a tenant without its feature
161
+ # 403 FeatureNotEnabled, and one whose feature is stopped 402 FeatureStopped (details.feature, details.stopped).
162
+ # Other replicas apply a change within 30 seconds.
163
+ #
164
+ # @param request_options [Hash]
165
+ # @param params [CloudPDF::Tenants::Types::TenantsUpdateRequest]
166
+ # @option request_options [String] :base_url
167
+ # @option request_options [Hash{String => Object}] :additional_headers
168
+ # @option request_options [Hash{String => Object}] :additional_query_parameters
169
+ # @option request_options [Hash{String => Object}] :additional_body_parameters
170
+ # @option request_options [Integer] :timeout_in_seconds
171
+ # @option params [String] :tenant_id
172
+ #
173
+ # @example
174
+ # client.tenants.update(
175
+ # tenant_id: "tenantId",
176
+ # features: [{
177
+ # id: "id"
178
+ # }]
179
+ # )
180
+ #
181
+ # @return [CloudPDF::Types::TenantsUpdate200Response]
182
+ def update(request_options: {}, **params)
183
+ params = CloudPDF::Internal::Types::Utils.normalize_keys(params)
184
+ request_data = CloudPDF::Tenants::Types::TenantsUpdateRequest.new(params).to_h
185
+ non_body_param_names = %w[tenantId]
186
+ body = request_data.except(*non_body_param_names)
187
+
188
+ request = CloudPDF::Internal::JSON::Request.new(
189
+ base_url: request_options[:base_url],
190
+ method: "PATCH",
191
+ path: "v1/tenants/#{URI.encode_uri_component(params[:tenant_id].to_s)}",
192
+ body: body,
193
+ request_options: request_options
194
+ )
195
+ begin
196
+ response = @client.send(request)
197
+ rescue Net::HTTPRequestTimeout
198
+ raise CloudPDF::Errors::TimeoutError
199
+ end
200
+ code = response.code.to_i
201
+ if code.between?(200, 299)
202
+ (response.body.to_s.empty? ? nil : CloudPDF::Types::TenantsUpdate200Response.load(response.body))
203
+ else
204
+ error_class = CloudPDF::Errors::ResponseError.subclass_for_code(code)
205
+ raise error_class.new(response.body, code: code)
206
+ end
207
+ end
208
+
160
209
  # @param request_options [Hash]
161
210
  # @param params [Hash]
162
211
  # @option request_options [String] :base_url
@@ -243,6 +292,8 @@ module CloudPDF
243
292
  # @option request_options [Integer] :timeout_in_seconds
244
293
  # @option params [String] :tenant_id
245
294
  # @option params [String, nil] :period
295
+ # @option params [String, nil] :from
296
+ # @option params [String, nil] :to
246
297
  #
247
298
  # @example
248
299
  # client.tenants.usage(tenant_id: "tenantId")
@@ -252,6 +303,8 @@ module CloudPDF
252
303
  params = CloudPDF::Internal::Types::Utils.normalize_keys(params)
253
304
  query_params = {}
254
305
  query_params["period"] = params[:period] if params.key?(:period)
306
+ query_params["from"] = params[:from] if params.key?(:from)
307
+ query_params["to"] = params[:to] if params.key?(:to)
255
308
 
256
309
  request = CloudPDF::Internal::JSON::Request.new(
257
310
  base_url: request_options[:base_url],
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CloudPDF
4
+ module Tenants
5
+ module Types
6
+ class TenantsUpdateRequest < Internal::Types::Model
7
+ field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId"
8
+
9
+ field :features, -> { Internal::Types::Array[CloudPDF::Types::TenantFeature] }, optional: false, nullable: false
10
+ end
11
+ end
12
+ end
13
+ end
@@ -7,6 +7,10 @@ module CloudPDF
7
7
  field :tenant_id, -> { String }, optional: false, nullable: false, api_name: "tenantId"
8
8
 
9
9
  field :period, -> { String }, optional: true, nullable: false
10
+
11
+ field :from, -> { String }, optional: true, nullable: false
12
+
13
+ field :to, -> { String }, optional: true, nullable: false
10
14
  end
11
15
  end
12
16
  end
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocument }, optional: false, nullable: true, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: false, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: false, nullable: false
@@ -65,7 +65,9 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true
67
67
 
68
- field :color, -> { String }, optional: false, nullable: false
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocument }, optional: false, nullable: true, api_name: "richText"
69
+
70
+ field :color, -> { String }, optional: false, nullable: true
69
71
 
70
72
  field :opacity, -> { Integer }, optional: false, nullable: false
71
73
 
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: true, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: true, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: true, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :box, -> { CloudPDF::Types::AnnotationDraftFreeTextBox }, optional: true, nullable: false
69
71
 
70
72
  field :rotation, -> { Integer }, optional: true, nullable: false
@@ -79,8 +81,6 @@ module CloudPDF
79
81
 
80
82
  field :vertical_align, -> { CloudPDF::Types::AnnotationDraftFreeTextVerticalAlign }, optional: true, nullable: false, api_name: "verticalAlign"
81
83
 
82
- field :rich_text, -> { CloudPDF::Types::AnnotationDraftFreeTextRichText }, optional: true, nullable: false, api_name: "richText"
83
-
84
84
  field :color, -> { String }, optional: true, nullable: false
85
85
 
86
86
  field :font_color, -> { String }, optional: true, nullable: false, api_name: "fontColor"
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: true, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: true, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: true, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: true, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: true, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: true, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: true, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: true, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :box, -> { CloudPDF::Types::AnnotationDraftStampBox }, optional: true, nullable: false
69
71
 
70
72
  field :rotation, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: true, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: true, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: true, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocument }, optional: false, nullable: true, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: false, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: false, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocument }, optional: false, nullable: false, api_name: "richText"
69
+
68
70
  field :box, -> { CloudPDF::Types::AnnotationFreeTextBox }, optional: false, nullable: false
69
71
 
70
72
  field :rotation, -> { Integer }, optional: false, nullable: true
@@ -79,8 +81,6 @@ module CloudPDF
79
81
 
80
82
  field :vertical_align, -> { CloudPDF::Types::AnnotationFreeTextVerticalAlign }, optional: false, nullable: false, api_name: "verticalAlign"
81
83
 
82
- field :rich_text, -> { CloudPDF::Types::AnnotationFreeTextRichText }, optional: false, nullable: false, api_name: "richText"
83
-
84
84
  field :color, -> { String }, optional: false, nullable: false
85
85
 
86
86
  field :font_color, -> { String }, optional: false, nullable: false, api_name: "fontColor"
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocument }, optional: false, nullable: true, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: false, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: false, nullable: false
@@ -65,7 +65,9 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true
67
67
 
68
- field :color, -> { String }, optional: false, nullable: false
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocument }, optional: false, nullable: true, api_name: "richText"
69
+
70
+ field :color, -> { String }, optional: false, nullable: true
69
71
 
70
72
  field :opacity, -> { Integer }, optional: false, nullable: false
71
73
 
@@ -65,7 +65,9 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true
67
67
 
68
- field :color, -> { String }, optional: false, nullable: false
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocument }, optional: false, nullable: true, api_name: "richText"
69
+
70
+ field :color, -> { String }, optional: false, nullable: true
69
71
 
70
72
  field :opacity, -> { Integer }, optional: false, nullable: false
71
73
 
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: true, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: true, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: true, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :box, -> { CloudPDF::Types::AnnotationPatchFreeTextBox }, optional: true, nullable: false
69
71
 
70
72
  field :rotation, -> { Integer }, optional: true, nullable: false
@@ -79,8 +81,6 @@ module CloudPDF
79
81
 
80
82
  field :vertical_align, -> { CloudPDF::Types::AnnotationPatchFreeTextVerticalAlign }, optional: true, nullable: false, api_name: "verticalAlign"
81
83
 
82
- field :rich_text, -> { CloudPDF::Types::AnnotationPatchFreeTextRichText }, optional: true, nullable: false, api_name: "richText"
83
-
84
84
  field :color, -> { String }, optional: true, nullable: false
85
85
 
86
86
  field :font_color, -> { String }, optional: true, nullable: false, api_name: "fontColor"
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: true, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: true, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: true, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: true, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: true, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: true, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: true, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: true, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :box, -> { CloudPDF::Types::AnnotationPatchStampBox }, optional: true, nullable: false
69
71
 
70
72
  field :rotation, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: true, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: true, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: true, nullable: false
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { Object }, optional: true, nullable: false
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocumentInput }, optional: true, nullable: false, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: true, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: true, nullable: false
@@ -65,7 +65,9 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true
67
67
 
68
- field :color, -> { String }, optional: false, nullable: false
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocument }, optional: false, nullable: true, api_name: "richText"
69
+
70
+ field :color, -> { String }, optional: false, nullable: true
69
71
 
70
72
  field :opacity, -> { Integer }, optional: false, nullable: false
71
73
 
@@ -65,7 +65,9 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true
67
67
 
68
- field :color, -> { String }, optional: false, nullable: false
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocument }, optional: false, nullable: true, api_name: "richText"
69
+
70
+ field :color, -> { String }, optional: false, nullable: true
69
71
 
70
72
  field :opacity, -> { Integer }, optional: false, nullable: false
71
73
 
@@ -65,6 +65,8 @@ module CloudPDF
65
65
 
66
66
  field :actions, -> { CloudPDF::Types::PdfAnnotationActions }, optional: false, nullable: true
67
67
 
68
+ field :rich_text, -> { CloudPDF::Types::RichTextDocument }, optional: false, nullable: true, api_name: "richText"
69
+
68
70
  field :color, -> { String }, optional: false, nullable: false
69
71
 
70
72
  field :opacity, -> { Integer }, optional: false, nullable: false