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.
- checksums.yaml +4 -4
- data/.fern/metadata.json +2 -2
- data/lib/CloudPDF/deployment/client.rb +37 -0
- data/lib/CloudPDF/tenants/client.rb +4 -0
- data/lib/CloudPDF/tenants/types/usage_tenants_request.rb +4 -0
- data/lib/CloudPDF/types/annotation_caret.rb +2 -0
- data/lib/CloudPDF/types/annotation_circle.rb +3 -1
- data/lib/CloudPDF/types/annotation_draft_caret.rb +2 -0
- data/lib/CloudPDF/types/annotation_draft_circle.rb +2 -0
- data/lib/CloudPDF/types/annotation_draft_file_attachment.rb +2 -0
- data/lib/CloudPDF/types/annotation_draft_free_text.rb +2 -2
- data/lib/CloudPDF/types/annotation_draft_highlight.rb +2 -0
- data/lib/CloudPDF/types/annotation_draft_ink.rb +2 -0
- data/lib/CloudPDF/types/annotation_draft_line.rb +2 -0
- data/lib/CloudPDF/types/annotation_draft_polygon.rb +2 -0
- data/lib/CloudPDF/types/annotation_draft_polyline.rb +2 -0
- data/lib/CloudPDF/types/annotation_draft_redact.rb +2 -0
- data/lib/CloudPDF/types/annotation_draft_square.rb +2 -0
- data/lib/CloudPDF/types/annotation_draft_squiggly.rb +2 -0
- data/lib/CloudPDF/types/annotation_draft_stamp.rb +2 -0
- data/lib/CloudPDF/types/annotation_draft_strikeout.rb +2 -0
- data/lib/CloudPDF/types/annotation_draft_text.rb +2 -0
- data/lib/CloudPDF/types/annotation_draft_underline.rb +2 -0
- data/lib/CloudPDF/types/annotation_file_attachment.rb +2 -0
- data/lib/CloudPDF/types/annotation_free_text.rb +2 -2
- data/lib/CloudPDF/types/annotation_highlight.rb +2 -0
- data/lib/CloudPDF/types/annotation_ink.rb +3 -1
- data/lib/CloudPDF/types/annotation_line.rb +3 -1
- data/lib/CloudPDF/types/annotation_patch_caret.rb +2 -0
- data/lib/CloudPDF/types/annotation_patch_circle.rb +2 -0
- data/lib/CloudPDF/types/annotation_patch_file_attachment.rb +2 -0
- data/lib/CloudPDF/types/annotation_patch_free_text.rb +2 -2
- data/lib/CloudPDF/types/annotation_patch_highlight.rb +2 -0
- data/lib/CloudPDF/types/annotation_patch_ink.rb +2 -0
- data/lib/CloudPDF/types/annotation_patch_line.rb +2 -0
- data/lib/CloudPDF/types/annotation_patch_polygon.rb +2 -0
- data/lib/CloudPDF/types/annotation_patch_polyline.rb +2 -0
- data/lib/CloudPDF/types/annotation_patch_redact.rb +2 -0
- data/lib/CloudPDF/types/annotation_patch_square.rb +2 -0
- data/lib/CloudPDF/types/annotation_patch_squiggly.rb +2 -0
- data/lib/CloudPDF/types/annotation_patch_stamp.rb +2 -0
- data/lib/CloudPDF/types/annotation_patch_strikeout.rb +2 -0
- data/lib/CloudPDF/types/annotation_patch_text.rb +2 -0
- data/lib/CloudPDF/types/annotation_patch_underline.rb +2 -0
- data/lib/CloudPDF/types/annotation_polygon.rb +3 -1
- data/lib/CloudPDF/types/annotation_polyline.rb +3 -1
- data/lib/CloudPDF/types/annotation_redact.rb +2 -0
- data/lib/CloudPDF/types/annotation_square.rb +3 -1
- data/lib/CloudPDF/types/annotation_squiggly.rb +2 -0
- data/lib/CloudPDF/types/annotation_stamp.rb +2 -0
- data/lib/CloudPDF/types/annotation_strikeout.rb +2 -0
- data/lib/CloudPDF/types/annotation_text.rb +2 -0
- data/lib/CloudPDF/types/annotation_underline.rb +2 -0
- data/lib/CloudPDF/types/deployment_modules_response.rb +9 -0
- data/lib/CloudPDF/types/module_manifest.rb +19 -0
- data/lib/CloudPDF/types/module_manifest_requires.rb +9 -0
- data/lib/CloudPDF/types/module_meter.rb +15 -0
- data/lib/CloudPDF/types/module_permission.rb +19 -0
- data/lib/CloudPDF/types/module_permission_level.rb +12 -0
- data/lib/CloudPDF/types/rich_text_document.rb +11 -0
- data/lib/CloudPDF/types/{annotation_free_text_rich_text_body.rb → rich_text_document_body.rb} +6 -6
- data/lib/CloudPDF/types/{annotation_free_text_rich_text_body_align.rb → rich_text_document_body_align.rb} +1 -1
- data/lib/CloudPDF/types/{annotation_free_text_rich_text_body_decoration_item.rb → rich_text_document_body_decoration_item.rb} +1 -1
- data/lib/CloudPDF/types/{annotation_free_text_rich_text_body_dir.rb → rich_text_document_body_dir.rb} +1 -1
- data/lib/CloudPDF/types/{annotation_draft_free_text_rich_text_body_margins.rb → rich_text_document_body_margins.rb} +1 -1
- data/lib/CloudPDF/types/{annotation_free_text_rich_text_body_script.rb → rich_text_document_body_script.rb} +1 -1
- data/lib/CloudPDF/types/rich_text_document_input.rb +11 -0
- data/lib/CloudPDF/types/{annotation_draft_free_text_rich_text_body.rb → rich_text_document_input_body.rb} +6 -6
- data/lib/CloudPDF/types/{annotation_draft_free_text_rich_text_body_align.rb → rich_text_document_input_body_align.rb} +1 -1
- data/lib/CloudPDF/types/{annotation_patch_free_text_rich_text_body_decoration_item.rb → rich_text_document_input_body_decoration_item.rb} +1 -1
- data/lib/CloudPDF/types/{annotation_draft_free_text_rich_text_body_dir.rb → rich_text_document_input_body_dir.rb} +1 -1
- data/lib/CloudPDF/types/{annotation_free_text_rich_text_paragraphs_item_margins.rb → rich_text_document_input_body_margins.rb} +1 -1
- data/lib/CloudPDF/types/{annotation_draft_free_text_rich_text_body_script.rb → rich_text_document_input_body_script.rb} +1 -1
- data/lib/CloudPDF/types/rich_text_document_input_paragraphs_item.rb +21 -0
- data/lib/CloudPDF/types/{annotation_patch_free_text_rich_text_body_align.rb → rich_text_document_input_paragraphs_item_align.rb} +1 -1
- data/lib/CloudPDF/types/{annotation_patch_free_text_rich_text_body_dir.rb → rich_text_document_input_paragraphs_item_dir.rb} +1 -1
- data/lib/CloudPDF/types/{annotation_patch_free_text_rich_text_body_margins.rb → rich_text_document_input_paragraphs_item_margins.rb} +1 -1
- data/lib/CloudPDF/types/rich_text_document_input_paragraphs_item_runs_item.rb +11 -0
- 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
- 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
- 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
- data/lib/CloudPDF/types/rich_text_document_paragraphs_item.rb +21 -0
- data/lib/CloudPDF/types/{annotation_free_text_rich_text_paragraphs_item_align.rb → rich_text_document_paragraphs_item_align.rb} +1 -1
- data/lib/CloudPDF/types/{annotation_free_text_rich_text_paragraphs_item_dir.rb → rich_text_document_paragraphs_item_dir.rb} +1 -1
- data/lib/CloudPDF/types/{annotation_free_text_rich_text_body_margins.rb → rich_text_document_paragraphs_item_margins.rb} +1 -1
- data/lib/CloudPDF/types/rich_text_document_paragraphs_item_runs_item.rb +11 -0
- 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
- 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
- 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
- data/lib/CloudPDF/version.rb +1 -1
- data/lib/cloudpdf.rb +36 -45
- data/reference.md +70 -0
- metadata +38 -47
- data/lib/CloudPDF/types/annotation_draft_free_text_rich_text.rb +0 -11
- data/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item.rb +0 -21
- data/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_align.rb +0 -14
- data/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_dir.rb +0 -12
- data/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_margins.rb +0 -15
- data/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_runs_item.rb +0 -11
- data/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_runs_item_style.rb +0 -27
- data/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_runs_item_style_decoration_item.rb +0 -13
- data/lib/CloudPDF/types/annotation_draft_free_text_rich_text_paragraphs_item_runs_item_style_script.rb +0 -13
- data/lib/CloudPDF/types/annotation_free_text_rich_text.rb +0 -11
- data/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item.rb +0 -21
- data/lib/CloudPDF/types/annotation_free_text_rich_text_paragraphs_item_runs_item.rb +0 -11
- data/lib/CloudPDF/types/annotation_patch_free_text_rich_text.rb +0 -11
- data/lib/CloudPDF/types/annotation_patch_free_text_rich_text_body.rb +0 -37
- data/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item.rb +0 -21
- data/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_align.rb +0 -14
- data/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_dir.rb +0 -12
- data/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_margins.rb +0 -15
- data/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_runs_item.rb +0 -11
- data/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_runs_item_style_decoration_item.rb +0 -13
- data/lib/CloudPDF/types/annotation_patch_free_text_rich_text_paragraphs_item_runs_item_style_script.rb +0 -13
|
@@ -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,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,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
|
data/lib/CloudPDF/types/{annotation_free_text_rich_text_body.rb → rich_text_document_body.rb}
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module CloudPDF
|
|
4
4
|
module Types
|
|
5
|
-
class
|
|
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::
|
|
16
|
+
field :decoration, -> { Internal::Types::Array[CloudPDF::Types::RichTextDocumentBodyDecorationItem] }, optional: false, nullable: false
|
|
17
17
|
|
|
18
|
-
field :script, -> { CloudPDF::Types::
|
|
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::
|
|
26
|
+
field :align, -> { CloudPDF::Types::RichTextDocumentBodyAlign }, optional: false, nullable: false
|
|
27
27
|
|
|
28
|
-
field :dir, -> { CloudPDF::Types::
|
|
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::
|
|
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
|
-
class
|
|
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
|
|
@@ -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
|
|
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::
|
|
16
|
+
field :decoration, -> { Internal::Types::Array[CloudPDF::Types::RichTextDocumentInputBodyDecorationItem] }, optional: true, nullable: false
|
|
17
17
|
|
|
18
|
-
field :script, -> { CloudPDF::Types::
|
|
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::
|
|
26
|
+
field :align, -> { CloudPDF::Types::RichTextDocumentInputBodyAlign }, optional: true, nullable: false
|
|
27
27
|
|
|
28
|
-
field :dir, -> { CloudPDF::Types::
|
|
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::
|
|
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
|
-
class
|
|
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
|
|
@@ -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
|
-
class
|
|
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
|
|
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::
|
|
16
|
+
field :decoration, -> { Internal::Types::Array[CloudPDF::Types::RichTextDocumentInputParagraphsItemRunsItemStyleDecorationItem] }, optional: true, nullable: false
|
|
17
17
|
|
|
18
|
-
field :script, -> { CloudPDF::Types::
|
|
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
|
|
|
@@ -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
|
-
class
|
|
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
|
|
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::
|
|
16
|
+
field :decoration, -> { Internal::Types::Array[CloudPDF::Types::RichTextDocumentParagraphsItemRunsItemStyleDecorationItem] }, optional: true, nullable: false
|
|
17
17
|
|
|
18
|
-
field :script, -> { CloudPDF::Types::
|
|
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
|
|
data/lib/CloudPDF/version.rb
CHANGED