@abyss-project/banking 1.0.2 → 1.0.4
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/abyss.admin.api.d.ts +2 -2
- package/dist/api/abyss.admin.api.js +8 -8
- package/dist/api/banking.admin.api.d.ts +13 -13
- package/dist/api/banking.admin.api.js +52 -52
- package/dist/api/banking.api.d.ts +20 -18
- package/dist/api/banking.api.js +86 -76
- package/dist/api/categorization-rule.admin.api.d.ts +7 -7
- package/dist/api/categorization-rule.admin.api.js +28 -28
- package/dist/api/categorization-rule.api.d.ts +7 -7
- package/dist/api/categorization-rule.api.js +28 -28
- package/dist/api/category.admin.api.d.ts +6 -6
- package/dist/api/category.admin.api.js +27 -27
- package/dist/api/category.api.d.ts +9 -9
- package/dist/api/category.api.js +34 -34
- package/dist/api/index.d.ts +12 -12
- package/dist/api/index.js +28 -24
- package/dist/api/monitor.api.d.ts +2 -2
- package/dist/api/monitor.api.js +8 -8
- package/dist/api/panel.admin.api.d.ts +6 -6
- package/dist/api/panel.admin.api.js +27 -27
- package/dist/api/panel.api.d.ts +6 -6
- package/dist/api/panel.api.js +28 -28
- package/dist/api/user.admin.api.d.ts +5 -5
- package/dist/api/user.admin.api.js +23 -23
- package/dist/api/user.api.d.ts +4 -4
- package/dist/api/user.api.js +17 -17
- package/dist/index.d.ts +19 -19
- package/dist/index.js +90 -86
- package/dist/types/enum/aggregator-type.enum.d.ts +4 -4
- package/dist/types/enum/aggregator-type.enum.js +8 -8
- package/dist/types/enum/api-error.enum.d.ts +16 -16
- package/dist/types/enum/api-error.enum.js +21 -21
- package/dist/types/enum/bank-connection-status.enum.d.ts +6 -6
- package/dist/types/enum/bank-connection-status.enum.js +10 -10
- package/dist/types/enum/cash-account-type.enum.d.ts +26 -26
- package/dist/types/enum/cash-account-type.enum.js +30 -30
- package/dist/types/enum/index.d.ts +6 -6
- package/dist/types/enum/index.js +22 -18
- package/dist/types/enum/panel-component-type.enum.d.ts +16 -12
- package/dist/types/enum/panel-component-type.enum.js +20 -16
- package/dist/types/enum/period-configuration.enum.d.ts +7 -7
- package/dist/types/enum/period-configuration.enum.js +11 -11
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +18 -14
- package/dist/types/interface/api/index.d.ts +27 -27
- package/dist/types/interface/api/index.js +43 -39
- package/dist/types/interface/api/requests/abyss.admin.request.d.ts +3 -3
- package/dist/types/interface/api/requests/abyss.admin.request.js +2 -2
- package/dist/types/interface/api/requests/banking.admin.request.d.ts +47 -47
- package/dist/types/interface/api/requests/banking.admin.request.js +2 -2
- package/dist/types/interface/api/requests/banking.request.d.ts +83 -75
- package/dist/types/interface/api/requests/banking.request.js +2 -2
- package/dist/types/interface/api/requests/categorization-rule.admin.request.d.ts +34 -34
- package/dist/types/interface/api/requests/categorization-rule.admin.request.js +2 -2
- package/dist/types/interface/api/requests/categorization-rule.request.d.ts +32 -32
- package/dist/types/interface/api/requests/categorization-rule.request.js +2 -2
- package/dist/types/interface/api/requests/category.admin.request.d.ts +22 -22
- package/dist/types/interface/api/requests/category.admin.request.js +2 -2
- package/dist/types/interface/api/requests/category.request.d.ts +26 -26
- package/dist/types/interface/api/requests/category.request.js +2 -2
- package/dist/types/interface/api/requests/panel.admin.request.d.ts +23 -23
- package/dist/types/interface/api/requests/panel.admin.request.js +2 -2
- package/dist/types/interface/api/requests/panel.request.d.ts +22 -22
- package/dist/types/interface/api/requests/panel.request.js +2 -2
- package/dist/types/interface/api/requests/user.admin.request.d.ts +15 -15
- package/dist/types/interface/api/requests/user.admin.request.js +2 -2
- package/dist/types/interface/api/requests/user.request.d.ts +2 -2
- package/dist/types/interface/api/requests/user.request.js +2 -2
- package/dist/types/interface/api/responses/abyss.admin.response.d.ts +6 -6
- package/dist/types/interface/api/responses/abyss.admin.response.js +2 -2
- package/dist/types/interface/api/responses/banking.admin.response.d.ts +48 -48
- package/dist/types/interface/api/responses/banking.admin.response.js +2 -2
- package/dist/types/interface/api/responses/banking.response.d.ts +112 -86
- package/dist/types/interface/api/responses/banking.response.js +2 -2
- package/dist/types/interface/api/responses/categorization-rule.admin.response.d.ts +22 -22
- package/dist/types/interface/api/responses/categorization-rule.admin.response.js +2 -2
- package/dist/types/interface/api/responses/categorization-rule.response.d.ts +22 -22
- package/dist/types/interface/api/responses/categorization-rule.response.js +2 -2
- package/dist/types/interface/api/responses/category.admin.response.d.ts +19 -19
- package/dist/types/interface/api/responses/category.admin.response.js +2 -2
- package/dist/types/interface/api/responses/category.response.d.ts +32 -32
- package/dist/types/interface/api/responses/category.response.js +2 -2
- package/dist/types/interface/api/responses/monitor.response.d.ts +7 -7
- package/dist/types/interface/api/responses/monitor.response.js +2 -2
- package/dist/types/interface/api/responses/panel.admin.response.d.ts +19 -19
- package/dist/types/interface/api/responses/panel.admin.response.js +2 -2
- package/dist/types/interface/api/responses/panel.response.d.ts +19 -19
- package/dist/types/interface/api/responses/panel.response.js +2 -2
- package/dist/types/interface/api/responses/storage.admin.response.d.ts +3 -3
- package/dist/types/interface/api/responses/storage.admin.response.js +2 -2
- package/dist/types/interface/api/responses/user.admin.response.d.ts +14 -14
- package/dist/types/interface/api/responses/user.admin.response.js +2 -2
- package/dist/types/interface/api/responses/user.response.d.ts +13 -13
- package/dist/types/interface/api/responses/user.response.js +2 -2
- package/dist/types/interface/api/type-message/api-error.d.ts +8 -8
- package/dist/types/interface/api/type-message/api-error.js +2 -2
- package/dist/types/interface/api/type-message/base-order.d.ts +4 -4
- package/dist/types/interface/api/type-message/base-order.js +2 -2
- package/dist/types/interface/api/type-message/base-paginate.d.ts +10 -10
- package/dist/types/interface/api/type-message/base-paginate.js +2 -2
- package/dist/types/interface/api/type-message/response.d.ts +5 -5
- package/dist/types/interface/api/type-message/response.js +2 -2
- package/dist/types/interface/index.d.ts +13 -13
- package/dist/types/interface/index.js +29 -25
- package/dist/types/interface/models/account-transaction.model.d.ts +46 -46
- package/dist/types/interface/models/account-transaction.model.js +2 -2
- package/dist/types/interface/models/aggregator-bank.model.d.ts +12 -12
- package/dist/types/interface/models/aggregator-bank.model.js +2 -2
- package/dist/types/interface/models/aggregator-link.model.d.ts +12 -12
- package/dist/types/interface/models/aggregator-link.model.js +2 -2
- package/dist/types/interface/models/bank-account-history.model.d.ts +11 -11
- package/dist/types/interface/models/bank-account-history.model.js +2 -2
- package/dist/types/interface/models/bank-account.model.d.ts +26 -26
- package/dist/types/interface/models/bank-account.model.js +2 -2
- package/dist/types/interface/models/bank-connection.model.d.ts +17 -17
- package/dist/types/interface/models/bank-connection.model.js +2 -2
- package/dist/types/interface/models/categorization-rule-category.model.d.ts +11 -11
- package/dist/types/interface/models/categorization-rule-category.model.js +2 -2
- package/dist/types/interface/models/categorization-rule.model.d.ts +44 -44
- package/dist/types/interface/models/categorization-rule.model.js +2 -2
- package/dist/types/interface/models/category.model.d.ts +14 -14
- package/dist/types/interface/models/category.model.js +2 -2
- package/dist/types/interface/models/panel.model.d.ts +121 -108
- package/dist/types/interface/models/panel.model.js +2 -2
- package/dist/types/interface/models/transaction-category.model.d.ts +14 -14
- package/dist/types/interface/models/transaction-category.model.js +2 -2
- package/dist/types/interface/models/user.model.d.ts +13 -13
- package/dist/types/interface/models/user.model.js +2 -2
- package/dist/utils/error.utils.d.ts +15 -15
- package/dist/utils/error.utils.js +24 -24
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +17 -13
- package/package.json +5 -6
- package/dist/types/interface/models/bank-account-transaction.model.d.ts +0 -14
- package/dist/types/interface/models/bank-account-transaction.model.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IActivateUserServiceAbyssAdminBody, IActivateUserServiceAbyssAdminResponse } from '..';
|
|
2
|
-
export declare const activateUserServiceAbyssAdmin: (body: IActivateUserServiceAbyssAdminBody) => Promise<IActivateUserServiceAbyssAdminResponse>;
|
|
1
|
+
import { IActivateUserServiceAbyssAdminBody, IActivateUserServiceAbyssAdminResponse } from '..';
|
|
2
|
+
export declare const activateUserServiceAbyssAdmin: (body: IActivateUserServiceAbyssAdminBody) => Promise<IActivateUserServiceAbyssAdminResponse>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.activateUserServiceAbyssAdmin = void 0;
|
|
4
|
-
const __1 = require("..");
|
|
5
|
-
const activateUserServiceAbyssAdmin = async (body) => {
|
|
6
|
-
return (await __1.AbyssBankingCore.axios.post(`abyss/admin/user/activate-service`, body)).data;
|
|
7
|
-
};
|
|
8
|
-
exports.activateUserServiceAbyssAdmin = activateUserServiceAbyssAdmin;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.activateUserServiceAbyssAdmin = void 0;
|
|
4
|
+
const __1 = require("..");
|
|
5
|
+
const activateUserServiceAbyssAdmin = async (body) => {
|
|
6
|
+
return (await __1.AbyssBankingCore.axios.post(`abyss/admin/user/activate-service`, body)).data;
|
|
7
|
+
};
|
|
8
|
+
exports.activateUserServiceAbyssAdmin = activateUserServiceAbyssAdmin;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { IConfirmRequisitionBankingAdminParams, IConfirmRequisitionBankingAdminResponse, IListInstitutionBankingAdminResponse, IListInstitutionBankingAdminQuery, IListBankConnectionBankingAdminResponse, IListBankBankingAdminResponse, IGetBankConnectionBankingAdminResponse, IGetBankConnectionBankingAdminParams, IPaginateAccountTransactionBankingAdminQuery, IPaginateAccountTransactionBankingAdminResponse, IGetAccountTransactionBankingAdminParams, IGetAccountTransactionBankingAdminResponse, IUpdateBankAccountBankingAdminParams, IUpdateBankAccountBankingAdminBody, IUpdateBankAccountBankingAdminResponse, ILoadDemoDataBankingAdminResponse, IDeleteDemoDataBankingAdminResponse, IListBankConnectionBankingAdminParams, ILoadDemoDataBankingAdminParams, IDeleteDemoDataBankingAdminParams, IUpdateAccountTransactionBankingAdminParams, IUpdateAccountTransactionBankingAdminBody } from '..';
|
|
2
|
-
export declare const listBankConnectionBankingAdmin: (params: IListBankConnectionBankingAdminParams) => Promise<IListBankConnectionBankingAdminResponse>;
|
|
3
|
-
export declare const getBankConnectionBankingAdmin: (params: IGetBankConnectionBankingAdminParams) => Promise<IGetBankConnectionBankingAdminResponse>;
|
|
4
|
-
export declare const listBankBankingAdmin: () => Promise<IListBankBankingAdminResponse>;
|
|
5
|
-
export declare const listInstitutionBankingAdmin: (query: IListInstitutionBankingAdminQuery) => Promise<IListInstitutionBankingAdminResponse>;
|
|
6
|
-
export declare const confirmRequisitionBankingAdmin: (params: IConfirmRequisitionBankingAdminParams) => Promise<IConfirmRequisitionBankingAdminResponse>;
|
|
7
|
-
export declare const paginateAccountTransactionBankingAdmin: (query: IPaginateAccountTransactionBankingAdminQuery) => Promise<IPaginateAccountTransactionBankingAdminResponse>;
|
|
8
|
-
export declare const getAccountTransactionBankingAdmin: (params: IGetAccountTransactionBankingAdminParams) => Promise<IGetAccountTransactionBankingAdminResponse>;
|
|
9
|
-
export declare const updateAccountTransactionBankingAdmin: (params: IUpdateAccountTransactionBankingAdminParams, body: IUpdateAccountTransactionBankingAdminBody) => Promise<IGetAccountTransactionBankingAdminResponse>;
|
|
10
|
-
export declare const updateBankAccountBankingAdmin: (params: IUpdateBankAccountBankingAdminParams, body: IUpdateBankAccountBankingAdminBody) => Promise<IUpdateBankAccountBankingAdminResponse>;
|
|
11
|
-
export declare const loadDemoDataBankingAdmin: (params: ILoadDemoDataBankingAdminParams) => Promise<ILoadDemoDataBankingAdminResponse>;
|
|
12
|
-
export declare const deleteDemoDataBankingAdmin: (params: IDeleteDemoDataBankingAdminParams) => Promise<IDeleteDemoDataBankingAdminResponse>;
|
|
13
|
-
export declare const fetchBankingDataBankingAdmin: () => Promise<string>;
|
|
1
|
+
import { IConfirmRequisitionBankingAdminParams, IConfirmRequisitionBankingAdminResponse, IListInstitutionBankingAdminResponse, IListInstitutionBankingAdminQuery, IListBankConnectionBankingAdminResponse, IListBankBankingAdminResponse, IGetBankConnectionBankingAdminResponse, IGetBankConnectionBankingAdminParams, IPaginateAccountTransactionBankingAdminQuery, IPaginateAccountTransactionBankingAdminResponse, IGetAccountTransactionBankingAdminParams, IGetAccountTransactionBankingAdminResponse, IUpdateBankAccountBankingAdminParams, IUpdateBankAccountBankingAdminBody, IUpdateBankAccountBankingAdminResponse, ILoadDemoDataBankingAdminResponse, IDeleteDemoDataBankingAdminResponse, IListBankConnectionBankingAdminParams, ILoadDemoDataBankingAdminParams, IDeleteDemoDataBankingAdminParams, IUpdateAccountTransactionBankingAdminParams, IUpdateAccountTransactionBankingAdminBody } from '..';
|
|
2
|
+
export declare const listBankConnectionBankingAdmin: (params: IListBankConnectionBankingAdminParams) => Promise<IListBankConnectionBankingAdminResponse>;
|
|
3
|
+
export declare const getBankConnectionBankingAdmin: (params: IGetBankConnectionBankingAdminParams) => Promise<IGetBankConnectionBankingAdminResponse>;
|
|
4
|
+
export declare const listBankBankingAdmin: () => Promise<IListBankBankingAdminResponse>;
|
|
5
|
+
export declare const listInstitutionBankingAdmin: (query: IListInstitutionBankingAdminQuery) => Promise<IListInstitutionBankingAdminResponse>;
|
|
6
|
+
export declare const confirmRequisitionBankingAdmin: (params: IConfirmRequisitionBankingAdminParams) => Promise<IConfirmRequisitionBankingAdminResponse>;
|
|
7
|
+
export declare const paginateAccountTransactionBankingAdmin: (query: IPaginateAccountTransactionBankingAdminQuery) => Promise<IPaginateAccountTransactionBankingAdminResponse>;
|
|
8
|
+
export declare const getAccountTransactionBankingAdmin: (params: IGetAccountTransactionBankingAdminParams) => Promise<IGetAccountTransactionBankingAdminResponse>;
|
|
9
|
+
export declare const updateAccountTransactionBankingAdmin: (params: IUpdateAccountTransactionBankingAdminParams, body: IUpdateAccountTransactionBankingAdminBody) => Promise<IGetAccountTransactionBankingAdminResponse>;
|
|
10
|
+
export declare const updateBankAccountBankingAdmin: (params: IUpdateBankAccountBankingAdminParams, body: IUpdateBankAccountBankingAdminBody) => Promise<IUpdateBankAccountBankingAdminResponse>;
|
|
11
|
+
export declare const loadDemoDataBankingAdmin: (params: ILoadDemoDataBankingAdminParams) => Promise<ILoadDemoDataBankingAdminResponse>;
|
|
12
|
+
export declare const deleteDemoDataBankingAdmin: (params: IDeleteDemoDataBankingAdminParams) => Promise<IDeleteDemoDataBankingAdminResponse>;
|
|
13
|
+
export declare const fetchBankingDataBankingAdmin: () => Promise<string>;
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.fetchBankingDataBankingAdmin = exports.deleteDemoDataBankingAdmin = exports.loadDemoDataBankingAdmin = exports.updateBankAccountBankingAdmin = exports.updateAccountTransactionBankingAdmin = exports.getAccountTransactionBankingAdmin = exports.paginateAccountTransactionBankingAdmin = exports.confirmRequisitionBankingAdmin = exports.listInstitutionBankingAdmin = exports.listBankBankingAdmin = exports.getBankConnectionBankingAdmin = exports.listBankConnectionBankingAdmin = void 0;
|
|
4
|
-
const __1 = require("..");
|
|
5
|
-
const listBankConnectionBankingAdmin = async (params) => {
|
|
6
|
-
return (await __1.AbyssBankingCore.axios.get(`banking/admin/connection/${params.userId}/list`)).data;
|
|
7
|
-
};
|
|
8
|
-
exports.listBankConnectionBankingAdmin = listBankConnectionBankingAdmin;
|
|
9
|
-
const getBankConnectionBankingAdmin = async (params) => {
|
|
10
|
-
return (await __1.AbyssBankingCore.axios.get(`banking/admin/connection/${params.bankConnectionId}`)).data;
|
|
11
|
-
};
|
|
12
|
-
exports.getBankConnectionBankingAdmin = getBankConnectionBankingAdmin;
|
|
13
|
-
const listBankBankingAdmin = async () => {
|
|
14
|
-
return (await __1.AbyssBankingCore.axios.get(`banking/admin/bank/list`)).data;
|
|
15
|
-
};
|
|
16
|
-
exports.listBankBankingAdmin = listBankBankingAdmin;
|
|
17
|
-
const listInstitutionBankingAdmin = async (query) => {
|
|
18
|
-
return (await __1.AbyssBankingCore.axios.get(`banking/admin/institution/list`, { params: query })).data;
|
|
19
|
-
};
|
|
20
|
-
exports.listInstitutionBankingAdmin = listInstitutionBankingAdmin;
|
|
21
|
-
const confirmRequisitionBankingAdmin = async (params) => {
|
|
22
|
-
return (await __1.AbyssBankingCore.axios.post(`banking/admin/requisition/confirm/${params.userId}/${params.reference}`)).data;
|
|
23
|
-
};
|
|
24
|
-
exports.confirmRequisitionBankingAdmin = confirmRequisitionBankingAdmin;
|
|
25
|
-
const paginateAccountTransactionBankingAdmin = async (query) => {
|
|
26
|
-
return (await __1.AbyssBankingCore.axios.get(`banking/admin/transaction/paginate`, { params: query })).data;
|
|
27
|
-
};
|
|
28
|
-
exports.paginateAccountTransactionBankingAdmin = paginateAccountTransactionBankingAdmin;
|
|
29
|
-
const getAccountTransactionBankingAdmin = async (params) => {
|
|
30
|
-
return (await __1.AbyssBankingCore.axios.get(`banking/admin/transaction/${params.accountTransactionId}`)).data;
|
|
31
|
-
};
|
|
32
|
-
exports.getAccountTransactionBankingAdmin = getAccountTransactionBankingAdmin;
|
|
33
|
-
const updateAccountTransactionBankingAdmin = async (params, body) => {
|
|
34
|
-
return (await __1.AbyssBankingCore.axios.put(`banking/admin/transaction/${params.accountTransactionId}`, body)).data;
|
|
35
|
-
};
|
|
36
|
-
exports.updateAccountTransactionBankingAdmin = updateAccountTransactionBankingAdmin;
|
|
37
|
-
const updateBankAccountBankingAdmin = async (params, body) => {
|
|
38
|
-
return (await __1.AbyssBankingCore.axios.put(`banking/admin/account/${params.bankAccountId}`, body)).data;
|
|
39
|
-
};
|
|
40
|
-
exports.updateBankAccountBankingAdmin = updateBankAccountBankingAdmin;
|
|
41
|
-
const loadDemoDataBankingAdmin = async (params) => {
|
|
42
|
-
return (await __1.AbyssBankingCore.axios.post(`banking/admin/demo-data/${params.userId}`)).data;
|
|
43
|
-
};
|
|
44
|
-
exports.loadDemoDataBankingAdmin = loadDemoDataBankingAdmin;
|
|
45
|
-
const deleteDemoDataBankingAdmin = async (params) => {
|
|
46
|
-
return (await __1.AbyssBankingCore.axios.delete(`banking/admin/demo-data/${params.userId}`)).data;
|
|
47
|
-
};
|
|
48
|
-
exports.deleteDemoDataBankingAdmin = deleteDemoDataBankingAdmin;
|
|
49
|
-
const fetchBankingDataBankingAdmin = async () => {
|
|
50
|
-
return (await __1.AbyssBankingCore.axios.post(`banking/admin/fetch-banking-data`)).data;
|
|
51
|
-
};
|
|
52
|
-
exports.fetchBankingDataBankingAdmin = fetchBankingDataBankingAdmin;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fetchBankingDataBankingAdmin = exports.deleteDemoDataBankingAdmin = exports.loadDemoDataBankingAdmin = exports.updateBankAccountBankingAdmin = exports.updateAccountTransactionBankingAdmin = exports.getAccountTransactionBankingAdmin = exports.paginateAccountTransactionBankingAdmin = exports.confirmRequisitionBankingAdmin = exports.listInstitutionBankingAdmin = exports.listBankBankingAdmin = exports.getBankConnectionBankingAdmin = exports.listBankConnectionBankingAdmin = void 0;
|
|
4
|
+
const __1 = require("..");
|
|
5
|
+
const listBankConnectionBankingAdmin = async (params) => {
|
|
6
|
+
return (await __1.AbyssBankingCore.axios.get(`banking/admin/connection/${params.userId}/list`)).data;
|
|
7
|
+
};
|
|
8
|
+
exports.listBankConnectionBankingAdmin = listBankConnectionBankingAdmin;
|
|
9
|
+
const getBankConnectionBankingAdmin = async (params) => {
|
|
10
|
+
return (await __1.AbyssBankingCore.axios.get(`banking/admin/connection/${params.bankConnectionId}`)).data;
|
|
11
|
+
};
|
|
12
|
+
exports.getBankConnectionBankingAdmin = getBankConnectionBankingAdmin;
|
|
13
|
+
const listBankBankingAdmin = async () => {
|
|
14
|
+
return (await __1.AbyssBankingCore.axios.get(`banking/admin/bank/list`)).data;
|
|
15
|
+
};
|
|
16
|
+
exports.listBankBankingAdmin = listBankBankingAdmin;
|
|
17
|
+
const listInstitutionBankingAdmin = async (query) => {
|
|
18
|
+
return (await __1.AbyssBankingCore.axios.get(`banking/admin/institution/list`, { params: query })).data;
|
|
19
|
+
};
|
|
20
|
+
exports.listInstitutionBankingAdmin = listInstitutionBankingAdmin;
|
|
21
|
+
const confirmRequisitionBankingAdmin = async (params) => {
|
|
22
|
+
return (await __1.AbyssBankingCore.axios.post(`banking/admin/requisition/confirm/${params.userId}/${params.reference}`)).data;
|
|
23
|
+
};
|
|
24
|
+
exports.confirmRequisitionBankingAdmin = confirmRequisitionBankingAdmin;
|
|
25
|
+
const paginateAccountTransactionBankingAdmin = async (query) => {
|
|
26
|
+
return (await __1.AbyssBankingCore.axios.get(`banking/admin/transaction/paginate`, { params: query })).data;
|
|
27
|
+
};
|
|
28
|
+
exports.paginateAccountTransactionBankingAdmin = paginateAccountTransactionBankingAdmin;
|
|
29
|
+
const getAccountTransactionBankingAdmin = async (params) => {
|
|
30
|
+
return (await __1.AbyssBankingCore.axios.get(`banking/admin/transaction/${params.accountTransactionId}`)).data;
|
|
31
|
+
};
|
|
32
|
+
exports.getAccountTransactionBankingAdmin = getAccountTransactionBankingAdmin;
|
|
33
|
+
const updateAccountTransactionBankingAdmin = async (params, body) => {
|
|
34
|
+
return (await __1.AbyssBankingCore.axios.put(`banking/admin/transaction/${params.accountTransactionId}`, body)).data;
|
|
35
|
+
};
|
|
36
|
+
exports.updateAccountTransactionBankingAdmin = updateAccountTransactionBankingAdmin;
|
|
37
|
+
const updateBankAccountBankingAdmin = async (params, body) => {
|
|
38
|
+
return (await __1.AbyssBankingCore.axios.put(`banking/admin/account/${params.bankAccountId}`, body)).data;
|
|
39
|
+
};
|
|
40
|
+
exports.updateBankAccountBankingAdmin = updateBankAccountBankingAdmin;
|
|
41
|
+
const loadDemoDataBankingAdmin = async (params) => {
|
|
42
|
+
return (await __1.AbyssBankingCore.axios.post(`banking/admin/demo-data/${params.userId}`)).data;
|
|
43
|
+
};
|
|
44
|
+
exports.loadDemoDataBankingAdmin = loadDemoDataBankingAdmin;
|
|
45
|
+
const deleteDemoDataBankingAdmin = async (params) => {
|
|
46
|
+
return (await __1.AbyssBankingCore.axios.delete(`banking/admin/demo-data/${params.userId}`)).data;
|
|
47
|
+
};
|
|
48
|
+
exports.deleteDemoDataBankingAdmin = deleteDemoDataBankingAdmin;
|
|
49
|
+
const fetchBankingDataBankingAdmin = async () => {
|
|
50
|
+
return (await __1.AbyssBankingCore.axios.post(`banking/admin/fetch-banking-data`)).data;
|
|
51
|
+
};
|
|
52
|
+
exports.fetchBankingDataBankingAdmin = fetchBankingDataBankingAdmin;
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
import { IConfirmRequisitionBankingParams, IConfirmRequisitionBankingResponse, ICreateRequisitionBankingBody, ICreateRequisitionBankingResponse, IListInstitutionBankingResponse, IListInstitutionBankingQuery, IListConnectionBankingResponse, IListBankBankingResponse, IGetBankConnectionBankingResponse, IGetBankConnectionBankingParams, IRenewRequisitionBankingParams, IRenewRequisitionBankingResponse, IRenewRequisitionBankingBody, IPaginateAccountTransactionBankingQuery, IPaginateAccountTransactionBankingResponse, IGetAccountTransactionBankingParams, IGetAccountTransactionBankingResponse, IUpdateBankAccountBankingParams, IUpdateBankAccountBankingBody, IUpdateBankAccountBankingResponse, ILoadDemoDataBankingResponse, IDeleteDemoDataBankingResponse, IGetTransactionPerCategoryBankingQuery, IGetTransactionPerCategoryBankingResponse, IGetSumTransactionPerBankAccountPerCategoryQuery, IGetSumTransactionPerBankAccountPerCategoryBankingResponse, IPaginateBankAccountHistoryBankingQuery, IPaginateBankAccountHistoryBankingResponse, IListBankAccountHistoryBankingQuery, IListBankAccountHistoryBankingResponse, IUpdateAccountTransactionBankingParams, IUpdateAccountTransactionBankingBody } from '..';
|
|
2
|
-
export declare const listConnectionBanking: () => Promise<IListConnectionBankingResponse>;
|
|
3
|
-
export declare const getBankConnectionBanking: (params: IGetBankConnectionBankingParams) => Promise<IGetBankConnectionBankingResponse>;
|
|
4
|
-
export declare const listBankBanking: () => Promise<IListBankBankingResponse>;
|
|
5
|
-
export declare const listInstitutionBanking: (query: IListInstitutionBankingQuery) => Promise<IListInstitutionBankingResponse>;
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
11
|
-
export declare const
|
|
12
|
-
export declare const
|
|
13
|
-
export declare const
|
|
14
|
-
export declare const
|
|
15
|
-
export declare const
|
|
16
|
-
export declare const
|
|
17
|
-
export declare const
|
|
18
|
-
export declare const
|
|
1
|
+
import { IConfirmRequisitionBankingParams, IConfirmRequisitionBankingResponse, ICreateRequisitionBankingBody, ICreateRequisitionBankingResponse, IListInstitutionBankingResponse, IListInstitutionBankingQuery, IListConnectionBankingResponse, IListBankBankingResponse, IGetBankConnectionBankingResponse, IGetBankConnectionBankingParams, IRenewRequisitionBankingParams, IRenewRequisitionBankingResponse, IRenewRequisitionBankingBody, IPaginateAccountTransactionBankingQuery, IPaginateAccountTransactionBankingResponse, IGetAccountTransactionBankingParams, IGetAccountTransactionBankingResponse, IUpdateBankAccountBankingParams, IUpdateBankAccountBankingBody, IUpdateBankAccountBankingResponse, ILoadDemoDataBankingResponse, IDeleteDemoDataBankingResponse, IGetTransactionPerCategoryBankingQuery, IGetTransactionPerCategoryBankingResponse, IGetSumTransactionPerBankAccountPerCategoryQuery, IGetSumTransactionPerBankAccountPerCategoryBankingResponse, IPaginateBankAccountHistoryBankingQuery, IPaginateBankAccountHistoryBankingResponse, IListBankAccountHistoryBankingQuery, IListBankAccountHistoryBankingResponse, IUpdateAccountTransactionBankingParams, IUpdateAccountTransactionBankingBody, ICoverageInstitutionBankingResponse, IGetTopTransactionBankingQuery, IGetTopTransactionBankingResponse } from '..';
|
|
2
|
+
export declare const listConnectionBanking: () => Promise<IListConnectionBankingResponse>;
|
|
3
|
+
export declare const getBankConnectionBanking: (params: IGetBankConnectionBankingParams) => Promise<IGetBankConnectionBankingResponse>;
|
|
4
|
+
export declare const listBankBanking: () => Promise<IListBankBankingResponse>;
|
|
5
|
+
export declare const listInstitutionBanking: (query: IListInstitutionBankingQuery) => Promise<IListInstitutionBankingResponse>;
|
|
6
|
+
export declare const coverageInstitutionBanking: () => Promise<ICoverageInstitutionBankingResponse>;
|
|
7
|
+
export declare const createRequisitionBanking: (body: ICreateRequisitionBankingBody) => Promise<ICreateRequisitionBankingResponse>;
|
|
8
|
+
export declare const confirmRequisitionBanking: (params: IConfirmRequisitionBankingParams) => Promise<IConfirmRequisitionBankingResponse>;
|
|
9
|
+
export declare const renewRequisitionBanking: (params: IRenewRequisitionBankingParams, body: IRenewRequisitionBankingBody) => Promise<IRenewRequisitionBankingResponse>;
|
|
10
|
+
export declare const paginateAccountTransactionBanking: (query: IPaginateAccountTransactionBankingQuery) => Promise<IPaginateAccountTransactionBankingResponse>;
|
|
11
|
+
export declare const getAccountTransactionBanking: (params: IGetAccountTransactionBankingParams) => Promise<IGetAccountTransactionBankingResponse>;
|
|
12
|
+
export declare const updateAccountTransactionBanking: (params: IUpdateAccountTransactionBankingParams, body: IUpdateAccountTransactionBankingBody) => Promise<IGetAccountTransactionBankingResponse>;
|
|
13
|
+
export declare const updateBankAccountBanking: (params: IUpdateBankAccountBankingParams, body: IUpdateBankAccountBankingBody) => Promise<IUpdateBankAccountBankingResponse>;
|
|
14
|
+
export declare const loadDemoDataBanking: () => Promise<ILoadDemoDataBankingResponse>;
|
|
15
|
+
export declare const deleteDemoDataBanking: () => Promise<IDeleteDemoDataBankingResponse>;
|
|
16
|
+
export declare const getTransactionPerCategoryBanking: (query: IGetTransactionPerCategoryBankingQuery) => Promise<IGetTransactionPerCategoryBankingResponse>;
|
|
17
|
+
export declare const getSumTransactionPerBankAccountPerCategoryBanking: (query: IGetSumTransactionPerBankAccountPerCategoryQuery) => Promise<IGetSumTransactionPerBankAccountPerCategoryBankingResponse>;
|
|
18
|
+
export declare const paginateBankAccountHistoryBanking: (query: IPaginateBankAccountHistoryBankingQuery) => Promise<IPaginateBankAccountHistoryBankingResponse>;
|
|
19
|
+
export declare const listBankAccountHistoryBanking: (query: IListBankAccountHistoryBankingQuery) => Promise<IListBankAccountHistoryBankingResponse>;
|
|
20
|
+
export declare const getTopTransactionBanking: (query: IGetTopTransactionBankingQuery) => Promise<IGetTopTransactionBankingResponse>;
|
package/dist/api/banking.api.js
CHANGED
|
@@ -1,76 +1,86 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.listBankAccountHistoryBanking = exports.paginateBankAccountHistoryBanking = exports.getSumTransactionPerBankAccountPerCategoryBanking = exports.getTransactionPerCategoryBanking = exports.deleteDemoDataBanking = exports.loadDemoDataBanking = exports.updateBankAccountBanking = exports.updateAccountTransactionBanking = exports.getAccountTransactionBanking = exports.paginateAccountTransactionBanking = exports.renewRequisitionBanking = exports.confirmRequisitionBanking = exports.createRequisitionBanking = exports.listInstitutionBanking = exports.listBankBanking = exports.getBankConnectionBanking = exports.listConnectionBanking = void 0;
|
|
4
|
-
const __1 = require("..");
|
|
5
|
-
const listConnectionBanking = async () => {
|
|
6
|
-
return (await __1.AbyssBankingCore.axios.get(`banking/connection/list`)).data;
|
|
7
|
-
};
|
|
8
|
-
exports.listConnectionBanking = listConnectionBanking;
|
|
9
|
-
const getBankConnectionBanking = async (params) => {
|
|
10
|
-
return (await __1.AbyssBankingCore.axios.get(`banking/connection/${params.bankConnectionId}`)).data;
|
|
11
|
-
};
|
|
12
|
-
exports.getBankConnectionBanking = getBankConnectionBanking;
|
|
13
|
-
const listBankBanking = async () => {
|
|
14
|
-
return (await __1.AbyssBankingCore.axios.get(`banking/bank/list`)).data;
|
|
15
|
-
};
|
|
16
|
-
exports.listBankBanking = listBankBanking;
|
|
17
|
-
const listInstitutionBanking = async (query) => {
|
|
18
|
-
return (await __1.AbyssBankingCore.axios.get(`banking/institution/list`, {
|
|
19
|
-
params: query,
|
|
20
|
-
})).data;
|
|
21
|
-
};
|
|
22
|
-
exports.listInstitutionBanking = listInstitutionBanking;
|
|
23
|
-
const
|
|
24
|
-
return (await __1.AbyssBankingCore.axios.
|
|
25
|
-
};
|
|
26
|
-
exports.
|
|
27
|
-
const
|
|
28
|
-
return (await __1.AbyssBankingCore.axios.post(`banking/requisition/
|
|
29
|
-
};
|
|
30
|
-
exports.
|
|
31
|
-
const
|
|
32
|
-
return (await __1.AbyssBankingCore.axios.post(`banking/requisition/${params.
|
|
33
|
-
};
|
|
34
|
-
exports.
|
|
35
|
-
const
|
|
36
|
-
return (await __1.AbyssBankingCore.axios.
|
|
37
|
-
};
|
|
38
|
-
exports.
|
|
39
|
-
const
|
|
40
|
-
return (await __1.AbyssBankingCore.axios.get(`banking/transaction
|
|
41
|
-
};
|
|
42
|
-
exports.
|
|
43
|
-
const
|
|
44
|
-
return (await __1.AbyssBankingCore.axios.
|
|
45
|
-
};
|
|
46
|
-
exports.
|
|
47
|
-
const
|
|
48
|
-
return (await __1.AbyssBankingCore.axios.put(`banking/
|
|
49
|
-
};
|
|
50
|
-
exports.
|
|
51
|
-
const
|
|
52
|
-
return (await __1.AbyssBankingCore.axios.
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
};
|
|
64
|
-
exports.
|
|
65
|
-
const
|
|
66
|
-
return (await __1.AbyssBankingCore.axios.get(`banking/
|
|
67
|
-
};
|
|
68
|
-
exports.
|
|
69
|
-
const
|
|
70
|
-
return (await __1.AbyssBankingCore.axios.get(`banking/bank-account-
|
|
71
|
-
};
|
|
72
|
-
exports.
|
|
73
|
-
const
|
|
74
|
-
return (await __1.AbyssBankingCore.axios.get(`banking/bank-account-history/
|
|
75
|
-
};
|
|
76
|
-
exports.
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getTopTransactionBanking = exports.listBankAccountHistoryBanking = exports.paginateBankAccountHistoryBanking = exports.getSumTransactionPerBankAccountPerCategoryBanking = exports.getTransactionPerCategoryBanking = exports.deleteDemoDataBanking = exports.loadDemoDataBanking = exports.updateBankAccountBanking = exports.updateAccountTransactionBanking = exports.getAccountTransactionBanking = exports.paginateAccountTransactionBanking = exports.renewRequisitionBanking = exports.confirmRequisitionBanking = exports.createRequisitionBanking = exports.coverageInstitutionBanking = exports.listInstitutionBanking = exports.listBankBanking = exports.getBankConnectionBanking = exports.listConnectionBanking = void 0;
|
|
4
|
+
const __1 = require("..");
|
|
5
|
+
const listConnectionBanking = async () => {
|
|
6
|
+
return (await __1.AbyssBankingCore.axios.get(`banking/connection/list`)).data;
|
|
7
|
+
};
|
|
8
|
+
exports.listConnectionBanking = listConnectionBanking;
|
|
9
|
+
const getBankConnectionBanking = async (params) => {
|
|
10
|
+
return (await __1.AbyssBankingCore.axios.get(`banking/connection/${params.bankConnectionId}`)).data;
|
|
11
|
+
};
|
|
12
|
+
exports.getBankConnectionBanking = getBankConnectionBanking;
|
|
13
|
+
const listBankBanking = async () => {
|
|
14
|
+
return (await __1.AbyssBankingCore.axios.get(`banking/bank/list`)).data;
|
|
15
|
+
};
|
|
16
|
+
exports.listBankBanking = listBankBanking;
|
|
17
|
+
const listInstitutionBanking = async (query) => {
|
|
18
|
+
return (await __1.AbyssBankingCore.axios.get(`banking/institution/list`, {
|
|
19
|
+
params: query,
|
|
20
|
+
})).data;
|
|
21
|
+
};
|
|
22
|
+
exports.listInstitutionBanking = listInstitutionBanking;
|
|
23
|
+
const coverageInstitutionBanking = async () => {
|
|
24
|
+
return (await __1.AbyssBankingCore.axios.get(`banking/institution/coverage`)).data;
|
|
25
|
+
};
|
|
26
|
+
exports.coverageInstitutionBanking = coverageInstitutionBanking;
|
|
27
|
+
const createRequisitionBanking = async (body) => {
|
|
28
|
+
return (await __1.AbyssBankingCore.axios.post(`banking/requisition/create`, body)).data;
|
|
29
|
+
};
|
|
30
|
+
exports.createRequisitionBanking = createRequisitionBanking;
|
|
31
|
+
const confirmRequisitionBanking = async (params) => {
|
|
32
|
+
return (await __1.AbyssBankingCore.axios.post(`banking/requisition/confirm/${params.reference}`)).data;
|
|
33
|
+
};
|
|
34
|
+
exports.confirmRequisitionBanking = confirmRequisitionBanking;
|
|
35
|
+
const renewRequisitionBanking = async (params, body) => {
|
|
36
|
+
return (await __1.AbyssBankingCore.axios.post(`banking/requisition/${params.bankConnectionId}/renew`, body)).data;
|
|
37
|
+
};
|
|
38
|
+
exports.renewRequisitionBanking = renewRequisitionBanking;
|
|
39
|
+
const paginateAccountTransactionBanking = async (query) => {
|
|
40
|
+
return (await __1.AbyssBankingCore.axios.get(`banking/transaction/paginate`, { params: query })).data;
|
|
41
|
+
};
|
|
42
|
+
exports.paginateAccountTransactionBanking = paginateAccountTransactionBanking;
|
|
43
|
+
const getAccountTransactionBanking = async (params) => {
|
|
44
|
+
return (await __1.AbyssBankingCore.axios.get(`banking/transaction/${params.accountTransactionId}`)).data;
|
|
45
|
+
};
|
|
46
|
+
exports.getAccountTransactionBanking = getAccountTransactionBanking;
|
|
47
|
+
const updateAccountTransactionBanking = async (params, body) => {
|
|
48
|
+
return (await __1.AbyssBankingCore.axios.put(`banking/transaction/${params.accountTransactionId}`, body)).data;
|
|
49
|
+
};
|
|
50
|
+
exports.updateAccountTransactionBanking = updateAccountTransactionBanking;
|
|
51
|
+
const updateBankAccountBanking = async (params, body) => {
|
|
52
|
+
return (await __1.AbyssBankingCore.axios.put(`banking/account/${params.bankAccountId}`, body)).data;
|
|
53
|
+
};
|
|
54
|
+
exports.updateBankAccountBanking = updateBankAccountBanking;
|
|
55
|
+
const loadDemoDataBanking = async () => {
|
|
56
|
+
return (await __1.AbyssBankingCore.axios.post(`banking/demo-data`))
|
|
57
|
+
.data;
|
|
58
|
+
};
|
|
59
|
+
exports.loadDemoDataBanking = loadDemoDataBanking;
|
|
60
|
+
const deleteDemoDataBanking = async () => {
|
|
61
|
+
return (await __1.AbyssBankingCore.axios.delete(`banking/demo-data`))
|
|
62
|
+
.data;
|
|
63
|
+
};
|
|
64
|
+
exports.deleteDemoDataBanking = deleteDemoDataBanking;
|
|
65
|
+
const getTransactionPerCategoryBanking = async (query) => {
|
|
66
|
+
return (await __1.AbyssBankingCore.axios.get(`banking/transaction-per-category`, { params: query })).data;
|
|
67
|
+
};
|
|
68
|
+
exports.getTransactionPerCategoryBanking = getTransactionPerCategoryBanking;
|
|
69
|
+
const getSumTransactionPerBankAccountPerCategoryBanking = async (query) => {
|
|
70
|
+
return (await __1.AbyssBankingCore.axios.get(`banking/sum-transaction-per-bank-account-category`, { params: query })).data;
|
|
71
|
+
};
|
|
72
|
+
exports.getSumTransactionPerBankAccountPerCategoryBanking = getSumTransactionPerBankAccountPerCategoryBanking;
|
|
73
|
+
const paginateBankAccountHistoryBanking = async (query) => {
|
|
74
|
+
return (await __1.AbyssBankingCore.axios.get(`banking/bank-account-history/paginate`, { params: query })).data;
|
|
75
|
+
};
|
|
76
|
+
exports.paginateBankAccountHistoryBanking = paginateBankAccountHistoryBanking;
|
|
77
|
+
const listBankAccountHistoryBanking = async (query) => {
|
|
78
|
+
return (await __1.AbyssBankingCore.axios.get(`banking/bank-account-history/list`, { params: query })).data;
|
|
79
|
+
};
|
|
80
|
+
exports.listBankAccountHistoryBanking = listBankAccountHistoryBanking;
|
|
81
|
+
const getTopTransactionBanking = async (query) => {
|
|
82
|
+
return (await __1.AbyssBankingCore.axios.get(`banking/top-transactions`, {
|
|
83
|
+
params: query,
|
|
84
|
+
})).data;
|
|
85
|
+
};
|
|
86
|
+
exports.getTopTransactionBanking = getTopTransactionBanking;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IApplyCategorizationRuleAdminParams, IApplyCategorizationRuleAdminResponse, ICreateCategorizationRuleAdminBody, ICreateCategorizationRuleAdminResponse, IDeleteCategorizationRuleAdminParams, IDeleteCategorizationRuleAdminResponse, IGetCategorizationRuleAdminParams, IGetCategorizationRuleAdminResponse, IPaginateCategorizationRuleAdminQuery, IPaginateCategorizationRuleAdminResponse, IUpdateCategorizationRuleAdminBody, IUpdateCategorizationRuleAdminParams, IUpdateCategorizationRuleAdminResponse } from '..';
|
|
2
|
-
export declare const getCategorizationRuleAdmin: (params: IGetCategorizationRuleAdminParams) => Promise<IGetCategorizationRuleAdminResponse>;
|
|
3
|
-
export declare const applyCategorizationRuleAdmin: (params: IApplyCategorizationRuleAdminParams) => Promise<IApplyCategorizationRuleAdminResponse>;
|
|
4
|
-
export declare const paginateCategorizationRuleAdmin: (query: IPaginateCategorizationRuleAdminQuery) => Promise<IPaginateCategorizationRuleAdminResponse>;
|
|
5
|
-
export declare const deleteCategorizationRuleAdmin: (params: IDeleteCategorizationRuleAdminParams) => Promise<IDeleteCategorizationRuleAdminResponse>;
|
|
6
|
-
export declare const createCategorizationRuleAdmin: (body: ICreateCategorizationRuleAdminBody) => Promise<ICreateCategorizationRuleAdminResponse>;
|
|
7
|
-
export declare const updateCategorizationRuleAdmin: (params: IUpdateCategorizationRuleAdminParams, body: IUpdateCategorizationRuleAdminBody) => Promise<IUpdateCategorizationRuleAdminResponse>;
|
|
1
|
+
import { IApplyCategorizationRuleAdminParams, IApplyCategorizationRuleAdminResponse, ICreateCategorizationRuleAdminBody, ICreateCategorizationRuleAdminResponse, IDeleteCategorizationRuleAdminParams, IDeleteCategorizationRuleAdminResponse, IGetCategorizationRuleAdminParams, IGetCategorizationRuleAdminResponse, IPaginateCategorizationRuleAdminQuery, IPaginateCategorizationRuleAdminResponse, IUpdateCategorizationRuleAdminBody, IUpdateCategorizationRuleAdminParams, IUpdateCategorizationRuleAdminResponse } from '..';
|
|
2
|
+
export declare const getCategorizationRuleAdmin: (params: IGetCategorizationRuleAdminParams) => Promise<IGetCategorizationRuleAdminResponse>;
|
|
3
|
+
export declare const applyCategorizationRuleAdmin: (params: IApplyCategorizationRuleAdminParams) => Promise<IApplyCategorizationRuleAdminResponse>;
|
|
4
|
+
export declare const paginateCategorizationRuleAdmin: (query: IPaginateCategorizationRuleAdminQuery) => Promise<IPaginateCategorizationRuleAdminResponse>;
|
|
5
|
+
export declare const deleteCategorizationRuleAdmin: (params: IDeleteCategorizationRuleAdminParams) => Promise<IDeleteCategorizationRuleAdminResponse>;
|
|
6
|
+
export declare const createCategorizationRuleAdmin: (body: ICreateCategorizationRuleAdminBody) => Promise<ICreateCategorizationRuleAdminResponse>;
|
|
7
|
+
export declare const updateCategorizationRuleAdmin: (params: IUpdateCategorizationRuleAdminParams, body: IUpdateCategorizationRuleAdminBody) => Promise<IUpdateCategorizationRuleAdminResponse>;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.updateCategorizationRuleAdmin = exports.createCategorizationRuleAdmin = exports.deleteCategorizationRuleAdmin = exports.paginateCategorizationRuleAdmin = exports.applyCategorizationRuleAdmin = exports.getCategorizationRuleAdmin = void 0;
|
|
4
|
-
const __1 = require("..");
|
|
5
|
-
const getCategorizationRuleAdmin = async (params) => {
|
|
6
|
-
return (await __1.AbyssBankingCore.axios.get(`categorization-rule/admin/${params.categorizationRuleId}`)).data;
|
|
7
|
-
};
|
|
8
|
-
exports.getCategorizationRuleAdmin = getCategorizationRuleAdmin;
|
|
9
|
-
const applyCategorizationRuleAdmin = async (params) => {
|
|
10
|
-
return (await __1.AbyssBankingCore.axios.post(`categorization-rule/admin/${params.categorizationRuleId}/apply`)).data;
|
|
11
|
-
};
|
|
12
|
-
exports.applyCategorizationRuleAdmin = applyCategorizationRuleAdmin;
|
|
13
|
-
const paginateCategorizationRuleAdmin = async (query) => {
|
|
14
|
-
return (await __1.AbyssBankingCore.axios.get(`categorization-rule/admin/paginate`, { params: query })).data;
|
|
15
|
-
};
|
|
16
|
-
exports.paginateCategorizationRuleAdmin = paginateCategorizationRuleAdmin;
|
|
17
|
-
const deleteCategorizationRuleAdmin = async (params) => {
|
|
18
|
-
return (await __1.AbyssBankingCore.axios.delete(`categorization-rule/admin/${params.categorizationRuleId}`)).data;
|
|
19
|
-
};
|
|
20
|
-
exports.deleteCategorizationRuleAdmin = deleteCategorizationRuleAdmin;
|
|
21
|
-
const createCategorizationRuleAdmin = async (body) => {
|
|
22
|
-
return (await __1.AbyssBankingCore.axios.post(`categorization-rule/admin`, body)).data;
|
|
23
|
-
};
|
|
24
|
-
exports.createCategorizationRuleAdmin = createCategorizationRuleAdmin;
|
|
25
|
-
const updateCategorizationRuleAdmin = async (params, body) => {
|
|
26
|
-
return (await __1.AbyssBankingCore.axios.put(`categorization-rule/admin/${params.categorizationRuleId}`, body)).data;
|
|
27
|
-
};
|
|
28
|
-
exports.updateCategorizationRuleAdmin = updateCategorizationRuleAdmin;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateCategorizationRuleAdmin = exports.createCategorizationRuleAdmin = exports.deleteCategorizationRuleAdmin = exports.paginateCategorizationRuleAdmin = exports.applyCategorizationRuleAdmin = exports.getCategorizationRuleAdmin = void 0;
|
|
4
|
+
const __1 = require("..");
|
|
5
|
+
const getCategorizationRuleAdmin = async (params) => {
|
|
6
|
+
return (await __1.AbyssBankingCore.axios.get(`categorization-rule/admin/${params.categorizationRuleId}`)).data;
|
|
7
|
+
};
|
|
8
|
+
exports.getCategorizationRuleAdmin = getCategorizationRuleAdmin;
|
|
9
|
+
const applyCategorizationRuleAdmin = async (params) => {
|
|
10
|
+
return (await __1.AbyssBankingCore.axios.post(`categorization-rule/admin/${params.categorizationRuleId}/apply`)).data;
|
|
11
|
+
};
|
|
12
|
+
exports.applyCategorizationRuleAdmin = applyCategorizationRuleAdmin;
|
|
13
|
+
const paginateCategorizationRuleAdmin = async (query) => {
|
|
14
|
+
return (await __1.AbyssBankingCore.axios.get(`categorization-rule/admin/paginate`, { params: query })).data;
|
|
15
|
+
};
|
|
16
|
+
exports.paginateCategorizationRuleAdmin = paginateCategorizationRuleAdmin;
|
|
17
|
+
const deleteCategorizationRuleAdmin = async (params) => {
|
|
18
|
+
return (await __1.AbyssBankingCore.axios.delete(`categorization-rule/admin/${params.categorizationRuleId}`)).data;
|
|
19
|
+
};
|
|
20
|
+
exports.deleteCategorizationRuleAdmin = deleteCategorizationRuleAdmin;
|
|
21
|
+
const createCategorizationRuleAdmin = async (body) => {
|
|
22
|
+
return (await __1.AbyssBankingCore.axios.post(`categorization-rule/admin`, body)).data;
|
|
23
|
+
};
|
|
24
|
+
exports.createCategorizationRuleAdmin = createCategorizationRuleAdmin;
|
|
25
|
+
const updateCategorizationRuleAdmin = async (params, body) => {
|
|
26
|
+
return (await __1.AbyssBankingCore.axios.put(`categorization-rule/admin/${params.categorizationRuleId}`, body)).data;
|
|
27
|
+
};
|
|
28
|
+
exports.updateCategorizationRuleAdmin = updateCategorizationRuleAdmin;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IApplyCategorizationRuleParams, IApplyCategorizationRuleResponse, ICreateCategorizationRuleBody, ICreateCategorizationRuleResponse, IDeleteCategorizationRuleParams, IDeleteCategorizationRuleResponse, IGetCategorizationRuleParams, IGetCategorizationRuleResponse, IPaginateCategorizationRuleQuery, IPaginateCategorizationRuleResponse, IUpdateCategorizationRuleBody, IUpdateCategorizationRuleParams, IUpdateCategorizationRuleResponse } from '..';
|
|
2
|
-
export declare const getCategorizationRule: (params: IGetCategorizationRuleParams) => Promise<IGetCategorizationRuleResponse>;
|
|
3
|
-
export declare const applyCategorizationRule: (params: IApplyCategorizationRuleParams) => Promise<IApplyCategorizationRuleResponse>;
|
|
4
|
-
export declare const paginateCategorizationRule: (query: IPaginateCategorizationRuleQuery) => Promise<IPaginateCategorizationRuleResponse>;
|
|
5
|
-
export declare const deleteCategorizationRule: (params: IDeleteCategorizationRuleParams) => Promise<IDeleteCategorizationRuleResponse>;
|
|
6
|
-
export declare const createCategorizationRule: (body: ICreateCategorizationRuleBody) => Promise<ICreateCategorizationRuleResponse>;
|
|
7
|
-
export declare const updateCategorizationRule: (params: IUpdateCategorizationRuleParams, body: IUpdateCategorizationRuleBody) => Promise<IUpdateCategorizationRuleResponse>;
|
|
1
|
+
import { IApplyCategorizationRuleParams, IApplyCategorizationRuleResponse, ICreateCategorizationRuleBody, ICreateCategorizationRuleResponse, IDeleteCategorizationRuleParams, IDeleteCategorizationRuleResponse, IGetCategorizationRuleParams, IGetCategorizationRuleResponse, IPaginateCategorizationRuleQuery, IPaginateCategorizationRuleResponse, IUpdateCategorizationRuleBody, IUpdateCategorizationRuleParams, IUpdateCategorizationRuleResponse } from '..';
|
|
2
|
+
export declare const getCategorizationRule: (params: IGetCategorizationRuleParams) => Promise<IGetCategorizationRuleResponse>;
|
|
3
|
+
export declare const applyCategorizationRule: (params: IApplyCategorizationRuleParams) => Promise<IApplyCategorizationRuleResponse>;
|
|
4
|
+
export declare const paginateCategorizationRule: (query: IPaginateCategorizationRuleQuery) => Promise<IPaginateCategorizationRuleResponse>;
|
|
5
|
+
export declare const deleteCategorizationRule: (params: IDeleteCategorizationRuleParams) => Promise<IDeleteCategorizationRuleResponse>;
|
|
6
|
+
export declare const createCategorizationRule: (body: ICreateCategorizationRuleBody) => Promise<ICreateCategorizationRuleResponse>;
|
|
7
|
+
export declare const updateCategorizationRule: (params: IUpdateCategorizationRuleParams, body: IUpdateCategorizationRuleBody) => Promise<IUpdateCategorizationRuleResponse>;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.updateCategorizationRule = exports.createCategorizationRule = exports.deleteCategorizationRule = exports.paginateCategorizationRule = exports.applyCategorizationRule = exports.getCategorizationRule = void 0;
|
|
4
|
-
const __1 = require("..");
|
|
5
|
-
const getCategorizationRule = async (params) => {
|
|
6
|
-
return (await __1.AbyssBankingCore.axios.get(`categorization-rule/${params.categorizationRuleId}`)).data;
|
|
7
|
-
};
|
|
8
|
-
exports.getCategorizationRule = getCategorizationRule;
|
|
9
|
-
const applyCategorizationRule = async (params) => {
|
|
10
|
-
return (await __1.AbyssBankingCore.axios.post(`categorization-rule/${params.categorizationRuleId}/apply`)).data;
|
|
11
|
-
};
|
|
12
|
-
exports.applyCategorizationRule = applyCategorizationRule;
|
|
13
|
-
const paginateCategorizationRule = async (query) => {
|
|
14
|
-
return (await __1.AbyssBankingCore.axios.get(`categorization-rule/paginate`, { params: query })).data;
|
|
15
|
-
};
|
|
16
|
-
exports.paginateCategorizationRule = paginateCategorizationRule;
|
|
17
|
-
const deleteCategorizationRule = async (params) => {
|
|
18
|
-
return (await __1.AbyssBankingCore.axios.delete(`categorization-rule/${params.categorizationRuleId}`)).data;
|
|
19
|
-
};
|
|
20
|
-
exports.deleteCategorizationRule = deleteCategorizationRule;
|
|
21
|
-
const createCategorizationRule = async (body) => {
|
|
22
|
-
return (await __1.AbyssBankingCore.axios.post(`categorization-rule`, body)).data;
|
|
23
|
-
};
|
|
24
|
-
exports.createCategorizationRule = createCategorizationRule;
|
|
25
|
-
const updateCategorizationRule = async (params, body) => {
|
|
26
|
-
return (await __1.AbyssBankingCore.axios.put(`categorization-rule/${params.categorizationRuleId}`, body)).data;
|
|
27
|
-
};
|
|
28
|
-
exports.updateCategorizationRule = updateCategorizationRule;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateCategorizationRule = exports.createCategorizationRule = exports.deleteCategorizationRule = exports.paginateCategorizationRule = exports.applyCategorizationRule = exports.getCategorizationRule = void 0;
|
|
4
|
+
const __1 = require("..");
|
|
5
|
+
const getCategorizationRule = async (params) => {
|
|
6
|
+
return (await __1.AbyssBankingCore.axios.get(`categorization-rule/${params.categorizationRuleId}`)).data;
|
|
7
|
+
};
|
|
8
|
+
exports.getCategorizationRule = getCategorizationRule;
|
|
9
|
+
const applyCategorizationRule = async (params) => {
|
|
10
|
+
return (await __1.AbyssBankingCore.axios.post(`categorization-rule/${params.categorizationRuleId}/apply`)).data;
|
|
11
|
+
};
|
|
12
|
+
exports.applyCategorizationRule = applyCategorizationRule;
|
|
13
|
+
const paginateCategorizationRule = async (query) => {
|
|
14
|
+
return (await __1.AbyssBankingCore.axios.get(`categorization-rule/paginate`, { params: query })).data;
|
|
15
|
+
};
|
|
16
|
+
exports.paginateCategorizationRule = paginateCategorizationRule;
|
|
17
|
+
const deleteCategorizationRule = async (params) => {
|
|
18
|
+
return (await __1.AbyssBankingCore.axios.delete(`categorization-rule/${params.categorizationRuleId}`)).data;
|
|
19
|
+
};
|
|
20
|
+
exports.deleteCategorizationRule = deleteCategorizationRule;
|
|
21
|
+
const createCategorizationRule = async (body) => {
|
|
22
|
+
return (await __1.AbyssBankingCore.axios.post(`categorization-rule`, body)).data;
|
|
23
|
+
};
|
|
24
|
+
exports.createCategorizationRule = createCategorizationRule;
|
|
25
|
+
const updateCategorizationRule = async (params, body) => {
|
|
26
|
+
return (await __1.AbyssBankingCore.axios.put(`categorization-rule/${params.categorizationRuleId}`, body)).data;
|
|
27
|
+
};
|
|
28
|
+
exports.updateCategorizationRule = updateCategorizationRule;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IGetCategoryAdminParams, IGetCategoryAdminResponse, IPaginateCategoryAdminQuery, IPaginateCategoryAdminResponse, IDeleteCategoryAdminResponse, IDeleteCategoryAdminParams, ICreateCategoryAdminBody, ICreateCategoryAdminResponse, IUpdateCategoryAdminBody, IUpdateCategoryAdminParams, IUpdateCategoryAdminResponse } from '../types';
|
|
2
|
-
export declare const getCategoryAdmin: (params: IGetCategoryAdminParams) => Promise<IGetCategoryAdminResponse>;
|
|
3
|
-
export declare const paginateCategoryAdmin: (query: IPaginateCategoryAdminQuery) => Promise<IPaginateCategoryAdminResponse>;
|
|
4
|
-
export declare const deleteCategoryAdmin: (params: IDeleteCategoryAdminParams) => Promise<IDeleteCategoryAdminResponse>;
|
|
5
|
-
export declare const createCategoryAdmin: (body: ICreateCategoryAdminBody) => Promise<ICreateCategoryAdminResponse>;
|
|
6
|
-
export declare const updateCategoryAdmin: (params: IUpdateCategoryAdminParams, body: IUpdateCategoryAdminBody) => Promise<IUpdateCategoryAdminResponse>;
|
|
1
|
+
import { IGetCategoryAdminParams, IGetCategoryAdminResponse, IPaginateCategoryAdminQuery, IPaginateCategoryAdminResponse, IDeleteCategoryAdminResponse, IDeleteCategoryAdminParams, ICreateCategoryAdminBody, ICreateCategoryAdminResponse, IUpdateCategoryAdminBody, IUpdateCategoryAdminParams, IUpdateCategoryAdminResponse } from '../types';
|
|
2
|
+
export declare const getCategoryAdmin: (params: IGetCategoryAdminParams) => Promise<IGetCategoryAdminResponse>;
|
|
3
|
+
export declare const paginateCategoryAdmin: (query: IPaginateCategoryAdminQuery) => Promise<IPaginateCategoryAdminResponse>;
|
|
4
|
+
export declare const deleteCategoryAdmin: (params: IDeleteCategoryAdminParams) => Promise<IDeleteCategoryAdminResponse>;
|
|
5
|
+
export declare const createCategoryAdmin: (body: ICreateCategoryAdminBody) => Promise<ICreateCategoryAdminResponse>;
|
|
6
|
+
export declare const updateCategoryAdmin: (params: IUpdateCategoryAdminParams, body: IUpdateCategoryAdminBody) => Promise<IUpdateCategoryAdminResponse>;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.updateCategoryAdmin = exports.createCategoryAdmin = exports.deleteCategoryAdmin = exports.paginateCategoryAdmin = exports.getCategoryAdmin = void 0;
|
|
4
|
-
const __1 = require("..");
|
|
5
|
-
const getCategoryAdmin = async (params) => {
|
|
6
|
-
return (await __1.AbyssBankingCore.axios.get(`category/admin/${params.categoryId}`)).data;
|
|
7
|
-
};
|
|
8
|
-
exports.getCategoryAdmin = getCategoryAdmin;
|
|
9
|
-
const paginateCategoryAdmin = async (query) => {
|
|
10
|
-
return (await __1.AbyssBankingCore.axios.get(`category/admin/paginate`, {
|
|
11
|
-
params: query,
|
|
12
|
-
})).data;
|
|
13
|
-
};
|
|
14
|
-
exports.paginateCategoryAdmin = paginateCategoryAdmin;
|
|
15
|
-
const deleteCategoryAdmin = async (params) => {
|
|
16
|
-
return (await __1.AbyssBankingCore.axios.delete(`category/admin/${params.categoryId}`)).data;
|
|
17
|
-
};
|
|
18
|
-
exports.deleteCategoryAdmin = deleteCategoryAdmin;
|
|
19
|
-
const createCategoryAdmin = async (body) => {
|
|
20
|
-
return (await __1.AbyssBankingCore.axios.post(`category/admin`, body))
|
|
21
|
-
.data;
|
|
22
|
-
};
|
|
23
|
-
exports.createCategoryAdmin = createCategoryAdmin;
|
|
24
|
-
const updateCategoryAdmin = async (params, body) => {
|
|
25
|
-
return (await __1.AbyssBankingCore.axios.put(`category/admin/${params.categoryId}`, body)).data;
|
|
26
|
-
};
|
|
27
|
-
exports.updateCategoryAdmin = updateCategoryAdmin;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateCategoryAdmin = exports.createCategoryAdmin = exports.deleteCategoryAdmin = exports.paginateCategoryAdmin = exports.getCategoryAdmin = void 0;
|
|
4
|
+
const __1 = require("..");
|
|
5
|
+
const getCategoryAdmin = async (params) => {
|
|
6
|
+
return (await __1.AbyssBankingCore.axios.get(`category/admin/${params.categoryId}`)).data;
|
|
7
|
+
};
|
|
8
|
+
exports.getCategoryAdmin = getCategoryAdmin;
|
|
9
|
+
const paginateCategoryAdmin = async (query) => {
|
|
10
|
+
return (await __1.AbyssBankingCore.axios.get(`category/admin/paginate`, {
|
|
11
|
+
params: query,
|
|
12
|
+
})).data;
|
|
13
|
+
};
|
|
14
|
+
exports.paginateCategoryAdmin = paginateCategoryAdmin;
|
|
15
|
+
const deleteCategoryAdmin = async (params) => {
|
|
16
|
+
return (await __1.AbyssBankingCore.axios.delete(`category/admin/${params.categoryId}`)).data;
|
|
17
|
+
};
|
|
18
|
+
exports.deleteCategoryAdmin = deleteCategoryAdmin;
|
|
19
|
+
const createCategoryAdmin = async (body) => {
|
|
20
|
+
return (await __1.AbyssBankingCore.axios.post(`category/admin`, body))
|
|
21
|
+
.data;
|
|
22
|
+
};
|
|
23
|
+
exports.createCategoryAdmin = createCategoryAdmin;
|
|
24
|
+
const updateCategoryAdmin = async (params, body) => {
|
|
25
|
+
return (await __1.AbyssBankingCore.axios.put(`category/admin/${params.categoryId}`, body)).data;
|
|
26
|
+
};
|
|
27
|
+
exports.updateCategoryAdmin = updateCategoryAdmin;
|