@or-sdk/billing 29.16.2-beta.10813.0 → 29.16.2
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/dist/cjs/api/vendorMappingApi/index.js +2 -8
- package/dist/cjs/api/vendorMappingApi/index.js.map +1 -1
- package/dist/esm/api/vendorMappingApi/index.js +2 -8
- package/dist/esm/api/vendorMappingApi/index.js.map +1 -1
- package/dist/types/api/vendorMappingApi/index.d.ts.map +1 -1
- package/dist/types/api/vendorMappingApi/types.d.ts +0 -2
- package/dist/types/api/vendorMappingApi/types.d.ts.map +1 -1
- package/dist/types/api/vendorsApi/types.d.ts +0 -1
- package/dist/types/api/vendorsApi/types.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/api/vendorMappingApi/index.ts +2 -8
- package/src/api/vendorMappingApi/types.ts +0 -2
- package/src/api/vendorsApi/types.ts +0 -1
|
@@ -66,10 +66,7 @@ var VendorMappingApi = (function (_super) {
|
|
|
66
66
|
case 0: return [4, this.apiCall({
|
|
67
67
|
method: 'POST',
|
|
68
68
|
route: "".concat(this.apiBasePath, "/").concat(createVendorMapping.customerId, "/vendors/").concat(createVendorMapping.vendorId),
|
|
69
|
-
data: {
|
|
70
|
-
vendorKeys: createVendorMapping.vendorKeys,
|
|
71
|
-
vendorKeyFriendlyNames: createVendorMapping.vendorKeyFriendlyNames,
|
|
72
|
-
},
|
|
69
|
+
data: { vendorKeys: createVendorMapping.vendorKeys },
|
|
73
70
|
})];
|
|
74
71
|
case 1: return [2, _a.sent()];
|
|
75
72
|
}
|
|
@@ -83,10 +80,7 @@ var VendorMappingApi = (function (_super) {
|
|
|
83
80
|
case 0: return [4, this.apiCall({
|
|
84
81
|
method: 'PUT',
|
|
85
82
|
route: "".concat(this.apiBasePath, "/").concat(updateVendorMapping.customerId, "/vendors/").concat(updateVendorMapping.vendorId),
|
|
86
|
-
data: {
|
|
87
|
-
vendorKeys: updateVendorMapping.vendorKeys,
|
|
88
|
-
vendorKeyFriendlyNames: updateVendorMapping.vendorKeyFriendlyNames,
|
|
89
|
-
},
|
|
83
|
+
data: { vendorKeys: updateVendorMapping.vendorKeys },
|
|
90
84
|
})];
|
|
91
85
|
case 1: return [2, _a.sent()];
|
|
92
86
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/vendorMappingApi/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sCAAqC;AAQrC;IAA8C,oCAAO;IAArD;;QACmB,iBAAW,GAAG,WAAW,CAAC;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/vendorMappingApi/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sCAAqC;AAQrC;IAA8C,oCAAO;IAArD;;QACmB,iBAAW,GAAG,WAAW,CAAC;;IA+C7C,CAAC;IA1Cc,wCAAa,GAA1B,UAA2B,mBAAwC;;;;4BAC1D,WAAM,IAAI,CAAC,OAAO,CAAC;4BACxB,MAAM,EAAE,MAAM;4BACd,KAAK,EAAE,UAAG,IAAI,CAAC,WAAW,cAAI,mBAAmB,CAAC,UAAU,sBAAY,mBAAmB,CAAC,QAAQ,CAAE;4BACtG,IAAI,EAAE,EAAE,UAAU,EAAE,mBAAmB,CAAC,UAAU,EAAE;yBACrD,CAAC,EAAA;4BAJF,WAAO,SAIL,EAAC;;;;KACJ;IAKY,wCAAa,GAA1B,UAA2B,mBAAqC;;;;4BACvD,WAAM,IAAI,CAAC,OAAO,CAAC;4BACxB,MAAM,EAAE,KAAK;4BACb,KAAK,EAAE,UAAG,IAAI,CAAC,WAAW,cAAI,mBAAmB,CAAC,UAAU,sBAAY,mBAAmB,CAAC,QAAQ,CAAE;4BACtG,IAAI,EAAE,EAAE,UAAU,EAAE,mBAAmB,CAAC,UAAU,EAAE;yBACrD,CAAC,EAAA;4BAJF,WAAO,SAIL,EAAC;;;;KACJ;IAKY,wCAAa,GAA1B,UAA2B,UAAkB,EAAE,QAAgB;;;;4BACtD,WAAM,IAAI,CAAC,OAAO,CAAC;4BACxB,MAAM,EAAE,QAAQ;4BAChB,KAAK,EAAE,UAAG,IAAI,CAAC,WAAW,cAAI,UAAU,sBAAY,QAAQ,CAAE;yBAC/D,CAAC,EAAA;4BAHF,WAAO,SAGL,EAAC;;;;KACJ;IAKY,iDAAsB,GAAnC,UACE,UAAkB,EAClB,MAAmB;;;;4BAEZ,WAAM,IAAI,CAAC,OAAO,CAAC;4BACxB,MAAM,EAAE,KAAK;4BACb,KAAK,EAAE,UAAG,IAAI,CAAC,WAAW,cAAI,UAAU,aAAU;4BAClD,MAAM,EAAE,MAAiC;yBAC1C,CAAC,EAAA;4BAJF,WAAO,SAIL,EAAC;;;;KACJ;IACH,uBAAC;AAAD,CAAC,AAhDD,CAA8C,iBAAO,GAgDpD"}
|
|
@@ -18,10 +18,7 @@ export default class VendorMappingApi extends BaseApi {
|
|
|
18
18
|
return yield this.apiCall({
|
|
19
19
|
method: 'POST',
|
|
20
20
|
route: `${this.apiBasePath}/${createVendorMapping.customerId}/vendors/${createVendorMapping.vendorId}`,
|
|
21
|
-
data: {
|
|
22
|
-
vendorKeys: createVendorMapping.vendorKeys,
|
|
23
|
-
vendorKeyFriendlyNames: createVendorMapping.vendorKeyFriendlyNames,
|
|
24
|
-
},
|
|
21
|
+
data: { vendorKeys: createVendorMapping.vendorKeys },
|
|
25
22
|
});
|
|
26
23
|
});
|
|
27
24
|
}
|
|
@@ -30,10 +27,7 @@ export default class VendorMappingApi extends BaseApi {
|
|
|
30
27
|
return yield this.apiCall({
|
|
31
28
|
method: 'PUT',
|
|
32
29
|
route: `${this.apiBasePath}/${updateVendorMapping.customerId}/vendors/${updateVendorMapping.vendorId}`,
|
|
33
|
-
data: {
|
|
34
|
-
vendorKeys: updateVendorMapping.vendorKeys,
|
|
35
|
-
vendorKeyFriendlyNames: updateVendorMapping.vendorKeyFriendlyNames,
|
|
36
|
-
},
|
|
30
|
+
data: { vendorKeys: updateVendorMapping.vendorKeys },
|
|
37
31
|
});
|
|
38
32
|
});
|
|
39
33
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/vendorMappingApi/index.ts"],"names":[],"mappings":";;;;;;;;;AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAQrC,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,OAAO;IAArD;;QACmB,gBAAW,GAAG,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/vendorMappingApi/index.ts"],"names":[],"mappings":";;;;;;;;;AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAQrC,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,OAAO;IAArD;;QACmB,gBAAW,GAAG,WAAW,CAAC;IA+C7C,CAAC;IA1Cc,aAAa,CAAC,mBAAwC;;YACjE,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC;gBACxB,MAAM,EAAE,MAAM;gBACd,KAAK,EAAE,GAAG,IAAI,CAAC,WAAW,IAAI,mBAAmB,CAAC,UAAU,YAAY,mBAAmB,CAAC,QAAQ,EAAE;gBACtG,IAAI,EAAE,EAAE,UAAU,EAAE,mBAAmB,CAAC,UAAU,EAAE;aACrD,CAAC,CAAC;QACL,CAAC;KAAA;IAKY,aAAa,CAAC,mBAAqC;;YAC9D,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC;gBACxB,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE,GAAG,IAAI,CAAC,WAAW,IAAI,mBAAmB,CAAC,UAAU,YAAY,mBAAmB,CAAC,QAAQ,EAAE;gBACtG,IAAI,EAAE,EAAE,UAAU,EAAE,mBAAmB,CAAC,UAAU,EAAE;aACrD,CAAC,CAAC;QACL,CAAC;KAAA;IAKY,aAAa,CAAC,UAAkB,EAAE,QAAgB;;YAC7D,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC;gBACxB,MAAM,EAAE,QAAQ;gBAChB,KAAK,EAAE,GAAG,IAAI,CAAC,WAAW,IAAI,UAAU,YAAY,QAAQ,EAAE;aAC/D,CAAC,CAAC;QACL,CAAC;KAAA;IAKY,sBAAsB,CACjC,UAAkB,EAClB,MAAmB;;YAEnB,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC;gBACxB,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE,GAAG,IAAI,CAAC,WAAW,IAAI,UAAU,UAAU;gBAClD,MAAM,EAAE,MAAiC;aAC1C,CAAC,CAAC;QACL,CAAC;KAAA;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/vendorMappingApi/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACnB,gCAAgC,EACjC,MAAM,SAAS,CAAC;AAEjB,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,OAAO;IACnD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAe;IAK9B,aAAa,CAAC,mBAAmB,EAAE,mBAAmB,GAAG,OAAO,CAAC,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/vendorMappingApi/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACnB,gCAAgC,EACjC,MAAM,SAAS,CAAC;AAEjB,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,OAAO;IACnD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAe;IAK9B,aAAa,CAAC,mBAAmB,EAAE,mBAAmB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAWlF,aAAa,CAAC,mBAAmB,EAAE,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAW/E,aAAa,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAUlE,sBAAsB,CACjC,UAAU,EAAE,MAAM,EAClB,MAAM,CAAC,EAAE,UAAU,GAClB,OAAO,CAAC,gCAAgC,CAAC;CAO7C"}
|
|
@@ -4,13 +4,11 @@ export interface VendorMappingDto {
|
|
|
4
4
|
customerId: string;
|
|
5
5
|
vendorId: string;
|
|
6
6
|
vendorKeys: string[];
|
|
7
|
-
vendorKeyFriendlyNames?: Record<string, string>;
|
|
8
7
|
}
|
|
9
8
|
export type CreateVendorMapping = {
|
|
10
9
|
customerId: string;
|
|
11
10
|
vendorId: string;
|
|
12
11
|
vendorKeys?: string[];
|
|
13
|
-
vendorKeyFriendlyNames?: Record<string, string>;
|
|
14
12
|
};
|
|
15
13
|
export type PaginatedCustomerVendorsResponse = ResponseDto<Customer>;
|
|
16
14
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/api/vendorMappingApi/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/api/vendorMappingApi/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG,WAAW,CAAC,QAAQ,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/api/vendorsApi/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;AACrD,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;AAErD,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,UAAU,CAAC;AAEf,MAAM,MAAM,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/api/vendorsApi/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;AACrD,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;AAErD,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,UAAU,CAAC;AAEf,MAAM,MAAM,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@or-sdk/billing",
|
|
3
|
-
"version": "29.16.2
|
|
3
|
+
"version": "29.16.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/types/index.d.ts",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@onereach/billing-dto": "^29.16.2
|
|
10
|
-
"@onereach/billing-shared": "^29.16.2
|
|
9
|
+
"@onereach/billing-dto": "^29.16.2",
|
|
10
|
+
"@onereach/billing-shared": "^29.16.2",
|
|
11
11
|
"@or-sdk/base": "^0.42.4",
|
|
12
12
|
"@or-sdk/discovery": "1.10.6",
|
|
13
13
|
"@types/qs": "6.14.0",
|
|
@@ -18,10 +18,7 @@ export default class VendorMappingApi extends BaseApi {
|
|
|
18
18
|
return await this.apiCall({
|
|
19
19
|
method: 'POST',
|
|
20
20
|
route: `${this.apiBasePath}/${createVendorMapping.customerId}/vendors/${createVendorMapping.vendorId}`,
|
|
21
|
-
data: {
|
|
22
|
-
vendorKeys: createVendorMapping.vendorKeys,
|
|
23
|
-
vendorKeyFriendlyNames: createVendorMapping.vendorKeyFriendlyNames,
|
|
24
|
-
},
|
|
21
|
+
data: { vendorKeys: createVendorMapping.vendorKeys },
|
|
25
22
|
});
|
|
26
23
|
}
|
|
27
24
|
|
|
@@ -32,10 +29,7 @@ export default class VendorMappingApi extends BaseApi {
|
|
|
32
29
|
return await this.apiCall({
|
|
33
30
|
method: 'PUT',
|
|
34
31
|
route: `${this.apiBasePath}/${updateVendorMapping.customerId}/vendors/${updateVendorMapping.vendorId}`,
|
|
35
|
-
data: {
|
|
36
|
-
vendorKeys: updateVendorMapping.vendorKeys,
|
|
37
|
-
vendorKeyFriendlyNames: updateVendorMapping.vendorKeyFriendlyNames,
|
|
38
|
-
},
|
|
32
|
+
data: { vendorKeys: updateVendorMapping.vendorKeys },
|
|
39
33
|
});
|
|
40
34
|
}
|
|
41
35
|
|
|
@@ -6,14 +6,12 @@ export interface VendorMappingDto {
|
|
|
6
6
|
customerId: string;
|
|
7
7
|
vendorId: string;
|
|
8
8
|
vendorKeys: string[];
|
|
9
|
-
vendorKeyFriendlyNames?: Record<string, string>;
|
|
10
9
|
}
|
|
11
10
|
|
|
12
11
|
export type CreateVendorMapping = {
|
|
13
12
|
customerId: string;
|
|
14
13
|
vendorId: string;
|
|
15
14
|
vendorKeys?: string[];
|
|
16
|
-
vendorKeyFriendlyNames?: Record<string, string>;
|
|
17
15
|
};
|
|
18
16
|
|
|
19
17
|
export type PaginatedCustomerVendorsResponse = ResponseDto<Customer>;
|