@chift/chift-nodejs 1.0.26 → 1.0.28
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/src/modules/accounting.d.ts +8 -0
- package/dist/src/modules/accounting.js +41 -0
- package/dist/src/modules/api.d.ts +2238 -83
- package/dist/src/modules/api.js +2 -0
- package/dist/src/modules/banking.d.ts +3 -1
- package/dist/src/modules/banking.js +10 -2
- package/dist/src/modules/consumer.d.ts +426 -15
- package/dist/src/modules/consumer.js +5 -0
- package/dist/src/modules/consumers.d.ts +2154 -84
- package/dist/src/modules/integrations.d.ts +5 -0
- package/dist/src/modules/internalApi.d.ts +4 -4
- package/dist/src/modules/issues.d.ts +68 -0
- package/dist/src/modules/issues.js +33 -0
- package/dist/src/modules/pms.d.ts +3 -0
- package/dist/src/modules/pms.js +15 -0
- package/dist/src/modules/sync.d.ts +1723 -67
- package/dist/src/modules/syncs.d.ts +0 -1
- package/dist/src/modules/syncs.js +0 -5
- package/dist/src/types/public-api/mappings.d.ts +21 -3
- package/dist/src/types/public-api/schema.d.ts +2441 -762
- package/dist/test/modules/banking.test.js +3 -1
- package/dist/test/modules/consumer.test.js +1 -1
- package/dist/test/modules/raw-data.test.js +6 -4
- package/package.json +1 -1
- package/src/types/public-api/schema.d.ts +2441 -762
|
@@ -56,6 +56,10 @@ const Consumer = (internalApi, body) => {
|
|
|
56
56
|
const { data, } = yield _internalApi.delete(`/consumers/${consumerId}/connections/${connectionId}`);
|
|
57
57
|
return data;
|
|
58
58
|
});
|
|
59
|
+
const getTransactionByClientRequestId = (connectionId, params) => __awaiter(void 0, void 0, void 0, function* () {
|
|
60
|
+
const { data, } = yield _internalApi.get(`/consumers/${consumerId}/connections/${connectionId}/transactions`, { params });
|
|
61
|
+
return data;
|
|
62
|
+
});
|
|
59
63
|
const getSyncUrl = (body) => __awaiter(void 0, void 0, void 0, function* () {
|
|
60
64
|
const { data } = yield _internalApi.post(`/consumers/${consumerId}/syncs`, body);
|
|
61
65
|
return data;
|
|
@@ -125,6 +129,7 @@ const Consumer = (internalApi, body) => {
|
|
|
125
129
|
createConnection,
|
|
126
130
|
updateConnection,
|
|
127
131
|
deleteConnection,
|
|
132
|
+
getTransactionByClientRequestId,
|
|
128
133
|
enableFlow,
|
|
129
134
|
getSyncUrl,
|
|
130
135
|
name,
|