sysone-api-mapper 1.0.169 → 1.0.170
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.
|
@@ -7,5 +7,5 @@ export function policyAdapter(tenant: any): {
|
|
|
7
7
|
getPolicyStatuses: () => Promise<any>;
|
|
8
8
|
getPolicyInsureds: (policyType: any, policyCode: any, params: any) => Promise<any>;
|
|
9
9
|
getInsuredsByFilters: (params: any) => Promise<any>;
|
|
10
|
-
getPolicyCertificate: (
|
|
10
|
+
getPolicyCertificate: (policyType: any, policyCode: any, params: any) => Promise<any>;
|
|
11
11
|
};
|
|
@@ -11,6 +11,6 @@ const policyAdapter = (tenant) => ({
|
|
|
11
11
|
getPolicyStatuses: () => (0, Mapper_1.apiMapper)("GET_POLICY_STATUSES", tenant),
|
|
12
12
|
getPolicyInsureds: (policyType, policyCode, params) => (0, Mapper_1.apiMapper)("GET_INSUREDS", tenant, [policyType, policyCode], params),
|
|
13
13
|
getInsuredsByFilters: (params) => (0, Mapper_1.apiMapper)("GET_INSUREDS_BY_FILTERS", tenant, [], params),
|
|
14
|
-
getPolicyCertificate: (
|
|
14
|
+
getPolicyCertificate: (policyType, policyCode, params) => (0, Mapper_1.apiMapper)("GET_POLICY_CERTIFICATE", tenant, [policyType, policyCode], params)
|
|
15
15
|
});
|
|
16
16
|
exports.policyAdapter = policyAdapter;
|
|
@@ -2058,9 +2058,6 @@ export namespace tenantsConfig {
|
|
|
2058
2058
|
export function requestMapper_62(request: any): {
|
|
2059
2059
|
mappedParams: any;
|
|
2060
2060
|
responseType: string;
|
|
2061
|
-
headers: {
|
|
2062
|
-
"Content-Type": string;
|
|
2063
|
-
};
|
|
2064
2061
|
};
|
|
2065
2062
|
export { requestMapper_62 as requestMapper };
|
|
2066
2063
|
export function responseMapper_62(response: any): any;
|