sysone-api-mapper 1.0.150 → 1.0.151
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.
|
@@ -809,6 +809,19 @@ const requestModule = {
|
|
|
809
809
|
}
|
|
810
810
|
};
|
|
811
811
|
// ============================================================================
|
|
812
|
+
// finance module
|
|
813
|
+
// ============================================================================
|
|
814
|
+
const financeModule = {
|
|
815
|
+
GET_BANKS: {
|
|
816
|
+
default: {
|
|
817
|
+
url: 'finance/v1/banks',
|
|
818
|
+
method: exports.methods.GET,
|
|
819
|
+
requestMapper: (request) => ({ mappedParams: request }),
|
|
820
|
+
responseMapper: (response) => response.data,
|
|
821
|
+
},
|
|
822
|
+
},
|
|
823
|
+
};
|
|
824
|
+
// ============================================================================
|
|
812
825
|
// MAIN CONFIGURATION EXPORT
|
|
813
826
|
// ============================================================================
|
|
814
827
|
exports.tenantsConfig = {
|
|
@@ -821,4 +834,5 @@ exports.tenantsConfig = {
|
|
|
821
834
|
...quotationModule,
|
|
822
835
|
...requestModule,
|
|
823
836
|
...billingModule,
|
|
837
|
+
...financeModule
|
|
824
838
|
};
|