docspring 2.1.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.
Files changed (59) hide show
  1. package/README.md +49 -48
  2. package/dist/ApiClient.js +3 -3
  3. package/dist/api/{PDFApi.js → Client.js} +456 -383
  4. package/dist/index.js +28 -21
  5. package/dist/model/AddFieldsData.js +2 -2
  6. package/dist/model/BatchGeneratePdfs201Response.js +7 -7
  7. package/dist/model/CombinePdfsData.js +7 -7
  8. package/dist/model/CombinedSubmission.js +21 -21
  9. package/dist/model/CombinedSubmissionAction.js +13 -13
  10. package/dist/model/CopyTemplateOptions.js +7 -7
  11. package/dist/model/CreateCombinedSubmissionResponse.js +7 -7
  12. package/dist/model/CreateCustomFileData.js +7 -7
  13. package/dist/model/CreateCustomFileResponse.js +7 -7
  14. package/dist/model/CreateFolderData.js +2 -2
  15. package/dist/model/CreateHtmlTemplate.js +2 -2
  16. package/dist/model/CreatePdfSubmissionData.js +2 -2
  17. package/dist/model/CreatePdfTemplate.js +2 -2
  18. package/dist/model/CreateSubmissionDataRequestData.js +106 -2
  19. package/dist/model/CreateSubmissionDataRequestEventRequest.js +31 -7
  20. package/dist/model/CreateSubmissionDataRequestEventResponse.js +2 -2
  21. package/dist/model/CreateSubmissionDataRequestResponse.js +7 -7
  22. package/dist/model/CreateSubmissionDataRequestTokenResponse.js +2 -2
  23. package/dist/model/CreateSubmissionResponse.js +2 -2
  24. package/dist/model/CustomFile.js +2 -2
  25. package/dist/model/ErrorOrMultipleErrorsResponse.js +151 -0
  26. package/dist/model/ErrorResponse.js +2 -2
  27. package/dist/model/Folder.js +7 -7
  28. package/dist/model/JsonSchema.js +2 -2
  29. package/dist/model/ListSubmissionsResponse.js +7 -7
  30. package/dist/model/MoveFolderData.js +2 -2
  31. package/dist/model/MoveTemplateData.js +7 -7
  32. package/dist/model/MultipleErrorsResponse.js +2 -2
  33. package/dist/model/PublishVersionData.js +7 -7
  34. package/dist/model/RenameFolderData.js +2 -2
  35. package/dist/model/RestoreVersionData.js +2 -2
  36. package/dist/model/Submission.js +35 -35
  37. package/dist/model/Submission422Response.js +165 -0
  38. package/dist/model/SubmissionAction.js +13 -13
  39. package/dist/model/SubmissionBatch.js +15 -15
  40. package/dist/model/SubmissionBatchData.js +26 -2
  41. package/dist/model/SubmissionBatchWithSubmissions.js +15 -15
  42. package/dist/model/SubmissionDataRequest.js +31 -31
  43. package/dist/model/SubmissionDataRequestEvent.js +17 -17
  44. package/dist/model/SubmissionDataRequestShow.js +33 -33
  45. package/dist/model/SubmissionDataRequestToken.js +9 -9
  46. package/dist/model/SubmissionPreview.js +35 -35
  47. package/dist/model/SuccessErrorResponse.js +2 -2
  48. package/dist/model/SuccessMultipleErrorsResponse.js +2 -2
  49. package/dist/model/Template.js +87 -87
  50. package/dist/model/TemplateAddFieldsResponse.js +2 -2
  51. package/dist/model/TemplateDeleteResponse.js +2 -2
  52. package/dist/model/TemplatePreview.js +75 -75
  53. package/dist/model/TemplatePublishVersionResponse.js +2 -2
  54. package/dist/model/UpdateHtmlTemplate.js +2 -2
  55. package/dist/model/{CombinedSubmissionData.js → UpdatePdfTemplate.js} +27 -67
  56. package/dist/model/UpdateSubmissionDataRequestData.js +153 -2
  57. package/dist/model/UploadPresignResponse.js +2 -2
  58. package/package.json +1 -1
  59. package/dist/model/CreateHtmlSubmissionData.js +0 -173
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,12 +183,6 @@ Object.defineProperty(exports, "MultipleErrorsResponse", {
183
183
  return _MultipleErrorsResponse["default"];
184
184
  }
185
185
  });
186
- Object.defineProperty(exports, "PDFApi", {
187
- enumerable: true,
188
- get: function get() {
189
- return _PDFApi["default"];
190
- }
191
- });
192
186
  Object.defineProperty(exports, "PublishVersionData", {
193
187
  enumerable: true,
194
188
  get: function get() {
@@ -213,6 +207,12 @@ Object.defineProperty(exports, "Submission", {
213
207
  return _Submission["default"];
214
208
  }
215
209
  });
210
+ Object.defineProperty(exports, "Submission422Response", {
211
+ enumerable: true,
212
+ get: function get() {
213
+ return _Submission422Response["default"];
214
+ }
215
+ });
216
216
  Object.defineProperty(exports, "SubmissionAction", {
217
217
  enumerable: true,
218
218
  get: function get() {
@@ -315,6 +315,12 @@ Object.defineProperty(exports, "UpdateHtmlTemplate", {
315
315
  return _UpdateHtmlTemplate["default"];
316
316
  }
317
317
  });
318
+ Object.defineProperty(exports, "UpdatePdfTemplate", {
319
+ enumerable: true,
320
+ get: function get() {
321
+ return _UpdatePdfTemplate["default"];
322
+ }
323
+ });
318
324
  Object.defineProperty(exports, "UpdateSubmissionDataRequestData", {
319
325
  enumerable: true,
320
326
  get: function get() {
@@ -333,13 +339,11 @@ var _BatchGeneratePdfs201Response = _interopRequireDefault(require("./model/Batc
333
339
  var _CombinePdfsData = _interopRequireDefault(require("./model/CombinePdfsData"));
334
340
  var _CombinedSubmission = _interopRequireDefault(require("./model/CombinedSubmission"));
335
341
  var _CombinedSubmissionAction = _interopRequireDefault(require("./model/CombinedSubmissionAction"));
336
- var _CombinedSubmissionData = _interopRequireDefault(require("./model/CombinedSubmissionData"));
337
342
  var _CopyTemplateOptions = _interopRequireDefault(require("./model/CopyTemplateOptions"));
338
343
  var _CreateCombinedSubmissionResponse = _interopRequireDefault(require("./model/CreateCombinedSubmissionResponse"));
339
344
  var _CreateCustomFileData = _interopRequireDefault(require("./model/CreateCustomFileData"));
340
345
  var _CreateCustomFileResponse = _interopRequireDefault(require("./model/CreateCustomFileResponse"));
341
346
  var _CreateFolderData = _interopRequireDefault(require("./model/CreateFolderData"));
342
- var _CreateHtmlSubmissionData = _interopRequireDefault(require("./model/CreateHtmlSubmissionData"));
343
347
  var _CreateHtmlTemplate = _interopRequireDefault(require("./model/CreateHtmlTemplate"));
344
348
  var _CreatePdfSubmissionData = _interopRequireDefault(require("./model/CreatePdfSubmissionData"));
345
349
  var _CreatePdfTemplate = _interopRequireDefault(require("./model/CreatePdfTemplate"));
@@ -350,6 +354,7 @@ var _CreateSubmissionDataRequestResponse = _interopRequireDefault(require("./mod
350
354
  var _CreateSubmissionDataRequestTokenResponse = _interopRequireDefault(require("./model/CreateSubmissionDataRequestTokenResponse"));
351
355
  var _CreateSubmissionResponse = _interopRequireDefault(require("./model/CreateSubmissionResponse"));
352
356
  var _CustomFile = _interopRequireDefault(require("./model/CustomFile"));
357
+ var _ErrorOrMultipleErrorsResponse = _interopRequireDefault(require("./model/ErrorOrMultipleErrorsResponse"));
353
358
  var _ErrorResponse = _interopRequireDefault(require("./model/ErrorResponse"));
354
359
  var _Folder = _interopRequireDefault(require("./model/Folder"));
355
360
  var _JsonSchema = _interopRequireDefault(require("./model/JsonSchema"));
@@ -361,6 +366,7 @@ var _PublishVersionData = _interopRequireDefault(require("./model/PublishVersion
361
366
  var _RenameFolderData = _interopRequireDefault(require("./model/RenameFolderData"));
362
367
  var _RestoreVersionData = _interopRequireDefault(require("./model/RestoreVersionData"));
363
368
  var _Submission = _interopRequireDefault(require("./model/Submission"));
369
+ var _Submission422Response = _interopRequireDefault(require("./model/Submission422Response"));
364
370
  var _SubmissionAction = _interopRequireDefault(require("./model/SubmissionAction"));
365
371
  var _SubmissionBatch = _interopRequireDefault(require("./model/SubmissionBatch"));
366
372
  var _SubmissionBatchData = _interopRequireDefault(require("./model/SubmissionBatchData"));
@@ -378,7 +384,8 @@ var _TemplateDeleteResponse = _interopRequireDefault(require("./model/TemplateDe
378
384
  var _TemplatePreview = _interopRequireDefault(require("./model/TemplatePreview"));
379
385
  var _TemplatePublishVersionResponse = _interopRequireDefault(require("./model/TemplatePublishVersionResponse"));
380
386
  var _UpdateHtmlTemplate = _interopRequireDefault(require("./model/UpdateHtmlTemplate"));
387
+ var _UpdatePdfTemplate = _interopRequireDefault(require("./model/UpdatePdfTemplate"));
381
388
  var _UpdateSubmissionDataRequestData = _interopRequireDefault(require("./model/UpdateSubmissionDataRequestData"));
382
389
  var _UploadPresignResponse = _interopRequireDefault(require("./model/UploadPresignResponse"));
383
- var _PDFApi = _interopRequireDefault(require("./api/PDFApi"));
390
+ var _Client = _interopRequireDefault(require("./api/Client"));
384
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 provides an API that helps you fill out and sign PDF templates.
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 2.1.0
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 provides an API that helps you fill out and sign PDF templates.
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 2.1.0
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 submissionBatch {module:model/SubmissionBatch}
40
+ * @param submission_batch {module:model/SubmissionBatch}
41
41
  * @param submissions {Array.<Object>}
42
42
  */
43
- function BatchGeneratePdfs201Response(status, submissionBatch, submissions) {
43
+ function BatchGeneratePdfs201Response(status, submission_batch, submissions) {
44
44
  _classCallCheck(this, BatchGeneratePdfs201Response);
45
- BatchGeneratePdfs201Response.initialize(this, status, submissionBatch, submissions);
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, submissionBatch, submissions) {
55
+ value: function initialize(obj, status, submission_batch, submissions) {
56
56
  obj['status'] = status;
57
- obj['submission_batch'] = submissionBatch;
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 provides an API that helps you fill out and sign PDF templates.
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 2.1.0
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 sourcePdfs {Array.<Object>}
38
+ * @param source_pdfs {Array.<Object>}
39
39
  */
40
- function CombinePdfsData(sourcePdfs) {
40
+ function CombinePdfsData(source_pdfs) {
41
41
  _classCallCheck(this, CombinePdfsData);
42
- CombinePdfsData.initialize(this, sourcePdfs);
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, sourcePdfs) {
53
- obj['source_pdfs'] = sourcePdfs;
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 provides an API that helps you fill out and sign PDF templates.
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 2.1.0
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 expiresIn {Number}
43
- * @param expiresAt {String}
44
- * @param processedAt {String}
45
- * @param errorMessage {String}
46
- * @param submissionIds {Array.<String>}
47
- * @param sourcePdfs {Array.<Object>}
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 pdfHash {String}
51
- * @param downloadUrl {String}
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, expiresIn, expiresAt, processedAt, errorMessage, submissionIds, sourcePdfs, metadata, password, pdfHash, downloadUrl, actions) {
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, expiresIn, expiresAt, processedAt, errorMessage, submissionIds, sourcePdfs, metadata, password, pdfHash, downloadUrl, actions);
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, expiresIn, expiresAt, processedAt, errorMessage, submissionIds, sourcePdfs, metadata, password, pdfHash, downloadUrl, actions) {
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'] = expiresIn;
71
- obj['expires_at'] = expiresAt;
72
- obj['processed_at'] = processedAt;
73
- obj['error_message'] = errorMessage;
74
- obj['submission_ids'] = submissionIds;
75
- obj['source_pdfs'] = sourcePdfs;
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'] = pdfHash;
79
- obj['download_url'] = downloadUrl;
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 provides an API that helps you fill out and sign PDF templates.
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 2.1.0
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 integrationId {String}
39
+ * @param integration_id {String}
40
40
  * @param state {module:model/CombinedSubmissionAction.StateEnum}
41
- * @param actionType {module:model/CombinedSubmissionAction.ActionTypeEnum}
42
- * @param actionCategory {module:model/CombinedSubmissionAction.ActionCategoryEnum}
43
- * @param resultData {Object}
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, integrationId, state, actionType, actionCategory, resultData) {
45
+ function CombinedSubmissionAction(id, integration_id, state, action_type, action_category, result_data) {
46
46
  _classCallCheck(this, CombinedSubmissionAction);
47
- CombinedSubmissionAction.initialize(this, id, integrationId, state, actionType, actionCategory, resultData);
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, integrationId, state, actionType, actionCategory, resultData) {
57
+ value: function initialize(obj, id, integration_id, state, action_type, action_category, result_data) {
58
58
  obj['id'] = id;
59
- obj['integration_id'] = integrationId;
59
+ obj['integration_id'] = integration_id;
60
60
  obj['state'] = state;
61
- obj['action_type'] = actionType;
62
- obj['action_category'] = actionCategory;
63
- obj['result_data'] = resultData;
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 provides an API that helps you fill out and sign PDF templates.
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 2.1.0
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 parentFolderId {String}
38
+ * @param parent_folder_id {String}
39
39
  */
40
- function CopyTemplateOptions(parentFolderId) {
40
+ function CopyTemplateOptions(parent_folder_id) {
41
41
  _classCallCheck(this, CopyTemplateOptions);
42
- CopyTemplateOptions.initialize(this, parentFolderId);
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, parentFolderId) {
53
- obj['parent_folder_id'] = parentFolderId;
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 provides an API that helps you fill out and sign PDF templates.
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 2.1.0
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 combinedSubmission {module:model/CombinedSubmission}
40
+ * @param combined_submission {module:model/CombinedSubmission}
41
41
  */
42
- function CreateCombinedSubmissionResponse(status, combinedSubmission) {
42
+ function CreateCombinedSubmissionResponse(status, combined_submission) {
43
43
  _classCallCheck(this, CreateCombinedSubmissionResponse);
44
- CreateCombinedSubmissionResponse.initialize(this, status, combinedSubmission);
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, combinedSubmission) {
54
+ value: function initialize(obj, status, combined_submission) {
55
55
  obj['status'] = status;
56
- obj['combined_submission'] = combinedSubmission;
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 provides an API that helps you fill out and sign PDF templates.
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 2.1.0
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 cacheId {String}
38
+ * @param cache_id {String}
39
39
  */
40
- function CreateCustomFileData(cacheId) {
40
+ function CreateCustomFileData(cache_id) {
41
41
  _classCallCheck(this, CreateCustomFileData);
42
- CreateCustomFileData.initialize(this, cacheId);
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, cacheId) {
53
- obj['cache_id'] = cacheId;
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 provides an API that helps you fill out and sign PDF templates.
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 2.1.0
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 customFile {module:model/CustomFile}
40
+ * @param custom_file {module:model/CustomFile}
41
41
  */
42
- function CreateCustomFileResponse(status, customFile) {
42
+ function CreateCustomFileResponse(status, custom_file) {
43
43
  _classCallCheck(this, CreateCustomFileResponse);
44
- CreateCustomFileResponse.initialize(this, status, customFile);
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, customFile) {
54
+ value: function initialize(obj, status, custom_file) {
55
55
  obj['status'] = status;
56
- obj['custom_file'] = customFile;
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 provides an API that helps you fill out and sign PDF templates.
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 2.1.0
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 provides an API that helps you fill out and sign PDF templates.
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 2.1.0
32
+ * @version 3.0.0
33
33
  */
34
34
  var CreateHtmlTemplate = /*#__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 provides an API that helps you fill out and sign PDF templates.
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 CreatePdfSubmissionData model module.
32
32
  * @module model/CreatePdfSubmissionData
33
- * @version 2.1.0
33
+ * @version 3.0.0
34
34
  */
35
35
  var CreatePdfSubmissionData = /*#__PURE__*/function () {
36
36
  /**
@@ -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 provides an API that helps you fill out and sign PDF templates.
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 CreatePdfTemplate model module.
31
31
  * @module model/CreatePdfTemplate
32
- * @version 2.1.0
32
+ * @version 3.0.0
33
33
  */
34
34
  var CreatePdfTemplate = /*#__PURE__*/function () {
35
35
  /**