cloudpdf 3.0.0.alpha.21 → 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 (114) 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 +4 -0
  5. data/lib/CloudPDF/tenants/types/usage_tenants_request.rb +4 -0
  6. data/lib/CloudPDF/types/annotation_caret.rb +2 -0
  7. data/lib/CloudPDF/types/annotation_circle.rb +3 -1
  8. data/lib/CloudPDF/types/annotation_draft_caret.rb +2 -0
  9. data/lib/CloudPDF/types/annotation_draft_circle.rb +2 -0
  10. data/lib/CloudPDF/types/annotation_draft_file_attachment.rb +2 -0
  11. data/lib/CloudPDF/types/annotation_draft_free_text.rb +2 -2
  12. data/lib/CloudPDF/types/annotation_draft_highlight.rb +2 -0
  13. data/lib/CloudPDF/types/annotation_draft_ink.rb +2 -0
  14. data/lib/CloudPDF/types/annotation_draft_line.rb +2 -0
  15. data/lib/CloudPDF/types/annotation_draft_polygon.rb +2 -0
  16. data/lib/CloudPDF/types/annotation_draft_polyline.rb +2 -0
  17. data/lib/CloudPDF/types/annotation_draft_redact.rb +2 -0
  18. data/lib/CloudPDF/types/annotation_draft_square.rb +2 -0
  19. data/lib/CloudPDF/types/annotation_draft_squiggly.rb +2 -0
  20. data/lib/CloudPDF/types/annotation_draft_stamp.rb +2 -0
  21. data/lib/CloudPDF/types/annotation_draft_strikeout.rb +2 -0
  22. data/lib/CloudPDF/types/annotation_draft_text.rb +2 -0
  23. data/lib/CloudPDF/types/annotation_draft_underline.rb +2 -0
  24. data/lib/CloudPDF/types/annotation_file_attachment.rb +2 -0
  25. data/lib/CloudPDF/types/annotation_free_text.rb +2 -2
  26. data/lib/CloudPDF/types/annotation_highlight.rb +2 -0
  27. data/lib/CloudPDF/types/annotation_ink.rb +3 -1
  28. data/lib/CloudPDF/types/annotation_line.rb +3 -1
  29. data/lib/CloudPDF/types/annotation_patch_caret.rb +2 -0
  30. data/lib/CloudPDF/types/annotation_patch_circle.rb +2 -0
  31. data/lib/CloudPDF/types/annotation_patch_file_attachment.rb +2 -0
  32. data/lib/CloudPDF/types/annotation_patch_free_text.rb +2 -2
  33. data/lib/CloudPDF/types/annotation_patch_highlight.rb +2 -0
  34. data/lib/CloudPDF/types/annotation_patch_ink.rb +2 -0
  35. data/lib/CloudPDF/types/annotation_patch_line.rb +2 -0
  36. data/lib/CloudPDF/types/annotation_patch_polygon.rb +2 -0
  37. data/lib/CloudPDF/types/annotation_patch_polyline.rb +2 -0
  38. data/lib/CloudPDF/types/annotation_patch_redact.rb +2 -0
  39. data/lib/CloudPDF/types/annotation_patch_square.rb +2 -0
  40. data/lib/CloudPDF/types/annotation_patch_squiggly.rb +2 -0
  41. data/lib/CloudPDF/types/annotation_patch_stamp.rb +2 -0
  42. data/lib/CloudPDF/types/annotation_patch_strikeout.rb +2 -0
  43. data/lib/CloudPDF/types/annotation_patch_text.rb +2 -0
  44. data/lib/CloudPDF/types/annotation_patch_underline.rb +2 -0
  45. data/lib/CloudPDF/types/annotation_polygon.rb +3 -1
  46. data/lib/CloudPDF/types/annotation_polyline.rb +3 -1
  47. data/lib/CloudPDF/types/annotation_redact.rb +2 -0
  48. data/lib/CloudPDF/types/annotation_square.rb +3 -1
  49. data/lib/CloudPDF/types/annotation_squiggly.rb +2 -0
  50. data/lib/CloudPDF/types/annotation_stamp.rb +2 -0
  51. data/lib/CloudPDF/types/annotation_strikeout.rb +2 -0
  52. data/lib/CloudPDF/types/annotation_text.rb +2 -0
  53. data/lib/CloudPDF/types/annotation_underline.rb +2 -0
  54. data/lib/CloudPDF/types/deployment_modules_response.rb +9 -0
  55. data/lib/CloudPDF/types/module_manifest.rb +19 -0
  56. data/lib/CloudPDF/types/module_manifest_requires.rb +9 -0
  57. data/lib/CloudPDF/types/module_meter.rb +15 -0
  58. data/lib/CloudPDF/types/module_permission.rb +19 -0
  59. data/lib/CloudPDF/types/module_permission_level.rb +12 -0
  60. data/lib/CloudPDF/types/rich_text_document.rb +11 -0
  61. data/lib/CloudPDF/types/{annotation_free_text_rich_text_body.rb → rich_text_document_body.rb} +6 -6
  62. data/lib/CloudPDF/types/{annotation_free_text_rich_text_body_align.rb → rich_text_document_body_align.rb} +1 -1
  63. data/lib/CloudPDF/types/{annotation_free_text_rich_text_body_decoration_item.rb → rich_text_document_body_decoration_item.rb} +1 -1
  64. data/lib/CloudPDF/types/{annotation_free_text_rich_text_body_dir.rb → rich_text_document_body_dir.rb} +1 -1
  65. data/lib/CloudPDF/types/{annotation_draft_free_text_rich_text_body_margins.rb → rich_text_document_body_margins.rb} +1 -1
  66. data/lib/CloudPDF/types/{annotation_free_text_rich_text_body_script.rb → rich_text_document_body_script.rb} +1 -1
  67. data/lib/CloudPDF/types/rich_text_document_input.rb +11 -0
  68. data/lib/CloudPDF/types/{annotation_draft_free_text_rich_text_body.rb → rich_text_document_input_body.rb} +6 -6
  69. data/lib/CloudPDF/types/{annotation_draft_free_text_rich_text_body_align.rb → rich_text_document_input_body_align.rb} +1 -1
  70. data/lib/CloudPDF/types/{annotation_patch_free_text_rich_text_body_decoration_item.rb → rich_text_document_input_body_decoration_item.rb} +1 -1
  71. data/lib/CloudPDF/types/{annotation_draft_free_text_rich_text_body_dir.rb → rich_text_document_input_body_dir.rb} +1 -1
  72. data/lib/CloudPDF/types/{annotation_free_text_rich_text_paragraphs_item_margins.rb → rich_text_document_input_body_margins.rb} +1 -1
  73. data/lib/CloudPDF/types/{annotation_draft_free_text_rich_text_body_script.rb → rich_text_document_input_body_script.rb} +1 -1
  74. data/lib/CloudPDF/types/rich_text_document_input_paragraphs_item.rb +21 -0
  75. data/lib/CloudPDF/types/{annotation_patch_free_text_rich_text_body_align.rb → rich_text_document_input_paragraphs_item_align.rb} +1 -1
  76. data/lib/CloudPDF/types/{annotation_patch_free_text_rich_text_body_dir.rb → rich_text_document_input_paragraphs_item_dir.rb} +1 -1
  77. data/lib/CloudPDF/types/{annotation_patch_free_text_rich_text_body_margins.rb → rich_text_document_input_paragraphs_item_margins.rb} +1 -1
  78. data/lib/CloudPDF/types/rich_text_document_input_paragraphs_item_runs_item.rb +11 -0
  79. 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
  80. 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
  81. 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
  82. data/lib/CloudPDF/types/rich_text_document_paragraphs_item.rb +21 -0
  83. data/lib/CloudPDF/types/{annotation_free_text_rich_text_paragraphs_item_align.rb → rich_text_document_paragraphs_item_align.rb} +1 -1
  84. data/lib/CloudPDF/types/{annotation_free_text_rich_text_paragraphs_item_dir.rb → rich_text_document_paragraphs_item_dir.rb} +1 -1
  85. data/lib/CloudPDF/types/{annotation_free_text_rich_text_body_margins.rb → rich_text_document_paragraphs_item_margins.rb} +1 -1
  86. data/lib/CloudPDF/types/rich_text_document_paragraphs_item_runs_item.rb +11 -0
  87. 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
  88. 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
  89. 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
  90. data/lib/CloudPDF/version.rb +1 -1
  91. data/lib/cloudpdf.rb +36 -45
  92. data/reference.md +70 -0
  93. metadata +38 -47
  94. data/lib/CloudPDF/types/annotation_draft_free_text_rich_text.rb +0 -11
  95. data/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item.rb +0 -21
  96. data/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_align.rb +0 -14
  97. data/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_dir.rb +0 -12
  98. data/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_margins.rb +0 -15
  99. data/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_runs_item.rb +0 -11
  100. data/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_runs_item_style.rb +0 -27
  101. data/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_runs_item_style_decoration_item.rb +0 -13
  102. data/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_runs_item_style_script.rb +0 -13
  103. data/lib/CloudPDF/types/annotation_free_text_rich_text.rb +0 -11
  104. data/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item.rb +0 -21
  105. data/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_runs_item.rb +0 -11
  106. data/lib/CloudPDF/types/annotation_patch_free_text_rich_text.rb +0 -11
  107. data/lib/CloudPDF/types/annotation_patch_free_text_rich_text_body.rb +0 -37
  108. data/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item.rb +0 -21
  109. data/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_align.rb +0 -14
  110. data/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_dir.rb +0 -12
  111. data/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_margins.rb +0 -15
  112. data/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_runs_item.rb +0 -11
  113. data/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_runs_item_style_decoration_item.rb +0 -13
  114. 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: 8a10f23f7c3154efb687a0d6f376bf657f38f01e3146f74a4c1a5b98d49cc27c
4
- data.tar.gz: 1f73e9c53b2b4d5cb55f7261ef709e70c8518afdf222b27716414f450aa9d281
3
+ metadata.gz: 0a0ccefc14182f99266ac08a6e2644e89762834ce81409ce792fe21cb427234f
4
+ data.tar.gz: a73c81fe160d5e4ea763bed0d373ad3bc3f21bf4d85f6cd2d1f6eae38ea3fc7d
5
5
  SHA512:
6
- metadata.gz: 240f3cc0cfa8c158af44834c25eb764900bffda9e434b8effe5593ae16127e30ca5f2f6ee98c0dde84108dee4b58eb8725c15e1dcbd1af8772fa99932592d6e1
7
- data.tar.gz: ce8d16d5415a3c2805e9d15e7ce2b69dc2ade183efd408a590c346f1728e2e615d60f81db284e52fd5be532418b623860eeb5d4b188390a7fa321d7af95566ee
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": "3283147ded32fc15c426768f75557a4d95943d84",
8
+ "originGitCommit": "ce65e1390549db1272ac3720a5ddfcea55be2c07",
9
9
  "originGitCommitIsDirty": false,
10
10
  "invokedBy": "ci",
11
- "requestedVersion": "3.0.0.alpha.21",
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
@@ -292,6 +292,8 @@ module CloudPDF
292
292
  # @option request_options [Integer] :timeout_in_seconds
293
293
  # @option params [String] :tenant_id
294
294
  # @option params [String, nil] :period
295
+ # @option params [String, nil] :from
296
+ # @option params [String, nil] :to
295
297
  #
296
298
  # @example
297
299
  # client.tenants.usage(tenant_id: "tenantId")
@@ -301,6 +303,8 @@ module CloudPDF
301
303
  params = CloudPDF::Internal::Types::Utils.normalize_keys(params)
302
304
  query_params = {}
303
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)
304
308
 
305
309
  request = CloudPDF::Internal::JSON::Request.new(
306
310
  base_url: request_options[:base_url],
@@ -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
@@ -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
@@ -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 :box, -> { CloudPDF::Types::AnnotationStampBox }, optional: false, nullable: false
69
71
 
70
72
  field :rotation, -> { Integer }, optional: false, nullable: true
@@ -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: 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: 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