docspring 2.0.0 → 3.0.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 +53 -46
- package/dist/ApiClient.js +3 -3
- package/dist/api/{PDFApi.js → Client.js} +534 -372
- package/dist/index.js +52 -17
- package/dist/model/AddFieldsData.js +2 -2
- package/dist/model/BatchGeneratePdfs201Response.js +7 -7
- package/dist/model/CombinePdfsData.js +7 -7
- package/dist/model/CombinedSubmission.js +21 -21
- package/dist/model/CombinedSubmissionAction.js +13 -13
- package/dist/model/CopyTemplateOptions.js +7 -7
- package/dist/model/CreateCombinedSubmissionResponse.js +7 -7
- package/dist/model/CreateCustomFileData.js +7 -7
- package/dist/model/CreateCustomFileResponse.js +7 -7
- package/dist/model/CreateFolderData.js +2 -2
- package/dist/model/CreateHtmlTemplate.js +2 -2
- package/dist/model/CreatePdfSubmissionData.js +14 -2
- package/dist/model/CreatePdfTemplate.js +2 -2
- package/dist/model/CreateSubmissionDataRequestData.js +106 -2
- package/dist/model/CreateSubmissionDataRequestEventRequest.js +31 -7
- package/dist/model/CreateSubmissionDataRequestEventResponse.js +2 -2
- package/dist/model/CreateSubmissionDataRequestResponse.js +7 -7
- package/dist/model/CreateSubmissionDataRequestTokenResponse.js +2 -2
- package/dist/model/CreateSubmissionResponse.js +2 -2
- package/dist/model/CustomFile.js +2 -2
- package/dist/model/ErrorOrMultipleErrorsResponse.js +151 -0
- package/dist/model/ErrorResponse.js +2 -2
- package/dist/model/Folder.js +7 -7
- package/dist/model/JsonSchema.js +2 -2
- package/dist/model/ListSubmissionsResponse.js +7 -7
- package/dist/model/MoveFolderData.js +2 -2
- package/dist/model/MoveTemplateData.js +7 -7
- package/dist/model/MultipleErrorsResponse.js +2 -2
- package/dist/model/PublishVersionData.js +124 -0
- package/dist/model/RenameFolderData.js +2 -2
- package/dist/model/RestoreVersionData.js +112 -0
- package/dist/model/Submission.js +78 -32
- package/dist/model/Submission422Response.js +165 -0
- package/dist/model/SubmissionAction.js +13 -13
- package/dist/model/SubmissionBatch.js +15 -15
- package/dist/model/SubmissionBatchData.js +26 -2
- package/dist/model/SubmissionBatchWithSubmissions.js +15 -15
- package/dist/model/SubmissionDataRequest.js +31 -31
- package/dist/model/SubmissionDataRequestEvent.js +17 -17
- package/dist/model/SubmissionDataRequestShow.js +33 -33
- package/dist/model/SubmissionDataRequestToken.js +9 -9
- package/dist/model/SubmissionPreview.js +78 -32
- package/dist/model/SuccessErrorResponse.js +2 -2
- package/dist/model/SuccessMultipleErrorsResponse.js +2 -2
- package/dist/model/Template.js +194 -78
- package/dist/model/TemplateAddFieldsResponse.js +2 -2
- package/dist/model/TemplateDeleteResponse.js +166 -0
- package/dist/model/TemplatePreview.js +168 -66
- package/dist/model/{CombinedSubmissionData.js → TemplatePublishVersionResponse.js} +56 -52
- package/dist/model/UpdateHtmlTemplate.js +2 -2
- package/dist/model/UpdatePdfTemplate.js +108 -0
- package/dist/model/UpdateSubmissionDataRequestData.js +153 -2
- package/dist/model/UploadPresignResponse.js +2 -2
- package/package.json +1 -1
- package/dist/model/CreateHtmlSubmissionData.js +0 -161
package/dist/index.js
CHANGED
|
@@ -21,6 +21,12 @@ Object.defineProperty(exports, "BatchGeneratePdfs201Response", {
|
|
|
21
21
|
return _BatchGeneratePdfs201Response["default"];
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
|
+
Object.defineProperty(exports, "Client", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function get() {
|
|
27
|
+
return _Client["default"];
|
|
28
|
+
}
|
|
29
|
+
});
|
|
24
30
|
Object.defineProperty(exports, "CombinePdfsData", {
|
|
25
31
|
enumerable: true,
|
|
26
32
|
get: function get() {
|
|
@@ -39,12 +45,6 @@ Object.defineProperty(exports, "CombinedSubmissionAction", {
|
|
|
39
45
|
return _CombinedSubmissionAction["default"];
|
|
40
46
|
}
|
|
41
47
|
});
|
|
42
|
-
Object.defineProperty(exports, "CombinedSubmissionData", {
|
|
43
|
-
enumerable: true,
|
|
44
|
-
get: function get() {
|
|
45
|
-
return _CombinedSubmissionData["default"];
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
48
|
Object.defineProperty(exports, "CopyTemplateOptions", {
|
|
49
49
|
enumerable: true,
|
|
50
50
|
get: function get() {
|
|
@@ -75,12 +75,6 @@ Object.defineProperty(exports, "CreateFolderData", {
|
|
|
75
75
|
return _CreateFolderData["default"];
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
Object.defineProperty(exports, "CreateHtmlSubmissionData", {
|
|
79
|
-
enumerable: true,
|
|
80
|
-
get: function get() {
|
|
81
|
-
return _CreateHtmlSubmissionData["default"];
|
|
82
|
-
}
|
|
83
|
-
});
|
|
84
78
|
Object.defineProperty(exports, "CreateHtmlTemplate", {
|
|
85
79
|
enumerable: true,
|
|
86
80
|
get: function get() {
|
|
@@ -141,6 +135,12 @@ Object.defineProperty(exports, "CustomFile", {
|
|
|
141
135
|
return _CustomFile["default"];
|
|
142
136
|
}
|
|
143
137
|
});
|
|
138
|
+
Object.defineProperty(exports, "ErrorOrMultipleErrorsResponse", {
|
|
139
|
+
enumerable: true,
|
|
140
|
+
get: function get() {
|
|
141
|
+
return _ErrorOrMultipleErrorsResponse["default"];
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
144
|
Object.defineProperty(exports, "ErrorResponse", {
|
|
145
145
|
enumerable: true,
|
|
146
146
|
get: function get() {
|
|
@@ -183,10 +183,10 @@ Object.defineProperty(exports, "MultipleErrorsResponse", {
|
|
|
183
183
|
return _MultipleErrorsResponse["default"];
|
|
184
184
|
}
|
|
185
185
|
});
|
|
186
|
-
Object.defineProperty(exports, "
|
|
186
|
+
Object.defineProperty(exports, "PublishVersionData", {
|
|
187
187
|
enumerable: true,
|
|
188
188
|
get: function get() {
|
|
189
|
-
return
|
|
189
|
+
return _PublishVersionData["default"];
|
|
190
190
|
}
|
|
191
191
|
});
|
|
192
192
|
Object.defineProperty(exports, "RenameFolderData", {
|
|
@@ -195,12 +195,24 @@ Object.defineProperty(exports, "RenameFolderData", {
|
|
|
195
195
|
return _RenameFolderData["default"];
|
|
196
196
|
}
|
|
197
197
|
});
|
|
198
|
+
Object.defineProperty(exports, "RestoreVersionData", {
|
|
199
|
+
enumerable: true,
|
|
200
|
+
get: function get() {
|
|
201
|
+
return _RestoreVersionData["default"];
|
|
202
|
+
}
|
|
203
|
+
});
|
|
198
204
|
Object.defineProperty(exports, "Submission", {
|
|
199
205
|
enumerable: true,
|
|
200
206
|
get: function get() {
|
|
201
207
|
return _Submission["default"];
|
|
202
208
|
}
|
|
203
209
|
});
|
|
210
|
+
Object.defineProperty(exports, "Submission422Response", {
|
|
211
|
+
enumerable: true,
|
|
212
|
+
get: function get() {
|
|
213
|
+
return _Submission422Response["default"];
|
|
214
|
+
}
|
|
215
|
+
});
|
|
204
216
|
Object.defineProperty(exports, "SubmissionAction", {
|
|
205
217
|
enumerable: true,
|
|
206
218
|
get: function get() {
|
|
@@ -279,18 +291,36 @@ Object.defineProperty(exports, "TemplateAddFieldsResponse", {
|
|
|
279
291
|
return _TemplateAddFieldsResponse["default"];
|
|
280
292
|
}
|
|
281
293
|
});
|
|
294
|
+
Object.defineProperty(exports, "TemplateDeleteResponse", {
|
|
295
|
+
enumerable: true,
|
|
296
|
+
get: function get() {
|
|
297
|
+
return _TemplateDeleteResponse["default"];
|
|
298
|
+
}
|
|
299
|
+
});
|
|
282
300
|
Object.defineProperty(exports, "TemplatePreview", {
|
|
283
301
|
enumerable: true,
|
|
284
302
|
get: function get() {
|
|
285
303
|
return _TemplatePreview["default"];
|
|
286
304
|
}
|
|
287
305
|
});
|
|
306
|
+
Object.defineProperty(exports, "TemplatePublishVersionResponse", {
|
|
307
|
+
enumerable: true,
|
|
308
|
+
get: function get() {
|
|
309
|
+
return _TemplatePublishVersionResponse["default"];
|
|
310
|
+
}
|
|
311
|
+
});
|
|
288
312
|
Object.defineProperty(exports, "UpdateHtmlTemplate", {
|
|
289
313
|
enumerable: true,
|
|
290
314
|
get: function get() {
|
|
291
315
|
return _UpdateHtmlTemplate["default"];
|
|
292
316
|
}
|
|
293
317
|
});
|
|
318
|
+
Object.defineProperty(exports, "UpdatePdfTemplate", {
|
|
319
|
+
enumerable: true,
|
|
320
|
+
get: function get() {
|
|
321
|
+
return _UpdatePdfTemplate["default"];
|
|
322
|
+
}
|
|
323
|
+
});
|
|
294
324
|
Object.defineProperty(exports, "UpdateSubmissionDataRequestData", {
|
|
295
325
|
enumerable: true,
|
|
296
326
|
get: function get() {
|
|
@@ -309,13 +339,11 @@ var _BatchGeneratePdfs201Response = _interopRequireDefault(require("./model/Batc
|
|
|
309
339
|
var _CombinePdfsData = _interopRequireDefault(require("./model/CombinePdfsData"));
|
|
310
340
|
var _CombinedSubmission = _interopRequireDefault(require("./model/CombinedSubmission"));
|
|
311
341
|
var _CombinedSubmissionAction = _interopRequireDefault(require("./model/CombinedSubmissionAction"));
|
|
312
|
-
var _CombinedSubmissionData = _interopRequireDefault(require("./model/CombinedSubmissionData"));
|
|
313
342
|
var _CopyTemplateOptions = _interopRequireDefault(require("./model/CopyTemplateOptions"));
|
|
314
343
|
var _CreateCombinedSubmissionResponse = _interopRequireDefault(require("./model/CreateCombinedSubmissionResponse"));
|
|
315
344
|
var _CreateCustomFileData = _interopRequireDefault(require("./model/CreateCustomFileData"));
|
|
316
345
|
var _CreateCustomFileResponse = _interopRequireDefault(require("./model/CreateCustomFileResponse"));
|
|
317
346
|
var _CreateFolderData = _interopRequireDefault(require("./model/CreateFolderData"));
|
|
318
|
-
var _CreateHtmlSubmissionData = _interopRequireDefault(require("./model/CreateHtmlSubmissionData"));
|
|
319
347
|
var _CreateHtmlTemplate = _interopRequireDefault(require("./model/CreateHtmlTemplate"));
|
|
320
348
|
var _CreatePdfSubmissionData = _interopRequireDefault(require("./model/CreatePdfSubmissionData"));
|
|
321
349
|
var _CreatePdfTemplate = _interopRequireDefault(require("./model/CreatePdfTemplate"));
|
|
@@ -326,6 +354,7 @@ var _CreateSubmissionDataRequestResponse = _interopRequireDefault(require("./mod
|
|
|
326
354
|
var _CreateSubmissionDataRequestTokenResponse = _interopRequireDefault(require("./model/CreateSubmissionDataRequestTokenResponse"));
|
|
327
355
|
var _CreateSubmissionResponse = _interopRequireDefault(require("./model/CreateSubmissionResponse"));
|
|
328
356
|
var _CustomFile = _interopRequireDefault(require("./model/CustomFile"));
|
|
357
|
+
var _ErrorOrMultipleErrorsResponse = _interopRequireDefault(require("./model/ErrorOrMultipleErrorsResponse"));
|
|
329
358
|
var _ErrorResponse = _interopRequireDefault(require("./model/ErrorResponse"));
|
|
330
359
|
var _Folder = _interopRequireDefault(require("./model/Folder"));
|
|
331
360
|
var _JsonSchema = _interopRequireDefault(require("./model/JsonSchema"));
|
|
@@ -333,8 +362,11 @@ var _ListSubmissionsResponse = _interopRequireDefault(require("./model/ListSubmi
|
|
|
333
362
|
var _MoveFolderData = _interopRequireDefault(require("./model/MoveFolderData"));
|
|
334
363
|
var _MoveTemplateData = _interopRequireDefault(require("./model/MoveTemplateData"));
|
|
335
364
|
var _MultipleErrorsResponse = _interopRequireDefault(require("./model/MultipleErrorsResponse"));
|
|
365
|
+
var _PublishVersionData = _interopRequireDefault(require("./model/PublishVersionData"));
|
|
336
366
|
var _RenameFolderData = _interopRequireDefault(require("./model/RenameFolderData"));
|
|
367
|
+
var _RestoreVersionData = _interopRequireDefault(require("./model/RestoreVersionData"));
|
|
337
368
|
var _Submission = _interopRequireDefault(require("./model/Submission"));
|
|
369
|
+
var _Submission422Response = _interopRequireDefault(require("./model/Submission422Response"));
|
|
338
370
|
var _SubmissionAction = _interopRequireDefault(require("./model/SubmissionAction"));
|
|
339
371
|
var _SubmissionBatch = _interopRequireDefault(require("./model/SubmissionBatch"));
|
|
340
372
|
var _SubmissionBatchData = _interopRequireDefault(require("./model/SubmissionBatchData"));
|
|
@@ -348,9 +380,12 @@ var _SuccessErrorResponse = _interopRequireDefault(require("./model/SuccessError
|
|
|
348
380
|
var _SuccessMultipleErrorsResponse = _interopRequireDefault(require("./model/SuccessMultipleErrorsResponse"));
|
|
349
381
|
var _Template = _interopRequireDefault(require("./model/Template"));
|
|
350
382
|
var _TemplateAddFieldsResponse = _interopRequireDefault(require("./model/TemplateAddFieldsResponse"));
|
|
383
|
+
var _TemplateDeleteResponse = _interopRequireDefault(require("./model/TemplateDeleteResponse"));
|
|
351
384
|
var _TemplatePreview = _interopRequireDefault(require("./model/TemplatePreview"));
|
|
385
|
+
var _TemplatePublishVersionResponse = _interopRequireDefault(require("./model/TemplatePublishVersionResponse"));
|
|
352
386
|
var _UpdateHtmlTemplate = _interopRequireDefault(require("./model/UpdateHtmlTemplate"));
|
|
387
|
+
var _UpdatePdfTemplate = _interopRequireDefault(require("./model/UpdatePdfTemplate"));
|
|
353
388
|
var _UpdateSubmissionDataRequestData = _interopRequireDefault(require("./model/UpdateSubmissionDataRequestData"));
|
|
354
389
|
var _UploadPresignResponse = _interopRequireDefault(require("./model/UploadPresignResponse"));
|
|
355
|
-
var
|
|
390
|
+
var _Client = _interopRequireDefault(require("./api/Client"));
|
|
356
391
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
@@ -16,7 +16,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
16
16
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
17
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
18
18
|
* DocSpring API
|
|
19
|
-
* DocSpring
|
|
19
|
+
* Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
|
|
20
20
|
*
|
|
21
21
|
* The version of the OpenAPI document: v1
|
|
22
22
|
*
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The AddFieldsData model module.
|
|
31
31
|
* @module model/AddFieldsData
|
|
32
|
-
* @version
|
|
32
|
+
* @version 3.0.0
|
|
33
33
|
*/
|
|
34
34
|
var AddFieldsData = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -17,7 +17,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
17
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
18
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
19
19
|
* DocSpring API
|
|
20
|
-
* DocSpring
|
|
20
|
+
* Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
|
|
21
21
|
*
|
|
22
22
|
* The version of the OpenAPI document: v1
|
|
23
23
|
*
|
|
@@ -30,19 +30,19 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The BatchGeneratePdfs201Response model module.
|
|
32
32
|
* @module model/BatchGeneratePdfs201Response
|
|
33
|
-
* @version
|
|
33
|
+
* @version 3.0.0
|
|
34
34
|
*/
|
|
35
35
|
var BatchGeneratePdfs201Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
37
37
|
* Constructs a new <code>BatchGeneratePdfs201Response</code>.
|
|
38
38
|
* @alias module:model/BatchGeneratePdfs201Response
|
|
39
39
|
* @param status {module:model/BatchGeneratePdfs201Response.StatusEnum}
|
|
40
|
-
* @param
|
|
40
|
+
* @param submission_batch {module:model/SubmissionBatch}
|
|
41
41
|
* @param submissions {Array.<Object>}
|
|
42
42
|
*/
|
|
43
|
-
function BatchGeneratePdfs201Response(status,
|
|
43
|
+
function BatchGeneratePdfs201Response(status, submission_batch, submissions) {
|
|
44
44
|
_classCallCheck(this, BatchGeneratePdfs201Response);
|
|
45
|
-
BatchGeneratePdfs201Response.initialize(this, status,
|
|
45
|
+
BatchGeneratePdfs201Response.initialize(this, status, submission_batch, submissions);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/**
|
|
@@ -52,9 +52,9 @@ var BatchGeneratePdfs201Response = /*#__PURE__*/function () {
|
|
|
52
52
|
*/
|
|
53
53
|
return _createClass(BatchGeneratePdfs201Response, null, [{
|
|
54
54
|
key: "initialize",
|
|
55
|
-
value: function initialize(obj, status,
|
|
55
|
+
value: function initialize(obj, status, submission_batch, submissions) {
|
|
56
56
|
obj['status'] = status;
|
|
57
|
-
obj['submission_batch'] =
|
|
57
|
+
obj['submission_batch'] = submission_batch;
|
|
58
58
|
obj['submissions'] = submissions;
|
|
59
59
|
}
|
|
60
60
|
|
|
@@ -16,7 +16,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
16
16
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
17
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
18
18
|
* DocSpring API
|
|
19
|
-
* DocSpring
|
|
19
|
+
* Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
|
|
20
20
|
*
|
|
21
21
|
* The version of the OpenAPI document: v1
|
|
22
22
|
*
|
|
@@ -29,17 +29,17 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CombinePdfsData model module.
|
|
31
31
|
* @module model/CombinePdfsData
|
|
32
|
-
* @version
|
|
32
|
+
* @version 3.0.0
|
|
33
33
|
*/
|
|
34
34
|
var CombinePdfsData = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
36
36
|
* Constructs a new <code>CombinePdfsData</code>.
|
|
37
37
|
* @alias module:model/CombinePdfsData
|
|
38
|
-
* @param
|
|
38
|
+
* @param source_pdfs {Array.<Object>}
|
|
39
39
|
*/
|
|
40
|
-
function CombinePdfsData(
|
|
40
|
+
function CombinePdfsData(source_pdfs) {
|
|
41
41
|
_classCallCheck(this, CombinePdfsData);
|
|
42
|
-
CombinePdfsData.initialize(this,
|
|
42
|
+
CombinePdfsData.initialize(this, source_pdfs);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/**
|
|
@@ -49,8 +49,8 @@ var CombinePdfsData = /*#__PURE__*/function () {
|
|
|
49
49
|
*/
|
|
50
50
|
return _createClass(CombinePdfsData, null, [{
|
|
51
51
|
key: "initialize",
|
|
52
|
-
value: function initialize(obj,
|
|
53
|
-
obj['source_pdfs'] =
|
|
52
|
+
value: function initialize(obj, source_pdfs) {
|
|
53
|
+
obj['source_pdfs'] = source_pdfs;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
/**
|
|
@@ -17,7 +17,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
17
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
18
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
19
19
|
* DocSpring API
|
|
20
|
-
* DocSpring
|
|
20
|
+
* Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
|
|
21
21
|
*
|
|
22
22
|
* The version of the OpenAPI document: v1
|
|
23
23
|
*
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The CombinedSubmission model module.
|
|
32
32
|
* @module model/CombinedSubmission
|
|
33
|
-
* @version
|
|
33
|
+
* @version 3.0.0
|
|
34
34
|
*/
|
|
35
35
|
var CombinedSubmission = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -39,21 +39,21 @@ var CombinedSubmission = /*#__PURE__*/function () {
|
|
|
39
39
|
* @param id {String}
|
|
40
40
|
* @param state {module:model/CombinedSubmission.StateEnum}
|
|
41
41
|
* @param expired {Boolean}
|
|
42
|
-
* @param
|
|
43
|
-
* @param
|
|
44
|
-
* @param
|
|
45
|
-
* @param
|
|
46
|
-
* @param
|
|
47
|
-
* @param
|
|
42
|
+
* @param expires_in {Number}
|
|
43
|
+
* @param expires_at {String}
|
|
44
|
+
* @param processed_at {String}
|
|
45
|
+
* @param error_message {String}
|
|
46
|
+
* @param submission_ids {Array.<String>}
|
|
47
|
+
* @param source_pdfs {Array.<Object>}
|
|
48
48
|
* @param metadata {Object}
|
|
49
49
|
* @param password {String}
|
|
50
|
-
* @param
|
|
51
|
-
* @param
|
|
50
|
+
* @param pdf_hash {String}
|
|
51
|
+
* @param download_url {String}
|
|
52
52
|
* @param actions {Array.<module:model/CombinedSubmissionAction>}
|
|
53
53
|
*/
|
|
54
|
-
function CombinedSubmission(id, state, expired,
|
|
54
|
+
function CombinedSubmission(id, state, expired, expires_in, expires_at, processed_at, error_message, submission_ids, source_pdfs, metadata, password, pdf_hash, download_url, actions) {
|
|
55
55
|
_classCallCheck(this, CombinedSubmission);
|
|
56
|
-
CombinedSubmission.initialize(this, id, state, expired,
|
|
56
|
+
CombinedSubmission.initialize(this, id, state, expired, expires_in, expires_at, processed_at, error_message, submission_ids, source_pdfs, metadata, password, pdf_hash, download_url, actions);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
/**
|
|
@@ -63,20 +63,20 @@ var CombinedSubmission = /*#__PURE__*/function () {
|
|
|
63
63
|
*/
|
|
64
64
|
return _createClass(CombinedSubmission, null, [{
|
|
65
65
|
key: "initialize",
|
|
66
|
-
value: function initialize(obj, id, state, expired,
|
|
66
|
+
value: function initialize(obj, id, state, expired, expires_in, expires_at, processed_at, error_message, submission_ids, source_pdfs, metadata, password, pdf_hash, download_url, actions) {
|
|
67
67
|
obj['id'] = id;
|
|
68
68
|
obj['state'] = state;
|
|
69
69
|
obj['expired'] = expired;
|
|
70
|
-
obj['expires_in'] =
|
|
71
|
-
obj['expires_at'] =
|
|
72
|
-
obj['processed_at'] =
|
|
73
|
-
obj['error_message'] =
|
|
74
|
-
obj['submission_ids'] =
|
|
75
|
-
obj['source_pdfs'] =
|
|
70
|
+
obj['expires_in'] = expires_in;
|
|
71
|
+
obj['expires_at'] = expires_at;
|
|
72
|
+
obj['processed_at'] = processed_at;
|
|
73
|
+
obj['error_message'] = error_message;
|
|
74
|
+
obj['submission_ids'] = submission_ids;
|
|
75
|
+
obj['source_pdfs'] = source_pdfs;
|
|
76
76
|
obj['metadata'] = metadata;
|
|
77
77
|
obj['password'] = password;
|
|
78
|
-
obj['pdf_hash'] =
|
|
79
|
-
obj['download_url'] =
|
|
78
|
+
obj['pdf_hash'] = pdf_hash;
|
|
79
|
+
obj['download_url'] = download_url;
|
|
80
80
|
obj['actions'] = actions;
|
|
81
81
|
}
|
|
82
82
|
|
|
@@ -16,7 +16,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
16
16
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
17
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
18
18
|
* DocSpring API
|
|
19
|
-
* DocSpring
|
|
19
|
+
* Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
|
|
20
20
|
*
|
|
21
21
|
* The version of the OpenAPI document: v1
|
|
22
22
|
*
|
|
@@ -29,22 +29,22 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CombinedSubmissionAction model module.
|
|
31
31
|
* @module model/CombinedSubmissionAction
|
|
32
|
-
* @version
|
|
32
|
+
* @version 3.0.0
|
|
33
33
|
*/
|
|
34
34
|
var CombinedSubmissionAction = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
36
36
|
* Constructs a new <code>CombinedSubmissionAction</code>.
|
|
37
37
|
* @alias module:model/CombinedSubmissionAction
|
|
38
38
|
* @param id {String}
|
|
39
|
-
* @param
|
|
39
|
+
* @param integration_id {String}
|
|
40
40
|
* @param state {module:model/CombinedSubmissionAction.StateEnum}
|
|
41
|
-
* @param
|
|
42
|
-
* @param
|
|
43
|
-
* @param
|
|
41
|
+
* @param action_type {module:model/CombinedSubmissionAction.ActionTypeEnum}
|
|
42
|
+
* @param action_category {module:model/CombinedSubmissionAction.ActionCategoryEnum}
|
|
43
|
+
* @param result_data {Object}
|
|
44
44
|
*/
|
|
45
|
-
function CombinedSubmissionAction(id,
|
|
45
|
+
function CombinedSubmissionAction(id, integration_id, state, action_type, action_category, result_data) {
|
|
46
46
|
_classCallCheck(this, CombinedSubmissionAction);
|
|
47
|
-
CombinedSubmissionAction.initialize(this, id,
|
|
47
|
+
CombinedSubmissionAction.initialize(this, id, integration_id, state, action_type, action_category, result_data);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
/**
|
|
@@ -54,13 +54,13 @@ var CombinedSubmissionAction = /*#__PURE__*/function () {
|
|
|
54
54
|
*/
|
|
55
55
|
return _createClass(CombinedSubmissionAction, null, [{
|
|
56
56
|
key: "initialize",
|
|
57
|
-
value: function initialize(obj, id,
|
|
57
|
+
value: function initialize(obj, id, integration_id, state, action_type, action_category, result_data) {
|
|
58
58
|
obj['id'] = id;
|
|
59
|
-
obj['integration_id'] =
|
|
59
|
+
obj['integration_id'] = integration_id;
|
|
60
60
|
obj['state'] = state;
|
|
61
|
-
obj['action_type'] =
|
|
62
|
-
obj['action_category'] =
|
|
63
|
-
obj['result_data'] =
|
|
61
|
+
obj['action_type'] = action_type;
|
|
62
|
+
obj['action_category'] = action_category;
|
|
63
|
+
obj['result_data'] = result_data;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
/**
|
|
@@ -16,7 +16,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
16
16
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
17
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
18
18
|
* DocSpring API
|
|
19
|
-
* DocSpring
|
|
19
|
+
* Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
|
|
20
20
|
*
|
|
21
21
|
* The version of the OpenAPI document: v1
|
|
22
22
|
*
|
|
@@ -29,17 +29,17 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CopyTemplateOptions model module.
|
|
31
31
|
* @module model/CopyTemplateOptions
|
|
32
|
-
* @version
|
|
32
|
+
* @version 3.0.0
|
|
33
33
|
*/
|
|
34
34
|
var CopyTemplateOptions = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
36
36
|
* Constructs a new <code>CopyTemplateOptions</code>.
|
|
37
37
|
* @alias module:model/CopyTemplateOptions
|
|
38
|
-
* @param
|
|
38
|
+
* @param parent_folder_id {String}
|
|
39
39
|
*/
|
|
40
|
-
function CopyTemplateOptions(
|
|
40
|
+
function CopyTemplateOptions(parent_folder_id) {
|
|
41
41
|
_classCallCheck(this, CopyTemplateOptions);
|
|
42
|
-
CopyTemplateOptions.initialize(this,
|
|
42
|
+
CopyTemplateOptions.initialize(this, parent_folder_id);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/**
|
|
@@ -49,8 +49,8 @@ var CopyTemplateOptions = /*#__PURE__*/function () {
|
|
|
49
49
|
*/
|
|
50
50
|
return _createClass(CopyTemplateOptions, null, [{
|
|
51
51
|
key: "initialize",
|
|
52
|
-
value: function initialize(obj,
|
|
53
|
-
obj['parent_folder_id'] =
|
|
52
|
+
value: function initialize(obj, parent_folder_id) {
|
|
53
|
+
obj['parent_folder_id'] = parent_folder_id;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
/**
|
|
@@ -17,7 +17,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
17
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
18
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
19
19
|
* DocSpring API
|
|
20
|
-
* DocSpring
|
|
20
|
+
* Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
|
|
21
21
|
*
|
|
22
22
|
* The version of the OpenAPI document: v1
|
|
23
23
|
*
|
|
@@ -30,18 +30,18 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The CreateCombinedSubmissionResponse model module.
|
|
32
32
|
* @module model/CreateCombinedSubmissionResponse
|
|
33
|
-
* @version
|
|
33
|
+
* @version 3.0.0
|
|
34
34
|
*/
|
|
35
35
|
var CreateCombinedSubmissionResponse = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
37
37
|
* Constructs a new <code>CreateCombinedSubmissionResponse</code>.
|
|
38
38
|
* @alias module:model/CreateCombinedSubmissionResponse
|
|
39
39
|
* @param status {module:model/CreateCombinedSubmissionResponse.StatusEnum}
|
|
40
|
-
* @param
|
|
40
|
+
* @param combined_submission {module:model/CombinedSubmission}
|
|
41
41
|
*/
|
|
42
|
-
function CreateCombinedSubmissionResponse(status,
|
|
42
|
+
function CreateCombinedSubmissionResponse(status, combined_submission) {
|
|
43
43
|
_classCallCheck(this, CreateCombinedSubmissionResponse);
|
|
44
|
-
CreateCombinedSubmissionResponse.initialize(this, status,
|
|
44
|
+
CreateCombinedSubmissionResponse.initialize(this, status, combined_submission);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
@@ -51,9 +51,9 @@ var CreateCombinedSubmissionResponse = /*#__PURE__*/function () {
|
|
|
51
51
|
*/
|
|
52
52
|
return _createClass(CreateCombinedSubmissionResponse, null, [{
|
|
53
53
|
key: "initialize",
|
|
54
|
-
value: function initialize(obj, status,
|
|
54
|
+
value: function initialize(obj, status, combined_submission) {
|
|
55
55
|
obj['status'] = status;
|
|
56
|
-
obj['combined_submission'] =
|
|
56
|
+
obj['combined_submission'] = combined_submission;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
/**
|
|
@@ -16,7 +16,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
16
16
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
17
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
18
18
|
* DocSpring API
|
|
19
|
-
* DocSpring
|
|
19
|
+
* Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
|
|
20
20
|
*
|
|
21
21
|
* The version of the OpenAPI document: v1
|
|
22
22
|
*
|
|
@@ -29,17 +29,17 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CreateCustomFileData model module.
|
|
31
31
|
* @module model/CreateCustomFileData
|
|
32
|
-
* @version
|
|
32
|
+
* @version 3.0.0
|
|
33
33
|
*/
|
|
34
34
|
var CreateCustomFileData = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
36
36
|
* Constructs a new <code>CreateCustomFileData</code>.
|
|
37
37
|
* @alias module:model/CreateCustomFileData
|
|
38
|
-
* @param
|
|
38
|
+
* @param cache_id {String}
|
|
39
39
|
*/
|
|
40
|
-
function CreateCustomFileData(
|
|
40
|
+
function CreateCustomFileData(cache_id) {
|
|
41
41
|
_classCallCheck(this, CreateCustomFileData);
|
|
42
|
-
CreateCustomFileData.initialize(this,
|
|
42
|
+
CreateCustomFileData.initialize(this, cache_id);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/**
|
|
@@ -49,8 +49,8 @@ var CreateCustomFileData = /*#__PURE__*/function () {
|
|
|
49
49
|
*/
|
|
50
50
|
return _createClass(CreateCustomFileData, null, [{
|
|
51
51
|
key: "initialize",
|
|
52
|
-
value: function initialize(obj,
|
|
53
|
-
obj['cache_id'] =
|
|
52
|
+
value: function initialize(obj, cache_id) {
|
|
53
|
+
obj['cache_id'] = cache_id;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
/**
|
|
@@ -17,7 +17,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
17
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
18
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
19
19
|
* DocSpring API
|
|
20
|
-
* DocSpring
|
|
20
|
+
* Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
|
|
21
21
|
*
|
|
22
22
|
* The version of the OpenAPI document: v1
|
|
23
23
|
*
|
|
@@ -30,18 +30,18 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The CreateCustomFileResponse model module.
|
|
32
32
|
* @module model/CreateCustomFileResponse
|
|
33
|
-
* @version
|
|
33
|
+
* @version 3.0.0
|
|
34
34
|
*/
|
|
35
35
|
var CreateCustomFileResponse = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
37
37
|
* Constructs a new <code>CreateCustomFileResponse</code>.
|
|
38
38
|
* @alias module:model/CreateCustomFileResponse
|
|
39
39
|
* @param status {module:model/CreateCustomFileResponse.StatusEnum}
|
|
40
|
-
* @param
|
|
40
|
+
* @param custom_file {module:model/CustomFile}
|
|
41
41
|
*/
|
|
42
|
-
function CreateCustomFileResponse(status,
|
|
42
|
+
function CreateCustomFileResponse(status, custom_file) {
|
|
43
43
|
_classCallCheck(this, CreateCustomFileResponse);
|
|
44
|
-
CreateCustomFileResponse.initialize(this, status,
|
|
44
|
+
CreateCustomFileResponse.initialize(this, status, custom_file);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
@@ -51,9 +51,9 @@ var CreateCustomFileResponse = /*#__PURE__*/function () {
|
|
|
51
51
|
*/
|
|
52
52
|
return _createClass(CreateCustomFileResponse, null, [{
|
|
53
53
|
key: "initialize",
|
|
54
|
-
value: function initialize(obj, status,
|
|
54
|
+
value: function initialize(obj, status, custom_file) {
|
|
55
55
|
obj['status'] = status;
|
|
56
|
-
obj['custom_file'] =
|
|
56
|
+
obj['custom_file'] = custom_file;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
/**
|
|
@@ -16,7 +16,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
16
16
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
17
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
18
18
|
* DocSpring API
|
|
19
|
-
* DocSpring
|
|
19
|
+
* Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
|
|
20
20
|
*
|
|
21
21
|
* The version of the OpenAPI document: v1
|
|
22
22
|
*
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CreateFolderData model module.
|
|
31
31
|
* @module model/CreateFolderData
|
|
32
|
-
* @version
|
|
32
|
+
* @version 3.0.0
|
|
33
33
|
*/
|
|
34
34
|
var CreateFolderData = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -16,7 +16,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
16
16
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
17
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
18
18
|
* DocSpring API
|
|
19
|
-
* DocSpring
|
|
19
|
+
* Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
|
|
20
20
|
*
|
|
21
21
|
* The version of the OpenAPI document: v1
|
|
22
22
|
*
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CreateHtmlTemplate model module.
|
|
31
31
|
* @module model/CreateHtmlTemplate
|
|
32
|
-
* @version
|
|
32
|
+
* @version 3.0.0
|
|
33
33
|
*/
|
|
34
34
|
var CreateHtmlTemplate = /*#__PURE__*/function () {
|
|
35
35
|
/**
|