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
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CloudPDF
4
+ module Types
5
+ class DeploymentModulesResponse < Internal::Types::Model
6
+ field :modules, -> { Internal::Types::Array[CloudPDF::Types::ModuleManifest] }, optional: false, nullable: false
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CloudPDF
4
+ module Types
5
+ class ModuleManifest < Internal::Types::Model
6
+ field :id, -> { String }, optional: false, nullable: false
7
+
8
+ field :name, -> { String }, optional: false, nullable: false
9
+
10
+ field :description, -> { String }, optional: true, nullable: false
11
+
12
+ field :permissions, -> { Internal::Types::Array[CloudPDF::Types::ModulePermission] }, optional: false, nullable: false
13
+
14
+ field :meters, -> { Internal::Types::Array[CloudPDF::Types::ModuleMeter] }, optional: false, nullable: false
15
+
16
+ field :requires, -> { CloudPDF::Types::ModuleManifestRequires }, optional: false, nullable: false
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CloudPDF
4
+ module Types
5
+ class ModuleManifestRequires < Internal::Types::Model
6
+ field :document, -> { Internal::Types::Array[String] }, optional: false, nullable: false
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CloudPDF
4
+ module Types
5
+ class ModuleMeter < Internal::Types::Model
6
+ field :name, -> { String }, optional: false, nullable: false
7
+
8
+ field :label, -> { String }, optional: false, nullable: false
9
+
10
+ field :unit, -> { String }, optional: false, nullable: false
11
+
12
+ field :description, -> { String }, optional: true, nullable: false
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CloudPDF
4
+ module Types
5
+ class ModulePermission < Internal::Types::Model
6
+ field :name, -> { String }, optional: false, nullable: false
7
+
8
+ field :level, -> { CloudPDF::Types::ModulePermissionLevel }, optional: false, nullable: false
9
+
10
+ field :label, -> { String }, optional: false, nullable: false
11
+
12
+ field :description, -> { String }, optional: true, nullable: false
13
+
14
+ field :replaces, -> { String }, optional: true, nullable: false
15
+
16
+ field :bypassed_by, -> { Internal::Types::Array[String] }, optional: true, nullable: false, api_name: "bypassedBy"
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CloudPDF
4
+ module Types
5
+ module ModulePermissionLevel
6
+ extend CloudPDF::Internal::Types::Enum
7
+
8
+ DOCUMENT = "document"
9
+ TENANT = "tenant"
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CloudPDF
4
+ module Types
5
+ class RichTextDocument < Internal::Types::Model
6
+ field :body, -> { CloudPDF::Types::RichTextDocumentBody }, optional: false, nullable: false
7
+
8
+ field :paragraphs, -> { Internal::Types::Array[CloudPDF::Types::RichTextDocumentParagraphsItem] }, optional: false, nullable: false
9
+ end
10
+ end
11
+ end
@@ -2,7 +2,7 @@
2
2
 
3
3
  module CloudPDF
4
4
  module Types
5
- class AnnotationFreeTextRichTextBody < Internal::Types::Model
5
+ class RichTextDocumentBody < Internal::Types::Model
6
6
  field :family, -> { String }, optional: false, nullable: false
7
7
 
8
8
  field :weight, -> { Integer }, optional: false, nullable: false
@@ -13,9 +13,9 @@ module CloudPDF
13
13
 
14
14
  field :color, -> { String }, optional: false, nullable: false
15
15
 
16
- field :decoration, -> { Internal::Types::Array[CloudPDF::Types::AnnotationFreeTextRichTextBodyDecorationItem] }, optional: false, nullable: false
16
+ field :decoration, -> { Internal::Types::Array[CloudPDF::Types::RichTextDocumentBodyDecorationItem] }, optional: false, nullable: false
17
17
 
18
- field :script, -> { CloudPDF::Types::AnnotationFreeTextRichTextBodyScript }, optional: false, nullable: false
18
+ field :script, -> { CloudPDF::Types::RichTextDocumentBodyScript }, optional: false, nullable: false
19
19
 
20
20
  field :letter_spacing, -> { Integer }, optional: false, nullable: false, api_name: "letterSpacing"
21
21
 
@@ -23,13 +23,13 @@ module CloudPDF
23
23
 
24
24
  field :unknown, -> { String }, optional: true, nullable: false
25
25
 
26
- field :align, -> { CloudPDF::Types::AnnotationFreeTextRichTextBodyAlign }, optional: false, nullable: false
26
+ field :align, -> { CloudPDF::Types::RichTextDocumentBodyAlign }, optional: false, nullable: false
27
27
 
28
- field :dir, -> { CloudPDF::Types::AnnotationFreeTextRichTextBodyDir }, optional: false, nullable: false
28
+ field :dir, -> { CloudPDF::Types::RichTextDocumentBodyDir }, optional: false, nullable: false
29
29
 
30
30
  field :line_height, -> { Integer }, optional: true, nullable: false, api_name: "lineHeight"
31
31
 
32
- field :margins, -> { CloudPDF::Types::AnnotationFreeTextRichTextBodyMargins }, optional: true, nullable: false
32
+ field :margins, -> { CloudPDF::Types::RichTextDocumentBodyMargins }, optional: true, nullable: false
33
33
 
34
34
  field :text_indent, -> { Integer }, optional: true, nullable: false, api_name: "textIndent"
35
35
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  module CloudPDF
4
4
  module Types
5
- module AnnotationFreeTextRichTextBodyAlign
5
+ module RichTextDocumentBodyAlign
6
6
  extend CloudPDF::Internal::Types::Enum
7
7
 
8
8
  LEFT = "left"
@@ -2,7 +2,7 @@
2
2
 
3
3
  module CloudPDF
4
4
  module Types
5
- module AnnotationFreeTextRichTextBodyDecorationItem
5
+ module RichTextDocumentBodyDecorationItem
6
6
  extend CloudPDF::Internal::Types::Enum
7
7
 
8
8
  UNDERLINE = "underline"
@@ -2,7 +2,7 @@
2
2
 
3
3
  module CloudPDF
4
4
  module Types
5
- module AnnotationFreeTextRichTextBodyDir
5
+ module RichTextDocumentBodyDir
6
6
  extend CloudPDF::Internal::Types::Enum
7
7
 
8
8
  LTR = "ltr"
@@ -2,7 +2,7 @@
2
2
 
3
3
  module CloudPDF
4
4
  module Types
5
- class AnnotationDraftFreeTextRichTextBodyMargins < Internal::Types::Model
5
+ class RichTextDocumentBodyMargins < Internal::Types::Model
6
6
  field :top, -> { Integer }, optional: false, nullable: false
7
7
 
8
8
  field :bottom, -> { Integer }, optional: false, nullable: false
@@ -2,7 +2,7 @@
2
2
 
3
3
  module CloudPDF
4
4
  module Types
5
- module AnnotationFreeTextRichTextBodyScript
5
+ module RichTextDocumentBodyScript
6
6
  extend CloudPDF::Internal::Types::Enum
7
7
 
8
8
  NORMAL = "normal"
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CloudPDF
4
+ module Types
5
+ class RichTextDocumentInput < Internal::Types::Model
6
+ field :body, -> { CloudPDF::Types::RichTextDocumentInputBody }, optional: true, nullable: false
7
+
8
+ field :paragraphs, -> { Internal::Types::Array[CloudPDF::Types::RichTextDocumentInputParagraphsItem] }, optional: false, nullable: false
9
+ end
10
+ end
11
+ end
@@ -2,7 +2,7 @@
2
2
 
3
3
  module CloudPDF
4
4
  module Types
5
- class AnnotationDraftFreeTextRichTextBody < Internal::Types::Model
5
+ class RichTextDocumentInputBody < Internal::Types::Model
6
6
  field :family, -> { String }, optional: true, nullable: false
7
7
 
8
8
  field :weight, -> { Integer }, optional: true, nullable: false
@@ -13,9 +13,9 @@ module CloudPDF
13
13
 
14
14
  field :color, -> { String }, optional: true, nullable: false
15
15
 
16
- field :decoration, -> { Internal::Types::Array[CloudPDF::Types::AnnotationDraftFreeTextRichTextBodyDecorationItem] }, optional: true, nullable: false
16
+ field :decoration, -> { Internal::Types::Array[CloudPDF::Types::RichTextDocumentInputBodyDecorationItem] }, optional: true, nullable: false
17
17
 
18
- field :script, -> { CloudPDF::Types::AnnotationDraftFreeTextRichTextBodyScript }, optional: true, nullable: false
18
+ field :script, -> { CloudPDF::Types::RichTextDocumentInputBodyScript }, optional: true, nullable: false
19
19
 
20
20
  field :letter_spacing, -> { Integer }, optional: true, nullable: false, api_name: "letterSpacing"
21
21
 
@@ -23,13 +23,13 @@ module CloudPDF
23
23
 
24
24
  field :unknown, -> { String }, optional: true, nullable: false
25
25
 
26
- field :align, -> { CloudPDF::Types::AnnotationDraftFreeTextRichTextBodyAlign }, optional: true, nullable: false
26
+ field :align, -> { CloudPDF::Types::RichTextDocumentInputBodyAlign }, optional: true, nullable: false
27
27
 
28
- field :dir, -> { CloudPDF::Types::AnnotationDraftFreeTextRichTextBodyDir }, optional: true, nullable: false
28
+ field :dir, -> { CloudPDF::Types::RichTextDocumentInputBodyDir }, optional: true, nullable: false
29
29
 
30
30
  field :line_height, -> { Integer }, optional: true, nullable: false, api_name: "lineHeight"
31
31
 
32
- field :margins, -> { CloudPDF::Types::AnnotationDraftFreeTextRichTextBodyMargins }, optional: true, nullable: false
32
+ field :margins, -> { CloudPDF::Types::RichTextDocumentInputBodyMargins }, optional: true, nullable: false
33
33
 
34
34
  field :text_indent, -> { Integer }, optional: true, nullable: false, api_name: "textIndent"
35
35
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  module CloudPDF
4
4
  module Types
5
- module AnnotationDraftFreeTextRichTextBodyAlign
5
+ module RichTextDocumentInputBodyAlign
6
6
  extend CloudPDF::Internal::Types::Enum
7
7
 
8
8
  LEFT = "left"
@@ -2,7 +2,7 @@
2
2
 
3
3
  module CloudPDF
4
4
  module Types
5
- module AnnotationPatchFreeTextRichTextBodyDecorationItem
5
+ module RichTextDocumentInputBodyDecorationItem
6
6
  extend CloudPDF::Internal::Types::Enum
7
7
 
8
8
  UNDERLINE = "underline"
@@ -2,7 +2,7 @@
2
2
 
3
3
  module CloudPDF
4
4
  module Types
5
- module AnnotationDraftFreeTextRichTextBodyDir
5
+ module RichTextDocumentInputBodyDir
6
6
  extend CloudPDF::Internal::Types::Enum
7
7
 
8
8
  LTR = "ltr"
@@ -2,7 +2,7 @@
2
2
 
3
3
  module CloudPDF
4
4
  module Types
5
- class AnnotationFreeTextRichTextParagraphsItemMargins < Internal::Types::Model
5
+ class RichTextDocumentInputBodyMargins < Internal::Types::Model
6
6
  field :top, -> { Integer }, optional: false, nullable: false
7
7
 
8
8
  field :bottom, -> { Integer }, optional: false, nullable: false
@@ -2,7 +2,7 @@
2
2
 
3
3
  module CloudPDF
4
4
  module Types
5
- module AnnotationDraftFreeTextRichTextBodyScript
5
+ module RichTextDocumentInputBodyScript
6
6
  extend CloudPDF::Internal::Types::Enum
7
7
 
8
8
  NORMAL = "normal"
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CloudPDF
4
+ module Types
5
+ class RichTextDocumentInputParagraphsItem < Internal::Types::Model
6
+ field :align, -> { CloudPDF::Types::RichTextDocumentInputParagraphsItemAlign }, optional: true, nullable: false
7
+
8
+ field :dir, -> { CloudPDF::Types::RichTextDocumentInputParagraphsItemDir }, optional: true, nullable: false
9
+
10
+ field :line_height, -> { Integer }, optional: true, nullable: false, api_name: "lineHeight"
11
+
12
+ field :margins, -> { CloudPDF::Types::RichTextDocumentInputParagraphsItemMargins }, optional: true, nullable: false
13
+
14
+ field :text_indent, -> { Integer }, optional: true, nullable: false, api_name: "textIndent"
15
+
16
+ field :unknown, -> { String }, optional: true, nullable: false
17
+
18
+ field :runs, -> { Internal::Types::Array[CloudPDF::Types::RichTextDocumentInputParagraphsItemRunsItem] }, optional: false, nullable: false
19
+ end
20
+ end
21
+ end
@@ -2,7 +2,7 @@
2
2
 
3
3
  module CloudPDF
4
4
  module Types
5
- module AnnotationPatchFreeTextRichTextBodyAlign
5
+ module RichTextDocumentInputParagraphsItemAlign
6
6
  extend CloudPDF::Internal::Types::Enum
7
7
 
8
8
  LEFT = "left"
@@ -2,7 +2,7 @@
2
2
 
3
3
  module CloudPDF
4
4
  module Types
5
- module AnnotationPatchFreeTextRichTextBodyDir
5
+ module RichTextDocumentInputParagraphsItemDir
6
6
  extend CloudPDF::Internal::Types::Enum
7
7
 
8
8
  LTR = "ltr"
@@ -2,7 +2,7 @@
2
2
 
3
3
  module CloudPDF
4
4
  module Types
5
- class AnnotationPatchFreeTextRichTextBodyMargins < Internal::Types::Model
5
+ class RichTextDocumentInputParagraphsItemMargins < Internal::Types::Model
6
6
  field :top, -> { Integer }, optional: false, nullable: false
7
7
 
8
8
  field :bottom, -> { Integer }, optional: false, nullable: false
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CloudPDF
4
+ module Types
5
+ class RichTextDocumentInputParagraphsItemRunsItem < Internal::Types::Model
6
+ field :text, -> { String }, optional: false, nullable: false
7
+
8
+ field :style, -> { CloudPDF::Types::RichTextDocumentInputParagraphsItemRunsItemStyle }, optional: true, nullable: false
9
+ end
10
+ end
11
+ end
@@ -2,7 +2,7 @@
2
2
 
3
3
  module CloudPDF
4
4
  module Types
5
- class AnnotationFreeTextRichTextParagraphsItemRunsItemStyle < Internal::Types::Model
5
+ class RichTextDocumentInputParagraphsItemRunsItemStyle < Internal::Types::Model
6
6
  field :family, -> { String }, optional: true, nullable: false
7
7
 
8
8
  field :weight, -> { Integer }, optional: true, nullable: false
@@ -13,9 +13,9 @@ module CloudPDF
13
13
 
14
14
  field :color, -> { String }, optional: true, nullable: false
15
15
 
16
- field :decoration, -> { Internal::Types::Array[CloudPDF::Types::AnnotationFreeTextRichTextParagraphsItemRunsItemStyleDecorationItem] }, optional: true, nullable: false
16
+ field :decoration, -> { Internal::Types::Array[CloudPDF::Types::RichTextDocumentInputParagraphsItemRunsItemStyleDecorationItem] }, optional: true, nullable: false
17
17
 
18
- field :script, -> { CloudPDF::Types::AnnotationFreeTextRichTextParagraphsItemRunsItemStyleScript }, optional: true, nullable: false
18
+ field :script, -> { CloudPDF::Types::RichTextDocumentInputParagraphsItemRunsItemStyleScript }, optional: true, nullable: false
19
19
 
20
20
  field :letter_spacing, -> { Integer }, optional: true, nullable: false, api_name: "letterSpacing"
21
21
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  module CloudPDF
4
4
  module Types
5
- module AnnotationFreeTextRichTextParagraphsItemRunsItemStyleDecorationItem
5
+ module RichTextDocumentInputParagraphsItemRunsItemStyleDecorationItem
6
6
  extend CloudPDF::Internal::Types::Enum
7
7
 
8
8
  UNDERLINE = "underline"
@@ -2,7 +2,7 @@
2
2
 
3
3
  module CloudPDF
4
4
  module Types
5
- module AnnotationFreeTextRichTextParagraphsItemRunsItemStyleScript
5
+ module RichTextDocumentInputParagraphsItemRunsItemStyleScript
6
6
  extend CloudPDF::Internal::Types::Enum
7
7
 
8
8
  NORMAL = "normal"
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CloudPDF
4
+ module Types
5
+ class RichTextDocumentParagraphsItem < Internal::Types::Model
6
+ field :align, -> { CloudPDF::Types::RichTextDocumentParagraphsItemAlign }, optional: true, nullable: false
7
+
8
+ field :dir, -> { CloudPDF::Types::RichTextDocumentParagraphsItemDir }, optional: true, nullable: false
9
+
10
+ field :line_height, -> { Integer }, optional: true, nullable: false, api_name: "lineHeight"
11
+
12
+ field :margins, -> { CloudPDF::Types::RichTextDocumentParagraphsItemMargins }, optional: true, nullable: false
13
+
14
+ field :text_indent, -> { Integer }, optional: true, nullable: false, api_name: "textIndent"
15
+
16
+ field :unknown, -> { String }, optional: true, nullable: false
17
+
18
+ field :runs, -> { Internal::Types::Array[CloudPDF::Types::RichTextDocumentParagraphsItemRunsItem] }, optional: false, nullable: false
19
+ end
20
+ end
21
+ end
@@ -2,7 +2,7 @@
2
2
 
3
3
  module CloudPDF
4
4
  module Types
5
- module AnnotationFreeTextRichTextParagraphsItemAlign
5
+ module RichTextDocumentParagraphsItemAlign
6
6
  extend CloudPDF::Internal::Types::Enum
7
7
 
8
8
  LEFT = "left"
@@ -2,7 +2,7 @@
2
2
 
3
3
  module CloudPDF
4
4
  module Types
5
- module AnnotationFreeTextRichTextParagraphsItemDir
5
+ module RichTextDocumentParagraphsItemDir
6
6
  extend CloudPDF::Internal::Types::Enum
7
7
 
8
8
  LTR = "ltr"
@@ -2,7 +2,7 @@
2
2
 
3
3
  module CloudPDF
4
4
  module Types
5
- class AnnotationFreeTextRichTextBodyMargins < Internal::Types::Model
5
+ class RichTextDocumentParagraphsItemMargins < Internal::Types::Model
6
6
  field :top, -> { Integer }, optional: false, nullable: false
7
7
 
8
8
  field :bottom, -> { Integer }, optional: false, nullable: false
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CloudPDF
4
+ module Types
5
+ class RichTextDocumentParagraphsItemRunsItem < Internal::Types::Model
6
+ field :text, -> { String }, optional: false, nullable: false
7
+
8
+ field :style, -> { CloudPDF::Types::RichTextDocumentParagraphsItemRunsItemStyle }, optional: true, nullable: false
9
+ end
10
+ end
11
+ end
@@ -2,7 +2,7 @@
2
2
 
3
3
  module CloudPDF
4
4
  module Types
5
- class AnnotationPatchFreeTextRichTextParagraphsItemRunsItemStyle < Internal::Types::Model
5
+ class RichTextDocumentParagraphsItemRunsItemStyle < Internal::Types::Model
6
6
  field :family, -> { String }, optional: true, nullable: false
7
7
 
8
8
  field :weight, -> { Integer }, optional: true, nullable: false
@@ -13,9 +13,9 @@ module CloudPDF
13
13
 
14
14
  field :color, -> { String }, optional: true, nullable: false
15
15
 
16
- field :decoration, -> { Internal::Types::Array[CloudPDF::Types::AnnotationPatchFreeTextRichTextParagraphsItemRunsItemStyleDecorationItem] }, optional: true, nullable: false
16
+ field :decoration, -> { Internal::Types::Array[CloudPDF::Types::RichTextDocumentParagraphsItemRunsItemStyleDecorationItem] }, optional: true, nullable: false
17
17
 
18
- field :script, -> { CloudPDF::Types::AnnotationPatchFreeTextRichTextParagraphsItemRunsItemStyleScript }, optional: true, nullable: false
18
+ field :script, -> { CloudPDF::Types::RichTextDocumentParagraphsItemRunsItemStyleScript }, optional: true, nullable: false
19
19
 
20
20
  field :letter_spacing, -> { Integer }, optional: true, nullable: false, api_name: "letterSpacing"
21
21
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  module CloudPDF
4
4
  module Types
5
- module AnnotationDraftFreeTextRichTextBodyDecorationItem
5
+ module RichTextDocumentParagraphsItemRunsItemStyleDecorationItem
6
6
  extend CloudPDF::Internal::Types::Enum
7
7
 
8
8
  UNDERLINE = "underline"
@@ -2,7 +2,7 @@
2
2
 
3
3
  module CloudPDF
4
4
  module Types
5
- module AnnotationPatchFreeTextRichTextBodyScript
5
+ module RichTextDocumentParagraphsItemRunsItemStyleScript
6
6
  extend CloudPDF::Internal::Types::Enum
7
7
 
8
8
  NORMAL = "normal"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CloudPDF
4
- VERSION = "3.0.0.alpha.21"
4
+ VERSION = "3.0.0.alpha.22"
5
5
  end