docspring 2.0.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +53 -46
- package/dist/ApiClient.js +3 -3
- package/dist/api/{PDFApi.js → Client.js} +534 -372
- package/dist/index.js +52 -17
- package/dist/model/AddFieldsData.js +2 -2
- package/dist/model/BatchGeneratePdfs201Response.js +7 -7
- package/dist/model/CombinePdfsData.js +7 -7
- package/dist/model/CombinedSubmission.js +21 -21
- package/dist/model/CombinedSubmissionAction.js +13 -13
- package/dist/model/CopyTemplateOptions.js +7 -7
- package/dist/model/CreateCombinedSubmissionResponse.js +7 -7
- package/dist/model/CreateCustomFileData.js +7 -7
- package/dist/model/CreateCustomFileResponse.js +7 -7
- package/dist/model/CreateFolderData.js +2 -2
- package/dist/model/CreateHtmlTemplate.js +2 -2
- package/dist/model/CreatePdfSubmissionData.js +14 -2
- package/dist/model/CreatePdfTemplate.js +2 -2
- package/dist/model/CreateSubmissionDataRequestData.js +106 -2
- package/dist/model/CreateSubmissionDataRequestEventRequest.js +31 -7
- package/dist/model/CreateSubmissionDataRequestEventResponse.js +2 -2
- package/dist/model/CreateSubmissionDataRequestResponse.js +7 -7
- package/dist/model/CreateSubmissionDataRequestTokenResponse.js +2 -2
- package/dist/model/CreateSubmissionResponse.js +2 -2
- package/dist/model/CustomFile.js +2 -2
- package/dist/model/ErrorOrMultipleErrorsResponse.js +151 -0
- package/dist/model/ErrorResponse.js +2 -2
- package/dist/model/Folder.js +7 -7
- package/dist/model/JsonSchema.js +2 -2
- package/dist/model/ListSubmissionsResponse.js +7 -7
- package/dist/model/MoveFolderData.js +2 -2
- package/dist/model/MoveTemplateData.js +7 -7
- package/dist/model/MultipleErrorsResponse.js +2 -2
- package/dist/model/PublishVersionData.js +124 -0
- package/dist/model/RenameFolderData.js +2 -2
- package/dist/model/RestoreVersionData.js +112 -0
- package/dist/model/Submission.js +78 -32
- package/dist/model/Submission422Response.js +165 -0
- package/dist/model/SubmissionAction.js +13 -13
- package/dist/model/SubmissionBatch.js +15 -15
- package/dist/model/SubmissionBatchData.js +26 -2
- package/dist/model/SubmissionBatchWithSubmissions.js +15 -15
- package/dist/model/SubmissionDataRequest.js +31 -31
- package/dist/model/SubmissionDataRequestEvent.js +17 -17
- package/dist/model/SubmissionDataRequestShow.js +33 -33
- package/dist/model/SubmissionDataRequestToken.js +9 -9
- package/dist/model/SubmissionPreview.js +78 -32
- package/dist/model/SuccessErrorResponse.js +2 -2
- package/dist/model/SuccessMultipleErrorsResponse.js +2 -2
- package/dist/model/Template.js +194 -78
- package/dist/model/TemplateAddFieldsResponse.js +2 -2
- package/dist/model/TemplateDeleteResponse.js +166 -0
- package/dist/model/TemplatePreview.js +168 -66
- package/dist/model/{CombinedSubmissionData.js → TemplatePublishVersionResponse.js} +56 -52
- package/dist/model/UpdateHtmlTemplate.js +2 -2
- package/dist/model/UpdatePdfTemplate.js +108 -0
- package/dist/model/UpdateSubmissionDataRequestData.js +153 -2
- package/dist/model/UploadPresignResponse.js +2 -2
- package/package.json +1 -1
- package/dist/model/CreateHtmlSubmissionData.js +0 -161
|
@@ -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,37 +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
|
|
51
|
+
* @param template_id {String}
|
|
52
|
+
* @param template_type {module:model/SubmissionPreview.TemplateTypeEnum}
|
|
53
|
+
* @param template_version {String}
|
|
52
54
|
* @param test {Boolean}
|
|
53
|
-
* @param
|
|
54
|
-
* @param
|
|
55
|
-
* @param
|
|
56
|
-
* @param
|
|
57
|
-
* @param
|
|
58
|
-
* @param
|
|
59
|
-
* @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}
|
|
60
62
|
* @param actions {Array.<module:model/SubmissionAction>}
|
|
61
63
|
*/
|
|
62
|
-
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) {
|
|
63
65
|
_classCallCheck(this, SubmissionPreview);
|
|
64
|
-
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);
|
|
65
67
|
}
|
|
66
68
|
|
|
67
69
|
/**
|
|
@@ -71,27 +73,29 @@ var SubmissionPreview = /*#__PURE__*/function () {
|
|
|
71
73
|
*/
|
|
72
74
|
return _createClass(SubmissionPreview, null, [{
|
|
73
75
|
key: "initialize",
|
|
74
|
-
value: function initialize(obj,
|
|
75
|
-
obj['batch_id'] =
|
|
76
|
-
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;
|
|
77
79
|
obj['editable'] = editable;
|
|
78
80
|
obj['expired'] = expired;
|
|
79
|
-
obj['expires_at'] =
|
|
81
|
+
obj['expires_at'] = expires_at;
|
|
80
82
|
obj['id'] = id;
|
|
81
|
-
obj['json_schema_errors'] =
|
|
83
|
+
obj['json_schema_errors'] = json_schema_errors;
|
|
82
84
|
obj['metadata'] = metadata;
|
|
83
85
|
obj['password'] = password;
|
|
84
|
-
obj['processed_at'] =
|
|
86
|
+
obj['processed_at'] = processed_at;
|
|
85
87
|
obj['state'] = state;
|
|
86
|
-
obj['template_id'] =
|
|
88
|
+
obj['template_id'] = template_id;
|
|
89
|
+
obj['template_type'] = template_type;
|
|
90
|
+
obj['template_version'] = template_version;
|
|
87
91
|
obj['test'] = test;
|
|
88
|
-
obj['truncated_text'] =
|
|
89
|
-
obj['pdf_hash'] =
|
|
90
|
-
obj['download_url'] =
|
|
91
|
-
obj['permanent_download_url'] =
|
|
92
|
-
obj['preview_download_url'] =
|
|
93
|
-
obj['preview_generated_at'] =
|
|
94
|
-
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;
|
|
95
99
|
obj['actions'] = actions;
|
|
96
100
|
}
|
|
97
101
|
|
|
@@ -143,6 +147,12 @@ var SubmissionPreview = /*#__PURE__*/function () {
|
|
|
143
147
|
if (data.hasOwnProperty('template_id')) {
|
|
144
148
|
obj['template_id'] = _ApiClient["default"].convertToType(data['template_id'], 'String');
|
|
145
149
|
}
|
|
150
|
+
if (data.hasOwnProperty('template_type')) {
|
|
151
|
+
obj['template_type'] = _ApiClient["default"].convertToType(data['template_type'], 'String');
|
|
152
|
+
}
|
|
153
|
+
if (data.hasOwnProperty('template_version')) {
|
|
154
|
+
obj['template_version'] = _ApiClient["default"].convertToType(data['template_version'], 'String');
|
|
155
|
+
}
|
|
146
156
|
if (data.hasOwnProperty('test')) {
|
|
147
157
|
obj['test'] = _ApiClient["default"].convertToType(data['test'], 'Boolean');
|
|
148
158
|
}
|
|
@@ -251,6 +261,14 @@ var SubmissionPreview = /*#__PURE__*/function () {
|
|
|
251
261
|
throw new Error("Expected the field `template_id` to be a primitive type in the JSON string but got " + data['template_id']);
|
|
252
262
|
}
|
|
253
263
|
// ensure the json data is a string
|
|
264
|
+
if (data['template_type'] && !(typeof data['template_type'] === 'string' || data['template_type'] instanceof String)) {
|
|
265
|
+
throw new Error("Expected the field `template_type` to be a primitive type in the JSON string but got " + data['template_type']);
|
|
266
|
+
}
|
|
267
|
+
// ensure the json data is a string
|
|
268
|
+
if (data['template_version'] && !(typeof data['template_version'] === 'string' || data['template_version'] instanceof String)) {
|
|
269
|
+
throw new Error("Expected the field `template_version` to be a primitive type in the JSON string but got " + data['template_version']);
|
|
270
|
+
}
|
|
271
|
+
// ensure the json data is a string
|
|
254
272
|
if (data['pdf_hash'] && !(typeof data['pdf_hash'] === 'string' || data['pdf_hash'] instanceof String)) {
|
|
255
273
|
throw new Error("Expected the field `pdf_hash` to be a primitive type in the JSON string but got " + data['pdf_hash']);
|
|
256
274
|
}
|
|
@@ -299,7 +317,7 @@ var SubmissionPreview = /*#__PURE__*/function () {
|
|
|
299
317
|
}
|
|
300
318
|
}]);
|
|
301
319
|
}();
|
|
302
|
-
SubmissionPreview.RequiredProperties = ["batch_id", "data_requests", "editable", "expired", "expires_at", "id", "json_schema_errors", "metadata", "password", "processed_at", "state", "template_id", "test", "truncated_text", "pdf_hash", "download_url", "permanent_download_url", "preview_download_url", "preview_generated_at", "audit_trail_download_url", "actions"];
|
|
320
|
+
SubmissionPreview.RequiredProperties = ["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"];
|
|
303
321
|
|
|
304
322
|
/**
|
|
305
323
|
* @member {String} batch_id
|
|
@@ -361,6 +379,16 @@ SubmissionPreview.prototype['state'] = undefined;
|
|
|
361
379
|
*/
|
|
362
380
|
SubmissionPreview.prototype['template_id'] = undefined;
|
|
363
381
|
|
|
382
|
+
/**
|
|
383
|
+
* @member {module:model/SubmissionPreview.TemplateTypeEnum} template_type
|
|
384
|
+
*/
|
|
385
|
+
SubmissionPreview.prototype['template_type'] = undefined;
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* @member {String} template_version
|
|
389
|
+
*/
|
|
390
|
+
SubmissionPreview.prototype['template_version'] = undefined;
|
|
391
|
+
|
|
364
392
|
/**
|
|
365
393
|
* @member {Boolean} test
|
|
366
394
|
*/
|
|
@@ -468,4 +496,22 @@ SubmissionPreview['StateEnum'] = {
|
|
|
468
496
|
*/
|
|
469
497
|
"accidental": "accidental"
|
|
470
498
|
};
|
|
499
|
+
|
|
500
|
+
/**
|
|
501
|
+
* Allowed values for the <code>template_type</code> property.
|
|
502
|
+
* @enum {String}
|
|
503
|
+
* @readonly
|
|
504
|
+
*/
|
|
505
|
+
SubmissionPreview['TemplateTypeEnum'] = {
|
|
506
|
+
/**
|
|
507
|
+
* value: "pdf"
|
|
508
|
+
* @const
|
|
509
|
+
*/
|
|
510
|
+
"pdf": "pdf",
|
|
511
|
+
/**
|
|
512
|
+
* value: "html"
|
|
513
|
+
* @const
|
|
514
|
+
*/
|
|
515
|
+
"html": "html"
|
|
516
|
+
};
|
|
471
517
|
var _default = exports["default"] = SubmissionPreview;
|
|
@@ -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
|
/**
|