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: (params: any, policyType: any, policyCode: any) => Promise<any>;
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: (params, policyType, policyCode) => (0, Mapper_1.apiMapper)("GET_POLICY_CERTIFICATE", tenant, [policyType, policyCode], params)
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;
@@ -736,9 +736,6 @@ const policyModule = {
736
736
  requestMapper: (request) => ({
737
737
  mappedParams: request,
738
738
  responseType: "arraybuffer",
739
- headers: {
740
- "Content-Type": "application/pdf",
741
- },
742
739
  }),
743
740
  responseMapper: (response) => response.data,
744
741
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sysone-api-mapper",
3
- "version": "1.0.169",
3
+ "version": "1.0.170",
4
4
  "description": "Paquete mapper para portal de productores",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",