washday-sdk 0.0.90 → 0.0.91

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/api/index.js CHANGED
@@ -55,7 +55,8 @@ const WashdayClient = function WashdayClient(apiToken) {
55
55
  getGlobalCFDIPreview: cfdiEndpoints.getModule.getGlobalCFDIPreview,
56
56
  getCFDIPreviewByOrderId: cfdiEndpoints.getModule.getCFDIPreviewByOrderId,
57
57
  createCFDI: cfdiEndpoints.postModule.createCFDI,
58
- createGlobalCFDI: cfdiEndpoints.postModule.createGlobalCFDI
58
+ createGlobalCFDI: cfdiEndpoints.postModule.createGlobalCFDI,
59
+ cancelCFDI: cfdiEndpoints.deleteModule.cancelCFDI
59
60
  });
60
61
  this.review = bindMethods(this, {
61
62
  getList: reviewsEndpoints.getModule.getList,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "washday-sdk",
3
- "version": "0.0.90",
3
+ "version": "0.0.91",
4
4
  "description": "Washday utilities functions and API",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
package/src/api/index.ts CHANGED
@@ -61,7 +61,8 @@ const WashdayClient: WashdayClientConstructor = function WashdayClient(this: Was
61
61
  getGlobalCFDIPreview: cfdiEndpoints.getModule.getGlobalCFDIPreview,
62
62
  getCFDIPreviewByOrderId: cfdiEndpoints.getModule.getCFDIPreviewByOrderId,
63
63
  createCFDI: cfdiEndpoints.postModule.createCFDI,
64
- createGlobalCFDI: cfdiEndpoints.postModule.createGlobalCFDI
64
+ createGlobalCFDI: cfdiEndpoints.postModule.createGlobalCFDI,
65
+ cancelCFDI: cfdiEndpoints.deleteModule.cancelCFDI
65
66
  });
66
67
  this.review = bindMethods(this, {
67
68
  getList: reviewsEndpoints.getModule.getList,
@@ -48,6 +48,7 @@ export interface WashdayClientInstance {
48
48
  getCFDIPreviewByOrderId: typeof cfdiEndpoints.getModule.getCFDIPreviewByOrderId,
49
49
  createCFDI: typeof cfdiEndpoints.postModule.createCFDI,
50
50
  createGlobalCFDI: typeof cfdiEndpoints.postModule.createGlobalCFDI
51
+ cancelCFDI: typeof cfdiEndpoints.deleteModule.cancelCFDI
51
52
  }
52
53
  review: {
53
54
  getList: typeof reviewsEndpoints.getModule.getList;