cloudpdf 3.3.0 → 3.4.0

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 (30) hide show
  1. checksums.yaml +4 -4
  2. data/.fern/metadata.json +2 -2
  3. data/lib/CloudPDF/client.rb +1 -1
  4. data/lib/CloudPDF/types/change_op_forms_set_signature_appearance_resources.rb +1 -1
  5. data/lib/CloudPDF/types/form_field_checkbox.rb +2 -0
  6. data/lib/CloudPDF/types/form_field_combobox.rb +4 -0
  7. data/lib/CloudPDF/types/form_field_draft_checkbox.rb +2 -0
  8. data/lib/CloudPDF/types/form_field_draft_combobox.rb +4 -0
  9. data/lib/CloudPDF/types/form_field_draft_listbox.rb +2 -0
  10. data/lib/CloudPDF/types/form_field_draft_pushbutton.rb +2 -0
  11. data/lib/CloudPDF/types/form_field_draft_radio.rb +2 -0
  12. data/lib/CloudPDF/types/form_field_draft_signature.rb +2 -0
  13. data/lib/CloudPDF/types/form_field_draft_text.rb +4 -0
  14. data/lib/CloudPDF/types/form_field_format.rb +20 -0
  15. data/lib/CloudPDF/types/form_field_format_date.rb +9 -0
  16. data/lib/CloudPDF/types/form_field_format_other.rb +7 -0
  17. data/lib/CloudPDF/types/form_field_format_time.rb +9 -0
  18. data/lib/CloudPDF/types/form_field_format_writable.rb +15 -0
  19. data/lib/CloudPDF/types/form_field_format_writable_date.rb +9 -0
  20. data/lib/CloudPDF/types/form_field_format_writable_time.rb +9 -0
  21. data/lib/CloudPDF/types/form_field_listbox.rb +2 -0
  22. data/lib/CloudPDF/types/form_field_patch.rb +4 -0
  23. data/lib/CloudPDF/types/form_field_pushbutton.rb +2 -0
  24. data/lib/CloudPDF/types/form_field_radio.rb +2 -0
  25. data/lib/CloudPDF/types/form_field_signature.rb +2 -0
  26. data/lib/CloudPDF/types/form_field_text.rb +4 -0
  27. data/lib/CloudPDF/types/form_field_unknown.rb +2 -0
  28. data/lib/CloudPDF/version.rb +1 -1
  29. data/lib/cloudpdf.rb +7 -0
  30. metadata +9 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ab8453accf8f678434e029bb0d20116436f721012e0c2bcd01187b5d87026971
4
- data.tar.gz: c6bca45a02ef2432aca92608f8be097c9a96934b3c24a502ce1b8291beb9ce5b
3
+ metadata.gz: 4e2b23b83f7c50ec8e9df028560ba9667d57f648be9017e8ec9066825d815626
4
+ data.tar.gz: 4f4497b5ac4f3ddff8449e0f6edb477c74dc8e822c8c403b4347ca6fa624305c
5
5
  SHA512:
6
- metadata.gz: 1e396f8514cc63acbbfd6a68f0994db950e5e97db484407ffa8c8f9dd1eba310346513924819c3bc30b27f44a12574827bdd19bab526801e78b79cfc6147eeb8
7
- data.tar.gz: 25ac8fe7625985d1ae02171a955c88fa2f2387d6953def4c8128557ef76c2710f37f4ac86f60015620ee9377e8a1c20eaeb2acb88255b2fb2973a7e138719c7c
6
+ metadata.gz: 443467913b24cf33016c0512dc7d6a865b8d4613e9c98fe04859990f16641a89c38d4cbfd32f430541d9d335edb9d86db8fcf35ad1300d1f9290108223cbaba2
7
+ data.tar.gz: 613e0e40609681b4c55c97bef41b9d68106dfd960d8bd45d6364009baf1ca68ab41f8763d8a2ad83273244040fcb4faf1885c1619f6ea27cfe3f1292261a142d
data/.fern/metadata.json CHANGED
@@ -5,9 +5,9 @@
5
5
  "generatorConfig": {
6
6
  "moduleName": "CloudPDF"
7
7
  },
8
- "originGitCommit": "4b156274cbffac1a19f266d36d27b4ed07bf2b53",
8
+ "originGitCommit": "9af4d9ee755d6e5c20a8055654e895a81b95fb83",
9
9
  "originGitCommitIsDirty": false,
10
10
  "invokedBy": "ci",
11
- "requestedVersion": "3.3.0",
11
+ "requestedVersion": "3.4.0",
12
12
  "ciProvider": "github"
13
13
  }
@@ -13,7 +13,7 @@ module CloudPDF
13
13
  headers: {
14
14
  "X-Fern-Language" => "Ruby",
15
15
  Authorization: "Bearer #{token}",
16
- "EmbedPDF-Version" => "3.3"
16
+ "EmbedPDF-Version" => "3.4"
17
17
  },
18
18
  max_retries: max_retries
19
19
  )
@@ -3,7 +3,7 @@
3
3
  module CloudPDF
4
4
  module Types
5
5
  class ChangeOpFormsSetSignatureAppearanceResources < Internal::Types::Model
6
- field :appearance, -> { String }, optional: false, nullable: false
6
+ field :appearance, -> { String }, optional: false, nullable: true
7
7
  end
8
8
  end
9
9
  end
@@ -27,6 +27,8 @@ module CloudPDF
27
27
 
28
28
  field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId"
29
29
 
30
+ field :purpose, -> { String }, optional: false, nullable: true
31
+
30
32
  field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy"
31
33
 
32
34
  field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt"
@@ -27,6 +27,8 @@ module CloudPDF
27
27
 
28
28
  field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId"
29
29
 
30
+ field :purpose, -> { String }, optional: false, nullable: true
31
+
30
32
  field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy"
31
33
 
32
34
  field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt"
@@ -48,6 +50,8 @@ module CloudPDF
48
50
  field :edit, -> { Internal::Types::Boolean }, optional: false, nullable: false
49
51
 
50
52
  field :options, -> { Internal::Types::Array[CloudPDF::Types::FormFieldComboboxOptionsItem] }, optional: false, nullable: false
53
+
54
+ field :format, -> { CloudPDF::Types::FormFieldFormat }, optional: false, nullable: true
51
55
  end
52
56
  end
53
57
  end
@@ -17,6 +17,8 @@ module CloudPDF
17
17
 
18
18
  field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId"
19
19
 
20
+ field :purpose, -> { String }, optional: true, nullable: false
21
+
20
22
  field :actions, -> { CloudPDF::Types::FieldActionsPatch }, optional: true, nullable: false
21
23
 
22
24
  field :widgets, -> { Internal::Types::Array[CloudPDF::Types::WidgetPlacement] }, optional: true, nullable: false
@@ -17,6 +17,8 @@ module CloudPDF
17
17
 
18
18
  field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId"
19
19
 
20
+ field :purpose, -> { String }, optional: true, nullable: false
21
+
20
22
  field :actions, -> { CloudPDF::Types::FieldActionsPatch }, optional: true, nullable: false
21
23
 
22
24
  field :widgets, -> { Internal::Types::Array[CloudPDF::Types::WidgetPlacement] }, optional: true, nullable: false
@@ -26,6 +28,8 @@ module CloudPDF
26
28
  field :options, -> { Internal::Types::Array[CloudPDF::Types::FormFieldDraftComboboxOptionsItem] }, optional: true, nullable: false
27
29
 
28
30
  field :default_value, -> { String }, optional: true, nullable: false, api_name: "defaultValue"
31
+
32
+ field :format, -> { CloudPDF::Types::FormFieldFormatWritable }, optional: true, nullable: false
29
33
  end
30
34
  end
31
35
  end
@@ -17,6 +17,8 @@ module CloudPDF
17
17
 
18
18
  field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId"
19
19
 
20
+ field :purpose, -> { String }, optional: true, nullable: false
21
+
20
22
  field :actions, -> { CloudPDF::Types::FieldActionsPatch }, optional: true, nullable: false
21
23
 
22
24
  field :widgets, -> { Internal::Types::Array[CloudPDF::Types::WidgetPlacement] }, optional: true, nullable: false
@@ -17,6 +17,8 @@ module CloudPDF
17
17
 
18
18
  field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId"
19
19
 
20
+ field :purpose, -> { String }, optional: true, nullable: false
21
+
20
22
  field :actions, -> { CloudPDF::Types::FieldActionsPatch }, optional: true, nullable: false
21
23
 
22
24
  field :widgets, -> { Internal::Types::Array[CloudPDF::Types::WidgetPlacement] }, optional: true, nullable: false
@@ -17,6 +17,8 @@ module CloudPDF
17
17
 
18
18
  field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId"
19
19
 
20
+ field :purpose, -> { String }, optional: true, nullable: false
21
+
20
22
  field :actions, -> { CloudPDF::Types::FieldActionsPatch }, optional: true, nullable: false
21
23
 
22
24
  field :widgets, -> { Internal::Types::Array[CloudPDF::Types::WidgetPlacement] }, optional: true, nullable: false
@@ -17,6 +17,8 @@ module CloudPDF
17
17
 
18
18
  field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId"
19
19
 
20
+ field :purpose, -> { String }, optional: true, nullable: false
21
+
20
22
  field :actions, -> { CloudPDF::Types::FieldActionsPatch }, optional: true, nullable: false
21
23
 
22
24
  field :widgets, -> { Internal::Types::Array[CloudPDF::Types::WidgetPlacement] }, optional: true, nullable: false
@@ -17,6 +17,8 @@ module CloudPDF
17
17
 
18
18
  field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId"
19
19
 
20
+ field :purpose, -> { String }, optional: true, nullable: false
21
+
20
22
  field :actions, -> { CloudPDF::Types::FieldActionsPatch }, optional: true, nullable: false
21
23
 
22
24
  field :widgets, -> { Internal::Types::Array[CloudPDF::Types::WidgetPlacement] }, optional: true, nullable: false
@@ -30,6 +32,8 @@ module CloudPDF
30
32
  field :password, -> { Internal::Types::Boolean }, optional: true, nullable: false
31
33
 
32
34
  field :comb, -> { Internal::Types::Boolean }, optional: true, nullable: false
35
+
36
+ field :format, -> { CloudPDF::Types::FormFieldFormatWritable }, optional: true, nullable: false
33
37
  end
34
38
  end
35
39
  end
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CloudPDF
4
+ module Types
5
+ # The shape a text field's or a dropdown's value has, by its `kind`: a date or a time with the pattern it is shown
6
+ # in, or `other` for a format script the engine does not recognise. A newer server can add kinds: read one your
7
+ # client doesn't know as `other`.
8
+ class FormFieldFormat < Internal::Types::Model
9
+ extend CloudPDF::Internal::Types::Union
10
+
11
+ discriminant :kind
12
+
13
+ member -> { CloudPDF::Types::FormFieldFormatDate }, key: "DATE"
14
+
15
+ member -> { CloudPDF::Types::FormFieldFormatTime }, key: "TIME"
16
+
17
+ member -> { CloudPDF::Types::FormFieldFormatOther }, key: "OTHER"
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CloudPDF
4
+ module Types
5
+ class FormFieldFormatDate < Internal::Types::Model
6
+ field :pattern, -> { String }, optional: false, nullable: false
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CloudPDF
4
+ module Types
5
+ class FormFieldFormatOther < Internal::Types::Model; end
6
+ end
7
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CloudPDF
4
+ module Types
5
+ class FormFieldFormatTime < Internal::Types::Model
6
+ field :pattern, -> { 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 FormFieldFormatWritable < Internal::Types::Model
6
+ extend CloudPDF::Internal::Types::Union
7
+
8
+ discriminant :kind
9
+
10
+ member -> { CloudPDF::Types::FormFieldFormatWritableDate }, key: "DATE"
11
+
12
+ member -> { CloudPDF::Types::FormFieldFormatWritableTime }, key: "TIME"
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CloudPDF
4
+ module Types
5
+ class FormFieldFormatWritableDate < Internal::Types::Model
6
+ field :pattern, -> { String }, optional: false, nullable: false
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CloudPDF
4
+ module Types
5
+ class FormFieldFormatWritableTime < Internal::Types::Model
6
+ field :pattern, -> { String }, optional: false, nullable: false
7
+ end
8
+ end
9
+ end
@@ -27,6 +27,8 @@ module CloudPDF
27
27
 
28
28
  field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId"
29
29
 
30
+ field :purpose, -> { String }, optional: false, nullable: true
31
+
30
32
  field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy"
31
33
 
32
34
  field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt"
@@ -17,6 +17,8 @@ module CloudPDF
17
17
 
18
18
  field :group_id, -> { String }, optional: true, nullable: false, api_name: "groupId"
19
19
 
20
+ field :purpose, -> { String }, optional: true, nullable: false
21
+
20
22
  field :actions, -> { CloudPDF::Types::FieldActionsPatch }, optional: true, nullable: false
21
23
 
22
24
  field :kind, -> { CloudPDF::Types::FormFieldPatchKind }, optional: true, nullable: false
@@ -40,6 +42,8 @@ module CloudPDF
40
42
  field :multi_select, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "multiSelect"
41
43
 
42
44
  field :options, -> { Internal::Types::Array[CloudPDF::Types::FormFieldPatchOptionsItem] }, optional: true, nullable: false
45
+
46
+ field :format, -> { CloudPDF::Types::FormFieldFormatWritable }, optional: true, nullable: false
43
47
  end
44
48
  end
45
49
  end
@@ -27,6 +27,8 @@ module CloudPDF
27
27
 
28
28
  field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId"
29
29
 
30
+ field :purpose, -> { String }, optional: false, nullable: true
31
+
30
32
  field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy"
31
33
 
32
34
  field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt"
@@ -27,6 +27,8 @@ module CloudPDF
27
27
 
28
28
  field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId"
29
29
 
30
+ field :purpose, -> { String }, optional: false, nullable: true
31
+
30
32
  field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy"
31
33
 
32
34
  field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt"
@@ -27,6 +27,8 @@ module CloudPDF
27
27
 
28
28
  field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId"
29
29
 
30
+ field :purpose, -> { String }, optional: false, nullable: true
31
+
30
32
  field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy"
31
33
 
32
34
  field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt"
@@ -27,6 +27,8 @@ module CloudPDF
27
27
 
28
28
  field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId"
29
29
 
30
+ field :purpose, -> { String }, optional: false, nullable: true
31
+
30
32
  field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy"
31
33
 
32
34
  field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt"
@@ -52,6 +54,8 @@ module CloudPDF
52
54
  field :password, -> { Internal::Types::Boolean }, optional: false, nullable: false
53
55
 
54
56
  field :comb, -> { Internal::Types::Boolean }, optional: false, nullable: false
57
+
58
+ field :format, -> { CloudPDF::Types::FormFieldFormat }, optional: false, nullable: true
55
59
  end
56
60
  end
57
61
  end
@@ -27,6 +27,8 @@ module CloudPDF
27
27
 
28
28
  field :group_id, -> { String }, optional: false, nullable: true, api_name: "groupId"
29
29
 
30
+ field :purpose, -> { String }, optional: false, nullable: true
31
+
30
32
  field :created_by, -> { String }, optional: false, nullable: true, api_name: "createdBy"
31
33
 
32
34
  field :created_at, -> { String }, optional: false, nullable: true, api_name: "createdAt"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CloudPDF
4
- VERSION = "3.3.0"
4
+ VERSION = "3.4.0"
5
5
  end
data/lib/cloudpdf.rb CHANGED
@@ -638,6 +638,9 @@ require_relative "CloudPDF/types/annotation_position"
638
638
  require_relative "CloudPDF/types/form_field_ref_object_number"
639
639
  require_relative "CloudPDF/types/form_field_ref_fqn"
640
640
  require_relative "CloudPDF/types/form_field_ref"
641
+ require_relative "CloudPDF/types/form_field_format_writable_date"
642
+ require_relative "CloudPDF/types/form_field_format_writable_time"
643
+ require_relative "CloudPDF/types/form_field_format_writable"
641
644
  require_relative "CloudPDF/types/form_field_value"
642
645
  require_relative "CloudPDF/types/widget_placement_rect"
643
646
  require_relative "CloudPDF/types/widget_placement_box"
@@ -1034,6 +1037,10 @@ require_relative "CloudPDF/types/annotation"
1034
1037
  require_relative "CloudPDF/types/annotation_list"
1035
1038
  require_relative "CloudPDF/types/annotation_mutation_meta"
1036
1039
  require_relative "CloudPDF/types/form_field_text_origin"
1040
+ require_relative "CloudPDF/types/form_field_format_date"
1041
+ require_relative "CloudPDF/types/form_field_format_time"
1042
+ require_relative "CloudPDF/types/form_field_format_other"
1043
+ require_relative "CloudPDF/types/form_field_format"
1037
1044
  require_relative "CloudPDF/types/form_value_entry_none"
1038
1045
  require_relative "CloudPDF/types/form_value_entry_scalar"
1039
1046
  require_relative "CloudPDF/types/form_value_entry_array"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudpdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0
4
+ version: 3.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - CloudPDF
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-11-16 00:00:00.000000000 Z
11
+ date: 2026-11-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A typed Ruby client for deployment, tenant, and document operations in
14
14
  the CloudPDF API.
@@ -1331,6 +1331,13 @@ files:
1331
1331
  - lib/CloudPDF/types/form_field_draft_radio.rb
1332
1332
  - lib/CloudPDF/types/form_field_draft_signature.rb
1333
1333
  - lib/CloudPDF/types/form_field_draft_text.rb
1334
+ - lib/CloudPDF/types/form_field_format.rb
1335
+ - lib/CloudPDF/types/form_field_format_date.rb
1336
+ - lib/CloudPDF/types/form_field_format_other.rb
1337
+ - lib/CloudPDF/types/form_field_format_time.rb
1338
+ - lib/CloudPDF/types/form_field_format_writable.rb
1339
+ - lib/CloudPDF/types/form_field_format_writable_date.rb
1340
+ - lib/CloudPDF/types/form_field_format_writable_time.rb
1334
1341
  - lib/CloudPDF/types/form_field_listbox.rb
1335
1342
  - lib/CloudPDF/types/form_field_listbox_options_item.rb
1336
1343
  - lib/CloudPDF/types/form_field_listbox_origin.rb