docspring 1.2.0 → 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.
Files changed (132) hide show
  1. package/.openapi-generator/VERSION +1 -1
  2. package/CHANGELOG.md +16 -0
  3. package/LICENSE +1 -1
  4. package/README.md +10 -2
  5. package/docs/CombinePdfsData.md +5 -4
  6. package/docs/CombinedSubmission.md +1 -0
  7. package/docs/CombinedSubmissionData.md +4 -3
  8. package/docs/CopyTemplateData.md +9 -0
  9. package/docs/CreateSubmissionDataRequestData.md +2 -2
  10. package/docs/HtmlTemplateData.md +2 -2
  11. package/docs/ListSubmissionsResponse.md +10 -0
  12. package/docs/MoveTemplateData.md +1 -1
  13. package/docs/PDFApi.md +224 -4
  14. package/docs/Submission.md +3 -0
  15. package/docs/SubmissionBatchData.md +2 -2
  16. package/docs/SubmissionData.md +5 -4
  17. package/docs/SubmissionDataBatchRequest.md +2 -2
  18. package/docs/SubmissionDataRequest.md +1 -0
  19. package/docs/Template1.md +59 -0
  20. package/docs/Template1Defaults.md +10 -0
  21. package/docs/TemplateData.md +2 -2
  22. package/docs/TemplatestemplateIdaddFieldsFields.md +9 -9
  23. package/docs/UpdateSubmissionDataRequestData.md +25 -25
  24. package/docs/UploadTemplateData.md +2 -2
  25. package/package.json +1 -1
  26. package/src/ApiClient.js +2 -2
  27. package/src/api/PDFApi.js +222 -7
  28. package/src/index.js +25 -5
  29. package/src/model/AddFieldsData.js +2 -2
  30. package/src/model/AddFieldsTemplateResponse.js +2 -2
  31. package/src/model/AuthenticationError.js +2 -2
  32. package/src/model/AuthenticationSuccessResponse.js +2 -2
  33. package/src/model/CombinePdfsData.js +27 -19
  34. package/src/model/CombinedSubmission.js +10 -2
  35. package/src/model/CombinedSubmissionAction.js +2 -2
  36. package/src/model/CombinedSubmissionData.js +26 -18
  37. package/src/model/CopyTemplateData.js +90 -0
  38. package/src/model/CreateCombinedSubmissionResponse.js +2 -2
  39. package/src/model/CreateCustomFileData.js +2 -2
  40. package/src/model/CreateCustomFileResponse.js +2 -2
  41. package/src/model/CreateFolderData.js +2 -2
  42. package/src/model/CreateHtmlTemplateData.js +2 -2
  43. package/src/model/CreateSubmissionBatchResponse.js +2 -2
  44. package/src/model/CreateSubmissionBatchSubmissionsResponse.js +2 -2
  45. package/src/model/CreateSubmissionDataRequestData.js +16 -16
  46. package/src/model/CreateSubmissionDataRequestTokenResponse.js +2 -2
  47. package/src/model/CreateSubmissionDataRequestTokenResponseToken.js +2 -2
  48. package/src/model/CreateSubmissionResponse.js +2 -2
  49. package/src/model/CreateTemplateFromUploadData.js +2 -2
  50. package/src/model/CustomFile.js +2 -2
  51. package/src/model/Error.js +2 -2
  52. package/src/model/Folder.js +2 -2
  53. package/src/model/FoldersFolder.js +2 -2
  54. package/src/model/HtmlTemplateData.js +16 -16
  55. package/src/model/InvalidRequest.js +2 -2
  56. package/src/model/ListSubmissionsResponse.js +97 -0
  57. package/src/model/MoveFolderData.js +2 -2
  58. package/src/model/MoveTemplateData.js +5 -4
  59. package/src/model/PendingTemplate.js +2 -2
  60. package/src/model/RenameFolderData.js +2 -2
  61. package/src/model/Submission.js +26 -2
  62. package/src/model/SubmissionAction.js +2 -2
  63. package/src/model/SubmissionBatch.js +2 -2
  64. package/src/model/SubmissionBatchData.js +11 -11
  65. package/src/model/SubmissionData.js +29 -21
  66. package/src/model/SubmissionDataBatchRequest.js +13 -13
  67. package/src/model/SubmissionDataRequest.js +12 -3
  68. package/src/model/Template.js +2 -2
  69. package/src/model/Template1.js +407 -0
  70. package/src/model/Template1Defaults.js +97 -0
  71. package/src/model/TemplateData.js +16 -16
  72. package/src/model/TemplatestemplateIdaddFieldsFields.js +62 -62
  73. package/src/model/UpdateDataRequestResponse.js +2 -2
  74. package/src/model/UpdateSubmissionDataRequestData.js +77 -77
  75. package/src/model/UpdateTemplateData.js +2 -2
  76. package/src/model/UpdateTemplateResponse.js +2 -2
  77. package/src/model/UploadTemplateData.js +16 -16
  78. package/src/model/UploadTemplateDataDocument.js +2 -2
  79. package/src/model/UploadTemplateDataDocumentMetadata.js +2 -2
  80. package/test/api/PDFApi.spec.js.original +41 -1
  81. package/test/model/AddFieldsData.spec.js +1 -1
  82. package/test/model/AddFieldsTemplateResponse.spec.js +1 -1
  83. package/test/model/AuthenticationError.spec.js +1 -1
  84. package/test/model/AuthenticationSuccessResponse.spec.js +1 -1
  85. package/test/model/CombinePdfsData.spec.js +15 -9
  86. package/test/model/CombinedSubmission.spec.js +7 -1
  87. package/test/model/CombinedSubmissionAction.spec.js +1 -1
  88. package/test/model/CombinedSubmissionData.spec.js +15 -9
  89. package/test/model/CopyTemplateData.spec.js +73 -0
  90. package/test/model/CreateCombinedSubmissionResponse.spec.js +1 -1
  91. package/test/model/CreateCustomFileData.spec.js +1 -1
  92. package/test/model/CreateCustomFileResponse.spec.js +1 -1
  93. package/test/model/CreateFolderData.spec.js +1 -1
  94. package/test/model/CreateHtmlTemplateData.spec.js +1 -1
  95. package/test/model/CreateSubmissionBatchResponse.spec.js +1 -1
  96. package/test/model/CreateSubmissionBatchSubmissionsResponse.spec.js +1 -1
  97. package/test/model/CreateSubmissionDataRequestData.spec.js +9 -9
  98. package/test/model/CreateSubmissionDataRequestTokenResponse.spec.js +1 -1
  99. package/test/model/CreateSubmissionDataRequestTokenResponseToken.spec.js +1 -1
  100. package/test/model/CreateSubmissionResponse.spec.js +1 -1
  101. package/test/model/CreateTemplateFromUploadData.spec.js +1 -1
  102. package/test/model/CustomFile.spec.js +1 -1
  103. package/test/model/Error.spec.js +1 -1
  104. package/test/model/Folder.spec.js +1 -1
  105. package/test/model/FoldersFolder.spec.js +1 -1
  106. package/test/model/HtmlTemplateData.spec.js +9 -9
  107. package/test/model/InvalidRequest.spec.js +1 -1
  108. package/test/model/ListSubmissionsResponse.spec.js +79 -0
  109. package/test/model/MoveFolderData.spec.js +1 -1
  110. package/test/model/MoveTemplateData.spec.js +1 -1
  111. package/test/model/PendingTemplate.spec.js +1 -1
  112. package/test/model/RenameFolderData.spec.js +1 -1
  113. package/test/model/Submission.spec.js +19 -1
  114. package/test/model/SubmissionAction.spec.js +1 -1
  115. package/test/model/SubmissionBatch.spec.js +1 -1
  116. package/test/model/SubmissionBatchData.spec.js +5 -5
  117. package/test/model/SubmissionData.spec.js +17 -11
  118. package/test/model/SubmissionDataBatchRequest.spec.js +9 -9
  119. package/test/model/SubmissionDataRequest.spec.js +7 -1
  120. package/test/model/Template.spec.js +1 -1
  121. package/test/model/Template1.spec.js +295 -0
  122. package/test/model/Template1Defaults.spec.js +79 -0
  123. package/test/model/TemplateData.spec.js +9 -9
  124. package/test/model/TemplatestemplateIdaddFieldsFields.spec.js +37 -37
  125. package/test/model/UpdateDataRequestResponse.spec.js +1 -1
  126. package/test/model/UpdateSubmissionDataRequestData.spec.js +25 -25
  127. package/test/model/UpdateTemplateData.spec.js +1 -1
  128. package/test/model/UpdateTemplateResponse.spec.js +1 -1
  129. package/test/model/UploadTemplateData.spec.js +11 -11
  130. package/test/model/UploadTemplateDataDocument.spec.js +1 -1
  131. package/test/model/UploadTemplateDataDocumentMetadata.spec.js +1 -1
  132. package/yarn.lock +263 -0
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
8
  * https://openapi-generator.tech
9
9
  *
10
- * OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+ * OpenAPI Generator version: 3.3.0
11
11
  *
12
12
  * Do not edit the class manually.
13
13
  *
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The UpdateTemplateData model module.
38
38
  * @module model/UpdateTemplateData
39
- * @version 1.2.0
39
+ * @version 1.3.2
40
40
  */
41
41
 
42
42
  /**
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
8
  * https://openapi-generator.tech
9
9
  *
10
- * OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+ * OpenAPI Generator version: 3.3.0
11
11
  *
12
12
  * Do not edit the class manually.
13
13
  *
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The UpdateTemplateResponse model module.
38
38
  * @module model/UpdateTemplateResponse
39
- * @version 1.2.0
39
+ * @version 1.3.2
40
40
  */
41
41
 
42
42
  /**
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
8
  * https://openapi-generator.tech
9
9
  *
10
- * OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+ * OpenAPI Generator version: 3.3.0
11
11
  *
12
12
  * Do not edit the class manually.
13
13
  *
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The UploadTemplateData model module.
38
38
  * @module model/UploadTemplateData
39
- * @version 1.2.0
39
+ * @version 1.3.2
40
40
  */
41
41
 
42
42
  /**
@@ -87,15 +87,15 @@
87
87
  if (data.hasOwnProperty('scss')) {
88
88
  obj['scss'] = ApiClient.convertToType(data['scss'], 'String');
89
89
  }
90
- if (data.hasOwnProperty('expire_after')) {
91
- obj['expire_after'] = ApiClient.convertToType(data['expire_after'], 'Number');
92
- }
93
90
  if (data.hasOwnProperty('allow_additional_properties')) {
94
91
  obj['allow_additional_properties'] = ApiClient.convertToType(data['allow_additional_properties'], 'Boolean');
95
92
  }
96
93
  if (data.hasOwnProperty('document')) {
97
94
  obj['document'] = UploadTemplateDataDocument.constructFromObject(data['document']);
98
95
  }
96
+ if (data.hasOwnProperty('expire_after')) {
97
+ obj['expire_after'] = ApiClient.convertToType(data['expire_after'], 'Number');
98
+ }
99
99
  if (data.hasOwnProperty('description')) {
100
100
  obj['description'] = ApiClient.convertToType(data['description'], 'String');
101
101
  }
@@ -120,12 +120,12 @@
120
120
  if (data.hasOwnProperty('name')) {
121
121
  obj['name'] = ApiClient.convertToType(data['name'], 'String');
122
122
  }
123
- if (data.hasOwnProperty('html')) {
124
- obj['html'] = ApiClient.convertToType(data['html'], 'String');
125
- }
126
123
  if (data.hasOwnProperty('footer_html')) {
127
124
  obj['footer_html'] = ApiClient.convertToType(data['footer_html'], 'String');
128
125
  }
126
+ if (data.hasOwnProperty('html')) {
127
+ obj['html'] = ApiClient.convertToType(data['html'], 'String');
128
+ }
129
129
  if (data.hasOwnProperty('template_type')) {
130
130
  obj['template_type'] = ApiClient.convertToType(data['template_type'], 'String');
131
131
  }
@@ -148,10 +148,6 @@
148
148
  * @member {String} scss
149
149
  */
150
150
  exports.prototype['scss'] = undefined;
151
- /**
152
- * @member {Number} expire_after
153
- */
154
- exports.prototype['expire_after'] = undefined;
155
151
  /**
156
152
  * @member {Boolean} allow_additional_properties
157
153
  */
@@ -160,6 +156,10 @@
160
156
  * @member {module:model/UploadTemplateDataDocument} document
161
157
  */
162
158
  exports.prototype['document'] = undefined;
159
+ /**
160
+ * @member {Number} expire_after
161
+ */
162
+ exports.prototype['expire_after'] = undefined;
163
163
  /**
164
164
  * @member {String} description
165
165
  */
@@ -192,14 +192,14 @@
192
192
  * @member {String} name
193
193
  */
194
194
  exports.prototype['name'] = undefined;
195
- /**
196
- * @member {String} html
197
- */
198
- exports.prototype['html'] = undefined;
199
195
  /**
200
196
  * @member {String} footer_html
201
197
  */
202
198
  exports.prototype['footer_html'] = undefined;
199
+ /**
200
+ * @member {String} html
201
+ */
202
+ exports.prototype['html'] = undefined;
203
203
  /**
204
204
  * @member {module:model/UploadTemplateData.TemplateTypeEnum} template_type
205
205
  */
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
8
  * https://openapi-generator.tech
9
9
  *
10
- * OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+ * OpenAPI Generator version: 3.3.0
11
11
  *
12
12
  * Do not edit the class manually.
13
13
  *
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The UploadTemplateDataDocument model module.
38
38
  * @module model/UploadTemplateDataDocument
39
- * @version 1.2.0
39
+ * @version 1.3.2
40
40
  */
41
41
 
42
42
  /**
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
8
  * https://openapi-generator.tech
9
9
  *
10
- * OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+ * OpenAPI Generator version: 3.3.0
11
11
  *
12
12
  * Do not edit the class manually.
13
13
  *
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The UploadTemplateDataDocumentMetadata model module.
38
38
  * @module model/UploadTemplateDataDocumentMetadata
39
- * @version 1.2.0
39
+ * @version 1.3.2
40
40
  */
41
41
 
42
42
  /**
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
8
  * https://openapi-generator.tech
9
9
  *
10
- * OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+ * OpenAPI Generator version: 3.3.0
11
11
  *
12
12
  * Do not edit the class manually.
13
13
  *
@@ -100,6 +100,16 @@
100
100
  done();
101
101
  });
102
102
  });
103
+ describe('copyTemplate', function() {
104
+ it('should call copyTemplate successfully', function(done) {
105
+ //uncomment below and update the code to test copyTemplate
106
+ //instance.copyTemplate(function(error) {
107
+ // if (error) throw error;
108
+ //expect().to.be();
109
+ //});
110
+ done();
111
+ });
112
+ });
103
113
  describe('createCustomFileFromUpload', function() {
104
114
  it('should call createCustomFileFromUpload successfully', function(done) {
105
115
  //uncomment below and update the code to test createCustomFileFromUpload
@@ -220,6 +230,16 @@
220
230
  done();
221
231
  });
222
232
  });
233
+ describe('getFullTemplate', function() {
234
+ it('should call getFullTemplate successfully', function(done) {
235
+ //uncomment below and update the code to test getFullTemplate
236
+ //instance.getFullTemplate(function(error) {
237
+ // if (error) throw error;
238
+ //expect().to.be();
239
+ //});
240
+ done();
241
+ });
242
+ });
223
243
  describe('getPresignUrl', function() {
224
244
  it('should call getPresignUrl successfully', function(done) {
225
245
  //uncomment below and update the code to test getPresignUrl
@@ -280,6 +300,26 @@
280
300
  done();
281
301
  });
282
302
  });
303
+ describe('listSubmissions', function() {
304
+ it('should call listSubmissions successfully', function(done) {
305
+ //uncomment below and update the code to test listSubmissions
306
+ //instance.listSubmissions(function(error) {
307
+ // if (error) throw error;
308
+ //expect().to.be();
309
+ //});
310
+ done();
311
+ });
312
+ });
313
+ describe('listSubmissions_0', function() {
314
+ it('should call listSubmissions_0 successfully', function(done) {
315
+ //uncomment below and update the code to test listSubmissions_0
316
+ //instance.listSubmissions_0(function(error) {
317
+ // if (error) throw error;
318
+ //expect().to.be();
319
+ //});
320
+ done();
321
+ });
322
+ });
283
323
  describe('listTemplates', function() {
284
324
  it('should call listTemplates successfully', function(done) {
285
325
  //uncomment below and update the code to test listTemplates
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
8
  * https://openapi-generator.tech
9
9
  *
10
- * OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+ * OpenAPI Generator version: 3.3.0
11
11
  *
12
12
  * Do not edit the class manually.
13
13
  *
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
8
  * https://openapi-generator.tech
9
9
  *
10
- * OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+ * OpenAPI Generator version: 3.3.0
11
11
  *
12
12
  * Do not edit the class manually.
13
13
  *
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
8
  * https://openapi-generator.tech
9
9
  *
10
- * OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+ * OpenAPI Generator version: 3.3.0
11
11
  *
12
12
  * Do not edit the class manually.
13
13
  *
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
8
  * https://openapi-generator.tech
9
9
  *
10
- * OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+ * OpenAPI Generator version: 3.3.0
11
11
  *
12
12
  * Do not edit the class manually.
13
13
  *
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
8
  * https://openapi-generator.tech
9
9
  *
10
- * OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+ * OpenAPI Generator version: 3.3.0
11
11
  *
12
12
  * Do not edit the class manually.
13
13
  *
@@ -56,14 +56,14 @@
56
56
  //expect(instance).to.be.a(DocSpring.CombinePdfsData);
57
57
  });
58
58
 
59
- it('should have the property test (base name: "test")', function() {
60
- // uncomment below and update the code to test the property test
59
+ it('should have the property deleteCustomFiles (base name: "delete_custom_files")', function() {
60
+ // uncomment below and update the code to test the property deleteCustomFiles
61
61
  //var instance = new DocSpring.CombinePdfsData();
62
62
  //expect(instance).to.be();
63
63
  });
64
64
 
65
- it('should have the property sourcePdfs (base name: "source_pdfs")', function() {
66
- // uncomment below and update the code to test the property sourcePdfs
65
+ it('should have the property expiresIn (base name: "expires_in")', function() {
66
+ // uncomment below and update the code to test the property expiresIn
67
67
  //var instance = new DocSpring.CombinePdfsData();
68
68
  //expect(instance).to.be();
69
69
  });
@@ -74,14 +74,20 @@
74
74
  //expect(instance).to.be();
75
75
  });
76
76
 
77
- it('should have the property expiresIn (base name: "expires_in")', function() {
78
- // uncomment below and update the code to test the property expiresIn
77
+ it('should have the property password (base name: "password")', function() {
78
+ // uncomment below and update the code to test the property password
79
79
  //var instance = new DocSpring.CombinePdfsData();
80
80
  //expect(instance).to.be();
81
81
  });
82
82
 
83
- it('should have the property deleteCustomFiles (base name: "delete_custom_files")', function() {
84
- // uncomment below and update the code to test the property deleteCustomFiles
83
+ it('should have the property sourcePdfs (base name: "source_pdfs")', function() {
84
+ // uncomment below and update the code to test the property sourcePdfs
85
+ //var instance = new DocSpring.CombinePdfsData();
86
+ //expect(instance).to.be();
87
+ });
88
+
89
+ it('should have the property test (base name: "test")', function() {
90
+ // uncomment below and update the code to test the property test
85
91
  //var instance = new DocSpring.CombinePdfsData();
86
92
  //expect(instance).to.be();
87
93
  });
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
8
  * https://openapi-generator.tech
9
9
  *
10
- * OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+ * OpenAPI Generator version: 3.3.0
11
11
  *
12
12
  * Do not edit the class manually.
13
13
  *
@@ -62,6 +62,12 @@
62
62
  //expect(instance).to.be();
63
63
  });
64
64
 
65
+ it('should have the property password (base name: "password")', function() {
66
+ // uncomment below and update the code to test the property password
67
+ //var instance = new DocSpring.CombinedSubmission();
68
+ //expect(instance).to.be();
69
+ });
70
+
65
71
  it('should have the property expired (base name: "expired")', function() {
66
72
  // uncomment below and update the code to test the property expired
67
73
  //var instance = new DocSpring.CombinedSubmission();
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
8
  * https://openapi-generator.tech
9
9
  *
10
- * OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+ * OpenAPI Generator version: 3.3.0
11
11
  *
12
12
  * Do not edit the class manually.
13
13
  *
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
8
  * https://openapi-generator.tech
9
9
  *
10
- * OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+ * OpenAPI Generator version: 3.3.0
11
11
  *
12
12
  * Do not edit the class manually.
13
13
  *
@@ -56,26 +56,32 @@
56
56
  //expect(instance).to.be.a(DocSpring.CombinedSubmissionData);
57
57
  });
58
58
 
59
- it('should have the property test (base name: "test")', function() {
60
- // uncomment below and update the code to test the property test
59
+ it('should have the property expiresIn (base name: "expires_in")', function() {
60
+ // uncomment below and update the code to test the property expiresIn
61
61
  //var instance = new DocSpring.CombinedSubmissionData();
62
62
  //expect(instance).to.be();
63
63
  });
64
64
 
65
- it('should have the property submissionIds (base name: "submission_ids")', function() {
66
- // uncomment below and update the code to test the property submissionIds
65
+ it('should have the property metadata (base name: "metadata")', function() {
66
+ // uncomment below and update the code to test the property metadata
67
67
  //var instance = new DocSpring.CombinedSubmissionData();
68
68
  //expect(instance).to.be();
69
69
  });
70
70
 
71
- it('should have the property metadata (base name: "metadata")', function() {
72
- // uncomment below and update the code to test the property metadata
71
+ it('should have the property password (base name: "password")', function() {
72
+ // uncomment below and update the code to test the property password
73
73
  //var instance = new DocSpring.CombinedSubmissionData();
74
74
  //expect(instance).to.be();
75
75
  });
76
76
 
77
- it('should have the property expiresIn (base name: "expires_in")', function() {
78
- // uncomment below and update the code to test the property expiresIn
77
+ it('should have the property submissionIds (base name: "submission_ids")', function() {
78
+ // uncomment below and update the code to test the property submissionIds
79
+ //var instance = new DocSpring.CombinedSubmissionData();
80
+ //expect(instance).to.be();
81
+ });
82
+
83
+ it('should have the property test (base name: "test")', function() {
84
+ // uncomment below and update the code to test the property test
79
85
  //var instance = new DocSpring.CombinedSubmissionData();
80
86
  //expect(instance).to.be();
81
87
  });
@@ -0,0 +1,73 @@
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.CopyTemplateData();
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('CopyTemplateData', function() {
53
+ it('should create an instance of CopyTemplateData', function() {
54
+ // uncomment below and update the code to test CopyTemplateData
55
+ //var instance = new DocSpring.CopyTemplateData();
56
+ //expect(instance).to.be.a(DocSpring.CopyTemplateData);
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.CopyTemplateData();
62
+ //expect(instance).to.be();
63
+ });
64
+
65
+ it('should have the property parentFolderId (base name: "parent_folder_id")', function() {
66
+ // uncomment below and update the code to test the property parentFolderId
67
+ //var instance = new DocSpring.CopyTemplateData();
68
+ //expect(instance).to.be();
69
+ });
70
+
71
+ });
72
+
73
+ }));
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
8
  * https://openapi-generator.tech
9
9
  *
10
- * OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+ * OpenAPI Generator version: 3.3.0
11
11
  *
12
12
  * Do not edit the class manually.
13
13
  *
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
8
  * https://openapi-generator.tech
9
9
  *
10
- * OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+ * OpenAPI Generator version: 3.3.0
11
11
  *
12
12
  * Do not edit the class manually.
13
13
  *
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
8
  * https://openapi-generator.tech
9
9
  *
10
- * OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+ * OpenAPI Generator version: 3.3.0
11
11
  *
12
12
  * Do not edit the class manually.
13
13
  *
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
8
  * https://openapi-generator.tech
9
9
  *
10
- * OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+ * OpenAPI Generator version: 3.3.0
11
11
  *
12
12
  * Do not edit the class manually.
13
13
  *
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
8
  * https://openapi-generator.tech
9
9
  *
10
- * OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+ * OpenAPI Generator version: 3.3.0
11
11
  *
12
12
  * Do not edit the class manually.
13
13
  *
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
8
  * https://openapi-generator.tech
9
9
  *
10
- * OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+ * OpenAPI Generator version: 3.3.0
11
11
  *
12
12
  * Do not edit the class manually.
13
13
  *
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
8
  * https://openapi-generator.tech
9
9
  *
10
- * OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+ * OpenAPI Generator version: 3.3.0
11
11
  *
12
12
  * Do not edit the class manually.
13
13
  *
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
8
  * https://openapi-generator.tech
9
9
  *
10
- * OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+ * OpenAPI Generator version: 3.3.0
11
11
  *
12
12
  * Do not edit the class manually.
13
13
  *
@@ -56,14 +56,14 @@
56
56
  //expect(instance).to.be.a(DocSpring.CreateSubmissionDataRequestData);
57
57
  });
58
58
 
59
- it('should have the property metadata (base name: "metadata")', function() {
60
- // uncomment below and update the code to test the property metadata
59
+ it('should have the property authType (base name: "auth_type")', function() {
60
+ // uncomment below and update the code to test the property authType
61
61
  //var instance = new DocSpring.CreateSubmissionDataRequestData();
62
62
  //expect(instance).to.be();
63
63
  });
64
64
 
65
- it('should have the property authType (base name: "auth_type")', function() {
66
- // uncomment below and update the code to test the property authType
65
+ it('should have the property metadata (base name: "metadata")', function() {
66
+ // uncomment below and update the code to test the property metadata
67
67
  //var instance = new DocSpring.CreateSubmissionDataRequestData();
68
68
  //expect(instance).to.be();
69
69
  });
@@ -116,14 +116,14 @@
116
116
  //expect(instance).to.be();
117
117
  });
118
118
 
119
- it('should have the property email (base name: "email")', function() {
120
- // uncomment below and update the code to test the property email
119
+ it('should have the property authProvider (base name: "auth_provider")', function() {
120
+ // uncomment below and update the code to test the property authProvider
121
121
  //var instance = new DocSpring.CreateSubmissionDataRequestData();
122
122
  //expect(instance).to.be();
123
123
  });
124
124
 
125
- it('should have the property authProvider (base name: "auth_provider")', function() {
126
- // uncomment below and update the code to test the property authProvider
125
+ it('should have the property email (base name: "email")', function() {
126
+ // uncomment below and update the code to test the property email
127
127
  //var instance = new DocSpring.CreateSubmissionDataRequestData();
128
128
  //expect(instance).to.be();
129
129
  });
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
8
  * https://openapi-generator.tech
9
9
  *
10
- * OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+ * OpenAPI Generator version: 3.3.0
11
11
  *
12
12
  * Do not edit the class manually.
13
13
  *
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
8
  * https://openapi-generator.tech
9
9
  *
10
- * OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+ * OpenAPI Generator version: 3.3.0
11
11
  *
12
12
  * Do not edit the class manually.
13
13
  *
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
8
  * https://openapi-generator.tech
9
9
  *
10
- * OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+ * OpenAPI Generator version: 3.3.0
11
11
  *
12
12
  * Do not edit the class manually.
13
13
  *
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
8
  * https://openapi-generator.tech
9
9
  *
10
- * OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+ * OpenAPI Generator version: 3.3.0
11
11
  *
12
12
  * Do not edit the class manually.
13
13
  *
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
8
  * https://openapi-generator.tech
9
9
  *
10
- * OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+ * OpenAPI Generator version: 3.3.0
11
11
  *
12
12
  * Do not edit the class manually.
13
13
  *