docspring 3.0.0 → 3.2.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 (63) hide show
  1. package/AGENTS.md +33 -0
  2. package/README.md +148 -205
  3. package/dist/ApiClient.js +3 -3
  4. package/dist/api/Client.js +249 -8
  5. package/dist/index.js +28 -0
  6. package/dist/model/AddFieldsData.js +2 -2
  7. package/dist/model/BatchGeneratePdfs201Response.js +4 -7
  8. package/dist/model/CombinePdfsData.js +4 -2
  9. package/dist/model/CombinedSubmission.js +7 -22
  10. package/dist/model/CombinedSubmissionAction.js +22 -6
  11. package/dist/model/CopyTemplateOptions.js +18 -29
  12. package/dist/model/CreateCombinedSubmissionResponse.js +4 -7
  13. package/dist/model/CreateCustomFileData.js +2 -2
  14. package/dist/model/CreateCustomFileResponse.js +4 -7
  15. package/dist/model/CreateFolderData.js +2 -2
  16. package/dist/model/CreateHtmlTemplate.js +2 -2
  17. package/dist/model/CreatePdfSubmissionData.js +2 -2
  18. package/dist/model/CreatePdfTemplate.js +2 -2
  19. package/dist/model/CreateSubmissionDataRequestData.js +2 -2
  20. package/dist/model/CreateSubmissionDataRequestEventRequest.js +2 -2
  21. package/dist/model/CreateSubmissionDataRequestEventResponse.js +4 -7
  22. package/dist/model/CreateSubmissionDataRequestResponse.js +4 -7
  23. package/dist/model/CreateSubmissionDataRequestTokenResponse.js +4 -7
  24. package/dist/model/CreateSubmissionResponse.js +4 -7
  25. package/dist/model/CreateWebhookData.js +108 -0
  26. package/dist/model/CustomFile.js +4 -2
  27. package/dist/model/ErrorOrMultipleErrorsResponse.js +4 -2
  28. package/dist/model/ErrorResponse.js +4 -2
  29. package/dist/model/Folder.js +4 -2
  30. package/dist/model/JsonSchema.js +34 -2
  31. package/dist/model/ListSubmissionsResponse.js +7 -22
  32. package/dist/model/MoveFolderData.js +2 -2
  33. package/dist/model/MoveTemplateData.js +14 -2
  34. package/dist/model/MultipleErrorsResponse.js +4 -2
  35. package/dist/model/PublishVersionData.js +2 -2
  36. package/dist/model/RenameFolderData.js +2 -2
  37. package/dist/model/RestoreVersionData.js +2 -2
  38. package/dist/model/Submission.js +34 -53
  39. package/dist/model/Submission422Response.js +4 -7
  40. package/dist/model/SubmissionAction.js +22 -6
  41. package/dist/model/SubmissionBatch.js +4 -2
  42. package/dist/model/SubmissionBatchData.js +2 -2
  43. package/dist/model/SubmissionBatchWithSubmissions.js +7 -22
  44. package/dist/model/SubmissionDataRequest.js +28 -7
  45. package/dist/model/SubmissionDataRequestEvent.js +4 -2
  46. package/dist/model/SubmissionDataRequestShow.js +28 -7
  47. package/dist/model/SubmissionDataRequestToken.js +4 -2
  48. package/dist/model/SubmissionPreview.js +34 -47
  49. package/dist/model/SuccessErrorResponse.js +4 -2
  50. package/dist/model/SuccessMultipleErrorsResponse.js +4 -2
  51. package/dist/model/Template.js +132 -7
  52. package/dist/model/TemplateAddFieldsResponse.js +4 -2
  53. package/dist/model/TemplateDeleteResponse.js +4 -2
  54. package/dist/model/TemplateModelCodeResponse.js +195 -0
  55. package/dist/model/TemplatePreview.js +108 -7
  56. package/dist/model/TemplatePublishVersionResponse.js +4 -2
  57. package/dist/model/UpdateHtmlTemplate.js +2 -2
  58. package/dist/model/UpdatePdfTemplate.js +2 -2
  59. package/dist/model/UpdateSubmissionDataRequestData.js +2 -2
  60. package/dist/model/UpdateWebhookData.js +108 -0
  61. package/dist/model/UploadPresignResponse.js +4 -2
  62. package/dist/model/Webhook.js +380 -0
  63. package/package.json +14 -4
@@ -0,0 +1,380 @@
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, 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
+ * 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.
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 Webhook model module.
31
+ * @module model/Webhook
32
+ * @version 3.2.0
33
+ */
34
+ var Webhook = /*#__PURE__*/function () {
35
+ /**
36
+ * Constructs a new <code>Webhook</code>.
37
+ * @alias module:model/Webhook
38
+ * @extends Object
39
+ * @param id {String}
40
+ * @param name {String}
41
+ * @param url {String}
42
+ * @param enabled {Boolean}
43
+ * @param event_types {Array.<String>}
44
+ * @param mode {module:model/Webhook.ModeEnum}
45
+ * @param version {Number}
46
+ * @param api_token_ids {Array.<String>}
47
+ * @param template_ids {Array.<String>}
48
+ * @param folder_ids {Array.<String>}
49
+ * @param include_submission_data {Boolean}
50
+ * @param strip_fields {Array.<String>}
51
+ * @param headers {Object.<String, String>}
52
+ * @param consecutive_failures {Number}
53
+ * @param last_failure_at {String}
54
+ * @param disabled_at {String}
55
+ * @param disabled_reason {String}
56
+ * @param secret {String}
57
+ * @param created_at {String}
58
+ * @param updated_at {String}
59
+ */
60
+ function Webhook(id, name, url, enabled, event_types, mode, version, api_token_ids, template_ids, folder_ids, include_submission_data, strip_fields, headers, consecutive_failures, last_failure_at, disabled_at, disabled_reason, secret, created_at, updated_at) {
61
+ _classCallCheck(this, Webhook);
62
+ Webhook.initialize(this, id, name, url, enabled, event_types, mode, version, api_token_ids, template_ids, folder_ids, include_submission_data, strip_fields, headers, consecutive_failures, last_failure_at, disabled_at, disabled_reason, secret, created_at, updated_at);
63
+ }
64
+
65
+ /**
66
+ * Initializes the fields of this object.
67
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
68
+ * Only for internal use.
69
+ */
70
+ return _createClass(Webhook, null, [{
71
+ key: "initialize",
72
+ value: function initialize(obj, id, name, url, enabled, event_types, mode, version, api_token_ids, template_ids, folder_ids, include_submission_data, strip_fields, headers, consecutive_failures, last_failure_at, disabled_at, disabled_reason, secret, created_at, updated_at) {
73
+ obj['id'] = id;
74
+ obj['name'] = name;
75
+ obj['url'] = url;
76
+ obj['enabled'] = enabled;
77
+ obj['event_types'] = event_types;
78
+ obj['mode'] = mode;
79
+ obj['version'] = version;
80
+ obj['api_token_ids'] = api_token_ids;
81
+ obj['template_ids'] = template_ids;
82
+ obj['folder_ids'] = folder_ids;
83
+ obj['include_submission_data'] = include_submission_data;
84
+ obj['strip_fields'] = strip_fields;
85
+ obj['headers'] = headers;
86
+ obj['consecutive_failures'] = consecutive_failures;
87
+ obj['last_failure_at'] = last_failure_at;
88
+ obj['disabled_at'] = disabled_at;
89
+ obj['disabled_reason'] = disabled_reason;
90
+ obj['secret'] = secret;
91
+ obj['created_at'] = created_at;
92
+ obj['updated_at'] = updated_at;
93
+ }
94
+
95
+ /**
96
+ * Constructs a <code>Webhook</code> from a plain JavaScript object, optionally creating a new instance.
97
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
98
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
99
+ * @param {module:model/Webhook} obj Optional instance to populate.
100
+ * @return {module:model/Webhook} The populated <code>Webhook</code> instance.
101
+ */
102
+ }, {
103
+ key: "constructFromObject",
104
+ value: function constructFromObject(data, obj) {
105
+ if (data) {
106
+ obj = obj || new Webhook();
107
+ _ApiClient["default"].constructFromObject(data, obj, 'Object');
108
+ if (data.hasOwnProperty('id')) {
109
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
110
+ }
111
+ if (data.hasOwnProperty('name')) {
112
+ obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
113
+ }
114
+ if (data.hasOwnProperty('url')) {
115
+ obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
116
+ }
117
+ if (data.hasOwnProperty('enabled')) {
118
+ obj['enabled'] = _ApiClient["default"].convertToType(data['enabled'], 'Boolean');
119
+ }
120
+ if (data.hasOwnProperty('event_types')) {
121
+ obj['event_types'] = _ApiClient["default"].convertToType(data['event_types'], ['String']);
122
+ }
123
+ if (data.hasOwnProperty('mode')) {
124
+ obj['mode'] = _ApiClient["default"].convertToType(data['mode'], 'String');
125
+ }
126
+ if (data.hasOwnProperty('version')) {
127
+ obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
128
+ }
129
+ if (data.hasOwnProperty('api_token_ids')) {
130
+ obj['api_token_ids'] = _ApiClient["default"].convertToType(data['api_token_ids'], ['String']);
131
+ }
132
+ if (data.hasOwnProperty('template_ids')) {
133
+ obj['template_ids'] = _ApiClient["default"].convertToType(data['template_ids'], ['String']);
134
+ }
135
+ if (data.hasOwnProperty('folder_ids')) {
136
+ obj['folder_ids'] = _ApiClient["default"].convertToType(data['folder_ids'], ['String']);
137
+ }
138
+ if (data.hasOwnProperty('include_submission_data')) {
139
+ obj['include_submission_data'] = _ApiClient["default"].convertToType(data['include_submission_data'], 'Boolean');
140
+ }
141
+ if (data.hasOwnProperty('strip_fields')) {
142
+ obj['strip_fields'] = _ApiClient["default"].convertToType(data['strip_fields'], ['String']);
143
+ }
144
+ if (data.hasOwnProperty('headers')) {
145
+ obj['headers'] = _ApiClient["default"].convertToType(data['headers'], {
146
+ 'String': 'String'
147
+ });
148
+ }
149
+ if (data.hasOwnProperty('consecutive_failures')) {
150
+ obj['consecutive_failures'] = _ApiClient["default"].convertToType(data['consecutive_failures'], 'Number');
151
+ }
152
+ if (data.hasOwnProperty('last_failure_at')) {
153
+ obj['last_failure_at'] = _ApiClient["default"].convertToType(data['last_failure_at'], 'String');
154
+ }
155
+ if (data.hasOwnProperty('disabled_at')) {
156
+ obj['disabled_at'] = _ApiClient["default"].convertToType(data['disabled_at'], 'String');
157
+ }
158
+ if (data.hasOwnProperty('disabled_reason')) {
159
+ obj['disabled_reason'] = _ApiClient["default"].convertToType(data['disabled_reason'], 'String');
160
+ }
161
+ if (data.hasOwnProperty('secret')) {
162
+ obj['secret'] = _ApiClient["default"].convertToType(data['secret'], 'String');
163
+ }
164
+ if (data.hasOwnProperty('created_at')) {
165
+ obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'String');
166
+ }
167
+ if (data.hasOwnProperty('updated_at')) {
168
+ obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'String');
169
+ }
170
+ }
171
+ return obj;
172
+ }
173
+
174
+ /**
175
+ * Validates the JSON data with respect to <code>Webhook</code>.
176
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
177
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>Webhook</code>.
178
+ */
179
+ }, {
180
+ key: "validateJSON",
181
+ value: function validateJSON(data) {
182
+ // check to make sure all required properties are present in the JSON string
183
+ var _iterator = _createForOfIteratorHelper(Webhook.RequiredProperties),
184
+ _step;
185
+ try {
186
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
187
+ var property = _step.value;
188
+ if (!data.hasOwnProperty(property)) {
189
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
190
+ }
191
+ }
192
+ // ensure the json data is a string
193
+ } catch (err) {
194
+ _iterator.e(err);
195
+ } finally {
196
+ _iterator.f();
197
+ }
198
+ if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
199
+ throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
200
+ }
201
+ // ensure the json data is a string
202
+ if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
203
+ throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
204
+ }
205
+ // ensure the json data is a string
206
+ if (data['url'] && !(typeof data['url'] === 'string' || data['url'] instanceof String)) {
207
+ throw new Error("Expected the field `url` to be a primitive type in the JSON string but got " + data['url']);
208
+ }
209
+ // ensure the json data is an array
210
+ if (!Array.isArray(data['event_types'])) {
211
+ throw new Error("Expected the field `event_types` to be an array in the JSON data but got " + data['event_types']);
212
+ }
213
+ // ensure the json data is a string
214
+ if (data['mode'] && !(typeof data['mode'] === 'string' || data['mode'] instanceof String)) {
215
+ throw new Error("Expected the field `mode` to be a primitive type in the JSON string but got " + data['mode']);
216
+ }
217
+ // ensure the json data is an array
218
+ if (!Array.isArray(data['api_token_ids'])) {
219
+ throw new Error("Expected the field `api_token_ids` to be an array in the JSON data but got " + data['api_token_ids']);
220
+ }
221
+ // ensure the json data is an array
222
+ if (!Array.isArray(data['template_ids'])) {
223
+ throw new Error("Expected the field `template_ids` to be an array in the JSON data but got " + data['template_ids']);
224
+ }
225
+ // ensure the json data is an array
226
+ if (!Array.isArray(data['folder_ids'])) {
227
+ throw new Error("Expected the field `folder_ids` to be an array in the JSON data but got " + data['folder_ids']);
228
+ }
229
+ // ensure the json data is an array
230
+ if (!Array.isArray(data['strip_fields'])) {
231
+ throw new Error("Expected the field `strip_fields` to be an array in the JSON data but got " + data['strip_fields']);
232
+ }
233
+ // ensure the json data is a string
234
+ if (data['last_failure_at'] && !(typeof data['last_failure_at'] === 'string' || data['last_failure_at'] instanceof String)) {
235
+ throw new Error("Expected the field `last_failure_at` to be a primitive type in the JSON string but got " + data['last_failure_at']);
236
+ }
237
+ // ensure the json data is a string
238
+ if (data['disabled_at'] && !(typeof data['disabled_at'] === 'string' || data['disabled_at'] instanceof String)) {
239
+ throw new Error("Expected the field `disabled_at` to be a primitive type in the JSON string but got " + data['disabled_at']);
240
+ }
241
+ // ensure the json data is a string
242
+ if (data['disabled_reason'] && !(typeof data['disabled_reason'] === 'string' || data['disabled_reason'] instanceof String)) {
243
+ throw new Error("Expected the field `disabled_reason` to be a primitive type in the JSON string but got " + data['disabled_reason']);
244
+ }
245
+ // ensure the json data is a string
246
+ if (data['secret'] && !(typeof data['secret'] === 'string' || data['secret'] instanceof String)) {
247
+ throw new Error("Expected the field `secret` to be a primitive type in the JSON string but got " + data['secret']);
248
+ }
249
+ // ensure the json data is a string
250
+ if (data['created_at'] && !(typeof data['created_at'] === 'string' || data['created_at'] instanceof String)) {
251
+ throw new Error("Expected the field `created_at` to be a primitive type in the JSON string but got " + data['created_at']);
252
+ }
253
+ // ensure the json data is a string
254
+ if (data['updated_at'] && !(typeof data['updated_at'] === 'string' || data['updated_at'] instanceof String)) {
255
+ throw new Error("Expected the field `updated_at` to be a primitive type in the JSON string but got " + data['updated_at']);
256
+ }
257
+ return true;
258
+ }
259
+ }]);
260
+ }();
261
+ Webhook.RequiredProperties = ["id", "name", "url", "enabled", "event_types", "mode", "version", "api_token_ids", "template_ids", "folder_ids", "include_submission_data", "strip_fields", "headers", "consecutive_failures", "last_failure_at", "disabled_at", "disabled_reason", "secret", "created_at", "updated_at"];
262
+
263
+ /**
264
+ * @member {String} id
265
+ */
266
+ Webhook.prototype['id'] = undefined;
267
+
268
+ /**
269
+ * @member {String} name
270
+ */
271
+ Webhook.prototype['name'] = undefined;
272
+
273
+ /**
274
+ * @member {String} url
275
+ */
276
+ Webhook.prototype['url'] = undefined;
277
+
278
+ /**
279
+ * @member {Boolean} enabled
280
+ */
281
+ Webhook.prototype['enabled'] = undefined;
282
+
283
+ /**
284
+ * @member {Array.<String>} event_types
285
+ */
286
+ Webhook.prototype['event_types'] = undefined;
287
+
288
+ /**
289
+ * @member {module:model/Webhook.ModeEnum} mode
290
+ */
291
+ Webhook.prototype['mode'] = undefined;
292
+
293
+ /**
294
+ * @member {Number} version
295
+ */
296
+ Webhook.prototype['version'] = undefined;
297
+
298
+ /**
299
+ * @member {Array.<String>} api_token_ids
300
+ */
301
+ Webhook.prototype['api_token_ids'] = undefined;
302
+
303
+ /**
304
+ * @member {Array.<String>} template_ids
305
+ */
306
+ Webhook.prototype['template_ids'] = undefined;
307
+
308
+ /**
309
+ * @member {Array.<String>} folder_ids
310
+ */
311
+ Webhook.prototype['folder_ids'] = undefined;
312
+
313
+ /**
314
+ * @member {Boolean} include_submission_data
315
+ */
316
+ Webhook.prototype['include_submission_data'] = undefined;
317
+
318
+ /**
319
+ * @member {Array.<String>} strip_fields
320
+ */
321
+ Webhook.prototype['strip_fields'] = undefined;
322
+
323
+ /**
324
+ * @member {Object.<String, String>} headers
325
+ */
326
+ Webhook.prototype['headers'] = undefined;
327
+
328
+ /**
329
+ * @member {Number} consecutive_failures
330
+ */
331
+ Webhook.prototype['consecutive_failures'] = undefined;
332
+
333
+ /**
334
+ * @member {String} last_failure_at
335
+ */
336
+ Webhook.prototype['last_failure_at'] = undefined;
337
+
338
+ /**
339
+ * @member {String} disabled_at
340
+ */
341
+ Webhook.prototype['disabled_at'] = undefined;
342
+
343
+ /**
344
+ * @member {String} disabled_reason
345
+ */
346
+ Webhook.prototype['disabled_reason'] = undefined;
347
+
348
+ /**
349
+ * @member {String} secret
350
+ */
351
+ Webhook.prototype['secret'] = undefined;
352
+
353
+ /**
354
+ * @member {String} created_at
355
+ */
356
+ Webhook.prototype['created_at'] = undefined;
357
+
358
+ /**
359
+ * @member {String} updated_at
360
+ */
361
+ Webhook.prototype['updated_at'] = undefined;
362
+
363
+ /**
364
+ * Allowed values for the <code>mode</code> property.
365
+ * @enum {String}
366
+ * @readonly
367
+ */
368
+ Webhook['ModeEnum'] = {
369
+ /**
370
+ * value: "test"
371
+ * @const
372
+ */
373
+ "test": "test",
374
+ /**
375
+ * value: "live"
376
+ * @const
377
+ */
378
+ "live": "live"
379
+ };
380
+ var _default = exports["default"] = Webhook;
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "docspring",
3
- "version": "3.0.0",
3
+ "version": "3.2.0",
4
4
  "description": "An API client for the DocSpring PDF generation service",
5
- "license": "Unlicense",
5
+ "license": "MIT",
6
6
  "main": "dist/index.js",
7
7
  "scripts": {
8
8
  "build": "babel src -d dist",
@@ -41,6 +41,16 @@
41
41
  "sinon": "^7.2.0"
42
42
  },
43
43
  "files": [
44
- "dist"
45
- ]
44
+ "dist",
45
+ "AGENTS.md"
46
+ ],
47
+ "homepage": "https://github.com/DocSpring/docspring-javascript#readme",
48
+ "repository": {
49
+ "type": "git",
50
+ "url": "https://github.com/DocSpring/docspring-javascript.git"
51
+ },
52
+ "bugs": {
53
+ "url": "https://github.com/DocSpring/docspring-javascript/issues"
54
+ },
55
+ "author": "DocSpring"
46
56
  }