docspring 2.1.0 → 3.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 +59 -48
- package/dist/ApiClient.js +4 -4
- package/dist/api/{PDFApi.js → Client.js} +698 -384
- package/dist/index.js +56 -21
- package/dist/model/AddFieldsData.js +3 -3
- package/dist/model/BatchGeneratePdfs201Response.js +8 -8
- package/dist/model/CombinePdfsData.js +10 -8
- package/dist/model/CombinedSubmission.js +22 -22
- package/dist/model/CombinedSubmissionAction.js +29 -15
- package/dist/model/CopyTemplateOptions.js +19 -30
- package/dist/model/CreateCombinedSubmissionResponse.js +8 -8
- package/dist/model/CreateCustomFileData.js +8 -8
- package/dist/model/CreateCustomFileResponse.js +8 -8
- package/dist/model/CreateFolderData.js +3 -3
- package/dist/model/CreateHtmlTemplate.js +3 -3
- package/dist/model/CreatePdfSubmissionData.js +3 -3
- package/dist/model/CreatePdfTemplate.js +3 -3
- package/dist/model/CreateSubmissionDataRequestData.js +107 -3
- package/dist/model/CreateSubmissionDataRequestEventRequest.js +32 -8
- package/dist/model/CreateSubmissionDataRequestEventResponse.js +3 -3
- package/dist/model/CreateSubmissionDataRequestResponse.js +8 -8
- package/dist/model/CreateSubmissionDataRequestTokenResponse.js +3 -3
- package/dist/model/CreateSubmissionResponse.js +3 -3
- package/dist/model/{CombinedSubmissionData.js → CreateWebhookData.js} +28 -68
- package/dist/model/CustomFile.js +3 -3
- package/dist/model/ErrorOrMultipleErrorsResponse.js +151 -0
- package/dist/model/ErrorResponse.js +3 -3
- package/dist/model/Folder.js +8 -8
- package/dist/model/JsonSchema.js +35 -3
- package/dist/model/ListSubmissionsResponse.js +8 -8
- package/dist/model/MoveFolderData.js +3 -3
- package/dist/model/MoveTemplateData.js +20 -8
- package/dist/model/MultipleErrorsResponse.js +3 -3
- package/dist/model/PublishVersionData.js +8 -8
- package/dist/model/RenameFolderData.js +3 -3
- package/dist/model/RestoreVersionData.js +3 -3
- package/dist/model/Submission.js +57 -44
- package/dist/model/Submission422Response.js +165 -0
- package/dist/model/SubmissionAction.js +29 -15
- package/dist/model/SubmissionBatch.js +16 -16
- package/dist/model/SubmissionBatchData.js +27 -3
- package/dist/model/SubmissionBatchWithSubmissions.js +16 -16
- package/dist/model/SubmissionDataRequest.js +53 -34
- package/dist/model/SubmissionDataRequestEvent.js +18 -18
- package/dist/model/SubmissionDataRequestShow.js +55 -36
- package/dist/model/SubmissionDataRequestToken.js +10 -10
- package/dist/model/SubmissionPreview.js +57 -38
- package/dist/model/SuccessErrorResponse.js +3 -3
- package/dist/model/SuccessMultipleErrorsResponse.js +3 -3
- package/dist/model/Template.js +203 -90
- package/dist/model/TemplateAddFieldsResponse.js +3 -3
- package/dist/model/TemplateDeleteResponse.js +3 -3
- package/dist/model/TemplateModelCodeResponse.js +193 -0
- package/dist/model/TemplatePreview.js +167 -78
- package/dist/model/TemplatePublishVersionResponse.js +3 -3
- package/dist/model/UpdateHtmlTemplate.js +3 -3
- package/dist/model/UpdatePdfTemplate.js +108 -0
- package/dist/model/UpdateSubmissionDataRequestData.js +154 -3
- package/dist/model/UpdateWebhookData.js +108 -0
- package/dist/model/UploadPresignResponse.js +3 -3
- package/dist/model/Webhook.js +378 -0
- package/package.json +2 -2
- package/dist/model/CreateHtmlSubmissionData.js +0 -173
|
@@ -15,9 +15,9 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
15
15
|
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
16
16
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
17
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
-
function _toPrimitive(t,
|
|
18
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? 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.1.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
|
/**
|
|
@@ -14,9 +14,9 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
14
14
|
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
15
15
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
16
16
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
-
function _toPrimitive(t,
|
|
17
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? 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.1.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
|
/**
|
|
@@ -15,9 +15,9 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
15
15
|
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
16
16
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
17
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
-
function _toPrimitive(t,
|
|
18
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? 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.1.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
|
/**
|
|
@@ -14,9 +14,9 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
14
14
|
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
15
15
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
16
16
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
-
function _toPrimitive(t,
|
|
17
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? 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.1.0
|
|
33
33
|
*/
|
|
34
34
|
var CreateFolderData = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -14,9 +14,9 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
14
14
|
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
15
15
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
16
16
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
-
function _toPrimitive(t,
|
|
17
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? 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.1.0
|
|
33
33
|
*/
|
|
34
34
|
var CreateHtmlTemplate = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -15,9 +15,9 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
15
15
|
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
16
16
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
17
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
-
function _toPrimitive(t,
|
|
18
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? 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 CreatePdfSubmissionData model module.
|
|
32
32
|
* @module model/CreatePdfSubmissionData
|
|
33
|
-
* @version
|
|
33
|
+
* @version 3.1.0
|
|
34
34
|
*/
|
|
35
35
|
var CreatePdfSubmissionData = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -14,9 +14,9 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
14
14
|
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
15
15
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
16
16
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
-
function _toPrimitive(t,
|
|
17
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? 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 CreatePdfTemplate model module.
|
|
31
31
|
* @module model/CreatePdfTemplate
|
|
32
|
-
* @version
|
|
32
|
+
* @version 3.1.0
|
|
33
33
|
*/
|
|
34
34
|
var CreatePdfTemplate = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -11,9 +11,9 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
11
11
|
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
12
12
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
13
13
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
14
|
-
function _toPrimitive(t,
|
|
14
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
15
15
|
* DocSpring API
|
|
16
|
-
* DocSpring
|
|
16
|
+
* Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
|
|
17
17
|
*
|
|
18
18
|
* The version of the OpenAPI document: v1
|
|
19
19
|
*
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The CreateSubmissionDataRequestData model module.
|
|
28
28
|
* @module model/CreateSubmissionDataRequestData
|
|
29
|
-
* @version
|
|
29
|
+
* @version 3.1.0
|
|
30
30
|
*/
|
|
31
31
|
var CreateSubmissionDataRequestData = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -59,21 +59,48 @@ var CreateSubmissionDataRequestData = /*#__PURE__*/function () {
|
|
|
59
59
|
value: function constructFromObject(data, obj) {
|
|
60
60
|
if (data) {
|
|
61
61
|
obj = obj || new CreateSubmissionDataRequestData();
|
|
62
|
+
if (data.hasOwnProperty('auth_phone_number_hash')) {
|
|
63
|
+
obj['auth_phone_number_hash'] = _ApiClient["default"].convertToType(data['auth_phone_number_hash'], 'String');
|
|
64
|
+
}
|
|
65
|
+
if (data.hasOwnProperty('auth_provider')) {
|
|
66
|
+
obj['auth_provider'] = _ApiClient["default"].convertToType(data['auth_provider'], 'String');
|
|
67
|
+
}
|
|
62
68
|
if (data.hasOwnProperty('auth_second_factor_type')) {
|
|
63
69
|
obj['auth_second_factor_type'] = _ApiClient["default"].convertToType(data['auth_second_factor_type'], 'String');
|
|
64
70
|
}
|
|
71
|
+
if (data.hasOwnProperty('auth_session_id_hash')) {
|
|
72
|
+
obj['auth_session_id_hash'] = _ApiClient["default"].convertToType(data['auth_session_id_hash'], 'String');
|
|
73
|
+
}
|
|
74
|
+
if (data.hasOwnProperty('auth_session_started_at')) {
|
|
75
|
+
obj['auth_session_started_at'] = _ApiClient["default"].convertToType(data['auth_session_started_at'], 'String');
|
|
76
|
+
}
|
|
65
77
|
if (data.hasOwnProperty('auth_type')) {
|
|
66
78
|
obj['auth_type'] = _ApiClient["default"].convertToType(data['auth_type'], 'String');
|
|
67
79
|
}
|
|
80
|
+
if (data.hasOwnProperty('auth_user_id_hash')) {
|
|
81
|
+
obj['auth_user_id_hash'] = _ApiClient["default"].convertToType(data['auth_user_id_hash'], 'String');
|
|
82
|
+
}
|
|
83
|
+
if (data.hasOwnProperty('auth_username_hash')) {
|
|
84
|
+
obj['auth_username_hash'] = _ApiClient["default"].convertToType(data['auth_username_hash'], 'String');
|
|
85
|
+
}
|
|
86
|
+
if (data.hasOwnProperty('email')) {
|
|
87
|
+
obj['email'] = _ApiClient["default"].convertToType(data['email'], 'String');
|
|
88
|
+
}
|
|
68
89
|
if (data.hasOwnProperty('fields')) {
|
|
69
90
|
obj['fields'] = _ApiClient["default"].convertToType(data['fields'], ['String']);
|
|
70
91
|
}
|
|
71
92
|
if (data.hasOwnProperty('metadata')) {
|
|
72
93
|
obj['metadata'] = _ApiClient["default"].convertToType(data['metadata'], Object);
|
|
73
94
|
}
|
|
95
|
+
if (data.hasOwnProperty('name')) {
|
|
96
|
+
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
|
|
97
|
+
}
|
|
74
98
|
if (data.hasOwnProperty('order')) {
|
|
75
99
|
obj['order'] = _ApiClient["default"].convertToType(data['order'], 'Number');
|
|
76
100
|
}
|
|
101
|
+
if (data.hasOwnProperty('skipped')) {
|
|
102
|
+
obj['skipped'] = _ApiClient["default"].convertToType(data['skipped'], 'Boolean');
|
|
103
|
+
}
|
|
77
104
|
}
|
|
78
105
|
return obj;
|
|
79
106
|
}
|
|
@@ -86,32 +113,99 @@ var CreateSubmissionDataRequestData = /*#__PURE__*/function () {
|
|
|
86
113
|
}, {
|
|
87
114
|
key: "validateJSON",
|
|
88
115
|
value: function validateJSON(data) {
|
|
116
|
+
// ensure the json data is a string
|
|
117
|
+
if (data['auth_phone_number_hash'] && !(typeof data['auth_phone_number_hash'] === 'string' || data['auth_phone_number_hash'] instanceof String)) {
|
|
118
|
+
throw new Error("Expected the field `auth_phone_number_hash` to be a primitive type in the JSON string but got " + data['auth_phone_number_hash']);
|
|
119
|
+
}
|
|
120
|
+
// ensure the json data is a string
|
|
121
|
+
if (data['auth_provider'] && !(typeof data['auth_provider'] === 'string' || data['auth_provider'] instanceof String)) {
|
|
122
|
+
throw new Error("Expected the field `auth_provider` to be a primitive type in the JSON string but got " + data['auth_provider']);
|
|
123
|
+
}
|
|
89
124
|
// ensure the json data is a string
|
|
90
125
|
if (data['auth_second_factor_type'] && !(typeof data['auth_second_factor_type'] === 'string' || data['auth_second_factor_type'] instanceof String)) {
|
|
91
126
|
throw new Error("Expected the field `auth_second_factor_type` to be a primitive type in the JSON string but got " + data['auth_second_factor_type']);
|
|
92
127
|
}
|
|
93
128
|
// ensure the json data is a string
|
|
129
|
+
if (data['auth_session_id_hash'] && !(typeof data['auth_session_id_hash'] === 'string' || data['auth_session_id_hash'] instanceof String)) {
|
|
130
|
+
throw new Error("Expected the field `auth_session_id_hash` to be a primitive type in the JSON string but got " + data['auth_session_id_hash']);
|
|
131
|
+
}
|
|
132
|
+
// ensure the json data is a string
|
|
133
|
+
if (data['auth_session_started_at'] && !(typeof data['auth_session_started_at'] === 'string' || data['auth_session_started_at'] instanceof String)) {
|
|
134
|
+
throw new Error("Expected the field `auth_session_started_at` to be a primitive type in the JSON string but got " + data['auth_session_started_at']);
|
|
135
|
+
}
|
|
136
|
+
// ensure the json data is a string
|
|
94
137
|
if (data['auth_type'] && !(typeof data['auth_type'] === 'string' || data['auth_type'] instanceof String)) {
|
|
95
138
|
throw new Error("Expected the field `auth_type` to be a primitive type in the JSON string but got " + data['auth_type']);
|
|
96
139
|
}
|
|
140
|
+
// ensure the json data is a string
|
|
141
|
+
if (data['auth_user_id_hash'] && !(typeof data['auth_user_id_hash'] === 'string' || data['auth_user_id_hash'] instanceof String)) {
|
|
142
|
+
throw new Error("Expected the field `auth_user_id_hash` to be a primitive type in the JSON string but got " + data['auth_user_id_hash']);
|
|
143
|
+
}
|
|
144
|
+
// ensure the json data is a string
|
|
145
|
+
if (data['auth_username_hash'] && !(typeof data['auth_username_hash'] === 'string' || data['auth_username_hash'] instanceof String)) {
|
|
146
|
+
throw new Error("Expected the field `auth_username_hash` to be a primitive type in the JSON string but got " + data['auth_username_hash']);
|
|
147
|
+
}
|
|
148
|
+
// ensure the json data is a string
|
|
149
|
+
if (data['email'] && !(typeof data['email'] === 'string' || data['email'] instanceof String)) {
|
|
150
|
+
throw new Error("Expected the field `email` to be a primitive type in the JSON string but got " + data['email']);
|
|
151
|
+
}
|
|
97
152
|
// ensure the json data is an array
|
|
98
153
|
if (!Array.isArray(data['fields'])) {
|
|
99
154
|
throw new Error("Expected the field `fields` to be an array in the JSON data but got " + data['fields']);
|
|
100
155
|
}
|
|
156
|
+
// ensure the json data is a string
|
|
157
|
+
if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
|
|
158
|
+
throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
|
|
159
|
+
}
|
|
101
160
|
return true;
|
|
102
161
|
}
|
|
103
162
|
}]);
|
|
104
163
|
}();
|
|
164
|
+
/**
|
|
165
|
+
* @member {String} auth_phone_number_hash
|
|
166
|
+
*/
|
|
167
|
+
CreateSubmissionDataRequestData.prototype['auth_phone_number_hash'] = undefined;
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* @member {String} auth_provider
|
|
171
|
+
*/
|
|
172
|
+
CreateSubmissionDataRequestData.prototype['auth_provider'] = undefined;
|
|
173
|
+
|
|
105
174
|
/**
|
|
106
175
|
* @member {module:model/CreateSubmissionDataRequestData.AuthSecondFactorTypeEnum} auth_second_factor_type
|
|
107
176
|
*/
|
|
108
177
|
CreateSubmissionDataRequestData.prototype['auth_second_factor_type'] = undefined;
|
|
109
178
|
|
|
179
|
+
/**
|
|
180
|
+
* @member {String} auth_session_id_hash
|
|
181
|
+
*/
|
|
182
|
+
CreateSubmissionDataRequestData.prototype['auth_session_id_hash'] = undefined;
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* @member {String} auth_session_started_at
|
|
186
|
+
*/
|
|
187
|
+
CreateSubmissionDataRequestData.prototype['auth_session_started_at'] = undefined;
|
|
188
|
+
|
|
110
189
|
/**
|
|
111
190
|
* @member {module:model/CreateSubmissionDataRequestData.AuthTypeEnum} auth_type
|
|
112
191
|
*/
|
|
113
192
|
CreateSubmissionDataRequestData.prototype['auth_type'] = undefined;
|
|
114
193
|
|
|
194
|
+
/**
|
|
195
|
+
* @member {String} auth_user_id_hash
|
|
196
|
+
*/
|
|
197
|
+
CreateSubmissionDataRequestData.prototype['auth_user_id_hash'] = undefined;
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* @member {String} auth_username_hash
|
|
201
|
+
*/
|
|
202
|
+
CreateSubmissionDataRequestData.prototype['auth_username_hash'] = undefined;
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* @member {String} email
|
|
206
|
+
*/
|
|
207
|
+
CreateSubmissionDataRequestData.prototype['email'] = undefined;
|
|
208
|
+
|
|
115
209
|
/**
|
|
116
210
|
* @member {Array.<String>} fields
|
|
117
211
|
*/
|
|
@@ -122,11 +216,21 @@ CreateSubmissionDataRequestData.prototype['fields'] = undefined;
|
|
|
122
216
|
*/
|
|
123
217
|
CreateSubmissionDataRequestData.prototype['metadata'] = undefined;
|
|
124
218
|
|
|
219
|
+
/**
|
|
220
|
+
* @member {String} name
|
|
221
|
+
*/
|
|
222
|
+
CreateSubmissionDataRequestData.prototype['name'] = undefined;
|
|
223
|
+
|
|
125
224
|
/**
|
|
126
225
|
* @member {Number} order
|
|
127
226
|
*/
|
|
128
227
|
CreateSubmissionDataRequestData.prototype['order'] = undefined;
|
|
129
228
|
|
|
229
|
+
/**
|
|
230
|
+
* @member {Boolean} skipped
|
|
231
|
+
*/
|
|
232
|
+
CreateSubmissionDataRequestData.prototype['skipped'] = undefined;
|
|
233
|
+
|
|
130
234
|
/**
|
|
131
235
|
* Allowed values for the <code>auth_second_factor_type</code> property.
|
|
132
236
|
* @enum {String}
|
|
@@ -14,9 +14,9 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
14
14
|
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
15
15
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
16
16
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
-
function _toPrimitive(t,
|
|
17
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? 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 CreateSubmissionDataRequestEventRequest model module.
|
|
31
31
|
* @module model/CreateSubmissionDataRequestEventRequest
|
|
32
|
-
* @version
|
|
32
|
+
* @version 3.1.0
|
|
33
33
|
*/
|
|
34
34
|
var CreateSubmissionDataRequestEventRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
36
36
|
* Constructs a new <code>CreateSubmissionDataRequestEventRequest</code>.
|
|
37
37
|
* @alias module:model/CreateSubmissionDataRequestEventRequest
|
|
38
|
-
* @param
|
|
38
|
+
* @param event_type {module:model/CreateSubmissionDataRequestEventRequest.EventTypeEnum}
|
|
39
39
|
*/
|
|
40
|
-
function CreateSubmissionDataRequestEventRequest(
|
|
40
|
+
function CreateSubmissionDataRequestEventRequest(event_type) {
|
|
41
41
|
_classCallCheck(this, CreateSubmissionDataRequestEventRequest);
|
|
42
|
-
CreateSubmissionDataRequestEventRequest.initialize(this,
|
|
42
|
+
CreateSubmissionDataRequestEventRequest.initialize(this, event_type);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/**
|
|
@@ -49,8 +49,8 @@ var CreateSubmissionDataRequestEventRequest = /*#__PURE__*/function () {
|
|
|
49
49
|
*/
|
|
50
50
|
return _createClass(CreateSubmissionDataRequestEventRequest, null, [{
|
|
51
51
|
key: "initialize",
|
|
52
|
-
value: function initialize(obj,
|
|
53
|
-
obj['event_type'] =
|
|
52
|
+
value: function initialize(obj, event_type) {
|
|
53
|
+
obj['event_type'] = event_type;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
/**
|
|
@@ -68,9 +68,15 @@ var CreateSubmissionDataRequestEventRequest = /*#__PURE__*/function () {
|
|
|
68
68
|
if (data.hasOwnProperty('event_type')) {
|
|
69
69
|
obj['event_type'] = _ApiClient["default"].convertToType(data['event_type'], 'String');
|
|
70
70
|
}
|
|
71
|
+
if (data.hasOwnProperty('message_recipient')) {
|
|
72
|
+
obj['message_recipient'] = _ApiClient["default"].convertToType(data['message_recipient'], 'String');
|
|
73
|
+
}
|
|
71
74
|
if (data.hasOwnProperty('message_type')) {
|
|
72
75
|
obj['message_type'] = _ApiClient["default"].convertToType(data['message_type'], 'String');
|
|
73
76
|
}
|
|
77
|
+
if (data.hasOwnProperty('occurred_at')) {
|
|
78
|
+
obj['occurred_at'] = _ApiClient["default"].convertToType(data['occurred_at'], 'String');
|
|
79
|
+
}
|
|
74
80
|
}
|
|
75
81
|
return obj;
|
|
76
82
|
}
|
|
@@ -103,9 +109,17 @@ var CreateSubmissionDataRequestEventRequest = /*#__PURE__*/function () {
|
|
|
103
109
|
throw new Error("Expected the field `event_type` to be a primitive type in the JSON string but got " + data['event_type']);
|
|
104
110
|
}
|
|
105
111
|
// ensure the json data is a string
|
|
112
|
+
if (data['message_recipient'] && !(typeof data['message_recipient'] === 'string' || data['message_recipient'] instanceof String)) {
|
|
113
|
+
throw new Error("Expected the field `message_recipient` to be a primitive type in the JSON string but got " + data['message_recipient']);
|
|
114
|
+
}
|
|
115
|
+
// ensure the json data is a string
|
|
106
116
|
if (data['message_type'] && !(typeof data['message_type'] === 'string' || data['message_type'] instanceof String)) {
|
|
107
117
|
throw new Error("Expected the field `message_type` to be a primitive type in the JSON string but got " + data['message_type']);
|
|
108
118
|
}
|
|
119
|
+
// ensure the json data is a string
|
|
120
|
+
if (data['occurred_at'] && !(typeof data['occurred_at'] === 'string' || data['occurred_at'] instanceof String)) {
|
|
121
|
+
throw new Error("Expected the field `occurred_at` to be a primitive type in the JSON string but got " + data['occurred_at']);
|
|
122
|
+
}
|
|
109
123
|
return true;
|
|
110
124
|
}
|
|
111
125
|
}]);
|
|
@@ -117,11 +131,21 @@ CreateSubmissionDataRequestEventRequest.RequiredProperties = ["event_type"];
|
|
|
117
131
|
*/
|
|
118
132
|
CreateSubmissionDataRequestEventRequest.prototype['event_type'] = undefined;
|
|
119
133
|
|
|
134
|
+
/**
|
|
135
|
+
* @member {String} message_recipient
|
|
136
|
+
*/
|
|
137
|
+
CreateSubmissionDataRequestEventRequest.prototype['message_recipient'] = undefined;
|
|
138
|
+
|
|
120
139
|
/**
|
|
121
140
|
* @member {module:model/CreateSubmissionDataRequestEventRequest.MessageTypeEnum} message_type
|
|
122
141
|
*/
|
|
123
142
|
CreateSubmissionDataRequestEventRequest.prototype['message_type'] = undefined;
|
|
124
143
|
|
|
144
|
+
/**
|
|
145
|
+
* @member {String} occurred_at
|
|
146
|
+
*/
|
|
147
|
+
CreateSubmissionDataRequestEventRequest.prototype['occurred_at'] = undefined;
|
|
148
|
+
|
|
125
149
|
/**
|
|
126
150
|
* Allowed values for the <code>event_type</code> property.
|
|
127
151
|
* @enum {String}
|
|
@@ -15,9 +15,9 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
15
15
|
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
16
16
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
17
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
-
function _toPrimitive(t,
|
|
18
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? 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 CreateSubmissionDataRequestEventResponse model module.
|
|
32
32
|
* @module model/CreateSubmissionDataRequestEventResponse
|
|
33
|
-
* @version
|
|
33
|
+
* @version 3.1.0
|
|
34
34
|
*/
|
|
35
35
|
var CreateSubmissionDataRequestEventResponse = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -15,9 +15,9 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
15
15
|
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
16
16
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
17
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
-
function _toPrimitive(t,
|
|
18
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? 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 CreateSubmissionDataRequestResponse model module.
|
|
32
32
|
* @module model/CreateSubmissionDataRequestResponse
|
|
33
|
-
* @version
|
|
33
|
+
* @version 3.1.0
|
|
34
34
|
*/
|
|
35
35
|
var CreateSubmissionDataRequestResponse = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
37
37
|
* Constructs a new <code>CreateSubmissionDataRequestResponse</code>.
|
|
38
38
|
* @alias module:model/CreateSubmissionDataRequestResponse
|
|
39
39
|
* @param status {module:model/CreateSubmissionDataRequestResponse.StatusEnum}
|
|
40
|
-
* @param
|
|
40
|
+
* @param data_request {module:model/SubmissionDataRequestShow}
|
|
41
41
|
*/
|
|
42
|
-
function CreateSubmissionDataRequestResponse(status,
|
|
42
|
+
function CreateSubmissionDataRequestResponse(status, data_request) {
|
|
43
43
|
_classCallCheck(this, CreateSubmissionDataRequestResponse);
|
|
44
|
-
CreateSubmissionDataRequestResponse.initialize(this, status,
|
|
44
|
+
CreateSubmissionDataRequestResponse.initialize(this, status, data_request);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
@@ -51,9 +51,9 @@ var CreateSubmissionDataRequestResponse = /*#__PURE__*/function () {
|
|
|
51
51
|
*/
|
|
52
52
|
return _createClass(CreateSubmissionDataRequestResponse, null, [{
|
|
53
53
|
key: "initialize",
|
|
54
|
-
value: function initialize(obj, status,
|
|
54
|
+
value: function initialize(obj, status, data_request) {
|
|
55
55
|
obj['status'] = status;
|
|
56
|
-
obj['data_request'] =
|
|
56
|
+
obj['data_request'] = data_request;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
/**
|
|
@@ -15,9 +15,9 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
15
15
|
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
16
16
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
17
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
-
function _toPrimitive(t,
|
|
18
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? 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 CreateSubmissionDataRequestTokenResponse model module.
|
|
32
32
|
* @module model/CreateSubmissionDataRequestTokenResponse
|
|
33
|
-
* @version
|
|
33
|
+
* @version 3.1.0
|
|
34
34
|
*/
|
|
35
35
|
var CreateSubmissionDataRequestTokenResponse = /*#__PURE__*/function () {
|
|
36
36
|
/**
|