@etainabl/nodejs-sdk 1.2.7 → 1.2.9

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.
package/dist/cjs/api.js CHANGED
@@ -284,7 +284,7 @@ exports.default = (auth, instanceOptions = {}) => {
284
284
  updateScheduledReport: factory.update(etainablApi, 'scheduled-reports'),
285
285
  createScheduledReport: factory.create(etainablApi, 'scheduled-reports'),
286
286
  removeScheduledReport: factory.remove(etainablApi, 'scheduled-reports'),
287
- sendScheduledReport: factory.customWithId(etainablApi, 'post', 'scheduled-reports', 'generate'),
287
+ sendScheduledReport: factory.customWithId(etainablApi, 'post', 'scheduled-reports', 'send'),
288
288
  // invoices
289
289
  getInvoice: factory.getWithId(etainablApi, 'invoices'),
290
290
  listInvoices: factory.list(etainablApi, 'invoices'),
package/dist/mjs/api.js CHANGED
@@ -274,7 +274,7 @@ export default (auth, instanceOptions = {}) => {
274
274
  updateScheduledReport: factory.update(etainablApi, 'scheduled-reports'),
275
275
  createScheduledReport: factory.create(etainablApi, 'scheduled-reports'),
276
276
  removeScheduledReport: factory.remove(etainablApi, 'scheduled-reports'),
277
- sendScheduledReport: factory.customWithId(etainablApi, 'post', 'scheduled-reports', 'generate'),
277
+ sendScheduledReport: factory.customWithId(etainablApi, 'post', 'scheduled-reports', 'send'),
278
278
  // invoices
279
279
  getInvoice: factory.getWithId(etainablApi, 'invoices'),
280
280
  listInvoices: factory.list(etainablApi, 'invoices'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etainabl/nodejs-sdk",
3
- "version": "1.2.7",
3
+ "version": "1.2.9",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/mjs/index.js",
6
6
  "author": "Jonathan Lambert <jonathan@etainabl.com>",
package/src/api.ts CHANGED
@@ -341,7 +341,7 @@ export default (auth: AuthOptions, instanceOptions: CreateAxiosDefaults = {}) =>
341
341
  updateScheduledReport: factory.update(etainablApi, 'scheduled-reports'),
342
342
  createScheduledReport: factory.create(etainablApi, 'scheduled-reports'),
343
343
  removeScheduledReport: factory.remove(etainablApi, 'scheduled-reports'),
344
- sendScheduledReport: factory.customWithId(etainablApi, 'post', 'scheduled-reports', 'generate'),
344
+ sendScheduledReport: factory.customWithId(etainablApi, 'post', 'scheduled-reports', 'send'),
345
345
 
346
346
  // invoices
347
347
  getInvoice: factory.getWithId(etainablApi, 'invoices'),