dropbox-sign 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +26 -9
  4. data/VERSION +1 -0
  5. data/bin/release +39 -0
  6. data/bin/ruby +1 -0
  7. data/docs/BulkSendJobApi.md +5 -3
  8. data/docs/SignatureRequestApi.md +3 -3
  9. data/docs/SignatureRequestCreateEmbeddedRequest.md +1 -1
  10. data/docs/SignatureRequestSendRequest.md +1 -1
  11. data/docs/SubFormFieldsPerDocumentBase.md +1 -1
  12. data/docs/TeamResponse.md +1 -0
  13. data/docs/TemplateCreateEmbeddedDraftRequest.md +1 -1
  14. data/docs/TemplateResponse.md +2 -2
  15. data/docs/TemplateResponseDocument.md +3 -3
  16. data/docs/{TemplateResponseCustomField.md → TemplateResponseDocumentCustomFieldBase.md} +6 -8
  17. data/docs/TemplateResponseDocumentCustomFieldCheckbox.md +10 -0
  18. data/docs/TemplateResponseDocumentCustomFieldText.md +14 -0
  19. data/docs/TemplateResponseDocumentFieldGroup.md +1 -1
  20. data/docs/TemplateResponseDocumentFieldGroupRule.md +11 -0
  21. data/docs/{TemplateResponseDocumentFormField.md → TemplateResponseDocumentFormFieldBase.md} +5 -8
  22. data/docs/TemplateResponseDocumentFormFieldCheckbox.md +10 -0
  23. data/docs/TemplateResponseDocumentFormFieldDateSigned.md +10 -0
  24. data/docs/TemplateResponseDocumentFormFieldDropdown.md +10 -0
  25. data/docs/TemplateResponseDocumentFormFieldHyperlink.md +14 -0
  26. data/docs/TemplateResponseDocumentFormFieldInitials.md +10 -0
  27. data/docs/TemplateResponseDocumentFormFieldRadio.md +10 -0
  28. data/docs/TemplateResponseDocumentFormFieldSignature.md +10 -0
  29. data/docs/TemplateResponseDocumentFormFieldText.md +15 -0
  30. data/docs/{TemplateResponseDocumentStaticField.md → TemplateResponseDocumentStaticFieldBase.md} +6 -5
  31. data/docs/TemplateResponseDocumentStaticFieldCheckbox.md +10 -0
  32. data/docs/TemplateResponseDocumentStaticFieldDateSigned.md +10 -0
  33. data/docs/TemplateResponseDocumentStaticFieldDropdown.md +10 -0
  34. data/docs/TemplateResponseDocumentStaticFieldHyperlink.md +10 -0
  35. data/docs/TemplateResponseDocumentStaticFieldInitials.md +10 -0
  36. data/docs/TemplateResponseDocumentStaticFieldRadio.md +10 -0
  37. data/docs/TemplateResponseDocumentStaticFieldSignature.md +10 -0
  38. data/docs/TemplateResponseDocumentStaticFieldText.md +10 -0
  39. data/docs/TemplateResponseFieldAvgTextLength.md +1 -1
  40. data/docs/UnclaimedDraftApi.md +2 -2
  41. data/docs/UnclaimedDraftCreateEmbeddedRequest.md +1 -1
  42. data/docs/UnclaimedDraftCreateRequest.md +1 -1
  43. data/examples/SignatureRequestCreateEmbedded.rb +1 -1
  44. data/examples/SignatureRequestSend.rb +2 -2
  45. data/examples/UnclaimedDraftCreate.rb +2 -2
  46. data/lib/dropbox-sign/api/bulk_send_job_api.rb +6 -0
  47. data/lib/dropbox-sign/models/signature_request_create_embedded_request.rb +1 -1
  48. data/lib/dropbox-sign/models/signature_request_send_request.rb +1 -1
  49. data/lib/dropbox-sign/models/sub_form_fields_per_document_base.rb +1 -1
  50. data/lib/dropbox-sign/models/team_response.rb +17 -4
  51. data/lib/dropbox-sign/models/template_create_embedded_draft_request.rb +1 -1
  52. data/lib/dropbox-sign/models/template_response.rb +5 -5
  53. data/lib/dropbox-sign/models/template_response_document.rb +9 -9
  54. data/lib/dropbox-sign/models/{template_response_document_static_field.rb → template_response_document_custom_field_base.rb} +75 -43
  55. data/lib/dropbox-sign/models/template_response_document_custom_field_checkbox.rb +263 -0
  56. data/lib/dropbox-sign/models/template_response_document_custom_field_text.rb +306 -0
  57. data/lib/dropbox-sign/models/template_response_document_field_group.rb +2 -3
  58. data/lib/dropbox-sign/models/template_response_document_field_group_rule.rb +263 -0
  59. data/lib/dropbox-sign/models/{template_response_named_form_field.rb → template_response_document_form_field_base.rb} +82 -79
  60. data/lib/dropbox-sign/models/template_response_document_form_field_checkbox.rb +263 -0
  61. data/lib/dropbox-sign/models/template_response_document_form_field_date_signed.rb +263 -0
  62. data/lib/dropbox-sign/models/template_response_document_form_field_dropdown.rb +263 -0
  63. data/lib/dropbox-sign/models/template_response_document_form_field_hyperlink.rb +306 -0
  64. data/lib/dropbox-sign/models/template_response_document_form_field_initials.rb +263 -0
  65. data/lib/dropbox-sign/models/template_response_document_form_field_radio.rb +263 -0
  66. data/lib/dropbox-sign/models/template_response_document_form_field_signature.rb +263 -0
  67. data/lib/dropbox-sign/models/{template_response_document_form_field.rb → template_response_document_form_field_text.rb} +53 -132
  68. data/lib/dropbox-sign/models/{template_response_custom_field.rb → template_response_document_static_field_base.rb} +94 -112
  69. data/lib/dropbox-sign/models/template_response_document_static_field_checkbox.rb +263 -0
  70. data/lib/dropbox-sign/models/template_response_document_static_field_date_signed.rb +263 -0
  71. data/lib/dropbox-sign/models/template_response_document_static_field_dropdown.rb +263 -0
  72. data/lib/dropbox-sign/models/template_response_document_static_field_hyperlink.rb +263 -0
  73. data/lib/dropbox-sign/models/template_response_document_static_field_initials.rb +263 -0
  74. data/lib/dropbox-sign/models/template_response_document_static_field_radio.rb +263 -0
  75. data/lib/dropbox-sign/models/template_response_document_static_field_signature.rb +263 -0
  76. data/lib/dropbox-sign/models/template_response_document_static_field_text.rb +263 -0
  77. data/lib/dropbox-sign/models/template_response_field_avg_text_length.rb +1 -1
  78. data/lib/dropbox-sign/models/unclaimed_draft_create_embedded_request.rb +1 -1
  79. data/lib/dropbox-sign/models/unclaimed_draft_create_request.rb +1 -1
  80. data/lib/dropbox-sign/version.rb +1 -1
  81. data/lib/dropbox-sign.rb +22 -5
  82. data/openapi-config.yaml +4 -1
  83. data/openapi-sdk.yaml +598 -186
  84. data/templates/VERSION-root.mustache +1 -0
  85. data/test_fixtures/AccountCreateResponse.json +1 -0
  86. data/test_fixtures/ApiAppGetResponse.json +1 -0
  87. data/test_fixtures/ApiAppListResponse.json +1 -0
  88. data/test_fixtures/BulkSendJobGetResponse.json +8 -3
  89. data/test_fixtures/SignatureRequestGetResponse.json +65 -65
  90. data/test_fixtures/SignatureRequestListResponse.json +11 -4
  91. data/test_fixtures/TemplateGetResponse.json +1064 -41
  92. data/test_fixtures/TemplateListResponse.json +513 -44
  93. metadata +58 -64
  94. data/docs/TemplateResponseDocumentCustomField.md +0 -25
  95. data/docs/TemplateResponseNamedFormField.md +0 -23
  96. data/lib/dropbox-sign/models/template_response_document_custom_field.rb +0 -454
  97. data/vendor/autoload.php +0 -7
  98. data/vendor/bin/yaml-lint +0 -117
  99. data/vendor/composer/ClassLoader.php +0 -572
  100. data/vendor/composer/InstalledVersions.php +0 -350
  101. data/vendor/composer/LICENSE +0 -21
  102. data/vendor/composer/autoload_classmap.php +0 -10
  103. data/vendor/composer/autoload_files.php +0 -11
  104. data/vendor/composer/autoload_namespaces.php +0 -9
  105. data/vendor/composer/autoload_psr4.php +0 -11
  106. data/vendor/composer/autoload_real.php +0 -80
  107. data/vendor/composer/autoload_static.php +0 -46
  108. data/vendor/composer/installed.json +0 -239
  109. data/vendor/composer/installed.php +0 -50
  110. data/vendor/composer/platform_check.php +0 -26
  111. data/vendor/symfony/deprecation-contracts/.gitignore +0 -3
  112. data/vendor/symfony/deprecation-contracts/CHANGELOG.md +0 -5
  113. data/vendor/symfony/deprecation-contracts/LICENSE +0 -19
  114. data/vendor/symfony/deprecation-contracts/README.md +0 -26
  115. data/vendor/symfony/deprecation-contracts/composer.json +0 -35
  116. data/vendor/symfony/deprecation-contracts/function.php +0 -27
  117. data/vendor/symfony/polyfill-ctype/Ctype.php +0 -232
  118. data/vendor/symfony/polyfill-ctype/LICENSE +0 -19
  119. data/vendor/symfony/polyfill-ctype/README.md +0 -12
  120. data/vendor/symfony/polyfill-ctype/bootstrap.php +0 -50
  121. data/vendor/symfony/polyfill-ctype/bootstrap80.php +0 -46
  122. data/vendor/symfony/polyfill-ctype/composer.json +0 -41
  123. data/vendor/symfony/yaml/CHANGELOG.md +0 -237
  124. data/vendor/symfony/yaml/Command/LintCommand.php +0 -289
  125. data/vendor/symfony/yaml/Dumper.php +0 -140
  126. data/vendor/symfony/yaml/Escaper.php +0 -95
  127. data/vendor/symfony/yaml/Exception/DumpException.php +0 -21
  128. data/vendor/symfony/yaml/Exception/ExceptionInterface.php +0 -21
  129. data/vendor/symfony/yaml/Exception/ParseException.php +0 -132
  130. data/vendor/symfony/yaml/Exception/RuntimeException.php +0 -21
  131. data/vendor/symfony/yaml/Inline.php +0 -812
  132. data/vendor/symfony/yaml/LICENSE +0 -19
  133. data/vendor/symfony/yaml/Parser.php +0 -1305
  134. data/vendor/symfony/yaml/README.md +0 -13
  135. data/vendor/symfony/yaml/Resources/bin/yaml-lint +0 -45
  136. data/vendor/symfony/yaml/Tag/TaggedValue.php +0 -38
  137. data/vendor/symfony/yaml/Unescaper.php +0 -132
  138. data/vendor/symfony/yaml/Yaml.php +0 -100
  139. data/vendor/symfony/yaml/composer.json +0 -42
data/openapi-sdk.yaml CHANGED
@@ -982,6 +982,20 @@ paths:
982
982
  schema:
983
983
  type: string
984
984
  example: 6e683bc0369ba3d5b6f43c2c22a8031dbf6bd174
985
+ -
986
+ name: page
987
+ in: query
988
+ description: 'Which page number of the BulkSendJob list to return. Defaults to `1`.'
989
+ schema:
990
+ type: integer
991
+ default: 1
992
+ -
993
+ name: page_size
994
+ in: query
995
+ description: 'Number of objects to be returned per page. Must be between `1` and `100`. Default is 20.'
996
+ schema:
997
+ type: integer
998
+ default: 20
985
999
  responses:
986
1000
  200:
987
1001
  description: 'successful operation'
@@ -6821,7 +6835,7 @@ components:
6821
6835
  $ref: '#/components/schemas/SubFormFieldRule'
6822
6836
  form_fields_per_document:
6823
6837
  description: |-
6824
- The fields that should appear on the document, expressed as an array of objects. (We're currently fixing a bug where this property only accepts a two-dimensional array. You can read about it here: <a href="/docs/openapi/form-fields-per-document" target="_blank">Using Form Fields per Document</a>.)
6838
+ The fields that should appear on the document, expressed as an array of objects. (We're currently fixing a bug where this property only accepts a two-dimensional array. You can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).)
6825
6839
 
6826
6840
  **NOTE**: Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types.
6827
6841
 
@@ -6882,7 +6896,6 @@ components:
6882
6896
  ⚠️ **Note** ⚠️: Keep your signer's information safe by ensuring that the _signer on your signature request is the intended party_ before using this feature.
6883
6897
  type: boolean
6884
6898
  default: false
6885
- x-beta: closed
6886
6899
  expires_at:
6887
6900
  description: |-
6888
6901
  When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details.
@@ -6975,7 +6988,6 @@ components:
6975
6988
  ⚠️ **Note** ⚠️: Keep your signer's information safe by ensuring that the _signer on your signature request is the intended party_ before using this feature.
6976
6989
  type: boolean
6977
6990
  default: false
6978
- x-beta: closed
6979
6991
  type: object
6980
6992
  SignatureRequestRemindRequest:
6981
6993
  required:
@@ -7073,7 +7085,7 @@ components:
7073
7085
  $ref: '#/components/schemas/SubFormFieldRule'
7074
7086
  form_fields_per_document:
7075
7087
  description: |-
7076
- The fields that should appear on the document, expressed as an array of objects. (We're currently fixing a bug where this property only accepts a two-dimensional array. You can read about it here: <a href="/docs/openapi/form-fields-per-document" target="_blank">Using Form Fields per Document</a>.)
7088
+ The fields that should appear on the document, expressed as an array of objects. (We're currently fixing a bug where this property only accepts a two-dimensional array. You can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).)
7077
7089
 
7078
7090
  **NOTE**: Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types.
7079
7091
 
@@ -7531,7 +7543,7 @@ components:
7531
7543
  type: object
7532
7544
  SubFormFieldsPerDocumentBase:
7533
7545
  description: |-
7534
- The fields that should appear on the document, expressed as an array of objects. (We're currently fixing a bug where this property only accepts a two-dimensional array. You can read about it here: <a href="/docs/openapi/form-fields-per-document" target="_blank">Using Form Fields per Document</a>.)
7546
+ The fields that should appear on the document, expressed as an array of objects. (We're currently fixing a bug where this property only accepts a two-dimensional array. You can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).)
7535
7547
 
7536
7548
  **NOTE**: Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types.
7537
7549
 
@@ -7719,7 +7731,6 @@ components:
7719
7731
  enum:
7720
7732
  - authentication
7721
7733
  - delivery
7722
- x-beta: closed
7723
7734
  type: object
7724
7735
  SubSignatureRequestTemplateSigner:
7725
7736
  required:
@@ -7759,7 +7770,6 @@ components:
7759
7770
  enum:
7760
7771
  - authentication
7761
7772
  - delivery
7762
- x-beta: closed
7763
7773
  type: object
7764
7774
  SubUnclaimedDraftSigner:
7765
7775
  required:
@@ -8060,7 +8070,7 @@ components:
8060
8070
  $ref: '#/components/schemas/SubFormFieldRule'
8061
8071
  form_fields_per_document:
8062
8072
  description: |-
8063
- The fields that should appear on the document, expressed as an array of objects. (We're currently fixing a bug where this property only accepts a two-dimensional array. You can read about it here: <a href="/docs/openapi/form-fields-per-document" target="_blank">Using Form Fields per Document</a>.)
8073
+ The fields that should appear on the document, expressed as an array of objects. (We're currently fixing a bug where this property only accepts a two-dimensional array. You can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).)
8064
8074
 
8065
8075
  **NOTE**: Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types.
8066
8076
 
@@ -8242,7 +8252,7 @@ components:
8242
8252
  $ref: '#/components/schemas/SubFormFieldRule'
8243
8253
  form_fields_per_document:
8244
8254
  description: |-
8245
- The fields that should appear on the document, expressed as an array of objects. (We're currently fixing a bug where this property only accepts a two-dimensional array. You can read about it here: <a href="/docs/openapi/form-fields-per-document" target="_blank">Using Form Fields per Document</a>.)
8255
+ The fields that should appear on the document, expressed as an array of objects. (We're currently fixing a bug where this property only accepts a two-dimensional array. You can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).)
8246
8256
 
8247
8257
  **NOTE**: Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types.
8248
8258
 
@@ -8406,7 +8416,7 @@ components:
8406
8416
  $ref: '#/components/schemas/SubFormFieldRule'
8407
8417
  form_fields_per_document:
8408
8418
  description: |-
8409
- The fields that should appear on the document, expressed as an array of objects. (We're currently fixing a bug where this property only accepts a two-dimensional array. You can read about it here: <a href="/docs/openapi/form-fields-per-document" target="_blank">Using Form Fields per Document</a>.)
8419
+ The fields that should appear on the document, expressed as an array of objects. (We're currently fixing a bug where this property only accepts a two-dimensional array. You can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).)
8410
8420
 
8411
8421
  **NOTE**: Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types.
8412
8422
 
@@ -8509,7 +8519,6 @@ components:
8509
8519
  ⚠️ **Note** ⚠️: Keep your signer's information safe by ensuring that the _signer on your signature request is the intended party_ before using this feature.
8510
8520
  type: boolean
8511
8521
  default: false
8512
- x-beta: closed
8513
8522
  expires_at:
8514
8523
  description: |-
8515
8524
  When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details.
@@ -8665,7 +8674,6 @@ components:
8665
8674
  ⚠️ **Note** ⚠️: Keep your signer's information safe by ensuring that the _signer on your signature request is the intended party_ before using this feature.
8666
8675
  type: boolean
8667
8676
  default: false
8668
- x-beta: closed
8669
8677
  type: object
8670
8678
  UnclaimedDraftEditAndResendRequest:
8671
8679
  required:
@@ -9744,6 +9752,11 @@ components:
9744
9752
  type: array
9745
9753
  items:
9746
9754
  $ref: '#/components/schemas/AccountResponse'
9755
+ invited_emails:
9756
+ description: 'A list of email addresses that have an outstanding invitation to join your Team and do not yet have a Dropbox Sign account.'
9757
+ type: array
9758
+ items:
9759
+ type: string
9747
9760
  type: object
9748
9761
  x-internal: true
9749
9762
  TeamParentResponse:
@@ -9939,16 +9952,17 @@ components:
9939
9952
  items:
9940
9953
  $ref: '#/components/schemas/TemplateResponseDocument'
9941
9954
  custom_fields:
9942
- description: 'An array of Custom Field objects.'
9955
+ description: 'Deprecated. Use `custom_fields` inside the [documents](https://developers.hellosign.com/api/reference/operation/templateGet/#!c=200&path=template/documents&t=response) array instead.'
9943
9956
  type: array
9944
9957
  items:
9945
- $ref: '#/components/schemas/TemplateResponseCustomField'
9958
+ $ref: '#/components/schemas/TemplateResponseDocumentCustomFieldBase'
9946
9959
  nullable: true
9960
+ deprecated: true
9947
9961
  named_form_fields:
9948
9962
  description: 'Deprecated. Use `form_fields` inside the [documents](https://developers.hellosign.com/api/reference/operation/templateGet/#!c=200&path=template/documents&t=response) array instead.'
9949
9963
  type: array
9950
9964
  items:
9951
- $ref: '#/components/schemas/TemplateResponseNamedFormField'
9965
+ $ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
9952
9966
  nullable: true
9953
9967
  deprecated: true
9954
9968
  accounts:
@@ -10086,55 +10100,6 @@ components:
10086
10100
  type: string
10087
10101
  type: object
10088
10102
  x-internal: true
10089
- TemplateResponseCustomField:
10090
- properties:
10091
- name:
10092
- description: 'The name of the Custom Field.'
10093
- type: string
10094
- type:
10095
- description: 'The type of this Custom Field. Only `text` and `checkbox` are currently supported.'
10096
- type: string
10097
- enum:
10098
- - text
10099
- - checkbox
10100
- x:
10101
- description: 'The horizontal offset in pixels for this form field.'
10102
- type: integer
10103
- 'y':
10104
- description: 'The vertical offset in pixels for this form field.'
10105
- type: integer
10106
- width:
10107
- description: 'The width in pixels of this form field.'
10108
- type: integer
10109
- height:
10110
- description: 'The height in pixels of this form field.'
10111
- type: integer
10112
- required:
10113
- description: 'Boolean showing whether or not this field is required.'
10114
- type: boolean
10115
- api_id:
10116
- description: 'The unique ID for this field.'
10117
- type: string
10118
- group:
10119
- description: 'The name of the group this field is in. If this field is not a group, this defaults to `null`.'
10120
- type: string
10121
- nullable: true
10122
- avg_text_length:
10123
- $ref: '#/components/schemas/TemplateResponseFieldAvgTextLength'
10124
- isMultiline:
10125
- description: 'Whether this form field is multiline text.'
10126
- type: boolean
10127
- nullable: true
10128
- originalFontSize:
10129
- description: 'Original font size used in this form field''s text.'
10130
- type: integer
10131
- nullable: true
10132
- fontFamily:
10133
- description: 'Font family used in this form field''s text.'
10134
- type: string
10135
- nullable: true
10136
- type: object
10137
- x-internal: true
10138
10103
  TemplateResponseDocument:
10139
10104
  properties:
10140
10105
  name:
@@ -10149,39 +10114,40 @@ components:
10149
10114
  items:
10150
10115
  $ref: '#/components/schemas/TemplateResponseDocumentFieldGroup'
10151
10116
  form_fields:
10152
- description: 'An array of Form Field objects containing the name and type of each named textbox and checkmark field.'
10117
+ description: 'An array of Form Field objects containing the name and type of each named field.'
10153
10118
  type: array
10154
10119
  items:
10155
- $ref: '#/components/schemas/TemplateResponseDocumentFormField'
10120
+ $ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
10156
10121
  custom_fields:
10157
- description: 'An array of Document Custom Field objects.'
10122
+ description: 'An array of Form Field objects containing the name and type of each named field.'
10158
10123
  type: array
10159
10124
  items:
10160
- $ref: '#/components/schemas/TemplateResponseDocumentCustomField'
10125
+ $ref: '#/components/schemas/TemplateResponseDocumentCustomFieldBase'
10161
10126
  static_fields:
10162
- description: |-
10163
- An array describing static overlay fields.
10164
- <b>Note</b> only available for certain subscriptions.
10127
+ description: 'An array describing static overlay fields. **Note** only available for certain subscriptions.'
10165
10128
  type: array
10166
10129
  items:
10167
- $ref: '#/components/schemas/TemplateResponseDocumentStaticField'
10130
+ $ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
10168
10131
  nullable: true
10169
10132
  type: object
10170
10133
  x-internal: true
10171
- TemplateResponseDocumentCustomField:
10134
+ TemplateResponseDocumentCustomFieldBase:
10135
+ description: 'An array of Form Field objects containing the name and type of each named field.'
10136
+ required:
10137
+ - type
10172
10138
  properties:
10139
+ api_id:
10140
+ description: 'The unique ID for this field.'
10141
+ type: string
10173
10142
  name:
10174
10143
  description: 'The name of the Custom Field.'
10175
10144
  type: string
10176
10145
  type:
10177
- description: 'The type of this Custom Field. Only `text` and `checkbox` are currently supported.'
10178
10146
  type: string
10179
- enum:
10180
- - text
10181
- - checkbox
10182
10147
  signer:
10183
- description: 'The signer of the Custom Field.'
10148
+ description: 'The signer of the Custom Field. Can be `null` if field is a merge field (assigned to Sender).'
10184
10149
  type: string
10150
+ nullable: true
10185
10151
  x:
10186
10152
  description: 'The horizontal offset in pixels for this form field.'
10187
10153
  type: integer
@@ -10197,49 +10163,99 @@ components:
10197
10163
  required:
10198
10164
  description: 'Boolean showing whether or not this field is required.'
10199
10165
  type: boolean
10200
- api_id:
10201
- description: 'The unique ID for this field.'
10202
- type: string
10203
10166
  group:
10204
10167
  description: 'The name of the group this field is in. If this field is not a group, this defaults to `null`.'
10205
10168
  type: string
10206
10169
  nullable: true
10207
- avg_text_length:
10208
- $ref: '#/components/schemas/TemplateResponseFieldAvgTextLength'
10209
- isMultiline:
10210
- description: 'Whether this form field is multiline text.'
10211
- type: boolean
10212
- nullable: true
10213
- originalFontSize:
10214
- description: 'Original font size used in this form field''s text.'
10170
+ fontSize:
10171
+ description: 'Final font size used by this form field.'
10215
10172
  type: integer
10216
- nullable: true
10217
- fontFamily:
10218
- description: 'Font family used in this form field''s text.'
10219
- type: string
10220
- nullable: true
10221
- named_form_fields:
10222
- description: 'Deprecated. Use `form_fields` inside the [documents](https://developers.hellosign.com/api/reference/operation/templateGet/#!c=200&path=template/documents&t=response) array instead.'
10223
- type: object
10224
- nullable: true
10225
- deprecated: true
10226
- reusable_form_id:
10227
- type: string
10228
- nullable: true
10229
- deprecated: true
10230
10173
  type: object
10174
+ discriminator:
10175
+ propertyName: type
10176
+ mapping:
10177
+ text: '#/components/schemas/TemplateResponseDocumentCustomFieldText'
10178
+ checkbox: '#/components/schemas/TemplateResponseDocumentCustomFieldCheckbox'
10231
10179
  x-internal: true
10180
+ x-base-class: true
10181
+ TemplateResponseDocumentCustomFieldText:
10182
+ description: 'This class extends `TemplateResponseDocumentCustomFieldBase`'
10183
+ type: object
10184
+ allOf:
10185
+ -
10186
+ $ref: '#/components/schemas/TemplateResponseDocumentCustomFieldBase'
10187
+ -
10188
+ required:
10189
+ - type
10190
+ properties:
10191
+ type:
10192
+ description: |-
10193
+ The type of this Custom Field. Only `text` and `checkbox` are currently supported.
10194
+
10195
+ * Text uses `TemplateResponseDocumentCustomFieldText`
10196
+ * Checkbox uses `TemplateResponseDocumentCustomFieldCheckbox`
10197
+ type: string
10198
+ default: text
10199
+ avg_text_length:
10200
+ $ref: '#/components/schemas/TemplateResponseFieldAvgTextLength'
10201
+ isMultiline:
10202
+ description: 'Whether this form field is multiline text.'
10203
+ type: boolean
10204
+ originalFontSize:
10205
+ description: 'Original font size used in this form field''s text.'
10206
+ type: integer
10207
+ fontFamily:
10208
+ description: 'Font family used in this form field''s text.'
10209
+ type: string
10210
+ type: object
10211
+ TemplateResponseDocumentCustomFieldCheckbox:
10212
+ description: 'This class extends `TemplateResponseDocumentCustomFieldBase`'
10213
+ type: object
10214
+ allOf:
10215
+ -
10216
+ $ref: '#/components/schemas/TemplateResponseDocumentCustomFieldBase'
10217
+ -
10218
+ required:
10219
+ - type
10220
+ properties:
10221
+ type:
10222
+ description: |-
10223
+ The type of this Custom Field. Only `text` and `checkbox` are currently supported.
10224
+
10225
+ * Text uses `TemplateResponseDocumentCustomFieldText`
10226
+ * Checkbox uses `TemplateResponseDocumentCustomFieldCheckbox`
10227
+ type: string
10228
+ default: checkbox
10229
+ type: object
10232
10230
  TemplateResponseDocumentFieldGroup:
10233
10231
  properties:
10234
10232
  name:
10235
10233
  description: 'The name of the form field group.'
10236
10234
  type: string
10237
10235
  rule:
10238
- description: 'The rule used to validate checkboxes in the form field group. See [checkbox field grouping](/api/reference/constants/#checkbox-field-grouping).'
10236
+ $ref: '#/components/schemas/TemplateResponseDocumentFieldGroupRule'
10237
+ type: object
10238
+ x-internal: true
10239
+ TemplateResponseDocumentFieldGroupRule:
10240
+ description: 'The rule used to validate checkboxes in the form field group. See [checkbox field grouping](/api/reference/constants/#checkbox-field-grouping).'
10241
+ properties:
10242
+ requirement:
10243
+ description: |-
10244
+ Examples: `require_0-1` `require_1` `require_1-ormore`
10245
+
10246
+ - Check out the list of [acceptable `requirement` checkbox type values](/api/reference/constants/#checkbox-field-grouping).
10247
+ - Check out the list of [acceptable `requirement` radio type fields](/api/reference/constants/#radio-field-grouping).
10248
+ - Radio groups require **at least** two fields per group.
10249
+ type: string
10250
+ groupLabel:
10251
+ description: 'Name of the group'
10239
10252
  type: string
10240
10253
  type: object
10241
10254
  x-internal: true
10242
- TemplateResponseDocumentFormField:
10255
+ TemplateResponseDocumentFormFieldBase:
10256
+ description: 'An array of Form Field objects containing the name and type of each named field.'
10257
+ required:
10258
+ - type
10243
10259
  properties:
10244
10260
  api_id:
10245
10261
  description: 'A unique id for the form field.'
@@ -10248,19 +10264,7 @@ components:
10248
10264
  description: 'The name of the form field.'
10249
10265
  type: string
10250
10266
  type:
10251
- description: 'The type of this form field. See [field types](/api/reference/constants/#field-types).'
10252
10267
  type: string
10253
- enum:
10254
- - checkbox
10255
- - checkbox-merge
10256
- - date_signed
10257
- - dropdown
10258
- - hyperlink
10259
- - initials
10260
- - signature
10261
- - radio
10262
- - text
10263
- - text-merge
10264
10268
  signer:
10265
10269
  description: 'The signer of the Form Field.'
10266
10270
  type: string
@@ -10280,36 +10284,281 @@ components:
10280
10284
  description: 'Boolean showing whether or not this field is required.'
10281
10285
  type: boolean
10282
10286
  group:
10283
- description: 'The name of the group this field is in. If this field is not a group, this defaults to `null`.'
10287
+ description: 'The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.'
10284
10288
  type: string
10285
10289
  nullable: true
10286
- avg_text_length:
10287
- $ref: '#/components/schemas/TemplateResponseFieldAvgTextLength'
10288
- isMultiline:
10289
- description: 'Whether this form field is multiline text.'
10290
- type: boolean
10291
- nullable: true
10292
- originalFontSize:
10293
- description: 'Original font size used in this form field''s text.'
10290
+ fontSize:
10291
+ description: 'Final font size used by this form field.'
10294
10292
  type: integer
10295
- nullable: true
10296
- fontFamily:
10297
- description: 'Font family used in this form field''s text.'
10298
- type: string
10299
- nullable: true
10300
10293
  type: object
10294
+ discriminator:
10295
+ propertyName: type
10296
+ mapping:
10297
+ text: '#/components/schemas/TemplateResponseDocumentFormFieldText'
10298
+ dropdown: '#/components/schemas/TemplateResponseDocumentFormFieldDropdown'
10299
+ hyperlink: '#/components/schemas/TemplateResponseDocumentFormFieldHyperlink'
10300
+ checkbox: '#/components/schemas/TemplateResponseDocumentFormFieldCheckbox'
10301
+ radio: '#/components/schemas/TemplateResponseDocumentFormFieldRadio'
10302
+ signature: '#/components/schemas/TemplateResponseDocumentFormFieldSignature'
10303
+ date_signed: '#/components/schemas/TemplateResponseDocumentFormFieldDateSigned'
10304
+ initials: '#/components/schemas/TemplateResponseDocumentFormFieldInitials'
10301
10305
  x-internal: true
10302
- TemplateResponseDocumentStaticField:
10306
+ x-base-class: true
10307
+ TemplateResponseDocumentFormFieldText:
10308
+ description: 'This class extends `TemplateResponseDocumentFormFieldBase`'
10309
+ type: object
10310
+ allOf:
10311
+ -
10312
+ $ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
10313
+ -
10314
+ required:
10315
+ - type
10316
+ properties:
10317
+ type:
10318
+ description: |-
10319
+ The type of this form field. See [field types](/api/reference/constants/#field-types).
10320
+
10321
+ * Text Field uses `TemplateResponseDocumentFormFieldText`
10322
+ * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
10323
+ * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
10324
+ * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
10325
+ * Radio Field uses `TemplateResponseDocumentFormFieldRadio`
10326
+ * Signature Field uses `TemplateResponseDocumentFormFieldSignature`
10327
+ * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
10328
+ * Initials Field uses `TemplateResponseDocumentFormFieldInitials`
10329
+ type: string
10330
+ default: text
10331
+ avg_text_length:
10332
+ $ref: '#/components/schemas/TemplateResponseFieldAvgTextLength'
10333
+ isMultiline:
10334
+ description: 'Whether this form field is multiline text.'
10335
+ type: boolean
10336
+ originalFontSize:
10337
+ description: 'Original font size used in this form field''s text.'
10338
+ type: integer
10339
+ fontFamily:
10340
+ description: 'Font family used in this form field''s text.'
10341
+ type: string
10342
+ validation_type:
10343
+ description: 'Each text field may contain a `validation_type` parameter. Check out the list of [validation types](https://faq.hellosign.com/hc/en-us/articles/217115577) to learn more about the possible values.'
10344
+ type: string
10345
+ enum:
10346
+ - numbers_only
10347
+ - letters_only
10348
+ - phone_number
10349
+ - bank_routing_number
10350
+ - bank_account_number
10351
+ - email_address
10352
+ - zip_code
10353
+ - social_security_number
10354
+ - employer_identification_number
10355
+ - custom_regex
10356
+ nullable: true
10357
+ type: object
10358
+ TemplateResponseDocumentFormFieldDropdown:
10359
+ description: 'This class extends `TemplateResponseDocumentFormFieldBase`'
10360
+ type: object
10361
+ allOf:
10362
+ -
10363
+ $ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
10364
+ -
10365
+ required:
10366
+ - type
10367
+ properties:
10368
+ type:
10369
+ description: |-
10370
+ The type of this form field. See [field types](/api/reference/constants/#field-types).
10371
+
10372
+ * Text Field uses `TemplateResponseDocumentFormFieldText`
10373
+ * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
10374
+ * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
10375
+ * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
10376
+ * Radio Field uses `TemplateResponseDocumentFormFieldRadio`
10377
+ * Signature Field uses `TemplateResponseDocumentFormFieldSignature`
10378
+ * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
10379
+ * Initials Field uses `TemplateResponseDocumentFormFieldInitials`
10380
+ type: string
10381
+ default: dropdown
10382
+ type: object
10383
+ TemplateResponseDocumentFormFieldHyperlink:
10384
+ description: 'This class extends `TemplateResponseDocumentFormFieldBase`'
10385
+ type: object
10386
+ allOf:
10387
+ -
10388
+ $ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
10389
+ -
10390
+ required:
10391
+ - type
10392
+ properties:
10393
+ type:
10394
+ description: |-
10395
+ The type of this form field. See [field types](/api/reference/constants/#field-types).
10396
+
10397
+ * Text Field uses `TemplateResponseDocumentFormFieldText`
10398
+ * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
10399
+ * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
10400
+ * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
10401
+ * Radio Field uses `TemplateResponseDocumentFormFieldRadio`
10402
+ * Signature Field uses `TemplateResponseDocumentFormFieldSignature`
10403
+ * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
10404
+ * Initials Field uses `TemplateResponseDocumentFormFieldInitials`
10405
+ type: string
10406
+ default: hyperlink
10407
+ avg_text_length:
10408
+ $ref: '#/components/schemas/TemplateResponseFieldAvgTextLength'
10409
+ isMultiline:
10410
+ description: 'Whether this form field is multiline text.'
10411
+ type: boolean
10412
+ originalFontSize:
10413
+ description: 'Original font size used in this form field''s text.'
10414
+ type: integer
10415
+ fontFamily:
10416
+ description: 'Font family used in this form field''s text.'
10417
+ type: string
10418
+ type: object
10419
+ TemplateResponseDocumentFormFieldCheckbox:
10420
+ description: 'This class extends `TemplateResponseDocumentFormFieldBase`'
10421
+ type: object
10422
+ allOf:
10423
+ -
10424
+ $ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
10425
+ -
10426
+ required:
10427
+ - type
10428
+ properties:
10429
+ type:
10430
+ description: |-
10431
+ The type of this form field. See [field types](/api/reference/constants/#field-types).
10432
+
10433
+ * Text Field uses `TemplateResponseDocumentFormFieldText`
10434
+ * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
10435
+ * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
10436
+ * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
10437
+ * Radio Field uses `TemplateResponseDocumentFormFieldRadio`
10438
+ * Signature Field uses `TemplateResponseDocumentFormFieldSignature`
10439
+ * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
10440
+ * Initials Field uses `TemplateResponseDocumentFormFieldInitials`
10441
+ type: string
10442
+ default: checkbox
10443
+ type: object
10444
+ TemplateResponseDocumentFormFieldRadio:
10445
+ description: 'This class extends `TemplateResponseDocumentFormFieldBase`'
10446
+ type: object
10447
+ allOf:
10448
+ -
10449
+ $ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
10450
+ -
10451
+ required:
10452
+ - type
10453
+ - group
10454
+ properties:
10455
+ type:
10456
+ description: |-
10457
+ The type of this form field. See [field types](/api/reference/constants/#field-types).
10458
+
10459
+ * Text Field uses `TemplateResponseDocumentFormFieldText`
10460
+ * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
10461
+ * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
10462
+ * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
10463
+ * Radio Field uses `TemplateResponseDocumentFormFieldRadio`
10464
+ * Signature Field uses `TemplateResponseDocumentFormFieldSignature`
10465
+ * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
10466
+ * Initials Field uses `TemplateResponseDocumentFormFieldInitials`
10467
+ type: string
10468
+ default: radio
10469
+ type: object
10470
+ TemplateResponseDocumentFormFieldSignature:
10471
+ description: 'This class extends `TemplateResponseDocumentFormFieldBase`'
10472
+ type: object
10473
+ allOf:
10474
+ -
10475
+ $ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
10476
+ -
10477
+ required:
10478
+ - type
10479
+ properties:
10480
+ type:
10481
+ description: |-
10482
+ The type of this form field. See [field types](/api/reference/constants/#field-types).
10483
+
10484
+ * Text Field uses `TemplateResponseDocumentFormFieldText`
10485
+ * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
10486
+ * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
10487
+ * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
10488
+ * Radio Field uses `TemplateResponseDocumentFormFieldRadio`
10489
+ * Signature Field uses `TemplateResponseDocumentFormFieldSignature`
10490
+ * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
10491
+ * Initials Field uses `TemplateResponseDocumentFormFieldInitials`
10492
+ type: string
10493
+ default: signature
10494
+ type: object
10495
+ TemplateResponseDocumentFormFieldDateSigned:
10496
+ description: 'This class extends `TemplateResponseDocumentFormFieldBase`'
10497
+ type: object
10498
+ allOf:
10499
+ -
10500
+ $ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
10501
+ -
10502
+ required:
10503
+ - type
10504
+ properties:
10505
+ type:
10506
+ description: |-
10507
+ The type of this form field. See [field types](/api/reference/constants/#field-types).
10508
+
10509
+ * Text Field uses `TemplateResponseDocumentFormFieldText`
10510
+ * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
10511
+ * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
10512
+ * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
10513
+ * Radio Field uses `TemplateResponseDocumentFormFieldRadio`
10514
+ * Signature Field uses `TemplateResponseDocumentFormFieldSignature`
10515
+ * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
10516
+ * Initials Field uses `TemplateResponseDocumentFormFieldInitials`
10517
+ type: string
10518
+ default: date_signed
10519
+ type: object
10520
+ TemplateResponseDocumentFormFieldInitials:
10521
+ description: 'This class extends `TemplateResponseDocumentFormFieldBase`'
10522
+ type: object
10523
+ allOf:
10524
+ -
10525
+ $ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
10526
+ -
10527
+ required:
10528
+ - type
10529
+ properties:
10530
+ type:
10531
+ description: |-
10532
+ The type of this form field. See [field types](/api/reference/constants/#field-types).
10533
+
10534
+ * Text Field uses `TemplateResponseDocumentFormFieldText`
10535
+ * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
10536
+ * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
10537
+ * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
10538
+ * Radio Field uses `TemplateResponseDocumentFormFieldRadio`
10539
+ * Signature Field uses `TemplateResponseDocumentFormFieldSignature`
10540
+ * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
10541
+ * Initials Field uses `TemplateResponseDocumentFormFieldInitials`
10542
+ type: string
10543
+ default: initials
10544
+ type: object
10545
+ TemplateResponseDocumentStaticFieldBase:
10546
+ description: 'An array describing static overlay fields. **Note** only available for certain subscriptions.'
10547
+ required:
10548
+ - type
10303
10549
  properties:
10550
+ api_id:
10551
+ description: 'A unique id for the static field.'
10552
+ type: string
10304
10553
  name:
10305
10554
  description: 'The name of the static field.'
10306
10555
  type: string
10307
10556
  type:
10308
- description: 'The type of this static field. See [field types](/api/reference/constants/#field-types).'
10309
10557
  type: string
10310
10558
  signer:
10311
10559
  description: 'The signer of the Static Field.'
10312
10560
  type: string
10561
+ default: me_now
10313
10562
  x:
10314
10563
  description: 'The horizontal offset in pixels for this static field.'
10315
10564
  type: integer
@@ -10325,15 +10574,227 @@ components:
10325
10574
  required:
10326
10575
  description: 'Boolean showing whether or not this field is required.'
10327
10576
  type: boolean
10328
- api_id:
10329
- description: 'A unique id for the static field.'
10330
- type: string
10331
10577
  group:
10332
10578
  description: 'The name of the group this field is in. If this field is not a group, this defaults to `null`.'
10333
10579
  type: string
10334
10580
  nullable: true
10581
+ fontSize:
10582
+ description: 'Final font size used by this form field.'
10583
+ type: integer
10335
10584
  type: object
10585
+ discriminator:
10586
+ propertyName: type
10587
+ mapping:
10588
+ text: '#/components/schemas/TemplateResponseDocumentStaticFieldText'
10589
+ dropdown: '#/components/schemas/TemplateResponseDocumentStaticFieldDropdown'
10590
+ hyperlink: '#/components/schemas/TemplateResponseDocumentStaticFieldHyperlink'
10591
+ checkbox: '#/components/schemas/TemplateResponseDocumentStaticFieldCheckbox'
10592
+ radio: '#/components/schemas/TemplateResponseDocumentStaticFieldRadio'
10593
+ signature: '#/components/schemas/TemplateResponseDocumentStaticFieldSignature'
10594
+ date_signed: '#/components/schemas/TemplateResponseDocumentStaticFieldDateSigned'
10595
+ initials: '#/components/schemas/TemplateResponseDocumentStaticFieldInitials'
10336
10596
  x-internal: true
10597
+ x-base-class: true
10598
+ TemplateResponseDocumentStaticFieldText:
10599
+ description: 'This class extends `TemplateResponseDocumentStaticFieldBase`'
10600
+ type: object
10601
+ allOf:
10602
+ -
10603
+ $ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
10604
+ -
10605
+ required:
10606
+ - type
10607
+ properties:
10608
+ type:
10609
+ description: |-
10610
+ The type of this static field. See [field types](/api/reference/constants/#field-types).
10611
+
10612
+ * Text Field uses `TemplateResponseDocumentStaticFieldText`
10613
+ * Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown`
10614
+ * Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink`
10615
+ * Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox`
10616
+ * Radio Field uses `TemplateResponseDocumentStaticFieldRadio`
10617
+ * Signature Field uses `TemplateResponseDocumentStaticFieldSignature`
10618
+ * Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned`
10619
+ * Initials Field uses `TemplateResponseDocumentStaticFieldInitials`
10620
+ type: string
10621
+ default: text
10622
+ type: object
10623
+ TemplateResponseDocumentStaticFieldDropdown:
10624
+ description: 'This class extends `TemplateResponseDocumentStaticFieldBase`'
10625
+ type: object
10626
+ allOf:
10627
+ -
10628
+ $ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
10629
+ -
10630
+ required:
10631
+ - type
10632
+ properties:
10633
+ type:
10634
+ description: |-
10635
+ The type of this static field. See [field types](/api/reference/constants/#field-types).
10636
+
10637
+ * Text Field uses `TemplateResponseDocumentStaticFieldText`
10638
+ * Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown`
10639
+ * Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink`
10640
+ * Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox`
10641
+ * Radio Field uses `TemplateResponseDocumentStaticFieldRadio`
10642
+ * Signature Field uses `TemplateResponseDocumentStaticFieldSignature`
10643
+ * Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned`
10644
+ * Initials Field uses `TemplateResponseDocumentStaticFieldInitials`
10645
+ type: string
10646
+ default: dropdown
10647
+ type: object
10648
+ TemplateResponseDocumentStaticFieldHyperlink:
10649
+ description: 'This class extends `TemplateResponseDocumentStaticFieldBase`'
10650
+ type: object
10651
+ allOf:
10652
+ -
10653
+ $ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
10654
+ -
10655
+ required:
10656
+ - type
10657
+ properties:
10658
+ type:
10659
+ description: |-
10660
+ The type of this static field. See [field types](/api/reference/constants/#field-types).
10661
+
10662
+ * Text Field uses `TemplateResponseDocumentStaticFieldText`
10663
+ * Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown`
10664
+ * Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink`
10665
+ * Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox`
10666
+ * Radio Field uses `TemplateResponseDocumentStaticFieldRadio`
10667
+ * Signature Field uses `TemplateResponseDocumentStaticFieldSignature`
10668
+ * Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned`
10669
+ * Initials Field uses `TemplateResponseDocumentStaticFieldInitials`
10670
+ type: string
10671
+ default: hyperlink
10672
+ type: object
10673
+ TemplateResponseDocumentStaticFieldCheckbox:
10674
+ description: 'This class extends `TemplateResponseDocumentStaticFieldBase`'
10675
+ type: object
10676
+ allOf:
10677
+ -
10678
+ $ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
10679
+ -
10680
+ required:
10681
+ - type
10682
+ properties:
10683
+ type:
10684
+ description: |-
10685
+ The type of this static field. See [field types](/api/reference/constants/#field-types).
10686
+
10687
+ * Text Field uses `TemplateResponseDocumentStaticFieldText`
10688
+ * Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown`
10689
+ * Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink`
10690
+ * Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox`
10691
+ * Radio Field uses `TemplateResponseDocumentStaticFieldRadio`
10692
+ * Signature Field uses `TemplateResponseDocumentStaticFieldSignature`
10693
+ * Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned`
10694
+ * Initials Field uses `TemplateResponseDocumentStaticFieldInitials`
10695
+ type: string
10696
+ default: checkbox
10697
+ type: object
10698
+ TemplateResponseDocumentStaticFieldRadio:
10699
+ description: 'This class extends `TemplateResponseDocumentStaticFieldBase`'
10700
+ type: object
10701
+ allOf:
10702
+ -
10703
+ $ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
10704
+ -
10705
+ required:
10706
+ - type
10707
+ properties:
10708
+ type:
10709
+ description: |-
10710
+ The type of this static field. See [field types](/api/reference/constants/#field-types).
10711
+
10712
+ * Text Field uses `TemplateResponseDocumentStaticFieldText`
10713
+ * Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown`
10714
+ * Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink`
10715
+ * Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox`
10716
+ * Radio Field uses `TemplateResponseDocumentStaticFieldRadio`
10717
+ * Signature Field uses `TemplateResponseDocumentStaticFieldSignature`
10718
+ * Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned`
10719
+ * Initials Field uses `TemplateResponseDocumentStaticFieldInitials`
10720
+ type: string
10721
+ default: radio
10722
+ type: object
10723
+ TemplateResponseDocumentStaticFieldSignature:
10724
+ description: 'This class extends `TemplateResponseDocumentStaticFieldBase`'
10725
+ type: object
10726
+ allOf:
10727
+ -
10728
+ $ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
10729
+ -
10730
+ required:
10731
+ - type
10732
+ properties:
10733
+ type:
10734
+ description: |-
10735
+ The type of this static field. See [field types](/api/reference/constants/#field-types).
10736
+
10737
+ * Text Field uses `TemplateResponseDocumentStaticFieldText`
10738
+ * Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown`
10739
+ * Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink`
10740
+ * Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox`
10741
+ * Radio Field uses `TemplateResponseDocumentStaticFieldRadio`
10742
+ * Signature Field uses `TemplateResponseDocumentStaticFieldSignature`
10743
+ * Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned`
10744
+ * Initials Field uses `TemplateResponseDocumentStaticFieldInitials`
10745
+ type: string
10746
+ default: signature
10747
+ type: object
10748
+ TemplateResponseDocumentStaticFieldDateSigned:
10749
+ description: 'This class extends `TemplateResponseDocumentStaticFieldBase`'
10750
+ type: object
10751
+ allOf:
10752
+ -
10753
+ $ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
10754
+ -
10755
+ required:
10756
+ - type
10757
+ properties:
10758
+ type:
10759
+ description: |-
10760
+ The type of this static field. See [field types](/api/reference/constants/#field-types).
10761
+
10762
+ * Text Field uses `TemplateResponseDocumentStaticFieldText`
10763
+ * Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown`
10764
+ * Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink`
10765
+ * Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox`
10766
+ * Radio Field uses `TemplateResponseDocumentStaticFieldRadio`
10767
+ * Signature Field uses `TemplateResponseDocumentStaticFieldSignature`
10768
+ * Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned`
10769
+ * Initials Field uses `TemplateResponseDocumentStaticFieldInitials`
10770
+ type: string
10771
+ default: date_signed
10772
+ type: object
10773
+ TemplateResponseDocumentStaticFieldInitials:
10774
+ description: 'This class extends `TemplateResponseDocumentStaticFieldBase`'
10775
+ type: object
10776
+ allOf:
10777
+ -
10778
+ $ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
10779
+ -
10780
+ required:
10781
+ - type
10782
+ properties:
10783
+ type:
10784
+ description: |-
10785
+ The type of this static field. See [field types](/api/reference/constants/#field-types).
10786
+
10787
+ * Text Field uses `TemplateResponseDocumentStaticFieldText`
10788
+ * Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown`
10789
+ * Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink`
10790
+ * Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox`
10791
+ * Radio Field uses `TemplateResponseDocumentStaticFieldRadio`
10792
+ * Signature Field uses `TemplateResponseDocumentStaticFieldSignature`
10793
+ * Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned`
10794
+ * Initials Field uses `TemplateResponseDocumentStaticFieldInitials`
10795
+ type: string
10796
+ default: initials
10797
+ type: object
10337
10798
  TemplateResponseFieldAvgTextLength:
10338
10799
  description: 'Average text length in this field.'
10339
10800
  properties:
@@ -10341,57 +10802,8 @@ components:
10341
10802
  description: 'Number of lines.'
10342
10803
  type: integer
10343
10804
  num_chars_per_line:
10344
- description: 'Number of character per line.'
10345
- type: integer
10346
- type: object
10347
- x-internal: true
10348
- TemplateResponseNamedFormField:
10349
- properties:
10350
- name:
10351
- description: 'The name of the Named Form Field.'
10352
- type: string
10353
- type:
10354
- description: 'The type of this Named Form Field. Only `text` and `checkbox` are currently supported.'
10355
- type: string
10356
- signer:
10357
- description: 'The signer of the Named Form Field.'
10358
- type: string
10359
- x:
10360
- description: 'The horizontal offset in pixels for this form field.'
10805
+ description: 'Number of characters per line.'
10361
10806
  type: integer
10362
- 'y':
10363
- description: 'The vertical offset in pixels for this form field.'
10364
- type: integer
10365
- width:
10366
- description: 'The width in pixels of this form field.'
10367
- type: integer
10368
- height:
10369
- description: 'The height in pixels of this form field.'
10370
- type: integer
10371
- required:
10372
- description: 'Boolean showing whether or not this field is required.'
10373
- type: boolean
10374
- api_id:
10375
- description: 'The unique ID for this field.'
10376
- type: string
10377
- group:
10378
- description: 'The name of the group this field is in. If this field is not a group, this defaults to `null`.'
10379
- type: string
10380
- nullable: true
10381
- avg_text_length:
10382
- $ref: '#/components/schemas/TemplateResponseFieldAvgTextLength'
10383
- isMultiline:
10384
- description: 'Whether this form field is multiline text.'
10385
- type: boolean
10386
- nullable: true
10387
- originalFontSize:
10388
- description: 'Original font size used in this form field''s text.'
10389
- type: integer
10390
- nullable: true
10391
- fontFamily:
10392
- description: 'Font family used in this form field''s text.'
10393
- type: string
10394
- nullable: true
10395
10807
  type: object
10396
10808
  x-internal: true
10397
10809
  TemplateResponseSignerRole: