docspring-ts 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 (173) hide show
  1. package/AGENTS.md +2 -2
  2. package/README.md +26 -6
  3. package/dist/RequestSchemas.js +1692 -109
  4. package/dist/RequestSchemas.js.map +1 -1
  5. package/dist/RequestValidator.js +3 -0
  6. package/dist/RequestValidator.js.map +1 -1
  7. package/dist/apis/Client.d.ts +83 -32
  8. package/dist/apis/Client.js +3777 -1764
  9. package/dist/apis/Client.js.map +1 -1
  10. package/dist/http/isomorphic-fetch.js +1 -1
  11. package/dist/models/CreateAccountEmailActionRequest.d.ts +42 -0
  12. package/dist/models/CreateAccountEmailActionRequest.js +131 -0
  13. package/dist/models/CreateAccountEmailActionRequest.js.map +1 -0
  14. package/dist/models/CreateEmailActionRequest.d.ts +40 -0
  15. package/dist/models/CreateEmailActionRequest.js +119 -0
  16. package/dist/models/CreateEmailActionRequest.js.map +1 -0
  17. package/dist/models/CreateEmailDomainRequest.d.ts +20 -0
  18. package/dist/models/CreateEmailDomainRequest.js +23 -0
  19. package/dist/models/CreateEmailDomainRequest.js.map +1 -0
  20. package/dist/models/CreateSubmissionRequest.d.ts +11 -0
  21. package/dist/models/CreateSubmissionRequest.js +54 -0
  22. package/dist/models/CreateSubmissionRequest.js.map +1 -1
  23. package/dist/models/CreateTemplateRequest.d.ts +13 -0
  24. package/dist/models/CreateTemplateRequest.js +54 -0
  25. package/dist/models/CreateTemplateRequest.js.map +1 -1
  26. package/dist/models/DnsRecordType.d.ts +6 -0
  27. package/dist/models/DnsRecordType.js +9 -0
  28. package/dist/models/DnsRecordType.js.map +1 -0
  29. package/dist/models/EmailAction.d.ts +54 -0
  30. package/dist/models/EmailAction.js +197 -0
  31. package/dist/models/EmailAction.js.map +1 -0
  32. package/dist/models/EmailActionConditions.d.ts +23 -0
  33. package/dist/models/EmailActionConditions.js +29 -0
  34. package/dist/models/EmailActionConditions.js.map +1 -0
  35. package/dist/models/EmailActionConditionsInput.d.ts +23 -0
  36. package/dist/models/EmailActionConditionsInput.js +29 -0
  37. package/dist/models/EmailActionConditionsInput.js.map +1 -0
  38. package/dist/models/EmailActionCustomization.d.ts +30 -0
  39. package/dist/models/EmailActionCustomization.js +77 -0
  40. package/dist/models/EmailActionCustomization.js.map +1 -0
  41. package/dist/models/EmailActionDelivery.d.ts +5 -0
  42. package/dist/models/EmailActionDelivery.js +8 -0
  43. package/dist/models/EmailActionDelivery.js.map +1 -0
  44. package/dist/models/EmailActionFileFormats.d.ts +7 -0
  45. package/dist/models/EmailActionFileFormats.js +10 -0
  46. package/dist/models/EmailActionFileFormats.js.map +1 -0
  47. package/dist/models/EmailActionList.d.ts +22 -0
  48. package/dist/models/EmailActionList.js +29 -0
  49. package/dist/models/EmailActionList.js.map +1 -0
  50. package/dist/models/EmailActionSetting.d.ts +17 -0
  51. package/dist/models/EmailActionSetting.js +20 -0
  52. package/dist/models/EmailActionSetting.js.map +1 -0
  53. package/dist/models/EmailActionSubmissionType.d.ts +6 -0
  54. package/dist/models/EmailActionSubmissionType.js +9 -0
  55. package/dist/models/EmailActionSubmissionType.js.map +1 -0
  56. package/dist/models/EmailActionTestEmail.d.ts +20 -0
  57. package/dist/models/EmailActionTestEmail.js +23 -0
  58. package/dist/models/EmailActionTestEmail.js.map +1 -0
  59. package/dist/models/EmailDomain.d.ts +33 -0
  60. package/dist/models/EmailDomain.js +83 -0
  61. package/dist/models/EmailDomain.js.map +1 -0
  62. package/dist/models/EmailDomainDnsRecord.d.ts +25 -0
  63. package/dist/models/EmailDomainDnsRecord.js +41 -0
  64. package/dist/models/EmailDomainDnsRecord.js.map +1 -0
  65. package/dist/models/EmailDomainDnsRecordPurpose.d.ts +6 -0
  66. package/dist/models/EmailDomainDnsRecordPurpose.js +9 -0
  67. package/dist/models/EmailDomainDnsRecordPurpose.js.map +1 -0
  68. package/dist/models/EmailDomainList.d.ts +22 -0
  69. package/dist/models/EmailDomainList.js +29 -0
  70. package/dist/models/EmailDomainList.js.map +1 -0
  71. package/dist/models/EmailDomainRecordState.d.ts +6 -0
  72. package/dist/models/EmailDomainRecordState.js +9 -0
  73. package/dist/models/EmailDomainRecordState.js.map +1 -0
  74. package/dist/models/EmailDomainState.d.ts +6 -0
  75. package/dist/models/EmailDomainState.js +9 -0
  76. package/dist/models/EmailDomainState.js.map +1 -0
  77. package/dist/models/ErrorCode.d.ts +2 -0
  78. package/dist/models/ErrorCode.js +2 -0
  79. package/dist/models/ErrorCode.js.map +1 -1
  80. package/dist/models/ErrorInfo.d.ts +3 -0
  81. package/dist/models/ErrorInfo.js +18 -0
  82. package/dist/models/ErrorInfo.js.map +1 -1
  83. package/dist/models/GenerateFilesFormat.d.ts +3 -0
  84. package/dist/models/GenerateFilesFormat.js +3 -0
  85. package/dist/models/GenerateFilesFormat.js.map +1 -1
  86. package/dist/models/ModelCodeLanguage.d.ts +1 -0
  87. package/dist/models/ModelCodeLanguage.js +2 -1
  88. package/dist/models/ModelCodeLanguage.js.map +1 -1
  89. package/dist/models/ObjectSerializer.d.ts +28 -0
  90. package/dist/models/ObjectSerializer.js +73 -0
  91. package/dist/models/ObjectSerializer.js.map +1 -1
  92. package/dist/models/OutputFormat.d.ts +2 -0
  93. package/dist/models/OutputFormat.js +2 -0
  94. package/dist/models/OutputFormat.js.map +1 -1
  95. package/dist/models/SendAccountEmailActionTestEmailRequest.d.ts +20 -0
  96. package/dist/models/SendAccountEmailActionTestEmailRequest.js +23 -0
  97. package/dist/models/SendAccountEmailActionTestEmailRequest.js.map +1 -0
  98. package/dist/models/SignatureRequest.d.ts +5 -0
  99. package/dist/models/SignatureRequest.js +24 -0
  100. package/dist/models/SignatureRequest.js.map +1 -1
  101. package/dist/models/SignatureRequestEmailAttachments.d.ts +5 -0
  102. package/dist/models/SignatureRequestEmailAttachments.js +8 -0
  103. package/dist/models/SignatureRequestEmailAttachments.js.map +1 -0
  104. package/dist/models/SignatureRequestEmailStatus.d.ts +11 -0
  105. package/dist/models/SignatureRequestEmailStatus.js +14 -0
  106. package/dist/models/SignatureRequestEmailStatus.js.map +1 -0
  107. package/dist/models/SignatureRequestEventType.d.ts +2 -0
  108. package/dist/models/SignatureRequestEventType.js +3 -1
  109. package/dist/models/SignatureRequestEventType.js.map +1 -1
  110. package/dist/models/SignatureRequestInput.d.ts +3 -1
  111. package/dist/models/SignatureRequestInput.js +12 -0
  112. package/dist/models/SignatureRequestInput.js.map +1 -1
  113. package/dist/models/SignatureRequestReminders.d.ts +21 -0
  114. package/dist/models/SignatureRequestReminders.js +29 -0
  115. package/dist/models/SignatureRequestReminders.js.map +1 -0
  116. package/dist/models/SigningOrder.d.ts +5 -0
  117. package/dist/models/SigningOrder.js +8 -0
  118. package/dist/models/SigningOrder.js.map +1 -0
  119. package/dist/models/StringConditionType.d.ts +7 -0
  120. package/dist/models/StringConditionType.js +8 -1
  121. package/dist/models/StringConditionType.js.map +1 -1
  122. package/dist/models/Submission.d.ts +2 -0
  123. package/dist/models/Submission.js +6 -0
  124. package/dist/models/Submission.js.map +1 -1
  125. package/dist/models/SubmissionAction.d.ts +1 -0
  126. package/dist/models/SubmissionAction.js +6 -0
  127. package/dist/models/SubmissionAction.js.map +1 -1
  128. package/dist/models/SubmissionFiles.d.ts +2 -0
  129. package/dist/models/SubmissionFiles.js +12 -0
  130. package/dist/models/SubmissionFiles.js.map +1 -1
  131. package/dist/models/Template.d.ts +13 -0
  132. package/dist/models/Template.js +54 -0
  133. package/dist/models/Template.js.map +1 -1
  134. package/dist/models/TemplateDocumentState.d.ts +2 -0
  135. package/dist/models/TemplateDocumentState.js +3 -1
  136. package/dist/models/TemplateDocumentState.js.map +1 -1
  137. package/dist/models/TemplateSummary.d.ts +2 -0
  138. package/dist/models/TemplateSummary.js +6 -0
  139. package/dist/models/TemplateSummary.js.map +1 -1
  140. package/dist/models/TemplateType.d.ts +2 -0
  141. package/dist/models/TemplateType.js +3 -1
  142. package/dist/models/TemplateType.js.map +1 -1
  143. package/dist/models/UpdateAccountEmailActionRequest.d.ts +42 -0
  144. package/dist/models/UpdateAccountEmailActionRequest.js +131 -0
  145. package/dist/models/UpdateAccountEmailActionRequest.js.map +1 -0
  146. package/dist/models/UpdateEmailActionCustomizationRequest.d.ts +38 -0
  147. package/dist/models/UpdateEmailActionCustomizationRequest.js +107 -0
  148. package/dist/models/UpdateEmailActionCustomizationRequest.js.map +1 -0
  149. package/dist/models/UpdateEmailActionRequest.d.ts +40 -0
  150. package/dist/models/UpdateEmailActionRequest.js +119 -0
  151. package/dist/models/UpdateEmailActionRequest.js.map +1 -0
  152. package/dist/models/UpdateTemplateRequest.d.ts +13 -0
  153. package/dist/models/UpdateTemplateRequest.js +54 -0
  154. package/dist/models/UpdateTemplateRequest.js.map +1 -1
  155. package/dist/models/ValidateSubmissionRequest.d.ts +11 -0
  156. package/dist/models/ValidateSubmissionRequest.js +54 -0
  157. package/dist/models/ValidateSubmissionRequest.js.map +1 -1
  158. package/dist/models/WebhookEventType.d.ts +2 -0
  159. package/dist/models/WebhookEventType.js +2 -0
  160. package/dist/models/WebhookEventType.js.map +1 -1
  161. package/dist/models/all.d.ts +28 -0
  162. package/dist/models/all.js +28 -0
  163. package/dist/models/all.js.map +1 -1
  164. package/dist/types/ObjectParamAPI.d.ts +169 -0
  165. package/dist/types/ObjectParamAPI.js +182 -64
  166. package/dist/types/ObjectParamAPI.js.map +1 -1
  167. package/dist/types/ObservableAPI.d.ts +115 -64
  168. package/dist/types/ObservableAPI.js +819 -287
  169. package/dist/types/ObservableAPI.js.map +1 -1
  170. package/dist/types/PromiseAPI.d.ts +115 -64
  171. package/dist/types/PromiseAPI.js +318 -128
  172. package/dist/types/PromiseAPI.js.map +1 -1
  173. package/package.json +2 -2
@@ -449,10 +449,17 @@ exports.requestSchemas = {
449
449
  "type": "string",
450
450
  "enum": [
451
451
  "equals",
452
+ "not_equals",
452
453
  "contains",
454
+ "not_contains",
453
455
  "starts_with",
456
+ "not_starts_with",
454
457
  "ends_with",
455
- "regex"
458
+ "not_ends_with",
459
+ "regex",
460
+ "not_regex",
461
+ "blank",
462
+ "not_blank"
456
463
  ]
457
464
  },
458
465
  "number_condition_type": {
@@ -637,19 +644,21 @@ exports.requestSchemas = {
637
644
  "properties": {
638
645
  "name": {
639
646
  "type": "string",
640
- "minLength": 1,
641
- "maxLength": 512"[^ \t\n\u000b\f\r…   - 

   ]",
647
+ "maxLength": 512,
648
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
649
+ "x-pattern-message": "can't be blank"
642
650
  },
643
651
  "parent_folder_id": {
644
652
  "type": [
645
653
  "string",
646
654
  "null"
647
655
  ],
648
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

   ]",
656
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
657
+ "x-pattern-message": "can't be blank"
649
658
  },
650
659
  "version": {
651
660
  "type": "string",
652
- "pattern": "^\\d+(\\.\\d+(\\.\\d+)?)?$",
661
+ "pattern": "^(0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}$",
653
662
  "x-pattern-message": "must be a published version like 1.2.3 or 1"
654
663
  }
655
664
  },
@@ -657,6 +666,234 @@ exports.requestSchemas = {
657
666
  }
658
667
  }
659
668
  },
669
+ "createAccountEmailAction": {
670
+ "body": {
671
+ "mediaType": "application/json",
672
+ "required": true,
673
+ "schema": {
674
+ "type": "object",
675
+ "properties": {
676
+ "template_ids": {
677
+ "type": "array",
678
+ "maxItems": 500,
679
+ "items": {
680
+ "type": "string",
681
+ "maxLength": 255,
682
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
683
+ "x-pattern-message": "can't be blank"
684
+ }
685
+ },
686
+ "folder_ids": {
687
+ "type": "array",
688
+ "maxItems": 500,
689
+ "items": {
690
+ "type": "string",
691
+ "maxLength": 255,
692
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
693
+ "x-pattern-message": "can't be blank"
694
+ }
695
+ },
696
+ "name": {
697
+ "type": [
698
+ "string",
699
+ "null"
700
+ ],
701
+ "maxLength": 512
702
+ },
703
+ "enabled": {
704
+ "type": "boolean"
705
+ },
706
+ "to": {
707
+ "type": "array",
708
+ "maxItems": 10,
709
+ "items": {
710
+ "type": "string",
711
+ "maxLength": 512
712
+ }
713
+ },
714
+ "cc": {
715
+ "type": "array",
716
+ "maxItems": 10,
717
+ "items": {
718
+ "type": "string",
719
+ "maxLength": 512
720
+ }
721
+ },
722
+ "bcc": {
723
+ "type": "array",
724
+ "maxItems": 10,
725
+ "items": {
726
+ "type": "string",
727
+ "maxLength": 512
728
+ }
729
+ },
730
+ "from_name": {
731
+ "type": [
732
+ "string",
733
+ "null"
734
+ ],
735
+ "maxLength": 64
736
+ },
737
+ "from_address": {
738
+ "type": [
739
+ "string",
740
+ "null"
741
+ ],
742
+ "maxLength": 254
743
+ },
744
+ "reply_to": {
745
+ "type": [
746
+ "string",
747
+ "null"
748
+ ],
749
+ "maxLength": 254
750
+ },
751
+ "subject": {
752
+ "type": [
753
+ "string",
754
+ "null"
755
+ ],
756
+ "maxLength": 200
757
+ },
758
+ "message": {
759
+ "type": [
760
+ "string",
761
+ "null"
762
+ ],
763
+ "maxLength": 2000
764
+ },
765
+ "file_name": {
766
+ "type": [
767
+ "string",
768
+ "null"
769
+ ],
770
+ "maxLength": 200
771
+ },
772
+ "file_formats": {
773
+ "type": "string",
774
+ "enum": [
775
+ "docx",
776
+ "odt",
777
+ "pdf",
778
+ "all"
779
+ ]
780
+ },
781
+ "delivery": {
782
+ "type": "string",
783
+ "enum": [
784
+ "attachment",
785
+ "link"
786
+ ]
787
+ },
788
+ "max_attachment_mb": {
789
+ "type": "integer",
790
+ "minimum": 1,
791
+ "maximum": 25
792
+ },
793
+ "submission_type": {
794
+ "type": "string",
795
+ "enum": [
796
+ "live",
797
+ "test",
798
+ "all"
799
+ ]
800
+ },
801
+ "send_when": {
802
+ "type": [
803
+ "object",
804
+ "null"
805
+ ],
806
+ "required": [
807
+ "conditions"
808
+ ],
809
+ "properties": {
810
+ "match": {
811
+ "type": "string",
812
+ "enum": [
813
+ "all",
814
+ "any"
815
+ ]
816
+ },
817
+ "conditions": {
818
+ "type": "array",
819
+ "items": {
820
+ "oneOf": [
821
+ {
822
+ "$ref": "#/components/schemas/FieldPresenceCondition"
823
+ },
824
+ {
825
+ "$ref": "#/components/schemas/FieldEqualsCondition"
826
+ },
827
+ {
828
+ "$ref": "#/components/schemas/FieldInCondition"
829
+ },
830
+ {
831
+ "$ref": "#/components/schemas/FieldComparisonCondition"
832
+ },
833
+ {
834
+ "$ref": "#/components/schemas/FieldRangeCondition"
835
+ }
836
+ ],
837
+ "discriminator": {
838
+ "propertyName": "operator",
839
+ "mapping": [
840
+ [
841
+ "present",
842
+ "#/components/schemas/FieldPresenceCondition"
843
+ ],
844
+ [
845
+ "blank",
846
+ "#/components/schemas/FieldPresenceCondition"
847
+ ],
848
+ [
849
+ "equals",
850
+ "#/components/schemas/FieldEqualsCondition"
851
+ ],
852
+ [
853
+ "not_equals",
854
+ "#/components/schemas/FieldEqualsCondition"
855
+ ],
856
+ [
857
+ "in",
858
+ "#/components/schemas/FieldInCondition"
859
+ ],
860
+ [
861
+ "gt",
862
+ "#/components/schemas/FieldComparisonCondition"
863
+ ],
864
+ [
865
+ "gte",
866
+ "#/components/schemas/FieldComparisonCondition"
867
+ ],
868
+ [
869
+ "lt",
870
+ "#/components/schemas/FieldComparisonCondition"
871
+ ],
872
+ [
873
+ "lte",
874
+ "#/components/schemas/FieldComparisonCondition"
875
+ ],
876
+ [
877
+ "range",
878
+ "#/components/schemas/FieldRangeCondition"
879
+ ]
880
+ ]
881
+ }
882
+ },
883
+ "minItems": 1,
884
+ "maxItems": 20
885
+ }
886
+ },
887
+ "additionalProperties": false
888
+ },
889
+ "failure_notifications_enabled": {
890
+ "type": "boolean"
891
+ }
892
+ },
893
+ "additionalProperties": false
894
+ }
895
+ }
896
+ },
660
897
  "createCombinedPdf": {
661
898
  "query": {
662
899
  "wait": {
@@ -755,14 +992,242 @@ exports.requestSchemas = {
755
992
  "properties": {
756
993
  "cache_id": {
757
994
  "type": "string",
758
- "minLength": 1,
759
- "maxLength": 255"[^ \t\n\u000b\f\r…   - 

   ]",
995
+ "maxLength": 255,
996
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
997
+ "x-pattern-message": "can't be blank"
760
998
  }
761
999
  },
762
1000
  "additionalProperties": false
763
1001
  }
764
1002
  }
765
1003
  },
1004
+ "createEmailAction": {
1005
+ "body": {
1006
+ "mediaType": "application/json",
1007
+ "required": true,
1008
+ "schema": {
1009
+ "type": "object",
1010
+ "properties": {
1011
+ "name": {
1012
+ "type": [
1013
+ "string",
1014
+ "null"
1015
+ ],
1016
+ "maxLength": 512
1017
+ },
1018
+ "enabled": {
1019
+ "type": "boolean"
1020
+ },
1021
+ "to": {
1022
+ "type": "array",
1023
+ "maxItems": 10,
1024
+ "items": {
1025
+ "type": "string",
1026
+ "maxLength": 512
1027
+ }
1028
+ },
1029
+ "cc": {
1030
+ "type": "array",
1031
+ "maxItems": 10,
1032
+ "items": {
1033
+ "type": "string",
1034
+ "maxLength": 512
1035
+ }
1036
+ },
1037
+ "bcc": {
1038
+ "type": "array",
1039
+ "maxItems": 10,
1040
+ "items": {
1041
+ "type": "string",
1042
+ "maxLength": 512
1043
+ }
1044
+ },
1045
+ "from_name": {
1046
+ "type": [
1047
+ "string",
1048
+ "null"
1049
+ ],
1050
+ "maxLength": 64
1051
+ },
1052
+ "from_address": {
1053
+ "type": [
1054
+ "string",
1055
+ "null"
1056
+ ],
1057
+ "maxLength": 254
1058
+ },
1059
+ "reply_to": {
1060
+ "type": [
1061
+ "string",
1062
+ "null"
1063
+ ],
1064
+ "maxLength": 254
1065
+ },
1066
+ "subject": {
1067
+ "type": [
1068
+ "string",
1069
+ "null"
1070
+ ],
1071
+ "maxLength": 200
1072
+ },
1073
+ "message": {
1074
+ "type": [
1075
+ "string",
1076
+ "null"
1077
+ ],
1078
+ "maxLength": 2000
1079
+ },
1080
+ "file_name": {
1081
+ "type": [
1082
+ "string",
1083
+ "null"
1084
+ ],
1085
+ "maxLength": 200
1086
+ },
1087
+ "file_formats": {
1088
+ "type": "string",
1089
+ "enum": [
1090
+ "docx",
1091
+ "odt",
1092
+ "pdf",
1093
+ "all"
1094
+ ]
1095
+ },
1096
+ "delivery": {
1097
+ "type": "string",
1098
+ "enum": [
1099
+ "attachment",
1100
+ "link"
1101
+ ]
1102
+ },
1103
+ "max_attachment_mb": {
1104
+ "type": "integer",
1105
+ "minimum": 1,
1106
+ "maximum": 25
1107
+ },
1108
+ "submission_type": {
1109
+ "type": "string",
1110
+ "enum": [
1111
+ "live",
1112
+ "test",
1113
+ "all"
1114
+ ]
1115
+ },
1116
+ "send_when": {
1117
+ "type": [
1118
+ "object",
1119
+ "null"
1120
+ ],
1121
+ "required": [
1122
+ "conditions"
1123
+ ],
1124
+ "properties": {
1125
+ "match": {
1126
+ "type": "string",
1127
+ "enum": [
1128
+ "all",
1129
+ "any"
1130
+ ]
1131
+ },
1132
+ "conditions": {
1133
+ "type": "array",
1134
+ "items": {
1135
+ "oneOf": [
1136
+ {
1137
+ "$ref": "#/components/schemas/FieldPresenceCondition"
1138
+ },
1139
+ {
1140
+ "$ref": "#/components/schemas/FieldEqualsCondition"
1141
+ },
1142
+ {
1143
+ "$ref": "#/components/schemas/FieldInCondition"
1144
+ },
1145
+ {
1146
+ "$ref": "#/components/schemas/FieldComparisonCondition"
1147
+ },
1148
+ {
1149
+ "$ref": "#/components/schemas/FieldRangeCondition"
1150
+ }
1151
+ ],
1152
+ "discriminator": {
1153
+ "propertyName": "operator",
1154
+ "mapping": [
1155
+ [
1156
+ "present",
1157
+ "#/components/schemas/FieldPresenceCondition"
1158
+ ],
1159
+ [
1160
+ "blank",
1161
+ "#/components/schemas/FieldPresenceCondition"
1162
+ ],
1163
+ [
1164
+ "equals",
1165
+ "#/components/schemas/FieldEqualsCondition"
1166
+ ],
1167
+ [
1168
+ "not_equals",
1169
+ "#/components/schemas/FieldEqualsCondition"
1170
+ ],
1171
+ [
1172
+ "in",
1173
+ "#/components/schemas/FieldInCondition"
1174
+ ],
1175
+ [
1176
+ "gt",
1177
+ "#/components/schemas/FieldComparisonCondition"
1178
+ ],
1179
+ [
1180
+ "gte",
1181
+ "#/components/schemas/FieldComparisonCondition"
1182
+ ],
1183
+ [
1184
+ "lt",
1185
+ "#/components/schemas/FieldComparisonCondition"
1186
+ ],
1187
+ [
1188
+ "lte",
1189
+ "#/components/schemas/FieldComparisonCondition"
1190
+ ],
1191
+ [
1192
+ "range",
1193
+ "#/components/schemas/FieldRangeCondition"
1194
+ ]
1195
+ ]
1196
+ }
1197
+ },
1198
+ "minItems": 1,
1199
+ "maxItems": 20
1200
+ }
1201
+ },
1202
+ "additionalProperties": false
1203
+ },
1204
+ "failure_notifications_enabled": {
1205
+ "type": "boolean"
1206
+ }
1207
+ },
1208
+ "additionalProperties": false
1209
+ }
1210
+ }
1211
+ },
1212
+ "createEmailDomain": {
1213
+ "body": {
1214
+ "mediaType": "application/json",
1215
+ "required": true,
1216
+ "schema": {
1217
+ "type": "object",
1218
+ "properties": {
1219
+ "domain": {
1220
+ "type": "string",
1221
+ "maxLength": 253
1222
+ }
1223
+ },
1224
+ "required": [
1225
+ "domain"
1226
+ ],
1227
+ "additionalProperties": false
1228
+ }
1229
+ }
1230
+ },
766
1231
  "createFolder": {
767
1232
  "body": {
768
1233
  "mediaType": "application/json",
@@ -782,7 +1247,8 @@ exports.requestSchemas = {
782
1247
  "string",
783
1248
  "null"
784
1249
  ],
785
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

   ]",
1250
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
1251
+ "x-pattern-message": "can't be blank"
786
1252
  }
787
1253
  },
788
1254
  "required": [
@@ -867,7 +1333,7 @@ exports.requestSchemas = {
867
1333
  "required": false,
868
1334
  "schema": {
869
1335
  "type": "string",
870
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
1336
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
871
1337
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
872
1338
  }
873
1339
  },
@@ -908,6 +1374,8 @@ exports.requestSchemas = {
908
1374
  "type": "string",
909
1375
  "enum": [
910
1376
  "pdf",
1377
+ "docx",
1378
+ "odt",
911
1379
  "png"
912
1380
  ]
913
1381
  }
@@ -947,7 +1415,9 @@ exports.requestSchemas = {
947
1415
  "string",
948
1416
  "null"
949
1417
  ],
950
- "maxLength": 254
1418
+ "maxLength": 254,
1419
+ "pattern": "^[^ \t\n\u000b\f\r@]+@[^ \t\n\u000b\f\r@]+$",
1420
+ "x-pattern-message": "must be an email address, like name@example.com"
951
1421
  },
952
1422
  "fields": {
953
1423
  "type": "array",
@@ -1030,14 +1500,83 @@ exports.requestSchemas = {
1030
1500
  },
1031
1501
  "prefilled_values_editable": {
1032
1502
  "type": "boolean"
1033
- }
1034
- },
1503
+ },
1504
+ "send_email": {
1505
+ "type": "boolean"
1506
+ },
1507
+ "signing_step": {
1508
+ "type": "integer",
1509
+ "minimum": 1,
1510
+ "maximum": 100
1511
+ }
1512
+ },
1035
1513
  "required": [
1036
- "fields",
1037
- "auth_type"
1514
+ "fields"
1038
1515
  ],
1039
1516
  "additionalProperties": false
1040
1517
  }
1518
+ },
1519
+ "send_email": {
1520
+ "type": "boolean"
1521
+ },
1522
+ "signing_order": {
1523
+ "type": "string",
1524
+ "enum": [
1525
+ "parallel",
1526
+ "sequential"
1527
+ ]
1528
+ },
1529
+ "email_subject": {
1530
+ "type": "string",
1531
+ "minLength": 1,
1532
+ "maxLength": 200
1533
+ },
1534
+ "email_message": {
1535
+ "type": "string",
1536
+ "minLength": 1,
1537
+ "maxLength": 2000
1538
+ },
1539
+ "cc": {
1540
+ "type": "array",
1541
+ "maxItems": 10,
1542
+ "uniqueItems": true,
1543
+ "items": {
1544
+ "type": "string"
1545
+ }
1546
+ },
1547
+ "reply_to": {
1548
+ "type": "string"
1549
+ },
1550
+ "notification_emails": {
1551
+ "type": "array",
1552
+ "maxItems": 10,
1553
+ "uniqueItems": true,
1554
+ "items": {
1555
+ "type": "string"
1556
+ }
1557
+ },
1558
+ "notify_when_signed": {
1559
+ "type": "boolean"
1560
+ },
1561
+ "reminders": {
1562
+ "type": "object",
1563
+ "additionalProperties": false,
1564
+ "required": [
1565
+ "interval_days",
1566
+ "max_count"
1567
+ ],
1568
+ "properties": {
1569
+ "interval_days": {
1570
+ "type": "integer",
1571
+ "minimum": 1,
1572
+ "maximum": 30
1573
+ },
1574
+ "max_count": {
1575
+ "type": "integer",
1576
+ "minimum": 1,
1577
+ "maximum": 10
1578
+ }
1579
+ }
1041
1580
  }
1042
1581
  },
1043
1582
  "additionalProperties": false
@@ -1063,11 +1602,13 @@ exports.requestSchemas = {
1063
1602
  "type": "object"
1064
1603
  },
1065
1604
  "template_id": {
1066
- "type": "string"
1605
+ "type": "string",
1606
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
1607
+ "x-pattern-message": "can't be blank"
1067
1608
  },
1068
1609
  "template_version": {
1069
1610
  "type": "string",
1070
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
1611
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
1071
1612
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
1072
1613
  },
1073
1614
  "test": {
@@ -1081,6 +1622,8 @@ exports.requestSchemas = {
1081
1622
  "type": "string",
1082
1623
  "enum": [
1083
1624
  "pdf",
1625
+ "docx",
1626
+ "odt",
1084
1627
  "png"
1085
1628
  ]
1086
1629
  }
@@ -1116,6 +1659,8 @@ exports.requestSchemas = {
1116
1659
  "type": "string",
1117
1660
  "enum": [
1118
1661
  "pdf",
1662
+ "docx",
1663
+ "odt",
1119
1664
  "png"
1120
1665
  ]
1121
1666
  }
@@ -1138,11 +1683,13 @@ exports.requestSchemas = {
1138
1683
  "type": "string"
1139
1684
  },
1140
1685
  "template_id": {
1141
- "type": "string"
1686
+ "type": "string",
1687
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
1688
+ "x-pattern-message": "can't be blank"
1142
1689
  },
1143
1690
  "template_version": {
1144
1691
  "type": "string",
1145
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
1692
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
1146
1693
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
1147
1694
  }
1148
1695
  },
@@ -1174,8 +1721,9 @@ exports.requestSchemas = {
1174
1721
  "properties": {
1175
1722
  "name": {
1176
1723
  "type": "string",
1177
- "minLength": 1,
1178
- "maxLength": 512"[^ \t\n\u000b\f\r…   - 

   ]",
1724
+ "maxLength": 512,
1725
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
1726
+ "x-pattern-message": "can't be blank"
1179
1727
  },
1180
1728
  "description": {
1181
1729
  "type": [
@@ -1187,7 +1735,17 @@ exports.requestSchemas = {
1187
1735
  "type": "string",
1188
1736
  "enum": [
1189
1737
  "pdf",
1190
- "html"
1738
+ "html",
1739
+ "docx",
1740
+ "page_designer"
1741
+ ]
1742
+ },
1743
+ "output_format": {
1744
+ "type": "string",
1745
+ "enum": [
1746
+ "pdf",
1747
+ "docx",
1748
+ "odt"
1191
1749
  ]
1192
1750
  },
1193
1751
  "parent_folder_id": {
@@ -1195,7 +1753,8 @@ exports.requestSchemas = {
1195
1753
  "string",
1196
1754
  "null"
1197
1755
  ],
1198
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

   ]",
1756
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
1757
+ "x-pattern-message": "can't be blank"
1199
1758
  },
1200
1759
  "locked": {
1201
1760
  "type": "boolean"
@@ -1290,6 +1849,54 @@ exports.requestSchemas = {
1290
1849
  ],
1291
1850
  "format": "uri"
1292
1851
  },
1852
+ "signature_request_email_attachments": {
1853
+ "type": [
1854
+ "string",
1855
+ "null"
1856
+ ],
1857
+ "enum": [
1858
+ "attachment",
1859
+ "link",
1860
+ null
1861
+ ]
1862
+ },
1863
+ "signature_request_from_address": {
1864
+ "type": [
1865
+ "string",
1866
+ "null"
1867
+ ]
1868
+ },
1869
+ "signature_request_include_signing_token": {
1870
+ "type": "boolean"
1871
+ },
1872
+ "signature_request_from_name": {
1873
+ "type": [
1874
+ "string",
1875
+ "null"
1876
+ ],
1877
+ "maxLength": 64
1878
+ },
1879
+ "signature_request_notification_emails": {
1880
+ "type": "array",
1881
+ "maxItems": 10,
1882
+ "uniqueItems": true,
1883
+ "items": {
1884
+ "type": "string"
1885
+ }
1886
+ },
1887
+ "signature_request_reply_to": {
1888
+ "type": [
1889
+ "string",
1890
+ "null"
1891
+ ]
1892
+ },
1893
+ "signature_request_signing_url": {
1894
+ "type": [
1895
+ "string",
1896
+ "null"
1897
+ ],
1898
+ "maxLength": 2048
1899
+ },
1293
1900
  "slack_webhook_url": {
1294
1901
  "type": [
1295
1902
  "string",
@@ -1691,7 +2298,8 @@ exports.requestSchemas = {
1691
2298
  },
1692
2299
  "scale": {
1693
2300
  "type": "number",
1694
- "exclusiveMinimum": 0
2301
+ "minimum": 0.1,
2302
+ "maximum": 2
1695
2303
  },
1696
2304
  "landscape": {
1697
2305
  "type": "boolean"
@@ -1717,10 +2325,17 @@ exports.requestSchemas = {
1717
2325
  "html_escape_data": {
1718
2326
  "type": "boolean"
1719
2327
  },
2328
+ "layout": {
2329
+ "type": [
2330
+ "object",
2331
+ "null"
2332
+ ]
2333
+ },
1720
2334
  "cache_id": {
1721
2335
  "type": "string",
1722
- "minLength": 1,
1723
- "maxLength": 255"[^ \t\n\u000b\f\r…   - 

   ]",
2336
+ "maxLength": 255,
2337
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2338
+ "x-pattern-message": "can't be blank"
1724
2339
  },
1725
2340
  "document_url": {
1726
2341
  "type": "string",
@@ -1736,7 +2351,9 @@ exports.requestSchemas = {
1736
2351
  "filename": {
1737
2352
  "type": "string",
1738
2353
  "minLength": 1,
1739
- "maxLength": 255
2354
+ "maxLength": 255,
2355
+ "pattern": "^[^/\\\\]*$",
2356
+ "x-pattern-message": "can't contain a slash (/ or \\)"
1740
2357
  },
1741
2358
  "detect_fields": {
1742
2359
  "type": "boolean"
@@ -1777,7 +2394,7 @@ exports.requestSchemas = {
1777
2394
  "required": false,
1778
2395
  "schema": {
1779
2396
  "type": "string",
1780
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
2397
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
1781
2398
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
1782
2399
  }
1783
2400
  }
@@ -1830,9 +2447,11 @@ exports.requestSchemas = {
1830
2447
  "submission.processed",
1831
2448
  "submission.failed",
1832
2449
  "submission.declined",
2450
+ "signature_request.sent",
1833
2451
  "signature_request.viewed",
1834
2452
  "signature_request.completed",
1835
2453
  "signature_request.declined",
2454
+ "signature_request.email_bounced",
1836
2455
  "combined_pdf.processed",
1837
2456
  "combined_pdf.failed",
1838
2457
  "submission_batch.processed",
@@ -1870,21 +2489,27 @@ exports.requestSchemas = {
1870
2489
  "type": "array",
1871
2490
  "uniqueItems": true,
1872
2491
  "items": {
1873
- "type": "string"
2492
+ "type": "string",
2493
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2494
+ "x-pattern-message": "can't be blank"
1874
2495
  }
1875
2496
  },
1876
2497
  "template_ids": {
1877
2498
  "type": "array",
1878
2499
  "uniqueItems": true,
1879
2500
  "items": {
1880
- "type": "string"
2501
+ "type": "string",
2502
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2503
+ "x-pattern-message": "can't be blank"
1881
2504
  }
1882
2505
  },
1883
2506
  "folder_ids": {
1884
2507
  "type": "array",
1885
2508
  "uniqueItems": true,
1886
2509
  "items": {
1887
- "type": "string"
2510
+ "type": "string",
2511
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2512
+ "x-pattern-message": "can't be blank"
1888
2513
  }
1889
2514
  },
1890
2515
  "include_submission_data": {
@@ -1911,7 +2536,11 @@ exports.requestSchemas = {
1911
2536
  }
1912
2537
  }
1913
2538
  },
2539
+ "deleteAccountEmailAction": {},
1914
2540
  "deleteCustomFile": {},
2541
+ "deleteEmailAction": {},
2542
+ "deleteEmailActionCustomization": {},
2543
+ "deleteEmailDomain": {},
1915
2544
  "deleteFolder": {},
1916
2545
  "deleteTemplate": {
1917
2546
  "query": {
@@ -1919,7 +2548,7 @@ exports.requestSchemas = {
1919
2548
  "required": false,
1920
2549
  "schema": {
1921
2550
  "type": "string",
1922
- "pattern": "^(\\d+\\.\\d+\\.\\d+|draft)$",
2551
+ "pattern": "^((0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)|draft)$",
1923
2552
  "x-pattern-message": "must be a full version like 1.2.3, or draft"
1924
2553
  }
1925
2554
  }
@@ -1953,6 +2582,9 @@ exports.requestSchemas = {
1953
2582
  "items": {
1954
2583
  "type": "string",
1955
2584
  "enum": [
2585
+ "pdf",
2586
+ "docx",
2587
+ "odt",
1956
2588
  "png"
1957
2589
  ]
1958
2590
  }
@@ -1963,8 +2595,11 @@ exports.requestSchemas = {
1963
2595
  }
1964
2596
  },
1965
2597
  "generateSubmissionPreview": {},
2598
+ "getAccountEmailAction": {},
1966
2599
  "getCombinedPdf": {},
1967
2600
  "getCustomFile": {},
2601
+ "getEmailAction": {},
2602
+ "getEmailDomain": {},
1968
2603
  "getFolder": {},
1969
2604
  "getPresignUrl": {},
1970
2605
  "getSignatureRequest": {},
@@ -1985,7 +2620,7 @@ exports.requestSchemas = {
1985
2620
  "required": false,
1986
2621
  "schema": {
1987
2622
  "type": "string",
1988
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
2623
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
1989
2624
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
1990
2625
  }
1991
2626
  }
@@ -1997,7 +2632,7 @@ exports.requestSchemas = {
1997
2632
  "required": false,
1998
2633
  "schema": {
1999
2634
  "type": "string",
2000
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
2635
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
2001
2636
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
2002
2637
  }
2003
2638
  }
@@ -2009,7 +2644,7 @@ exports.requestSchemas = {
2009
2644
  "required": false,
2010
2645
  "schema": {
2011
2646
  "type": "string",
2012
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
2647
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
2013
2648
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
2014
2649
  }
2015
2650
  },
@@ -2026,7 +2661,8 @@ exports.requestSchemas = {
2026
2661
  "java",
2027
2662
  "csharp",
2028
2663
  "elixir",
2029
- "go"
2664
+ "go",
2665
+ "rust"
2030
2666
  ]
2031
2667
  }
2032
2668
  },
@@ -2044,7 +2680,7 @@ exports.requestSchemas = {
2044
2680
  "required": false,
2045
2681
  "schema": {
2046
2682
  "type": "string",
2047
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
2683
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
2048
2684
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
2049
2685
  }
2050
2686
  }
@@ -2057,13 +2693,33 @@ exports.requestSchemas = {
2057
2693
  "required": false,
2058
2694
  "schema": {
2059
2695
  "type": "string",
2060
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
2696
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
2061
2697
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
2062
2698
  }
2063
2699
  }
2064
2700
  }
2065
2701
  },
2066
2702
  "getWebhook": {},
2703
+ "listAccountEmailActions": {
2704
+ "query": {
2705
+ "limit": {
2706
+ "required": false,
2707
+ "schema": {
2708
+ "type": "integer",
2709
+ "minimum": 1,
2710
+ "maximum": 100
2711
+ }
2712
+ },
2713
+ "cursor": {
2714
+ "required": false,
2715
+ "schema": {
2716
+ "type": "string",
2717
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2718
+ "x-pattern-message": "can't be blank"
2719
+ }
2720
+ }
2721
+ }
2722
+ },
2067
2723
  "listCombinedPdfs": {
2068
2724
  "query": {
2069
2725
  "limit": {
@@ -2077,7 +2733,9 @@ exports.requestSchemas = {
2077
2733
  "cursor": {
2078
2734
  "required": false,
2079
2735
  "schema": {
2080
- "type": "string"
2736
+ "type": "string",
2737
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2738
+ "x-pattern-message": "can't be blank"
2081
2739
  }
2082
2740
  }
2083
2741
  }
@@ -2095,7 +2753,49 @@ exports.requestSchemas = {
2095
2753
  "cursor": {
2096
2754
  "required": false,
2097
2755
  "schema": {
2098
- "type": "string"
2756
+ "type": "string",
2757
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2758
+ "x-pattern-message": "can't be blank"
2759
+ }
2760
+ }
2761
+ }
2762
+ },
2763
+ "listEmailActions": {
2764
+ "query": {
2765
+ "limit": {
2766
+ "required": false,
2767
+ "schema": {
2768
+ "type": "integer",
2769
+ "minimum": 1,
2770
+ "maximum": 100
2771
+ }
2772
+ },
2773
+ "cursor": {
2774
+ "required": false,
2775
+ "schema": {
2776
+ "type": "string",
2777
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2778
+ "x-pattern-message": "can't be blank"
2779
+ }
2780
+ }
2781
+ }
2782
+ },
2783
+ "listEmailDomains": {
2784
+ "query": {
2785
+ "limit": {
2786
+ "required": false,
2787
+ "schema": {
2788
+ "type": "integer",
2789
+ "minimum": 1,
2790
+ "maximum": 100
2791
+ }
2792
+ },
2793
+ "cursor": {
2794
+ "required": false,
2795
+ "schema": {
2796
+ "type": "string",
2797
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2798
+ "x-pattern-message": "can't be blank"
2099
2799
  }
2100
2800
  }
2101
2801
  }
@@ -2105,7 +2805,9 @@ exports.requestSchemas = {
2105
2805
  "parent_folder_id": {
2106
2806
  "required": false,
2107
2807
  "schema": {
2108
- "type": "string"
2808
+ "type": "string",
2809
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2810
+ "x-pattern-message": "can't be blank"
2109
2811
  }
2110
2812
  },
2111
2813
  "limit": {
@@ -2119,7 +2821,9 @@ exports.requestSchemas = {
2119
2821
  "cursor": {
2120
2822
  "required": false,
2121
2823
  "schema": {
2122
- "type": "string"
2824
+ "type": "string",
2825
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2826
+ "x-pattern-message": "can't be blank"
2123
2827
  }
2124
2828
  }
2125
2829
  }
@@ -2129,7 +2833,9 @@ exports.requestSchemas = {
2129
2833
  "template_id": {
2130
2834
  "required": false,
2131
2835
  "schema": {
2132
- "type": "string"
2836
+ "type": "string",
2837
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2838
+ "x-pattern-message": "can't be blank"
2133
2839
  }
2134
2840
  },
2135
2841
  "test": {
@@ -2169,7 +2875,9 @@ exports.requestSchemas = {
2169
2875
  "cursor": {
2170
2876
  "required": false,
2171
2877
  "schema": {
2172
- "type": "string"
2878
+ "type": "string",
2879
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2880
+ "x-pattern-message": "can't be blank"
2173
2881
  }
2174
2882
  },
2175
2883
  "state": {
@@ -2207,7 +2915,7 @@ exports.requestSchemas = {
2207
2915
  "required": false,
2208
2916
  "schema": {
2209
2917
  "type": "string",
2210
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
2918
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
2211
2919
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
2212
2920
  }
2213
2921
  }
@@ -2252,7 +2960,9 @@ exports.requestSchemas = {
2252
2960
  "cursor": {
2253
2961
  "required": false,
2254
2962
  "schema": {
2255
- "type": "string"
2963
+ "type": "string",
2964
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2965
+ "x-pattern-message": "can't be blank"
2256
2966
  }
2257
2967
  },
2258
2968
  "state": {
@@ -2289,13 +2999,17 @@ exports.requestSchemas = {
2289
2999
  "query": {
2290
3000
  "required": false,
2291
3001
  "schema": {
2292
- "type": "string"
3002
+ "type": "string",
3003
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3004
+ "x-pattern-message": "can't be blank"
2293
3005
  }
2294
3006
  },
2295
3007
  "parent_folder_id": {
2296
3008
  "required": false,
2297
3009
  "schema": {
2298
- "type": "string"
3010
+ "type": "string",
3011
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3012
+ "x-pattern-message": "can't be blank"
2299
3013
  }
2300
3014
  },
2301
3015
  "limit": {
@@ -2309,7 +3023,9 @@ exports.requestSchemas = {
2309
3023
  "cursor": {
2310
3024
  "required": false,
2311
3025
  "schema": {
2312
- "type": "string"
3026
+ "type": "string",
3027
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3028
+ "x-pattern-message": "can't be blank"
2313
3029
  }
2314
3030
  }
2315
3031
  }
@@ -2324,9 +3040,11 @@ exports.requestSchemas = {
2324
3040
  "submission.processed",
2325
3041
  "submission.failed",
2326
3042
  "submission.declined",
3043
+ "signature_request.sent",
2327
3044
  "signature_request.viewed",
2328
3045
  "signature_request.completed",
2329
3046
  "signature_request.declined",
3047
+ "signature_request.email_bounced",
2330
3048
  "combined_pdf.processed",
2331
3049
  "combined_pdf.failed",
2332
3050
  "submission_batch.processed",
@@ -2362,19 +3080,25 @@ exports.requestSchemas = {
2362
3080
  "template_id": {
2363
3081
  "required": false,
2364
3082
  "schema": {
2365
- "type": "string"
3083
+ "type": "string",
3084
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3085
+ "x-pattern-message": "can't be blank"
2366
3086
  }
2367
3087
  },
2368
3088
  "folder_id": {
2369
3089
  "required": false,
2370
3090
  "schema": {
2371
- "type": "string"
3091
+ "type": "string",
3092
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3093
+ "x-pattern-message": "can't be blank"
2372
3094
  }
2373
3095
  },
2374
3096
  "api_token_id": {
2375
3097
  "required": false,
2376
3098
  "schema": {
2377
- "type": "string"
3099
+ "type": "string",
3100
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3101
+ "x-pattern-message": "can't be blank"
2378
3102
  }
2379
3103
  },
2380
3104
  "limit": {
@@ -2388,7 +3112,9 @@ exports.requestSchemas = {
2388
3112
  "cursor": {
2389
3113
  "required": false,
2390
3114
  "schema": {
2391
- "type": "string"
3115
+ "type": "string",
3116
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3117
+ "x-pattern-message": "can't be blank"
2392
3118
  }
2393
3119
  }
2394
3120
  }
@@ -2405,7 +3131,8 @@ exports.requestSchemas = {
2405
3131
  "string",
2406
3132
  "null"
2407
3133
  ],
2408
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

   ]",
3134
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3135
+ "x-pattern-message": "can't be blank"
2409
3136
  }
2410
3137
  },
2411
3138
  "required": [
@@ -2430,7 +3157,8 @@ exports.requestSchemas = {
2430
3157
  "string",
2431
3158
  "null"
2432
3159
  ],
2433
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

   ]",
3160
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3161
+ "x-pattern-message": "can't be blank"
2434
3162
  }
2435
3163
  },
2436
3164
  "additionalProperties": false
@@ -2502,56 +3230,711 @@ exports.requestSchemas = {
2502
3230
  "x-pattern-message": "can't contain a slash (/)"
2503
3231
  }
2504
3232
  },
2505
- "required": [
2506
- "name"
2507
- ],
3233
+ "required": [
3234
+ "name"
3235
+ ],
3236
+ "additionalProperties": false
3237
+ }
3238
+ }
3239
+ },
3240
+ "reorderTemplateFields": {
3241
+ "body": {
3242
+ "mediaType": "application/json",
3243
+ "required": true,
3244
+ "schema": {
3245
+ "type": "object",
3246
+ "required": [
3247
+ "field_ids"
3248
+ ],
3249
+ "properties": {
3250
+ "field_ids": {
3251
+ "type": "array",
3252
+ "minItems": 1,
3253
+ "items": {
3254
+ "type": "integer"
3255
+ }
3256
+ }
3257
+ },
3258
+ "additionalProperties": false
3259
+ }
3260
+ }
3261
+ },
3262
+ "restoreTemplateVersion": {
3263
+ "body": {
3264
+ "mediaType": "application/json",
3265
+ "required": true,
3266
+ "schema": {
3267
+ "type": "object",
3268
+ "required": [
3269
+ "version"
3270
+ ],
3271
+ "properties": {
3272
+ "version": {
3273
+ "type": "string",
3274
+ "pattern": "^(0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}$",
3275
+ "x-pattern-message": "must be a published version like 1.2.3 or 1"
3276
+ }
3277
+ },
3278
+ "additionalProperties": false
3279
+ }
3280
+ }
3281
+ },
3282
+ "sendAccountEmailActionTestEmail": {
3283
+ "body": {
3284
+ "mediaType": "application/json",
3285
+ "required": false,
3286
+ "schema": {
3287
+ "type": "object",
3288
+ "properties": {
3289
+ "template_id": {
3290
+ "type": "string",
3291
+ "maxLength": 255,
3292
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3293
+ "x-pattern-message": "can't be blank"
3294
+ }
3295
+ },
3296
+ "additionalProperties": false
3297
+ }
3298
+ }
3299
+ },
3300
+ "sendEmailActionTestEmail": {},
3301
+ "testAuthentication": {},
3302
+ "updateAccountEmailAction": {
3303
+ "body": {
3304
+ "mediaType": "application/json",
3305
+ "required": true,
3306
+ "schema": {
3307
+ "type": "object",
3308
+ "properties": {
3309
+ "template_ids": {
3310
+ "type": "array",
3311
+ "maxItems": 500,
3312
+ "items": {
3313
+ "type": "string",
3314
+ "maxLength": 255,
3315
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3316
+ "x-pattern-message": "can't be blank"
3317
+ }
3318
+ },
3319
+ "folder_ids": {
3320
+ "type": "array",
3321
+ "maxItems": 500,
3322
+ "items": {
3323
+ "type": "string",
3324
+ "maxLength": 255,
3325
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3326
+ "x-pattern-message": "can't be blank"
3327
+ }
3328
+ },
3329
+ "name": {
3330
+ "type": [
3331
+ "string",
3332
+ "null"
3333
+ ],
3334
+ "maxLength": 512
3335
+ },
3336
+ "enabled": {
3337
+ "type": "boolean"
3338
+ },
3339
+ "to": {
3340
+ "type": "array",
3341
+ "maxItems": 10,
3342
+ "items": {
3343
+ "type": "string",
3344
+ "maxLength": 512
3345
+ }
3346
+ },
3347
+ "cc": {
3348
+ "type": "array",
3349
+ "maxItems": 10,
3350
+ "items": {
3351
+ "type": "string",
3352
+ "maxLength": 512
3353
+ }
3354
+ },
3355
+ "bcc": {
3356
+ "type": "array",
3357
+ "maxItems": 10,
3358
+ "items": {
3359
+ "type": "string",
3360
+ "maxLength": 512
3361
+ }
3362
+ },
3363
+ "from_name": {
3364
+ "type": [
3365
+ "string",
3366
+ "null"
3367
+ ],
3368
+ "maxLength": 64
3369
+ },
3370
+ "from_address": {
3371
+ "type": [
3372
+ "string",
3373
+ "null"
3374
+ ],
3375
+ "maxLength": 254
3376
+ },
3377
+ "reply_to": {
3378
+ "type": [
3379
+ "string",
3380
+ "null"
3381
+ ],
3382
+ "maxLength": 254
3383
+ },
3384
+ "subject": {
3385
+ "type": [
3386
+ "string",
3387
+ "null"
3388
+ ],
3389
+ "maxLength": 200
3390
+ },
3391
+ "message": {
3392
+ "type": [
3393
+ "string",
3394
+ "null"
3395
+ ],
3396
+ "maxLength": 2000
3397
+ },
3398
+ "file_name": {
3399
+ "type": [
3400
+ "string",
3401
+ "null"
3402
+ ],
3403
+ "maxLength": 200
3404
+ },
3405
+ "file_formats": {
3406
+ "type": "string",
3407
+ "enum": [
3408
+ "docx",
3409
+ "odt",
3410
+ "pdf",
3411
+ "all"
3412
+ ]
3413
+ },
3414
+ "delivery": {
3415
+ "type": "string",
3416
+ "enum": [
3417
+ "attachment",
3418
+ "link"
3419
+ ]
3420
+ },
3421
+ "max_attachment_mb": {
3422
+ "type": "integer",
3423
+ "minimum": 1,
3424
+ "maximum": 25
3425
+ },
3426
+ "submission_type": {
3427
+ "type": "string",
3428
+ "enum": [
3429
+ "live",
3430
+ "test",
3431
+ "all"
3432
+ ]
3433
+ },
3434
+ "send_when": {
3435
+ "type": [
3436
+ "object",
3437
+ "null"
3438
+ ],
3439
+ "required": [
3440
+ "conditions"
3441
+ ],
3442
+ "properties": {
3443
+ "match": {
3444
+ "type": "string",
3445
+ "enum": [
3446
+ "all",
3447
+ "any"
3448
+ ]
3449
+ },
3450
+ "conditions": {
3451
+ "type": "array",
3452
+ "items": {
3453
+ "oneOf": [
3454
+ {
3455
+ "$ref": "#/components/schemas/FieldPresenceCondition"
3456
+ },
3457
+ {
3458
+ "$ref": "#/components/schemas/FieldEqualsCondition"
3459
+ },
3460
+ {
3461
+ "$ref": "#/components/schemas/FieldInCondition"
3462
+ },
3463
+ {
3464
+ "$ref": "#/components/schemas/FieldComparisonCondition"
3465
+ },
3466
+ {
3467
+ "$ref": "#/components/schemas/FieldRangeCondition"
3468
+ }
3469
+ ],
3470
+ "discriminator": {
3471
+ "propertyName": "operator",
3472
+ "mapping": [
3473
+ [
3474
+ "present",
3475
+ "#/components/schemas/FieldPresenceCondition"
3476
+ ],
3477
+ [
3478
+ "blank",
3479
+ "#/components/schemas/FieldPresenceCondition"
3480
+ ],
3481
+ [
3482
+ "equals",
3483
+ "#/components/schemas/FieldEqualsCondition"
3484
+ ],
3485
+ [
3486
+ "not_equals",
3487
+ "#/components/schemas/FieldEqualsCondition"
3488
+ ],
3489
+ [
3490
+ "in",
3491
+ "#/components/schemas/FieldInCondition"
3492
+ ],
3493
+ [
3494
+ "gt",
3495
+ "#/components/schemas/FieldComparisonCondition"
3496
+ ],
3497
+ [
3498
+ "gte",
3499
+ "#/components/schemas/FieldComparisonCondition"
3500
+ ],
3501
+ [
3502
+ "lt",
3503
+ "#/components/schemas/FieldComparisonCondition"
3504
+ ],
3505
+ [
3506
+ "lte",
3507
+ "#/components/schemas/FieldComparisonCondition"
3508
+ ],
3509
+ [
3510
+ "range",
3511
+ "#/components/schemas/FieldRangeCondition"
3512
+ ]
3513
+ ]
3514
+ }
3515
+ },
3516
+ "minItems": 1,
3517
+ "maxItems": 20
3518
+ }
3519
+ },
3520
+ "additionalProperties": false
3521
+ },
3522
+ "failure_notifications_enabled": {
3523
+ "type": "boolean"
3524
+ }
3525
+ },
3526
+ "minProperties": 1,
3527
+ "additionalProperties": false
3528
+ }
3529
+ }
3530
+ },
3531
+ "updateEmailAction": {
3532
+ "body": {
3533
+ "mediaType": "application/json",
3534
+ "required": true,
3535
+ "schema": {
3536
+ "type": "object",
3537
+ "properties": {
3538
+ "name": {
3539
+ "type": [
3540
+ "string",
3541
+ "null"
3542
+ ],
3543
+ "maxLength": 512
3544
+ },
3545
+ "enabled": {
3546
+ "type": "boolean"
3547
+ },
3548
+ "to": {
3549
+ "type": "array",
3550
+ "maxItems": 10,
3551
+ "items": {
3552
+ "type": "string",
3553
+ "maxLength": 512
3554
+ }
3555
+ },
3556
+ "cc": {
3557
+ "type": "array",
3558
+ "maxItems": 10,
3559
+ "items": {
3560
+ "type": "string",
3561
+ "maxLength": 512
3562
+ }
3563
+ },
3564
+ "bcc": {
3565
+ "type": "array",
3566
+ "maxItems": 10,
3567
+ "items": {
3568
+ "type": "string",
3569
+ "maxLength": 512
3570
+ }
3571
+ },
3572
+ "from_name": {
3573
+ "type": [
3574
+ "string",
3575
+ "null"
3576
+ ],
3577
+ "maxLength": 64
3578
+ },
3579
+ "from_address": {
3580
+ "type": [
3581
+ "string",
3582
+ "null"
3583
+ ],
3584
+ "maxLength": 254
3585
+ },
3586
+ "reply_to": {
3587
+ "type": [
3588
+ "string",
3589
+ "null"
3590
+ ],
3591
+ "maxLength": 254
3592
+ },
3593
+ "subject": {
3594
+ "type": [
3595
+ "string",
3596
+ "null"
3597
+ ],
3598
+ "maxLength": 200
3599
+ },
3600
+ "message": {
3601
+ "type": [
3602
+ "string",
3603
+ "null"
3604
+ ],
3605
+ "maxLength": 2000
3606
+ },
3607
+ "file_name": {
3608
+ "type": [
3609
+ "string",
3610
+ "null"
3611
+ ],
3612
+ "maxLength": 200
3613
+ },
3614
+ "file_formats": {
3615
+ "type": "string",
3616
+ "enum": [
3617
+ "docx",
3618
+ "odt",
3619
+ "pdf",
3620
+ "all"
3621
+ ]
3622
+ },
3623
+ "delivery": {
3624
+ "type": "string",
3625
+ "enum": [
3626
+ "attachment",
3627
+ "link"
3628
+ ]
3629
+ },
3630
+ "max_attachment_mb": {
3631
+ "type": "integer",
3632
+ "minimum": 1,
3633
+ "maximum": 25
3634
+ },
3635
+ "submission_type": {
3636
+ "type": "string",
3637
+ "enum": [
3638
+ "live",
3639
+ "test",
3640
+ "all"
3641
+ ]
3642
+ },
3643
+ "send_when": {
3644
+ "type": [
3645
+ "object",
3646
+ "null"
3647
+ ],
3648
+ "required": [
3649
+ "conditions"
3650
+ ],
3651
+ "properties": {
3652
+ "match": {
3653
+ "type": "string",
3654
+ "enum": [
3655
+ "all",
3656
+ "any"
3657
+ ]
3658
+ },
3659
+ "conditions": {
3660
+ "type": "array",
3661
+ "items": {
3662
+ "oneOf": [
3663
+ {
3664
+ "$ref": "#/components/schemas/FieldPresenceCondition"
3665
+ },
3666
+ {
3667
+ "$ref": "#/components/schemas/FieldEqualsCondition"
3668
+ },
3669
+ {
3670
+ "$ref": "#/components/schemas/FieldInCondition"
3671
+ },
3672
+ {
3673
+ "$ref": "#/components/schemas/FieldComparisonCondition"
3674
+ },
3675
+ {
3676
+ "$ref": "#/components/schemas/FieldRangeCondition"
3677
+ }
3678
+ ],
3679
+ "discriminator": {
3680
+ "propertyName": "operator",
3681
+ "mapping": [
3682
+ [
3683
+ "present",
3684
+ "#/components/schemas/FieldPresenceCondition"
3685
+ ],
3686
+ [
3687
+ "blank",
3688
+ "#/components/schemas/FieldPresenceCondition"
3689
+ ],
3690
+ [
3691
+ "equals",
3692
+ "#/components/schemas/FieldEqualsCondition"
3693
+ ],
3694
+ [
3695
+ "not_equals",
3696
+ "#/components/schemas/FieldEqualsCondition"
3697
+ ],
3698
+ [
3699
+ "in",
3700
+ "#/components/schemas/FieldInCondition"
3701
+ ],
3702
+ [
3703
+ "gt",
3704
+ "#/components/schemas/FieldComparisonCondition"
3705
+ ],
3706
+ [
3707
+ "gte",
3708
+ "#/components/schemas/FieldComparisonCondition"
3709
+ ],
3710
+ [
3711
+ "lt",
3712
+ "#/components/schemas/FieldComparisonCondition"
3713
+ ],
3714
+ [
3715
+ "lte",
3716
+ "#/components/schemas/FieldComparisonCondition"
3717
+ ],
3718
+ [
3719
+ "range",
3720
+ "#/components/schemas/FieldRangeCondition"
3721
+ ]
3722
+ ]
3723
+ }
3724
+ },
3725
+ "minItems": 1,
3726
+ "maxItems": 20
3727
+ }
3728
+ },
3729
+ "additionalProperties": false
3730
+ },
3731
+ "failure_notifications_enabled": {
3732
+ "type": "boolean"
3733
+ }
3734
+ },
3735
+ "minProperties": 1,
2508
3736
  "additionalProperties": false
2509
3737
  }
2510
3738
  }
2511
3739
  },
2512
- "reorderTemplateFields": {
3740
+ "updateEmailActionCustomization": {
2513
3741
  "body": {
2514
3742
  "mediaType": "application/json",
2515
3743
  "required": true,
2516
3744
  "schema": {
2517
3745
  "type": "object",
2518
- "required": [
2519
- "field_ids"
2520
- ],
2521
3746
  "properties": {
2522
- "field_ids": {
3747
+ "enabled": {
3748
+ "type": "boolean"
3749
+ },
3750
+ "to": {
2523
3751
  "type": "array",
2524
- "minItems": 1,
3752
+ "maxItems": 10,
2525
3753
  "items": {
2526
- "type": "integer"
3754
+ "type": "string",
3755
+ "maxLength": 512
2527
3756
  }
2528
- }
2529
- },
2530
- "additionalProperties": false
2531
- }
2532
- }
2533
- },
2534
- "restoreTemplateVersion": {
2535
- "body": {
2536
- "mediaType": "application/json",
2537
- "required": true,
2538
- "schema": {
2539
- "type": "object",
2540
- "required": [
2541
- "version"
2542
- ],
2543
- "properties": {
2544
- "version": {
3757
+ },
3758
+ "cc": {
3759
+ "type": "array",
3760
+ "maxItems": 10,
3761
+ "items": {
3762
+ "type": "string",
3763
+ "maxLength": 512
3764
+ }
3765
+ },
3766
+ "bcc": {
3767
+ "type": "array",
3768
+ "maxItems": 10,
3769
+ "items": {
3770
+ "type": "string",
3771
+ "maxLength": 512
3772
+ }
3773
+ },
3774
+ "from_name": {
3775
+ "type": [
3776
+ "string",
3777
+ "null"
3778
+ ],
3779
+ "maxLength": 64
3780
+ },
3781
+ "from_address": {
3782
+ "type": [
3783
+ "string",
3784
+ "null"
3785
+ ],
3786
+ "maxLength": 254
3787
+ },
3788
+ "reply_to": {
3789
+ "type": [
3790
+ "string",
3791
+ "null"
3792
+ ],
3793
+ "maxLength": 254
3794
+ },
3795
+ "subject": {
3796
+ "type": [
3797
+ "string",
3798
+ "null"
3799
+ ],
3800
+ "maxLength": 200
3801
+ },
3802
+ "message": {
3803
+ "type": [
3804
+ "string",
3805
+ "null"
3806
+ ],
3807
+ "maxLength": 2000
3808
+ },
3809
+ "file_name": {
3810
+ "type": [
3811
+ "string",
3812
+ "null"
3813
+ ],
3814
+ "maxLength": 200
3815
+ },
3816
+ "file_formats": {
2545
3817
  "type": "string",
2546
- "pattern": "^\\d+(\\.\\d+(\\.\\d+)?)?$",
2547
- "x-pattern-message": "must be a published version like 1.2.3 or 1"
3818
+ "enum": [
3819
+ "docx",
3820
+ "odt",
3821
+ "pdf",
3822
+ "all"
3823
+ ]
3824
+ },
3825
+ "delivery": {
3826
+ "type": "string",
3827
+ "enum": [
3828
+ "attachment",
3829
+ "link"
3830
+ ]
3831
+ },
3832
+ "max_attachment_mb": {
3833
+ "type": "integer",
3834
+ "minimum": 1,
3835
+ "maximum": 25
3836
+ },
3837
+ "submission_type": {
3838
+ "type": "string",
3839
+ "enum": [
3840
+ "live",
3841
+ "test",
3842
+ "all"
3843
+ ]
3844
+ },
3845
+ "send_when": {
3846
+ "type": [
3847
+ "object",
3848
+ "null"
3849
+ ],
3850
+ "required": [
3851
+ "conditions"
3852
+ ],
3853
+ "properties": {
3854
+ "match": {
3855
+ "type": "string",
3856
+ "enum": [
3857
+ "all",
3858
+ "any"
3859
+ ]
3860
+ },
3861
+ "conditions": {
3862
+ "type": "array",
3863
+ "items": {
3864
+ "oneOf": [
3865
+ {
3866
+ "$ref": "#/components/schemas/FieldPresenceCondition"
3867
+ },
3868
+ {
3869
+ "$ref": "#/components/schemas/FieldEqualsCondition"
3870
+ },
3871
+ {
3872
+ "$ref": "#/components/schemas/FieldInCondition"
3873
+ },
3874
+ {
3875
+ "$ref": "#/components/schemas/FieldComparisonCondition"
3876
+ },
3877
+ {
3878
+ "$ref": "#/components/schemas/FieldRangeCondition"
3879
+ }
3880
+ ],
3881
+ "discriminator": {
3882
+ "propertyName": "operator",
3883
+ "mapping": [
3884
+ [
3885
+ "present",
3886
+ "#/components/schemas/FieldPresenceCondition"
3887
+ ],
3888
+ [
3889
+ "blank",
3890
+ "#/components/schemas/FieldPresenceCondition"
3891
+ ],
3892
+ [
3893
+ "equals",
3894
+ "#/components/schemas/FieldEqualsCondition"
3895
+ ],
3896
+ [
3897
+ "not_equals",
3898
+ "#/components/schemas/FieldEqualsCondition"
3899
+ ],
3900
+ [
3901
+ "in",
3902
+ "#/components/schemas/FieldInCondition"
3903
+ ],
3904
+ [
3905
+ "gt",
3906
+ "#/components/schemas/FieldComparisonCondition"
3907
+ ],
3908
+ [
3909
+ "gte",
3910
+ "#/components/schemas/FieldComparisonCondition"
3911
+ ],
3912
+ [
3913
+ "lt",
3914
+ "#/components/schemas/FieldComparisonCondition"
3915
+ ],
3916
+ [
3917
+ "lte",
3918
+ "#/components/schemas/FieldComparisonCondition"
3919
+ ],
3920
+ [
3921
+ "range",
3922
+ "#/components/schemas/FieldRangeCondition"
3923
+ ]
3924
+ ]
3925
+ }
3926
+ },
3927
+ "minItems": 1,
3928
+ "maxItems": 20
3929
+ }
3930
+ },
3931
+ "additionalProperties": false
2548
3932
  }
2549
3933
  },
2550
3934
  "additionalProperties": false
2551
3935
  }
2552
3936
  }
2553
3937
  },
2554
- "testAuthentication": {},
2555
3938
  "updateSignatureRequest": {
2556
3939
  "body": {
2557
3940
  "mediaType": "application/json",
@@ -2623,6 +4006,7 @@ exports.requestSchemas = {
2623
4006
  ]
2624
4007
  }
2625
4008
  },
4009
+ "minProperties": 1,
2626
4010
  "additionalProperties": false
2627
4011
  }
2628
4012
  }
@@ -2636,8 +4020,9 @@ exports.requestSchemas = {
2636
4020
  "properties": {
2637
4021
  "name": {
2638
4022
  "type": "string",
2639
- "minLength": 1,
2640
- "maxLength": 512"[^ \t\n\u000b\f\r…   - 

   ]",
4023
+ "maxLength": 512,
4024
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
4025
+ "x-pattern-message": "can't be blank"
2641
4026
  },
2642
4027
  "description": {
2643
4028
  "type": [
@@ -2645,12 +4030,21 @@ exports.requestSchemas = {
2645
4030
  "null"
2646
4031
  ]
2647
4032
  },
4033
+ "output_format": {
4034
+ "type": "string",
4035
+ "enum": [
4036
+ "pdf",
4037
+ "docx",
4038
+ "odt"
4039
+ ]
4040
+ },
2648
4041
  "parent_folder_id": {
2649
4042
  "type": [
2650
4043
  "string",
2651
4044
  "null"
2652
4045
  ],
2653
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

   ]",
4046
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
4047
+ "x-pattern-message": "can't be blank"
2654
4048
  },
2655
4049
  "locked": {
2656
4050
  "type": "boolean"
@@ -2745,6 +4139,54 @@ exports.requestSchemas = {
2745
4139
  ],
2746
4140
  "format": "uri"
2747
4141
  },
4142
+ "signature_request_email_attachments": {
4143
+ "type": [
4144
+ "string",
4145
+ "null"
4146
+ ],
4147
+ "enum": [
4148
+ "attachment",
4149
+ "link",
4150
+ null
4151
+ ]
4152
+ },
4153
+ "signature_request_from_address": {
4154
+ "type": [
4155
+ "string",
4156
+ "null"
4157
+ ]
4158
+ },
4159
+ "signature_request_include_signing_token": {
4160
+ "type": "boolean"
4161
+ },
4162
+ "signature_request_from_name": {
4163
+ "type": [
4164
+ "string",
4165
+ "null"
4166
+ ],
4167
+ "maxLength": 64
4168
+ },
4169
+ "signature_request_notification_emails": {
4170
+ "type": "array",
4171
+ "maxItems": 10,
4172
+ "uniqueItems": true,
4173
+ "items": {
4174
+ "type": "string"
4175
+ }
4176
+ },
4177
+ "signature_request_reply_to": {
4178
+ "type": [
4179
+ "string",
4180
+ "null"
4181
+ ]
4182
+ },
4183
+ "signature_request_signing_url": {
4184
+ "type": [
4185
+ "string",
4186
+ "null"
4187
+ ],
4188
+ "maxLength": 2048
4189
+ },
2748
4190
  "slack_webhook_url": {
2749
4191
  "type": [
2750
4192
  "string",
@@ -3188,7 +4630,8 @@ exports.requestSchemas = {
3188
4630
  },
3189
4631
  "scale": {
3190
4632
  "type": "number",
3191
- "exclusiveMinimum": 0
4633
+ "minimum": 0.1,
4634
+ "maximum": 2
3192
4635
  },
3193
4636
  "landscape": {
3194
4637
  "type": "boolean"
@@ -3213,8 +4656,15 @@ exports.requestSchemas = {
3213
4656
  },
3214
4657
  "html_escape_data": {
3215
4658
  "type": "boolean"
4659
+ },
4660
+ "layout": {
4661
+ "type": [
4662
+ "object",
4663
+ "null"
4664
+ ]
3216
4665
  }
3217
4666
  },
4667
+ "minProperties": 1,
3218
4668
  "additionalProperties": false
3219
4669
  }
3220
4670
  }
@@ -3236,8 +4686,9 @@ exports.requestSchemas = {
3236
4686
  "properties": {
3237
4687
  "cache_id": {
3238
4688
  "type": "string",
3239
- "minLength": 1,
3240
- "maxLength": 255"[^ \t\n\u000b\f\r…   - 

   ]",
4689
+ "maxLength": 255,
4690
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
4691
+ "x-pattern-message": "can't be blank"
3241
4692
  },
3242
4693
  "document_url": {
3243
4694
  "type": "string",
@@ -3253,7 +4704,9 @@ exports.requestSchemas = {
3253
4704
  "filename": {
3254
4705
  "type": "string",
3255
4706
  "minLength": 1,
3256
- "maxLength": 255
4707
+ "maxLength": 255,
4708
+ "pattern": "^[^/\\\\]*$",
4709
+ "x-pattern-message": "can't contain a slash (/ or \\)"
3257
4710
  },
3258
4711
  "reimport_fields": {
3259
4712
  "type": "boolean"
@@ -3709,10 +5162,17 @@ exports.requestSchemas = {
3709
5162
  "type": "string",
3710
5163
  "enum": [
3711
5164
  "equals",
5165
+ "not_equals",
3712
5166
  "contains",
5167
+ "not_contains",
3713
5168
  "starts_with",
5169
+ "not_starts_with",
3714
5170
  "ends_with",
3715
- "regex"
5171
+ "not_ends_with",
5172
+ "regex",
5173
+ "not_regex",
5174
+ "blank",
5175
+ "not_blank"
3716
5176
  ]
3717
5177
  },
3718
5178
  "number_condition_type": {
@@ -3919,9 +5379,11 @@ exports.requestSchemas = {
3919
5379
  "submission.processed",
3920
5380
  "submission.failed",
3921
5381
  "submission.declined",
5382
+ "signature_request.sent",
3922
5383
  "signature_request.viewed",
3923
5384
  "signature_request.completed",
3924
5385
  "signature_request.declined",
5386
+ "signature_request.email_bounced",
3925
5387
  "combined_pdf.processed",
3926
5388
  "combined_pdf.failed",
3927
5389
  "submission_batch.processed",
@@ -3959,21 +5421,27 @@ exports.requestSchemas = {
3959
5421
  "type": "array",
3960
5422
  "uniqueItems": true,
3961
5423
  "items": {
3962
- "type": "string"
5424
+ "type": "string",
5425
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
5426
+ "x-pattern-message": "can't be blank"
3963
5427
  }
3964
5428
  },
3965
5429
  "template_ids": {
3966
5430
  "type": "array",
3967
5431
  "uniqueItems": true,
3968
5432
  "items": {
3969
- "type": "string"
5433
+ "type": "string",
5434
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
5435
+ "x-pattern-message": "can't be blank"
3970
5436
  }
3971
5437
  },
3972
5438
  "folder_ids": {
3973
5439
  "type": "array",
3974
5440
  "uniqueItems": true,
3975
5441
  "items": {
3976
- "type": "string"
5442
+ "type": "string",
5443
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
5444
+ "x-pattern-message": "can't be blank"
3977
5445
  }
3978
5446
  },
3979
5447
  "include_submission_data": {
@@ -3992,6 +5460,7 @@ exports.requestSchemas = {
3992
5460
  }
3993
5461
  }
3994
5462
  },
5463
+ "minProperties": 1,
3995
5464
  "additionalProperties": false
3996
5465
  }
3997
5466
  }
@@ -4020,15 +5489,17 @@ exports.requestSchemas = {
4020
5489
  },
4021
5490
  "name": {
4022
5491
  "type": "string",
4023
- "minLength": 1,
4024
- "maxLength": 512"[^ \t\n\u000b\f\r…   - 

   ]",
5492
+ "maxLength": 512,
5493
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
5494
+ "x-pattern-message": "can't be blank"
4025
5495
  },
4026
5496
  "description": {
4027
5497
  "type": "string"
4028
5498
  },
4029
5499
  "parent_folder_id": {
4030
5500
  "type": "string",
4031
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

   ]",
5501
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
5502
+ "x-pattern-message": "can't be blank"
4032
5503
  },
4033
5504
  "ai_field_naming_language": {
4034
5505
  "type": "string",
@@ -4062,6 +5533,14 @@ exports.requestSchemas = {
4062
5533
  "ai",
4063
5534
  "none"
4064
5535
  ]
5536
+ },
5537
+ "output_format": {
5538
+ "type": "string",
5539
+ "enum": [
5540
+ "pdf",
5541
+ "docx",
5542
+ "odt"
5543
+ ]
4065
5544
  }
4066
5545
  },
4067
5546
  "additionalProperties": false
@@ -4104,7 +5583,7 @@ exports.requestSchemas = {
4104
5583
  "required": false,
4105
5584
  "schema": {
4106
5585
  "type": "string",
4107
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
5586
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
4108
5587
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
4109
5588
  }
4110
5589
  }
@@ -4139,6 +5618,8 @@ exports.requestSchemas = {
4139
5618
  "type": "string",
4140
5619
  "enum": [
4141
5620
  "pdf",
5621
+ "docx",
5622
+ "odt",
4142
5623
  "png"
4143
5624
  ]
4144
5625
  }
@@ -4178,7 +5659,9 @@ exports.requestSchemas = {
4178
5659
  "string",
4179
5660
  "null"
4180
5661
  ],
4181
- "maxLength": 254
5662
+ "maxLength": 254,
5663
+ "pattern": "^[^ \t\n\u000b\f\r@]+@[^ \t\n\u000b\f\r@]+$",
5664
+ "x-pattern-message": "must be an email address, like name@example.com"
4182
5665
  },
4183
5666
  "fields": {
4184
5667
  "type": "array",
@@ -4261,33 +5744,111 @@ exports.requestSchemas = {
4261
5744
  },
4262
5745
  "prefilled_values_editable": {
4263
5746
  "type": "boolean"
5747
+ },
5748
+ "send_email": {
5749
+ "type": "boolean"
5750
+ },
5751
+ "signing_step": {
5752
+ "type": "integer",
5753
+ "minimum": 1,
5754
+ "maximum": 100
4264
5755
  }
4265
5756
  },
4266
5757
  "required": [
4267
- "fields",
4268
- "auth_type"
5758
+ "fields"
4269
5759
  ],
4270
5760
  "additionalProperties": false
4271
5761
  }
5762
+ },
5763
+ "send_email": {
5764
+ "type": "boolean"
5765
+ },
5766
+ "signing_order": {
5767
+ "type": "string",
5768
+ "enum": [
5769
+ "parallel",
5770
+ "sequential"
5771
+ ]
5772
+ },
5773
+ "email_subject": {
5774
+ "type": "string",
5775
+ "minLength": 1,
5776
+ "maxLength": 200
5777
+ },
5778
+ "email_message": {
5779
+ "type": "string",
5780
+ "minLength": 1,
5781
+ "maxLength": 2000
5782
+ },
5783
+ "cc": {
5784
+ "type": "array",
5785
+ "maxItems": 10,
5786
+ "uniqueItems": true,
5787
+ "items": {
5788
+ "type": "string"
5789
+ }
5790
+ },
5791
+ "reply_to": {
5792
+ "type": "string"
5793
+ },
5794
+ "notification_emails": {
5795
+ "type": "array",
5796
+ "maxItems": 10,
5797
+ "uniqueItems": true,
5798
+ "items": {
5799
+ "type": "string"
5800
+ }
5801
+ },
5802
+ "notify_when_signed": {
5803
+ "type": "boolean"
5804
+ },
5805
+ "reminders": {
5806
+ "type": "object",
5807
+ "additionalProperties": false,
5808
+ "required": [
5809
+ "interval_days",
5810
+ "max_count"
5811
+ ],
5812
+ "properties": {
5813
+ "interval_days": {
5814
+ "type": "integer",
5815
+ "minimum": 1,
5816
+ "maximum": 30
5817
+ },
5818
+ "max_count": {
5819
+ "type": "integer",
5820
+ "minimum": 1,
5821
+ "maximum": 10
5822
+ }
5823
+ }
4272
5824
  }
4273
5825
  },
4274
5826
  "additionalProperties": false
4275
5827
  }
4276
5828
  }
4277
- }
5829
+ },
5830
+ "verifyEmailDomain": {}
4278
5831
  },
4279
5832
  "routes": {
4280
5833
  "DELETE /combined_pdfs/{combined_pdf_id}": "expireCombinedPdf",
4281
5834
  "DELETE /custom_files/{custom_file_id}": "deleteCustomFile",
5835
+ "DELETE /email_actions/{email_action_id}": "deleteAccountEmailAction",
5836
+ "DELETE /email_domains/{email_domain_id}": "deleteEmailDomain",
4282
5837
  "DELETE /folders/{folder_id}": "deleteFolder",
4283
5838
  "DELETE /submissions/{submission_id}": "expireSubmission",
4284
5839
  "DELETE /templates/{template_id}": "deleteTemplate",
5840
+ "DELETE /templates/{template_id}/email_actions/{email_action_id}": "deleteEmailAction",
5841
+ "DELETE /templates/{template_id}/email_actions/{email_action_id}/customization": "deleteEmailActionCustomization",
4285
5842
  "DELETE /webhooks/{webhook_id}": "deleteWebhook",
4286
5843
  "GET /authentication": "testAuthentication",
4287
5844
  "GET /combined_pdfs": "listCombinedPdfs",
4288
5845
  "GET /combined_pdfs/{combined_pdf_id}": "getCombinedPdf",
4289
5846
  "GET /custom_files": "listCustomFiles",
4290
5847
  "GET /custom_files/{custom_file_id}": "getCustomFile",
5848
+ "GET /email_actions": "listAccountEmailActions",
5849
+ "GET /email_actions/{email_action_id}": "getAccountEmailAction",
5850
+ "GET /email_domains": "listEmailDomains",
5851
+ "GET /email_domains/{email_domain_id}": "getEmailDomain",
4291
5852
  "GET /folders": "listFolders",
4292
5853
  "GET /folders/{folder_id}": "getFolder",
4293
5854
  "GET /signature_requests/{signature_request_id}": "getSignatureRequest",
@@ -4297,6 +5858,8 @@ exports.requestSchemas = {
4297
5858
  "GET /templates": "listTemplates",
4298
5859
  "GET /templates/{template_id}": "getTemplate",
4299
5860
  "GET /templates/{template_id}/diff": "getTemplateDiff",
5861
+ "GET /templates/{template_id}/email_actions": "listEmailActions",
5862
+ "GET /templates/{template_id}/email_actions/{email_action_id}": "getEmailAction",
4300
5863
  "GET /templates/{template_id}/fields": "listTemplateFields",
4301
5864
  "GET /templates/{template_id}/model_code": "getTemplateModelCode",
4302
5865
  "GET /templates/{template_id}/page_images": "getTemplatePageImages",
@@ -4308,6 +5871,10 @@ exports.requestSchemas = {
4308
5871
  "GET /webhooks/{webhook_id}": "getWebhook",
4309
5872
  "POST /combined_pdfs": "createCombinedPdf",
4310
5873
  "POST /custom_files": "createCustomFileFromUpload",
5874
+ "POST /email_actions": "createAccountEmailAction",
5875
+ "POST /email_actions/{email_action_id}/test_email": "sendAccountEmailActionTestEmail",
5876
+ "POST /email_domains": "createEmailDomain",
5877
+ "POST /email_domains/{email_domain_id}/verify": "verifyEmailDomain",
4311
5878
  "POST /folders": "createFolder",
4312
5879
  "POST /folders/{folder_id}/move": "moveFolder",
4313
5880
  "POST /folders/{folder_id}/rename": "renameFolder",
@@ -4319,6 +5886,8 @@ exports.requestSchemas = {
4319
5886
  "POST /templates": "createTemplate",
4320
5887
  "POST /templates/upload": "uploadTemplate",
4321
5888
  "POST /templates/{template_id}/copy": "copyTemplate",
5889
+ "POST /templates/{template_id}/email_actions": "createEmailAction",
5890
+ "POST /templates/{template_id}/email_actions/{email_action_id}/test_email": "sendEmailActionTestEmail",
4322
5891
  "POST /templates/{template_id}/fields": "addTemplateFields",
4323
5892
  "POST /templates/{template_id}/fields/remove": "removeTemplateFields",
4324
5893
  "POST /templates/{template_id}/fields/reorder": "reorderTemplateFields",
@@ -4329,10 +5898,13 @@ exports.requestSchemas = {
4329
5898
  "POST /templates/{template_id}/submissions": "createSubmission",
4330
5899
  "POST /templates/{template_id}/submissions/validate": "validateSubmission",
4331
5900
  "POST /webhooks": "createWebhook",
5901
+ "PUT /email_actions/{email_action_id}": "updateAccountEmailAction",
4332
5902
  "PUT /signature_requests/{signature_request_id}": "updateSignatureRequest",
4333
5903
  "PUT /templates/{template_id}": "updateTemplate",
4334
5904
  "PUT /templates/{template_id}/document": "updateTemplateDocument",
4335
5905
  "PUT /templates/{template_id}/document/upload": "uploadTemplateDocument",
5906
+ "PUT /templates/{template_id}/email_actions/{email_action_id}": "updateEmailAction",
5907
+ "PUT /templates/{template_id}/email_actions/{email_action_id}/customization": "updateEmailActionCustomization",
4336
5908
  "PUT /templates/{template_id}/fields": "updateTemplateFields",
4337
5909
  "PUT /webhooks/{webhook_id}": "updateWebhook"
4338
5910
  },
@@ -4351,7 +5923,8 @@ exports.requestSchemas = {
4351
5923
  },
4352
5924
  "id": {
4353
5925
  "type": "string",
4354
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

   ]",
5926
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
5927
+ "x-pattern-message": "can't be blank"
4355
5928
  }
4356
5929
  },
4357
5930
  "additionalProperties": false,
@@ -4374,7 +5947,8 @@ exports.requestSchemas = {
4374
5947
  },
4375
5948
  "id": {
4376
5949
  "type": "string",
4377
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

   ]",
5950
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
5951
+ "x-pattern-message": "can't be blank"
4378
5952
  }
4379
5953
  },
4380
5954
  "additionalProperties": false,
@@ -4799,10 +6373,17 @@ exports.requestSchemas = {
4799
6373
  "type": "string",
4800
6374
  "enum": [
4801
6375
  "equals",
6376
+ "not_equals",
4802
6377
  "contains",
6378
+ "not_contains",
4803
6379
  "starts_with",
6380
+ "not_starts_with",
4804
6381
  "ends_with",
4805
- "regex"
6382
+ "not_ends_with",
6383
+ "regex",
6384
+ "not_regex",
6385
+ "blank",
6386
+ "not_blank"
4806
6387
  ]
4807
6388
  },
4808
6389
  "number_condition_type": {
@@ -4996,7 +6577,8 @@ exports.requestSchemas = {
4996
6577
  },
4997
6578
  "id": {
4998
6579
  "type": "string",
4999
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

   ]",
6580
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
6581
+ "x-pattern-message": "can't be blank"
5000
6582
  }
5001
6583
  },
5002
6584
  "additionalProperties": false,
@@ -5019,11 +6601,12 @@ exports.requestSchemas = {
5019
6601
  },
5020
6602
  "id": {
5021
6603
  "type": "string",
5022
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

   ]",
6604
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
6605
+ "x-pattern-message": "can't be blank"
5023
6606
  },
5024
6607
  "template_version": {
5025
6608
  "type": "string",
5026
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
6609
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
5027
6610
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
5028
6611
  },
5029
6612
  "processed": {