docspring 4.3.0 → 4.5.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 (168) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release.yml +80 -0
  3. data/.openapi-generator/FILES +90 -0
  4. data/AGENTS.md +2 -0
  5. data/CHANGELOG.md +70 -0
  6. data/Gemfile.lock +10 -10
  7. data/LICENSE +1 -1
  8. data/README.md +23 -1
  9. data/docs/AddTemplateFieldsRequest.md +1 -1
  10. data/docs/Client.md +2313 -766
  11. data/docs/CombinedPdfSource.md +1 -1
  12. data/docs/CreateAccountEmailActionRequest.md +54 -0
  13. data/docs/CreateEmailActionRequest.md +50 -0
  14. data/docs/CreateEmailDomainRequest.md +18 -0
  15. data/docs/CreateSubmissionBatchRequest.md +2 -2
  16. data/docs/CreateSubmissionRequest.md +24 -6
  17. data/docs/CreateTemplateRequest.md +32 -8
  18. data/docs/DnsRecordType.md +15 -0
  19. data/docs/EmailAction.md +76 -0
  20. data/docs/EmailActionConditions.md +20 -0
  21. data/docs/EmailActionConditionsInput.md +20 -0
  22. data/docs/EmailActionCustomization.md +36 -0
  23. data/docs/EmailActionDelivery.md +15 -0
  24. data/docs/EmailActionFileFormats.md +15 -0
  25. data/docs/EmailActionList.md +20 -0
  26. data/docs/EmailActionSetting.md +15 -0
  27. data/docs/EmailActionSubmissionType.md +15 -0
  28. data/docs/EmailActionTestEmail.md +18 -0
  29. data/docs/EmailDomain.md +38 -0
  30. data/docs/EmailDomainDnsRecord.md +24 -0
  31. data/docs/EmailDomainDnsRecordPurpose.md +15 -0
  32. data/docs/EmailDomainList.md +20 -0
  33. data/docs/EmailDomainRecordState.md +15 -0
  34. data/docs/EmailDomainState.md +15 -0
  35. data/docs/ErrorInfo.md +16 -6
  36. data/docs/Field.md +1 -1
  37. data/docs/FieldInput.md +1 -1
  38. data/docs/HtmlEngineOptions.md +5 -5
  39. data/docs/HtmlEngineOptionsInput.md +5 -5
  40. data/docs/SendAccountEmailActionTestEmailRequest.md +18 -0
  41. data/docs/SignatureRequest.md +9 -1
  42. data/docs/SignatureRequestEmailAttachments.md +15 -0
  43. data/docs/SignatureRequestEmailStatus.md +15 -0
  44. data/docs/SignatureRequestInput.md +7 -3
  45. data/docs/SignatureRequestReminders.md +20 -0
  46. data/docs/SigningOrder.md +15 -0
  47. data/docs/Submission.md +4 -2
  48. data/docs/SubmissionAction.md +5 -3
  49. data/docs/SubmissionInput.md +4 -4
  50. data/docs/SubmissionSummary.md +1 -1
  51. data/docs/Template.md +32 -8
  52. data/docs/TemplateFormSection.md +24 -0
  53. data/docs/TemplateFormSectionInput.md +24 -0
  54. data/docs/TemplateSourcePdf.md +1 -1
  55. data/docs/TemplateSummary.md +4 -4
  56. data/docs/UpdateAccountEmailActionRequest.md +54 -0
  57. data/docs/UpdateEmailActionCustomizationRequest.md +46 -0
  58. data/docs/UpdateEmailActionRequest.md +50 -0
  59. data/docs/UpdateTemplateDocumentRequest.md +1 -1
  60. data/docs/UpdateTemplateRequest.md +30 -6
  61. data/docs/ValidateSubmissionRequest.md +24 -6
  62. data/lib/docspring/api/client.rb +1752 -314
  63. data/lib/docspring/api_client.rb +1 -1
  64. data/lib/docspring/models/add_template_fields_request.rb +1 -1
  65. data/lib/docspring/models/combined_pdf_source.rb +1 -1
  66. data/lib/docspring/models/create_account_email_action_request.rb +388 -0
  67. data/lib/docspring/models/create_email_action_request.rb +364 -0
  68. data/lib/docspring/models/create_email_domain_request.rb +185 -0
  69. data/lib/docspring/models/create_submission_batch_request.rb +2 -2
  70. data/lib/docspring/models/create_submission_request.rb +145 -9
  71. data/lib/docspring/models/create_template_request.rb +153 -11
  72. data/lib/docspring/models/dns_record_type.rb +42 -0
  73. data/lib/docspring/models/email_action.rb +790 -0
  74. data/lib/docspring/models/email_action_conditions.rb +219 -0
  75. data/lib/docspring/models/email_action_conditions_input.rb +219 -0
  76. data/lib/docspring/models/email_action_customization.rb +360 -0
  77. data/lib/docspring/models/email_action_delivery.rb +41 -0
  78. data/lib/docspring/models/email_action_file_formats.rb +43 -0
  79. data/lib/docspring/models/email_action_list.rb +200 -0
  80. data/lib/docspring/models/email_action_setting.rb +53 -0
  81. data/lib/docspring/models/email_action_submission_type.rb +42 -0
  82. data/lib/docspring/models/email_action_test_email.rb +185 -0
  83. data/lib/docspring/models/email_domain.rb +423 -0
  84. data/lib/docspring/models/email_domain_dns_record.rb +288 -0
  85. data/lib/docspring/models/email_domain_dns_record_purpose.rb +42 -0
  86. data/lib/docspring/models/email_domain_list.rb +200 -0
  87. data/lib/docspring/models/email_domain_record_state.rb +42 -0
  88. data/lib/docspring/models/email_domain_state.rb +42 -0
  89. data/lib/docspring/models/error_code.rb +3 -1
  90. data/lib/docspring/models/error_info.rb +59 -9
  91. data/lib/docspring/models/field.rb +1 -1
  92. data/lib/docspring/models/field_input.rb +1 -1
  93. data/lib/docspring/models/html_engine_options.rb +5 -5
  94. data/lib/docspring/models/html_engine_options_input.rb +5 -5
  95. data/lib/docspring/models/send_account_email_action_test_email_request.rb +168 -0
  96. data/lib/docspring/models/signature_request.rb +68 -2
  97. data/lib/docspring/models/signature_request_email_attachments.rb +41 -0
  98. data/lib/docspring/models/signature_request_email_status.rb +47 -0
  99. data/lib/docspring/models/signature_request_event_type.rb +3 -1
  100. data/lib/docspring/models/signature_request_input.rb +25 -22
  101. data/lib/docspring/models/signature_request_reminders.rb +212 -0
  102. data/lib/docspring/models/signing_order.rb +41 -0
  103. data/lib/docspring/models/string_condition_type.rb +8 -1
  104. data/lib/docspring/models/submission.rb +30 -3
  105. data/lib/docspring/models/submission_action.rb +18 -5
  106. data/lib/docspring/models/submission_input.rb +4 -4
  107. data/lib/docspring/models/submission_summary.rb +1 -1
  108. data/lib/docspring/models/template.rb +227 -9
  109. data/lib/docspring/models/template_form_section.rb +254 -0
  110. data/lib/docspring/models/template_form_section_input.rb +252 -0
  111. data/lib/docspring/models/template_source_pdf.rb +1 -1
  112. data/lib/docspring/models/template_summary.rb +4 -4
  113. data/lib/docspring/models/template_type.rb +2 -1
  114. data/lib/docspring/models/update_account_email_action_request.rb +388 -0
  115. data/lib/docspring/models/update_email_action_customization_request.rb +343 -0
  116. data/lib/docspring/models/update_email_action_request.rb +364 -0
  117. data/lib/docspring/models/update_template_document_request.rb +1 -1
  118. data/lib/docspring/models/update_template_request.rb +153 -9
  119. data/lib/docspring/models/validate_submission_request.rb +145 -9
  120. data/lib/docspring/models/webhook_event_type.rb +3 -1
  121. data/lib/docspring/request_schemas.json +1708 -88
  122. data/lib/docspring/request_validator.rb +4 -0
  123. data/lib/docspring/version.rb +1 -1
  124. data/lib/docspring.rb +30 -0
  125. data/spec/api/client_spec.rb +307 -18
  126. data/spec/models/create_account_email_action_request_spec.rb +144 -0
  127. data/spec/models/create_email_action_request_spec.rb +132 -0
  128. data/spec/models/create_email_domain_request_spec.rb +36 -0
  129. data/spec/models/create_submission_request_spec.rb +54 -0
  130. data/spec/models/create_template_request_spec.rb +72 -0
  131. data/spec/models/dns_record_type_spec.rb +30 -0
  132. data/spec/models/email_action_conditions_input_spec.rb +42 -0
  133. data/spec/models/email_action_conditions_spec.rb +42 -0
  134. data/spec/models/email_action_customization_spec.rb +90 -0
  135. data/spec/models/email_action_delivery_spec.rb +30 -0
  136. data/spec/models/email_action_file_formats_spec.rb +30 -0
  137. data/spec/models/email_action_list_spec.rb +42 -0
  138. data/spec/models/email_action_setting_spec.rb +30 -0
  139. data/spec/models/email_action_spec.rb +210 -0
  140. data/spec/models/email_action_submission_type_spec.rb +30 -0
  141. data/spec/models/email_action_test_email_spec.rb +36 -0
  142. data/spec/models/email_domain_dns_record_purpose_spec.rb +30 -0
  143. data/spec/models/email_domain_dns_record_spec.rb +54 -0
  144. data/spec/models/email_domain_list_spec.rb +42 -0
  145. data/spec/models/email_domain_record_state_spec.rb +30 -0
  146. data/spec/models/email_domain_spec.rb +96 -0
  147. data/spec/models/email_domain_state_spec.rb +30 -0
  148. data/spec/models/error_info_spec.rb +30 -0
  149. data/spec/models/send_account_email_action_test_email_request_spec.rb +36 -0
  150. data/spec/models/signature_request_email_attachments_spec.rb +30 -0
  151. data/spec/models/signature_request_email_status_spec.rb +30 -0
  152. data/spec/models/signature_request_input_spec.rb +12 -0
  153. data/spec/models/signature_request_reminders_spec.rb +42 -0
  154. data/spec/models/signature_request_spec.rb +24 -0
  155. data/spec/models/signing_order_spec.rb +30 -0
  156. data/spec/models/submission_action_spec.rb +6 -0
  157. data/spec/models/submission_spec.rb +6 -0
  158. data/spec/models/template_form_section_input_spec.rb +54 -0
  159. data/spec/models/template_form_section_spec.rb +54 -0
  160. data/spec/models/template_spec.rb +72 -0
  161. data/spec/models/update_account_email_action_request_spec.rb +144 -0
  162. data/spec/models/update_email_action_customization_request_spec.rb +120 -0
  163. data/spec/models/update_email_action_request_spec.rb +132 -0
  164. data/spec/models/update_template_request_spec.rb +72 -0
  165. data/spec/models/validate_submission_request_spec.rb +54 -0
  166. metadata +123 -4
  167. data/.gitlab-ci.yml +0 -26
  168. data/.travis.yml +0 -11
@@ -446,10 +446,17 @@
446
446
  "type": "string",
447
447
  "enum": [
448
448
  "equals",
449
+ "not_equals",
449
450
  "contains",
451
+ "not_contains",
450
452
  "starts_with",
453
+ "not_starts_with",
451
454
  "ends_with",
452
- "regex"
455
+ "not_ends_with",
456
+ "regex",
457
+ "not_regex",
458
+ "blank",
459
+ "not_blank"
453
460
  ]
454
461
  },
455
462
  "number_condition_type": {
@@ -634,19 +641,21 @@
634
641
  "properties": {
635
642
  "name": {
636
643
  "type": "string",
637
- "minLength": 1,
638
- "maxLength": 512"[^ \t\n\u000b\f\r…   - 

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

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

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

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

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

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

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

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

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

   ]",
1248
+ "x-pattern-message": "can't be blank"
783
1249
  }
784
1250
  },
785
1251
  "required": [
@@ -864,7 +1330,7 @@
864
1330
  "required": false,
865
1331
  "schema": {
866
1332
  "type": "string",
867
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
1333
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
868
1334
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
869
1335
  }
870
1336
  },
@@ -946,7 +1412,9 @@
946
1412
  "string",
947
1413
  "null"
948
1414
  ],
949
- "maxLength": 254
1415
+ "maxLength": 254,
1416
+ "pattern": "^[^ \t\n\u000b\f\r@]+@[^ \t\n\u000b\f\r@]+$",
1417
+ "x-pattern-message": "must be an email address, like name@example.com"
950
1418
  },
951
1419
  "fields": {
952
1420
  "type": "array",
@@ -1029,14 +1497,83 @@
1029
1497
  },
1030
1498
  "prefilled_values_editable": {
1031
1499
  "type": "boolean"
1500
+ },
1501
+ "send_email": {
1502
+ "type": "boolean"
1503
+ },
1504
+ "signing_step": {
1505
+ "type": "integer",
1506
+ "minimum": 1,
1507
+ "maximum": 100
1032
1508
  }
1033
1509
  },
1034
1510
  "required": [
1035
- "fields",
1036
- "auth_type"
1511
+ "fields"
1037
1512
  ],
1038
1513
  "additionalProperties": false
1039
1514
  }
1515
+ },
1516
+ "send_email": {
1517
+ "type": "boolean"
1518
+ },
1519
+ "signing_order": {
1520
+ "type": "string",
1521
+ "enum": [
1522
+ "parallel",
1523
+ "sequential"
1524
+ ]
1525
+ },
1526
+ "email_subject": {
1527
+ "type": "string",
1528
+ "minLength": 1,
1529
+ "maxLength": 200
1530
+ },
1531
+ "email_message": {
1532
+ "type": "string",
1533
+ "minLength": 1,
1534
+ "maxLength": 2000
1535
+ },
1536
+ "cc": {
1537
+ "type": "array",
1538
+ "maxItems": 10,
1539
+ "uniqueItems": true,
1540
+ "items": {
1541
+ "type": "string"
1542
+ }
1543
+ },
1544
+ "reply_to": {
1545
+ "type": "string"
1546
+ },
1547
+ "notification_emails": {
1548
+ "type": "array",
1549
+ "maxItems": 10,
1550
+ "uniqueItems": true,
1551
+ "items": {
1552
+ "type": "string"
1553
+ }
1554
+ },
1555
+ "notify_when_signed": {
1556
+ "type": "boolean"
1557
+ },
1558
+ "reminders": {
1559
+ "type": "object",
1560
+ "additionalProperties": false,
1561
+ "required": [
1562
+ "interval_days",
1563
+ "max_count"
1564
+ ],
1565
+ "properties": {
1566
+ "interval_days": {
1567
+ "type": "integer",
1568
+ "minimum": 1,
1569
+ "maximum": 30
1570
+ },
1571
+ "max_count": {
1572
+ "type": "integer",
1573
+ "minimum": 1,
1574
+ "maximum": 10
1575
+ }
1576
+ }
1040
1577
  }
1041
1578
  },
1042
1579
  "additionalProperties": false
@@ -1062,11 +1599,13 @@
1062
1599
  "type": "object"
1063
1600
  },
1064
1601
  "template_id": {
1065
- "type": "string"
1602
+ "type": "string",
1603
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
1604
+ "x-pattern-message": "can't be blank"
1066
1605
  },
1067
1606
  "template_version": {
1068
1607
  "type": "string",
1069
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
1608
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
1070
1609
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
1071
1610
  },
1072
1611
  "test": {
@@ -1141,11 +1680,13 @@
1141
1680
  "type": "string"
1142
1681
  },
1143
1682
  "template_id": {
1144
- "type": "string"
1683
+ "type": "string",
1684
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
1685
+ "x-pattern-message": "can't be blank"
1145
1686
  },
1146
1687
  "template_version": {
1147
1688
  "type": "string",
1148
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
1689
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
1149
1690
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
1150
1691
  }
1151
1692
  },
@@ -1177,8 +1718,9 @@
1177
1718
  "properties": {
1178
1719
  "name": {
1179
1720
  "type": "string",
1180
- "minLength": 1,
1181
- "maxLength": 512"[^ \t\n\u000b\f\r…   - 

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

   ]",
1723
+ "x-pattern-message": "can't be blank"
1182
1724
  },
1183
1725
  "description": {
1184
1726
  "type": [
@@ -1191,7 +1733,8 @@
1191
1733
  "enum": [
1192
1734
  "pdf",
1193
1735
  "html",
1194
- "docx"
1736
+ "docx",
1737
+ "page_designer"
1195
1738
  ]
1196
1739
  },
1197
1740
  "output_format": {
@@ -1207,7 +1750,8 @@
1207
1750
  "string",
1208
1751
  "null"
1209
1752
  ],
1210
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

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

   ]",
1754
+ "x-pattern-message": "can't be blank"
1211
1755
  },
1212
1756
  "locked": {
1213
1757
  "type": "boolean"
@@ -1296,11 +1840,75 @@
1296
1840
  "type": "boolean"
1297
1841
  },
1298
1842
  "redirect_url": {
1843
+ "type": [
1844
+ "string",
1845
+ "null"
1846
+ ]
1847
+ },
1848
+ "signature_request_email_attachments": {
1299
1849
  "type": [
1300
1850
  "string",
1301
1851
  "null"
1302
1852
  ],
1303
- "format": "uri"
1853
+ "enum": [
1854
+ "attachment",
1855
+ "link",
1856
+ null
1857
+ ]
1858
+ },
1859
+ "signature_request_from_address": {
1860
+ "type": [
1861
+ "string",
1862
+ "null"
1863
+ ]
1864
+ },
1865
+ "signature_request_include_signing_token": {
1866
+ "type": "boolean"
1867
+ },
1868
+ "signature_request_from_name": {
1869
+ "type": [
1870
+ "string",
1871
+ "null"
1872
+ ],
1873
+ "maxLength": 64
1874
+ },
1875
+ "signature_request_notification_emails": {
1876
+ "type": "array",
1877
+ "maxItems": 10,
1878
+ "uniqueItems": true,
1879
+ "items": {
1880
+ "type": "string"
1881
+ }
1882
+ },
1883
+ "signature_request_reply_to": {
1884
+ "type": [
1885
+ "string",
1886
+ "null"
1887
+ ]
1888
+ },
1889
+ "signature_request_signing_url": {
1890
+ "type": [
1891
+ "string",
1892
+ "null"
1893
+ ],
1894
+ "maxLength": 2048
1895
+ },
1896
+ "success_title": {
1897
+ "type": [
1898
+ "string",
1899
+ "null"
1900
+ ],
1901
+ "maxLength": 512
1902
+ },
1903
+ "success_message": {
1904
+ "type": [
1905
+ "string",
1906
+ "null"
1907
+ ],
1908
+ "maxLength": 5000
1909
+ },
1910
+ "show_fill_again_button": {
1911
+ "type": "boolean"
1304
1912
  },
1305
1913
  "slack_webhook_url": {
1306
1914
  "type": [
@@ -1703,7 +2311,8 @@
1703
2311
  },
1704
2312
  "scale": {
1705
2313
  "type": "number",
1706
- "exclusiveMinimum": 0
2314
+ "minimum": 0.1,
2315
+ "maximum": 2
1707
2316
  },
1708
2317
  "landscape": {
1709
2318
  "type": "boolean"
@@ -1729,10 +2338,17 @@
1729
2338
  "html_escape_data": {
1730
2339
  "type": "boolean"
1731
2340
  },
2341
+ "layout": {
2342
+ "type": [
2343
+ "object",
2344
+ "null"
2345
+ ]
2346
+ },
1732
2347
  "cache_id": {
1733
2348
  "type": "string",
1734
- "minLength": 1,
1735
- "maxLength": 255"[^ \t\n\u000b\f\r…   - 

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

   ]",
2351
+ "x-pattern-message": "can't be blank"
1736
2352
  },
1737
2353
  "document_url": {
1738
2354
  "type": "string",
@@ -1747,8 +2363,9 @@
1747
2363
  },
1748
2364
  "filename": {
1749
2365
  "type": "string",
1750
- "minLength": 1,
1751
- "maxLength": 255"^[^/\\\\]*[^/\\\\ \t\n\u000b\f\r…   - 

   ][^/\\\\]*$",
2366
+ "maxLength": 255,
2367
+ "pattern": "^[^/\\\\]*[^/\\\\ \t\n\u000b\f\r…   - 

   ][^/\\\\]*$",
2368
+ "x-pattern-message": "can't be blank or contain a slash (/ or \\)"
1752
2369
  },
1753
2370
  "detect_fields": {
1754
2371
  "type": "boolean"
@@ -1774,6 +2391,9 @@
1774
2391
  "ai",
1775
2392
  "none"
1776
2393
  ]
2394
+ },
2395
+ "include_office_use_fields": {
2396
+ "type": "boolean"
1777
2397
  }
1778
2398
  },
1779
2399
  "required": [
@@ -1789,7 +2409,7 @@
1789
2409
  "required": false,
1790
2410
  "schema": {
1791
2411
  "type": "string",
1792
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
2412
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
1793
2413
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
1794
2414
  }
1795
2415
  }
@@ -1842,9 +2462,11 @@
1842
2462
  "submission.processed",
1843
2463
  "submission.failed",
1844
2464
  "submission.declined",
2465
+ "signature_request.sent",
1845
2466
  "signature_request.viewed",
1846
2467
  "signature_request.completed",
1847
2468
  "signature_request.declined",
2469
+ "signature_request.email_bounced",
1848
2470
  "combined_pdf.processed",
1849
2471
  "combined_pdf.failed",
1850
2472
  "submission_batch.processed",
@@ -1882,21 +2504,27 @@
1882
2504
  "type": "array",
1883
2505
  "uniqueItems": true,
1884
2506
  "items": {
1885
- "type": "string"
2507
+ "type": "string",
2508
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2509
+ "x-pattern-message": "can't be blank"
1886
2510
  }
1887
2511
  },
1888
2512
  "template_ids": {
1889
2513
  "type": "array",
1890
2514
  "uniqueItems": true,
1891
2515
  "items": {
1892
- "type": "string"
2516
+ "type": "string",
2517
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2518
+ "x-pattern-message": "can't be blank"
1893
2519
  }
1894
2520
  },
1895
2521
  "folder_ids": {
1896
2522
  "type": "array",
1897
2523
  "uniqueItems": true,
1898
2524
  "items": {
1899
- "type": "string"
2525
+ "type": "string",
2526
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2527
+ "x-pattern-message": "can't be blank"
1900
2528
  }
1901
2529
  },
1902
2530
  "include_submission_data": {
@@ -1923,7 +2551,11 @@
1923
2551
  }
1924
2552
  }
1925
2553
  },
2554
+ "deleteAccountEmailAction": {},
1926
2555
  "deleteCustomFile": {},
2556
+ "deleteEmailAction": {},
2557
+ "deleteEmailActionCustomization": {},
2558
+ "deleteEmailDomain": {},
1927
2559
  "deleteFolder": {},
1928
2560
  "deleteTemplate": {
1929
2561
  "query": {
@@ -1931,7 +2563,7 @@
1931
2563
  "required": false,
1932
2564
  "schema": {
1933
2565
  "type": "string",
1934
- "pattern": "^(\\d+\\.\\d+\\.\\d+|draft)$",
2566
+ "pattern": "^((0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)|draft)$",
1935
2567
  "x-pattern-message": "must be a full version like 1.2.3, or draft"
1936
2568
  }
1937
2569
  }
@@ -1978,8 +2610,11 @@
1978
2610
  }
1979
2611
  },
1980
2612
  "generateSubmissionPreview": {},
2613
+ "getAccountEmailAction": {},
1981
2614
  "getCombinedPdf": {},
1982
2615
  "getCustomFile": {},
2616
+ "getEmailAction": {},
2617
+ "getEmailDomain": {},
1983
2618
  "getFolder": {},
1984
2619
  "getPresignUrl": {},
1985
2620
  "getSignatureRequest": {},
@@ -2000,7 +2635,7 @@
2000
2635
  "required": false,
2001
2636
  "schema": {
2002
2637
  "type": "string",
2003
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
2638
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
2004
2639
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
2005
2640
  }
2006
2641
  }
@@ -2012,7 +2647,7 @@
2012
2647
  "required": false,
2013
2648
  "schema": {
2014
2649
  "type": "string",
2015
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
2650
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
2016
2651
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
2017
2652
  }
2018
2653
  }
@@ -2024,7 +2659,7 @@
2024
2659
  "required": false,
2025
2660
  "schema": {
2026
2661
  "type": "string",
2027
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
2662
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
2028
2663
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
2029
2664
  }
2030
2665
  },
@@ -2060,7 +2695,7 @@
2060
2695
  "required": false,
2061
2696
  "schema": {
2062
2697
  "type": "string",
2063
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
2698
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
2064
2699
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
2065
2700
  }
2066
2701
  }
@@ -2073,13 +2708,33 @@
2073
2708
  "required": false,
2074
2709
  "schema": {
2075
2710
  "type": "string",
2076
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
2711
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
2077
2712
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
2078
2713
  }
2079
2714
  }
2080
2715
  }
2081
2716
  },
2082
2717
  "getWebhook": {},
2718
+ "listAccountEmailActions": {
2719
+ "query": {
2720
+ "limit": {
2721
+ "required": false,
2722
+ "schema": {
2723
+ "type": "integer",
2724
+ "minimum": 1,
2725
+ "maximum": 100
2726
+ }
2727
+ },
2728
+ "cursor": {
2729
+ "required": false,
2730
+ "schema": {
2731
+ "type": "string",
2732
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2733
+ "x-pattern-message": "can't be blank"
2734
+ }
2735
+ }
2736
+ }
2737
+ },
2083
2738
  "listCombinedPdfs": {
2084
2739
  "query": {
2085
2740
  "limit": {
@@ -2093,7 +2748,9 @@
2093
2748
  "cursor": {
2094
2749
  "required": false,
2095
2750
  "schema": {
2096
- "type": "string"
2751
+ "type": "string",
2752
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2753
+ "x-pattern-message": "can't be blank"
2097
2754
  }
2098
2755
  }
2099
2756
  }
@@ -2111,7 +2768,49 @@
2111
2768
  "cursor": {
2112
2769
  "required": false,
2113
2770
  "schema": {
2114
- "type": "string"
2771
+ "type": "string",
2772
+ "pattern": "[^ \t\n\u000b\f\r…   - 

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

   ]",
2793
+ "x-pattern-message": "can't be blank"
2794
+ }
2795
+ }
2796
+ }
2797
+ },
2798
+ "listEmailDomains": {
2799
+ "query": {
2800
+ "limit": {
2801
+ "required": false,
2802
+ "schema": {
2803
+ "type": "integer",
2804
+ "minimum": 1,
2805
+ "maximum": 100
2806
+ }
2807
+ },
2808
+ "cursor": {
2809
+ "required": false,
2810
+ "schema": {
2811
+ "type": "string",
2812
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2813
+ "x-pattern-message": "can't be blank"
2115
2814
  }
2116
2815
  }
2117
2816
  }
@@ -2121,7 +2820,9 @@
2121
2820
  "parent_folder_id": {
2122
2821
  "required": false,
2123
2822
  "schema": {
2124
- "type": "string"
2823
+ "type": "string",
2824
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2825
+ "x-pattern-message": "can't be blank"
2125
2826
  }
2126
2827
  },
2127
2828
  "limit": {
@@ -2135,7 +2836,9 @@
2135
2836
  "cursor": {
2136
2837
  "required": false,
2137
2838
  "schema": {
2138
- "type": "string"
2839
+ "type": "string",
2840
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2841
+ "x-pattern-message": "can't be blank"
2139
2842
  }
2140
2843
  }
2141
2844
  }
@@ -2145,7 +2848,9 @@
2145
2848
  "template_id": {
2146
2849
  "required": false,
2147
2850
  "schema": {
2148
- "type": "string"
2851
+ "type": "string",
2852
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2853
+ "x-pattern-message": "can't be blank"
2149
2854
  }
2150
2855
  },
2151
2856
  "test": {
@@ -2185,7 +2890,9 @@
2185
2890
  "cursor": {
2186
2891
  "required": false,
2187
2892
  "schema": {
2188
- "type": "string"
2893
+ "type": "string",
2894
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2895
+ "x-pattern-message": "can't be blank"
2189
2896
  }
2190
2897
  },
2191
2898
  "state": {
@@ -2223,7 +2930,7 @@
2223
2930
  "required": false,
2224
2931
  "schema": {
2225
2932
  "type": "string",
2226
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
2933
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
2227
2934
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
2228
2935
  }
2229
2936
  }
@@ -2268,7 +2975,9 @@
2268
2975
  "cursor": {
2269
2976
  "required": false,
2270
2977
  "schema": {
2271
- "type": "string"
2978
+ "type": "string",
2979
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
2980
+ "x-pattern-message": "can't be blank"
2272
2981
  }
2273
2982
  },
2274
2983
  "state": {
@@ -2305,13 +3014,17 @@
2305
3014
  "query": {
2306
3015
  "required": false,
2307
3016
  "schema": {
2308
- "type": "string"
3017
+ "type": "string",
3018
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3019
+ "x-pattern-message": "can't be blank"
2309
3020
  }
2310
3021
  },
2311
3022
  "parent_folder_id": {
2312
3023
  "required": false,
2313
3024
  "schema": {
2314
- "type": "string"
3025
+ "type": "string",
3026
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3027
+ "x-pattern-message": "can't be blank"
2315
3028
  }
2316
3029
  },
2317
3030
  "limit": {
@@ -2325,7 +3038,9 @@
2325
3038
  "cursor": {
2326
3039
  "required": false,
2327
3040
  "schema": {
2328
- "type": "string"
3041
+ "type": "string",
3042
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3043
+ "x-pattern-message": "can't be blank"
2329
3044
  }
2330
3045
  }
2331
3046
  }
@@ -2340,9 +3055,11 @@
2340
3055
  "submission.processed",
2341
3056
  "submission.failed",
2342
3057
  "submission.declined",
3058
+ "signature_request.sent",
2343
3059
  "signature_request.viewed",
2344
3060
  "signature_request.completed",
2345
3061
  "signature_request.declined",
3062
+ "signature_request.email_bounced",
2346
3063
  "combined_pdf.processed",
2347
3064
  "combined_pdf.failed",
2348
3065
  "submission_batch.processed",
@@ -2378,19 +3095,25 @@
2378
3095
  "template_id": {
2379
3096
  "required": false,
2380
3097
  "schema": {
2381
- "type": "string"
3098
+ "type": "string",
3099
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3100
+ "x-pattern-message": "can't be blank"
2382
3101
  }
2383
3102
  },
2384
3103
  "folder_id": {
2385
3104
  "required": false,
2386
3105
  "schema": {
2387
- "type": "string"
3106
+ "type": "string",
3107
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3108
+ "x-pattern-message": "can't be blank"
2388
3109
  }
2389
3110
  },
2390
3111
  "api_token_id": {
2391
3112
  "required": false,
2392
3113
  "schema": {
2393
- "type": "string"
3114
+ "type": "string",
3115
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3116
+ "x-pattern-message": "can't be blank"
2394
3117
  }
2395
3118
  },
2396
3119
  "limit": {
@@ -2404,7 +3127,9 @@
2404
3127
  "cursor": {
2405
3128
  "required": false,
2406
3129
  "schema": {
2407
- "type": "string"
3130
+ "type": "string",
3131
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3132
+ "x-pattern-message": "can't be blank"
2408
3133
  }
2409
3134
  }
2410
3135
  }
@@ -2421,7 +3146,8 @@
2421
3146
  "string",
2422
3147
  "null"
2423
3148
  ],
2424
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

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

   ]",
3150
+ "x-pattern-message": "can't be blank"
2425
3151
  }
2426
3152
  },
2427
3153
  "required": [
@@ -2446,7 +3172,8 @@
2446
3172
  "string",
2447
3173
  "null"
2448
3174
  ],
2449
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

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

   ]",
3176
+ "x-pattern-message": "can't be blank"
2450
3177
  }
2451
3178
  },
2452
3179
  "additionalProperties": false
@@ -2547,27 +3274,682 @@
2547
3274
  }
2548
3275
  }
2549
3276
  },
2550
- "restoreTemplateVersion": {
3277
+ "restoreTemplateVersion": {
3278
+ "body": {
3279
+ "mediaType": "application/json",
3280
+ "required": true,
3281
+ "schema": {
3282
+ "type": "object",
3283
+ "required": [
3284
+ "version"
3285
+ ],
3286
+ "properties": {
3287
+ "version": {
3288
+ "type": "string",
3289
+ "pattern": "^(0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}$",
3290
+ "x-pattern-message": "must be a published version like 1.2.3 or 1"
3291
+ }
3292
+ },
3293
+ "additionalProperties": false
3294
+ }
3295
+ }
3296
+ },
3297
+ "sendAccountEmailActionTestEmail": {
3298
+ "body": {
3299
+ "mediaType": "application/json",
3300
+ "required": false,
3301
+ "schema": {
3302
+ "type": "object",
3303
+ "properties": {
3304
+ "template_id": {
3305
+ "type": "string",
3306
+ "maxLength": 255,
3307
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3308
+ "x-pattern-message": "can't be blank"
3309
+ }
3310
+ },
3311
+ "additionalProperties": false
3312
+ }
3313
+ }
3314
+ },
3315
+ "sendEmailActionTestEmail": {},
3316
+ "testAuthentication": {},
3317
+ "updateAccountEmailAction": {
3318
+ "body": {
3319
+ "mediaType": "application/json",
3320
+ "required": true,
3321
+ "schema": {
3322
+ "type": "object",
3323
+ "properties": {
3324
+ "template_ids": {
3325
+ "type": "array",
3326
+ "maxItems": 500,
3327
+ "items": {
3328
+ "type": "string",
3329
+ "maxLength": 255,
3330
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3331
+ "x-pattern-message": "can't be blank"
3332
+ }
3333
+ },
3334
+ "folder_ids": {
3335
+ "type": "array",
3336
+ "maxItems": 500,
3337
+ "items": {
3338
+ "type": "string",
3339
+ "maxLength": 255,
3340
+ "pattern": "[^ \t\n\u000b\f\r…   - 

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

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

   ]",
4040
+ "x-pattern-message": "can't be blank"
2657
4041
  },
2658
4042
  "description": {
2659
4043
  "type": [
@@ -2674,7 +4058,8 @@
2674
4058
  "string",
2675
4059
  "null"
2676
4060
  ],
2677
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

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

   ]",
4062
+ "x-pattern-message": "can't be blank"
2678
4063
  },
2679
4064
  "locked": {
2680
4065
  "type": "boolean"
@@ -2763,11 +4148,75 @@
2763
4148
  "type": "boolean"
2764
4149
  },
2765
4150
  "redirect_url": {
4151
+ "type": [
4152
+ "string",
4153
+ "null"
4154
+ ]
4155
+ },
4156
+ "signature_request_email_attachments": {
2766
4157
  "type": [
2767
4158
  "string",
2768
4159
  "null"
2769
4160
  ],
2770
- "format": "uri"
4161
+ "enum": [
4162
+ "attachment",
4163
+ "link",
4164
+ null
4165
+ ]
4166
+ },
4167
+ "signature_request_from_address": {
4168
+ "type": [
4169
+ "string",
4170
+ "null"
4171
+ ]
4172
+ },
4173
+ "signature_request_include_signing_token": {
4174
+ "type": "boolean"
4175
+ },
4176
+ "signature_request_from_name": {
4177
+ "type": [
4178
+ "string",
4179
+ "null"
4180
+ ],
4181
+ "maxLength": 64
4182
+ },
4183
+ "signature_request_notification_emails": {
4184
+ "type": "array",
4185
+ "maxItems": 10,
4186
+ "uniqueItems": true,
4187
+ "items": {
4188
+ "type": "string"
4189
+ }
4190
+ },
4191
+ "signature_request_reply_to": {
4192
+ "type": [
4193
+ "string",
4194
+ "null"
4195
+ ]
4196
+ },
4197
+ "signature_request_signing_url": {
4198
+ "type": [
4199
+ "string",
4200
+ "null"
4201
+ ],
4202
+ "maxLength": 2048
4203
+ },
4204
+ "success_title": {
4205
+ "type": [
4206
+ "string",
4207
+ "null"
4208
+ ],
4209
+ "maxLength": 512
4210
+ },
4211
+ "success_message": {
4212
+ "type": [
4213
+ "string",
4214
+ "null"
4215
+ ],
4216
+ "maxLength": 5000
4217
+ },
4218
+ "show_fill_again_button": {
4219
+ "type": "boolean"
2771
4220
  },
2772
4221
  "slack_webhook_url": {
2773
4222
  "type": [
@@ -3050,6 +4499,7 @@
3050
4499
  },
3051
4500
  "field_groups": {
3052
4501
  "type": "array",
4502
+ "minItems": 1,
3053
4503
  "items": {
3054
4504
  "type": "object",
3055
4505
  "properties": {
@@ -3090,6 +4540,43 @@
3090
4540
  "additionalProperties": false
3091
4541
  }
3092
4542
  },
4543
+ "form_sections": {
4544
+ "type": "array",
4545
+ "items": {
4546
+ "type": "object",
4547
+ "properties": {
4548
+ "id": {
4549
+ "type": "string",
4550
+ "maxLength": 255,
4551
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
4552
+ "x-pattern-message": "can't be blank"
4553
+ },
4554
+ "title": {
4555
+ "type": "string",
4556
+ "maxLength": 512
4557
+ },
4558
+ "description": {
4559
+ "type": [
4560
+ "string",
4561
+ "null"
4562
+ ],
4563
+ "maxLength": 5000
4564
+ },
4565
+ "field_ids": {
4566
+ "type": "array",
4567
+ "items": {
4568
+ "type": "integer"
4569
+ }
4570
+ }
4571
+ },
4572
+ "required": [
4573
+ "id",
4574
+ "title",
4575
+ "field_ids"
4576
+ ],
4577
+ "additionalProperties": false
4578
+ }
4579
+ },
3093
4580
  "predefined_fields": {
3094
4581
  "type": "array",
3095
4582
  "items": {
@@ -3212,7 +4699,8 @@
3212
4699
  },
3213
4700
  "scale": {
3214
4701
  "type": "number",
3215
- "exclusiveMinimum": 0
4702
+ "minimum": 0.1,
4703
+ "maximum": 2
3216
4704
  },
3217
4705
  "landscape": {
3218
4706
  "type": "boolean"
@@ -3237,8 +4725,15 @@
3237
4725
  },
3238
4726
  "html_escape_data": {
3239
4727
  "type": "boolean"
4728
+ },
4729
+ "layout": {
4730
+ "type": [
4731
+ "object",
4732
+ "null"
4733
+ ]
3240
4734
  }
3241
4735
  },
4736
+ "minProperties": 1,
3242
4737
  "additionalProperties": false
3243
4738
  }
3244
4739
  }
@@ -3260,8 +4755,9 @@
3260
4755
  "properties": {
3261
4756
  "cache_id": {
3262
4757
  "type": "string",
3263
- "minLength": 1,
3264
- "maxLength": 255"[^ \t\n\u000b\f\r…   - 

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

   ]",
4760
+ "x-pattern-message": "can't be blank"
3265
4761
  },
3266
4762
  "document_url": {
3267
4763
  "type": "string",
@@ -3276,8 +4772,9 @@
3276
4772
  },
3277
4773
  "filename": {
3278
4774
  "type": "string",
3279
- "minLength": 1,
3280
- "maxLength": 255"^[^/\\\\]*[^/\\\\ \t\n\u000b\f\r…   - 

   ][^/\\\\]*$",
4775
+ "maxLength": 255,
4776
+ "pattern": "^[^/\\\\]*[^/\\\\ \t\n\u000b\f\r…   - 

   ][^/\\\\]*$",
4777
+ "x-pattern-message": "can't be blank or contain a slash (/ or \\)"
3281
4778
  },
3282
4779
  "reimport_fields": {
3283
4780
  "type": "boolean"
@@ -3733,10 +5230,17 @@
3733
5230
  "type": "string",
3734
5231
  "enum": [
3735
5232
  "equals",
5233
+ "not_equals",
3736
5234
  "contains",
5235
+ "not_contains",
3737
5236
  "starts_with",
5237
+ "not_starts_with",
3738
5238
  "ends_with",
3739
- "regex"
5239
+ "not_ends_with",
5240
+ "regex",
5241
+ "not_regex",
5242
+ "blank",
5243
+ "not_blank"
3740
5244
  ]
3741
5245
  },
3742
5246
  "number_condition_type": {
@@ -3943,9 +5447,11 @@
3943
5447
  "submission.processed",
3944
5448
  "submission.failed",
3945
5449
  "submission.declined",
5450
+ "signature_request.sent",
3946
5451
  "signature_request.viewed",
3947
5452
  "signature_request.completed",
3948
5453
  "signature_request.declined",
5454
+ "signature_request.email_bounced",
3949
5455
  "combined_pdf.processed",
3950
5456
  "combined_pdf.failed",
3951
5457
  "submission_batch.processed",
@@ -3983,21 +5489,27 @@
3983
5489
  "type": "array",
3984
5490
  "uniqueItems": true,
3985
5491
  "items": {
3986
- "type": "string"
5492
+ "type": "string",
5493
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
5494
+ "x-pattern-message": "can't be blank"
3987
5495
  }
3988
5496
  },
3989
5497
  "template_ids": {
3990
5498
  "type": "array",
3991
5499
  "uniqueItems": true,
3992
5500
  "items": {
3993
- "type": "string"
5501
+ "type": "string",
5502
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
5503
+ "x-pattern-message": "can't be blank"
3994
5504
  }
3995
5505
  },
3996
5506
  "folder_ids": {
3997
5507
  "type": "array",
3998
5508
  "uniqueItems": true,
3999
5509
  "items": {
4000
- "type": "string"
5510
+ "type": "string",
5511
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
5512
+ "x-pattern-message": "can't be blank"
4001
5513
  }
4002
5514
  },
4003
5515
  "include_submission_data": {
@@ -4016,6 +5528,7 @@
4016
5528
  }
4017
5529
  }
4018
5530
  },
5531
+ "minProperties": 1,
4019
5532
  "additionalProperties": false
4020
5533
  }
4021
5534
  }
@@ -4044,15 +5557,17 @@
4044
5557
  },
4045
5558
  "name": {
4046
5559
  "type": "string",
4047
- "minLength": 1,
4048
- "maxLength": 512"[^ \t\n\u000b\f\r…   - 

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

   ]",
5562
+ "x-pattern-message": "can't be blank"
4049
5563
  },
4050
5564
  "description": {
4051
5565
  "type": "string"
4052
5566
  },
4053
5567
  "parent_folder_id": {
4054
5568
  "type": "string",
4055
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

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

   ]",
5570
+ "x-pattern-message": "can't be blank"
4056
5571
  },
4057
5572
  "ai_field_naming_language": {
4058
5573
  "type": "string",
@@ -4094,6 +5609,9 @@
4094
5609
  "docx",
4095
5610
  "odt"
4096
5611
  ]
5612
+ },
5613
+ "include_office_use_fields": {
5614
+ "type": "boolean"
4097
5615
  }
4098
5616
  },
4099
5617
  "additionalProperties": false
@@ -4136,7 +5654,7 @@
4136
5654
  "required": false,
4137
5655
  "schema": {
4138
5656
  "type": "string",
4139
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
5657
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
4140
5658
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
4141
5659
  }
4142
5660
  }
@@ -4212,7 +5730,9 @@
4212
5730
  "string",
4213
5731
  "null"
4214
5732
  ],
4215
- "maxLength": 254
5733
+ "maxLength": 254,
5734
+ "pattern": "^[^ \t\n\u000b\f\r@]+@[^ \t\n\u000b\f\r@]+$",
5735
+ "x-pattern-message": "must be an email address, like name@example.com"
4216
5736
  },
4217
5737
  "fields": {
4218
5738
  "type": "array",
@@ -4295,33 +5815,111 @@
4295
5815
  },
4296
5816
  "prefilled_values_editable": {
4297
5817
  "type": "boolean"
5818
+ },
5819
+ "send_email": {
5820
+ "type": "boolean"
5821
+ },
5822
+ "signing_step": {
5823
+ "type": "integer",
5824
+ "minimum": 1,
5825
+ "maximum": 100
4298
5826
  }
4299
5827
  },
4300
5828
  "required": [
4301
- "fields",
4302
- "auth_type"
5829
+ "fields"
4303
5830
  ],
4304
5831
  "additionalProperties": false
4305
5832
  }
5833
+ },
5834
+ "send_email": {
5835
+ "type": "boolean"
5836
+ },
5837
+ "signing_order": {
5838
+ "type": "string",
5839
+ "enum": [
5840
+ "parallel",
5841
+ "sequential"
5842
+ ]
5843
+ },
5844
+ "email_subject": {
5845
+ "type": "string",
5846
+ "minLength": 1,
5847
+ "maxLength": 200
5848
+ },
5849
+ "email_message": {
5850
+ "type": "string",
5851
+ "minLength": 1,
5852
+ "maxLength": 2000
5853
+ },
5854
+ "cc": {
5855
+ "type": "array",
5856
+ "maxItems": 10,
5857
+ "uniqueItems": true,
5858
+ "items": {
5859
+ "type": "string"
5860
+ }
5861
+ },
5862
+ "reply_to": {
5863
+ "type": "string"
5864
+ },
5865
+ "notification_emails": {
5866
+ "type": "array",
5867
+ "maxItems": 10,
5868
+ "uniqueItems": true,
5869
+ "items": {
5870
+ "type": "string"
5871
+ }
5872
+ },
5873
+ "notify_when_signed": {
5874
+ "type": "boolean"
5875
+ },
5876
+ "reminders": {
5877
+ "type": "object",
5878
+ "additionalProperties": false,
5879
+ "required": [
5880
+ "interval_days",
5881
+ "max_count"
5882
+ ],
5883
+ "properties": {
5884
+ "interval_days": {
5885
+ "type": "integer",
5886
+ "minimum": 1,
5887
+ "maximum": 30
5888
+ },
5889
+ "max_count": {
5890
+ "type": "integer",
5891
+ "minimum": 1,
5892
+ "maximum": 10
5893
+ }
5894
+ }
4306
5895
  }
4307
5896
  },
4308
5897
  "additionalProperties": false
4309
5898
  }
4310
5899
  }
4311
- }
5900
+ },
5901
+ "verifyEmailDomain": {}
4312
5902
  },
4313
5903
  "routes": {
4314
5904
  "DELETE /combined_pdfs/{combined_pdf_id}": "expireCombinedPdf",
4315
5905
  "DELETE /custom_files/{custom_file_id}": "deleteCustomFile",
5906
+ "DELETE /email_actions/{email_action_id}": "deleteAccountEmailAction",
5907
+ "DELETE /email_domains/{email_domain_id}": "deleteEmailDomain",
4316
5908
  "DELETE /folders/{folder_id}": "deleteFolder",
4317
5909
  "DELETE /submissions/{submission_id}": "expireSubmission",
4318
5910
  "DELETE /templates/{template_id}": "deleteTemplate",
5911
+ "DELETE /templates/{template_id}/email_actions/{email_action_id}": "deleteEmailAction",
5912
+ "DELETE /templates/{template_id}/email_actions/{email_action_id}/customization": "deleteEmailActionCustomization",
4319
5913
  "DELETE /webhooks/{webhook_id}": "deleteWebhook",
4320
5914
  "GET /authentication": "testAuthentication",
4321
5915
  "GET /combined_pdfs": "listCombinedPdfs",
4322
5916
  "GET /combined_pdfs/{combined_pdf_id}": "getCombinedPdf",
4323
5917
  "GET /custom_files": "listCustomFiles",
4324
5918
  "GET /custom_files/{custom_file_id}": "getCustomFile",
5919
+ "GET /email_actions": "listAccountEmailActions",
5920
+ "GET /email_actions/{email_action_id}": "getAccountEmailAction",
5921
+ "GET /email_domains": "listEmailDomains",
5922
+ "GET /email_domains/{email_domain_id}": "getEmailDomain",
4325
5923
  "GET /folders": "listFolders",
4326
5924
  "GET /folders/{folder_id}": "getFolder",
4327
5925
  "GET /signature_requests/{signature_request_id}": "getSignatureRequest",
@@ -4331,6 +5929,8 @@
4331
5929
  "GET /templates": "listTemplates",
4332
5930
  "GET /templates/{template_id}": "getTemplate",
4333
5931
  "GET /templates/{template_id}/diff": "getTemplateDiff",
5932
+ "GET /templates/{template_id}/email_actions": "listEmailActions",
5933
+ "GET /templates/{template_id}/email_actions/{email_action_id}": "getEmailAction",
4334
5934
  "GET /templates/{template_id}/fields": "listTemplateFields",
4335
5935
  "GET /templates/{template_id}/model_code": "getTemplateModelCode",
4336
5936
  "GET /templates/{template_id}/page_images": "getTemplatePageImages",
@@ -4342,6 +5942,10 @@
4342
5942
  "GET /webhooks/{webhook_id}": "getWebhook",
4343
5943
  "POST /combined_pdfs": "createCombinedPdf",
4344
5944
  "POST /custom_files": "createCustomFileFromUpload",
5945
+ "POST /email_actions": "createAccountEmailAction",
5946
+ "POST /email_actions/{email_action_id}/test_email": "sendAccountEmailActionTestEmail",
5947
+ "POST /email_domains": "createEmailDomain",
5948
+ "POST /email_domains/{email_domain_id}/verify": "verifyEmailDomain",
4345
5949
  "POST /folders": "createFolder",
4346
5950
  "POST /folders/{folder_id}/move": "moveFolder",
4347
5951
  "POST /folders/{folder_id}/rename": "renameFolder",
@@ -4353,6 +5957,8 @@
4353
5957
  "POST /templates": "createTemplate",
4354
5958
  "POST /templates/upload": "uploadTemplate",
4355
5959
  "POST /templates/{template_id}/copy": "copyTemplate",
5960
+ "POST /templates/{template_id}/email_actions": "createEmailAction",
5961
+ "POST /templates/{template_id}/email_actions/{email_action_id}/test_email": "sendEmailActionTestEmail",
4356
5962
  "POST /templates/{template_id}/fields": "addTemplateFields",
4357
5963
  "POST /templates/{template_id}/fields/remove": "removeTemplateFields",
4358
5964
  "POST /templates/{template_id}/fields/reorder": "reorderTemplateFields",
@@ -4363,10 +5969,13 @@
4363
5969
  "POST /templates/{template_id}/submissions": "createSubmission",
4364
5970
  "POST /templates/{template_id}/submissions/validate": "validateSubmission",
4365
5971
  "POST /webhooks": "createWebhook",
5972
+ "PUT /email_actions/{email_action_id}": "updateAccountEmailAction",
4366
5973
  "PUT /signature_requests/{signature_request_id}": "updateSignatureRequest",
4367
5974
  "PUT /templates/{template_id}": "updateTemplate",
4368
5975
  "PUT /templates/{template_id}/document": "updateTemplateDocument",
4369
5976
  "PUT /templates/{template_id}/document/upload": "uploadTemplateDocument",
5977
+ "PUT /templates/{template_id}/email_actions/{email_action_id}": "updateEmailAction",
5978
+ "PUT /templates/{template_id}/email_actions/{email_action_id}/customization": "updateEmailActionCustomization",
4370
5979
  "PUT /templates/{template_id}/fields": "updateTemplateFields",
4371
5980
  "PUT /webhooks/{webhook_id}": "updateWebhook"
4372
5981
  },
@@ -4385,7 +5994,8 @@
4385
5994
  },
4386
5995
  "id": {
4387
5996
  "type": "string",
4388
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

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

   ]",
5998
+ "x-pattern-message": "can't be blank"
4389
5999
  }
4390
6000
  },
4391
6001
  "additionalProperties": false,
@@ -4408,7 +6018,8 @@
4408
6018
  },
4409
6019
  "id": {
4410
6020
  "type": "string",
4411
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

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

   ]",
6022
+ "x-pattern-message": "can't be blank"
4412
6023
  }
4413
6024
  },
4414
6025
  "additionalProperties": false,
@@ -4833,10 +6444,17 @@
4833
6444
  "type": "string",
4834
6445
  "enum": [
4835
6446
  "equals",
6447
+ "not_equals",
4836
6448
  "contains",
6449
+ "not_contains",
4837
6450
  "starts_with",
6451
+ "not_starts_with",
4838
6452
  "ends_with",
4839
- "regex"
6453
+ "not_ends_with",
6454
+ "regex",
6455
+ "not_regex",
6456
+ "blank",
6457
+ "not_blank"
4840
6458
  ]
4841
6459
  },
4842
6460
  "number_condition_type": {
@@ -5030,7 +6648,8 @@
5030
6648
  },
5031
6649
  "id": {
5032
6650
  "type": "string",
5033
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

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

   ]",
6652
+ "x-pattern-message": "can't be blank"
5034
6653
  }
5035
6654
  },
5036
6655
  "additionalProperties": false,
@@ -5053,11 +6672,12 @@
5053
6672
  },
5054
6673
  "id": {
5055
6674
  "type": "string",
5056
- "minLength": 1"[^ \t\n\u000b\f\r…   - 

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

   ]",
6676
+ "x-pattern-message": "can't be blank"
5057
6677
  },
5058
6678
  "template_version": {
5059
6679
  "type": "string",
5060
- "pattern": "^(\\d+(\\.\\d+(\\.\\d+)?)?|latest|draft)$",
6680
+ "pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
5061
6681
  "x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
5062
6682
  },
5063
6683
  "processed": {