docspring 1.3.1 → 1.3.2
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/CHANGELOG.md +4 -0
- package/README.md +8 -2
- package/docs/CombinePdfsData.md +1 -0
- package/docs/CombinedSubmission.md +1 -0
- package/docs/CombinedSubmissionData.md +1 -0
- package/docs/ListSubmissionsResponse.md +10 -0
- package/docs/PDFApi.md +173 -3
- package/docs/SubmissionData.md +1 -0
- package/docs/Template1.md +59 -0
- package/docs/Template1Defaults.md +10 -0
- package/package.json +1 -1
- package/src/ApiClient.js +1 -1
- package/src/api/PDFApi.js +168 -6
- package/src/index.js +19 -4
- package/src/model/AddFieldsData.js +1 -1
- package/src/model/AddFieldsTemplateResponse.js +1 -1
- package/src/model/AuthenticationError.js +1 -1
- package/src/model/AuthenticationSuccessResponse.js +1 -1
- package/src/model/CombinePdfsData.js +9 -1
- package/src/model/CombinedSubmission.js +9 -1
- package/src/model/CombinedSubmissionAction.js +1 -1
- package/src/model/CombinedSubmissionData.js +9 -1
- package/src/model/CopyTemplateData.js +1 -1
- package/src/model/CreateCombinedSubmissionResponse.js +1 -1
- package/src/model/CreateCustomFileData.js +1 -1
- package/src/model/CreateCustomFileResponse.js +1 -1
- package/src/model/CreateFolderData.js +1 -1
- package/src/model/CreateHtmlTemplateData.js +1 -1
- package/src/model/CreateSubmissionBatchResponse.js +1 -1
- package/src/model/CreateSubmissionBatchSubmissionsResponse.js +1 -1
- package/src/model/CreateSubmissionDataRequestData.js +1 -1
- package/src/model/CreateSubmissionDataRequestTokenResponse.js +1 -1
- package/src/model/CreateSubmissionDataRequestTokenResponseToken.js +1 -1
- package/src/model/CreateSubmissionResponse.js +1 -1
- package/src/model/CreateTemplateFromUploadData.js +1 -1
- package/src/model/CustomFile.js +1 -1
- package/src/model/Error.js +1 -1
- package/src/model/Folder.js +1 -1
- package/src/model/FoldersFolder.js +1 -1
- package/src/model/HtmlTemplateData.js +1 -1
- package/src/model/InvalidRequest.js +1 -1
- package/src/model/ListSubmissionsResponse.js +97 -0
- package/src/model/MoveFolderData.js +1 -1
- package/src/model/MoveTemplateData.js +1 -1
- package/src/model/PendingTemplate.js +1 -1
- package/src/model/RenameFolderData.js +1 -1
- package/src/model/Submission.js +1 -1
- package/src/model/SubmissionAction.js +1 -1
- package/src/model/SubmissionBatch.js +1 -1
- package/src/model/SubmissionBatchData.js +1 -1
- package/src/model/SubmissionData.js +9 -1
- package/src/model/SubmissionDataBatchRequest.js +1 -1
- package/src/model/SubmissionDataRequest.js +1 -1
- package/src/model/Template.js +1 -1
- package/src/model/Template1.js +407 -0
- package/src/model/Template1Defaults.js +97 -0
- package/src/model/TemplateData.js +1 -1
- package/src/model/TemplatestemplateIdaddFieldsFields.js +1 -1
- package/src/model/UpdateDataRequestResponse.js +1 -1
- package/src/model/UpdateSubmissionDataRequestData.js +1 -1
- package/src/model/UpdateTemplateData.js +1 -1
- package/src/model/UpdateTemplateResponse.js +1 -1
- package/src/model/UploadTemplateData.js +1 -1
- package/src/model/UploadTemplateDataDocument.js +1 -1
- package/src/model/UploadTemplateDataDocumentMetadata.js +1 -1
- package/test/api/PDFApi.spec.js.original +30 -0
- package/test/model/CombinePdfsData.spec.js +6 -0
- package/test/model/CombinedSubmission.spec.js +6 -0
- package/test/model/CombinedSubmissionData.spec.js +6 -0
- package/test/model/ListSubmissionsResponse.spec.js +79 -0
- package/test/model/SubmissionData.spec.js +6 -0
- package/test/model/Template1.spec.js +295 -0
- package/test/model/Template1Defaults.spec.js +79 -0
- package/yarn.lock +263 -0
|
@@ -68,6 +68,12 @@
|
|
|
68
68
|
//expect(instance).to.be();
|
|
69
69
|
});
|
|
70
70
|
|
|
71
|
+
it('should have the property password (base name: "password")', function() {
|
|
72
|
+
// uncomment below and update the code to test the property password
|
|
73
|
+
//var instance = new DocSpring.CombinedSubmissionData();
|
|
74
|
+
//expect(instance).to.be();
|
|
75
|
+
});
|
|
76
|
+
|
|
71
77
|
it('should have the property submissionIds (base name: "submission_ids")', function() {
|
|
72
78
|
// uncomment below and update the code to test the property submissionIds
|
|
73
79
|
//var instance = new DocSpring.CombinedSubmissionData();
|
|
@@ -0,0 +1,79 @@
|
|
|
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.ListSubmissionsResponse();
|
|
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('ListSubmissionsResponse', function() {
|
|
53
|
+
it('should create an instance of ListSubmissionsResponse', function() {
|
|
54
|
+
// uncomment below and update the code to test ListSubmissionsResponse
|
|
55
|
+
//var instance = new DocSpring.ListSubmissionsResponse();
|
|
56
|
+
//expect(instance).to.be.a(DocSpring.ListSubmissionsResponse);
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
it('should have the property nextCursor (base name: "next_cursor")', function() {
|
|
60
|
+
// uncomment below and update the code to test the property nextCursor
|
|
61
|
+
//var instance = new DocSpring.ListSubmissionsResponse();
|
|
62
|
+
//expect(instance).to.be();
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
it('should have the property submissions (base name: "submissions")', function() {
|
|
66
|
+
// uncomment below and update the code to test the property submissions
|
|
67
|
+
//var instance = new DocSpring.ListSubmissionsResponse();
|
|
68
|
+
//expect(instance).to.be();
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
it('should have the property limit (base name: "limit")', function() {
|
|
72
|
+
// uncomment below and update the code to test the property limit
|
|
73
|
+
//var instance = new DocSpring.ListSubmissionsResponse();
|
|
74
|
+
//expect(instance).to.be();
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
}));
|
|
@@ -92,6 +92,12 @@
|
|
|
92
92
|
//expect(instance).to.be();
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
+
it('should have the property password (base name: "password")', function() {
|
|
96
|
+
// uncomment below and update the code to test the property password
|
|
97
|
+
//var instance = new DocSpring.SubmissionData();
|
|
98
|
+
//expect(instance).to.be();
|
|
99
|
+
});
|
|
100
|
+
|
|
95
101
|
it('should have the property test (base name: "test")', function() {
|
|
96
102
|
// uncomment below and update the code to test the property test
|
|
97
103
|
//var instance = new DocSpring.SubmissionData();
|
|
@@ -0,0 +1,295 @@
|
|
|
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.Template1();
|
|
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('Template1', function() {
|
|
53
|
+
it('should create an instance of Template1', function() {
|
|
54
|
+
// uncomment below and update the code to test Template1
|
|
55
|
+
//var instance = new DocSpring.Template1();
|
|
56
|
+
//expect(instance).to.be.a(DocSpring.Template1);
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
it('should have the property documentProcessed (base name: "document_processed")', function() {
|
|
60
|
+
// uncomment below and update the code to test the property documentProcessed
|
|
61
|
+
//var instance = new DocSpring.Template1();
|
|
62
|
+
//expect(instance).to.be();
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
it('should have the property expirationInterval (base name: "expiration_interval")', function() {
|
|
66
|
+
// uncomment below and update the code to test the property expirationInterval
|
|
67
|
+
//var instance = new DocSpring.Template1();
|
|
68
|
+
//expect(instance).to.be();
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
it('should have the property scss (base name: "scss")', function() {
|
|
72
|
+
// uncomment below and update the code to test the property scss
|
|
73
|
+
//var instance = new DocSpring.Template1();
|
|
74
|
+
//expect(instance).to.be();
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
it('should have the property documentState (base name: "document_state")', function() {
|
|
78
|
+
// uncomment below and update the code to test the property documentState
|
|
79
|
+
//var instance = new DocSpring.Template1();
|
|
80
|
+
//expect(instance).to.be();
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
it('should have the property expireAfter (base name: "expire_after")', function() {
|
|
84
|
+
// uncomment below and update the code to test the property expireAfter
|
|
85
|
+
//var instance = new DocSpring.Template1();
|
|
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.Template1();
|
|
92
|
+
//expect(instance).to.be();
|
|
93
|
+
});
|
|
94
|
+
|
|
95
|
+
it('should have the property slackWebhookUrl (base name: "slack_webhook_url")', function() {
|
|
96
|
+
// uncomment below and update the code to test the property slackWebhookUrl
|
|
97
|
+
//var instance = new DocSpring.Template1();
|
|
98
|
+
//expect(instance).to.be();
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
it('should have the property demo (base name: "demo")', function() {
|
|
102
|
+
// uncomment below and update the code to test the property demo
|
|
103
|
+
//var instance = new DocSpring.Template1();
|
|
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.Template1();
|
|
110
|
+
//expect(instance).to.be();
|
|
111
|
+
});
|
|
112
|
+
|
|
113
|
+
it('should have the property headerHtml (base name: "header_html")', function() {
|
|
114
|
+
// uncomment below and update the code to test the property headerHtml
|
|
115
|
+
//var instance = new DocSpring.Template1();
|
|
116
|
+
//expect(instance).to.be();
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
it('should have the property publicWebForm (base name: "public_web_form")', function() {
|
|
120
|
+
// uncomment below and update the code to test the property publicWebForm
|
|
121
|
+
//var instance = new DocSpring.Template1();
|
|
122
|
+
//expect(instance).to.be();
|
|
123
|
+
});
|
|
124
|
+
|
|
125
|
+
it('should have the property fieldOrder (base name: "field_order")', function() {
|
|
126
|
+
// uncomment below and update the code to test the property fieldOrder
|
|
127
|
+
//var instance = new DocSpring.Template1();
|
|
128
|
+
//expect(instance).to.be();
|
|
129
|
+
});
|
|
130
|
+
|
|
131
|
+
it('should have the property permanentDocumentUrl (base name: "permanent_document_url")', function() {
|
|
132
|
+
// uncomment below and update the code to test the property permanentDocumentUrl
|
|
133
|
+
//var instance = new DocSpring.Template1();
|
|
134
|
+
//expect(instance).to.be();
|
|
135
|
+
});
|
|
136
|
+
|
|
137
|
+
it('should have the property html (base name: "html")', function() {
|
|
138
|
+
// uncomment below and update the code to test the property html
|
|
139
|
+
//var instance = new DocSpring.Template1();
|
|
140
|
+
//expect(instance).to.be();
|
|
141
|
+
});
|
|
142
|
+
|
|
143
|
+
it('should have the property templateType (base name: "template_type")', function() {
|
|
144
|
+
// uncomment below and update the code to test the property templateType
|
|
145
|
+
//var instance = new DocSpring.Template1();
|
|
146
|
+
//expect(instance).to.be();
|
|
147
|
+
});
|
|
148
|
+
|
|
149
|
+
it('should have the property id (base name: "id")', function() {
|
|
150
|
+
// uncomment below and update the code to test the property id
|
|
151
|
+
//var instance = new DocSpring.Template1();
|
|
152
|
+
//expect(instance).to.be();
|
|
153
|
+
});
|
|
154
|
+
|
|
155
|
+
it('should have the property pageDimensions (base name: "page_dimensions")', function() {
|
|
156
|
+
// uncomment below and update the code to test the property pageDimensions
|
|
157
|
+
//var instance = new DocSpring.Template1();
|
|
158
|
+
//expect(instance).to.be();
|
|
159
|
+
});
|
|
160
|
+
|
|
161
|
+
it('should have the property locked (base name: "locked")', function() {
|
|
162
|
+
// uncomment below and update the code to test the property locked
|
|
163
|
+
//var instance = new DocSpring.Template1();
|
|
164
|
+
//expect(instance).to.be();
|
|
165
|
+
});
|
|
166
|
+
|
|
167
|
+
it('should have the property pageCount (base name: "page_count")', function() {
|
|
168
|
+
// uncomment below and update the code to test the property pageCount
|
|
169
|
+
//var instance = new DocSpring.Template1();
|
|
170
|
+
//expect(instance).to.be();
|
|
171
|
+
});
|
|
172
|
+
|
|
173
|
+
it('should have the property encryptPdfs (base name: "encrypt_pdfs")', function() {
|
|
174
|
+
// uncomment below and update the code to test the property encryptPdfs
|
|
175
|
+
//var instance = new DocSpring.Template1();
|
|
176
|
+
//expect(instance).to.be();
|
|
177
|
+
});
|
|
178
|
+
|
|
179
|
+
it('should have the property webhookUrl (base name: "webhook_url")', function() {
|
|
180
|
+
// uncomment below and update the code to test the property webhookUrl
|
|
181
|
+
//var instance = new DocSpring.Template1();
|
|
182
|
+
//expect(instance).to.be();
|
|
183
|
+
});
|
|
184
|
+
|
|
185
|
+
it('should have the property embedDomains (base name: "embed_domains")', function() {
|
|
186
|
+
// uncomment below and update the code to test the property embedDomains
|
|
187
|
+
//var instance = new DocSpring.Template1();
|
|
188
|
+
//expect(instance).to.be();
|
|
189
|
+
});
|
|
190
|
+
|
|
191
|
+
it('should have the property parentFolderId (base name: "parent_folder_id")', function() {
|
|
192
|
+
// uncomment below and update the code to test the property parentFolderId
|
|
193
|
+
//var instance = new DocSpring.Template1();
|
|
194
|
+
//expect(instance).to.be();
|
|
195
|
+
});
|
|
196
|
+
|
|
197
|
+
it('should have the property allowAdditionalProperties (base name: "allow_additional_properties")', function() {
|
|
198
|
+
// uncomment below and update the code to test the property allowAdditionalProperties
|
|
199
|
+
//var instance = new DocSpring.Template1();
|
|
200
|
+
//expect(instance).to.be();
|
|
201
|
+
});
|
|
202
|
+
|
|
203
|
+
it('should have the property encryptPdfsPassword (base name: "encrypt_pdfs_password")', function() {
|
|
204
|
+
// uncomment below and update the code to test the property encryptPdfsPassword
|
|
205
|
+
//var instance = new DocSpring.Template1();
|
|
206
|
+
//expect(instance).to.be();
|
|
207
|
+
});
|
|
208
|
+
|
|
209
|
+
it('should have the property publicSubmissions (base name: "public_submissions")', function() {
|
|
210
|
+
// uncomment below and update the code to test the property publicSubmissions
|
|
211
|
+
//var instance = new DocSpring.Template1();
|
|
212
|
+
//expect(instance).to.be();
|
|
213
|
+
});
|
|
214
|
+
|
|
215
|
+
it('should have the property sharedFieldData (base name: "shared_field_data")', function() {
|
|
216
|
+
// uncomment below and update the code to test the property sharedFieldData
|
|
217
|
+
//var instance = new DocSpring.Template1();
|
|
218
|
+
//expect(instance).to.be();
|
|
219
|
+
});
|
|
220
|
+
|
|
221
|
+
it('should have the property documentMd5 (base name: "document_md5")', function() {
|
|
222
|
+
// uncomment below and update the code to test the property documentMd5
|
|
223
|
+
//var instance = new DocSpring.Template1();
|
|
224
|
+
//expect(instance).to.be();
|
|
225
|
+
});
|
|
226
|
+
|
|
227
|
+
it('should have the property firstTemplate (base name: "first_template")', function() {
|
|
228
|
+
// uncomment below and update the code to test the property firstTemplate
|
|
229
|
+
//var instance = new DocSpring.Template1();
|
|
230
|
+
//expect(instance).to.be();
|
|
231
|
+
});
|
|
232
|
+
|
|
233
|
+
it('should have the property defaults (base name: "defaults")', function() {
|
|
234
|
+
// uncomment below and update the code to test the property defaults
|
|
235
|
+
//var instance = new DocSpring.Template1();
|
|
236
|
+
//expect(instance).to.be();
|
|
237
|
+
});
|
|
238
|
+
|
|
239
|
+
it('should have the property editableSubmissions (base name: "editable_submissions")', function() {
|
|
240
|
+
// uncomment below and update the code to test the property editableSubmissions
|
|
241
|
+
//var instance = new DocSpring.Template1();
|
|
242
|
+
//expect(instance).to.be();
|
|
243
|
+
});
|
|
244
|
+
|
|
245
|
+
it('should have the property expireSubmissions (base name: "expire_submissions")', function() {
|
|
246
|
+
// uncomment below and update the code to test the property expireSubmissions
|
|
247
|
+
//var instance = new DocSpring.Template1();
|
|
248
|
+
//expect(instance).to.be();
|
|
249
|
+
});
|
|
250
|
+
|
|
251
|
+
it('should have the property name (base name: "name")', function() {
|
|
252
|
+
// uncomment below and update the code to test the property name
|
|
253
|
+
//var instance = new DocSpring.Template1();
|
|
254
|
+
//expect(instance).to.be();
|
|
255
|
+
});
|
|
256
|
+
|
|
257
|
+
it('should have the property footerHtml (base name: "footer_html")', function() {
|
|
258
|
+
// uncomment below and update the code to test the property footerHtml
|
|
259
|
+
//var instance = new DocSpring.Template1();
|
|
260
|
+
//expect(instance).to.be();
|
|
261
|
+
});
|
|
262
|
+
|
|
263
|
+
it('should have the property documentParseError (base name: "document_parse_error")', function() {
|
|
264
|
+
// uncomment below and update the code to test the property documentParseError
|
|
265
|
+
//var instance = new DocSpring.Template1();
|
|
266
|
+
//expect(instance).to.be();
|
|
267
|
+
});
|
|
268
|
+
|
|
269
|
+
it('should have the property fields (base name: "fields")', function() {
|
|
270
|
+
// uncomment below and update the code to test the property fields
|
|
271
|
+
//var instance = new DocSpring.Template1();
|
|
272
|
+
//expect(instance).to.be();
|
|
273
|
+
});
|
|
274
|
+
|
|
275
|
+
it('should have the property documentFilename (base name: "document_filename")', function() {
|
|
276
|
+
// uncomment below and update the code to test the property documentFilename
|
|
277
|
+
//var instance = new DocSpring.Template1();
|
|
278
|
+
//expect(instance).to.be();
|
|
279
|
+
});
|
|
280
|
+
|
|
281
|
+
it('should have the property redirectUrl (base name: "redirect_url")', function() {
|
|
282
|
+
// uncomment below and update the code to test the property redirectUrl
|
|
283
|
+
//var instance = new DocSpring.Template1();
|
|
284
|
+
//expect(instance).to.be();
|
|
285
|
+
});
|
|
286
|
+
|
|
287
|
+
it('should have the property documentUrl (base name: "document_url")', function() {
|
|
288
|
+
// uncomment below and update the code to test the property documentUrl
|
|
289
|
+
//var instance = new DocSpring.Template1();
|
|
290
|
+
//expect(instance).to.be();
|
|
291
|
+
});
|
|
292
|
+
|
|
293
|
+
});
|
|
294
|
+
|
|
295
|
+
}));
|
|
@@ -0,0 +1,79 @@
|
|
|
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.Template1Defaults();
|
|
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('Template1Defaults', function() {
|
|
53
|
+
it('should create an instance of Template1Defaults', function() {
|
|
54
|
+
// uncomment below and update the code to test Template1Defaults
|
|
55
|
+
//var instance = new DocSpring.Template1Defaults();
|
|
56
|
+
//expect(instance).to.be.a(DocSpring.Template1Defaults);
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
it('should have the property color (base name: "color")', function() {
|
|
60
|
+
// uncomment below and update the code to test the property color
|
|
61
|
+
//var instance = new DocSpring.Template1Defaults();
|
|
62
|
+
//expect(instance).to.be();
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
it('should have the property fontSize (base name: "fontSize")', function() {
|
|
66
|
+
// uncomment below and update the code to test the property fontSize
|
|
67
|
+
//var instance = new DocSpring.Template1Defaults();
|
|
68
|
+
//expect(instance).to.be();
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
it('should have the property typeface (base name: "typeface")', function() {
|
|
72
|
+
// uncomment below and update the code to test the property typeface
|
|
73
|
+
//var instance = new DocSpring.Template1Defaults();
|
|
74
|
+
//expect(instance).to.be();
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
}));
|