docspring 4.0.0 → 4.1.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 +10 -1
- package/dist/ApiClient.js +2 -2
- package/dist/RequestSchemas.js +1171 -16
- package/dist/api/Client.js +474 -24
- package/dist/index.js +196 -0
- package/dist/model/AddTemplateFieldsRequest.js +132 -0
- 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 +1 -1
- package/dist/model/CombinedPdfSourceInput.js +1 -1
- package/dist/model/CombinedPdfSourcePdf.js +1 -1
- package/dist/model/CopyTemplateRequest.js +1 -1
- package/dist/model/CreateCombinedPdfRequest.js +1 -1
- package/dist/model/CreateCustomFileFromUploadRequest.js +1 -1
- 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 +15 -1
- package/dist/model/CreateSubmissionRequest.js +15 -1
- package/dist/model/CreateTemplateRequest.js +71 -3
- 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/ErrorDetail.js +1 -1
- package/dist/model/ErrorInfo.js +1 -1
- package/dist/model/ErrorResponse.js +1 -1
- package/dist/model/Field.js +1230 -0
- package/dist/model/FieldComparisonCondition.js +1 -1
- package/dist/model/FieldDependency.js +154 -0
- package/dist/model/FieldDependencyInput.js +154 -0
- package/dist/model/FieldEqualsCondition.js +1 -1
- package/dist/model/FieldGroup.js +206 -0
- package/dist/model/FieldGroupInput.js +180 -0
- package/dist/model/FieldGroupType.js +59 -0
- package/dist/model/FieldInCondition.js +1 -1
- package/dist/model/FieldInput.js +1012 -0
- package/dist/model/FieldOverride.js +1 -1
- package/dist/model/FieldPresenceCondition.js +1 -1
- package/dist/model/FieldRangeCondition.js +1 -1
- package/dist/model/FieldType.js +124 -0
- package/dist/model/Folder.js +1 -1
- package/dist/model/FolderList.js +1 -1
- package/dist/model/GenerateFilesFormat.js +54 -0
- package/dist/model/GenerateSubmissionFilesRequest.js +115 -0
- package/dist/model/GeneratedFile.js +1 -1
- package/dist/model/HtmlEngineOptions.js +1 -1
- package/dist/model/HtmlEngineOptionsInput.js +1 -1
- package/dist/model/MoveFolderRequest.js +1 -1
- package/dist/model/MoveTemplateRequest.js +1 -1
- package/dist/model/OutputFormat.js +59 -0
- package/dist/model/PageImage.js +220 -0
- package/dist/model/PageImages.js +155 -0
- package/dist/model/PredefinedField.js +183 -0
- package/dist/model/PredefinedFieldInput.js +183 -0
- package/dist/model/PublishTemplateVersionRequest.js +1 -1
- package/dist/model/RemoveTemplateFieldsRequest.js +114 -0
- package/dist/model/RenameFolderRequest.js +1 -1
- package/dist/model/ReorderTemplateFieldsRequest.js +114 -0
- package/dist/model/RestoreTemplateVersionRequest.js +1 -1
- package/dist/model/SignatureRequest.js +1 -1
- package/dist/model/SignatureRequestEvent.js +1 -1
- package/dist/model/SignatureRequestInput.js +1 -1
- package/dist/model/SignatureRequestToken.js +1 -1
- package/dist/model/Submission.js +23 -7
- package/dist/model/SubmissionAction.js +1 -1
- package/dist/model/SubmissionBatch.js +1 -1
- package/dist/model/SubmissionFiles.js +10 -1
- package/dist/model/SubmissionInput.js +15 -1
- package/dist/model/SubmissionList.js +1 -1
- package/dist/model/SubmissionSourcePdf.js +1 -1
- package/dist/model/SubmissionValidation.js +151 -0
- package/dist/model/Template.js +67 -5
- 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 +206 -0
- package/dist/model/TemplateDiffSummary.js +165 -0
- package/dist/model/TemplateDocument.js +7 -7
- package/dist/model/TemplateDocumentState.js +11 -1
- package/dist/model/TemplateFieldChange.js +146 -0
- package/dist/model/TemplateFieldChanges.js +196 -0
- package/dist/model/TemplateFieldDependency.js +3 -3
- package/dist/model/TemplateFieldDependencyCondition.js +1 -1
- package/dist/model/TemplateFieldDependencyConditionInput.js +1 -1
- package/dist/model/TemplateFieldDependencyInput.js +3 -3
- package/dist/model/TemplateFieldMove.js +132 -0
- package/dist/model/TemplateFields.js +147 -0
- package/dist/model/TemplateModelCode.js +1 -1
- package/dist/model/TemplatePageImages.js +158 -0
- package/dist/model/TemplatePageProcessingStatus.js +1 -1
- package/dist/model/TemplateSourcePdf.js +1 -1
- package/dist/model/TemplateSummary.js +1 -1
- package/dist/model/TemplateSummaryList.js +1 -1
- package/dist/model/TemplateVersion.js +1 -1
- package/dist/model/UpdateSignatureRequestRequest.js +1 -1
- package/dist/model/UpdateTemplateDocumentRequest.js +33 -30
- package/dist/model/UpdateTemplateFieldsRequest.js +132 -0
- package/dist/model/UpdateTemplateRequest.js +74 -1
- 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 +226 -0
- package/dist/model/Webhook.js +1 -1
- package/dist/model/WebhookList.js +1 -1
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _OutputFormat = _interopRequireDefault(require("./OutputFormat"));
|
|
8
9
|
var _SubmissionInput = _interopRequireDefault(require("./SubmissionInput"));
|
|
9
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
10
11
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
@@ -30,7 +31,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
31
|
/**
|
|
31
32
|
* The CreateSubmissionBatchRequest model module.
|
|
32
33
|
* @module model/CreateSubmissionBatchRequest
|
|
33
|
-
* @version 4.
|
|
34
|
+
* @version 4.1.0
|
|
34
35
|
*/
|
|
35
36
|
var CreateSubmissionBatchRequest = /*#__PURE__*/function () {
|
|
36
37
|
/**
|
|
@@ -81,6 +82,9 @@ var CreateSubmissionBatchRequest = /*#__PURE__*/function () {
|
|
|
81
82
|
if (data.hasOwnProperty('test')) {
|
|
82
83
|
obj['test'] = _ApiClient["default"].convertToType(data['test'], 'Boolean');
|
|
83
84
|
}
|
|
85
|
+
if (data.hasOwnProperty('output_formats')) {
|
|
86
|
+
obj['output_formats'] = _ApiClient["default"].convertToType(data['output_formats'], [_OutputFormat["default"]]);
|
|
87
|
+
}
|
|
84
88
|
if (data.hasOwnProperty('submissions')) {
|
|
85
89
|
obj['submissions'] = _ApiClient["default"].convertToType(data['submissions'], [_SubmissionInput["default"]]);
|
|
86
90
|
}
|
|
@@ -119,6 +123,10 @@ var CreateSubmissionBatchRequest = /*#__PURE__*/function () {
|
|
|
119
123
|
if (data['template_version'] && !(typeof data['template_version'] === 'string' || data['template_version'] instanceof String)) {
|
|
120
124
|
throw new Error("Expected the field `template_version` to be a primitive type in the JSON string but got " + data['template_version']);
|
|
121
125
|
}
|
|
126
|
+
// ensure the json data is an array
|
|
127
|
+
if (!Array.isArray(data['output_formats'])) {
|
|
128
|
+
throw new Error("Expected the field `output_formats` to be an array in the JSON data but got " + data['output_formats']);
|
|
129
|
+
}
|
|
122
130
|
if (data['submissions']) {
|
|
123
131
|
// data not null
|
|
124
132
|
// ensure the json data is an array
|
|
@@ -170,6 +178,12 @@ CreateSubmissionBatchRequest.prototype['template_version'] = undefined;
|
|
|
170
178
|
*/
|
|
171
179
|
CreateSubmissionBatchRequest.prototype['test'] = undefined;
|
|
172
180
|
|
|
181
|
+
/**
|
|
182
|
+
* The default `output_formats` for each submission that doesn't set its own.
|
|
183
|
+
* @member {Array.<module:model/OutputFormat>} output_formats
|
|
184
|
+
*/
|
|
185
|
+
CreateSubmissionBatchRequest.prototype['output_formats'] = undefined;
|
|
186
|
+
|
|
173
187
|
/**
|
|
174
188
|
* Up to 50 submissions. Each one takes the properties of POST /templates/{template_id}/submissions except `signature_requests`, plus `template_id` and `template_version` when it uses a different template from the batch.
|
|
175
189
|
* @member {Array.<module:model/SubmissionInput>} submissions
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
var _FieldOverride = _interopRequireDefault(require("./FieldOverride"));
|
|
9
|
+
var _OutputFormat = _interopRequireDefault(require("./OutputFormat"));
|
|
9
10
|
var _SignatureRequestInput = _interopRequireDefault(require("./SignatureRequestInput"));
|
|
10
11
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
11
12
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
@@ -31,7 +32,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
31
32
|
/**
|
|
32
33
|
* The CreateSubmissionRequest model module.
|
|
33
34
|
* @module model/CreateSubmissionRequest
|
|
34
|
-
* @version 4.
|
|
35
|
+
* @version 4.1.0
|
|
35
36
|
*/
|
|
36
37
|
var CreateSubmissionRequest = /*#__PURE__*/function () {
|
|
37
38
|
/**
|
|
@@ -84,6 +85,9 @@ var CreateSubmissionRequest = /*#__PURE__*/function () {
|
|
|
84
85
|
if (data.hasOwnProperty('password')) {
|
|
85
86
|
obj['password'] = _ApiClient["default"].convertToType(data['password'], 'String');
|
|
86
87
|
}
|
|
88
|
+
if (data.hasOwnProperty('output_formats')) {
|
|
89
|
+
obj['output_formats'] = _ApiClient["default"].convertToType(data['output_formats'], [_OutputFormat["default"]]);
|
|
90
|
+
}
|
|
87
91
|
if (data.hasOwnProperty('expires_in')) {
|
|
88
92
|
obj['expires_in'] = _ApiClient["default"].convertToType(data['expires_in'], 'Number');
|
|
89
93
|
}
|
|
@@ -117,6 +121,10 @@ var CreateSubmissionRequest = /*#__PURE__*/function () {
|
|
|
117
121
|
if (data['password'] && !(typeof data['password'] === 'string' || data['password'] instanceof String)) {
|
|
118
122
|
throw new Error("Expected the field `password` to be a primitive type in the JSON string but got " + data['password']);
|
|
119
123
|
}
|
|
124
|
+
// ensure the json data is an array
|
|
125
|
+
if (!Array.isArray(data['output_formats'])) {
|
|
126
|
+
throw new Error("Expected the field `output_formats` to be an array in the JSON data but got " + data['output_formats']);
|
|
127
|
+
}
|
|
120
128
|
// ensure the json data is a string
|
|
121
129
|
if (data['html'] && !(typeof data['html'] === 'string' || data['html'] instanceof String)) {
|
|
122
130
|
throw new Error("Expected the field `html` to be a primitive type in the JSON string but got " + data['html']);
|
|
@@ -180,6 +188,12 @@ CreateSubmissionRequest.prototype['metadata'] = undefined;
|
|
|
180
188
|
*/
|
|
181
189
|
CreateSubmissionRequest.prototype['password'] = undefined;
|
|
182
190
|
|
|
191
|
+
/**
|
|
192
|
+
* What the submission makes: `pdf`, and `png` (an image of each page of the PDF, up to 100 pages) when you ask for it. Default `["pdf"]`. POST /submissions/{submission_id}/generate_files adds `png` to a processed submission.
|
|
193
|
+
* @member {Array.<module:model/OutputFormat>} output_formats
|
|
194
|
+
*/
|
|
195
|
+
CreateSubmissionRequest.prototype['output_formats'] = undefined;
|
|
196
|
+
|
|
183
197
|
/**
|
|
184
198
|
* Seconds after the PDF is generated until the submission expires, up to 10 years (315360000). Default the template's expiration setting. A submission that isn't processed, such as one with invalid data, is kept for at least 48 hours.
|
|
185
199
|
* @member {Number} expires_in
|
|
@@ -11,6 +11,7 @@ var _FieldSetupLogic = _interopRequireDefault(require("./FieldSetupLogic"));
|
|
|
11
11
|
var _FieldSetupNaming = _interopRequireDefault(require("./FieldSetupNaming"));
|
|
12
12
|
var _FieldSetupSource = _interopRequireDefault(require("./FieldSetupSource"));
|
|
13
13
|
var _HtmlEngineOptionsInput = _interopRequireDefault(require("./HtmlEngineOptionsInput"));
|
|
14
|
+
var _PredefinedFieldInput = _interopRequireDefault(require("./PredefinedFieldInput"));
|
|
14
15
|
var _TemplateDefaultsInput = _interopRequireDefault(require("./TemplateDefaultsInput"));
|
|
15
16
|
var _TemplateFieldDependencyInput = _interopRequireDefault(require("./TemplateFieldDependencyInput"));
|
|
16
17
|
var _TemplateFormMode = _interopRequireDefault(require("./TemplateFormMode"));
|
|
@@ -39,7 +40,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
39
40
|
/**
|
|
40
41
|
* The CreateTemplateRequest model module.
|
|
41
42
|
* @module model/CreateTemplateRequest
|
|
42
|
-
* @version 4.
|
|
43
|
+
* @version 4.1.0
|
|
43
44
|
*/
|
|
44
45
|
var CreateTemplateRequest = /*#__PURE__*/function () {
|
|
45
46
|
/**
|
|
@@ -160,6 +161,14 @@ var CreateTemplateRequest = /*#__PURE__*/function () {
|
|
|
160
161
|
if (data.hasOwnProperty('field_dependencies')) {
|
|
161
162
|
obj['field_dependencies'] = _ApiClient["default"].convertToType(data['field_dependencies'], [_TemplateFieldDependencyInput["default"]]);
|
|
162
163
|
}
|
|
164
|
+
if (data.hasOwnProperty('predefined_fields')) {
|
|
165
|
+
obj['predefined_fields'] = _ApiClient["default"].convertToType(data['predefined_fields'], [_PredefinedFieldInput["default"]]);
|
|
166
|
+
}
|
|
167
|
+
if (data.hasOwnProperty('predefined_fields_sample_data')) {
|
|
168
|
+
obj['predefined_fields_sample_data'] = _ApiClient["default"].convertToType(data['predefined_fields_sample_data'], {
|
|
169
|
+
'String': Object
|
|
170
|
+
});
|
|
171
|
+
}
|
|
163
172
|
if (data.hasOwnProperty('html')) {
|
|
164
173
|
obj['html'] = _ApiClient["default"].convertToType(data['html'], 'String');
|
|
165
174
|
}
|
|
@@ -178,6 +187,12 @@ var CreateTemplateRequest = /*#__PURE__*/function () {
|
|
|
178
187
|
if (data.hasOwnProperty('cache_id')) {
|
|
179
188
|
obj['cache_id'] = _ApiClient["default"].convertToType(data['cache_id'], 'String');
|
|
180
189
|
}
|
|
190
|
+
if (data.hasOwnProperty('document_url')) {
|
|
191
|
+
obj['document_url'] = _ApiClient["default"].convertToType(data['document_url'], 'String');
|
|
192
|
+
}
|
|
193
|
+
if (data.hasOwnProperty('document_base64')) {
|
|
194
|
+
obj['document_base64'] = _ApiClient["default"].convertToType(data['document_base64'], 'String');
|
|
195
|
+
}
|
|
181
196
|
if (data.hasOwnProperty('filename')) {
|
|
182
197
|
obj['filename'] = _ApiClient["default"].convertToType(data['filename'], 'String');
|
|
183
198
|
}
|
|
@@ -274,6 +289,27 @@ var CreateTemplateRequest = /*#__PURE__*/function () {
|
|
|
274
289
|
}
|
|
275
290
|
;
|
|
276
291
|
}
|
|
292
|
+
if (data['predefined_fields']) {
|
|
293
|
+
// data not null
|
|
294
|
+
// ensure the json data is an array
|
|
295
|
+
if (!Array.isArray(data['predefined_fields'])) {
|
|
296
|
+
throw new Error("Expected the field `predefined_fields` to be an array in the JSON data but got " + data['predefined_fields']);
|
|
297
|
+
}
|
|
298
|
+
// validate the optional field `predefined_fields` (array)
|
|
299
|
+
var _iterator3 = _createForOfIteratorHelper(data['predefined_fields']),
|
|
300
|
+
_step3;
|
|
301
|
+
try {
|
|
302
|
+
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
303
|
+
var _item = _step3.value;
|
|
304
|
+
_PredefinedFieldInput["default"].validateJSON(_item);
|
|
305
|
+
}
|
|
306
|
+
} catch (err) {
|
|
307
|
+
_iterator3.e(err);
|
|
308
|
+
} finally {
|
|
309
|
+
_iterator3.f();
|
|
310
|
+
}
|
|
311
|
+
;
|
|
312
|
+
}
|
|
277
313
|
// ensure the json data is a string
|
|
278
314
|
if (data['html'] && !(typeof data['html'] === 'string' || data['html'] instanceof String)) {
|
|
279
315
|
throw new Error("Expected the field `html` to be a primitive type in the JSON string but got " + data['html']);
|
|
@@ -300,6 +336,14 @@ var CreateTemplateRequest = /*#__PURE__*/function () {
|
|
|
300
336
|
throw new Error("Expected the field `cache_id` to be a primitive type in the JSON string but got " + data['cache_id']);
|
|
301
337
|
}
|
|
302
338
|
// ensure the json data is a string
|
|
339
|
+
if (data['document_url'] && !(typeof data['document_url'] === 'string' || data['document_url'] instanceof String)) {
|
|
340
|
+
throw new Error("Expected the field `document_url` to be a primitive type in the JSON string but got " + data['document_url']);
|
|
341
|
+
}
|
|
342
|
+
// ensure the json data is a string
|
|
343
|
+
if (data['document_base64'] && !(typeof data['document_base64'] === 'string' || data['document_base64'] instanceof String)) {
|
|
344
|
+
throw new Error("Expected the field `document_base64` to be a primitive type in the JSON string but got " + data['document_base64']);
|
|
345
|
+
}
|
|
346
|
+
// ensure the json data is a string
|
|
303
347
|
if (data['filename'] && !(typeof data['filename'] === 'string' || data['filename'] instanceof String)) {
|
|
304
348
|
throw new Error("Expected the field `filename` to be a primitive type in the JSON string but got " + data['filename']);
|
|
305
349
|
}
|
|
@@ -477,6 +521,18 @@ CreateTemplateRequest.prototype['defaults'] = undefined;
|
|
|
477
521
|
*/
|
|
478
522
|
CreateTemplateRequest.prototype['field_dependencies'] = undefined;
|
|
479
523
|
|
|
524
|
+
/**
|
|
525
|
+
* The field names that people using the embedded template editor choose from, each with the data type and settings a field gets when it's given that name. Setting it replaces the whole list; an empty list turns them off.
|
|
526
|
+
* @member {Array.<module:model/PredefinedFieldInput>} predefined_fields
|
|
527
|
+
*/
|
|
528
|
+
CreateTemplateRequest.prototype['predefined_fields'] = undefined;
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* Sample submission data that sets `predefined_fields`: each value becomes a predefined field, with a type that fits it (`string`, `number`, `boolean`, `date`, `email` or `url`) and `required_in_template` true. Nested objects and arrays become names with `/`, such as `customer/email`. Without `predefined_fields` in the same request, it replaces them; with them, it adds to them and sets the types of the ones it has values for.
|
|
532
|
+
* @member {Object.<String, Object>} predefined_fields_sample_data
|
|
533
|
+
*/
|
|
534
|
+
CreateTemplateRequest.prototype['predefined_fields_sample_data'] = undefined;
|
|
535
|
+
|
|
480
536
|
/**
|
|
481
537
|
* The HTML of an HTML template, as a Liquid template. Null for PDF templates.
|
|
482
538
|
* @member {String} html
|
|
@@ -508,13 +564,25 @@ CreateTemplateRequest.prototype['footer_html'] = undefined;
|
|
|
508
564
|
CreateTemplateRequest.prototype['html_engine_options'] = undefined;
|
|
509
565
|
|
|
510
566
|
/**
|
|
511
|
-
* A PDF template's document: the `fields.key` of a file you uploaded with the presigned upload (GET /uploads/presign).
|
|
567
|
+
* A PDF template's document: the `fields.key` of a file you uploaded with the presigned upload (GET /uploads/presign). A PDF template needs one of `cache_id`, `document_url` and `document_base64`. To upload the PDF with the request, use POST /templates/upload.
|
|
512
568
|
* @member {String} cache_id
|
|
513
569
|
*/
|
|
514
570
|
CreateTemplateRequest.prototype['cache_id'] = undefined;
|
|
515
571
|
|
|
516
572
|
/**
|
|
517
|
-
*
|
|
573
|
+
* An https:// link to the template's PDF (up to 100 MB), instead of `cache_id`. DocSpring downloads it after responding, following redirects to other https:// links: the template's `document.state` is `downloading` until then (sync.api hosts wait for it). If it can't be downloaded, the state is `download_failed` and `document.error_message` says why.
|
|
574
|
+
* @member {String} document_url
|
|
575
|
+
*/
|
|
576
|
+
CreateTemplateRequest.prototype['document_url'] = undefined;
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* The template's PDF, encoded as base64 (a `data:` URI works too), instead of `cache_id`. Up to 7 MB before it's encoded: send a larger file with `cache_id` or `document_url`.
|
|
580
|
+
* @member {String} document_base64
|
|
581
|
+
*/
|
|
582
|
+
CreateTemplateRequest.prototype['document_base64'] = undefined;
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* The PDF's file name, for a `cache_id` (presigned uploads don't send one) or `document_base64`. A `document_url`'s is the last part of its path unless you set it.
|
|
518
586
|
* @member {String} filename
|
|
519
587
|
*/
|
|
520
588
|
CreateTemplateRequest.prototype['filename'] = undefined;
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
31
31
|
/**
|
|
32
32
|
* The CreateWebhookRequest model module.
|
|
33
33
|
* @module model/CreateWebhookRequest
|
|
34
|
-
* @version 4.
|
|
34
|
+
* @version 4.1.0
|
|
35
35
|
*/
|
|
36
36
|
var CreateWebhookRequest = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
package/dist/model/CustomFile.js
CHANGED
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* The CustomFileList model module.
|
|
32
32
|
* @module model/CustomFileList
|
|
33
|
-
* @version 4.
|
|
33
|
+
* @version 4.1.0
|
|
34
34
|
*/
|
|
35
35
|
var CustomFileList = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* The CustomFileSourcePdf model module.
|
|
31
31
|
* @module model/CustomFileSourcePdf
|
|
32
|
-
* @version 4.
|
|
32
|
+
* @version 4.1.0
|
|
33
33
|
*/
|
|
34
34
|
var CustomFileSourcePdf = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/model/ErrorInfo.js
CHANGED
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* The ErrorResponse model module.
|
|
32
32
|
* @module model/ErrorResponse
|
|
33
|
-
* @version 4.
|
|
33
|
+
* @version 4.1.0
|
|
34
34
|
*/
|
|
35
35
|
var ErrorResponse = /*#__PURE__*/function () {
|
|
36
36
|
/**
|