@open-tender/types 0.0.7 → 0.0.8
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.
|
@@ -40,6 +40,8 @@ export interface ValidTime {
|
|
|
40
40
|
is_orderable: boolean;
|
|
41
41
|
minutes: number;
|
|
42
42
|
time: string;
|
|
43
|
+
interval: number;
|
|
44
|
+
times: ValidTimes | null;
|
|
43
45
|
}
|
|
44
46
|
export declare type ValidTimes = Array<ValidTime>;
|
|
45
47
|
export interface HolidayItem extends Hours {
|
|
@@ -81,7 +83,9 @@ export interface CustomerRevenueCenterSettings {
|
|
|
81
83
|
};
|
|
82
84
|
group_ordering: RevenueCenterGroupOrdering;
|
|
83
85
|
holidays: {
|
|
84
|
-
[key
|
|
86
|
+
[key: DateString]: {
|
|
87
|
+
[key in ServiceType]?: HolidayItem | null;
|
|
88
|
+
};
|
|
85
89
|
};
|
|
86
90
|
lead_time_in_hours: number;
|
|
87
91
|
order_maximum: {
|
|
@@ -36,4 +36,13 @@ export declare type TimezoneMap = {
|
|
|
36
36
|
[Property in TimezonePython]: Timezone;
|
|
37
37
|
};
|
|
38
38
|
export declare type RequestedAt = ISOString | 'asap';
|
|
39
|
+
export interface TimeInterval {
|
|
40
|
+
label: string;
|
|
41
|
+
value: Date;
|
|
42
|
+
}
|
|
43
|
+
export interface TimeObject {
|
|
44
|
+
name: string;
|
|
45
|
+
value: number;
|
|
46
|
+
disabled: boolean;
|
|
47
|
+
}
|
|
39
48
|
export {};
|
|
@@ -40,6 +40,8 @@ export interface ValidTime {
|
|
|
40
40
|
is_orderable: boolean;
|
|
41
41
|
minutes: number;
|
|
42
42
|
time: string;
|
|
43
|
+
interval: number;
|
|
44
|
+
times: ValidTimes | null;
|
|
43
45
|
}
|
|
44
46
|
export declare type ValidTimes = Array<ValidTime>;
|
|
45
47
|
export interface HolidayItem extends Hours {
|
|
@@ -81,7 +83,9 @@ export interface CustomerRevenueCenterSettings {
|
|
|
81
83
|
};
|
|
82
84
|
group_ordering: RevenueCenterGroupOrdering;
|
|
83
85
|
holidays: {
|
|
84
|
-
[key
|
|
86
|
+
[key: DateString]: {
|
|
87
|
+
[key in ServiceType]?: HolidayItem | null;
|
|
88
|
+
};
|
|
85
89
|
};
|
|
86
90
|
lead_time_in_hours: number;
|
|
87
91
|
order_maximum: {
|
|
@@ -36,4 +36,13 @@ export declare type TimezoneMap = {
|
|
|
36
36
|
[Property in TimezonePython]: Timezone;
|
|
37
37
|
};
|
|
38
38
|
export declare type RequestedAt = ISOString | 'asap';
|
|
39
|
+
export interface TimeInterval {
|
|
40
|
+
label: string;
|
|
41
|
+
value: Date;
|
|
42
|
+
}
|
|
43
|
+
export interface TimeObject {
|
|
44
|
+
name: string;
|
|
45
|
+
value: number;
|
|
46
|
+
disabled: boolean;
|
|
47
|
+
}
|
|
39
48
|
export {};
|
package/package.json
CHANGED