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 +2 -1
- package/package.json +1 -1
- package/src/api/index.ts +2 -1
- package/src/interfaces/Api.ts +1 -0
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
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,
|
package/src/interfaces/Api.ts
CHANGED
|
@@ -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;
|