docspring 1.5.0 → 2.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 +56 -52
- package/dist/ApiClient.js +701 -0
- package/dist/api/PDFApi.js +1509 -0
- package/dist/index.js +356 -0
- package/dist/model/AddFieldsData.js +112 -0
- package/dist/model/BatchGeneratePdfs201Response.js +184 -0
- package/dist/model/CombinePdfsData.js +156 -0
- package/dist/model/CombinedSubmission.js +323 -0
- package/dist/model/CombinedSubmissionAction.js +252 -0
- package/dist/model/CombinedSubmissionData.js +148 -0
- package/dist/model/CopyTemplateOptions.js +124 -0
- package/dist/model/CreateCombinedSubmissionResponse.js +158 -0
- package/dist/model/CreateCustomFileData.js +112 -0
- package/dist/model/CreateCustomFileResponse.js +158 -0
- package/dist/model/CreateFolderData.js +108 -0
- package/dist/model/CreateHtmlSubmissionData.js +161 -0
- package/dist/model/CreateHtmlTemplate.js +108 -0
- package/dist/model/CreatePdfSubmissionData.js +190 -0
- package/dist/model/CreatePdfTemplate.js +108 -0
- package/dist/model/CreateSubmissionDataRequestData.js +210 -0
- package/dist/model/CreateSubmissionDataRequestEventRequest.js +215 -0
- package/dist/model/CreateSubmissionDataRequestEventResponse.js +158 -0
- package/dist/model/CreateSubmissionDataRequestResponse.js +158 -0
- package/dist/model/CreateSubmissionDataRequestTokenResponse.js +158 -0
- package/dist/model/CreateSubmissionResponse.js +158 -0
- package/dist/model/CustomFile.js +126 -0
- package/dist/model/ErrorResponse.js +139 -0
- package/dist/model/Folder.js +154 -0
- package/dist/model/JsonSchema.js +173 -0
- package/dist/model/ListSubmissionsResponse.js +154 -0
- package/dist/model/MoveFolderData.js +89 -0
- package/dist/model/MoveTemplateData.js +112 -0
- package/dist/model/MultipleErrorsResponse.js +139 -0
- package/dist/model/RenameFolderData.js +112 -0
- package/dist/model/Submission.js +537 -0
- package/dist/model/SubmissionAction.js +252 -0
- package/dist/model/SubmissionBatch.js +213 -0
- package/dist/model/SubmissionBatchData.js +128 -0
- package/dist/model/SubmissionBatchWithSubmissions.js +243 -0
- package/dist/model/SubmissionDataRequest.js +475 -0
- package/dist/model/SubmissionDataRequestEvent.js +287 -0
- package/dist/model/SubmissionDataRequestShow.js +489 -0
- package/dist/model/SubmissionDataRequestToken.js +154 -0
- package/dist/model/SubmissionPreview.js +471 -0
- package/dist/model/SuccessErrorResponse.js +142 -0
- package/dist/model/SuccessMultipleErrorsResponse.js +142 -0
- package/dist/model/Template.js +717 -0
- package/dist/model/TemplateAddFieldsResponse.js +154 -0
- package/dist/model/TemplatePreview.js +593 -0
- package/dist/model/UpdateHtmlTemplate.js +108 -0
- package/dist/model/UpdateSubmissionDataRequestData.js +160 -0
- package/dist/model/UploadPresignResponse.js +157 -0
- package/package.json +33 -8
- package/.openapi-generator/VERSION +0 -1
- package/.openapi-generator-ignore +0 -23
- package/.travis.yml +0 -7
- package/CHANGELOG.md +0 -37
- package/docs/AddFieldsData.md +0 -8
- package/docs/AddFieldsTemplateResponse.md +0 -21
- package/docs/AuthenticationError.md +0 -18
- package/docs/AuthenticationSuccessResponse.md +0 -17
- package/docs/CombinePdfsData.md +0 -13
- package/docs/CombinedSubmission.md +0 -33
- package/docs/CombinedSubmissionAction.md +0 -54
- package/docs/CombinedSubmissionData.md +0 -12
- package/docs/CopyTemplateData.md +0 -9
- package/docs/CreateCombinedSubmissionResponse.md +0 -21
- package/docs/CreateCustomFileData.md +0 -8
- package/docs/CreateCustomFileResponse.md +0 -21
- package/docs/CreateFolderData.md +0 -8
- package/docs/CreateHtmlTemplateData.md +0 -8
- package/docs/CreateSubmissionBatchResponse.md +0 -23
- package/docs/CreateSubmissionBatchSubmissionsResponse.md +0 -23
- package/docs/CreateSubmissionDataRequestData.md +0 -60
- package/docs/CreateSubmissionDataRequestTokenResponse.md +0 -21
- package/docs/CreateSubmissionDataRequestTokenResponseToken.md +0 -11
- package/docs/CreateSubmissionResponse.md +0 -21
- package/docs/CreateTemplateFromUploadData.md +0 -8
- package/docs/CustomFile.md +0 -9
- package/docs/Error.md +0 -18
- package/docs/Folder.md +0 -11
- package/docs/FoldersFolder.md +0 -9
- package/docs/FullTemplate.md +0 -59
- package/docs/FullTemplateDefaults.md +0 -10
- package/docs/HtmlTemplateData.md +0 -48
- package/docs/InvalidRequest.md +0 -18
- package/docs/ListSubmissionsResponse.md +0 -10
- package/docs/MoveFolderData.md +0 -8
- package/docs/MoveTemplateData.md +0 -8
- package/docs/PDFApi.md +0 -1800
- package/docs/PendingTemplate.md +0 -37
- package/docs/RenameFolderData.md +0 -8
- package/docs/Submission.md +0 -55
- package/docs/SubmissionAction.md +0 -54
- package/docs/SubmissionBatch.md +0 -29
- package/docs/SubmissionBatchData.md +0 -11
- package/docs/SubmissionData.md +0 -16
- package/docs/SubmissionDataBatchRequest.md +0 -13
- package/docs/SubmissionDataRequest.md +0 -79
- package/docs/Template.md +0 -40
- package/docs/TemplateData.md +0 -36
- package/docs/TemplatestemplateIdaddFieldsFields.md +0 -286
- package/docs/UpdateDataRequestResponse.md +0 -21
- package/docs/UpdateSubmissionDataRequestData.md +0 -60
- package/docs/UpdateTemplateData.md +0 -8
- package/docs/UpdateTemplateResponse.md +0 -20
- package/docs/UploadTemplateData.md +0 -49
- package/docs/UploadTemplateDataDocument.md +0 -19
- package/docs/UploadTemplateDataDocumentMetadata.md +0 -19
- package/git_push.sh +0 -52
- package/mocha.opts +0 -1
- package/src/ApiClient.js +0 -605
- package/src/api/Client.js +0 -408
- package/src/api/PDFApi.js +0 -1815
- package/src/index.js +0 -334
- package/src/model/AddFieldsData.js +0 -82
- package/src/model/AddFieldsTemplateResponse.js +0 -114
- package/src/model/AuthenticationError.js +0 -102
- package/src/model/AuthenticationSuccessResponse.js +0 -93
- package/src/model/CombinePdfsData.js +0 -122
- package/src/model/CombinedSubmission.js +0 -199
- package/src/model/CombinedSubmissionAction.js +0 -198
- package/src/model/CombinedSubmissionData.js +0 -114
- package/src/model/CopyTemplateData.js +0 -90
- package/src/model/CreateCombinedSubmissionResponse.js +0 -114
- package/src/model/CreateCustomFileData.js +0 -82
- package/src/model/CreateCustomFileResponse.js +0 -114
- package/src/model/CreateFolderData.js +0 -82
- package/src/model/CreateHtmlTemplateData.js +0 -82
- package/src/model/CreateSubmissionBatchResponse.js +0 -130
- package/src/model/CreateSubmissionBatchSubmissionsResponse.js +0 -119
- package/src/model/CreateSubmissionDataRequestData.js +0 -256
- package/src/model/CreateSubmissionDataRequestTokenResponse.js +0 -114
- package/src/model/CreateSubmissionDataRequestTokenResponseToken.js +0 -105
- package/src/model/CreateSubmissionResponse.js +0 -114
- package/src/model/CreateTemplateFromUploadData.js +0 -82
- package/src/model/CustomFile.js +0 -89
- package/src/model/Error.js +0 -103
- package/src/model/Folder.js +0 -105
- package/src/model/FoldersFolder.js +0 -89
- package/src/model/FullTemplate.js +0 -407
- package/src/model/FullTemplateDefaults.js +0 -97
- package/src/model/HtmlTemplateData.js +0 -248
- package/src/model/InvalidRequest.js +0 -103
- package/src/model/ListSubmissionsResponse.js +0 -97
- package/src/model/MoveFolderData.js +0 -81
- package/src/model/MoveTemplateData.js +0 -82
- package/src/model/PendingTemplate.js +0 -231
- package/src/model/RenameFolderData.js +0 -82
- package/src/model/Submission.js +0 -291
- package/src/model/SubmissionAction.js +0 -198
- package/src/model/SubmissionBatch.js +0 -167
- package/src/model/SubmissionBatchData.js +0 -106
- package/src/model/SubmissionData.js +0 -146
- package/src/model/SubmissionDataBatchRequest.js +0 -121
- package/src/model/SubmissionDataRequest.js +0 -345
- package/src/model/Template.js +0 -255
- package/src/model/TemplateData.js +0 -223
- package/src/model/TemplatestemplateIdaddFieldsFields.js +0 -1128
- package/src/model/UpdateDataRequestResponse.js +0 -114
- package/src/model/UpdateSubmissionDataRequestData.js +0 -256
- package/src/model/UpdateTemplateData.js +0 -82
- package/src/model/UpdateTemplateResponse.js +0 -106
- package/src/model/UploadTemplateData.js +0 -256
- package/src/model/UploadTemplateDataDocument.js +0 -109
- package/src/model/UploadTemplateDataDocumentMetadata.js +0 -109
- package/test/api/ClientIntegration.spec.js +0 -281
- package/test/api/PDFApi.spec.js.original +0 -415
- package/test/api/PDFApiIntegration.spec.js +0 -305
- package/test/model/AddFieldsData.spec.js +0 -67
- package/test/model/AddFieldsTemplateResponse.spec.js +0 -79
- package/test/model/AuthenticationError.spec.js +0 -73
- package/test/model/AuthenticationSuccessResponse.spec.js +0 -67
- package/test/model/CombinePdfsData.spec.js +0 -97
- package/test/model/CombinedSubmission.spec.js +0 -139
- package/test/model/CombinedSubmissionAction.spec.js +0 -97
- package/test/model/CombinedSubmissionData.spec.js +0 -91
- package/test/model/CopyTemplateData.spec.js +0 -73
- package/test/model/CreateCombinedSubmissionResponse.spec.js +0 -79
- package/test/model/CreateCustomFileData.spec.js +0 -67
- package/test/model/CreateCustomFileResponse.spec.js +0 -79
- package/test/model/CreateFolderData.spec.js +0 -67
- package/test/model/CreateHtmlTemplateData.spec.js +0 -67
- package/test/model/CreateSubmissionBatchResponse.spec.js +0 -91
- package/test/model/CreateSubmissionBatchSubmissionsResponse.spec.js +0 -79
- package/test/model/CreateSubmissionDataRequestData.spec.js +0 -139
- package/test/model/CreateSubmissionDataRequestTokenResponse.spec.js +0 -79
- package/test/model/CreateSubmissionDataRequestTokenResponseToken.spec.js +0 -85
- package/test/model/CreateSubmissionResponse.spec.js +0 -79
- package/test/model/CreateTemplateFromUploadData.spec.js +0 -67
- package/test/model/CustomFile.spec.js +0 -73
- package/test/model/Error.spec.js +0 -73
- package/test/model/Folder.spec.js +0 -85
- package/test/model/FoldersFolder.spec.js +0 -73
- package/test/model/FullTemplate.spec.js +0 -295
- package/test/model/FullTemplateDefaults.spec.js +0 -79
- package/test/model/HtmlTemplateData.spec.js +0 -163
- package/test/model/InvalidRequest.spec.js +0 -73
- package/test/model/ListSubmissionsResponse.spec.js +0 -79
- package/test/model/MoveFolderData.spec.js +0 -67
- package/test/model/MoveTemplateData.spec.js +0 -67
- package/test/model/PendingTemplate.spec.js +0 -163
- package/test/model/RenameFolderData.spec.js +0 -67
- package/test/model/Submission.spec.js +0 -175
- package/test/model/SubmissionAction.spec.js +0 -97
- package/test/model/SubmissionBatch.spec.js +0 -115
- package/test/model/SubmissionBatchData.spec.js +0 -85
- package/test/model/SubmissionData.spec.js +0 -115
- package/test/model/SubmissionDataBatchRequest.spec.js +0 -97
- package/test/model/SubmissionDataRequest.spec.js +0 -187
- package/test/model/Template.spec.js +0 -181
- package/test/model/TemplateData.spec.js +0 -157
- package/test/model/TemplatestemplateIdaddFieldsFields.spec.js +0 -577
- package/test/model/UpdateDataRequestResponse.spec.js +0 -79
- package/test/model/UpdateSubmissionDataRequestData.spec.js +0 -139
- package/test/model/UpdateTemplateData.spec.js +0 -67
- package/test/model/UpdateTemplateResponse.spec.js +0 -73
- package/test/model/UploadTemplateData.spec.js +0 -169
- package/test/model/UploadTemplateDataDocument.spec.js +0 -79
- package/test/model/UploadTemplateDataDocumentMetadata.spec.js +0 -79
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* API v1
|
|
3
|
-
* DocSpring is a service that helps you fill out and sign PDF templates.
|
|
4
|
-
*
|
|
5
|
-
* OpenAPI spec version: v1
|
|
6
|
-
*
|
|
7
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
-
* https://openapi-generator.tech
|
|
9
|
-
*
|
|
10
|
-
* OpenAPI Generator version: 3.3.0
|
|
11
|
-
*
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
(function(root, factory) {
|
|
17
|
-
if (typeof define === 'function' && define.amd) {
|
|
18
|
-
// AMD.
|
|
19
|
-
define(['expect.js', '../../src/index'], factory);
|
|
20
|
-
} else if (typeof module === 'object' && module.exports) {
|
|
21
|
-
// CommonJS-like environments that support module.exports, like Node.
|
|
22
|
-
factory(require('expect.js'), require('../../src/index'));
|
|
23
|
-
} else {
|
|
24
|
-
// Browser globals (root is window)
|
|
25
|
-
factory(root.expect, root.DocSpring);
|
|
26
|
-
}
|
|
27
|
-
}(this, function(expect, DocSpring) {
|
|
28
|
-
'use strict';
|
|
29
|
-
|
|
30
|
-
var instance;
|
|
31
|
-
|
|
32
|
-
beforeEach(function() {
|
|
33
|
-
instance = new DocSpring.PendingTemplate();
|
|
34
|
-
});
|
|
35
|
-
|
|
36
|
-
var getProperty = function(object, getter, property) {
|
|
37
|
-
// Use getter method if present; otherwise, get the property directly.
|
|
38
|
-
if (typeof object[getter] === 'function')
|
|
39
|
-
return object[getter]();
|
|
40
|
-
else
|
|
41
|
-
return object[property];
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
var setProperty = function(object, setter, property, value) {
|
|
45
|
-
// Use setter method if present; otherwise, set the property directly.
|
|
46
|
-
if (typeof object[setter] === 'function')
|
|
47
|
-
object[setter](value);
|
|
48
|
-
else
|
|
49
|
-
object[property] = value;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
describe('PendingTemplate', function() {
|
|
53
|
-
it('should create an instance of PendingTemplate', function() {
|
|
54
|
-
// uncomment below and update the code to test PendingTemplate
|
|
55
|
-
//var instance = new DocSpring.PendingTemplate();
|
|
56
|
-
//expect(instance).to.be.a(DocSpring.PendingTemplate);
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
it('should have the property expirationInterval (base name: "expiration_interval")', function() {
|
|
60
|
-
// uncomment below and update the code to test the property expirationInterval
|
|
61
|
-
//var instance = new DocSpring.PendingTemplate();
|
|
62
|
-
//expect(instance).to.be();
|
|
63
|
-
});
|
|
64
|
-
|
|
65
|
-
it('should have the property webhookUrl (base name: "webhook_url")', function() {
|
|
66
|
-
// uncomment below and update the code to test the property webhookUrl
|
|
67
|
-
//var instance = new DocSpring.PendingTemplate();
|
|
68
|
-
//expect(instance).to.be();
|
|
69
|
-
});
|
|
70
|
-
|
|
71
|
-
it('should have the property parentFolderId (base name: "parent_folder_id")', function() {
|
|
72
|
-
// uncomment below and update the code to test the property parentFolderId
|
|
73
|
-
//var instance = new DocSpring.PendingTemplate();
|
|
74
|
-
//expect(instance).to.be();
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
it('should have the property expireAfter (base name: "expire_after")', function() {
|
|
78
|
-
// uncomment below and update the code to test the property expireAfter
|
|
79
|
-
//var instance = new DocSpring.PendingTemplate();
|
|
80
|
-
//expect(instance).to.be();
|
|
81
|
-
});
|
|
82
|
-
|
|
83
|
-
it('should have the property allowAdditionalProperties (base name: "allow_additional_properties")', function() {
|
|
84
|
-
// uncomment below and update the code to test the property allowAdditionalProperties
|
|
85
|
-
//var instance = new DocSpring.PendingTemplate();
|
|
86
|
-
//expect(instance).to.be();
|
|
87
|
-
});
|
|
88
|
-
|
|
89
|
-
it('should have the property description (base name: "description")', function() {
|
|
90
|
-
// uncomment below and update the code to test the property description
|
|
91
|
-
//var instance = new DocSpring.PendingTemplate();
|
|
92
|
-
//expect(instance).to.be();
|
|
93
|
-
});
|
|
94
|
-
|
|
95
|
-
it('should have the property publicSubmissions (base name: "public_submissions")', function() {
|
|
96
|
-
// uncomment below and update the code to test the property publicSubmissions
|
|
97
|
-
//var instance = new DocSpring.PendingTemplate();
|
|
98
|
-
//expect(instance).to.be();
|
|
99
|
-
});
|
|
100
|
-
|
|
101
|
-
it('should have the property slackWebhookUrl (base name: "slack_webhook_url")', function() {
|
|
102
|
-
// uncomment below and update the code to test the property slackWebhookUrl
|
|
103
|
-
//var instance = new DocSpring.PendingTemplate();
|
|
104
|
-
//expect(instance).to.be();
|
|
105
|
-
});
|
|
106
|
-
|
|
107
|
-
it('should have the property path (base name: "path")', function() {
|
|
108
|
-
// uncomment below and update the code to test the property path
|
|
109
|
-
//var instance = new DocSpring.PendingTemplate();
|
|
110
|
-
//expect(instance).to.be();
|
|
111
|
-
});
|
|
112
|
-
|
|
113
|
-
it('should have the property publicWebForm (base name: "public_web_form")', function() {
|
|
114
|
-
// uncomment below and update the code to test the property publicWebForm
|
|
115
|
-
//var instance = new DocSpring.PendingTemplate();
|
|
116
|
-
//expect(instance).to.be();
|
|
117
|
-
});
|
|
118
|
-
|
|
119
|
-
it('should have the property editableSubmissions (base name: "editable_submissions")', function() {
|
|
120
|
-
// uncomment below and update the code to test the property editableSubmissions
|
|
121
|
-
//var instance = new DocSpring.PendingTemplate();
|
|
122
|
-
//expect(instance).to.be();
|
|
123
|
-
});
|
|
124
|
-
|
|
125
|
-
it('should have the property expireSubmissions (base name: "expire_submissions")', function() {
|
|
126
|
-
// uncomment below and update the code to test the property expireSubmissions
|
|
127
|
-
//var instance = new DocSpring.PendingTemplate();
|
|
128
|
-
//expect(instance).to.be();
|
|
129
|
-
});
|
|
130
|
-
|
|
131
|
-
it('should have the property name (base name: "name")', function() {
|
|
132
|
-
// uncomment below and update the code to test the property name
|
|
133
|
-
//var instance = new DocSpring.PendingTemplate();
|
|
134
|
-
//expect(instance).to.be();
|
|
135
|
-
});
|
|
136
|
-
|
|
137
|
-
it('should have the property templateType (base name: "template_type")', function() {
|
|
138
|
-
// uncomment below and update the code to test the property templateType
|
|
139
|
-
//var instance = new DocSpring.PendingTemplate();
|
|
140
|
-
//expect(instance).to.be();
|
|
141
|
-
});
|
|
142
|
-
|
|
143
|
-
it('should have the property id (base name: "id")', function() {
|
|
144
|
-
// uncomment below and update the code to test the property id
|
|
145
|
-
//var instance = new DocSpring.PendingTemplate();
|
|
146
|
-
//expect(instance).to.be();
|
|
147
|
-
});
|
|
148
|
-
|
|
149
|
-
it('should have the property locked (base name: "locked")', function() {
|
|
150
|
-
// uncomment below and update the code to test the property locked
|
|
151
|
-
//var instance = new DocSpring.PendingTemplate();
|
|
152
|
-
//expect(instance).to.be();
|
|
153
|
-
});
|
|
154
|
-
|
|
155
|
-
it('should have the property redirectUrl (base name: "redirect_url")', function() {
|
|
156
|
-
// uncomment below and update the code to test the property redirectUrl
|
|
157
|
-
//var instance = new DocSpring.PendingTemplate();
|
|
158
|
-
//expect(instance).to.be();
|
|
159
|
-
});
|
|
160
|
-
|
|
161
|
-
});
|
|
162
|
-
|
|
163
|
-
}));
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* API v1
|
|
3
|
-
* DocSpring is a service that helps you fill out and sign PDF templates.
|
|
4
|
-
*
|
|
5
|
-
* OpenAPI spec version: v1
|
|
6
|
-
*
|
|
7
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
-
* https://openapi-generator.tech
|
|
9
|
-
*
|
|
10
|
-
* OpenAPI Generator version: 3.3.0
|
|
11
|
-
*
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
(function(root, factory) {
|
|
17
|
-
if (typeof define === 'function' && define.amd) {
|
|
18
|
-
// AMD.
|
|
19
|
-
define(['expect.js', '../../src/index'], factory);
|
|
20
|
-
} else if (typeof module === 'object' && module.exports) {
|
|
21
|
-
// CommonJS-like environments that support module.exports, like Node.
|
|
22
|
-
factory(require('expect.js'), require('../../src/index'));
|
|
23
|
-
} else {
|
|
24
|
-
// Browser globals (root is window)
|
|
25
|
-
factory(root.expect, root.DocSpring);
|
|
26
|
-
}
|
|
27
|
-
}(this, function(expect, DocSpring) {
|
|
28
|
-
'use strict';
|
|
29
|
-
|
|
30
|
-
var instance;
|
|
31
|
-
|
|
32
|
-
beforeEach(function() {
|
|
33
|
-
instance = new DocSpring.RenameFolderData();
|
|
34
|
-
});
|
|
35
|
-
|
|
36
|
-
var getProperty = function(object, getter, property) {
|
|
37
|
-
// Use getter method if present; otherwise, get the property directly.
|
|
38
|
-
if (typeof object[getter] === 'function')
|
|
39
|
-
return object[getter]();
|
|
40
|
-
else
|
|
41
|
-
return object[property];
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
var setProperty = function(object, setter, property, value) {
|
|
45
|
-
// Use setter method if present; otherwise, set the property directly.
|
|
46
|
-
if (typeof object[setter] === 'function')
|
|
47
|
-
object[setter](value);
|
|
48
|
-
else
|
|
49
|
-
object[property] = value;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
describe('RenameFolderData', function() {
|
|
53
|
-
it('should create an instance of RenameFolderData', function() {
|
|
54
|
-
// uncomment below and update the code to test RenameFolderData
|
|
55
|
-
//var instance = new DocSpring.RenameFolderData();
|
|
56
|
-
//expect(instance).to.be.a(DocSpring.RenameFolderData);
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
it('should have the property name (base name: "name")', function() {
|
|
60
|
-
// uncomment below and update the code to test the property name
|
|
61
|
-
//var instance = new DocSpring.RenameFolderData();
|
|
62
|
-
//expect(instance).to.be();
|
|
63
|
-
});
|
|
64
|
-
|
|
65
|
-
});
|
|
66
|
-
|
|
67
|
-
}));
|
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* API v1
|
|
3
|
-
* DocSpring is a service that helps you fill out and sign PDF templates.
|
|
4
|
-
*
|
|
5
|
-
* OpenAPI spec version: v1
|
|
6
|
-
*
|
|
7
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
-
* https://openapi-generator.tech
|
|
9
|
-
*
|
|
10
|
-
* OpenAPI Generator version: 3.3.0
|
|
11
|
-
*
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
(function(root, factory) {
|
|
17
|
-
if (typeof define === 'function' && define.amd) {
|
|
18
|
-
// AMD.
|
|
19
|
-
define(['expect.js', '../../src/index'], factory);
|
|
20
|
-
} else if (typeof module === 'object' && module.exports) {
|
|
21
|
-
// CommonJS-like environments that support module.exports, like Node.
|
|
22
|
-
factory(require('expect.js'), require('../../src/index'));
|
|
23
|
-
} else {
|
|
24
|
-
// Browser globals (root is window)
|
|
25
|
-
factory(root.expect, root.DocSpring);
|
|
26
|
-
}
|
|
27
|
-
}(this, function(expect, DocSpring) {
|
|
28
|
-
'use strict';
|
|
29
|
-
|
|
30
|
-
var instance;
|
|
31
|
-
|
|
32
|
-
beforeEach(function() {
|
|
33
|
-
instance = new DocSpring.Submission();
|
|
34
|
-
});
|
|
35
|
-
|
|
36
|
-
var getProperty = function(object, getter, property) {
|
|
37
|
-
// Use getter method if present; otherwise, get the property directly.
|
|
38
|
-
if (typeof object[getter] === 'function')
|
|
39
|
-
return object[getter]();
|
|
40
|
-
else
|
|
41
|
-
return object[property];
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
var setProperty = function(object, setter, property, value) {
|
|
45
|
-
// Use setter method if present; otherwise, set the property directly.
|
|
46
|
-
if (typeof object[setter] === 'function')
|
|
47
|
-
object[setter](value);
|
|
48
|
-
else
|
|
49
|
-
object[property] = value;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
describe('Submission', function() {
|
|
53
|
-
it('should create an instance of Submission', function() {
|
|
54
|
-
// uncomment below and update the code to test Submission
|
|
55
|
-
//var instance = new DocSpring.Submission();
|
|
56
|
-
//expect(instance).to.be.a(DocSpring.Submission);
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
it('should have the property id (base name: "id")', function() {
|
|
60
|
-
// uncomment below and update the code to test the property id
|
|
61
|
-
//var instance = new DocSpring.Submission();
|
|
62
|
-
//expect(instance).to.be();
|
|
63
|
-
});
|
|
64
|
-
|
|
65
|
-
it('should have the property templateId (base name: "template_id")', function() {
|
|
66
|
-
// uncomment below and update the code to test the property templateId
|
|
67
|
-
//var instance = new DocSpring.Submission();
|
|
68
|
-
//expect(instance).to.be();
|
|
69
|
-
});
|
|
70
|
-
|
|
71
|
-
it('should have the property test (base name: "test")', function() {
|
|
72
|
-
// uncomment below and update the code to test the property test
|
|
73
|
-
//var instance = new DocSpring.Submission();
|
|
74
|
-
//expect(instance).to.be();
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
it('should have the property editable (base name: "editable")', function() {
|
|
78
|
-
// uncomment below and update the code to test the property editable
|
|
79
|
-
//var instance = new DocSpring.Submission();
|
|
80
|
-
//expect(instance).to.be();
|
|
81
|
-
});
|
|
82
|
-
|
|
83
|
-
it('should have the property expired (base name: "expired")', function() {
|
|
84
|
-
// uncomment below and update the code to test the property expired
|
|
85
|
-
//var instance = new DocSpring.Submission();
|
|
86
|
-
//expect(instance).to.be();
|
|
87
|
-
});
|
|
88
|
-
|
|
89
|
-
it('should have the property expiresAt (base name: "expires_at")', function() {
|
|
90
|
-
// uncomment below and update the code to test the property expiresAt
|
|
91
|
-
//var instance = new DocSpring.Submission();
|
|
92
|
-
//expect(instance).to.be();
|
|
93
|
-
});
|
|
94
|
-
|
|
95
|
-
it('should have the property processedAt (base name: "processed_at")', function() {
|
|
96
|
-
// uncomment below and update the code to test the property processedAt
|
|
97
|
-
//var instance = new DocSpring.Submission();
|
|
98
|
-
//expect(instance).to.be();
|
|
99
|
-
});
|
|
100
|
-
|
|
101
|
-
it('should have the property state (base name: "state")', function() {
|
|
102
|
-
// uncomment below and update the code to test the property state
|
|
103
|
-
//var instance = new DocSpring.Submission();
|
|
104
|
-
//expect(instance).to.be();
|
|
105
|
-
});
|
|
106
|
-
|
|
107
|
-
it('should have the property data (base name: "data")', function() {
|
|
108
|
-
// uncomment below and update the code to test the property data
|
|
109
|
-
//var instance = new DocSpring.Submission();
|
|
110
|
-
//expect(instance).to.be();
|
|
111
|
-
});
|
|
112
|
-
|
|
113
|
-
it('should have the property metadata (base name: "metadata")', function() {
|
|
114
|
-
// uncomment below and update the code to test the property metadata
|
|
115
|
-
//var instance = new DocSpring.Submission();
|
|
116
|
-
//expect(instance).to.be();
|
|
117
|
-
});
|
|
118
|
-
|
|
119
|
-
it('should have the property truncatedText (base name: "truncated_text")', function() {
|
|
120
|
-
// uncomment below and update the code to test the property truncatedText
|
|
121
|
-
//var instance = new DocSpring.Submission();
|
|
122
|
-
//expect(instance).to.be();
|
|
123
|
-
});
|
|
124
|
-
|
|
125
|
-
it('should have the property pdfHash (base name: "pdf_hash")', function() {
|
|
126
|
-
// uncomment below and update the code to test the property pdfHash
|
|
127
|
-
//var instance = new DocSpring.Submission();
|
|
128
|
-
//expect(instance).to.be();
|
|
129
|
-
});
|
|
130
|
-
|
|
131
|
-
it('should have the property downloadUrl (base name: "download_url")', function() {
|
|
132
|
-
// uncomment below and update the code to test the property downloadUrl
|
|
133
|
-
//var instance = new DocSpring.Submission();
|
|
134
|
-
//expect(instance).to.be();
|
|
135
|
-
});
|
|
136
|
-
|
|
137
|
-
it('should have the property permanentDownloadUrl (base name: "permanent_download_url")', function() {
|
|
138
|
-
// uncomment below and update the code to test the property permanentDownloadUrl
|
|
139
|
-
//var instance = new DocSpring.Submission();
|
|
140
|
-
//expect(instance).to.be();
|
|
141
|
-
});
|
|
142
|
-
|
|
143
|
-
it('should have the property batchId (base name: "batch_id")', function() {
|
|
144
|
-
// uncomment below and update the code to test the property batchId
|
|
145
|
-
//var instance = new DocSpring.Submission();
|
|
146
|
-
//expect(instance).to.be();
|
|
147
|
-
});
|
|
148
|
-
|
|
149
|
-
it('should have the property dataRequests (base name: "data_requests")', function() {
|
|
150
|
-
// uncomment below and update the code to test the property dataRequests
|
|
151
|
-
//var instance = new DocSpring.Submission();
|
|
152
|
-
//expect(instance).to.be();
|
|
153
|
-
});
|
|
154
|
-
|
|
155
|
-
it('should have the property actions (base name: "actions")', function() {
|
|
156
|
-
// uncomment below and update the code to test the property actions
|
|
157
|
-
//var instance = new DocSpring.Submission();
|
|
158
|
-
//expect(instance).to.be();
|
|
159
|
-
});
|
|
160
|
-
|
|
161
|
-
it('should have the property source (base name: "source")', function() {
|
|
162
|
-
// uncomment below and update the code to test the property source
|
|
163
|
-
//var instance = new DocSpring.Submission();
|
|
164
|
-
//expect(instance).to.be();
|
|
165
|
-
});
|
|
166
|
-
|
|
167
|
-
it('should have the property referrer (base name: "referrer")', function() {
|
|
168
|
-
// uncomment below and update the code to test the property referrer
|
|
169
|
-
//var instance = new DocSpring.Submission();
|
|
170
|
-
//expect(instance).to.be();
|
|
171
|
-
});
|
|
172
|
-
|
|
173
|
-
});
|
|
174
|
-
|
|
175
|
-
}));
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* API v1
|
|
3
|
-
* DocSpring is a service that helps you fill out and sign PDF templates.
|
|
4
|
-
*
|
|
5
|
-
* OpenAPI spec version: v1
|
|
6
|
-
*
|
|
7
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
-
* https://openapi-generator.tech
|
|
9
|
-
*
|
|
10
|
-
* OpenAPI Generator version: 3.3.0
|
|
11
|
-
*
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
(function(root, factory) {
|
|
17
|
-
if (typeof define === 'function' && define.amd) {
|
|
18
|
-
// AMD.
|
|
19
|
-
define(['expect.js', '../../src/index'], factory);
|
|
20
|
-
} else if (typeof module === 'object' && module.exports) {
|
|
21
|
-
// CommonJS-like environments that support module.exports, like Node.
|
|
22
|
-
factory(require('expect.js'), require('../../src/index'));
|
|
23
|
-
} else {
|
|
24
|
-
// Browser globals (root is window)
|
|
25
|
-
factory(root.expect, root.DocSpring);
|
|
26
|
-
}
|
|
27
|
-
}(this, function(expect, DocSpring) {
|
|
28
|
-
'use strict';
|
|
29
|
-
|
|
30
|
-
var instance;
|
|
31
|
-
|
|
32
|
-
beforeEach(function() {
|
|
33
|
-
instance = new DocSpring.SubmissionAction();
|
|
34
|
-
});
|
|
35
|
-
|
|
36
|
-
var getProperty = function(object, getter, property) {
|
|
37
|
-
// Use getter method if present; otherwise, get the property directly.
|
|
38
|
-
if (typeof object[getter] === 'function')
|
|
39
|
-
return object[getter]();
|
|
40
|
-
else
|
|
41
|
-
return object[property];
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
var setProperty = function(object, setter, property, value) {
|
|
45
|
-
// Use setter method if present; otherwise, set the property directly.
|
|
46
|
-
if (typeof object[setter] === 'function')
|
|
47
|
-
object[setter](value);
|
|
48
|
-
else
|
|
49
|
-
object[property] = value;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
describe('SubmissionAction', function() {
|
|
53
|
-
it('should create an instance of SubmissionAction', function() {
|
|
54
|
-
// uncomment below and update the code to test SubmissionAction
|
|
55
|
-
//var instance = new DocSpring.SubmissionAction();
|
|
56
|
-
//expect(instance).to.be.a(DocSpring.SubmissionAction);
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
it('should have the property id (base name: "id")', function() {
|
|
60
|
-
// uncomment below and update the code to test the property id
|
|
61
|
-
//var instance = new DocSpring.SubmissionAction();
|
|
62
|
-
//expect(instance).to.be();
|
|
63
|
-
});
|
|
64
|
-
|
|
65
|
-
it('should have the property integrationId (base name: "integration_id")', function() {
|
|
66
|
-
// uncomment below and update the code to test the property integrationId
|
|
67
|
-
//var instance = new DocSpring.SubmissionAction();
|
|
68
|
-
//expect(instance).to.be();
|
|
69
|
-
});
|
|
70
|
-
|
|
71
|
-
it('should have the property state (base name: "state")', function() {
|
|
72
|
-
// uncomment below and update the code to test the property state
|
|
73
|
-
//var instance = new DocSpring.SubmissionAction();
|
|
74
|
-
//expect(instance).to.be();
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
it('should have the property actionCategory (base name: "action_category")', function() {
|
|
78
|
-
// uncomment below and update the code to test the property actionCategory
|
|
79
|
-
//var instance = new DocSpring.SubmissionAction();
|
|
80
|
-
//expect(instance).to.be();
|
|
81
|
-
});
|
|
82
|
-
|
|
83
|
-
it('should have the property actionType (base name: "action_type")', function() {
|
|
84
|
-
// uncomment below and update the code to test the property actionType
|
|
85
|
-
//var instance = new DocSpring.SubmissionAction();
|
|
86
|
-
//expect(instance).to.be();
|
|
87
|
-
});
|
|
88
|
-
|
|
89
|
-
it('should have the property resultData (base name: "result_data")', function() {
|
|
90
|
-
// uncomment below and update the code to test the property resultData
|
|
91
|
-
//var instance = new DocSpring.SubmissionAction();
|
|
92
|
-
//expect(instance).to.be();
|
|
93
|
-
});
|
|
94
|
-
|
|
95
|
-
});
|
|
96
|
-
|
|
97
|
-
}));
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* API v1
|
|
3
|
-
* DocSpring is a service that helps you fill out and sign PDF templates.
|
|
4
|
-
*
|
|
5
|
-
* OpenAPI spec version: v1
|
|
6
|
-
*
|
|
7
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
-
* https://openapi-generator.tech
|
|
9
|
-
*
|
|
10
|
-
* OpenAPI Generator version: 3.3.0
|
|
11
|
-
*
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
(function(root, factory) {
|
|
17
|
-
if (typeof define === 'function' && define.amd) {
|
|
18
|
-
// AMD.
|
|
19
|
-
define(['expect.js', '../../src/index'], factory);
|
|
20
|
-
} else if (typeof module === 'object' && module.exports) {
|
|
21
|
-
// CommonJS-like environments that support module.exports, like Node.
|
|
22
|
-
factory(require('expect.js'), require('../../src/index'));
|
|
23
|
-
} else {
|
|
24
|
-
// Browser globals (root is window)
|
|
25
|
-
factory(root.expect, root.DocSpring);
|
|
26
|
-
}
|
|
27
|
-
}(this, function(expect, DocSpring) {
|
|
28
|
-
'use strict';
|
|
29
|
-
|
|
30
|
-
var instance;
|
|
31
|
-
|
|
32
|
-
beforeEach(function() {
|
|
33
|
-
instance = new DocSpring.SubmissionBatch();
|
|
34
|
-
});
|
|
35
|
-
|
|
36
|
-
var getProperty = function(object, getter, property) {
|
|
37
|
-
// Use getter method if present; otherwise, get the property directly.
|
|
38
|
-
if (typeof object[getter] === 'function')
|
|
39
|
-
return object[getter]();
|
|
40
|
-
else
|
|
41
|
-
return object[property];
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
var setProperty = function(object, setter, property, value) {
|
|
45
|
-
// Use setter method if present; otherwise, set the property directly.
|
|
46
|
-
if (typeof object[setter] === 'function')
|
|
47
|
-
object[setter](value);
|
|
48
|
-
else
|
|
49
|
-
object[property] = value;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
describe('SubmissionBatch', function() {
|
|
53
|
-
it('should create an instance of SubmissionBatch', function() {
|
|
54
|
-
// uncomment below and update the code to test SubmissionBatch
|
|
55
|
-
//var instance = new DocSpring.SubmissionBatch();
|
|
56
|
-
//expect(instance).to.be.a(DocSpring.SubmissionBatch);
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
it('should have the property pendingCount (base name: "pending_count")', function() {
|
|
60
|
-
// uncomment below and update the code to test the property pendingCount
|
|
61
|
-
//var instance = new DocSpring.SubmissionBatch();
|
|
62
|
-
//expect(instance).to.be();
|
|
63
|
-
});
|
|
64
|
-
|
|
65
|
-
it('should have the property completionPercentage (base name: "completion_percentage")', function() {
|
|
66
|
-
// uncomment below and update the code to test the property completionPercentage
|
|
67
|
-
//var instance = new DocSpring.SubmissionBatch();
|
|
68
|
-
//expect(instance).to.be();
|
|
69
|
-
});
|
|
70
|
-
|
|
71
|
-
it('should have the property metadata (base name: "metadata")', function() {
|
|
72
|
-
// uncomment below and update the code to test the property metadata
|
|
73
|
-
//var instance = new DocSpring.SubmissionBatch();
|
|
74
|
-
//expect(instance).to.be();
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
it('should have the property totalCount (base name: "total_count")', function() {
|
|
78
|
-
// uncomment below and update the code to test the property totalCount
|
|
79
|
-
//var instance = new DocSpring.SubmissionBatch();
|
|
80
|
-
//expect(instance).to.be();
|
|
81
|
-
});
|
|
82
|
-
|
|
83
|
-
it('should have the property submissions (base name: "submissions")', function() {
|
|
84
|
-
// uncomment below and update the code to test the property submissions
|
|
85
|
-
//var instance = new DocSpring.SubmissionBatch();
|
|
86
|
-
//expect(instance).to.be();
|
|
87
|
-
});
|
|
88
|
-
|
|
89
|
-
it('should have the property processedAt (base name: "processed_at")', function() {
|
|
90
|
-
// uncomment below and update the code to test the property processedAt
|
|
91
|
-
//var instance = new DocSpring.SubmissionBatch();
|
|
92
|
-
//expect(instance).to.be();
|
|
93
|
-
});
|
|
94
|
-
|
|
95
|
-
it('should have the property id (base name: "id")', function() {
|
|
96
|
-
// uncomment below and update the code to test the property id
|
|
97
|
-
//var instance = new DocSpring.SubmissionBatch();
|
|
98
|
-
//expect(instance).to.be();
|
|
99
|
-
});
|
|
100
|
-
|
|
101
|
-
it('should have the property state (base name: "state")', function() {
|
|
102
|
-
// uncomment below and update the code to test the property state
|
|
103
|
-
//var instance = new DocSpring.SubmissionBatch();
|
|
104
|
-
//expect(instance).to.be();
|
|
105
|
-
});
|
|
106
|
-
|
|
107
|
-
it('should have the property errorCount (base name: "error_count")', function() {
|
|
108
|
-
// uncomment below and update the code to test the property errorCount
|
|
109
|
-
//var instance = new DocSpring.SubmissionBatch();
|
|
110
|
-
//expect(instance).to.be();
|
|
111
|
-
});
|
|
112
|
-
|
|
113
|
-
});
|
|
114
|
-
|
|
115
|
-
}));
|