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
@@ -0,0 +1,489 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
9
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
+ function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
11
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
12
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
13
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
14
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
15
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
16
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
18
+ * DocSpring API
19
+ * DocSpring provides an API that helps you fill out and sign PDF templates.
20
+ *
21
+ * The version of the OpenAPI document: v1
22
+ *
23
+ *
24
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
25
+ * https://openapi-generator.tech
26
+ * Do not edit the class manually.
27
+ *
28
+ */
29
+ /**
30
+ * The SubmissionDataRequestShow model module.
31
+ * @module model/SubmissionDataRequestShow
32
+ * @version 2.0.0
33
+ */
34
+ var SubmissionDataRequestShow = /*#__PURE__*/function () {
35
+ /**
36
+ * Constructs a new <code>SubmissionDataRequestShow</code>.
37
+ * @alias module:model/SubmissionDataRequestShow
38
+ * @param id {String}
39
+ * @param email {String}
40
+ * @param name {String}
41
+ * @param order {Number}
42
+ * @param sortOrder {Number}
43
+ * @param fields {Array.<String>}
44
+ * @param metadata {Object}
45
+ * @param state {module:model/SubmissionDataRequestShow.StateEnum}
46
+ * @param viewedAt {String}
47
+ * @param completedAt {String}
48
+ * @param data {Object}
49
+ * @param authType {module:model/SubmissionDataRequestShow.AuthTypeEnum}
50
+ * @param authSecondFactorType {module:model/SubmissionDataRequestShow.AuthSecondFactorTypeEnum}
51
+ * @param authProvider {String}
52
+ * @param authSessionStartedAt {String}
53
+ * @param authSessionIdHash {String}
54
+ * @param authUserIdHash {String}
55
+ * @param authUsernameHash {String}
56
+ * @param authPhoneNumberHash {String}
57
+ * @param ipAddress {String}
58
+ * @param userAgent {String}
59
+ * @param submissionId {String}
60
+ */
61
+ function SubmissionDataRequestShow(id, email, name, order, sortOrder, fields, metadata, state, viewedAt, completedAt, data, authType, authSecondFactorType, authProvider, authSessionStartedAt, authSessionIdHash, authUserIdHash, authUsernameHash, authPhoneNumberHash, ipAddress, userAgent, submissionId) {
62
+ _classCallCheck(this, SubmissionDataRequestShow);
63
+ SubmissionDataRequestShow.initialize(this, id, email, name, order, sortOrder, fields, metadata, state, viewedAt, completedAt, data, authType, authSecondFactorType, authProvider, authSessionStartedAt, authSessionIdHash, authUserIdHash, authUsernameHash, authPhoneNumberHash, ipAddress, userAgent, submissionId);
64
+ }
65
+
66
+ /**
67
+ * Initializes the fields of this object.
68
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
69
+ * Only for internal use.
70
+ */
71
+ return _createClass(SubmissionDataRequestShow, null, [{
72
+ key: "initialize",
73
+ value: function initialize(obj, id, email, name, order, sortOrder, fields, metadata, state, viewedAt, completedAt, data, authType, authSecondFactorType, authProvider, authSessionStartedAt, authSessionIdHash, authUserIdHash, authUsernameHash, authPhoneNumberHash, ipAddress, userAgent, submissionId) {
74
+ obj['id'] = id;
75
+ obj['email'] = email;
76
+ obj['name'] = name;
77
+ obj['order'] = order;
78
+ obj['sort_order'] = sortOrder;
79
+ obj['fields'] = fields;
80
+ obj['metadata'] = metadata;
81
+ obj['state'] = state;
82
+ obj['viewed_at'] = viewedAt;
83
+ obj['completed_at'] = completedAt;
84
+ obj['data'] = data;
85
+ obj['auth_type'] = authType;
86
+ obj['auth_second_factor_type'] = authSecondFactorType;
87
+ obj['auth_provider'] = authProvider;
88
+ obj['auth_session_started_at'] = authSessionStartedAt;
89
+ obj['auth_session_id_hash'] = authSessionIdHash;
90
+ obj['auth_user_id_hash'] = authUserIdHash;
91
+ obj['auth_username_hash'] = authUsernameHash;
92
+ obj['auth_phone_number_hash'] = authPhoneNumberHash;
93
+ obj['ip_address'] = ipAddress;
94
+ obj['user_agent'] = userAgent;
95
+ obj['submission_id'] = submissionId;
96
+ }
97
+
98
+ /**
99
+ * Constructs a <code>SubmissionDataRequestShow</code> from a plain JavaScript object, optionally creating a new instance.
100
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
101
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
102
+ * @param {module:model/SubmissionDataRequestShow} obj Optional instance to populate.
103
+ * @return {module:model/SubmissionDataRequestShow} The populated <code>SubmissionDataRequestShow</code> instance.
104
+ */
105
+ }, {
106
+ key: "constructFromObject",
107
+ value: function constructFromObject(data, obj) {
108
+ if (data) {
109
+ obj = obj || new SubmissionDataRequestShow();
110
+ if (data.hasOwnProperty('id')) {
111
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
112
+ }
113
+ if (data.hasOwnProperty('email')) {
114
+ obj['email'] = _ApiClient["default"].convertToType(data['email'], 'String');
115
+ }
116
+ if (data.hasOwnProperty('name')) {
117
+ obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
118
+ }
119
+ if (data.hasOwnProperty('order')) {
120
+ obj['order'] = _ApiClient["default"].convertToType(data['order'], 'Number');
121
+ }
122
+ if (data.hasOwnProperty('sort_order')) {
123
+ obj['sort_order'] = _ApiClient["default"].convertToType(data['sort_order'], 'Number');
124
+ }
125
+ if (data.hasOwnProperty('fields')) {
126
+ obj['fields'] = _ApiClient["default"].convertToType(data['fields'], ['String']);
127
+ }
128
+ if (data.hasOwnProperty('metadata')) {
129
+ obj['metadata'] = _ApiClient["default"].convertToType(data['metadata'], Object);
130
+ }
131
+ if (data.hasOwnProperty('state')) {
132
+ obj['state'] = _ApiClient["default"].convertToType(data['state'], 'String');
133
+ }
134
+ if (data.hasOwnProperty('viewed_at')) {
135
+ obj['viewed_at'] = _ApiClient["default"].convertToType(data['viewed_at'], 'String');
136
+ }
137
+ if (data.hasOwnProperty('completed_at')) {
138
+ obj['completed_at'] = _ApiClient["default"].convertToType(data['completed_at'], 'String');
139
+ }
140
+ if (data.hasOwnProperty('data')) {
141
+ obj['data'] = _ApiClient["default"].convertToType(data['data'], Object);
142
+ }
143
+ if (data.hasOwnProperty('auth_type')) {
144
+ obj['auth_type'] = _ApiClient["default"].convertToType(data['auth_type'], 'String');
145
+ }
146
+ if (data.hasOwnProperty('auth_second_factor_type')) {
147
+ obj['auth_second_factor_type'] = _ApiClient["default"].convertToType(data['auth_second_factor_type'], 'String');
148
+ }
149
+ if (data.hasOwnProperty('auth_provider')) {
150
+ obj['auth_provider'] = _ApiClient["default"].convertToType(data['auth_provider'], 'String');
151
+ }
152
+ if (data.hasOwnProperty('auth_session_started_at')) {
153
+ obj['auth_session_started_at'] = _ApiClient["default"].convertToType(data['auth_session_started_at'], 'String');
154
+ }
155
+ if (data.hasOwnProperty('auth_session_id_hash')) {
156
+ obj['auth_session_id_hash'] = _ApiClient["default"].convertToType(data['auth_session_id_hash'], 'String');
157
+ }
158
+ if (data.hasOwnProperty('auth_user_id_hash')) {
159
+ obj['auth_user_id_hash'] = _ApiClient["default"].convertToType(data['auth_user_id_hash'], 'String');
160
+ }
161
+ if (data.hasOwnProperty('auth_username_hash')) {
162
+ obj['auth_username_hash'] = _ApiClient["default"].convertToType(data['auth_username_hash'], 'String');
163
+ }
164
+ if (data.hasOwnProperty('auth_phone_number_hash')) {
165
+ obj['auth_phone_number_hash'] = _ApiClient["default"].convertToType(data['auth_phone_number_hash'], 'String');
166
+ }
167
+ if (data.hasOwnProperty('ip_address')) {
168
+ obj['ip_address'] = _ApiClient["default"].convertToType(data['ip_address'], 'String');
169
+ }
170
+ if (data.hasOwnProperty('user_agent')) {
171
+ obj['user_agent'] = _ApiClient["default"].convertToType(data['user_agent'], 'String');
172
+ }
173
+ if (data.hasOwnProperty('submission_id')) {
174
+ obj['submission_id'] = _ApiClient["default"].convertToType(data['submission_id'], 'String');
175
+ }
176
+ }
177
+ return obj;
178
+ }
179
+
180
+ /**
181
+ * Validates the JSON data with respect to <code>SubmissionDataRequestShow</code>.
182
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
183
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>SubmissionDataRequestShow</code>.
184
+ */
185
+ }, {
186
+ key: "validateJSON",
187
+ value: function validateJSON(data) {
188
+ // check to make sure all required properties are present in the JSON string
189
+ var _iterator = _createForOfIteratorHelper(SubmissionDataRequestShow.RequiredProperties),
190
+ _step;
191
+ try {
192
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
193
+ var property = _step.value;
194
+ if (!data.hasOwnProperty(property)) {
195
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
196
+ }
197
+ }
198
+ // ensure the json data is a string
199
+ } catch (err) {
200
+ _iterator.e(err);
201
+ } finally {
202
+ _iterator.f();
203
+ }
204
+ if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
205
+ throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
206
+ }
207
+ // ensure the json data is a string
208
+ if (data['email'] && !(typeof data['email'] === 'string' || data['email'] instanceof String)) {
209
+ throw new Error("Expected the field `email` to be a primitive type in the JSON string but got " + data['email']);
210
+ }
211
+ // ensure the json data is a string
212
+ if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
213
+ throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
214
+ }
215
+ // ensure the json data is an array
216
+ if (!Array.isArray(data['fields'])) {
217
+ throw new Error("Expected the field `fields` to be an array in the JSON data but got " + data['fields']);
218
+ }
219
+ // ensure the json data is a string
220
+ if (data['state'] && !(typeof data['state'] === 'string' || data['state'] instanceof String)) {
221
+ throw new Error("Expected the field `state` to be a primitive type in the JSON string but got " + data['state']);
222
+ }
223
+ // ensure the json data is a string
224
+ if (data['viewed_at'] && !(typeof data['viewed_at'] === 'string' || data['viewed_at'] instanceof String)) {
225
+ throw new Error("Expected the field `viewed_at` to be a primitive type in the JSON string but got " + data['viewed_at']);
226
+ }
227
+ // ensure the json data is a string
228
+ if (data['completed_at'] && !(typeof data['completed_at'] === 'string' || data['completed_at'] instanceof String)) {
229
+ throw new Error("Expected the field `completed_at` to be a primitive type in the JSON string but got " + data['completed_at']);
230
+ }
231
+ // ensure the json data is a string
232
+ if (data['auth_type'] && !(typeof data['auth_type'] === 'string' || data['auth_type'] instanceof String)) {
233
+ throw new Error("Expected the field `auth_type` to be a primitive type in the JSON string but got " + data['auth_type']);
234
+ }
235
+ // ensure the json data is a string
236
+ if (data['auth_second_factor_type'] && !(typeof data['auth_second_factor_type'] === 'string' || data['auth_second_factor_type'] instanceof String)) {
237
+ throw new Error("Expected the field `auth_second_factor_type` to be a primitive type in the JSON string but got " + data['auth_second_factor_type']);
238
+ }
239
+ // ensure the json data is a string
240
+ if (data['auth_provider'] && !(typeof data['auth_provider'] === 'string' || data['auth_provider'] instanceof String)) {
241
+ throw new Error("Expected the field `auth_provider` to be a primitive type in the JSON string but got " + data['auth_provider']);
242
+ }
243
+ // ensure the json data is a string
244
+ if (data['auth_session_started_at'] && !(typeof data['auth_session_started_at'] === 'string' || data['auth_session_started_at'] instanceof String)) {
245
+ throw new Error("Expected the field `auth_session_started_at` to be a primitive type in the JSON string but got " + data['auth_session_started_at']);
246
+ }
247
+ // ensure the json data is a string
248
+ if (data['auth_session_id_hash'] && !(typeof data['auth_session_id_hash'] === 'string' || data['auth_session_id_hash'] instanceof String)) {
249
+ throw new Error("Expected the field `auth_session_id_hash` to be a primitive type in the JSON string but got " + data['auth_session_id_hash']);
250
+ }
251
+ // ensure the json data is a string
252
+ if (data['auth_user_id_hash'] && !(typeof data['auth_user_id_hash'] === 'string' || data['auth_user_id_hash'] instanceof String)) {
253
+ throw new Error("Expected the field `auth_user_id_hash` to be a primitive type in the JSON string but got " + data['auth_user_id_hash']);
254
+ }
255
+ // ensure the json data is a string
256
+ if (data['auth_username_hash'] && !(typeof data['auth_username_hash'] === 'string' || data['auth_username_hash'] instanceof String)) {
257
+ throw new Error("Expected the field `auth_username_hash` to be a primitive type in the JSON string but got " + data['auth_username_hash']);
258
+ }
259
+ // ensure the json data is a string
260
+ if (data['auth_phone_number_hash'] && !(typeof data['auth_phone_number_hash'] === 'string' || data['auth_phone_number_hash'] instanceof String)) {
261
+ throw new Error("Expected the field `auth_phone_number_hash` to be a primitive type in the JSON string but got " + data['auth_phone_number_hash']);
262
+ }
263
+ // ensure the json data is a string
264
+ if (data['ip_address'] && !(typeof data['ip_address'] === 'string' || data['ip_address'] instanceof String)) {
265
+ throw new Error("Expected the field `ip_address` to be a primitive type in the JSON string but got " + data['ip_address']);
266
+ }
267
+ // ensure the json data is a string
268
+ if (data['user_agent'] && !(typeof data['user_agent'] === 'string' || data['user_agent'] instanceof String)) {
269
+ throw new Error("Expected the field `user_agent` to be a primitive type in the JSON string but got " + data['user_agent']);
270
+ }
271
+ // ensure the json data is a string
272
+ if (data['submission_id'] && !(typeof data['submission_id'] === 'string' || data['submission_id'] instanceof String)) {
273
+ throw new Error("Expected the field `submission_id` to be a primitive type in the JSON string but got " + data['submission_id']);
274
+ }
275
+ return true;
276
+ }
277
+ }]);
278
+ }();
279
+ SubmissionDataRequestShow.RequiredProperties = ["id", "email", "name", "order", "sort_order", "fields", "metadata", "state", "viewed_at", "completed_at", "data", "auth_type", "auth_second_factor_type", "auth_provider", "auth_session_started_at", "auth_session_id_hash", "auth_user_id_hash", "auth_username_hash", "auth_phone_number_hash", "ip_address", "user_agent", "submission_id"];
280
+
281
+ /**
282
+ * @member {String} id
283
+ */
284
+ SubmissionDataRequestShow.prototype['id'] = undefined;
285
+
286
+ /**
287
+ * @member {String} email
288
+ */
289
+ SubmissionDataRequestShow.prototype['email'] = undefined;
290
+
291
+ /**
292
+ * @member {String} name
293
+ */
294
+ SubmissionDataRequestShow.prototype['name'] = undefined;
295
+
296
+ /**
297
+ * @member {Number} order
298
+ */
299
+ SubmissionDataRequestShow.prototype['order'] = undefined;
300
+
301
+ /**
302
+ * @member {Number} sort_order
303
+ */
304
+ SubmissionDataRequestShow.prototype['sort_order'] = undefined;
305
+
306
+ /**
307
+ * @member {Array.<String>} fields
308
+ */
309
+ SubmissionDataRequestShow.prototype['fields'] = undefined;
310
+
311
+ /**
312
+ * @member {Object} metadata
313
+ */
314
+ SubmissionDataRequestShow.prototype['metadata'] = undefined;
315
+
316
+ /**
317
+ * @member {module:model/SubmissionDataRequestShow.StateEnum} state
318
+ */
319
+ SubmissionDataRequestShow.prototype['state'] = undefined;
320
+
321
+ /**
322
+ * @member {String} viewed_at
323
+ */
324
+ SubmissionDataRequestShow.prototype['viewed_at'] = undefined;
325
+
326
+ /**
327
+ * @member {String} completed_at
328
+ */
329
+ SubmissionDataRequestShow.prototype['completed_at'] = undefined;
330
+
331
+ /**
332
+ * @member {Object} data
333
+ */
334
+ SubmissionDataRequestShow.prototype['data'] = undefined;
335
+
336
+ /**
337
+ * @member {module:model/SubmissionDataRequestShow.AuthTypeEnum} auth_type
338
+ */
339
+ SubmissionDataRequestShow.prototype['auth_type'] = undefined;
340
+
341
+ /**
342
+ * @member {module:model/SubmissionDataRequestShow.AuthSecondFactorTypeEnum} auth_second_factor_type
343
+ */
344
+ SubmissionDataRequestShow.prototype['auth_second_factor_type'] = undefined;
345
+
346
+ /**
347
+ * @member {String} auth_provider
348
+ */
349
+ SubmissionDataRequestShow.prototype['auth_provider'] = undefined;
350
+
351
+ /**
352
+ * @member {String} auth_session_started_at
353
+ */
354
+ SubmissionDataRequestShow.prototype['auth_session_started_at'] = undefined;
355
+
356
+ /**
357
+ * @member {String} auth_session_id_hash
358
+ */
359
+ SubmissionDataRequestShow.prototype['auth_session_id_hash'] = undefined;
360
+
361
+ /**
362
+ * @member {String} auth_user_id_hash
363
+ */
364
+ SubmissionDataRequestShow.prototype['auth_user_id_hash'] = undefined;
365
+
366
+ /**
367
+ * @member {String} auth_username_hash
368
+ */
369
+ SubmissionDataRequestShow.prototype['auth_username_hash'] = undefined;
370
+
371
+ /**
372
+ * @member {String} auth_phone_number_hash
373
+ */
374
+ SubmissionDataRequestShow.prototype['auth_phone_number_hash'] = undefined;
375
+
376
+ /**
377
+ * @member {String} ip_address
378
+ */
379
+ SubmissionDataRequestShow.prototype['ip_address'] = undefined;
380
+
381
+ /**
382
+ * @member {String} user_agent
383
+ */
384
+ SubmissionDataRequestShow.prototype['user_agent'] = undefined;
385
+
386
+ /**
387
+ * @member {String} submission_id
388
+ */
389
+ SubmissionDataRequestShow.prototype['submission_id'] = undefined;
390
+
391
+ /**
392
+ * Allowed values for the <code>state</code> property.
393
+ * @enum {String}
394
+ * @readonly
395
+ */
396
+ SubmissionDataRequestShow['StateEnum'] = {
397
+ /**
398
+ * value: "pending"
399
+ * @const
400
+ */
401
+ "pending": "pending",
402
+ /**
403
+ * value: "completed"
404
+ * @const
405
+ */
406
+ "completed": "completed"
407
+ };
408
+
409
+ /**
410
+ * Allowed values for the <code>auth_type</code> property.
411
+ * @enum {String}
412
+ * @readonly
413
+ */
414
+ SubmissionDataRequestShow['AuthTypeEnum'] = {
415
+ /**
416
+ * value: "none"
417
+ * @const
418
+ */
419
+ "none": "none",
420
+ /**
421
+ * value: "password"
422
+ * @const
423
+ */
424
+ "password": "password",
425
+ /**
426
+ * value: "oauth"
427
+ * @const
428
+ */
429
+ "oauth": "oauth",
430
+ /**
431
+ * value: "email_link"
432
+ * @const
433
+ */
434
+ "email_link": "email_link",
435
+ /**
436
+ * value: "phone_number"
437
+ * @const
438
+ */
439
+ "phone_number": "phone_number",
440
+ /**
441
+ * value: "ldap"
442
+ * @const
443
+ */
444
+ "ldap": "ldap",
445
+ /**
446
+ * value: "saml"
447
+ * @const
448
+ */
449
+ "saml": "saml"
450
+ };
451
+
452
+ /**
453
+ * Allowed values for the <code>auth_second_factor_type</code> property.
454
+ * @enum {String}
455
+ * @readonly
456
+ */
457
+ SubmissionDataRequestShow['AuthSecondFactorTypeEnum'] = {
458
+ /**
459
+ * value: "none"
460
+ * @const
461
+ */
462
+ "none": "none",
463
+ /**
464
+ * value: "phone_number"
465
+ * @const
466
+ */
467
+ "phone_number": "phone_number",
468
+ /**
469
+ * value: "totp"
470
+ * @const
471
+ */
472
+ "totp": "totp",
473
+ /**
474
+ * value: "mobile_push"
475
+ * @const
476
+ */
477
+ "mobile_push": "mobile_push",
478
+ /**
479
+ * value: "security_key"
480
+ * @const
481
+ */
482
+ "security_key": "security_key",
483
+ /**
484
+ * value: "fingerprint"
485
+ * @const
486
+ */
487
+ "fingerprint": "fingerprint"
488
+ };
489
+ var _default = exports["default"] = SubmissionDataRequestShow;
@@ -0,0 +1,154 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
9
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
+ function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
11
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
12
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
13
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
14
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
15
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
16
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
18
+ * DocSpring API
19
+ * DocSpring provides an API that helps you fill out and sign PDF templates.
20
+ *
21
+ * The version of the OpenAPI document: v1
22
+ *
23
+ *
24
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
25
+ * https://openapi-generator.tech
26
+ * Do not edit the class manually.
27
+ *
28
+ */
29
+ /**
30
+ * The SubmissionDataRequestToken model module.
31
+ * @module model/SubmissionDataRequestToken
32
+ * @version 2.0.0
33
+ */
34
+ var SubmissionDataRequestToken = /*#__PURE__*/function () {
35
+ /**
36
+ * Constructs a new <code>SubmissionDataRequestToken</code>.
37
+ * @alias module:model/SubmissionDataRequestToken
38
+ * @param id {String}
39
+ * @param secret {String}
40
+ * @param expiresAt {String}
41
+ * @param dataRequestUrl {String}
42
+ */
43
+ function SubmissionDataRequestToken(id, secret, expiresAt, dataRequestUrl) {
44
+ _classCallCheck(this, SubmissionDataRequestToken);
45
+ SubmissionDataRequestToken.initialize(this, id, secret, expiresAt, dataRequestUrl);
46
+ }
47
+
48
+ /**
49
+ * Initializes the fields of this object.
50
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
51
+ * Only for internal use.
52
+ */
53
+ return _createClass(SubmissionDataRequestToken, null, [{
54
+ key: "initialize",
55
+ value: function initialize(obj, id, secret, expiresAt, dataRequestUrl) {
56
+ obj['id'] = id;
57
+ obj['secret'] = secret;
58
+ obj['expires_at'] = expiresAt;
59
+ obj['data_request_url'] = dataRequestUrl;
60
+ }
61
+
62
+ /**
63
+ * Constructs a <code>SubmissionDataRequestToken</code> from a plain JavaScript object, optionally creating a new instance.
64
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
65
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
66
+ * @param {module:model/SubmissionDataRequestToken} obj Optional instance to populate.
67
+ * @return {module:model/SubmissionDataRequestToken} The populated <code>SubmissionDataRequestToken</code> instance.
68
+ */
69
+ }, {
70
+ key: "constructFromObject",
71
+ value: function constructFromObject(data, obj) {
72
+ if (data) {
73
+ obj = obj || new SubmissionDataRequestToken();
74
+ if (data.hasOwnProperty('id')) {
75
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
76
+ }
77
+ if (data.hasOwnProperty('secret')) {
78
+ obj['secret'] = _ApiClient["default"].convertToType(data['secret'], 'String');
79
+ }
80
+ if (data.hasOwnProperty('expires_at')) {
81
+ obj['expires_at'] = _ApiClient["default"].convertToType(data['expires_at'], 'String');
82
+ }
83
+ if (data.hasOwnProperty('data_request_url')) {
84
+ obj['data_request_url'] = _ApiClient["default"].convertToType(data['data_request_url'], 'String');
85
+ }
86
+ }
87
+ return obj;
88
+ }
89
+
90
+ /**
91
+ * Validates the JSON data with respect to <code>SubmissionDataRequestToken</code>.
92
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
93
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>SubmissionDataRequestToken</code>.
94
+ */
95
+ }, {
96
+ key: "validateJSON",
97
+ value: function validateJSON(data) {
98
+ // check to make sure all required properties are present in the JSON string
99
+ var _iterator = _createForOfIteratorHelper(SubmissionDataRequestToken.RequiredProperties),
100
+ _step;
101
+ try {
102
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
103
+ var property = _step.value;
104
+ if (!data.hasOwnProperty(property)) {
105
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
106
+ }
107
+ }
108
+ // ensure the json data is a string
109
+ } catch (err) {
110
+ _iterator.e(err);
111
+ } finally {
112
+ _iterator.f();
113
+ }
114
+ if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
115
+ throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
116
+ }
117
+ // ensure the json data is a string
118
+ if (data['secret'] && !(typeof data['secret'] === 'string' || data['secret'] instanceof String)) {
119
+ throw new Error("Expected the field `secret` to be a primitive type in the JSON string but got " + data['secret']);
120
+ }
121
+ // ensure the json data is a string
122
+ if (data['expires_at'] && !(typeof data['expires_at'] === 'string' || data['expires_at'] instanceof String)) {
123
+ throw new Error("Expected the field `expires_at` to be a primitive type in the JSON string but got " + data['expires_at']);
124
+ }
125
+ // ensure the json data is a string
126
+ if (data['data_request_url'] && !(typeof data['data_request_url'] === 'string' || data['data_request_url'] instanceof String)) {
127
+ throw new Error("Expected the field `data_request_url` to be a primitive type in the JSON string but got " + data['data_request_url']);
128
+ }
129
+ return true;
130
+ }
131
+ }]);
132
+ }();
133
+ SubmissionDataRequestToken.RequiredProperties = ["id", "secret", "expires_at", "data_request_url"];
134
+
135
+ /**
136
+ * @member {String} id
137
+ */
138
+ SubmissionDataRequestToken.prototype['id'] = undefined;
139
+
140
+ /**
141
+ * @member {String} secret
142
+ */
143
+ SubmissionDataRequestToken.prototype['secret'] = undefined;
144
+
145
+ /**
146
+ * @member {String} expires_at
147
+ */
148
+ SubmissionDataRequestToken.prototype['expires_at'] = undefined;
149
+
150
+ /**
151
+ * @member {String} data_request_url
152
+ */
153
+ SubmissionDataRequestToken.prototype['data_request_url'] = undefined;
154
+ var _default = exports["default"] = SubmissionDataRequestToken;