sysone-api-mapper 1.0.50 → 1.0.52
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/package.json
CHANGED
|
@@ -3,7 +3,7 @@ import { getClaims_CNP } from "./modules/claim";
|
|
|
3
3
|
import { getModules, getModules_Request } from "./modules/general";
|
|
4
4
|
import { getCountries, getGenders, getIdentificationTypes, getMaritalStatuses, getProductsBySubsections_Request, getProvinces } from "./modules/party";
|
|
5
5
|
import { getEndorsements_CNP, getEndorsements_Request, getInsureds_CNP, getInsureds_CNP_Request, getPolicies_CNP, getPolicies_CNP_Request, getPolicyCollectiveDetail_CNP, getPolicyCollectiveDetail_Request, getPolicyDetail_CNP, getPolicyIndividualDetail_Request, postInsureds_CNP } from "./modules/policy";
|
|
6
|
-
import { getActivityList, getPaymentFrecuencies, getProductsBySubsections, getQuotationByCode, getQuotationByCode_Request, getQuotations_Request, getQuotationsList, quotationStandardPlanCreationMapped, quotationVariablePlanCreationMapped } from "./modules/quotation";
|
|
6
|
+
import { getActivityList, getPaymentFrecuencies, getProductsBySubsections, getQuotationByCode, getQuotationByCode_Request, getQuotationDetail, getQuotations_Request, getQuotationsList, quotationStandardPlanCreationMapped, quotationVariablePlanCreationMapped } from "./modules/quotation";
|
|
7
7
|
|
|
8
8
|
export const methods = {
|
|
9
9
|
GET: "GET",
|
|
@@ -490,6 +490,15 @@ export const tenantsConfig = {
|
|
|
490
490
|
}
|
|
491
491
|
},
|
|
492
492
|
|
|
493
|
+
POST_CREATE_QUOTATION_LS: {
|
|
494
|
+
cnp: {
|
|
495
|
+
url: 'quotation/v1/quotations',
|
|
496
|
+
method: methods.POST,
|
|
497
|
+
requestMapper: (params) => ({ mappedBody: params }),
|
|
498
|
+
responseMapper: (response) => response,
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
|
|
493
502
|
//------------- PUT ------------------------------
|
|
494
503
|
CREATE_INSURED: {
|
|
495
504
|
|