docspring 4.6.0 → 4.8.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 (94) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +24 -0
  3. data/README.md +25 -1
  4. data/lib/docspring/api/client.rb +1934 -209
  5. data/lib/docspring/api_client.rb +1 -1
  6. data/lib/docspring/models/add_page_numbers_request.rb +279 -0
  7. data/lib/docspring/models/ask_support_help_request.rb +217 -0
  8. data/lib/docspring/models/base64_job_source.rb +222 -0
  9. data/lib/docspring/models/combined_pdf_job_source.rb +222 -0
  10. data/lib/docspring/models/compress_pdf_request.rb +207 -0
  11. data/lib/docspring/models/create_template_request.rb +22 -2
  12. data/lib/docspring/models/custom_file_job_source.rb +222 -0
  13. data/lib/docspring/models/decrypt_pdf_request.rb +217 -0
  14. data/lib/docspring/models/encrypt_pdf_request.rb +237 -0
  15. data/lib/docspring/models/error_code.rb +4 -1
  16. data/lib/docspring/models/error_info.rb +25 -5
  17. data/lib/docspring/models/extract_pages_request.rb +234 -0
  18. data/lib/docspring/models/field.rb +1 -1
  19. data/lib/docspring/models/field_input.rb +1 -1
  20. data/lib/docspring/models/flatten_pdf_request.rb +207 -0
  21. data/lib/docspring/models/html_engine_options.rb +1 -1
  22. data/lib/docspring/models/html_engine_options_input.rb +1 -1
  23. data/lib/docspring/models/htmlto_pdf_request.rb +322 -0
  24. data/lib/docspring/models/image_format.rb +41 -0
  25. data/lib/docspring/models/images_to_pdf_request.rb +241 -0
  26. data/lib/docspring/models/job.rb +508 -0
  27. data/lib/docspring/models/job_file.rb +308 -0
  28. data/lib/docspring/models/job_file_job_source.rb +232 -0
  29. data/lib/docspring/models/job_html_engine.rb +41 -0
  30. data/lib/docspring/models/job_list.rb +200 -0
  31. data/lib/docspring/models/job_operation.rb +53 -0
  32. data/lib/docspring/models/job_operation_filter.rb +53 -0
  33. data/lib/docspring/models/job_options.rb +392 -0
  34. data/lib/docspring/models/job_page_margin.rb +198 -0
  35. data/lib/docspring/models/job_page_size.rb +51 -0
  36. data/lib/docspring/models/job_source.rb +267 -0
  37. data/lib/docspring/models/job_source_input.rb +66 -0
  38. data/lib/docspring/models/job_source_type.rb +46 -0
  39. data/lib/docspring/models/job_state.rb +42 -0
  40. data/lib/docspring/models/markdown_to_pdf_request.rb +312 -0
  41. data/lib/docspring/models/open_support_ticket_request.rb +363 -0
  42. data/lib/docspring/models/page_image.rb +3 -3
  43. data/lib/docspring/models/page_number_position.rb +45 -0
  44. data/lib/docspring/models/page_size.rb +45 -0
  45. data/lib/docspring/models/pdf_permissions.rb +198 -0
  46. data/lib/docspring/models/pdf_permissions_input.rb +198 -0
  47. data/lib/docspring/models/pdfto_images_request.rb +269 -0
  48. data/lib/docspring/models/pdfto_text_request.rb +217 -0
  49. data/lib/docspring/models/reply_to_support_ticket_request.rb +217 -0
  50. data/lib/docspring/models/rotate_pages_request.rb +244 -0
  51. data/lib/docspring/models/send_support_feedback_request.rb +363 -0
  52. data/lib/docspring/models/split_pdf_request.rb +229 -0
  53. data/lib/docspring/models/submission_job_source.rb +222 -0
  54. data/lib/docspring/models/support_feedback.rb +239 -0
  55. data/lib/docspring/models/support_help.rb +316 -0
  56. data/lib/docspring/models/support_help_source.rb +212 -0
  57. data/lib/docspring/models/support_help_state.rb +42 -0
  58. data/lib/docspring/models/support_help_turn.rb +234 -0
  59. data/lib/docspring/models/support_help_turn_role.rb +41 -0
  60. data/lib/docspring/models/support_message.rb +301 -0
  61. data/lib/docspring/models/support_message_author.rb +42 -0
  62. data/lib/docspring/models/support_report_agent.rb +188 -0
  63. data/lib/docspring/models/support_report_category.rb +57 -0
  64. data/lib/docspring/models/support_report_impact.rb +42 -0
  65. data/lib/docspring/models/support_report_kind.rb +47 -0
  66. data/lib/docspring/models/support_report_source.rb +41 -0
  67. data/lib/docspring/models/support_ticket.rb +637 -0
  68. data/lib/docspring/models/support_ticket_list.rb +200 -0
  69. data/lib/docspring/models/support_ticket_list_status.rb +42 -0
  70. data/lib/docspring/models/support_ticket_notifications.rb +197 -0
  71. data/lib/docspring/models/support_ticket_reply.rb +210 -0
  72. data/lib/docspring/models/support_ticket_reply_outcome.rb +41 -0
  73. data/lib/docspring/models/support_ticket_resolution.rb +45 -0
  74. data/lib/docspring/models/support_ticket_status.rb +43 -0
  75. data/lib/docspring/models/support_ticket_watch.rb +239 -0
  76. data/lib/docspring/models/template.rb +41 -2
  77. data/lib/docspring/models/template_blank_page.rb +212 -0
  78. data/lib/docspring/models/template_blank_page_input.rb +212 -0
  79. data/lib/docspring/models/template_document.rb +1 -1
  80. data/lib/docspring/models/template_html_engine.rb +41 -0
  81. data/lib/docspring/models/template_page_images.rb +3 -3
  82. data/lib/docspring/models/template_page_list.rb +243 -0
  83. data/lib/docspring/models/template_page_list_input.rb +243 -0
  84. data/lib/docspring/models/template_page_processing_status.rb +28 -1
  85. data/lib/docspring/models/update_template_request.rb +33 -2
  86. data/lib/docspring/models/upload_job_source.rb +222 -0
  87. data/lib/docspring/models/url_job_source.rb +222 -0
  88. data/lib/docspring/models/watermark_layer.rb +41 -0
  89. data/lib/docspring/models/watermark_pdf_request.rb +316 -0
  90. data/lib/docspring/models/webhook_event_type.rb +4 -1
  91. data/lib/docspring/request_schemas.json +2424 -46
  92. data/lib/docspring/version.rb +1 -1
  93. data/lib/docspring.rb +71 -0
  94. metadata +72 -1
@@ -1,5 +1,127 @@
1
1
  {
2
2
  "operations": {
3
+ "addPageNumbers": {
4
+ "query": {
5
+ "wait": {
6
+ "required": false,
7
+ "schema": {
8
+ "type": "boolean"
9
+ }
10
+ }
11
+ },
12
+ "body": {
13
+ "mediaType": "application/json",
14
+ "required": true,
15
+ "schema": {
16
+ "type": "object",
17
+ "properties": {
18
+ "input": {
19
+ "oneOf": [
20
+ {
21
+ "$ref": "#/components/schemas/CustomFileJobSource"
22
+ },
23
+ {
24
+ "$ref": "#/components/schemas/SubmissionJobSource"
25
+ },
26
+ {
27
+ "$ref": "#/components/schemas/CombinedPdfJobSource"
28
+ },
29
+ {
30
+ "$ref": "#/components/schemas/JobFileJobSource"
31
+ },
32
+ {
33
+ "$ref": "#/components/schemas/UploadJobSource"
34
+ },
35
+ {
36
+ "$ref": "#/components/schemas/UrlJobSource"
37
+ },
38
+ {
39
+ "$ref": "#/components/schemas/Base64JobSource"
40
+ }
41
+ ],
42
+ "discriminator": {
43
+ "propertyName": "type",
44
+ "mapping": [
45
+ [
46
+ "custom_file",
47
+ "#/components/schemas/CustomFileJobSource"
48
+ ],
49
+ [
50
+ "submission",
51
+ "#/components/schemas/SubmissionJobSource"
52
+ ],
53
+ [
54
+ "combined_pdf",
55
+ "#/components/schemas/CombinedPdfJobSource"
56
+ ],
57
+ [
58
+ "job",
59
+ "#/components/schemas/JobFileJobSource"
60
+ ],
61
+ [
62
+ "upload",
63
+ "#/components/schemas/UploadJobSource"
64
+ ],
65
+ [
66
+ "url",
67
+ "#/components/schemas/UrlJobSource"
68
+ ],
69
+ [
70
+ "base64",
71
+ "#/components/schemas/Base64JobSource"
72
+ ]
73
+ ]
74
+ }
75
+ },
76
+ "metadata": {
77
+ "type": "object"
78
+ },
79
+ "expires_in": {
80
+ "type": "integer",
81
+ "minimum": 1,
82
+ "maximum": 315360000
83
+ },
84
+ "text": {
85
+ "type": "string",
86
+ "minLength": 1,
87
+ "maxLength": 100
88
+ },
89
+ "position": {
90
+ "type": "string",
91
+ "enum": [
92
+ "bottom_center",
93
+ "bottom_left",
94
+ "bottom_right",
95
+ "top_center",
96
+ "top_left",
97
+ "top_right"
98
+ ]
99
+ },
100
+ "font_size": {
101
+ "type": "number",
102
+ "minimum": 6,
103
+ "maximum": 72
104
+ },
105
+ "start_at": {
106
+ "type": "integer",
107
+ "minimum": 0,
108
+ "maximum": 1000000
109
+ },
110
+ "pages": {
111
+ "type": "string",
112
+ "minLength": 1,
113
+ "maxLength": 1000,
114
+ "pattern": "^ *(\\d+|z)( *- *(\\d+|z))?( *, *(\\d+|z)( *- *(\\d+|z))?)* *$",
115
+ "x-pattern-message": "must be pages and ranges of pages, like 1-3,5 (z is the last page)"
116
+ }
117
+ },
118
+ "required": [
119
+ "input"
120
+ ],
121
+ "additionalProperties": false
122
+ }
123
+ }
124
+ },
3
125
  "addTemplateFields": {
4
126
  "body": {
5
127
  "mediaType": "application/json",
@@ -671,6 +793,159 @@
671
793
  }
672
794
  }
673
795
  },
796
+ "askSupportHelp": {
797
+ "query": {
798
+ "wait": {
799
+ "required": false,
800
+ "schema": {
801
+ "type": "boolean"
802
+ }
803
+ }
804
+ },
805
+ "body": {
806
+ "mediaType": "application/json",
807
+ "required": true,
808
+ "schema": {
809
+ "type": "object",
810
+ "required": [
811
+ "question"
812
+ ],
813
+ "properties": {
814
+ "question": {
815
+ "type": "string",
816
+ "minLength": 3,
817
+ "maxLength": 8000
818
+ },
819
+ "tool": {
820
+ "type": "string",
821
+ "minLength": 1,
822
+ "maxLength": 100
823
+ },
824
+ "error": {
825
+ "type": "string",
826
+ "minLength": 1,
827
+ "maxLength": 4000
828
+ },
829
+ "conversation": {
830
+ "type": "array",
831
+ "maxItems": 40,
832
+ "items": {
833
+ "type": "object",
834
+ "required": [
835
+ "role",
836
+ "text"
837
+ ],
838
+ "properties": {
839
+ "role": {
840
+ "type": "string",
841
+ "enum": [
842
+ "user",
843
+ "assistant"
844
+ ]
845
+ },
846
+ "text": {
847
+ "type": "string",
848
+ "minLength": 1,
849
+ "maxLength": 16000
850
+ }
851
+ },
852
+ "additionalProperties": false
853
+ }
854
+ }
855
+ },
856
+ "additionalProperties": false
857
+ }
858
+ }
859
+ },
860
+ "compressPdf": {
861
+ "query": {
862
+ "wait": {
863
+ "required": false,
864
+ "schema": {
865
+ "type": "boolean"
866
+ }
867
+ }
868
+ },
869
+ "body": {
870
+ "mediaType": "application/json",
871
+ "required": true,
872
+ "schema": {
873
+ "type": "object",
874
+ "properties": {
875
+ "input": {
876
+ "oneOf": [
877
+ {
878
+ "$ref": "#/components/schemas/CustomFileJobSource"
879
+ },
880
+ {
881
+ "$ref": "#/components/schemas/SubmissionJobSource"
882
+ },
883
+ {
884
+ "$ref": "#/components/schemas/CombinedPdfJobSource"
885
+ },
886
+ {
887
+ "$ref": "#/components/schemas/JobFileJobSource"
888
+ },
889
+ {
890
+ "$ref": "#/components/schemas/UploadJobSource"
891
+ },
892
+ {
893
+ "$ref": "#/components/schemas/UrlJobSource"
894
+ },
895
+ {
896
+ "$ref": "#/components/schemas/Base64JobSource"
897
+ }
898
+ ],
899
+ "discriminator": {
900
+ "propertyName": "type",
901
+ "mapping": [
902
+ [
903
+ "custom_file",
904
+ "#/components/schemas/CustomFileJobSource"
905
+ ],
906
+ [
907
+ "submission",
908
+ "#/components/schemas/SubmissionJobSource"
909
+ ],
910
+ [
911
+ "combined_pdf",
912
+ "#/components/schemas/CombinedPdfJobSource"
913
+ ],
914
+ [
915
+ "job",
916
+ "#/components/schemas/JobFileJobSource"
917
+ ],
918
+ [
919
+ "upload",
920
+ "#/components/schemas/UploadJobSource"
921
+ ],
922
+ [
923
+ "url",
924
+ "#/components/schemas/UrlJobSource"
925
+ ],
926
+ [
927
+ "base64",
928
+ "#/components/schemas/Base64JobSource"
929
+ ]
930
+ ]
931
+ }
932
+ },
933
+ "metadata": {
934
+ "type": "object"
935
+ },
936
+ "expires_in": {
937
+ "type": "integer",
938
+ "minimum": 1,
939
+ "maximum": 315360000
940
+ }
941
+ },
942
+ "required": [
943
+ "input"
944
+ ],
945
+ "additionalProperties": false
946
+ }
947
+ }
948
+ },
674
949
  "copyTemplate": {
675
950
  "body": {
676
951
  "mediaType": "application/json",
@@ -2444,6 +2719,16 @@
2444
2719
  "html_escape_data": {
2445
2720
  "type": "boolean"
2446
2721
  },
2722
+ "markdown": {
2723
+ "type": "boolean"
2724
+ },
2725
+ "html_engine": {
2726
+ "type": "string",
2727
+ "enum": [
2728
+ "standard",
2729
+ "chromium"
2730
+ ]
2731
+ },
2447
2732
  "layout": {
2448
2733
  "type": [
2449
2734
  "object",
@@ -2581,6 +2866,8 @@
2581
2866
  "signature_request.email_bounced",
2582
2867
  "combined_pdf.processed",
2583
2868
  "combined_pdf.failed",
2869
+ "job.processed",
2870
+ "job.failed",
2584
2871
  "submission_batch.processed",
2585
2872
  "submission_batch.failed",
2586
2873
  "submission.created",
@@ -2588,6 +2875,7 @@
2588
2875
  "submission.expired",
2589
2876
  "signature_request.updated",
2590
2877
  "combined_pdf.expired",
2878
+ "job.expired",
2591
2879
  "template.created",
2592
2880
  "template.updated",
2593
2881
  "template.deleted",
@@ -2663,12 +2951,107 @@
2663
2951
  }
2664
2952
  }
2665
2953
  },
2954
+ "decryptPdf": {
2955
+ "query": {
2956
+ "wait": {
2957
+ "required": false,
2958
+ "schema": {
2959
+ "type": "boolean"
2960
+ }
2961
+ }
2962
+ },
2963
+ "body": {
2964
+ "mediaType": "application/json",
2965
+ "required": true,
2966
+ "schema": {
2967
+ "type": "object",
2968
+ "properties": {
2969
+ "input": {
2970
+ "oneOf": [
2971
+ {
2972
+ "$ref": "#/components/schemas/CustomFileJobSource"
2973
+ },
2974
+ {
2975
+ "$ref": "#/components/schemas/SubmissionJobSource"
2976
+ },
2977
+ {
2978
+ "$ref": "#/components/schemas/CombinedPdfJobSource"
2979
+ },
2980
+ {
2981
+ "$ref": "#/components/schemas/JobFileJobSource"
2982
+ },
2983
+ {
2984
+ "$ref": "#/components/schemas/UploadJobSource"
2985
+ },
2986
+ {
2987
+ "$ref": "#/components/schemas/UrlJobSource"
2988
+ },
2989
+ {
2990
+ "$ref": "#/components/schemas/Base64JobSource"
2991
+ }
2992
+ ],
2993
+ "discriminator": {
2994
+ "propertyName": "type",
2995
+ "mapping": [
2996
+ [
2997
+ "custom_file",
2998
+ "#/components/schemas/CustomFileJobSource"
2999
+ ],
3000
+ [
3001
+ "submission",
3002
+ "#/components/schemas/SubmissionJobSource"
3003
+ ],
3004
+ [
3005
+ "combined_pdf",
3006
+ "#/components/schemas/CombinedPdfJobSource"
3007
+ ],
3008
+ [
3009
+ "job",
3010
+ "#/components/schemas/JobFileJobSource"
3011
+ ],
3012
+ [
3013
+ "upload",
3014
+ "#/components/schemas/UploadJobSource"
3015
+ ],
3016
+ [
3017
+ "url",
3018
+ "#/components/schemas/UrlJobSource"
3019
+ ],
3020
+ [
3021
+ "base64",
3022
+ "#/components/schemas/Base64JobSource"
3023
+ ]
3024
+ ]
3025
+ }
3026
+ },
3027
+ "metadata": {
3028
+ "type": "object"
3029
+ },
3030
+ "expires_in": {
3031
+ "type": "integer",
3032
+ "minimum": 1,
3033
+ "maximum": 315360000
3034
+ },
3035
+ "password": {
3036
+ "type": "string",
3037
+ "minLength": 1,
3038
+ "maxLength": 127
3039
+ }
3040
+ },
3041
+ "required": [
3042
+ "input"
3043
+ ],
3044
+ "additionalProperties": false
3045
+ }
3046
+ }
3047
+ },
2666
3048
  "deleteAccountEmailAction": {},
2667
3049
  "deleteCustomFile": {},
2668
3050
  "deleteEmailAction": {},
2669
3051
  "deleteEmailActionCustomization": {},
2670
3052
  "deleteEmailDomain": {},
2671
3053
  "deleteFolder": {},
3054
+ "deleteJob": {},
2672
3055
  "deleteTemplate": {
2673
3056
  "query": {
2674
3057
  "version": {
@@ -2682,9 +3065,7 @@
2682
3065
  }
2683
3066
  },
2684
3067
  "deleteWebhook": {},
2685
- "expireCombinedPdf": {},
2686
- "expireSubmission": {},
2687
- "generateSubmissionFiles": {
3068
+ "encryptPdf": {
2688
3069
  "query": {
2689
3070
  "wait": {
2690
3071
  "required": false,
@@ -2698,37 +3079,343 @@
2698
3079
  "required": true,
2699
3080
  "schema": {
2700
3081
  "type": "object",
2701
- "required": [
2702
- "formats"
2703
- ],
2704
3082
  "properties": {
2705
- "formats": {
2706
- "type": "array",
2707
- "minItems": 1,
2708
- "uniqueItems": true,
2709
- "items": {
2710
- "type": "string",
2711
- "enum": [
2712
- "pdf",
2713
- "docx",
2714
- "odt",
2715
- "png"
3083
+ "input": {
3084
+ "oneOf": [
3085
+ {
3086
+ "$ref": "#/components/schemas/CustomFileJobSource"
3087
+ },
3088
+ {
3089
+ "$ref": "#/components/schemas/SubmissionJobSource"
3090
+ },
3091
+ {
3092
+ "$ref": "#/components/schemas/CombinedPdfJobSource"
3093
+ },
3094
+ {
3095
+ "$ref": "#/components/schemas/JobFileJobSource"
3096
+ },
3097
+ {
3098
+ "$ref": "#/components/schemas/UploadJobSource"
3099
+ },
3100
+ {
3101
+ "$ref": "#/components/schemas/UrlJobSource"
3102
+ },
3103
+ {
3104
+ "$ref": "#/components/schemas/Base64JobSource"
3105
+ }
3106
+ ],
3107
+ "discriminator": {
3108
+ "propertyName": "type",
3109
+ "mapping": [
3110
+ [
3111
+ "custom_file",
3112
+ "#/components/schemas/CustomFileJobSource"
3113
+ ],
3114
+ [
3115
+ "submission",
3116
+ "#/components/schemas/SubmissionJobSource"
3117
+ ],
3118
+ [
3119
+ "combined_pdf",
3120
+ "#/components/schemas/CombinedPdfJobSource"
3121
+ ],
3122
+ [
3123
+ "job",
3124
+ "#/components/schemas/JobFileJobSource"
3125
+ ],
3126
+ [
3127
+ "upload",
3128
+ "#/components/schemas/UploadJobSource"
3129
+ ],
3130
+ [
3131
+ "url",
3132
+ "#/components/schemas/UrlJobSource"
3133
+ ],
3134
+ [
3135
+ "base64",
3136
+ "#/components/schemas/Base64JobSource"
3137
+ ]
2716
3138
  ]
2717
3139
  }
2718
- }
2719
- },
2720
- "additionalProperties": false
2721
- }
2722
- }
2723
- },
2724
- "generateSubmissionPreview": {},
2725
- "getAccountEmailAction": {},
2726
- "getCombinedPdf": {},
2727
- "getCustomFile": {},
2728
- "getEmailAction": {},
2729
- "getEmailDomain": {},
2730
- "getFolder": {},
2731
- "getPresignUrl": {},
3140
+ },
3141
+ "metadata": {
3142
+ "type": "object"
3143
+ },
3144
+ "expires_in": {
3145
+ "type": "integer",
3146
+ "minimum": 1,
3147
+ "maximum": 315360000
3148
+ },
3149
+ "user_password": {
3150
+ "type": "string",
3151
+ "minLength": 1,
3152
+ "maxLength": 127
3153
+ },
3154
+ "owner_password": {
3155
+ "type": "string",
3156
+ "minLength": 1,
3157
+ "maxLength": 127
3158
+ },
3159
+ "permissions": {
3160
+ "type": "object",
3161
+ "properties": {
3162
+ "print": {
3163
+ "type": "boolean"
3164
+ },
3165
+ "copy": {
3166
+ "type": "boolean"
3167
+ },
3168
+ "modify": {
3169
+ "type": "boolean"
3170
+ },
3171
+ "annotate": {
3172
+ "type": "boolean"
3173
+ }
3174
+ },
3175
+ "additionalProperties": false
3176
+ }
3177
+ },
3178
+ "required": [
3179
+ "input"
3180
+ ],
3181
+ "additionalProperties": false
3182
+ }
3183
+ }
3184
+ },
3185
+ "expireCombinedPdf": {},
3186
+ "expireSubmission": {},
3187
+ "extractPages": {
3188
+ "query": {
3189
+ "wait": {
3190
+ "required": false,
3191
+ "schema": {
3192
+ "type": "boolean"
3193
+ }
3194
+ }
3195
+ },
3196
+ "body": {
3197
+ "mediaType": "application/json",
3198
+ "required": true,
3199
+ "schema": {
3200
+ "type": "object",
3201
+ "properties": {
3202
+ "input": {
3203
+ "oneOf": [
3204
+ {
3205
+ "$ref": "#/components/schemas/CustomFileJobSource"
3206
+ },
3207
+ {
3208
+ "$ref": "#/components/schemas/SubmissionJobSource"
3209
+ },
3210
+ {
3211
+ "$ref": "#/components/schemas/CombinedPdfJobSource"
3212
+ },
3213
+ {
3214
+ "$ref": "#/components/schemas/JobFileJobSource"
3215
+ },
3216
+ {
3217
+ "$ref": "#/components/schemas/UploadJobSource"
3218
+ },
3219
+ {
3220
+ "$ref": "#/components/schemas/UrlJobSource"
3221
+ },
3222
+ {
3223
+ "$ref": "#/components/schemas/Base64JobSource"
3224
+ }
3225
+ ],
3226
+ "discriminator": {
3227
+ "propertyName": "type",
3228
+ "mapping": [
3229
+ [
3230
+ "custom_file",
3231
+ "#/components/schemas/CustomFileJobSource"
3232
+ ],
3233
+ [
3234
+ "submission",
3235
+ "#/components/schemas/SubmissionJobSource"
3236
+ ],
3237
+ [
3238
+ "combined_pdf",
3239
+ "#/components/schemas/CombinedPdfJobSource"
3240
+ ],
3241
+ [
3242
+ "job",
3243
+ "#/components/schemas/JobFileJobSource"
3244
+ ],
3245
+ [
3246
+ "upload",
3247
+ "#/components/schemas/UploadJobSource"
3248
+ ],
3249
+ [
3250
+ "url",
3251
+ "#/components/schemas/UrlJobSource"
3252
+ ],
3253
+ [
3254
+ "base64",
3255
+ "#/components/schemas/Base64JobSource"
3256
+ ]
3257
+ ]
3258
+ }
3259
+ },
3260
+ "metadata": {
3261
+ "type": "object"
3262
+ },
3263
+ "expires_in": {
3264
+ "type": "integer",
3265
+ "minimum": 1,
3266
+ "maximum": 315360000
3267
+ },
3268
+ "pages": {
3269
+ "type": "string",
3270
+ "minLength": 1,
3271
+ "maxLength": 1000,
3272
+ "pattern": "^ *(\\d+|z)( *- *(\\d+|z))?( *, *(\\d+|z)( *- *(\\d+|z))?)* *$",
3273
+ "x-pattern-message": "must be pages and ranges of pages, like 1-3,5 (z is the last page)"
3274
+ }
3275
+ },
3276
+ "required": [
3277
+ "input",
3278
+ "pages"
3279
+ ],
3280
+ "additionalProperties": false
3281
+ }
3282
+ }
3283
+ },
3284
+ "flattenPdf": {
3285
+ "query": {
3286
+ "wait": {
3287
+ "required": false,
3288
+ "schema": {
3289
+ "type": "boolean"
3290
+ }
3291
+ }
3292
+ },
3293
+ "body": {
3294
+ "mediaType": "application/json",
3295
+ "required": true,
3296
+ "schema": {
3297
+ "type": "object",
3298
+ "properties": {
3299
+ "input": {
3300
+ "oneOf": [
3301
+ {
3302
+ "$ref": "#/components/schemas/CustomFileJobSource"
3303
+ },
3304
+ {
3305
+ "$ref": "#/components/schemas/SubmissionJobSource"
3306
+ },
3307
+ {
3308
+ "$ref": "#/components/schemas/CombinedPdfJobSource"
3309
+ },
3310
+ {
3311
+ "$ref": "#/components/schemas/JobFileJobSource"
3312
+ },
3313
+ {
3314
+ "$ref": "#/components/schemas/UploadJobSource"
3315
+ },
3316
+ {
3317
+ "$ref": "#/components/schemas/UrlJobSource"
3318
+ },
3319
+ {
3320
+ "$ref": "#/components/schemas/Base64JobSource"
3321
+ }
3322
+ ],
3323
+ "discriminator": {
3324
+ "propertyName": "type",
3325
+ "mapping": [
3326
+ [
3327
+ "custom_file",
3328
+ "#/components/schemas/CustomFileJobSource"
3329
+ ],
3330
+ [
3331
+ "submission",
3332
+ "#/components/schemas/SubmissionJobSource"
3333
+ ],
3334
+ [
3335
+ "combined_pdf",
3336
+ "#/components/schemas/CombinedPdfJobSource"
3337
+ ],
3338
+ [
3339
+ "job",
3340
+ "#/components/schemas/JobFileJobSource"
3341
+ ],
3342
+ [
3343
+ "upload",
3344
+ "#/components/schemas/UploadJobSource"
3345
+ ],
3346
+ [
3347
+ "url",
3348
+ "#/components/schemas/UrlJobSource"
3349
+ ],
3350
+ [
3351
+ "base64",
3352
+ "#/components/schemas/Base64JobSource"
3353
+ ]
3354
+ ]
3355
+ }
3356
+ },
3357
+ "metadata": {
3358
+ "type": "object"
3359
+ },
3360
+ "expires_in": {
3361
+ "type": "integer",
3362
+ "minimum": 1,
3363
+ "maximum": 315360000
3364
+ }
3365
+ },
3366
+ "required": [
3367
+ "input"
3368
+ ],
3369
+ "additionalProperties": false
3370
+ }
3371
+ }
3372
+ },
3373
+ "generateSubmissionFiles": {
3374
+ "query": {
3375
+ "wait": {
3376
+ "required": false,
3377
+ "schema": {
3378
+ "type": "boolean"
3379
+ }
3380
+ }
3381
+ },
3382
+ "body": {
3383
+ "mediaType": "application/json",
3384
+ "required": true,
3385
+ "schema": {
3386
+ "type": "object",
3387
+ "required": [
3388
+ "formats"
3389
+ ],
3390
+ "properties": {
3391
+ "formats": {
3392
+ "type": "array",
3393
+ "minItems": 1,
3394
+ "uniqueItems": true,
3395
+ "items": {
3396
+ "type": "string",
3397
+ "enum": [
3398
+ "pdf",
3399
+ "docx",
3400
+ "odt",
3401
+ "png"
3402
+ ]
3403
+ }
3404
+ }
3405
+ },
3406
+ "additionalProperties": false
3407
+ }
3408
+ }
3409
+ },
3410
+ "generateSubmissionPreview": {},
3411
+ "getAccountEmailAction": {},
3412
+ "getCombinedPdf": {},
3413
+ "getCustomFile": {},
3414
+ "getEmailAction": {},
3415
+ "getEmailDomain": {},
3416
+ "getFolder": {},
3417
+ "getJob": {},
3418
+ "getPresignUrl": {},
2732
3419
  "getSignatureRequest": {},
2733
3420
  "getSubmission": {},
2734
3421
  "getSubmissionBatch": {
@@ -2741,6 +3428,19 @@
2741
3428
  }
2742
3429
  }
2743
3430
  },
3431
+ "getSupportHelp": {},
3432
+ "getSupportTicket": {
3433
+ "query": {
3434
+ "after_message_id": {
3435
+ "required": false,
3436
+ "schema": {
3437
+ "type": "string",
3438
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3439
+ "x-pattern-message": "can't be blank"
3440
+ }
3441
+ }
3442
+ }
3443
+ },
2744
3444
  "getTemplate": {
2745
3445
  "query": {
2746
3446
  "version": {
@@ -2827,6 +3527,280 @@
2827
3527
  }
2828
3528
  },
2829
3529
  "getWebhook": {},
3530
+ "htmlToPdf": {
3531
+ "query": {
3532
+ "wait": {
3533
+ "required": false,
3534
+ "schema": {
3535
+ "type": "boolean"
3536
+ }
3537
+ }
3538
+ },
3539
+ "body": {
3540
+ "mediaType": "application/json",
3541
+ "required": true,
3542
+ "schema": {
3543
+ "type": "object",
3544
+ "properties": {
3545
+ "input": {
3546
+ "oneOf": [
3547
+ {
3548
+ "$ref": "#/components/schemas/CustomFileJobSource"
3549
+ },
3550
+ {
3551
+ "$ref": "#/components/schemas/SubmissionJobSource"
3552
+ },
3553
+ {
3554
+ "$ref": "#/components/schemas/CombinedPdfJobSource"
3555
+ },
3556
+ {
3557
+ "$ref": "#/components/schemas/JobFileJobSource"
3558
+ },
3559
+ {
3560
+ "$ref": "#/components/schemas/UploadJobSource"
3561
+ },
3562
+ {
3563
+ "$ref": "#/components/schemas/UrlJobSource"
3564
+ },
3565
+ {
3566
+ "$ref": "#/components/schemas/Base64JobSource"
3567
+ }
3568
+ ],
3569
+ "discriminator": {
3570
+ "propertyName": "type",
3571
+ "mapping": [
3572
+ [
3573
+ "custom_file",
3574
+ "#/components/schemas/CustomFileJobSource"
3575
+ ],
3576
+ [
3577
+ "submission",
3578
+ "#/components/schemas/SubmissionJobSource"
3579
+ ],
3580
+ [
3581
+ "combined_pdf",
3582
+ "#/components/schemas/CombinedPdfJobSource"
3583
+ ],
3584
+ [
3585
+ "job",
3586
+ "#/components/schemas/JobFileJobSource"
3587
+ ],
3588
+ [
3589
+ "upload",
3590
+ "#/components/schemas/UploadJobSource"
3591
+ ],
3592
+ [
3593
+ "url",
3594
+ "#/components/schemas/UrlJobSource"
3595
+ ],
3596
+ [
3597
+ "base64",
3598
+ "#/components/schemas/Base64JobSource"
3599
+ ]
3600
+ ]
3601
+ }
3602
+ },
3603
+ "metadata": {
3604
+ "type": "object"
3605
+ },
3606
+ "expires_in": {
3607
+ "type": "integer",
3608
+ "minimum": 1,
3609
+ "maximum": 315360000
3610
+ },
3611
+ "html": {
3612
+ "type": "string",
3613
+ "minLength": 1,
3614
+ "maxLength": 10485760
3615
+ },
3616
+ "engine": {
3617
+ "type": "string",
3618
+ "enum": [
3619
+ "standard",
3620
+ "chromium"
3621
+ ]
3622
+ },
3623
+ "scale": {
3624
+ "type": "number",
3625
+ "minimum": 0.1,
3626
+ "maximum": 2
3627
+ },
3628
+ "header_html": {
3629
+ "type": "string",
3630
+ "maxLength": 100000
3631
+ },
3632
+ "footer_html": {
3633
+ "type": "string",
3634
+ "maxLength": 100000
3635
+ },
3636
+ "page_size": {
3637
+ "type": "string",
3638
+ "enum": [
3639
+ "Letter",
3640
+ "Legal",
3641
+ "Tabloid",
3642
+ "Ledger",
3643
+ "CR80",
3644
+ "A0",
3645
+ "A1",
3646
+ "A2",
3647
+ "A3",
3648
+ "A4",
3649
+ "A5",
3650
+ "A6"
3651
+ ]
3652
+ },
3653
+ "width": {
3654
+ "type": "string",
3655
+ "pattern": "^\\d{1,6}(\\.\\d{1,6})?(in|cm|mm|px)$",
3656
+ "x-pattern-message": "must be a length in in, cm, mm or px, like 8.5in or 210mm"
3657
+ },
3658
+ "height": {
3659
+ "type": "string",
3660
+ "pattern": "^\\d{1,6}(\\.\\d{1,6})?(in|cm|mm|px)$",
3661
+ "x-pattern-message": "must be a length in in, cm, mm or px, like 8.5in or 210mm"
3662
+ },
3663
+ "landscape": {
3664
+ "type": "boolean"
3665
+ },
3666
+ "margin": {
3667
+ "type": "object",
3668
+ "additionalProperties": false,
3669
+ "properties": {
3670
+ "top": {
3671
+ "type": "string",
3672
+ "pattern": "^\\d{1,6}(\\.\\d{1,6})?(in|cm|mm|px)$",
3673
+ "x-pattern-message": "must be a length in in, cm, mm or px, like 8.5in or 210mm"
3674
+ },
3675
+ "right": {
3676
+ "type": "string",
3677
+ "pattern": "^\\d{1,6}(\\.\\d{1,6})?(in|cm|mm|px)$",
3678
+ "x-pattern-message": "must be a length in in, cm, mm or px, like 8.5in or 210mm"
3679
+ },
3680
+ "bottom": {
3681
+ "type": "string",
3682
+ "pattern": "^\\d{1,6}(\\.\\d{1,6})?(in|cm|mm|px)$",
3683
+ "x-pattern-message": "must be a length in in, cm, mm or px, like 8.5in or 210mm"
3684
+ },
3685
+ "left": {
3686
+ "type": "string",
3687
+ "pattern": "^\\d{1,6}(\\.\\d{1,6})?(in|cm|mm|px)$",
3688
+ "x-pattern-message": "must be a length in in, cm, mm or px, like 8.5in or 210mm"
3689
+ }
3690
+ }
3691
+ },
3692
+ "print_background": {
3693
+ "type": "boolean"
3694
+ }
3695
+ },
3696
+ "additionalProperties": false
3697
+ }
3698
+ }
3699
+ },
3700
+ "imagesToPdf": {
3701
+ "query": {
3702
+ "wait": {
3703
+ "required": false,
3704
+ "schema": {
3705
+ "type": "boolean"
3706
+ }
3707
+ }
3708
+ },
3709
+ "body": {
3710
+ "mediaType": "application/json",
3711
+ "required": true,
3712
+ "schema": {
3713
+ "type": "object",
3714
+ "properties": {
3715
+ "inputs": {
3716
+ "type": "array",
3717
+ "maxItems": 100,
3718
+ "items": {
3719
+ "oneOf": [
3720
+ {
3721
+ "$ref": "#/components/schemas/CustomFileJobSource"
3722
+ },
3723
+ {
3724
+ "$ref": "#/components/schemas/SubmissionJobSource"
3725
+ },
3726
+ {
3727
+ "$ref": "#/components/schemas/CombinedPdfJobSource"
3728
+ },
3729
+ {
3730
+ "$ref": "#/components/schemas/JobFileJobSource"
3731
+ },
3732
+ {
3733
+ "$ref": "#/components/schemas/UploadJobSource"
3734
+ },
3735
+ {
3736
+ "$ref": "#/components/schemas/UrlJobSource"
3737
+ },
3738
+ {
3739
+ "$ref": "#/components/schemas/Base64JobSource"
3740
+ }
3741
+ ],
3742
+ "discriminator": {
3743
+ "propertyName": "type",
3744
+ "mapping": [
3745
+ [
3746
+ "custom_file",
3747
+ "#/components/schemas/CustomFileJobSource"
3748
+ ],
3749
+ [
3750
+ "submission",
3751
+ "#/components/schemas/SubmissionJobSource"
3752
+ ],
3753
+ [
3754
+ "combined_pdf",
3755
+ "#/components/schemas/CombinedPdfJobSource"
3756
+ ],
3757
+ [
3758
+ "job",
3759
+ "#/components/schemas/JobFileJobSource"
3760
+ ],
3761
+ [
3762
+ "upload",
3763
+ "#/components/schemas/UploadJobSource"
3764
+ ],
3765
+ [
3766
+ "url",
3767
+ "#/components/schemas/UrlJobSource"
3768
+ ],
3769
+ [
3770
+ "base64",
3771
+ "#/components/schemas/Base64JobSource"
3772
+ ]
3773
+ ]
3774
+ }
3775
+ }
3776
+ },
3777
+ "metadata": {
3778
+ "type": "object"
3779
+ },
3780
+ "expires_in": {
3781
+ "type": "integer",
3782
+ "minimum": 1,
3783
+ "maximum": 315360000
3784
+ },
3785
+ "page_size": {
3786
+ "type": "string",
3787
+ "enum": [
3788
+ "fit",
3789
+ "letter",
3790
+ "legal",
3791
+ "a3",
3792
+ "a4",
3793
+ "a5"
3794
+ ]
3795
+ }
3796
+ },
3797
+ "required": [
3798
+ "inputs"
3799
+ ],
3800
+ "additionalProperties": false
3801
+ }
3802
+ }
3803
+ },
2830
3804
  "listAccountEmailActions": {
2831
3805
  "query": {
2832
3806
  "limit": {
@@ -2955,6 +3929,48 @@
2955
3929
  }
2956
3930
  }
2957
3931
  },
3932
+ "listJobs": {
3933
+ "query": {
3934
+ "operation": {
3935
+ "required": false,
3936
+ "schema": {
3937
+ "type": "string",
3938
+ "enum": [
3939
+ "split_pdf",
3940
+ "extract_pages",
3941
+ "rotate_pages",
3942
+ "encrypt_pdf",
3943
+ "decrypt_pdf",
3944
+ "watermark_pdf",
3945
+ "add_page_numbers",
3946
+ "compress_pdf",
3947
+ "flatten_pdf",
3948
+ "pdf_to_images",
3949
+ "images_to_pdf",
3950
+ "pdf_to_text",
3951
+ "html_to_pdf",
3952
+ "markdown_to_pdf"
3953
+ ]
3954
+ }
3955
+ },
3956
+ "limit": {
3957
+ "required": false,
3958
+ "schema": {
3959
+ "type": "integer",
3960
+ "minimum": 1,
3961
+ "maximum": 100
3962
+ }
3963
+ },
3964
+ "cursor": {
3965
+ "required": false,
3966
+ "schema": {
3967
+ "type": "string",
3968
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3969
+ "x-pattern-message": "can't be blank"
3970
+ }
3971
+ }
3972
+ }
3973
+ },
2958
3974
  "listSubmissions": {
2959
3975
  "query": {
2960
3976
  "template_id": {
@@ -3028,10 +4044,57 @@
3028
4044
  ]
3029
4045
  }
3030
4046
  },
3031
- "include_files": {
4047
+ "include_files": {
4048
+ "required": false,
4049
+ "schema": {
4050
+ "type": "boolean"
4051
+ }
4052
+ }
4053
+ }
4054
+ },
4055
+ "listSupportTickets": {
4056
+ "query": {
4057
+ "status": {
4058
+ "required": false,
4059
+ "schema": {
4060
+ "type": "string",
4061
+ "enum": [
4062
+ "open",
4063
+ "closed",
4064
+ "all"
4065
+ ]
4066
+ }
4067
+ },
4068
+ "session": {
4069
+ "required": false,
4070
+ "schema": {
4071
+ "type": "string",
4072
+ "maxLength": 100,
4073
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
4074
+ "x-pattern-message": "can't be blank"
4075
+ }
4076
+ },
4077
+ "updated_since": {
3032
4078
  "required": false,
3033
4079
  "schema": {
3034
- "type": "boolean"
4080
+ "type": "string",
4081
+ "format": "date-time"
4082
+ }
4083
+ },
4084
+ "limit": {
4085
+ "required": false,
4086
+ "schema": {
4087
+ "type": "integer",
4088
+ "minimum": 1,
4089
+ "maximum": 100
4090
+ }
4091
+ },
4092
+ "cursor": {
4093
+ "required": false,
4094
+ "schema": {
4095
+ "type": "string",
4096
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
4097
+ "x-pattern-message": "can't be blank"
3035
4098
  }
3036
4099
  }
3037
4100
  }
@@ -3174,6 +4237,8 @@
3174
4237
  "signature_request.email_bounced",
3175
4238
  "combined_pdf.processed",
3176
4239
  "combined_pdf.failed",
4240
+ "job.processed",
4241
+ "job.failed",
3177
4242
  "submission_batch.processed",
3178
4243
  "submission_batch.failed",
3179
4244
  "submission.created",
@@ -3181,6 +4246,7 @@
3181
4246
  "submission.expired",
3182
4247
  "signature_request.updated",
3183
4248
  "combined_pdf.expired",
4249
+ "job.expired",
3184
4250
  "template.created",
3185
4251
  "template.updated",
3186
4252
  "template.deleted",
@@ -3246,6 +4312,168 @@
3246
4312
  }
3247
4313
  }
3248
4314
  },
4315
+ "markdownToPdf": {
4316
+ "query": {
4317
+ "wait": {
4318
+ "required": false,
4319
+ "schema": {
4320
+ "type": "boolean"
4321
+ }
4322
+ }
4323
+ },
4324
+ "body": {
4325
+ "mediaType": "application/json",
4326
+ "required": true,
4327
+ "schema": {
4328
+ "type": "object",
4329
+ "properties": {
4330
+ "input": {
4331
+ "oneOf": [
4332
+ {
4333
+ "$ref": "#/components/schemas/CustomFileJobSource"
4334
+ },
4335
+ {
4336
+ "$ref": "#/components/schemas/SubmissionJobSource"
4337
+ },
4338
+ {
4339
+ "$ref": "#/components/schemas/CombinedPdfJobSource"
4340
+ },
4341
+ {
4342
+ "$ref": "#/components/schemas/JobFileJobSource"
4343
+ },
4344
+ {
4345
+ "$ref": "#/components/schemas/UploadJobSource"
4346
+ },
4347
+ {
4348
+ "$ref": "#/components/schemas/UrlJobSource"
4349
+ },
4350
+ {
4351
+ "$ref": "#/components/schemas/Base64JobSource"
4352
+ }
4353
+ ],
4354
+ "discriminator": {
4355
+ "propertyName": "type",
4356
+ "mapping": [
4357
+ [
4358
+ "custom_file",
4359
+ "#/components/schemas/CustomFileJobSource"
4360
+ ],
4361
+ [
4362
+ "submission",
4363
+ "#/components/schemas/SubmissionJobSource"
4364
+ ],
4365
+ [
4366
+ "combined_pdf",
4367
+ "#/components/schemas/CombinedPdfJobSource"
4368
+ ],
4369
+ [
4370
+ "job",
4371
+ "#/components/schemas/JobFileJobSource"
4372
+ ],
4373
+ [
4374
+ "upload",
4375
+ "#/components/schemas/UploadJobSource"
4376
+ ],
4377
+ [
4378
+ "url",
4379
+ "#/components/schemas/UrlJobSource"
4380
+ ],
4381
+ [
4382
+ "base64",
4383
+ "#/components/schemas/Base64JobSource"
4384
+ ]
4385
+ ]
4386
+ }
4387
+ },
4388
+ "metadata": {
4389
+ "type": "object"
4390
+ },
4391
+ "expires_in": {
4392
+ "type": "integer",
4393
+ "minimum": 1,
4394
+ "maximum": 315360000
4395
+ },
4396
+ "header_html": {
4397
+ "type": "string",
4398
+ "maxLength": 100000
4399
+ },
4400
+ "footer_html": {
4401
+ "type": "string",
4402
+ "maxLength": 100000
4403
+ },
4404
+ "page_size": {
4405
+ "type": "string",
4406
+ "enum": [
4407
+ "Letter",
4408
+ "Legal",
4409
+ "Tabloid",
4410
+ "Ledger",
4411
+ "CR80",
4412
+ "A0",
4413
+ "A1",
4414
+ "A2",
4415
+ "A3",
4416
+ "A4",
4417
+ "A5",
4418
+ "A6"
4419
+ ]
4420
+ },
4421
+ "width": {
4422
+ "type": "string",
4423
+ "pattern": "^\\d{1,6}(\\.\\d{1,6})?(in|cm|mm|px)$",
4424
+ "x-pattern-message": "must be a length in in, cm, mm or px, like 8.5in or 210mm"
4425
+ },
4426
+ "height": {
4427
+ "type": "string",
4428
+ "pattern": "^\\d{1,6}(\\.\\d{1,6})?(in|cm|mm|px)$",
4429
+ "x-pattern-message": "must be a length in in, cm, mm or px, like 8.5in or 210mm"
4430
+ },
4431
+ "landscape": {
4432
+ "type": "boolean"
4433
+ },
4434
+ "margin": {
4435
+ "type": "object",
4436
+ "additionalProperties": false,
4437
+ "properties": {
4438
+ "top": {
4439
+ "type": "string",
4440
+ "pattern": "^\\d{1,6}(\\.\\d{1,6})?(in|cm|mm|px)$",
4441
+ "x-pattern-message": "must be a length in in, cm, mm or px, like 8.5in or 210mm"
4442
+ },
4443
+ "right": {
4444
+ "type": "string",
4445
+ "pattern": "^\\d{1,6}(\\.\\d{1,6})?(in|cm|mm|px)$",
4446
+ "x-pattern-message": "must be a length in in, cm, mm or px, like 8.5in or 210mm"
4447
+ },
4448
+ "bottom": {
4449
+ "type": "string",
4450
+ "pattern": "^\\d{1,6}(\\.\\d{1,6})?(in|cm|mm|px)$",
4451
+ "x-pattern-message": "must be a length in in, cm, mm or px, like 8.5in or 210mm"
4452
+ },
4453
+ "left": {
4454
+ "type": "string",
4455
+ "pattern": "^\\d{1,6}(\\.\\d{1,6})?(in|cm|mm|px)$",
4456
+ "x-pattern-message": "must be a length in in, cm, mm or px, like 8.5in or 210mm"
4457
+ }
4458
+ }
4459
+ },
4460
+ "print_background": {
4461
+ "type": "boolean"
4462
+ },
4463
+ "markdown": {
4464
+ "type": "string",
4465
+ "minLength": 1,
4466
+ "maxLength": 10485760
4467
+ },
4468
+ "css": {
4469
+ "type": "string",
4470
+ "maxLength": 1000000
4471
+ }
4472
+ },
4473
+ "additionalProperties": false
4474
+ }
4475
+ }
4476
+ },
3249
4477
  "moveFolder": {
3250
4478
  "body": {
3251
4479
  "mediaType": "application/json",
@@ -3263,31 +4491,374 @@
3263
4491
  }
3264
4492
  },
3265
4493
  "required": [
3266
- "parent_folder_id"
4494
+ "parent_folder_id"
4495
+ ],
4496
+ "additionalProperties": false
4497
+ }
4498
+ }
4499
+ },
4500
+ "moveTemplate": {
4501
+ "body": {
4502
+ "mediaType": "application/json",
4503
+ "required": true,
4504
+ "schema": {
4505
+ "type": "object",
4506
+ "required": [
4507
+ "parent_folder_id"
4508
+ ],
4509
+ "properties": {
4510
+ "parent_folder_id": {
4511
+ "type": [
4512
+ "string",
4513
+ "null"
4514
+ ],
4515
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
4516
+ "x-pattern-message": "can't be blank"
4517
+ }
4518
+ },
4519
+ "additionalProperties": false
4520
+ }
4521
+ }
4522
+ },
4523
+ "openSupportTicket": {
4524
+ "body": {
4525
+ "mediaType": "application/json",
4526
+ "required": true,
4527
+ "schema": {
4528
+ "type": "object",
4529
+ "required": [
4530
+ "title",
4531
+ "kind",
4532
+ "description"
4533
+ ],
4534
+ "properties": {
4535
+ "title": {
4536
+ "type": "string",
4537
+ "minLength": 3,
4538
+ "maxLength": 200
4539
+ },
4540
+ "kind": {
4541
+ "type": "string",
4542
+ "enum": [
4543
+ "bug",
4544
+ "crash",
4545
+ "wrong_result",
4546
+ "confusing",
4547
+ "missing_feature",
4548
+ "docs",
4549
+ "question",
4550
+ "other"
4551
+ ]
4552
+ },
4553
+ "category": {
4554
+ "type": "string",
4555
+ "enum": [
4556
+ "pdf_templates",
4557
+ "html_templates",
4558
+ "word_templates",
4559
+ "page_designer",
4560
+ "template_editor",
4561
+ "submissions",
4562
+ "web_forms",
4563
+ "signature_requests",
4564
+ "api",
4565
+ "sdks",
4566
+ "cli",
4567
+ "mcp",
4568
+ "integrations",
4569
+ "webhooks",
4570
+ "billing",
4571
+ "account",
4572
+ "docs",
4573
+ "other"
4574
+ ]
4575
+ },
4576
+ "description": {
4577
+ "type": "string",
4578
+ "minLength": 1,
4579
+ "maxLength": 4000
4580
+ },
4581
+ "impact": {
4582
+ "type": "string",
4583
+ "enum": [
4584
+ "blocked",
4585
+ "worked_around",
4586
+ "friction"
4587
+ ]
4588
+ },
4589
+ "task": {
4590
+ "type": "string",
4591
+ "minLength": 1,
4592
+ "maxLength": 200
4593
+ },
4594
+ "request_ids": {
4595
+ "type": "array",
4596
+ "maxItems": 10,
4597
+ "items": {
4598
+ "type": "string",
4599
+ "maxLength": 255,
4600
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
4601
+ "x-pattern-message": "can't be blank"
4602
+ }
4603
+ },
4604
+ "tool": {
4605
+ "type": "string",
4606
+ "minLength": 1,
4607
+ "maxLength": 100
4608
+ },
4609
+ "error": {
4610
+ "type": "string",
4611
+ "minLength": 1,
4612
+ "maxLength": 4000
4613
+ },
4614
+ "suggestion": {
4615
+ "type": "string",
4616
+ "minLength": 1,
4617
+ "maxLength": 2000
4618
+ },
4619
+ "source": {
4620
+ "type": "string",
4621
+ "enum": [
4622
+ "agent",
4623
+ "user"
4624
+ ]
4625
+ },
4626
+ "session": {
4627
+ "type": "string",
4628
+ "minLength": 1,
4629
+ "maxLength": 100
4630
+ },
4631
+ "agent": {
4632
+ "type": "object",
4633
+ "properties": {
4634
+ "name": {
4635
+ "type": "string",
4636
+ "minLength": 1,
4637
+ "maxLength": 100
4638
+ },
4639
+ "version": {
4640
+ "type": "string",
4641
+ "minLength": 1,
4642
+ "maxLength": 100
4643
+ },
4644
+ "model": {
4645
+ "type": "string",
4646
+ "minLength": 1,
4647
+ "maxLength": 100
4648
+ }
4649
+ },
4650
+ "additionalProperties": false
4651
+ }
4652
+ },
4653
+ "additionalProperties": false
4654
+ }
4655
+ }
4656
+ },
4657
+ "pdfToImages": {
4658
+ "query": {
4659
+ "wait": {
4660
+ "required": false,
4661
+ "schema": {
4662
+ "type": "boolean"
4663
+ }
4664
+ }
4665
+ },
4666
+ "body": {
4667
+ "mediaType": "application/json",
4668
+ "required": true,
4669
+ "schema": {
4670
+ "type": "object",
4671
+ "properties": {
4672
+ "input": {
4673
+ "oneOf": [
4674
+ {
4675
+ "$ref": "#/components/schemas/CustomFileJobSource"
4676
+ },
4677
+ {
4678
+ "$ref": "#/components/schemas/SubmissionJobSource"
4679
+ },
4680
+ {
4681
+ "$ref": "#/components/schemas/CombinedPdfJobSource"
4682
+ },
4683
+ {
4684
+ "$ref": "#/components/schemas/JobFileJobSource"
4685
+ },
4686
+ {
4687
+ "$ref": "#/components/schemas/UploadJobSource"
4688
+ },
4689
+ {
4690
+ "$ref": "#/components/schemas/UrlJobSource"
4691
+ },
4692
+ {
4693
+ "$ref": "#/components/schemas/Base64JobSource"
4694
+ }
4695
+ ],
4696
+ "discriminator": {
4697
+ "propertyName": "type",
4698
+ "mapping": [
4699
+ [
4700
+ "custom_file",
4701
+ "#/components/schemas/CustomFileJobSource"
4702
+ ],
4703
+ [
4704
+ "submission",
4705
+ "#/components/schemas/SubmissionJobSource"
4706
+ ],
4707
+ [
4708
+ "combined_pdf",
4709
+ "#/components/schemas/CombinedPdfJobSource"
4710
+ ],
4711
+ [
4712
+ "job",
4713
+ "#/components/schemas/JobFileJobSource"
4714
+ ],
4715
+ [
4716
+ "upload",
4717
+ "#/components/schemas/UploadJobSource"
4718
+ ],
4719
+ [
4720
+ "url",
4721
+ "#/components/schemas/UrlJobSource"
4722
+ ],
4723
+ [
4724
+ "base64",
4725
+ "#/components/schemas/Base64JobSource"
4726
+ ]
4727
+ ]
4728
+ }
4729
+ },
4730
+ "metadata": {
4731
+ "type": "object"
4732
+ },
4733
+ "expires_in": {
4734
+ "type": "integer",
4735
+ "minimum": 1,
4736
+ "maximum": 315360000
4737
+ },
4738
+ "format": {
4739
+ "type": "string",
4740
+ "enum": [
4741
+ "png",
4742
+ "jpg"
4743
+ ]
4744
+ },
4745
+ "dpi": {
4746
+ "type": "integer",
4747
+ "minimum": 36,
4748
+ "maximum": 300
4749
+ },
4750
+ "quality": {
4751
+ "type": "integer",
4752
+ "minimum": 1,
4753
+ "maximum": 100
4754
+ },
4755
+ "pages": {
4756
+ "type": "string",
4757
+ "minLength": 1,
4758
+ "maxLength": 1000,
4759
+ "pattern": "^ *(\\d+|z)( *- *(\\d+|z))?( *, *(\\d+|z)( *- *(\\d+|z))?)* *$",
4760
+ "x-pattern-message": "must be pages and ranges of pages, like 1-3,5 (z is the last page)"
4761
+ }
4762
+ },
4763
+ "required": [
4764
+ "input"
3267
4765
  ],
3268
4766
  "additionalProperties": false
3269
4767
  }
3270
4768
  }
3271
4769
  },
3272
- "moveTemplate": {
4770
+ "pdfToText": {
4771
+ "query": {
4772
+ "wait": {
4773
+ "required": false,
4774
+ "schema": {
4775
+ "type": "boolean"
4776
+ }
4777
+ }
4778
+ },
3273
4779
  "body": {
3274
4780
  "mediaType": "application/json",
3275
4781
  "required": true,
3276
4782
  "schema": {
3277
4783
  "type": "object",
3278
- "required": [
3279
- "parent_folder_id"
3280
- ],
3281
4784
  "properties": {
3282
- "parent_folder_id": {
3283
- "type": [
3284
- "string",
3285
- "null"
4785
+ "input": {
4786
+ "oneOf": [
4787
+ {
4788
+ "$ref": "#/components/schemas/CustomFileJobSource"
4789
+ },
4790
+ {
4791
+ "$ref": "#/components/schemas/SubmissionJobSource"
4792
+ },
4793
+ {
4794
+ "$ref": "#/components/schemas/CombinedPdfJobSource"
4795
+ },
4796
+ {
4797
+ "$ref": "#/components/schemas/JobFileJobSource"
4798
+ },
4799
+ {
4800
+ "$ref": "#/components/schemas/UploadJobSource"
4801
+ },
4802
+ {
4803
+ "$ref": "#/components/schemas/UrlJobSource"
4804
+ },
4805
+ {
4806
+ "$ref": "#/components/schemas/Base64JobSource"
4807
+ }
3286
4808
  ],
3287
- "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
3288
- "x-pattern-message": "can't be blank"
4809
+ "discriminator": "[^ \t\n\u000b\f\r…   - 

   ]",{
4810
+ "propertyName": "type",
4811
+ "mapping": [
4812
+ [
4813
+ "custom_file",
4814
+ "#/components/schemas/CustomFileJobSource"
4815
+ ],
4816
+ [
4817
+ "submission",
4818
+ "#/components/schemas/SubmissionJobSource"
4819
+ ],
4820
+ [
4821
+ "combined_pdf",
4822
+ "#/components/schemas/CombinedPdfJobSource"
4823
+ ],
4824
+ [
4825
+ "job",
4826
+ "#/components/schemas/JobFileJobSource"
4827
+ ],
4828
+ [
4829
+ "upload",
4830
+ "#/components/schemas/UploadJobSource"
4831
+ ],
4832
+ [
4833
+ "url",
4834
+ "#/components/schemas/UrlJobSource"
4835
+ ],
4836
+ [
4837
+ "base64",
4838
+ "#/components/schemas/Base64JobSource"
4839
+ ]
4840
+ ]
4841
+ }
4842
+ },
4843
+ "metadata": {
4844
+ "type": "object"
4845
+ },
4846
+ "expires_in": {
4847
+ "type": "integer",
4848
+ "minimum": 1,
4849
+ "maximum": 315360000
4850
+ },
4851
+ "pages": {
4852
+ "type": "string",
4853
+ "minLength": 1,
4854
+ "maxLength": 1000,
4855
+ "pattern": "^ *(\\d+|z)( *- *(\\d+|z))?( *, *(\\d+|z)( *- *(\\d+|z))?)* *$",
4856
+ "x-pattern-message": "must be pages and ranges of pages, like 1-3,5 (z is the last page)"
3289
4857
  }
3290
4858
  },
4859
+ "required": [
4860
+ "input"
4861
+ ],
3291
4862
  "additionalProperties": false
3292
4863
  }
3293
4864
  }
@@ -3386,6 +4957,33 @@
3386
4957
  }
3387
4958
  }
3388
4959
  },
4960
+ "replyToSupportTicket": {
4961
+ "body": {
4962
+ "mediaType": "application/json",
4963
+ "required": true,
4964
+ "schema": {
4965
+ "type": "object",
4966
+ "required": [
4967
+ "body"
4968
+ ],
4969
+ "properties": {
4970
+ "body": {
4971
+ "type": "string",
4972
+ "minLength": 1,
4973
+ "maxLength": 4000
4974
+ },
4975
+ "outcome": {
4976
+ "type": "string",
4977
+ "enum": [
4978
+ "resolved",
4979
+ "still_broken"
4980
+ ]
4981
+ }
4982
+ },
4983
+ "additionalProperties": false
4984
+ }
4985
+ }
4986
+ },
3389
4987
  "restoreTemplateVersion": {
3390
4988
  "body": {
3391
4989
  "mediaType": "application/json",
@@ -3406,6 +5004,112 @@
3406
5004
  }
3407
5005
  }
3408
5006
  },
5007
+ "rotatePages": {
5008
+ "query": {
5009
+ "wait": {
5010
+ "required": false,
5011
+ "schema": {
5012
+ "type": "boolean"
5013
+ }
5014
+ }
5015
+ },
5016
+ "body": {
5017
+ "mediaType": "application/json",
5018
+ "required": true,
5019
+ "schema": {
5020
+ "type": "object",
5021
+ "properties": {
5022
+ "input": {
5023
+ "oneOf": [
5024
+ {
5025
+ "$ref": "#/components/schemas/CustomFileJobSource"
5026
+ },
5027
+ {
5028
+ "$ref": "#/components/schemas/SubmissionJobSource"
5029
+ },
5030
+ {
5031
+ "$ref": "#/components/schemas/CombinedPdfJobSource"
5032
+ },
5033
+ {
5034
+ "$ref": "#/components/schemas/JobFileJobSource"
5035
+ },
5036
+ {
5037
+ "$ref": "#/components/schemas/UploadJobSource"
5038
+ },
5039
+ {
5040
+ "$ref": "#/components/schemas/UrlJobSource"
5041
+ },
5042
+ {
5043
+ "$ref": "#/components/schemas/Base64JobSource"
5044
+ }
5045
+ ],
5046
+ "discriminator": {
5047
+ "propertyName": "type",
5048
+ "mapping": [
5049
+ [
5050
+ "custom_file",
5051
+ "#/components/schemas/CustomFileJobSource"
5052
+ ],
5053
+ [
5054
+ "submission",
5055
+ "#/components/schemas/SubmissionJobSource"
5056
+ ],
5057
+ [
5058
+ "combined_pdf",
5059
+ "#/components/schemas/CombinedPdfJobSource"
5060
+ ],
5061
+ [
5062
+ "job",
5063
+ "#/components/schemas/JobFileJobSource"
5064
+ ],
5065
+ [
5066
+ "upload",
5067
+ "#/components/schemas/UploadJobSource"
5068
+ ],
5069
+ [
5070
+ "url",
5071
+ "#/components/schemas/UrlJobSource"
5072
+ ],
5073
+ [
5074
+ "base64",
5075
+ "#/components/schemas/Base64JobSource"
5076
+ ]
5077
+ ]
5078
+ }
5079
+ },
5080
+ "metadata": {
5081
+ "type": "object"
5082
+ },
5083
+ "expires_in": {
5084
+ "type": "integer",
5085
+ "minimum": 1,
5086
+ "maximum": 315360000
5087
+ },
5088
+ "angle": {
5089
+ "type": "integer",
5090
+ "enum": [
5091
+ 90,
5092
+ 180,
5093
+ 270,
5094
+ -90
5095
+ ]
5096
+ },
5097
+ "pages": {
5098
+ "type": "string",
5099
+ "minLength": 1,
5100
+ "maxLength": 1000,
5101
+ "pattern": "^ *(\\d+|z)( *- *(\\d+|z))?( *, *(\\d+|z)( *- *(\\d+|z))?)* *$",
5102
+ "x-pattern-message": "must be pages and ranges of pages, like 1-3,5 (z is the last page)"
5103
+ }
5104
+ },
5105
+ "required": [
5106
+ "input",
5107
+ "angle"
5108
+ ],
5109
+ "additionalProperties": false
5110
+ }
5111
+ }
5112
+ },
3409
5113
  "sendAccountEmailActionTestEmail": {
3410
5114
  "body": {
3411
5115
  "mediaType": "application/json",
@@ -3424,7 +5128,247 @@
3424
5128
  }
3425
5129
  }
3426
5130
  },
3427
- "sendEmailActionTestEmail": {},
5131
+ "sendEmailActionTestEmail": {},
5132
+ "sendSupportFeedback": {
5133
+ "body": {
5134
+ "mediaType": "application/json",
5135
+ "required": true,
5136
+ "schema": {
5137
+ "type": "object",
5138
+ "required": [
5139
+ "title",
5140
+ "kind",
5141
+ "description"
5142
+ ],
5143
+ "properties": {
5144
+ "title": {
5145
+ "type": "string",
5146
+ "minLength": 3,
5147
+ "maxLength": 200
5148
+ },
5149
+ "kind": {
5150
+ "type": "string",
5151
+ "enum": [
5152
+ "bug",
5153
+ "crash",
5154
+ "wrong_result",
5155
+ "confusing",
5156
+ "missing_feature",
5157
+ "docs",
5158
+ "question",
5159
+ "other"
5160
+ ]
5161
+ },
5162
+ "category": {
5163
+ "type": "string",
5164
+ "enum": [
5165
+ "pdf_templates",
5166
+ "html_templates",
5167
+ "word_templates",
5168
+ "page_designer",
5169
+ "template_editor",
5170
+ "submissions",
5171
+ "web_forms",
5172
+ "signature_requests",
5173
+ "api",
5174
+ "sdks",
5175
+ "cli",
5176
+ "mcp",
5177
+ "integrations",
5178
+ "webhooks",
5179
+ "billing",
5180
+ "account",
5181
+ "docs",
5182
+ "other"
5183
+ ]
5184
+ },
5185
+ "description": {
5186
+ "type": "string",
5187
+ "minLength": 1,
5188
+ "maxLength": 4000
5189
+ },
5190
+ "impact": {
5191
+ "type": "string",
5192
+ "enum": [
5193
+ "blocked",
5194
+ "worked_around",
5195
+ "friction"
5196
+ ]
5197
+ },
5198
+ "task": {
5199
+ "type": "string",
5200
+ "minLength": 1,
5201
+ "maxLength": 200
5202
+ },
5203
+ "request_ids": {
5204
+ "type": "array",
5205
+ "maxItems": 10,
5206
+ "items": {
5207
+ "type": "string",
5208
+ "maxLength": 255,
5209
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
5210
+ "x-pattern-message": "can't be blank"
5211
+ }
5212
+ },
5213
+ "tool": {
5214
+ "type": "string",
5215
+ "minLength": 1,
5216
+ "maxLength": 100
5217
+ },
5218
+ "error": {
5219
+ "type": "string",
5220
+ "minLength": 1,
5221
+ "maxLength": 4000
5222
+ },
5223
+ "suggestion": {
5224
+ "type": "string",
5225
+ "minLength": 1,
5226
+ "maxLength": 2000
5227
+ },
5228
+ "source": {
5229
+ "type": "string",
5230
+ "enum": [
5231
+ "agent",
5232
+ "user"
5233
+ ]
5234
+ },
5235
+ "session": {
5236
+ "type": "string",
5237
+ "minLength": 1,
5238
+ "maxLength": 100
5239
+ },
5240
+ "agent": {
5241
+ "type": "object",
5242
+ "properties": {
5243
+ "name": {
5244
+ "type": "string",
5245
+ "minLength": 1,
5246
+ "maxLength": 100
5247
+ },
5248
+ "version": {
5249
+ "type": "string",
5250
+ "minLength": 1,
5251
+ "maxLength": 100
5252
+ },
5253
+ "model": {
5254
+ "type": "string",
5255
+ "minLength": 1,
5256
+ "maxLength": 100
5257
+ }
5258
+ },
5259
+ "additionalProperties": false
5260
+ }
5261
+ },
5262
+ "additionalProperties": false
5263
+ }
5264
+ }
5265
+ },
5266
+ "splitPdf": {
5267
+ "query": {
5268
+ "wait": {
5269
+ "required": false,
5270
+ "schema": {
5271
+ "type": "boolean"
5272
+ }
5273
+ }
5274
+ },
5275
+ "body": {
5276
+ "mediaType": "application/json",
5277
+ "required": true,
5278
+ "schema": {
5279
+ "type": "object",
5280
+ "properties": {
5281
+ "input": {
5282
+ "oneOf": [
5283
+ {
5284
+ "$ref": "#/components/schemas/CustomFileJobSource"
5285
+ },
5286
+ {
5287
+ "$ref": "#/components/schemas/SubmissionJobSource"
5288
+ },
5289
+ {
5290
+ "$ref": "#/components/schemas/CombinedPdfJobSource"
5291
+ },
5292
+ {
5293
+ "$ref": "#/components/schemas/JobFileJobSource"
5294
+ },
5295
+ {
5296
+ "$ref": "#/components/schemas/UploadJobSource"
5297
+ },
5298
+ {
5299
+ "$ref": "#/components/schemas/UrlJobSource"
5300
+ },
5301
+ {
5302
+ "$ref": "#/components/schemas/Base64JobSource"
5303
+ }
5304
+ ],
5305
+ "discriminator": {
5306
+ "propertyName": "type",
5307
+ "mapping": [
5308
+ [
5309
+ "custom_file",
5310
+ "#/components/schemas/CustomFileJobSource"
5311
+ ],
5312
+ [
5313
+ "submission",
5314
+ "#/components/schemas/SubmissionJobSource"
5315
+ ],
5316
+ [
5317
+ "combined_pdf",
5318
+ "#/components/schemas/CombinedPdfJobSource"
5319
+ ],
5320
+ [
5321
+ "job",
5322
+ "#/components/schemas/JobFileJobSource"
5323
+ ],
5324
+ [
5325
+ "upload",
5326
+ "#/components/schemas/UploadJobSource"
5327
+ ],
5328
+ [
5329
+ "url",
5330
+ "#/components/schemas/UrlJobSource"
5331
+ ],
5332
+ [
5333
+ "base64",
5334
+ "#/components/schemas/Base64JobSource"
5335
+ ]
5336
+ ]
5337
+ }
5338
+ },
5339
+ "metadata": {
5340
+ "type": "object"
5341
+ },
5342
+ "expires_in": {
5343
+ "type": "integer",
5344
+ "minimum": 1,
5345
+ "maximum": 315360000
5346
+ },
5347
+ "pages_per_file": {
5348
+ "type": "integer",
5349
+ "minimum": 1,
5350
+ "maximum": 10000
5351
+ },
5352
+ "ranges": {
5353
+ "type": "array",
5354
+ "minItems": 1,
5355
+ "maxItems": 100,
5356
+ "items": {
5357
+ "type": "string",
5358
+ "minLength": 1,
5359
+ "maxLength": 1000,
5360
+ "pattern": "^ *(\\d+|z)( *- *(\\d+|z))?( *, *(\\d+|z)( *- *(\\d+|z))?)* *$",
5361
+ "x-pattern-message": "must be pages and ranges of pages, like 1-3,5 (z is the last page)"
5362
+ }
5363
+ }
5364
+ },
5365
+ "required": [
5366
+ "input"
5367
+ ],
5368
+ "additionalProperties": false
5369
+ }
5370
+ }
5371
+ },
3428
5372
  "testAuthentication": {},
3429
5373
  "updateAccountEmailAction": {
3430
5374
  "body": {
@@ -4176,6 +6120,56 @@
4176
6120
  "locked": {
4177
6121
  "type": "boolean"
4178
6122
  },
6123
+ "page_list": {
6124
+ "type": [
6125
+ "object",
6126
+ "null"
6127
+ ],
6128
+ "required": [
6129
+ "source_pages",
6130
+ "pages",
6131
+ "blank_pages"
6132
+ ],
6133
+ "properties": {
6134
+ "source_pages": {
6135
+ "type": "integer",
6136
+ "minimum": 1
6137
+ },
6138
+ "pages": {
6139
+ "type": "array",
6140
+ "minItems": 1,
6141
+ "items": {
6142
+ "type": "integer",
6143
+ "minimum": 1
6144
+ }
6145
+ },
6146
+ "blank_pages": {
6147
+ "type": "array",
6148
+ "maxItems": 500,
6149
+ "items": {
6150
+ "type": "object",
6151
+ "required": [
6152
+ "width",
6153
+ "height"
6154
+ ],
6155
+ "properties": {
6156
+ "width": {
6157
+ "type": "number",
6158
+ "minimum": 72,
6159
+ "maximum": 14400
6160
+ },
6161
+ "height": {
6162
+ "type": "number",
6163
+ "minimum": 72,
6164
+ "maximum": 14400
6165
+ }
6166
+ },
6167
+ "additionalProperties": false
6168
+ }
6169
+ }
6170
+ },
6171
+ "additionalProperties": false
6172
+ },
4179
6173
  "add_signature_request_submission_id_footers": {
4180
6174
  "type": "boolean"
4181
6175
  },
@@ -4908,6 +6902,16 @@
4908
6902
  "html_escape_data": {
4909
6903
  "type": "boolean"
4910
6904
  },
6905
+ "markdown": {
6906
+ "type": "boolean"
6907
+ },
6908
+ "html_engine": {
6909
+ "type": "string",
6910
+ "enum": [
6911
+ "standard",
6912
+ "chromium"
6913
+ ]
6914
+ },
4911
6915
  "layout": {
4912
6916
  "type": [
4913
6917
  "object",
@@ -5684,6 +7688,8 @@
5684
7688
  "signature_request.email_bounced",
5685
7689
  "combined_pdf.processed",
5686
7690
  "combined_pdf.failed",
7691
+ "job.processed",
7692
+ "job.failed",
5687
7693
  "submission_batch.processed",
5688
7694
  "submission_batch.failed",
5689
7695
  "submission.created",
@@ -5691,6 +7697,7 @@
5691
7697
  "submission.expired",
5692
7698
  "signature_request.updated",
5693
7699
  "combined_pdf.expired",
7700
+ "job.expired",
5694
7701
  "template.created",
5695
7702
  "template.updated",
5696
7703
  "template.deleted",
@@ -6131,7 +8138,136 @@
6131
8138
  }
6132
8139
  }
6133
8140
  },
6134
- "verifyEmailDomain": {}
8141
+ "verifyEmailDomain": {},
8142
+ "watermarkPdf": {
8143
+ "query": {
8144
+ "wait": {
8145
+ "required": false,
8146
+ "schema": {
8147
+ "type": "boolean"
8148
+ }
8149
+ }
8150
+ },
8151
+ "body": {
8152
+ "mediaType": "application/json",
8153
+ "required": true,
8154
+ "schema": {
8155
+ "type": "object",
8156
+ "properties": {
8157
+ "input": {
8158
+ "oneOf": [
8159
+ {
8160
+ "$ref": "#/components/schemas/CustomFileJobSource"
8161
+ },
8162
+ {
8163
+ "$ref": "#/components/schemas/SubmissionJobSource"
8164
+ },
8165
+ {
8166
+ "$ref": "#/components/schemas/CombinedPdfJobSource"
8167
+ },
8168
+ {
8169
+ "$ref": "#/components/schemas/JobFileJobSource"
8170
+ },
8171
+ {
8172
+ "$ref": "#/components/schemas/UploadJobSource"
8173
+ },
8174
+ {
8175
+ "$ref": "#/components/schemas/UrlJobSource"
8176
+ },
8177
+ {
8178
+ "$ref": "#/components/schemas/Base64JobSource"
8179
+ }
8180
+ ],
8181
+ "discriminator": {
8182
+ "propertyName": "type",
8183
+ "mapping": [
8184
+ [
8185
+ "custom_file",
8186
+ "#/components/schemas/CustomFileJobSource"
8187
+ ],
8188
+ [
8189
+ "submission",
8190
+ "#/components/schemas/SubmissionJobSource"
8191
+ ],
8192
+ [
8193
+ "combined_pdf",
8194
+ "#/components/schemas/CombinedPdfJobSource"
8195
+ ],
8196
+ [
8197
+ "job",
8198
+ "#/components/schemas/JobFileJobSource"
8199
+ ],
8200
+ [
8201
+ "upload",
8202
+ "#/components/schemas/UploadJobSource"
8203
+ ],
8204
+ [
8205
+ "url",
8206
+ "#/components/schemas/UrlJobSource"
8207
+ ],
8208
+ [
8209
+ "base64",
8210
+ "#/components/schemas/Base64JobSource"
8211
+ ]
8212
+ ]
8213
+ }
8214
+ },
8215
+ "metadata": {
8216
+ "type": "object"
8217
+ },
8218
+ "expires_in": {
8219
+ "type": "integer",
8220
+ "minimum": 1,
8221
+ "maximum": 315360000
8222
+ },
8223
+ "text": {
8224
+ "type": "string",
8225
+ "minLength": 1,
8226
+ "maxLength": 200
8227
+ },
8228
+ "font_size": {
8229
+ "type": "number",
8230
+ "minimum": 6,
8231
+ "maximum": 300
8232
+ },
8233
+ "color": {
8234
+ "type": "string",
8235
+ "pattern": "^#[0-9A-Fa-f]{6}$",
8236
+ "x-pattern-message": "must be a 6-digit hex color with #, like #FF0000"
8237
+ },
8238
+ "opacity": {
8239
+ "type": "number",
8240
+ "minimum": 0.05,
8241
+ "maximum": 1
8242
+ },
8243
+ "angle": {
8244
+ "type": "number",
8245
+ "minimum": -180,
8246
+ "maximum": 180
8247
+ },
8248
+ "layer": {
8249
+ "type": "string",
8250
+ "enum": [
8251
+ "over",
8252
+ "under"
8253
+ ]
8254
+ },
8255
+ "pages": {
8256
+ "type": "string",
8257
+ "minLength": 1,
8258
+ "maxLength": 1000,
8259
+ "pattern": "^ *(\\d+|z)( *- *(\\d+|z))?( *, *(\\d+|z)( *- *(\\d+|z))?)* *$",
8260
+ "x-pattern-message": "must be pages and ranges of pages, like 1-3,5 (z is the last page)"
8261
+ }
8262
+ },
8263
+ "required": [
8264
+ "input",
8265
+ "text"
8266
+ ],
8267
+ "additionalProperties": false
8268
+ }
8269
+ }
8270
+ }
6135
8271
  },
6136
8272
  "routes": {
6137
8273
  "DELETE /combined_pdfs/{combined_pdf_id}": "expireCombinedPdf",
@@ -6139,6 +8275,7 @@
6139
8275
  "DELETE /email_actions/{email_action_id}": "deleteAccountEmailAction",
6140
8276
  "DELETE /email_domains/{email_domain_id}": "deleteEmailDomain",
6141
8277
  "DELETE /folders/{folder_id}": "deleteFolder",
8278
+ "DELETE /jobs/{job_id}": "deleteJob",
6142
8279
  "DELETE /submissions/{submission_id}": "expireSubmission",
6143
8280
  "DELETE /templates/{template_id}": "deleteTemplate",
6144
8281
  "DELETE /templates/{template_id}/email_actions/{email_action_id}": "deleteEmailAction",
@@ -6155,10 +8292,15 @@
6155
8292
  "GET /email_domains/{email_domain_id}": "getEmailDomain",
6156
8293
  "GET /folders": "listFolders",
6157
8294
  "GET /folders/{folder_id}": "getFolder",
8295
+ "GET /jobs": "listJobs",
8296
+ "GET /jobs/{job_id}": "getJob",
6158
8297
  "GET /signature_requests/{signature_request_id}": "getSignatureRequest",
6159
8298
  "GET /submissions": "listSubmissions",
6160
8299
  "GET /submissions/batches/{submission_batch_id}": "getSubmissionBatch",
6161
8300
  "GET /submissions/{submission_id}": "getSubmission",
8301
+ "GET /support/help/{support_help_id}": "getSupportHelp",
8302
+ "GET /support/tickets": "listSupportTickets",
8303
+ "GET /support/tickets/{ticket_id}": "getSupportTicket",
6162
8304
  "GET /templates": "listTemplates",
6163
8305
  "GET /templates/{template_id}": "getTemplate",
6164
8306
  "GET /templates/{template_id}/diff": "getTemplateDiff",
@@ -6182,11 +8324,29 @@
6182
8324
  "POST /folders": "createFolder",
6183
8325
  "POST /folders/{folder_id}/move": "moveFolder",
6184
8326
  "POST /folders/{folder_id}/rename": "renameFolder",
8327
+ "POST /jobs/add_page_numbers": "addPageNumbers",
8328
+ "POST /jobs/compress_pdf": "compressPdf",
8329
+ "POST /jobs/decrypt_pdf": "decryptPdf",
8330
+ "POST /jobs/encrypt_pdf": "encryptPdf",
8331
+ "POST /jobs/extract_pages": "extractPages",
8332
+ "POST /jobs/flatten_pdf": "flattenPdf",
8333
+ "POST /jobs/html_to_pdf": "htmlToPdf",
8334
+ "POST /jobs/images_to_pdf": "imagesToPdf",
8335
+ "POST /jobs/markdown_to_pdf": "markdownToPdf",
8336
+ "POST /jobs/pdf_to_images": "pdfToImages",
8337
+ "POST /jobs/pdf_to_text": "pdfToText",
8338
+ "POST /jobs/rotate_pages": "rotatePages",
8339
+ "POST /jobs/split_pdf": "splitPdf",
8340
+ "POST /jobs/watermark_pdf": "watermarkPdf",
6185
8341
  "POST /signature_requests/{signature_request_id}/events": "createSignatureRequestEvent",
6186
8342
  "POST /signature_requests/{signature_request_id}/tokens": "createSignatureRequestToken",
6187
8343
  "POST /submissions/batches": "createSubmissionBatch",
6188
8344
  "POST /submissions/{submission_id}/generate_files": "generateSubmissionFiles",
6189
8345
  "POST /submissions/{submission_id}/generate_preview": "generateSubmissionPreview",
8346
+ "POST /support/feedback": "sendSupportFeedback",
8347
+ "POST /support/help": "askSupportHelp",
8348
+ "POST /support/tickets": "openSupportTicket",
8349
+ "POST /support/tickets/{ticket_id}/replies": "replyToSupportTicket",
6190
8350
  "POST /templates": "createTemplate",
6191
8351
  "POST /templates/upload": "uploadTemplate",
6192
8352
  "POST /templates/{template_id}/copy": "copyTemplate",
@@ -6214,6 +8374,66 @@
6214
8374
  },
6215
8375
  "components": {
6216
8376
  "schemas": {
8377
+ "Base64JobSource": {
8378
+ "type": "object",
8379
+ "required": [
8380
+ "type",
8381
+ "data"
8382
+ ],
8383
+ "properties": {
8384
+ "type": {
8385
+ "type": "string",
8386
+ "const": "base64"
8387
+ },
8388
+ "data": {
8389
+ "type": "string",
8390
+ "minLength": 1
8391
+ },
8392
+ "filename": {
8393
+ "type": "string",
8394
+ "minLength": 1,
8395
+ "maxLength": 255
8396
+ }
8397
+ },
8398
+ "additionalProperties": false,
8399
+ "x-not-allowed-properties": {
8400
+ "id": "isn't used by 'base64' inputs. Remove it",
8401
+ "file": "isn't used by 'base64' inputs. Remove it",
8402
+ "cache_id": "isn't used by 'base64' inputs. Remove it",
8403
+ "url": "isn't used by 'base64' inputs. Remove it"
8404
+ }
8405
+ },
8406
+ "CombinedPdfJobSource": {
8407
+ "type": "object",
8408
+ "required": [
8409
+ "type",
8410
+ "id"
8411
+ ],
8412
+ "properties": {
8413
+ "type": {
8414
+ "type": "string",
8415
+ "const": "combined_pdf"
8416
+ },
8417
+ "id": {
8418
+ "type": "string",
8419
+ "maxLength": 255,
8420
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
8421
+ "x-pattern-message": "can't be blank"
8422
+ },
8423
+ "filename": {
8424
+ "type": "string",
8425
+ "minLength": 1,
8426
+ "maxLength": 255
8427
+ }
8428
+ },
8429
+ "additionalProperties": false,
8430
+ "x-not-allowed-properties": {
8431
+ "file": "isn't used by 'combined_pdf' inputs. Remove it",
8432
+ "cache_id": "isn't used by 'combined_pdf' inputs. Remove it",
8433
+ "url": "isn't used by 'combined_pdf' inputs. Remove it",
8434
+ "data": "isn't used by 'combined_pdf' inputs. Remove it"
8435
+ }
8436
+ },
6217
8437
  "CombinedPdfSourcePdf": {
6218
8438
  "type": "object",
6219
8439
  "required": [
@@ -6238,6 +8458,37 @@
6238
8458
  "processed": "isn't used by 'combined_pdf' source PDFs. Remove it"
6239
8459
  }
6240
8460
  },
8461
+ "CustomFileJobSource": {
8462
+ "type": "object",
8463
+ "required": [
8464
+ "type",
8465
+ "id"
8466
+ ],
8467
+ "properties": {
8468
+ "type": {
8469
+ "type": "string",
8470
+ "const": "custom_file"
8471
+ },
8472
+ "id": {
8473
+ "type": "string",
8474
+ "maxLength": 255,
8475
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
8476
+ "x-pattern-message": "can't be blank"
8477
+ },
8478
+ "filename": {
8479
+ "type": "string",
8480
+ "minLength": 1,
8481
+ "maxLength": 255
8482
+ }
8483
+ },
8484
+ "additionalProperties": false,
8485
+ "x-not-allowed-properties": {
8486
+ "file": "isn't used by 'custom_file' inputs. Remove it",
8487
+ "cache_id": "isn't used by 'custom_file' inputs. Remove it",
8488
+ "url": "isn't used by 'custom_file' inputs. Remove it",
8489
+ "data": "isn't used by 'custom_file' inputs. Remove it"
8490
+ }
8491
+ },
6241
8492
  "CustomFileSourcePdf": {
6242
8493
  "type": "object",
6243
8494
  "required": [
@@ -6901,6 +9152,72 @@
6901
9152
  },
6902
9153
  "additionalProperties": false
6903
9154
  },
9155
+ "JobFileJobSource": {
9156
+ "type": "object",
9157
+ "required": [
9158
+ "type",
9159
+ "id"
9160
+ ],
9161
+ "properties": {
9162
+ "type": {
9163
+ "type": "string",
9164
+ "const": "job"
9165
+ },
9166
+ "id": {
9167
+ "type": "string",
9168
+ "maxLength": 255,
9169
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
9170
+ "x-pattern-message": "can't be blank"
9171
+ },
9172
+ "file": {
9173
+ "type": "integer",
9174
+ "minimum": 1,
9175
+ "maximum": 100
9176
+ },
9177
+ "filename": {
9178
+ "type": "string",
9179
+ "minLength": 1,
9180
+ "maxLength": 255
9181
+ }
9182
+ },
9183
+ "additionalProperties": false,
9184
+ "x-not-allowed-properties": {
9185
+ "cache_id": "isn't used by 'job' inputs. Remove it",
9186
+ "url": "isn't used by 'job' inputs. Remove it",
9187
+ "data": "isn't used by 'job' inputs. Remove it"
9188
+ }
9189
+ },
9190
+ "SubmissionJobSource": {
9191
+ "type": "object",
9192
+ "required": [
9193
+ "type",
9194
+ "id"
9195
+ ],
9196
+ "properties": {
9197
+ "type": {
9198
+ "type": "string",
9199
+ "const": "submission"
9200
+ },
9201
+ "id": {
9202
+ "type": "string",
9203
+ "maxLength": 255,
9204
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
9205
+ "x-pattern-message": "can't be blank"
9206
+ },
9207
+ "filename": {
9208
+ "type": "string",
9209
+ "minLength": 1,
9210
+ "maxLength": 255
9211
+ }
9212
+ },
9213
+ "additionalProperties": false,
9214
+ "x-not-allowed-properties": {
9215
+ "file": "isn't used by 'submission' inputs. Remove it",
9216
+ "cache_id": "isn't used by 'submission' inputs. Remove it",
9217
+ "url": "isn't used by 'submission' inputs. Remove it",
9218
+ "data": "isn't used by 'submission' inputs. Remove it"
9219
+ }
9220
+ },
6904
9221
  "SubmissionSourcePdf": {
6905
9222
  "type": "object",
6906
9223
  "required": [
@@ -6955,6 +9272,67 @@
6955
9272
  "url": "isn't used by 'template' source PDFs. Remove it"
6956
9273
  }
6957
9274
  },
9275
+ "UploadJobSource": {
9276
+ "type": "object",
9277
+ "required": [
9278
+ "type",
9279
+ "cache_id"
9280
+ ],
9281
+ "properties": {
9282
+ "type": {
9283
+ "type": "string",
9284
+ "const": "upload"
9285
+ },
9286
+ "cache_id": {
9287
+ "type": "string",
9288
+ "maxLength": 255,
9289
+ "pattern": "[^ \t\n\u000b\f\r…   - 

   ]",
9290
+ "x-pattern-message": "can't be blank"
9291
+ },
9292
+ "filename": {
9293
+ "type": "string",
9294
+ "minLength": 1,
9295
+ "maxLength": 255
9296
+ }
9297
+ },
9298
+ "additionalProperties": false,
9299
+ "x-not-allowed-properties": {
9300
+ "id": "isn't used by 'upload' inputs. Remove it",
9301
+ "file": "isn't used by 'upload' inputs. Remove it",
9302
+ "url": "isn't used by 'upload' inputs. Remove it",
9303
+ "data": "isn't used by 'upload' inputs. Remove it"
9304
+ }
9305
+ },
9306
+ "UrlJobSource": {
9307
+ "type": "object",
9308
+ "required": [
9309
+ "type",
9310
+ "url"
9311
+ ],
9312
+ "properties": {
9313
+ "type": {
9314
+ "type": "string",
9315
+ "const": "url"
9316
+ },
9317
+ "url": {
9318
+ "type": "string",
9319
+ "format": "uri",
9320
+ "maxLength": 2048
9321
+ },
9322
+ "filename": {
9323
+ "type": "string",
9324
+ "minLength": 1,
9325
+ "maxLength": 255
9326
+ }
9327
+ },
9328
+ "additionalProperties": false,
9329
+ "x-not-allowed-properties": {
9330
+ "id": "isn't used by 'url' inputs. Remove it",
9331
+ "file": "isn't used by 'url' inputs. Remove it",
9332
+ "cache_id": "isn't used by 'url' inputs. Remove it",
9333
+ "data": "isn't used by 'url' inputs. Remove it"
9334
+ }
9335
+ },
6958
9336
  "UrlSourcePdf": {
6959
9337
  "type": "object",
6960
9338
  "required": [