docspring 4.2.0 → 4.3.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 (167) hide show
  1. package/AGENTS.md +2 -2
  2. package/README.md +7 -6
  3. package/dist/ApiClient.js +3 -3
  4. package/dist/RequestSchemas.js +19 -7
  5. package/dist/api/Client.js +53 -49
  6. package/dist/model/AddTemplateFieldsRequest.js +2 -2
  7. package/dist/model/AiFieldNamingLanguage.js +1 -1
  8. package/dist/model/AuthenticationCheck.js +2 -2
  9. package/dist/model/BarcodeSymbology.js +1 -1
  10. package/dist/model/CheckCharacter.js +1 -1
  11. package/dist/model/CombinedFieldType.js +1 -1
  12. package/dist/model/CombinedPdf.js +2 -2
  13. package/dist/model/CombinedPdfFiles.js +2 -2
  14. package/dist/model/CombinedPdfList.js +2 -2
  15. package/dist/model/CombinedPdfSource.js +2 -2
  16. package/dist/model/CombinedPdfSourceInput.js +2 -2
  17. package/dist/model/CombinedPdfSourcePdf.js +2 -2
  18. package/dist/model/CombinedPdfSourceType.js +1 -1
  19. package/dist/model/CombinedPdfState.js +1 -1
  20. package/dist/model/CopyTemplateRequest.js +2 -2
  21. package/dist/model/CreateCombinedPdfRequest.js +2 -2
  22. package/dist/model/CreateCustomFileFromUploadRequest.js +2 -2
  23. package/dist/model/CreateFolderRequest.js +2 -2
  24. package/dist/model/CreateSignatureRequestEventRequest.js +2 -2
  25. package/dist/model/CreateSignatureRequestTokenRequest.js +2 -2
  26. package/dist/model/CreateSubmissionBatchRequest.js +2 -2
  27. package/dist/model/CreateSubmissionRequest.js +5 -5
  28. package/dist/model/CreateTemplatePreviewRequest.js +2 -2
  29. package/dist/model/CreateTemplateRequest.js +22 -12
  30. package/dist/model/CreateWebhookRequest.js +2 -2
  31. package/dist/model/CustomFile.js +2 -2
  32. package/dist/model/CustomFileList.js +2 -2
  33. package/dist/model/CustomFileSourcePdf.js +2 -2
  34. package/dist/model/ErrorCode.js +1 -1
  35. package/dist/model/ErrorDetail.js +2 -2
  36. package/dist/model/ErrorInfo.js +4 -4
  37. package/dist/model/ErrorResponse.js +2 -2
  38. package/dist/model/ExpirationInterval.js +1 -1
  39. package/dist/model/Field.js +3 -3
  40. package/dist/model/FieldComparisonCondition.js +2 -2
  41. package/dist/model/FieldComparisonOperator.js +1 -1
  42. package/dist/model/FieldDependency.js +2 -2
  43. package/dist/model/FieldDependencyInput.js +2 -2
  44. package/dist/model/FieldDisplayType.js +1 -1
  45. package/dist/model/FieldEqualsCondition.js +2 -2
  46. package/dist/model/FieldEqualsOperator.js +1 -1
  47. package/dist/model/FieldGroup.js +6 -6
  48. package/dist/model/FieldGroupInput.js +3 -3
  49. package/dist/model/FieldGroupType.js +1 -1
  50. package/dist/model/FieldInCondition.js +2 -2
  51. package/dist/model/FieldInput.js +3 -3
  52. package/dist/model/FieldOverride.js +2 -2
  53. package/dist/model/FieldPresenceCondition.js +2 -2
  54. package/dist/model/FieldPresenceOperator.js +1 -1
  55. package/dist/model/FieldRangeCondition.js +2 -2
  56. package/dist/model/FieldReimportState.js +1 -1
  57. package/dist/model/FieldSetupLogic.js +1 -1
  58. package/dist/model/FieldSetupNaming.js +1 -1
  59. package/dist/model/FieldSetupSource.js +1 -1
  60. package/dist/model/FieldType.js +1 -1
  61. package/dist/model/Folder.js +2 -2
  62. package/dist/model/FolderList.js +2 -2
  63. package/dist/model/GenerateFilesFormat.js +16 -1
  64. package/dist/model/GenerateSubmissionFilesRequest.js +4 -4
  65. package/dist/model/GeneratedFile.js +7 -7
  66. package/dist/model/GeneratedFileState.js +1 -1
  67. package/dist/model/HtmlEngineOptions.js +2 -2
  68. package/dist/model/HtmlEngineOptionsInput.js +2 -2
  69. package/dist/model/ImageGravity.js +1 -1
  70. package/dist/model/ImageScaleType.js +1 -1
  71. package/dist/model/ModelCodeLanguage.js +7 -2
  72. package/dist/model/MoveFolderRequest.js +2 -2
  73. package/dist/model/MoveTemplateRequest.js +2 -2
  74. package/dist/model/NumberConditionType.js +1 -1
  75. package/dist/model/OutputFormat.js +11 -1
  76. package/dist/model/PageFormat.js +1 -1
  77. package/dist/model/PageImage.js +2 -2
  78. package/dist/model/PageImages.js +2 -2
  79. package/dist/model/PredefinedField.js +2 -2
  80. package/dist/model/PredefinedFieldInput.js +2 -2
  81. package/dist/model/PublishTemplateVersionRequest.js +2 -2
  82. package/dist/model/RemoveTemplateFieldsRequest.js +2 -2
  83. package/dist/model/RenameFolderRequest.js +2 -2
  84. package/dist/model/ReorderTemplateFieldsRequest.js +2 -2
  85. package/dist/model/RestoreTemplateVersionRequest.js +2 -2
  86. package/dist/model/ShapeType.js +1 -1
  87. package/dist/model/SignatureRequest.js +2 -2
  88. package/dist/model/SignatureRequestAuthSecondFactorType.js +1 -1
  89. package/dist/model/SignatureRequestAuthType.js +1 -1
  90. package/dist/model/SignatureRequestEvent.js +2 -2
  91. package/dist/model/SignatureRequestEventType.js +1 -1
  92. package/dist/model/SignatureRequestInput.js +2 -2
  93. package/dist/model/SignatureRequestMessageType.js +1 -1
  94. package/dist/model/SignatureRequestState.js +1 -1
  95. package/dist/model/SignatureRequestToken.js +2 -2
  96. package/dist/model/SignatureRequestTokenType.js +1 -1
  97. package/dist/model/StringConditionType.js +1 -1
  98. package/dist/model/Submission.js +11 -11
  99. package/dist/model/SubmissionAction.js +2 -2
  100. package/dist/model/SubmissionActionState.js +1 -1
  101. package/dist/model/SubmissionActionType.js +1 -1
  102. package/dist/model/SubmissionBatch.js +9 -9
  103. package/dist/model/SubmissionBatchState.js +1 -1
  104. package/dist/model/SubmissionFiles.js +20 -2
  105. package/dist/model/SubmissionInput.js +5 -5
  106. package/dist/model/SubmissionList.js +2 -2
  107. package/dist/model/SubmissionSource.js +1 -1
  108. package/dist/model/SubmissionSourcePdf.js +2 -2
  109. package/dist/model/SubmissionState.js +1 -1
  110. package/dist/model/SubmissionSummary.js +6 -6
  111. package/dist/model/SubmissionValidation.js +2 -2
  112. package/dist/model/Template.js +34 -22
  113. package/dist/model/TemplateActor.js +2 -2
  114. package/dist/model/TemplateActorType.js +1 -1
  115. package/dist/model/TemplateDefaults.js +2 -2
  116. package/dist/model/TemplateDefaultsInput.js +2 -2
  117. package/dist/model/TemplateDiff.js +6 -6
  118. package/dist/model/TemplateDiffSummary.js +2 -2
  119. package/dist/model/TemplateDocument.js +23 -23
  120. package/dist/model/TemplateDocumentState.js +12 -2
  121. package/dist/model/TemplateDocumentSummary.js +11 -11
  122. package/dist/model/TemplateFieldChange.js +2 -2
  123. package/dist/model/TemplateFieldChanges.js +2 -2
  124. package/dist/model/TemplateFieldDependency.js +2 -2
  125. package/dist/model/TemplateFieldDependencyAction.js +1 -1
  126. package/dist/model/TemplateFieldDependencyCondition.js +2 -2
  127. package/dist/model/TemplateFieldDependencyConditionInput.js +2 -2
  128. package/dist/model/TemplateFieldDependencyInput.js +2 -2
  129. package/dist/model/TemplateFieldDependencyMatch.js +1 -1
  130. package/dist/model/TemplateFieldDependencyOperator.js +1 -1
  131. package/dist/model/TemplateFieldLogicStatus.js +1 -1
  132. package/dist/model/TemplateFieldMove.js +2 -2
  133. package/dist/model/TemplateFields.js +2 -2
  134. package/dist/model/TemplateFormMode.js +1 -1
  135. package/dist/model/TemplateModelCode.js +2 -2
  136. package/dist/model/TemplatePageAiError.js +1 -1
  137. package/dist/model/TemplatePageAiNamingStatus.js +1 -1
  138. package/dist/model/TemplatePageFieldsStatus.js +1 -1
  139. package/dist/model/TemplatePageImageStatus.js +1 -1
  140. package/dist/model/TemplatePageImages.js +2 -2
  141. package/dist/model/TemplatePageProcessingStatus.js +2 -2
  142. package/dist/model/TemplatePreview.js +5 -5
  143. package/dist/model/TemplatePreviewState.js +1 -1
  144. package/dist/model/TemplateSourcePdf.js +2 -2
  145. package/dist/model/TemplateSummary.js +24 -12
  146. package/dist/model/TemplateSummaryList.js +2 -2
  147. package/dist/model/TemplateType.js +7 -2
  148. package/dist/model/TemplateVersion.js +2 -2
  149. package/dist/model/TemplateVersionType.js +1 -1
  150. package/dist/model/TextAlignment.js +1 -1
  151. package/dist/model/TextOverflow.js +1 -1
  152. package/dist/model/TextVerticalAlignment.js +1 -1
  153. package/dist/model/Typeface.js +1 -1
  154. package/dist/model/UpdateSignatureRequestRequest.js +2 -2
  155. package/dist/model/UpdateTemplateDocumentRequest.js +8 -8
  156. package/dist/model/UpdateTemplateFieldsRequest.js +2 -2
  157. package/dist/model/UpdateTemplateRequest.js +16 -6
  158. package/dist/model/UpdateWebhookRequest.js +2 -2
  159. package/dist/model/UploadMethod.js +1 -1
  160. package/dist/model/UploadPresign.js +2 -2
  161. package/dist/model/UrlSourcePdf.js +2 -2
  162. package/dist/model/ValidateSubmissionRequest.js +5 -5
  163. package/dist/model/Webhook.js +2 -2
  164. package/dist/model/WebhookEventType.js +1 -1
  165. package/dist/model/WebhookList.js +2 -2
  166. package/dist/model/WebhookMode.js +1 -1
  167. package/package.json +2 -2
@@ -20,7 +20,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
20
20
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
21
21
  function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
22
22
  * DocSpring API
23
- * Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
23
+ * Use DocSpring's API to fill PDF forms, generate PDFs and Word documents from HTML or Word templates, merge PDFs, and request legally binding e-signatures.
24
24
  *
25
25
  * The version of the OpenAPI document: v2
26
26
  *
@@ -33,7 +33,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
33
33
  /**
34
34
  * The CombinedPdf model module.
35
35
  * @module model/CombinedPdf
36
- * @version 4.2.0
36
+ * @version 4.3.0
37
37
  */
38
38
  var CombinedPdf = /*#__PURE__*/function () {
39
39
  /**
@@ -14,7 +14,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
14
14
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
15
15
  function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
16
16
  * DocSpring API
17
- * Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
17
+ * Use DocSpring's API to fill PDF forms, generate PDFs and Word documents from HTML or Word templates, merge PDFs, and request legally binding e-signatures.
18
18
  *
19
19
  * The version of the OpenAPI document: v2
20
20
  *
@@ -27,7 +27,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
27
27
  /**
28
28
  * The CombinedPdfFiles model module.
29
29
  * @module model/CombinedPdfFiles
30
- * @version 4.2.0
30
+ * @version 4.3.0
31
31
  */
32
32
  var CombinedPdfFiles = /*#__PURE__*/function () {
33
33
  /**
@@ -17,7 +17,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
17
17
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
18
  function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
19
19
  * DocSpring API
20
- * Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
20
+ * Use DocSpring's API to fill PDF forms, generate PDFs and Word documents from HTML or Word templates, merge PDFs, and request legally binding e-signatures.
21
21
  *
22
22
  * The version of the OpenAPI document: v2
23
23
  *
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
30
30
  /**
31
31
  * The CombinedPdfList model module.
32
32
  * @module model/CombinedPdfList
33
- * @version 4.2.0
33
+ * @version 4.3.0
34
34
  */
35
35
  var CombinedPdfList = /*#__PURE__*/function () {
36
36
  /**
@@ -17,7 +17,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
17
17
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
18
  function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
19
19
  * DocSpring API
20
- * Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
20
+ * Use DocSpring's API to fill PDF forms, generate PDFs and Word documents from HTML or Word templates, merge PDFs, and request legally binding e-signatures.
21
21
  *
22
22
  * The version of the OpenAPI document: v2
23
23
  *
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
30
30
  /**
31
31
  * The CombinedPdfSource model module.
32
32
  * @module model/CombinedPdfSource
33
- * @version 4.2.0
33
+ * @version 4.3.0
34
34
  */
35
35
  var CombinedPdfSource = /*#__PURE__*/function () {
36
36
  /**
@@ -20,7 +20,7 @@ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object
20
20
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
21
21
  function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
22
22
  * DocSpring API
23
- * Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
23
+ * Use DocSpring's API to fill PDF forms, generate PDFs and Word documents from HTML or Word templates, merge PDFs, and request legally binding e-signatures.
24
24
  *
25
25
  * The version of the OpenAPI document: v2
26
26
  *
@@ -33,7 +33,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
33
33
  /**
34
34
  * The CombinedPdfSourceInput model module.
35
35
  * @module model/CombinedPdfSourceInput
36
- * @version 4.2.0
36
+ * @version 4.3.0
37
37
  */
38
38
  var CombinedPdfSourceInput = /*#__PURE__*/function () {
39
39
  /**
@@ -16,7 +16,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
16
16
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
17
  function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
18
18
  * DocSpring API
19
- * Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
19
+ * Use DocSpring's API to fill PDF forms, generate PDFs and Word documents from HTML or Word templates, merge PDFs, and request legally binding e-signatures.
20
20
  *
21
21
  * The version of the OpenAPI document: v2
22
22
  *
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The CombinedPdfSourcePdf model module.
31
31
  * @module model/CombinedPdfSourcePdf
32
- * @version 4.2.0
32
+ * @version 4.3.0
33
33
  */
34
34
  var CombinedPdfSourcePdf = /*#__PURE__*/function () {
35
35
  /**
@@ -14,7 +14,7 @@ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object
14
14
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
15
15
  function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
16
16
  * DocSpring API
17
- * Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
17
+ * Use DocSpring's API to fill PDF forms, generate PDFs and Word documents from HTML or Word templates, merge PDFs, and request legally binding e-signatures.
18
18
  *
19
19
  * The version of the OpenAPI document: v2
20
20
  *
@@ -14,7 +14,7 @@ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object
14
14
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
15
15
  function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
16
16
  * DocSpring API
17
- * Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
17
+ * Use DocSpring's API to fill PDF forms, generate PDFs and Word documents from HTML or Word templates, merge PDFs, and request legally binding e-signatures.
18
18
  *
19
19
  * The version of the OpenAPI document: v2
20
20
  *
@@ -13,7 +13,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
13
13
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
14
  function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
15
15
  * DocSpring API
16
- * Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
16
+ * Use DocSpring's API to fill PDF forms, generate PDFs and Word documents from HTML or Word templates, merge PDFs, and request legally binding e-signatures.
17
17
  *
18
18
  * The version of the OpenAPI document: v2
19
19
  *
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  /**
27
27
  * The CopyTemplateRequest model module.
28
28
  * @module model/CopyTemplateRequest
29
- * @version 4.2.0
29
+ * @version 4.3.0
30
30
  */
31
31
  var CopyTemplateRequest = /*#__PURE__*/function () {
32
32
  /**
@@ -17,7 +17,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
17
17
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
18
  function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
19
19
  * DocSpring API
20
- * Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
20
+ * Use DocSpring's API to fill PDF forms, generate PDFs and Word documents from HTML or Word templates, merge PDFs, and request legally binding e-signatures.
21
21
  *
22
22
  * The version of the OpenAPI document: v2
23
23
  *
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
30
30
  /**
31
31
  * The CreateCombinedPdfRequest model module.
32
32
  * @module model/CreateCombinedPdfRequest
33
- * @version 4.2.0
33
+ * @version 4.3.0
34
34
  */
35
35
  var CreateCombinedPdfRequest = /*#__PURE__*/function () {
36
36
  /**
@@ -16,7 +16,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
16
16
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
17
  function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
18
18
  * DocSpring API
19
- * Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
19
+ * Use DocSpring's API to fill PDF forms, generate PDFs and Word documents from HTML or Word templates, merge PDFs, and request legally binding e-signatures.
20
20
  *
21
21
  * The version of the OpenAPI document: v2
22
22
  *
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The CreateCustomFileFromUploadRequest model module.
31
31
  * @module model/CreateCustomFileFromUploadRequest
32
- * @version 4.2.0
32
+ * @version 4.3.0
33
33
  */
34
34
  var CreateCustomFileFromUploadRequest = /*#__PURE__*/function () {
35
35
  /**
@@ -16,7 +16,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
16
16
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
17
  function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
18
18
  * DocSpring API
19
- * Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
19
+ * Use DocSpring's API to fill PDF forms, generate PDFs and Word documents from HTML or Word templates, merge PDFs, and request legally binding e-signatures.
20
20
  *
21
21
  * The version of the OpenAPI document: v2
22
22
  *
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The CreateFolderRequest model module.
31
31
  * @module model/CreateFolderRequest
32
- * @version 4.2.0
32
+ * @version 4.3.0
33
33
  */
34
34
  var CreateFolderRequest = /*#__PURE__*/function () {
35
35
  /**
@@ -18,7 +18,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
18
18
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
19
19
  function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
20
20
  * DocSpring API
21
- * Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
21
+ * Use DocSpring's API to fill PDF forms, generate PDFs and Word documents from HTML or Word templates, merge PDFs, and request legally binding e-signatures.
22
22
  *
23
23
  * The version of the OpenAPI document: v2
24
24
  *
@@ -31,7 +31,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
31
31
  /**
32
32
  * The CreateSignatureRequestEventRequest model module.
33
33
  * @module model/CreateSignatureRequestEventRequest
34
- * @version 4.2.0
34
+ * @version 4.3.0
35
35
  */
36
36
  var CreateSignatureRequestEventRequest = /*#__PURE__*/function () {
37
37
  /**
@@ -14,7 +14,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
14
14
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
15
15
  function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
16
16
  * DocSpring API
17
- * Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
17
+ * Use DocSpring's API to fill PDF forms, generate PDFs and Word documents from HTML or Word templates, merge PDFs, and request legally binding e-signatures.
18
18
  *
19
19
  * The version of the OpenAPI document: v2
20
20
  *
@@ -27,7 +27,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
27
27
  /**
28
28
  * The CreateSignatureRequestTokenRequest model module.
29
29
  * @module model/CreateSignatureRequestTokenRequest
30
- * @version 4.2.0
30
+ * @version 4.3.0
31
31
  */
32
32
  var CreateSignatureRequestTokenRequest = /*#__PURE__*/function () {
33
33
  /**
@@ -18,7 +18,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
18
18
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
19
19
  function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
20
20
  * DocSpring API
21
- * Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
21
+ * Use DocSpring's API to fill PDF forms, generate PDFs and Word documents from HTML or Word templates, merge PDFs, and request legally binding e-signatures.
22
22
  *
23
23
  * The version of the OpenAPI document: v2
24
24
  *
@@ -31,7 +31,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
31
31
  /**
32
32
  * The CreateSubmissionBatchRequest model module.
33
33
  * @module model/CreateSubmissionBatchRequest
34
- * @version 4.2.0
34
+ * @version 4.3.0
35
35
  */
36
36
  var CreateSubmissionBatchRequest = /*#__PURE__*/function () {
37
37
  /**
@@ -19,7 +19,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
19
19
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
20
20
  function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
21
21
  * DocSpring API
22
- * Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
22
+ * Use DocSpring's API to fill PDF forms, generate PDFs and Word documents from HTML or Word templates, merge PDFs, and request legally binding e-signatures.
23
23
  *
24
24
  * The version of the OpenAPI document: v2
25
25
  *
@@ -32,7 +32,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
32
32
  /**
33
33
  * The CreateSubmissionRequest model module.
34
34
  * @module model/CreateSubmissionRequest
35
- * @version 4.2.0
35
+ * @version 4.3.0
36
36
  */
37
37
  var CreateSubmissionRequest = /*#__PURE__*/function () {
38
38
  /**
@@ -171,7 +171,7 @@ CreateSubmissionRequest.prototype['test'] = undefined;
171
171
  CreateSubmissionRequest.prototype['editable'] = undefined;
172
172
 
173
173
  /**
174
- * The values of the template's fields, by field name. Required for a PDF template, unless `signature_requests` collects the values.
174
+ * The values of the template's fields, by field name. Required for PDF and Word templates, unless `signature_requests` collects them (PDF templates only).
175
175
  * @member {Object.<String, Object>} data
176
176
  */
177
177
  CreateSubmissionRequest.prototype['data'] = undefined;
@@ -183,13 +183,13 @@ CreateSubmissionRequest.prototype['data'] = undefined;
183
183
  CreateSubmissionRequest.prototype['metadata'] = undefined;
184
184
 
185
185
  /**
186
- * A password that the PDF needs to be opened with. It's never returned; `has_password` says if it's set.
186
+ * A password that the PDF needs to be opened with. It's never returned; `has_password` says if it's set. Word documents and OpenDocument files can't be password-protected, so a submission with a password can't make them.
187
187
  * @member {String} password
188
188
  */
189
189
  CreateSubmissionRequest.prototype['password'] = undefined;
190
190
 
191
191
  /**
192
- * What the submission makes: `pdf`, and `png` (an image of each page of the PDF, up to 100 pages) when you ask for it. Default `["pdf"]`. POST /submissions/{submission_id}/generate_files adds `png` to a processed submission.
192
+ * What the submission makes: `pdf`, `docx` (a Word document, from a Word template), `odt` (an OpenDocument file, the format LibreOffice uses, converted from a Word template's Word document), and `png` (an image of each page of the PDF, up to 100 pages, which adds `pdf`) when you ask for it. Default `["pdf"]`, or a Word template's `output_format`. POST /submissions/{submission_id}/generate_files adds `png`, and a Word template's submission's `pdf`, `docx` or `odt`, to a processed submission.
193
193
  * @member {Array.<module:model/OutputFormat>} output_formats
194
194
  */
195
195
  CreateSubmissionRequest.prototype['output_formats'] = undefined;
@@ -16,7 +16,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
16
16
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
17
  function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
18
18
  * DocSpring API
19
- * Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
19
+ * Use DocSpring's API to fill PDF forms, generate PDFs and Word documents from HTML or Word templates, merge PDFs, and request legally binding e-signatures.
20
20
  *
21
21
  * The version of the OpenAPI document: v2
22
22
  *
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The CreateTemplatePreviewRequest model module.
31
31
  * @module model/CreateTemplatePreviewRequest
32
- * @version 4.2.0
32
+ * @version 4.3.0
33
33
  */
34
34
  var CreateTemplatePreviewRequest = /*#__PURE__*/function () {
35
35
  /**
@@ -11,6 +11,7 @@ var _FieldSetupLogic = _interopRequireDefault(require("./FieldSetupLogic"));
11
11
  var _FieldSetupNaming = _interopRequireDefault(require("./FieldSetupNaming"));
12
12
  var _FieldSetupSource = _interopRequireDefault(require("./FieldSetupSource"));
13
13
  var _HtmlEngineOptionsInput = _interopRequireDefault(require("./HtmlEngineOptionsInput"));
14
+ var _OutputFormat = _interopRequireDefault(require("./OutputFormat"));
14
15
  var _PredefinedFieldInput = _interopRequireDefault(require("./PredefinedFieldInput"));
15
16
  var _TemplateDefaultsInput = _interopRequireDefault(require("./TemplateDefaultsInput"));
16
17
  var _TemplateFieldDependencyInput = _interopRequireDefault(require("./TemplateFieldDependencyInput"));
@@ -27,7 +28,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
27
28
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
28
29
  function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
29
30
  * DocSpring API
30
- * Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
31
+ * Use DocSpring's API to fill PDF forms, generate PDFs and Word documents from HTML or Word templates, merge PDFs, and request legally binding e-signatures.
31
32
  *
32
33
  * The version of the OpenAPI document: v2
33
34
  *
@@ -40,14 +41,14 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
40
41
  /**
41
42
  * The CreateTemplateRequest model module.
42
43
  * @module model/CreateTemplateRequest
43
- * @version 4.2.0
44
+ * @version 4.3.0
44
45
  */
45
46
  var CreateTemplateRequest = /*#__PURE__*/function () {
46
47
  /**
47
48
  * Constructs a new <code>CreateTemplateRequest</code>.
48
49
  * The template to create.
49
50
  * @alias module:model/CreateTemplateRequest
50
- * @param template_type {module:model/TemplateType} `pdf`: fields placed on an uploaded PDF. `html`: a PDF rendered from HTML and SCSS. It can't be changed after the template is created.
51
+ * @param template_type {module:model/TemplateType} `pdf`: fields placed on an uploaded PDF. `html`: a PDF rendered from HTML and SCSS. `docx`: a Word document with tags where the data goes, which makes Word documents or PDFs. It can't be changed after the template is created.
51
52
  */
52
53
  function CreateTemplateRequest(template_type) {
53
54
  _classCallCheck(this, CreateTemplateRequest);
@@ -86,6 +87,9 @@ var CreateTemplateRequest = /*#__PURE__*/function () {
86
87
  if (data.hasOwnProperty('template_type')) {
87
88
  obj['template_type'] = _ApiClient["default"].convertToType(data['template_type'], _TemplateType["default"]);
88
89
  }
90
+ if (data.hasOwnProperty('output_format')) {
91
+ obj['output_format'] = _ApiClient["default"].convertToType(data['output_format'], _OutputFormat["default"]);
92
+ }
89
93
  if (data.hasOwnProperty('parent_folder_id')) {
90
94
  obj['parent_folder_id'] = _ApiClient["default"].convertToType(data['parent_folder_id'], 'String');
91
95
  }
@@ -369,11 +373,17 @@ CreateTemplateRequest.prototype['name'] = undefined;
369
373
  CreateTemplateRequest.prototype['description'] = undefined;
370
374
 
371
375
  /**
372
- * `pdf`: fields placed on an uploaded PDF. `html`: a PDF rendered from HTML and SCSS. It can't be changed after the template is created.
376
+ * `pdf`: fields placed on an uploaded PDF. `html`: a PDF rendered from HTML and SCSS. `docx`: a Word document with tags where the data goes, which makes Word documents or PDFs. It can't be changed after the template is created.
373
377
  * @member {module:model/TemplateType} template_type
374
378
  */
375
379
  CreateTemplateRequest.prototype['template_type'] = undefined;
376
380
 
381
+ /**
382
+ * What each submission makes unless its request sets `output_formats`: `docx` (a Word document), `odt` (an OpenDocument file, converted from the Word document) or `pdf`. A Word template's is chosen when it's created; PDF and HTML templates always make PDFs. A Word template that encrypts its PDFs makes PDFs, because Word documents and OpenDocument files can't be password-protected.
383
+ * @member {module:model/OutputFormat} output_format
384
+ */
385
+ CreateTemplateRequest.prototype['output_format'] = undefined;
386
+
377
387
  /**
378
388
  * The ID of the folder the template is in. Null for a template at the root. Setting it moves the template and all of its published versions.
379
389
  * @member {String} parent_folder_id
@@ -411,7 +421,7 @@ CreateTemplateRequest.prototype['allow_additional_properties'] = undefined;
411
421
  CreateTemplateRequest.prototype['allow_skipping_optional_fields'] = undefined;
412
422
 
413
423
  /**
414
- * The hosted form that /templates/{template_id}/form shows when its URL has no `mode` parameter: `web` (the web form), `visual` (the visual form, where fields are filled in on the PDF) or `dual` (both, in tabs). HTML templates have no visual form, so `web` is the only value they accept.
424
+ * The hosted form that /templates/{template_id}/form shows when its URL has no `mode` parameter: `web` (the web form), `visual` (the visual form, where fields are filled in on the PDF) or `dual` (both, in tabs). Only PDF templates have a visual form, so other templates accept only `web`.
415
425
  * @member {module:model/TemplateFormMode} default_form_mode
416
426
  */
417
427
  CreateTemplateRequest.prototype['default_form_mode'] = undefined;
@@ -447,7 +457,7 @@ CreateTemplateRequest.prototype['embed_edit_allow_versioning'] = undefined;
447
457
  CreateTemplateRequest.prototype['embed_edit_allow_document_replacement'] = undefined;
448
458
 
449
459
  /**
450
- * Encrypt generated PDFs with `encrypt_pdfs_password`.
460
+ * Encrypt generated PDFs with `encrypt_pdfs_password`. A Word template can only encrypt its PDFs when its `output_format` is `pdf`, because Word documents and OpenDocument files can't be password-protected.
451
461
  * @member {Boolean} encrypt_pdfs
452
462
  */
453
463
  CreateTemplateRequest.prototype['encrypt_pdfs'] = undefined;
@@ -483,7 +493,7 @@ CreateTemplateRequest.prototype['expiration_interval'] = undefined;
483
493
  CreateTemplateRequest.prototype['merge_audit_trail_pdf'] = undefined;
484
494
 
485
495
  /**
486
- * Date fields also accept NN/NN/YYYY dates (with slashes, dashes or dots), read in the order of the template's default date format: month first for %m/%d/%Y, day first for %d/%m/%Y. When false, date fields only accept YYYY-MM-DD. Applies to PDF templates: an HTML template's date fields only accept YYYY-MM-DD. Date fields that include a time take RFC 3339 date-times either way.
496
+ * Date fields also accept NN/NN/YYYY dates (with slashes, dashes or dots), read in the order of the template's default date format: month first for %m/%d/%Y, day first for %d/%m/%Y. When false, date fields only accept YYYY-MM-DD. Applies to PDF templates: an HTML or Word template's date fields only accept YYYY-MM-DD. Date fields that include a time take RFC 3339 date-times either way.
487
497
  * @member {Boolean} parse_dates_using_template_date_format
488
498
  */
489
499
  CreateTemplateRequest.prototype['parse_dates_using_template_date_format'] = undefined;
@@ -537,7 +547,7 @@ CreateTemplateRequest.prototype['predefined_fields'] = undefined;
537
547
  CreateTemplateRequest.prototype['predefined_fields_sample_data'] = undefined;
538
548
 
539
549
  /**
540
- * The HTML of an HTML template, as a Liquid template. Null for PDF templates.
550
+ * The HTML of an HTML template, as a Liquid template. Null for PDF and Word templates.
541
551
  * @member {String} html
542
552
  */
543
553
  CreateTemplateRequest.prototype['html'] = undefined;
@@ -573,25 +583,25 @@ CreateTemplateRequest.prototype['html_engine_options'] = undefined;
573
583
  CreateTemplateRequest.prototype['html_escape_data'] = undefined;
574
584
 
575
585
  /**
576
- * A PDF template's document: the `fields.key` of a file you uploaded with the presigned upload (GET /uploads/presign). A PDF template needs one of `cache_id`, `document_url` and `document_base64`. To upload the PDF with the request, use POST /templates/upload.
586
+ * The template's document, a PDF or a Word document (.docx or .odt): the `fields.key` of a file you uploaded with the presigned upload (GET /uploads/presign). PDF and Word templates need one of `cache_id`, `document_url` and `document_base64`. To upload the file with the request, use POST /templates/upload.
577
587
  * @member {String} cache_id
578
588
  */
579
589
  CreateTemplateRequest.prototype['cache_id'] = undefined;
580
590
 
581
591
  /**
582
- * An https:// link to the template's PDF (up to 100 MB), instead of `cache_id`. DocSpring downloads it after responding, following redirects to other https:// links: the template's `document.state` is `downloading` until then (sync.api hosts wait for it). If it can't be downloaded, the state is `download_failed` and `document.error_message` says why.
592
+ * An https:// link to the template's document, instead of `cache_id`: a PDF template's PDF (up to 100 MB) or a Word template's Word document (.docx or .odt, up to 50 MB). DocSpring downloads it after responding, following redirects to other https:// links: the template's `document.state` is `downloading` until then, and `converting` while an .odt is converted (sync.api hosts wait for both). If it can't be downloaded, the state is `download_failed` and `document.error_message` says why.
583
593
  * @member {String} document_url
584
594
  */
585
595
  CreateTemplateRequest.prototype['document_url'] = undefined;
586
596
 
587
597
  /**
588
- * The template's PDF, encoded as base64 (a `data:` URI works too), instead of `cache_id`. Up to 7 MB before it's encoded: send a larger file with `cache_id` or `document_url`.
598
+ * The template's document (a PDF, or a Word template's Word document), encoded as base64 (a `data:` URI works too), instead of `cache_id`. Up to 7 MB before it's encoded: send a larger file with `cache_id` or `document_url`.
589
599
  * @member {String} document_base64
590
600
  */
591
601
  CreateTemplateRequest.prototype['document_base64'] = undefined;
592
602
 
593
603
  /**
594
- * The PDF's file name, for a `cache_id` (presigned uploads don't send one) or `document_base64`. A `document_url`'s is the last part of its path unless you set it.
604
+ * The file's name, for a `cache_id` (presigned uploads don't send one) or `document_base64`. A `document_url`'s is the last part of its path unless you set it.
595
605
  * @member {String} filename
596
606
  */
597
607
  CreateTemplateRequest.prototype['filename'] = undefined;
@@ -18,7 +18,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
18
18
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
19
19
  function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
20
20
  * DocSpring API
21
- * Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
21
+ * Use DocSpring's API to fill PDF forms, generate PDFs and Word documents from HTML or Word templates, merge PDFs, and request legally binding e-signatures.
22
22
  *
23
23
  * The version of the OpenAPI document: v2
24
24
  *
@@ -31,7 +31,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
31
31
  /**
32
32
  * The CreateWebhookRequest model module.
33
33
  * @module model/CreateWebhookRequest
34
- * @version 4.2.0
34
+ * @version 4.3.0
35
35
  */
36
36
  var CreateWebhookRequest = /*#__PURE__*/function () {
37
37
  /**
@@ -16,7 +16,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
16
16
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
17
  function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
18
18
  * DocSpring API
19
- * Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
19
+ * Use DocSpring's API to fill PDF forms, generate PDFs and Word documents from HTML or Word templates, merge PDFs, and request legally binding e-signatures.
20
20
  *
21
21
  * The version of the OpenAPI document: v2
22
22
  *
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The CustomFile model module.
31
31
  * @module model/CustomFile
32
- * @version 4.2.0
32
+ * @version 4.3.0
33
33
  */
34
34
  var CustomFile = /*#__PURE__*/function () {
35
35
  /**
@@ -17,7 +17,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
17
17
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
18
  function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
19
19
  * DocSpring API
20
- * Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
20
+ * Use DocSpring's API to fill PDF forms, generate PDFs and Word documents from HTML or Word templates, merge PDFs, and request legally binding e-signatures.
21
21
  *
22
22
  * The version of the OpenAPI document: v2
23
23
  *
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
30
30
  /**
31
31
  * The CustomFileList model module.
32
32
  * @module model/CustomFileList
33
- * @version 4.2.0
33
+ * @version 4.3.0
34
34
  */
35
35
  var CustomFileList = /*#__PURE__*/function () {
36
36
  /**
@@ -16,7 +16,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
16
16
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
17
  function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
18
18
  * DocSpring API
19
- * Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
19
+ * Use DocSpring's API to fill PDF forms, generate PDFs and Word documents from HTML or Word templates, merge PDFs, and request legally binding e-signatures.
20
20
  *
21
21
  * The version of the OpenAPI document: v2
22
22
  *
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The CustomFileSourcePdf model module.
31
31
  * @module model/CustomFileSourcePdf
32
- * @version 4.2.0
32
+ * @version 4.3.0
33
33
  */
34
34
  var CustomFileSourcePdf = /*#__PURE__*/function () {
35
35
  /**
@@ -14,7 +14,7 @@ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object
14
14
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
15
15
  function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
16
16
  * DocSpring API
17
- * Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
17
+ * Use DocSpring's API to fill PDF forms, generate PDFs and Word documents from HTML or Word templates, merge PDFs, and request legally binding e-signatures.
18
18
  *
19
19
  * The version of the OpenAPI document: v2
20
20
  *
@@ -16,7 +16,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
16
16
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
17
  function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
18
18
  * DocSpring API
19
- * Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
19
+ * Use DocSpring's API to fill PDF forms, generate PDFs and Word documents from HTML or Word templates, merge PDFs, and request legally binding e-signatures.
20
20
  *
21
21
  * The version of the OpenAPI document: v2
22
22
  *
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The ErrorDetail model module.
31
31
  * @module model/ErrorDetail
32
- * @version 4.2.0
32
+ * @version 4.3.0
33
33
  */
34
34
  var ErrorDetail = /*#__PURE__*/function () {
35
35
  /**