docspring 4.2.0 → 4.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 (197) hide show
  1. package/AGENTS.md +2 -2
  2. package/README.md +26 -6
  3. package/dist/ApiClient.js +3 -3
  4. package/dist/RequestSchemas.js +1171 -134
  5. package/dist/RequestValidator.js +4 -0
  6. package/dist/api/Client.js +1406 -248
  7. package/dist/index.js +196 -0
  8. package/dist/model/AddTemplateFieldsRequest.js +4 -4
  9. package/dist/model/AiFieldNamingLanguage.js +1 -1
  10. package/dist/model/AuthenticationCheck.js +2 -2
  11. package/dist/model/BarcodeSymbology.js +1 -1
  12. package/dist/model/CheckCharacter.js +1 -1
  13. package/dist/model/CombinedFieldType.js +1 -1
  14. package/dist/model/CombinedPdf.js +2 -2
  15. package/dist/model/CombinedPdfFiles.js +2 -2
  16. package/dist/model/CombinedPdfList.js +2 -2
  17. package/dist/model/CombinedPdfSource.js +3 -3
  18. package/dist/model/CombinedPdfSourceInput.js +3 -3
  19. package/dist/model/CombinedPdfSourcePdf.js +2 -2
  20. package/dist/model/CombinedPdfSourceType.js +1 -1
  21. package/dist/model/CombinedPdfState.js +1 -1
  22. package/dist/model/CopyTemplateRequest.js +2 -2
  23. package/dist/model/CreateAccountEmailActionRequest.js +306 -0
  24. package/dist/model/CreateCombinedPdfRequest.js +2 -2
  25. package/dist/model/CreateCustomFileFromUploadRequest.js +2 -2
  26. package/dist/model/CreateEmailActionRequest.js +280 -0
  27. package/dist/model/CreateEmailDomainRequest.js +114 -0
  28. package/dist/model/CreateFolderRequest.js +2 -2
  29. package/dist/model/CreateSignatureRequestEventRequest.js +2 -2
  30. package/dist/model/CreateSignatureRequestTokenRequest.js +2 -2
  31. package/dist/model/CreateSubmissionBatchRequest.js +5 -5
  32. package/dist/model/CreateSubmissionRequest.js +115 -7
  33. package/dist/model/CreateTemplatePreviewRequest.js +2 -2
  34. package/dist/model/CreateTemplateRequest.js +119 -14
  35. package/dist/model/CreateWebhookRequest.js +2 -2
  36. package/dist/model/CustomFile.js +2 -2
  37. package/dist/model/CustomFileList.js +2 -2
  38. package/dist/model/CustomFileSourcePdf.js +2 -2
  39. package/dist/model/DnsRecordType.js +64 -0
  40. package/dist/model/EmailAction.js +510 -0
  41. package/dist/model/EmailActionConditions.js +142 -0
  42. package/dist/model/EmailActionConditionsInput.js +142 -0
  43. package/dist/model/EmailActionCustomization.js +222 -0
  44. package/dist/model/EmailActionDelivery.js +59 -0
  45. package/dist/model/EmailActionFileFormats.js +69 -0
  46. package/dist/model/EmailActionList.js +132 -0
  47. package/dist/model/EmailActionSetting.js +119 -0
  48. package/dist/model/EmailActionSubmissionType.js +64 -0
  49. package/dist/model/EmailActionTestEmail.js +116 -0
  50. package/dist/model/EmailDomain.js +245 -0
  51. package/dist/model/EmailDomainDnsRecord.js +155 -0
  52. package/dist/model/EmailDomainDnsRecordPurpose.js +64 -0
  53. package/dist/model/EmailDomainList.js +132 -0
  54. package/dist/model/EmailDomainRecordState.js +64 -0
  55. package/dist/model/EmailDomainState.js +64 -0
  56. package/dist/model/ErrorCode.js +11 -1
  57. package/dist/model/ErrorDetail.js +2 -2
  58. package/dist/model/ErrorInfo.js +47 -8
  59. package/dist/model/ErrorResponse.js +2 -2
  60. package/dist/model/ExpirationInterval.js +1 -1
  61. package/dist/model/Field.js +5 -5
  62. package/dist/model/FieldComparisonCondition.js +2 -2
  63. package/dist/model/FieldComparisonOperator.js +1 -1
  64. package/dist/model/FieldDependency.js +2 -2
  65. package/dist/model/FieldDependencyInput.js +2 -2
  66. package/dist/model/FieldDisplayType.js +1 -1
  67. package/dist/model/FieldEqualsCondition.js +2 -2
  68. package/dist/model/FieldEqualsOperator.js +1 -1
  69. package/dist/model/FieldGroup.js +6 -6
  70. package/dist/model/FieldGroupInput.js +3 -3
  71. package/dist/model/FieldGroupType.js +1 -1
  72. package/dist/model/FieldInCondition.js +2 -2
  73. package/dist/model/FieldInput.js +4 -4
  74. package/dist/model/FieldOverride.js +2 -2
  75. package/dist/model/FieldPresenceCondition.js +2 -2
  76. package/dist/model/FieldPresenceOperator.js +1 -1
  77. package/dist/model/FieldRangeCondition.js +2 -2
  78. package/dist/model/FieldReimportState.js +1 -1
  79. package/dist/model/FieldSetupLogic.js +1 -1
  80. package/dist/model/FieldSetupNaming.js +1 -1
  81. package/dist/model/FieldSetupSource.js +1 -1
  82. package/dist/model/FieldType.js +1 -1
  83. package/dist/model/Folder.js +2 -2
  84. package/dist/model/FolderList.js +2 -2
  85. package/dist/model/GenerateFilesFormat.js +16 -1
  86. package/dist/model/GenerateSubmissionFilesRequest.js +4 -4
  87. package/dist/model/GeneratedFile.js +7 -7
  88. package/dist/model/GeneratedFileState.js +1 -1
  89. package/dist/model/HtmlEngineOptions.js +4 -4
  90. package/dist/model/HtmlEngineOptionsInput.js +3 -3
  91. package/dist/model/ImageGravity.js +1 -1
  92. package/dist/model/ImageScaleType.js +1 -1
  93. package/dist/model/ModelCodeLanguage.js +7 -2
  94. package/dist/model/MoveFolderRequest.js +2 -2
  95. package/dist/model/MoveTemplateRequest.js +2 -2
  96. package/dist/model/NumberConditionType.js +1 -1
  97. package/dist/model/OutputFormat.js +11 -1
  98. package/dist/model/PageFormat.js +1 -1
  99. package/dist/model/PageImage.js +2 -2
  100. package/dist/model/PageImages.js +2 -2
  101. package/dist/model/PredefinedField.js +2 -2
  102. package/dist/model/PredefinedFieldInput.js +2 -2
  103. package/dist/model/PublishTemplateVersionRequest.js +2 -2
  104. package/dist/model/RemoveTemplateFieldsRequest.js +2 -2
  105. package/dist/model/RenameFolderRequest.js +2 -2
  106. package/dist/model/ReorderTemplateFieldsRequest.js +2 -2
  107. package/dist/model/RestoreTemplateVersionRequest.js +2 -2
  108. package/dist/model/SendAccountEmailActionTestEmailRequest.js +91 -0
  109. package/dist/model/ShapeType.js +1 -1
  110. package/dist/model/SignatureRequest.js +53 -8
  111. package/dist/model/SignatureRequestAuthSecondFactorType.js +1 -1
  112. package/dist/model/SignatureRequestAuthType.js +1 -1
  113. package/dist/model/SignatureRequestEmailAttachments.js +59 -0
  114. package/dist/model/SignatureRequestEmailStatus.js +89 -0
  115. package/dist/model/SignatureRequestEvent.js +2 -2
  116. package/dist/model/SignatureRequestEventType.js +12 -2
  117. package/dist/model/SignatureRequestInput.js +25 -9
  118. package/dist/model/SignatureRequestMessageType.js +1 -1
  119. package/dist/model/SignatureRequestReminders.js +121 -0
  120. package/dist/model/SignatureRequestState.js +1 -1
  121. package/dist/model/SignatureRequestToken.js +2 -2
  122. package/dist/model/SignatureRequestTokenType.js +1 -1
  123. package/dist/model/SigningOrder.js +59 -0
  124. package/dist/model/StringConditionType.js +37 -2
  125. package/dist/model/Submission.js +31 -19
  126. package/dist/model/SubmissionAction.js +28 -13
  127. package/dist/model/SubmissionActionState.js +1 -1
  128. package/dist/model/SubmissionActionType.js +1 -1
  129. package/dist/model/SubmissionBatch.js +9 -9
  130. package/dist/model/SubmissionBatchState.js +1 -1
  131. package/dist/model/SubmissionFiles.js +20 -2
  132. package/dist/model/SubmissionInput.js +7 -7
  133. package/dist/model/SubmissionList.js +2 -2
  134. package/dist/model/SubmissionSource.js +1 -1
  135. package/dist/model/SubmissionSourcePdf.js +2 -2
  136. package/dist/model/SubmissionState.js +1 -1
  137. package/dist/model/SubmissionSummary.js +8 -8
  138. package/dist/model/SubmissionValidation.js +2 -2
  139. package/dist/model/Template.js +149 -26
  140. package/dist/model/TemplateActor.js +2 -2
  141. package/dist/model/TemplateActorType.js +1 -1
  142. package/dist/model/TemplateDefaults.js +2 -2
  143. package/dist/model/TemplateDefaultsInput.js +2 -2
  144. package/dist/model/TemplateDiff.js +6 -6
  145. package/dist/model/TemplateDiffSummary.js +2 -2
  146. package/dist/model/TemplateDocument.js +23 -23
  147. package/dist/model/TemplateDocumentState.js +12 -2
  148. package/dist/model/TemplateDocumentSummary.js +11 -11
  149. package/dist/model/TemplateFieldChange.js +2 -2
  150. package/dist/model/TemplateFieldChanges.js +2 -2
  151. package/dist/model/TemplateFieldDependency.js +2 -2
  152. package/dist/model/TemplateFieldDependencyAction.js +1 -1
  153. package/dist/model/TemplateFieldDependencyCondition.js +2 -2
  154. package/dist/model/TemplateFieldDependencyConditionInput.js +2 -2
  155. package/dist/model/TemplateFieldDependencyInput.js +2 -2
  156. package/dist/model/TemplateFieldDependencyMatch.js +1 -1
  157. package/dist/model/TemplateFieldDependencyOperator.js +1 -1
  158. package/dist/model/TemplateFieldLogicStatus.js +1 -1
  159. package/dist/model/TemplateFieldMove.js +2 -2
  160. package/dist/model/TemplateFields.js +2 -2
  161. package/dist/model/TemplateFormMode.js +1 -1
  162. package/dist/model/TemplateModelCode.js +2 -2
  163. package/dist/model/TemplatePageAiError.js +1 -1
  164. package/dist/model/TemplatePageAiNamingStatus.js +1 -1
  165. package/dist/model/TemplatePageFieldsStatus.js +1 -1
  166. package/dist/model/TemplatePageImageStatus.js +1 -1
  167. package/dist/model/TemplatePageImages.js +2 -2
  168. package/dist/model/TemplatePageProcessingStatus.js +2 -2
  169. package/dist/model/TemplatePreview.js +5 -5
  170. package/dist/model/TemplatePreviewState.js +1 -1
  171. package/dist/model/TemplateSourcePdf.js +3 -3
  172. package/dist/model/TemplateSummary.js +24 -12
  173. package/dist/model/TemplateSummaryList.js +2 -2
  174. package/dist/model/TemplateType.js +12 -2
  175. package/dist/model/TemplateVersion.js +2 -2
  176. package/dist/model/TemplateVersionType.js +1 -1
  177. package/dist/model/TextAlignment.js +1 -1
  178. package/dist/model/TextOverflow.js +1 -1
  179. package/dist/model/TextVerticalAlignment.js +1 -1
  180. package/dist/model/Typeface.js +1 -1
  181. package/dist/model/UpdateAccountEmailActionRequest.js +306 -0
  182. package/dist/model/UpdateEmailActionCustomizationRequest.js +258 -0
  183. package/dist/model/UpdateEmailActionRequest.js +280 -0
  184. package/dist/model/UpdateSignatureRequestRequest.js +2 -2
  185. package/dist/model/UpdateTemplateDocumentRequest.js +8 -8
  186. package/dist/model/UpdateTemplateFieldsRequest.js +2 -2
  187. package/dist/model/UpdateTemplateRequest.js +113 -8
  188. package/dist/model/UpdateWebhookRequest.js +2 -2
  189. package/dist/model/UploadMethod.js +1 -1
  190. package/dist/model/UploadPresign.js +2 -2
  191. package/dist/model/UrlSourcePdf.js +2 -2
  192. package/dist/model/ValidateSubmissionRequest.js +115 -7
  193. package/dist/model/Webhook.js +2 -2
  194. package/dist/model/WebhookEventType.js +11 -1
  195. package/dist/model/WebhookList.js +2 -2
  196. package/dist/model/WebhookMode.js +1 -1
  197. package/package.json +2 -2
@@ -297,7 +297,7 @@ var _default = exports["default"] = {
297
297
  },
298
298
  "string_condition_type": {
299
299
  "type": "string",
300
- "enum": ["equals", "contains", "starts_with", "ends_with", "regex"]
300
+ "enum": ["equals", "not_equals", "contains", "not_contains", "starts_with", "not_starts_with", "ends_with", "not_ends_with", "regex", "not_regex", "blank", "not_blank"]
301
301
  },
302
302
  "number_condition_type": {
303
303
  "type": "string",
@@ -391,16 +391,18 @@ var _default = exports["default"] = {
391
391
  "properties": {
392
392
  "name": {
393
393
  "type": "string",
394
- "minLength": 1,
395
- "maxLength": 512
394
+ "maxLength": 512,
395
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
396
+ "x-pattern-message": "can't be blank"
396
397
  },
397
398
  "parent_folder_id": {
398
399
  "type": ["string", "null"],
399
- "minLength": 1
400
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
401
+ "x-pattern-message": "can't be blank"
400
402
  },
401
403
  "version": {
402
404
  "type": "string",
403
- "pattern": "^\\d+(\\.\\d+(\\.\\d+)?)?$",
405
+ "pattern": "^(0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}$",
404
406
  "x-pattern-message": "must be a published version like 1.2.3 or 1"
405
407
  }
406
408
  },
@@ -408,6 +410,146 @@ var _default = exports["default"] = {
408
410
  }
409
411
  }
410
412
  },
413
+ "createAccountEmailAction": {
414
+ "body": {
415
+ "mediaType": "application/json",
416
+ "required": true,
417
+ "schema": {
418
+ "type": "object",
419
+ "properties": {
420
+ "template_ids": {
421
+ "type": "array",
422
+ "maxItems": 500,
423
+ "items": {
424
+ "type": "string",
425
+ "maxLength": 255,
426
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
427
+ "x-pattern-message": "can't be blank"
428
+ }
429
+ },
430
+ "folder_ids": {
431
+ "type": "array",
432
+ "maxItems": 500,
433
+ "items": {
434
+ "type": "string",
435
+ "maxLength": 255,
436
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
437
+ "x-pattern-message": "can't be blank"
438
+ }
439
+ },
440
+ "name": {
441
+ "type": ["string", "null"],
442
+ "maxLength": 512
443
+ },
444
+ "enabled": {
445
+ "type": "boolean"
446
+ },
447
+ "to": {
448
+ "type": "array",
449
+ "maxItems": 10,
450
+ "items": {
451
+ "type": "string",
452
+ "maxLength": 512
453
+ }
454
+ },
455
+ "cc": {
456
+ "type": "array",
457
+ "maxItems": 10,
458
+ "items": {
459
+ "type": "string",
460
+ "maxLength": 512
461
+ }
462
+ },
463
+ "bcc": {
464
+ "type": "array",
465
+ "maxItems": 10,
466
+ "items": {
467
+ "type": "string",
468
+ "maxLength": 512
469
+ }
470
+ },
471
+ "from_name": {
472
+ "type": ["string", "null"],
473
+ "maxLength": 64
474
+ },
475
+ "from_address": {
476
+ "type": ["string", "null"],
477
+ "maxLength": 254
478
+ },
479
+ "reply_to": {
480
+ "type": ["string", "null"],
481
+ "maxLength": 254
482
+ },
483
+ "subject": {
484
+ "type": ["string", "null"],
485
+ "maxLength": 200
486
+ },
487
+ "message": {
488
+ "type": ["string", "null"],
489
+ "maxLength": 2000
490
+ },
491
+ "file_name": {
492
+ "type": ["string", "null"],
493
+ "maxLength": 200
494
+ },
495
+ "file_formats": {
496
+ "type": "string",
497
+ "enum": ["docx", "odt", "pdf", "all"]
498
+ },
499
+ "delivery": {
500
+ "type": "string",
501
+ "enum": ["attachment", "link"]
502
+ },
503
+ "max_attachment_mb": {
504
+ "type": "integer",
505
+ "minimum": 1,
506
+ "maximum": 25
507
+ },
508
+ "submission_type": {
509
+ "type": "string",
510
+ "enum": ["live", "test", "all"]
511
+ },
512
+ "send_when": {
513
+ "type": ["object", "null"],
514
+ "required": ["conditions"],
515
+ "properties": {
516
+ "match": {
517
+ "type": "string",
518
+ "enum": ["all", "any"]
519
+ },
520
+ "conditions": {
521
+ "type": "array",
522
+ "items": {
523
+ "oneOf": [{
524
+ "$ref": "#/components/schemas/FieldPresenceCondition"
525
+ }, {
526
+ "$ref": "#/components/schemas/FieldEqualsCondition"
527
+ }, {
528
+ "$ref": "#/components/schemas/FieldInCondition"
529
+ }, {
530
+ "$ref": "#/components/schemas/FieldComparisonCondition"
531
+ }, {
532
+ "$ref": "#/components/schemas/FieldRangeCondition"
533
+ }],
534
+ "discriminator": {
535
+ "propertyName": "operator",
536
+ "mapping": [["present", "#/components/schemas/FieldPresenceCondition"], ["blank", "#/components/schemas/FieldPresenceCondition"], ["equals", "#/components/schemas/FieldEqualsCondition"], ["not_equals", "#/components/schemas/FieldEqualsCondition"], ["in", "#/components/schemas/FieldInCondition"], ["gt", "#/components/schemas/FieldComparisonCondition"], ["gte", "#/components/schemas/FieldComparisonCondition"], ["lt", "#/components/schemas/FieldComparisonCondition"], ["lte", "#/components/schemas/FieldComparisonCondition"], ["range", "#/components/schemas/FieldRangeCondition"]]
537
+ }
538
+ },
539
+ "minItems": 1,
540
+ "maxItems": 20
541
+ }
542
+ },
543
+ "additionalProperties": false
544
+ },
545
+ "failure_notifications_enabled": {
546
+ "type": "boolean"
547
+ }
548
+ },
549
+ "additionalProperties": false
550
+ }
551
+ }
552
+ },
411
553
  "createCombinedPdf": {
412
554
  "query": {
413
555
  "wait": {
@@ -475,14 +617,152 @@ var _default = exports["default"] = {
475
617
  "properties": {
476
618
  "cache_id": {
477
619
  "type": "string",
478
- "minLength": 1,
479
- "maxLength": 255
620
+ "maxLength": 255,
621
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
622
+ "x-pattern-message": "can't be blank"
480
623
  }
481
624
  },
482
625
  "additionalProperties": false
483
626
  }
484
627
  }
485
628
  },
629
+ "createEmailAction": {
630
+ "body": {
631
+ "mediaType": "application/json",
632
+ "required": true,
633
+ "schema": {
634
+ "type": "object",
635
+ "properties": {
636
+ "name": {
637
+ "type": ["string", "null"],
638
+ "maxLength": 512
639
+ },
640
+ "enabled": {
641
+ "type": "boolean"
642
+ },
643
+ "to": {
644
+ "type": "array",
645
+ "maxItems": 10,
646
+ "items": {
647
+ "type": "string",
648
+ "maxLength": 512
649
+ }
650
+ },
651
+ "cc": {
652
+ "type": "array",
653
+ "maxItems": 10,
654
+ "items": {
655
+ "type": "string",
656
+ "maxLength": 512
657
+ }
658
+ },
659
+ "bcc": {
660
+ "type": "array",
661
+ "maxItems": 10,
662
+ "items": {
663
+ "type": "string",
664
+ "maxLength": 512
665
+ }
666
+ },
667
+ "from_name": {
668
+ "type": ["string", "null"],
669
+ "maxLength": 64
670
+ },
671
+ "from_address": {
672
+ "type": ["string", "null"],
673
+ "maxLength": 254
674
+ },
675
+ "reply_to": {
676
+ "type": ["string", "null"],
677
+ "maxLength": 254
678
+ },
679
+ "subject": {
680
+ "type": ["string", "null"],
681
+ "maxLength": 200
682
+ },
683
+ "message": {
684
+ "type": ["string", "null"],
685
+ "maxLength": 2000
686
+ },
687
+ "file_name": {
688
+ "type": ["string", "null"],
689
+ "maxLength": 200
690
+ },
691
+ "file_formats": {
692
+ "type": "string",
693
+ "enum": ["docx", "odt", "pdf", "all"]
694
+ },
695
+ "delivery": {
696
+ "type": "string",
697
+ "enum": ["attachment", "link"]
698
+ },
699
+ "max_attachment_mb": {
700
+ "type": "integer",
701
+ "minimum": 1,
702
+ "maximum": 25
703
+ },
704
+ "submission_type": {
705
+ "type": "string",
706
+ "enum": ["live", "test", "all"]
707
+ },
708
+ "send_when": {
709
+ "type": ["object", "null"],
710
+ "required": ["conditions"],
711
+ "properties": {
712
+ "match": {
713
+ "type": "string",
714
+ "enum": ["all", "any"]
715
+ },
716
+ "conditions": {
717
+ "type": "array",
718
+ "items": {
719
+ "oneOf": [{
720
+ "$ref": "#/components/schemas/FieldPresenceCondition"
721
+ }, {
722
+ "$ref": "#/components/schemas/FieldEqualsCondition"
723
+ }, {
724
+ "$ref": "#/components/schemas/FieldInCondition"
725
+ }, {
726
+ "$ref": "#/components/schemas/FieldComparisonCondition"
727
+ }, {
728
+ "$ref": "#/components/schemas/FieldRangeCondition"
729
+ }],
730
+ "discriminator": {
731
+ "propertyName": "operator",
732
+ "mapping": [["present", "#/components/schemas/FieldPresenceCondition"], ["blank", "#/components/schemas/FieldPresenceCondition"], ["equals", "#/components/schemas/FieldEqualsCondition"], ["not_equals", "#/components/schemas/FieldEqualsCondition"], ["in", "#/components/schemas/FieldInCondition"], ["gt", "#/components/schemas/FieldComparisonCondition"], ["gte", "#/components/schemas/FieldComparisonCondition"], ["lt", "#/components/schemas/FieldComparisonCondition"], ["lte", "#/components/schemas/FieldComparisonCondition"], ["range", "#/components/schemas/FieldRangeCondition"]]
733
+ }
734
+ },
735
+ "minItems": 1,
736
+ "maxItems": 20
737
+ }
738
+ },
739
+ "additionalProperties": false
740
+ },
741
+ "failure_notifications_enabled": {
742
+ "type": "boolean"
743
+ }
744
+ },
745
+ "additionalProperties": false
746
+ }
747
+ }
748
+ },
749
+ "createEmailDomain": {
750
+ "body": {
751
+ "mediaType": "application/json",
752
+ "required": true,
753
+ "schema": {
754
+ "type": "object",
755
+ "properties": {
756
+ "domain": {
757
+ "type": "string",
758
+ "maxLength": 253
759
+ }
760
+ },
761
+ "required": ["domain"],
762
+ "additionalProperties": false
763
+ }
764
+ }
765
+ },
486
766
  "createFolder": {
487
767
  "body": {
488
768
  "mediaType": "application/json",
@@ -499,7 +779,8 @@ var _default = exports["default"] = {
499
779
  },
500
780
  "parent_folder_id": {
501
781
  "type": ["string", "null"],
502
- "minLength": 1
782
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
783
+ "x-pattern-message": "can't be blank"
503
784
  }
504
785
  },
505
786
  "required": ["name"],
@@ -558,7 +839,7 @@ var _default = exports["default"] = {
558
839
  "required": false,
559
840
  "schema": {
560
841
  "type": "string",
561
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
842
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
562
843
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
563
844
  }
564
845
  },
@@ -597,7 +878,7 @@ var _default = exports["default"] = {
597
878
  "uniqueItems": true,
598
879
  "items": {
599
880
  "type": "string",
600
- "enum": ["pdf", "png"]
881
+ "enum": ["pdf", "docx", "odt", "png"]
601
882
  }
602
883
  },
603
884
  "expires_in": {
@@ -629,7 +910,9 @@ var _default = exports["default"] = {
629
910
  },
630
911
  "email": {
631
912
  "type": ["string", "null"],
632
- "maxLength": 254
913
+ "maxLength": 254,
914
+ "pattern": "^[^ \t\n\x0B\f\r@]+@[^ \t\n\x0B\f\r@]+$",
915
+ "x-pattern-message": "must be an email address, like name@example.com"
633
916
  },
634
917
  "fields": {
635
918
  "type": "array",
@@ -680,11 +963,75 @@ var _default = exports["default"] = {
680
963
  },
681
964
  "prefilled_values_editable": {
682
965
  "type": "boolean"
966
+ },
967
+ "send_email": {
968
+ "type": "boolean"
969
+ },
970
+ "signing_step": {
971
+ "type": "integer",
972
+ "minimum": 1,
973
+ "maximum": 100
683
974
  }
684
975
  },
685
- "required": ["fields", "auth_type"],
976
+ "required": ["fields"],
686
977
  "additionalProperties": false
687
978
  }
979
+ },
980
+ "send_email": {
981
+ "type": "boolean"
982
+ },
983
+ "signing_order": {
984
+ "type": "string",
985
+ "enum": ["parallel", "sequential"]
986
+ },
987
+ "email_subject": {
988
+ "type": "string",
989
+ "minLength": 1,
990
+ "maxLength": 200
991
+ },
992
+ "email_message": {
993
+ "type": "string",
994
+ "minLength": 1,
995
+ "maxLength": 2000
996
+ },
997
+ "cc": {
998
+ "type": "array",
999
+ "maxItems": 10,
1000
+ "uniqueItems": true,
1001
+ "items": {
1002
+ "type": "string"
1003
+ }
1004
+ },
1005
+ "reply_to": {
1006
+ "type": "string"
1007
+ },
1008
+ "notification_emails": {
1009
+ "type": "array",
1010
+ "maxItems": 10,
1011
+ "uniqueItems": true,
1012
+ "items": {
1013
+ "type": "string"
1014
+ }
1015
+ },
1016
+ "notify_when_signed": {
1017
+ "type": "boolean"
1018
+ },
1019
+ "reminders": {
1020
+ "type": "object",
1021
+ "additionalProperties": false,
1022
+ "required": ["interval_days", "max_count"],
1023
+ "properties": {
1024
+ "interval_days": {
1025
+ "type": "integer",
1026
+ "minimum": 1,
1027
+ "maximum": 30
1028
+ },
1029
+ "max_count": {
1030
+ "type": "integer",
1031
+ "minimum": 1,
1032
+ "maximum": 10
1033
+ }
1034
+ }
688
1035
  }
689
1036
  },
690
1037
  "additionalProperties": false
@@ -710,11 +1057,13 @@ var _default = exports["default"] = {
710
1057
  "type": "object"
711
1058
  },
712
1059
  "template_id": {
713
- "type": "string"
1060
+ "type": "string",
1061
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
1062
+ "x-pattern-message": "can't be blank"
714
1063
  },
715
1064
  "template_version": {
716
1065
  "type": "string",
717
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
1066
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
718
1067
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
719
1068
  },
720
1069
  "test": {
@@ -726,7 +1075,7 @@ var _default = exports["default"] = {
726
1075
  "uniqueItems": true,
727
1076
  "items": {
728
1077
  "type": "string",
729
- "enum": ["pdf", "png"]
1078
+ "enum": ["pdf", "docx", "odt", "png"]
730
1079
  }
731
1080
  },
732
1081
  "submissions": {
@@ -758,7 +1107,7 @@ var _default = exports["default"] = {
758
1107
  "uniqueItems": true,
759
1108
  "items": {
760
1109
  "type": "string",
761
- "enum": ["pdf", "png"]
1110
+ "enum": ["pdf", "docx", "odt", "png"]
762
1111
  }
763
1112
  },
764
1113
  "expires_in": {
@@ -779,11 +1128,13 @@ var _default = exports["default"] = {
779
1128
  "type": "string"
780
1129
  },
781
1130
  "template_id": {
782
- "type": "string"
1131
+ "type": "string",
1132
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
1133
+ "x-pattern-message": "can't be blank"
783
1134
  },
784
1135
  "template_version": {
785
1136
  "type": "string",
786
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
1137
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
787
1138
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
788
1139
  }
789
1140
  },
@@ -813,19 +1164,25 @@ var _default = exports["default"] = {
813
1164
  "properties": {
814
1165
  "name": {
815
1166
  "type": "string",
816
- "minLength": 1,
817
- "maxLength": 512
1167
+ "maxLength": 512,
1168
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
1169
+ "x-pattern-message": "can't be blank"
818
1170
  },
819
1171
  "description": {
820
1172
  "type": ["string", "null"]
821
1173
  },
822
1174
  "template_type": {
823
1175
  "type": "string",
824
- "enum": ["pdf", "html"]
1176
+ "enum": ["pdf", "html", "docx", "page_designer"]
1177
+ },
1178
+ "output_format": {
1179
+ "type": "string",
1180
+ "enum": ["pdf", "docx", "odt"]
825
1181
  },
826
1182
  "parent_folder_id": {
827
1183
  "type": ["string", "null"],
828
- "minLength": 1
1184
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
1185
+ "x-pattern-message": "can't be blank"
829
1186
  },
830
1187
  "locked": {
831
1188
  "type": "boolean"
@@ -902,6 +1259,35 @@ var _default = exports["default"] = {
902
1259
  "type": ["string", "null"],
903
1260
  "format": "uri"
904
1261
  },
1262
+ "signature_request_email_attachments": {
1263
+ "type": ["string", "null"],
1264
+ "enum": ["attachment", "link", null]
1265
+ },
1266
+ "signature_request_from_address": {
1267
+ "type": ["string", "null"]
1268
+ },
1269
+ "signature_request_include_signing_token": {
1270
+ "type": "boolean"
1271
+ },
1272
+ "signature_request_from_name": {
1273
+ "type": ["string", "null"],
1274
+ "maxLength": 64
1275
+ },
1276
+ "signature_request_notification_emails": {
1277
+ "type": "array",
1278
+ "maxItems": 10,
1279
+ "uniqueItems": true,
1280
+ "items": {
1281
+ "type": "string"
1282
+ }
1283
+ },
1284
+ "signature_request_reply_to": {
1285
+ "type": ["string", "null"]
1286
+ },
1287
+ "signature_request_signing_url": {
1288
+ "type": ["string", "null"],
1289
+ "maxLength": 2048
1290
+ },
905
1291
  "slack_webhook_url": {
906
1292
  "type": ["string", "null"],
907
1293
  "format": "uri"
@@ -1108,7 +1494,8 @@ var _default = exports["default"] = {
1108
1494
  },
1109
1495
  "scale": {
1110
1496
  "type": "number",
1111
- "exclusiveMinimum": 0
1497
+ "minimum": 0.1,
1498
+ "maximum": 2
1112
1499
  },
1113
1500
  "landscape": {
1114
1501
  "type": "boolean"
@@ -1134,10 +1521,14 @@ var _default = exports["default"] = {
1134
1521
  "html_escape_data": {
1135
1522
  "type": "boolean"
1136
1523
  },
1524
+ "layout": {
1525
+ "type": ["object", "null"]
1526
+ },
1137
1527
  "cache_id": {
1138
1528
  "type": "string",
1139
- "minLength": 1,
1140
- "maxLength": 255
1529
+ "maxLength": 255,
1530
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
1531
+ "x-pattern-message": "can't be blank"
1141
1532
  },
1142
1533
  "document_url": {
1143
1534
  "type": "string",
@@ -1153,7 +1544,9 @@ var _default = exports["default"] = {
1153
1544
  "filename": {
1154
1545
  "type": "string",
1155
1546
  "minLength": 1,
1156
- "maxLength": 255
1547
+ "maxLength": 255,
1548
+ "pattern": "^[^/\\\\]*$",
1549
+ "x-pattern-message": "can't contain a slash (/ or \\)"
1157
1550
  },
1158
1551
  "detect_fields": {
1159
1552
  "type": "boolean"
@@ -1182,7 +1575,7 @@ var _default = exports["default"] = {
1182
1575
  "required": false,
1183
1576
  "schema": {
1184
1577
  "type": "string",
1185
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
1578
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
1186
1579
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
1187
1580
  }
1188
1581
  }
@@ -1226,7 +1619,7 @@ var _default = exports["default"] = {
1226
1619
  "uniqueItems": true,
1227
1620
  "items": {
1228
1621
  "type": "string",
1229
- "enum": ["submission.processed", "submission.failed", "submission.declined", "signature_request.viewed", "signature_request.completed", "signature_request.declined", "combined_pdf.processed", "combined_pdf.failed", "submission_batch.processed", "submission_batch.failed", "submission.created", "submission.updated", "submission.expired", "signature_request.updated", "combined_pdf.expired", "template.created", "template.updated", "template.deleted", "webhook.created", "webhook.updated", "webhook.deleted", "custom_file.created", "folder.created", "folder.updated", "folder.deleted"]
1622
+ "enum": ["submission.processed", "submission.failed", "submission.declined", "signature_request.sent", "signature_request.viewed", "signature_request.completed", "signature_request.declined", "signature_request.email_bounced", "combined_pdf.processed", "combined_pdf.failed", "submission_batch.processed", "submission_batch.failed", "submission.created", "submission.updated", "submission.expired", "signature_request.updated", "combined_pdf.expired", "template.created", "template.updated", "template.deleted", "webhook.created", "webhook.updated", "webhook.deleted", "custom_file.created", "folder.created", "folder.updated", "folder.deleted"]
1230
1623
  }
1231
1624
  },
1232
1625
  "mode": {
@@ -1237,21 +1630,27 @@ var _default = exports["default"] = {
1237
1630
  "type": "array",
1238
1631
  "uniqueItems": true,
1239
1632
  "items": {
1240
- "type": "string"
1633
+ "type": "string",
1634
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
1635
+ "x-pattern-message": "can't be blank"
1241
1636
  }
1242
1637
  },
1243
1638
  "template_ids": {
1244
1639
  "type": "array",
1245
1640
  "uniqueItems": true,
1246
1641
  "items": {
1247
- "type": "string"
1642
+ "type": "string",
1643
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
1644
+ "x-pattern-message": "can't be blank"
1248
1645
  }
1249
1646
  },
1250
1647
  "folder_ids": {
1251
1648
  "type": "array",
1252
1649
  "uniqueItems": true,
1253
1650
  "items": {
1254
- "type": "string"
1651
+ "type": "string",
1652
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
1653
+ "x-pattern-message": "can't be blank"
1255
1654
  }
1256
1655
  },
1257
1656
  "include_submission_data": {
@@ -1275,7 +1674,11 @@ var _default = exports["default"] = {
1275
1674
  }
1276
1675
  }
1277
1676
  },
1677
+ "deleteAccountEmailAction": {},
1278
1678
  "deleteCustomFile": {},
1679
+ "deleteEmailAction": {},
1680
+ "deleteEmailActionCustomization": {},
1681
+ "deleteEmailDomain": {},
1279
1682
  "deleteFolder": {},
1280
1683
  "deleteTemplate": {
1281
1684
  "query": {
@@ -1283,7 +1686,7 @@ var _default = exports["default"] = {
1283
1686
  "required": false,
1284
1687
  "schema": {
1285
1688
  "type": "string",
1286
- "pattern": "^(\\d+\\.\\d+\\.\\d+|draft)$",
1689
+ "pattern": "^((0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)|draft)$",
1287
1690
  "x-pattern-message": "must be a full version like 1.2.3, or draft"
1288
1691
  }
1289
1692
  }
@@ -1314,7 +1717,7 @@ var _default = exports["default"] = {
1314
1717
  "uniqueItems": true,
1315
1718
  "items": {
1316
1719
  "type": "string",
1317
- "enum": ["png"]
1720
+ "enum": ["pdf", "docx", "odt", "png"]
1318
1721
  }
1319
1722
  }
1320
1723
  },
@@ -1323,8 +1726,11 @@ var _default = exports["default"] = {
1323
1726
  }
1324
1727
  },
1325
1728
  "generateSubmissionPreview": {},
1729
+ "getAccountEmailAction": {},
1326
1730
  "getCombinedPdf": {},
1327
1731
  "getCustomFile": {},
1732
+ "getEmailAction": {},
1733
+ "getEmailDomain": {},
1328
1734
  "getFolder": {},
1329
1735
  "getPresignUrl": {},
1330
1736
  "getSignatureRequest": {},
@@ -1345,7 +1751,7 @@ var _default = exports["default"] = {
1345
1751
  "required": false,
1346
1752
  "schema": {
1347
1753
  "type": "string",
1348
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
1754
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
1349
1755
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
1350
1756
  }
1351
1757
  }
@@ -1357,7 +1763,7 @@ var _default = exports["default"] = {
1357
1763
  "required": false,
1358
1764
  "schema": {
1359
1765
  "type": "string",
1360
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
1766
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
1361
1767
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
1362
1768
  }
1363
1769
  }
@@ -1369,7 +1775,7 @@ var _default = exports["default"] = {
1369
1775
  "required": false,
1370
1776
  "schema": {
1371
1777
  "type": "string",
1372
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
1778
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
1373
1779
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
1374
1780
  }
1375
1781
  },
@@ -1377,7 +1783,7 @@ var _default = exports["default"] = {
1377
1783
  "required": true,
1378
1784
  "schema": {
1379
1785
  "type": "string",
1380
- "enum": ["typescript", "javascript", "ruby", "python", "php", "java", "csharp", "elixir", "go"]
1786
+ "enum": ["typescript", "javascript", "ruby", "python", "php", "java", "csharp", "elixir", "go", "rust"]
1381
1787
  }
1382
1788
  },
1383
1789
  "just_types": {
@@ -1394,7 +1800,7 @@ var _default = exports["default"] = {
1394
1800
  "required": false,
1395
1801
  "schema": {
1396
1802
  "type": "string",
1397
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
1803
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
1398
1804
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
1399
1805
  }
1400
1806
  }
@@ -1407,13 +1813,33 @@ var _default = exports["default"] = {
1407
1813
  "required": false,
1408
1814
  "schema": {
1409
1815
  "type": "string",
1410
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
1816
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
1411
1817
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
1412
1818
  }
1413
1819
  }
1414
1820
  }
1415
1821
  },
1416
1822
  "getWebhook": {},
1823
+ "listAccountEmailActions": {
1824
+ "query": {
1825
+ "limit": {
1826
+ "required": false,
1827
+ "schema": {
1828
+ "type": "integer",
1829
+ "minimum": 1,
1830
+ "maximum": 100
1831
+ }
1832
+ },
1833
+ "cursor": {
1834
+ "required": false,
1835
+ "schema": {
1836
+ "type": "string",
1837
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
1838
+ "x-pattern-message": "can't be blank"
1839
+ }
1840
+ }
1841
+ }
1842
+ },
1417
1843
  "listCombinedPdfs": {
1418
1844
  "query": {
1419
1845
  "limit": {
@@ -1427,7 +1853,9 @@ var _default = exports["default"] = {
1427
1853
  "cursor": {
1428
1854
  "required": false,
1429
1855
  "schema": {
1430
- "type": "string"
1856
+ "type": "string",
1857
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
1858
+ "x-pattern-message": "can't be blank"
1431
1859
  }
1432
1860
  }
1433
1861
  }
@@ -1445,7 +1873,49 @@ var _default = exports["default"] = {
1445
1873
  "cursor": {
1446
1874
  "required": false,
1447
1875
  "schema": {
1448
- "type": "string"
1876
+ "type": "string",
1877
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
1878
+ "x-pattern-message": "can't be blank"
1879
+ }
1880
+ }
1881
+ }
1882
+ },
1883
+ "listEmailActions": {
1884
+ "query": {
1885
+ "limit": {
1886
+ "required": false,
1887
+ "schema": {
1888
+ "type": "integer",
1889
+ "minimum": 1,
1890
+ "maximum": 100
1891
+ }
1892
+ },
1893
+ "cursor": {
1894
+ "required": false,
1895
+ "schema": {
1896
+ "type": "string",
1897
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
1898
+ "x-pattern-message": "can't be blank"
1899
+ }
1900
+ }
1901
+ }
1902
+ },
1903
+ "listEmailDomains": {
1904
+ "query": {
1905
+ "limit": {
1906
+ "required": false,
1907
+ "schema": {
1908
+ "type": "integer",
1909
+ "minimum": 1,
1910
+ "maximum": 100
1911
+ }
1912
+ },
1913
+ "cursor": {
1914
+ "required": false,
1915
+ "schema": {
1916
+ "type": "string",
1917
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
1918
+ "x-pattern-message": "can't be blank"
1449
1919
  }
1450
1920
  }
1451
1921
  }
@@ -1455,7 +1925,9 @@ var _default = exports["default"] = {
1455
1925
  "parent_folder_id": {
1456
1926
  "required": false,
1457
1927
  "schema": {
1458
- "type": "string"
1928
+ "type": "string",
1929
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
1930
+ "x-pattern-message": "can't be blank"
1459
1931
  }
1460
1932
  },
1461
1933
  "limit": {
@@ -1469,7 +1941,9 @@ var _default = exports["default"] = {
1469
1941
  "cursor": {
1470
1942
  "required": false,
1471
1943
  "schema": {
1472
- "type": "string"
1944
+ "type": "string",
1945
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
1946
+ "x-pattern-message": "can't be blank"
1473
1947
  }
1474
1948
  }
1475
1949
  }
@@ -1479,7 +1953,9 @@ var _default = exports["default"] = {
1479
1953
  "template_id": {
1480
1954
  "required": false,
1481
1955
  "schema": {
1482
- "type": "string"
1956
+ "type": "string",
1957
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
1958
+ "x-pattern-message": "can't be blank"
1483
1959
  }
1484
1960
  },
1485
1961
  "test": {
@@ -1519,7 +1995,9 @@ var _default = exports["default"] = {
1519
1995
  "cursor": {
1520
1996
  "required": false,
1521
1997
  "schema": {
1522
- "type": "string"
1998
+ "type": "string",
1999
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
2000
+ "x-pattern-message": "can't be blank"
1523
2001
  }
1524
2002
  },
1525
2003
  "state": {
@@ -1543,7 +2021,7 @@ var _default = exports["default"] = {
1543
2021
  "required": false,
1544
2022
  "schema": {
1545
2023
  "type": "string",
1546
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
2024
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
1547
2025
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
1548
2026
  }
1549
2027
  }
@@ -1588,7 +2066,9 @@ var _default = exports["default"] = {
1588
2066
  "cursor": {
1589
2067
  "required": false,
1590
2068
  "schema": {
1591
- "type": "string"
2069
+ "type": "string",
2070
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
2071
+ "x-pattern-message": "can't be blank"
1592
2072
  }
1593
2073
  },
1594
2074
  "state": {
@@ -1611,13 +2091,17 @@ var _default = exports["default"] = {
1611
2091
  "query": {
1612
2092
  "required": false,
1613
2093
  "schema": {
1614
- "type": "string"
2094
+ "type": "string",
2095
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
2096
+ "x-pattern-message": "can't be blank"
1615
2097
  }
1616
2098
  },
1617
2099
  "parent_folder_id": {
1618
2100
  "required": false,
1619
2101
  "schema": {
1620
- "type": "string"
2102
+ "type": "string",
2103
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
2104
+ "x-pattern-message": "can't be blank"
1621
2105
  }
1622
2106
  },
1623
2107
  "limit": {
@@ -1631,7 +2115,9 @@ var _default = exports["default"] = {
1631
2115
  "cursor": {
1632
2116
  "required": false,
1633
2117
  "schema": {
1634
- "type": "string"
2118
+ "type": "string",
2119
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
2120
+ "x-pattern-message": "can't be blank"
1635
2121
  }
1636
2122
  }
1637
2123
  }
@@ -1642,7 +2128,7 @@ var _default = exports["default"] = {
1642
2128
  "required": false,
1643
2129
  "schema": {
1644
2130
  "type": "string",
1645
- "enum": ["submission.processed", "submission.failed", "submission.declined", "signature_request.viewed", "signature_request.completed", "signature_request.declined", "combined_pdf.processed", "combined_pdf.failed", "submission_batch.processed", "submission_batch.failed", "submission.created", "submission.updated", "submission.expired", "signature_request.updated", "combined_pdf.expired", "template.created", "template.updated", "template.deleted", "webhook.created", "webhook.updated", "webhook.deleted", "custom_file.created", "folder.created", "folder.updated", "folder.deleted"]
2131
+ "enum": ["submission.processed", "submission.failed", "submission.declined", "signature_request.sent", "signature_request.viewed", "signature_request.completed", "signature_request.declined", "signature_request.email_bounced", "combined_pdf.processed", "combined_pdf.failed", "submission_batch.processed", "submission_batch.failed", "submission.created", "submission.updated", "submission.expired", "signature_request.updated", "combined_pdf.expired", "template.created", "template.updated", "template.deleted", "webhook.created", "webhook.updated", "webhook.deleted", "custom_file.created", "folder.created", "folder.updated", "folder.deleted"]
1646
2132
  }
1647
2133
  },
1648
2134
  "mode": {
@@ -1655,19 +2141,25 @@ var _default = exports["default"] = {
1655
2141
  "template_id": {
1656
2142
  "required": false,
1657
2143
  "schema": {
1658
- "type": "string"
2144
+ "type": "string",
2145
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
2146
+ "x-pattern-message": "can't be blank"
1659
2147
  }
1660
2148
  },
1661
2149
  "folder_id": {
1662
2150
  "required": false,
1663
2151
  "schema": {
1664
- "type": "string"
2152
+ "type": "string",
2153
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
2154
+ "x-pattern-message": "can't be blank"
1665
2155
  }
1666
2156
  },
1667
2157
  "api_token_id": {
1668
2158
  "required": false,
1669
2159
  "schema": {
1670
- "type": "string"
2160
+ "type": "string",
2161
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
2162
+ "x-pattern-message": "can't be blank"
1671
2163
  }
1672
2164
  },
1673
2165
  "limit": {
@@ -1681,7 +2173,9 @@ var _default = exports["default"] = {
1681
2173
  "cursor": {
1682
2174
  "required": false,
1683
2175
  "schema": {
1684
- "type": "string"
2176
+ "type": "string",
2177
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
2178
+ "x-pattern-message": "can't be blank"
1685
2179
  }
1686
2180
  }
1687
2181
  }
@@ -1695,7 +2189,8 @@ var _default = exports["default"] = {
1695
2189
  "properties": {
1696
2190
  "parent_folder_id": {
1697
2191
  "type": ["string", "null"],
1698
- "minLength": 1
2192
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
2193
+ "x-pattern-message": "can't be blank"
1699
2194
  }
1700
2195
  },
1701
2196
  "required": ["parent_folder_id"],
@@ -1713,7 +2208,8 @@ var _default = exports["default"] = {
1713
2208
  "properties": {
1714
2209
  "parent_folder_id": {
1715
2210
  "type": ["string", "null"],
1716
- "minLength": 1
2211
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
2212
+ "x-pattern-message": "can't be blank"
1717
2213
  }
1718
2214
  },
1719
2215
  "additionalProperties": false
@@ -1730,97 +2226,491 @@ var _default = exports["default"] = {
1730
2226
  "properties": {
1731
2227
  "version_type": {
1732
2228
  "type": "string",
1733
- "enum": ["major", "minor", "patch"]
2229
+ "enum": ["major", "minor", "patch"]
2230
+ },
2231
+ "description": {
2232
+ "type": "string",
2233
+ "maxLength": 500
2234
+ }
2235
+ },
2236
+ "additionalProperties": false
2237
+ }
2238
+ }
2239
+ },
2240
+ "removeTemplateFields": {
2241
+ "body": {
2242
+ "mediaType": "application/json",
2243
+ "required": true,
2244
+ "schema": {
2245
+ "type": "object",
2246
+ "required": ["field_ids"],
2247
+ "properties": {
2248
+ "field_ids": {
2249
+ "type": "array",
2250
+ "minItems": 1,
2251
+ "maxItems": 1000,
2252
+ "items": {
2253
+ "type": "integer"
2254
+ }
2255
+ }
2256
+ },
2257
+ "additionalProperties": false
2258
+ }
2259
+ }
2260
+ },
2261
+ "renameFolder": {
2262
+ "body": {
2263
+ "mediaType": "application/json",
2264
+ "required": true,
2265
+ "schema": {
2266
+ "type": "object",
2267
+ "properties": {
2268
+ "name": {
2269
+ "type": "string",
2270
+ "minLength": 1,
2271
+ "maxLength": 255,
2272
+ "pattern": "^[^/]*$",
2273
+ "x-pattern-message": "can't contain a slash (/)"
2274
+ }
2275
+ },
2276
+ "required": ["name"],
2277
+ "additionalProperties": false
2278
+ }
2279
+ }
2280
+ },
2281
+ "reorderTemplateFields": {
2282
+ "body": {
2283
+ "mediaType": "application/json",
2284
+ "required": true,
2285
+ "schema": {
2286
+ "type": "object",
2287
+ "required": ["field_ids"],
2288
+ "properties": {
2289
+ "field_ids": {
2290
+ "type": "array",
2291
+ "minItems": 1,
2292
+ "items": {
2293
+ "type": "integer"
2294
+ }
2295
+ }
2296
+ },
2297
+ "additionalProperties": false
2298
+ }
2299
+ }
2300
+ },
2301
+ "restoreTemplateVersion": {
2302
+ "body": {
2303
+ "mediaType": "application/json",
2304
+ "required": true,
2305
+ "schema": {
2306
+ "type": "object",
2307
+ "required": ["version"],
2308
+ "properties": {
2309
+ "version": {
2310
+ "type": "string",
2311
+ "pattern": "^(0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}$",
2312
+ "x-pattern-message": "must be a published version like 1.2.3 or 1"
2313
+ }
2314
+ },
2315
+ "additionalProperties": false
2316
+ }
2317
+ }
2318
+ },
2319
+ "sendAccountEmailActionTestEmail": {
2320
+ "body": {
2321
+ "mediaType": "application/json",
2322
+ "required": false,
2323
+ "schema": {
2324
+ "type": "object",
2325
+ "properties": {
2326
+ "template_id": {
2327
+ "type": "string",
2328
+ "maxLength": 255,
2329
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
2330
+ "x-pattern-message": "can't be blank"
2331
+ }
2332
+ },
2333
+ "additionalProperties": false
2334
+ }
2335
+ }
2336
+ },
2337
+ "sendEmailActionTestEmail": {},
2338
+ "testAuthentication": {},
2339
+ "updateAccountEmailAction": {
2340
+ "body": {
2341
+ "mediaType": "application/json",
2342
+ "required": true,
2343
+ "schema": {
2344
+ "type": "object",
2345
+ "properties": {
2346
+ "template_ids": {
2347
+ "type": "array",
2348
+ "maxItems": 500,
2349
+ "items": {
2350
+ "type": "string",
2351
+ "maxLength": 255,
2352
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
2353
+ "x-pattern-message": "can't be blank"
2354
+ }
2355
+ },
2356
+ "folder_ids": {
2357
+ "type": "array",
2358
+ "maxItems": 500,
2359
+ "items": {
2360
+ "type": "string",
2361
+ "maxLength": 255,
2362
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
2363
+ "x-pattern-message": "can't be blank"
2364
+ }
2365
+ },
2366
+ "name": {
2367
+ "type": ["string", "null"],
2368
+ "maxLength": 512
2369
+ },
2370
+ "enabled": {
2371
+ "type": "boolean"
2372
+ },
2373
+ "to": {
2374
+ "type": "array",
2375
+ "maxItems": 10,
2376
+ "items": {
2377
+ "type": "string",
2378
+ "maxLength": 512
2379
+ }
2380
+ },
2381
+ "cc": {
2382
+ "type": "array",
2383
+ "maxItems": 10,
2384
+ "items": {
2385
+ "type": "string",
2386
+ "maxLength": 512
2387
+ }
2388
+ },
2389
+ "bcc": {
2390
+ "type": "array",
2391
+ "maxItems": 10,
2392
+ "items": {
2393
+ "type": "string",
2394
+ "maxLength": 512
2395
+ }
2396
+ },
2397
+ "from_name": {
2398
+ "type": ["string", "null"],
2399
+ "maxLength": 64
2400
+ },
2401
+ "from_address": {
2402
+ "type": ["string", "null"],
2403
+ "maxLength": 254
2404
+ },
2405
+ "reply_to": {
2406
+ "type": ["string", "null"],
2407
+ "maxLength": 254
2408
+ },
2409
+ "subject": {
2410
+ "type": ["string", "null"],
2411
+ "maxLength": 200
2412
+ },
2413
+ "message": {
2414
+ "type": ["string", "null"],
2415
+ "maxLength": 2000
2416
+ },
2417
+ "file_name": {
2418
+ "type": ["string", "null"],
2419
+ "maxLength": 200
2420
+ },
2421
+ "file_formats": {
2422
+ "type": "string",
2423
+ "enum": ["docx", "odt", "pdf", "all"]
1734
2424
  },
1735
- "description": {
2425
+ "delivery": {
1736
2426
  "type": "string",
1737
- "maxLength": 500
2427
+ "enum": ["attachment", "link"]
2428
+ },
2429
+ "max_attachment_mb": {
2430
+ "type": "integer",
2431
+ "minimum": 1,
2432
+ "maximum": 25
2433
+ },
2434
+ "submission_type": {
2435
+ "type": "string",
2436
+ "enum": ["live", "test", "all"]
2437
+ },
2438
+ "send_when": {
2439
+ "type": ["object", "null"],
2440
+ "required": ["conditions"],
2441
+ "properties": {
2442
+ "match": {
2443
+ "type": "string",
2444
+ "enum": ["all", "any"]
2445
+ },
2446
+ "conditions": {
2447
+ "type": "array",
2448
+ "items": {
2449
+ "oneOf": [{
2450
+ "$ref": "#/components/schemas/FieldPresenceCondition"
2451
+ }, {
2452
+ "$ref": "#/components/schemas/FieldEqualsCondition"
2453
+ }, {
2454
+ "$ref": "#/components/schemas/FieldInCondition"
2455
+ }, {
2456
+ "$ref": "#/components/schemas/FieldComparisonCondition"
2457
+ }, {
2458
+ "$ref": "#/components/schemas/FieldRangeCondition"
2459
+ }],
2460
+ "discriminator": {
2461
+ "propertyName": "operator",
2462
+ "mapping": [["present", "#/components/schemas/FieldPresenceCondition"], ["blank", "#/components/schemas/FieldPresenceCondition"], ["equals", "#/components/schemas/FieldEqualsCondition"], ["not_equals", "#/components/schemas/FieldEqualsCondition"], ["in", "#/components/schemas/FieldInCondition"], ["gt", "#/components/schemas/FieldComparisonCondition"], ["gte", "#/components/schemas/FieldComparisonCondition"], ["lt", "#/components/schemas/FieldComparisonCondition"], ["lte", "#/components/schemas/FieldComparisonCondition"], ["range", "#/components/schemas/FieldRangeCondition"]]
2463
+ }
2464
+ },
2465
+ "minItems": 1,
2466
+ "maxItems": 20
2467
+ }
2468
+ },
2469
+ "additionalProperties": false
2470
+ },
2471
+ "failure_notifications_enabled": {
2472
+ "type": "boolean"
1738
2473
  }
1739
2474
  },
2475
+ "minProperties": 1,
1740
2476
  "additionalProperties": false
1741
2477
  }
1742
2478
  }
1743
2479
  },
1744
- "removeTemplateFields": {
2480
+ "updateEmailAction": {
1745
2481
  "body": {
1746
2482
  "mediaType": "application/json",
1747
2483
  "required": true,
1748
2484
  "schema": {
1749
2485
  "type": "object",
1750
- "required": ["field_ids"],
1751
2486
  "properties": {
1752
- "field_ids": {
2487
+ "name": {
2488
+ "type": ["string", "null"],
2489
+ "maxLength": 512
2490
+ },
2491
+ "enabled": {
2492
+ "type": "boolean"
2493
+ },
2494
+ "to": {
1753
2495
  "type": "array",
1754
- "minItems": 1,
1755
- "maxItems": 1000,
2496
+ "maxItems": 10,
1756
2497
  "items": {
1757
- "type": "integer"
2498
+ "type": "string",
2499
+ "maxLength": 512
1758
2500
  }
1759
- }
1760
- },
1761
- "additionalProperties": false
1762
- }
1763
- }
1764
- },
1765
- "renameFolder": {
1766
- "body": {
1767
- "mediaType": "application/json",
1768
- "required": true,
1769
- "schema": {
1770
- "type": "object",
1771
- "properties": {
1772
- "name": {
2501
+ },
2502
+ "cc": {
2503
+ "type": "array",
2504
+ "maxItems": 10,
2505
+ "items": {
2506
+ "type": "string",
2507
+ "maxLength": 512
2508
+ }
2509
+ },
2510
+ "bcc": {
2511
+ "type": "array",
2512
+ "maxItems": 10,
2513
+ "items": {
2514
+ "type": "string",
2515
+ "maxLength": 512
2516
+ }
2517
+ },
2518
+ "from_name": {
2519
+ "type": ["string", "null"],
2520
+ "maxLength": 64
2521
+ },
2522
+ "from_address": {
2523
+ "type": ["string", "null"],
2524
+ "maxLength": 254
2525
+ },
2526
+ "reply_to": {
2527
+ "type": ["string", "null"],
2528
+ "maxLength": 254
2529
+ },
2530
+ "subject": {
2531
+ "type": ["string", "null"],
2532
+ "maxLength": 200
2533
+ },
2534
+ "message": {
2535
+ "type": ["string", "null"],
2536
+ "maxLength": 2000
2537
+ },
2538
+ "file_name": {
2539
+ "type": ["string", "null"],
2540
+ "maxLength": 200
2541
+ },
2542
+ "file_formats": {
1773
2543
  "type": "string",
1774
- "minLength": 1,
1775
- "maxLength": 255,
1776
- "pattern": "^[^/]*$",
1777
- "x-pattern-message": "can't contain a slash (/)"
2544
+ "enum": ["docx", "odt", "pdf", "all"]
2545
+ },
2546
+ "delivery": {
2547
+ "type": "string",
2548
+ "enum": ["attachment", "link"]
2549
+ },
2550
+ "max_attachment_mb": {
2551
+ "type": "integer",
2552
+ "minimum": 1,
2553
+ "maximum": 25
2554
+ },
2555
+ "submission_type": {
2556
+ "type": "string",
2557
+ "enum": ["live", "test", "all"]
2558
+ },
2559
+ "send_when": {
2560
+ "type": ["object", "null"],
2561
+ "required": ["conditions"],
2562
+ "properties": {
2563
+ "match": {
2564
+ "type": "string",
2565
+ "enum": ["all", "any"]
2566
+ },
2567
+ "conditions": {
2568
+ "type": "array",
2569
+ "items": {
2570
+ "oneOf": [{
2571
+ "$ref": "#/components/schemas/FieldPresenceCondition"
2572
+ }, {
2573
+ "$ref": "#/components/schemas/FieldEqualsCondition"
2574
+ }, {
2575
+ "$ref": "#/components/schemas/FieldInCondition"
2576
+ }, {
2577
+ "$ref": "#/components/schemas/FieldComparisonCondition"
2578
+ }, {
2579
+ "$ref": "#/components/schemas/FieldRangeCondition"
2580
+ }],
2581
+ "discriminator": {
2582
+ "propertyName": "operator",
2583
+ "mapping": [["present", "#/components/schemas/FieldPresenceCondition"], ["blank", "#/components/schemas/FieldPresenceCondition"], ["equals", "#/components/schemas/FieldEqualsCondition"], ["not_equals", "#/components/schemas/FieldEqualsCondition"], ["in", "#/components/schemas/FieldInCondition"], ["gt", "#/components/schemas/FieldComparisonCondition"], ["gte", "#/components/schemas/FieldComparisonCondition"], ["lt", "#/components/schemas/FieldComparisonCondition"], ["lte", "#/components/schemas/FieldComparisonCondition"], ["range", "#/components/schemas/FieldRangeCondition"]]
2584
+ }
2585
+ },
2586
+ "minItems": 1,
2587
+ "maxItems": 20
2588
+ }
2589
+ },
2590
+ "additionalProperties": false
2591
+ },
2592
+ "failure_notifications_enabled": {
2593
+ "type": "boolean"
1778
2594
  }
1779
2595
  },
1780
- "required": ["name"],
2596
+ "minProperties": 1,
1781
2597
  "additionalProperties": false
1782
2598
  }
1783
2599
  }
1784
2600
  },
1785
- "reorderTemplateFields": {
2601
+ "updateEmailActionCustomization": {
1786
2602
  "body": {
1787
2603
  "mediaType": "application/json",
1788
2604
  "required": true,
1789
2605
  "schema": {
1790
2606
  "type": "object",
1791
- "required": ["field_ids"],
1792
2607
  "properties": {
1793
- "field_ids": {
2608
+ "enabled": {
2609
+ "type": "boolean"
2610
+ },
2611
+ "to": {
1794
2612
  "type": "array",
1795
- "minItems": 1,
2613
+ "maxItems": 10,
1796
2614
  "items": {
1797
- "type": "integer"
2615
+ "type": "string",
2616
+ "maxLength": 512
1798
2617
  }
1799
- }
1800
- },
1801
- "additionalProperties": false
1802
- }
1803
- }
1804
- },
1805
- "restoreTemplateVersion": {
1806
- "body": {
1807
- "mediaType": "application/json",
1808
- "required": true,
1809
- "schema": {
1810
- "type": "object",
1811
- "required": ["version"],
1812
- "properties": {
1813
- "version": {
2618
+ },
2619
+ "cc": {
2620
+ "type": "array",
2621
+ "maxItems": 10,
2622
+ "items": {
2623
+ "type": "string",
2624
+ "maxLength": 512
2625
+ }
2626
+ },
2627
+ "bcc": {
2628
+ "type": "array",
2629
+ "maxItems": 10,
2630
+ "items": {
2631
+ "type": "string",
2632
+ "maxLength": 512
2633
+ }
2634
+ },
2635
+ "from_name": {
2636
+ "type": ["string", "null"],
2637
+ "maxLength": 64
2638
+ },
2639
+ "from_address": {
2640
+ "type": ["string", "null"],
2641
+ "maxLength": 254
2642
+ },
2643
+ "reply_to": {
2644
+ "type": ["string", "null"],
2645
+ "maxLength": 254
2646
+ },
2647
+ "subject": {
2648
+ "type": ["string", "null"],
2649
+ "maxLength": 200
2650
+ },
2651
+ "message": {
2652
+ "type": ["string", "null"],
2653
+ "maxLength": 2000
2654
+ },
2655
+ "file_name": {
2656
+ "type": ["string", "null"],
2657
+ "maxLength": 200
2658
+ },
2659
+ "file_formats": {
1814
2660
  "type": "string",
1815
- "pattern": "^\\d+(\\.\\d+(\\.\\d+)?)?$",
1816
- "x-pattern-message": "must be a published version like 1.2.3 or 1"
2661
+ "enum": ["docx", "odt", "pdf", "all"]
2662
+ },
2663
+ "delivery": {
2664
+ "type": "string",
2665
+ "enum": ["attachment", "link"]
2666
+ },
2667
+ "max_attachment_mb": {
2668
+ "type": "integer",
2669
+ "minimum": 1,
2670
+ "maximum": 25
2671
+ },
2672
+ "submission_type": {
2673
+ "type": "string",
2674
+ "enum": ["live", "test", "all"]
2675
+ },
2676
+ "send_when": {
2677
+ "type": ["object", "null"],
2678
+ "required": ["conditions"],
2679
+ "properties": {
2680
+ "match": {
2681
+ "type": "string",
2682
+ "enum": ["all", "any"]
2683
+ },
2684
+ "conditions": {
2685
+ "type": "array",
2686
+ "items": {
2687
+ "oneOf": [{
2688
+ "$ref": "#/components/schemas/FieldPresenceCondition"
2689
+ }, {
2690
+ "$ref": "#/components/schemas/FieldEqualsCondition"
2691
+ }, {
2692
+ "$ref": "#/components/schemas/FieldInCondition"
2693
+ }, {
2694
+ "$ref": "#/components/schemas/FieldComparisonCondition"
2695
+ }, {
2696
+ "$ref": "#/components/schemas/FieldRangeCondition"
2697
+ }],
2698
+ "discriminator": {
2699
+ "propertyName": "operator",
2700
+ "mapping": [["present", "#/components/schemas/FieldPresenceCondition"], ["blank", "#/components/schemas/FieldPresenceCondition"], ["equals", "#/components/schemas/FieldEqualsCondition"], ["not_equals", "#/components/schemas/FieldEqualsCondition"], ["in", "#/components/schemas/FieldInCondition"], ["gt", "#/components/schemas/FieldComparisonCondition"], ["gte", "#/components/schemas/FieldComparisonCondition"], ["lt", "#/components/schemas/FieldComparisonCondition"], ["lte", "#/components/schemas/FieldComparisonCondition"], ["range", "#/components/schemas/FieldRangeCondition"]]
2701
+ }
2702
+ },
2703
+ "minItems": 1,
2704
+ "maxItems": 20
2705
+ }
2706
+ },
2707
+ "additionalProperties": false
1817
2708
  }
1818
2709
  },
1819
2710
  "additionalProperties": false
1820
2711
  }
1821
2712
  }
1822
2713
  },
1823
- "testAuthentication": {},
1824
2714
  "updateSignatureRequest": {
1825
2715
  "body": {
1826
2716
  "mediaType": "application/json",
@@ -1860,6 +2750,7 @@ var _default = exports["default"] = {
1860
2750
  "type": ["string", "null"]
1861
2751
  }
1862
2752
  },
2753
+ "minProperties": 1,
1863
2754
  "additionalProperties": false
1864
2755
  }
1865
2756
  }
@@ -1873,15 +2764,21 @@ var _default = exports["default"] = {
1873
2764
  "properties": {
1874
2765
  "name": {
1875
2766
  "type": "string",
1876
- "minLength": 1,
1877
- "maxLength": 512
2767
+ "maxLength": 512,
2768
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
2769
+ "x-pattern-message": "can't be blank"
1878
2770
  },
1879
2771
  "description": {
1880
2772
  "type": ["string", "null"]
1881
2773
  },
2774
+ "output_format": {
2775
+ "type": "string",
2776
+ "enum": ["pdf", "docx", "odt"]
2777
+ },
1882
2778
  "parent_folder_id": {
1883
2779
  "type": ["string", "null"],
1884
- "minLength": 1
2780
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
2781
+ "x-pattern-message": "can't be blank"
1885
2782
  },
1886
2783
  "locked": {
1887
2784
  "type": "boolean"
@@ -1958,6 +2855,35 @@ var _default = exports["default"] = {
1958
2855
  "type": ["string", "null"],
1959
2856
  "format": "uri"
1960
2857
  },
2858
+ "signature_request_email_attachments": {
2859
+ "type": ["string", "null"],
2860
+ "enum": ["attachment", "link", null]
2861
+ },
2862
+ "signature_request_from_address": {
2863
+ "type": ["string", "null"]
2864
+ },
2865
+ "signature_request_include_signing_token": {
2866
+ "type": "boolean"
2867
+ },
2868
+ "signature_request_from_name": {
2869
+ "type": ["string", "null"],
2870
+ "maxLength": 64
2871
+ },
2872
+ "signature_request_notification_emails": {
2873
+ "type": "array",
2874
+ "maxItems": 10,
2875
+ "uniqueItems": true,
2876
+ "items": {
2877
+ "type": "string"
2878
+ }
2879
+ },
2880
+ "signature_request_reply_to": {
2881
+ "type": ["string", "null"]
2882
+ },
2883
+ "signature_request_signing_url": {
2884
+ "type": ["string", "null"],
2885
+ "maxLength": 2048
2886
+ },
1961
2887
  "slack_webhook_url": {
1962
2888
  "type": ["string", "null"],
1963
2889
  "format": "uri"
@@ -2198,7 +3124,8 @@ var _default = exports["default"] = {
2198
3124
  },
2199
3125
  "scale": {
2200
3126
  "type": "number",
2201
- "exclusiveMinimum": 0
3127
+ "minimum": 0.1,
3128
+ "maximum": 2
2202
3129
  },
2203
3130
  "landscape": {
2204
3131
  "type": "boolean"
@@ -2223,8 +3150,12 @@ var _default = exports["default"] = {
2223
3150
  },
2224
3151
  "html_escape_data": {
2225
3152
  "type": "boolean"
3153
+ },
3154
+ "layout": {
3155
+ "type": ["object", "null"]
2226
3156
  }
2227
3157
  },
3158
+ "minProperties": 1,
2228
3159
  "additionalProperties": false
2229
3160
  }
2230
3161
  }
@@ -2246,8 +3177,9 @@ var _default = exports["default"] = {
2246
3177
  "properties": {
2247
3178
  "cache_id": {
2248
3179
  "type": "string",
2249
- "minLength": 1,
2250
- "maxLength": 255
3180
+ "maxLength": 255,
3181
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
3182
+ "x-pattern-message": "can't be blank"
2251
3183
  },
2252
3184
  "document_url": {
2253
3185
  "type": "string",
@@ -2263,7 +3195,9 @@ var _default = exports["default"] = {
2263
3195
  "filename": {
2264
3196
  "type": "string",
2265
3197
  "minLength": 1,
2266
- "maxLength": 255
3198
+ "maxLength": 255,
3199
+ "pattern": "^[^/\\\\]*$",
3200
+ "x-pattern-message": "can't contain a slash (/ or \\)"
2267
3201
  },
2268
3202
  "reimport_fields": {
2269
3203
  "type": "boolean"
@@ -2563,7 +3497,7 @@ var _default = exports["default"] = {
2563
3497
  },
2564
3498
  "string_condition_type": {
2565
3499
  "type": "string",
2566
- "enum": ["equals", "contains", "starts_with", "ends_with", "regex"]
3500
+ "enum": ["equals", "not_equals", "contains", "not_contains", "starts_with", "not_starts_with", "ends_with", "not_ends_with", "regex", "not_regex", "blank", "not_blank"]
2567
3501
  },
2568
3502
  "number_condition_type": {
2569
3503
  "type": "string",
@@ -2672,7 +3606,7 @@ var _default = exports["default"] = {
2672
3606
  "uniqueItems": true,
2673
3607
  "items": {
2674
3608
  "type": "string",
2675
- "enum": ["submission.processed", "submission.failed", "submission.declined", "signature_request.viewed", "signature_request.completed", "signature_request.declined", "combined_pdf.processed", "combined_pdf.failed", "submission_batch.processed", "submission_batch.failed", "submission.created", "submission.updated", "submission.expired", "signature_request.updated", "combined_pdf.expired", "template.created", "template.updated", "template.deleted", "webhook.created", "webhook.updated", "webhook.deleted", "custom_file.created", "folder.created", "folder.updated", "folder.deleted"]
3609
+ "enum": ["submission.processed", "submission.failed", "submission.declined", "signature_request.sent", "signature_request.viewed", "signature_request.completed", "signature_request.declined", "signature_request.email_bounced", "combined_pdf.processed", "combined_pdf.failed", "submission_batch.processed", "submission_batch.failed", "submission.created", "submission.updated", "submission.expired", "signature_request.updated", "combined_pdf.expired", "template.created", "template.updated", "template.deleted", "webhook.created", "webhook.updated", "webhook.deleted", "custom_file.created", "folder.created", "folder.updated", "folder.deleted"]
2676
3610
  }
2677
3611
  },
2678
3612
  "mode": {
@@ -2683,21 +3617,27 @@ var _default = exports["default"] = {
2683
3617
  "type": "array",
2684
3618
  "uniqueItems": true,
2685
3619
  "items": {
2686
- "type": "string"
3620
+ "type": "string",
3621
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
3622
+ "x-pattern-message": "can't be blank"
2687
3623
  }
2688
3624
  },
2689
3625
  "template_ids": {
2690
3626
  "type": "array",
2691
3627
  "uniqueItems": true,
2692
3628
  "items": {
2693
- "type": "string"
3629
+ "type": "string",
3630
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
3631
+ "x-pattern-message": "can't be blank"
2694
3632
  }
2695
3633
  },
2696
3634
  "folder_ids": {
2697
3635
  "type": "array",
2698
3636
  "uniqueItems": true,
2699
3637
  "items": {
2700
- "type": "string"
3638
+ "type": "string",
3639
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
3640
+ "x-pattern-message": "can't be blank"
2701
3641
  }
2702
3642
  },
2703
3643
  "include_submission_data": {
@@ -2716,6 +3656,7 @@ var _default = exports["default"] = {
2716
3656
  }
2717
3657
  }
2718
3658
  },
3659
+ "minProperties": 1,
2719
3660
  "additionalProperties": false
2720
3661
  }
2721
3662
  }
@@ -2742,15 +3683,17 @@ var _default = exports["default"] = {
2742
3683
  },
2743
3684
  "name": {
2744
3685
  "type": "string",
2745
- "minLength": 1,
2746
- "maxLength": 512
3686
+ "maxLength": 512,
3687
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
3688
+ "x-pattern-message": "can't be blank"
2747
3689
  },
2748
3690
  "description": {
2749
3691
  "type": "string"
2750
3692
  },
2751
3693
  "parent_folder_id": {
2752
3694
  "type": "string",
2753
- "minLength": 1
3695
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
3696
+ "x-pattern-message": "can't be blank"
2754
3697
  },
2755
3698
  "ai_field_naming_language": {
2756
3699
  "type": "string",
@@ -2770,6 +3713,10 @@ var _default = exports["default"] = {
2770
3713
  "field_logic": {
2771
3714
  "type": "string",
2772
3715
  "enum": ["ai", "none"]
3716
+ },
3717
+ "output_format": {
3718
+ "type": "string",
3719
+ "enum": ["pdf", "docx", "odt"]
2773
3720
  }
2774
3721
  },
2775
3722
  "additionalProperties": false
@@ -2810,7 +3757,7 @@ var _default = exports["default"] = {
2810
3757
  "required": false,
2811
3758
  "schema": {
2812
3759
  "type": "string",
2813
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
3760
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
2814
3761
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
2815
3762
  }
2816
3763
  }
@@ -2843,7 +3790,7 @@ var _default = exports["default"] = {
2843
3790
  "uniqueItems": true,
2844
3791
  "items": {
2845
3792
  "type": "string",
2846
- "enum": ["pdf", "png"]
3793
+ "enum": ["pdf", "docx", "odt", "png"]
2847
3794
  }
2848
3795
  },
2849
3796
  "expires_in": {
@@ -2875,7 +3822,9 @@ var _default = exports["default"] = {
2875
3822
  },
2876
3823
  "email": {
2877
3824
  "type": ["string", "null"],
2878
- "maxLength": 254
3825
+ "maxLength": 254,
3826
+ "pattern": "^[^ \t\n\x0B\f\r@]+@[^ \t\n\x0B\f\r@]+$",
3827
+ "x-pattern-message": "must be an email address, like name@example.com"
2879
3828
  },
2880
3829
  "fields": {
2881
3830
  "type": "array",
@@ -2926,30 +3875,103 @@ var _default = exports["default"] = {
2926
3875
  },
2927
3876
  "prefilled_values_editable": {
2928
3877
  "type": "boolean"
3878
+ },
3879
+ "send_email": {
3880
+ "type": "boolean"
3881
+ },
3882
+ "signing_step": {
3883
+ "type": "integer",
3884
+ "minimum": 1,
3885
+ "maximum": 100
2929
3886
  }
2930
3887
  },
2931
- "required": ["fields", "auth_type"],
3888
+ "required": ["fields"],
2932
3889
  "additionalProperties": false
2933
3890
  }
3891
+ },
3892
+ "send_email": {
3893
+ "type": "boolean"
3894
+ },
3895
+ "signing_order": {
3896
+ "type": "string",
3897
+ "enum": ["parallel", "sequential"]
3898
+ },
3899
+ "email_subject": {
3900
+ "type": "string",
3901
+ "minLength": 1,
3902
+ "maxLength": 200
3903
+ },
3904
+ "email_message": {
3905
+ "type": "string",
3906
+ "minLength": 1,
3907
+ "maxLength": 2000
3908
+ },
3909
+ "cc": {
3910
+ "type": "array",
3911
+ "maxItems": 10,
3912
+ "uniqueItems": true,
3913
+ "items": {
3914
+ "type": "string"
3915
+ }
3916
+ },
3917
+ "reply_to": {
3918
+ "type": "string"
3919
+ },
3920
+ "notification_emails": {
3921
+ "type": "array",
3922
+ "maxItems": 10,
3923
+ "uniqueItems": true,
3924
+ "items": {
3925
+ "type": "string"
3926
+ }
3927
+ },
3928
+ "notify_when_signed": {
3929
+ "type": "boolean"
3930
+ },
3931
+ "reminders": {
3932
+ "type": "object",
3933
+ "additionalProperties": false,
3934
+ "required": ["interval_days", "max_count"],
3935
+ "properties": {
3936
+ "interval_days": {
3937
+ "type": "integer",
3938
+ "minimum": 1,
3939
+ "maximum": 30
3940
+ },
3941
+ "max_count": {
3942
+ "type": "integer",
3943
+ "minimum": 1,
3944
+ "maximum": 10
3945
+ }
3946
+ }
2934
3947
  }
2935
3948
  },
2936
3949
  "additionalProperties": false
2937
3950
  }
2938
3951
  }
2939
- }
3952
+ },
3953
+ "verifyEmailDomain": {}
2940
3954
  },
2941
3955
  "routes": {
2942
3956
  "DELETE /combined_pdfs/{combined_pdf_id}": "expireCombinedPdf",
2943
3957
  "DELETE /custom_files/{custom_file_id}": "deleteCustomFile",
3958
+ "DELETE /email_actions/{email_action_id}": "deleteAccountEmailAction",
3959
+ "DELETE /email_domains/{email_domain_id}": "deleteEmailDomain",
2944
3960
  "DELETE /folders/{folder_id}": "deleteFolder",
2945
3961
  "DELETE /submissions/{submission_id}": "expireSubmission",
2946
3962
  "DELETE /templates/{template_id}": "deleteTemplate",
3963
+ "DELETE /templates/{template_id}/email_actions/{email_action_id}": "deleteEmailAction",
3964
+ "DELETE /templates/{template_id}/email_actions/{email_action_id}/customization": "deleteEmailActionCustomization",
2947
3965
  "DELETE /webhooks/{webhook_id}": "deleteWebhook",
2948
3966
  "GET /authentication": "testAuthentication",
2949
3967
  "GET /combined_pdfs": "listCombinedPdfs",
2950
3968
  "GET /combined_pdfs/{combined_pdf_id}": "getCombinedPdf",
2951
3969
  "GET /custom_files": "listCustomFiles",
2952
3970
  "GET /custom_files/{custom_file_id}": "getCustomFile",
3971
+ "GET /email_actions": "listAccountEmailActions",
3972
+ "GET /email_actions/{email_action_id}": "getAccountEmailAction",
3973
+ "GET /email_domains": "listEmailDomains",
3974
+ "GET /email_domains/{email_domain_id}": "getEmailDomain",
2953
3975
  "GET /folders": "listFolders",
2954
3976
  "GET /folders/{folder_id}": "getFolder",
2955
3977
  "GET /signature_requests/{signature_request_id}": "getSignatureRequest",
@@ -2959,6 +3981,8 @@ var _default = exports["default"] = {
2959
3981
  "GET /templates": "listTemplates",
2960
3982
  "GET /templates/{template_id}": "getTemplate",
2961
3983
  "GET /templates/{template_id}/diff": "getTemplateDiff",
3984
+ "GET /templates/{template_id}/email_actions": "listEmailActions",
3985
+ "GET /templates/{template_id}/email_actions/{email_action_id}": "getEmailAction",
2962
3986
  "GET /templates/{template_id}/fields": "listTemplateFields",
2963
3987
  "GET /templates/{template_id}/model_code": "getTemplateModelCode",
2964
3988
  "GET /templates/{template_id}/page_images": "getTemplatePageImages",
@@ -2970,6 +3994,10 @@ var _default = exports["default"] = {
2970
3994
  "GET /webhooks/{webhook_id}": "getWebhook",
2971
3995
  "POST /combined_pdfs": "createCombinedPdf",
2972
3996
  "POST /custom_files": "createCustomFileFromUpload",
3997
+ "POST /email_actions": "createAccountEmailAction",
3998
+ "POST /email_actions/{email_action_id}/test_email": "sendAccountEmailActionTestEmail",
3999
+ "POST /email_domains": "createEmailDomain",
4000
+ "POST /email_domains/{email_domain_id}/verify": "verifyEmailDomain",
2973
4001
  "POST /folders": "createFolder",
2974
4002
  "POST /folders/{folder_id}/move": "moveFolder",
2975
4003
  "POST /folders/{folder_id}/rename": "renameFolder",
@@ -2981,6 +4009,8 @@ var _default = exports["default"] = {
2981
4009
  "POST /templates": "createTemplate",
2982
4010
  "POST /templates/upload": "uploadTemplate",
2983
4011
  "POST /templates/{template_id}/copy": "copyTemplate",
4012
+ "POST /templates/{template_id}/email_actions": "createEmailAction",
4013
+ "POST /templates/{template_id}/email_actions/{email_action_id}/test_email": "sendEmailActionTestEmail",
2984
4014
  "POST /templates/{template_id}/fields": "addTemplateFields",
2985
4015
  "POST /templates/{template_id}/fields/remove": "removeTemplateFields",
2986
4016
  "POST /templates/{template_id}/fields/reorder": "reorderTemplateFields",
@@ -2991,10 +4021,13 @@ var _default = exports["default"] = {
2991
4021
  "POST /templates/{template_id}/submissions": "createSubmission",
2992
4022
  "POST /templates/{template_id}/submissions/validate": "validateSubmission",
2993
4023
  "POST /webhooks": "createWebhook",
4024
+ "PUT /email_actions/{email_action_id}": "updateAccountEmailAction",
2994
4025
  "PUT /signature_requests/{signature_request_id}": "updateSignatureRequest",
2995
4026
  "PUT /templates/{template_id}": "updateTemplate",
2996
4027
  "PUT /templates/{template_id}/document": "updateTemplateDocument",
2997
4028
  "PUT /templates/{template_id}/document/upload": "uploadTemplateDocument",
4029
+ "PUT /templates/{template_id}/email_actions/{email_action_id}": "updateEmailAction",
4030
+ "PUT /templates/{template_id}/email_actions/{email_action_id}/customization": "updateEmailActionCustomization",
2998
4031
  "PUT /templates/{template_id}/fields": "updateTemplateFields",
2999
4032
  "PUT /webhooks/{webhook_id}": "updateWebhook"
3000
4033
  },
@@ -3010,7 +4043,8 @@ var _default = exports["default"] = {
3010
4043
  },
3011
4044
  "id": {
3012
4045
  "type": "string",
3013
- "minLength": 1
4046
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
4047
+ "x-pattern-message": "can't be blank"
3014
4048
  }
3015
4049
  },
3016
4050
  "additionalProperties": false,
@@ -3030,7 +4064,8 @@ var _default = exports["default"] = {
3030
4064
  },
3031
4065
  "id": {
3032
4066
  "type": "string",
3033
- "minLength": 1
4067
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
4068
+ "x-pattern-message": "can't be blank"
3034
4069
  }
3035
4070
  },
3036
4071
  "additionalProperties": false,
@@ -3311,7 +4346,7 @@ var _default = exports["default"] = {
3311
4346
  },
3312
4347
  "string_condition_type": {
3313
4348
  "type": "string",
3314
- "enum": ["equals", "contains", "starts_with", "ends_with", "regex"]
4349
+ "enum": ["equals", "not_equals", "contains", "not_contains", "starts_with", "not_starts_with", "ends_with", "not_ends_with", "regex", "not_regex", "blank", "not_blank"]
3315
4350
  },
3316
4351
  "number_condition_type": {
3317
4352
  "type": "string",
@@ -3454,7 +4489,8 @@ var _default = exports["default"] = {
3454
4489
  },
3455
4490
  "id": {
3456
4491
  "type": "string",
3457
- "minLength": 1
4492
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
4493
+ "x-pattern-message": "can't be blank"
3458
4494
  }
3459
4495
  },
3460
4496
  "additionalProperties": false,
@@ -3474,11 +4510,12 @@ var _default = exports["default"] = {
3474
4510
  },
3475
4511
  "id": {
3476
4512
  "type": "string",
3477
- "minLength": 1
4513
+ "pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
4514
+ "x-pattern-message": "can't be blank"
3478
4515
  },
3479
4516
  "template_version": {
3480
4517
  "type": "string",
3481
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
4518
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
3482
4519
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
3483
4520
  },
3484
4521
  "processed": {