docspring-ts 4.3.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 (154) hide show
  1. package/README.md +20 -1
  2. package/dist/RequestSchemas.js +1691 -145
  3. package/dist/RequestSchemas.js.map +1 -1
  4. package/dist/RequestValidator.js +3 -0
  5. package/dist/RequestValidator.js.map +1 -1
  6. package/dist/apis/Client.d.ts +82 -32
  7. package/dist/apis/Client.js +3658 -1666
  8. package/dist/apis/Client.js.map +1 -1
  9. package/dist/http/isomorphic-fetch.js +1 -1
  10. package/dist/models/CreateAccountEmailActionRequest.d.ts +42 -0
  11. package/dist/models/CreateAccountEmailActionRequest.js +131 -0
  12. package/dist/models/CreateAccountEmailActionRequest.js.map +1 -0
  13. package/dist/models/CreateEmailActionRequest.d.ts +40 -0
  14. package/dist/models/CreateEmailActionRequest.js +119 -0
  15. package/dist/models/CreateEmailActionRequest.js.map +1 -0
  16. package/dist/models/CreateEmailDomainRequest.d.ts +20 -0
  17. package/dist/models/CreateEmailDomainRequest.js +23 -0
  18. package/dist/models/CreateEmailDomainRequest.js.map +1 -0
  19. package/dist/models/CreateSubmissionRequest.d.ts +11 -0
  20. package/dist/models/CreateSubmissionRequest.js +54 -0
  21. package/dist/models/CreateSubmissionRequest.js.map +1 -1
  22. package/dist/models/CreateTemplateRequest.d.ts +11 -0
  23. package/dist/models/CreateTemplateRequest.js +48 -0
  24. package/dist/models/CreateTemplateRequest.js.map +1 -1
  25. package/dist/models/DnsRecordType.d.ts +6 -0
  26. package/dist/models/DnsRecordType.js +9 -0
  27. package/dist/models/DnsRecordType.js.map +1 -0
  28. package/dist/models/EmailAction.d.ts +54 -0
  29. package/dist/models/EmailAction.js +197 -0
  30. package/dist/models/EmailAction.js.map +1 -0
  31. package/dist/models/EmailActionConditions.d.ts +23 -0
  32. package/dist/models/EmailActionConditions.js +29 -0
  33. package/dist/models/EmailActionConditions.js.map +1 -0
  34. package/dist/models/EmailActionConditionsInput.d.ts +23 -0
  35. package/dist/models/EmailActionConditionsInput.js +29 -0
  36. package/dist/models/EmailActionConditionsInput.js.map +1 -0
  37. package/dist/models/EmailActionCustomization.d.ts +30 -0
  38. package/dist/models/EmailActionCustomization.js +77 -0
  39. package/dist/models/EmailActionCustomization.js.map +1 -0
  40. package/dist/models/EmailActionDelivery.d.ts +5 -0
  41. package/dist/models/EmailActionDelivery.js +8 -0
  42. package/dist/models/EmailActionDelivery.js.map +1 -0
  43. package/dist/models/EmailActionFileFormats.d.ts +7 -0
  44. package/dist/models/EmailActionFileFormats.js +10 -0
  45. package/dist/models/EmailActionFileFormats.js.map +1 -0
  46. package/dist/models/EmailActionList.d.ts +22 -0
  47. package/dist/models/EmailActionList.js +29 -0
  48. package/dist/models/EmailActionList.js.map +1 -0
  49. package/dist/models/EmailActionSetting.d.ts +17 -0
  50. package/dist/models/EmailActionSetting.js +20 -0
  51. package/dist/models/EmailActionSetting.js.map +1 -0
  52. package/dist/models/EmailActionSubmissionType.d.ts +6 -0
  53. package/dist/models/EmailActionSubmissionType.js +9 -0
  54. package/dist/models/EmailActionSubmissionType.js.map +1 -0
  55. package/dist/models/EmailActionTestEmail.d.ts +20 -0
  56. package/dist/models/EmailActionTestEmail.js +23 -0
  57. package/dist/models/EmailActionTestEmail.js.map +1 -0
  58. package/dist/models/EmailDomain.d.ts +33 -0
  59. package/dist/models/EmailDomain.js +83 -0
  60. package/dist/models/EmailDomain.js.map +1 -0
  61. package/dist/models/EmailDomainDnsRecord.d.ts +25 -0
  62. package/dist/models/EmailDomainDnsRecord.js +41 -0
  63. package/dist/models/EmailDomainDnsRecord.js.map +1 -0
  64. package/dist/models/EmailDomainDnsRecordPurpose.d.ts +6 -0
  65. package/dist/models/EmailDomainDnsRecordPurpose.js +9 -0
  66. package/dist/models/EmailDomainDnsRecordPurpose.js.map +1 -0
  67. package/dist/models/EmailDomainList.d.ts +22 -0
  68. package/dist/models/EmailDomainList.js +29 -0
  69. package/dist/models/EmailDomainList.js.map +1 -0
  70. package/dist/models/EmailDomainRecordState.d.ts +6 -0
  71. package/dist/models/EmailDomainRecordState.js +9 -0
  72. package/dist/models/EmailDomainRecordState.js.map +1 -0
  73. package/dist/models/EmailDomainState.d.ts +6 -0
  74. package/dist/models/EmailDomainState.js +9 -0
  75. package/dist/models/EmailDomainState.js.map +1 -0
  76. package/dist/models/ErrorCode.d.ts +2 -0
  77. package/dist/models/ErrorCode.js +2 -0
  78. package/dist/models/ErrorCode.js.map +1 -1
  79. package/dist/models/ErrorInfo.d.ts +3 -0
  80. package/dist/models/ErrorInfo.js +18 -0
  81. package/dist/models/ErrorInfo.js.map +1 -1
  82. package/dist/models/ObjectSerializer.d.ts +28 -0
  83. package/dist/models/ObjectSerializer.js +73 -0
  84. package/dist/models/ObjectSerializer.js.map +1 -1
  85. package/dist/models/SendAccountEmailActionTestEmailRequest.d.ts +20 -0
  86. package/dist/models/SendAccountEmailActionTestEmailRequest.js +23 -0
  87. package/dist/models/SendAccountEmailActionTestEmailRequest.js.map +1 -0
  88. package/dist/models/SignatureRequest.d.ts +5 -0
  89. package/dist/models/SignatureRequest.js +24 -0
  90. package/dist/models/SignatureRequest.js.map +1 -1
  91. package/dist/models/SignatureRequestEmailAttachments.d.ts +5 -0
  92. package/dist/models/SignatureRequestEmailAttachments.js +8 -0
  93. package/dist/models/SignatureRequestEmailAttachments.js.map +1 -0
  94. package/dist/models/SignatureRequestEmailStatus.d.ts +11 -0
  95. package/dist/models/SignatureRequestEmailStatus.js +14 -0
  96. package/dist/models/SignatureRequestEmailStatus.js.map +1 -0
  97. package/dist/models/SignatureRequestEventType.d.ts +2 -0
  98. package/dist/models/SignatureRequestEventType.js +3 -1
  99. package/dist/models/SignatureRequestEventType.js.map +1 -1
  100. package/dist/models/SignatureRequestInput.d.ts +3 -1
  101. package/dist/models/SignatureRequestInput.js +12 -0
  102. package/dist/models/SignatureRequestInput.js.map +1 -1
  103. package/dist/models/SignatureRequestReminders.d.ts +21 -0
  104. package/dist/models/SignatureRequestReminders.js +29 -0
  105. package/dist/models/SignatureRequestReminders.js.map +1 -0
  106. package/dist/models/SigningOrder.d.ts +5 -0
  107. package/dist/models/SigningOrder.js +8 -0
  108. package/dist/models/SigningOrder.js.map +1 -0
  109. package/dist/models/StringConditionType.d.ts +7 -0
  110. package/dist/models/StringConditionType.js +8 -1
  111. package/dist/models/StringConditionType.js.map +1 -1
  112. package/dist/models/Submission.d.ts +2 -0
  113. package/dist/models/Submission.js +6 -0
  114. package/dist/models/Submission.js.map +1 -1
  115. package/dist/models/SubmissionAction.d.ts +1 -0
  116. package/dist/models/SubmissionAction.js +6 -0
  117. package/dist/models/SubmissionAction.js.map +1 -1
  118. package/dist/models/Template.d.ts +11 -0
  119. package/dist/models/Template.js +48 -0
  120. package/dist/models/Template.js.map +1 -1
  121. package/dist/models/TemplateType.d.ts +1 -0
  122. package/dist/models/TemplateType.js +2 -1
  123. package/dist/models/TemplateType.js.map +1 -1
  124. package/dist/models/UpdateAccountEmailActionRequest.d.ts +42 -0
  125. package/dist/models/UpdateAccountEmailActionRequest.js +131 -0
  126. package/dist/models/UpdateAccountEmailActionRequest.js.map +1 -0
  127. package/dist/models/UpdateEmailActionCustomizationRequest.d.ts +38 -0
  128. package/dist/models/UpdateEmailActionCustomizationRequest.js +107 -0
  129. package/dist/models/UpdateEmailActionCustomizationRequest.js.map +1 -0
  130. package/dist/models/UpdateEmailActionRequest.d.ts +40 -0
  131. package/dist/models/UpdateEmailActionRequest.js +119 -0
  132. package/dist/models/UpdateEmailActionRequest.js.map +1 -0
  133. package/dist/models/UpdateTemplateRequest.d.ts +11 -0
  134. package/dist/models/UpdateTemplateRequest.js +48 -0
  135. package/dist/models/UpdateTemplateRequest.js.map +1 -1
  136. package/dist/models/ValidateSubmissionRequest.d.ts +11 -0
  137. package/dist/models/ValidateSubmissionRequest.js +54 -0
  138. package/dist/models/ValidateSubmissionRequest.js.map +1 -1
  139. package/dist/models/WebhookEventType.d.ts +2 -0
  140. package/dist/models/WebhookEventType.js +2 -0
  141. package/dist/models/WebhookEventType.js.map +1 -1
  142. package/dist/models/all.d.ts +28 -0
  143. package/dist/models/all.js +28 -0
  144. package/dist/models/all.js.map +1 -1
  145. package/dist/types/ObjectParamAPI.d.ts +167 -0
  146. package/dist/types/ObjectParamAPI.js +182 -64
  147. package/dist/types/ObjectParamAPI.js.map +1 -1
  148. package/dist/types/ObservableAPI.d.ts +114 -64
  149. package/dist/types/ObservableAPI.js +819 -287
  150. package/dist/types/ObservableAPI.js.map +1 -1
  151. package/dist/types/PromiseAPI.d.ts +114 -64
  152. package/dist/types/PromiseAPI.js +318 -128
  153. package/dist/types/PromiseAPI.js.map +1 -1
  154. package/package.json +1 -1
@@ -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"
998
+ }
999
+ },
1000
+ "additionalProperties": false
1001
+ }
1002
+ }
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"
760
1206
  }
761
1207
  },
762
1208
  "additionalProperties": false
763
1209
  }
764
1210
  }
765
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
  },
@@ -949,7 +1415,9 @@ exports.requestSchemas = {
949
1415
  "string",
950
1416
  "null"
951
1417
  ],
952
- "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"
953
1421
  },
954
1422
  "fields": {
955
1423
  "type": "array",
@@ -1032,14 +1500,83 @@ exports.requestSchemas = {
1032
1500
  },
1033
1501
  "prefilled_values_editable": {
1034
1502
  "type": "boolean"
1503
+ },
1504
+ "send_email": {
1505
+ "type": "boolean"
1506
+ },
1507
+ "signing_step": {
1508
+ "type": "integer",
1509
+ "minimum": 1,
1510
+ "maximum": 100
1035
1511
  }
1036
1512
  },
1037
1513
  "required": [
1038
- "fields",
1039
- "auth_type"
1514
+ "fields"
1040
1515
  ],
1041
1516
  "additionalProperties": false
1042
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
+ }
1043
1580
  }
1044
1581
  },
1045
1582
  "additionalProperties": false
@@ -1065,11 +1602,13 @@ exports.requestSchemas = {
1065
1602
  "type": "object"
1066
1603
  },
1067
1604
  "template_id": {
1068
- "type": "string"
1605
+ "type": "string",
1606
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
1607
+ "x-pattern-message": "can't be blank"
1069
1608
  },
1070
1609
  "template_version": {
1071
1610
  "type": "string",
1072
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
1611
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
1073
1612
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
1074
1613
  },
1075
1614
  "test": {
@@ -1144,11 +1683,13 @@ exports.requestSchemas = {
1144
1683
  "type": "string"
1145
1684
  },
1146
1685
  "template_id": {
1147
- "type": "string"
1686
+ "type": "string",
1687
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
1688
+ "x-pattern-message": "can't be blank"
1148
1689
  },
1149
1690
  "template_version": {
1150
1691
  "type": "string",
1151
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
1692
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
1152
1693
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
1153
1694
  }
1154
1695
  },
@@ -1180,8 +1721,9 @@ exports.requestSchemas = {
1180
1721
  "properties": {
1181
1722
  "name": {
1182
1723
  "type": "string",
1183
- "minLength": 1,
1184
- "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"
1185
1727
  },
1186
1728
  "description": {
1187
1729
  "type": [
@@ -1194,7 +1736,8 @@ exports.requestSchemas = {
1194
1736
  "enum": [
1195
1737
  "pdf",
1196
1738
  "html",
1197
- "docx"
1739
+ "docx",
1740
+ "page_designer"
1198
1741
  ]
1199
1742
  },
1200
1743
  "output_format": {
@@ -1210,7 +1753,8 @@ exports.requestSchemas = {
1210
1753
  "string",
1211
1754
  "null"
1212
1755
  ],
1213
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

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

   ]",
1757
+ "x-pattern-message": "can't be blank"
1214
1758
  },
1215
1759
  "locked": {
1216
1760
  "type": "boolean"
@@ -1305,6 +1849,54 @@ exports.requestSchemas = {
1305
1849
  ],
1306
1850
  "format": "uri"
1307
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
+ },
1308
1900
  "slack_webhook_url": {
1309
1901
  "type": [
1310
1902
  "string",
@@ -1706,7 +2298,8 @@ exports.requestSchemas = {
1706
2298
  },
1707
2299
  "scale": {
1708
2300
  "type": "number",
1709
- "exclusiveMinimum": 0
2301
+ "minimum": 0.1,
2302
+ "maximum": 2
1710
2303
  },
1711
2304
  "landscape": {
1712
2305
  "type": "boolean"
@@ -1732,10 +2325,17 @@ exports.requestSchemas = {
1732
2325
  "html_escape_data": {
1733
2326
  "type": "boolean"
1734
2327
  },
2328
+ "layout": {
2329
+ "type": [
2330
+ "object",
2331
+ "null"
2332
+ ]
2333
+ },
1735
2334
  "cache_id": {
1736
2335
  "type": "string",
1737
- "minLength": 1,
1738
- "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"
1739
2339
  },
1740
2340
  "document_url": {
1741
2341
  "type": "string",
@@ -1751,7 +2351,9 @@ exports.requestSchemas = {
1751
2351
  "filename": {
1752
2352
  "type": "string",
1753
2353
  "minLength": 1,
1754
- "maxLength": 255
2354
+ "maxLength": 255,
2355
+ "pattern": "^[^/\\\\]*$",
2356
+ "x-pattern-message": "can't contain a slash (/ or \\)"
1755
2357
  },
1756
2358
  "detect_fields": {
1757
2359
  "type": "boolean"
@@ -1792,7 +2394,7 @@ exports.requestSchemas = {
1792
2394
  "required": false,
1793
2395
  "schema": {
1794
2396
  "type": "string",
1795
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
2397
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
1796
2398
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
1797
2399
  }
1798
2400
  }
@@ -1845,9 +2447,11 @@ exports.requestSchemas = {
1845
2447
  "submission.processed",
1846
2448
  "submission.failed",
1847
2449
  "submission.declined",
2450
+ "signature_request.sent",
1848
2451
  "signature_request.viewed",
1849
2452
  "signature_request.completed",
1850
2453
  "signature_request.declined",
2454
+ "signature_request.email_bounced",
1851
2455
  "combined_pdf.processed",
1852
2456
  "combined_pdf.failed",
1853
2457
  "submission_batch.processed",
@@ -1885,21 +2489,27 @@ exports.requestSchemas = {
1885
2489
  "type": "array",
1886
2490
  "uniqueItems": true,
1887
2491
  "items": {
1888
- "type": "string"
2492
+ "type": "string",
2493
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2494
+ "x-pattern-message": "can't be blank"
1889
2495
  }
1890
2496
  },
1891
2497
  "template_ids": {
1892
2498
  "type": "array",
1893
2499
  "uniqueItems": true,
1894
2500
  "items": {
1895
- "type": "string"
2501
+ "type": "string",
2502
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2503
+ "x-pattern-message": "can't be blank"
1896
2504
  }
1897
2505
  },
1898
2506
  "folder_ids": {
1899
2507
  "type": "array",
1900
2508
  "uniqueItems": true,
1901
2509
  "items": {
1902
- "type": "string"
2510
+ "type": "string",
2511
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2512
+ "x-pattern-message": "can't be blank"
1903
2513
  }
1904
2514
  },
1905
2515
  "include_submission_data": {
@@ -1926,7 +2536,11 @@ exports.requestSchemas = {
1926
2536
  }
1927
2537
  }
1928
2538
  },
2539
+ "deleteAccountEmailAction": {},
1929
2540
  "deleteCustomFile": {},
2541
+ "deleteEmailAction": {},
2542
+ "deleteEmailActionCustomization": {},
2543
+ "deleteEmailDomain": {},
1930
2544
  "deleteFolder": {},
1931
2545
  "deleteTemplate": {
1932
2546
  "query": {
@@ -1934,7 +2548,7 @@ exports.requestSchemas = {
1934
2548
  "required": false,
1935
2549
  "schema": {
1936
2550
  "type": "string",
1937
- "pattern": "^(\\d+\\.\\d+\\.\\d+|draft)$",
2551
+ "pattern": "^((0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)|draft)$",
1938
2552
  "x-pattern-message": "must be a full version like 1.2.3, or draft"
1939
2553
  }
1940
2554
  }
@@ -1981,8 +2595,11 @@ exports.requestSchemas = {
1981
2595
  }
1982
2596
  },
1983
2597
  "generateSubmissionPreview": {},
2598
+ "getAccountEmailAction": {},
1984
2599
  "getCombinedPdf": {},
1985
2600
  "getCustomFile": {},
2601
+ "getEmailAction": {},
2602
+ "getEmailDomain": {},
1986
2603
  "getFolder": {},
1987
2604
  "getPresignUrl": {},
1988
2605
  "getSignatureRequest": {},
@@ -2003,7 +2620,7 @@ exports.requestSchemas = {
2003
2620
  "required": false,
2004
2621
  "schema": {
2005
2622
  "type": "string",
2006
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
2623
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
2007
2624
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
2008
2625
  }
2009
2626
  }
@@ -2015,7 +2632,7 @@ exports.requestSchemas = {
2015
2632
  "required": false,
2016
2633
  "schema": {
2017
2634
  "type": "string",
2018
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
2635
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
2019
2636
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
2020
2637
  }
2021
2638
  }
@@ -2027,7 +2644,7 @@ exports.requestSchemas = {
2027
2644
  "required": false,
2028
2645
  "schema": {
2029
2646
  "type": "string",
2030
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
2647
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
2031
2648
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
2032
2649
  }
2033
2650
  },
@@ -2063,7 +2680,7 @@ exports.requestSchemas = {
2063
2680
  "required": false,
2064
2681
  "schema": {
2065
2682
  "type": "string",
2066
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
2683
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
2067
2684
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
2068
2685
  }
2069
2686
  }
@@ -2076,13 +2693,33 @@ exports.requestSchemas = {
2076
2693
  "required": false,
2077
2694
  "schema": {
2078
2695
  "type": "string",
2079
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
2696
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
2080
2697
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
2081
2698
  }
2082
2699
  }
2083
2700
  }
2084
2701
  },
2085
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
+ },
2086
2723
  "listCombinedPdfs": {
2087
2724
  "query": {
2088
2725
  "limit": {
@@ -2096,7 +2733,9 @@ exports.requestSchemas = {
2096
2733
  "cursor": {
2097
2734
  "required": false,
2098
2735
  "schema": {
2099
- "type": "string"
2736
+ "type": "string",
2737
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2738
+ "x-pattern-message": "can't be blank"
2100
2739
  }
2101
2740
  }
2102
2741
  }
@@ -2114,7 +2753,49 @@ exports.requestSchemas = {
2114
2753
  "cursor": {
2115
2754
  "required": false,
2116
2755
  "schema": {
2117
- "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"
2118
2799
  }
2119
2800
  }
2120
2801
  }
@@ -2124,7 +2805,9 @@ exports.requestSchemas = {
2124
2805
  "parent_folder_id": {
2125
2806
  "required": false,
2126
2807
  "schema": {
2127
- "type": "string"
2808
+ "type": "string",
2809
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2810
+ "x-pattern-message": "can't be blank"
2128
2811
  }
2129
2812
  },
2130
2813
  "limit": {
@@ -2138,7 +2821,9 @@ exports.requestSchemas = {
2138
2821
  "cursor": {
2139
2822
  "required": false,
2140
2823
  "schema": {
2141
- "type": "string"
2824
+ "type": "string",
2825
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2826
+ "x-pattern-message": "can't be blank"
2142
2827
  }
2143
2828
  }
2144
2829
  }
@@ -2148,7 +2833,9 @@ exports.requestSchemas = {
2148
2833
  "template_id": {
2149
2834
  "required": false,
2150
2835
  "schema": {
2151
- "type": "string"
2836
+ "type": "string",
2837
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2838
+ "x-pattern-message": "can't be blank"
2152
2839
  }
2153
2840
  },
2154
2841
  "test": {
@@ -2188,7 +2875,9 @@ exports.requestSchemas = {
2188
2875
  "cursor": {
2189
2876
  "required": false,
2190
2877
  "schema": {
2191
- "type": "string"
2878
+ "type": "string",
2879
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2880
+ "x-pattern-message": "can't be blank"
2192
2881
  }
2193
2882
  },
2194
2883
  "state": {
@@ -2226,7 +2915,7 @@ exports.requestSchemas = {
2226
2915
  "required": false,
2227
2916
  "schema": {
2228
2917
  "type": "string",
2229
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
2918
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
2230
2919
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
2231
2920
  }
2232
2921
  }
@@ -2271,7 +2960,9 @@ exports.requestSchemas = {
2271
2960
  "cursor": {
2272
2961
  "required": false,
2273
2962
  "schema": {
2274
- "type": "string"
2963
+ "type": "string",
2964
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2965
+ "x-pattern-message": "can't be blank"
2275
2966
  }
2276
2967
  },
2277
2968
  "state": {
@@ -2308,13 +2999,17 @@ exports.requestSchemas = {
2308
2999
  "query": {
2309
3000
  "required": false,
2310
3001
  "schema": {
2311
- "type": "string"
3002
+ "type": "string",
3003
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3004
+ "x-pattern-message": "can't be blank"
2312
3005
  }
2313
3006
  },
2314
3007
  "parent_folder_id": {
2315
3008
  "required": false,
2316
3009
  "schema": {
2317
- "type": "string"
3010
+ "type": "string",
3011
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3012
+ "x-pattern-message": "can't be blank"
2318
3013
  }
2319
3014
  },
2320
3015
  "limit": {
@@ -2328,7 +3023,9 @@ exports.requestSchemas = {
2328
3023
  "cursor": {
2329
3024
  "required": false,
2330
3025
  "schema": {
2331
- "type": "string"
3026
+ "type": "string",
3027
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3028
+ "x-pattern-message": "can't be blank"
2332
3029
  }
2333
3030
  }
2334
3031
  }
@@ -2343,9 +3040,11 @@ exports.requestSchemas = {
2343
3040
  "submission.processed",
2344
3041
  "submission.failed",
2345
3042
  "submission.declined",
3043
+ "signature_request.sent",
2346
3044
  "signature_request.viewed",
2347
3045
  "signature_request.completed",
2348
3046
  "signature_request.declined",
3047
+ "signature_request.email_bounced",
2349
3048
  "combined_pdf.processed",
2350
3049
  "combined_pdf.failed",
2351
3050
  "submission_batch.processed",
@@ -2381,19 +3080,25 @@ exports.requestSchemas = {
2381
3080
  "template_id": {
2382
3081
  "required": false,
2383
3082
  "schema": {
2384
- "type": "string"
3083
+ "type": "string",
3084
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3085
+ "x-pattern-message": "can't be blank"
2385
3086
  }
2386
3087
  },
2387
3088
  "folder_id": {
2388
3089
  "required": false,
2389
3090
  "schema": {
2390
- "type": "string"
3091
+ "type": "string",
3092
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3093
+ "x-pattern-message": "can't be blank"
2391
3094
  }
2392
3095
  },
2393
3096
  "api_token_id": {
2394
3097
  "required": false,
2395
3098
  "schema": {
2396
- "type": "string"
3099
+ "type": "string",
3100
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3101
+ "x-pattern-message": "can't be blank"
2397
3102
  }
2398
3103
  },
2399
3104
  "limit": {
@@ -2407,7 +3112,9 @@ exports.requestSchemas = {
2407
3112
  "cursor": {
2408
3113
  "required": false,
2409
3114
  "schema": {
2410
- "type": "string"
3115
+ "type": "string",
3116
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3117
+ "x-pattern-message": "can't be blank"
2411
3118
  }
2412
3119
  }
2413
3120
  }
@@ -2424,7 +3131,8 @@ exports.requestSchemas = {
2424
3131
  "string",
2425
3132
  "null"
2426
3133
  ],
2427
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

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

   ]",
3135
+ "x-pattern-message": "can't be blank"
2428
3136
  }
2429
3137
  },
2430
3138
  "required": [
@@ -2449,7 +3157,8 @@ exports.requestSchemas = {
2449
3157
  "string",
2450
3158
  "null"
2451
3159
  ],
2452
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

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

   ]",
3161
+ "x-pattern-message": "can't be blank"
2453
3162
  }
2454
3163
  },
2455
3164
  "additionalProperties": false
@@ -2483,94 +3192,749 @@ exports.requestSchemas = {
2483
3192
  }
2484
3193
  }
2485
3194
  },
2486
- "removeTemplateFields": {
3195
+ "removeTemplateFields": {
3196
+ "body": {
3197
+ "mediaType": "application/json",
3198
+ "required": true,
3199
+ "schema": {
3200
+ "type": "object",
3201
+ "required": [
3202
+ "field_ids"
3203
+ ],
3204
+ "properties": {
3205
+ "field_ids": {
3206
+ "type": "array",
3207
+ "minItems": 1,
3208
+ "maxItems": 1000,
3209
+ "items": {
3210
+ "type": "integer"
3211
+ }
3212
+ }
3213
+ },
3214
+ "additionalProperties": false
3215
+ }
3216
+ }
3217
+ },
3218
+ "renameFolder": {
3219
+ "body": {
3220
+ "mediaType": "application/json",
3221
+ "required": true,
3222
+ "schema": {
3223
+ "type": "object",
3224
+ "properties": {
3225
+ "name": {
3226
+ "type": "string",
3227
+ "minLength": 1,
3228
+ "maxLength": 255,
3229
+ "pattern": "^[^/]*$",
3230
+ "x-pattern-message": "can't contain a slash (/)"
3231
+ }
3232
+ },
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,
3736
+ "additionalProperties": false
3737
+ }
3738
+ }
3739
+ },
3740
+ "updateEmailActionCustomization": {
2487
3741
  "body": {
2488
3742
  "mediaType": "application/json",
2489
3743
  "required": true,
2490
3744
  "schema": {
2491
3745
  "type": "object",
2492
- "required": [
2493
- "field_ids"
2494
- ],
2495
3746
  "properties": {
2496
- "field_ids": {
3747
+ "enabled": {
3748
+ "type": "boolean"
3749
+ },
3750
+ "to": {
2497
3751
  "type": "array",
2498
- "minItems": 1,
2499
- "maxItems": 1000,
3752
+ "maxItems": 10,
2500
3753
  "items": {
2501
- "type": "integer"
3754
+ "type": "string",
3755
+ "maxLength": 512
2502
3756
  }
2503
- }
2504
- },
2505
- "additionalProperties": false
2506
- }
2507
- }
2508
- },
2509
- "renameFolder": {
2510
- "body": {
2511
- "mediaType": "application/json",
2512
- "required": true,
2513
- "schema": {
2514
- "type": "object",
2515
- "properties": {
2516
- "name": {
2517
- "type": "string",
2518
- "minLength": 1,
2519
- "maxLength": 255,
2520
- "pattern": "^[^/]*$",
2521
- "x-pattern-message": "can't contain a slash (/)"
2522
- }
2523
- },
2524
- "required": [
2525
- "name"
2526
- ],
2527
- "additionalProperties": false
2528
- }
2529
- }
2530
- },
2531
- "reorderTemplateFields": {
2532
- "body": {
2533
- "mediaType": "application/json",
2534
- "required": true,
2535
- "schema": {
2536
- "type": "object",
2537
- "required": [
2538
- "field_ids"
2539
- ],
2540
- "properties": {
2541
- "field_ids": {
3757
+ },
3758
+ "cc": {
2542
3759
  "type": "array",
2543
- "minItems": 1,
3760
+ "maxItems": 10,
2544
3761
  "items": {
2545
- "type": "integer"
3762
+ "type": "string",
3763
+ "maxLength": 512
2546
3764
  }
2547
- }
2548
- },
2549
- "additionalProperties": false
2550
- }
2551
- }
2552
- },
2553
- "restoreTemplateVersion": {
2554
- "body": {
2555
- "mediaType": "application/json",
2556
- "required": true,
2557
- "schema": {
2558
- "type": "object",
2559
- "required": [
2560
- "version"
2561
- ],
2562
- "properties": {
2563
- "version": {
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": {
2564
3817
  "type": "string",
2565
- "pattern": "^\\d+(\\.\\d+(\\.\\d+)?)?$",
2566
- "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
2567
3932
  }
2568
3933
  },
2569
3934
  "additionalProperties": false
2570
3935
  }
2571
3936
  }
2572
3937
  },
2573
- "testAuthentication": {},
2574
3938
  "updateSignatureRequest": {
2575
3939
  "body": {
2576
3940
  "mediaType": "application/json",
@@ -2642,6 +4006,7 @@ exports.requestSchemas = {
2642
4006
  ]
2643
4007
  }
2644
4008
  },
4009
+ "minProperties": 1,
2645
4010
  "additionalProperties": false
2646
4011
  }
2647
4012
  }
@@ -2655,8 +4020,9 @@ exports.requestSchemas = {
2655
4020
  "properties": {
2656
4021
  "name": {
2657
4022
  "type": "string",
2658
- "minLength": 1,
2659
- "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"
2660
4026
  },
2661
4027
  "description": {
2662
4028
  "type": [
@@ -2677,7 +4043,8 @@ exports.requestSchemas = {
2677
4043
  "string",
2678
4044
  "null"
2679
4045
  ],
2680
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

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

   ]",
4047
+ "x-pattern-message": "can't be blank"
2681
4048
  },
2682
4049
  "locked": {
2683
4050
  "type": "boolean"
@@ -2772,6 +4139,54 @@ exports.requestSchemas = {
2772
4139
  ],
2773
4140
  "format": "uri"
2774
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
+ },
2775
4190
  "slack_webhook_url": {
2776
4191
  "type": [
2777
4192
  "string",
@@ -3215,7 +4630,8 @@ exports.requestSchemas = {
3215
4630
  },
3216
4631
  "scale": {
3217
4632
  "type": "number",
3218
- "exclusiveMinimum": 0
4633
+ "minimum": 0.1,
4634
+ "maximum": 2
3219
4635
  },
3220
4636
  "landscape": {
3221
4637
  "type": "boolean"
@@ -3240,8 +4656,15 @@ exports.requestSchemas = {
3240
4656
  },
3241
4657
  "html_escape_data": {
3242
4658
  "type": "boolean"
4659
+ },
4660
+ "layout": {
4661
+ "type": [
4662
+ "object",
4663
+ "null"
4664
+ ]
3243
4665
  }
3244
4666
  },
4667
+ "minProperties": 1,
3245
4668
  "additionalProperties": false
3246
4669
  }
3247
4670
  }
@@ -3263,8 +4686,9 @@ exports.requestSchemas = {
3263
4686
  "properties": {
3264
4687
  "cache_id": {
3265
4688
  "type": "string",
3266
- "minLength": 1,
3267
- "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"
3268
4692
  },
3269
4693
  "document_url": {
3270
4694
  "type": "string",
@@ -3280,7 +4704,9 @@ exports.requestSchemas = {
3280
4704
  "filename": {
3281
4705
  "type": "string",
3282
4706
  "minLength": 1,
3283
- "maxLength": 255
4707
+ "maxLength": 255,
4708
+ "pattern": "^[^/\\\\]*$",
4709
+ "x-pattern-message": "can't contain a slash (/ or \\)"
3284
4710
  },
3285
4711
  "reimport_fields": {
3286
4712
  "type": "boolean"
@@ -3736,10 +5162,17 @@ exports.requestSchemas = {
3736
5162
  "type": "string",
3737
5163
  "enum": [
3738
5164
  "equals",
5165
+ "not_equals",
3739
5166
  "contains",
5167
+ "not_contains",
3740
5168
  "starts_with",
5169
+ "not_starts_with",
3741
5170
  "ends_with",
3742
- "regex"
5171
+ "not_ends_with",
5172
+ "regex",
5173
+ "not_regex",
5174
+ "blank",
5175
+ "not_blank"
3743
5176
  ]
3744
5177
  },
3745
5178
  "number_condition_type": {
@@ -3946,9 +5379,11 @@ exports.requestSchemas = {
3946
5379
  "submission.processed",
3947
5380
  "submission.failed",
3948
5381
  "submission.declined",
5382
+ "signature_request.sent",
3949
5383
  "signature_request.viewed",
3950
5384
  "signature_request.completed",
3951
5385
  "signature_request.declined",
5386
+ "signature_request.email_bounced",
3952
5387
  "combined_pdf.processed",
3953
5388
  "combined_pdf.failed",
3954
5389
  "submission_batch.processed",
@@ -3986,21 +5421,27 @@ exports.requestSchemas = {
3986
5421
  "type": "array",
3987
5422
  "uniqueItems": true,
3988
5423
  "items": {
3989
- "type": "string"
5424
+ "type": "string",
5425
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
5426
+ "x-pattern-message": "can't be blank"
3990
5427
  }
3991
5428
  },
3992
5429
  "template_ids": {
3993
5430
  "type": "array",
3994
5431
  "uniqueItems": true,
3995
5432
  "items": {
3996
- "type": "string"
5433
+ "type": "string",
5434
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
5435
+ "x-pattern-message": "can't be blank"
3997
5436
  }
3998
5437
  },
3999
5438
  "folder_ids": {
4000
5439
  "type": "array",
4001
5440
  "uniqueItems": true,
4002
5441
  "items": {
4003
- "type": "string"
5442
+ "type": "string",
5443
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
5444
+ "x-pattern-message": "can't be blank"
4004
5445
  }
4005
5446
  },
4006
5447
  "include_submission_data": {
@@ -4019,6 +5460,7 @@ exports.requestSchemas = {
4019
5460
  }
4020
5461
  }
4021
5462
  },
5463
+ "minProperties": 1,
4022
5464
  "additionalProperties": false
4023
5465
  }
4024
5466
  }
@@ -4047,15 +5489,17 @@ exports.requestSchemas = {
4047
5489
  },
4048
5490
  "name": {
4049
5491
  "type": "string",
4050
- "minLength": 1,
4051
- "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"
4052
5495
  },
4053
5496
  "description": {
4054
5497
  "type": "string"
4055
5498
  },
4056
5499
  "parent_folder_id": {
4057
5500
  "type": "string",
4058
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

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

   ]",
5502
+ "x-pattern-message": "can't be blank"
4059
5503
  },
4060
5504
  "ai_field_naming_language": {
4061
5505
  "type": "string",
@@ -4139,7 +5583,7 @@ exports.requestSchemas = {
4139
5583
  "required": false,
4140
5584
  "schema": {
4141
5585
  "type": "string",
4142
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
5586
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
4143
5587
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
4144
5588
  }
4145
5589
  }
@@ -4215,7 +5659,9 @@ exports.requestSchemas = {
4215
5659
  "string",
4216
5660
  "null"
4217
5661
  ],
4218
- "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"
4219
5665
  },
4220
5666
  "fields": {
4221
5667
  "type": "array",
@@ -4298,33 +5744,111 @@ exports.requestSchemas = {
4298
5744
  },
4299
5745
  "prefilled_values_editable": {
4300
5746
  "type": "boolean"
5747
+ },
5748
+ "send_email": {
5749
+ "type": "boolean"
5750
+ },
5751
+ "signing_step": {
5752
+ "type": "integer",
5753
+ "minimum": 1,
5754
+ "maximum": 100
4301
5755
  }
4302
5756
  },
4303
5757
  "required": [
4304
- "fields",
4305
- "auth_type"
5758
+ "fields"
4306
5759
  ],
4307
5760
  "additionalProperties": false
4308
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
+ }
4309
5824
  }
4310
5825
  },
4311
5826
  "additionalProperties": false
4312
5827
  }
4313
5828
  }
4314
- }
5829
+ },
5830
+ "verifyEmailDomain": {}
4315
5831
  },
4316
5832
  "routes": {
4317
5833
  "DELETE /combined_pdfs/{combined_pdf_id}": "expireCombinedPdf",
4318
5834
  "DELETE /custom_files/{custom_file_id}": "deleteCustomFile",
5835
+ "DELETE /email_actions/{email_action_id}": "deleteAccountEmailAction",
5836
+ "DELETE /email_domains/{email_domain_id}": "deleteEmailDomain",
4319
5837
  "DELETE /folders/{folder_id}": "deleteFolder",
4320
5838
  "DELETE /submissions/{submission_id}": "expireSubmission",
4321
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",
4322
5842
  "DELETE /webhooks/{webhook_id}": "deleteWebhook",
4323
5843
  "GET /authentication": "testAuthentication",
4324
5844
  "GET /combined_pdfs": "listCombinedPdfs",
4325
5845
  "GET /combined_pdfs/{combined_pdf_id}": "getCombinedPdf",
4326
5846
  "GET /custom_files": "listCustomFiles",
4327
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",
4328
5852
  "GET /folders": "listFolders",
4329
5853
  "GET /folders/{folder_id}": "getFolder",
4330
5854
  "GET /signature_requests/{signature_request_id}": "getSignatureRequest",
@@ -4334,6 +5858,8 @@ exports.requestSchemas = {
4334
5858
  "GET /templates": "listTemplates",
4335
5859
  "GET /templates/{template_id}": "getTemplate",
4336
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",
4337
5863
  "GET /templates/{template_id}/fields": "listTemplateFields",
4338
5864
  "GET /templates/{template_id}/model_code": "getTemplateModelCode",
4339
5865
  "GET /templates/{template_id}/page_images": "getTemplatePageImages",
@@ -4345,6 +5871,10 @@ exports.requestSchemas = {
4345
5871
  "GET /webhooks/{webhook_id}": "getWebhook",
4346
5872
  "POST /combined_pdfs": "createCombinedPdf",
4347
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",
4348
5878
  "POST /folders": "createFolder",
4349
5879
  "POST /folders/{folder_id}/move": "moveFolder",
4350
5880
  "POST /folders/{folder_id}/rename": "renameFolder",
@@ -4356,6 +5886,8 @@ exports.requestSchemas = {
4356
5886
  "POST /templates": "createTemplate",
4357
5887
  "POST /templates/upload": "uploadTemplate",
4358
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",
4359
5891
  "POST /templates/{template_id}/fields": "addTemplateFields",
4360
5892
  "POST /templates/{template_id}/fields/remove": "removeTemplateFields",
4361
5893
  "POST /templates/{template_id}/fields/reorder": "reorderTemplateFields",
@@ -4366,10 +5898,13 @@ exports.requestSchemas = {
4366
5898
  "POST /templates/{template_id}/submissions": "createSubmission",
4367
5899
  "POST /templates/{template_id}/submissions/validate": "validateSubmission",
4368
5900
  "POST /webhooks": "createWebhook",
5901
+ "PUT /email_actions/{email_action_id}": "updateAccountEmailAction",
4369
5902
  "PUT /signature_requests/{signature_request_id}": "updateSignatureRequest",
4370
5903
  "PUT /templates/{template_id}": "updateTemplate",
4371
5904
  "PUT /templates/{template_id}/document": "updateTemplateDocument",
4372
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",
4373
5908
  "PUT /templates/{template_id}/fields": "updateTemplateFields",
4374
5909
  "PUT /webhooks/{webhook_id}": "updateWebhook"
4375
5910
  },
@@ -4388,7 +5923,8 @@ exports.requestSchemas = {
4388
5923
  },
4389
5924
  "id": {
4390
5925
  "type": "string",
4391
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

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

   ]",
5927
+ "x-pattern-message": "can't be blank"
4392
5928
  }
4393
5929
  },
4394
5930
  "additionalProperties": false,
@@ -4411,7 +5947,8 @@ exports.requestSchemas = {
4411
5947
  },
4412
5948
  "id": {
4413
5949
  "type": "string",
4414
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

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

   ]",
5951
+ "x-pattern-message": "can't be blank"
4415
5952
  }
4416
5953
  },
4417
5954
  "additionalProperties": false,
@@ -4836,10 +6373,17 @@ exports.requestSchemas = {
4836
6373
  "type": "string",
4837
6374
  "enum": [
4838
6375
  "equals",
6376
+ "not_equals",
4839
6377
  "contains",
6378
+ "not_contains",
4840
6379
  "starts_with",
6380
+ "not_starts_with",
4841
6381
  "ends_with",
4842
- "regex"
6382
+ "not_ends_with",
6383
+ "regex",
6384
+ "not_regex",
6385
+ "blank",
6386
+ "not_blank"
4843
6387
  ]
4844
6388
  },
4845
6389
  "number_condition_type": {
@@ -5033,7 +6577,8 @@ exports.requestSchemas = {
5033
6577
  },
5034
6578
  "id": {
5035
6579
  "type": "string",
5036
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

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

   ]",
6581
+ "x-pattern-message": "can't be blank"
5037
6582
  }
5038
6583
  },
5039
6584
  "additionalProperties": false,
@@ -5056,11 +6601,12 @@ exports.requestSchemas = {
5056
6601
  },
5057
6602
  "id": {
5058
6603
  "type": "string",
5059
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

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

   ]",
6605
+ "x-pattern-message": "can't be blank"
5060
6606
  },
5061
6607
  "template_version": {
5062
6608
  "type": "string",
5063
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
6609
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
5064
6610
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
5065
6611
  },
5066
6612
  "processed": {