sysone-api-mapper 1.0.80 → 1.0.82
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
|
@@ -583,6 +583,33 @@ const quotationModule = {
|
|
|
583
583
|
}
|
|
584
584
|
},
|
|
585
585
|
|
|
586
|
+
GET_QUOTATION_REPORT: {
|
|
587
|
+
default: {
|
|
588
|
+
url: '{0}/v1/quotations/{1}/report',
|
|
589
|
+
method: methods.GET,
|
|
590
|
+
requestMapper: (request) => ({
|
|
591
|
+
mappedParams: request,
|
|
592
|
+
headers: {
|
|
593
|
+
"Content-Type": "application/pdf",
|
|
594
|
+
},
|
|
595
|
+
responseType: "arraybuffer"
|
|
596
|
+
}),
|
|
597
|
+
responseMapper: (response) => response
|
|
598
|
+
},
|
|
599
|
+
cnp: {
|
|
600
|
+
url: '/quotation/v1/quotations/{0}/report',
|
|
601
|
+
method: methods.GET,
|
|
602
|
+
requestMapper: (request) => ({
|
|
603
|
+
mappedParams: request,
|
|
604
|
+
headers: {
|
|
605
|
+
"Content-Type": "application/pdf",
|
|
606
|
+
},
|
|
607
|
+
responseType: "arraybuffer"
|
|
608
|
+
}),
|
|
609
|
+
responseMapper: (response) => response
|
|
610
|
+
}
|
|
611
|
+
},
|
|
612
|
+
|
|
586
613
|
POST_CREATE_QUOTATION_STANDARD_PLAN: {
|
|
587
614
|
default: {
|
|
588
615
|
url: 'quotation/v1/quotations',
|
|
@@ -707,6 +734,15 @@ const requestModule = {
|
|
|
707
734
|
}
|
|
708
735
|
},
|
|
709
736
|
|
|
737
|
+
POST_REQUEST_SIGNATURE: {
|
|
738
|
+
cnp: {
|
|
739
|
+
url: '/request/v1/request/savings/{0}/signature',
|
|
740
|
+
method: methods.POST,
|
|
741
|
+
requestMapper: (params) => ({ mappedBody: params }),
|
|
742
|
+
responseMapper: (response) => response,
|
|
743
|
+
}
|
|
744
|
+
},
|
|
745
|
+
|
|
710
746
|
POST_SEND_REQUEST: {
|
|
711
747
|
cnp: {
|
|
712
748
|
url: '/request/v1/request/savings',
|