shopoflex-types 1.0.169 → 1.0.172
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/common.d.ts +11 -2
- package/package.json +1 -1
package/dist/common.d.ts
CHANGED
|
@@ -316,6 +316,15 @@ export type VendorUserInvitation = {
|
|
|
316
316
|
role: string;
|
|
317
317
|
status: "pending";
|
|
318
318
|
};
|
|
319
|
+
type CurrencyInfo = {
|
|
320
|
+
active: boolean;
|
|
321
|
+
rate: number;
|
|
322
|
+
symbol: string;
|
|
323
|
+
locked: boolean;
|
|
324
|
+
};
|
|
325
|
+
type Currencies = {
|
|
326
|
+
[currencyCode: string]: CurrencyInfo;
|
|
327
|
+
};
|
|
319
328
|
export interface Vendor {
|
|
320
329
|
_id?: string;
|
|
321
330
|
industry?: string;
|
|
@@ -335,7 +344,7 @@ export interface Vendor {
|
|
|
335
344
|
textColor: string;
|
|
336
345
|
bgColor: string;
|
|
337
346
|
};
|
|
338
|
-
currencies:
|
|
347
|
+
currencies: Currencies;
|
|
339
348
|
expiryDate: string;
|
|
340
349
|
numberOfDecimals: number;
|
|
341
350
|
email: string;
|
|
@@ -375,7 +384,7 @@ export interface Vendor {
|
|
|
375
384
|
pixelsOptions?: PixelsOptions;
|
|
376
385
|
taxManagement?: TaxManagement;
|
|
377
386
|
currentPlan?: {
|
|
378
|
-
|
|
387
|
+
planDiscount?: any;
|
|
379
388
|
planId?: IPlanPackage;
|
|
380
389
|
startDate?: Date | number;
|
|
381
390
|
endDate?: Date | number;
|