@arrowsphere/api-client 3.400.0 → 3.401.0-rc-cpe-1
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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ConversionRulesType } from '../../shared/preferredCurrency/conversionRules';
|
|
1
2
|
export declare type GetProductsType = {
|
|
2
3
|
getProducts?: PaginatedProductsType;
|
|
3
4
|
};
|
|
@@ -257,18 +258,20 @@ export declare enum PricesTypeKeys {
|
|
|
257
258
|
ARROW_KEY = "arrow",
|
|
258
259
|
PARTNER_KEY = "partner",
|
|
259
260
|
ENDCUSTOMER_KEY = "endCustomer",
|
|
260
|
-
RETAIL_KEY = "
|
|
261
|
-
VENDOR_PRICING_SOURCE_KEY = "vendorPricingSource"
|
|
261
|
+
RETAIL_KEY = "retail",
|
|
262
|
+
VENDOR_PRICING_SOURCE_KEY = "vendorPricingSource",
|
|
263
|
+
PREFERRED_CURRENCY = "preferredCurrency"
|
|
262
264
|
}
|
|
263
265
|
export declare type PricesType = {
|
|
264
266
|
[PricesTypeKeys.BUY_KEY]?: string;
|
|
265
267
|
[PricesTypeKeys.SELL_KEY]?: string;
|
|
266
268
|
[PricesTypeKeys.PUBLIC_KEY]?: string;
|
|
267
|
-
[PricesTypeKeys.ARROW_KEY]?:
|
|
268
|
-
[PricesTypeKeys.PARTNER_KEY]?:
|
|
269
|
-
[PricesTypeKeys.ENDCUSTOMER_KEY]?:
|
|
270
|
-
[PricesTypeKeys.RETAIL_KEY]?:
|
|
269
|
+
[PricesTypeKeys.ARROW_KEY]?: number;
|
|
270
|
+
[PricesTypeKeys.PARTNER_KEY]?: number;
|
|
271
|
+
[PricesTypeKeys.ENDCUSTOMER_KEY]?: number;
|
|
272
|
+
[PricesTypeKeys.RETAIL_KEY]?: number;
|
|
271
273
|
[PricesTypeKeys.VENDOR_PRICING_SOURCE_KEY]?: VendorPricingSourceType;
|
|
274
|
+
[PricesTypeKeys.PREFERRED_CURRENCY]?: PreferredCurrencyType;
|
|
272
275
|
};
|
|
273
276
|
export declare type PriceBandSaleConstraintsType = {
|
|
274
277
|
availableDate?: string;
|
|
@@ -300,6 +303,28 @@ export declare type VendorPricingSourceType = {
|
|
|
300
303
|
changeRate?: number;
|
|
301
304
|
prices?: PricesType;
|
|
302
305
|
};
|
|
306
|
+
export declare type PreferredCurrencyType = {
|
|
307
|
+
conversionRules: ConversionRulesType;
|
|
308
|
+
values: PreferredCurrencyValuesType;
|
|
309
|
+
};
|
|
310
|
+
export declare enum PreferredCurrencyValuesTypeKeys {
|
|
311
|
+
BUY_KEY = "buy",
|
|
312
|
+
SELL_KEY = "sell",
|
|
313
|
+
PUBLIC_KEY = "public",
|
|
314
|
+
ARROW_KEY = "arrow",
|
|
315
|
+
PARTNER_KEY = "partner",
|
|
316
|
+
ENDCUSTOMER_KEY = "endCustomer",
|
|
317
|
+
RETAIL_KEY = "retail"
|
|
318
|
+
}
|
|
319
|
+
export declare type PreferredCurrencyValuesType = {
|
|
320
|
+
[PreferredCurrencyValuesTypeKeys.BUY_KEY]?: string;
|
|
321
|
+
[PreferredCurrencyValuesTypeKeys.SELL_KEY]?: string;
|
|
322
|
+
[PreferredCurrencyValuesTypeKeys.PUBLIC_KEY]?: string;
|
|
323
|
+
[PreferredCurrencyValuesTypeKeys.ARROW_KEY]?: number;
|
|
324
|
+
[PreferredCurrencyValuesTypeKeys.PARTNER_KEY]?: number;
|
|
325
|
+
[PreferredCurrencyValuesTypeKeys.ENDCUSTOMER_KEY]?: number;
|
|
326
|
+
[PreferredCurrencyValuesTypeKeys.RETAIL_KEY]?: number;
|
|
327
|
+
};
|
|
303
328
|
export declare type PromotionPricesFull = Omit<PromotionType, 'billing'> & {
|
|
304
329
|
prices?: PricesType;
|
|
305
330
|
attributes?: Array<AttributeType>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Here are the types, they are useful to have exact types of the responses
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.AttributesParameterType = exports.PricesTypeKeys = void 0;
|
|
4
|
+
exports.AttributesParameterType = exports.PreferredCurrencyValuesTypeKeys = exports.PricesTypeKeys = void 0;
|
|
5
5
|
var PricesTypeKeys;
|
|
6
6
|
(function (PricesTypeKeys) {
|
|
7
7
|
PricesTypeKeys["BUY_KEY"] = "buy";
|
|
@@ -10,9 +10,20 @@ var PricesTypeKeys;
|
|
|
10
10
|
PricesTypeKeys["ARROW_KEY"] = "arrow";
|
|
11
11
|
PricesTypeKeys["PARTNER_KEY"] = "partner";
|
|
12
12
|
PricesTypeKeys["ENDCUSTOMER_KEY"] = "endCustomer";
|
|
13
|
-
PricesTypeKeys["RETAIL_KEY"] = "
|
|
13
|
+
PricesTypeKeys["RETAIL_KEY"] = "retail";
|
|
14
14
|
PricesTypeKeys["VENDOR_PRICING_SOURCE_KEY"] = "vendorPricingSource";
|
|
15
|
+
PricesTypeKeys["PREFERRED_CURRENCY"] = "preferredCurrency";
|
|
15
16
|
})(PricesTypeKeys = exports.PricesTypeKeys || (exports.PricesTypeKeys = {}));
|
|
17
|
+
var PreferredCurrencyValuesTypeKeys;
|
|
18
|
+
(function (PreferredCurrencyValuesTypeKeys) {
|
|
19
|
+
PreferredCurrencyValuesTypeKeys["BUY_KEY"] = "buy";
|
|
20
|
+
PreferredCurrencyValuesTypeKeys["SELL_KEY"] = "sell";
|
|
21
|
+
PreferredCurrencyValuesTypeKeys["PUBLIC_KEY"] = "public";
|
|
22
|
+
PreferredCurrencyValuesTypeKeys["ARROW_KEY"] = "arrow";
|
|
23
|
+
PreferredCurrencyValuesTypeKeys["PARTNER_KEY"] = "partner";
|
|
24
|
+
PreferredCurrencyValuesTypeKeys["ENDCUSTOMER_KEY"] = "endCustomer";
|
|
25
|
+
PreferredCurrencyValuesTypeKeys["RETAIL_KEY"] = "retail";
|
|
26
|
+
})(PreferredCurrencyValuesTypeKeys = exports.PreferredCurrencyValuesTypeKeys || (exports.PreferredCurrencyValuesTypeKeys = {}));
|
|
16
27
|
var AttributesParameterType;
|
|
17
28
|
(function (AttributesParameterType) {
|
|
18
29
|
AttributesParameterType["STANDARD"] = "STANDARD";
|
package/package.json
CHANGED