docspring 1.3.2 → 1.4.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 (65) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/README.md +3 -3
  3. package/docs/{Template1.md → FullTemplate.md} +2 -2
  4. package/docs/{Template1Defaults.md → FullTemplateDefaults.md} +1 -1
  5. package/docs/PDFApi.md +2 -2
  6. package/docs/TemplatestemplateIdaddFieldsFields.md +1 -0
  7. package/package.json +1 -1
  8. package/src/ApiClient.js +1 -1
  9. package/src/api/PDFApi.js +8 -8
  10. package/src/index.js +14 -14
  11. package/src/model/AddFieldsData.js +1 -1
  12. package/src/model/AddFieldsTemplateResponse.js +1 -1
  13. package/src/model/AuthenticationError.js +1 -1
  14. package/src/model/AuthenticationSuccessResponse.js +1 -1
  15. package/src/model/CombinePdfsData.js +1 -1
  16. package/src/model/CombinedSubmission.js +1 -1
  17. package/src/model/CombinedSubmissionAction.js +1 -1
  18. package/src/model/CombinedSubmissionData.js +1 -1
  19. package/src/model/CopyTemplateData.js +1 -1
  20. package/src/model/CreateCombinedSubmissionResponse.js +1 -1
  21. package/src/model/CreateCustomFileData.js +1 -1
  22. package/src/model/CreateCustomFileResponse.js +1 -1
  23. package/src/model/CreateFolderData.js +1 -1
  24. package/src/model/CreateHtmlTemplateData.js +1 -1
  25. package/src/model/CreateSubmissionBatchResponse.js +1 -1
  26. package/src/model/CreateSubmissionBatchSubmissionsResponse.js +1 -1
  27. package/src/model/CreateSubmissionDataRequestData.js +1 -1
  28. package/src/model/CreateSubmissionDataRequestTokenResponse.js +1 -1
  29. package/src/model/CreateSubmissionDataRequestTokenResponseToken.js +1 -1
  30. package/src/model/CreateSubmissionResponse.js +1 -1
  31. package/src/model/CreateTemplateFromUploadData.js +1 -1
  32. package/src/model/CustomFile.js +1 -1
  33. package/src/model/Error.js +1 -1
  34. package/src/model/Folder.js +1 -1
  35. package/src/model/FoldersFolder.js +1 -1
  36. package/src/model/{Template1.js → FullTemplate.js} +15 -15
  37. package/src/model/{Template1Defaults.js → FullTemplateDefaults.js} +9 -9
  38. package/src/model/HtmlTemplateData.js +1 -1
  39. package/src/model/InvalidRequest.js +1 -1
  40. package/src/model/ListSubmissionsResponse.js +1 -1
  41. package/src/model/MoveFolderData.js +1 -1
  42. package/src/model/MoveTemplateData.js +1 -1
  43. package/src/model/PendingTemplate.js +1 -1
  44. package/src/model/RenameFolderData.js +1 -1
  45. package/src/model/Submission.js +1 -1
  46. package/src/model/SubmissionAction.js +1 -1
  47. package/src/model/SubmissionBatch.js +1 -1
  48. package/src/model/SubmissionBatchData.js +1 -1
  49. package/src/model/SubmissionData.js +1 -1
  50. package/src/model/SubmissionDataBatchRequest.js +1 -1
  51. package/src/model/SubmissionDataRequest.js +1 -1
  52. package/src/model/Template.js +1 -1
  53. package/src/model/TemplateData.js +1 -1
  54. package/src/model/TemplatestemplateIdaddFieldsFields.js +9 -1
  55. package/src/model/UpdateDataRequestResponse.js +1 -1
  56. package/src/model/UpdateSubmissionDataRequestData.js +1 -1
  57. package/src/model/UpdateTemplateData.js +1 -1
  58. package/src/model/UpdateTemplateResponse.js +1 -1
  59. package/src/model/UploadTemplateData.js +1 -1
  60. package/src/model/UploadTemplateDataDocument.js +1 -1
  61. package/src/model/UploadTemplateDataDocumentMetadata.js +1 -1
  62. package/test/api/ClientIntegration.spec.js +18 -2
  63. package/test/model/{Template1.spec.js → FullTemplate.spec.js} +45 -45
  64. package/test/model/{Template1Defaults.spec.js → FullTemplateDefaults.spec.js} +9 -9
  65. package/test/model/TemplatestemplateIdaddFieldsFields.spec.js +6 -0
@@ -25,7 +25,7 @@
25
25
  if (!root.DocSpring) {
26
26
  root.DocSpring = {};
27
27
  }
28
- root.DocSpring.Template1Defaults = factory(root.DocSpring.ApiClient);
28
+ root.DocSpring.FullTemplateDefaults = factory(root.DocSpring.ApiClient);
29
29
  }
30
30
  }(this, function(ApiClient) {
31
31
  'use strict';
@@ -34,14 +34,14 @@
34
34
 
35
35
 
36
36
  /**
37
- * The Template1Defaults model module.
38
- * @module model/Template1Defaults
39
- * @version 1.3.2
37
+ * The FullTemplateDefaults model module.
38
+ * @module model/FullTemplateDefaults
39
+ * @version 1.4.0
40
40
  */
41
41
 
42
42
  /**
43
- * Constructs a new <code>Template1Defaults</code>.
44
- * @alias module:model/Template1Defaults
43
+ * Constructs a new <code>FullTemplateDefaults</code>.
44
+ * @alias module:model/FullTemplateDefaults
45
45
  * @class
46
46
  */
47
47
  var exports = function() {
@@ -53,11 +53,11 @@
53
53
  };
54
54
 
55
55
  /**
56
- * Constructs a <code>Template1Defaults</code> from a plain JavaScript object, optionally creating a new instance.
56
+ * Constructs a <code>FullTemplateDefaults</code> from a plain JavaScript object, optionally creating a new instance.
57
57
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
58
58
  * @param {Object} data The plain JavaScript object bearing properties of interest.
59
- * @param {module:model/Template1Defaults} obj Optional instance to populate.
60
- * @return {module:model/Template1Defaults} The populated <code>Template1Defaults</code> instance.
59
+ * @param {module:model/FullTemplateDefaults} obj Optional instance to populate.
60
+ * @return {module:model/FullTemplateDefaults} The populated <code>FullTemplateDefaults</code> instance.
61
61
  */
62
62
  exports.constructFromObject = function(data, obj) {
63
63
  if (data) {
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The HtmlTemplateData model module.
38
38
  * @module model/HtmlTemplateData
39
- * @version 1.3.2
39
+ * @version 1.4.0
40
40
  */
41
41
 
42
42
  /**
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The InvalidRequest model module.
38
38
  * @module model/InvalidRequest
39
- * @version 1.3.2
39
+ * @version 1.4.0
40
40
  */
41
41
 
42
42
  /**
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The ListSubmissionsResponse model module.
38
38
  * @module model/ListSubmissionsResponse
39
- * @version 1.3.2
39
+ * @version 1.4.0
40
40
  */
41
41
 
42
42
  /**
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The MoveFolderData model module.
38
38
  * @module model/MoveFolderData
39
- * @version 1.3.2
39
+ * @version 1.4.0
40
40
  */
41
41
 
42
42
  /**
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The MoveTemplateData model module.
38
38
  * @module model/MoveTemplateData
39
- * @version 1.3.2
39
+ * @version 1.4.0
40
40
  */
41
41
 
42
42
  /**
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The PendingTemplate model module.
38
38
  * @module model/PendingTemplate
39
- * @version 1.3.2
39
+ * @version 1.4.0
40
40
  */
41
41
 
42
42
  /**
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The RenameFolderData model module.
38
38
  * @module model/RenameFolderData
39
- * @version 1.3.2
39
+ * @version 1.4.0
40
40
  */
41
41
 
42
42
  /**
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The Submission model module.
38
38
  * @module model/Submission
39
- * @version 1.3.2
39
+ * @version 1.4.0
40
40
  */
41
41
 
42
42
  /**
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The SubmissionAction model module.
38
38
  * @module model/SubmissionAction
39
- * @version 1.3.2
39
+ * @version 1.4.0
40
40
  */
41
41
 
42
42
  /**
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The SubmissionBatch model module.
38
38
  * @module model/SubmissionBatch
39
- * @version 1.3.2
39
+ * @version 1.4.0
40
40
  */
41
41
 
42
42
  /**
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The SubmissionBatchData model module.
38
38
  * @module model/SubmissionBatchData
39
- * @version 1.3.2
39
+ * @version 1.4.0
40
40
  */
41
41
 
42
42
  /**
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The SubmissionData model module.
38
38
  * @module model/SubmissionData
39
- * @version 1.3.2
39
+ * @version 1.4.0
40
40
  */
41
41
 
42
42
  /**
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The SubmissionDataBatchRequest model module.
38
38
  * @module model/SubmissionDataBatchRequest
39
- * @version 1.3.2
39
+ * @version 1.4.0
40
40
  */
41
41
 
42
42
  /**
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The SubmissionDataRequest model module.
38
38
  * @module model/SubmissionDataRequest
39
- * @version 1.3.2
39
+ * @version 1.4.0
40
40
  */
41
41
 
42
42
  /**
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The Template model module.
38
38
  * @module model/Template
39
- * @version 1.3.2
39
+ * @version 1.4.0
40
40
  */
41
41
 
42
42
  /**
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The TemplateData model module.
38
38
  * @module model/TemplateData
39
- * @version 1.3.2
39
+ * @version 1.4.0
40
40
  */
41
41
 
42
42
  /**
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The TemplatestemplateIdaddFieldsFields model module.
38
38
  * @module model/TemplatestemplateIdaddFieldsFields
39
- * @version 1.3.2
39
+ * @version 1.4.0
40
40
  */
41
41
 
42
42
  /**
@@ -130,6 +130,7 @@
130
130
 
131
131
 
132
132
 
133
+
133
134
 
134
135
 
135
136
  };
@@ -334,6 +335,9 @@
334
335
  if (data.hasOwnProperty('falseText')) {
335
336
  obj['falseText'] = ApiClient.convertToType(data['falseText'], 'String');
336
337
  }
338
+ if (data.hasOwnProperty('placeholder')) {
339
+ obj['placeholder'] = ApiClient.convertToType(data['placeholder'], 'String');
340
+ }
337
341
  if (data.hasOwnProperty('strikethrough')) {
338
342
  obj['strikethrough'] = ApiClient.convertToType(data['strikethrough'], 'Boolean');
339
343
  }
@@ -656,6 +660,10 @@
656
660
  * @member {String} falseText
657
661
  */
658
662
  exports.prototype['falseText'] = undefined;
663
+ /**
664
+ * @member {String} placeholder
665
+ */
666
+ exports.prototype['placeholder'] = undefined;
659
667
  /**
660
668
  * @member {Boolean} strikethrough
661
669
  */
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The UpdateDataRequestResponse model module.
38
38
  * @module model/UpdateDataRequestResponse
39
- * @version 1.3.2
39
+ * @version 1.4.0
40
40
  */
41
41
 
42
42
  /**
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The UpdateSubmissionDataRequestData model module.
38
38
  * @module model/UpdateSubmissionDataRequestData
39
- * @version 1.3.2
39
+ * @version 1.4.0
40
40
  */
41
41
 
42
42
  /**
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The UpdateTemplateData model module.
38
38
  * @module model/UpdateTemplateData
39
- * @version 1.3.2
39
+ * @version 1.4.0
40
40
  */
41
41
 
42
42
  /**
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The UpdateTemplateResponse model module.
38
38
  * @module model/UpdateTemplateResponse
39
- * @version 1.3.2
39
+ * @version 1.4.0
40
40
  */
41
41
 
42
42
  /**
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The UploadTemplateData model module.
38
38
  * @module model/UploadTemplateData
39
- * @version 1.3.2
39
+ * @version 1.4.0
40
40
  */
41
41
 
42
42
  /**
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The UploadTemplateDataDocument model module.
38
38
  * @module model/UploadTemplateDataDocument
39
- * @version 1.3.2
39
+ * @version 1.4.0
40
40
  */
41
41
 
42
42
  /**
@@ -36,7 +36,7 @@
36
36
  /**
37
37
  * The UploadTemplateDataDocumentMetadata model module.
38
38
  * @module model/UploadTemplateDataDocumentMetadata
39
- * @version 1.3.2
39
+ * @version 1.4.0
40
40
  */
41
41
 
42
42
  /**
@@ -157,9 +157,7 @@
157
157
  done()
158
158
  })
159
159
  })
160
- })
161
160
 
162
- describe('generatePDF', function () {
163
161
  it('should call generatePDF and not wait for the PDF', function (done) {
164
162
  this.timeout(10000)
165
163
  var template_id = 'tpl_000000000000000001'
@@ -198,6 +196,24 @@
198
196
  })
199
197
  })
200
198
 
199
+ describe('getTemplate', function () {
200
+ it('should call getTemplate successfully', function (done) {
201
+ this.timeout(10000)
202
+ var template_id = 'tpl_000000000000000001'
203
+
204
+ docspring.getTemplate(template_id, function (error, template) {
205
+ if (error) {
206
+ console.log(template, error)
207
+ throw error
208
+ }
209
+ expect(template.id).to.be(template_id)
210
+ expect(template.name).to.be('API Client Test Template 1')
211
+ expect(template.template_type).to.be('pdf')
212
+ done()
213
+ })
214
+ })
215
+ })
216
+
201
217
  describe('updateTemplate', function () {
202
218
  it('should call updateTemplate successfully', function (done) {
203
219
  this.timeout(10000)
@@ -30,7 +30,7 @@
30
30
  var instance;
31
31
 
32
32
  beforeEach(function() {
33
- instance = new DocSpring.Template1();
33
+ instance = new DocSpring.FullTemplate();
34
34
  });
35
35
 
36
36
  var getProperty = function(object, getter, property) {
@@ -49,244 +49,244 @@
49
49
  object[property] = value;
50
50
  }
51
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);
52
+ describe('FullTemplate', function() {
53
+ it('should create an instance of FullTemplate', function() {
54
+ // uncomment below and update the code to test FullTemplate
55
+ //var instance = new DocSpring.FullTemplate();
56
+ //expect(instance).to.be.a(DocSpring.FullTemplate);
57
57
  });
58
58
 
59
59
  it('should have the property documentProcessed (base name: "document_processed")', function() {
60
60
  // uncomment below and update the code to test the property documentProcessed
61
- //var instance = new DocSpring.Template1();
61
+ //var instance = new DocSpring.FullTemplate();
62
62
  //expect(instance).to.be();
63
63
  });
64
64
 
65
65
  it('should have the property expirationInterval (base name: "expiration_interval")', function() {
66
66
  // uncomment below and update the code to test the property expirationInterval
67
- //var instance = new DocSpring.Template1();
67
+ //var instance = new DocSpring.FullTemplate();
68
68
  //expect(instance).to.be();
69
69
  });
70
70
 
71
71
  it('should have the property scss (base name: "scss")', function() {
72
72
  // uncomment below and update the code to test the property scss
73
- //var instance = new DocSpring.Template1();
73
+ //var instance = new DocSpring.FullTemplate();
74
74
  //expect(instance).to.be();
75
75
  });
76
76
 
77
77
  it('should have the property documentState (base name: "document_state")', function() {
78
78
  // uncomment below and update the code to test the property documentState
79
- //var instance = new DocSpring.Template1();
79
+ //var instance = new DocSpring.FullTemplate();
80
80
  //expect(instance).to.be();
81
81
  });
82
82
 
83
83
  it('should have the property expireAfter (base name: "expire_after")', function() {
84
84
  // uncomment below and update the code to test the property expireAfter
85
- //var instance = new DocSpring.Template1();
85
+ //var instance = new DocSpring.FullTemplate();
86
86
  //expect(instance).to.be();
87
87
  });
88
88
 
89
89
  it('should have the property description (base name: "description")', function() {
90
90
  // uncomment below and update the code to test the property description
91
- //var instance = new DocSpring.Template1();
91
+ //var instance = new DocSpring.FullTemplate();
92
92
  //expect(instance).to.be();
93
93
  });
94
94
 
95
95
  it('should have the property slackWebhookUrl (base name: "slack_webhook_url")', function() {
96
96
  // uncomment below and update the code to test the property slackWebhookUrl
97
- //var instance = new DocSpring.Template1();
97
+ //var instance = new DocSpring.FullTemplate();
98
98
  //expect(instance).to.be();
99
99
  });
100
100
 
101
101
  it('should have the property demo (base name: "demo")', function() {
102
102
  // uncomment below and update the code to test the property demo
103
- //var instance = new DocSpring.Template1();
103
+ //var instance = new DocSpring.FullTemplate();
104
104
  //expect(instance).to.be();
105
105
  });
106
106
 
107
107
  it('should have the property path (base name: "path")', function() {
108
108
  // uncomment below and update the code to test the property path
109
- //var instance = new DocSpring.Template1();
109
+ //var instance = new DocSpring.FullTemplate();
110
110
  //expect(instance).to.be();
111
111
  });
112
112
 
113
113
  it('should have the property headerHtml (base name: "header_html")', function() {
114
114
  // uncomment below and update the code to test the property headerHtml
115
- //var instance = new DocSpring.Template1();
115
+ //var instance = new DocSpring.FullTemplate();
116
116
  //expect(instance).to.be();
117
117
  });
118
118
 
119
119
  it('should have the property publicWebForm (base name: "public_web_form")', function() {
120
120
  // uncomment below and update the code to test the property publicWebForm
121
- //var instance = new DocSpring.Template1();
121
+ //var instance = new DocSpring.FullTemplate();
122
122
  //expect(instance).to.be();
123
123
  });
124
124
 
125
125
  it('should have the property fieldOrder (base name: "field_order")', function() {
126
126
  // uncomment below and update the code to test the property fieldOrder
127
- //var instance = new DocSpring.Template1();
127
+ //var instance = new DocSpring.FullTemplate();
128
128
  //expect(instance).to.be();
129
129
  });
130
130
 
131
131
  it('should have the property permanentDocumentUrl (base name: "permanent_document_url")', function() {
132
132
  // uncomment below and update the code to test the property permanentDocumentUrl
133
- //var instance = new DocSpring.Template1();
133
+ //var instance = new DocSpring.FullTemplate();
134
134
  //expect(instance).to.be();
135
135
  });
136
136
 
137
137
  it('should have the property html (base name: "html")', function() {
138
138
  // uncomment below and update the code to test the property html
139
- //var instance = new DocSpring.Template1();
139
+ //var instance = new DocSpring.FullTemplate();
140
140
  //expect(instance).to.be();
141
141
  });
142
142
 
143
143
  it('should have the property templateType (base name: "template_type")', function() {
144
144
  // uncomment below and update the code to test the property templateType
145
- //var instance = new DocSpring.Template1();
145
+ //var instance = new DocSpring.FullTemplate();
146
146
  //expect(instance).to.be();
147
147
  });
148
148
 
149
149
  it('should have the property id (base name: "id")', function() {
150
150
  // uncomment below and update the code to test the property id
151
- //var instance = new DocSpring.Template1();
151
+ //var instance = new DocSpring.FullTemplate();
152
152
  //expect(instance).to.be();
153
153
  });
154
154
 
155
155
  it('should have the property pageDimensions (base name: "page_dimensions")', function() {
156
156
  // uncomment below and update the code to test the property pageDimensions
157
- //var instance = new DocSpring.Template1();
157
+ //var instance = new DocSpring.FullTemplate();
158
158
  //expect(instance).to.be();
159
159
  });
160
160
 
161
161
  it('should have the property locked (base name: "locked")', function() {
162
162
  // uncomment below and update the code to test the property locked
163
- //var instance = new DocSpring.Template1();
163
+ //var instance = new DocSpring.FullTemplate();
164
164
  //expect(instance).to.be();
165
165
  });
166
166
 
167
167
  it('should have the property pageCount (base name: "page_count")', function() {
168
168
  // uncomment below and update the code to test the property pageCount
169
- //var instance = new DocSpring.Template1();
169
+ //var instance = new DocSpring.FullTemplate();
170
170
  //expect(instance).to.be();
171
171
  });
172
172
 
173
173
  it('should have the property encryptPdfs (base name: "encrypt_pdfs")', function() {
174
174
  // uncomment below and update the code to test the property encryptPdfs
175
- //var instance = new DocSpring.Template1();
175
+ //var instance = new DocSpring.FullTemplate();
176
176
  //expect(instance).to.be();
177
177
  });
178
178
 
179
179
  it('should have the property webhookUrl (base name: "webhook_url")', function() {
180
180
  // uncomment below and update the code to test the property webhookUrl
181
- //var instance = new DocSpring.Template1();
181
+ //var instance = new DocSpring.FullTemplate();
182
182
  //expect(instance).to.be();
183
183
  });
184
184
 
185
185
  it('should have the property embedDomains (base name: "embed_domains")', function() {
186
186
  // uncomment below and update the code to test the property embedDomains
187
- //var instance = new DocSpring.Template1();
187
+ //var instance = new DocSpring.FullTemplate();
188
188
  //expect(instance).to.be();
189
189
  });
190
190
 
191
191
  it('should have the property parentFolderId (base name: "parent_folder_id")', function() {
192
192
  // uncomment below and update the code to test the property parentFolderId
193
- //var instance = new DocSpring.Template1();
193
+ //var instance = new DocSpring.FullTemplate();
194
194
  //expect(instance).to.be();
195
195
  });
196
196
 
197
197
  it('should have the property allowAdditionalProperties (base name: "allow_additional_properties")', function() {
198
198
  // uncomment below and update the code to test the property allowAdditionalProperties
199
- //var instance = new DocSpring.Template1();
199
+ //var instance = new DocSpring.FullTemplate();
200
200
  //expect(instance).to.be();
201
201
  });
202
202
 
203
203
  it('should have the property encryptPdfsPassword (base name: "encrypt_pdfs_password")', function() {
204
204
  // uncomment below and update the code to test the property encryptPdfsPassword
205
- //var instance = new DocSpring.Template1();
205
+ //var instance = new DocSpring.FullTemplate();
206
206
  //expect(instance).to.be();
207
207
  });
208
208
 
209
209
  it('should have the property publicSubmissions (base name: "public_submissions")', function() {
210
210
  // uncomment below and update the code to test the property publicSubmissions
211
- //var instance = new DocSpring.Template1();
211
+ //var instance = new DocSpring.FullTemplate();
212
212
  //expect(instance).to.be();
213
213
  });
214
214
 
215
215
  it('should have the property sharedFieldData (base name: "shared_field_data")', function() {
216
216
  // uncomment below and update the code to test the property sharedFieldData
217
- //var instance = new DocSpring.Template1();
217
+ //var instance = new DocSpring.FullTemplate();
218
218
  //expect(instance).to.be();
219
219
  });
220
220
 
221
221
  it('should have the property documentMd5 (base name: "document_md5")', function() {
222
222
  // uncomment below and update the code to test the property documentMd5
223
- //var instance = new DocSpring.Template1();
223
+ //var instance = new DocSpring.FullTemplate();
224
224
  //expect(instance).to.be();
225
225
  });
226
226
 
227
227
  it('should have the property firstTemplate (base name: "first_template")', function() {
228
228
  // uncomment below and update the code to test the property firstTemplate
229
- //var instance = new DocSpring.Template1();
229
+ //var instance = new DocSpring.FullTemplate();
230
230
  //expect(instance).to.be();
231
231
  });
232
232
 
233
233
  it('should have the property defaults (base name: "defaults")', function() {
234
234
  // uncomment below and update the code to test the property defaults
235
- //var instance = new DocSpring.Template1();
235
+ //var instance = new DocSpring.FullTemplate();
236
236
  //expect(instance).to.be();
237
237
  });
238
238
 
239
239
  it('should have the property editableSubmissions (base name: "editable_submissions")', function() {
240
240
  // uncomment below and update the code to test the property editableSubmissions
241
- //var instance = new DocSpring.Template1();
241
+ //var instance = new DocSpring.FullTemplate();
242
242
  //expect(instance).to.be();
243
243
  });
244
244
 
245
245
  it('should have the property expireSubmissions (base name: "expire_submissions")', function() {
246
246
  // uncomment below and update the code to test the property expireSubmissions
247
- //var instance = new DocSpring.Template1();
247
+ //var instance = new DocSpring.FullTemplate();
248
248
  //expect(instance).to.be();
249
249
  });
250
250
 
251
251
  it('should have the property name (base name: "name")', function() {
252
252
  // uncomment below and update the code to test the property name
253
- //var instance = new DocSpring.Template1();
253
+ //var instance = new DocSpring.FullTemplate();
254
254
  //expect(instance).to.be();
255
255
  });
256
256
 
257
257
  it('should have the property footerHtml (base name: "footer_html")', function() {
258
258
  // uncomment below and update the code to test the property footerHtml
259
- //var instance = new DocSpring.Template1();
259
+ //var instance = new DocSpring.FullTemplate();
260
260
  //expect(instance).to.be();
261
261
  });
262
262
 
263
263
  it('should have the property documentParseError (base name: "document_parse_error")', function() {
264
264
  // uncomment below and update the code to test the property documentParseError
265
- //var instance = new DocSpring.Template1();
265
+ //var instance = new DocSpring.FullTemplate();
266
266
  //expect(instance).to.be();
267
267
  });
268
268
 
269
269
  it('should have the property fields (base name: "fields")', function() {
270
270
  // uncomment below and update the code to test the property fields
271
- //var instance = new DocSpring.Template1();
271
+ //var instance = new DocSpring.FullTemplate();
272
272
  //expect(instance).to.be();
273
273
  });
274
274
 
275
275
  it('should have the property documentFilename (base name: "document_filename")', function() {
276
276
  // uncomment below and update the code to test the property documentFilename
277
- //var instance = new DocSpring.Template1();
277
+ //var instance = new DocSpring.FullTemplate();
278
278
  //expect(instance).to.be();
279
279
  });
280
280
 
281
281
  it('should have the property redirectUrl (base name: "redirect_url")', function() {
282
282
  // uncomment below and update the code to test the property redirectUrl
283
- //var instance = new DocSpring.Template1();
283
+ //var instance = new DocSpring.FullTemplate();
284
284
  //expect(instance).to.be();
285
285
  });
286
286
 
287
287
  it('should have the property documentUrl (base name: "document_url")', function() {
288
288
  // uncomment below and update the code to test the property documentUrl
289
- //var instance = new DocSpring.Template1();
289
+ //var instance = new DocSpring.FullTemplate();
290
290
  //expect(instance).to.be();
291
291
  });
292
292