docspring 1.4.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.
Files changed (221) hide show
  1. package/README.md +58 -52
  2. package/dist/ApiClient.js +701 -0
  3. package/dist/api/PDFApi.js +1509 -0
  4. package/dist/index.js +356 -0
  5. package/dist/model/AddFieldsData.js +112 -0
  6. package/dist/model/BatchGeneratePdfs201Response.js +184 -0
  7. package/dist/model/CombinePdfsData.js +156 -0
  8. package/dist/model/CombinedSubmission.js +323 -0
  9. package/dist/model/CombinedSubmissionAction.js +252 -0
  10. package/dist/model/CombinedSubmissionData.js +148 -0
  11. package/dist/model/CopyTemplateOptions.js +124 -0
  12. package/dist/model/CreateCombinedSubmissionResponse.js +158 -0
  13. package/dist/model/CreateCustomFileData.js +112 -0
  14. package/dist/model/CreateCustomFileResponse.js +158 -0
  15. package/dist/model/CreateFolderData.js +108 -0
  16. package/dist/model/CreateHtmlSubmissionData.js +161 -0
  17. package/dist/model/CreateHtmlTemplate.js +108 -0
  18. package/dist/model/CreatePdfSubmissionData.js +190 -0
  19. package/dist/model/CreatePdfTemplate.js +108 -0
  20. package/dist/model/CreateSubmissionDataRequestData.js +210 -0
  21. package/dist/model/CreateSubmissionDataRequestEventRequest.js +215 -0
  22. package/dist/model/CreateSubmissionDataRequestEventResponse.js +158 -0
  23. package/dist/model/CreateSubmissionDataRequestResponse.js +158 -0
  24. package/dist/model/CreateSubmissionDataRequestTokenResponse.js +158 -0
  25. package/dist/model/CreateSubmissionResponse.js +158 -0
  26. package/dist/model/CustomFile.js +126 -0
  27. package/dist/model/ErrorResponse.js +139 -0
  28. package/dist/model/Folder.js +154 -0
  29. package/dist/model/JsonSchema.js +173 -0
  30. package/dist/model/ListSubmissionsResponse.js +154 -0
  31. package/dist/model/MoveFolderData.js +89 -0
  32. package/dist/model/MoveTemplateData.js +112 -0
  33. package/dist/model/MultipleErrorsResponse.js +139 -0
  34. package/dist/model/RenameFolderData.js +112 -0
  35. package/dist/model/Submission.js +537 -0
  36. package/dist/model/SubmissionAction.js +252 -0
  37. package/dist/model/SubmissionBatch.js +213 -0
  38. package/dist/model/SubmissionBatchData.js +128 -0
  39. package/dist/model/SubmissionBatchWithSubmissions.js +243 -0
  40. package/dist/model/SubmissionDataRequest.js +475 -0
  41. package/dist/model/SubmissionDataRequestEvent.js +287 -0
  42. package/dist/model/SubmissionDataRequestShow.js +489 -0
  43. package/dist/model/SubmissionDataRequestToken.js +154 -0
  44. package/dist/model/SubmissionPreview.js +471 -0
  45. package/dist/model/SuccessErrorResponse.js +142 -0
  46. package/dist/model/SuccessMultipleErrorsResponse.js +142 -0
  47. package/dist/model/Template.js +717 -0
  48. package/dist/model/TemplateAddFieldsResponse.js +154 -0
  49. package/dist/model/TemplatePreview.js +593 -0
  50. package/dist/model/UpdateHtmlTemplate.js +108 -0
  51. package/dist/model/UpdateSubmissionDataRequestData.js +160 -0
  52. package/dist/model/UploadPresignResponse.js +157 -0
  53. package/package.json +33 -8
  54. package/.openapi-generator/VERSION +0 -1
  55. package/.openapi-generator-ignore +0 -23
  56. package/.travis.yml +0 -7
  57. package/CHANGELOG.md +0 -33
  58. package/docs/AddFieldsData.md +0 -8
  59. package/docs/AddFieldsTemplateResponse.md +0 -21
  60. package/docs/AuthenticationError.md +0 -18
  61. package/docs/AuthenticationSuccessResponse.md +0 -17
  62. package/docs/CombinePdfsData.md +0 -13
  63. package/docs/CombinedSubmission.md +0 -31
  64. package/docs/CombinedSubmissionAction.md +0 -54
  65. package/docs/CombinedSubmissionData.md +0 -12
  66. package/docs/CopyTemplateData.md +0 -9
  67. package/docs/CreateCombinedSubmissionResponse.md +0 -21
  68. package/docs/CreateCustomFileData.md +0 -8
  69. package/docs/CreateCustomFileResponse.md +0 -21
  70. package/docs/CreateFolderData.md +0 -8
  71. package/docs/CreateHtmlTemplateData.md +0 -8
  72. package/docs/CreateSubmissionBatchResponse.md +0 -23
  73. package/docs/CreateSubmissionBatchSubmissionsResponse.md +0 -23
  74. package/docs/CreateSubmissionDataRequestData.md +0 -60
  75. package/docs/CreateSubmissionDataRequestTokenResponse.md +0 -21
  76. package/docs/CreateSubmissionDataRequestTokenResponseToken.md +0 -11
  77. package/docs/CreateSubmissionResponse.md +0 -21
  78. package/docs/CreateTemplateFromUploadData.md +0 -8
  79. package/docs/CustomFile.md +0 -9
  80. package/docs/Error.md +0 -18
  81. package/docs/Folder.md +0 -11
  82. package/docs/FoldersFolder.md +0 -9
  83. package/docs/FullTemplate.md +0 -59
  84. package/docs/FullTemplateDefaults.md +0 -10
  85. package/docs/HtmlTemplateData.md +0 -48
  86. package/docs/InvalidRequest.md +0 -18
  87. package/docs/ListSubmissionsResponse.md +0 -10
  88. package/docs/MoveFolderData.md +0 -8
  89. package/docs/MoveTemplateData.md +0 -8
  90. package/docs/PDFApi.md +0 -1700
  91. package/docs/PendingTemplate.md +0 -37
  92. package/docs/RenameFolderData.md +0 -8
  93. package/docs/Submission.md +0 -55
  94. package/docs/SubmissionAction.md +0 -54
  95. package/docs/SubmissionBatch.md +0 -29
  96. package/docs/SubmissionBatchData.md +0 -11
  97. package/docs/SubmissionData.md +0 -15
  98. package/docs/SubmissionDataBatchRequest.md +0 -13
  99. package/docs/SubmissionDataRequest.md +0 -78
  100. package/docs/Template.md +0 -40
  101. package/docs/TemplateData.md +0 -36
  102. package/docs/TemplatestemplateIdaddFieldsFields.md +0 -286
  103. package/docs/UpdateDataRequestResponse.md +0 -21
  104. package/docs/UpdateSubmissionDataRequestData.md +0 -60
  105. package/docs/UpdateTemplateData.md +0 -8
  106. package/docs/UpdateTemplateResponse.md +0 -20
  107. package/docs/UploadTemplateData.md +0 -49
  108. package/docs/UploadTemplateDataDocument.md +0 -19
  109. package/docs/UploadTemplateDataDocumentMetadata.md +0 -19
  110. package/git_push.sh +0 -52
  111. package/mocha.opts +0 -1
  112. package/src/ApiClient.js +0 -605
  113. package/src/api/Client.js +0 -395
  114. package/src/api/PDFApi.js +0 -1722
  115. package/src/index.js +0 -334
  116. package/src/model/AddFieldsData.js +0 -82
  117. package/src/model/AddFieldsTemplateResponse.js +0 -114
  118. package/src/model/AuthenticationError.js +0 -102
  119. package/src/model/AuthenticationSuccessResponse.js +0 -93
  120. package/src/model/CombinePdfsData.js +0 -122
  121. package/src/model/CombinedSubmission.js +0 -183
  122. package/src/model/CombinedSubmissionAction.js +0 -198
  123. package/src/model/CombinedSubmissionData.js +0 -114
  124. package/src/model/CopyTemplateData.js +0 -90
  125. package/src/model/CreateCombinedSubmissionResponse.js +0 -114
  126. package/src/model/CreateCustomFileData.js +0 -82
  127. package/src/model/CreateCustomFileResponse.js +0 -114
  128. package/src/model/CreateFolderData.js +0 -82
  129. package/src/model/CreateHtmlTemplateData.js +0 -82
  130. package/src/model/CreateSubmissionBatchResponse.js +0 -130
  131. package/src/model/CreateSubmissionBatchSubmissionsResponse.js +0 -119
  132. package/src/model/CreateSubmissionDataRequestData.js +0 -256
  133. package/src/model/CreateSubmissionDataRequestTokenResponse.js +0 -114
  134. package/src/model/CreateSubmissionDataRequestTokenResponseToken.js +0 -105
  135. package/src/model/CreateSubmissionResponse.js +0 -114
  136. package/src/model/CreateTemplateFromUploadData.js +0 -82
  137. package/src/model/CustomFile.js +0 -89
  138. package/src/model/Error.js +0 -103
  139. package/src/model/Folder.js +0 -105
  140. package/src/model/FoldersFolder.js +0 -89
  141. package/src/model/FullTemplate.js +0 -407
  142. package/src/model/FullTemplateDefaults.js +0 -97
  143. package/src/model/HtmlTemplateData.js +0 -248
  144. package/src/model/InvalidRequest.js +0 -103
  145. package/src/model/ListSubmissionsResponse.js +0 -97
  146. package/src/model/MoveFolderData.js +0 -81
  147. package/src/model/MoveTemplateData.js +0 -82
  148. package/src/model/PendingTemplate.js +0 -231
  149. package/src/model/RenameFolderData.js +0 -82
  150. package/src/model/Submission.js +0 -291
  151. package/src/model/SubmissionAction.js +0 -198
  152. package/src/model/SubmissionBatch.js +0 -167
  153. package/src/model/SubmissionBatchData.js +0 -106
  154. package/src/model/SubmissionData.js +0 -138
  155. package/src/model/SubmissionDataBatchRequest.js +0 -121
  156. package/src/model/SubmissionDataRequest.js +0 -337
  157. package/src/model/Template.js +0 -255
  158. package/src/model/TemplateData.js +0 -223
  159. package/src/model/TemplatestemplateIdaddFieldsFields.js +0 -1128
  160. package/src/model/UpdateDataRequestResponse.js +0 -114
  161. package/src/model/UpdateSubmissionDataRequestData.js +0 -256
  162. package/src/model/UpdateTemplateData.js +0 -82
  163. package/src/model/UpdateTemplateResponse.js +0 -106
  164. package/src/model/UploadTemplateData.js +0 -256
  165. package/src/model/UploadTemplateDataDocument.js +0 -109
  166. package/src/model/UploadTemplateDataDocumentMetadata.js +0 -109
  167. package/test/api/ClientIntegration.spec.js +0 -275
  168. package/test/api/PDFApi.spec.js.original +0 -395
  169. package/test/api/PDFApiIntegration.spec.js +0 -301
  170. package/test/model/AddFieldsData.spec.js +0 -67
  171. package/test/model/AddFieldsTemplateResponse.spec.js +0 -79
  172. package/test/model/AuthenticationError.spec.js +0 -73
  173. package/test/model/AuthenticationSuccessResponse.spec.js +0 -67
  174. package/test/model/CombinePdfsData.spec.js +0 -97
  175. package/test/model/CombinedSubmission.spec.js +0 -127
  176. package/test/model/CombinedSubmissionAction.spec.js +0 -97
  177. package/test/model/CombinedSubmissionData.spec.js +0 -91
  178. package/test/model/CopyTemplateData.spec.js +0 -73
  179. package/test/model/CreateCombinedSubmissionResponse.spec.js +0 -79
  180. package/test/model/CreateCustomFileData.spec.js +0 -67
  181. package/test/model/CreateCustomFileResponse.spec.js +0 -79
  182. package/test/model/CreateFolderData.spec.js +0 -67
  183. package/test/model/CreateHtmlTemplateData.spec.js +0 -67
  184. package/test/model/CreateSubmissionBatchResponse.spec.js +0 -91
  185. package/test/model/CreateSubmissionBatchSubmissionsResponse.spec.js +0 -79
  186. package/test/model/CreateSubmissionDataRequestData.spec.js +0 -139
  187. package/test/model/CreateSubmissionDataRequestTokenResponse.spec.js +0 -79
  188. package/test/model/CreateSubmissionDataRequestTokenResponseToken.spec.js +0 -85
  189. package/test/model/CreateSubmissionResponse.spec.js +0 -79
  190. package/test/model/CreateTemplateFromUploadData.spec.js +0 -67
  191. package/test/model/CustomFile.spec.js +0 -73
  192. package/test/model/Error.spec.js +0 -73
  193. package/test/model/Folder.spec.js +0 -85
  194. package/test/model/FoldersFolder.spec.js +0 -73
  195. package/test/model/FullTemplate.spec.js +0 -295
  196. package/test/model/FullTemplateDefaults.spec.js +0 -79
  197. package/test/model/HtmlTemplateData.spec.js +0 -163
  198. package/test/model/InvalidRequest.spec.js +0 -73
  199. package/test/model/ListSubmissionsResponse.spec.js +0 -79
  200. package/test/model/MoveFolderData.spec.js +0 -67
  201. package/test/model/MoveTemplateData.spec.js +0 -67
  202. package/test/model/PendingTemplate.spec.js +0 -163
  203. package/test/model/RenameFolderData.spec.js +0 -67
  204. package/test/model/Submission.spec.js +0 -175
  205. package/test/model/SubmissionAction.spec.js +0 -97
  206. package/test/model/SubmissionBatch.spec.js +0 -115
  207. package/test/model/SubmissionBatchData.spec.js +0 -85
  208. package/test/model/SubmissionData.spec.js +0 -109
  209. package/test/model/SubmissionDataBatchRequest.spec.js +0 -97
  210. package/test/model/SubmissionDataRequest.spec.js +0 -181
  211. package/test/model/Template.spec.js +0 -181
  212. package/test/model/TemplateData.spec.js +0 -157
  213. package/test/model/TemplatestemplateIdaddFieldsFields.spec.js +0 -577
  214. package/test/model/UpdateDataRequestResponse.spec.js +0 -79
  215. package/test/model/UpdateSubmissionDataRequestData.spec.js +0 -139
  216. package/test/model/UpdateTemplateData.spec.js +0 -67
  217. package/test/model/UpdateTemplateResponse.spec.js +0 -73
  218. package/test/model/UploadTemplateData.spec.js +0 -169
  219. package/test/model/UploadTemplateDataDocument.spec.js +0 -79
  220. package/test/model/UploadTemplateDataDocumentMetadata.spec.js +0 -79
  221. package/yarn.lock +0 -263
@@ -1,181 +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.SubmissionDataRequest();
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('SubmissionDataRequest', function() {
53
- it('should create an instance of SubmissionDataRequest', function() {
54
- // uncomment below and update the code to test SubmissionDataRequest
55
- //var instance = new DocSpring.SubmissionDataRequest();
56
- //expect(instance).to.be.a(DocSpring.SubmissionDataRequest);
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.SubmissionDataRequest();
62
- //expect(instance).to.be();
63
- });
64
-
65
- it('should have the property name (base name: "name")', function() {
66
- // uncomment below and update the code to test the property name
67
- //var instance = new DocSpring.SubmissionDataRequest();
68
- //expect(instance).to.be();
69
- });
70
-
71
- it('should have the property email (base name: "email")', function() {
72
- // uncomment below and update the code to test the property email
73
- //var instance = new DocSpring.SubmissionDataRequest();
74
- //expect(instance).to.be();
75
- });
76
-
77
- it('should have the property order (base name: "order")', function() {
78
- // uncomment below and update the code to test the property order
79
- //var instance = new DocSpring.SubmissionDataRequest();
80
- //expect(instance).to.be();
81
- });
82
-
83
- it('should have the property sortOrder (base name: "sort_order")', function() {
84
- // uncomment below and update the code to test the property sortOrder
85
- //var instance = new DocSpring.SubmissionDataRequest();
86
- //expect(instance).to.be();
87
- });
88
-
89
- it('should have the property fields (base name: "fields")', function() {
90
- // uncomment below and update the code to test the property fields
91
- //var instance = new DocSpring.SubmissionDataRequest();
92
- //expect(instance).to.be();
93
- });
94
-
95
- it('should have the property metadata (base name: "metadata")', function() {
96
- // uncomment below and update the code to test the property metadata
97
- //var instance = new DocSpring.SubmissionDataRequest();
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.SubmissionDataRequest();
104
- //expect(instance).to.be();
105
- });
106
-
107
- it('should have the property viewedAt (base name: "viewed_at")', function() {
108
- // uncomment below and update the code to test the property viewedAt
109
- //var instance = new DocSpring.SubmissionDataRequest();
110
- //expect(instance).to.be();
111
- });
112
-
113
- it('should have the property completedAt (base name: "completed_at")', function() {
114
- // uncomment below and update the code to test the property completedAt
115
- //var instance = new DocSpring.SubmissionDataRequest();
116
- //expect(instance).to.be();
117
- });
118
-
119
- it('should have the property authType (base name: "auth_type")', function() {
120
- // uncomment below and update the code to test the property authType
121
- //var instance = new DocSpring.SubmissionDataRequest();
122
- //expect(instance).to.be();
123
- });
124
-
125
- it('should have the property authSecondFactorType (base name: "auth_second_factor_type")', function() {
126
- // uncomment below and update the code to test the property authSecondFactorType
127
- //var instance = new DocSpring.SubmissionDataRequest();
128
- //expect(instance).to.be();
129
- });
130
-
131
- it('should have the property authProvider (base name: "auth_provider")', function() {
132
- // uncomment below and update the code to test the property authProvider
133
- //var instance = new DocSpring.SubmissionDataRequest();
134
- //expect(instance).to.be();
135
- });
136
-
137
- it('should have the property authSessionStartedAt (base name: "auth_session_started_at")', function() {
138
- // uncomment below and update the code to test the property authSessionStartedAt
139
- //var instance = new DocSpring.SubmissionDataRequest();
140
- //expect(instance).to.be();
141
- });
142
-
143
- it('should have the property authSessionIdHash (base name: "auth_session_id_hash")', function() {
144
- // uncomment below and update the code to test the property authSessionIdHash
145
- //var instance = new DocSpring.SubmissionDataRequest();
146
- //expect(instance).to.be();
147
- });
148
-
149
- it('should have the property authUserIdHash (base name: "auth_user_id_hash")', function() {
150
- // uncomment below and update the code to test the property authUserIdHash
151
- //var instance = new DocSpring.SubmissionDataRequest();
152
- //expect(instance).to.be();
153
- });
154
-
155
- it('should have the property authUsernameHash (base name: "auth_username_hash")', function() {
156
- // uncomment below and update the code to test the property authUsernameHash
157
- //var instance = new DocSpring.SubmissionDataRequest();
158
- //expect(instance).to.be();
159
- });
160
-
161
- it('should have the property authPhoneNumberHash (base name: "auth_phone_number_hash")', function() {
162
- // uncomment below and update the code to test the property authPhoneNumberHash
163
- //var instance = new DocSpring.SubmissionDataRequest();
164
- //expect(instance).to.be();
165
- });
166
-
167
- it('should have the property ipAddress (base name: "ip_address")', function() {
168
- // uncomment below and update the code to test the property ipAddress
169
- //var instance = new DocSpring.SubmissionDataRequest();
170
- //expect(instance).to.be();
171
- });
172
-
173
- it('should have the property userAgent (base name: "user_agent")', function() {
174
- // uncomment below and update the code to test the property userAgent
175
- //var instance = new DocSpring.SubmissionDataRequest();
176
- //expect(instance).to.be();
177
- });
178
-
179
- });
180
-
181
- }));
@@ -1,181 +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.Template();
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('Template', function() {
53
- it('should create an instance of Template', function() {
54
- // uncomment below and update the code to test Template
55
- //var instance = new DocSpring.Template();
56
- //expect(instance).to.be.a(DocSpring.Template);
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.Template();
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.Template();
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.Template();
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.Template();
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.Template();
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.Template();
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.Template();
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.Template();
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.Template();
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.Template();
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.Template();
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.Template();
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.Template();
134
- //expect(instance).to.be();
135
- });
136
-
137
- it('should have the property permanentDocumentUrl (base name: "permanent_document_url")', function() {
138
- // uncomment below and update the code to test the property permanentDocumentUrl
139
- //var instance = new DocSpring.Template();
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.Template();
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.Template();
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.Template();
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.Template();
164
- //expect(instance).to.be();
165
- });
166
-
167
- it('should have the property redirectUrl (base name: "redirect_url")', function() {
168
- // uncomment below and update the code to test the property redirectUrl
169
- //var instance = new DocSpring.Template();
170
- //expect(instance).to.be();
171
- });
172
-
173
- it('should have the property documentUrl (base name: "document_url")', function() {
174
- // uncomment below and update the code to test the property documentUrl
175
- //var instance = new DocSpring.Template();
176
- //expect(instance).to.be();
177
- });
178
-
179
- });
180
-
181
- }));
@@ -1,157 +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.TemplateData();
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('TemplateData', function() {
53
- it('should create an instance of TemplateData', function() {
54
- // uncomment below and update the code to test TemplateData
55
- //var instance = new DocSpring.TemplateData();
56
- //expect(instance).to.be.a(DocSpring.TemplateData);
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.TemplateData();
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.TemplateData();
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.TemplateData();
74
- //expect(instance).to.be();
75
- });
76
-
77
- it('should have the property allowAdditionalProperties (base name: "allow_additional_properties")', function() {
78
- // uncomment below and update the code to test the property allowAdditionalProperties
79
- //var instance = new DocSpring.TemplateData();
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.TemplateData();
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.TemplateData();
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.TemplateData();
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.TemplateData();
104
- //expect(instance).to.be();
105
- });
106
-
107
- it('should have the property headerHtml (base name: "header_html")', function() {
108
- // uncomment below and update the code to test the property headerHtml
109
- //var instance = new DocSpring.TemplateData();
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.TemplateData();
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.TemplateData();
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.TemplateData();
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.TemplateData();
134
- //expect(instance).to.be();
135
- });
136
-
137
- it('should have the property footerHtml (base name: "footer_html")', function() {
138
- // uncomment below and update the code to test the property footerHtml
139
- //var instance = new DocSpring.TemplateData();
140
- //expect(instance).to.be();
141
- });
142
-
143
- it('should have the property html (base name: "html")', function() {
144
- // uncomment below and update the code to test the property html
145
- //var instance = new DocSpring.TemplateData();
146
- //expect(instance).to.be();
147
- });
148
-
149
- it('should have the property redirectUrl (base name: "redirect_url")', function() {
150
- // uncomment below and update the code to test the property redirectUrl
151
- //var instance = new DocSpring.TemplateData();
152
- //expect(instance).to.be();
153
- });
154
-
155
- });
156
-
157
- }));