docspring 1.5.0 → 2.1.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 (224) hide show
  1. package/README.md +63 -53
  2. package/dist/ApiClient.js +701 -0
  3. package/dist/api/PDFApi.js +1598 -0
  4. package/dist/index.js +384 -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 +173 -0
  17. package/dist/model/CreateHtmlTemplate.js +108 -0
  18. package/dist/model/CreatePdfSubmissionData.js +202 -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/PublishVersionData.js +124 -0
  35. package/dist/model/RenameFolderData.js +112 -0
  36. package/dist/model/RestoreVersionData.js +112 -0
  37. package/dist/model/Submission.js +583 -0
  38. package/dist/model/SubmissionAction.js +252 -0
  39. package/dist/model/SubmissionBatch.js +213 -0
  40. package/dist/model/SubmissionBatchData.js +128 -0
  41. package/dist/model/SubmissionBatchWithSubmissions.js +243 -0
  42. package/dist/model/SubmissionDataRequest.js +475 -0
  43. package/dist/model/SubmissionDataRequestEvent.js +287 -0
  44. package/dist/model/SubmissionDataRequestShow.js +489 -0
  45. package/dist/model/SubmissionDataRequestToken.js +154 -0
  46. package/dist/model/SubmissionPreview.js +517 -0
  47. package/dist/model/SuccessErrorResponse.js +142 -0
  48. package/dist/model/SuccessMultipleErrorsResponse.js +142 -0
  49. package/dist/model/Template.js +833 -0
  50. package/dist/model/TemplateAddFieldsResponse.js +154 -0
  51. package/dist/model/TemplateDeleteResponse.js +166 -0
  52. package/dist/model/TemplatePreview.js +695 -0
  53. package/dist/model/TemplatePublishVersionResponse.js +152 -0
  54. package/dist/model/UpdateHtmlTemplate.js +108 -0
  55. package/dist/model/UpdateSubmissionDataRequestData.js +160 -0
  56. package/dist/model/UploadPresignResponse.js +157 -0
  57. package/package.json +33 -8
  58. package/.openapi-generator/VERSION +0 -1
  59. package/.openapi-generator-ignore +0 -23
  60. package/.travis.yml +0 -7
  61. package/CHANGELOG.md +0 -37
  62. package/docs/AddFieldsData.md +0 -8
  63. package/docs/AddFieldsTemplateResponse.md +0 -21
  64. package/docs/AuthenticationError.md +0 -18
  65. package/docs/AuthenticationSuccessResponse.md +0 -17
  66. package/docs/CombinePdfsData.md +0 -13
  67. package/docs/CombinedSubmission.md +0 -33
  68. package/docs/CombinedSubmissionAction.md +0 -54
  69. package/docs/CombinedSubmissionData.md +0 -12
  70. package/docs/CopyTemplateData.md +0 -9
  71. package/docs/CreateCombinedSubmissionResponse.md +0 -21
  72. package/docs/CreateCustomFileData.md +0 -8
  73. package/docs/CreateCustomFileResponse.md +0 -21
  74. package/docs/CreateFolderData.md +0 -8
  75. package/docs/CreateHtmlTemplateData.md +0 -8
  76. package/docs/CreateSubmissionBatchResponse.md +0 -23
  77. package/docs/CreateSubmissionBatchSubmissionsResponse.md +0 -23
  78. package/docs/CreateSubmissionDataRequestData.md +0 -60
  79. package/docs/CreateSubmissionDataRequestTokenResponse.md +0 -21
  80. package/docs/CreateSubmissionDataRequestTokenResponseToken.md +0 -11
  81. package/docs/CreateSubmissionResponse.md +0 -21
  82. package/docs/CreateTemplateFromUploadData.md +0 -8
  83. package/docs/CustomFile.md +0 -9
  84. package/docs/Error.md +0 -18
  85. package/docs/Folder.md +0 -11
  86. package/docs/FoldersFolder.md +0 -9
  87. package/docs/FullTemplate.md +0 -59
  88. package/docs/FullTemplateDefaults.md +0 -10
  89. package/docs/HtmlTemplateData.md +0 -48
  90. package/docs/InvalidRequest.md +0 -18
  91. package/docs/ListSubmissionsResponse.md +0 -10
  92. package/docs/MoveFolderData.md +0 -8
  93. package/docs/MoveTemplateData.md +0 -8
  94. package/docs/PDFApi.md +0 -1800
  95. package/docs/PendingTemplate.md +0 -37
  96. package/docs/RenameFolderData.md +0 -8
  97. package/docs/Submission.md +0 -55
  98. package/docs/SubmissionAction.md +0 -54
  99. package/docs/SubmissionBatch.md +0 -29
  100. package/docs/SubmissionBatchData.md +0 -11
  101. package/docs/SubmissionData.md +0 -16
  102. package/docs/SubmissionDataBatchRequest.md +0 -13
  103. package/docs/SubmissionDataRequest.md +0 -79
  104. package/docs/Template.md +0 -40
  105. package/docs/TemplateData.md +0 -36
  106. package/docs/TemplatestemplateIdaddFieldsFields.md +0 -286
  107. package/docs/UpdateDataRequestResponse.md +0 -21
  108. package/docs/UpdateSubmissionDataRequestData.md +0 -60
  109. package/docs/UpdateTemplateData.md +0 -8
  110. package/docs/UpdateTemplateResponse.md +0 -20
  111. package/docs/UploadTemplateData.md +0 -49
  112. package/docs/UploadTemplateDataDocument.md +0 -19
  113. package/docs/UploadTemplateDataDocumentMetadata.md +0 -19
  114. package/git_push.sh +0 -52
  115. package/mocha.opts +0 -1
  116. package/src/ApiClient.js +0 -605
  117. package/src/api/Client.js +0 -408
  118. package/src/api/PDFApi.js +0 -1815
  119. package/src/index.js +0 -334
  120. package/src/model/AddFieldsData.js +0 -82
  121. package/src/model/AddFieldsTemplateResponse.js +0 -114
  122. package/src/model/AuthenticationError.js +0 -102
  123. package/src/model/AuthenticationSuccessResponse.js +0 -93
  124. package/src/model/CombinePdfsData.js +0 -122
  125. package/src/model/CombinedSubmission.js +0 -199
  126. package/src/model/CombinedSubmissionAction.js +0 -198
  127. package/src/model/CombinedSubmissionData.js +0 -114
  128. package/src/model/CopyTemplateData.js +0 -90
  129. package/src/model/CreateCombinedSubmissionResponse.js +0 -114
  130. package/src/model/CreateCustomFileData.js +0 -82
  131. package/src/model/CreateCustomFileResponse.js +0 -114
  132. package/src/model/CreateFolderData.js +0 -82
  133. package/src/model/CreateHtmlTemplateData.js +0 -82
  134. package/src/model/CreateSubmissionBatchResponse.js +0 -130
  135. package/src/model/CreateSubmissionBatchSubmissionsResponse.js +0 -119
  136. package/src/model/CreateSubmissionDataRequestData.js +0 -256
  137. package/src/model/CreateSubmissionDataRequestTokenResponse.js +0 -114
  138. package/src/model/CreateSubmissionDataRequestTokenResponseToken.js +0 -105
  139. package/src/model/CreateSubmissionResponse.js +0 -114
  140. package/src/model/CreateTemplateFromUploadData.js +0 -82
  141. package/src/model/CustomFile.js +0 -89
  142. package/src/model/Error.js +0 -103
  143. package/src/model/Folder.js +0 -105
  144. package/src/model/FoldersFolder.js +0 -89
  145. package/src/model/FullTemplate.js +0 -407
  146. package/src/model/FullTemplateDefaults.js +0 -97
  147. package/src/model/HtmlTemplateData.js +0 -248
  148. package/src/model/InvalidRequest.js +0 -103
  149. package/src/model/ListSubmissionsResponse.js +0 -97
  150. package/src/model/MoveFolderData.js +0 -81
  151. package/src/model/MoveTemplateData.js +0 -82
  152. package/src/model/PendingTemplate.js +0 -231
  153. package/src/model/RenameFolderData.js +0 -82
  154. package/src/model/Submission.js +0 -291
  155. package/src/model/SubmissionAction.js +0 -198
  156. package/src/model/SubmissionBatch.js +0 -167
  157. package/src/model/SubmissionBatchData.js +0 -106
  158. package/src/model/SubmissionData.js +0 -146
  159. package/src/model/SubmissionDataBatchRequest.js +0 -121
  160. package/src/model/SubmissionDataRequest.js +0 -345
  161. package/src/model/Template.js +0 -255
  162. package/src/model/TemplateData.js +0 -223
  163. package/src/model/TemplatestemplateIdaddFieldsFields.js +0 -1128
  164. package/src/model/UpdateDataRequestResponse.js +0 -114
  165. package/src/model/UpdateSubmissionDataRequestData.js +0 -256
  166. package/src/model/UpdateTemplateData.js +0 -82
  167. package/src/model/UpdateTemplateResponse.js +0 -106
  168. package/src/model/UploadTemplateData.js +0 -256
  169. package/src/model/UploadTemplateDataDocument.js +0 -109
  170. package/src/model/UploadTemplateDataDocumentMetadata.js +0 -109
  171. package/test/api/ClientIntegration.spec.js +0 -281
  172. package/test/api/PDFApi.spec.js.original +0 -415
  173. package/test/api/PDFApiIntegration.spec.js +0 -305
  174. package/test/model/AddFieldsData.spec.js +0 -67
  175. package/test/model/AddFieldsTemplateResponse.spec.js +0 -79
  176. package/test/model/AuthenticationError.spec.js +0 -73
  177. package/test/model/AuthenticationSuccessResponse.spec.js +0 -67
  178. package/test/model/CombinePdfsData.spec.js +0 -97
  179. package/test/model/CombinedSubmission.spec.js +0 -139
  180. package/test/model/CombinedSubmissionAction.spec.js +0 -97
  181. package/test/model/CombinedSubmissionData.spec.js +0 -91
  182. package/test/model/CopyTemplateData.spec.js +0 -73
  183. package/test/model/CreateCombinedSubmissionResponse.spec.js +0 -79
  184. package/test/model/CreateCustomFileData.spec.js +0 -67
  185. package/test/model/CreateCustomFileResponse.spec.js +0 -79
  186. package/test/model/CreateFolderData.spec.js +0 -67
  187. package/test/model/CreateHtmlTemplateData.spec.js +0 -67
  188. package/test/model/CreateSubmissionBatchResponse.spec.js +0 -91
  189. package/test/model/CreateSubmissionBatchSubmissionsResponse.spec.js +0 -79
  190. package/test/model/CreateSubmissionDataRequestData.spec.js +0 -139
  191. package/test/model/CreateSubmissionDataRequestTokenResponse.spec.js +0 -79
  192. package/test/model/CreateSubmissionDataRequestTokenResponseToken.spec.js +0 -85
  193. package/test/model/CreateSubmissionResponse.spec.js +0 -79
  194. package/test/model/CreateTemplateFromUploadData.spec.js +0 -67
  195. package/test/model/CustomFile.spec.js +0 -73
  196. package/test/model/Error.spec.js +0 -73
  197. package/test/model/Folder.spec.js +0 -85
  198. package/test/model/FoldersFolder.spec.js +0 -73
  199. package/test/model/FullTemplate.spec.js +0 -295
  200. package/test/model/FullTemplateDefaults.spec.js +0 -79
  201. package/test/model/HtmlTemplateData.spec.js +0 -163
  202. package/test/model/InvalidRequest.spec.js +0 -73
  203. package/test/model/ListSubmissionsResponse.spec.js +0 -79
  204. package/test/model/MoveFolderData.spec.js +0 -67
  205. package/test/model/MoveTemplateData.spec.js +0 -67
  206. package/test/model/PendingTemplate.spec.js +0 -163
  207. package/test/model/RenameFolderData.spec.js +0 -67
  208. package/test/model/Submission.spec.js +0 -175
  209. package/test/model/SubmissionAction.spec.js +0 -97
  210. package/test/model/SubmissionBatch.spec.js +0 -115
  211. package/test/model/SubmissionBatchData.spec.js +0 -85
  212. package/test/model/SubmissionData.spec.js +0 -115
  213. package/test/model/SubmissionDataBatchRequest.spec.js +0 -97
  214. package/test/model/SubmissionDataRequest.spec.js +0 -187
  215. package/test/model/Template.spec.js +0 -181
  216. package/test/model/TemplateData.spec.js +0 -157
  217. package/test/model/TemplatestemplateIdaddFieldsFields.spec.js +0 -577
  218. package/test/model/UpdateDataRequestResponse.spec.js +0 -79
  219. package/test/model/UpdateSubmissionDataRequestData.spec.js +0 -139
  220. package/test/model/UpdateTemplateData.spec.js +0 -67
  221. package/test/model/UpdateTemplateResponse.spec.js +0 -73
  222. package/test/model/UploadTemplateData.spec.js +0 -169
  223. package/test/model/UploadTemplateDataDocument.spec.js +0 -79
  224. package/test/model/UploadTemplateDataDocumentMetadata.spec.js +0 -79
@@ -0,0 +1,139 @@
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 ErrorResponse model module.
31
+ * @module model/ErrorResponse
32
+ * @version 2.1.0
33
+ */
34
+ var ErrorResponse = /*#__PURE__*/function () {
35
+ /**
36
+ * Constructs a new <code>ErrorResponse</code>.
37
+ * @alias module:model/ErrorResponse
38
+ * @param status {module:model/ErrorResponse.StatusEnum}
39
+ * @param error {String}
40
+ */
41
+ function ErrorResponse(status, error) {
42
+ _classCallCheck(this, ErrorResponse);
43
+ ErrorResponse.initialize(this, status, error);
44
+ }
45
+
46
+ /**
47
+ * Initializes the fields of this object.
48
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
49
+ * Only for internal use.
50
+ */
51
+ return _createClass(ErrorResponse, null, [{
52
+ key: "initialize",
53
+ value: function initialize(obj, status, error) {
54
+ obj['status'] = status;
55
+ obj['error'] = error;
56
+ }
57
+
58
+ /**
59
+ * Constructs a <code>ErrorResponse</code> from a plain JavaScript object, optionally creating a new instance.
60
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
61
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
62
+ * @param {module:model/ErrorResponse} obj Optional instance to populate.
63
+ * @return {module:model/ErrorResponse} The populated <code>ErrorResponse</code> instance.
64
+ */
65
+ }, {
66
+ key: "constructFromObject",
67
+ value: function constructFromObject(data, obj) {
68
+ if (data) {
69
+ obj = obj || new ErrorResponse();
70
+ if (data.hasOwnProperty('status')) {
71
+ obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
72
+ }
73
+ if (data.hasOwnProperty('error')) {
74
+ obj['error'] = _ApiClient["default"].convertToType(data['error'], 'String');
75
+ }
76
+ }
77
+ return obj;
78
+ }
79
+
80
+ /**
81
+ * Validates the JSON data with respect to <code>ErrorResponse</code>.
82
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
83
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>ErrorResponse</code>.
84
+ */
85
+ }, {
86
+ key: "validateJSON",
87
+ value: function validateJSON(data) {
88
+ // check to make sure all required properties are present in the JSON string
89
+ var _iterator = _createForOfIteratorHelper(ErrorResponse.RequiredProperties),
90
+ _step;
91
+ try {
92
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
93
+ var property = _step.value;
94
+ if (!data.hasOwnProperty(property)) {
95
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
96
+ }
97
+ }
98
+ // ensure the json data is a string
99
+ } catch (err) {
100
+ _iterator.e(err);
101
+ } finally {
102
+ _iterator.f();
103
+ }
104
+ if (data['status'] && !(typeof data['status'] === 'string' || data['status'] instanceof String)) {
105
+ throw new Error("Expected the field `status` to be a primitive type in the JSON string but got " + data['status']);
106
+ }
107
+ // ensure the json data is a string
108
+ if (data['error'] && !(typeof data['error'] === 'string' || data['error'] instanceof String)) {
109
+ throw new Error("Expected the field `error` to be a primitive type in the JSON string but got " + data['error']);
110
+ }
111
+ return true;
112
+ }
113
+ }]);
114
+ }();
115
+ ErrorResponse.RequiredProperties = ["status", "error"];
116
+
117
+ /**
118
+ * @member {module:model/ErrorResponse.StatusEnum} status
119
+ */
120
+ ErrorResponse.prototype['status'] = undefined;
121
+
122
+ /**
123
+ * @member {String} error
124
+ */
125
+ ErrorResponse.prototype['error'] = undefined;
126
+
127
+ /**
128
+ * Allowed values for the <code>status</code> property.
129
+ * @enum {String}
130
+ * @readonly
131
+ */
132
+ ErrorResponse['StatusEnum'] = {
133
+ /**
134
+ * value: "error"
135
+ * @const
136
+ */
137
+ "error": "error"
138
+ };
139
+ var _default = exports["default"] = ErrorResponse;
@@ -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 Folder model module.
31
+ * @module model/Folder
32
+ * @version 2.1.0
33
+ */
34
+ var Folder = /*#__PURE__*/function () {
35
+ /**
36
+ * Constructs a new <code>Folder</code>.
37
+ * @alias module:model/Folder
38
+ * @param id {String}
39
+ * @param name {String}
40
+ * @param path {String}
41
+ * @param parentFolderId {String}
42
+ */
43
+ function Folder(id, name, path, parentFolderId) {
44
+ _classCallCheck(this, Folder);
45
+ Folder.initialize(this, id, name, path, parentFolderId);
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(Folder, null, [{
54
+ key: "initialize",
55
+ value: function initialize(obj, id, name, path, parentFolderId) {
56
+ obj['id'] = id;
57
+ obj['name'] = name;
58
+ obj['path'] = path;
59
+ obj['parent_folder_id'] = parentFolderId;
60
+ }
61
+
62
+ /**
63
+ * Constructs a <code>Folder</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/Folder} obj Optional instance to populate.
67
+ * @return {module:model/Folder} The populated <code>Folder</code> instance.
68
+ */
69
+ }, {
70
+ key: "constructFromObject",
71
+ value: function constructFromObject(data, obj) {
72
+ if (data) {
73
+ obj = obj || new Folder();
74
+ if (data.hasOwnProperty('id')) {
75
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
76
+ }
77
+ if (data.hasOwnProperty('name')) {
78
+ obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
79
+ }
80
+ if (data.hasOwnProperty('path')) {
81
+ obj['path'] = _ApiClient["default"].convertToType(data['path'], 'String');
82
+ }
83
+ if (data.hasOwnProperty('parent_folder_id')) {
84
+ obj['parent_folder_id'] = _ApiClient["default"].convertToType(data['parent_folder_id'], 'String');
85
+ }
86
+ }
87
+ return obj;
88
+ }
89
+
90
+ /**
91
+ * Validates the JSON data with respect to <code>Folder</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>Folder</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(Folder.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['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
119
+ throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
120
+ }
121
+ // ensure the json data is a string
122
+ if (data['path'] && !(typeof data['path'] === 'string' || data['path'] instanceof String)) {
123
+ throw new Error("Expected the field `path` to be a primitive type in the JSON string but got " + data['path']);
124
+ }
125
+ // ensure the json data is a string
126
+ if (data['parent_folder_id'] && !(typeof data['parent_folder_id'] === 'string' || data['parent_folder_id'] instanceof String)) {
127
+ throw new Error("Expected the field `parent_folder_id` to be a primitive type in the JSON string but got " + data['parent_folder_id']);
128
+ }
129
+ return true;
130
+ }
131
+ }]);
132
+ }();
133
+ Folder.RequiredProperties = ["id", "name", "path", "parent_folder_id"];
134
+
135
+ /**
136
+ * @member {String} id
137
+ */
138
+ Folder.prototype['id'] = undefined;
139
+
140
+ /**
141
+ * @member {String} name
142
+ */
143
+ Folder.prototype['name'] = undefined;
144
+
145
+ /**
146
+ * @member {String} path
147
+ */
148
+ Folder.prototype['path'] = undefined;
149
+
150
+ /**
151
+ * @member {String} parent_folder_id
152
+ */
153
+ Folder.prototype['parent_folder_id'] = undefined;
154
+ var _default = exports["default"] = Folder;
@@ -0,0 +1,173 @@
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 _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
11
+ 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); } }
12
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
13
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
+ 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); } /**
15
+ * DocSpring API
16
+ * DocSpring provides an API that helps you fill out and sign PDF templates.
17
+ *
18
+ * The version of the OpenAPI document: v1
19
+ *
20
+ *
21
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
22
+ * https://openapi-generator.tech
23
+ * Do not edit the class manually.
24
+ *
25
+ */
26
+ /**
27
+ * The JsonSchema model module.
28
+ * @module model/JsonSchema
29
+ * @version 2.1.0
30
+ */
31
+ var JsonSchema = /*#__PURE__*/function () {
32
+ /**
33
+ * Constructs a new <code>JsonSchema</code>.
34
+ * @alias module:model/JsonSchema
35
+ */
36
+ function JsonSchema() {
37
+ _classCallCheck(this, JsonSchema);
38
+ JsonSchema.initialize(this);
39
+ }
40
+
41
+ /**
42
+ * Initializes the fields of this object.
43
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
44
+ * Only for internal use.
45
+ */
46
+ return _createClass(JsonSchema, null, [{
47
+ key: "initialize",
48
+ value: function initialize(obj) {}
49
+
50
+ /**
51
+ * Constructs a <code>JsonSchema</code> from a plain JavaScript object, optionally creating a new instance.
52
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
53
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
54
+ * @param {module:model/JsonSchema} obj Optional instance to populate.
55
+ * @return {module:model/JsonSchema} The populated <code>JsonSchema</code> instance.
56
+ */
57
+ }, {
58
+ key: "constructFromObject",
59
+ value: function constructFromObject(data, obj) {
60
+ if (data) {
61
+ obj = obj || new JsonSchema();
62
+ if (data.hasOwnProperty('$schema')) {
63
+ obj['$schema'] = _ApiClient["default"].convertToType(data['$schema'], 'String');
64
+ }
65
+ if (data.hasOwnProperty('id')) {
66
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
67
+ }
68
+ if (data.hasOwnProperty('title')) {
69
+ obj['title'] = _ApiClient["default"].convertToType(data['title'], 'String');
70
+ }
71
+ if (data.hasOwnProperty('description')) {
72
+ obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
73
+ }
74
+ if (data.hasOwnProperty('definitions')) {
75
+ obj['definitions'] = _ApiClient["default"].convertToType(data['definitions'], Object);
76
+ }
77
+ if (data.hasOwnProperty('type')) {
78
+ obj['type'] = _ApiClient["default"].convertToType(data['type'], 'String');
79
+ }
80
+ if (data.hasOwnProperty('properties')) {
81
+ obj['properties'] = _ApiClient["default"].convertToType(data['properties'], Object);
82
+ }
83
+ if (data.hasOwnProperty('additionalProperties')) {
84
+ obj['additionalProperties'] = _ApiClient["default"].convertToType(data['additionalProperties'], 'Boolean');
85
+ }
86
+ if (data.hasOwnProperty('required')) {
87
+ obj['required'] = _ApiClient["default"].convertToType(data['required'], ['String']);
88
+ }
89
+ }
90
+ return obj;
91
+ }
92
+
93
+ /**
94
+ * Validates the JSON data with respect to <code>JsonSchema</code>.
95
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
96
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>JsonSchema</code>.
97
+ */
98
+ }, {
99
+ key: "validateJSON",
100
+ value: function validateJSON(data) {
101
+ // ensure the json data is a string
102
+ if (data['$schema'] && !(typeof data['$schema'] === 'string' || data['$schema'] instanceof String)) {
103
+ throw new Error("Expected the field `$schema` to be a primitive type in the JSON string but got " + data['$schema']);
104
+ }
105
+ // ensure the json data is a string
106
+ if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
107
+ throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
108
+ }
109
+ // ensure the json data is a string
110
+ if (data['title'] && !(typeof data['title'] === 'string' || data['title'] instanceof String)) {
111
+ throw new Error("Expected the field `title` to be a primitive type in the JSON string but got " + data['title']);
112
+ }
113
+ // ensure the json data is a string
114
+ if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
115
+ throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
116
+ }
117
+ // ensure the json data is a string
118
+ if (data['type'] && !(typeof data['type'] === 'string' || data['type'] instanceof String)) {
119
+ throw new Error("Expected the field `type` to be a primitive type in the JSON string but got " + data['type']);
120
+ }
121
+ // ensure the json data is an array
122
+ if (!Array.isArray(data['required'])) {
123
+ throw new Error("Expected the field `required` to be an array in the JSON data but got " + data['required']);
124
+ }
125
+ return true;
126
+ }
127
+ }]);
128
+ }();
129
+ /**
130
+ * @member {String} $schema
131
+ */
132
+ JsonSchema.prototype['$schema'] = undefined;
133
+
134
+ /**
135
+ * @member {String} id
136
+ */
137
+ JsonSchema.prototype['id'] = undefined;
138
+
139
+ /**
140
+ * @member {String} title
141
+ */
142
+ JsonSchema.prototype['title'] = undefined;
143
+
144
+ /**
145
+ * @member {String} description
146
+ */
147
+ JsonSchema.prototype['description'] = undefined;
148
+
149
+ /**
150
+ * @member {Object} definitions
151
+ */
152
+ JsonSchema.prototype['definitions'] = undefined;
153
+
154
+ /**
155
+ * @member {String} type
156
+ */
157
+ JsonSchema.prototype['type'] = undefined;
158
+
159
+ /**
160
+ * @member {Object} properties
161
+ */
162
+ JsonSchema.prototype['properties'] = undefined;
163
+
164
+ /**
165
+ * @member {Boolean} additionalProperties
166
+ */
167
+ JsonSchema.prototype['additionalProperties'] = undefined;
168
+
169
+ /**
170
+ * @member {Array.<String>} required
171
+ */
172
+ JsonSchema.prototype['required'] = undefined;
173
+ var _default = exports["default"] = JsonSchema;
@@ -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
+ var _Submission = _interopRequireDefault(require("./Submission"));
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
10
+ 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); }
11
+ 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; } } }; }
12
+ 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; } }
13
+ 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; }
14
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
15
+ 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); } }
16
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
17
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
+ 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); } /**
19
+ * DocSpring API
20
+ * DocSpring provides an API that helps you fill out and sign PDF templates.
21
+ *
22
+ * The version of the OpenAPI document: v1
23
+ *
24
+ *
25
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
26
+ * https://openapi-generator.tech
27
+ * Do not edit the class manually.
28
+ *
29
+ */
30
+ /**
31
+ * The ListSubmissionsResponse model module.
32
+ * @module model/ListSubmissionsResponse
33
+ * @version 2.1.0
34
+ */
35
+ var ListSubmissionsResponse = /*#__PURE__*/function () {
36
+ /**
37
+ * Constructs a new <code>ListSubmissionsResponse</code>.
38
+ * @alias module:model/ListSubmissionsResponse
39
+ * @param submissions {Array.<module:model/Submission>}
40
+ * @param limit {Number}
41
+ * @param nextCursor {String}
42
+ */
43
+ function ListSubmissionsResponse(submissions, limit, nextCursor) {
44
+ _classCallCheck(this, ListSubmissionsResponse);
45
+ ListSubmissionsResponse.initialize(this, submissions, limit, nextCursor);
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(ListSubmissionsResponse, null, [{
54
+ key: "initialize",
55
+ value: function initialize(obj, submissions, limit, nextCursor) {
56
+ obj['submissions'] = submissions;
57
+ obj['limit'] = limit;
58
+ obj['next_cursor'] = nextCursor;
59
+ }
60
+
61
+ /**
62
+ * Constructs a <code>ListSubmissionsResponse</code> from a plain JavaScript object, optionally creating a new instance.
63
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
64
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
65
+ * @param {module:model/ListSubmissionsResponse} obj Optional instance to populate.
66
+ * @return {module:model/ListSubmissionsResponse} The populated <code>ListSubmissionsResponse</code> instance.
67
+ */
68
+ }, {
69
+ key: "constructFromObject",
70
+ value: function constructFromObject(data, obj) {
71
+ if (data) {
72
+ obj = obj || new ListSubmissionsResponse();
73
+ if (data.hasOwnProperty('submissions')) {
74
+ obj['submissions'] = _ApiClient["default"].convertToType(data['submissions'], [_Submission["default"]]);
75
+ }
76
+ if (data.hasOwnProperty('limit')) {
77
+ obj['limit'] = _ApiClient["default"].convertToType(data['limit'], 'Number');
78
+ }
79
+ if (data.hasOwnProperty('next_cursor')) {
80
+ obj['next_cursor'] = _ApiClient["default"].convertToType(data['next_cursor'], 'String');
81
+ }
82
+ }
83
+ return obj;
84
+ }
85
+
86
+ /**
87
+ * Validates the JSON data with respect to <code>ListSubmissionsResponse</code>.
88
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
89
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>ListSubmissionsResponse</code>.
90
+ */
91
+ }, {
92
+ key: "validateJSON",
93
+ value: function validateJSON(data) {
94
+ // check to make sure all required properties are present in the JSON string
95
+ var _iterator = _createForOfIteratorHelper(ListSubmissionsResponse.RequiredProperties),
96
+ _step;
97
+ try {
98
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
99
+ var property = _step.value;
100
+ if (!data.hasOwnProperty(property)) {
101
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
102
+ }
103
+ }
104
+ } catch (err) {
105
+ _iterator.e(err);
106
+ } finally {
107
+ _iterator.f();
108
+ }
109
+ if (data['submissions']) {
110
+ // data not null
111
+ // ensure the json data is an array
112
+ if (!Array.isArray(data['submissions'])) {
113
+ throw new Error("Expected the field `submissions` to be an array in the JSON data but got " + data['submissions']);
114
+ }
115
+ // validate the optional field `submissions` (array)
116
+ var _iterator2 = _createForOfIteratorHelper(data['submissions']),
117
+ _step2;
118
+ try {
119
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
120
+ var item = _step2.value;
121
+ _Submission["default"].validateJSON(item);
122
+ }
123
+ } catch (err) {
124
+ _iterator2.e(err);
125
+ } finally {
126
+ _iterator2.f();
127
+ }
128
+ ;
129
+ }
130
+ // ensure the json data is a string
131
+ if (data['next_cursor'] && !(typeof data['next_cursor'] === 'string' || data['next_cursor'] instanceof String)) {
132
+ throw new Error("Expected the field `next_cursor` to be a primitive type in the JSON string but got " + data['next_cursor']);
133
+ }
134
+ return true;
135
+ }
136
+ }]);
137
+ }();
138
+ ListSubmissionsResponse.RequiredProperties = ["submissions", "limit", "next_cursor"];
139
+
140
+ /**
141
+ * @member {Array.<module:model/Submission>} submissions
142
+ */
143
+ ListSubmissionsResponse.prototype['submissions'] = undefined;
144
+
145
+ /**
146
+ * @member {Number} limit
147
+ */
148
+ ListSubmissionsResponse.prototype['limit'] = undefined;
149
+
150
+ /**
151
+ * @member {String} next_cursor
152
+ */
153
+ ListSubmissionsResponse.prototype['next_cursor'] = undefined;
154
+ var _default = exports["default"] = ListSubmissionsResponse;