sysone-api-mapper 1.0.51 → 1.0.53
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
|
@@ -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
|
|
|
@@ -377,7 +377,8 @@ export const getQuotationByCode_Request = (inputParams) => {
|
|
|
377
377
|
|
|
378
378
|
export const getQuotations_Request = (inputParams) => {
|
|
379
379
|
return {
|
|
380
|
-
number: inputParams.quotationNumber
|
|
380
|
+
number: inputParams.quotationNumber,
|
|
381
|
+
...inputParams
|
|
381
382
|
}
|
|
382
383
|
}
|
|
383
384
|
|