docspring 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.
- package/README.md +20 -1
- package/dist/ApiClient.js +2 -2
- package/dist/RequestSchemas.js +1118 -93
- package/dist/RequestValidator.js +4 -0
- package/dist/api/Client.js +1360 -206
- package/dist/index.js +196 -0
- package/dist/model/AddTemplateFieldsRequest.js +3 -3
- package/dist/model/AuthenticationCheck.js +1 -1
- package/dist/model/CombinedPdf.js +1 -1
- package/dist/model/CombinedPdfFiles.js +1 -1
- package/dist/model/CombinedPdfList.js +1 -1
- package/dist/model/CombinedPdfSource.js +2 -2
- package/dist/model/CombinedPdfSourceInput.js +2 -2
- package/dist/model/CombinedPdfSourcePdf.js +1 -1
- package/dist/model/CopyTemplateRequest.js +1 -1
- package/dist/model/CreateAccountEmailActionRequest.js +306 -0
- package/dist/model/CreateCombinedPdfRequest.js +1 -1
- package/dist/model/CreateCustomFileFromUploadRequest.js +1 -1
- package/dist/model/CreateEmailActionRequest.js +280 -0
- package/dist/model/CreateEmailDomainRequest.js +114 -0
- package/dist/model/CreateFolderRequest.js +1 -1
- package/dist/model/CreateSignatureRequestEventRequest.js +1 -1
- package/dist/model/CreateSignatureRequestTokenRequest.js +1 -1
- package/dist/model/CreateSubmissionBatchRequest.js +4 -4
- package/dist/model/CreateSubmissionRequest.js +112 -4
- package/dist/model/CreateTemplatePreviewRequest.js +1 -1
- package/dist/model/CreateTemplateRequest.js +103 -8
- package/dist/model/CreateWebhookRequest.js +1 -1
- package/dist/model/CustomFile.js +1 -1
- package/dist/model/CustomFileList.js +1 -1
- package/dist/model/CustomFileSourcePdf.js +1 -1
- package/dist/model/DnsRecordType.js +64 -0
- package/dist/model/EmailAction.js +510 -0
- package/dist/model/EmailActionConditions.js +142 -0
- package/dist/model/EmailActionConditionsInput.js +142 -0
- package/dist/model/EmailActionCustomization.js +222 -0
- package/dist/model/EmailActionDelivery.js +59 -0
- package/dist/model/EmailActionFileFormats.js +69 -0
- package/dist/model/EmailActionList.js +132 -0
- package/dist/model/EmailActionSetting.js +119 -0
- package/dist/model/EmailActionSubmissionType.js +64 -0
- package/dist/model/EmailActionTestEmail.js +116 -0
- package/dist/model/EmailDomain.js +245 -0
- package/dist/model/EmailDomainDnsRecord.js +155 -0
- package/dist/model/EmailDomainDnsRecordPurpose.js +64 -0
- package/dist/model/EmailDomainList.js +132 -0
- package/dist/model/EmailDomainRecordState.js +64 -0
- package/dist/model/EmailDomainState.js +64 -0
- package/dist/model/ErrorCode.js +10 -0
- package/dist/model/ErrorDetail.js +1 -1
- package/dist/model/ErrorInfo.js +46 -7
- package/dist/model/ErrorResponse.js +1 -1
- package/dist/model/Field.js +3 -3
- package/dist/model/FieldComparisonCondition.js +1 -1
- package/dist/model/FieldDependency.js +1 -1
- package/dist/model/FieldDependencyInput.js +1 -1
- package/dist/model/FieldEqualsCondition.js +1 -1
- package/dist/model/FieldGroup.js +1 -1
- package/dist/model/FieldGroupInput.js +1 -1
- package/dist/model/FieldInCondition.js +1 -1
- package/dist/model/FieldInput.js +2 -2
- package/dist/model/FieldOverride.js +1 -1
- package/dist/model/FieldPresenceCondition.js +1 -1
- package/dist/model/FieldRangeCondition.js +1 -1
- package/dist/model/Folder.js +1 -1
- package/dist/model/FolderList.js +1 -1
- package/dist/model/GenerateSubmissionFilesRequest.js +1 -1
- package/dist/model/GeneratedFile.js +1 -1
- package/dist/model/HtmlEngineOptions.js +3 -3
- package/dist/model/HtmlEngineOptionsInput.js +2 -2
- package/dist/model/MoveFolderRequest.js +1 -1
- package/dist/model/MoveTemplateRequest.js +1 -1
- package/dist/model/PageImage.js +1 -1
- package/dist/model/PageImages.js +1 -1
- package/dist/model/PredefinedField.js +1 -1
- package/dist/model/PredefinedFieldInput.js +1 -1
- package/dist/model/PublishTemplateVersionRequest.js +1 -1
- package/dist/model/RemoveTemplateFieldsRequest.js +1 -1
- package/dist/model/RenameFolderRequest.js +1 -1
- package/dist/model/ReorderTemplateFieldsRequest.js +1 -1
- package/dist/model/RestoreTemplateVersionRequest.js +1 -1
- package/dist/model/SendAccountEmailActionTestEmailRequest.js +91 -0
- package/dist/model/SignatureRequest.js +52 -7
- package/dist/model/SignatureRequestEmailAttachments.js +59 -0
- package/dist/model/SignatureRequestEmailStatus.js +89 -0
- package/dist/model/SignatureRequestEvent.js +1 -1
- package/dist/model/SignatureRequestEventType.js +11 -1
- package/dist/model/SignatureRequestInput.js +24 -8
- package/dist/model/SignatureRequestReminders.js +121 -0
- package/dist/model/SignatureRequestToken.js +1 -1
- package/dist/model/SigningOrder.js +59 -0
- package/dist/model/StringConditionType.js +36 -1
- package/dist/model/Submission.js +21 -9
- package/dist/model/SubmissionAction.js +27 -12
- package/dist/model/SubmissionBatch.js +1 -1
- package/dist/model/SubmissionFiles.js +1 -1
- package/dist/model/SubmissionInput.js +4 -4
- package/dist/model/SubmissionList.js +1 -1
- package/dist/model/SubmissionSourcePdf.js +1 -1
- package/dist/model/SubmissionSummary.js +3 -3
- package/dist/model/SubmissionValidation.js +1 -1
- package/dist/model/Template.js +130 -19
- package/dist/model/TemplateActor.js +1 -1
- package/dist/model/TemplateDefaults.js +1 -1
- package/dist/model/TemplateDefaultsInput.js +1 -1
- package/dist/model/TemplateDiff.js +1 -1
- package/dist/model/TemplateDiffSummary.js +1 -1
- package/dist/model/TemplateDocument.js +1 -1
- package/dist/model/TemplateDocumentSummary.js +1 -1
- package/dist/model/TemplateFieldChange.js +1 -1
- package/dist/model/TemplateFieldChanges.js +1 -1
- package/dist/model/TemplateFieldDependency.js +1 -1
- package/dist/model/TemplateFieldDependencyCondition.js +1 -1
- package/dist/model/TemplateFieldDependencyConditionInput.js +1 -1
- package/dist/model/TemplateFieldDependencyInput.js +1 -1
- package/dist/model/TemplateFieldMove.js +1 -1
- package/dist/model/TemplateFields.js +1 -1
- package/dist/model/TemplateModelCode.js +1 -1
- package/dist/model/TemplatePageImages.js +1 -1
- package/dist/model/TemplatePageProcessingStatus.js +1 -1
- package/dist/model/TemplatePreview.js +1 -1
- package/dist/model/TemplateSourcePdf.js +2 -2
- package/dist/model/TemplateSummary.js +9 -9
- package/dist/model/TemplateSummaryList.js +1 -1
- package/dist/model/TemplateType.js +6 -1
- package/dist/model/TemplateVersion.js +1 -1
- package/dist/model/UpdateAccountEmailActionRequest.js +306 -0
- package/dist/model/UpdateEmailActionCustomizationRequest.js +258 -0
- package/dist/model/UpdateEmailActionRequest.js +280 -0
- package/dist/model/UpdateSignatureRequestRequest.js +1 -1
- package/dist/model/UpdateTemplateDocumentRequest.js +2 -2
- package/dist/model/UpdateTemplateFieldsRequest.js +1 -1
- package/dist/model/UpdateTemplateRequest.js +100 -5
- package/dist/model/UpdateWebhookRequest.js +1 -1
- package/dist/model/UploadPresign.js +1 -1
- package/dist/model/UrlSourcePdf.js +1 -1
- package/dist/model/ValidateSubmissionRequest.js +112 -4
- package/dist/model/Webhook.js +1 -1
- package/dist/model/WebhookEventType.js +10 -0
- package/dist/model/WebhookList.js +1 -1
- package/package.json +1 -1
package/dist/RequestSchemas.js
CHANGED
|
@@ -297,7 +297,7 @@ var _default = exports["default"] = {
|
|
|
297
297
|
},
|
|
298
298
|
"string_condition_type": {
|
|
299
299
|
"type": "string",
|
|
300
|
-
"enum": ["equals", "contains", "starts_with", "ends_with", "regex"]
|
|
300
|
+
"enum": ["equals", "not_equals", "contains", "not_contains", "starts_with", "not_starts_with", "ends_with", "not_ends_with", "regex", "not_regex", "blank", "not_blank"]
|
|
301
301
|
},
|
|
302
302
|
"number_condition_type": {
|
|
303
303
|
"type": "string",
|
|
@@ -391,16 +391,18 @@ var _default = exports["default"] = {
|
|
|
391
391
|
"properties": {
|
|
392
392
|
"name": {
|
|
393
393
|
"type": "string",
|
|
394
|
-
"
|
|
395
|
-
"
|
|
394
|
+
"maxLength": 512,
|
|
395
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
396
|
+
"x-pattern-message": "can't be blank"
|
|
396
397
|
},
|
|
397
398
|
"parent_folder_id": {
|
|
398
399
|
"type": ["string", "null"],
|
|
399
|
-
"
|
|
400
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
401
|
+
"x-pattern-message": "can't be blank"
|
|
400
402
|
},
|
|
401
403
|
"version": {
|
|
402
404
|
"type": "string",
|
|
403
|
-
"pattern": "
|
|
405
|
+
"pattern": "^(0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}$",
|
|
404
406
|
"x-pattern-message": "must be a published version like 1.2.3 or 1"
|
|
405
407
|
}
|
|
406
408
|
},
|
|
@@ -408,6 +410,146 @@ var _default = exports["default"] = {
|
|
|
408
410
|
}
|
|
409
411
|
}
|
|
410
412
|
},
|
|
413
|
+
"createAccountEmailAction": {
|
|
414
|
+
"body": {
|
|
415
|
+
"mediaType": "application/json",
|
|
416
|
+
"required": true,
|
|
417
|
+
"schema": {
|
|
418
|
+
"type": "object",
|
|
419
|
+
"properties": {
|
|
420
|
+
"template_ids": {
|
|
421
|
+
"type": "array",
|
|
422
|
+
"maxItems": 500,
|
|
423
|
+
"items": {
|
|
424
|
+
"type": "string",
|
|
425
|
+
"maxLength": 255,
|
|
426
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
427
|
+
"x-pattern-message": "can't be blank"
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
"folder_ids": {
|
|
431
|
+
"type": "array",
|
|
432
|
+
"maxItems": 500,
|
|
433
|
+
"items": {
|
|
434
|
+
"type": "string",
|
|
435
|
+
"maxLength": 255,
|
|
436
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
437
|
+
"x-pattern-message": "can't be blank"
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
"name": {
|
|
441
|
+
"type": ["string", "null"],
|
|
442
|
+
"maxLength": 512
|
|
443
|
+
},
|
|
444
|
+
"enabled": {
|
|
445
|
+
"type": "boolean"
|
|
446
|
+
},
|
|
447
|
+
"to": {
|
|
448
|
+
"type": "array",
|
|
449
|
+
"maxItems": 10,
|
|
450
|
+
"items": {
|
|
451
|
+
"type": "string",
|
|
452
|
+
"maxLength": 512
|
|
453
|
+
}
|
|
454
|
+
},
|
|
455
|
+
"cc": {
|
|
456
|
+
"type": "array",
|
|
457
|
+
"maxItems": 10,
|
|
458
|
+
"items": {
|
|
459
|
+
"type": "string",
|
|
460
|
+
"maxLength": 512
|
|
461
|
+
}
|
|
462
|
+
},
|
|
463
|
+
"bcc": {
|
|
464
|
+
"type": "array",
|
|
465
|
+
"maxItems": 10,
|
|
466
|
+
"items": {
|
|
467
|
+
"type": "string",
|
|
468
|
+
"maxLength": 512
|
|
469
|
+
}
|
|
470
|
+
},
|
|
471
|
+
"from_name": {
|
|
472
|
+
"type": ["string", "null"],
|
|
473
|
+
"maxLength": 64
|
|
474
|
+
},
|
|
475
|
+
"from_address": {
|
|
476
|
+
"type": ["string", "null"],
|
|
477
|
+
"maxLength": 254
|
|
478
|
+
},
|
|
479
|
+
"reply_to": {
|
|
480
|
+
"type": ["string", "null"],
|
|
481
|
+
"maxLength": 254
|
|
482
|
+
},
|
|
483
|
+
"subject": {
|
|
484
|
+
"type": ["string", "null"],
|
|
485
|
+
"maxLength": 200
|
|
486
|
+
},
|
|
487
|
+
"message": {
|
|
488
|
+
"type": ["string", "null"],
|
|
489
|
+
"maxLength": 2000
|
|
490
|
+
},
|
|
491
|
+
"file_name": {
|
|
492
|
+
"type": ["string", "null"],
|
|
493
|
+
"maxLength": 200
|
|
494
|
+
},
|
|
495
|
+
"file_formats": {
|
|
496
|
+
"type": "string",
|
|
497
|
+
"enum": ["docx", "odt", "pdf", "all"]
|
|
498
|
+
},
|
|
499
|
+
"delivery": {
|
|
500
|
+
"type": "string",
|
|
501
|
+
"enum": ["attachment", "link"]
|
|
502
|
+
},
|
|
503
|
+
"max_attachment_mb": {
|
|
504
|
+
"type": "integer",
|
|
505
|
+
"minimum": 1,
|
|
506
|
+
"maximum": 25
|
|
507
|
+
},
|
|
508
|
+
"submission_type": {
|
|
509
|
+
"type": "string",
|
|
510
|
+
"enum": ["live", "test", "all"]
|
|
511
|
+
},
|
|
512
|
+
"send_when": {
|
|
513
|
+
"type": ["object", "null"],
|
|
514
|
+
"required": ["conditions"],
|
|
515
|
+
"properties": {
|
|
516
|
+
"match": {
|
|
517
|
+
"type": "string",
|
|
518
|
+
"enum": ["all", "any"]
|
|
519
|
+
},
|
|
520
|
+
"conditions": {
|
|
521
|
+
"type": "array",
|
|
522
|
+
"items": {
|
|
523
|
+
"oneOf": [{
|
|
524
|
+
"$ref": "#/components/schemas/FieldPresenceCondition"
|
|
525
|
+
}, {
|
|
526
|
+
"$ref": "#/components/schemas/FieldEqualsCondition"
|
|
527
|
+
}, {
|
|
528
|
+
"$ref": "#/components/schemas/FieldInCondition"
|
|
529
|
+
}, {
|
|
530
|
+
"$ref": "#/components/schemas/FieldComparisonCondition"
|
|
531
|
+
}, {
|
|
532
|
+
"$ref": "#/components/schemas/FieldRangeCondition"
|
|
533
|
+
}],
|
|
534
|
+
"discriminator": {
|
|
535
|
+
"propertyName": "operator",
|
|
536
|
+
"mapping": [["present", "#/components/schemas/FieldPresenceCondition"], ["blank", "#/components/schemas/FieldPresenceCondition"], ["equals", "#/components/schemas/FieldEqualsCondition"], ["not_equals", "#/components/schemas/FieldEqualsCondition"], ["in", "#/components/schemas/FieldInCondition"], ["gt", "#/components/schemas/FieldComparisonCondition"], ["gte", "#/components/schemas/FieldComparisonCondition"], ["lt", "#/components/schemas/FieldComparisonCondition"], ["lte", "#/components/schemas/FieldComparisonCondition"], ["range", "#/components/schemas/FieldRangeCondition"]]
|
|
537
|
+
}
|
|
538
|
+
},
|
|
539
|
+
"minItems": 1,
|
|
540
|
+
"maxItems": 20
|
|
541
|
+
}
|
|
542
|
+
},
|
|
543
|
+
"additionalProperties": false
|
|
544
|
+
},
|
|
545
|
+
"failure_notifications_enabled": {
|
|
546
|
+
"type": "boolean"
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
"additionalProperties": false
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
},
|
|
411
553
|
"createCombinedPdf": {
|
|
412
554
|
"query": {
|
|
413
555
|
"wait": {
|
|
@@ -475,14 +617,152 @@ var _default = exports["default"] = {
|
|
|
475
617
|
"properties": {
|
|
476
618
|
"cache_id": {
|
|
477
619
|
"type": "string",
|
|
478
|
-
"
|
|
479
|
-
"
|
|
620
|
+
"maxLength": 255,
|
|
621
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
622
|
+
"x-pattern-message": "can't be blank"
|
|
480
623
|
}
|
|
481
624
|
},
|
|
482
625
|
"additionalProperties": false
|
|
483
626
|
}
|
|
484
627
|
}
|
|
485
628
|
},
|
|
629
|
+
"createEmailAction": {
|
|
630
|
+
"body": {
|
|
631
|
+
"mediaType": "application/json",
|
|
632
|
+
"required": true,
|
|
633
|
+
"schema": {
|
|
634
|
+
"type": "object",
|
|
635
|
+
"properties": {
|
|
636
|
+
"name": {
|
|
637
|
+
"type": ["string", "null"],
|
|
638
|
+
"maxLength": 512
|
|
639
|
+
},
|
|
640
|
+
"enabled": {
|
|
641
|
+
"type": "boolean"
|
|
642
|
+
},
|
|
643
|
+
"to": {
|
|
644
|
+
"type": "array",
|
|
645
|
+
"maxItems": 10,
|
|
646
|
+
"items": {
|
|
647
|
+
"type": "string",
|
|
648
|
+
"maxLength": 512
|
|
649
|
+
}
|
|
650
|
+
},
|
|
651
|
+
"cc": {
|
|
652
|
+
"type": "array",
|
|
653
|
+
"maxItems": 10,
|
|
654
|
+
"items": {
|
|
655
|
+
"type": "string",
|
|
656
|
+
"maxLength": 512
|
|
657
|
+
}
|
|
658
|
+
},
|
|
659
|
+
"bcc": {
|
|
660
|
+
"type": "array",
|
|
661
|
+
"maxItems": 10,
|
|
662
|
+
"items": {
|
|
663
|
+
"type": "string",
|
|
664
|
+
"maxLength": 512
|
|
665
|
+
}
|
|
666
|
+
},
|
|
667
|
+
"from_name": {
|
|
668
|
+
"type": ["string", "null"],
|
|
669
|
+
"maxLength": 64
|
|
670
|
+
},
|
|
671
|
+
"from_address": {
|
|
672
|
+
"type": ["string", "null"],
|
|
673
|
+
"maxLength": 254
|
|
674
|
+
},
|
|
675
|
+
"reply_to": {
|
|
676
|
+
"type": ["string", "null"],
|
|
677
|
+
"maxLength": 254
|
|
678
|
+
},
|
|
679
|
+
"subject": {
|
|
680
|
+
"type": ["string", "null"],
|
|
681
|
+
"maxLength": 200
|
|
682
|
+
},
|
|
683
|
+
"message": {
|
|
684
|
+
"type": ["string", "null"],
|
|
685
|
+
"maxLength": 2000
|
|
686
|
+
},
|
|
687
|
+
"file_name": {
|
|
688
|
+
"type": ["string", "null"],
|
|
689
|
+
"maxLength": 200
|
|
690
|
+
},
|
|
691
|
+
"file_formats": {
|
|
692
|
+
"type": "string",
|
|
693
|
+
"enum": ["docx", "odt", "pdf", "all"]
|
|
694
|
+
},
|
|
695
|
+
"delivery": {
|
|
696
|
+
"type": "string",
|
|
697
|
+
"enum": ["attachment", "link"]
|
|
698
|
+
},
|
|
699
|
+
"max_attachment_mb": {
|
|
700
|
+
"type": "integer",
|
|
701
|
+
"minimum": 1,
|
|
702
|
+
"maximum": 25
|
|
703
|
+
},
|
|
704
|
+
"submission_type": {
|
|
705
|
+
"type": "string",
|
|
706
|
+
"enum": ["live", "test", "all"]
|
|
707
|
+
},
|
|
708
|
+
"send_when": {
|
|
709
|
+
"type": ["object", "null"],
|
|
710
|
+
"required": ["conditions"],
|
|
711
|
+
"properties": {
|
|
712
|
+
"match": {
|
|
713
|
+
"type": "string",
|
|
714
|
+
"enum": ["all", "any"]
|
|
715
|
+
},
|
|
716
|
+
"conditions": {
|
|
717
|
+
"type": "array",
|
|
718
|
+
"items": {
|
|
719
|
+
"oneOf": [{
|
|
720
|
+
"$ref": "#/components/schemas/FieldPresenceCondition"
|
|
721
|
+
}, {
|
|
722
|
+
"$ref": "#/components/schemas/FieldEqualsCondition"
|
|
723
|
+
}, {
|
|
724
|
+
"$ref": "#/components/schemas/FieldInCondition"
|
|
725
|
+
}, {
|
|
726
|
+
"$ref": "#/components/schemas/FieldComparisonCondition"
|
|
727
|
+
}, {
|
|
728
|
+
"$ref": "#/components/schemas/FieldRangeCondition"
|
|
729
|
+
}],
|
|
730
|
+
"discriminator": {
|
|
731
|
+
"propertyName": "operator",
|
|
732
|
+
"mapping": [["present", "#/components/schemas/FieldPresenceCondition"], ["blank", "#/components/schemas/FieldPresenceCondition"], ["equals", "#/components/schemas/FieldEqualsCondition"], ["not_equals", "#/components/schemas/FieldEqualsCondition"], ["in", "#/components/schemas/FieldInCondition"], ["gt", "#/components/schemas/FieldComparisonCondition"], ["gte", "#/components/schemas/FieldComparisonCondition"], ["lt", "#/components/schemas/FieldComparisonCondition"], ["lte", "#/components/schemas/FieldComparisonCondition"], ["range", "#/components/schemas/FieldRangeCondition"]]
|
|
733
|
+
}
|
|
734
|
+
},
|
|
735
|
+
"minItems": 1,
|
|
736
|
+
"maxItems": 20
|
|
737
|
+
}
|
|
738
|
+
},
|
|
739
|
+
"additionalProperties": false
|
|
740
|
+
},
|
|
741
|
+
"failure_notifications_enabled": {
|
|
742
|
+
"type": "boolean"
|
|
743
|
+
}
|
|
744
|
+
},
|
|
745
|
+
"additionalProperties": false
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
},
|
|
749
|
+
"createEmailDomain": {
|
|
750
|
+
"body": {
|
|
751
|
+
"mediaType": "application/json",
|
|
752
|
+
"required": true,
|
|
753
|
+
"schema": {
|
|
754
|
+
"type": "object",
|
|
755
|
+
"properties": {
|
|
756
|
+
"domain": {
|
|
757
|
+
"type": "string",
|
|
758
|
+
"maxLength": 253
|
|
759
|
+
}
|
|
760
|
+
},
|
|
761
|
+
"required": ["domain"],
|
|
762
|
+
"additionalProperties": false
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
},
|
|
486
766
|
"createFolder": {
|
|
487
767
|
"body": {
|
|
488
768
|
"mediaType": "application/json",
|
|
@@ -499,7 +779,8 @@ var _default = exports["default"] = {
|
|
|
499
779
|
},
|
|
500
780
|
"parent_folder_id": {
|
|
501
781
|
"type": ["string", "null"],
|
|
502
|
-
"
|
|
782
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
783
|
+
"x-pattern-message": "can't be blank"
|
|
503
784
|
}
|
|
504
785
|
},
|
|
505
786
|
"required": ["name"],
|
|
@@ -558,7 +839,7 @@ var _default = exports["default"] = {
|
|
|
558
839
|
"required": false,
|
|
559
840
|
"schema": {
|
|
560
841
|
"type": "string",
|
|
561
|
-
"pattern": "^(\\d
|
|
842
|
+
"pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
|
|
562
843
|
"x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
|
|
563
844
|
}
|
|
564
845
|
},
|
|
@@ -629,7 +910,9 @@ var _default = exports["default"] = {
|
|
|
629
910
|
},
|
|
630
911
|
"email": {
|
|
631
912
|
"type": ["string", "null"],
|
|
632
|
-
"maxLength": 254
|
|
913
|
+
"maxLength": 254,
|
|
914
|
+
"pattern": "^[^ \t\n\x0B\f\r@]+@[^ \t\n\x0B\f\r@]+$",
|
|
915
|
+
"x-pattern-message": "must be an email address, like name@example.com"
|
|
633
916
|
},
|
|
634
917
|
"fields": {
|
|
635
918
|
"type": "array",
|
|
@@ -680,11 +963,75 @@ var _default = exports["default"] = {
|
|
|
680
963
|
},
|
|
681
964
|
"prefilled_values_editable": {
|
|
682
965
|
"type": "boolean"
|
|
966
|
+
},
|
|
967
|
+
"send_email": {
|
|
968
|
+
"type": "boolean"
|
|
969
|
+
},
|
|
970
|
+
"signing_step": {
|
|
971
|
+
"type": "integer",
|
|
972
|
+
"minimum": 1,
|
|
973
|
+
"maximum": 100
|
|
683
974
|
}
|
|
684
975
|
},
|
|
685
|
-
"required": ["fields"
|
|
976
|
+
"required": ["fields"],
|
|
686
977
|
"additionalProperties": false
|
|
687
978
|
}
|
|
979
|
+
},
|
|
980
|
+
"send_email": {
|
|
981
|
+
"type": "boolean"
|
|
982
|
+
},
|
|
983
|
+
"signing_order": {
|
|
984
|
+
"type": "string",
|
|
985
|
+
"enum": ["parallel", "sequential"]
|
|
986
|
+
},
|
|
987
|
+
"email_subject": {
|
|
988
|
+
"type": "string",
|
|
989
|
+
"minLength": 1,
|
|
990
|
+
"maxLength": 200
|
|
991
|
+
},
|
|
992
|
+
"email_message": {
|
|
993
|
+
"type": "string",
|
|
994
|
+
"minLength": 1,
|
|
995
|
+
"maxLength": 2000
|
|
996
|
+
},
|
|
997
|
+
"cc": {
|
|
998
|
+
"type": "array",
|
|
999
|
+
"maxItems": 10,
|
|
1000
|
+
"uniqueItems": true,
|
|
1001
|
+
"items": {
|
|
1002
|
+
"type": "string"
|
|
1003
|
+
}
|
|
1004
|
+
},
|
|
1005
|
+
"reply_to": {
|
|
1006
|
+
"type": "string"
|
|
1007
|
+
},
|
|
1008
|
+
"notification_emails": {
|
|
1009
|
+
"type": "array",
|
|
1010
|
+
"maxItems": 10,
|
|
1011
|
+
"uniqueItems": true,
|
|
1012
|
+
"items": {
|
|
1013
|
+
"type": "string"
|
|
1014
|
+
}
|
|
1015
|
+
},
|
|
1016
|
+
"notify_when_signed": {
|
|
1017
|
+
"type": "boolean"
|
|
1018
|
+
},
|
|
1019
|
+
"reminders": {
|
|
1020
|
+
"type": "object",
|
|
1021
|
+
"additionalProperties": false,
|
|
1022
|
+
"required": ["interval_days", "max_count"],
|
|
1023
|
+
"properties": {
|
|
1024
|
+
"interval_days": {
|
|
1025
|
+
"type": "integer",
|
|
1026
|
+
"minimum": 1,
|
|
1027
|
+
"maximum": 30
|
|
1028
|
+
},
|
|
1029
|
+
"max_count": {
|
|
1030
|
+
"type": "integer",
|
|
1031
|
+
"minimum": 1,
|
|
1032
|
+
"maximum": 10
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
688
1035
|
}
|
|
689
1036
|
},
|
|
690
1037
|
"additionalProperties": false
|
|
@@ -710,11 +1057,13 @@ var _default = exports["default"] = {
|
|
|
710
1057
|
"type": "object"
|
|
711
1058
|
},
|
|
712
1059
|
"template_id": {
|
|
713
|
-
"type": "string"
|
|
1060
|
+
"type": "string",
|
|
1061
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
1062
|
+
"x-pattern-message": "can't be blank"
|
|
714
1063
|
},
|
|
715
1064
|
"template_version": {
|
|
716
1065
|
"type": "string",
|
|
717
|
-
"pattern": "^(\\d
|
|
1066
|
+
"pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
|
|
718
1067
|
"x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
|
|
719
1068
|
},
|
|
720
1069
|
"test": {
|
|
@@ -779,11 +1128,13 @@ var _default = exports["default"] = {
|
|
|
779
1128
|
"type": "string"
|
|
780
1129
|
},
|
|
781
1130
|
"template_id": {
|
|
782
|
-
"type": "string"
|
|
1131
|
+
"type": "string",
|
|
1132
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
1133
|
+
"x-pattern-message": "can't be blank"
|
|
783
1134
|
},
|
|
784
1135
|
"template_version": {
|
|
785
1136
|
"type": "string",
|
|
786
|
-
"pattern": "^(\\d
|
|
1137
|
+
"pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
|
|
787
1138
|
"x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
|
|
788
1139
|
}
|
|
789
1140
|
},
|
|
@@ -813,15 +1164,16 @@ var _default = exports["default"] = {
|
|
|
813
1164
|
"properties": {
|
|
814
1165
|
"name": {
|
|
815
1166
|
"type": "string",
|
|
816
|
-
"
|
|
817
|
-
"
|
|
1167
|
+
"maxLength": 512,
|
|
1168
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
1169
|
+
"x-pattern-message": "can't be blank"
|
|
818
1170
|
},
|
|
819
1171
|
"description": {
|
|
820
1172
|
"type": ["string", "null"]
|
|
821
1173
|
},
|
|
822
1174
|
"template_type": {
|
|
823
1175
|
"type": "string",
|
|
824
|
-
"enum": ["pdf", "html", "docx"]
|
|
1176
|
+
"enum": ["pdf", "html", "docx", "page_designer"]
|
|
825
1177
|
},
|
|
826
1178
|
"output_format": {
|
|
827
1179
|
"type": "string",
|
|
@@ -829,7 +1181,8 @@ var _default = exports["default"] = {
|
|
|
829
1181
|
},
|
|
830
1182
|
"parent_folder_id": {
|
|
831
1183
|
"type": ["string", "null"],
|
|
832
|
-
"
|
|
1184
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
1185
|
+
"x-pattern-message": "can't be blank"
|
|
833
1186
|
},
|
|
834
1187
|
"locked": {
|
|
835
1188
|
"type": "boolean"
|
|
@@ -906,6 +1259,35 @@ var _default = exports["default"] = {
|
|
|
906
1259
|
"type": ["string", "null"],
|
|
907
1260
|
"format": "uri"
|
|
908
1261
|
},
|
|
1262
|
+
"signature_request_email_attachments": {
|
|
1263
|
+
"type": ["string", "null"],
|
|
1264
|
+
"enum": ["attachment", "link", null]
|
|
1265
|
+
},
|
|
1266
|
+
"signature_request_from_address": {
|
|
1267
|
+
"type": ["string", "null"]
|
|
1268
|
+
},
|
|
1269
|
+
"signature_request_include_signing_token": {
|
|
1270
|
+
"type": "boolean"
|
|
1271
|
+
},
|
|
1272
|
+
"signature_request_from_name": {
|
|
1273
|
+
"type": ["string", "null"],
|
|
1274
|
+
"maxLength": 64
|
|
1275
|
+
},
|
|
1276
|
+
"signature_request_notification_emails": {
|
|
1277
|
+
"type": "array",
|
|
1278
|
+
"maxItems": 10,
|
|
1279
|
+
"uniqueItems": true,
|
|
1280
|
+
"items": {
|
|
1281
|
+
"type": "string"
|
|
1282
|
+
}
|
|
1283
|
+
},
|
|
1284
|
+
"signature_request_reply_to": {
|
|
1285
|
+
"type": ["string", "null"]
|
|
1286
|
+
},
|
|
1287
|
+
"signature_request_signing_url": {
|
|
1288
|
+
"type": ["string", "null"],
|
|
1289
|
+
"maxLength": 2048
|
|
1290
|
+
},
|
|
909
1291
|
"slack_webhook_url": {
|
|
910
1292
|
"type": ["string", "null"],
|
|
911
1293
|
"format": "uri"
|
|
@@ -1112,7 +1494,8 @@ var _default = exports["default"] = {
|
|
|
1112
1494
|
},
|
|
1113
1495
|
"scale": {
|
|
1114
1496
|
"type": "number",
|
|
1115
|
-
"
|
|
1497
|
+
"minimum": 0.1,
|
|
1498
|
+
"maximum": 2
|
|
1116
1499
|
},
|
|
1117
1500
|
"landscape": {
|
|
1118
1501
|
"type": "boolean"
|
|
@@ -1138,10 +1521,14 @@ var _default = exports["default"] = {
|
|
|
1138
1521
|
"html_escape_data": {
|
|
1139
1522
|
"type": "boolean"
|
|
1140
1523
|
},
|
|
1524
|
+
"layout": {
|
|
1525
|
+
"type": ["object", "null"]
|
|
1526
|
+
},
|
|
1141
1527
|
"cache_id": {
|
|
1142
1528
|
"type": "string",
|
|
1143
|
-
"
|
|
1144
|
-
"
|
|
1529
|
+
"maxLength": 255,
|
|
1530
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
1531
|
+
"x-pattern-message": "can't be blank"
|
|
1145
1532
|
},
|
|
1146
1533
|
"document_url": {
|
|
1147
1534
|
"type": "string",
|
|
@@ -1157,7 +1544,9 @@ var _default = exports["default"] = {
|
|
|
1157
1544
|
"filename": {
|
|
1158
1545
|
"type": "string",
|
|
1159
1546
|
"minLength": 1,
|
|
1160
|
-
"maxLength": 255
|
|
1547
|
+
"maxLength": 255,
|
|
1548
|
+
"pattern": "^[^/\\\\]*$",
|
|
1549
|
+
"x-pattern-message": "can't contain a slash (/ or \\)"
|
|
1161
1550
|
},
|
|
1162
1551
|
"detect_fields": {
|
|
1163
1552
|
"type": "boolean"
|
|
@@ -1186,7 +1575,7 @@ var _default = exports["default"] = {
|
|
|
1186
1575
|
"required": false,
|
|
1187
1576
|
"schema": {
|
|
1188
1577
|
"type": "string",
|
|
1189
|
-
"pattern": "^(\\d
|
|
1578
|
+
"pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
|
|
1190
1579
|
"x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
|
|
1191
1580
|
}
|
|
1192
1581
|
}
|
|
@@ -1230,7 +1619,7 @@ var _default = exports["default"] = {
|
|
|
1230
1619
|
"uniqueItems": true,
|
|
1231
1620
|
"items": {
|
|
1232
1621
|
"type": "string",
|
|
1233
|
-
"enum": ["submission.processed", "submission.failed", "submission.declined", "signature_request.viewed", "signature_request.completed", "signature_request.declined", "combined_pdf.processed", "combined_pdf.failed", "submission_batch.processed", "submission_batch.failed", "submission.created", "submission.updated", "submission.expired", "signature_request.updated", "combined_pdf.expired", "template.created", "template.updated", "template.deleted", "webhook.created", "webhook.updated", "webhook.deleted", "custom_file.created", "folder.created", "folder.updated", "folder.deleted"]
|
|
1622
|
+
"enum": ["submission.processed", "submission.failed", "submission.declined", "signature_request.sent", "signature_request.viewed", "signature_request.completed", "signature_request.declined", "signature_request.email_bounced", "combined_pdf.processed", "combined_pdf.failed", "submission_batch.processed", "submission_batch.failed", "submission.created", "submission.updated", "submission.expired", "signature_request.updated", "combined_pdf.expired", "template.created", "template.updated", "template.deleted", "webhook.created", "webhook.updated", "webhook.deleted", "custom_file.created", "folder.created", "folder.updated", "folder.deleted"]
|
|
1234
1623
|
}
|
|
1235
1624
|
},
|
|
1236
1625
|
"mode": {
|
|
@@ -1241,21 +1630,27 @@ var _default = exports["default"] = {
|
|
|
1241
1630
|
"type": "array",
|
|
1242
1631
|
"uniqueItems": true,
|
|
1243
1632
|
"items": {
|
|
1244
|
-
"type": "string"
|
|
1633
|
+
"type": "string",
|
|
1634
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
1635
|
+
"x-pattern-message": "can't be blank"
|
|
1245
1636
|
}
|
|
1246
1637
|
},
|
|
1247
1638
|
"template_ids": {
|
|
1248
1639
|
"type": "array",
|
|
1249
1640
|
"uniqueItems": true,
|
|
1250
1641
|
"items": {
|
|
1251
|
-
"type": "string"
|
|
1642
|
+
"type": "string",
|
|
1643
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
1644
|
+
"x-pattern-message": "can't be blank"
|
|
1252
1645
|
}
|
|
1253
1646
|
},
|
|
1254
1647
|
"folder_ids": {
|
|
1255
1648
|
"type": "array",
|
|
1256
1649
|
"uniqueItems": true,
|
|
1257
1650
|
"items": {
|
|
1258
|
-
"type": "string"
|
|
1651
|
+
"type": "string",
|
|
1652
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
1653
|
+
"x-pattern-message": "can't be blank"
|
|
1259
1654
|
}
|
|
1260
1655
|
},
|
|
1261
1656
|
"include_submission_data": {
|
|
@@ -1279,7 +1674,11 @@ var _default = exports["default"] = {
|
|
|
1279
1674
|
}
|
|
1280
1675
|
}
|
|
1281
1676
|
},
|
|
1677
|
+
"deleteAccountEmailAction": {},
|
|
1282
1678
|
"deleteCustomFile": {},
|
|
1679
|
+
"deleteEmailAction": {},
|
|
1680
|
+
"deleteEmailActionCustomization": {},
|
|
1681
|
+
"deleteEmailDomain": {},
|
|
1283
1682
|
"deleteFolder": {},
|
|
1284
1683
|
"deleteTemplate": {
|
|
1285
1684
|
"query": {
|
|
@@ -1287,7 +1686,7 @@ var _default = exports["default"] = {
|
|
|
1287
1686
|
"required": false,
|
|
1288
1687
|
"schema": {
|
|
1289
1688
|
"type": "string",
|
|
1290
|
-
"pattern": "^(\\d
|
|
1689
|
+
"pattern": "^((0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)|draft)$",
|
|
1291
1690
|
"x-pattern-message": "must be a full version like 1.2.3, or draft"
|
|
1292
1691
|
}
|
|
1293
1692
|
}
|
|
@@ -1327,8 +1726,11 @@ var _default = exports["default"] = {
|
|
|
1327
1726
|
}
|
|
1328
1727
|
},
|
|
1329
1728
|
"generateSubmissionPreview": {},
|
|
1729
|
+
"getAccountEmailAction": {},
|
|
1330
1730
|
"getCombinedPdf": {},
|
|
1331
1731
|
"getCustomFile": {},
|
|
1732
|
+
"getEmailAction": {},
|
|
1733
|
+
"getEmailDomain": {},
|
|
1332
1734
|
"getFolder": {},
|
|
1333
1735
|
"getPresignUrl": {},
|
|
1334
1736
|
"getSignatureRequest": {},
|
|
@@ -1349,7 +1751,7 @@ var _default = exports["default"] = {
|
|
|
1349
1751
|
"required": false,
|
|
1350
1752
|
"schema": {
|
|
1351
1753
|
"type": "string",
|
|
1352
|
-
"pattern": "^(\\d
|
|
1754
|
+
"pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
|
|
1353
1755
|
"x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
|
|
1354
1756
|
}
|
|
1355
1757
|
}
|
|
@@ -1361,7 +1763,7 @@ var _default = exports["default"] = {
|
|
|
1361
1763
|
"required": false,
|
|
1362
1764
|
"schema": {
|
|
1363
1765
|
"type": "string",
|
|
1364
|
-
"pattern": "^(\\d
|
|
1766
|
+
"pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
|
|
1365
1767
|
"x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
|
|
1366
1768
|
}
|
|
1367
1769
|
}
|
|
@@ -1373,7 +1775,7 @@ var _default = exports["default"] = {
|
|
|
1373
1775
|
"required": false,
|
|
1374
1776
|
"schema": {
|
|
1375
1777
|
"type": "string",
|
|
1376
|
-
"pattern": "^(\\d
|
|
1778
|
+
"pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
|
|
1377
1779
|
"x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
|
|
1378
1780
|
}
|
|
1379
1781
|
},
|
|
@@ -1398,7 +1800,7 @@ var _default = exports["default"] = {
|
|
|
1398
1800
|
"required": false,
|
|
1399
1801
|
"schema": {
|
|
1400
1802
|
"type": "string",
|
|
1401
|
-
"pattern": "^(\\d
|
|
1803
|
+
"pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
|
|
1402
1804
|
"x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
|
|
1403
1805
|
}
|
|
1404
1806
|
}
|
|
@@ -1411,13 +1813,33 @@ var _default = exports["default"] = {
|
|
|
1411
1813
|
"required": false,
|
|
1412
1814
|
"schema": {
|
|
1413
1815
|
"type": "string",
|
|
1414
|
-
"pattern": "^(\\d
|
|
1816
|
+
"pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
|
|
1415
1817
|
"x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
|
|
1416
1818
|
}
|
|
1417
1819
|
}
|
|
1418
1820
|
}
|
|
1419
1821
|
},
|
|
1420
1822
|
"getWebhook": {},
|
|
1823
|
+
"listAccountEmailActions": {
|
|
1824
|
+
"query": {
|
|
1825
|
+
"limit": {
|
|
1826
|
+
"required": false,
|
|
1827
|
+
"schema": {
|
|
1828
|
+
"type": "integer",
|
|
1829
|
+
"minimum": 1,
|
|
1830
|
+
"maximum": 100
|
|
1831
|
+
}
|
|
1832
|
+
},
|
|
1833
|
+
"cursor": {
|
|
1834
|
+
"required": false,
|
|
1835
|
+
"schema": {
|
|
1836
|
+
"type": "string",
|
|
1837
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
1838
|
+
"x-pattern-message": "can't be blank"
|
|
1839
|
+
}
|
|
1840
|
+
}
|
|
1841
|
+
}
|
|
1842
|
+
},
|
|
1421
1843
|
"listCombinedPdfs": {
|
|
1422
1844
|
"query": {
|
|
1423
1845
|
"limit": {
|
|
@@ -1431,7 +1853,9 @@ var _default = exports["default"] = {
|
|
|
1431
1853
|
"cursor": {
|
|
1432
1854
|
"required": false,
|
|
1433
1855
|
"schema": {
|
|
1434
|
-
"type": "string"
|
|
1856
|
+
"type": "string",
|
|
1857
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
1858
|
+
"x-pattern-message": "can't be blank"
|
|
1435
1859
|
}
|
|
1436
1860
|
}
|
|
1437
1861
|
}
|
|
@@ -1449,7 +1873,49 @@ var _default = exports["default"] = {
|
|
|
1449
1873
|
"cursor": {
|
|
1450
1874
|
"required": false,
|
|
1451
1875
|
"schema": {
|
|
1452
|
-
"type": "string"
|
|
1876
|
+
"type": "string",
|
|
1877
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
1878
|
+
"x-pattern-message": "can't be blank"
|
|
1879
|
+
}
|
|
1880
|
+
}
|
|
1881
|
+
}
|
|
1882
|
+
},
|
|
1883
|
+
"listEmailActions": {
|
|
1884
|
+
"query": {
|
|
1885
|
+
"limit": {
|
|
1886
|
+
"required": false,
|
|
1887
|
+
"schema": {
|
|
1888
|
+
"type": "integer",
|
|
1889
|
+
"minimum": 1,
|
|
1890
|
+
"maximum": 100
|
|
1891
|
+
}
|
|
1892
|
+
},
|
|
1893
|
+
"cursor": {
|
|
1894
|
+
"required": false,
|
|
1895
|
+
"schema": {
|
|
1896
|
+
"type": "string",
|
|
1897
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
1898
|
+
"x-pattern-message": "can't be blank"
|
|
1899
|
+
}
|
|
1900
|
+
}
|
|
1901
|
+
}
|
|
1902
|
+
},
|
|
1903
|
+
"listEmailDomains": {
|
|
1904
|
+
"query": {
|
|
1905
|
+
"limit": {
|
|
1906
|
+
"required": false,
|
|
1907
|
+
"schema": {
|
|
1908
|
+
"type": "integer",
|
|
1909
|
+
"minimum": 1,
|
|
1910
|
+
"maximum": 100
|
|
1911
|
+
}
|
|
1912
|
+
},
|
|
1913
|
+
"cursor": {
|
|
1914
|
+
"required": false,
|
|
1915
|
+
"schema": {
|
|
1916
|
+
"type": "string",
|
|
1917
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
1918
|
+
"x-pattern-message": "can't be blank"
|
|
1453
1919
|
}
|
|
1454
1920
|
}
|
|
1455
1921
|
}
|
|
@@ -1459,7 +1925,9 @@ var _default = exports["default"] = {
|
|
|
1459
1925
|
"parent_folder_id": {
|
|
1460
1926
|
"required": false,
|
|
1461
1927
|
"schema": {
|
|
1462
|
-
"type": "string"
|
|
1928
|
+
"type": "string",
|
|
1929
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
1930
|
+
"x-pattern-message": "can't be blank"
|
|
1463
1931
|
}
|
|
1464
1932
|
},
|
|
1465
1933
|
"limit": {
|
|
@@ -1473,7 +1941,9 @@ var _default = exports["default"] = {
|
|
|
1473
1941
|
"cursor": {
|
|
1474
1942
|
"required": false,
|
|
1475
1943
|
"schema": {
|
|
1476
|
-
"type": "string"
|
|
1944
|
+
"type": "string",
|
|
1945
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
1946
|
+
"x-pattern-message": "can't be blank"
|
|
1477
1947
|
}
|
|
1478
1948
|
}
|
|
1479
1949
|
}
|
|
@@ -1483,7 +1953,9 @@ var _default = exports["default"] = {
|
|
|
1483
1953
|
"template_id": {
|
|
1484
1954
|
"required": false,
|
|
1485
1955
|
"schema": {
|
|
1486
|
-
"type": "string"
|
|
1956
|
+
"type": "string",
|
|
1957
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
1958
|
+
"x-pattern-message": "can't be blank"
|
|
1487
1959
|
}
|
|
1488
1960
|
},
|
|
1489
1961
|
"test": {
|
|
@@ -1523,7 +1995,9 @@ var _default = exports["default"] = {
|
|
|
1523
1995
|
"cursor": {
|
|
1524
1996
|
"required": false,
|
|
1525
1997
|
"schema": {
|
|
1526
|
-
"type": "string"
|
|
1998
|
+
"type": "string",
|
|
1999
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
2000
|
+
"x-pattern-message": "can't be blank"
|
|
1527
2001
|
}
|
|
1528
2002
|
},
|
|
1529
2003
|
"state": {
|
|
@@ -1547,7 +2021,7 @@ var _default = exports["default"] = {
|
|
|
1547
2021
|
"required": false,
|
|
1548
2022
|
"schema": {
|
|
1549
2023
|
"type": "string",
|
|
1550
|
-
"pattern": "^(\\d
|
|
2024
|
+
"pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
|
|
1551
2025
|
"x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
|
|
1552
2026
|
}
|
|
1553
2027
|
}
|
|
@@ -1592,7 +2066,9 @@ var _default = exports["default"] = {
|
|
|
1592
2066
|
"cursor": {
|
|
1593
2067
|
"required": false,
|
|
1594
2068
|
"schema": {
|
|
1595
|
-
"type": "string"
|
|
2069
|
+
"type": "string",
|
|
2070
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
2071
|
+
"x-pattern-message": "can't be blank"
|
|
1596
2072
|
}
|
|
1597
2073
|
},
|
|
1598
2074
|
"state": {
|
|
@@ -1615,13 +2091,17 @@ var _default = exports["default"] = {
|
|
|
1615
2091
|
"query": {
|
|
1616
2092
|
"required": false,
|
|
1617
2093
|
"schema": {
|
|
1618
|
-
"type": "string"
|
|
2094
|
+
"type": "string",
|
|
2095
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
2096
|
+
"x-pattern-message": "can't be blank"
|
|
1619
2097
|
}
|
|
1620
2098
|
},
|
|
1621
2099
|
"parent_folder_id": {
|
|
1622
2100
|
"required": false,
|
|
1623
2101
|
"schema": {
|
|
1624
|
-
"type": "string"
|
|
2102
|
+
"type": "string",
|
|
2103
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
2104
|
+
"x-pattern-message": "can't be blank"
|
|
1625
2105
|
}
|
|
1626
2106
|
},
|
|
1627
2107
|
"limit": {
|
|
@@ -1635,7 +2115,9 @@ var _default = exports["default"] = {
|
|
|
1635
2115
|
"cursor": {
|
|
1636
2116
|
"required": false,
|
|
1637
2117
|
"schema": {
|
|
1638
|
-
"type": "string"
|
|
2118
|
+
"type": "string",
|
|
2119
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
2120
|
+
"x-pattern-message": "can't be blank"
|
|
1639
2121
|
}
|
|
1640
2122
|
}
|
|
1641
2123
|
}
|
|
@@ -1646,7 +2128,7 @@ var _default = exports["default"] = {
|
|
|
1646
2128
|
"required": false,
|
|
1647
2129
|
"schema": {
|
|
1648
2130
|
"type": "string",
|
|
1649
|
-
"enum": ["submission.processed", "submission.failed", "submission.declined", "signature_request.viewed", "signature_request.completed", "signature_request.declined", "combined_pdf.processed", "combined_pdf.failed", "submission_batch.processed", "submission_batch.failed", "submission.created", "submission.updated", "submission.expired", "signature_request.updated", "combined_pdf.expired", "template.created", "template.updated", "template.deleted", "webhook.created", "webhook.updated", "webhook.deleted", "custom_file.created", "folder.created", "folder.updated", "folder.deleted"]
|
|
2131
|
+
"enum": ["submission.processed", "submission.failed", "submission.declined", "signature_request.sent", "signature_request.viewed", "signature_request.completed", "signature_request.declined", "signature_request.email_bounced", "combined_pdf.processed", "combined_pdf.failed", "submission_batch.processed", "submission_batch.failed", "submission.created", "submission.updated", "submission.expired", "signature_request.updated", "combined_pdf.expired", "template.created", "template.updated", "template.deleted", "webhook.created", "webhook.updated", "webhook.deleted", "custom_file.created", "folder.created", "folder.updated", "folder.deleted"]
|
|
1650
2132
|
}
|
|
1651
2133
|
},
|
|
1652
2134
|
"mode": {
|
|
@@ -1659,19 +2141,25 @@ var _default = exports["default"] = {
|
|
|
1659
2141
|
"template_id": {
|
|
1660
2142
|
"required": false,
|
|
1661
2143
|
"schema": {
|
|
1662
|
-
"type": "string"
|
|
2144
|
+
"type": "string",
|
|
2145
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
2146
|
+
"x-pattern-message": "can't be blank"
|
|
1663
2147
|
}
|
|
1664
2148
|
},
|
|
1665
2149
|
"folder_id": {
|
|
1666
2150
|
"required": false,
|
|
1667
2151
|
"schema": {
|
|
1668
|
-
"type": "string"
|
|
2152
|
+
"type": "string",
|
|
2153
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
2154
|
+
"x-pattern-message": "can't be blank"
|
|
1669
2155
|
}
|
|
1670
2156
|
},
|
|
1671
2157
|
"api_token_id": {
|
|
1672
2158
|
"required": false,
|
|
1673
2159
|
"schema": {
|
|
1674
|
-
"type": "string"
|
|
2160
|
+
"type": "string",
|
|
2161
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
2162
|
+
"x-pattern-message": "can't be blank"
|
|
1675
2163
|
}
|
|
1676
2164
|
},
|
|
1677
2165
|
"limit": {
|
|
@@ -1685,7 +2173,9 @@ var _default = exports["default"] = {
|
|
|
1685
2173
|
"cursor": {
|
|
1686
2174
|
"required": false,
|
|
1687
2175
|
"schema": {
|
|
1688
|
-
"type": "string"
|
|
2176
|
+
"type": "string",
|
|
2177
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
2178
|
+
"x-pattern-message": "can't be blank"
|
|
1689
2179
|
}
|
|
1690
2180
|
}
|
|
1691
2181
|
}
|
|
@@ -1699,7 +2189,8 @@ var _default = exports["default"] = {
|
|
|
1699
2189
|
"properties": {
|
|
1700
2190
|
"parent_folder_id": {
|
|
1701
2191
|
"type": ["string", "null"],
|
|
1702
|
-
"
|
|
2192
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
2193
|
+
"x-pattern-message": "can't be blank"
|
|
1703
2194
|
}
|
|
1704
2195
|
},
|
|
1705
2196
|
"required": ["parent_folder_id"],
|
|
@@ -1717,7 +2208,8 @@ var _default = exports["default"] = {
|
|
|
1717
2208
|
"properties": {
|
|
1718
2209
|
"parent_folder_id": {
|
|
1719
2210
|
"type": ["string", "null"],
|
|
1720
|
-
"
|
|
2211
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
2212
|
+
"x-pattern-message": "can't be blank"
|
|
1721
2213
|
}
|
|
1722
2214
|
},
|
|
1723
2215
|
"additionalProperties": false
|
|
@@ -1775,56 +2267,450 @@ var _default = exports["default"] = {
|
|
|
1775
2267
|
"properties": {
|
|
1776
2268
|
"name": {
|
|
1777
2269
|
"type": "string",
|
|
1778
|
-
"minLength": 1,
|
|
1779
|
-
"maxLength": 255,
|
|
1780
|
-
"pattern": "^[^/]*$",
|
|
1781
|
-
"x-pattern-message": "can't contain a slash (/)"
|
|
2270
|
+
"minLength": 1,
|
|
2271
|
+
"maxLength": 255,
|
|
2272
|
+
"pattern": "^[^/]*$",
|
|
2273
|
+
"x-pattern-message": "can't contain a slash (/)"
|
|
2274
|
+
}
|
|
2275
|
+
},
|
|
2276
|
+
"required": ["name"],
|
|
2277
|
+
"additionalProperties": false
|
|
2278
|
+
}
|
|
2279
|
+
}
|
|
2280
|
+
},
|
|
2281
|
+
"reorderTemplateFields": {
|
|
2282
|
+
"body": {
|
|
2283
|
+
"mediaType": "application/json",
|
|
2284
|
+
"required": true,
|
|
2285
|
+
"schema": {
|
|
2286
|
+
"type": "object",
|
|
2287
|
+
"required": ["field_ids"],
|
|
2288
|
+
"properties": {
|
|
2289
|
+
"field_ids": {
|
|
2290
|
+
"type": "array",
|
|
2291
|
+
"minItems": 1,
|
|
2292
|
+
"items": {
|
|
2293
|
+
"type": "integer"
|
|
2294
|
+
}
|
|
2295
|
+
}
|
|
2296
|
+
},
|
|
2297
|
+
"additionalProperties": false
|
|
2298
|
+
}
|
|
2299
|
+
}
|
|
2300
|
+
},
|
|
2301
|
+
"restoreTemplateVersion": {
|
|
2302
|
+
"body": {
|
|
2303
|
+
"mediaType": "application/json",
|
|
2304
|
+
"required": true,
|
|
2305
|
+
"schema": {
|
|
2306
|
+
"type": "object",
|
|
2307
|
+
"required": ["version"],
|
|
2308
|
+
"properties": {
|
|
2309
|
+
"version": {
|
|
2310
|
+
"type": "string",
|
|
2311
|
+
"pattern": "^(0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}$",
|
|
2312
|
+
"x-pattern-message": "must be a published version like 1.2.3 or 1"
|
|
2313
|
+
}
|
|
2314
|
+
},
|
|
2315
|
+
"additionalProperties": false
|
|
2316
|
+
}
|
|
2317
|
+
}
|
|
2318
|
+
},
|
|
2319
|
+
"sendAccountEmailActionTestEmail": {
|
|
2320
|
+
"body": {
|
|
2321
|
+
"mediaType": "application/json",
|
|
2322
|
+
"required": false,
|
|
2323
|
+
"schema": {
|
|
2324
|
+
"type": "object",
|
|
2325
|
+
"properties": {
|
|
2326
|
+
"template_id": {
|
|
2327
|
+
"type": "string",
|
|
2328
|
+
"maxLength": 255,
|
|
2329
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
2330
|
+
"x-pattern-message": "can't be blank"
|
|
2331
|
+
}
|
|
2332
|
+
},
|
|
2333
|
+
"additionalProperties": false
|
|
2334
|
+
}
|
|
2335
|
+
}
|
|
2336
|
+
},
|
|
2337
|
+
"sendEmailActionTestEmail": {},
|
|
2338
|
+
"testAuthentication": {},
|
|
2339
|
+
"updateAccountEmailAction": {
|
|
2340
|
+
"body": {
|
|
2341
|
+
"mediaType": "application/json",
|
|
2342
|
+
"required": true,
|
|
2343
|
+
"schema": {
|
|
2344
|
+
"type": "object",
|
|
2345
|
+
"properties": {
|
|
2346
|
+
"template_ids": {
|
|
2347
|
+
"type": "array",
|
|
2348
|
+
"maxItems": 500,
|
|
2349
|
+
"items": {
|
|
2350
|
+
"type": "string",
|
|
2351
|
+
"maxLength": 255,
|
|
2352
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
2353
|
+
"x-pattern-message": "can't be blank"
|
|
2354
|
+
}
|
|
2355
|
+
},
|
|
2356
|
+
"folder_ids": {
|
|
2357
|
+
"type": "array",
|
|
2358
|
+
"maxItems": 500,
|
|
2359
|
+
"items": {
|
|
2360
|
+
"type": "string",
|
|
2361
|
+
"maxLength": 255,
|
|
2362
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
2363
|
+
"x-pattern-message": "can't be blank"
|
|
2364
|
+
}
|
|
2365
|
+
},
|
|
2366
|
+
"name": {
|
|
2367
|
+
"type": ["string", "null"],
|
|
2368
|
+
"maxLength": 512
|
|
2369
|
+
},
|
|
2370
|
+
"enabled": {
|
|
2371
|
+
"type": "boolean"
|
|
2372
|
+
},
|
|
2373
|
+
"to": {
|
|
2374
|
+
"type": "array",
|
|
2375
|
+
"maxItems": 10,
|
|
2376
|
+
"items": {
|
|
2377
|
+
"type": "string",
|
|
2378
|
+
"maxLength": 512
|
|
2379
|
+
}
|
|
2380
|
+
},
|
|
2381
|
+
"cc": {
|
|
2382
|
+
"type": "array",
|
|
2383
|
+
"maxItems": 10,
|
|
2384
|
+
"items": {
|
|
2385
|
+
"type": "string",
|
|
2386
|
+
"maxLength": 512
|
|
2387
|
+
}
|
|
2388
|
+
},
|
|
2389
|
+
"bcc": {
|
|
2390
|
+
"type": "array",
|
|
2391
|
+
"maxItems": 10,
|
|
2392
|
+
"items": {
|
|
2393
|
+
"type": "string",
|
|
2394
|
+
"maxLength": 512
|
|
2395
|
+
}
|
|
2396
|
+
},
|
|
2397
|
+
"from_name": {
|
|
2398
|
+
"type": ["string", "null"],
|
|
2399
|
+
"maxLength": 64
|
|
2400
|
+
},
|
|
2401
|
+
"from_address": {
|
|
2402
|
+
"type": ["string", "null"],
|
|
2403
|
+
"maxLength": 254
|
|
2404
|
+
},
|
|
2405
|
+
"reply_to": {
|
|
2406
|
+
"type": ["string", "null"],
|
|
2407
|
+
"maxLength": 254
|
|
2408
|
+
},
|
|
2409
|
+
"subject": {
|
|
2410
|
+
"type": ["string", "null"],
|
|
2411
|
+
"maxLength": 200
|
|
2412
|
+
},
|
|
2413
|
+
"message": {
|
|
2414
|
+
"type": ["string", "null"],
|
|
2415
|
+
"maxLength": 2000
|
|
2416
|
+
},
|
|
2417
|
+
"file_name": {
|
|
2418
|
+
"type": ["string", "null"],
|
|
2419
|
+
"maxLength": 200
|
|
2420
|
+
},
|
|
2421
|
+
"file_formats": {
|
|
2422
|
+
"type": "string",
|
|
2423
|
+
"enum": ["docx", "odt", "pdf", "all"]
|
|
2424
|
+
},
|
|
2425
|
+
"delivery": {
|
|
2426
|
+
"type": "string",
|
|
2427
|
+
"enum": ["attachment", "link"]
|
|
2428
|
+
},
|
|
2429
|
+
"max_attachment_mb": {
|
|
2430
|
+
"type": "integer",
|
|
2431
|
+
"minimum": 1,
|
|
2432
|
+
"maximum": 25
|
|
2433
|
+
},
|
|
2434
|
+
"submission_type": {
|
|
2435
|
+
"type": "string",
|
|
2436
|
+
"enum": ["live", "test", "all"]
|
|
2437
|
+
},
|
|
2438
|
+
"send_when": {
|
|
2439
|
+
"type": ["object", "null"],
|
|
2440
|
+
"required": ["conditions"],
|
|
2441
|
+
"properties": {
|
|
2442
|
+
"match": {
|
|
2443
|
+
"type": "string",
|
|
2444
|
+
"enum": ["all", "any"]
|
|
2445
|
+
},
|
|
2446
|
+
"conditions": {
|
|
2447
|
+
"type": "array",
|
|
2448
|
+
"items": {
|
|
2449
|
+
"oneOf": [{
|
|
2450
|
+
"$ref": "#/components/schemas/FieldPresenceCondition"
|
|
2451
|
+
}, {
|
|
2452
|
+
"$ref": "#/components/schemas/FieldEqualsCondition"
|
|
2453
|
+
}, {
|
|
2454
|
+
"$ref": "#/components/schemas/FieldInCondition"
|
|
2455
|
+
}, {
|
|
2456
|
+
"$ref": "#/components/schemas/FieldComparisonCondition"
|
|
2457
|
+
}, {
|
|
2458
|
+
"$ref": "#/components/schemas/FieldRangeCondition"
|
|
2459
|
+
}],
|
|
2460
|
+
"discriminator": {
|
|
2461
|
+
"propertyName": "operator",
|
|
2462
|
+
"mapping": [["present", "#/components/schemas/FieldPresenceCondition"], ["blank", "#/components/schemas/FieldPresenceCondition"], ["equals", "#/components/schemas/FieldEqualsCondition"], ["not_equals", "#/components/schemas/FieldEqualsCondition"], ["in", "#/components/schemas/FieldInCondition"], ["gt", "#/components/schemas/FieldComparisonCondition"], ["gte", "#/components/schemas/FieldComparisonCondition"], ["lt", "#/components/schemas/FieldComparisonCondition"], ["lte", "#/components/schemas/FieldComparisonCondition"], ["range", "#/components/schemas/FieldRangeCondition"]]
|
|
2463
|
+
}
|
|
2464
|
+
},
|
|
2465
|
+
"minItems": 1,
|
|
2466
|
+
"maxItems": 20
|
|
2467
|
+
}
|
|
2468
|
+
},
|
|
2469
|
+
"additionalProperties": false
|
|
2470
|
+
},
|
|
2471
|
+
"failure_notifications_enabled": {
|
|
2472
|
+
"type": "boolean"
|
|
1782
2473
|
}
|
|
1783
2474
|
},
|
|
1784
|
-
"
|
|
2475
|
+
"minProperties": 1,
|
|
1785
2476
|
"additionalProperties": false
|
|
1786
2477
|
}
|
|
1787
2478
|
}
|
|
1788
2479
|
},
|
|
1789
|
-
"
|
|
2480
|
+
"updateEmailAction": {
|
|
1790
2481
|
"body": {
|
|
1791
2482
|
"mediaType": "application/json",
|
|
1792
2483
|
"required": true,
|
|
1793
2484
|
"schema": {
|
|
1794
2485
|
"type": "object",
|
|
1795
|
-
"required": ["field_ids"],
|
|
1796
2486
|
"properties": {
|
|
1797
|
-
"
|
|
2487
|
+
"name": {
|
|
2488
|
+
"type": ["string", "null"],
|
|
2489
|
+
"maxLength": 512
|
|
2490
|
+
},
|
|
2491
|
+
"enabled": {
|
|
2492
|
+
"type": "boolean"
|
|
2493
|
+
},
|
|
2494
|
+
"to": {
|
|
1798
2495
|
"type": "array",
|
|
1799
|
-
"
|
|
2496
|
+
"maxItems": 10,
|
|
1800
2497
|
"items": {
|
|
1801
|
-
"type": "
|
|
2498
|
+
"type": "string",
|
|
2499
|
+
"maxLength": 512
|
|
2500
|
+
}
|
|
2501
|
+
},
|
|
2502
|
+
"cc": {
|
|
2503
|
+
"type": "array",
|
|
2504
|
+
"maxItems": 10,
|
|
2505
|
+
"items": {
|
|
2506
|
+
"type": "string",
|
|
2507
|
+
"maxLength": 512
|
|
1802
2508
|
}
|
|
2509
|
+
},
|
|
2510
|
+
"bcc": {
|
|
2511
|
+
"type": "array",
|
|
2512
|
+
"maxItems": 10,
|
|
2513
|
+
"items": {
|
|
2514
|
+
"type": "string",
|
|
2515
|
+
"maxLength": 512
|
|
2516
|
+
}
|
|
2517
|
+
},
|
|
2518
|
+
"from_name": {
|
|
2519
|
+
"type": ["string", "null"],
|
|
2520
|
+
"maxLength": 64
|
|
2521
|
+
},
|
|
2522
|
+
"from_address": {
|
|
2523
|
+
"type": ["string", "null"],
|
|
2524
|
+
"maxLength": 254
|
|
2525
|
+
},
|
|
2526
|
+
"reply_to": {
|
|
2527
|
+
"type": ["string", "null"],
|
|
2528
|
+
"maxLength": 254
|
|
2529
|
+
},
|
|
2530
|
+
"subject": {
|
|
2531
|
+
"type": ["string", "null"],
|
|
2532
|
+
"maxLength": 200
|
|
2533
|
+
},
|
|
2534
|
+
"message": {
|
|
2535
|
+
"type": ["string", "null"],
|
|
2536
|
+
"maxLength": 2000
|
|
2537
|
+
},
|
|
2538
|
+
"file_name": {
|
|
2539
|
+
"type": ["string", "null"],
|
|
2540
|
+
"maxLength": 200
|
|
2541
|
+
},
|
|
2542
|
+
"file_formats": {
|
|
2543
|
+
"type": "string",
|
|
2544
|
+
"enum": ["docx", "odt", "pdf", "all"]
|
|
2545
|
+
},
|
|
2546
|
+
"delivery": {
|
|
2547
|
+
"type": "string",
|
|
2548
|
+
"enum": ["attachment", "link"]
|
|
2549
|
+
},
|
|
2550
|
+
"max_attachment_mb": {
|
|
2551
|
+
"type": "integer",
|
|
2552
|
+
"minimum": 1,
|
|
2553
|
+
"maximum": 25
|
|
2554
|
+
},
|
|
2555
|
+
"submission_type": {
|
|
2556
|
+
"type": "string",
|
|
2557
|
+
"enum": ["live", "test", "all"]
|
|
2558
|
+
},
|
|
2559
|
+
"send_when": {
|
|
2560
|
+
"type": ["object", "null"],
|
|
2561
|
+
"required": ["conditions"],
|
|
2562
|
+
"properties": {
|
|
2563
|
+
"match": {
|
|
2564
|
+
"type": "string",
|
|
2565
|
+
"enum": ["all", "any"]
|
|
2566
|
+
},
|
|
2567
|
+
"conditions": {
|
|
2568
|
+
"type": "array",
|
|
2569
|
+
"items": {
|
|
2570
|
+
"oneOf": [{
|
|
2571
|
+
"$ref": "#/components/schemas/FieldPresenceCondition"
|
|
2572
|
+
}, {
|
|
2573
|
+
"$ref": "#/components/schemas/FieldEqualsCondition"
|
|
2574
|
+
}, {
|
|
2575
|
+
"$ref": "#/components/schemas/FieldInCondition"
|
|
2576
|
+
}, {
|
|
2577
|
+
"$ref": "#/components/schemas/FieldComparisonCondition"
|
|
2578
|
+
}, {
|
|
2579
|
+
"$ref": "#/components/schemas/FieldRangeCondition"
|
|
2580
|
+
}],
|
|
2581
|
+
"discriminator": {
|
|
2582
|
+
"propertyName": "operator",
|
|
2583
|
+
"mapping": [["present", "#/components/schemas/FieldPresenceCondition"], ["blank", "#/components/schemas/FieldPresenceCondition"], ["equals", "#/components/schemas/FieldEqualsCondition"], ["not_equals", "#/components/schemas/FieldEqualsCondition"], ["in", "#/components/schemas/FieldInCondition"], ["gt", "#/components/schemas/FieldComparisonCondition"], ["gte", "#/components/schemas/FieldComparisonCondition"], ["lt", "#/components/schemas/FieldComparisonCondition"], ["lte", "#/components/schemas/FieldComparisonCondition"], ["range", "#/components/schemas/FieldRangeCondition"]]
|
|
2584
|
+
}
|
|
2585
|
+
},
|
|
2586
|
+
"minItems": 1,
|
|
2587
|
+
"maxItems": 20
|
|
2588
|
+
}
|
|
2589
|
+
},
|
|
2590
|
+
"additionalProperties": false
|
|
2591
|
+
},
|
|
2592
|
+
"failure_notifications_enabled": {
|
|
2593
|
+
"type": "boolean"
|
|
1803
2594
|
}
|
|
1804
2595
|
},
|
|
2596
|
+
"minProperties": 1,
|
|
1805
2597
|
"additionalProperties": false
|
|
1806
2598
|
}
|
|
1807
2599
|
}
|
|
1808
2600
|
},
|
|
1809
|
-
"
|
|
2601
|
+
"updateEmailActionCustomization": {
|
|
1810
2602
|
"body": {
|
|
1811
2603
|
"mediaType": "application/json",
|
|
1812
2604
|
"required": true,
|
|
1813
2605
|
"schema": {
|
|
1814
2606
|
"type": "object",
|
|
1815
|
-
"required": ["version"],
|
|
1816
2607
|
"properties": {
|
|
1817
|
-
"
|
|
2608
|
+
"enabled": {
|
|
2609
|
+
"type": "boolean"
|
|
2610
|
+
},
|
|
2611
|
+
"to": {
|
|
2612
|
+
"type": "array",
|
|
2613
|
+
"maxItems": 10,
|
|
2614
|
+
"items": {
|
|
2615
|
+
"type": "string",
|
|
2616
|
+
"maxLength": 512
|
|
2617
|
+
}
|
|
2618
|
+
},
|
|
2619
|
+
"cc": {
|
|
2620
|
+
"type": "array",
|
|
2621
|
+
"maxItems": 10,
|
|
2622
|
+
"items": {
|
|
2623
|
+
"type": "string",
|
|
2624
|
+
"maxLength": 512
|
|
2625
|
+
}
|
|
2626
|
+
},
|
|
2627
|
+
"bcc": {
|
|
2628
|
+
"type": "array",
|
|
2629
|
+
"maxItems": 10,
|
|
2630
|
+
"items": {
|
|
2631
|
+
"type": "string",
|
|
2632
|
+
"maxLength": 512
|
|
2633
|
+
}
|
|
2634
|
+
},
|
|
2635
|
+
"from_name": {
|
|
2636
|
+
"type": ["string", "null"],
|
|
2637
|
+
"maxLength": 64
|
|
2638
|
+
},
|
|
2639
|
+
"from_address": {
|
|
2640
|
+
"type": ["string", "null"],
|
|
2641
|
+
"maxLength": 254
|
|
2642
|
+
},
|
|
2643
|
+
"reply_to": {
|
|
2644
|
+
"type": ["string", "null"],
|
|
2645
|
+
"maxLength": 254
|
|
2646
|
+
},
|
|
2647
|
+
"subject": {
|
|
2648
|
+
"type": ["string", "null"],
|
|
2649
|
+
"maxLength": 200
|
|
2650
|
+
},
|
|
2651
|
+
"message": {
|
|
2652
|
+
"type": ["string", "null"],
|
|
2653
|
+
"maxLength": 2000
|
|
2654
|
+
},
|
|
2655
|
+
"file_name": {
|
|
2656
|
+
"type": ["string", "null"],
|
|
2657
|
+
"maxLength": 200
|
|
2658
|
+
},
|
|
2659
|
+
"file_formats": {
|
|
1818
2660
|
"type": "string",
|
|
1819
|
-
"
|
|
1820
|
-
|
|
2661
|
+
"enum": ["docx", "odt", "pdf", "all"]
|
|
2662
|
+
},
|
|
2663
|
+
"delivery": {
|
|
2664
|
+
"type": "string",
|
|
2665
|
+
"enum": ["attachment", "link"]
|
|
2666
|
+
},
|
|
2667
|
+
"max_attachment_mb": {
|
|
2668
|
+
"type": "integer",
|
|
2669
|
+
"minimum": 1,
|
|
2670
|
+
"maximum": 25
|
|
2671
|
+
},
|
|
2672
|
+
"submission_type": {
|
|
2673
|
+
"type": "string",
|
|
2674
|
+
"enum": ["live", "test", "all"]
|
|
2675
|
+
},
|
|
2676
|
+
"send_when": {
|
|
2677
|
+
"type": ["object", "null"],
|
|
2678
|
+
"required": ["conditions"],
|
|
2679
|
+
"properties": {
|
|
2680
|
+
"match": {
|
|
2681
|
+
"type": "string",
|
|
2682
|
+
"enum": ["all", "any"]
|
|
2683
|
+
},
|
|
2684
|
+
"conditions": {
|
|
2685
|
+
"type": "array",
|
|
2686
|
+
"items": {
|
|
2687
|
+
"oneOf": [{
|
|
2688
|
+
"$ref": "#/components/schemas/FieldPresenceCondition"
|
|
2689
|
+
}, {
|
|
2690
|
+
"$ref": "#/components/schemas/FieldEqualsCondition"
|
|
2691
|
+
}, {
|
|
2692
|
+
"$ref": "#/components/schemas/FieldInCondition"
|
|
2693
|
+
}, {
|
|
2694
|
+
"$ref": "#/components/schemas/FieldComparisonCondition"
|
|
2695
|
+
}, {
|
|
2696
|
+
"$ref": "#/components/schemas/FieldRangeCondition"
|
|
2697
|
+
}],
|
|
2698
|
+
"discriminator": {
|
|
2699
|
+
"propertyName": "operator",
|
|
2700
|
+
"mapping": [["present", "#/components/schemas/FieldPresenceCondition"], ["blank", "#/components/schemas/FieldPresenceCondition"], ["equals", "#/components/schemas/FieldEqualsCondition"], ["not_equals", "#/components/schemas/FieldEqualsCondition"], ["in", "#/components/schemas/FieldInCondition"], ["gt", "#/components/schemas/FieldComparisonCondition"], ["gte", "#/components/schemas/FieldComparisonCondition"], ["lt", "#/components/schemas/FieldComparisonCondition"], ["lte", "#/components/schemas/FieldComparisonCondition"], ["range", "#/components/schemas/FieldRangeCondition"]]
|
|
2701
|
+
}
|
|
2702
|
+
},
|
|
2703
|
+
"minItems": 1,
|
|
2704
|
+
"maxItems": 20
|
|
2705
|
+
}
|
|
2706
|
+
},
|
|
2707
|
+
"additionalProperties": false
|
|
1821
2708
|
}
|
|
1822
2709
|
},
|
|
1823
2710
|
"additionalProperties": false
|
|
1824
2711
|
}
|
|
1825
2712
|
}
|
|
1826
2713
|
},
|
|
1827
|
-
"testAuthentication": {},
|
|
1828
2714
|
"updateSignatureRequest": {
|
|
1829
2715
|
"body": {
|
|
1830
2716
|
"mediaType": "application/json",
|
|
@@ -1864,6 +2750,7 @@ var _default = exports["default"] = {
|
|
|
1864
2750
|
"type": ["string", "null"]
|
|
1865
2751
|
}
|
|
1866
2752
|
},
|
|
2753
|
+
"minProperties": 1,
|
|
1867
2754
|
"additionalProperties": false
|
|
1868
2755
|
}
|
|
1869
2756
|
}
|
|
@@ -1877,8 +2764,9 @@ var _default = exports["default"] = {
|
|
|
1877
2764
|
"properties": {
|
|
1878
2765
|
"name": {
|
|
1879
2766
|
"type": "string",
|
|
1880
|
-
"
|
|
1881
|
-
"
|
|
2767
|
+
"maxLength": 512,
|
|
2768
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
2769
|
+
"x-pattern-message": "can't be blank"
|
|
1882
2770
|
},
|
|
1883
2771
|
"description": {
|
|
1884
2772
|
"type": ["string", "null"]
|
|
@@ -1889,7 +2777,8 @@ var _default = exports["default"] = {
|
|
|
1889
2777
|
},
|
|
1890
2778
|
"parent_folder_id": {
|
|
1891
2779
|
"type": ["string", "null"],
|
|
1892
|
-
"
|
|
2780
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
2781
|
+
"x-pattern-message": "can't be blank"
|
|
1893
2782
|
},
|
|
1894
2783
|
"locked": {
|
|
1895
2784
|
"type": "boolean"
|
|
@@ -1966,6 +2855,35 @@ var _default = exports["default"] = {
|
|
|
1966
2855
|
"type": ["string", "null"],
|
|
1967
2856
|
"format": "uri"
|
|
1968
2857
|
},
|
|
2858
|
+
"signature_request_email_attachments": {
|
|
2859
|
+
"type": ["string", "null"],
|
|
2860
|
+
"enum": ["attachment", "link", null]
|
|
2861
|
+
},
|
|
2862
|
+
"signature_request_from_address": {
|
|
2863
|
+
"type": ["string", "null"]
|
|
2864
|
+
},
|
|
2865
|
+
"signature_request_include_signing_token": {
|
|
2866
|
+
"type": "boolean"
|
|
2867
|
+
},
|
|
2868
|
+
"signature_request_from_name": {
|
|
2869
|
+
"type": ["string", "null"],
|
|
2870
|
+
"maxLength": 64
|
|
2871
|
+
},
|
|
2872
|
+
"signature_request_notification_emails": {
|
|
2873
|
+
"type": "array",
|
|
2874
|
+
"maxItems": 10,
|
|
2875
|
+
"uniqueItems": true,
|
|
2876
|
+
"items": {
|
|
2877
|
+
"type": "string"
|
|
2878
|
+
}
|
|
2879
|
+
},
|
|
2880
|
+
"signature_request_reply_to": {
|
|
2881
|
+
"type": ["string", "null"]
|
|
2882
|
+
},
|
|
2883
|
+
"signature_request_signing_url": {
|
|
2884
|
+
"type": ["string", "null"],
|
|
2885
|
+
"maxLength": 2048
|
|
2886
|
+
},
|
|
1969
2887
|
"slack_webhook_url": {
|
|
1970
2888
|
"type": ["string", "null"],
|
|
1971
2889
|
"format": "uri"
|
|
@@ -2206,7 +3124,8 @@ var _default = exports["default"] = {
|
|
|
2206
3124
|
},
|
|
2207
3125
|
"scale": {
|
|
2208
3126
|
"type": "number",
|
|
2209
|
-
"
|
|
3127
|
+
"minimum": 0.1,
|
|
3128
|
+
"maximum": 2
|
|
2210
3129
|
},
|
|
2211
3130
|
"landscape": {
|
|
2212
3131
|
"type": "boolean"
|
|
@@ -2231,8 +3150,12 @@ var _default = exports["default"] = {
|
|
|
2231
3150
|
},
|
|
2232
3151
|
"html_escape_data": {
|
|
2233
3152
|
"type": "boolean"
|
|
3153
|
+
},
|
|
3154
|
+
"layout": {
|
|
3155
|
+
"type": ["object", "null"]
|
|
2234
3156
|
}
|
|
2235
3157
|
},
|
|
3158
|
+
"minProperties": 1,
|
|
2236
3159
|
"additionalProperties": false
|
|
2237
3160
|
}
|
|
2238
3161
|
}
|
|
@@ -2254,8 +3177,9 @@ var _default = exports["default"] = {
|
|
|
2254
3177
|
"properties": {
|
|
2255
3178
|
"cache_id": {
|
|
2256
3179
|
"type": "string",
|
|
2257
|
-
"
|
|
2258
|
-
"
|
|
3180
|
+
"maxLength": 255,
|
|
3181
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
3182
|
+
"x-pattern-message": "can't be blank"
|
|
2259
3183
|
},
|
|
2260
3184
|
"document_url": {
|
|
2261
3185
|
"type": "string",
|
|
@@ -2271,7 +3195,9 @@ var _default = exports["default"] = {
|
|
|
2271
3195
|
"filename": {
|
|
2272
3196
|
"type": "string",
|
|
2273
3197
|
"minLength": 1,
|
|
2274
|
-
"maxLength": 255
|
|
3198
|
+
"maxLength": 255,
|
|
3199
|
+
"pattern": "^[^/\\\\]*$",
|
|
3200
|
+
"x-pattern-message": "can't contain a slash (/ or \\)"
|
|
2275
3201
|
},
|
|
2276
3202
|
"reimport_fields": {
|
|
2277
3203
|
"type": "boolean"
|
|
@@ -2571,7 +3497,7 @@ var _default = exports["default"] = {
|
|
|
2571
3497
|
},
|
|
2572
3498
|
"string_condition_type": {
|
|
2573
3499
|
"type": "string",
|
|
2574
|
-
"enum": ["equals", "contains", "starts_with", "ends_with", "regex"]
|
|
3500
|
+
"enum": ["equals", "not_equals", "contains", "not_contains", "starts_with", "not_starts_with", "ends_with", "not_ends_with", "regex", "not_regex", "blank", "not_blank"]
|
|
2575
3501
|
},
|
|
2576
3502
|
"number_condition_type": {
|
|
2577
3503
|
"type": "string",
|
|
@@ -2680,7 +3606,7 @@ var _default = exports["default"] = {
|
|
|
2680
3606
|
"uniqueItems": true,
|
|
2681
3607
|
"items": {
|
|
2682
3608
|
"type": "string",
|
|
2683
|
-
"enum": ["submission.processed", "submission.failed", "submission.declined", "signature_request.viewed", "signature_request.completed", "signature_request.declined", "combined_pdf.processed", "combined_pdf.failed", "submission_batch.processed", "submission_batch.failed", "submission.created", "submission.updated", "submission.expired", "signature_request.updated", "combined_pdf.expired", "template.created", "template.updated", "template.deleted", "webhook.created", "webhook.updated", "webhook.deleted", "custom_file.created", "folder.created", "folder.updated", "folder.deleted"]
|
|
3609
|
+
"enum": ["submission.processed", "submission.failed", "submission.declined", "signature_request.sent", "signature_request.viewed", "signature_request.completed", "signature_request.declined", "signature_request.email_bounced", "combined_pdf.processed", "combined_pdf.failed", "submission_batch.processed", "submission_batch.failed", "submission.created", "submission.updated", "submission.expired", "signature_request.updated", "combined_pdf.expired", "template.created", "template.updated", "template.deleted", "webhook.created", "webhook.updated", "webhook.deleted", "custom_file.created", "folder.created", "folder.updated", "folder.deleted"]
|
|
2684
3610
|
}
|
|
2685
3611
|
},
|
|
2686
3612
|
"mode": {
|
|
@@ -2691,21 +3617,27 @@ var _default = exports["default"] = {
|
|
|
2691
3617
|
"type": "array",
|
|
2692
3618
|
"uniqueItems": true,
|
|
2693
3619
|
"items": {
|
|
2694
|
-
"type": "string"
|
|
3620
|
+
"type": "string",
|
|
3621
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
3622
|
+
"x-pattern-message": "can't be blank"
|
|
2695
3623
|
}
|
|
2696
3624
|
},
|
|
2697
3625
|
"template_ids": {
|
|
2698
3626
|
"type": "array",
|
|
2699
3627
|
"uniqueItems": true,
|
|
2700
3628
|
"items": {
|
|
2701
|
-
"type": "string"
|
|
3629
|
+
"type": "string",
|
|
3630
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
3631
|
+
"x-pattern-message": "can't be blank"
|
|
2702
3632
|
}
|
|
2703
3633
|
},
|
|
2704
3634
|
"folder_ids": {
|
|
2705
3635
|
"type": "array",
|
|
2706
3636
|
"uniqueItems": true,
|
|
2707
3637
|
"items": {
|
|
2708
|
-
"type": "string"
|
|
3638
|
+
"type": "string",
|
|
3639
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
3640
|
+
"x-pattern-message": "can't be blank"
|
|
2709
3641
|
}
|
|
2710
3642
|
},
|
|
2711
3643
|
"include_submission_data": {
|
|
@@ -2724,6 +3656,7 @@ var _default = exports["default"] = {
|
|
|
2724
3656
|
}
|
|
2725
3657
|
}
|
|
2726
3658
|
},
|
|
3659
|
+
"minProperties": 1,
|
|
2727
3660
|
"additionalProperties": false
|
|
2728
3661
|
}
|
|
2729
3662
|
}
|
|
@@ -2750,15 +3683,17 @@ var _default = exports["default"] = {
|
|
|
2750
3683
|
},
|
|
2751
3684
|
"name": {
|
|
2752
3685
|
"type": "string",
|
|
2753
|
-
"
|
|
2754
|
-
"
|
|
3686
|
+
"maxLength": 512,
|
|
3687
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
3688
|
+
"x-pattern-message": "can't be blank"
|
|
2755
3689
|
},
|
|
2756
3690
|
"description": {
|
|
2757
3691
|
"type": "string"
|
|
2758
3692
|
},
|
|
2759
3693
|
"parent_folder_id": {
|
|
2760
3694
|
"type": "string",
|
|
2761
|
-
"
|
|
3695
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
3696
|
+
"x-pattern-message": "can't be blank"
|
|
2762
3697
|
},
|
|
2763
3698
|
"ai_field_naming_language": {
|
|
2764
3699
|
"type": "string",
|
|
@@ -2822,7 +3757,7 @@ var _default = exports["default"] = {
|
|
|
2822
3757
|
"required": false,
|
|
2823
3758
|
"schema": {
|
|
2824
3759
|
"type": "string",
|
|
2825
|
-
"pattern": "^(\\d
|
|
3760
|
+
"pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
|
|
2826
3761
|
"x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
|
|
2827
3762
|
}
|
|
2828
3763
|
}
|
|
@@ -2887,7 +3822,9 @@ var _default = exports["default"] = {
|
|
|
2887
3822
|
},
|
|
2888
3823
|
"email": {
|
|
2889
3824
|
"type": ["string", "null"],
|
|
2890
|
-
"maxLength": 254
|
|
3825
|
+
"maxLength": 254,
|
|
3826
|
+
"pattern": "^[^ \t\n\x0B\f\r@]+@[^ \t\n\x0B\f\r@]+$",
|
|
3827
|
+
"x-pattern-message": "must be an email address, like name@example.com"
|
|
2891
3828
|
},
|
|
2892
3829
|
"fields": {
|
|
2893
3830
|
"type": "array",
|
|
@@ -2938,30 +3875,103 @@ var _default = exports["default"] = {
|
|
|
2938
3875
|
},
|
|
2939
3876
|
"prefilled_values_editable": {
|
|
2940
3877
|
"type": "boolean"
|
|
3878
|
+
},
|
|
3879
|
+
"send_email": {
|
|
3880
|
+
"type": "boolean"
|
|
3881
|
+
},
|
|
3882
|
+
"signing_step": {
|
|
3883
|
+
"type": "integer",
|
|
3884
|
+
"minimum": 1,
|
|
3885
|
+
"maximum": 100
|
|
2941
3886
|
}
|
|
2942
3887
|
},
|
|
2943
|
-
"required": ["fields"
|
|
3888
|
+
"required": ["fields"],
|
|
2944
3889
|
"additionalProperties": false
|
|
2945
3890
|
}
|
|
3891
|
+
},
|
|
3892
|
+
"send_email": {
|
|
3893
|
+
"type": "boolean"
|
|
3894
|
+
},
|
|
3895
|
+
"signing_order": {
|
|
3896
|
+
"type": "string",
|
|
3897
|
+
"enum": ["parallel", "sequential"]
|
|
3898
|
+
},
|
|
3899
|
+
"email_subject": {
|
|
3900
|
+
"type": "string",
|
|
3901
|
+
"minLength": 1,
|
|
3902
|
+
"maxLength": 200
|
|
3903
|
+
},
|
|
3904
|
+
"email_message": {
|
|
3905
|
+
"type": "string",
|
|
3906
|
+
"minLength": 1,
|
|
3907
|
+
"maxLength": 2000
|
|
3908
|
+
},
|
|
3909
|
+
"cc": {
|
|
3910
|
+
"type": "array",
|
|
3911
|
+
"maxItems": 10,
|
|
3912
|
+
"uniqueItems": true,
|
|
3913
|
+
"items": {
|
|
3914
|
+
"type": "string"
|
|
3915
|
+
}
|
|
3916
|
+
},
|
|
3917
|
+
"reply_to": {
|
|
3918
|
+
"type": "string"
|
|
3919
|
+
},
|
|
3920
|
+
"notification_emails": {
|
|
3921
|
+
"type": "array",
|
|
3922
|
+
"maxItems": 10,
|
|
3923
|
+
"uniqueItems": true,
|
|
3924
|
+
"items": {
|
|
3925
|
+
"type": "string"
|
|
3926
|
+
}
|
|
3927
|
+
},
|
|
3928
|
+
"notify_when_signed": {
|
|
3929
|
+
"type": "boolean"
|
|
3930
|
+
},
|
|
3931
|
+
"reminders": {
|
|
3932
|
+
"type": "object",
|
|
3933
|
+
"additionalProperties": false,
|
|
3934
|
+
"required": ["interval_days", "max_count"],
|
|
3935
|
+
"properties": {
|
|
3936
|
+
"interval_days": {
|
|
3937
|
+
"type": "integer",
|
|
3938
|
+
"minimum": 1,
|
|
3939
|
+
"maximum": 30
|
|
3940
|
+
},
|
|
3941
|
+
"max_count": {
|
|
3942
|
+
"type": "integer",
|
|
3943
|
+
"minimum": 1,
|
|
3944
|
+
"maximum": 10
|
|
3945
|
+
}
|
|
3946
|
+
}
|
|
2946
3947
|
}
|
|
2947
3948
|
},
|
|
2948
3949
|
"additionalProperties": false
|
|
2949
3950
|
}
|
|
2950
3951
|
}
|
|
2951
|
-
}
|
|
3952
|
+
},
|
|
3953
|
+
"verifyEmailDomain": {}
|
|
2952
3954
|
},
|
|
2953
3955
|
"routes": {
|
|
2954
3956
|
"DELETE /combined_pdfs/{combined_pdf_id}": "expireCombinedPdf",
|
|
2955
3957
|
"DELETE /custom_files/{custom_file_id}": "deleteCustomFile",
|
|
3958
|
+
"DELETE /email_actions/{email_action_id}": "deleteAccountEmailAction",
|
|
3959
|
+
"DELETE /email_domains/{email_domain_id}": "deleteEmailDomain",
|
|
2956
3960
|
"DELETE /folders/{folder_id}": "deleteFolder",
|
|
2957
3961
|
"DELETE /submissions/{submission_id}": "expireSubmission",
|
|
2958
3962
|
"DELETE /templates/{template_id}": "deleteTemplate",
|
|
3963
|
+
"DELETE /templates/{template_id}/email_actions/{email_action_id}": "deleteEmailAction",
|
|
3964
|
+
"DELETE /templates/{template_id}/email_actions/{email_action_id}/customization": "deleteEmailActionCustomization",
|
|
2959
3965
|
"DELETE /webhooks/{webhook_id}": "deleteWebhook",
|
|
2960
3966
|
"GET /authentication": "testAuthentication",
|
|
2961
3967
|
"GET /combined_pdfs": "listCombinedPdfs",
|
|
2962
3968
|
"GET /combined_pdfs/{combined_pdf_id}": "getCombinedPdf",
|
|
2963
3969
|
"GET /custom_files": "listCustomFiles",
|
|
2964
3970
|
"GET /custom_files/{custom_file_id}": "getCustomFile",
|
|
3971
|
+
"GET /email_actions": "listAccountEmailActions",
|
|
3972
|
+
"GET /email_actions/{email_action_id}": "getAccountEmailAction",
|
|
3973
|
+
"GET /email_domains": "listEmailDomains",
|
|
3974
|
+
"GET /email_domains/{email_domain_id}": "getEmailDomain",
|
|
2965
3975
|
"GET /folders": "listFolders",
|
|
2966
3976
|
"GET /folders/{folder_id}": "getFolder",
|
|
2967
3977
|
"GET /signature_requests/{signature_request_id}": "getSignatureRequest",
|
|
@@ -2971,6 +3981,8 @@ var _default = exports["default"] = {
|
|
|
2971
3981
|
"GET /templates": "listTemplates",
|
|
2972
3982
|
"GET /templates/{template_id}": "getTemplate",
|
|
2973
3983
|
"GET /templates/{template_id}/diff": "getTemplateDiff",
|
|
3984
|
+
"GET /templates/{template_id}/email_actions": "listEmailActions",
|
|
3985
|
+
"GET /templates/{template_id}/email_actions/{email_action_id}": "getEmailAction",
|
|
2974
3986
|
"GET /templates/{template_id}/fields": "listTemplateFields",
|
|
2975
3987
|
"GET /templates/{template_id}/model_code": "getTemplateModelCode",
|
|
2976
3988
|
"GET /templates/{template_id}/page_images": "getTemplatePageImages",
|
|
@@ -2982,6 +3994,10 @@ var _default = exports["default"] = {
|
|
|
2982
3994
|
"GET /webhooks/{webhook_id}": "getWebhook",
|
|
2983
3995
|
"POST /combined_pdfs": "createCombinedPdf",
|
|
2984
3996
|
"POST /custom_files": "createCustomFileFromUpload",
|
|
3997
|
+
"POST /email_actions": "createAccountEmailAction",
|
|
3998
|
+
"POST /email_actions/{email_action_id}/test_email": "sendAccountEmailActionTestEmail",
|
|
3999
|
+
"POST /email_domains": "createEmailDomain",
|
|
4000
|
+
"POST /email_domains/{email_domain_id}/verify": "verifyEmailDomain",
|
|
2985
4001
|
"POST /folders": "createFolder",
|
|
2986
4002
|
"POST /folders/{folder_id}/move": "moveFolder",
|
|
2987
4003
|
"POST /folders/{folder_id}/rename": "renameFolder",
|
|
@@ -2993,6 +4009,8 @@ var _default = exports["default"] = {
|
|
|
2993
4009
|
"POST /templates": "createTemplate",
|
|
2994
4010
|
"POST /templates/upload": "uploadTemplate",
|
|
2995
4011
|
"POST /templates/{template_id}/copy": "copyTemplate",
|
|
4012
|
+
"POST /templates/{template_id}/email_actions": "createEmailAction",
|
|
4013
|
+
"POST /templates/{template_id}/email_actions/{email_action_id}/test_email": "sendEmailActionTestEmail",
|
|
2996
4014
|
"POST /templates/{template_id}/fields": "addTemplateFields",
|
|
2997
4015
|
"POST /templates/{template_id}/fields/remove": "removeTemplateFields",
|
|
2998
4016
|
"POST /templates/{template_id}/fields/reorder": "reorderTemplateFields",
|
|
@@ -3003,10 +4021,13 @@ var _default = exports["default"] = {
|
|
|
3003
4021
|
"POST /templates/{template_id}/submissions": "createSubmission",
|
|
3004
4022
|
"POST /templates/{template_id}/submissions/validate": "validateSubmission",
|
|
3005
4023
|
"POST /webhooks": "createWebhook",
|
|
4024
|
+
"PUT /email_actions/{email_action_id}": "updateAccountEmailAction",
|
|
3006
4025
|
"PUT /signature_requests/{signature_request_id}": "updateSignatureRequest",
|
|
3007
4026
|
"PUT /templates/{template_id}": "updateTemplate",
|
|
3008
4027
|
"PUT /templates/{template_id}/document": "updateTemplateDocument",
|
|
3009
4028
|
"PUT /templates/{template_id}/document/upload": "uploadTemplateDocument",
|
|
4029
|
+
"PUT /templates/{template_id}/email_actions/{email_action_id}": "updateEmailAction",
|
|
4030
|
+
"PUT /templates/{template_id}/email_actions/{email_action_id}/customization": "updateEmailActionCustomization",
|
|
3010
4031
|
"PUT /templates/{template_id}/fields": "updateTemplateFields",
|
|
3011
4032
|
"PUT /webhooks/{webhook_id}": "updateWebhook"
|
|
3012
4033
|
},
|
|
@@ -3022,7 +4043,8 @@ var _default = exports["default"] = {
|
|
|
3022
4043
|
},
|
|
3023
4044
|
"id": {
|
|
3024
4045
|
"type": "string",
|
|
3025
|
-
"
|
|
4046
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
4047
|
+
"x-pattern-message": "can't be blank"
|
|
3026
4048
|
}
|
|
3027
4049
|
},
|
|
3028
4050
|
"additionalProperties": false,
|
|
@@ -3042,7 +4064,8 @@ var _default = exports["default"] = {
|
|
|
3042
4064
|
},
|
|
3043
4065
|
"id": {
|
|
3044
4066
|
"type": "string",
|
|
3045
|
-
"
|
|
4067
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
4068
|
+
"x-pattern-message": "can't be blank"
|
|
3046
4069
|
}
|
|
3047
4070
|
},
|
|
3048
4071
|
"additionalProperties": false,
|
|
@@ -3323,7 +4346,7 @@ var _default = exports["default"] = {
|
|
|
3323
4346
|
},
|
|
3324
4347
|
"string_condition_type": {
|
|
3325
4348
|
"type": "string",
|
|
3326
|
-
"enum": ["equals", "contains", "starts_with", "ends_with", "regex"]
|
|
4349
|
+
"enum": ["equals", "not_equals", "contains", "not_contains", "starts_with", "not_starts_with", "ends_with", "not_ends_with", "regex", "not_regex", "blank", "not_blank"]
|
|
3327
4350
|
},
|
|
3328
4351
|
"number_condition_type": {
|
|
3329
4352
|
"type": "string",
|
|
@@ -3466,7 +4489,8 @@ var _default = exports["default"] = {
|
|
|
3466
4489
|
},
|
|
3467
4490
|
"id": {
|
|
3468
4491
|
"type": "string",
|
|
3469
|
-
"
|
|
4492
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
4493
|
+
"x-pattern-message": "can't be blank"
|
|
3470
4494
|
}
|
|
3471
4495
|
},
|
|
3472
4496
|
"additionalProperties": false,
|
|
@@ -3486,11 +4510,12 @@ var _default = exports["default"] = {
|
|
|
3486
4510
|
},
|
|
3487
4511
|
"id": {
|
|
3488
4512
|
"type": "string",
|
|
3489
|
-
"
|
|
4513
|
+
"pattern": "[^ \t\n\x0B\f\r\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]",
|
|
4514
|
+
"x-pattern-message": "can't be blank"
|
|
3490
4515
|
},
|
|
3491
4516
|
"template_version": {
|
|
3492
4517
|
"type": "string",
|
|
3493
|
-
"pattern": "^(\\d
|
|
4518
|
+
"pattern": "^((0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){0,2}|latest|draft)$",
|
|
3494
4519
|
"x-pattern-message": "must be a version like 1.2.3 or 1, or latest or draft"
|
|
3495
4520
|
},
|
|
3496
4521
|
"processed": {
|