@open-tender/types 0.2.27 → 0.2.28
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/types/api/config.d.ts +21 -17
- package/dist/esm/types/api/config.d.ts +21 -17
- package/package.json +1 -1
|
@@ -319,7 +319,7 @@ export interface ConfigContent {
|
|
|
319
319
|
};
|
|
320
320
|
};
|
|
321
321
|
}
|
|
322
|
-
export interface
|
|
322
|
+
export interface ConfigSettingsCheckoutOrderType {
|
|
323
323
|
address_company: string | null;
|
|
324
324
|
address_contact: string | null;
|
|
325
325
|
address_phone: string | null;
|
|
@@ -408,25 +408,29 @@ export interface ConfigRecaptcha {
|
|
|
408
408
|
donations: boolean;
|
|
409
409
|
giftCards: boolean;
|
|
410
410
|
}
|
|
411
|
-
export
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
[keys in OrderType]: {
|
|
415
|
-
[keys in ServiceType]?: boolean;
|
|
416
|
-
};
|
|
417
|
-
};
|
|
418
|
-
checkout: {
|
|
419
|
-
orderTypes: {
|
|
420
|
-
[keys in OrderType]: ConfigSettingsCheckout;
|
|
421
|
-
};
|
|
411
|
+
export declare type ConfigSettingsAutoselect = {
|
|
412
|
+
[keys in OrderType]: {
|
|
413
|
+
[keys in ServiceType]?: boolean;
|
|
422
414
|
};
|
|
423
|
-
|
|
424
|
-
|
|
415
|
+
};
|
|
416
|
+
export declare type ConfigSettingsCheckout = {
|
|
417
|
+
orderTypes: {
|
|
418
|
+
[keys in OrderType]: ConfigSettingsCheckoutOrderType;
|
|
425
419
|
};
|
|
420
|
+
};
|
|
421
|
+
export declare type ConfigSettingsDisplaySettings = {
|
|
422
|
+
[keys in OrderType]: ConfigDisplaySetting;
|
|
423
|
+
};
|
|
424
|
+
export declare type ConfigSettingsLocationName = {
|
|
425
|
+
[keys in ServiceType | 'OUTPOST']: string[];
|
|
426
|
+
};
|
|
427
|
+
export interface ConfigSettings {
|
|
428
|
+
accountSections: string[];
|
|
429
|
+
autoSelect: ConfigSettingsAutoselect;
|
|
430
|
+
checkout: ConfigSettingsCheckout;
|
|
431
|
+
displaySettings: ConfigSettingsDisplaySettings;
|
|
426
432
|
googleMaps: GoogleMaps;
|
|
427
|
-
locationName:
|
|
428
|
-
[keys in ServiceType | 'OUTPOST']: string[];
|
|
429
|
-
};
|
|
433
|
+
locationName: ConfigSettingsLocationName;
|
|
430
434
|
maxDistance: number;
|
|
431
435
|
orderTypes: ConfigOrderTypes[];
|
|
432
436
|
recaptcha: ConfigRecaptcha;
|
|
@@ -319,7 +319,7 @@ export interface ConfigContent {
|
|
|
319
319
|
};
|
|
320
320
|
};
|
|
321
321
|
}
|
|
322
|
-
export interface
|
|
322
|
+
export interface ConfigSettingsCheckoutOrderType {
|
|
323
323
|
address_company: string | null;
|
|
324
324
|
address_contact: string | null;
|
|
325
325
|
address_phone: string | null;
|
|
@@ -408,25 +408,29 @@ export interface ConfigRecaptcha {
|
|
|
408
408
|
donations: boolean;
|
|
409
409
|
giftCards: boolean;
|
|
410
410
|
}
|
|
411
|
-
export
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
[keys in OrderType]: {
|
|
415
|
-
[keys in ServiceType]?: boolean;
|
|
416
|
-
};
|
|
417
|
-
};
|
|
418
|
-
checkout: {
|
|
419
|
-
orderTypes: {
|
|
420
|
-
[keys in OrderType]: ConfigSettingsCheckout;
|
|
421
|
-
};
|
|
411
|
+
export declare type ConfigSettingsAutoselect = {
|
|
412
|
+
[keys in OrderType]: {
|
|
413
|
+
[keys in ServiceType]?: boolean;
|
|
422
414
|
};
|
|
423
|
-
|
|
424
|
-
|
|
415
|
+
};
|
|
416
|
+
export declare type ConfigSettingsCheckout = {
|
|
417
|
+
orderTypes: {
|
|
418
|
+
[keys in OrderType]: ConfigSettingsCheckoutOrderType;
|
|
425
419
|
};
|
|
420
|
+
};
|
|
421
|
+
export declare type ConfigSettingsDisplaySettings = {
|
|
422
|
+
[keys in OrderType]: ConfigDisplaySetting;
|
|
423
|
+
};
|
|
424
|
+
export declare type ConfigSettingsLocationName = {
|
|
425
|
+
[keys in ServiceType | 'OUTPOST']: string[];
|
|
426
|
+
};
|
|
427
|
+
export interface ConfigSettings {
|
|
428
|
+
accountSections: string[];
|
|
429
|
+
autoSelect: ConfigSettingsAutoselect;
|
|
430
|
+
checkout: ConfigSettingsCheckout;
|
|
431
|
+
displaySettings: ConfigSettingsDisplaySettings;
|
|
426
432
|
googleMaps: GoogleMaps;
|
|
427
|
-
locationName:
|
|
428
|
-
[keys in ServiceType | 'OUTPOST']: string[];
|
|
429
|
-
};
|
|
433
|
+
locationName: ConfigSettingsLocationName;
|
|
430
434
|
maxDistance: number;
|
|
431
435
|
orderTypes: ConfigOrderTypes[];
|
|
432
436
|
recaptcha: ConfigRecaptcha;
|
package/package.json
CHANGED