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.
- package/README.md +49 -48
- package/dist/ApiClient.js +3 -3
- package/dist/api/{PDFApi.js → Client.js} +456 -383
- package/dist/index.js +28 -21
- 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 +2 -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 +7 -7
- package/dist/model/RenameFolderData.js +2 -2
- package/dist/model/RestoreVersionData.js +2 -2
- package/dist/model/Submission.js +35 -35
- 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 +35 -35
- package/dist/model/SuccessErrorResponse.js +2 -2
- package/dist/model/SuccessMultipleErrorsResponse.js +2 -2
- package/dist/model/Template.js +87 -87
- package/dist/model/TemplateAddFieldsResponse.js +2 -2
- package/dist/model/TemplateDeleteResponse.js +2 -2
- package/dist/model/TemplatePreview.js +75 -75
- package/dist/model/TemplatePublishVersionResponse.js +2 -2
- package/dist/model/UpdateHtmlTemplate.js +2 -2
- package/dist/model/{CombinedSubmissionData.js → UpdatePdfTemplate.js} +27 -67
- 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 -173
|
@@ -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 SubmissionBatchData model module.
|
|
31
31
|
* @module model/SubmissionBatchData
|
|
32
|
-
* @version
|
|
32
|
+
* @version 3.0.0
|
|
33
33
|
*/
|
|
34
34
|
var SubmissionBatchData = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -71,6 +71,12 @@ var SubmissionBatchData = /*#__PURE__*/function () {
|
|
|
71
71
|
if (data.hasOwnProperty('submissions')) {
|
|
72
72
|
obj['submissions'] = _ApiClient["default"].convertToType(data['submissions'], [Object]);
|
|
73
73
|
}
|
|
74
|
+
if (data.hasOwnProperty('template_id')) {
|
|
75
|
+
obj['template_id'] = _ApiClient["default"].convertToType(data['template_id'], 'String');
|
|
76
|
+
}
|
|
77
|
+
if (data.hasOwnProperty('template_version')) {
|
|
78
|
+
obj['template_version'] = _ApiClient["default"].convertToType(data['template_version'], 'String');
|
|
79
|
+
}
|
|
74
80
|
if (data.hasOwnProperty('test')) {
|
|
75
81
|
obj['test'] = _ApiClient["default"].convertToType(data['test'], 'Boolean');
|
|
76
82
|
}
|
|
@@ -105,6 +111,14 @@ var SubmissionBatchData = /*#__PURE__*/function () {
|
|
|
105
111
|
if (!Array.isArray(data['submissions'])) {
|
|
106
112
|
throw new Error("Expected the field `submissions` to be an array in the JSON data but got " + data['submissions']);
|
|
107
113
|
}
|
|
114
|
+
// ensure the json data is a string
|
|
115
|
+
if (data['template_id'] && !(typeof data['template_id'] === 'string' || data['template_id'] instanceof String)) {
|
|
116
|
+
throw new Error("Expected the field `template_id` to be a primitive type in the JSON string but got " + data['template_id']);
|
|
117
|
+
}
|
|
118
|
+
// ensure the json data is a string
|
|
119
|
+
if (data['template_version'] && !(typeof data['template_version'] === 'string' || data['template_version'] instanceof String)) {
|
|
120
|
+
throw new Error("Expected the field `template_version` to be a primitive type in the JSON string but got " + data['template_version']);
|
|
121
|
+
}
|
|
108
122
|
return true;
|
|
109
123
|
}
|
|
110
124
|
}]);
|
|
@@ -121,6 +135,16 @@ SubmissionBatchData.prototype['metadata'] = undefined;
|
|
|
121
135
|
*/
|
|
122
136
|
SubmissionBatchData.prototype['submissions'] = undefined;
|
|
123
137
|
|
|
138
|
+
/**
|
|
139
|
+
* @member {String} template_id
|
|
140
|
+
*/
|
|
141
|
+
SubmissionBatchData.prototype['template_id'] = undefined;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* @member {String} template_version
|
|
145
|
+
*/
|
|
146
|
+
SubmissionBatchData.prototype['template_version'] = undefined;
|
|
147
|
+
|
|
124
148
|
/**
|
|
125
149
|
* @member {Boolean} test
|
|
126
150
|
*/
|
|
@@ -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 SubmissionBatchWithSubmissions model module.
|
|
32
32
|
* @module model/SubmissionBatchWithSubmissions
|
|
33
|
-
* @version
|
|
33
|
+
* @version 3.0.0
|
|
34
34
|
*/
|
|
35
35
|
var SubmissionBatchWithSubmissions = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -39,15 +39,15 @@ var SubmissionBatchWithSubmissions = /*#__PURE__*/function () {
|
|
|
39
39
|
* @param id {String}
|
|
40
40
|
* @param state {module:model/SubmissionBatchWithSubmissions.StateEnum}
|
|
41
41
|
* @param metadata {Object}
|
|
42
|
-
* @param
|
|
43
|
-
* @param
|
|
44
|
-
* @param
|
|
45
|
-
* @param
|
|
46
|
-
* @param
|
|
42
|
+
* @param processed_at {String}
|
|
43
|
+
* @param total_count {Number}
|
|
44
|
+
* @param pending_count {Number}
|
|
45
|
+
* @param error_count {Number}
|
|
46
|
+
* @param completion_percentage {Number}
|
|
47
47
|
*/
|
|
48
|
-
function SubmissionBatchWithSubmissions(id, state, metadata,
|
|
48
|
+
function SubmissionBatchWithSubmissions(id, state, metadata, processed_at, total_count, pending_count, error_count, completion_percentage) {
|
|
49
49
|
_classCallCheck(this, SubmissionBatchWithSubmissions);
|
|
50
|
-
SubmissionBatchWithSubmissions.initialize(this, id, state, metadata,
|
|
50
|
+
SubmissionBatchWithSubmissions.initialize(this, id, state, metadata, processed_at, total_count, pending_count, error_count, completion_percentage);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
/**
|
|
@@ -57,15 +57,15 @@ var SubmissionBatchWithSubmissions = /*#__PURE__*/function () {
|
|
|
57
57
|
*/
|
|
58
58
|
return _createClass(SubmissionBatchWithSubmissions, null, [{
|
|
59
59
|
key: "initialize",
|
|
60
|
-
value: function initialize(obj, id, state, metadata,
|
|
60
|
+
value: function initialize(obj, id, state, metadata, processed_at, total_count, pending_count, error_count, completion_percentage) {
|
|
61
61
|
obj['id'] = id;
|
|
62
62
|
obj['state'] = state;
|
|
63
63
|
obj['metadata'] = metadata;
|
|
64
|
-
obj['processed_at'] =
|
|
65
|
-
obj['total_count'] =
|
|
66
|
-
obj['pending_count'] =
|
|
67
|
-
obj['error_count'] =
|
|
68
|
-
obj['completion_percentage'] =
|
|
64
|
+
obj['processed_at'] = processed_at;
|
|
65
|
+
obj['total_count'] = total_count;
|
|
66
|
+
obj['pending_count'] = pending_count;
|
|
67
|
+
obj['error_count'] = error_count;
|
|
68
|
+
obj['completion_percentage'] = completion_percentage;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
/**
|
|
@@ -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 SubmissionDataRequest model module.
|
|
31
31
|
* @module model/SubmissionDataRequest
|
|
32
|
-
* @version
|
|
32
|
+
* @version 3.0.0
|
|
33
33
|
*/
|
|
34
34
|
var SubmissionDataRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -39,27 +39,27 @@ var SubmissionDataRequest = /*#__PURE__*/function () {
|
|
|
39
39
|
* @param email {String}
|
|
40
40
|
* @param name {String}
|
|
41
41
|
* @param order {Number}
|
|
42
|
-
* @param
|
|
42
|
+
* @param sort_order {Number}
|
|
43
43
|
* @param fields {Array.<String>}
|
|
44
44
|
* @param metadata {Object}
|
|
45
45
|
* @param state {module:model/SubmissionDataRequest.StateEnum}
|
|
46
|
-
* @param
|
|
47
|
-
* @param
|
|
46
|
+
* @param viewed_at {String}
|
|
47
|
+
* @param completed_at {String}
|
|
48
48
|
* @param data {Object}
|
|
49
|
-
* @param
|
|
50
|
-
* @param
|
|
51
|
-
* @param
|
|
52
|
-
* @param
|
|
53
|
-
* @param
|
|
54
|
-
* @param
|
|
55
|
-
* @param
|
|
56
|
-
* @param
|
|
57
|
-
* @param
|
|
58
|
-
* @param
|
|
49
|
+
* @param auth_type {module:model/SubmissionDataRequest.AuthTypeEnum}
|
|
50
|
+
* @param auth_second_factor_type {module:model/SubmissionDataRequest.AuthSecondFactorTypeEnum}
|
|
51
|
+
* @param auth_provider {String}
|
|
52
|
+
* @param auth_session_started_at {String}
|
|
53
|
+
* @param auth_session_id_hash {String}
|
|
54
|
+
* @param auth_user_id_hash {String}
|
|
55
|
+
* @param auth_username_hash {String}
|
|
56
|
+
* @param auth_phone_number_hash {String}
|
|
57
|
+
* @param ip_address {String}
|
|
58
|
+
* @param user_agent {String}
|
|
59
59
|
*/
|
|
60
|
-
function SubmissionDataRequest(id, email, name, order,
|
|
60
|
+
function SubmissionDataRequest(id, email, name, order, sort_order, fields, metadata, state, viewed_at, completed_at, data, auth_type, auth_second_factor_type, auth_provider, auth_session_started_at, auth_session_id_hash, auth_user_id_hash, auth_username_hash, auth_phone_number_hash, ip_address, user_agent) {
|
|
61
61
|
_classCallCheck(this, SubmissionDataRequest);
|
|
62
|
-
SubmissionDataRequest.initialize(this, id, email, name, order,
|
|
62
|
+
SubmissionDataRequest.initialize(this, id, email, name, order, sort_order, fields, metadata, state, viewed_at, completed_at, data, auth_type, auth_second_factor_type, auth_provider, auth_session_started_at, auth_session_id_hash, auth_user_id_hash, auth_username_hash, auth_phone_number_hash, ip_address, user_agent);
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
/**
|
|
@@ -69,28 +69,28 @@ var SubmissionDataRequest = /*#__PURE__*/function () {
|
|
|
69
69
|
*/
|
|
70
70
|
return _createClass(SubmissionDataRequest, null, [{
|
|
71
71
|
key: "initialize",
|
|
72
|
-
value: function initialize(obj, id, email, name, order,
|
|
72
|
+
value: function initialize(obj, id, email, name, order, sort_order, fields, metadata, state, viewed_at, completed_at, data, auth_type, auth_second_factor_type, auth_provider, auth_session_started_at, auth_session_id_hash, auth_user_id_hash, auth_username_hash, auth_phone_number_hash, ip_address, user_agent) {
|
|
73
73
|
obj['id'] = id;
|
|
74
74
|
obj['email'] = email;
|
|
75
75
|
obj['name'] = name;
|
|
76
76
|
obj['order'] = order;
|
|
77
|
-
obj['sort_order'] =
|
|
77
|
+
obj['sort_order'] = sort_order;
|
|
78
78
|
obj['fields'] = fields;
|
|
79
79
|
obj['metadata'] = metadata;
|
|
80
80
|
obj['state'] = state;
|
|
81
|
-
obj['viewed_at'] =
|
|
82
|
-
obj['completed_at'] =
|
|
81
|
+
obj['viewed_at'] = viewed_at;
|
|
82
|
+
obj['completed_at'] = completed_at;
|
|
83
83
|
obj['data'] = data;
|
|
84
|
-
obj['auth_type'] =
|
|
85
|
-
obj['auth_second_factor_type'] =
|
|
86
|
-
obj['auth_provider'] =
|
|
87
|
-
obj['auth_session_started_at'] =
|
|
88
|
-
obj['auth_session_id_hash'] =
|
|
89
|
-
obj['auth_user_id_hash'] =
|
|
90
|
-
obj['auth_username_hash'] =
|
|
91
|
-
obj['auth_phone_number_hash'] =
|
|
92
|
-
obj['ip_address'] =
|
|
93
|
-
obj['user_agent'] =
|
|
84
|
+
obj['auth_type'] = auth_type;
|
|
85
|
+
obj['auth_second_factor_type'] = auth_second_factor_type;
|
|
86
|
+
obj['auth_provider'] = auth_provider;
|
|
87
|
+
obj['auth_session_started_at'] = auth_session_started_at;
|
|
88
|
+
obj['auth_session_id_hash'] = auth_session_id_hash;
|
|
89
|
+
obj['auth_user_id_hash'] = auth_user_id_hash;
|
|
90
|
+
obj['auth_username_hash'] = auth_username_hash;
|
|
91
|
+
obj['auth_phone_number_hash'] = auth_phone_number_hash;
|
|
92
|
+
obj['ip_address'] = ip_address;
|
|
93
|
+
obj['user_agent'] = user_agent;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
/**
|
|
@@ -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,23 +29,23 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The SubmissionDataRequestEvent model module.
|
|
31
31
|
* @module model/SubmissionDataRequestEvent
|
|
32
|
-
* @version
|
|
32
|
+
* @version 3.0.0
|
|
33
33
|
*/
|
|
34
34
|
var SubmissionDataRequestEvent = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
36
36
|
* Constructs a new <code>SubmissionDataRequestEvent</code>.
|
|
37
37
|
* @alias module:model/SubmissionDataRequestEvent
|
|
38
38
|
* @param id {String}
|
|
39
|
-
* @param
|
|
40
|
-
* @param
|
|
41
|
-
* @param
|
|
42
|
-
* @param
|
|
43
|
-
* @param
|
|
44
|
-
* @param
|
|
39
|
+
* @param submission_id {String}
|
|
40
|
+
* @param submission_data_request_id {String}
|
|
41
|
+
* @param event_type {module:model/SubmissionDataRequestEvent.EventTypeEnum}
|
|
42
|
+
* @param message_type {module:model/SubmissionDataRequestEvent.MessageTypeEnum}
|
|
43
|
+
* @param message_recipient {String}
|
|
44
|
+
* @param occurred_at {String}
|
|
45
45
|
*/
|
|
46
|
-
function SubmissionDataRequestEvent(id,
|
|
46
|
+
function SubmissionDataRequestEvent(id, submission_id, submission_data_request_id, event_type, message_type, message_recipient, occurred_at) {
|
|
47
47
|
_classCallCheck(this, SubmissionDataRequestEvent);
|
|
48
|
-
SubmissionDataRequestEvent.initialize(this, id,
|
|
48
|
+
SubmissionDataRequestEvent.initialize(this, id, submission_id, submission_data_request_id, event_type, message_type, message_recipient, occurred_at);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
/**
|
|
@@ -55,14 +55,14 @@ var SubmissionDataRequestEvent = /*#__PURE__*/function () {
|
|
|
55
55
|
*/
|
|
56
56
|
return _createClass(SubmissionDataRequestEvent, null, [{
|
|
57
57
|
key: "initialize",
|
|
58
|
-
value: function initialize(obj, id,
|
|
58
|
+
value: function initialize(obj, id, submission_id, submission_data_request_id, event_type, message_type, message_recipient, occurred_at) {
|
|
59
59
|
obj['id'] = id;
|
|
60
|
-
obj['submission_id'] =
|
|
61
|
-
obj['submission_data_request_id'] =
|
|
62
|
-
obj['event_type'] =
|
|
63
|
-
obj['message_type'] =
|
|
64
|
-
obj['message_recipient'] =
|
|
65
|
-
obj['occurred_at'] =
|
|
60
|
+
obj['submission_id'] = submission_id;
|
|
61
|
+
obj['submission_data_request_id'] = submission_data_request_id;
|
|
62
|
+
obj['event_type'] = event_type;
|
|
63
|
+
obj['message_type'] = message_type;
|
|
64
|
+
obj['message_recipient'] = message_recipient;
|
|
65
|
+
obj['occurred_at'] = occurred_at;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
/**
|
|
@@ -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 SubmissionDataRequestShow model module.
|
|
31
31
|
* @module model/SubmissionDataRequestShow
|
|
32
|
-
* @version
|
|
32
|
+
* @version 3.0.0
|
|
33
33
|
*/
|
|
34
34
|
var SubmissionDataRequestShow = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -39,28 +39,28 @@ var SubmissionDataRequestShow = /*#__PURE__*/function () {
|
|
|
39
39
|
* @param email {String}
|
|
40
40
|
* @param name {String}
|
|
41
41
|
* @param order {Number}
|
|
42
|
-
* @param
|
|
42
|
+
* @param sort_order {Number}
|
|
43
43
|
* @param fields {Array.<String>}
|
|
44
44
|
* @param metadata {Object}
|
|
45
45
|
* @param state {module:model/SubmissionDataRequestShow.StateEnum}
|
|
46
|
-
* @param
|
|
47
|
-
* @param
|
|
46
|
+
* @param viewed_at {String}
|
|
47
|
+
* @param completed_at {String}
|
|
48
48
|
* @param data {Object}
|
|
49
|
-
* @param
|
|
50
|
-
* @param
|
|
51
|
-
* @param
|
|
52
|
-
* @param
|
|
53
|
-
* @param
|
|
54
|
-
* @param
|
|
55
|
-
* @param
|
|
56
|
-
* @param
|
|
57
|
-
* @param
|
|
58
|
-
* @param
|
|
59
|
-
* @param
|
|
49
|
+
* @param auth_type {module:model/SubmissionDataRequestShow.AuthTypeEnum}
|
|
50
|
+
* @param auth_second_factor_type {module:model/SubmissionDataRequestShow.AuthSecondFactorTypeEnum}
|
|
51
|
+
* @param auth_provider {String}
|
|
52
|
+
* @param auth_session_started_at {String}
|
|
53
|
+
* @param auth_session_id_hash {String}
|
|
54
|
+
* @param auth_user_id_hash {String}
|
|
55
|
+
* @param auth_username_hash {String}
|
|
56
|
+
* @param auth_phone_number_hash {String}
|
|
57
|
+
* @param ip_address {String}
|
|
58
|
+
* @param user_agent {String}
|
|
59
|
+
* @param submission_id {String}
|
|
60
60
|
*/
|
|
61
|
-
function SubmissionDataRequestShow(id, email, name, order,
|
|
61
|
+
function SubmissionDataRequestShow(id, email, name, order, sort_order, fields, metadata, state, viewed_at, completed_at, data, auth_type, auth_second_factor_type, auth_provider, auth_session_started_at, auth_session_id_hash, auth_user_id_hash, auth_username_hash, auth_phone_number_hash, ip_address, user_agent, submission_id) {
|
|
62
62
|
_classCallCheck(this, SubmissionDataRequestShow);
|
|
63
|
-
SubmissionDataRequestShow.initialize(this, id, email, name, order,
|
|
63
|
+
SubmissionDataRequestShow.initialize(this, id, email, name, order, sort_order, fields, metadata, state, viewed_at, completed_at, data, auth_type, auth_second_factor_type, auth_provider, auth_session_started_at, auth_session_id_hash, auth_user_id_hash, auth_username_hash, auth_phone_number_hash, ip_address, user_agent, submission_id);
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
/**
|
|
@@ -70,29 +70,29 @@ var SubmissionDataRequestShow = /*#__PURE__*/function () {
|
|
|
70
70
|
*/
|
|
71
71
|
return _createClass(SubmissionDataRequestShow, null, [{
|
|
72
72
|
key: "initialize",
|
|
73
|
-
value: function initialize(obj, id, email, name, order,
|
|
73
|
+
value: function initialize(obj, id, email, name, order, sort_order, fields, metadata, state, viewed_at, completed_at, data, auth_type, auth_second_factor_type, auth_provider, auth_session_started_at, auth_session_id_hash, auth_user_id_hash, auth_username_hash, auth_phone_number_hash, ip_address, user_agent, submission_id) {
|
|
74
74
|
obj['id'] = id;
|
|
75
75
|
obj['email'] = email;
|
|
76
76
|
obj['name'] = name;
|
|
77
77
|
obj['order'] = order;
|
|
78
|
-
obj['sort_order'] =
|
|
78
|
+
obj['sort_order'] = sort_order;
|
|
79
79
|
obj['fields'] = fields;
|
|
80
80
|
obj['metadata'] = metadata;
|
|
81
81
|
obj['state'] = state;
|
|
82
|
-
obj['viewed_at'] =
|
|
83
|
-
obj['completed_at'] =
|
|
82
|
+
obj['viewed_at'] = viewed_at;
|
|
83
|
+
obj['completed_at'] = completed_at;
|
|
84
84
|
obj['data'] = data;
|
|
85
|
-
obj['auth_type'] =
|
|
86
|
-
obj['auth_second_factor_type'] =
|
|
87
|
-
obj['auth_provider'] =
|
|
88
|
-
obj['auth_session_started_at'] =
|
|
89
|
-
obj['auth_session_id_hash'] =
|
|
90
|
-
obj['auth_user_id_hash'] =
|
|
91
|
-
obj['auth_username_hash'] =
|
|
92
|
-
obj['auth_phone_number_hash'] =
|
|
93
|
-
obj['ip_address'] =
|
|
94
|
-
obj['user_agent'] =
|
|
95
|
-
obj['submission_id'] =
|
|
85
|
+
obj['auth_type'] = auth_type;
|
|
86
|
+
obj['auth_second_factor_type'] = auth_second_factor_type;
|
|
87
|
+
obj['auth_provider'] = auth_provider;
|
|
88
|
+
obj['auth_session_started_at'] = auth_session_started_at;
|
|
89
|
+
obj['auth_session_id_hash'] = auth_session_id_hash;
|
|
90
|
+
obj['auth_user_id_hash'] = auth_user_id_hash;
|
|
91
|
+
obj['auth_username_hash'] = auth_username_hash;
|
|
92
|
+
obj['auth_phone_number_hash'] = auth_phone_number_hash;
|
|
93
|
+
obj['ip_address'] = ip_address;
|
|
94
|
+
obj['user_agent'] = user_agent;
|
|
95
|
+
obj['submission_id'] = submission_id;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
/**
|
|
@@ -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 SubmissionDataRequestToken model module.
|
|
31
31
|
* @module model/SubmissionDataRequestToken
|
|
32
|
-
* @version
|
|
32
|
+
* @version 3.0.0
|
|
33
33
|
*/
|
|
34
34
|
var SubmissionDataRequestToken = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -37,12 +37,12 @@ var SubmissionDataRequestToken = /*#__PURE__*/function () {
|
|
|
37
37
|
* @alias module:model/SubmissionDataRequestToken
|
|
38
38
|
* @param id {String}
|
|
39
39
|
* @param secret {String}
|
|
40
|
-
* @param
|
|
41
|
-
* @param
|
|
40
|
+
* @param expires_at {String}
|
|
41
|
+
* @param data_request_url {String}
|
|
42
42
|
*/
|
|
43
|
-
function SubmissionDataRequestToken(id, secret,
|
|
43
|
+
function SubmissionDataRequestToken(id, secret, expires_at, data_request_url) {
|
|
44
44
|
_classCallCheck(this, SubmissionDataRequestToken);
|
|
45
|
-
SubmissionDataRequestToken.initialize(this, id, secret,
|
|
45
|
+
SubmissionDataRequestToken.initialize(this, id, secret, expires_at, data_request_url);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/**
|
|
@@ -52,11 +52,11 @@ var SubmissionDataRequestToken = /*#__PURE__*/function () {
|
|
|
52
52
|
*/
|
|
53
53
|
return _createClass(SubmissionDataRequestToken, null, [{
|
|
54
54
|
key: "initialize",
|
|
55
|
-
value: function initialize(obj, id, secret,
|
|
55
|
+
value: function initialize(obj, id, secret, expires_at, data_request_url) {
|
|
56
56
|
obj['id'] = id;
|
|
57
57
|
obj['secret'] = secret;
|
|
58
|
-
obj['expires_at'] =
|
|
59
|
-
obj['data_request_url'] =
|
|
58
|
+
obj['expires_at'] = expires_at;
|
|
59
|
+
obj['data_request_url'] = data_request_url;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
/**
|
|
@@ -18,7 +18,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
18
18
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
19
19
|
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); } /**
|
|
20
20
|
* DocSpring API
|
|
21
|
-
* DocSpring
|
|
21
|
+
* Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
|
|
22
22
|
*
|
|
23
23
|
* The version of the OpenAPI document: v1
|
|
24
24
|
*
|
|
@@ -31,39 +31,39 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The SubmissionPreview model module.
|
|
33
33
|
* @module model/SubmissionPreview
|
|
34
|
-
* @version
|
|
34
|
+
* @version 3.0.0
|
|
35
35
|
*/
|
|
36
36
|
var SubmissionPreview = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
38
38
|
* Constructs a new <code>SubmissionPreview</code>.
|
|
39
39
|
* @alias module:model/SubmissionPreview
|
|
40
|
-
* @param
|
|
41
|
-
* @param
|
|
40
|
+
* @param batch_id {String}
|
|
41
|
+
* @param data_requests {Array.<module:model/SubmissionDataRequest>}
|
|
42
42
|
* @param editable {Boolean}
|
|
43
43
|
* @param expired {Boolean}
|
|
44
|
-
* @param
|
|
44
|
+
* @param expires_at {String}
|
|
45
45
|
* @param id {String}
|
|
46
|
-
* @param
|
|
46
|
+
* @param json_schema_errors {Array.<String>}
|
|
47
47
|
* @param metadata {Object}
|
|
48
48
|
* @param password {String}
|
|
49
|
-
* @param
|
|
49
|
+
* @param processed_at {String}
|
|
50
50
|
* @param state {module:model/SubmissionPreview.StateEnum}
|
|
51
|
-
* @param
|
|
52
|
-
* @param
|
|
53
|
-
* @param
|
|
51
|
+
* @param template_id {String}
|
|
52
|
+
* @param template_type {module:model/SubmissionPreview.TemplateTypeEnum}
|
|
53
|
+
* @param template_version {String}
|
|
54
54
|
* @param test {Boolean}
|
|
55
|
-
* @param
|
|
56
|
-
* @param
|
|
57
|
-
* @param
|
|
58
|
-
* @param
|
|
59
|
-
* @param
|
|
60
|
-
* @param
|
|
61
|
-
* @param
|
|
55
|
+
* @param truncated_text {Object}
|
|
56
|
+
* @param pdf_hash {String}
|
|
57
|
+
* @param download_url {String}
|
|
58
|
+
* @param permanent_download_url {String}
|
|
59
|
+
* @param preview_download_url {String}
|
|
60
|
+
* @param preview_generated_at {String}
|
|
61
|
+
* @param audit_trail_download_url {String}
|
|
62
62
|
* @param actions {Array.<module:model/SubmissionAction>}
|
|
63
63
|
*/
|
|
64
|
-
function SubmissionPreview(
|
|
64
|
+
function SubmissionPreview(batch_id, data_requests, editable, expired, expires_at, id, json_schema_errors, metadata, password, processed_at, state, template_id, template_type, template_version, test, truncated_text, pdf_hash, download_url, permanent_download_url, preview_download_url, preview_generated_at, audit_trail_download_url, actions) {
|
|
65
65
|
_classCallCheck(this, SubmissionPreview);
|
|
66
|
-
SubmissionPreview.initialize(this,
|
|
66
|
+
SubmissionPreview.initialize(this, batch_id, data_requests, editable, expired, expires_at, id, json_schema_errors, metadata, password, processed_at, state, template_id, template_type, template_version, test, truncated_text, pdf_hash, download_url, permanent_download_url, preview_download_url, preview_generated_at, audit_trail_download_url, actions);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
/**
|
|
@@ -73,29 +73,29 @@ var SubmissionPreview = /*#__PURE__*/function () {
|
|
|
73
73
|
*/
|
|
74
74
|
return _createClass(SubmissionPreview, null, [{
|
|
75
75
|
key: "initialize",
|
|
76
|
-
value: function initialize(obj,
|
|
77
|
-
obj['batch_id'] =
|
|
78
|
-
obj['data_requests'] =
|
|
76
|
+
value: function initialize(obj, batch_id, data_requests, editable, expired, expires_at, id, json_schema_errors, metadata, password, processed_at, state, template_id, template_type, template_version, test, truncated_text, pdf_hash, download_url, permanent_download_url, preview_download_url, preview_generated_at, audit_trail_download_url, actions) {
|
|
77
|
+
obj['batch_id'] = batch_id;
|
|
78
|
+
obj['data_requests'] = data_requests;
|
|
79
79
|
obj['editable'] = editable;
|
|
80
80
|
obj['expired'] = expired;
|
|
81
|
-
obj['expires_at'] =
|
|
81
|
+
obj['expires_at'] = expires_at;
|
|
82
82
|
obj['id'] = id;
|
|
83
|
-
obj['json_schema_errors'] =
|
|
83
|
+
obj['json_schema_errors'] = json_schema_errors;
|
|
84
84
|
obj['metadata'] = metadata;
|
|
85
85
|
obj['password'] = password;
|
|
86
|
-
obj['processed_at'] =
|
|
86
|
+
obj['processed_at'] = processed_at;
|
|
87
87
|
obj['state'] = state;
|
|
88
|
-
obj['template_id'] =
|
|
89
|
-
obj['template_type'] =
|
|
90
|
-
obj['template_version'] =
|
|
88
|
+
obj['template_id'] = template_id;
|
|
89
|
+
obj['template_type'] = template_type;
|
|
90
|
+
obj['template_version'] = template_version;
|
|
91
91
|
obj['test'] = test;
|
|
92
|
-
obj['truncated_text'] =
|
|
93
|
-
obj['pdf_hash'] =
|
|
94
|
-
obj['download_url'] =
|
|
95
|
-
obj['permanent_download_url'] =
|
|
96
|
-
obj['preview_download_url'] =
|
|
97
|
-
obj['preview_generated_at'] =
|
|
98
|
-
obj['audit_trail_download_url'] =
|
|
92
|
+
obj['truncated_text'] = truncated_text;
|
|
93
|
+
obj['pdf_hash'] = pdf_hash;
|
|
94
|
+
obj['download_url'] = download_url;
|
|
95
|
+
obj['permanent_download_url'] = permanent_download_url;
|
|
96
|
+
obj['preview_download_url'] = preview_download_url;
|
|
97
|
+
obj['preview_generated_at'] = preview_generated_at;
|
|
98
|
+
obj['audit_trail_download_url'] = audit_trail_download_url;
|
|
99
99
|
obj['actions'] = actions;
|
|
100
100
|
}
|
|
101
101
|
|
|
@@ -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 SuccessErrorResponse model module.
|
|
31
31
|
* @module model/SuccessErrorResponse
|
|
32
|
-
* @version
|
|
32
|
+
* @version 3.0.0
|
|
33
33
|
*/
|
|
34
34
|
var SuccessErrorResponse = /*#__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 SuccessMultipleErrorsResponse model module.
|
|
31
31
|
* @module model/SuccessMultipleErrorsResponse
|
|
32
|
-
* @version
|
|
32
|
+
* @version 3.0.0
|
|
33
33
|
*/
|
|
34
34
|
var SuccessMultipleErrorsResponse = /*#__PURE__*/function () {
|
|
35
35
|
/**
|