sysone-api-mapper 1.0.170 → 1.0.172
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/adapters/billingAdapter.d.ts +1 -0
- package/dist/src/adapters/billingAdapter.js +1 -0
- package/dist/src/adapters/createApiAdapter.d.ts +3 -0
- package/dist/src/adapters/partyAdapter.d.ts +2 -0
- package/dist/src/adapters/partyAdapter.js +3 -1
- package/dist/src/mapper/endpointsConfig.d.ts +712 -663
- package/dist/src/mapper/endpointsConfig.js +26 -0
- package/package.json +1 -1
|
@@ -6,5 +6,6 @@ const billingAdapter = (tenant) => ({
|
|
|
6
6
|
getBillings: (params) => (0, Mapper_1.apiMapper)("GET_BILLINGS", tenant, [], params),
|
|
7
7
|
getBillingByCode: (billingCode) => (0, Mapper_1.apiMapper)("BILLING_GET_BY_CODE", tenant, [billingCode]),
|
|
8
8
|
getBillingReport: (billingCode) => (0, Mapper_1.apiMapper)("GET_BILLING_REPORT", tenant, [billingCode]),
|
|
9
|
+
getBillingPaymentStatus: () => (0, Mapper_1.apiMapper)("GET_BILLING_PAYMENT_STATUS", tenant, []),
|
|
9
10
|
});
|
|
10
11
|
exports.billingAdapter = billingAdapter;
|
|
@@ -19,6 +19,8 @@ export interface Api {
|
|
|
19
19
|
updatePerson: (partyCode: string, data: any) => Promise<any>;
|
|
20
20
|
getPartyValidation: (indentificationType: string, identificationValue: string) => Promise<any>;
|
|
21
21
|
postPartyValidation: (indentificationType: string, identificationValue: string, data: any) => Promise<any>;
|
|
22
|
+
getPartyOnboarding: (indentificationType: string, identificationValue: string) => Promise<any>;
|
|
23
|
+
postPartyOnboarding: (indentificationType: string, identificationValue: string, data: any) => Promise<any>;
|
|
22
24
|
};
|
|
23
25
|
location: {
|
|
24
26
|
getCountries: () => Promise<any>;
|
|
@@ -49,6 +51,7 @@ export interface Api {
|
|
|
49
51
|
getBillings: (params?: Object) => Promise<any>;
|
|
50
52
|
getBillingByCode: (billingCode: string) => Promise<any>;
|
|
51
53
|
getBillingReport: (billingCode: string) => Promise<any>;
|
|
54
|
+
getBillingPaymentStatus: () => Promise<any>;
|
|
52
55
|
};
|
|
53
56
|
}
|
|
54
57
|
export declare const createApiAdapter: (tenant?: string) => Api;
|
|
@@ -12,4 +12,6 @@ export function partyAdapter(tenant: any): {
|
|
|
12
12
|
updatePerson: (partyCode: any, data: any) => Promise<any>;
|
|
13
13
|
getPartyValidation: (indentificationType: any, identificationValue: any) => Promise<any>;
|
|
14
14
|
postPartyValidation: (indentificationType: any, identificationValue: any, data: any) => Promise<any>;
|
|
15
|
+
getPartyOnboarding: (indentificationType: any, identificationValue: any) => Promise<any>;
|
|
16
|
+
postPartyOnboarding: (indentificationType: any, identificationValue: any, data: any) => Promise<any>;
|
|
15
17
|
};
|
|
@@ -15,6 +15,8 @@ const partyAdapter = (tenant) => ({
|
|
|
15
15
|
updatePaymentMethodsByPartyCode: (partyCode, data) => (0, Mapper_1.apiMapper)("PUT_PAYMENT_METHODS_BY_PARTY_CODE", tenant, [partyCode], data),
|
|
16
16
|
updatePerson: (partyCode, data) => (0, Mapper_1.apiMapper)("PUT_PERSON", tenant, [partyCode], data),
|
|
17
17
|
getPartyValidation: (indentificationType, identificationValue) => (0, Mapper_1.apiMapper)("GET_PARTY_VALIDATION", tenant, [indentificationType, identificationValue]),
|
|
18
|
-
postPartyValidation: (indentificationType, identificationValue, data) => (0, Mapper_1.apiMapper)("POST_PARTY_VALIDATION", tenant, [indentificationType, identificationValue], data)
|
|
18
|
+
postPartyValidation: (indentificationType, identificationValue, data) => (0, Mapper_1.apiMapper)("POST_PARTY_VALIDATION", tenant, [indentificationType, identificationValue], data),
|
|
19
|
+
getPartyOnboarding: (indentificationType, identificationValue) => (0, Mapper_1.apiMapper)("GET_PARTY_ONBOARDING", tenant, [indentificationType, identificationValue]),
|
|
20
|
+
postPartyOnboarding: (indentificationType, identificationValue, data) => (0, Mapper_1.apiMapper)("POST_PARTY_ONBOARDING", tenant, [indentificationType, identificationValue], data)
|
|
19
21
|
});
|
|
20
22
|
exports.partyAdapter = partyAdapter;
|