sysone-api-mapper 1.0.178 → 1.0.179
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.
|
@@ -2139,6 +2139,10 @@ export namespace tenantsConfig {
|
|
|
2139
2139
|
export { source_30 as source };
|
|
2140
2140
|
export function requestMapper_67(request: any): {
|
|
2141
2141
|
mappedParams: any;
|
|
2142
|
+
headers: {
|
|
2143
|
+
'X-Channel': string;
|
|
2144
|
+
'X-Subchannel': string;
|
|
2145
|
+
};
|
|
2142
2146
|
};
|
|
2143
2147
|
export { requestMapper_67 as requestMapper };
|
|
2144
2148
|
export function responseMapper_67(response: any): any;
|
|
@@ -524,7 +524,13 @@ const productModule = {
|
|
|
524
524
|
url: 'product/v1/products',
|
|
525
525
|
method: exports.methods.GET,
|
|
526
526
|
source: 'https://apidoc.sysone.com/product/v1/open-api.html#/paths/~1v1~1products/get',
|
|
527
|
-
requestMapper: (request) => ({
|
|
527
|
+
requestMapper: (request) => ({
|
|
528
|
+
mappedParams: request,
|
|
529
|
+
headers: {
|
|
530
|
+
'X-Channel': 'L-ONE',
|
|
531
|
+
'X-Subchannel': 'WEB'
|
|
532
|
+
}
|
|
533
|
+
}),
|
|
528
534
|
responseMapper: (response) => response.data,
|
|
529
535
|
},
|
|
530
536
|
cnp: {
|