@deliverart/sdk-js-point-of-sale 0.0.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.
@@ -0,0 +1,4020 @@
1
+ import { z } from 'zod';
2
+ import { AbstractApiRequest } from '@deliverart/sdk-js-core';
3
+ import { Paginated } from '@deliverart/sdk-js-global-types';
4
+ import { AxiosResponse } from 'axios';
5
+
6
+ declare const timeSettingSchema: z.ZodObject<{
7
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
8
+ times: z.ZodArray<z.ZodObject<{
9
+ startTime: z.ZodString;
10
+ endTime: z.ZodString;
11
+ }, "strip", z.ZodTypeAny, {
12
+ startTime: string;
13
+ endTime: string;
14
+ }, {
15
+ startTime: string;
16
+ endTime: string;
17
+ }>, "many">;
18
+ }, "strip", z.ZodTypeAny, {
19
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
20
+ times: {
21
+ startTime: string;
22
+ endTime: string;
23
+ }[];
24
+ }, {
25
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
26
+ times: {
27
+ startTime: string;
28
+ endTime: string;
29
+ }[];
30
+ }>;
31
+ type TimeSetting = z.infer<typeof timeSettingSchema>;
32
+ declare const deliveryTimeSettingSchema: z.ZodObject<{
33
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
34
+ times: z.ZodArray<z.ZodObject<{
35
+ startTime: z.ZodString;
36
+ endTime: z.ZodString;
37
+ availableCouriers: z.ZodNumber;
38
+ }, "strip", z.ZodTypeAny, {
39
+ startTime: string;
40
+ endTime: string;
41
+ availableCouriers: number;
42
+ }, {
43
+ startTime: string;
44
+ endTime: string;
45
+ availableCouriers: number;
46
+ }>, "many">;
47
+ }, "strip", z.ZodTypeAny, {
48
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
49
+ times: {
50
+ startTime: string;
51
+ endTime: string;
52
+ availableCouriers: number;
53
+ }[];
54
+ }, {
55
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
56
+ times: {
57
+ startTime: string;
58
+ endTime: string;
59
+ availableCouriers: number;
60
+ }[];
61
+ }>;
62
+ type DeliveryTimeSetting = z.infer<typeof deliveryTimeSettingSchema>;
63
+ declare const pointOfSaleSchema: z.ZodObject<{
64
+ id: z.ZodString;
65
+ name: z.ZodString;
66
+ address: z.ZodObject<{
67
+ line1: z.ZodString;
68
+ line2: z.ZodOptional<z.ZodString>;
69
+ city: z.ZodString;
70
+ region: z.ZodString;
71
+ postalCode: z.ZodString;
72
+ country: z.ZodString;
73
+ }, "strip", z.ZodTypeAny, {
74
+ line1: string;
75
+ city: string;
76
+ region: string;
77
+ postalCode: string;
78
+ country: string;
79
+ line2?: string | undefined;
80
+ }, {
81
+ line1: string;
82
+ city: string;
83
+ region: string;
84
+ postalCode: string;
85
+ country: string;
86
+ line2?: string | undefined;
87
+ }>;
88
+ timezone: z.ZodString;
89
+ location: z.ZodObject<{
90
+ latitude: z.ZodNumber;
91
+ longitude: z.ZodNumber;
92
+ }, "strip", z.ZodTypeAny, {
93
+ latitude: number;
94
+ longitude: number;
95
+ }, {
96
+ latitude: number;
97
+ longitude: number;
98
+ }>;
99
+ capabilities: z.ZodArray<z.ZodEnum<["DELIVERY_OPTIMIZATION"]>, "many">;
100
+ openingStatus: z.ZodEnum<["OPEN", "CLOSED"]>;
101
+ createdAt: z.ZodEffects<z.ZodString, string, string>;
102
+ updatedAt: z.ZodEffects<z.ZodString, string, string>;
103
+ }, "strip", z.ZodTypeAny, {
104
+ id: string;
105
+ name: string;
106
+ address: {
107
+ line1: string;
108
+ city: string;
109
+ region: string;
110
+ postalCode: string;
111
+ country: string;
112
+ line2?: string | undefined;
113
+ };
114
+ timezone: string;
115
+ location: {
116
+ latitude: number;
117
+ longitude: number;
118
+ };
119
+ capabilities: "DELIVERY_OPTIMIZATION"[];
120
+ openingStatus: "OPEN" | "CLOSED";
121
+ createdAt: string;
122
+ updatedAt: string;
123
+ }, {
124
+ id: string;
125
+ name: string;
126
+ address: {
127
+ line1: string;
128
+ city: string;
129
+ region: string;
130
+ postalCode: string;
131
+ country: string;
132
+ line2?: string | undefined;
133
+ };
134
+ timezone: string;
135
+ location: {
136
+ latitude: number;
137
+ longitude: number;
138
+ };
139
+ capabilities: "DELIVERY_OPTIMIZATION"[];
140
+ openingStatus: "OPEN" | "CLOSED";
141
+ createdAt: string;
142
+ updatedAt: string;
143
+ }>;
144
+ type PointOfSale = z.infer<typeof pointOfSaleSchema>;
145
+ declare const userPointOfSaleSchema: z.ZodObject<{
146
+ pointOfSale: z.ZodObject<{
147
+ id: z.ZodString;
148
+ name: z.ZodString;
149
+ address: z.ZodObject<{
150
+ line1: z.ZodString;
151
+ line2: z.ZodOptional<z.ZodString>;
152
+ city: z.ZodString;
153
+ region: z.ZodString;
154
+ postalCode: z.ZodString;
155
+ country: z.ZodString;
156
+ }, "strip", z.ZodTypeAny, {
157
+ line1: string;
158
+ city: string;
159
+ region: string;
160
+ postalCode: string;
161
+ country: string;
162
+ line2?: string | undefined;
163
+ }, {
164
+ line1: string;
165
+ city: string;
166
+ region: string;
167
+ postalCode: string;
168
+ country: string;
169
+ line2?: string | undefined;
170
+ }>;
171
+ timezone: z.ZodString;
172
+ location: z.ZodObject<{
173
+ latitude: z.ZodNumber;
174
+ longitude: z.ZodNumber;
175
+ }, "strip", z.ZodTypeAny, {
176
+ latitude: number;
177
+ longitude: number;
178
+ }, {
179
+ latitude: number;
180
+ longitude: number;
181
+ }>;
182
+ capabilities: z.ZodArray<z.ZodEnum<["DELIVERY_OPTIMIZATION"]>, "many">;
183
+ openingStatus: z.ZodEnum<["OPEN", "CLOSED"]>;
184
+ createdAt: z.ZodEffects<z.ZodString, string, string>;
185
+ updatedAt: z.ZodEffects<z.ZodString, string, string>;
186
+ }, "strip", z.ZodTypeAny, {
187
+ id: string;
188
+ name: string;
189
+ address: {
190
+ line1: string;
191
+ city: string;
192
+ region: string;
193
+ postalCode: string;
194
+ country: string;
195
+ line2?: string | undefined;
196
+ };
197
+ timezone: string;
198
+ location: {
199
+ latitude: number;
200
+ longitude: number;
201
+ };
202
+ capabilities: "DELIVERY_OPTIMIZATION"[];
203
+ openingStatus: "OPEN" | "CLOSED";
204
+ createdAt: string;
205
+ updatedAt: string;
206
+ }, {
207
+ id: string;
208
+ name: string;
209
+ address: {
210
+ line1: string;
211
+ city: string;
212
+ region: string;
213
+ postalCode: string;
214
+ country: string;
215
+ line2?: string | undefined;
216
+ };
217
+ timezone: string;
218
+ location: {
219
+ latitude: number;
220
+ longitude: number;
221
+ };
222
+ capabilities: "DELIVERY_OPTIMIZATION"[];
223
+ openingStatus: "OPEN" | "CLOSED";
224
+ createdAt: string;
225
+ updatedAt: string;
226
+ }>;
227
+ role: z.ZodEnum<["ROLE_ADMIN", "ROLE_READER"]>;
228
+ }, "strip", z.ZodTypeAny, {
229
+ pointOfSale: {
230
+ id: string;
231
+ name: string;
232
+ address: {
233
+ line1: string;
234
+ city: string;
235
+ region: string;
236
+ postalCode: string;
237
+ country: string;
238
+ line2?: string | undefined;
239
+ };
240
+ timezone: string;
241
+ location: {
242
+ latitude: number;
243
+ longitude: number;
244
+ };
245
+ capabilities: "DELIVERY_OPTIMIZATION"[];
246
+ openingStatus: "OPEN" | "CLOSED";
247
+ createdAt: string;
248
+ updatedAt: string;
249
+ };
250
+ role: "ROLE_ADMIN" | "ROLE_READER";
251
+ }, {
252
+ pointOfSale: {
253
+ id: string;
254
+ name: string;
255
+ address: {
256
+ line1: string;
257
+ city: string;
258
+ region: string;
259
+ postalCode: string;
260
+ country: string;
261
+ line2?: string | undefined;
262
+ };
263
+ timezone: string;
264
+ location: {
265
+ latitude: number;
266
+ longitude: number;
267
+ };
268
+ capabilities: "DELIVERY_OPTIMIZATION"[];
269
+ openingStatus: "OPEN" | "CLOSED";
270
+ createdAt: string;
271
+ updatedAt: string;
272
+ };
273
+ role: "ROLE_ADMIN" | "ROLE_READER";
274
+ }>;
275
+ type UserPointOfSale = z.infer<typeof userPointOfSaleSchema>;
276
+ declare const pointOfSaleIntervalValues: number[];
277
+ declare const pointOfSaleAutoAcceptOrderValues: number[];
278
+ declare const pointOfSaleDetailsSchema: z.ZodObject<{
279
+ id: z.ZodString;
280
+ name: z.ZodString;
281
+ address: z.ZodObject<{
282
+ line1: z.ZodString;
283
+ line2: z.ZodOptional<z.ZodString>;
284
+ city: z.ZodString;
285
+ region: z.ZodString;
286
+ postalCode: z.ZodString;
287
+ country: z.ZodString;
288
+ }, "strip", z.ZodTypeAny, {
289
+ line1: string;
290
+ city: string;
291
+ region: string;
292
+ postalCode: string;
293
+ country: string;
294
+ line2?: string | undefined;
295
+ }, {
296
+ line1: string;
297
+ city: string;
298
+ region: string;
299
+ postalCode: string;
300
+ country: string;
301
+ line2?: string | undefined;
302
+ }>;
303
+ timezone: z.ZodString;
304
+ location: z.ZodObject<{
305
+ latitude: z.ZodNumber;
306
+ longitude: z.ZodNumber;
307
+ }, "strip", z.ZodTypeAny, {
308
+ latitude: number;
309
+ longitude: number;
310
+ }, {
311
+ latitude: number;
312
+ longitude: number;
313
+ }>;
314
+ capabilities: z.ZodArray<z.ZodEnum<["DELIVERY_OPTIMIZATION"]>, "many">;
315
+ openingStatus: z.ZodEnum<["OPEN", "CLOSED"]>;
316
+ createdAt: z.ZodEffects<z.ZodString, string, string>;
317
+ updatedAt: z.ZodEffects<z.ZodString, string, string>;
318
+ } & {
319
+ company: z.ZodString;
320
+ settings: z.ZodObject<{
321
+ menuLocales: z.ZodArray<z.ZodAny, "many">;
322
+ deliveryTimesInterval: z.ZodEffects<z.ZodNumber, number, number>;
323
+ takeAwayTimesInterval: z.ZodEffects<z.ZodNumber, number, number>;
324
+ numberMinutesToPrecessFirstOrder: z.ZodNumber;
325
+ numberMinutesTimeChangeTolerance: z.ZodNumber;
326
+ maxCountableItemsPerBundle: z.ZodNumber;
327
+ maxOrdersPerBundle: z.ZodNumber;
328
+ preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
329
+ numberMinutesBeforeAutoAcceptOrder: z.ZodEffects<z.ZodNumber, number, number>;
330
+ }, "strip", z.ZodTypeAny, {
331
+ menuLocales: any[];
332
+ deliveryTimesInterval: number;
333
+ takeAwayTimesInterval: number;
334
+ numberMinutesToPrecessFirstOrder: number;
335
+ numberMinutesTimeChangeTolerance: number;
336
+ maxCountableItemsPerBundle: number;
337
+ maxOrdersPerBundle: number;
338
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
339
+ numberMinutesBeforeAutoAcceptOrder: number;
340
+ }, {
341
+ menuLocales: any[];
342
+ deliveryTimesInterval: number;
343
+ takeAwayTimesInterval: number;
344
+ numberMinutesToPrecessFirstOrder: number;
345
+ numberMinutesTimeChangeTolerance: number;
346
+ maxCountableItemsPerBundle: number;
347
+ maxOrdersPerBundle: number;
348
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
349
+ numberMinutesBeforeAutoAcceptOrder: number;
350
+ }>;
351
+ openingTimeSettings: z.ZodArray<z.ZodObject<{
352
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
353
+ times: z.ZodArray<z.ZodObject<{
354
+ startTime: z.ZodString;
355
+ endTime: z.ZodString;
356
+ }, "strip", z.ZodTypeAny, {
357
+ startTime: string;
358
+ endTime: string;
359
+ }, {
360
+ startTime: string;
361
+ endTime: string;
362
+ }>, "many">;
363
+ }, "strip", z.ZodTypeAny, {
364
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
365
+ times: {
366
+ startTime: string;
367
+ endTime: string;
368
+ }[];
369
+ }, {
370
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
371
+ times: {
372
+ startTime: string;
373
+ endTime: string;
374
+ }[];
375
+ }>, "many">;
376
+ deliveryTimeSettings: z.ZodArray<z.ZodObject<{
377
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
378
+ times: z.ZodArray<z.ZodObject<{
379
+ startTime: z.ZodString;
380
+ endTime: z.ZodString;
381
+ availableCouriers: z.ZodNumber;
382
+ }, "strip", z.ZodTypeAny, {
383
+ startTime: string;
384
+ endTime: string;
385
+ availableCouriers: number;
386
+ }, {
387
+ startTime: string;
388
+ endTime: string;
389
+ availableCouriers: number;
390
+ }>, "many">;
391
+ }, "strip", z.ZodTypeAny, {
392
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
393
+ times: {
394
+ startTime: string;
395
+ endTime: string;
396
+ availableCouriers: number;
397
+ }[];
398
+ }, {
399
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
400
+ times: {
401
+ startTime: string;
402
+ endTime: string;
403
+ availableCouriers: number;
404
+ }[];
405
+ }>, "many">;
406
+ takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
407
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
408
+ times: z.ZodArray<z.ZodObject<{
409
+ startTime: z.ZodString;
410
+ endTime: z.ZodString;
411
+ }, "strip", z.ZodTypeAny, {
412
+ startTime: string;
413
+ endTime: string;
414
+ }, {
415
+ startTime: string;
416
+ endTime: string;
417
+ }>, "many">;
418
+ }, "strip", z.ZodTypeAny, {
419
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
420
+ times: {
421
+ startTime: string;
422
+ endTime: string;
423
+ }[];
424
+ }, {
425
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
426
+ times: {
427
+ startTime: string;
428
+ endTime: string;
429
+ }[];
430
+ }>, "many">;
431
+ numberOfCouriers: z.ZodNumber;
432
+ }, "strip", z.ZodTypeAny, {
433
+ id: string;
434
+ name: string;
435
+ address: {
436
+ line1: string;
437
+ city: string;
438
+ region: string;
439
+ postalCode: string;
440
+ country: string;
441
+ line2?: string | undefined;
442
+ };
443
+ timezone: string;
444
+ location: {
445
+ latitude: number;
446
+ longitude: number;
447
+ };
448
+ capabilities: "DELIVERY_OPTIMIZATION"[];
449
+ openingStatus: "OPEN" | "CLOSED";
450
+ createdAt: string;
451
+ updatedAt: string;
452
+ company: string;
453
+ settings: {
454
+ menuLocales: any[];
455
+ deliveryTimesInterval: number;
456
+ takeAwayTimesInterval: number;
457
+ numberMinutesToPrecessFirstOrder: number;
458
+ numberMinutesTimeChangeTolerance: number;
459
+ maxCountableItemsPerBundle: number;
460
+ maxOrdersPerBundle: number;
461
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
462
+ numberMinutesBeforeAutoAcceptOrder: number;
463
+ };
464
+ openingTimeSettings: {
465
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
466
+ times: {
467
+ startTime: string;
468
+ endTime: string;
469
+ }[];
470
+ }[];
471
+ deliveryTimeSettings: {
472
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
473
+ times: {
474
+ startTime: string;
475
+ endTime: string;
476
+ availableCouriers: number;
477
+ }[];
478
+ }[];
479
+ takeAwayTimeSettings: {
480
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
481
+ times: {
482
+ startTime: string;
483
+ endTime: string;
484
+ }[];
485
+ }[];
486
+ numberOfCouriers: number;
487
+ }, {
488
+ id: string;
489
+ name: string;
490
+ address: {
491
+ line1: string;
492
+ city: string;
493
+ region: string;
494
+ postalCode: string;
495
+ country: string;
496
+ line2?: string | undefined;
497
+ };
498
+ timezone: string;
499
+ location: {
500
+ latitude: number;
501
+ longitude: number;
502
+ };
503
+ capabilities: "DELIVERY_OPTIMIZATION"[];
504
+ openingStatus: "OPEN" | "CLOSED";
505
+ createdAt: string;
506
+ updatedAt: string;
507
+ company: string;
508
+ settings: {
509
+ menuLocales: any[];
510
+ deliveryTimesInterval: number;
511
+ takeAwayTimesInterval: number;
512
+ numberMinutesToPrecessFirstOrder: number;
513
+ numberMinutesTimeChangeTolerance: number;
514
+ maxCountableItemsPerBundle: number;
515
+ maxOrdersPerBundle: number;
516
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
517
+ numberMinutesBeforeAutoAcceptOrder: number;
518
+ };
519
+ openingTimeSettings: {
520
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
521
+ times: {
522
+ startTime: string;
523
+ endTime: string;
524
+ }[];
525
+ }[];
526
+ deliveryTimeSettings: {
527
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
528
+ times: {
529
+ startTime: string;
530
+ endTime: string;
531
+ availableCouriers: number;
532
+ }[];
533
+ }[];
534
+ takeAwayTimeSettings: {
535
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
536
+ times: {
537
+ startTime: string;
538
+ endTime: string;
539
+ }[];
540
+ }[];
541
+ numberOfCouriers: number;
542
+ }>;
543
+ type PointOfSaleDetails = z.infer<typeof pointOfSaleDetailsSchema>;
544
+ declare const writablePointOfSaleSchema: z.ZodObject<Pick<{
545
+ id: z.ZodString;
546
+ name: z.ZodString;
547
+ address: z.ZodObject<{
548
+ line1: z.ZodString;
549
+ line2: z.ZodOptional<z.ZodString>;
550
+ city: z.ZodString;
551
+ region: z.ZodString;
552
+ postalCode: z.ZodString;
553
+ country: z.ZodString;
554
+ }, "strip", z.ZodTypeAny, {
555
+ line1: string;
556
+ city: string;
557
+ region: string;
558
+ postalCode: string;
559
+ country: string;
560
+ line2?: string | undefined;
561
+ }, {
562
+ line1: string;
563
+ city: string;
564
+ region: string;
565
+ postalCode: string;
566
+ country: string;
567
+ line2?: string | undefined;
568
+ }>;
569
+ timezone: z.ZodString;
570
+ location: z.ZodObject<{
571
+ latitude: z.ZodNumber;
572
+ longitude: z.ZodNumber;
573
+ }, "strip", z.ZodTypeAny, {
574
+ latitude: number;
575
+ longitude: number;
576
+ }, {
577
+ latitude: number;
578
+ longitude: number;
579
+ }>;
580
+ capabilities: z.ZodArray<z.ZodEnum<["DELIVERY_OPTIMIZATION"]>, "many">;
581
+ openingStatus: z.ZodEnum<["OPEN", "CLOSED"]>;
582
+ createdAt: z.ZodEffects<z.ZodString, string, string>;
583
+ updatedAt: z.ZodEffects<z.ZodString, string, string>;
584
+ } & {
585
+ company: z.ZodString;
586
+ settings: z.ZodObject<{
587
+ menuLocales: z.ZodArray<z.ZodAny, "many">;
588
+ deliveryTimesInterval: z.ZodEffects<z.ZodNumber, number, number>;
589
+ takeAwayTimesInterval: z.ZodEffects<z.ZodNumber, number, number>;
590
+ numberMinutesToPrecessFirstOrder: z.ZodNumber;
591
+ numberMinutesTimeChangeTolerance: z.ZodNumber;
592
+ maxCountableItemsPerBundle: z.ZodNumber;
593
+ maxOrdersPerBundle: z.ZodNumber;
594
+ preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
595
+ numberMinutesBeforeAutoAcceptOrder: z.ZodEffects<z.ZodNumber, number, number>;
596
+ }, "strip", z.ZodTypeAny, {
597
+ menuLocales: any[];
598
+ deliveryTimesInterval: number;
599
+ takeAwayTimesInterval: number;
600
+ numberMinutesToPrecessFirstOrder: number;
601
+ numberMinutesTimeChangeTolerance: number;
602
+ maxCountableItemsPerBundle: number;
603
+ maxOrdersPerBundle: number;
604
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
605
+ numberMinutesBeforeAutoAcceptOrder: number;
606
+ }, {
607
+ menuLocales: any[];
608
+ deliveryTimesInterval: number;
609
+ takeAwayTimesInterval: number;
610
+ numberMinutesToPrecessFirstOrder: number;
611
+ numberMinutesTimeChangeTolerance: number;
612
+ maxCountableItemsPerBundle: number;
613
+ maxOrdersPerBundle: number;
614
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
615
+ numberMinutesBeforeAutoAcceptOrder: number;
616
+ }>;
617
+ openingTimeSettings: z.ZodArray<z.ZodObject<{
618
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
619
+ times: z.ZodArray<z.ZodObject<{
620
+ startTime: z.ZodString;
621
+ endTime: z.ZodString;
622
+ }, "strip", z.ZodTypeAny, {
623
+ startTime: string;
624
+ endTime: string;
625
+ }, {
626
+ startTime: string;
627
+ endTime: string;
628
+ }>, "many">;
629
+ }, "strip", z.ZodTypeAny, {
630
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
631
+ times: {
632
+ startTime: string;
633
+ endTime: string;
634
+ }[];
635
+ }, {
636
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
637
+ times: {
638
+ startTime: string;
639
+ endTime: string;
640
+ }[];
641
+ }>, "many">;
642
+ deliveryTimeSettings: z.ZodArray<z.ZodObject<{
643
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
644
+ times: z.ZodArray<z.ZodObject<{
645
+ startTime: z.ZodString;
646
+ endTime: z.ZodString;
647
+ availableCouriers: z.ZodNumber;
648
+ }, "strip", z.ZodTypeAny, {
649
+ startTime: string;
650
+ endTime: string;
651
+ availableCouriers: number;
652
+ }, {
653
+ startTime: string;
654
+ endTime: string;
655
+ availableCouriers: number;
656
+ }>, "many">;
657
+ }, "strip", z.ZodTypeAny, {
658
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
659
+ times: {
660
+ startTime: string;
661
+ endTime: string;
662
+ availableCouriers: number;
663
+ }[];
664
+ }, {
665
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
666
+ times: {
667
+ startTime: string;
668
+ endTime: string;
669
+ availableCouriers: number;
670
+ }[];
671
+ }>, "many">;
672
+ takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
673
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
674
+ times: z.ZodArray<z.ZodObject<{
675
+ startTime: z.ZodString;
676
+ endTime: z.ZodString;
677
+ }, "strip", z.ZodTypeAny, {
678
+ startTime: string;
679
+ endTime: string;
680
+ }, {
681
+ startTime: string;
682
+ endTime: string;
683
+ }>, "many">;
684
+ }, "strip", z.ZodTypeAny, {
685
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
686
+ times: {
687
+ startTime: string;
688
+ endTime: string;
689
+ }[];
690
+ }, {
691
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
692
+ times: {
693
+ startTime: string;
694
+ endTime: string;
695
+ }[];
696
+ }>, "many">;
697
+ numberOfCouriers: z.ZodNumber;
698
+ }, "name" | "address" | "timezone" | "capabilities" | "openingStatus" | "settings" | "openingTimeSettings" | "deliveryTimeSettings" | "takeAwayTimeSettings">, "strip", z.ZodTypeAny, {
699
+ name: string;
700
+ address: {
701
+ line1: string;
702
+ city: string;
703
+ region: string;
704
+ postalCode: string;
705
+ country: string;
706
+ line2?: string | undefined;
707
+ };
708
+ timezone: string;
709
+ capabilities: "DELIVERY_OPTIMIZATION"[];
710
+ openingStatus: "OPEN" | "CLOSED";
711
+ settings: {
712
+ menuLocales: any[];
713
+ deliveryTimesInterval: number;
714
+ takeAwayTimesInterval: number;
715
+ numberMinutesToPrecessFirstOrder: number;
716
+ numberMinutesTimeChangeTolerance: number;
717
+ maxCountableItemsPerBundle: number;
718
+ maxOrdersPerBundle: number;
719
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
720
+ numberMinutesBeforeAutoAcceptOrder: number;
721
+ };
722
+ openingTimeSettings: {
723
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
724
+ times: {
725
+ startTime: string;
726
+ endTime: string;
727
+ }[];
728
+ }[];
729
+ deliveryTimeSettings: {
730
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
731
+ times: {
732
+ startTime: string;
733
+ endTime: string;
734
+ availableCouriers: number;
735
+ }[];
736
+ }[];
737
+ takeAwayTimeSettings: {
738
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
739
+ times: {
740
+ startTime: string;
741
+ endTime: string;
742
+ }[];
743
+ }[];
744
+ }, {
745
+ name: string;
746
+ address: {
747
+ line1: string;
748
+ city: string;
749
+ region: string;
750
+ postalCode: string;
751
+ country: string;
752
+ line2?: string | undefined;
753
+ };
754
+ timezone: string;
755
+ capabilities: "DELIVERY_OPTIMIZATION"[];
756
+ openingStatus: "OPEN" | "CLOSED";
757
+ settings: {
758
+ menuLocales: any[];
759
+ deliveryTimesInterval: number;
760
+ takeAwayTimesInterval: number;
761
+ numberMinutesToPrecessFirstOrder: number;
762
+ numberMinutesTimeChangeTolerance: number;
763
+ maxCountableItemsPerBundle: number;
764
+ maxOrdersPerBundle: number;
765
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
766
+ numberMinutesBeforeAutoAcceptOrder: number;
767
+ };
768
+ openingTimeSettings: {
769
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
770
+ times: {
771
+ startTime: string;
772
+ endTime: string;
773
+ }[];
774
+ }[];
775
+ deliveryTimeSettings: {
776
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
777
+ times: {
778
+ startTime: string;
779
+ endTime: string;
780
+ availableCouriers: number;
781
+ }[];
782
+ }[];
783
+ takeAwayTimeSettings: {
784
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
785
+ times: {
786
+ startTime: string;
787
+ endTime: string;
788
+ }[];
789
+ }[];
790
+ }>;
791
+ type WritablePointOfSale = z.infer<typeof writablePointOfSaleSchema>;
792
+ declare const writableCreatePointOfSaleSchema: z.ZodObject<{
793
+ company: z.ZodString;
794
+ name: z.ZodString;
795
+ address: z.ZodObject<{
796
+ line1: z.ZodString;
797
+ line2: z.ZodOptional<z.ZodString>;
798
+ city: z.ZodString;
799
+ region: z.ZodString;
800
+ postalCode: z.ZodString;
801
+ country: z.ZodString;
802
+ }, "strip", z.ZodTypeAny, {
803
+ line1: string;
804
+ city: string;
805
+ region: string;
806
+ postalCode: string;
807
+ country: string;
808
+ line2?: string | undefined;
809
+ }, {
810
+ line1: string;
811
+ city: string;
812
+ region: string;
813
+ postalCode: string;
814
+ country: string;
815
+ line2?: string | undefined;
816
+ }>;
817
+ timezone: z.ZodString;
818
+ capabilities: z.ZodArray<z.ZodEnum<["DELIVERY_OPTIMIZATION"]>, "many">;
819
+ openingStatus: z.ZodEnum<["OPEN", "CLOSED"]>;
820
+ settings: z.ZodObject<{
821
+ menuLocales: z.ZodArray<z.ZodAny, "many">;
822
+ deliveryTimesInterval: z.ZodEffects<z.ZodNumber, number, number>;
823
+ takeAwayTimesInterval: z.ZodEffects<z.ZodNumber, number, number>;
824
+ numberMinutesToPrecessFirstOrder: z.ZodNumber;
825
+ numberMinutesTimeChangeTolerance: z.ZodNumber;
826
+ maxCountableItemsPerBundle: z.ZodNumber;
827
+ maxOrdersPerBundle: z.ZodNumber;
828
+ preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
829
+ numberMinutesBeforeAutoAcceptOrder: z.ZodEffects<z.ZodNumber, number, number>;
830
+ }, "strip", z.ZodTypeAny, {
831
+ menuLocales: any[];
832
+ deliveryTimesInterval: number;
833
+ takeAwayTimesInterval: number;
834
+ numberMinutesToPrecessFirstOrder: number;
835
+ numberMinutesTimeChangeTolerance: number;
836
+ maxCountableItemsPerBundle: number;
837
+ maxOrdersPerBundle: number;
838
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
839
+ numberMinutesBeforeAutoAcceptOrder: number;
840
+ }, {
841
+ menuLocales: any[];
842
+ deliveryTimesInterval: number;
843
+ takeAwayTimesInterval: number;
844
+ numberMinutesToPrecessFirstOrder: number;
845
+ numberMinutesTimeChangeTolerance: number;
846
+ maxCountableItemsPerBundle: number;
847
+ maxOrdersPerBundle: number;
848
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
849
+ numberMinutesBeforeAutoAcceptOrder: number;
850
+ }>;
851
+ openingTimeSettings: z.ZodArray<z.ZodObject<{
852
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
853
+ times: z.ZodArray<z.ZodObject<{
854
+ startTime: z.ZodString;
855
+ endTime: z.ZodString;
856
+ }, "strip", z.ZodTypeAny, {
857
+ startTime: string;
858
+ endTime: string;
859
+ }, {
860
+ startTime: string;
861
+ endTime: string;
862
+ }>, "many">;
863
+ }, "strip", z.ZodTypeAny, {
864
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
865
+ times: {
866
+ startTime: string;
867
+ endTime: string;
868
+ }[];
869
+ }, {
870
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
871
+ times: {
872
+ startTime: string;
873
+ endTime: string;
874
+ }[];
875
+ }>, "many">;
876
+ deliveryTimeSettings: z.ZodArray<z.ZodObject<{
877
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
878
+ times: z.ZodArray<z.ZodObject<{
879
+ startTime: z.ZodString;
880
+ endTime: z.ZodString;
881
+ availableCouriers: z.ZodNumber;
882
+ }, "strip", z.ZodTypeAny, {
883
+ startTime: string;
884
+ endTime: string;
885
+ availableCouriers: number;
886
+ }, {
887
+ startTime: string;
888
+ endTime: string;
889
+ availableCouriers: number;
890
+ }>, "many">;
891
+ }, "strip", z.ZodTypeAny, {
892
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
893
+ times: {
894
+ startTime: string;
895
+ endTime: string;
896
+ availableCouriers: number;
897
+ }[];
898
+ }, {
899
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
900
+ times: {
901
+ startTime: string;
902
+ endTime: string;
903
+ availableCouriers: number;
904
+ }[];
905
+ }>, "many">;
906
+ takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
907
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
908
+ times: z.ZodArray<z.ZodObject<{
909
+ startTime: z.ZodString;
910
+ endTime: z.ZodString;
911
+ }, "strip", z.ZodTypeAny, {
912
+ startTime: string;
913
+ endTime: string;
914
+ }, {
915
+ startTime: string;
916
+ endTime: string;
917
+ }>, "many">;
918
+ }, "strip", z.ZodTypeAny, {
919
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
920
+ times: {
921
+ startTime: string;
922
+ endTime: string;
923
+ }[];
924
+ }, {
925
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
926
+ times: {
927
+ startTime: string;
928
+ endTime: string;
929
+ }[];
930
+ }>, "many">;
931
+ }, "strip", z.ZodTypeAny, {
932
+ name: string;
933
+ address: {
934
+ line1: string;
935
+ city: string;
936
+ region: string;
937
+ postalCode: string;
938
+ country: string;
939
+ line2?: string | undefined;
940
+ };
941
+ timezone: string;
942
+ capabilities: "DELIVERY_OPTIMIZATION"[];
943
+ openingStatus: "OPEN" | "CLOSED";
944
+ company: string;
945
+ settings: {
946
+ menuLocales: any[];
947
+ deliveryTimesInterval: number;
948
+ takeAwayTimesInterval: number;
949
+ numberMinutesToPrecessFirstOrder: number;
950
+ numberMinutesTimeChangeTolerance: number;
951
+ maxCountableItemsPerBundle: number;
952
+ maxOrdersPerBundle: number;
953
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
954
+ numberMinutesBeforeAutoAcceptOrder: number;
955
+ };
956
+ openingTimeSettings: {
957
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
958
+ times: {
959
+ startTime: string;
960
+ endTime: string;
961
+ }[];
962
+ }[];
963
+ deliveryTimeSettings: {
964
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
965
+ times: {
966
+ startTime: string;
967
+ endTime: string;
968
+ availableCouriers: number;
969
+ }[];
970
+ }[];
971
+ takeAwayTimeSettings: {
972
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
973
+ times: {
974
+ startTime: string;
975
+ endTime: string;
976
+ }[];
977
+ }[];
978
+ }, {
979
+ name: string;
980
+ address: {
981
+ line1: string;
982
+ city: string;
983
+ region: string;
984
+ postalCode: string;
985
+ country: string;
986
+ line2?: string | undefined;
987
+ };
988
+ timezone: string;
989
+ capabilities: "DELIVERY_OPTIMIZATION"[];
990
+ openingStatus: "OPEN" | "CLOSED";
991
+ company: string;
992
+ settings: {
993
+ menuLocales: any[];
994
+ deliveryTimesInterval: number;
995
+ takeAwayTimesInterval: number;
996
+ numberMinutesToPrecessFirstOrder: number;
997
+ numberMinutesTimeChangeTolerance: number;
998
+ maxCountableItemsPerBundle: number;
999
+ maxOrdersPerBundle: number;
1000
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
1001
+ numberMinutesBeforeAutoAcceptOrder: number;
1002
+ };
1003
+ openingTimeSettings: {
1004
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1005
+ times: {
1006
+ startTime: string;
1007
+ endTime: string;
1008
+ }[];
1009
+ }[];
1010
+ deliveryTimeSettings: {
1011
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1012
+ times: {
1013
+ startTime: string;
1014
+ endTime: string;
1015
+ availableCouriers: number;
1016
+ }[];
1017
+ }[];
1018
+ takeAwayTimeSettings: {
1019
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1020
+ times: {
1021
+ startTime: string;
1022
+ endTime: string;
1023
+ }[];
1024
+ }[];
1025
+ }>;
1026
+ type WritableCreatePointOfSale = z.infer<typeof writableCreatePointOfSaleSchema>;
1027
+
1028
+ declare const createPointOfSaleInputSchema: z.ZodObject<{
1029
+ company: z.ZodString;
1030
+ name: z.ZodString;
1031
+ address: z.ZodObject<{
1032
+ line1: z.ZodString;
1033
+ line2: z.ZodOptional<z.ZodString>;
1034
+ city: z.ZodString;
1035
+ region: z.ZodString;
1036
+ postalCode: z.ZodString;
1037
+ country: z.ZodString;
1038
+ }, "strip", z.ZodTypeAny, {
1039
+ line1: string;
1040
+ city: string;
1041
+ region: string;
1042
+ postalCode: string;
1043
+ country: string;
1044
+ line2?: string | undefined;
1045
+ }, {
1046
+ line1: string;
1047
+ city: string;
1048
+ region: string;
1049
+ postalCode: string;
1050
+ country: string;
1051
+ line2?: string | undefined;
1052
+ }>;
1053
+ timezone: z.ZodString;
1054
+ capabilities: z.ZodArray<z.ZodEnum<["DELIVERY_OPTIMIZATION"]>, "many">;
1055
+ openingStatus: z.ZodEnum<["OPEN", "CLOSED"]>;
1056
+ settings: z.ZodObject<{
1057
+ menuLocales: z.ZodArray<z.ZodAny, "many">;
1058
+ deliveryTimesInterval: z.ZodEffects<z.ZodNumber, number, number>;
1059
+ takeAwayTimesInterval: z.ZodEffects<z.ZodNumber, number, number>;
1060
+ numberMinutesToPrecessFirstOrder: z.ZodNumber;
1061
+ numberMinutesTimeChangeTolerance: z.ZodNumber;
1062
+ maxCountableItemsPerBundle: z.ZodNumber;
1063
+ maxOrdersPerBundle: z.ZodNumber;
1064
+ preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
1065
+ numberMinutesBeforeAutoAcceptOrder: z.ZodEffects<z.ZodNumber, number, number>;
1066
+ }, "strip", z.ZodTypeAny, {
1067
+ menuLocales: any[];
1068
+ deliveryTimesInterval: number;
1069
+ takeAwayTimesInterval: number;
1070
+ numberMinutesToPrecessFirstOrder: number;
1071
+ numberMinutesTimeChangeTolerance: number;
1072
+ maxCountableItemsPerBundle: number;
1073
+ maxOrdersPerBundle: number;
1074
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
1075
+ numberMinutesBeforeAutoAcceptOrder: number;
1076
+ }, {
1077
+ menuLocales: any[];
1078
+ deliveryTimesInterval: number;
1079
+ takeAwayTimesInterval: number;
1080
+ numberMinutesToPrecessFirstOrder: number;
1081
+ numberMinutesTimeChangeTolerance: number;
1082
+ maxCountableItemsPerBundle: number;
1083
+ maxOrdersPerBundle: number;
1084
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
1085
+ numberMinutesBeforeAutoAcceptOrder: number;
1086
+ }>;
1087
+ openingTimeSettings: z.ZodArray<z.ZodObject<{
1088
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
1089
+ times: z.ZodArray<z.ZodObject<{
1090
+ startTime: z.ZodString;
1091
+ endTime: z.ZodString;
1092
+ }, "strip", z.ZodTypeAny, {
1093
+ startTime: string;
1094
+ endTime: string;
1095
+ }, {
1096
+ startTime: string;
1097
+ endTime: string;
1098
+ }>, "many">;
1099
+ }, "strip", z.ZodTypeAny, {
1100
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1101
+ times: {
1102
+ startTime: string;
1103
+ endTime: string;
1104
+ }[];
1105
+ }, {
1106
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1107
+ times: {
1108
+ startTime: string;
1109
+ endTime: string;
1110
+ }[];
1111
+ }>, "many">;
1112
+ deliveryTimeSettings: z.ZodArray<z.ZodObject<{
1113
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
1114
+ times: z.ZodArray<z.ZodObject<{
1115
+ startTime: z.ZodString;
1116
+ endTime: z.ZodString;
1117
+ availableCouriers: z.ZodNumber;
1118
+ }, "strip", z.ZodTypeAny, {
1119
+ startTime: string;
1120
+ endTime: string;
1121
+ availableCouriers: number;
1122
+ }, {
1123
+ startTime: string;
1124
+ endTime: string;
1125
+ availableCouriers: number;
1126
+ }>, "many">;
1127
+ }, "strip", z.ZodTypeAny, {
1128
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1129
+ times: {
1130
+ startTime: string;
1131
+ endTime: string;
1132
+ availableCouriers: number;
1133
+ }[];
1134
+ }, {
1135
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1136
+ times: {
1137
+ startTime: string;
1138
+ endTime: string;
1139
+ availableCouriers: number;
1140
+ }[];
1141
+ }>, "many">;
1142
+ takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
1143
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
1144
+ times: z.ZodArray<z.ZodObject<{
1145
+ startTime: z.ZodString;
1146
+ endTime: z.ZodString;
1147
+ }, "strip", z.ZodTypeAny, {
1148
+ startTime: string;
1149
+ endTime: string;
1150
+ }, {
1151
+ startTime: string;
1152
+ endTime: string;
1153
+ }>, "many">;
1154
+ }, "strip", z.ZodTypeAny, {
1155
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1156
+ times: {
1157
+ startTime: string;
1158
+ endTime: string;
1159
+ }[];
1160
+ }, {
1161
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1162
+ times: {
1163
+ startTime: string;
1164
+ endTime: string;
1165
+ }[];
1166
+ }>, "many">;
1167
+ }, "strip", z.ZodTypeAny, {
1168
+ name: string;
1169
+ address: {
1170
+ line1: string;
1171
+ city: string;
1172
+ region: string;
1173
+ postalCode: string;
1174
+ country: string;
1175
+ line2?: string | undefined;
1176
+ };
1177
+ timezone: string;
1178
+ capabilities: "DELIVERY_OPTIMIZATION"[];
1179
+ openingStatus: "OPEN" | "CLOSED";
1180
+ company: string;
1181
+ settings: {
1182
+ menuLocales: any[];
1183
+ deliveryTimesInterval: number;
1184
+ takeAwayTimesInterval: number;
1185
+ numberMinutesToPrecessFirstOrder: number;
1186
+ numberMinutesTimeChangeTolerance: number;
1187
+ maxCountableItemsPerBundle: number;
1188
+ maxOrdersPerBundle: number;
1189
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
1190
+ numberMinutesBeforeAutoAcceptOrder: number;
1191
+ };
1192
+ openingTimeSettings: {
1193
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1194
+ times: {
1195
+ startTime: string;
1196
+ endTime: string;
1197
+ }[];
1198
+ }[];
1199
+ deliveryTimeSettings: {
1200
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1201
+ times: {
1202
+ startTime: string;
1203
+ endTime: string;
1204
+ availableCouriers: number;
1205
+ }[];
1206
+ }[];
1207
+ takeAwayTimeSettings: {
1208
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1209
+ times: {
1210
+ startTime: string;
1211
+ endTime: string;
1212
+ }[];
1213
+ }[];
1214
+ }, {
1215
+ name: string;
1216
+ address: {
1217
+ line1: string;
1218
+ city: string;
1219
+ region: string;
1220
+ postalCode: string;
1221
+ country: string;
1222
+ line2?: string | undefined;
1223
+ };
1224
+ timezone: string;
1225
+ capabilities: "DELIVERY_OPTIMIZATION"[];
1226
+ openingStatus: "OPEN" | "CLOSED";
1227
+ company: string;
1228
+ settings: {
1229
+ menuLocales: any[];
1230
+ deliveryTimesInterval: number;
1231
+ takeAwayTimesInterval: number;
1232
+ numberMinutesToPrecessFirstOrder: number;
1233
+ numberMinutesTimeChangeTolerance: number;
1234
+ maxCountableItemsPerBundle: number;
1235
+ maxOrdersPerBundle: number;
1236
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
1237
+ numberMinutesBeforeAutoAcceptOrder: number;
1238
+ };
1239
+ openingTimeSettings: {
1240
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1241
+ times: {
1242
+ startTime: string;
1243
+ endTime: string;
1244
+ }[];
1245
+ }[];
1246
+ deliveryTimeSettings: {
1247
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1248
+ times: {
1249
+ startTime: string;
1250
+ endTime: string;
1251
+ availableCouriers: number;
1252
+ }[];
1253
+ }[];
1254
+ takeAwayTimeSettings: {
1255
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1256
+ times: {
1257
+ startTime: string;
1258
+ endTime: string;
1259
+ }[];
1260
+ }[];
1261
+ }>;
1262
+ type CreatePointOfSaleInput = z.infer<typeof createPointOfSaleInputSchema>;
1263
+ declare const createPointOfSaleResponseSchema: z.ZodObject<{
1264
+ id: z.ZodString;
1265
+ name: z.ZodString;
1266
+ address: z.ZodObject<{
1267
+ line1: z.ZodString;
1268
+ line2: z.ZodOptional<z.ZodString>;
1269
+ city: z.ZodString;
1270
+ region: z.ZodString;
1271
+ postalCode: z.ZodString;
1272
+ country: z.ZodString;
1273
+ }, "strip", z.ZodTypeAny, {
1274
+ line1: string;
1275
+ city: string;
1276
+ region: string;
1277
+ postalCode: string;
1278
+ country: string;
1279
+ line2?: string | undefined;
1280
+ }, {
1281
+ line1: string;
1282
+ city: string;
1283
+ region: string;
1284
+ postalCode: string;
1285
+ country: string;
1286
+ line2?: string | undefined;
1287
+ }>;
1288
+ timezone: z.ZodString;
1289
+ location: z.ZodObject<{
1290
+ latitude: z.ZodNumber;
1291
+ longitude: z.ZodNumber;
1292
+ }, "strip", z.ZodTypeAny, {
1293
+ latitude: number;
1294
+ longitude: number;
1295
+ }, {
1296
+ latitude: number;
1297
+ longitude: number;
1298
+ }>;
1299
+ capabilities: z.ZodArray<z.ZodEnum<["DELIVERY_OPTIMIZATION"]>, "many">;
1300
+ openingStatus: z.ZodEnum<["OPEN", "CLOSED"]>;
1301
+ createdAt: z.ZodEffects<z.ZodString, string, string>;
1302
+ updatedAt: z.ZodEffects<z.ZodString, string, string>;
1303
+ } & {
1304
+ company: z.ZodString;
1305
+ settings: z.ZodObject<{
1306
+ menuLocales: z.ZodArray<z.ZodAny, "many">;
1307
+ deliveryTimesInterval: z.ZodEffects<z.ZodNumber, number, number>;
1308
+ takeAwayTimesInterval: z.ZodEffects<z.ZodNumber, number, number>;
1309
+ numberMinutesToPrecessFirstOrder: z.ZodNumber;
1310
+ numberMinutesTimeChangeTolerance: z.ZodNumber;
1311
+ maxCountableItemsPerBundle: z.ZodNumber;
1312
+ maxOrdersPerBundle: z.ZodNumber;
1313
+ preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
1314
+ numberMinutesBeforeAutoAcceptOrder: z.ZodEffects<z.ZodNumber, number, number>;
1315
+ }, "strip", z.ZodTypeAny, {
1316
+ menuLocales: any[];
1317
+ deliveryTimesInterval: number;
1318
+ takeAwayTimesInterval: number;
1319
+ numberMinutesToPrecessFirstOrder: number;
1320
+ numberMinutesTimeChangeTolerance: number;
1321
+ maxCountableItemsPerBundle: number;
1322
+ maxOrdersPerBundle: number;
1323
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
1324
+ numberMinutesBeforeAutoAcceptOrder: number;
1325
+ }, {
1326
+ menuLocales: any[];
1327
+ deliveryTimesInterval: number;
1328
+ takeAwayTimesInterval: number;
1329
+ numberMinutesToPrecessFirstOrder: number;
1330
+ numberMinutesTimeChangeTolerance: number;
1331
+ maxCountableItemsPerBundle: number;
1332
+ maxOrdersPerBundle: number;
1333
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
1334
+ numberMinutesBeforeAutoAcceptOrder: number;
1335
+ }>;
1336
+ openingTimeSettings: z.ZodArray<z.ZodObject<{
1337
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
1338
+ times: z.ZodArray<z.ZodObject<{
1339
+ startTime: z.ZodString;
1340
+ endTime: z.ZodString;
1341
+ }, "strip", z.ZodTypeAny, {
1342
+ startTime: string;
1343
+ endTime: string;
1344
+ }, {
1345
+ startTime: string;
1346
+ endTime: string;
1347
+ }>, "many">;
1348
+ }, "strip", z.ZodTypeAny, {
1349
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1350
+ times: {
1351
+ startTime: string;
1352
+ endTime: string;
1353
+ }[];
1354
+ }, {
1355
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1356
+ times: {
1357
+ startTime: string;
1358
+ endTime: string;
1359
+ }[];
1360
+ }>, "many">;
1361
+ deliveryTimeSettings: z.ZodArray<z.ZodObject<{
1362
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
1363
+ times: z.ZodArray<z.ZodObject<{
1364
+ startTime: z.ZodString;
1365
+ endTime: z.ZodString;
1366
+ availableCouriers: z.ZodNumber;
1367
+ }, "strip", z.ZodTypeAny, {
1368
+ startTime: string;
1369
+ endTime: string;
1370
+ availableCouriers: number;
1371
+ }, {
1372
+ startTime: string;
1373
+ endTime: string;
1374
+ availableCouriers: number;
1375
+ }>, "many">;
1376
+ }, "strip", z.ZodTypeAny, {
1377
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1378
+ times: {
1379
+ startTime: string;
1380
+ endTime: string;
1381
+ availableCouriers: number;
1382
+ }[];
1383
+ }, {
1384
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1385
+ times: {
1386
+ startTime: string;
1387
+ endTime: string;
1388
+ availableCouriers: number;
1389
+ }[];
1390
+ }>, "many">;
1391
+ takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
1392
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
1393
+ times: z.ZodArray<z.ZodObject<{
1394
+ startTime: z.ZodString;
1395
+ endTime: z.ZodString;
1396
+ }, "strip", z.ZodTypeAny, {
1397
+ startTime: string;
1398
+ endTime: string;
1399
+ }, {
1400
+ startTime: string;
1401
+ endTime: string;
1402
+ }>, "many">;
1403
+ }, "strip", z.ZodTypeAny, {
1404
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1405
+ times: {
1406
+ startTime: string;
1407
+ endTime: string;
1408
+ }[];
1409
+ }, {
1410
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1411
+ times: {
1412
+ startTime: string;
1413
+ endTime: string;
1414
+ }[];
1415
+ }>, "many">;
1416
+ numberOfCouriers: z.ZodNumber;
1417
+ }, "strip", z.ZodTypeAny, {
1418
+ id: string;
1419
+ name: string;
1420
+ address: {
1421
+ line1: string;
1422
+ city: string;
1423
+ region: string;
1424
+ postalCode: string;
1425
+ country: string;
1426
+ line2?: string | undefined;
1427
+ };
1428
+ timezone: string;
1429
+ location: {
1430
+ latitude: number;
1431
+ longitude: number;
1432
+ };
1433
+ capabilities: "DELIVERY_OPTIMIZATION"[];
1434
+ openingStatus: "OPEN" | "CLOSED";
1435
+ createdAt: string;
1436
+ updatedAt: string;
1437
+ company: string;
1438
+ settings: {
1439
+ menuLocales: any[];
1440
+ deliveryTimesInterval: number;
1441
+ takeAwayTimesInterval: number;
1442
+ numberMinutesToPrecessFirstOrder: number;
1443
+ numberMinutesTimeChangeTolerance: number;
1444
+ maxCountableItemsPerBundle: number;
1445
+ maxOrdersPerBundle: number;
1446
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
1447
+ numberMinutesBeforeAutoAcceptOrder: number;
1448
+ };
1449
+ openingTimeSettings: {
1450
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1451
+ times: {
1452
+ startTime: string;
1453
+ endTime: string;
1454
+ }[];
1455
+ }[];
1456
+ deliveryTimeSettings: {
1457
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1458
+ times: {
1459
+ startTime: string;
1460
+ endTime: string;
1461
+ availableCouriers: number;
1462
+ }[];
1463
+ }[];
1464
+ takeAwayTimeSettings: {
1465
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1466
+ times: {
1467
+ startTime: string;
1468
+ endTime: string;
1469
+ }[];
1470
+ }[];
1471
+ numberOfCouriers: number;
1472
+ }, {
1473
+ id: string;
1474
+ name: string;
1475
+ address: {
1476
+ line1: string;
1477
+ city: string;
1478
+ region: string;
1479
+ postalCode: string;
1480
+ country: string;
1481
+ line2?: string | undefined;
1482
+ };
1483
+ timezone: string;
1484
+ location: {
1485
+ latitude: number;
1486
+ longitude: number;
1487
+ };
1488
+ capabilities: "DELIVERY_OPTIMIZATION"[];
1489
+ openingStatus: "OPEN" | "CLOSED";
1490
+ createdAt: string;
1491
+ updatedAt: string;
1492
+ company: string;
1493
+ settings: {
1494
+ menuLocales: any[];
1495
+ deliveryTimesInterval: number;
1496
+ takeAwayTimesInterval: number;
1497
+ numberMinutesToPrecessFirstOrder: number;
1498
+ numberMinutesTimeChangeTolerance: number;
1499
+ maxCountableItemsPerBundle: number;
1500
+ maxOrdersPerBundle: number;
1501
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
1502
+ numberMinutesBeforeAutoAcceptOrder: number;
1503
+ };
1504
+ openingTimeSettings: {
1505
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1506
+ times: {
1507
+ startTime: string;
1508
+ endTime: string;
1509
+ }[];
1510
+ }[];
1511
+ deliveryTimeSettings: {
1512
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1513
+ times: {
1514
+ startTime: string;
1515
+ endTime: string;
1516
+ availableCouriers: number;
1517
+ }[];
1518
+ }[];
1519
+ takeAwayTimeSettings: {
1520
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1521
+ times: {
1522
+ startTime: string;
1523
+ endTime: string;
1524
+ }[];
1525
+ }[];
1526
+ numberOfCouriers: number;
1527
+ }>;
1528
+ type CreatePointOfSaleResponse = PointOfSaleDetails;
1529
+ declare class CreatePointOfSale extends AbstractApiRequest<CreatePointOfSaleInput, CreatePointOfSaleResponse> {
1530
+ readonly method = "POST";
1531
+ readonly contentType = "application/json";
1532
+ readonly accept = "application/json";
1533
+ readonly inputSchema: z.ZodObject<{
1534
+ company: z.ZodString;
1535
+ name: z.ZodString;
1536
+ address: z.ZodObject<{
1537
+ line1: z.ZodString;
1538
+ line2: z.ZodOptional<z.ZodString>;
1539
+ city: z.ZodString;
1540
+ region: z.ZodString;
1541
+ postalCode: z.ZodString;
1542
+ country: z.ZodString;
1543
+ }, "strip", z.ZodTypeAny, {
1544
+ line1: string;
1545
+ city: string;
1546
+ region: string;
1547
+ postalCode: string;
1548
+ country: string;
1549
+ line2?: string | undefined;
1550
+ }, {
1551
+ line1: string;
1552
+ city: string;
1553
+ region: string;
1554
+ postalCode: string;
1555
+ country: string;
1556
+ line2?: string | undefined;
1557
+ }>;
1558
+ timezone: z.ZodString;
1559
+ capabilities: z.ZodArray<z.ZodEnum<["DELIVERY_OPTIMIZATION"]>, "many">;
1560
+ openingStatus: z.ZodEnum<["OPEN", "CLOSED"]>;
1561
+ settings: z.ZodObject<{
1562
+ menuLocales: z.ZodArray<z.ZodAny, "many">;
1563
+ deliveryTimesInterval: z.ZodEffects<z.ZodNumber, number, number>;
1564
+ takeAwayTimesInterval: z.ZodEffects<z.ZodNumber, number, number>;
1565
+ numberMinutesToPrecessFirstOrder: z.ZodNumber;
1566
+ numberMinutesTimeChangeTolerance: z.ZodNumber;
1567
+ maxCountableItemsPerBundle: z.ZodNumber;
1568
+ maxOrdersPerBundle: z.ZodNumber;
1569
+ preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
1570
+ numberMinutesBeforeAutoAcceptOrder: z.ZodEffects<z.ZodNumber, number, number>;
1571
+ }, "strip", z.ZodTypeAny, {
1572
+ menuLocales: any[];
1573
+ deliveryTimesInterval: number;
1574
+ takeAwayTimesInterval: number;
1575
+ numberMinutesToPrecessFirstOrder: number;
1576
+ numberMinutesTimeChangeTolerance: number;
1577
+ maxCountableItemsPerBundle: number;
1578
+ maxOrdersPerBundle: number;
1579
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
1580
+ numberMinutesBeforeAutoAcceptOrder: number;
1581
+ }, {
1582
+ menuLocales: any[];
1583
+ deliveryTimesInterval: number;
1584
+ takeAwayTimesInterval: number;
1585
+ numberMinutesToPrecessFirstOrder: number;
1586
+ numberMinutesTimeChangeTolerance: number;
1587
+ maxCountableItemsPerBundle: number;
1588
+ maxOrdersPerBundle: number;
1589
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
1590
+ numberMinutesBeforeAutoAcceptOrder: number;
1591
+ }>;
1592
+ openingTimeSettings: z.ZodArray<z.ZodObject<{
1593
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
1594
+ times: z.ZodArray<z.ZodObject<{
1595
+ startTime: z.ZodString;
1596
+ endTime: z.ZodString;
1597
+ }, "strip", z.ZodTypeAny, {
1598
+ startTime: string;
1599
+ endTime: string;
1600
+ }, {
1601
+ startTime: string;
1602
+ endTime: string;
1603
+ }>, "many">;
1604
+ }, "strip", z.ZodTypeAny, {
1605
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1606
+ times: {
1607
+ startTime: string;
1608
+ endTime: string;
1609
+ }[];
1610
+ }, {
1611
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1612
+ times: {
1613
+ startTime: string;
1614
+ endTime: string;
1615
+ }[];
1616
+ }>, "many">;
1617
+ deliveryTimeSettings: z.ZodArray<z.ZodObject<{
1618
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
1619
+ times: z.ZodArray<z.ZodObject<{
1620
+ startTime: z.ZodString;
1621
+ endTime: z.ZodString;
1622
+ availableCouriers: z.ZodNumber;
1623
+ }, "strip", z.ZodTypeAny, {
1624
+ startTime: string;
1625
+ endTime: string;
1626
+ availableCouriers: number;
1627
+ }, {
1628
+ startTime: string;
1629
+ endTime: string;
1630
+ availableCouriers: number;
1631
+ }>, "many">;
1632
+ }, "strip", z.ZodTypeAny, {
1633
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1634
+ times: {
1635
+ startTime: string;
1636
+ endTime: string;
1637
+ availableCouriers: number;
1638
+ }[];
1639
+ }, {
1640
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1641
+ times: {
1642
+ startTime: string;
1643
+ endTime: string;
1644
+ availableCouriers: number;
1645
+ }[];
1646
+ }>, "many">;
1647
+ takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
1648
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
1649
+ times: z.ZodArray<z.ZodObject<{
1650
+ startTime: z.ZodString;
1651
+ endTime: z.ZodString;
1652
+ }, "strip", z.ZodTypeAny, {
1653
+ startTime: string;
1654
+ endTime: string;
1655
+ }, {
1656
+ startTime: string;
1657
+ endTime: string;
1658
+ }>, "many">;
1659
+ }, "strip", z.ZodTypeAny, {
1660
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1661
+ times: {
1662
+ startTime: string;
1663
+ endTime: string;
1664
+ }[];
1665
+ }, {
1666
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1667
+ times: {
1668
+ startTime: string;
1669
+ endTime: string;
1670
+ }[];
1671
+ }>, "many">;
1672
+ }, "strip", z.ZodTypeAny, {
1673
+ name: string;
1674
+ address: {
1675
+ line1: string;
1676
+ city: string;
1677
+ region: string;
1678
+ postalCode: string;
1679
+ country: string;
1680
+ line2?: string | undefined;
1681
+ };
1682
+ timezone: string;
1683
+ capabilities: "DELIVERY_OPTIMIZATION"[];
1684
+ openingStatus: "OPEN" | "CLOSED";
1685
+ company: string;
1686
+ settings: {
1687
+ menuLocales: any[];
1688
+ deliveryTimesInterval: number;
1689
+ takeAwayTimesInterval: number;
1690
+ numberMinutesToPrecessFirstOrder: number;
1691
+ numberMinutesTimeChangeTolerance: number;
1692
+ maxCountableItemsPerBundle: number;
1693
+ maxOrdersPerBundle: number;
1694
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
1695
+ numberMinutesBeforeAutoAcceptOrder: number;
1696
+ };
1697
+ openingTimeSettings: {
1698
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1699
+ times: {
1700
+ startTime: string;
1701
+ endTime: string;
1702
+ }[];
1703
+ }[];
1704
+ deliveryTimeSettings: {
1705
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1706
+ times: {
1707
+ startTime: string;
1708
+ endTime: string;
1709
+ availableCouriers: number;
1710
+ }[];
1711
+ }[];
1712
+ takeAwayTimeSettings: {
1713
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1714
+ times: {
1715
+ startTime: string;
1716
+ endTime: string;
1717
+ }[];
1718
+ }[];
1719
+ }, {
1720
+ name: string;
1721
+ address: {
1722
+ line1: string;
1723
+ city: string;
1724
+ region: string;
1725
+ postalCode: string;
1726
+ country: string;
1727
+ line2?: string | undefined;
1728
+ };
1729
+ timezone: string;
1730
+ capabilities: "DELIVERY_OPTIMIZATION"[];
1731
+ openingStatus: "OPEN" | "CLOSED";
1732
+ company: string;
1733
+ settings: {
1734
+ menuLocales: any[];
1735
+ deliveryTimesInterval: number;
1736
+ takeAwayTimesInterval: number;
1737
+ numberMinutesToPrecessFirstOrder: number;
1738
+ numberMinutesTimeChangeTolerance: number;
1739
+ maxCountableItemsPerBundle: number;
1740
+ maxOrdersPerBundle: number;
1741
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
1742
+ numberMinutesBeforeAutoAcceptOrder: number;
1743
+ };
1744
+ openingTimeSettings: {
1745
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1746
+ times: {
1747
+ startTime: string;
1748
+ endTime: string;
1749
+ }[];
1750
+ }[];
1751
+ deliveryTimeSettings: {
1752
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1753
+ times: {
1754
+ startTime: string;
1755
+ endTime: string;
1756
+ availableCouriers: number;
1757
+ }[];
1758
+ }[];
1759
+ takeAwayTimeSettings: {
1760
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1761
+ times: {
1762
+ startTime: string;
1763
+ endTime: string;
1764
+ }[];
1765
+ }[];
1766
+ }>;
1767
+ readonly outputSchema: z.ZodObject<{
1768
+ id: z.ZodString;
1769
+ name: z.ZodString;
1770
+ address: z.ZodObject<{
1771
+ line1: z.ZodString;
1772
+ line2: z.ZodOptional<z.ZodString>;
1773
+ city: z.ZodString;
1774
+ region: z.ZodString;
1775
+ postalCode: z.ZodString;
1776
+ country: z.ZodString;
1777
+ }, "strip", z.ZodTypeAny, {
1778
+ line1: string;
1779
+ city: string;
1780
+ region: string;
1781
+ postalCode: string;
1782
+ country: string;
1783
+ line2?: string | undefined;
1784
+ }, {
1785
+ line1: string;
1786
+ city: string;
1787
+ region: string;
1788
+ postalCode: string;
1789
+ country: string;
1790
+ line2?: string | undefined;
1791
+ }>;
1792
+ timezone: z.ZodString;
1793
+ location: z.ZodObject<{
1794
+ latitude: z.ZodNumber;
1795
+ longitude: z.ZodNumber;
1796
+ }, "strip", z.ZodTypeAny, {
1797
+ latitude: number;
1798
+ longitude: number;
1799
+ }, {
1800
+ latitude: number;
1801
+ longitude: number;
1802
+ }>;
1803
+ capabilities: z.ZodArray<z.ZodEnum<["DELIVERY_OPTIMIZATION"]>, "many">;
1804
+ openingStatus: z.ZodEnum<["OPEN", "CLOSED"]>;
1805
+ createdAt: z.ZodEffects<z.ZodString, string, string>;
1806
+ updatedAt: z.ZodEffects<z.ZodString, string, string>;
1807
+ } & {
1808
+ company: z.ZodString;
1809
+ settings: z.ZodObject<{
1810
+ menuLocales: z.ZodArray<z.ZodAny, "many">;
1811
+ deliveryTimesInterval: z.ZodEffects<z.ZodNumber, number, number>;
1812
+ takeAwayTimesInterval: z.ZodEffects<z.ZodNumber, number, number>;
1813
+ numberMinutesToPrecessFirstOrder: z.ZodNumber;
1814
+ numberMinutesTimeChangeTolerance: z.ZodNumber;
1815
+ maxCountableItemsPerBundle: z.ZodNumber;
1816
+ maxOrdersPerBundle: z.ZodNumber;
1817
+ preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
1818
+ numberMinutesBeforeAutoAcceptOrder: z.ZodEffects<z.ZodNumber, number, number>;
1819
+ }, "strip", z.ZodTypeAny, {
1820
+ menuLocales: any[];
1821
+ deliveryTimesInterval: number;
1822
+ takeAwayTimesInterval: number;
1823
+ numberMinutesToPrecessFirstOrder: number;
1824
+ numberMinutesTimeChangeTolerance: number;
1825
+ maxCountableItemsPerBundle: number;
1826
+ maxOrdersPerBundle: number;
1827
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
1828
+ numberMinutesBeforeAutoAcceptOrder: number;
1829
+ }, {
1830
+ menuLocales: any[];
1831
+ deliveryTimesInterval: number;
1832
+ takeAwayTimesInterval: number;
1833
+ numberMinutesToPrecessFirstOrder: number;
1834
+ numberMinutesTimeChangeTolerance: number;
1835
+ maxCountableItemsPerBundle: number;
1836
+ maxOrdersPerBundle: number;
1837
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
1838
+ numberMinutesBeforeAutoAcceptOrder: number;
1839
+ }>;
1840
+ openingTimeSettings: z.ZodArray<z.ZodObject<{
1841
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
1842
+ times: z.ZodArray<z.ZodObject<{
1843
+ startTime: z.ZodString;
1844
+ endTime: z.ZodString;
1845
+ }, "strip", z.ZodTypeAny, {
1846
+ startTime: string;
1847
+ endTime: string;
1848
+ }, {
1849
+ startTime: string;
1850
+ endTime: string;
1851
+ }>, "many">;
1852
+ }, "strip", z.ZodTypeAny, {
1853
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1854
+ times: {
1855
+ startTime: string;
1856
+ endTime: string;
1857
+ }[];
1858
+ }, {
1859
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1860
+ times: {
1861
+ startTime: string;
1862
+ endTime: string;
1863
+ }[];
1864
+ }>, "many">;
1865
+ deliveryTimeSettings: z.ZodArray<z.ZodObject<{
1866
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
1867
+ times: z.ZodArray<z.ZodObject<{
1868
+ startTime: z.ZodString;
1869
+ endTime: z.ZodString;
1870
+ availableCouriers: z.ZodNumber;
1871
+ }, "strip", z.ZodTypeAny, {
1872
+ startTime: string;
1873
+ endTime: string;
1874
+ availableCouriers: number;
1875
+ }, {
1876
+ startTime: string;
1877
+ endTime: string;
1878
+ availableCouriers: number;
1879
+ }>, "many">;
1880
+ }, "strip", z.ZodTypeAny, {
1881
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1882
+ times: {
1883
+ startTime: string;
1884
+ endTime: string;
1885
+ availableCouriers: number;
1886
+ }[];
1887
+ }, {
1888
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1889
+ times: {
1890
+ startTime: string;
1891
+ endTime: string;
1892
+ availableCouriers: number;
1893
+ }[];
1894
+ }>, "many">;
1895
+ takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
1896
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
1897
+ times: z.ZodArray<z.ZodObject<{
1898
+ startTime: z.ZodString;
1899
+ endTime: z.ZodString;
1900
+ }, "strip", z.ZodTypeAny, {
1901
+ startTime: string;
1902
+ endTime: string;
1903
+ }, {
1904
+ startTime: string;
1905
+ endTime: string;
1906
+ }>, "many">;
1907
+ }, "strip", z.ZodTypeAny, {
1908
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1909
+ times: {
1910
+ startTime: string;
1911
+ endTime: string;
1912
+ }[];
1913
+ }, {
1914
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1915
+ times: {
1916
+ startTime: string;
1917
+ endTime: string;
1918
+ }[];
1919
+ }>, "many">;
1920
+ numberOfCouriers: z.ZodNumber;
1921
+ }, "strip", z.ZodTypeAny, {
1922
+ id: string;
1923
+ name: string;
1924
+ address: {
1925
+ line1: string;
1926
+ city: string;
1927
+ region: string;
1928
+ postalCode: string;
1929
+ country: string;
1930
+ line2?: string | undefined;
1931
+ };
1932
+ timezone: string;
1933
+ location: {
1934
+ latitude: number;
1935
+ longitude: number;
1936
+ };
1937
+ capabilities: "DELIVERY_OPTIMIZATION"[];
1938
+ openingStatus: "OPEN" | "CLOSED";
1939
+ createdAt: string;
1940
+ updatedAt: string;
1941
+ company: string;
1942
+ settings: {
1943
+ menuLocales: any[];
1944
+ deliveryTimesInterval: number;
1945
+ takeAwayTimesInterval: number;
1946
+ numberMinutesToPrecessFirstOrder: number;
1947
+ numberMinutesTimeChangeTolerance: number;
1948
+ maxCountableItemsPerBundle: number;
1949
+ maxOrdersPerBundle: number;
1950
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
1951
+ numberMinutesBeforeAutoAcceptOrder: number;
1952
+ };
1953
+ openingTimeSettings: {
1954
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1955
+ times: {
1956
+ startTime: string;
1957
+ endTime: string;
1958
+ }[];
1959
+ }[];
1960
+ deliveryTimeSettings: {
1961
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1962
+ times: {
1963
+ startTime: string;
1964
+ endTime: string;
1965
+ availableCouriers: number;
1966
+ }[];
1967
+ }[];
1968
+ takeAwayTimeSettings: {
1969
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1970
+ times: {
1971
+ startTime: string;
1972
+ endTime: string;
1973
+ }[];
1974
+ }[];
1975
+ numberOfCouriers: number;
1976
+ }, {
1977
+ id: string;
1978
+ name: string;
1979
+ address: {
1980
+ line1: string;
1981
+ city: string;
1982
+ region: string;
1983
+ postalCode: string;
1984
+ country: string;
1985
+ line2?: string | undefined;
1986
+ };
1987
+ timezone: string;
1988
+ location: {
1989
+ latitude: number;
1990
+ longitude: number;
1991
+ };
1992
+ capabilities: "DELIVERY_OPTIMIZATION"[];
1993
+ openingStatus: "OPEN" | "CLOSED";
1994
+ createdAt: string;
1995
+ updatedAt: string;
1996
+ company: string;
1997
+ settings: {
1998
+ menuLocales: any[];
1999
+ deliveryTimesInterval: number;
2000
+ takeAwayTimesInterval: number;
2001
+ numberMinutesToPrecessFirstOrder: number;
2002
+ numberMinutesTimeChangeTolerance: number;
2003
+ maxCountableItemsPerBundle: number;
2004
+ maxOrdersPerBundle: number;
2005
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
2006
+ numberMinutesBeforeAutoAcceptOrder: number;
2007
+ };
2008
+ openingTimeSettings: {
2009
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
2010
+ times: {
2011
+ startTime: string;
2012
+ endTime: string;
2013
+ }[];
2014
+ }[];
2015
+ deliveryTimeSettings: {
2016
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
2017
+ times: {
2018
+ startTime: string;
2019
+ endTime: string;
2020
+ availableCouriers: number;
2021
+ }[];
2022
+ }[];
2023
+ takeAwayTimeSettings: {
2024
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
2025
+ times: {
2026
+ startTime: string;
2027
+ endTime: string;
2028
+ }[];
2029
+ }[];
2030
+ numberOfCouriers: number;
2031
+ }>;
2032
+ readonly querySchema: undefined;
2033
+ readonly headersSchema: undefined;
2034
+ constructor(input: CreatePointOfSaleInput);
2035
+ getPath(): string;
2036
+ }
2037
+
2038
+ declare const deletePointOfSaleInputSchema: z.ZodUndefined;
2039
+ declare const deletePointOfSaleResponseSchema: z.ZodUndefined;
2040
+ declare class DeletePointOfSale extends AbstractApiRequest<void, void> {
2041
+ readonly method = "DELETE";
2042
+ readonly contentType = "application/json";
2043
+ readonly accept = "application/json";
2044
+ readonly inputSchema: z.ZodUndefined;
2045
+ readonly outputSchema: z.ZodUndefined;
2046
+ readonly querySchema: undefined;
2047
+ readonly headersSchema: undefined;
2048
+ private readonly pointOfSaleId;
2049
+ constructor(pointOfSaleId: string);
2050
+ getPath(): string;
2051
+ }
2052
+
2053
+ declare const getPointOfSaleDetailsInputSchema: z.ZodUndefined;
2054
+ declare const getPointOfSaleDetailsResponseSchema: z.ZodObject<{
2055
+ id: z.ZodString;
2056
+ name: z.ZodString;
2057
+ address: z.ZodObject<{
2058
+ line1: z.ZodString;
2059
+ line2: z.ZodOptional<z.ZodString>;
2060
+ city: z.ZodString;
2061
+ region: z.ZodString;
2062
+ postalCode: z.ZodString;
2063
+ country: z.ZodString;
2064
+ }, "strip", z.ZodTypeAny, {
2065
+ line1: string;
2066
+ city: string;
2067
+ region: string;
2068
+ postalCode: string;
2069
+ country: string;
2070
+ line2?: string | undefined;
2071
+ }, {
2072
+ line1: string;
2073
+ city: string;
2074
+ region: string;
2075
+ postalCode: string;
2076
+ country: string;
2077
+ line2?: string | undefined;
2078
+ }>;
2079
+ timezone: z.ZodString;
2080
+ location: z.ZodObject<{
2081
+ latitude: z.ZodNumber;
2082
+ longitude: z.ZodNumber;
2083
+ }, "strip", z.ZodTypeAny, {
2084
+ latitude: number;
2085
+ longitude: number;
2086
+ }, {
2087
+ latitude: number;
2088
+ longitude: number;
2089
+ }>;
2090
+ capabilities: z.ZodArray<z.ZodEnum<["DELIVERY_OPTIMIZATION"]>, "many">;
2091
+ openingStatus: z.ZodEnum<["OPEN", "CLOSED"]>;
2092
+ createdAt: z.ZodEffects<z.ZodString, string, string>;
2093
+ updatedAt: z.ZodEffects<z.ZodString, string, string>;
2094
+ } & {
2095
+ company: z.ZodString;
2096
+ settings: z.ZodObject<{
2097
+ menuLocales: z.ZodArray<z.ZodAny, "many">;
2098
+ deliveryTimesInterval: z.ZodEffects<z.ZodNumber, number, number>;
2099
+ takeAwayTimesInterval: z.ZodEffects<z.ZodNumber, number, number>;
2100
+ numberMinutesToPrecessFirstOrder: z.ZodNumber;
2101
+ numberMinutesTimeChangeTolerance: z.ZodNumber;
2102
+ maxCountableItemsPerBundle: z.ZodNumber;
2103
+ maxOrdersPerBundle: z.ZodNumber;
2104
+ preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
2105
+ numberMinutesBeforeAutoAcceptOrder: z.ZodEffects<z.ZodNumber, number, number>;
2106
+ }, "strip", z.ZodTypeAny, {
2107
+ menuLocales: any[];
2108
+ deliveryTimesInterval: number;
2109
+ takeAwayTimesInterval: number;
2110
+ numberMinutesToPrecessFirstOrder: number;
2111
+ numberMinutesTimeChangeTolerance: number;
2112
+ maxCountableItemsPerBundle: number;
2113
+ maxOrdersPerBundle: number;
2114
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
2115
+ numberMinutesBeforeAutoAcceptOrder: number;
2116
+ }, {
2117
+ menuLocales: any[];
2118
+ deliveryTimesInterval: number;
2119
+ takeAwayTimesInterval: number;
2120
+ numberMinutesToPrecessFirstOrder: number;
2121
+ numberMinutesTimeChangeTolerance: number;
2122
+ maxCountableItemsPerBundle: number;
2123
+ maxOrdersPerBundle: number;
2124
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
2125
+ numberMinutesBeforeAutoAcceptOrder: number;
2126
+ }>;
2127
+ openingTimeSettings: z.ZodArray<z.ZodObject<{
2128
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
2129
+ times: z.ZodArray<z.ZodObject<{
2130
+ startTime: z.ZodString;
2131
+ endTime: z.ZodString;
2132
+ }, "strip", z.ZodTypeAny, {
2133
+ startTime: string;
2134
+ endTime: string;
2135
+ }, {
2136
+ startTime: string;
2137
+ endTime: string;
2138
+ }>, "many">;
2139
+ }, "strip", z.ZodTypeAny, {
2140
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
2141
+ times: {
2142
+ startTime: string;
2143
+ endTime: string;
2144
+ }[];
2145
+ }, {
2146
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
2147
+ times: {
2148
+ startTime: string;
2149
+ endTime: string;
2150
+ }[];
2151
+ }>, "many">;
2152
+ deliveryTimeSettings: z.ZodArray<z.ZodObject<{
2153
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
2154
+ times: z.ZodArray<z.ZodObject<{
2155
+ startTime: z.ZodString;
2156
+ endTime: z.ZodString;
2157
+ availableCouriers: z.ZodNumber;
2158
+ }, "strip", z.ZodTypeAny, {
2159
+ startTime: string;
2160
+ endTime: string;
2161
+ availableCouriers: number;
2162
+ }, {
2163
+ startTime: string;
2164
+ endTime: string;
2165
+ availableCouriers: number;
2166
+ }>, "many">;
2167
+ }, "strip", z.ZodTypeAny, {
2168
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
2169
+ times: {
2170
+ startTime: string;
2171
+ endTime: string;
2172
+ availableCouriers: number;
2173
+ }[];
2174
+ }, {
2175
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
2176
+ times: {
2177
+ startTime: string;
2178
+ endTime: string;
2179
+ availableCouriers: number;
2180
+ }[];
2181
+ }>, "many">;
2182
+ takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
2183
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
2184
+ times: z.ZodArray<z.ZodObject<{
2185
+ startTime: z.ZodString;
2186
+ endTime: z.ZodString;
2187
+ }, "strip", z.ZodTypeAny, {
2188
+ startTime: string;
2189
+ endTime: string;
2190
+ }, {
2191
+ startTime: string;
2192
+ endTime: string;
2193
+ }>, "many">;
2194
+ }, "strip", z.ZodTypeAny, {
2195
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
2196
+ times: {
2197
+ startTime: string;
2198
+ endTime: string;
2199
+ }[];
2200
+ }, {
2201
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
2202
+ times: {
2203
+ startTime: string;
2204
+ endTime: string;
2205
+ }[];
2206
+ }>, "many">;
2207
+ numberOfCouriers: z.ZodNumber;
2208
+ }, "strip", z.ZodTypeAny, {
2209
+ id: string;
2210
+ name: string;
2211
+ address: {
2212
+ line1: string;
2213
+ city: string;
2214
+ region: string;
2215
+ postalCode: string;
2216
+ country: string;
2217
+ line2?: string | undefined;
2218
+ };
2219
+ timezone: string;
2220
+ location: {
2221
+ latitude: number;
2222
+ longitude: number;
2223
+ };
2224
+ capabilities: "DELIVERY_OPTIMIZATION"[];
2225
+ openingStatus: "OPEN" | "CLOSED";
2226
+ createdAt: string;
2227
+ updatedAt: string;
2228
+ company: string;
2229
+ settings: {
2230
+ menuLocales: any[];
2231
+ deliveryTimesInterval: number;
2232
+ takeAwayTimesInterval: number;
2233
+ numberMinutesToPrecessFirstOrder: number;
2234
+ numberMinutesTimeChangeTolerance: number;
2235
+ maxCountableItemsPerBundle: number;
2236
+ maxOrdersPerBundle: number;
2237
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
2238
+ numberMinutesBeforeAutoAcceptOrder: number;
2239
+ };
2240
+ openingTimeSettings: {
2241
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
2242
+ times: {
2243
+ startTime: string;
2244
+ endTime: string;
2245
+ }[];
2246
+ }[];
2247
+ deliveryTimeSettings: {
2248
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
2249
+ times: {
2250
+ startTime: string;
2251
+ endTime: string;
2252
+ availableCouriers: number;
2253
+ }[];
2254
+ }[];
2255
+ takeAwayTimeSettings: {
2256
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
2257
+ times: {
2258
+ startTime: string;
2259
+ endTime: string;
2260
+ }[];
2261
+ }[];
2262
+ numberOfCouriers: number;
2263
+ }, {
2264
+ id: string;
2265
+ name: string;
2266
+ address: {
2267
+ line1: string;
2268
+ city: string;
2269
+ region: string;
2270
+ postalCode: string;
2271
+ country: string;
2272
+ line2?: string | undefined;
2273
+ };
2274
+ timezone: string;
2275
+ location: {
2276
+ latitude: number;
2277
+ longitude: number;
2278
+ };
2279
+ capabilities: "DELIVERY_OPTIMIZATION"[];
2280
+ openingStatus: "OPEN" | "CLOSED";
2281
+ createdAt: string;
2282
+ updatedAt: string;
2283
+ company: string;
2284
+ settings: {
2285
+ menuLocales: any[];
2286
+ deliveryTimesInterval: number;
2287
+ takeAwayTimesInterval: number;
2288
+ numberMinutesToPrecessFirstOrder: number;
2289
+ numberMinutesTimeChangeTolerance: number;
2290
+ maxCountableItemsPerBundle: number;
2291
+ maxOrdersPerBundle: number;
2292
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
2293
+ numberMinutesBeforeAutoAcceptOrder: number;
2294
+ };
2295
+ openingTimeSettings: {
2296
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
2297
+ times: {
2298
+ startTime: string;
2299
+ endTime: string;
2300
+ }[];
2301
+ }[];
2302
+ deliveryTimeSettings: {
2303
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
2304
+ times: {
2305
+ startTime: string;
2306
+ endTime: string;
2307
+ availableCouriers: number;
2308
+ }[];
2309
+ }[];
2310
+ takeAwayTimeSettings: {
2311
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
2312
+ times: {
2313
+ startTime: string;
2314
+ endTime: string;
2315
+ }[];
2316
+ }[];
2317
+ numberOfCouriers: number;
2318
+ }>;
2319
+ type GetPointOfSaleDetailsResponse = PointOfSaleDetails;
2320
+ declare class GetPointOfSaleDetails extends AbstractApiRequest<void, GetPointOfSaleDetailsResponse> {
2321
+ readonly method = "GET";
2322
+ readonly contentType = "application/json";
2323
+ readonly accept = "application/json";
2324
+ readonly inputSchema: z.ZodUndefined;
2325
+ readonly outputSchema: z.ZodObject<{
2326
+ id: z.ZodString;
2327
+ name: z.ZodString;
2328
+ address: z.ZodObject<{
2329
+ line1: z.ZodString;
2330
+ line2: z.ZodOptional<z.ZodString>;
2331
+ city: z.ZodString;
2332
+ region: z.ZodString;
2333
+ postalCode: z.ZodString;
2334
+ country: z.ZodString;
2335
+ }, "strip", z.ZodTypeAny, {
2336
+ line1: string;
2337
+ city: string;
2338
+ region: string;
2339
+ postalCode: string;
2340
+ country: string;
2341
+ line2?: string | undefined;
2342
+ }, {
2343
+ line1: string;
2344
+ city: string;
2345
+ region: string;
2346
+ postalCode: string;
2347
+ country: string;
2348
+ line2?: string | undefined;
2349
+ }>;
2350
+ timezone: z.ZodString;
2351
+ location: z.ZodObject<{
2352
+ latitude: z.ZodNumber;
2353
+ longitude: z.ZodNumber;
2354
+ }, "strip", z.ZodTypeAny, {
2355
+ latitude: number;
2356
+ longitude: number;
2357
+ }, {
2358
+ latitude: number;
2359
+ longitude: number;
2360
+ }>;
2361
+ capabilities: z.ZodArray<z.ZodEnum<["DELIVERY_OPTIMIZATION"]>, "many">;
2362
+ openingStatus: z.ZodEnum<["OPEN", "CLOSED"]>;
2363
+ createdAt: z.ZodEffects<z.ZodString, string, string>;
2364
+ updatedAt: z.ZodEffects<z.ZodString, string, string>;
2365
+ } & {
2366
+ company: z.ZodString;
2367
+ settings: z.ZodObject<{
2368
+ menuLocales: z.ZodArray<z.ZodAny, "many">;
2369
+ deliveryTimesInterval: z.ZodEffects<z.ZodNumber, number, number>;
2370
+ takeAwayTimesInterval: z.ZodEffects<z.ZodNumber, number, number>;
2371
+ numberMinutesToPrecessFirstOrder: z.ZodNumber;
2372
+ numberMinutesTimeChangeTolerance: z.ZodNumber;
2373
+ maxCountableItemsPerBundle: z.ZodNumber;
2374
+ maxOrdersPerBundle: z.ZodNumber;
2375
+ preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
2376
+ numberMinutesBeforeAutoAcceptOrder: z.ZodEffects<z.ZodNumber, number, number>;
2377
+ }, "strip", z.ZodTypeAny, {
2378
+ menuLocales: any[];
2379
+ deliveryTimesInterval: number;
2380
+ takeAwayTimesInterval: number;
2381
+ numberMinutesToPrecessFirstOrder: number;
2382
+ numberMinutesTimeChangeTolerance: number;
2383
+ maxCountableItemsPerBundle: number;
2384
+ maxOrdersPerBundle: number;
2385
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
2386
+ numberMinutesBeforeAutoAcceptOrder: number;
2387
+ }, {
2388
+ menuLocales: any[];
2389
+ deliveryTimesInterval: number;
2390
+ takeAwayTimesInterval: number;
2391
+ numberMinutesToPrecessFirstOrder: number;
2392
+ numberMinutesTimeChangeTolerance: number;
2393
+ maxCountableItemsPerBundle: number;
2394
+ maxOrdersPerBundle: number;
2395
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
2396
+ numberMinutesBeforeAutoAcceptOrder: number;
2397
+ }>;
2398
+ openingTimeSettings: z.ZodArray<z.ZodObject<{
2399
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
2400
+ times: z.ZodArray<z.ZodObject<{
2401
+ startTime: z.ZodString;
2402
+ endTime: z.ZodString;
2403
+ }, "strip", z.ZodTypeAny, {
2404
+ startTime: string;
2405
+ endTime: string;
2406
+ }, {
2407
+ startTime: string;
2408
+ endTime: string;
2409
+ }>, "many">;
2410
+ }, "strip", z.ZodTypeAny, {
2411
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
2412
+ times: {
2413
+ startTime: string;
2414
+ endTime: string;
2415
+ }[];
2416
+ }, {
2417
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
2418
+ times: {
2419
+ startTime: string;
2420
+ endTime: string;
2421
+ }[];
2422
+ }>, "many">;
2423
+ deliveryTimeSettings: z.ZodArray<z.ZodObject<{
2424
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
2425
+ times: z.ZodArray<z.ZodObject<{
2426
+ startTime: z.ZodString;
2427
+ endTime: z.ZodString;
2428
+ availableCouriers: z.ZodNumber;
2429
+ }, "strip", z.ZodTypeAny, {
2430
+ startTime: string;
2431
+ endTime: string;
2432
+ availableCouriers: number;
2433
+ }, {
2434
+ startTime: string;
2435
+ endTime: string;
2436
+ availableCouriers: number;
2437
+ }>, "many">;
2438
+ }, "strip", z.ZodTypeAny, {
2439
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
2440
+ times: {
2441
+ startTime: string;
2442
+ endTime: string;
2443
+ availableCouriers: number;
2444
+ }[];
2445
+ }, {
2446
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
2447
+ times: {
2448
+ startTime: string;
2449
+ endTime: string;
2450
+ availableCouriers: number;
2451
+ }[];
2452
+ }>, "many">;
2453
+ takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
2454
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
2455
+ times: z.ZodArray<z.ZodObject<{
2456
+ startTime: z.ZodString;
2457
+ endTime: z.ZodString;
2458
+ }, "strip", z.ZodTypeAny, {
2459
+ startTime: string;
2460
+ endTime: string;
2461
+ }, {
2462
+ startTime: string;
2463
+ endTime: string;
2464
+ }>, "many">;
2465
+ }, "strip", z.ZodTypeAny, {
2466
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
2467
+ times: {
2468
+ startTime: string;
2469
+ endTime: string;
2470
+ }[];
2471
+ }, {
2472
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
2473
+ times: {
2474
+ startTime: string;
2475
+ endTime: string;
2476
+ }[];
2477
+ }>, "many">;
2478
+ numberOfCouriers: z.ZodNumber;
2479
+ }, "strip", z.ZodTypeAny, {
2480
+ id: string;
2481
+ name: string;
2482
+ address: {
2483
+ line1: string;
2484
+ city: string;
2485
+ region: string;
2486
+ postalCode: string;
2487
+ country: string;
2488
+ line2?: string | undefined;
2489
+ };
2490
+ timezone: string;
2491
+ location: {
2492
+ latitude: number;
2493
+ longitude: number;
2494
+ };
2495
+ capabilities: "DELIVERY_OPTIMIZATION"[];
2496
+ openingStatus: "OPEN" | "CLOSED";
2497
+ createdAt: string;
2498
+ updatedAt: string;
2499
+ company: string;
2500
+ settings: {
2501
+ menuLocales: any[];
2502
+ deliveryTimesInterval: number;
2503
+ takeAwayTimesInterval: number;
2504
+ numberMinutesToPrecessFirstOrder: number;
2505
+ numberMinutesTimeChangeTolerance: number;
2506
+ maxCountableItemsPerBundle: number;
2507
+ maxOrdersPerBundle: number;
2508
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
2509
+ numberMinutesBeforeAutoAcceptOrder: number;
2510
+ };
2511
+ openingTimeSettings: {
2512
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
2513
+ times: {
2514
+ startTime: string;
2515
+ endTime: string;
2516
+ }[];
2517
+ }[];
2518
+ deliveryTimeSettings: {
2519
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
2520
+ times: {
2521
+ startTime: string;
2522
+ endTime: string;
2523
+ availableCouriers: number;
2524
+ }[];
2525
+ }[];
2526
+ takeAwayTimeSettings: {
2527
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
2528
+ times: {
2529
+ startTime: string;
2530
+ endTime: string;
2531
+ }[];
2532
+ }[];
2533
+ numberOfCouriers: number;
2534
+ }, {
2535
+ id: string;
2536
+ name: string;
2537
+ address: {
2538
+ line1: string;
2539
+ city: string;
2540
+ region: string;
2541
+ postalCode: string;
2542
+ country: string;
2543
+ line2?: string | undefined;
2544
+ };
2545
+ timezone: string;
2546
+ location: {
2547
+ latitude: number;
2548
+ longitude: number;
2549
+ };
2550
+ capabilities: "DELIVERY_OPTIMIZATION"[];
2551
+ openingStatus: "OPEN" | "CLOSED";
2552
+ createdAt: string;
2553
+ updatedAt: string;
2554
+ company: string;
2555
+ settings: {
2556
+ menuLocales: any[];
2557
+ deliveryTimesInterval: number;
2558
+ takeAwayTimesInterval: number;
2559
+ numberMinutesToPrecessFirstOrder: number;
2560
+ numberMinutesTimeChangeTolerance: number;
2561
+ maxCountableItemsPerBundle: number;
2562
+ maxOrdersPerBundle: number;
2563
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
2564
+ numberMinutesBeforeAutoAcceptOrder: number;
2565
+ };
2566
+ openingTimeSettings: {
2567
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
2568
+ times: {
2569
+ startTime: string;
2570
+ endTime: string;
2571
+ }[];
2572
+ }[];
2573
+ deliveryTimeSettings: {
2574
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
2575
+ times: {
2576
+ startTime: string;
2577
+ endTime: string;
2578
+ availableCouriers: number;
2579
+ }[];
2580
+ }[];
2581
+ takeAwayTimeSettings: {
2582
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
2583
+ times: {
2584
+ startTime: string;
2585
+ endTime: string;
2586
+ }[];
2587
+ }[];
2588
+ numberOfCouriers: number;
2589
+ }>;
2590
+ readonly querySchema: undefined;
2591
+ readonly headersSchema: undefined;
2592
+ private readonly pointOfSaleId;
2593
+ constructor(pointOfSaleId: string);
2594
+ getPath(): string;
2595
+ }
2596
+
2597
+ declare const getCompaniesQuerySchema: z.ZodObject<{
2598
+ name: z.ZodOptional<z.ZodString>;
2599
+ openingStatus: z.ZodOptional<z.ZodEnum<["OPEN", "CLOSED"]>>;
2600
+ 'integrationActivationRequests.connectionId': z.ZodOptional<z.ZodString>;
2601
+ 'address.city': z.ZodOptional<z.ZodString>;
2602
+ 'address.postalCode': z.ZodOptional<z.ZodString>;
2603
+ 'order[name]': z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
2604
+ 'order[createdAt]': z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
2605
+ 'order[updatedAt]': z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
2606
+ page: z.ZodOptional<z.ZodNumber>;
2607
+ }, "strip", z.ZodTypeAny, {
2608
+ name?: string | undefined;
2609
+ openingStatus?: "OPEN" | "CLOSED" | undefined;
2610
+ 'integrationActivationRequests.connectionId'?: string | undefined;
2611
+ 'address.city'?: string | undefined;
2612
+ 'address.postalCode'?: string | undefined;
2613
+ 'order[name]'?: "asc" | "desc" | undefined;
2614
+ 'order[createdAt]'?: "asc" | "desc" | undefined;
2615
+ 'order[updatedAt]'?: "asc" | "desc" | undefined;
2616
+ page?: number | undefined;
2617
+ }, {
2618
+ name?: string | undefined;
2619
+ openingStatus?: "OPEN" | "CLOSED" | undefined;
2620
+ 'integrationActivationRequests.connectionId'?: string | undefined;
2621
+ 'address.city'?: string | undefined;
2622
+ 'address.postalCode'?: string | undefined;
2623
+ 'order[name]'?: "asc" | "desc" | undefined;
2624
+ 'order[createdAt]'?: "asc" | "desc" | undefined;
2625
+ 'order[updatedAt]'?: "asc" | "desc" | undefined;
2626
+ page?: number | undefined;
2627
+ }>;
2628
+ type GetCompaniesQueryParams = z.infer<typeof getCompaniesQuerySchema>;
2629
+ declare const getCompaniesResponseSchema: z.ZodObject<{
2630
+ data: z.ZodArray<z.ZodObject<{
2631
+ id: z.ZodString;
2632
+ name: z.ZodString;
2633
+ address: z.ZodObject<{
2634
+ line1: z.ZodString;
2635
+ line2: z.ZodOptional<z.ZodString>;
2636
+ city: z.ZodString;
2637
+ region: z.ZodString;
2638
+ postalCode: z.ZodString;
2639
+ country: z.ZodString;
2640
+ }, "strip", z.ZodTypeAny, {
2641
+ line1: string;
2642
+ city: string;
2643
+ region: string;
2644
+ postalCode: string;
2645
+ country: string;
2646
+ line2?: string | undefined;
2647
+ }, {
2648
+ line1: string;
2649
+ city: string;
2650
+ region: string;
2651
+ postalCode: string;
2652
+ country: string;
2653
+ line2?: string | undefined;
2654
+ }>;
2655
+ timezone: z.ZodString;
2656
+ location: z.ZodObject<{
2657
+ latitude: z.ZodNumber;
2658
+ longitude: z.ZodNumber;
2659
+ }, "strip", z.ZodTypeAny, {
2660
+ latitude: number;
2661
+ longitude: number;
2662
+ }, {
2663
+ latitude: number;
2664
+ longitude: number;
2665
+ }>;
2666
+ capabilities: z.ZodArray<z.ZodEnum<["DELIVERY_OPTIMIZATION"]>, "many">;
2667
+ openingStatus: z.ZodEnum<["OPEN", "CLOSED"]>;
2668
+ createdAt: z.ZodEffects<z.ZodString, string, string>;
2669
+ updatedAt: z.ZodEffects<z.ZodString, string, string>;
2670
+ }, "strip", z.ZodTypeAny, {
2671
+ id: string;
2672
+ name: string;
2673
+ address: {
2674
+ line1: string;
2675
+ city: string;
2676
+ region: string;
2677
+ postalCode: string;
2678
+ country: string;
2679
+ line2?: string | undefined;
2680
+ };
2681
+ timezone: string;
2682
+ location: {
2683
+ latitude: number;
2684
+ longitude: number;
2685
+ };
2686
+ capabilities: "DELIVERY_OPTIMIZATION"[];
2687
+ openingStatus: "OPEN" | "CLOSED";
2688
+ createdAt: string;
2689
+ updatedAt: string;
2690
+ }, {
2691
+ id: string;
2692
+ name: string;
2693
+ address: {
2694
+ line1: string;
2695
+ city: string;
2696
+ region: string;
2697
+ postalCode: string;
2698
+ country: string;
2699
+ line2?: string | undefined;
2700
+ };
2701
+ timezone: string;
2702
+ location: {
2703
+ latitude: number;
2704
+ longitude: number;
2705
+ };
2706
+ capabilities: "DELIVERY_OPTIMIZATION"[];
2707
+ openingStatus: "OPEN" | "CLOSED";
2708
+ createdAt: string;
2709
+ updatedAt: string;
2710
+ }>, "many">;
2711
+ pagination: z.ZodObject<{
2712
+ from: z.ZodNumber;
2713
+ to: z.ZodNumber;
2714
+ itemsPerPage: z.ZodNumber;
2715
+ totalItems: z.ZodNumber;
2716
+ currentPage: z.ZodNumber;
2717
+ lastPage: z.ZodNumber;
2718
+ }, "strip", z.ZodTypeAny, {
2719
+ from: number;
2720
+ to: number;
2721
+ itemsPerPage: number;
2722
+ totalItems: number;
2723
+ currentPage: number;
2724
+ lastPage: number;
2725
+ }, {
2726
+ from: number;
2727
+ to: number;
2728
+ itemsPerPage: number;
2729
+ totalItems: number;
2730
+ currentPage: number;
2731
+ lastPage: number;
2732
+ }>;
2733
+ }, "strip", z.ZodTypeAny, {
2734
+ data: {
2735
+ id: string;
2736
+ name: string;
2737
+ address: {
2738
+ line1: string;
2739
+ city: string;
2740
+ region: string;
2741
+ postalCode: string;
2742
+ country: string;
2743
+ line2?: string | undefined;
2744
+ };
2745
+ timezone: string;
2746
+ location: {
2747
+ latitude: number;
2748
+ longitude: number;
2749
+ };
2750
+ capabilities: "DELIVERY_OPTIMIZATION"[];
2751
+ openingStatus: "OPEN" | "CLOSED";
2752
+ createdAt: string;
2753
+ updatedAt: string;
2754
+ }[];
2755
+ pagination: {
2756
+ from: number;
2757
+ to: number;
2758
+ itemsPerPage: number;
2759
+ totalItems: number;
2760
+ currentPage: number;
2761
+ lastPage: number;
2762
+ };
2763
+ }, {
2764
+ data: {
2765
+ id: string;
2766
+ name: string;
2767
+ address: {
2768
+ line1: string;
2769
+ city: string;
2770
+ region: string;
2771
+ postalCode: string;
2772
+ country: string;
2773
+ line2?: string | undefined;
2774
+ };
2775
+ timezone: string;
2776
+ location: {
2777
+ latitude: number;
2778
+ longitude: number;
2779
+ };
2780
+ capabilities: "DELIVERY_OPTIMIZATION"[];
2781
+ openingStatus: "OPEN" | "CLOSED";
2782
+ createdAt: string;
2783
+ updatedAt: string;
2784
+ }[];
2785
+ pagination: {
2786
+ from: number;
2787
+ to: number;
2788
+ itemsPerPage: number;
2789
+ totalItems: number;
2790
+ currentPage: number;
2791
+ lastPage: number;
2792
+ };
2793
+ }>;
2794
+ type GetCompaniesResponse = z.infer<typeof getCompaniesResponseSchema>;
2795
+ declare const getCompaniesInputSchema: z.ZodUndefined;
2796
+ declare class GetPointOfSales extends AbstractApiRequest<void, GetCompaniesResponse, GetCompaniesQueryParams> {
2797
+ readonly method = "GET";
2798
+ readonly contentType = "application/json";
2799
+ readonly accept = "application/json";
2800
+ readonly inputSchema: z.ZodUndefined;
2801
+ readonly outputSchema: z.ZodObject<{
2802
+ data: z.ZodArray<z.ZodObject<{
2803
+ id: z.ZodString;
2804
+ name: z.ZodString;
2805
+ address: z.ZodObject<{
2806
+ line1: z.ZodString;
2807
+ line2: z.ZodOptional<z.ZodString>;
2808
+ city: z.ZodString;
2809
+ region: z.ZodString;
2810
+ postalCode: z.ZodString;
2811
+ country: z.ZodString;
2812
+ }, "strip", z.ZodTypeAny, {
2813
+ line1: string;
2814
+ city: string;
2815
+ region: string;
2816
+ postalCode: string;
2817
+ country: string;
2818
+ line2?: string | undefined;
2819
+ }, {
2820
+ line1: string;
2821
+ city: string;
2822
+ region: string;
2823
+ postalCode: string;
2824
+ country: string;
2825
+ line2?: string | undefined;
2826
+ }>;
2827
+ timezone: z.ZodString;
2828
+ location: z.ZodObject<{
2829
+ latitude: z.ZodNumber;
2830
+ longitude: z.ZodNumber;
2831
+ }, "strip", z.ZodTypeAny, {
2832
+ latitude: number;
2833
+ longitude: number;
2834
+ }, {
2835
+ latitude: number;
2836
+ longitude: number;
2837
+ }>;
2838
+ capabilities: z.ZodArray<z.ZodEnum<["DELIVERY_OPTIMIZATION"]>, "many">;
2839
+ openingStatus: z.ZodEnum<["OPEN", "CLOSED"]>;
2840
+ createdAt: z.ZodEffects<z.ZodString, string, string>;
2841
+ updatedAt: z.ZodEffects<z.ZodString, string, string>;
2842
+ }, "strip", z.ZodTypeAny, {
2843
+ id: string;
2844
+ name: string;
2845
+ address: {
2846
+ line1: string;
2847
+ city: string;
2848
+ region: string;
2849
+ postalCode: string;
2850
+ country: string;
2851
+ line2?: string | undefined;
2852
+ };
2853
+ timezone: string;
2854
+ location: {
2855
+ latitude: number;
2856
+ longitude: number;
2857
+ };
2858
+ capabilities: "DELIVERY_OPTIMIZATION"[];
2859
+ openingStatus: "OPEN" | "CLOSED";
2860
+ createdAt: string;
2861
+ updatedAt: string;
2862
+ }, {
2863
+ id: string;
2864
+ name: string;
2865
+ address: {
2866
+ line1: string;
2867
+ city: string;
2868
+ region: string;
2869
+ postalCode: string;
2870
+ country: string;
2871
+ line2?: string | undefined;
2872
+ };
2873
+ timezone: string;
2874
+ location: {
2875
+ latitude: number;
2876
+ longitude: number;
2877
+ };
2878
+ capabilities: "DELIVERY_OPTIMIZATION"[];
2879
+ openingStatus: "OPEN" | "CLOSED";
2880
+ createdAt: string;
2881
+ updatedAt: string;
2882
+ }>, "many">;
2883
+ pagination: z.ZodObject<{
2884
+ from: z.ZodNumber;
2885
+ to: z.ZodNumber;
2886
+ itemsPerPage: z.ZodNumber;
2887
+ totalItems: z.ZodNumber;
2888
+ currentPage: z.ZodNumber;
2889
+ lastPage: z.ZodNumber;
2890
+ }, "strip", z.ZodTypeAny, {
2891
+ from: number;
2892
+ to: number;
2893
+ itemsPerPage: number;
2894
+ totalItems: number;
2895
+ currentPage: number;
2896
+ lastPage: number;
2897
+ }, {
2898
+ from: number;
2899
+ to: number;
2900
+ itemsPerPage: number;
2901
+ totalItems: number;
2902
+ currentPage: number;
2903
+ lastPage: number;
2904
+ }>;
2905
+ }, "strip", z.ZodTypeAny, {
2906
+ data: {
2907
+ id: string;
2908
+ name: string;
2909
+ address: {
2910
+ line1: string;
2911
+ city: string;
2912
+ region: string;
2913
+ postalCode: string;
2914
+ country: string;
2915
+ line2?: string | undefined;
2916
+ };
2917
+ timezone: string;
2918
+ location: {
2919
+ latitude: number;
2920
+ longitude: number;
2921
+ };
2922
+ capabilities: "DELIVERY_OPTIMIZATION"[];
2923
+ openingStatus: "OPEN" | "CLOSED";
2924
+ createdAt: string;
2925
+ updatedAt: string;
2926
+ }[];
2927
+ pagination: {
2928
+ from: number;
2929
+ to: number;
2930
+ itemsPerPage: number;
2931
+ totalItems: number;
2932
+ currentPage: number;
2933
+ lastPage: number;
2934
+ };
2935
+ }, {
2936
+ data: {
2937
+ id: string;
2938
+ name: string;
2939
+ address: {
2940
+ line1: string;
2941
+ city: string;
2942
+ region: string;
2943
+ postalCode: string;
2944
+ country: string;
2945
+ line2?: string | undefined;
2946
+ };
2947
+ timezone: string;
2948
+ location: {
2949
+ latitude: number;
2950
+ longitude: number;
2951
+ };
2952
+ capabilities: "DELIVERY_OPTIMIZATION"[];
2953
+ openingStatus: "OPEN" | "CLOSED";
2954
+ createdAt: string;
2955
+ updatedAt: string;
2956
+ }[];
2957
+ pagination: {
2958
+ from: number;
2959
+ to: number;
2960
+ itemsPerPage: number;
2961
+ totalItems: number;
2962
+ currentPage: number;
2963
+ lastPage: number;
2964
+ };
2965
+ }>;
2966
+ readonly querySchema: z.ZodObject<{
2967
+ name: z.ZodOptional<z.ZodString>;
2968
+ openingStatus: z.ZodOptional<z.ZodEnum<["OPEN", "CLOSED"]>>;
2969
+ 'integrationActivationRequests.connectionId': z.ZodOptional<z.ZodString>;
2970
+ 'address.city': z.ZodOptional<z.ZodString>;
2971
+ 'address.postalCode': z.ZodOptional<z.ZodString>;
2972
+ 'order[name]': z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
2973
+ 'order[createdAt]': z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
2974
+ 'order[updatedAt]': z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
2975
+ page: z.ZodOptional<z.ZodNumber>;
2976
+ }, "strip", z.ZodTypeAny, {
2977
+ name?: string | undefined;
2978
+ openingStatus?: "OPEN" | "CLOSED" | undefined;
2979
+ 'integrationActivationRequests.connectionId'?: string | undefined;
2980
+ 'address.city'?: string | undefined;
2981
+ 'address.postalCode'?: string | undefined;
2982
+ 'order[name]'?: "asc" | "desc" | undefined;
2983
+ 'order[createdAt]'?: "asc" | "desc" | undefined;
2984
+ 'order[updatedAt]'?: "asc" | "desc" | undefined;
2985
+ page?: number | undefined;
2986
+ }, {
2987
+ name?: string | undefined;
2988
+ openingStatus?: "OPEN" | "CLOSED" | undefined;
2989
+ 'integrationActivationRequests.connectionId'?: string | undefined;
2990
+ 'address.city'?: string | undefined;
2991
+ 'address.postalCode'?: string | undefined;
2992
+ 'order[name]'?: "asc" | "desc" | undefined;
2993
+ 'order[createdAt]'?: "asc" | "desc" | undefined;
2994
+ 'order[updatedAt]'?: "asc" | "desc" | undefined;
2995
+ page?: number | undefined;
2996
+ }>;
2997
+ readonly headersSchema: undefined;
2998
+ constructor(options?: {
2999
+ query?: GetCompaniesQueryParams;
3000
+ });
3001
+ getPath(): string;
3002
+ parseResponse(data: unknown, rawResponse: AxiosResponse): Paginated<PointOfSale>;
3003
+ }
3004
+
3005
+ declare const updatePointOfSaleInputSchema: z.ZodObject<{
3006
+ name: z.ZodOptional<z.ZodString>;
3007
+ address: z.ZodOptional<z.ZodObject<{
3008
+ line1: z.ZodString;
3009
+ line2: z.ZodOptional<z.ZodString>;
3010
+ city: z.ZodString;
3011
+ region: z.ZodString;
3012
+ postalCode: z.ZodString;
3013
+ country: z.ZodString;
3014
+ }, "strip", z.ZodTypeAny, {
3015
+ line1: string;
3016
+ city: string;
3017
+ region: string;
3018
+ postalCode: string;
3019
+ country: string;
3020
+ line2?: string | undefined;
3021
+ }, {
3022
+ line1: string;
3023
+ city: string;
3024
+ region: string;
3025
+ postalCode: string;
3026
+ country: string;
3027
+ line2?: string | undefined;
3028
+ }>>;
3029
+ timezone: z.ZodOptional<z.ZodString>;
3030
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["DELIVERY_OPTIMIZATION"]>, "many">>;
3031
+ openingStatus: z.ZodOptional<z.ZodEnum<["OPEN", "CLOSED"]>>;
3032
+ settings: z.ZodOptional<z.ZodObject<{
3033
+ menuLocales: z.ZodArray<z.ZodAny, "many">;
3034
+ deliveryTimesInterval: z.ZodEffects<z.ZodNumber, number, number>;
3035
+ takeAwayTimesInterval: z.ZodEffects<z.ZodNumber, number, number>;
3036
+ numberMinutesToPrecessFirstOrder: z.ZodNumber;
3037
+ numberMinutesTimeChangeTolerance: z.ZodNumber;
3038
+ maxCountableItemsPerBundle: z.ZodNumber;
3039
+ maxOrdersPerBundle: z.ZodNumber;
3040
+ preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
3041
+ numberMinutesBeforeAutoAcceptOrder: z.ZodEffects<z.ZodNumber, number, number>;
3042
+ }, "strip", z.ZodTypeAny, {
3043
+ menuLocales: any[];
3044
+ deliveryTimesInterval: number;
3045
+ takeAwayTimesInterval: number;
3046
+ numberMinutesToPrecessFirstOrder: number;
3047
+ numberMinutesTimeChangeTolerance: number;
3048
+ maxCountableItemsPerBundle: number;
3049
+ maxOrdersPerBundle: number;
3050
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
3051
+ numberMinutesBeforeAutoAcceptOrder: number;
3052
+ }, {
3053
+ menuLocales: any[];
3054
+ deliveryTimesInterval: number;
3055
+ takeAwayTimesInterval: number;
3056
+ numberMinutesToPrecessFirstOrder: number;
3057
+ numberMinutesTimeChangeTolerance: number;
3058
+ maxCountableItemsPerBundle: number;
3059
+ maxOrdersPerBundle: number;
3060
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
3061
+ numberMinutesBeforeAutoAcceptOrder: number;
3062
+ }>>;
3063
+ openingTimeSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
3064
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
3065
+ times: z.ZodArray<z.ZodObject<{
3066
+ startTime: z.ZodString;
3067
+ endTime: z.ZodString;
3068
+ }, "strip", z.ZodTypeAny, {
3069
+ startTime: string;
3070
+ endTime: string;
3071
+ }, {
3072
+ startTime: string;
3073
+ endTime: string;
3074
+ }>, "many">;
3075
+ }, "strip", z.ZodTypeAny, {
3076
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3077
+ times: {
3078
+ startTime: string;
3079
+ endTime: string;
3080
+ }[];
3081
+ }, {
3082
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3083
+ times: {
3084
+ startTime: string;
3085
+ endTime: string;
3086
+ }[];
3087
+ }>, "many">>;
3088
+ deliveryTimeSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
3089
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
3090
+ times: z.ZodArray<z.ZodObject<{
3091
+ startTime: z.ZodString;
3092
+ endTime: z.ZodString;
3093
+ availableCouriers: z.ZodNumber;
3094
+ }, "strip", z.ZodTypeAny, {
3095
+ startTime: string;
3096
+ endTime: string;
3097
+ availableCouriers: number;
3098
+ }, {
3099
+ startTime: string;
3100
+ endTime: string;
3101
+ availableCouriers: number;
3102
+ }>, "many">;
3103
+ }, "strip", z.ZodTypeAny, {
3104
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3105
+ times: {
3106
+ startTime: string;
3107
+ endTime: string;
3108
+ availableCouriers: number;
3109
+ }[];
3110
+ }, {
3111
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3112
+ times: {
3113
+ startTime: string;
3114
+ endTime: string;
3115
+ availableCouriers: number;
3116
+ }[];
3117
+ }>, "many">>;
3118
+ takeAwayTimeSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
3119
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
3120
+ times: z.ZodArray<z.ZodObject<{
3121
+ startTime: z.ZodString;
3122
+ endTime: z.ZodString;
3123
+ }, "strip", z.ZodTypeAny, {
3124
+ startTime: string;
3125
+ endTime: string;
3126
+ }, {
3127
+ startTime: string;
3128
+ endTime: string;
3129
+ }>, "many">;
3130
+ }, "strip", z.ZodTypeAny, {
3131
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3132
+ times: {
3133
+ startTime: string;
3134
+ endTime: string;
3135
+ }[];
3136
+ }, {
3137
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3138
+ times: {
3139
+ startTime: string;
3140
+ endTime: string;
3141
+ }[];
3142
+ }>, "many">>;
3143
+ }, "strip", z.ZodTypeAny, {
3144
+ name?: string | undefined;
3145
+ address?: {
3146
+ line1: string;
3147
+ city: string;
3148
+ region: string;
3149
+ postalCode: string;
3150
+ country: string;
3151
+ line2?: string | undefined;
3152
+ } | undefined;
3153
+ timezone?: string | undefined;
3154
+ capabilities?: "DELIVERY_OPTIMIZATION"[] | undefined;
3155
+ openingStatus?: "OPEN" | "CLOSED" | undefined;
3156
+ settings?: {
3157
+ menuLocales: any[];
3158
+ deliveryTimesInterval: number;
3159
+ takeAwayTimesInterval: number;
3160
+ numberMinutesToPrecessFirstOrder: number;
3161
+ numberMinutesTimeChangeTolerance: number;
3162
+ maxCountableItemsPerBundle: number;
3163
+ maxOrdersPerBundle: number;
3164
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
3165
+ numberMinutesBeforeAutoAcceptOrder: number;
3166
+ } | undefined;
3167
+ openingTimeSettings?: {
3168
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3169
+ times: {
3170
+ startTime: string;
3171
+ endTime: string;
3172
+ }[];
3173
+ }[] | undefined;
3174
+ deliveryTimeSettings?: {
3175
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3176
+ times: {
3177
+ startTime: string;
3178
+ endTime: string;
3179
+ availableCouriers: number;
3180
+ }[];
3181
+ }[] | undefined;
3182
+ takeAwayTimeSettings?: {
3183
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3184
+ times: {
3185
+ startTime: string;
3186
+ endTime: string;
3187
+ }[];
3188
+ }[] | undefined;
3189
+ }, {
3190
+ name?: string | undefined;
3191
+ address?: {
3192
+ line1: string;
3193
+ city: string;
3194
+ region: string;
3195
+ postalCode: string;
3196
+ country: string;
3197
+ line2?: string | undefined;
3198
+ } | undefined;
3199
+ timezone?: string | undefined;
3200
+ capabilities?: "DELIVERY_OPTIMIZATION"[] | undefined;
3201
+ openingStatus?: "OPEN" | "CLOSED" | undefined;
3202
+ settings?: {
3203
+ menuLocales: any[];
3204
+ deliveryTimesInterval: number;
3205
+ takeAwayTimesInterval: number;
3206
+ numberMinutesToPrecessFirstOrder: number;
3207
+ numberMinutesTimeChangeTolerance: number;
3208
+ maxCountableItemsPerBundle: number;
3209
+ maxOrdersPerBundle: number;
3210
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
3211
+ numberMinutesBeforeAutoAcceptOrder: number;
3212
+ } | undefined;
3213
+ openingTimeSettings?: {
3214
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3215
+ times: {
3216
+ startTime: string;
3217
+ endTime: string;
3218
+ }[];
3219
+ }[] | undefined;
3220
+ deliveryTimeSettings?: {
3221
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3222
+ times: {
3223
+ startTime: string;
3224
+ endTime: string;
3225
+ availableCouriers: number;
3226
+ }[];
3227
+ }[] | undefined;
3228
+ takeAwayTimeSettings?: {
3229
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3230
+ times: {
3231
+ startTime: string;
3232
+ endTime: string;
3233
+ }[];
3234
+ }[] | undefined;
3235
+ }>;
3236
+ type UpdatePointOfSaleInput = z.infer<typeof updatePointOfSaleInputSchema>;
3237
+ declare const updatePointOfSaleResponseSchema: z.ZodObject<{
3238
+ id: z.ZodString;
3239
+ name: z.ZodString;
3240
+ address: z.ZodObject<{
3241
+ line1: z.ZodString;
3242
+ line2: z.ZodOptional<z.ZodString>;
3243
+ city: z.ZodString;
3244
+ region: z.ZodString;
3245
+ postalCode: z.ZodString;
3246
+ country: z.ZodString;
3247
+ }, "strip", z.ZodTypeAny, {
3248
+ line1: string;
3249
+ city: string;
3250
+ region: string;
3251
+ postalCode: string;
3252
+ country: string;
3253
+ line2?: string | undefined;
3254
+ }, {
3255
+ line1: string;
3256
+ city: string;
3257
+ region: string;
3258
+ postalCode: string;
3259
+ country: string;
3260
+ line2?: string | undefined;
3261
+ }>;
3262
+ timezone: z.ZodString;
3263
+ location: z.ZodObject<{
3264
+ latitude: z.ZodNumber;
3265
+ longitude: z.ZodNumber;
3266
+ }, "strip", z.ZodTypeAny, {
3267
+ latitude: number;
3268
+ longitude: number;
3269
+ }, {
3270
+ latitude: number;
3271
+ longitude: number;
3272
+ }>;
3273
+ capabilities: z.ZodArray<z.ZodEnum<["DELIVERY_OPTIMIZATION"]>, "many">;
3274
+ openingStatus: z.ZodEnum<["OPEN", "CLOSED"]>;
3275
+ createdAt: z.ZodEffects<z.ZodString, string, string>;
3276
+ updatedAt: z.ZodEffects<z.ZodString, string, string>;
3277
+ } & {
3278
+ company: z.ZodString;
3279
+ settings: z.ZodObject<{
3280
+ menuLocales: z.ZodArray<z.ZodAny, "many">;
3281
+ deliveryTimesInterval: z.ZodEffects<z.ZodNumber, number, number>;
3282
+ takeAwayTimesInterval: z.ZodEffects<z.ZodNumber, number, number>;
3283
+ numberMinutesToPrecessFirstOrder: z.ZodNumber;
3284
+ numberMinutesTimeChangeTolerance: z.ZodNumber;
3285
+ maxCountableItemsPerBundle: z.ZodNumber;
3286
+ maxOrdersPerBundle: z.ZodNumber;
3287
+ preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
3288
+ numberMinutesBeforeAutoAcceptOrder: z.ZodEffects<z.ZodNumber, number, number>;
3289
+ }, "strip", z.ZodTypeAny, {
3290
+ menuLocales: any[];
3291
+ deliveryTimesInterval: number;
3292
+ takeAwayTimesInterval: number;
3293
+ numberMinutesToPrecessFirstOrder: number;
3294
+ numberMinutesTimeChangeTolerance: number;
3295
+ maxCountableItemsPerBundle: number;
3296
+ maxOrdersPerBundle: number;
3297
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
3298
+ numberMinutesBeforeAutoAcceptOrder: number;
3299
+ }, {
3300
+ menuLocales: any[];
3301
+ deliveryTimesInterval: number;
3302
+ takeAwayTimesInterval: number;
3303
+ numberMinutesToPrecessFirstOrder: number;
3304
+ numberMinutesTimeChangeTolerance: number;
3305
+ maxCountableItemsPerBundle: number;
3306
+ maxOrdersPerBundle: number;
3307
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
3308
+ numberMinutesBeforeAutoAcceptOrder: number;
3309
+ }>;
3310
+ openingTimeSettings: z.ZodArray<z.ZodObject<{
3311
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
3312
+ times: z.ZodArray<z.ZodObject<{
3313
+ startTime: z.ZodString;
3314
+ endTime: z.ZodString;
3315
+ }, "strip", z.ZodTypeAny, {
3316
+ startTime: string;
3317
+ endTime: string;
3318
+ }, {
3319
+ startTime: string;
3320
+ endTime: string;
3321
+ }>, "many">;
3322
+ }, "strip", z.ZodTypeAny, {
3323
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3324
+ times: {
3325
+ startTime: string;
3326
+ endTime: string;
3327
+ }[];
3328
+ }, {
3329
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3330
+ times: {
3331
+ startTime: string;
3332
+ endTime: string;
3333
+ }[];
3334
+ }>, "many">;
3335
+ deliveryTimeSettings: z.ZodArray<z.ZodObject<{
3336
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
3337
+ times: z.ZodArray<z.ZodObject<{
3338
+ startTime: z.ZodString;
3339
+ endTime: z.ZodString;
3340
+ availableCouriers: z.ZodNumber;
3341
+ }, "strip", z.ZodTypeAny, {
3342
+ startTime: string;
3343
+ endTime: string;
3344
+ availableCouriers: number;
3345
+ }, {
3346
+ startTime: string;
3347
+ endTime: string;
3348
+ availableCouriers: number;
3349
+ }>, "many">;
3350
+ }, "strip", z.ZodTypeAny, {
3351
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3352
+ times: {
3353
+ startTime: string;
3354
+ endTime: string;
3355
+ availableCouriers: number;
3356
+ }[];
3357
+ }, {
3358
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3359
+ times: {
3360
+ startTime: string;
3361
+ endTime: string;
3362
+ availableCouriers: number;
3363
+ }[];
3364
+ }>, "many">;
3365
+ takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
3366
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
3367
+ times: z.ZodArray<z.ZodObject<{
3368
+ startTime: z.ZodString;
3369
+ endTime: z.ZodString;
3370
+ }, "strip", z.ZodTypeAny, {
3371
+ startTime: string;
3372
+ endTime: string;
3373
+ }, {
3374
+ startTime: string;
3375
+ endTime: string;
3376
+ }>, "many">;
3377
+ }, "strip", z.ZodTypeAny, {
3378
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3379
+ times: {
3380
+ startTime: string;
3381
+ endTime: string;
3382
+ }[];
3383
+ }, {
3384
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3385
+ times: {
3386
+ startTime: string;
3387
+ endTime: string;
3388
+ }[];
3389
+ }>, "many">;
3390
+ numberOfCouriers: z.ZodNumber;
3391
+ }, "strip", z.ZodTypeAny, {
3392
+ id: string;
3393
+ name: string;
3394
+ address: {
3395
+ line1: string;
3396
+ city: string;
3397
+ region: string;
3398
+ postalCode: string;
3399
+ country: string;
3400
+ line2?: string | undefined;
3401
+ };
3402
+ timezone: string;
3403
+ location: {
3404
+ latitude: number;
3405
+ longitude: number;
3406
+ };
3407
+ capabilities: "DELIVERY_OPTIMIZATION"[];
3408
+ openingStatus: "OPEN" | "CLOSED";
3409
+ createdAt: string;
3410
+ updatedAt: string;
3411
+ company: string;
3412
+ settings: {
3413
+ menuLocales: any[];
3414
+ deliveryTimesInterval: number;
3415
+ takeAwayTimesInterval: number;
3416
+ numberMinutesToPrecessFirstOrder: number;
3417
+ numberMinutesTimeChangeTolerance: number;
3418
+ maxCountableItemsPerBundle: number;
3419
+ maxOrdersPerBundle: number;
3420
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
3421
+ numberMinutesBeforeAutoAcceptOrder: number;
3422
+ };
3423
+ openingTimeSettings: {
3424
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3425
+ times: {
3426
+ startTime: string;
3427
+ endTime: string;
3428
+ }[];
3429
+ }[];
3430
+ deliveryTimeSettings: {
3431
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3432
+ times: {
3433
+ startTime: string;
3434
+ endTime: string;
3435
+ availableCouriers: number;
3436
+ }[];
3437
+ }[];
3438
+ takeAwayTimeSettings: {
3439
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3440
+ times: {
3441
+ startTime: string;
3442
+ endTime: string;
3443
+ }[];
3444
+ }[];
3445
+ numberOfCouriers: number;
3446
+ }, {
3447
+ id: string;
3448
+ name: string;
3449
+ address: {
3450
+ line1: string;
3451
+ city: string;
3452
+ region: string;
3453
+ postalCode: string;
3454
+ country: string;
3455
+ line2?: string | undefined;
3456
+ };
3457
+ timezone: string;
3458
+ location: {
3459
+ latitude: number;
3460
+ longitude: number;
3461
+ };
3462
+ capabilities: "DELIVERY_OPTIMIZATION"[];
3463
+ openingStatus: "OPEN" | "CLOSED";
3464
+ createdAt: string;
3465
+ updatedAt: string;
3466
+ company: string;
3467
+ settings: {
3468
+ menuLocales: any[];
3469
+ deliveryTimesInterval: number;
3470
+ takeAwayTimesInterval: number;
3471
+ numberMinutesToPrecessFirstOrder: number;
3472
+ numberMinutesTimeChangeTolerance: number;
3473
+ maxCountableItemsPerBundle: number;
3474
+ maxOrdersPerBundle: number;
3475
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
3476
+ numberMinutesBeforeAutoAcceptOrder: number;
3477
+ };
3478
+ openingTimeSettings: {
3479
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3480
+ times: {
3481
+ startTime: string;
3482
+ endTime: string;
3483
+ }[];
3484
+ }[];
3485
+ deliveryTimeSettings: {
3486
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3487
+ times: {
3488
+ startTime: string;
3489
+ endTime: string;
3490
+ availableCouriers: number;
3491
+ }[];
3492
+ }[];
3493
+ takeAwayTimeSettings: {
3494
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3495
+ times: {
3496
+ startTime: string;
3497
+ endTime: string;
3498
+ }[];
3499
+ }[];
3500
+ numberOfCouriers: number;
3501
+ }>;
3502
+ type UpdatePointOfSaleResponse = PointOfSaleDetails;
3503
+ declare class UpdatePointOfSale extends AbstractApiRequest<UpdatePointOfSaleInput, UpdatePointOfSaleResponse> {
3504
+ readonly method = "PATCH";
3505
+ readonly contentType = "application/merge-patch+json";
3506
+ readonly accept = "application/json";
3507
+ readonly inputSchema: z.ZodObject<{
3508
+ name: z.ZodOptional<z.ZodString>;
3509
+ address: z.ZodOptional<z.ZodObject<{
3510
+ line1: z.ZodString;
3511
+ line2: z.ZodOptional<z.ZodString>;
3512
+ city: z.ZodString;
3513
+ region: z.ZodString;
3514
+ postalCode: z.ZodString;
3515
+ country: z.ZodString;
3516
+ }, "strip", z.ZodTypeAny, {
3517
+ line1: string;
3518
+ city: string;
3519
+ region: string;
3520
+ postalCode: string;
3521
+ country: string;
3522
+ line2?: string | undefined;
3523
+ }, {
3524
+ line1: string;
3525
+ city: string;
3526
+ region: string;
3527
+ postalCode: string;
3528
+ country: string;
3529
+ line2?: string | undefined;
3530
+ }>>;
3531
+ timezone: z.ZodOptional<z.ZodString>;
3532
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["DELIVERY_OPTIMIZATION"]>, "many">>;
3533
+ openingStatus: z.ZodOptional<z.ZodEnum<["OPEN", "CLOSED"]>>;
3534
+ settings: z.ZodOptional<z.ZodObject<{
3535
+ menuLocales: z.ZodArray<z.ZodAny, "many">;
3536
+ deliveryTimesInterval: z.ZodEffects<z.ZodNumber, number, number>;
3537
+ takeAwayTimesInterval: z.ZodEffects<z.ZodNumber, number, number>;
3538
+ numberMinutesToPrecessFirstOrder: z.ZodNumber;
3539
+ numberMinutesTimeChangeTolerance: z.ZodNumber;
3540
+ maxCountableItemsPerBundle: z.ZodNumber;
3541
+ maxOrdersPerBundle: z.ZodNumber;
3542
+ preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
3543
+ numberMinutesBeforeAutoAcceptOrder: z.ZodEffects<z.ZodNumber, number, number>;
3544
+ }, "strip", z.ZodTypeAny, {
3545
+ menuLocales: any[];
3546
+ deliveryTimesInterval: number;
3547
+ takeAwayTimesInterval: number;
3548
+ numberMinutesToPrecessFirstOrder: number;
3549
+ numberMinutesTimeChangeTolerance: number;
3550
+ maxCountableItemsPerBundle: number;
3551
+ maxOrdersPerBundle: number;
3552
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
3553
+ numberMinutesBeforeAutoAcceptOrder: number;
3554
+ }, {
3555
+ menuLocales: any[];
3556
+ deliveryTimesInterval: number;
3557
+ takeAwayTimesInterval: number;
3558
+ numberMinutesToPrecessFirstOrder: number;
3559
+ numberMinutesTimeChangeTolerance: number;
3560
+ maxCountableItemsPerBundle: number;
3561
+ maxOrdersPerBundle: number;
3562
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
3563
+ numberMinutesBeforeAutoAcceptOrder: number;
3564
+ }>>;
3565
+ openingTimeSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
3566
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
3567
+ times: z.ZodArray<z.ZodObject<{
3568
+ startTime: z.ZodString;
3569
+ endTime: z.ZodString;
3570
+ }, "strip", z.ZodTypeAny, {
3571
+ startTime: string;
3572
+ endTime: string;
3573
+ }, {
3574
+ startTime: string;
3575
+ endTime: string;
3576
+ }>, "many">;
3577
+ }, "strip", z.ZodTypeAny, {
3578
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3579
+ times: {
3580
+ startTime: string;
3581
+ endTime: string;
3582
+ }[];
3583
+ }, {
3584
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3585
+ times: {
3586
+ startTime: string;
3587
+ endTime: string;
3588
+ }[];
3589
+ }>, "many">>;
3590
+ deliveryTimeSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
3591
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
3592
+ times: z.ZodArray<z.ZodObject<{
3593
+ startTime: z.ZodString;
3594
+ endTime: z.ZodString;
3595
+ availableCouriers: z.ZodNumber;
3596
+ }, "strip", z.ZodTypeAny, {
3597
+ startTime: string;
3598
+ endTime: string;
3599
+ availableCouriers: number;
3600
+ }, {
3601
+ startTime: string;
3602
+ endTime: string;
3603
+ availableCouriers: number;
3604
+ }>, "many">;
3605
+ }, "strip", z.ZodTypeAny, {
3606
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3607
+ times: {
3608
+ startTime: string;
3609
+ endTime: string;
3610
+ availableCouriers: number;
3611
+ }[];
3612
+ }, {
3613
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3614
+ times: {
3615
+ startTime: string;
3616
+ endTime: string;
3617
+ availableCouriers: number;
3618
+ }[];
3619
+ }>, "many">>;
3620
+ takeAwayTimeSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
3621
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
3622
+ times: z.ZodArray<z.ZodObject<{
3623
+ startTime: z.ZodString;
3624
+ endTime: z.ZodString;
3625
+ }, "strip", z.ZodTypeAny, {
3626
+ startTime: string;
3627
+ endTime: string;
3628
+ }, {
3629
+ startTime: string;
3630
+ endTime: string;
3631
+ }>, "many">;
3632
+ }, "strip", z.ZodTypeAny, {
3633
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3634
+ times: {
3635
+ startTime: string;
3636
+ endTime: string;
3637
+ }[];
3638
+ }, {
3639
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3640
+ times: {
3641
+ startTime: string;
3642
+ endTime: string;
3643
+ }[];
3644
+ }>, "many">>;
3645
+ }, "strip", z.ZodTypeAny, {
3646
+ name?: string | undefined;
3647
+ address?: {
3648
+ line1: string;
3649
+ city: string;
3650
+ region: string;
3651
+ postalCode: string;
3652
+ country: string;
3653
+ line2?: string | undefined;
3654
+ } | undefined;
3655
+ timezone?: string | undefined;
3656
+ capabilities?: "DELIVERY_OPTIMIZATION"[] | undefined;
3657
+ openingStatus?: "OPEN" | "CLOSED" | undefined;
3658
+ settings?: {
3659
+ menuLocales: any[];
3660
+ deliveryTimesInterval: number;
3661
+ takeAwayTimesInterval: number;
3662
+ numberMinutesToPrecessFirstOrder: number;
3663
+ numberMinutesTimeChangeTolerance: number;
3664
+ maxCountableItemsPerBundle: number;
3665
+ maxOrdersPerBundle: number;
3666
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
3667
+ numberMinutesBeforeAutoAcceptOrder: number;
3668
+ } | undefined;
3669
+ openingTimeSettings?: {
3670
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3671
+ times: {
3672
+ startTime: string;
3673
+ endTime: string;
3674
+ }[];
3675
+ }[] | undefined;
3676
+ deliveryTimeSettings?: {
3677
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3678
+ times: {
3679
+ startTime: string;
3680
+ endTime: string;
3681
+ availableCouriers: number;
3682
+ }[];
3683
+ }[] | undefined;
3684
+ takeAwayTimeSettings?: {
3685
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3686
+ times: {
3687
+ startTime: string;
3688
+ endTime: string;
3689
+ }[];
3690
+ }[] | undefined;
3691
+ }, {
3692
+ name?: string | undefined;
3693
+ address?: {
3694
+ line1: string;
3695
+ city: string;
3696
+ region: string;
3697
+ postalCode: string;
3698
+ country: string;
3699
+ line2?: string | undefined;
3700
+ } | undefined;
3701
+ timezone?: string | undefined;
3702
+ capabilities?: "DELIVERY_OPTIMIZATION"[] | undefined;
3703
+ openingStatus?: "OPEN" | "CLOSED" | undefined;
3704
+ settings?: {
3705
+ menuLocales: any[];
3706
+ deliveryTimesInterval: number;
3707
+ takeAwayTimesInterval: number;
3708
+ numberMinutesToPrecessFirstOrder: number;
3709
+ numberMinutesTimeChangeTolerance: number;
3710
+ maxCountableItemsPerBundle: number;
3711
+ maxOrdersPerBundle: number;
3712
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
3713
+ numberMinutesBeforeAutoAcceptOrder: number;
3714
+ } | undefined;
3715
+ openingTimeSettings?: {
3716
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3717
+ times: {
3718
+ startTime: string;
3719
+ endTime: string;
3720
+ }[];
3721
+ }[] | undefined;
3722
+ deliveryTimeSettings?: {
3723
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3724
+ times: {
3725
+ startTime: string;
3726
+ endTime: string;
3727
+ availableCouriers: number;
3728
+ }[];
3729
+ }[] | undefined;
3730
+ takeAwayTimeSettings?: {
3731
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3732
+ times: {
3733
+ startTime: string;
3734
+ endTime: string;
3735
+ }[];
3736
+ }[] | undefined;
3737
+ }>;
3738
+ readonly outputSchema: z.ZodObject<{
3739
+ id: z.ZodString;
3740
+ name: z.ZodString;
3741
+ address: z.ZodObject<{
3742
+ line1: z.ZodString;
3743
+ line2: z.ZodOptional<z.ZodString>;
3744
+ city: z.ZodString;
3745
+ region: z.ZodString;
3746
+ postalCode: z.ZodString;
3747
+ country: z.ZodString;
3748
+ }, "strip", z.ZodTypeAny, {
3749
+ line1: string;
3750
+ city: string;
3751
+ region: string;
3752
+ postalCode: string;
3753
+ country: string;
3754
+ line2?: string | undefined;
3755
+ }, {
3756
+ line1: string;
3757
+ city: string;
3758
+ region: string;
3759
+ postalCode: string;
3760
+ country: string;
3761
+ line2?: string | undefined;
3762
+ }>;
3763
+ timezone: z.ZodString;
3764
+ location: z.ZodObject<{
3765
+ latitude: z.ZodNumber;
3766
+ longitude: z.ZodNumber;
3767
+ }, "strip", z.ZodTypeAny, {
3768
+ latitude: number;
3769
+ longitude: number;
3770
+ }, {
3771
+ latitude: number;
3772
+ longitude: number;
3773
+ }>;
3774
+ capabilities: z.ZodArray<z.ZodEnum<["DELIVERY_OPTIMIZATION"]>, "many">;
3775
+ openingStatus: z.ZodEnum<["OPEN", "CLOSED"]>;
3776
+ createdAt: z.ZodEffects<z.ZodString, string, string>;
3777
+ updatedAt: z.ZodEffects<z.ZodString, string, string>;
3778
+ } & {
3779
+ company: z.ZodString;
3780
+ settings: z.ZodObject<{
3781
+ menuLocales: z.ZodArray<z.ZodAny, "many">;
3782
+ deliveryTimesInterval: z.ZodEffects<z.ZodNumber, number, number>;
3783
+ takeAwayTimesInterval: z.ZodEffects<z.ZodNumber, number, number>;
3784
+ numberMinutesToPrecessFirstOrder: z.ZodNumber;
3785
+ numberMinutesTimeChangeTolerance: z.ZodNumber;
3786
+ maxCountableItemsPerBundle: z.ZodNumber;
3787
+ maxOrdersPerBundle: z.ZodNumber;
3788
+ preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
3789
+ numberMinutesBeforeAutoAcceptOrder: z.ZodEffects<z.ZodNumber, number, number>;
3790
+ }, "strip", z.ZodTypeAny, {
3791
+ menuLocales: any[];
3792
+ deliveryTimesInterval: number;
3793
+ takeAwayTimesInterval: number;
3794
+ numberMinutesToPrecessFirstOrder: number;
3795
+ numberMinutesTimeChangeTolerance: number;
3796
+ maxCountableItemsPerBundle: number;
3797
+ maxOrdersPerBundle: number;
3798
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
3799
+ numberMinutesBeforeAutoAcceptOrder: number;
3800
+ }, {
3801
+ menuLocales: any[];
3802
+ deliveryTimesInterval: number;
3803
+ takeAwayTimesInterval: number;
3804
+ numberMinutesToPrecessFirstOrder: number;
3805
+ numberMinutesTimeChangeTolerance: number;
3806
+ maxCountableItemsPerBundle: number;
3807
+ maxOrdersPerBundle: number;
3808
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
3809
+ numberMinutesBeforeAutoAcceptOrder: number;
3810
+ }>;
3811
+ openingTimeSettings: z.ZodArray<z.ZodObject<{
3812
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
3813
+ times: z.ZodArray<z.ZodObject<{
3814
+ startTime: z.ZodString;
3815
+ endTime: z.ZodString;
3816
+ }, "strip", z.ZodTypeAny, {
3817
+ startTime: string;
3818
+ endTime: string;
3819
+ }, {
3820
+ startTime: string;
3821
+ endTime: string;
3822
+ }>, "many">;
3823
+ }, "strip", z.ZodTypeAny, {
3824
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3825
+ times: {
3826
+ startTime: string;
3827
+ endTime: string;
3828
+ }[];
3829
+ }, {
3830
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3831
+ times: {
3832
+ startTime: string;
3833
+ endTime: string;
3834
+ }[];
3835
+ }>, "many">;
3836
+ deliveryTimeSettings: z.ZodArray<z.ZodObject<{
3837
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
3838
+ times: z.ZodArray<z.ZodObject<{
3839
+ startTime: z.ZodString;
3840
+ endTime: z.ZodString;
3841
+ availableCouriers: z.ZodNumber;
3842
+ }, "strip", z.ZodTypeAny, {
3843
+ startTime: string;
3844
+ endTime: string;
3845
+ availableCouriers: number;
3846
+ }, {
3847
+ startTime: string;
3848
+ endTime: string;
3849
+ availableCouriers: number;
3850
+ }>, "many">;
3851
+ }, "strip", z.ZodTypeAny, {
3852
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3853
+ times: {
3854
+ startTime: string;
3855
+ endTime: string;
3856
+ availableCouriers: number;
3857
+ }[];
3858
+ }, {
3859
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3860
+ times: {
3861
+ startTime: string;
3862
+ endTime: string;
3863
+ availableCouriers: number;
3864
+ }[];
3865
+ }>, "many">;
3866
+ takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
3867
+ dayOfWeek: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
3868
+ times: z.ZodArray<z.ZodObject<{
3869
+ startTime: z.ZodString;
3870
+ endTime: z.ZodString;
3871
+ }, "strip", z.ZodTypeAny, {
3872
+ startTime: string;
3873
+ endTime: string;
3874
+ }, {
3875
+ startTime: string;
3876
+ endTime: string;
3877
+ }>, "many">;
3878
+ }, "strip", z.ZodTypeAny, {
3879
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3880
+ times: {
3881
+ startTime: string;
3882
+ endTime: string;
3883
+ }[];
3884
+ }, {
3885
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3886
+ times: {
3887
+ startTime: string;
3888
+ endTime: string;
3889
+ }[];
3890
+ }>, "many">;
3891
+ numberOfCouriers: z.ZodNumber;
3892
+ }, "strip", z.ZodTypeAny, {
3893
+ id: string;
3894
+ name: string;
3895
+ address: {
3896
+ line1: string;
3897
+ city: string;
3898
+ region: string;
3899
+ postalCode: string;
3900
+ country: string;
3901
+ line2?: string | undefined;
3902
+ };
3903
+ timezone: string;
3904
+ location: {
3905
+ latitude: number;
3906
+ longitude: number;
3907
+ };
3908
+ capabilities: "DELIVERY_OPTIMIZATION"[];
3909
+ openingStatus: "OPEN" | "CLOSED";
3910
+ createdAt: string;
3911
+ updatedAt: string;
3912
+ company: string;
3913
+ settings: {
3914
+ menuLocales: any[];
3915
+ deliveryTimesInterval: number;
3916
+ takeAwayTimesInterval: number;
3917
+ numberMinutesToPrecessFirstOrder: number;
3918
+ numberMinutesTimeChangeTolerance: number;
3919
+ maxCountableItemsPerBundle: number;
3920
+ maxOrdersPerBundle: number;
3921
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
3922
+ numberMinutesBeforeAutoAcceptOrder: number;
3923
+ };
3924
+ openingTimeSettings: {
3925
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3926
+ times: {
3927
+ startTime: string;
3928
+ endTime: string;
3929
+ }[];
3930
+ }[];
3931
+ deliveryTimeSettings: {
3932
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3933
+ times: {
3934
+ startTime: string;
3935
+ endTime: string;
3936
+ availableCouriers: number;
3937
+ }[];
3938
+ }[];
3939
+ takeAwayTimeSettings: {
3940
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3941
+ times: {
3942
+ startTime: string;
3943
+ endTime: string;
3944
+ }[];
3945
+ }[];
3946
+ numberOfCouriers: number;
3947
+ }, {
3948
+ id: string;
3949
+ name: string;
3950
+ address: {
3951
+ line1: string;
3952
+ city: string;
3953
+ region: string;
3954
+ postalCode: string;
3955
+ country: string;
3956
+ line2?: string | undefined;
3957
+ };
3958
+ timezone: string;
3959
+ location: {
3960
+ latitude: number;
3961
+ longitude: number;
3962
+ };
3963
+ capabilities: "DELIVERY_OPTIMIZATION"[];
3964
+ openingStatus: "OPEN" | "CLOSED";
3965
+ createdAt: string;
3966
+ updatedAt: string;
3967
+ company: string;
3968
+ settings: {
3969
+ menuLocales: any[];
3970
+ deliveryTimesInterval: number;
3971
+ takeAwayTimesInterval: number;
3972
+ numberMinutesToPrecessFirstOrder: number;
3973
+ numberMinutesTimeChangeTolerance: number;
3974
+ maxCountableItemsPerBundle: number;
3975
+ maxOrdersPerBundle: number;
3976
+ preventOrderTakingIfTheMaxCountableItemsExceeded: boolean;
3977
+ numberMinutesBeforeAutoAcceptOrder: number;
3978
+ };
3979
+ openingTimeSettings: {
3980
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3981
+ times: {
3982
+ startTime: string;
3983
+ endTime: string;
3984
+ }[];
3985
+ }[];
3986
+ deliveryTimeSettings: {
3987
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3988
+ times: {
3989
+ startTime: string;
3990
+ endTime: string;
3991
+ availableCouriers: number;
3992
+ }[];
3993
+ }[];
3994
+ takeAwayTimeSettings: {
3995
+ dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3996
+ times: {
3997
+ startTime: string;
3998
+ endTime: string;
3999
+ }[];
4000
+ }[];
4001
+ numberOfCouriers: number;
4002
+ }>;
4003
+ readonly querySchema: undefined;
4004
+ readonly headersSchema: undefined;
4005
+ private readonly pointOfSaleId;
4006
+ constructor(pointOfSaleId: string, input: UpdatePointOfSaleInput);
4007
+ getPath(): string;
4008
+ }
4009
+
4010
+ declare const pointOfSaleOpeningStatuses: readonly ["OPEN", "CLOSED"];
4011
+ declare const pointOfSaleOpeningStatusSchema: z.ZodEnum<["OPEN", "CLOSED"]>;
4012
+ type PointOfSaleOpeningStatus = z.infer<typeof pointOfSaleOpeningStatusSchema>;
4013
+ declare const pointOfSaleCapabilities: readonly ["DELIVERY_OPTIMIZATION"];
4014
+ declare const pointOfSaleCapabilitySchema: z.ZodEnum<["DELIVERY_OPTIMIZATION"]>;
4015
+ type PointOfSaleCapability = z.infer<typeof pointOfSaleCapabilitySchema>;
4016
+ declare const pointOfSaleUserRoles: readonly ["ROLE_ADMIN", "ROLE_READER"];
4017
+ declare const pointOfSaleUserRoleSchema: z.ZodEnum<["ROLE_ADMIN", "ROLE_READER"]>;
4018
+ type PointOfSaleUserRole = z.infer<typeof pointOfSaleUserRoleSchema>;
4019
+
4020
+ export { CreatePointOfSale, type CreatePointOfSaleInput, type CreatePointOfSaleResponse, DeletePointOfSale, type DeliveryTimeSetting, type GetCompaniesQueryParams, type GetCompaniesResponse, GetPointOfSaleDetails, type GetPointOfSaleDetailsResponse, GetPointOfSales, type PointOfSale, type PointOfSaleCapability, type PointOfSaleDetails, type PointOfSaleOpeningStatus, type PointOfSaleUserRole, type TimeSetting, UpdatePointOfSale, type UpdatePointOfSaleInput, type UpdatePointOfSaleResponse, type UserPointOfSale, type WritableCreatePointOfSale, type WritablePointOfSale, createPointOfSaleInputSchema, createPointOfSaleResponseSchema, deletePointOfSaleInputSchema, deletePointOfSaleResponseSchema, deliveryTimeSettingSchema, getCompaniesInputSchema, getCompaniesQuerySchema, getCompaniesResponseSchema, getPointOfSaleDetailsInputSchema, getPointOfSaleDetailsResponseSchema, pointOfSaleAutoAcceptOrderValues, pointOfSaleCapabilities, pointOfSaleCapabilitySchema, pointOfSaleDetailsSchema, pointOfSaleIntervalValues, pointOfSaleOpeningStatusSchema, pointOfSaleOpeningStatuses, pointOfSaleSchema, pointOfSaleUserRoleSchema, pointOfSaleUserRoles, timeSettingSchema, updatePointOfSaleInputSchema, updatePointOfSaleResponseSchema, userPointOfSaleSchema, writableCreatePointOfSaleSchema, writablePointOfSaleSchema };