@firfi/voila-sdk 0.1.0
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/LICENSE +21 -0
- package/README.md +165 -0
- package/dist/src/domain/cart.d.ts +10 -0
- package/dist/src/domain/cart.d.ts.map +1 -0
- package/dist/src/domain/cart.js +14 -0
- package/dist/src/domain/cart.js.map +1 -0
- package/dist/src/domain/checkout-readiness.d.ts +3 -0
- package/dist/src/domain/checkout-readiness.d.ts.map +1 -0
- package/dist/src/domain/checkout-readiness.js +18 -0
- package/dist/src/domain/checkout-readiness.js.map +1 -0
- package/dist/src/domain/parse.d.ts +5 -0
- package/dist/src/domain/parse.d.ts.map +1 -0
- package/dist/src/domain/parse.js +11 -0
- package/dist/src/domain/parse.js.map +1 -0
- package/dist/src/domain/schemas/auth.d.ts +123 -0
- package/dist/src/domain/schemas/auth.d.ts.map +1 -0
- package/dist/src/domain/schemas/auth.js +36 -0
- package/dist/src/domain/schemas/auth.js.map +1 -0
- package/dist/src/domain/schemas/cart.d.ts +1224 -0
- package/dist/src/domain/schemas/cart.d.ts.map +1 -0
- package/dist/src/domain/schemas/cart.js +123 -0
- package/dist/src/domain/schemas/cart.js.map +1 -0
- package/dist/src/domain/schemas/category-page.d.ts +187 -0
- package/dist/src/domain/schemas/category-page.d.ts.map +1 -0
- package/dist/src/domain/schemas/category-page.js +43 -0
- package/dist/src/domain/schemas/category-page.js.map +1 -0
- package/dist/src/domain/schemas/category.d.ts +25 -0
- package/dist/src/domain/schemas/category.d.ts.map +1 -0
- package/dist/src/domain/schemas/category.js +30 -0
- package/dist/src/domain/schemas/category.js.map +1 -0
- package/dist/src/domain/schemas/checkout-summary.d.ts +1035 -0
- package/dist/src/domain/schemas/checkout-summary.d.ts.map +1 -0
- package/dist/src/domain/schemas/checkout-summary.js +103 -0
- package/dist/src/domain/schemas/checkout-summary.js.map +1 -0
- package/dist/src/domain/schemas/delivery-destination.d.ts +176 -0
- package/dist/src/domain/schemas/delivery-destination.d.ts.map +1 -0
- package/dist/src/domain/schemas/delivery-destination.js +52 -0
- package/dist/src/domain/schemas/delivery-destination.js.map +1 -0
- package/dist/src/domain/schemas/index.d.ts +13 -0
- package/dist/src/domain/schemas/index.d.ts.map +1 -0
- package/dist/src/domain/schemas/index.js +13 -0
- package/dist/src/domain/schemas/index.js.map +1 -0
- package/dist/src/domain/schemas/money.d.ts +18 -0
- package/dist/src/domain/schemas/money.d.ts.map +1 -0
- package/dist/src/domain/schemas/money.js +11 -0
- package/dist/src/domain/schemas/money.js.map +1 -0
- package/dist/src/domain/schemas/product.d.ts +230 -0
- package/dist/src/domain/schemas/product.d.ts.map +1 -0
- package/dist/src/domain/schemas/product.js +32 -0
- package/dist/src/domain/schemas/product.js.map +1 -0
- package/dist/src/domain/schemas/proposition.d.ts +746 -0
- package/dist/src/domain/schemas/proposition.d.ts.map +1 -0
- package/dist/src/domain/schemas/proposition.js +110 -0
- package/dist/src/domain/schemas/proposition.js.map +1 -0
- package/dist/src/domain/schemas/search.d.ts +31 -0
- package/dist/src/domain/schemas/search.d.ts.map +1 -0
- package/dist/src/domain/schemas/search.js +16 -0
- package/dist/src/domain/schemas/search.js.map +1 -0
- package/dist/src/domain/schemas/session.d.ts +1341 -0
- package/dist/src/domain/schemas/session.d.ts.map +1 -0
- package/dist/src/domain/schemas/session.js +140 -0
- package/dist/src/domain/schemas/session.js.map +1 -0
- package/dist/src/domain/schemas/slot.d.ts +844 -0
- package/dist/src/domain/schemas/slot.d.ts.map +1 -0
- package/dist/src/domain/schemas/slot.js +130 -0
- package/dist/src/domain/schemas/slot.js.map +1 -0
- package/dist/src/index.d.ts +26 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +26 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/voila/browser-login-adapter.d.ts +108 -0
- package/dist/src/voila/browser-login-adapter.d.ts.map +1 -0
- package/dist/src/voila/browser-login-adapter.js +128 -0
- package/dist/src/voila/browser-login-adapter.js.map +1 -0
- package/dist/src/voila/browser-login.d.ts +32 -0
- package/dist/src/voila/browser-login.d.ts.map +1 -0
- package/dist/src/voila/browser-login.js +86 -0
- package/dist/src/voila/browser-login.js.map +1 -0
- package/dist/src/voila/cart-mutation.d.ts +23 -0
- package/dist/src/voila/cart-mutation.d.ts.map +1 -0
- package/dist/src/voila/cart-mutation.js +52 -0
- package/dist/src/voila/cart-mutation.js.map +1 -0
- package/dist/src/voila/cart-view.d.ts +14 -0
- package/dist/src/voila/cart-view.d.ts.map +1 -0
- package/dist/src/voila/cart-view.js +45 -0
- package/dist/src/voila/cart-view.js.map +1 -0
- package/dist/src/voila/catalog-search.d.ts +27 -0
- package/dist/src/voila/catalog-search.d.ts.map +1 -0
- package/dist/src/voila/catalog-search.js +40 -0
- package/dist/src/voila/catalog-search.js.map +1 -0
- package/dist/src/voila/categories.d.ts +4 -0
- package/dist/src/voila/categories.d.ts.map +1 -0
- package/dist/src/voila/categories.js +22 -0
- package/dist/src/voila/categories.js.map +1 -0
- package/dist/src/voila/category-products.d.ts +22 -0
- package/dist/src/voila/category-products.d.ts.map +1 -0
- package/dist/src/voila/category-products.js +32 -0
- package/dist/src/voila/category-products.js.map +1 -0
- package/dist/src/voila/checkout-summary.d.ts +15 -0
- package/dist/src/voila/checkout-summary.d.ts.map +1 -0
- package/dist/src/voila/checkout-summary.js +93 -0
- package/dist/src/voila/checkout-summary.js.map +1 -0
- package/dist/src/voila/checkout-urls.d.ts +11 -0
- package/dist/src/voila/checkout-urls.d.ts.map +1 -0
- package/dist/src/voila/checkout-urls.js +23 -0
- package/dist/src/voila/checkout-urls.js.map +1 -0
- package/dist/src/voila/delivery-destinations.d.ts +22 -0
- package/dist/src/voila/delivery-destinations.d.ts.map +1 -0
- package/dist/src/voila/delivery-destinations.js +70 -0
- package/dist/src/voila/delivery-destinations.js.map +1 -0
- package/dist/src/voila/guest-bootstrap.d.ts +40 -0
- package/dist/src/voila/guest-bootstrap.d.ts.map +1 -0
- package/dist/src/voila/guest-bootstrap.js +108 -0
- package/dist/src/voila/guest-bootstrap.js.map +1 -0
- package/dist/src/voila/headers.d.ts +5 -0
- package/dist/src/voila/headers.d.ts.map +1 -0
- package/dist/src/voila/headers.js +20 -0
- package/dist/src/voila/headers.js.map +1 -0
- package/dist/src/voila/http-client.d.ts +60 -0
- package/dist/src/voila/http-client.d.ts.map +1 -0
- package/dist/src/voila/http-client.js +124 -0
- package/dist/src/voila/http-client.js.map +1 -0
- package/dist/src/voila/initial-state.d.ts +19 -0
- package/dist/src/voila/initial-state.d.ts.map +1 -0
- package/dist/src/voila/initial-state.js +117 -0
- package/dist/src/voila/initial-state.js.map +1 -0
- package/dist/src/voila/session-health.d.ts +10 -0
- package/dist/src/voila/session-health.d.ts.map +1 -0
- package/dist/src/voila/session-health.js +176 -0
- package/dist/src/voila/session-health.js.map +1 -0
- package/dist/src/voila/session-snapshot.d.ts +41 -0
- package/dist/src/voila/session-snapshot.d.ts.map +1 -0
- package/dist/src/voila/session-snapshot.js +101 -0
- package/dist/src/voila/session-snapshot.js.map +1 -0
- package/dist/src/voila/session-storage.d.ts +22 -0
- package/dist/src/voila/session-storage.d.ts.map +1 -0
- package/dist/src/voila/session-storage.js +54 -0
- package/dist/src/voila/session-storage.js.map +1 -0
- package/dist/src/voila/shopping-context.d.ts +33 -0
- package/dist/src/voila/shopping-context.d.ts.map +1 -0
- package/dist/src/voila/shopping-context.js +159 -0
- package/dist/src/voila/shopping-context.js.map +1 -0
- package/dist/src/voila/slot-urls.d.ts +22 -0
- package/dist/src/voila/slot-urls.d.ts.map +1 -0
- package/dist/src/voila/slot-urls.js +51 -0
- package/dist/src/voila/slot-urls.js.map +1 -0
- package/dist/src/voila/slots.d.ts +41 -0
- package/dist/src/voila/slots.d.ts.map +1 -0
- package/dist/src/voila/slots.js +137 -0
- package/dist/src/voila/slots.js.map +1 -0
- package/dist/src/voila/urls.d.ts +114 -0
- package/dist/src/voila/urls.d.ts.map +1 -0
- package/dist/src/voila/urls.js +197 -0
- package/dist/src/voila/urls.js.map +1 -0
- package/package.json +66 -0
|
@@ -0,0 +1,844 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
export declare const SlotDisplayConfigurationSchema: Schema.Literal<["CARRIER", "DELIVERY_METHOD"]>;
|
|
3
|
+
export type SlotDisplayConfiguration = Schema.Schema.Type<typeof SlotDisplayConfigurationSchema>;
|
|
4
|
+
export declare const SlotListingInputSchema: Schema.Struct<{
|
|
5
|
+
deliveryDestinationId: Schema.filter<Schema.filter<typeof Schema.String>>;
|
|
6
|
+
displayConfiguration: Schema.optionalWith<Schema.Literal<["CARRIER", "DELIVERY_METHOD"]>, {
|
|
7
|
+
default: () => "DELIVERY_METHOD";
|
|
8
|
+
}>;
|
|
9
|
+
numberOfDays: Schema.optionalWith<Schema.filter<Schema.filter<Schema.filter<typeof Schema.Number>>>, {
|
|
10
|
+
exact: true;
|
|
11
|
+
}>;
|
|
12
|
+
pageViewId: Schema.optionalWith<Schema.filter<Schema.filter<typeof Schema.String>>, {
|
|
13
|
+
exact: true;
|
|
14
|
+
}>;
|
|
15
|
+
regionId: Schema.filter<Schema.filter<typeof Schema.String>>;
|
|
16
|
+
sessionId: Schema.optionalWith<Schema.filter<Schema.filter<typeof Schema.String>>, {
|
|
17
|
+
exact: true;
|
|
18
|
+
}>;
|
|
19
|
+
shippingGroupType: Schema.filter<Schema.filter<typeof Schema.String>>;
|
|
20
|
+
viewingLocation: Schema.optionalWith<Schema.filter<Schema.filter<typeof Schema.String>>, {
|
|
21
|
+
exact: true;
|
|
22
|
+
}>;
|
|
23
|
+
}>;
|
|
24
|
+
export type SlotListingInput = Schema.Schema.Type<typeof SlotListingInputSchema>;
|
|
25
|
+
export declare const SlotWindowSchema: Schema.Schema<{
|
|
26
|
+
readonly endTime: string;
|
|
27
|
+
readonly startTime: string;
|
|
28
|
+
} & {
|
|
29
|
+
readonly [x: string]: unknown;
|
|
30
|
+
}, {
|
|
31
|
+
readonly endTime: string;
|
|
32
|
+
readonly startTime: string;
|
|
33
|
+
} & {
|
|
34
|
+
readonly [x: string]: unknown;
|
|
35
|
+
}, never>;
|
|
36
|
+
export type SlotWindow = Schema.Schema.Type<typeof SlotWindowSchema>;
|
|
37
|
+
export declare const OnDemandSlotPropertiesSchema: Schema.Schema<{
|
|
38
|
+
readonly collectionTimeInMinutes?: number;
|
|
39
|
+
readonly deliveryTimeInMinutes?: number;
|
|
40
|
+
} & {
|
|
41
|
+
readonly [x: string]: unknown;
|
|
42
|
+
}, {
|
|
43
|
+
readonly collectionTimeInMinutes?: number;
|
|
44
|
+
readonly deliveryTimeInMinutes?: number;
|
|
45
|
+
} & {
|
|
46
|
+
readonly [x: string]: unknown;
|
|
47
|
+
}, never>;
|
|
48
|
+
export type OnDemandSlotProperties = Schema.Schema.Type<typeof OnDemandSlotPropertiesSchema>;
|
|
49
|
+
export declare const RawSlotSchema: Schema.Schema<{
|
|
50
|
+
readonly type?: string;
|
|
51
|
+
readonly slotId?: string;
|
|
52
|
+
readonly timeZoneId?: string;
|
|
53
|
+
readonly attributes?: readonly string[];
|
|
54
|
+
readonly deliveryPrice?: {
|
|
55
|
+
readonly amount: string;
|
|
56
|
+
readonly currency: string;
|
|
57
|
+
};
|
|
58
|
+
readonly onDemandProperties?: {
|
|
59
|
+
readonly collectionTimeInMinutes?: number;
|
|
60
|
+
readonly deliveryTimeInMinutes?: number;
|
|
61
|
+
} & {
|
|
62
|
+
readonly [x: string]: unknown;
|
|
63
|
+
};
|
|
64
|
+
readonly slotWindow?: {
|
|
65
|
+
readonly endTime: string;
|
|
66
|
+
readonly startTime: string;
|
|
67
|
+
} & {
|
|
68
|
+
readonly [x: string]: unknown;
|
|
69
|
+
};
|
|
70
|
+
readonly title?: string;
|
|
71
|
+
} & {
|
|
72
|
+
readonly [x: string]: unknown;
|
|
73
|
+
}, {
|
|
74
|
+
readonly type?: string;
|
|
75
|
+
readonly slotId?: string;
|
|
76
|
+
readonly timeZoneId?: string;
|
|
77
|
+
readonly attributes?: readonly string[];
|
|
78
|
+
readonly deliveryPrice?: {
|
|
79
|
+
readonly amount: string;
|
|
80
|
+
readonly currency: string;
|
|
81
|
+
};
|
|
82
|
+
readonly onDemandProperties?: {
|
|
83
|
+
readonly collectionTimeInMinutes?: number;
|
|
84
|
+
readonly deliveryTimeInMinutes?: number;
|
|
85
|
+
} & {
|
|
86
|
+
readonly [x: string]: unknown;
|
|
87
|
+
};
|
|
88
|
+
readonly slotWindow?: {
|
|
89
|
+
readonly endTime: string;
|
|
90
|
+
readonly startTime: string;
|
|
91
|
+
} & {
|
|
92
|
+
readonly [x: string]: unknown;
|
|
93
|
+
};
|
|
94
|
+
readonly title?: string;
|
|
95
|
+
} & {
|
|
96
|
+
readonly [x: string]: unknown;
|
|
97
|
+
}, never>;
|
|
98
|
+
export type RawSlot = Schema.Schema.Type<typeof RawSlotSchema>;
|
|
99
|
+
export declare const RawSlotGridDaySchema: Schema.Schema<{
|
|
100
|
+
readonly day: string;
|
|
101
|
+
readonly slots: readonly ({
|
|
102
|
+
readonly type?: string;
|
|
103
|
+
readonly slotId?: string;
|
|
104
|
+
readonly timeZoneId?: string;
|
|
105
|
+
readonly attributes?: readonly string[];
|
|
106
|
+
readonly deliveryPrice?: {
|
|
107
|
+
readonly amount: string;
|
|
108
|
+
readonly currency: string;
|
|
109
|
+
};
|
|
110
|
+
readonly onDemandProperties?: {
|
|
111
|
+
readonly collectionTimeInMinutes?: number;
|
|
112
|
+
readonly deliveryTimeInMinutes?: number;
|
|
113
|
+
} & {
|
|
114
|
+
readonly [x: string]: unknown;
|
|
115
|
+
};
|
|
116
|
+
readonly slotWindow?: {
|
|
117
|
+
readonly endTime: string;
|
|
118
|
+
readonly startTime: string;
|
|
119
|
+
} & {
|
|
120
|
+
readonly [x: string]: unknown;
|
|
121
|
+
};
|
|
122
|
+
readonly title?: string;
|
|
123
|
+
} & {
|
|
124
|
+
readonly [x: string]: unknown;
|
|
125
|
+
})[];
|
|
126
|
+
} & {
|
|
127
|
+
readonly [x: string]: unknown;
|
|
128
|
+
}, {
|
|
129
|
+
readonly day: string;
|
|
130
|
+
readonly slots: readonly ({
|
|
131
|
+
readonly type?: string;
|
|
132
|
+
readonly slotId?: string;
|
|
133
|
+
readonly timeZoneId?: string;
|
|
134
|
+
readonly attributes?: readonly string[];
|
|
135
|
+
readonly deliveryPrice?: {
|
|
136
|
+
readonly amount: string;
|
|
137
|
+
readonly currency: string;
|
|
138
|
+
};
|
|
139
|
+
readonly onDemandProperties?: {
|
|
140
|
+
readonly collectionTimeInMinutes?: number;
|
|
141
|
+
readonly deliveryTimeInMinutes?: number;
|
|
142
|
+
} & {
|
|
143
|
+
readonly [x: string]: unknown;
|
|
144
|
+
};
|
|
145
|
+
readonly slotWindow?: {
|
|
146
|
+
readonly endTime: string;
|
|
147
|
+
readonly startTime: string;
|
|
148
|
+
} & {
|
|
149
|
+
readonly [x: string]: unknown;
|
|
150
|
+
};
|
|
151
|
+
readonly title?: string;
|
|
152
|
+
} & {
|
|
153
|
+
readonly [x: string]: unknown;
|
|
154
|
+
})[];
|
|
155
|
+
} & {
|
|
156
|
+
readonly [x: string]: unknown;
|
|
157
|
+
}, never>;
|
|
158
|
+
export type RawSlotGridDay = Schema.Schema.Type<typeof RawSlotGridDaySchema>;
|
|
159
|
+
export declare const RawSlotDayMappingSchema: Schema.Schema<{
|
|
160
|
+
readonly day: string;
|
|
161
|
+
readonly slotIds?: readonly string[];
|
|
162
|
+
readonly slotListingId?: string;
|
|
163
|
+
} & {
|
|
164
|
+
readonly [x: string]: unknown;
|
|
165
|
+
}, {
|
|
166
|
+
readonly day: string;
|
|
167
|
+
readonly slotIds?: readonly string[];
|
|
168
|
+
readonly slotListingId?: string;
|
|
169
|
+
} & {
|
|
170
|
+
readonly [x: string]: unknown;
|
|
171
|
+
}, never>;
|
|
172
|
+
export type RawSlotDayMapping = Schema.Schema.Type<typeof RawSlotDayMappingSchema>;
|
|
173
|
+
export declare const RawSlotCarrierSchema: Schema.Schema<{
|
|
174
|
+
readonly title?: string;
|
|
175
|
+
readonly carrierDetails?: readonly unknown[];
|
|
176
|
+
readonly carrierId?: string;
|
|
177
|
+
readonly carrierName?: string;
|
|
178
|
+
readonly daysMapping?: readonly ({
|
|
179
|
+
readonly day: string;
|
|
180
|
+
readonly slotIds?: readonly string[];
|
|
181
|
+
readonly slotListingId?: string;
|
|
182
|
+
} & {
|
|
183
|
+
readonly [x: string]: unknown;
|
|
184
|
+
})[];
|
|
185
|
+
readonly featuredSlots?: readonly ({
|
|
186
|
+
readonly type?: string;
|
|
187
|
+
readonly slotId?: string;
|
|
188
|
+
readonly timeZoneId?: string;
|
|
189
|
+
readonly attributes?: readonly string[];
|
|
190
|
+
readonly deliveryPrice?: {
|
|
191
|
+
readonly amount: string;
|
|
192
|
+
readonly currency: string;
|
|
193
|
+
};
|
|
194
|
+
readonly onDemandProperties?: {
|
|
195
|
+
readonly collectionTimeInMinutes?: number;
|
|
196
|
+
readonly deliveryTimeInMinutes?: number;
|
|
197
|
+
} & {
|
|
198
|
+
readonly [x: string]: unknown;
|
|
199
|
+
};
|
|
200
|
+
readonly slotWindow?: {
|
|
201
|
+
readonly endTime: string;
|
|
202
|
+
readonly startTime: string;
|
|
203
|
+
} & {
|
|
204
|
+
readonly [x: string]: unknown;
|
|
205
|
+
};
|
|
206
|
+
readonly title?: string;
|
|
207
|
+
} & {
|
|
208
|
+
readonly [x: string]: unknown;
|
|
209
|
+
})[];
|
|
210
|
+
readonly gridSlots?: readonly ({
|
|
211
|
+
readonly day: string;
|
|
212
|
+
readonly slots: readonly ({
|
|
213
|
+
readonly type?: string;
|
|
214
|
+
readonly slotId?: string;
|
|
215
|
+
readonly timeZoneId?: string;
|
|
216
|
+
readonly attributes?: readonly string[];
|
|
217
|
+
readonly deliveryPrice?: {
|
|
218
|
+
readonly amount: string;
|
|
219
|
+
readonly currency: string;
|
|
220
|
+
};
|
|
221
|
+
readonly onDemandProperties?: {
|
|
222
|
+
readonly collectionTimeInMinutes?: number;
|
|
223
|
+
readonly deliveryTimeInMinutes?: number;
|
|
224
|
+
} & {
|
|
225
|
+
readonly [x: string]: unknown;
|
|
226
|
+
};
|
|
227
|
+
readonly slotWindow?: {
|
|
228
|
+
readonly endTime: string;
|
|
229
|
+
readonly startTime: string;
|
|
230
|
+
} & {
|
|
231
|
+
readonly [x: string]: unknown;
|
|
232
|
+
};
|
|
233
|
+
readonly title?: string;
|
|
234
|
+
} & {
|
|
235
|
+
readonly [x: string]: unknown;
|
|
236
|
+
})[];
|
|
237
|
+
} & {
|
|
238
|
+
readonly [x: string]: unknown;
|
|
239
|
+
})[];
|
|
240
|
+
} & {
|
|
241
|
+
readonly [x: string]: unknown;
|
|
242
|
+
}, {
|
|
243
|
+
readonly title?: string;
|
|
244
|
+
readonly carrierDetails?: readonly unknown[];
|
|
245
|
+
readonly carrierId?: string;
|
|
246
|
+
readonly carrierName?: string;
|
|
247
|
+
readonly daysMapping?: readonly ({
|
|
248
|
+
readonly day: string;
|
|
249
|
+
readonly slotIds?: readonly string[];
|
|
250
|
+
readonly slotListingId?: string;
|
|
251
|
+
} & {
|
|
252
|
+
readonly [x: string]: unknown;
|
|
253
|
+
})[];
|
|
254
|
+
readonly featuredSlots?: readonly ({
|
|
255
|
+
readonly type?: string;
|
|
256
|
+
readonly slotId?: string;
|
|
257
|
+
readonly timeZoneId?: string;
|
|
258
|
+
readonly attributes?: readonly string[];
|
|
259
|
+
readonly deliveryPrice?: {
|
|
260
|
+
readonly amount: string;
|
|
261
|
+
readonly currency: string;
|
|
262
|
+
};
|
|
263
|
+
readonly onDemandProperties?: {
|
|
264
|
+
readonly collectionTimeInMinutes?: number;
|
|
265
|
+
readonly deliveryTimeInMinutes?: number;
|
|
266
|
+
} & {
|
|
267
|
+
readonly [x: string]: unknown;
|
|
268
|
+
};
|
|
269
|
+
readonly slotWindow?: {
|
|
270
|
+
readonly endTime: string;
|
|
271
|
+
readonly startTime: string;
|
|
272
|
+
} & {
|
|
273
|
+
readonly [x: string]: unknown;
|
|
274
|
+
};
|
|
275
|
+
readonly title?: string;
|
|
276
|
+
} & {
|
|
277
|
+
readonly [x: string]: unknown;
|
|
278
|
+
})[];
|
|
279
|
+
readonly gridSlots?: readonly ({
|
|
280
|
+
readonly day: string;
|
|
281
|
+
readonly slots: readonly ({
|
|
282
|
+
readonly type?: string;
|
|
283
|
+
readonly slotId?: string;
|
|
284
|
+
readonly timeZoneId?: string;
|
|
285
|
+
readonly attributes?: readonly string[];
|
|
286
|
+
readonly deliveryPrice?: {
|
|
287
|
+
readonly amount: string;
|
|
288
|
+
readonly currency: string;
|
|
289
|
+
};
|
|
290
|
+
readonly onDemandProperties?: {
|
|
291
|
+
readonly collectionTimeInMinutes?: number;
|
|
292
|
+
readonly deliveryTimeInMinutes?: number;
|
|
293
|
+
} & {
|
|
294
|
+
readonly [x: string]: unknown;
|
|
295
|
+
};
|
|
296
|
+
readonly slotWindow?: {
|
|
297
|
+
readonly endTime: string;
|
|
298
|
+
readonly startTime: string;
|
|
299
|
+
} & {
|
|
300
|
+
readonly [x: string]: unknown;
|
|
301
|
+
};
|
|
302
|
+
readonly title?: string;
|
|
303
|
+
} & {
|
|
304
|
+
readonly [x: string]: unknown;
|
|
305
|
+
})[];
|
|
306
|
+
} & {
|
|
307
|
+
readonly [x: string]: unknown;
|
|
308
|
+
})[];
|
|
309
|
+
} & {
|
|
310
|
+
readonly [x: string]: unknown;
|
|
311
|
+
}, never>;
|
|
312
|
+
export type RawSlotCarrier = Schema.Schema.Type<typeof RawSlotCarrierSchema>;
|
|
313
|
+
export declare const RawSlotListingResponseSchema: Schema.Schema<{
|
|
314
|
+
readonly carriers: readonly ({
|
|
315
|
+
readonly title?: string;
|
|
316
|
+
readonly carrierDetails?: readonly unknown[];
|
|
317
|
+
readonly carrierId?: string;
|
|
318
|
+
readonly carrierName?: string;
|
|
319
|
+
readonly daysMapping?: readonly ({
|
|
320
|
+
readonly day: string;
|
|
321
|
+
readonly slotIds?: readonly string[];
|
|
322
|
+
readonly slotListingId?: string;
|
|
323
|
+
} & {
|
|
324
|
+
readonly [x: string]: unknown;
|
|
325
|
+
})[];
|
|
326
|
+
readonly featuredSlots?: readonly ({
|
|
327
|
+
readonly type?: string;
|
|
328
|
+
readonly slotId?: string;
|
|
329
|
+
readonly timeZoneId?: string;
|
|
330
|
+
readonly attributes?: readonly string[];
|
|
331
|
+
readonly deliveryPrice?: {
|
|
332
|
+
readonly amount: string;
|
|
333
|
+
readonly currency: string;
|
|
334
|
+
};
|
|
335
|
+
readonly onDemandProperties?: {
|
|
336
|
+
readonly collectionTimeInMinutes?: number;
|
|
337
|
+
readonly deliveryTimeInMinutes?: number;
|
|
338
|
+
} & {
|
|
339
|
+
readonly [x: string]: unknown;
|
|
340
|
+
};
|
|
341
|
+
readonly slotWindow?: {
|
|
342
|
+
readonly endTime: string;
|
|
343
|
+
readonly startTime: string;
|
|
344
|
+
} & {
|
|
345
|
+
readonly [x: string]: unknown;
|
|
346
|
+
};
|
|
347
|
+
readonly title?: string;
|
|
348
|
+
} & {
|
|
349
|
+
readonly [x: string]: unknown;
|
|
350
|
+
})[];
|
|
351
|
+
readonly gridSlots?: readonly ({
|
|
352
|
+
readonly day: string;
|
|
353
|
+
readonly slots: readonly ({
|
|
354
|
+
readonly type?: string;
|
|
355
|
+
readonly slotId?: string;
|
|
356
|
+
readonly timeZoneId?: string;
|
|
357
|
+
readonly attributes?: readonly string[];
|
|
358
|
+
readonly deliveryPrice?: {
|
|
359
|
+
readonly amount: string;
|
|
360
|
+
readonly currency: string;
|
|
361
|
+
};
|
|
362
|
+
readonly onDemandProperties?: {
|
|
363
|
+
readonly collectionTimeInMinutes?: number;
|
|
364
|
+
readonly deliveryTimeInMinutes?: number;
|
|
365
|
+
} & {
|
|
366
|
+
readonly [x: string]: unknown;
|
|
367
|
+
};
|
|
368
|
+
readonly slotWindow?: {
|
|
369
|
+
readonly endTime: string;
|
|
370
|
+
readonly startTime: string;
|
|
371
|
+
} & {
|
|
372
|
+
readonly [x: string]: unknown;
|
|
373
|
+
};
|
|
374
|
+
readonly title?: string;
|
|
375
|
+
} & {
|
|
376
|
+
readonly [x: string]: unknown;
|
|
377
|
+
})[];
|
|
378
|
+
} & {
|
|
379
|
+
readonly [x: string]: unknown;
|
|
380
|
+
})[];
|
|
381
|
+
} & {
|
|
382
|
+
readonly [x: string]: unknown;
|
|
383
|
+
})[];
|
|
384
|
+
readonly days?: readonly ({
|
|
385
|
+
readonly date: string;
|
|
386
|
+
} & {
|
|
387
|
+
readonly [x: string]: unknown;
|
|
388
|
+
})[];
|
|
389
|
+
} & {
|
|
390
|
+
readonly [x: string]: unknown;
|
|
391
|
+
}, {
|
|
392
|
+
readonly carriers: readonly ({
|
|
393
|
+
readonly title?: string;
|
|
394
|
+
readonly carrierDetails?: readonly unknown[];
|
|
395
|
+
readonly carrierId?: string;
|
|
396
|
+
readonly carrierName?: string;
|
|
397
|
+
readonly daysMapping?: readonly ({
|
|
398
|
+
readonly day: string;
|
|
399
|
+
readonly slotIds?: readonly string[];
|
|
400
|
+
readonly slotListingId?: string;
|
|
401
|
+
} & {
|
|
402
|
+
readonly [x: string]: unknown;
|
|
403
|
+
})[];
|
|
404
|
+
readonly featuredSlots?: readonly ({
|
|
405
|
+
readonly type?: string;
|
|
406
|
+
readonly slotId?: string;
|
|
407
|
+
readonly timeZoneId?: string;
|
|
408
|
+
readonly attributes?: readonly string[];
|
|
409
|
+
readonly deliveryPrice?: {
|
|
410
|
+
readonly amount: string;
|
|
411
|
+
readonly currency: string;
|
|
412
|
+
};
|
|
413
|
+
readonly onDemandProperties?: {
|
|
414
|
+
readonly collectionTimeInMinutes?: number;
|
|
415
|
+
readonly deliveryTimeInMinutes?: number;
|
|
416
|
+
} & {
|
|
417
|
+
readonly [x: string]: unknown;
|
|
418
|
+
};
|
|
419
|
+
readonly slotWindow?: {
|
|
420
|
+
readonly endTime: string;
|
|
421
|
+
readonly startTime: string;
|
|
422
|
+
} & {
|
|
423
|
+
readonly [x: string]: unknown;
|
|
424
|
+
};
|
|
425
|
+
readonly title?: string;
|
|
426
|
+
} & {
|
|
427
|
+
readonly [x: string]: unknown;
|
|
428
|
+
})[];
|
|
429
|
+
readonly gridSlots?: readonly ({
|
|
430
|
+
readonly day: string;
|
|
431
|
+
readonly slots: readonly ({
|
|
432
|
+
readonly type?: string;
|
|
433
|
+
readonly slotId?: string;
|
|
434
|
+
readonly timeZoneId?: string;
|
|
435
|
+
readonly attributes?: readonly string[];
|
|
436
|
+
readonly deliveryPrice?: {
|
|
437
|
+
readonly amount: string;
|
|
438
|
+
readonly currency: string;
|
|
439
|
+
};
|
|
440
|
+
readonly onDemandProperties?: {
|
|
441
|
+
readonly collectionTimeInMinutes?: number;
|
|
442
|
+
readonly deliveryTimeInMinutes?: number;
|
|
443
|
+
} & {
|
|
444
|
+
readonly [x: string]: unknown;
|
|
445
|
+
};
|
|
446
|
+
readonly slotWindow?: {
|
|
447
|
+
readonly endTime: string;
|
|
448
|
+
readonly startTime: string;
|
|
449
|
+
} & {
|
|
450
|
+
readonly [x: string]: unknown;
|
|
451
|
+
};
|
|
452
|
+
readonly title?: string;
|
|
453
|
+
} & {
|
|
454
|
+
readonly [x: string]: unknown;
|
|
455
|
+
})[];
|
|
456
|
+
} & {
|
|
457
|
+
readonly [x: string]: unknown;
|
|
458
|
+
})[];
|
|
459
|
+
} & {
|
|
460
|
+
readonly [x: string]: unknown;
|
|
461
|
+
})[];
|
|
462
|
+
readonly days?: readonly ({
|
|
463
|
+
readonly date: string;
|
|
464
|
+
} & {
|
|
465
|
+
readonly [x: string]: unknown;
|
|
466
|
+
})[];
|
|
467
|
+
} & {
|
|
468
|
+
readonly [x: string]: unknown;
|
|
469
|
+
}, never>;
|
|
470
|
+
export type RawSlotListingResponse = Schema.Schema.Type<typeof RawSlotListingResponseSchema>;
|
|
471
|
+
export declare const NormalizedSlotSchema: Schema.Struct<{
|
|
472
|
+
attributes: Schema.Array$<typeof Schema.String>;
|
|
473
|
+
available: typeof Schema.Boolean;
|
|
474
|
+
date: Schema.optionalWith<typeof Schema.String, {
|
|
475
|
+
exact: true;
|
|
476
|
+
}>;
|
|
477
|
+
carrierId: Schema.optionalWith<typeof Schema.String, {
|
|
478
|
+
exact: true;
|
|
479
|
+
}>;
|
|
480
|
+
slotListingId: Schema.optionalWith<typeof Schema.String, {
|
|
481
|
+
exact: true;
|
|
482
|
+
}>;
|
|
483
|
+
slotId: Schema.optionalWith<typeof Schema.String, {
|
|
484
|
+
exact: true;
|
|
485
|
+
}>;
|
|
486
|
+
startTime: Schema.optionalWith<typeof Schema.String, {
|
|
487
|
+
exact: true;
|
|
488
|
+
}>;
|
|
489
|
+
endTime: Schema.optionalWith<typeof Schema.String, {
|
|
490
|
+
exact: true;
|
|
491
|
+
}>;
|
|
492
|
+
type: Schema.optionalWith<typeof Schema.String, {
|
|
493
|
+
exact: true;
|
|
494
|
+
}>;
|
|
495
|
+
title: Schema.optionalWith<typeof Schema.String, {
|
|
496
|
+
exact: true;
|
|
497
|
+
}>;
|
|
498
|
+
timeZoneId: Schema.optionalWith<typeof Schema.String, {
|
|
499
|
+
exact: true;
|
|
500
|
+
}>;
|
|
501
|
+
onDemandProperties: Schema.optionalWith<Schema.Schema<{
|
|
502
|
+
readonly collectionTimeInMinutes?: number;
|
|
503
|
+
readonly deliveryTimeInMinutes?: number;
|
|
504
|
+
} & {
|
|
505
|
+
readonly [x: string]: unknown;
|
|
506
|
+
}, {
|
|
507
|
+
readonly collectionTimeInMinutes?: number;
|
|
508
|
+
readonly deliveryTimeInMinutes?: number;
|
|
509
|
+
} & {
|
|
510
|
+
readonly [x: string]: unknown;
|
|
511
|
+
}, never>, {
|
|
512
|
+
exact: true;
|
|
513
|
+
}>;
|
|
514
|
+
deliveryPrice: Schema.optionalWith<Schema.Struct<{
|
|
515
|
+
amount: typeof Schema.String;
|
|
516
|
+
currency: typeof Schema.String;
|
|
517
|
+
}>, {
|
|
518
|
+
exact: true;
|
|
519
|
+
}>;
|
|
520
|
+
}>;
|
|
521
|
+
export type NormalizedSlot = Schema.Schema.Type<typeof NormalizedSlotSchema>;
|
|
522
|
+
export declare const NormalizedSlotCarrierSchema: Schema.Struct<{
|
|
523
|
+
carrierId: Schema.optionalWith<typeof Schema.String, {
|
|
524
|
+
exact: true;
|
|
525
|
+
}>;
|
|
526
|
+
carrierName: Schema.optionalWith<typeof Schema.String, {
|
|
527
|
+
exact: true;
|
|
528
|
+
}>;
|
|
529
|
+
days: Schema.Array$<Schema.Schema<{
|
|
530
|
+
readonly day: string;
|
|
531
|
+
readonly slotIds?: readonly string[];
|
|
532
|
+
readonly slotListingId?: string;
|
|
533
|
+
} & {
|
|
534
|
+
readonly [x: string]: unknown;
|
|
535
|
+
}, {
|
|
536
|
+
readonly day: string;
|
|
537
|
+
readonly slotIds?: readonly string[];
|
|
538
|
+
readonly slotListingId?: string;
|
|
539
|
+
} & {
|
|
540
|
+
readonly [x: string]: unknown;
|
|
541
|
+
}, never>>;
|
|
542
|
+
title: Schema.optionalWith<typeof Schema.String, {
|
|
543
|
+
exact: true;
|
|
544
|
+
}>;
|
|
545
|
+
}>;
|
|
546
|
+
export type NormalizedSlotCarrier = Schema.Schema.Type<typeof NormalizedSlotCarrierSchema>;
|
|
547
|
+
export declare const NormalizedSlotListingSchema: Schema.Struct<{
|
|
548
|
+
availableSlotCount: Schema.filter<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
549
|
+
carriers: Schema.Array$<Schema.Struct<{
|
|
550
|
+
carrierId: Schema.optionalWith<typeof Schema.String, {
|
|
551
|
+
exact: true;
|
|
552
|
+
}>;
|
|
553
|
+
carrierName: Schema.optionalWith<typeof Schema.String, {
|
|
554
|
+
exact: true;
|
|
555
|
+
}>;
|
|
556
|
+
days: Schema.Array$<Schema.Schema<{
|
|
557
|
+
readonly day: string;
|
|
558
|
+
readonly slotIds?: readonly string[];
|
|
559
|
+
readonly slotListingId?: string;
|
|
560
|
+
} & {
|
|
561
|
+
readonly [x: string]: unknown;
|
|
562
|
+
}, {
|
|
563
|
+
readonly day: string;
|
|
564
|
+
readonly slotIds?: readonly string[];
|
|
565
|
+
readonly slotListingId?: string;
|
|
566
|
+
} & {
|
|
567
|
+
readonly [x: string]: unknown;
|
|
568
|
+
}, never>>;
|
|
569
|
+
title: Schema.optionalWith<typeof Schema.String, {
|
|
570
|
+
exact: true;
|
|
571
|
+
}>;
|
|
572
|
+
}>>;
|
|
573
|
+
slots: Schema.Array$<Schema.Struct<{
|
|
574
|
+
attributes: Schema.Array$<typeof Schema.String>;
|
|
575
|
+
available: typeof Schema.Boolean;
|
|
576
|
+
date: Schema.optionalWith<typeof Schema.String, {
|
|
577
|
+
exact: true;
|
|
578
|
+
}>;
|
|
579
|
+
carrierId: Schema.optionalWith<typeof Schema.String, {
|
|
580
|
+
exact: true;
|
|
581
|
+
}>;
|
|
582
|
+
slotListingId: Schema.optionalWith<typeof Schema.String, {
|
|
583
|
+
exact: true;
|
|
584
|
+
}>;
|
|
585
|
+
slotId: Schema.optionalWith<typeof Schema.String, {
|
|
586
|
+
exact: true;
|
|
587
|
+
}>;
|
|
588
|
+
startTime: Schema.optionalWith<typeof Schema.String, {
|
|
589
|
+
exact: true;
|
|
590
|
+
}>;
|
|
591
|
+
endTime: Schema.optionalWith<typeof Schema.String, {
|
|
592
|
+
exact: true;
|
|
593
|
+
}>;
|
|
594
|
+
type: Schema.optionalWith<typeof Schema.String, {
|
|
595
|
+
exact: true;
|
|
596
|
+
}>;
|
|
597
|
+
title: Schema.optionalWith<typeof Schema.String, {
|
|
598
|
+
exact: true;
|
|
599
|
+
}>;
|
|
600
|
+
timeZoneId: Schema.optionalWith<typeof Schema.String, {
|
|
601
|
+
exact: true;
|
|
602
|
+
}>;
|
|
603
|
+
onDemandProperties: Schema.optionalWith<Schema.Schema<{
|
|
604
|
+
readonly collectionTimeInMinutes?: number;
|
|
605
|
+
readonly deliveryTimeInMinutes?: number;
|
|
606
|
+
} & {
|
|
607
|
+
readonly [x: string]: unknown;
|
|
608
|
+
}, {
|
|
609
|
+
readonly collectionTimeInMinutes?: number;
|
|
610
|
+
readonly deliveryTimeInMinutes?: number;
|
|
611
|
+
} & {
|
|
612
|
+
readonly [x: string]: unknown;
|
|
613
|
+
}, never>, {
|
|
614
|
+
exact: true;
|
|
615
|
+
}>;
|
|
616
|
+
deliveryPrice: Schema.optionalWith<Schema.Struct<{
|
|
617
|
+
amount: typeof Schema.String;
|
|
618
|
+
currency: typeof Schema.String;
|
|
619
|
+
}>, {
|
|
620
|
+
exact: true;
|
|
621
|
+
}>;
|
|
622
|
+
}>>;
|
|
623
|
+
}>;
|
|
624
|
+
export type NormalizedSlotListing = Schema.Schema.Type<typeof NormalizedSlotListingSchema>;
|
|
625
|
+
export declare const SlotReservationInputSchema: Schema.Struct<{
|
|
626
|
+
allowReservationOverwrite: Schema.Literal<[true]>;
|
|
627
|
+
confirmSlotReservation: Schema.Literal<[true]>;
|
|
628
|
+
deliveryDestinationId: Schema.filter<Schema.filter<typeof Schema.String>>;
|
|
629
|
+
externalAddress: Schema.optionalWith<Schema.Record$<typeof Schema.String, typeof Schema.Unknown>, {
|
|
630
|
+
exact: true;
|
|
631
|
+
}>;
|
|
632
|
+
regionId: Schema.filter<Schema.filter<typeof Schema.String>>;
|
|
633
|
+
slotId: Schema.filter<Schema.filter<typeof Schema.String>>;
|
|
634
|
+
}>;
|
|
635
|
+
export type SlotReservationInput = Schema.Schema.Type<typeof SlotReservationInputSchema>;
|
|
636
|
+
export declare const SlotReservationSelectionInputSchema: Schema.Struct<{
|
|
637
|
+
allowReservationOverwrite: Schema.Literal<[true]>;
|
|
638
|
+
confirmSlotReservation: Schema.Literal<[true]>;
|
|
639
|
+
deliveryDestinationId: Schema.filter<Schema.filter<typeof Schema.String>>;
|
|
640
|
+
externalAddress: Schema.optionalWith<Schema.Record$<typeof Schema.String, typeof Schema.Unknown>, {
|
|
641
|
+
exact: true;
|
|
642
|
+
}>;
|
|
643
|
+
regionId: Schema.filter<Schema.filter<typeof Schema.String>>;
|
|
644
|
+
slot: Schema.Struct<{
|
|
645
|
+
attributes: Schema.Array$<typeof Schema.String>;
|
|
646
|
+
available: typeof Schema.Boolean;
|
|
647
|
+
date: Schema.optionalWith<typeof Schema.String, {
|
|
648
|
+
exact: true;
|
|
649
|
+
}>;
|
|
650
|
+
carrierId: Schema.optionalWith<typeof Schema.String, {
|
|
651
|
+
exact: true;
|
|
652
|
+
}>;
|
|
653
|
+
slotListingId: Schema.optionalWith<typeof Schema.String, {
|
|
654
|
+
exact: true;
|
|
655
|
+
}>;
|
|
656
|
+
slotId: Schema.optionalWith<typeof Schema.String, {
|
|
657
|
+
exact: true;
|
|
658
|
+
}>;
|
|
659
|
+
startTime: Schema.optionalWith<typeof Schema.String, {
|
|
660
|
+
exact: true;
|
|
661
|
+
}>;
|
|
662
|
+
endTime: Schema.optionalWith<typeof Schema.String, {
|
|
663
|
+
exact: true;
|
|
664
|
+
}>;
|
|
665
|
+
type: Schema.optionalWith<typeof Schema.String, {
|
|
666
|
+
exact: true;
|
|
667
|
+
}>;
|
|
668
|
+
title: Schema.optionalWith<typeof Schema.String, {
|
|
669
|
+
exact: true;
|
|
670
|
+
}>;
|
|
671
|
+
timeZoneId: Schema.optionalWith<typeof Schema.String, {
|
|
672
|
+
exact: true;
|
|
673
|
+
}>;
|
|
674
|
+
onDemandProperties: Schema.optionalWith<Schema.Schema<{
|
|
675
|
+
readonly collectionTimeInMinutes?: number;
|
|
676
|
+
readonly deliveryTimeInMinutes?: number;
|
|
677
|
+
} & {
|
|
678
|
+
readonly [x: string]: unknown;
|
|
679
|
+
}, {
|
|
680
|
+
readonly collectionTimeInMinutes?: number;
|
|
681
|
+
readonly deliveryTimeInMinutes?: number;
|
|
682
|
+
} & {
|
|
683
|
+
readonly [x: string]: unknown;
|
|
684
|
+
}, never>, {
|
|
685
|
+
exact: true;
|
|
686
|
+
}>;
|
|
687
|
+
deliveryPrice: Schema.optionalWith<Schema.Struct<{
|
|
688
|
+
amount: typeof Schema.String;
|
|
689
|
+
currency: typeof Schema.String;
|
|
690
|
+
}>, {
|
|
691
|
+
exact: true;
|
|
692
|
+
}>;
|
|
693
|
+
}>;
|
|
694
|
+
}>;
|
|
695
|
+
export type SlotReservationSelectionInput = Schema.Schema.Type<typeof SlotReservationSelectionInputSchema>;
|
|
696
|
+
export declare const ReservedSlotSchema: Schema.Schema<{
|
|
697
|
+
readonly expiryTime?: string;
|
|
698
|
+
readonly slotId?: string;
|
|
699
|
+
readonly timeZoneId?: string;
|
|
700
|
+
readonly minimumCheckoutThreshold?: {
|
|
701
|
+
readonly amount: string;
|
|
702
|
+
readonly currency: string;
|
|
703
|
+
};
|
|
704
|
+
readonly originalMinimumCheckoutThreshold?: {
|
|
705
|
+
readonly amount: string;
|
|
706
|
+
readonly currency: string;
|
|
707
|
+
};
|
|
708
|
+
} & {
|
|
709
|
+
readonly [x: string]: unknown;
|
|
710
|
+
}, {
|
|
711
|
+
readonly expiryTime?: string;
|
|
712
|
+
readonly slotId?: string;
|
|
713
|
+
readonly timeZoneId?: string;
|
|
714
|
+
readonly minimumCheckoutThreshold?: {
|
|
715
|
+
readonly amount: string;
|
|
716
|
+
readonly currency: string;
|
|
717
|
+
};
|
|
718
|
+
readonly originalMinimumCheckoutThreshold?: {
|
|
719
|
+
readonly amount: string;
|
|
720
|
+
readonly currency: string;
|
|
721
|
+
};
|
|
722
|
+
} & {
|
|
723
|
+
readonly [x: string]: unknown;
|
|
724
|
+
}, never>;
|
|
725
|
+
export type ReservedSlot = Schema.Schema.Type<typeof ReservedSlotSchema>;
|
|
726
|
+
export declare const SlotReservationConfirmationDataSchema: Schema.Schema<{
|
|
727
|
+
readonly draftBasketId?: string;
|
|
728
|
+
readonly invalidVouchers?: readonly unknown[];
|
|
729
|
+
readonly regionChanged?: boolean;
|
|
730
|
+
readonly slotRegionId?: string;
|
|
731
|
+
readonly totalChanged?: boolean;
|
|
732
|
+
} & {
|
|
733
|
+
readonly [x: string]: unknown;
|
|
734
|
+
}, {
|
|
735
|
+
readonly draftBasketId?: string;
|
|
736
|
+
readonly invalidVouchers?: readonly unknown[];
|
|
737
|
+
readonly regionChanged?: boolean;
|
|
738
|
+
readonly slotRegionId?: string;
|
|
739
|
+
readonly totalChanged?: boolean;
|
|
740
|
+
} & {
|
|
741
|
+
readonly [x: string]: unknown;
|
|
742
|
+
}, never>;
|
|
743
|
+
export type SlotReservationConfirmationData = Schema.Schema.Type<typeof SlotReservationConfirmationDataSchema>;
|
|
744
|
+
export declare const RawSlotReservationResponseSchema: Schema.Schema<{
|
|
745
|
+
readonly slot: {
|
|
746
|
+
readonly expiryTime?: string;
|
|
747
|
+
readonly slotId?: string;
|
|
748
|
+
readonly timeZoneId?: string;
|
|
749
|
+
readonly minimumCheckoutThreshold?: {
|
|
750
|
+
readonly amount: string;
|
|
751
|
+
readonly currency: string;
|
|
752
|
+
};
|
|
753
|
+
readonly originalMinimumCheckoutThreshold?: {
|
|
754
|
+
readonly amount: string;
|
|
755
|
+
readonly currency: string;
|
|
756
|
+
};
|
|
757
|
+
} & {
|
|
758
|
+
readonly [x: string]: unknown;
|
|
759
|
+
};
|
|
760
|
+
readonly confirmationData?: {
|
|
761
|
+
readonly draftBasketId?: string;
|
|
762
|
+
readonly invalidVouchers?: readonly unknown[];
|
|
763
|
+
readonly regionChanged?: boolean;
|
|
764
|
+
readonly slotRegionId?: string;
|
|
765
|
+
readonly totalChanged?: boolean;
|
|
766
|
+
} & {
|
|
767
|
+
readonly [x: string]: unknown;
|
|
768
|
+
};
|
|
769
|
+
} & {
|
|
770
|
+
readonly [x: string]: unknown;
|
|
771
|
+
}, {
|
|
772
|
+
readonly slot: {
|
|
773
|
+
readonly expiryTime?: string;
|
|
774
|
+
readonly slotId?: string;
|
|
775
|
+
readonly timeZoneId?: string;
|
|
776
|
+
readonly minimumCheckoutThreshold?: {
|
|
777
|
+
readonly amount: string;
|
|
778
|
+
readonly currency: string;
|
|
779
|
+
};
|
|
780
|
+
readonly originalMinimumCheckoutThreshold?: {
|
|
781
|
+
readonly amount: string;
|
|
782
|
+
readonly currency: string;
|
|
783
|
+
};
|
|
784
|
+
} & {
|
|
785
|
+
readonly [x: string]: unknown;
|
|
786
|
+
};
|
|
787
|
+
readonly confirmationData?: {
|
|
788
|
+
readonly draftBasketId?: string;
|
|
789
|
+
readonly invalidVouchers?: readonly unknown[];
|
|
790
|
+
readonly regionChanged?: boolean;
|
|
791
|
+
readonly slotRegionId?: string;
|
|
792
|
+
readonly totalChanged?: boolean;
|
|
793
|
+
} & {
|
|
794
|
+
readonly [x: string]: unknown;
|
|
795
|
+
};
|
|
796
|
+
} & {
|
|
797
|
+
readonly [x: string]: unknown;
|
|
798
|
+
}, never>;
|
|
799
|
+
export type RawSlotReservationResponse = Schema.Schema.Type<typeof RawSlotReservationResponseSchema>;
|
|
800
|
+
export declare const NormalizedSlotReservationSchema: Schema.Struct<{
|
|
801
|
+
confirmationData: Schema.optionalWith<Schema.Schema<{
|
|
802
|
+
readonly draftBasketId?: string;
|
|
803
|
+
readonly invalidVouchers?: readonly unknown[];
|
|
804
|
+
readonly regionChanged?: boolean;
|
|
805
|
+
readonly slotRegionId?: string;
|
|
806
|
+
readonly totalChanged?: boolean;
|
|
807
|
+
} & {
|
|
808
|
+
readonly [x: string]: unknown;
|
|
809
|
+
}, {
|
|
810
|
+
readonly draftBasketId?: string;
|
|
811
|
+
readonly invalidVouchers?: readonly unknown[];
|
|
812
|
+
readonly regionChanged?: boolean;
|
|
813
|
+
readonly slotRegionId?: string;
|
|
814
|
+
readonly totalChanged?: boolean;
|
|
815
|
+
} & {
|
|
816
|
+
readonly [x: string]: unknown;
|
|
817
|
+
}, never>, {
|
|
818
|
+
exact: true;
|
|
819
|
+
}>;
|
|
820
|
+
expiryTime: Schema.optionalWith<typeof Schema.String, {
|
|
821
|
+
exact: true;
|
|
822
|
+
}>;
|
|
823
|
+
minimumCheckoutThreshold: Schema.optionalWith<Schema.Struct<{
|
|
824
|
+
amount: typeof Schema.String;
|
|
825
|
+
currency: typeof Schema.String;
|
|
826
|
+
}>, {
|
|
827
|
+
exact: true;
|
|
828
|
+
}>;
|
|
829
|
+
originalMinimumCheckoutThreshold: Schema.optionalWith<Schema.Struct<{
|
|
830
|
+
amount: typeof Schema.String;
|
|
831
|
+
currency: typeof Schema.String;
|
|
832
|
+
}>, {
|
|
833
|
+
exact: true;
|
|
834
|
+
}>;
|
|
835
|
+
reserved: Schema.Literal<[true]>;
|
|
836
|
+
slotId: Schema.optionalWith<typeof Schema.String, {
|
|
837
|
+
exact: true;
|
|
838
|
+
}>;
|
|
839
|
+
timeZoneId: Schema.optionalWith<typeof Schema.String, {
|
|
840
|
+
exact: true;
|
|
841
|
+
}>;
|
|
842
|
+
}>;
|
|
843
|
+
export type NormalizedSlotReservation = Schema.Schema.Type<typeof NormalizedSlotReservationSchema>;
|
|
844
|
+
//# sourceMappingURL=slot.d.ts.map
|