sysone-api-mapper 1.0.159 → 1.0.161
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 +2 -1
- package/dist/src/adapters/claimsAdapter.js +1 -1
- package/dist/src/adapters/collectionAdapter.js +1 -1
- package/dist/src/adapters/createApiAdapter.d.ts +1 -0
- package/dist/src/mapper/endpointsConfig.d.ts +654 -639
- package/dist/src/mapper/endpointsConfig.js +8 -0
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.billingAdapter = void 0;
|
|
4
4
|
const Mapper_1 = require("../mapper/Mapper");
|
|
5
5
|
const billingAdapter = (tenant) => ({
|
|
6
|
-
getBillings: (params) => (0, Mapper_1.apiMapper)("GET_BILLINGS", tenant, params),
|
|
6
|
+
getBillings: (params) => (0, Mapper_1.apiMapper)("GET_BILLINGS", tenant, [], params),
|
|
7
|
+
getBillingByCode: (billingCode) => (0, Mapper_1.apiMapper)("BILLING_GET_BY_CODE", tenant, [billingCode]),
|
|
7
8
|
});
|
|
8
9
|
exports.billingAdapter = billingAdapter;
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.claimsAdapter = void 0;
|
|
4
4
|
const Mapper_1 = require("../mapper/Mapper");
|
|
5
5
|
const claimsAdapter = (tenant) => ({
|
|
6
|
-
getClaims: (params) => (0, Mapper_1.apiMapper)("GET_CLAIMS", tenant, params),
|
|
6
|
+
getClaims: (params) => (0, Mapper_1.apiMapper)("GET_CLAIMS", tenant, [], params),
|
|
7
7
|
});
|
|
8
8
|
exports.claimsAdapter = claimsAdapter;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.collectionAdapter = void 0;
|
|
4
4
|
const Mapper_1 = require("../mapper/Mapper");
|
|
5
5
|
const collectionAdapter = (tenant) => ({
|
|
6
|
-
getCollections: (params) => (0, Mapper_1.apiMapper)("GET_COLLECTIONS", tenant, params),
|
|
6
|
+
getCollections: (params) => (0, Mapper_1.apiMapper)("GET_COLLECTIONS", tenant, [], params),
|
|
7
7
|
getCollectionStatuses: () => (0, Mapper_1.apiMapper)("GET_COLLECTION_STATUSES", tenant),
|
|
8
8
|
getPaymentTypes: () => (0, Mapper_1.apiMapper)("GET_PAYMENT_TYPES", tenant),
|
|
9
9
|
});
|