@deliverart/sdk-js-integration 2.1.29 → 2.1.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -27,10 +27,10 @@ declare const activatableIntegrationBaseSchema: z.ZodObject<{
27
27
  }>;
28
28
  name: z.ZodString;
29
29
  message: z.ZodNullable<z.ZodString>;
30
- internalNotes: z.ZodNullable<z.ZodString>;
30
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
31
  createdAt: z.ZodString;
32
32
  updatedAt: z.ZodString;
33
- updates: z.ZodArray<z.ZodObject<{
33
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
34
34
  status: z.ZodEnum<{
35
35
  active: "active";
36
36
  waiting_for_user: "waiting_for_user";
@@ -38,9 +38,9 @@ declare const activatableIntegrationBaseSchema: z.ZodObject<{
38
38
  request_sent_partner: "request_sent_partner";
39
39
  failed: "failed";
40
40
  }>;
41
- message: z.ZodString;
41
+ message: z.ZodNullable<z.ZodString>;
42
42
  updatedAt: z.ZodString;
43
- }, z.core.$strip>>;
43
+ }, z.core.$strip>>>>;
44
44
  }, z.core.$strip>;
45
45
  declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
46
46
  service: z.ZodLiteral<"deliveroo">;
@@ -72,8 +72,8 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
72
72
  id: z.ZodString;
73
73
  connectionId: z.ZodNullable<z.ZodString>;
74
74
  name: z.ZodString;
75
- internalNotes: z.ZodNullable<z.ZodString>;
76
- updates: z.ZodArray<z.ZodObject<{
75
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
76
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
77
77
  status: z.ZodEnum<{
78
78
  active: "active";
79
79
  waiting_for_user: "waiting_for_user";
@@ -81,9 +81,9 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
81
81
  request_sent_partner: "request_sent_partner";
82
82
  failed: "failed";
83
83
  }>;
84
- message: z.ZodString;
84
+ message: z.ZodNullable<z.ZodString>;
85
85
  updatedAt: z.ZodString;
86
- }, z.core.$strip>>;
86
+ }, z.core.$strip>>>>;
87
87
  }, z.core.$strip>, z.ZodObject<{
88
88
  service: z.ZodLiteral<"glovo">;
89
89
  data: z.ZodObject<{
@@ -113,8 +113,8 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
113
113
  id: z.ZodString;
114
114
  connectionId: z.ZodNullable<z.ZodString>;
115
115
  name: z.ZodString;
116
- internalNotes: z.ZodNullable<z.ZodString>;
117
- updates: z.ZodArray<z.ZodObject<{
116
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
118
118
  status: z.ZodEnum<{
119
119
  active: "active";
120
120
  waiting_for_user: "waiting_for_user";
@@ -122,9 +122,9 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
122
122
  request_sent_partner: "request_sent_partner";
123
123
  failed: "failed";
124
124
  }>;
125
- message: z.ZodString;
125
+ message: z.ZodNullable<z.ZodString>;
126
126
  updatedAt: z.ZodString;
127
- }, z.core.$strip>>;
127
+ }, z.core.$strip>>>>;
128
128
  }, z.core.$strip>, z.ZodObject<{
129
129
  service: z.ZodLiteral<"justeat">;
130
130
  data: z.ZodObject<{
@@ -154,8 +154,8 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
154
154
  id: z.ZodString;
155
155
  connectionId: z.ZodNullable<z.ZodString>;
156
156
  name: z.ZodString;
157
- internalNotes: z.ZodNullable<z.ZodString>;
158
- updates: z.ZodArray<z.ZodObject<{
157
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
158
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
159
159
  status: z.ZodEnum<{
160
160
  active: "active";
161
161
  waiting_for_user: "waiting_for_user";
@@ -163,9 +163,9 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
163
163
  request_sent_partner: "request_sent_partner";
164
164
  failed: "failed";
165
165
  }>;
166
- message: z.ZodString;
166
+ message: z.ZodNullable<z.ZodString>;
167
167
  updatedAt: z.ZodString;
168
- }, z.core.$strip>>;
168
+ }, z.core.$strip>>>>;
169
169
  }, z.core.$strip>, z.ZodObject<{
170
170
  service: z.ZodLiteral<"cassa_in_cloud">;
171
171
  data: z.ZodObject<{
@@ -200,8 +200,8 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
200
200
  id: z.ZodString;
201
201
  connectionId: z.ZodNullable<z.ZodString>;
202
202
  name: z.ZodString;
203
- internalNotes: z.ZodNullable<z.ZodString>;
204
- updates: z.ZodArray<z.ZodObject<{
203
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
204
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
205
205
  status: z.ZodEnum<{
206
206
  active: "active";
207
207
  waiting_for_user: "waiting_for_user";
@@ -209,9 +209,9 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
209
209
  request_sent_partner: "request_sent_partner";
210
210
  failed: "failed";
211
211
  }>;
212
- message: z.ZodString;
212
+ message: z.ZodNullable<z.ZodString>;
213
213
  updatedAt: z.ZodString;
214
- }, z.core.$strip>>;
214
+ }, z.core.$strip>>>>;
215
215
  }, z.core.$strip>]>;
216
216
  type ActivatableIntegration = z.infer<typeof activatableIntegrationSchema>;
217
217
 
@@ -321,8 +321,8 @@ declare const integrationActivationRequestSchema: z.ZodDiscriminatedUnion<[z.Zod
321
321
  id: z.ZodString;
322
322
  connectionId: z.ZodNullable<z.ZodString>;
323
323
  name: z.ZodString;
324
- internalNotes: z.ZodNullable<z.ZodString>;
325
- updates: z.ZodArray<z.ZodObject<{
324
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
325
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
326
326
  status: z.ZodEnum<{
327
327
  active: "active";
328
328
  waiting_for_user: "waiting_for_user";
@@ -330,9 +330,9 @@ declare const integrationActivationRequestSchema: z.ZodDiscriminatedUnion<[z.Zod
330
330
  request_sent_partner: "request_sent_partner";
331
331
  failed: "failed";
332
332
  }>;
333
- message: z.ZodString;
333
+ message: z.ZodNullable<z.ZodString>;
334
334
  updatedAt: z.ZodString;
335
- }, z.core.$strip>>;
335
+ }, z.core.$strip>>>>;
336
336
  }, z.core.$strip>, z.ZodObject<{
337
337
  service: z.ZodLiteral<"glovo">;
338
338
  data: z.ZodObject<{
@@ -362,8 +362,8 @@ declare const integrationActivationRequestSchema: z.ZodDiscriminatedUnion<[z.Zod
362
362
  id: z.ZodString;
363
363
  connectionId: z.ZodNullable<z.ZodString>;
364
364
  name: z.ZodString;
365
- internalNotes: z.ZodNullable<z.ZodString>;
366
- updates: z.ZodArray<z.ZodObject<{
365
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
366
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
367
367
  status: z.ZodEnum<{
368
368
  active: "active";
369
369
  waiting_for_user: "waiting_for_user";
@@ -371,9 +371,9 @@ declare const integrationActivationRequestSchema: z.ZodDiscriminatedUnion<[z.Zod
371
371
  request_sent_partner: "request_sent_partner";
372
372
  failed: "failed";
373
373
  }>;
374
- message: z.ZodString;
374
+ message: z.ZodNullable<z.ZodString>;
375
375
  updatedAt: z.ZodString;
376
- }, z.core.$strip>>;
376
+ }, z.core.$strip>>>>;
377
377
  }, z.core.$strip>, z.ZodObject<{
378
378
  service: z.ZodLiteral<"justeat">;
379
379
  data: z.ZodObject<{
@@ -403,8 +403,8 @@ declare const integrationActivationRequestSchema: z.ZodDiscriminatedUnion<[z.Zod
403
403
  id: z.ZodString;
404
404
  connectionId: z.ZodNullable<z.ZodString>;
405
405
  name: z.ZodString;
406
- internalNotes: z.ZodNullable<z.ZodString>;
407
- updates: z.ZodArray<z.ZodObject<{
406
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
407
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
408
408
  status: z.ZodEnum<{
409
409
  active: "active";
410
410
  waiting_for_user: "waiting_for_user";
@@ -412,9 +412,9 @@ declare const integrationActivationRequestSchema: z.ZodDiscriminatedUnion<[z.Zod
412
412
  request_sent_partner: "request_sent_partner";
413
413
  failed: "failed";
414
414
  }>;
415
- message: z.ZodString;
415
+ message: z.ZodNullable<z.ZodString>;
416
416
  updatedAt: z.ZodString;
417
- }, z.core.$strip>>;
417
+ }, z.core.$strip>>>>;
418
418
  }, z.core.$strip>, z.ZodObject<{
419
419
  service: z.ZodLiteral<"cassa_in_cloud">;
420
420
  data: z.ZodObject<{
@@ -449,8 +449,8 @@ declare const integrationActivationRequestSchema: z.ZodDiscriminatedUnion<[z.Zod
449
449
  id: z.ZodString;
450
450
  connectionId: z.ZodNullable<z.ZodString>;
451
451
  name: z.ZodString;
452
- internalNotes: z.ZodNullable<z.ZodString>;
453
- updates: z.ZodArray<z.ZodObject<{
452
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
453
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
454
454
  status: z.ZodEnum<{
455
455
  active: "active";
456
456
  waiting_for_user: "waiting_for_user";
@@ -458,40 +458,13 @@ declare const integrationActivationRequestSchema: z.ZodDiscriminatedUnion<[z.Zod
458
458
  request_sent_partner: "request_sent_partner";
459
459
  failed: "failed";
460
460
  }>;
461
- message: z.ZodString;
461
+ message: z.ZodNullable<z.ZodString>;
462
462
  updatedAt: z.ZodString;
463
- }, z.core.$strip>>;
463
+ }, z.core.$strip>>>>;
464
464
  }, z.core.$strip>]>;
465
465
  type IntegrationActivationRequest = z.infer<typeof integrationActivationRequestSchema>;
466
466
  declare const integrationActivationRequestDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
467
- pointOfSale: z.ZodObject<{
468
- id: z.ZodString;
469
- name: z.ZodString;
470
- address: z.ZodObject<{
471
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
472
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
473
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
474
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
475
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
476
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
477
- }, z.core.$strip>;
478
- timezone: z.ZodString;
479
- location: z.ZodObject<{
480
- latitude: z.ZodNumber;
481
- longitude: z.ZodNumber;
482
- }, z.core.$strip>;
483
- capabilities: z.ZodArray<z.ZodEnum<{
484
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
485
- }>>;
486
- openingStatus: z.ZodEnum<{
487
- OPEN: "OPEN";
488
- CLOSED: "CLOSED";
489
- }>;
490
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
491
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
492
- createdAt: z.ZodString;
493
- updatedAt: z.ZodString;
494
- }, z.core.$strip>;
467
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
495
468
  service: z.ZodLiteral<"deliveroo">;
496
469
  data: z.ZodObject<{
497
470
  brandId: z.ZodString;
@@ -519,10 +492,10 @@ declare const integrationActivationRequestDetailsSchema: z.ZodDiscriminatedUnion
519
492
  }>;
520
493
  name: z.ZodString;
521
494
  message: z.ZodNullable<z.ZodString>;
522
- internalNotes: z.ZodNullable<z.ZodString>;
495
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
523
496
  createdAt: z.ZodString;
524
497
  updatedAt: z.ZodString;
525
- updates: z.ZodArray<z.ZodObject<{
498
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
526
499
  status: z.ZodEnum<{
527
500
  active: "active";
528
501
  waiting_for_user: "waiting_for_user";
@@ -530,38 +503,11 @@ declare const integrationActivationRequestDetailsSchema: z.ZodDiscriminatedUnion
530
503
  request_sent_partner: "request_sent_partner";
531
504
  failed: "failed";
532
505
  }>;
533
- message: z.ZodString;
506
+ message: z.ZodNullable<z.ZodString>;
534
507
  updatedAt: z.ZodString;
535
- }, z.core.$strip>>;
508
+ }, z.core.$strip>>>>;
536
509
  }, z.core.$strip>, z.ZodObject<{
537
- pointOfSale: z.ZodObject<{
538
- id: z.ZodString;
539
- name: z.ZodString;
540
- address: z.ZodObject<{
541
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
542
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
543
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
544
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
545
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
546
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
547
- }, z.core.$strip>;
548
- timezone: z.ZodString;
549
- location: z.ZodObject<{
550
- latitude: z.ZodNumber;
551
- longitude: z.ZodNumber;
552
- }, z.core.$strip>;
553
- capabilities: z.ZodArray<z.ZodEnum<{
554
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
555
- }>>;
556
- openingStatus: z.ZodEnum<{
557
- OPEN: "OPEN";
558
- CLOSED: "CLOSED";
559
- }>;
560
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
561
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
562
- createdAt: z.ZodString;
563
- updatedAt: z.ZodString;
564
- }, z.core.$strip>;
510
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
565
511
  service: z.ZodLiteral<"glovo">;
566
512
  data: z.ZodObject<{
567
513
  storeId: z.ZodString;
@@ -588,10 +534,10 @@ declare const integrationActivationRequestDetailsSchema: z.ZodDiscriminatedUnion
588
534
  }>;
589
535
  name: z.ZodString;
590
536
  message: z.ZodNullable<z.ZodString>;
591
- internalNotes: z.ZodNullable<z.ZodString>;
537
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
592
538
  createdAt: z.ZodString;
593
539
  updatedAt: z.ZodString;
594
- updates: z.ZodArray<z.ZodObject<{
540
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
595
541
  status: z.ZodEnum<{
596
542
  active: "active";
597
543
  waiting_for_user: "waiting_for_user";
@@ -599,38 +545,11 @@ declare const integrationActivationRequestDetailsSchema: z.ZodDiscriminatedUnion
599
545
  request_sent_partner: "request_sent_partner";
600
546
  failed: "failed";
601
547
  }>;
602
- message: z.ZodString;
548
+ message: z.ZodNullable<z.ZodString>;
603
549
  updatedAt: z.ZodString;
604
- }, z.core.$strip>>;
550
+ }, z.core.$strip>>>>;
605
551
  }, z.core.$strip>, z.ZodObject<{
606
- pointOfSale: z.ZodObject<{
607
- id: z.ZodString;
608
- name: z.ZodString;
609
- address: z.ZodObject<{
610
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
611
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
612
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
613
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
614
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
615
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
616
- }, z.core.$strip>;
617
- timezone: z.ZodString;
618
- location: z.ZodObject<{
619
- latitude: z.ZodNumber;
620
- longitude: z.ZodNumber;
621
- }, z.core.$strip>;
622
- capabilities: z.ZodArray<z.ZodEnum<{
623
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
624
- }>>;
625
- openingStatus: z.ZodEnum<{
626
- OPEN: "OPEN";
627
- CLOSED: "CLOSED";
628
- }>;
629
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
630
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
631
- createdAt: z.ZodString;
632
- updatedAt: z.ZodString;
633
- }, z.core.$strip>;
552
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
634
553
  service: z.ZodLiteral<"justeat">;
635
554
  data: z.ZodObject<{
636
555
  restaurantId: z.ZodString;
@@ -657,10 +576,10 @@ declare const integrationActivationRequestDetailsSchema: z.ZodDiscriminatedUnion
657
576
  }>;
658
577
  name: z.ZodString;
659
578
  message: z.ZodNullable<z.ZodString>;
660
- internalNotes: z.ZodNullable<z.ZodString>;
579
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
661
580
  createdAt: z.ZodString;
662
581
  updatedAt: z.ZodString;
663
- updates: z.ZodArray<z.ZodObject<{
582
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
664
583
  status: z.ZodEnum<{
665
584
  active: "active";
666
585
  waiting_for_user: "waiting_for_user";
@@ -668,38 +587,11 @@ declare const integrationActivationRequestDetailsSchema: z.ZodDiscriminatedUnion
668
587
  request_sent_partner: "request_sent_partner";
669
588
  failed: "failed";
670
589
  }>;
671
- message: z.ZodString;
590
+ message: z.ZodNullable<z.ZodString>;
672
591
  updatedAt: z.ZodString;
673
- }, z.core.$strip>>;
592
+ }, z.core.$strip>>>>;
674
593
  }, z.core.$strip>, z.ZodObject<{
675
- pointOfSale: z.ZodObject<{
676
- id: z.ZodString;
677
- name: z.ZodString;
678
- address: z.ZodObject<{
679
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
680
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
681
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
682
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
683
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
684
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
685
- }, z.core.$strip>;
686
- timezone: z.ZodString;
687
- location: z.ZodObject<{
688
- latitude: z.ZodNumber;
689
- longitude: z.ZodNumber;
690
- }, z.core.$strip>;
691
- capabilities: z.ZodArray<z.ZodEnum<{
692
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
693
- }>>;
694
- openingStatus: z.ZodEnum<{
695
- OPEN: "OPEN";
696
- CLOSED: "CLOSED";
697
- }>;
698
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
699
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
700
- createdAt: z.ZodString;
701
- updatedAt: z.ZodString;
702
- }, z.core.$strip>;
594
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
703
595
  service: z.ZodLiteral<"cassa_in_cloud">;
704
596
  data: z.ZodObject<{
705
597
  apiKey: z.ZodString;
@@ -731,10 +623,10 @@ declare const integrationActivationRequestDetailsSchema: z.ZodDiscriminatedUnion
731
623
  }>;
732
624
  name: z.ZodString;
733
625
  message: z.ZodNullable<z.ZodString>;
734
- internalNotes: z.ZodNullable<z.ZodString>;
626
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
735
627
  createdAt: z.ZodString;
736
628
  updatedAt: z.ZodString;
737
- updates: z.ZodArray<z.ZodObject<{
629
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
738
630
  status: z.ZodEnum<{
739
631
  active: "active";
740
632
  waiting_for_user: "waiting_for_user";
@@ -742,9 +634,9 @@ declare const integrationActivationRequestDetailsSchema: z.ZodDiscriminatedUnion
742
634
  request_sent_partner: "request_sent_partner";
743
635
  failed: "failed";
744
636
  }>;
745
- message: z.ZodString;
637
+ message: z.ZodNullable<z.ZodString>;
746
638
  updatedAt: z.ZodString;
747
- }, z.core.$strip>>;
639
+ }, z.core.$strip>>>>;
748
640
  }, z.core.$strip>]>;
749
641
  type IntegrationActivationRequestDetails = z.infer<typeof integrationActivationRequestDetailsSchema>;
750
642
 
@@ -1086,34 +978,7 @@ type IntegrationDetails = z.infer<typeof integrationDetailsSchema>;
1086
978
  declare const activateIntegrationActivationRequestInputSchema: z.ZodUndefined;
1087
979
  type ActivateIntegrationActivationRequestInput = z.input<typeof activateIntegrationActivationRequestInputSchema>;
1088
980
  declare const activateIntegrationActivationRequestResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1089
- pointOfSale: z.ZodObject<{
1090
- id: z.ZodString;
1091
- name: z.ZodString;
1092
- address: z.ZodObject<{
1093
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1094
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1095
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1096
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1097
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1098
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1099
- }, z.core.$strip>;
1100
- timezone: z.ZodString;
1101
- location: z.ZodObject<{
1102
- latitude: z.ZodNumber;
1103
- longitude: z.ZodNumber;
1104
- }, z.core.$strip>;
1105
- capabilities: z.ZodArray<z.ZodEnum<{
1106
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
1107
- }>>;
1108
- openingStatus: z.ZodEnum<{
1109
- OPEN: "OPEN";
1110
- CLOSED: "CLOSED";
1111
- }>;
1112
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
1113
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
1114
- createdAt: z.ZodString;
1115
- updatedAt: z.ZodString;
1116
- }, z.core.$strip>;
981
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
1117
982
  service: z.ZodLiteral<"deliveroo">;
1118
983
  data: z.ZodObject<{
1119
984
  brandId: z.ZodString;
@@ -1141,10 +1006,10 @@ declare const activateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
1141
1006
  }>;
1142
1007
  name: z.ZodString;
1143
1008
  message: z.ZodNullable<z.ZodString>;
1144
- internalNotes: z.ZodNullable<z.ZodString>;
1009
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1145
1010
  createdAt: z.ZodString;
1146
1011
  updatedAt: z.ZodString;
1147
- updates: z.ZodArray<z.ZodObject<{
1012
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1148
1013
  status: z.ZodEnum<{
1149
1014
  active: "active";
1150
1015
  waiting_for_user: "waiting_for_user";
@@ -1152,38 +1017,11 @@ declare const activateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
1152
1017
  request_sent_partner: "request_sent_partner";
1153
1018
  failed: "failed";
1154
1019
  }>;
1155
- message: z.ZodString;
1020
+ message: z.ZodNullable<z.ZodString>;
1156
1021
  updatedAt: z.ZodString;
1157
- }, z.core.$strip>>;
1022
+ }, z.core.$strip>>>>;
1158
1023
  }, z.core.$strip>, z.ZodObject<{
1159
- pointOfSale: z.ZodObject<{
1160
- id: z.ZodString;
1161
- name: z.ZodString;
1162
- address: z.ZodObject<{
1163
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1164
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1165
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1166
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1167
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1168
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1169
- }, z.core.$strip>;
1170
- timezone: z.ZodString;
1171
- location: z.ZodObject<{
1172
- latitude: z.ZodNumber;
1173
- longitude: z.ZodNumber;
1174
- }, z.core.$strip>;
1175
- capabilities: z.ZodArray<z.ZodEnum<{
1176
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
1177
- }>>;
1178
- openingStatus: z.ZodEnum<{
1179
- OPEN: "OPEN";
1180
- CLOSED: "CLOSED";
1181
- }>;
1182
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
1183
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
1184
- createdAt: z.ZodString;
1185
- updatedAt: z.ZodString;
1186
- }, z.core.$strip>;
1024
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
1187
1025
  service: z.ZodLiteral<"glovo">;
1188
1026
  data: z.ZodObject<{
1189
1027
  storeId: z.ZodString;
@@ -1210,10 +1048,10 @@ declare const activateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
1210
1048
  }>;
1211
1049
  name: z.ZodString;
1212
1050
  message: z.ZodNullable<z.ZodString>;
1213
- internalNotes: z.ZodNullable<z.ZodString>;
1051
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1214
1052
  createdAt: z.ZodString;
1215
1053
  updatedAt: z.ZodString;
1216
- updates: z.ZodArray<z.ZodObject<{
1054
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1217
1055
  status: z.ZodEnum<{
1218
1056
  active: "active";
1219
1057
  waiting_for_user: "waiting_for_user";
@@ -1221,38 +1059,11 @@ declare const activateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
1221
1059
  request_sent_partner: "request_sent_partner";
1222
1060
  failed: "failed";
1223
1061
  }>;
1224
- message: z.ZodString;
1062
+ message: z.ZodNullable<z.ZodString>;
1225
1063
  updatedAt: z.ZodString;
1226
- }, z.core.$strip>>;
1064
+ }, z.core.$strip>>>>;
1227
1065
  }, z.core.$strip>, z.ZodObject<{
1228
- pointOfSale: z.ZodObject<{
1229
- id: z.ZodString;
1230
- name: z.ZodString;
1231
- address: z.ZodObject<{
1232
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1233
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1234
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1235
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1236
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1237
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1238
- }, z.core.$strip>;
1239
- timezone: z.ZodString;
1240
- location: z.ZodObject<{
1241
- latitude: z.ZodNumber;
1242
- longitude: z.ZodNumber;
1243
- }, z.core.$strip>;
1244
- capabilities: z.ZodArray<z.ZodEnum<{
1245
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
1246
- }>>;
1247
- openingStatus: z.ZodEnum<{
1248
- OPEN: "OPEN";
1249
- CLOSED: "CLOSED";
1250
- }>;
1251
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
1252
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
1253
- createdAt: z.ZodString;
1254
- updatedAt: z.ZodString;
1255
- }, z.core.$strip>;
1066
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
1256
1067
  service: z.ZodLiteral<"justeat">;
1257
1068
  data: z.ZodObject<{
1258
1069
  restaurantId: z.ZodString;
@@ -1279,10 +1090,10 @@ declare const activateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
1279
1090
  }>;
1280
1091
  name: z.ZodString;
1281
1092
  message: z.ZodNullable<z.ZodString>;
1282
- internalNotes: z.ZodNullable<z.ZodString>;
1093
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1283
1094
  createdAt: z.ZodString;
1284
1095
  updatedAt: z.ZodString;
1285
- updates: z.ZodArray<z.ZodObject<{
1096
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1286
1097
  status: z.ZodEnum<{
1287
1098
  active: "active";
1288
1099
  waiting_for_user: "waiting_for_user";
@@ -1290,38 +1101,11 @@ declare const activateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
1290
1101
  request_sent_partner: "request_sent_partner";
1291
1102
  failed: "failed";
1292
1103
  }>;
1293
- message: z.ZodString;
1104
+ message: z.ZodNullable<z.ZodString>;
1294
1105
  updatedAt: z.ZodString;
1295
- }, z.core.$strip>>;
1106
+ }, z.core.$strip>>>>;
1296
1107
  }, z.core.$strip>, z.ZodObject<{
1297
- pointOfSale: z.ZodObject<{
1298
- id: z.ZodString;
1299
- name: z.ZodString;
1300
- address: z.ZodObject<{
1301
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1302
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1303
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1304
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1305
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1306
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1307
- }, z.core.$strip>;
1308
- timezone: z.ZodString;
1309
- location: z.ZodObject<{
1310
- latitude: z.ZodNumber;
1311
- longitude: z.ZodNumber;
1312
- }, z.core.$strip>;
1313
- capabilities: z.ZodArray<z.ZodEnum<{
1314
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
1315
- }>>;
1316
- openingStatus: z.ZodEnum<{
1317
- OPEN: "OPEN";
1318
- CLOSED: "CLOSED";
1319
- }>;
1320
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
1321
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
1322
- createdAt: z.ZodString;
1323
- updatedAt: z.ZodString;
1324
- }, z.core.$strip>;
1108
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
1325
1109
  service: z.ZodLiteral<"cassa_in_cloud">;
1326
1110
  data: z.ZodObject<{
1327
1111
  apiKey: z.ZodString;
@@ -1353,10 +1137,10 @@ declare const activateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
1353
1137
  }>;
1354
1138
  name: z.ZodString;
1355
1139
  message: z.ZodNullable<z.ZodString>;
1356
- internalNotes: z.ZodNullable<z.ZodString>;
1140
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1357
1141
  createdAt: z.ZodString;
1358
1142
  updatedAt: z.ZodString;
1359
- updates: z.ZodArray<z.ZodObject<{
1143
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1360
1144
  status: z.ZodEnum<{
1361
1145
  active: "active";
1362
1146
  waiting_for_user: "waiting_for_user";
@@ -1364,9 +1148,9 @@ declare const activateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
1364
1148
  request_sent_partner: "request_sent_partner";
1365
1149
  failed: "failed";
1366
1150
  }>;
1367
- message: z.ZodString;
1151
+ message: z.ZodNullable<z.ZodString>;
1368
1152
  updatedAt: z.ZodString;
1369
- }, z.core.$strip>>;
1153
+ }, z.core.$strip>>>>;
1370
1154
  }, z.core.$strip>]>;
1371
1155
  type ActivateIntegrationActivationRequestResponse = IntegrationActivationRequestDetails;
1372
1156
  declare class ActivateIntegrationActivationRequest extends AbstractApiRequest<typeof activateIntegrationActivationRequestInputSchema, typeof activateIntegrationActivationRequestResponseSchema> {
@@ -1375,34 +1159,7 @@ declare class ActivateIntegrationActivationRequest extends AbstractApiRequest<ty
1375
1159
  readonly accept = "application/json";
1376
1160
  readonly inputSchema: z.ZodUndefined;
1377
1161
  readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1378
- pointOfSale: z.ZodObject<{
1379
- id: z.ZodString;
1380
- name: z.ZodString;
1381
- address: z.ZodObject<{
1382
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1383
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1384
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1385
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1386
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1387
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1388
- }, z.core.$strip>;
1389
- timezone: z.ZodString;
1390
- location: z.ZodObject<{
1391
- latitude: z.ZodNumber;
1392
- longitude: z.ZodNumber;
1393
- }, z.core.$strip>;
1394
- capabilities: z.ZodArray<z.ZodEnum<{
1395
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
1396
- }>>;
1397
- openingStatus: z.ZodEnum<{
1398
- OPEN: "OPEN";
1399
- CLOSED: "CLOSED";
1400
- }>;
1401
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
1402
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
1403
- createdAt: z.ZodString;
1404
- updatedAt: z.ZodString;
1405
- }, z.core.$strip>;
1162
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
1406
1163
  service: z.ZodLiteral<"deliveroo">;
1407
1164
  data: z.ZodObject<{
1408
1165
  brandId: z.ZodString;
@@ -1430,10 +1187,10 @@ declare class ActivateIntegrationActivationRequest extends AbstractApiRequest<ty
1430
1187
  }>;
1431
1188
  name: z.ZodString;
1432
1189
  message: z.ZodNullable<z.ZodString>;
1433
- internalNotes: z.ZodNullable<z.ZodString>;
1190
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1434
1191
  createdAt: z.ZodString;
1435
1192
  updatedAt: z.ZodString;
1436
- updates: z.ZodArray<z.ZodObject<{
1193
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1437
1194
  status: z.ZodEnum<{
1438
1195
  active: "active";
1439
1196
  waiting_for_user: "waiting_for_user";
@@ -1441,38 +1198,11 @@ declare class ActivateIntegrationActivationRequest extends AbstractApiRequest<ty
1441
1198
  request_sent_partner: "request_sent_partner";
1442
1199
  failed: "failed";
1443
1200
  }>;
1444
- message: z.ZodString;
1201
+ message: z.ZodNullable<z.ZodString>;
1445
1202
  updatedAt: z.ZodString;
1446
- }, z.core.$strip>>;
1203
+ }, z.core.$strip>>>>;
1447
1204
  }, z.core.$strip>, z.ZodObject<{
1448
- pointOfSale: z.ZodObject<{
1449
- id: z.ZodString;
1450
- name: z.ZodString;
1451
- address: z.ZodObject<{
1452
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1453
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1454
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1455
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1456
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1457
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1458
- }, z.core.$strip>;
1459
- timezone: z.ZodString;
1460
- location: z.ZodObject<{
1461
- latitude: z.ZodNumber;
1462
- longitude: z.ZodNumber;
1463
- }, z.core.$strip>;
1464
- capabilities: z.ZodArray<z.ZodEnum<{
1465
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
1466
- }>>;
1467
- openingStatus: z.ZodEnum<{
1468
- OPEN: "OPEN";
1469
- CLOSED: "CLOSED";
1470
- }>;
1471
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
1472
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
1473
- createdAt: z.ZodString;
1474
- updatedAt: z.ZodString;
1475
- }, z.core.$strip>;
1205
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
1476
1206
  service: z.ZodLiteral<"glovo">;
1477
1207
  data: z.ZodObject<{
1478
1208
  storeId: z.ZodString;
@@ -1499,10 +1229,10 @@ declare class ActivateIntegrationActivationRequest extends AbstractApiRequest<ty
1499
1229
  }>;
1500
1230
  name: z.ZodString;
1501
1231
  message: z.ZodNullable<z.ZodString>;
1502
- internalNotes: z.ZodNullable<z.ZodString>;
1232
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1503
1233
  createdAt: z.ZodString;
1504
1234
  updatedAt: z.ZodString;
1505
- updates: z.ZodArray<z.ZodObject<{
1235
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1506
1236
  status: z.ZodEnum<{
1507
1237
  active: "active";
1508
1238
  waiting_for_user: "waiting_for_user";
@@ -1510,38 +1240,11 @@ declare class ActivateIntegrationActivationRequest extends AbstractApiRequest<ty
1510
1240
  request_sent_partner: "request_sent_partner";
1511
1241
  failed: "failed";
1512
1242
  }>;
1513
- message: z.ZodString;
1243
+ message: z.ZodNullable<z.ZodString>;
1514
1244
  updatedAt: z.ZodString;
1515
- }, z.core.$strip>>;
1245
+ }, z.core.$strip>>>>;
1516
1246
  }, z.core.$strip>, z.ZodObject<{
1517
- pointOfSale: z.ZodObject<{
1518
- id: z.ZodString;
1519
- name: z.ZodString;
1520
- address: z.ZodObject<{
1521
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1522
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1523
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1524
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1525
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1526
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1527
- }, z.core.$strip>;
1528
- timezone: z.ZodString;
1529
- location: z.ZodObject<{
1530
- latitude: z.ZodNumber;
1531
- longitude: z.ZodNumber;
1532
- }, z.core.$strip>;
1533
- capabilities: z.ZodArray<z.ZodEnum<{
1534
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
1535
- }>>;
1536
- openingStatus: z.ZodEnum<{
1537
- OPEN: "OPEN";
1538
- CLOSED: "CLOSED";
1539
- }>;
1540
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
1541
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
1542
- createdAt: z.ZodString;
1543
- updatedAt: z.ZodString;
1544
- }, z.core.$strip>;
1247
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
1545
1248
  service: z.ZodLiteral<"justeat">;
1546
1249
  data: z.ZodObject<{
1547
1250
  restaurantId: z.ZodString;
@@ -1568,10 +1271,10 @@ declare class ActivateIntegrationActivationRequest extends AbstractApiRequest<ty
1568
1271
  }>;
1569
1272
  name: z.ZodString;
1570
1273
  message: z.ZodNullable<z.ZodString>;
1571
- internalNotes: z.ZodNullable<z.ZodString>;
1274
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1572
1275
  createdAt: z.ZodString;
1573
1276
  updatedAt: z.ZodString;
1574
- updates: z.ZodArray<z.ZodObject<{
1277
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1575
1278
  status: z.ZodEnum<{
1576
1279
  active: "active";
1577
1280
  waiting_for_user: "waiting_for_user";
@@ -1579,38 +1282,11 @@ declare class ActivateIntegrationActivationRequest extends AbstractApiRequest<ty
1579
1282
  request_sent_partner: "request_sent_partner";
1580
1283
  failed: "failed";
1581
1284
  }>;
1582
- message: z.ZodString;
1285
+ message: z.ZodNullable<z.ZodString>;
1583
1286
  updatedAt: z.ZodString;
1584
- }, z.core.$strip>>;
1287
+ }, z.core.$strip>>>>;
1585
1288
  }, z.core.$strip>, z.ZodObject<{
1586
- pointOfSale: z.ZodObject<{
1587
- id: z.ZodString;
1588
- name: z.ZodString;
1589
- address: z.ZodObject<{
1590
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1591
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1592
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1593
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1594
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1595
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1596
- }, z.core.$strip>;
1597
- timezone: z.ZodString;
1598
- location: z.ZodObject<{
1599
- latitude: z.ZodNumber;
1600
- longitude: z.ZodNumber;
1601
- }, z.core.$strip>;
1602
- capabilities: z.ZodArray<z.ZodEnum<{
1603
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
1604
- }>>;
1605
- openingStatus: z.ZodEnum<{
1606
- OPEN: "OPEN";
1607
- CLOSED: "CLOSED";
1608
- }>;
1609
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
1610
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
1611
- createdAt: z.ZodString;
1612
- updatedAt: z.ZodString;
1613
- }, z.core.$strip>;
1289
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
1614
1290
  service: z.ZodLiteral<"cassa_in_cloud">;
1615
1291
  data: z.ZodObject<{
1616
1292
  apiKey: z.ZodString;
@@ -1642,10 +1318,10 @@ declare class ActivateIntegrationActivationRequest extends AbstractApiRequest<ty
1642
1318
  }>;
1643
1319
  name: z.ZodString;
1644
1320
  message: z.ZodNullable<z.ZodString>;
1645
- internalNotes: z.ZodNullable<z.ZodString>;
1321
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1646
1322
  createdAt: z.ZodString;
1647
1323
  updatedAt: z.ZodString;
1648
- updates: z.ZodArray<z.ZodObject<{
1324
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1649
1325
  status: z.ZodEnum<{
1650
1326
  active: "active";
1651
1327
  waiting_for_user: "waiting_for_user";
@@ -1653,9 +1329,9 @@ declare class ActivateIntegrationActivationRequest extends AbstractApiRequest<ty
1653
1329
  request_sent_partner: "request_sent_partner";
1654
1330
  failed: "failed";
1655
1331
  }>;
1656
- message: z.ZodString;
1332
+ message: z.ZodNullable<z.ZodString>;
1657
1333
  updatedAt: z.ZodString;
1658
- }, z.core.$strip>>;
1334
+ }, z.core.$strip>>>>;
1659
1335
  }, z.core.$strip>]>;
1660
1336
  readonly querySchema: undefined;
1661
1337
  readonly headersSchema: undefined;
@@ -1669,34 +1345,7 @@ declare const annotateIntegrationActivationRequestInputSchema: z.ZodObject<{
1669
1345
  }, z.core.$strip>;
1670
1346
  type AnnotateIntegrationActivationRequestInput = z.input<typeof annotateIntegrationActivationRequestInputSchema>;
1671
1347
  declare const annotateIntegrationActivationRequestResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1672
- pointOfSale: z.ZodObject<{
1673
- id: z.ZodString;
1674
- name: z.ZodString;
1675
- address: z.ZodObject<{
1676
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1677
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1678
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1679
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1680
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1681
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1682
- }, z.core.$strip>;
1683
- timezone: z.ZodString;
1684
- location: z.ZodObject<{
1685
- latitude: z.ZodNumber;
1686
- longitude: z.ZodNumber;
1687
- }, z.core.$strip>;
1688
- capabilities: z.ZodArray<z.ZodEnum<{
1689
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
1690
- }>>;
1691
- openingStatus: z.ZodEnum<{
1692
- OPEN: "OPEN";
1693
- CLOSED: "CLOSED";
1694
- }>;
1695
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
1696
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
1697
- createdAt: z.ZodString;
1698
- updatedAt: z.ZodString;
1699
- }, z.core.$strip>;
1348
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
1700
1349
  service: z.ZodLiteral<"deliveroo">;
1701
1350
  data: z.ZodObject<{
1702
1351
  brandId: z.ZodString;
@@ -1724,10 +1373,10 @@ declare const annotateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
1724
1373
  }>;
1725
1374
  name: z.ZodString;
1726
1375
  message: z.ZodNullable<z.ZodString>;
1727
- internalNotes: z.ZodNullable<z.ZodString>;
1376
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1728
1377
  createdAt: z.ZodString;
1729
1378
  updatedAt: z.ZodString;
1730
- updates: z.ZodArray<z.ZodObject<{
1379
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1731
1380
  status: z.ZodEnum<{
1732
1381
  active: "active";
1733
1382
  waiting_for_user: "waiting_for_user";
@@ -1735,38 +1384,11 @@ declare const annotateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
1735
1384
  request_sent_partner: "request_sent_partner";
1736
1385
  failed: "failed";
1737
1386
  }>;
1738
- message: z.ZodString;
1387
+ message: z.ZodNullable<z.ZodString>;
1739
1388
  updatedAt: z.ZodString;
1740
- }, z.core.$strip>>;
1389
+ }, z.core.$strip>>>>;
1741
1390
  }, z.core.$strip>, z.ZodObject<{
1742
- pointOfSale: z.ZodObject<{
1743
- id: z.ZodString;
1744
- name: z.ZodString;
1745
- address: z.ZodObject<{
1746
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1747
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1748
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1749
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1750
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1751
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1752
- }, z.core.$strip>;
1753
- timezone: z.ZodString;
1754
- location: z.ZodObject<{
1755
- latitude: z.ZodNumber;
1756
- longitude: z.ZodNumber;
1757
- }, z.core.$strip>;
1758
- capabilities: z.ZodArray<z.ZodEnum<{
1759
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
1760
- }>>;
1761
- openingStatus: z.ZodEnum<{
1762
- OPEN: "OPEN";
1763
- CLOSED: "CLOSED";
1764
- }>;
1765
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
1766
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
1767
- createdAt: z.ZodString;
1768
- updatedAt: z.ZodString;
1769
- }, z.core.$strip>;
1391
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
1770
1392
  service: z.ZodLiteral<"glovo">;
1771
1393
  data: z.ZodObject<{
1772
1394
  storeId: z.ZodString;
@@ -1793,10 +1415,10 @@ declare const annotateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
1793
1415
  }>;
1794
1416
  name: z.ZodString;
1795
1417
  message: z.ZodNullable<z.ZodString>;
1796
- internalNotes: z.ZodNullable<z.ZodString>;
1418
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1797
1419
  createdAt: z.ZodString;
1798
1420
  updatedAt: z.ZodString;
1799
- updates: z.ZodArray<z.ZodObject<{
1421
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1800
1422
  status: z.ZodEnum<{
1801
1423
  active: "active";
1802
1424
  waiting_for_user: "waiting_for_user";
@@ -1804,38 +1426,11 @@ declare const annotateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
1804
1426
  request_sent_partner: "request_sent_partner";
1805
1427
  failed: "failed";
1806
1428
  }>;
1807
- message: z.ZodString;
1429
+ message: z.ZodNullable<z.ZodString>;
1808
1430
  updatedAt: z.ZodString;
1809
- }, z.core.$strip>>;
1431
+ }, z.core.$strip>>>>;
1810
1432
  }, z.core.$strip>, z.ZodObject<{
1811
- pointOfSale: z.ZodObject<{
1812
- id: z.ZodString;
1813
- name: z.ZodString;
1814
- address: z.ZodObject<{
1815
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1816
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1817
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1818
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1819
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1820
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1821
- }, z.core.$strip>;
1822
- timezone: z.ZodString;
1823
- location: z.ZodObject<{
1824
- latitude: z.ZodNumber;
1825
- longitude: z.ZodNumber;
1826
- }, z.core.$strip>;
1827
- capabilities: z.ZodArray<z.ZodEnum<{
1828
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
1829
- }>>;
1830
- openingStatus: z.ZodEnum<{
1831
- OPEN: "OPEN";
1832
- CLOSED: "CLOSED";
1833
- }>;
1834
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
1835
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
1836
- createdAt: z.ZodString;
1837
- updatedAt: z.ZodString;
1838
- }, z.core.$strip>;
1433
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
1839
1434
  service: z.ZodLiteral<"justeat">;
1840
1435
  data: z.ZodObject<{
1841
1436
  restaurantId: z.ZodString;
@@ -1862,10 +1457,10 @@ declare const annotateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
1862
1457
  }>;
1863
1458
  name: z.ZodString;
1864
1459
  message: z.ZodNullable<z.ZodString>;
1865
- internalNotes: z.ZodNullable<z.ZodString>;
1460
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1866
1461
  createdAt: z.ZodString;
1867
1462
  updatedAt: z.ZodString;
1868
- updates: z.ZodArray<z.ZodObject<{
1463
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1869
1464
  status: z.ZodEnum<{
1870
1465
  active: "active";
1871
1466
  waiting_for_user: "waiting_for_user";
@@ -1873,38 +1468,11 @@ declare const annotateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
1873
1468
  request_sent_partner: "request_sent_partner";
1874
1469
  failed: "failed";
1875
1470
  }>;
1876
- message: z.ZodString;
1471
+ message: z.ZodNullable<z.ZodString>;
1877
1472
  updatedAt: z.ZodString;
1878
- }, z.core.$strip>>;
1473
+ }, z.core.$strip>>>>;
1879
1474
  }, z.core.$strip>, z.ZodObject<{
1880
- pointOfSale: z.ZodObject<{
1881
- id: z.ZodString;
1882
- name: z.ZodString;
1883
- address: z.ZodObject<{
1884
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1885
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1886
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1887
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1888
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1889
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1890
- }, z.core.$strip>;
1891
- timezone: z.ZodString;
1892
- location: z.ZodObject<{
1893
- latitude: z.ZodNumber;
1894
- longitude: z.ZodNumber;
1895
- }, z.core.$strip>;
1896
- capabilities: z.ZodArray<z.ZodEnum<{
1897
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
1898
- }>>;
1899
- openingStatus: z.ZodEnum<{
1900
- OPEN: "OPEN";
1901
- CLOSED: "CLOSED";
1902
- }>;
1903
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
1904
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
1905
- createdAt: z.ZodString;
1906
- updatedAt: z.ZodString;
1907
- }, z.core.$strip>;
1475
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
1908
1476
  service: z.ZodLiteral<"cassa_in_cloud">;
1909
1477
  data: z.ZodObject<{
1910
1478
  apiKey: z.ZodString;
@@ -1936,10 +1504,10 @@ declare const annotateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
1936
1504
  }>;
1937
1505
  name: z.ZodString;
1938
1506
  message: z.ZodNullable<z.ZodString>;
1939
- internalNotes: z.ZodNullable<z.ZodString>;
1507
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1940
1508
  createdAt: z.ZodString;
1941
1509
  updatedAt: z.ZodString;
1942
- updates: z.ZodArray<z.ZodObject<{
1510
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1943
1511
  status: z.ZodEnum<{
1944
1512
  active: "active";
1945
1513
  waiting_for_user: "waiting_for_user";
@@ -1947,9 +1515,9 @@ declare const annotateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
1947
1515
  request_sent_partner: "request_sent_partner";
1948
1516
  failed: "failed";
1949
1517
  }>;
1950
- message: z.ZodString;
1518
+ message: z.ZodNullable<z.ZodString>;
1951
1519
  updatedAt: z.ZodString;
1952
- }, z.core.$strip>>;
1520
+ }, z.core.$strip>>>>;
1953
1521
  }, z.core.$strip>]>;
1954
1522
  type AnnotateIntegrationActivationRequestResponse = IntegrationActivationRequestDetails;
1955
1523
  declare class AnnotateIntegrationActivationRequest extends AbstractApiRequest<typeof annotateIntegrationActivationRequestInputSchema, typeof annotateIntegrationActivationRequestResponseSchema> {
@@ -1960,34 +1528,7 @@ declare class AnnotateIntegrationActivationRequest extends AbstractApiRequest<ty
1960
1528
  message: z.ZodString;
1961
1529
  }, z.core.$strip>;
1962
1530
  readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1963
- pointOfSale: z.ZodObject<{
1964
- id: z.ZodString;
1965
- name: z.ZodString;
1966
- address: z.ZodObject<{
1967
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1968
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1969
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1970
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1971
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1972
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1973
- }, z.core.$strip>;
1974
- timezone: z.ZodString;
1975
- location: z.ZodObject<{
1976
- latitude: z.ZodNumber;
1977
- longitude: z.ZodNumber;
1978
- }, z.core.$strip>;
1979
- capabilities: z.ZodArray<z.ZodEnum<{
1980
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
1981
- }>>;
1982
- openingStatus: z.ZodEnum<{
1983
- OPEN: "OPEN";
1984
- CLOSED: "CLOSED";
1985
- }>;
1986
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
1987
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
1988
- createdAt: z.ZodString;
1989
- updatedAt: z.ZodString;
1990
- }, z.core.$strip>;
1531
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
1991
1532
  service: z.ZodLiteral<"deliveroo">;
1992
1533
  data: z.ZodObject<{
1993
1534
  brandId: z.ZodString;
@@ -2015,10 +1556,10 @@ declare class AnnotateIntegrationActivationRequest extends AbstractApiRequest<ty
2015
1556
  }>;
2016
1557
  name: z.ZodString;
2017
1558
  message: z.ZodNullable<z.ZodString>;
2018
- internalNotes: z.ZodNullable<z.ZodString>;
1559
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2019
1560
  createdAt: z.ZodString;
2020
1561
  updatedAt: z.ZodString;
2021
- updates: z.ZodArray<z.ZodObject<{
1562
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2022
1563
  status: z.ZodEnum<{
2023
1564
  active: "active";
2024
1565
  waiting_for_user: "waiting_for_user";
@@ -2026,38 +1567,11 @@ declare class AnnotateIntegrationActivationRequest extends AbstractApiRequest<ty
2026
1567
  request_sent_partner: "request_sent_partner";
2027
1568
  failed: "failed";
2028
1569
  }>;
2029
- message: z.ZodString;
1570
+ message: z.ZodNullable<z.ZodString>;
2030
1571
  updatedAt: z.ZodString;
2031
- }, z.core.$strip>>;
1572
+ }, z.core.$strip>>>>;
2032
1573
  }, z.core.$strip>, z.ZodObject<{
2033
- pointOfSale: z.ZodObject<{
2034
- id: z.ZodString;
2035
- name: z.ZodString;
2036
- address: z.ZodObject<{
2037
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2038
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2039
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2040
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2041
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2042
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2043
- }, z.core.$strip>;
2044
- timezone: z.ZodString;
2045
- location: z.ZodObject<{
2046
- latitude: z.ZodNumber;
2047
- longitude: z.ZodNumber;
2048
- }, z.core.$strip>;
2049
- capabilities: z.ZodArray<z.ZodEnum<{
2050
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
2051
- }>>;
2052
- openingStatus: z.ZodEnum<{
2053
- OPEN: "OPEN";
2054
- CLOSED: "CLOSED";
2055
- }>;
2056
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
2057
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
2058
- createdAt: z.ZodString;
2059
- updatedAt: z.ZodString;
2060
- }, z.core.$strip>;
1574
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
2061
1575
  service: z.ZodLiteral<"glovo">;
2062
1576
  data: z.ZodObject<{
2063
1577
  storeId: z.ZodString;
@@ -2084,10 +1598,10 @@ declare class AnnotateIntegrationActivationRequest extends AbstractApiRequest<ty
2084
1598
  }>;
2085
1599
  name: z.ZodString;
2086
1600
  message: z.ZodNullable<z.ZodString>;
2087
- internalNotes: z.ZodNullable<z.ZodString>;
1601
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2088
1602
  createdAt: z.ZodString;
2089
1603
  updatedAt: z.ZodString;
2090
- updates: z.ZodArray<z.ZodObject<{
1604
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2091
1605
  status: z.ZodEnum<{
2092
1606
  active: "active";
2093
1607
  waiting_for_user: "waiting_for_user";
@@ -2095,38 +1609,11 @@ declare class AnnotateIntegrationActivationRequest extends AbstractApiRequest<ty
2095
1609
  request_sent_partner: "request_sent_partner";
2096
1610
  failed: "failed";
2097
1611
  }>;
2098
- message: z.ZodString;
1612
+ message: z.ZodNullable<z.ZodString>;
2099
1613
  updatedAt: z.ZodString;
2100
- }, z.core.$strip>>;
1614
+ }, z.core.$strip>>>>;
2101
1615
  }, z.core.$strip>, z.ZodObject<{
2102
- pointOfSale: z.ZodObject<{
2103
- id: z.ZodString;
2104
- name: z.ZodString;
2105
- address: z.ZodObject<{
2106
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2107
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2108
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2109
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2110
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2111
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2112
- }, z.core.$strip>;
2113
- timezone: z.ZodString;
2114
- location: z.ZodObject<{
2115
- latitude: z.ZodNumber;
2116
- longitude: z.ZodNumber;
2117
- }, z.core.$strip>;
2118
- capabilities: z.ZodArray<z.ZodEnum<{
2119
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
2120
- }>>;
2121
- openingStatus: z.ZodEnum<{
2122
- OPEN: "OPEN";
2123
- CLOSED: "CLOSED";
2124
- }>;
2125
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
2126
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
2127
- createdAt: z.ZodString;
2128
- updatedAt: z.ZodString;
2129
- }, z.core.$strip>;
1616
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
2130
1617
  service: z.ZodLiteral<"justeat">;
2131
1618
  data: z.ZodObject<{
2132
1619
  restaurantId: z.ZodString;
@@ -2153,10 +1640,10 @@ declare class AnnotateIntegrationActivationRequest extends AbstractApiRequest<ty
2153
1640
  }>;
2154
1641
  name: z.ZodString;
2155
1642
  message: z.ZodNullable<z.ZodString>;
2156
- internalNotes: z.ZodNullable<z.ZodString>;
1643
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2157
1644
  createdAt: z.ZodString;
2158
1645
  updatedAt: z.ZodString;
2159
- updates: z.ZodArray<z.ZodObject<{
1646
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2160
1647
  status: z.ZodEnum<{
2161
1648
  active: "active";
2162
1649
  waiting_for_user: "waiting_for_user";
@@ -2164,38 +1651,11 @@ declare class AnnotateIntegrationActivationRequest extends AbstractApiRequest<ty
2164
1651
  request_sent_partner: "request_sent_partner";
2165
1652
  failed: "failed";
2166
1653
  }>;
2167
- message: z.ZodString;
1654
+ message: z.ZodNullable<z.ZodString>;
2168
1655
  updatedAt: z.ZodString;
2169
- }, z.core.$strip>>;
1656
+ }, z.core.$strip>>>>;
2170
1657
  }, z.core.$strip>, z.ZodObject<{
2171
- pointOfSale: z.ZodObject<{
2172
- id: z.ZodString;
2173
- name: z.ZodString;
2174
- address: z.ZodObject<{
2175
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2176
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2177
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2178
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2179
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2180
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2181
- }, z.core.$strip>;
2182
- timezone: z.ZodString;
2183
- location: z.ZodObject<{
2184
- latitude: z.ZodNumber;
2185
- longitude: z.ZodNumber;
2186
- }, z.core.$strip>;
2187
- capabilities: z.ZodArray<z.ZodEnum<{
2188
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
2189
- }>>;
2190
- openingStatus: z.ZodEnum<{
2191
- OPEN: "OPEN";
2192
- CLOSED: "CLOSED";
2193
- }>;
2194
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
2195
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
2196
- createdAt: z.ZodString;
2197
- updatedAt: z.ZodString;
2198
- }, z.core.$strip>;
1658
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
2199
1659
  service: z.ZodLiteral<"cassa_in_cloud">;
2200
1660
  data: z.ZodObject<{
2201
1661
  apiKey: z.ZodString;
@@ -2227,10 +1687,10 @@ declare class AnnotateIntegrationActivationRequest extends AbstractApiRequest<ty
2227
1687
  }>;
2228
1688
  name: z.ZodString;
2229
1689
  message: z.ZodNullable<z.ZodString>;
2230
- internalNotes: z.ZodNullable<z.ZodString>;
1690
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2231
1691
  createdAt: z.ZodString;
2232
1692
  updatedAt: z.ZodString;
2233
- updates: z.ZodArray<z.ZodObject<{
1693
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2234
1694
  status: z.ZodEnum<{
2235
1695
  active: "active";
2236
1696
  waiting_for_user: "waiting_for_user";
@@ -2238,9 +1698,9 @@ declare class AnnotateIntegrationActivationRequest extends AbstractApiRequest<ty
2238
1698
  request_sent_partner: "request_sent_partner";
2239
1699
  failed: "failed";
2240
1700
  }>;
2241
- message: z.ZodString;
1701
+ message: z.ZodNullable<z.ZodString>;
2242
1702
  updatedAt: z.ZodString;
2243
- }, z.core.$strip>>;
1703
+ }, z.core.$strip>>>>;
2244
1704
  }, z.core.$strip>]>;
2245
1705
  readonly querySchema: undefined;
2246
1706
  readonly headersSchema: undefined;
@@ -2306,34 +1766,7 @@ declare const createIntegrationActivationRequestInputSchema: z.ZodDiscriminatedU
2306
1766
  }, z.core.$strip>]>;
2307
1767
  type CreateIntegrationActivationRequestInput = z.input<typeof createIntegrationActivationRequestInputSchema>;
2308
1768
  declare const createIntegrationActivationRequestResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2309
- pointOfSale: z.ZodObject<{
2310
- id: z.ZodString;
2311
- name: z.ZodString;
2312
- address: z.ZodObject<{
2313
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2314
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2315
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2316
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2317
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2318
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2319
- }, z.core.$strip>;
2320
- timezone: z.ZodString;
2321
- location: z.ZodObject<{
2322
- latitude: z.ZodNumber;
2323
- longitude: z.ZodNumber;
2324
- }, z.core.$strip>;
2325
- capabilities: z.ZodArray<z.ZodEnum<{
2326
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
2327
- }>>;
2328
- openingStatus: z.ZodEnum<{
2329
- OPEN: "OPEN";
2330
- CLOSED: "CLOSED";
2331
- }>;
2332
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
2333
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
2334
- createdAt: z.ZodString;
2335
- updatedAt: z.ZodString;
2336
- }, z.core.$strip>;
1769
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
2337
1770
  service: z.ZodLiteral<"deliveroo">;
2338
1771
  data: z.ZodObject<{
2339
1772
  brandId: z.ZodString;
@@ -2361,10 +1794,10 @@ declare const createIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
2361
1794
  }>;
2362
1795
  name: z.ZodString;
2363
1796
  message: z.ZodNullable<z.ZodString>;
2364
- internalNotes: z.ZodNullable<z.ZodString>;
1797
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2365
1798
  createdAt: z.ZodString;
2366
1799
  updatedAt: z.ZodString;
2367
- updates: z.ZodArray<z.ZodObject<{
1800
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2368
1801
  status: z.ZodEnum<{
2369
1802
  active: "active";
2370
1803
  waiting_for_user: "waiting_for_user";
@@ -2372,38 +1805,11 @@ declare const createIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
2372
1805
  request_sent_partner: "request_sent_partner";
2373
1806
  failed: "failed";
2374
1807
  }>;
2375
- message: z.ZodString;
1808
+ message: z.ZodNullable<z.ZodString>;
2376
1809
  updatedAt: z.ZodString;
2377
- }, z.core.$strip>>;
1810
+ }, z.core.$strip>>>>;
2378
1811
  }, z.core.$strip>, z.ZodObject<{
2379
- pointOfSale: z.ZodObject<{
2380
- id: z.ZodString;
2381
- name: z.ZodString;
2382
- address: z.ZodObject<{
2383
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2384
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2385
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2386
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2387
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2388
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2389
- }, z.core.$strip>;
2390
- timezone: z.ZodString;
2391
- location: z.ZodObject<{
2392
- latitude: z.ZodNumber;
2393
- longitude: z.ZodNumber;
2394
- }, z.core.$strip>;
2395
- capabilities: z.ZodArray<z.ZodEnum<{
2396
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
2397
- }>>;
2398
- openingStatus: z.ZodEnum<{
2399
- OPEN: "OPEN";
2400
- CLOSED: "CLOSED";
2401
- }>;
2402
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
2403
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
2404
- createdAt: z.ZodString;
2405
- updatedAt: z.ZodString;
2406
- }, z.core.$strip>;
1812
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
2407
1813
  service: z.ZodLiteral<"glovo">;
2408
1814
  data: z.ZodObject<{
2409
1815
  storeId: z.ZodString;
@@ -2430,10 +1836,10 @@ declare const createIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
2430
1836
  }>;
2431
1837
  name: z.ZodString;
2432
1838
  message: z.ZodNullable<z.ZodString>;
2433
- internalNotes: z.ZodNullable<z.ZodString>;
1839
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2434
1840
  createdAt: z.ZodString;
2435
1841
  updatedAt: z.ZodString;
2436
- updates: z.ZodArray<z.ZodObject<{
1842
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2437
1843
  status: z.ZodEnum<{
2438
1844
  active: "active";
2439
1845
  waiting_for_user: "waiting_for_user";
@@ -2441,38 +1847,11 @@ declare const createIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
2441
1847
  request_sent_partner: "request_sent_partner";
2442
1848
  failed: "failed";
2443
1849
  }>;
2444
- message: z.ZodString;
1850
+ message: z.ZodNullable<z.ZodString>;
2445
1851
  updatedAt: z.ZodString;
2446
- }, z.core.$strip>>;
1852
+ }, z.core.$strip>>>>;
2447
1853
  }, z.core.$strip>, z.ZodObject<{
2448
- pointOfSale: z.ZodObject<{
2449
- id: z.ZodString;
2450
- name: z.ZodString;
2451
- address: z.ZodObject<{
2452
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2453
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2454
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2455
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2456
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2457
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2458
- }, z.core.$strip>;
2459
- timezone: z.ZodString;
2460
- location: z.ZodObject<{
2461
- latitude: z.ZodNumber;
2462
- longitude: z.ZodNumber;
2463
- }, z.core.$strip>;
2464
- capabilities: z.ZodArray<z.ZodEnum<{
2465
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
2466
- }>>;
2467
- openingStatus: z.ZodEnum<{
2468
- OPEN: "OPEN";
2469
- CLOSED: "CLOSED";
2470
- }>;
2471
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
2472
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
2473
- createdAt: z.ZodString;
2474
- updatedAt: z.ZodString;
2475
- }, z.core.$strip>;
1854
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
2476
1855
  service: z.ZodLiteral<"justeat">;
2477
1856
  data: z.ZodObject<{
2478
1857
  restaurantId: z.ZodString;
@@ -2499,10 +1878,10 @@ declare const createIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
2499
1878
  }>;
2500
1879
  name: z.ZodString;
2501
1880
  message: z.ZodNullable<z.ZodString>;
2502
- internalNotes: z.ZodNullable<z.ZodString>;
1881
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2503
1882
  createdAt: z.ZodString;
2504
1883
  updatedAt: z.ZodString;
2505
- updates: z.ZodArray<z.ZodObject<{
1884
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2506
1885
  status: z.ZodEnum<{
2507
1886
  active: "active";
2508
1887
  waiting_for_user: "waiting_for_user";
@@ -2510,38 +1889,11 @@ declare const createIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
2510
1889
  request_sent_partner: "request_sent_partner";
2511
1890
  failed: "failed";
2512
1891
  }>;
2513
- message: z.ZodString;
1892
+ message: z.ZodNullable<z.ZodString>;
2514
1893
  updatedAt: z.ZodString;
2515
- }, z.core.$strip>>;
1894
+ }, z.core.$strip>>>>;
2516
1895
  }, z.core.$strip>, z.ZodObject<{
2517
- pointOfSale: z.ZodObject<{
2518
- id: z.ZodString;
2519
- name: z.ZodString;
2520
- address: z.ZodObject<{
2521
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2522
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2523
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2524
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2525
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2526
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2527
- }, z.core.$strip>;
2528
- timezone: z.ZodString;
2529
- location: z.ZodObject<{
2530
- latitude: z.ZodNumber;
2531
- longitude: z.ZodNumber;
2532
- }, z.core.$strip>;
2533
- capabilities: z.ZodArray<z.ZodEnum<{
2534
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
2535
- }>>;
2536
- openingStatus: z.ZodEnum<{
2537
- OPEN: "OPEN";
2538
- CLOSED: "CLOSED";
2539
- }>;
2540
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
2541
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
2542
- createdAt: z.ZodString;
2543
- updatedAt: z.ZodString;
2544
- }, z.core.$strip>;
1896
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
2545
1897
  service: z.ZodLiteral<"cassa_in_cloud">;
2546
1898
  data: z.ZodObject<{
2547
1899
  apiKey: z.ZodString;
@@ -2573,10 +1925,10 @@ declare const createIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
2573
1925
  }>;
2574
1926
  name: z.ZodString;
2575
1927
  message: z.ZodNullable<z.ZodString>;
2576
- internalNotes: z.ZodNullable<z.ZodString>;
1928
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2577
1929
  createdAt: z.ZodString;
2578
1930
  updatedAt: z.ZodString;
2579
- updates: z.ZodArray<z.ZodObject<{
1931
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2580
1932
  status: z.ZodEnum<{
2581
1933
  active: "active";
2582
1934
  waiting_for_user: "waiting_for_user";
@@ -2584,9 +1936,9 @@ declare const createIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
2584
1936
  request_sent_partner: "request_sent_partner";
2585
1937
  failed: "failed";
2586
1938
  }>;
2587
- message: z.ZodString;
1939
+ message: z.ZodNullable<z.ZodString>;
2588
1940
  updatedAt: z.ZodString;
2589
- }, z.core.$strip>>;
1941
+ }, z.core.$strip>>>>;
2590
1942
  }, z.core.$strip>]>;
2591
1943
  type CreateIntegrationActivationRequestResponse = IntegrationActivationRequestDetails;
2592
1944
  declare class CreateIntegrationActivationRequest extends AbstractApiRequest<typeof createIntegrationActivationRequestInputSchema, typeof createIntegrationActivationRequestResponseSchema> {
@@ -2649,34 +2001,7 @@ declare class CreateIntegrationActivationRequest extends AbstractApiRequest<type
2649
2001
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
2650
2002
  }, z.core.$strip>]>;
2651
2003
  readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2652
- pointOfSale: z.ZodObject<{
2653
- id: z.ZodString;
2654
- name: z.ZodString;
2655
- address: z.ZodObject<{
2656
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2657
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2658
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2659
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2660
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2661
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2662
- }, z.core.$strip>;
2663
- timezone: z.ZodString;
2664
- location: z.ZodObject<{
2665
- latitude: z.ZodNumber;
2666
- longitude: z.ZodNumber;
2667
- }, z.core.$strip>;
2668
- capabilities: z.ZodArray<z.ZodEnum<{
2669
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
2670
- }>>;
2671
- openingStatus: z.ZodEnum<{
2672
- OPEN: "OPEN";
2673
- CLOSED: "CLOSED";
2674
- }>;
2675
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
2676
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
2677
- createdAt: z.ZodString;
2678
- updatedAt: z.ZodString;
2679
- }, z.core.$strip>;
2004
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
2680
2005
  service: z.ZodLiteral<"deliveroo">;
2681
2006
  data: z.ZodObject<{
2682
2007
  brandId: z.ZodString;
@@ -2704,10 +2029,10 @@ declare class CreateIntegrationActivationRequest extends AbstractApiRequest<type
2704
2029
  }>;
2705
2030
  name: z.ZodString;
2706
2031
  message: z.ZodNullable<z.ZodString>;
2707
- internalNotes: z.ZodNullable<z.ZodString>;
2032
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2708
2033
  createdAt: z.ZodString;
2709
2034
  updatedAt: z.ZodString;
2710
- updates: z.ZodArray<z.ZodObject<{
2035
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2711
2036
  status: z.ZodEnum<{
2712
2037
  active: "active";
2713
2038
  waiting_for_user: "waiting_for_user";
@@ -2715,38 +2040,11 @@ declare class CreateIntegrationActivationRequest extends AbstractApiRequest<type
2715
2040
  request_sent_partner: "request_sent_partner";
2716
2041
  failed: "failed";
2717
2042
  }>;
2718
- message: z.ZodString;
2043
+ message: z.ZodNullable<z.ZodString>;
2719
2044
  updatedAt: z.ZodString;
2720
- }, z.core.$strip>>;
2045
+ }, z.core.$strip>>>>;
2721
2046
  }, z.core.$strip>, z.ZodObject<{
2722
- pointOfSale: z.ZodObject<{
2723
- id: z.ZodString;
2724
- name: z.ZodString;
2725
- address: z.ZodObject<{
2726
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2727
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2728
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2729
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2730
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2731
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2732
- }, z.core.$strip>;
2733
- timezone: z.ZodString;
2734
- location: z.ZodObject<{
2735
- latitude: z.ZodNumber;
2736
- longitude: z.ZodNumber;
2737
- }, z.core.$strip>;
2738
- capabilities: z.ZodArray<z.ZodEnum<{
2739
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
2740
- }>>;
2741
- openingStatus: z.ZodEnum<{
2742
- OPEN: "OPEN";
2743
- CLOSED: "CLOSED";
2744
- }>;
2745
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
2746
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
2747
- createdAt: z.ZodString;
2748
- updatedAt: z.ZodString;
2749
- }, z.core.$strip>;
2047
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
2750
2048
  service: z.ZodLiteral<"glovo">;
2751
2049
  data: z.ZodObject<{
2752
2050
  storeId: z.ZodString;
@@ -2773,10 +2071,10 @@ declare class CreateIntegrationActivationRequest extends AbstractApiRequest<type
2773
2071
  }>;
2774
2072
  name: z.ZodString;
2775
2073
  message: z.ZodNullable<z.ZodString>;
2776
- internalNotes: z.ZodNullable<z.ZodString>;
2074
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2777
2075
  createdAt: z.ZodString;
2778
2076
  updatedAt: z.ZodString;
2779
- updates: z.ZodArray<z.ZodObject<{
2077
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2780
2078
  status: z.ZodEnum<{
2781
2079
  active: "active";
2782
2080
  waiting_for_user: "waiting_for_user";
@@ -2784,38 +2082,11 @@ declare class CreateIntegrationActivationRequest extends AbstractApiRequest<type
2784
2082
  request_sent_partner: "request_sent_partner";
2785
2083
  failed: "failed";
2786
2084
  }>;
2787
- message: z.ZodString;
2085
+ message: z.ZodNullable<z.ZodString>;
2788
2086
  updatedAt: z.ZodString;
2789
- }, z.core.$strip>>;
2087
+ }, z.core.$strip>>>>;
2790
2088
  }, z.core.$strip>, z.ZodObject<{
2791
- pointOfSale: z.ZodObject<{
2792
- id: z.ZodString;
2793
- name: z.ZodString;
2794
- address: z.ZodObject<{
2795
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2796
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2797
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2798
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2799
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2800
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2801
- }, z.core.$strip>;
2802
- timezone: z.ZodString;
2803
- location: z.ZodObject<{
2804
- latitude: z.ZodNumber;
2805
- longitude: z.ZodNumber;
2806
- }, z.core.$strip>;
2807
- capabilities: z.ZodArray<z.ZodEnum<{
2808
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
2809
- }>>;
2810
- openingStatus: z.ZodEnum<{
2811
- OPEN: "OPEN";
2812
- CLOSED: "CLOSED";
2813
- }>;
2814
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
2815
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
2816
- createdAt: z.ZodString;
2817
- updatedAt: z.ZodString;
2818
- }, z.core.$strip>;
2089
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
2819
2090
  service: z.ZodLiteral<"justeat">;
2820
2091
  data: z.ZodObject<{
2821
2092
  restaurantId: z.ZodString;
@@ -2842,10 +2113,10 @@ declare class CreateIntegrationActivationRequest extends AbstractApiRequest<type
2842
2113
  }>;
2843
2114
  name: z.ZodString;
2844
2115
  message: z.ZodNullable<z.ZodString>;
2845
- internalNotes: z.ZodNullable<z.ZodString>;
2116
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2846
2117
  createdAt: z.ZodString;
2847
2118
  updatedAt: z.ZodString;
2848
- updates: z.ZodArray<z.ZodObject<{
2119
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2849
2120
  status: z.ZodEnum<{
2850
2121
  active: "active";
2851
2122
  waiting_for_user: "waiting_for_user";
@@ -2853,38 +2124,11 @@ declare class CreateIntegrationActivationRequest extends AbstractApiRequest<type
2853
2124
  request_sent_partner: "request_sent_partner";
2854
2125
  failed: "failed";
2855
2126
  }>;
2856
- message: z.ZodString;
2127
+ message: z.ZodNullable<z.ZodString>;
2857
2128
  updatedAt: z.ZodString;
2858
- }, z.core.$strip>>;
2129
+ }, z.core.$strip>>>>;
2859
2130
  }, z.core.$strip>, z.ZodObject<{
2860
- pointOfSale: z.ZodObject<{
2861
- id: z.ZodString;
2862
- name: z.ZodString;
2863
- address: z.ZodObject<{
2864
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2865
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2866
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2867
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2868
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2869
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2870
- }, z.core.$strip>;
2871
- timezone: z.ZodString;
2872
- location: z.ZodObject<{
2873
- latitude: z.ZodNumber;
2874
- longitude: z.ZodNumber;
2875
- }, z.core.$strip>;
2876
- capabilities: z.ZodArray<z.ZodEnum<{
2877
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
2878
- }>>;
2879
- openingStatus: z.ZodEnum<{
2880
- OPEN: "OPEN";
2881
- CLOSED: "CLOSED";
2882
- }>;
2883
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
2884
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
2885
- createdAt: z.ZodString;
2886
- updatedAt: z.ZodString;
2887
- }, z.core.$strip>;
2131
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
2888
2132
  service: z.ZodLiteral<"cassa_in_cloud">;
2889
2133
  data: z.ZodObject<{
2890
2134
  apiKey: z.ZodString;
@@ -2916,10 +2160,10 @@ declare class CreateIntegrationActivationRequest extends AbstractApiRequest<type
2916
2160
  }>;
2917
2161
  name: z.ZodString;
2918
2162
  message: z.ZodNullable<z.ZodString>;
2919
- internalNotes: z.ZodNullable<z.ZodString>;
2163
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2920
2164
  createdAt: z.ZodString;
2921
2165
  updatedAt: z.ZodString;
2922
- updates: z.ZodArray<z.ZodObject<{
2166
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2923
2167
  status: z.ZodEnum<{
2924
2168
  active: "active";
2925
2169
  waiting_for_user: "waiting_for_user";
@@ -2927,9 +2171,9 @@ declare class CreateIntegrationActivationRequest extends AbstractApiRequest<type
2927
2171
  request_sent_partner: "request_sent_partner";
2928
2172
  failed: "failed";
2929
2173
  }>;
2930
- message: z.ZodString;
2174
+ message: z.ZodNullable<z.ZodString>;
2931
2175
  updatedAt: z.ZodString;
2932
- }, z.core.$strip>>;
2176
+ }, z.core.$strip>>>>;
2933
2177
  }, z.core.$strip>]>;
2934
2178
  readonly querySchema: undefined;
2935
2179
  readonly headersSchema: undefined;
@@ -2955,34 +2199,7 @@ declare class DeleteIntegrationActivationRequest extends AbstractApiRequest<type
2955
2199
  declare const getIntegrationActivationRequestDetailsInputSchema: z.ZodUndefined;
2956
2200
  type GetIntegrationActivationRequestDetailsInput = z.infer<typeof getIntegrationActivationRequestDetailsInputSchema>;
2957
2201
  declare const getIntegrationActivationRequestDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2958
- pointOfSale: z.ZodObject<{
2959
- id: z.ZodString;
2960
- name: z.ZodString;
2961
- address: z.ZodObject<{
2962
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2963
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2964
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2965
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2966
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2967
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2968
- }, z.core.$strip>;
2969
- timezone: z.ZodString;
2970
- location: z.ZodObject<{
2971
- latitude: z.ZodNumber;
2972
- longitude: z.ZodNumber;
2973
- }, z.core.$strip>;
2974
- capabilities: z.ZodArray<z.ZodEnum<{
2975
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
2976
- }>>;
2977
- openingStatus: z.ZodEnum<{
2978
- OPEN: "OPEN";
2979
- CLOSED: "CLOSED";
2980
- }>;
2981
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
2982
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
2983
- createdAt: z.ZodString;
2984
- updatedAt: z.ZodString;
2985
- }, z.core.$strip>;
2202
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
2986
2203
  service: z.ZodLiteral<"deliveroo">;
2987
2204
  data: z.ZodObject<{
2988
2205
  brandId: z.ZodString;
@@ -3010,10 +2227,10 @@ declare const getIntegrationActivationRequestDetailsResponseSchema: z.ZodDiscrim
3010
2227
  }>;
3011
2228
  name: z.ZodString;
3012
2229
  message: z.ZodNullable<z.ZodString>;
3013
- internalNotes: z.ZodNullable<z.ZodString>;
2230
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3014
2231
  createdAt: z.ZodString;
3015
2232
  updatedAt: z.ZodString;
3016
- updates: z.ZodArray<z.ZodObject<{
2233
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3017
2234
  status: z.ZodEnum<{
3018
2235
  active: "active";
3019
2236
  waiting_for_user: "waiting_for_user";
@@ -3021,38 +2238,11 @@ declare const getIntegrationActivationRequestDetailsResponseSchema: z.ZodDiscrim
3021
2238
  request_sent_partner: "request_sent_partner";
3022
2239
  failed: "failed";
3023
2240
  }>;
3024
- message: z.ZodString;
2241
+ message: z.ZodNullable<z.ZodString>;
3025
2242
  updatedAt: z.ZodString;
3026
- }, z.core.$strip>>;
2243
+ }, z.core.$strip>>>>;
3027
2244
  }, z.core.$strip>, z.ZodObject<{
3028
- pointOfSale: z.ZodObject<{
3029
- id: z.ZodString;
3030
- name: z.ZodString;
3031
- address: z.ZodObject<{
3032
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3033
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3034
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3035
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3036
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3037
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3038
- }, z.core.$strip>;
3039
- timezone: z.ZodString;
3040
- location: z.ZodObject<{
3041
- latitude: z.ZodNumber;
3042
- longitude: z.ZodNumber;
3043
- }, z.core.$strip>;
3044
- capabilities: z.ZodArray<z.ZodEnum<{
3045
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
3046
- }>>;
3047
- openingStatus: z.ZodEnum<{
3048
- OPEN: "OPEN";
3049
- CLOSED: "CLOSED";
3050
- }>;
3051
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
3052
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
3053
- createdAt: z.ZodString;
3054
- updatedAt: z.ZodString;
3055
- }, z.core.$strip>;
2245
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
3056
2246
  service: z.ZodLiteral<"glovo">;
3057
2247
  data: z.ZodObject<{
3058
2248
  storeId: z.ZodString;
@@ -3079,10 +2269,10 @@ declare const getIntegrationActivationRequestDetailsResponseSchema: z.ZodDiscrim
3079
2269
  }>;
3080
2270
  name: z.ZodString;
3081
2271
  message: z.ZodNullable<z.ZodString>;
3082
- internalNotes: z.ZodNullable<z.ZodString>;
2272
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3083
2273
  createdAt: z.ZodString;
3084
2274
  updatedAt: z.ZodString;
3085
- updates: z.ZodArray<z.ZodObject<{
2275
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3086
2276
  status: z.ZodEnum<{
3087
2277
  active: "active";
3088
2278
  waiting_for_user: "waiting_for_user";
@@ -3090,38 +2280,11 @@ declare const getIntegrationActivationRequestDetailsResponseSchema: z.ZodDiscrim
3090
2280
  request_sent_partner: "request_sent_partner";
3091
2281
  failed: "failed";
3092
2282
  }>;
3093
- message: z.ZodString;
2283
+ message: z.ZodNullable<z.ZodString>;
3094
2284
  updatedAt: z.ZodString;
3095
- }, z.core.$strip>>;
2285
+ }, z.core.$strip>>>>;
3096
2286
  }, z.core.$strip>, z.ZodObject<{
3097
- pointOfSale: z.ZodObject<{
3098
- id: z.ZodString;
3099
- name: z.ZodString;
3100
- address: z.ZodObject<{
3101
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3102
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3103
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3104
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3105
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3106
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3107
- }, z.core.$strip>;
3108
- timezone: z.ZodString;
3109
- location: z.ZodObject<{
3110
- latitude: z.ZodNumber;
3111
- longitude: z.ZodNumber;
3112
- }, z.core.$strip>;
3113
- capabilities: z.ZodArray<z.ZodEnum<{
3114
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
3115
- }>>;
3116
- openingStatus: z.ZodEnum<{
3117
- OPEN: "OPEN";
3118
- CLOSED: "CLOSED";
3119
- }>;
3120
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
3121
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
3122
- createdAt: z.ZodString;
3123
- updatedAt: z.ZodString;
3124
- }, z.core.$strip>;
2287
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
3125
2288
  service: z.ZodLiteral<"justeat">;
3126
2289
  data: z.ZodObject<{
3127
2290
  restaurantId: z.ZodString;
@@ -3148,10 +2311,10 @@ declare const getIntegrationActivationRequestDetailsResponseSchema: z.ZodDiscrim
3148
2311
  }>;
3149
2312
  name: z.ZodString;
3150
2313
  message: z.ZodNullable<z.ZodString>;
3151
- internalNotes: z.ZodNullable<z.ZodString>;
2314
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3152
2315
  createdAt: z.ZodString;
3153
2316
  updatedAt: z.ZodString;
3154
- updates: z.ZodArray<z.ZodObject<{
2317
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3155
2318
  status: z.ZodEnum<{
3156
2319
  active: "active";
3157
2320
  waiting_for_user: "waiting_for_user";
@@ -3159,38 +2322,11 @@ declare const getIntegrationActivationRequestDetailsResponseSchema: z.ZodDiscrim
3159
2322
  request_sent_partner: "request_sent_partner";
3160
2323
  failed: "failed";
3161
2324
  }>;
3162
- message: z.ZodString;
2325
+ message: z.ZodNullable<z.ZodString>;
3163
2326
  updatedAt: z.ZodString;
3164
- }, z.core.$strip>>;
2327
+ }, z.core.$strip>>>>;
3165
2328
  }, z.core.$strip>, z.ZodObject<{
3166
- pointOfSale: z.ZodObject<{
3167
- id: z.ZodString;
3168
- name: z.ZodString;
3169
- address: z.ZodObject<{
3170
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3171
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3172
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3173
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3174
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3175
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3176
- }, z.core.$strip>;
3177
- timezone: z.ZodString;
3178
- location: z.ZodObject<{
3179
- latitude: z.ZodNumber;
3180
- longitude: z.ZodNumber;
3181
- }, z.core.$strip>;
3182
- capabilities: z.ZodArray<z.ZodEnum<{
3183
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
3184
- }>>;
3185
- openingStatus: z.ZodEnum<{
3186
- OPEN: "OPEN";
3187
- CLOSED: "CLOSED";
3188
- }>;
3189
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
3190
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
3191
- createdAt: z.ZodString;
3192
- updatedAt: z.ZodString;
3193
- }, z.core.$strip>;
2329
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
3194
2330
  service: z.ZodLiteral<"cassa_in_cloud">;
3195
2331
  data: z.ZodObject<{
3196
2332
  apiKey: z.ZodString;
@@ -3222,10 +2358,10 @@ declare const getIntegrationActivationRequestDetailsResponseSchema: z.ZodDiscrim
3222
2358
  }>;
3223
2359
  name: z.ZodString;
3224
2360
  message: z.ZodNullable<z.ZodString>;
3225
- internalNotes: z.ZodNullable<z.ZodString>;
2361
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3226
2362
  createdAt: z.ZodString;
3227
2363
  updatedAt: z.ZodString;
3228
- updates: z.ZodArray<z.ZodObject<{
2364
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3229
2365
  status: z.ZodEnum<{
3230
2366
  active: "active";
3231
2367
  waiting_for_user: "waiting_for_user";
@@ -3233,9 +2369,9 @@ declare const getIntegrationActivationRequestDetailsResponseSchema: z.ZodDiscrim
3233
2369
  request_sent_partner: "request_sent_partner";
3234
2370
  failed: "failed";
3235
2371
  }>;
3236
- message: z.ZodString;
2372
+ message: z.ZodNullable<z.ZodString>;
3237
2373
  updatedAt: z.ZodString;
3238
- }, z.core.$strip>>;
2374
+ }, z.core.$strip>>>>;
3239
2375
  }, z.core.$strip>]>;
3240
2376
  type GetIntegrationActivationRequestDetailsResponse = IntegrationActivationRequestDetails;
3241
2377
  declare class GetIntegrationActivationRequestDetails extends AbstractApiRequest<typeof getIntegrationActivationRequestDetailsInputSchema, typeof getIntegrationActivationRequestDetailsResponseSchema> {
@@ -3244,34 +2380,7 @@ declare class GetIntegrationActivationRequestDetails extends AbstractApiRequest<
3244
2380
  readonly accept = "application/json";
3245
2381
  readonly inputSchema: z.ZodUndefined;
3246
2382
  readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3247
- pointOfSale: z.ZodObject<{
3248
- id: z.ZodString;
3249
- name: z.ZodString;
3250
- address: z.ZodObject<{
3251
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3252
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3253
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3254
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3255
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3256
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3257
- }, z.core.$strip>;
3258
- timezone: z.ZodString;
3259
- location: z.ZodObject<{
3260
- latitude: z.ZodNumber;
3261
- longitude: z.ZodNumber;
3262
- }, z.core.$strip>;
3263
- capabilities: z.ZodArray<z.ZodEnum<{
3264
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
3265
- }>>;
3266
- openingStatus: z.ZodEnum<{
3267
- OPEN: "OPEN";
3268
- CLOSED: "CLOSED";
3269
- }>;
3270
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
3271
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
3272
- createdAt: z.ZodString;
3273
- updatedAt: z.ZodString;
3274
- }, z.core.$strip>;
2383
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
3275
2384
  service: z.ZodLiteral<"deliveroo">;
3276
2385
  data: z.ZodObject<{
3277
2386
  brandId: z.ZodString;
@@ -3299,10 +2408,10 @@ declare class GetIntegrationActivationRequestDetails extends AbstractApiRequest<
3299
2408
  }>;
3300
2409
  name: z.ZodString;
3301
2410
  message: z.ZodNullable<z.ZodString>;
3302
- internalNotes: z.ZodNullable<z.ZodString>;
2411
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3303
2412
  createdAt: z.ZodString;
3304
2413
  updatedAt: z.ZodString;
3305
- updates: z.ZodArray<z.ZodObject<{
2414
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3306
2415
  status: z.ZodEnum<{
3307
2416
  active: "active";
3308
2417
  waiting_for_user: "waiting_for_user";
@@ -3310,38 +2419,11 @@ declare class GetIntegrationActivationRequestDetails extends AbstractApiRequest<
3310
2419
  request_sent_partner: "request_sent_partner";
3311
2420
  failed: "failed";
3312
2421
  }>;
3313
- message: z.ZodString;
2422
+ message: z.ZodNullable<z.ZodString>;
3314
2423
  updatedAt: z.ZodString;
3315
- }, z.core.$strip>>;
2424
+ }, z.core.$strip>>>>;
3316
2425
  }, z.core.$strip>, z.ZodObject<{
3317
- pointOfSale: z.ZodObject<{
3318
- id: z.ZodString;
3319
- name: z.ZodString;
3320
- address: z.ZodObject<{
3321
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3322
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3323
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3324
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3325
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3326
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3327
- }, z.core.$strip>;
3328
- timezone: z.ZodString;
3329
- location: z.ZodObject<{
3330
- latitude: z.ZodNumber;
3331
- longitude: z.ZodNumber;
3332
- }, z.core.$strip>;
3333
- capabilities: z.ZodArray<z.ZodEnum<{
3334
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
3335
- }>>;
3336
- openingStatus: z.ZodEnum<{
3337
- OPEN: "OPEN";
3338
- CLOSED: "CLOSED";
3339
- }>;
3340
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
3341
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
3342
- createdAt: z.ZodString;
3343
- updatedAt: z.ZodString;
3344
- }, z.core.$strip>;
2426
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
3345
2427
  service: z.ZodLiteral<"glovo">;
3346
2428
  data: z.ZodObject<{
3347
2429
  storeId: z.ZodString;
@@ -3368,10 +2450,10 @@ declare class GetIntegrationActivationRequestDetails extends AbstractApiRequest<
3368
2450
  }>;
3369
2451
  name: z.ZodString;
3370
2452
  message: z.ZodNullable<z.ZodString>;
3371
- internalNotes: z.ZodNullable<z.ZodString>;
2453
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3372
2454
  createdAt: z.ZodString;
3373
2455
  updatedAt: z.ZodString;
3374
- updates: z.ZodArray<z.ZodObject<{
2456
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3375
2457
  status: z.ZodEnum<{
3376
2458
  active: "active";
3377
2459
  waiting_for_user: "waiting_for_user";
@@ -3379,38 +2461,11 @@ declare class GetIntegrationActivationRequestDetails extends AbstractApiRequest<
3379
2461
  request_sent_partner: "request_sent_partner";
3380
2462
  failed: "failed";
3381
2463
  }>;
3382
- message: z.ZodString;
2464
+ message: z.ZodNullable<z.ZodString>;
3383
2465
  updatedAt: z.ZodString;
3384
- }, z.core.$strip>>;
2466
+ }, z.core.$strip>>>>;
3385
2467
  }, z.core.$strip>, z.ZodObject<{
3386
- pointOfSale: z.ZodObject<{
3387
- id: z.ZodString;
3388
- name: z.ZodString;
3389
- address: z.ZodObject<{
3390
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3391
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3392
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3393
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3394
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3395
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3396
- }, z.core.$strip>;
3397
- timezone: z.ZodString;
3398
- location: z.ZodObject<{
3399
- latitude: z.ZodNumber;
3400
- longitude: z.ZodNumber;
3401
- }, z.core.$strip>;
3402
- capabilities: z.ZodArray<z.ZodEnum<{
3403
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
3404
- }>>;
3405
- openingStatus: z.ZodEnum<{
3406
- OPEN: "OPEN";
3407
- CLOSED: "CLOSED";
3408
- }>;
3409
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
3410
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
3411
- createdAt: z.ZodString;
3412
- updatedAt: z.ZodString;
3413
- }, z.core.$strip>;
2468
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
3414
2469
  service: z.ZodLiteral<"justeat">;
3415
2470
  data: z.ZodObject<{
3416
2471
  restaurantId: z.ZodString;
@@ -3437,10 +2492,10 @@ declare class GetIntegrationActivationRequestDetails extends AbstractApiRequest<
3437
2492
  }>;
3438
2493
  name: z.ZodString;
3439
2494
  message: z.ZodNullable<z.ZodString>;
3440
- internalNotes: z.ZodNullable<z.ZodString>;
2495
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3441
2496
  createdAt: z.ZodString;
3442
2497
  updatedAt: z.ZodString;
3443
- updates: z.ZodArray<z.ZodObject<{
2498
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3444
2499
  status: z.ZodEnum<{
3445
2500
  active: "active";
3446
2501
  waiting_for_user: "waiting_for_user";
@@ -3448,38 +2503,11 @@ declare class GetIntegrationActivationRequestDetails extends AbstractApiRequest<
3448
2503
  request_sent_partner: "request_sent_partner";
3449
2504
  failed: "failed";
3450
2505
  }>;
3451
- message: z.ZodString;
2506
+ message: z.ZodNullable<z.ZodString>;
3452
2507
  updatedAt: z.ZodString;
3453
- }, z.core.$strip>>;
2508
+ }, z.core.$strip>>>>;
3454
2509
  }, z.core.$strip>, z.ZodObject<{
3455
- pointOfSale: z.ZodObject<{
3456
- id: z.ZodString;
3457
- name: z.ZodString;
3458
- address: z.ZodObject<{
3459
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3460
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3461
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3462
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3463
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3464
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3465
- }, z.core.$strip>;
3466
- timezone: z.ZodString;
3467
- location: z.ZodObject<{
3468
- latitude: z.ZodNumber;
3469
- longitude: z.ZodNumber;
3470
- }, z.core.$strip>;
3471
- capabilities: z.ZodArray<z.ZodEnum<{
3472
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
3473
- }>>;
3474
- openingStatus: z.ZodEnum<{
3475
- OPEN: "OPEN";
3476
- CLOSED: "CLOSED";
3477
- }>;
3478
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
3479
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
3480
- createdAt: z.ZodString;
3481
- updatedAt: z.ZodString;
3482
- }, z.core.$strip>;
2510
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
3483
2511
  service: z.ZodLiteral<"cassa_in_cloud">;
3484
2512
  data: z.ZodObject<{
3485
2513
  apiKey: z.ZodString;
@@ -3511,10 +2539,10 @@ declare class GetIntegrationActivationRequestDetails extends AbstractApiRequest<
3511
2539
  }>;
3512
2540
  name: z.ZodString;
3513
2541
  message: z.ZodNullable<z.ZodString>;
3514
- internalNotes: z.ZodNullable<z.ZodString>;
2542
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3515
2543
  createdAt: z.ZodString;
3516
2544
  updatedAt: z.ZodString;
3517
- updates: z.ZodArray<z.ZodObject<{
2545
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3518
2546
  status: z.ZodEnum<{
3519
2547
  active: "active";
3520
2548
  waiting_for_user: "waiting_for_user";
@@ -3522,9 +2550,9 @@ declare class GetIntegrationActivationRequestDetails extends AbstractApiRequest<
3522
2550
  request_sent_partner: "request_sent_partner";
3523
2551
  failed: "failed";
3524
2552
  }>;
3525
- message: z.ZodString;
2553
+ message: z.ZodNullable<z.ZodString>;
3526
2554
  updatedAt: z.ZodString;
3527
- }, z.core.$strip>>;
2555
+ }, z.core.$strip>>>>;
3528
2556
  }, z.core.$strip>]>;
3529
2557
  readonly querySchema: undefined;
3530
2558
  readonly headersSchema: undefined;
@@ -3635,8 +2663,8 @@ declare const getIntegrationActivationRequestsResponseSchema: z.ZodObject<{
3635
2663
  id: z.ZodString;
3636
2664
  connectionId: z.ZodNullable<z.ZodString>;
3637
2665
  name: z.ZodString;
3638
- internalNotes: z.ZodNullable<z.ZodString>;
3639
- updates: z.ZodArray<z.ZodObject<{
2666
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2667
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3640
2668
  status: z.ZodEnum<{
3641
2669
  active: "active";
3642
2670
  waiting_for_user: "waiting_for_user";
@@ -3644,9 +2672,9 @@ declare const getIntegrationActivationRequestsResponseSchema: z.ZodObject<{
3644
2672
  request_sent_partner: "request_sent_partner";
3645
2673
  failed: "failed";
3646
2674
  }>;
3647
- message: z.ZodString;
2675
+ message: z.ZodNullable<z.ZodString>;
3648
2676
  updatedAt: z.ZodString;
3649
- }, z.core.$strip>>;
2677
+ }, z.core.$strip>>>>;
3650
2678
  }, z.core.$strip>, z.ZodObject<{
3651
2679
  service: z.ZodLiteral<"glovo">;
3652
2680
  data: z.ZodObject<{
@@ -3676,8 +2704,8 @@ declare const getIntegrationActivationRequestsResponseSchema: z.ZodObject<{
3676
2704
  id: z.ZodString;
3677
2705
  connectionId: z.ZodNullable<z.ZodString>;
3678
2706
  name: z.ZodString;
3679
- internalNotes: z.ZodNullable<z.ZodString>;
3680
- updates: z.ZodArray<z.ZodObject<{
2707
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2708
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3681
2709
  status: z.ZodEnum<{
3682
2710
  active: "active";
3683
2711
  waiting_for_user: "waiting_for_user";
@@ -3685,9 +2713,9 @@ declare const getIntegrationActivationRequestsResponseSchema: z.ZodObject<{
3685
2713
  request_sent_partner: "request_sent_partner";
3686
2714
  failed: "failed";
3687
2715
  }>;
3688
- message: z.ZodString;
2716
+ message: z.ZodNullable<z.ZodString>;
3689
2717
  updatedAt: z.ZodString;
3690
- }, z.core.$strip>>;
2718
+ }, z.core.$strip>>>>;
3691
2719
  }, z.core.$strip>, z.ZodObject<{
3692
2720
  service: z.ZodLiteral<"justeat">;
3693
2721
  data: z.ZodObject<{
@@ -3717,8 +2745,8 @@ declare const getIntegrationActivationRequestsResponseSchema: z.ZodObject<{
3717
2745
  id: z.ZodString;
3718
2746
  connectionId: z.ZodNullable<z.ZodString>;
3719
2747
  name: z.ZodString;
3720
- internalNotes: z.ZodNullable<z.ZodString>;
3721
- updates: z.ZodArray<z.ZodObject<{
2748
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2749
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3722
2750
  status: z.ZodEnum<{
3723
2751
  active: "active";
3724
2752
  waiting_for_user: "waiting_for_user";
@@ -3726,9 +2754,9 @@ declare const getIntegrationActivationRequestsResponseSchema: z.ZodObject<{
3726
2754
  request_sent_partner: "request_sent_partner";
3727
2755
  failed: "failed";
3728
2756
  }>;
3729
- message: z.ZodString;
2757
+ message: z.ZodNullable<z.ZodString>;
3730
2758
  updatedAt: z.ZodString;
3731
- }, z.core.$strip>>;
2759
+ }, z.core.$strip>>>>;
3732
2760
  }, z.core.$strip>, z.ZodObject<{
3733
2761
  service: z.ZodLiteral<"cassa_in_cloud">;
3734
2762
  data: z.ZodObject<{
@@ -3763,8 +2791,8 @@ declare const getIntegrationActivationRequestsResponseSchema: z.ZodObject<{
3763
2791
  id: z.ZodString;
3764
2792
  connectionId: z.ZodNullable<z.ZodString>;
3765
2793
  name: z.ZodString;
3766
- internalNotes: z.ZodNullable<z.ZodString>;
3767
- updates: z.ZodArray<z.ZodObject<{
2794
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2795
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3768
2796
  status: z.ZodEnum<{
3769
2797
  active: "active";
3770
2798
  waiting_for_user: "waiting_for_user";
@@ -3772,9 +2800,9 @@ declare const getIntegrationActivationRequestsResponseSchema: z.ZodObject<{
3772
2800
  request_sent_partner: "request_sent_partner";
3773
2801
  failed: "failed";
3774
2802
  }>;
3775
- message: z.ZodString;
2803
+ message: z.ZodNullable<z.ZodString>;
3776
2804
  updatedAt: z.ZodString;
3777
- }, z.core.$strip>>;
2805
+ }, z.core.$strip>>>>;
3778
2806
  }, z.core.$strip>]>>;
3779
2807
  pagination: z.ZodObject<{
3780
2808
  from: z.ZodNumber;
@@ -3822,8 +2850,8 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
3822
2850
  id: z.ZodString;
3823
2851
  connectionId: z.ZodNullable<z.ZodString>;
3824
2852
  name: z.ZodString;
3825
- internalNotes: z.ZodNullable<z.ZodString>;
3826
- updates: z.ZodArray<z.ZodObject<{
2853
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2854
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3827
2855
  status: z.ZodEnum<{
3828
2856
  active: "active";
3829
2857
  waiting_for_user: "waiting_for_user";
@@ -3831,9 +2859,9 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
3831
2859
  request_sent_partner: "request_sent_partner";
3832
2860
  failed: "failed";
3833
2861
  }>;
3834
- message: z.ZodString;
2862
+ message: z.ZodNullable<z.ZodString>;
3835
2863
  updatedAt: z.ZodString;
3836
- }, z.core.$strip>>;
2864
+ }, z.core.$strip>>>>;
3837
2865
  }, z.core.$strip>, z.ZodObject<{
3838
2866
  service: z.ZodLiteral<"glovo">;
3839
2867
  data: z.ZodObject<{
@@ -3863,8 +2891,8 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
3863
2891
  id: z.ZodString;
3864
2892
  connectionId: z.ZodNullable<z.ZodString>;
3865
2893
  name: z.ZodString;
3866
- internalNotes: z.ZodNullable<z.ZodString>;
3867
- updates: z.ZodArray<z.ZodObject<{
2894
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2895
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3868
2896
  status: z.ZodEnum<{
3869
2897
  active: "active";
3870
2898
  waiting_for_user: "waiting_for_user";
@@ -3872,9 +2900,9 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
3872
2900
  request_sent_partner: "request_sent_partner";
3873
2901
  failed: "failed";
3874
2902
  }>;
3875
- message: z.ZodString;
2903
+ message: z.ZodNullable<z.ZodString>;
3876
2904
  updatedAt: z.ZodString;
3877
- }, z.core.$strip>>;
2905
+ }, z.core.$strip>>>>;
3878
2906
  }, z.core.$strip>, z.ZodObject<{
3879
2907
  service: z.ZodLiteral<"justeat">;
3880
2908
  data: z.ZodObject<{
@@ -3904,8 +2932,8 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
3904
2932
  id: z.ZodString;
3905
2933
  connectionId: z.ZodNullable<z.ZodString>;
3906
2934
  name: z.ZodString;
3907
- internalNotes: z.ZodNullable<z.ZodString>;
3908
- updates: z.ZodArray<z.ZodObject<{
2935
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2936
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3909
2937
  status: z.ZodEnum<{
3910
2938
  active: "active";
3911
2939
  waiting_for_user: "waiting_for_user";
@@ -3913,9 +2941,9 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
3913
2941
  request_sent_partner: "request_sent_partner";
3914
2942
  failed: "failed";
3915
2943
  }>;
3916
- message: z.ZodString;
2944
+ message: z.ZodNullable<z.ZodString>;
3917
2945
  updatedAt: z.ZodString;
3918
- }, z.core.$strip>>;
2946
+ }, z.core.$strip>>>>;
3919
2947
  }, z.core.$strip>, z.ZodObject<{
3920
2948
  service: z.ZodLiteral<"cassa_in_cloud">;
3921
2949
  data: z.ZodObject<{
@@ -3950,8 +2978,8 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
3950
2978
  id: z.ZodString;
3951
2979
  connectionId: z.ZodNullable<z.ZodString>;
3952
2980
  name: z.ZodString;
3953
- internalNotes: z.ZodNullable<z.ZodString>;
3954
- updates: z.ZodArray<z.ZodObject<{
2981
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2982
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3955
2983
  status: z.ZodEnum<{
3956
2984
  active: "active";
3957
2985
  waiting_for_user: "waiting_for_user";
@@ -3959,9 +2987,9 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
3959
2987
  request_sent_partner: "request_sent_partner";
3960
2988
  failed: "failed";
3961
2989
  }>;
3962
- message: z.ZodString;
2990
+ message: z.ZodNullable<z.ZodString>;
3963
2991
  updatedAt: z.ZodString;
3964
- }, z.core.$strip>>;
2992
+ }, z.core.$strip>>>>;
3965
2993
  }, z.core.$strip>]>>;
3966
2994
  pagination: z.ZodObject<{
3967
2995
  from: z.ZodNumber;
@@ -4149,8 +3177,8 @@ declare const getIntegrationActivationRequestsFromPointOfSaleResponseSchema: z.Z
4149
3177
  id: z.ZodString;
4150
3178
  connectionId: z.ZodNullable<z.ZodString>;
4151
3179
  name: z.ZodString;
4152
- internalNotes: z.ZodNullable<z.ZodString>;
4153
- updates: z.ZodArray<z.ZodObject<{
3180
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3181
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
4154
3182
  status: z.ZodEnum<{
4155
3183
  active: "active";
4156
3184
  waiting_for_user: "waiting_for_user";
@@ -4158,9 +3186,9 @@ declare const getIntegrationActivationRequestsFromPointOfSaleResponseSchema: z.Z
4158
3186
  request_sent_partner: "request_sent_partner";
4159
3187
  failed: "failed";
4160
3188
  }>;
4161
- message: z.ZodString;
3189
+ message: z.ZodNullable<z.ZodString>;
4162
3190
  updatedAt: z.ZodString;
4163
- }, z.core.$strip>>;
3191
+ }, z.core.$strip>>>>;
4164
3192
  }, z.core.$strip>, z.ZodObject<{
4165
3193
  service: z.ZodLiteral<"glovo">;
4166
3194
  data: z.ZodObject<{
@@ -4190,8 +3218,8 @@ declare const getIntegrationActivationRequestsFromPointOfSaleResponseSchema: z.Z
4190
3218
  id: z.ZodString;
4191
3219
  connectionId: z.ZodNullable<z.ZodString>;
4192
3220
  name: z.ZodString;
4193
- internalNotes: z.ZodNullable<z.ZodString>;
4194
- updates: z.ZodArray<z.ZodObject<{
3221
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3222
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
4195
3223
  status: z.ZodEnum<{
4196
3224
  active: "active";
4197
3225
  waiting_for_user: "waiting_for_user";
@@ -4199,9 +3227,9 @@ declare const getIntegrationActivationRequestsFromPointOfSaleResponseSchema: z.Z
4199
3227
  request_sent_partner: "request_sent_partner";
4200
3228
  failed: "failed";
4201
3229
  }>;
4202
- message: z.ZodString;
3230
+ message: z.ZodNullable<z.ZodString>;
4203
3231
  updatedAt: z.ZodString;
4204
- }, z.core.$strip>>;
3232
+ }, z.core.$strip>>>>;
4205
3233
  }, z.core.$strip>, z.ZodObject<{
4206
3234
  service: z.ZodLiteral<"justeat">;
4207
3235
  data: z.ZodObject<{
@@ -4231,8 +3259,8 @@ declare const getIntegrationActivationRequestsFromPointOfSaleResponseSchema: z.Z
4231
3259
  id: z.ZodString;
4232
3260
  connectionId: z.ZodNullable<z.ZodString>;
4233
3261
  name: z.ZodString;
4234
- internalNotes: z.ZodNullable<z.ZodString>;
4235
- updates: z.ZodArray<z.ZodObject<{
3262
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3263
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
4236
3264
  status: z.ZodEnum<{
4237
3265
  active: "active";
4238
3266
  waiting_for_user: "waiting_for_user";
@@ -4240,9 +3268,9 @@ declare const getIntegrationActivationRequestsFromPointOfSaleResponseSchema: z.Z
4240
3268
  request_sent_partner: "request_sent_partner";
4241
3269
  failed: "failed";
4242
3270
  }>;
4243
- message: z.ZodString;
3271
+ message: z.ZodNullable<z.ZodString>;
4244
3272
  updatedAt: z.ZodString;
4245
- }, z.core.$strip>>;
3273
+ }, z.core.$strip>>>>;
4246
3274
  }, z.core.$strip>, z.ZodObject<{
4247
3275
  service: z.ZodLiteral<"cassa_in_cloud">;
4248
3276
  data: z.ZodObject<{
@@ -4277,8 +3305,8 @@ declare const getIntegrationActivationRequestsFromPointOfSaleResponseSchema: z.Z
4277
3305
  id: z.ZodString;
4278
3306
  connectionId: z.ZodNullable<z.ZodString>;
4279
3307
  name: z.ZodString;
4280
- internalNotes: z.ZodNullable<z.ZodString>;
4281
- updates: z.ZodArray<z.ZodObject<{
3308
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3309
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
4282
3310
  status: z.ZodEnum<{
4283
3311
  active: "active";
4284
3312
  waiting_for_user: "waiting_for_user";
@@ -4286,9 +3314,9 @@ declare const getIntegrationActivationRequestsFromPointOfSaleResponseSchema: z.Z
4286
3314
  request_sent_partner: "request_sent_partner";
4287
3315
  failed: "failed";
4288
3316
  }>;
4289
- message: z.ZodString;
3317
+ message: z.ZodNullable<z.ZodString>;
4290
3318
  updatedAt: z.ZodString;
4291
- }, z.core.$strip>>;
3319
+ }, z.core.$strip>>>>;
4292
3320
  }, z.core.$strip>]>>;
4293
3321
  type GetIntegrationActivationRequestsFromPointOfSaleResponse = z.infer<typeof getIntegrationActivationRequestsFromPointOfSaleResponseSchema>;
4294
3322
  declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractApiRequest<typeof getIntegrationActivationRequestsFromPointOfSaleInputSchema, typeof getIntegrationActivationRequestsFromPointOfSaleResponseSchema, GetIntegrationActivationRequestsFromPointOfSaleQueryParams> {
@@ -4326,8 +3354,8 @@ declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractAp
4326
3354
  id: z.ZodString;
4327
3355
  connectionId: z.ZodNullable<z.ZodString>;
4328
3356
  name: z.ZodString;
4329
- internalNotes: z.ZodNullable<z.ZodString>;
4330
- updates: z.ZodArray<z.ZodObject<{
3357
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3358
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
4331
3359
  status: z.ZodEnum<{
4332
3360
  active: "active";
4333
3361
  waiting_for_user: "waiting_for_user";
@@ -4335,9 +3363,9 @@ declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractAp
4335
3363
  request_sent_partner: "request_sent_partner";
4336
3364
  failed: "failed";
4337
3365
  }>;
4338
- message: z.ZodString;
3366
+ message: z.ZodNullable<z.ZodString>;
4339
3367
  updatedAt: z.ZodString;
4340
- }, z.core.$strip>>;
3368
+ }, z.core.$strip>>>>;
4341
3369
  }, z.core.$strip>, z.ZodObject<{
4342
3370
  service: z.ZodLiteral<"glovo">;
4343
3371
  data: z.ZodObject<{
@@ -4367,8 +3395,8 @@ declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractAp
4367
3395
  id: z.ZodString;
4368
3396
  connectionId: z.ZodNullable<z.ZodString>;
4369
3397
  name: z.ZodString;
4370
- internalNotes: z.ZodNullable<z.ZodString>;
4371
- updates: z.ZodArray<z.ZodObject<{
3398
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3399
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
4372
3400
  status: z.ZodEnum<{
4373
3401
  active: "active";
4374
3402
  waiting_for_user: "waiting_for_user";
@@ -4376,9 +3404,9 @@ declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractAp
4376
3404
  request_sent_partner: "request_sent_partner";
4377
3405
  failed: "failed";
4378
3406
  }>;
4379
- message: z.ZodString;
3407
+ message: z.ZodNullable<z.ZodString>;
4380
3408
  updatedAt: z.ZodString;
4381
- }, z.core.$strip>>;
3409
+ }, z.core.$strip>>>>;
4382
3410
  }, z.core.$strip>, z.ZodObject<{
4383
3411
  service: z.ZodLiteral<"justeat">;
4384
3412
  data: z.ZodObject<{
@@ -4408,8 +3436,8 @@ declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractAp
4408
3436
  id: z.ZodString;
4409
3437
  connectionId: z.ZodNullable<z.ZodString>;
4410
3438
  name: z.ZodString;
4411
- internalNotes: z.ZodNullable<z.ZodString>;
4412
- updates: z.ZodArray<z.ZodObject<{
3439
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3440
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
4413
3441
  status: z.ZodEnum<{
4414
3442
  active: "active";
4415
3443
  waiting_for_user: "waiting_for_user";
@@ -4417,9 +3445,9 @@ declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractAp
4417
3445
  request_sent_partner: "request_sent_partner";
4418
3446
  failed: "failed";
4419
3447
  }>;
4420
- message: z.ZodString;
3448
+ message: z.ZodNullable<z.ZodString>;
4421
3449
  updatedAt: z.ZodString;
4422
- }, z.core.$strip>>;
3450
+ }, z.core.$strip>>>>;
4423
3451
  }, z.core.$strip>, z.ZodObject<{
4424
3452
  service: z.ZodLiteral<"cassa_in_cloud">;
4425
3453
  data: z.ZodObject<{
@@ -4454,8 +3482,8 @@ declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractAp
4454
3482
  id: z.ZodString;
4455
3483
  connectionId: z.ZodNullable<z.ZodString>;
4456
3484
  name: z.ZodString;
4457
- internalNotes: z.ZodNullable<z.ZodString>;
4458
- updates: z.ZodArray<z.ZodObject<{
3485
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3486
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
4459
3487
  status: z.ZodEnum<{
4460
3488
  active: "active";
4461
3489
  waiting_for_user: "waiting_for_user";
@@ -4463,9 +3491,9 @@ declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractAp
4463
3491
  request_sent_partner: "request_sent_partner";
4464
3492
  failed: "failed";
4465
3493
  }>;
4466
- message: z.ZodString;
3494
+ message: z.ZodNullable<z.ZodString>;
4467
3495
  updatedAt: z.ZodString;
4468
- }, z.core.$strip>>;
3496
+ }, z.core.$strip>>>>;
4469
3497
  }, z.core.$strip>]>>;
4470
3498
  readonly querySchema: z.ZodObject<{
4471
3499
  'order[service]': z.ZodOptional<z.ZodEnum<{
@@ -4568,34 +3596,7 @@ declare const respondIntegrationActivationRequestInputSchema: z.ZodObject<{
4568
3596
  }, z.core.$strip>;
4569
3597
  type RespondIntegrationActivationRequestInput = z.input<typeof respondIntegrationActivationRequestInputSchema>;
4570
3598
  declare const respondIntegrationActivationRequestResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4571
- pointOfSale: z.ZodObject<{
4572
- id: z.ZodString;
4573
- name: z.ZodString;
4574
- address: z.ZodObject<{
4575
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4576
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4577
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4578
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4579
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4580
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4581
- }, z.core.$strip>;
4582
- timezone: z.ZodString;
4583
- location: z.ZodObject<{
4584
- latitude: z.ZodNumber;
4585
- longitude: z.ZodNumber;
4586
- }, z.core.$strip>;
4587
- capabilities: z.ZodArray<z.ZodEnum<{
4588
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
4589
- }>>;
4590
- openingStatus: z.ZodEnum<{
4591
- OPEN: "OPEN";
4592
- CLOSED: "CLOSED";
4593
- }>;
4594
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
4595
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
4596
- createdAt: z.ZodString;
4597
- updatedAt: z.ZodString;
4598
- }, z.core.$strip>;
3599
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
4599
3600
  service: z.ZodLiteral<"deliveroo">;
4600
3601
  data: z.ZodObject<{
4601
3602
  brandId: z.ZodString;
@@ -4623,10 +3624,10 @@ declare const respondIntegrationActivationRequestResponseSchema: z.ZodDiscrimina
4623
3624
  }>;
4624
3625
  name: z.ZodString;
4625
3626
  message: z.ZodNullable<z.ZodString>;
4626
- internalNotes: z.ZodNullable<z.ZodString>;
3627
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4627
3628
  createdAt: z.ZodString;
4628
3629
  updatedAt: z.ZodString;
4629
- updates: z.ZodArray<z.ZodObject<{
3630
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
4630
3631
  status: z.ZodEnum<{
4631
3632
  active: "active";
4632
3633
  waiting_for_user: "waiting_for_user";
@@ -4634,38 +3635,11 @@ declare const respondIntegrationActivationRequestResponseSchema: z.ZodDiscrimina
4634
3635
  request_sent_partner: "request_sent_partner";
4635
3636
  failed: "failed";
4636
3637
  }>;
4637
- message: z.ZodString;
3638
+ message: z.ZodNullable<z.ZodString>;
4638
3639
  updatedAt: z.ZodString;
4639
- }, z.core.$strip>>;
3640
+ }, z.core.$strip>>>>;
4640
3641
  }, z.core.$strip>, z.ZodObject<{
4641
- pointOfSale: z.ZodObject<{
4642
- id: z.ZodString;
4643
- name: z.ZodString;
4644
- address: z.ZodObject<{
4645
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4646
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4647
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4648
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4649
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4650
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4651
- }, z.core.$strip>;
4652
- timezone: z.ZodString;
4653
- location: z.ZodObject<{
4654
- latitude: z.ZodNumber;
4655
- longitude: z.ZodNumber;
4656
- }, z.core.$strip>;
4657
- capabilities: z.ZodArray<z.ZodEnum<{
4658
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
4659
- }>>;
4660
- openingStatus: z.ZodEnum<{
4661
- OPEN: "OPEN";
4662
- CLOSED: "CLOSED";
4663
- }>;
4664
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
4665
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
4666
- createdAt: z.ZodString;
4667
- updatedAt: z.ZodString;
4668
- }, z.core.$strip>;
3642
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
4669
3643
  service: z.ZodLiteral<"glovo">;
4670
3644
  data: z.ZodObject<{
4671
3645
  storeId: z.ZodString;
@@ -4692,10 +3666,10 @@ declare const respondIntegrationActivationRequestResponseSchema: z.ZodDiscrimina
4692
3666
  }>;
4693
3667
  name: z.ZodString;
4694
3668
  message: z.ZodNullable<z.ZodString>;
4695
- internalNotes: z.ZodNullable<z.ZodString>;
3669
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4696
3670
  createdAt: z.ZodString;
4697
3671
  updatedAt: z.ZodString;
4698
- updates: z.ZodArray<z.ZodObject<{
3672
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
4699
3673
  status: z.ZodEnum<{
4700
3674
  active: "active";
4701
3675
  waiting_for_user: "waiting_for_user";
@@ -4703,38 +3677,11 @@ declare const respondIntegrationActivationRequestResponseSchema: z.ZodDiscrimina
4703
3677
  request_sent_partner: "request_sent_partner";
4704
3678
  failed: "failed";
4705
3679
  }>;
4706
- message: z.ZodString;
3680
+ message: z.ZodNullable<z.ZodString>;
4707
3681
  updatedAt: z.ZodString;
4708
- }, z.core.$strip>>;
3682
+ }, z.core.$strip>>>>;
4709
3683
  }, z.core.$strip>, z.ZodObject<{
4710
- pointOfSale: z.ZodObject<{
4711
- id: z.ZodString;
4712
- name: z.ZodString;
4713
- address: z.ZodObject<{
4714
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4715
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4716
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4717
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4718
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4719
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4720
- }, z.core.$strip>;
4721
- timezone: z.ZodString;
4722
- location: z.ZodObject<{
4723
- latitude: z.ZodNumber;
4724
- longitude: z.ZodNumber;
4725
- }, z.core.$strip>;
4726
- capabilities: z.ZodArray<z.ZodEnum<{
4727
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
4728
- }>>;
4729
- openingStatus: z.ZodEnum<{
4730
- OPEN: "OPEN";
4731
- CLOSED: "CLOSED";
4732
- }>;
4733
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
4734
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
4735
- createdAt: z.ZodString;
4736
- updatedAt: z.ZodString;
4737
- }, z.core.$strip>;
3684
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
4738
3685
  service: z.ZodLiteral<"justeat">;
4739
3686
  data: z.ZodObject<{
4740
3687
  restaurantId: z.ZodString;
@@ -4761,10 +3708,10 @@ declare const respondIntegrationActivationRequestResponseSchema: z.ZodDiscrimina
4761
3708
  }>;
4762
3709
  name: z.ZodString;
4763
3710
  message: z.ZodNullable<z.ZodString>;
4764
- internalNotes: z.ZodNullable<z.ZodString>;
3711
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4765
3712
  createdAt: z.ZodString;
4766
3713
  updatedAt: z.ZodString;
4767
- updates: z.ZodArray<z.ZodObject<{
3714
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
4768
3715
  status: z.ZodEnum<{
4769
3716
  active: "active";
4770
3717
  waiting_for_user: "waiting_for_user";
@@ -4772,38 +3719,11 @@ declare const respondIntegrationActivationRequestResponseSchema: z.ZodDiscrimina
4772
3719
  request_sent_partner: "request_sent_partner";
4773
3720
  failed: "failed";
4774
3721
  }>;
4775
- message: z.ZodString;
3722
+ message: z.ZodNullable<z.ZodString>;
4776
3723
  updatedAt: z.ZodString;
4777
- }, z.core.$strip>>;
3724
+ }, z.core.$strip>>>>;
4778
3725
  }, z.core.$strip>, z.ZodObject<{
4779
- pointOfSale: z.ZodObject<{
4780
- id: z.ZodString;
4781
- name: z.ZodString;
4782
- address: z.ZodObject<{
4783
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4784
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4785
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4786
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4787
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4788
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4789
- }, z.core.$strip>;
4790
- timezone: z.ZodString;
4791
- location: z.ZodObject<{
4792
- latitude: z.ZodNumber;
4793
- longitude: z.ZodNumber;
4794
- }, z.core.$strip>;
4795
- capabilities: z.ZodArray<z.ZodEnum<{
4796
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
4797
- }>>;
4798
- openingStatus: z.ZodEnum<{
4799
- OPEN: "OPEN";
4800
- CLOSED: "CLOSED";
4801
- }>;
4802
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
4803
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
4804
- createdAt: z.ZodString;
4805
- updatedAt: z.ZodString;
4806
- }, z.core.$strip>;
3726
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
4807
3727
  service: z.ZodLiteral<"cassa_in_cloud">;
4808
3728
  data: z.ZodObject<{
4809
3729
  apiKey: z.ZodString;
@@ -4835,10 +3755,10 @@ declare const respondIntegrationActivationRequestResponseSchema: z.ZodDiscrimina
4835
3755
  }>;
4836
3756
  name: z.ZodString;
4837
3757
  message: z.ZodNullable<z.ZodString>;
4838
- internalNotes: z.ZodNullable<z.ZodString>;
3758
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4839
3759
  createdAt: z.ZodString;
4840
3760
  updatedAt: z.ZodString;
4841
- updates: z.ZodArray<z.ZodObject<{
3761
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
4842
3762
  status: z.ZodEnum<{
4843
3763
  active: "active";
4844
3764
  waiting_for_user: "waiting_for_user";
@@ -4846,9 +3766,9 @@ declare const respondIntegrationActivationRequestResponseSchema: z.ZodDiscrimina
4846
3766
  request_sent_partner: "request_sent_partner";
4847
3767
  failed: "failed";
4848
3768
  }>;
4849
- message: z.ZodString;
3769
+ message: z.ZodNullable<z.ZodString>;
4850
3770
  updatedAt: z.ZodString;
4851
- }, z.core.$strip>>;
3771
+ }, z.core.$strip>>>>;
4852
3772
  }, z.core.$strip>]>;
4853
3773
  type RespondIntegrationActivationRequestResponse = IntegrationActivationRequestDetails;
4854
3774
  declare class RespondIntegrationActivationRequest extends AbstractApiRequest<typeof respondIntegrationActivationRequestInputSchema, typeof respondIntegrationActivationRequestResponseSchema> {
@@ -4878,34 +3798,7 @@ declare class RespondIntegrationActivationRequest extends AbstractApiRequest<typ
4878
3798
  }, z.core.$strip>]>;
4879
3799
  }, z.core.$strip>;
4880
3800
  readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4881
- pointOfSale: z.ZodObject<{
4882
- id: z.ZodString;
4883
- name: z.ZodString;
4884
- address: z.ZodObject<{
4885
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4886
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4887
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4888
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4889
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4890
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4891
- }, z.core.$strip>;
4892
- timezone: z.ZodString;
4893
- location: z.ZodObject<{
4894
- latitude: z.ZodNumber;
4895
- longitude: z.ZodNumber;
4896
- }, z.core.$strip>;
4897
- capabilities: z.ZodArray<z.ZodEnum<{
4898
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
4899
- }>>;
4900
- openingStatus: z.ZodEnum<{
4901
- OPEN: "OPEN";
4902
- CLOSED: "CLOSED";
4903
- }>;
4904
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
4905
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
4906
- createdAt: z.ZodString;
4907
- updatedAt: z.ZodString;
4908
- }, z.core.$strip>;
3801
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
4909
3802
  service: z.ZodLiteral<"deliveroo">;
4910
3803
  data: z.ZodObject<{
4911
3804
  brandId: z.ZodString;
@@ -4933,10 +3826,10 @@ declare class RespondIntegrationActivationRequest extends AbstractApiRequest<typ
4933
3826
  }>;
4934
3827
  name: z.ZodString;
4935
3828
  message: z.ZodNullable<z.ZodString>;
4936
- internalNotes: z.ZodNullable<z.ZodString>;
3829
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4937
3830
  createdAt: z.ZodString;
4938
3831
  updatedAt: z.ZodString;
4939
- updates: z.ZodArray<z.ZodObject<{
3832
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
4940
3833
  status: z.ZodEnum<{
4941
3834
  active: "active";
4942
3835
  waiting_for_user: "waiting_for_user";
@@ -4944,38 +3837,11 @@ declare class RespondIntegrationActivationRequest extends AbstractApiRequest<typ
4944
3837
  request_sent_partner: "request_sent_partner";
4945
3838
  failed: "failed";
4946
3839
  }>;
4947
- message: z.ZodString;
3840
+ message: z.ZodNullable<z.ZodString>;
4948
3841
  updatedAt: z.ZodString;
4949
- }, z.core.$strip>>;
3842
+ }, z.core.$strip>>>>;
4950
3843
  }, z.core.$strip>, z.ZodObject<{
4951
- pointOfSale: z.ZodObject<{
4952
- id: z.ZodString;
4953
- name: z.ZodString;
4954
- address: z.ZodObject<{
4955
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4956
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4957
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4958
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4959
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4960
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4961
- }, z.core.$strip>;
4962
- timezone: z.ZodString;
4963
- location: z.ZodObject<{
4964
- latitude: z.ZodNumber;
4965
- longitude: z.ZodNumber;
4966
- }, z.core.$strip>;
4967
- capabilities: z.ZodArray<z.ZodEnum<{
4968
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
4969
- }>>;
4970
- openingStatus: z.ZodEnum<{
4971
- OPEN: "OPEN";
4972
- CLOSED: "CLOSED";
4973
- }>;
4974
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
4975
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
4976
- createdAt: z.ZodString;
4977
- updatedAt: z.ZodString;
4978
- }, z.core.$strip>;
3844
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
4979
3845
  service: z.ZodLiteral<"glovo">;
4980
3846
  data: z.ZodObject<{
4981
3847
  storeId: z.ZodString;
@@ -5002,10 +3868,10 @@ declare class RespondIntegrationActivationRequest extends AbstractApiRequest<typ
5002
3868
  }>;
5003
3869
  name: z.ZodString;
5004
3870
  message: z.ZodNullable<z.ZodString>;
5005
- internalNotes: z.ZodNullable<z.ZodString>;
3871
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5006
3872
  createdAt: z.ZodString;
5007
3873
  updatedAt: z.ZodString;
5008
- updates: z.ZodArray<z.ZodObject<{
3874
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
5009
3875
  status: z.ZodEnum<{
5010
3876
  active: "active";
5011
3877
  waiting_for_user: "waiting_for_user";
@@ -5013,38 +3879,11 @@ declare class RespondIntegrationActivationRequest extends AbstractApiRequest<typ
5013
3879
  request_sent_partner: "request_sent_partner";
5014
3880
  failed: "failed";
5015
3881
  }>;
5016
- message: z.ZodString;
3882
+ message: z.ZodNullable<z.ZodString>;
5017
3883
  updatedAt: z.ZodString;
5018
- }, z.core.$strip>>;
3884
+ }, z.core.$strip>>>>;
5019
3885
  }, z.core.$strip>, z.ZodObject<{
5020
- pointOfSale: z.ZodObject<{
5021
- id: z.ZodString;
5022
- name: z.ZodString;
5023
- address: z.ZodObject<{
5024
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5025
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5026
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5027
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5028
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5029
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5030
- }, z.core.$strip>;
5031
- timezone: z.ZodString;
5032
- location: z.ZodObject<{
5033
- latitude: z.ZodNumber;
5034
- longitude: z.ZodNumber;
5035
- }, z.core.$strip>;
5036
- capabilities: z.ZodArray<z.ZodEnum<{
5037
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
5038
- }>>;
5039
- openingStatus: z.ZodEnum<{
5040
- OPEN: "OPEN";
5041
- CLOSED: "CLOSED";
5042
- }>;
5043
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
5044
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
5045
- createdAt: z.ZodString;
5046
- updatedAt: z.ZodString;
5047
- }, z.core.$strip>;
3886
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
5048
3887
  service: z.ZodLiteral<"justeat">;
5049
3888
  data: z.ZodObject<{
5050
3889
  restaurantId: z.ZodString;
@@ -5071,49 +3910,22 @@ declare class RespondIntegrationActivationRequest extends AbstractApiRequest<typ
5071
3910
  }>;
5072
3911
  name: z.ZodString;
5073
3912
  message: z.ZodNullable<z.ZodString>;
5074
- internalNotes: z.ZodNullable<z.ZodString>;
3913
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5075
3914
  createdAt: z.ZodString;
5076
3915
  updatedAt: z.ZodString;
5077
- updates: z.ZodArray<z.ZodObject<{
3916
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
5078
3917
  status: z.ZodEnum<{
5079
3918
  active: "active";
5080
3919
  waiting_for_user: "waiting_for_user";
5081
3920
  waiting_for_admin: "waiting_for_admin";
5082
3921
  request_sent_partner: "request_sent_partner";
5083
3922
  failed: "failed";
5084
- }>;
5085
- message: z.ZodString;
5086
- updatedAt: z.ZodString;
5087
- }, z.core.$strip>>;
5088
- }, z.core.$strip>, z.ZodObject<{
5089
- pointOfSale: z.ZodObject<{
5090
- id: z.ZodString;
5091
- name: z.ZodString;
5092
- address: z.ZodObject<{
5093
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5094
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5095
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5096
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5097
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5098
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5099
- }, z.core.$strip>;
5100
- timezone: z.ZodString;
5101
- location: z.ZodObject<{
5102
- latitude: z.ZodNumber;
5103
- longitude: z.ZodNumber;
5104
- }, z.core.$strip>;
5105
- capabilities: z.ZodArray<z.ZodEnum<{
5106
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
5107
- }>>;
5108
- openingStatus: z.ZodEnum<{
5109
- OPEN: "OPEN";
5110
- CLOSED: "CLOSED";
5111
- }>;
5112
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
5113
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
5114
- createdAt: z.ZodString;
3923
+ }>;
3924
+ message: z.ZodNullable<z.ZodString>;
5115
3925
  updatedAt: z.ZodString;
5116
- }, z.core.$strip>;
3926
+ }, z.core.$strip>>>>;
3927
+ }, z.core.$strip>, z.ZodObject<{
3928
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
5117
3929
  service: z.ZodLiteral<"cassa_in_cloud">;
5118
3930
  data: z.ZodObject<{
5119
3931
  apiKey: z.ZodString;
@@ -5145,10 +3957,10 @@ declare class RespondIntegrationActivationRequest extends AbstractApiRequest<typ
5145
3957
  }>;
5146
3958
  name: z.ZodString;
5147
3959
  message: z.ZodNullable<z.ZodString>;
5148
- internalNotes: z.ZodNullable<z.ZodString>;
3960
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5149
3961
  createdAt: z.ZodString;
5150
3962
  updatedAt: z.ZodString;
5151
- updates: z.ZodArray<z.ZodObject<{
3963
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
5152
3964
  status: z.ZodEnum<{
5153
3965
  active: "active";
5154
3966
  waiting_for_user: "waiting_for_user";
@@ -5156,9 +3968,9 @@ declare class RespondIntegrationActivationRequest extends AbstractApiRequest<typ
5156
3968
  request_sent_partner: "request_sent_partner";
5157
3969
  failed: "failed";
5158
3970
  }>;
5159
- message: z.ZodString;
3971
+ message: z.ZodNullable<z.ZodString>;
5160
3972
  updatedAt: z.ZodString;
5161
- }, z.core.$strip>>;
3973
+ }, z.core.$strip>>>>;
5162
3974
  }, z.core.$strip>]>;
5163
3975
  readonly querySchema: undefined;
5164
3976
  readonly headersSchema: undefined;
@@ -5170,34 +3982,7 @@ declare class RespondIntegrationActivationRequest extends AbstractApiRequest<typ
5170
3982
  declare const sendIntegrationActivationRequestToPartnerInputSchema: z.ZodUndefined;
5171
3983
  type SendIntegrationActivationRequestToPartnerInput = z.infer<typeof sendIntegrationActivationRequestToPartnerInputSchema>;
5172
3984
  declare const sendIntegrationActivationRequestToPartnerResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5173
- pointOfSale: z.ZodObject<{
5174
- id: z.ZodString;
5175
- name: z.ZodString;
5176
- address: z.ZodObject<{
5177
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5178
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5179
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5180
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5181
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5182
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5183
- }, z.core.$strip>;
5184
- timezone: z.ZodString;
5185
- location: z.ZodObject<{
5186
- latitude: z.ZodNumber;
5187
- longitude: z.ZodNumber;
5188
- }, z.core.$strip>;
5189
- capabilities: z.ZodArray<z.ZodEnum<{
5190
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
5191
- }>>;
5192
- openingStatus: z.ZodEnum<{
5193
- OPEN: "OPEN";
5194
- CLOSED: "CLOSED";
5195
- }>;
5196
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
5197
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
5198
- createdAt: z.ZodString;
5199
- updatedAt: z.ZodString;
5200
- }, z.core.$strip>;
3985
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
5201
3986
  service: z.ZodLiteral<"deliveroo">;
5202
3987
  data: z.ZodObject<{
5203
3988
  brandId: z.ZodString;
@@ -5225,10 +4010,10 @@ declare const sendIntegrationActivationRequestToPartnerResponseSchema: z.ZodDisc
5225
4010
  }>;
5226
4011
  name: z.ZodString;
5227
4012
  message: z.ZodNullable<z.ZodString>;
5228
- internalNotes: z.ZodNullable<z.ZodString>;
4013
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5229
4014
  createdAt: z.ZodString;
5230
4015
  updatedAt: z.ZodString;
5231
- updates: z.ZodArray<z.ZodObject<{
4016
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
5232
4017
  status: z.ZodEnum<{
5233
4018
  active: "active";
5234
4019
  waiting_for_user: "waiting_for_user";
@@ -5236,38 +4021,11 @@ declare const sendIntegrationActivationRequestToPartnerResponseSchema: z.ZodDisc
5236
4021
  request_sent_partner: "request_sent_partner";
5237
4022
  failed: "failed";
5238
4023
  }>;
5239
- message: z.ZodString;
4024
+ message: z.ZodNullable<z.ZodString>;
5240
4025
  updatedAt: z.ZodString;
5241
- }, z.core.$strip>>;
4026
+ }, z.core.$strip>>>>;
5242
4027
  }, z.core.$strip>, z.ZodObject<{
5243
- pointOfSale: z.ZodObject<{
5244
- id: z.ZodString;
5245
- name: z.ZodString;
5246
- address: z.ZodObject<{
5247
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5248
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5249
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5250
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5251
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5252
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5253
- }, z.core.$strip>;
5254
- timezone: z.ZodString;
5255
- location: z.ZodObject<{
5256
- latitude: z.ZodNumber;
5257
- longitude: z.ZodNumber;
5258
- }, z.core.$strip>;
5259
- capabilities: z.ZodArray<z.ZodEnum<{
5260
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
5261
- }>>;
5262
- openingStatus: z.ZodEnum<{
5263
- OPEN: "OPEN";
5264
- CLOSED: "CLOSED";
5265
- }>;
5266
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
5267
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
5268
- createdAt: z.ZodString;
5269
- updatedAt: z.ZodString;
5270
- }, z.core.$strip>;
4028
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
5271
4029
  service: z.ZodLiteral<"glovo">;
5272
4030
  data: z.ZodObject<{
5273
4031
  storeId: z.ZodString;
@@ -5294,10 +4052,10 @@ declare const sendIntegrationActivationRequestToPartnerResponseSchema: z.ZodDisc
5294
4052
  }>;
5295
4053
  name: z.ZodString;
5296
4054
  message: z.ZodNullable<z.ZodString>;
5297
- internalNotes: z.ZodNullable<z.ZodString>;
4055
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5298
4056
  createdAt: z.ZodString;
5299
4057
  updatedAt: z.ZodString;
5300
- updates: z.ZodArray<z.ZodObject<{
4058
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
5301
4059
  status: z.ZodEnum<{
5302
4060
  active: "active";
5303
4061
  waiting_for_user: "waiting_for_user";
@@ -5305,38 +4063,11 @@ declare const sendIntegrationActivationRequestToPartnerResponseSchema: z.ZodDisc
5305
4063
  request_sent_partner: "request_sent_partner";
5306
4064
  failed: "failed";
5307
4065
  }>;
5308
- message: z.ZodString;
4066
+ message: z.ZodNullable<z.ZodString>;
5309
4067
  updatedAt: z.ZodString;
5310
- }, z.core.$strip>>;
4068
+ }, z.core.$strip>>>>;
5311
4069
  }, z.core.$strip>, z.ZodObject<{
5312
- pointOfSale: z.ZodObject<{
5313
- id: z.ZodString;
5314
- name: z.ZodString;
5315
- address: z.ZodObject<{
5316
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5317
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5318
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5319
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5320
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5321
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5322
- }, z.core.$strip>;
5323
- timezone: z.ZodString;
5324
- location: z.ZodObject<{
5325
- latitude: z.ZodNumber;
5326
- longitude: z.ZodNumber;
5327
- }, z.core.$strip>;
5328
- capabilities: z.ZodArray<z.ZodEnum<{
5329
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
5330
- }>>;
5331
- openingStatus: z.ZodEnum<{
5332
- OPEN: "OPEN";
5333
- CLOSED: "CLOSED";
5334
- }>;
5335
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
5336
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
5337
- createdAt: z.ZodString;
5338
- updatedAt: z.ZodString;
5339
- }, z.core.$strip>;
4070
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
5340
4071
  service: z.ZodLiteral<"justeat">;
5341
4072
  data: z.ZodObject<{
5342
4073
  restaurantId: z.ZodString;
@@ -5363,10 +4094,10 @@ declare const sendIntegrationActivationRequestToPartnerResponseSchema: z.ZodDisc
5363
4094
  }>;
5364
4095
  name: z.ZodString;
5365
4096
  message: z.ZodNullable<z.ZodString>;
5366
- internalNotes: z.ZodNullable<z.ZodString>;
4097
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5367
4098
  createdAt: z.ZodString;
5368
4099
  updatedAt: z.ZodString;
5369
- updates: z.ZodArray<z.ZodObject<{
4100
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
5370
4101
  status: z.ZodEnum<{
5371
4102
  active: "active";
5372
4103
  waiting_for_user: "waiting_for_user";
@@ -5374,38 +4105,11 @@ declare const sendIntegrationActivationRequestToPartnerResponseSchema: z.ZodDisc
5374
4105
  request_sent_partner: "request_sent_partner";
5375
4106
  failed: "failed";
5376
4107
  }>;
5377
- message: z.ZodString;
4108
+ message: z.ZodNullable<z.ZodString>;
5378
4109
  updatedAt: z.ZodString;
5379
- }, z.core.$strip>>;
4110
+ }, z.core.$strip>>>>;
5380
4111
  }, z.core.$strip>, z.ZodObject<{
5381
- pointOfSale: z.ZodObject<{
5382
- id: z.ZodString;
5383
- name: z.ZodString;
5384
- address: z.ZodObject<{
5385
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5386
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5387
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5388
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5389
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5390
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5391
- }, z.core.$strip>;
5392
- timezone: z.ZodString;
5393
- location: z.ZodObject<{
5394
- latitude: z.ZodNumber;
5395
- longitude: z.ZodNumber;
5396
- }, z.core.$strip>;
5397
- capabilities: z.ZodArray<z.ZodEnum<{
5398
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
5399
- }>>;
5400
- openingStatus: z.ZodEnum<{
5401
- OPEN: "OPEN";
5402
- CLOSED: "CLOSED";
5403
- }>;
5404
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
5405
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
5406
- createdAt: z.ZodString;
5407
- updatedAt: z.ZodString;
5408
- }, z.core.$strip>;
4112
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
5409
4113
  service: z.ZodLiteral<"cassa_in_cloud">;
5410
4114
  data: z.ZodObject<{
5411
4115
  apiKey: z.ZodString;
@@ -5437,10 +4141,10 @@ declare const sendIntegrationActivationRequestToPartnerResponseSchema: z.ZodDisc
5437
4141
  }>;
5438
4142
  name: z.ZodString;
5439
4143
  message: z.ZodNullable<z.ZodString>;
5440
- internalNotes: z.ZodNullable<z.ZodString>;
4144
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5441
4145
  createdAt: z.ZodString;
5442
4146
  updatedAt: z.ZodString;
5443
- updates: z.ZodArray<z.ZodObject<{
4147
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
5444
4148
  status: z.ZodEnum<{
5445
4149
  active: "active";
5446
4150
  waiting_for_user: "waiting_for_user";
@@ -5448,9 +4152,9 @@ declare const sendIntegrationActivationRequestToPartnerResponseSchema: z.ZodDisc
5448
4152
  request_sent_partner: "request_sent_partner";
5449
4153
  failed: "failed";
5450
4154
  }>;
5451
- message: z.ZodString;
4155
+ message: z.ZodNullable<z.ZodString>;
5452
4156
  updatedAt: z.ZodString;
5453
- }, z.core.$strip>>;
4157
+ }, z.core.$strip>>>>;
5454
4158
  }, z.core.$strip>]>;
5455
4159
  type SendIntegrationActivationRequestToPartnerResponse = IntegrationActivationRequestDetails;
5456
4160
  declare class SendIntegrationActivationRequestToPartner extends AbstractApiRequest<typeof sendIntegrationActivationRequestToPartnerInputSchema, typeof sendIntegrationActivationRequestToPartnerResponseSchema> {
@@ -5459,34 +4163,7 @@ declare class SendIntegrationActivationRequestToPartner extends AbstractApiReque
5459
4163
  readonly accept = "application/json";
5460
4164
  readonly inputSchema: z.ZodUndefined;
5461
4165
  readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5462
- pointOfSale: z.ZodObject<{
5463
- id: z.ZodString;
5464
- name: z.ZodString;
5465
- address: z.ZodObject<{
5466
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5467
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5468
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5469
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5470
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5471
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5472
- }, z.core.$strip>;
5473
- timezone: z.ZodString;
5474
- location: z.ZodObject<{
5475
- latitude: z.ZodNumber;
5476
- longitude: z.ZodNumber;
5477
- }, z.core.$strip>;
5478
- capabilities: z.ZodArray<z.ZodEnum<{
5479
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
5480
- }>>;
5481
- openingStatus: z.ZodEnum<{
5482
- OPEN: "OPEN";
5483
- CLOSED: "CLOSED";
5484
- }>;
5485
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
5486
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
5487
- createdAt: z.ZodString;
5488
- updatedAt: z.ZodString;
5489
- }, z.core.$strip>;
4166
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
5490
4167
  service: z.ZodLiteral<"deliveroo">;
5491
4168
  data: z.ZodObject<{
5492
4169
  brandId: z.ZodString;
@@ -5514,10 +4191,10 @@ declare class SendIntegrationActivationRequestToPartner extends AbstractApiReque
5514
4191
  }>;
5515
4192
  name: z.ZodString;
5516
4193
  message: z.ZodNullable<z.ZodString>;
5517
- internalNotes: z.ZodNullable<z.ZodString>;
4194
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5518
4195
  createdAt: z.ZodString;
5519
4196
  updatedAt: z.ZodString;
5520
- updates: z.ZodArray<z.ZodObject<{
4197
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
5521
4198
  status: z.ZodEnum<{
5522
4199
  active: "active";
5523
4200
  waiting_for_user: "waiting_for_user";
@@ -5525,38 +4202,11 @@ declare class SendIntegrationActivationRequestToPartner extends AbstractApiReque
5525
4202
  request_sent_partner: "request_sent_partner";
5526
4203
  failed: "failed";
5527
4204
  }>;
5528
- message: z.ZodString;
4205
+ message: z.ZodNullable<z.ZodString>;
5529
4206
  updatedAt: z.ZodString;
5530
- }, z.core.$strip>>;
4207
+ }, z.core.$strip>>>>;
5531
4208
  }, z.core.$strip>, z.ZodObject<{
5532
- pointOfSale: z.ZodObject<{
5533
- id: z.ZodString;
5534
- name: z.ZodString;
5535
- address: z.ZodObject<{
5536
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5537
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5538
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5539
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5540
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5541
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5542
- }, z.core.$strip>;
5543
- timezone: z.ZodString;
5544
- location: z.ZodObject<{
5545
- latitude: z.ZodNumber;
5546
- longitude: z.ZodNumber;
5547
- }, z.core.$strip>;
5548
- capabilities: z.ZodArray<z.ZodEnum<{
5549
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
5550
- }>>;
5551
- openingStatus: z.ZodEnum<{
5552
- OPEN: "OPEN";
5553
- CLOSED: "CLOSED";
5554
- }>;
5555
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
5556
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
5557
- createdAt: z.ZodString;
5558
- updatedAt: z.ZodString;
5559
- }, z.core.$strip>;
4209
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
5560
4210
  service: z.ZodLiteral<"glovo">;
5561
4211
  data: z.ZodObject<{
5562
4212
  storeId: z.ZodString;
@@ -5583,10 +4233,10 @@ declare class SendIntegrationActivationRequestToPartner extends AbstractApiReque
5583
4233
  }>;
5584
4234
  name: z.ZodString;
5585
4235
  message: z.ZodNullable<z.ZodString>;
5586
- internalNotes: z.ZodNullable<z.ZodString>;
4236
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5587
4237
  createdAt: z.ZodString;
5588
4238
  updatedAt: z.ZodString;
5589
- updates: z.ZodArray<z.ZodObject<{
4239
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
5590
4240
  status: z.ZodEnum<{
5591
4241
  active: "active";
5592
4242
  waiting_for_user: "waiting_for_user";
@@ -5594,38 +4244,11 @@ declare class SendIntegrationActivationRequestToPartner extends AbstractApiReque
5594
4244
  request_sent_partner: "request_sent_partner";
5595
4245
  failed: "failed";
5596
4246
  }>;
5597
- message: z.ZodString;
4247
+ message: z.ZodNullable<z.ZodString>;
5598
4248
  updatedAt: z.ZodString;
5599
- }, z.core.$strip>>;
4249
+ }, z.core.$strip>>>>;
5600
4250
  }, z.core.$strip>, z.ZodObject<{
5601
- pointOfSale: z.ZodObject<{
5602
- id: z.ZodString;
5603
- name: z.ZodString;
5604
- address: z.ZodObject<{
5605
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5606
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5607
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5608
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5609
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5610
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5611
- }, z.core.$strip>;
5612
- timezone: z.ZodString;
5613
- location: z.ZodObject<{
5614
- latitude: z.ZodNumber;
5615
- longitude: z.ZodNumber;
5616
- }, z.core.$strip>;
5617
- capabilities: z.ZodArray<z.ZodEnum<{
5618
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
5619
- }>>;
5620
- openingStatus: z.ZodEnum<{
5621
- OPEN: "OPEN";
5622
- CLOSED: "CLOSED";
5623
- }>;
5624
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
5625
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
5626
- createdAt: z.ZodString;
5627
- updatedAt: z.ZodString;
5628
- }, z.core.$strip>;
4251
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
5629
4252
  service: z.ZodLiteral<"justeat">;
5630
4253
  data: z.ZodObject<{
5631
4254
  restaurantId: z.ZodString;
@@ -5652,10 +4275,10 @@ declare class SendIntegrationActivationRequestToPartner extends AbstractApiReque
5652
4275
  }>;
5653
4276
  name: z.ZodString;
5654
4277
  message: z.ZodNullable<z.ZodString>;
5655
- internalNotes: z.ZodNullable<z.ZodString>;
4278
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5656
4279
  createdAt: z.ZodString;
5657
4280
  updatedAt: z.ZodString;
5658
- updates: z.ZodArray<z.ZodObject<{
4281
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
5659
4282
  status: z.ZodEnum<{
5660
4283
  active: "active";
5661
4284
  waiting_for_user: "waiting_for_user";
@@ -5663,38 +4286,11 @@ declare class SendIntegrationActivationRequestToPartner extends AbstractApiReque
5663
4286
  request_sent_partner: "request_sent_partner";
5664
4287
  failed: "failed";
5665
4288
  }>;
5666
- message: z.ZodString;
4289
+ message: z.ZodNullable<z.ZodString>;
5667
4290
  updatedAt: z.ZodString;
5668
- }, z.core.$strip>>;
4291
+ }, z.core.$strip>>>>;
5669
4292
  }, z.core.$strip>, z.ZodObject<{
5670
- pointOfSale: z.ZodObject<{
5671
- id: z.ZodString;
5672
- name: z.ZodString;
5673
- address: z.ZodObject<{
5674
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5675
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5676
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5677
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5678
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5679
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5680
- }, z.core.$strip>;
5681
- timezone: z.ZodString;
5682
- location: z.ZodObject<{
5683
- latitude: z.ZodNumber;
5684
- longitude: z.ZodNumber;
5685
- }, z.core.$strip>;
5686
- capabilities: z.ZodArray<z.ZodEnum<{
5687
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
5688
- }>>;
5689
- openingStatus: z.ZodEnum<{
5690
- OPEN: "OPEN";
5691
- CLOSED: "CLOSED";
5692
- }>;
5693
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
5694
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
5695
- createdAt: z.ZodString;
5696
- updatedAt: z.ZodString;
5697
- }, z.core.$strip>;
4293
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
5698
4294
  service: z.ZodLiteral<"cassa_in_cloud">;
5699
4295
  data: z.ZodObject<{
5700
4296
  apiKey: z.ZodString;
@@ -5726,10 +4322,10 @@ declare class SendIntegrationActivationRequestToPartner extends AbstractApiReque
5726
4322
  }>;
5727
4323
  name: z.ZodString;
5728
4324
  message: z.ZodNullable<z.ZodString>;
5729
- internalNotes: z.ZodNullable<z.ZodString>;
4325
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5730
4326
  createdAt: z.ZodString;
5731
4327
  updatedAt: z.ZodString;
5732
- updates: z.ZodArray<z.ZodObject<{
4328
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
5733
4329
  status: z.ZodEnum<{
5734
4330
  active: "active";
5735
4331
  waiting_for_user: "waiting_for_user";
@@ -5737,9 +4333,9 @@ declare class SendIntegrationActivationRequestToPartner extends AbstractApiReque
5737
4333
  request_sent_partner: "request_sent_partner";
5738
4334
  failed: "failed";
5739
4335
  }>;
5740
- message: z.ZodString;
4336
+ message: z.ZodNullable<z.ZodString>;
5741
4337
  updatedAt: z.ZodString;
5742
- }, z.core.$strip>>;
4338
+ }, z.core.$strip>>>>;
5743
4339
  }, z.core.$strip>]>;
5744
4340
  readonly querySchema: undefined;
5745
4341
  readonly headersSchema: undefined;
@@ -5829,34 +4425,7 @@ declare const updateIntegrationActivationRequestInputSchema: z.ZodDiscriminatedU
5829
4425
  }, z.core.$strip>]>;
5830
4426
  type UpdateIntegrationActivationRequestInput = z.input<typeof updateIntegrationActivationRequestInputSchema>;
5831
4427
  declare const updateIntegrationActivationRequestResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5832
- pointOfSale: z.ZodObject<{
5833
- id: z.ZodString;
5834
- name: z.ZodString;
5835
- address: z.ZodObject<{
5836
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5837
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5838
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5839
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5840
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5841
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5842
- }, z.core.$strip>;
5843
- timezone: z.ZodString;
5844
- location: z.ZodObject<{
5845
- latitude: z.ZodNumber;
5846
- longitude: z.ZodNumber;
5847
- }, z.core.$strip>;
5848
- capabilities: z.ZodArray<z.ZodEnum<{
5849
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
5850
- }>>;
5851
- openingStatus: z.ZodEnum<{
5852
- OPEN: "OPEN";
5853
- CLOSED: "CLOSED";
5854
- }>;
5855
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
5856
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
5857
- createdAt: z.ZodString;
5858
- updatedAt: z.ZodString;
5859
- }, z.core.$strip>;
4428
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
5860
4429
  service: z.ZodLiteral<"deliveroo">;
5861
4430
  data: z.ZodObject<{
5862
4431
  brandId: z.ZodString;
@@ -5884,10 +4453,10 @@ declare const updateIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
5884
4453
  }>;
5885
4454
  name: z.ZodString;
5886
4455
  message: z.ZodNullable<z.ZodString>;
5887
- internalNotes: z.ZodNullable<z.ZodString>;
4456
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5888
4457
  createdAt: z.ZodString;
5889
4458
  updatedAt: z.ZodString;
5890
- updates: z.ZodArray<z.ZodObject<{
4459
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
5891
4460
  status: z.ZodEnum<{
5892
4461
  active: "active";
5893
4462
  waiting_for_user: "waiting_for_user";
@@ -5895,38 +4464,11 @@ declare const updateIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
5895
4464
  request_sent_partner: "request_sent_partner";
5896
4465
  failed: "failed";
5897
4466
  }>;
5898
- message: z.ZodString;
4467
+ message: z.ZodNullable<z.ZodString>;
5899
4468
  updatedAt: z.ZodString;
5900
- }, z.core.$strip>>;
4469
+ }, z.core.$strip>>>>;
5901
4470
  }, z.core.$strip>, z.ZodObject<{
5902
- pointOfSale: z.ZodObject<{
5903
- id: z.ZodString;
5904
- name: z.ZodString;
5905
- address: z.ZodObject<{
5906
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5907
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5908
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5909
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5910
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5911
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5912
- }, z.core.$strip>;
5913
- timezone: z.ZodString;
5914
- location: z.ZodObject<{
5915
- latitude: z.ZodNumber;
5916
- longitude: z.ZodNumber;
5917
- }, z.core.$strip>;
5918
- capabilities: z.ZodArray<z.ZodEnum<{
5919
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
5920
- }>>;
5921
- openingStatus: z.ZodEnum<{
5922
- OPEN: "OPEN";
5923
- CLOSED: "CLOSED";
5924
- }>;
5925
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
5926
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
5927
- createdAt: z.ZodString;
5928
- updatedAt: z.ZodString;
5929
- }, z.core.$strip>;
4471
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
5930
4472
  service: z.ZodLiteral<"glovo">;
5931
4473
  data: z.ZodObject<{
5932
4474
  storeId: z.ZodString;
@@ -5953,10 +4495,10 @@ declare const updateIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
5953
4495
  }>;
5954
4496
  name: z.ZodString;
5955
4497
  message: z.ZodNullable<z.ZodString>;
5956
- internalNotes: z.ZodNullable<z.ZodString>;
4498
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5957
4499
  createdAt: z.ZodString;
5958
4500
  updatedAt: z.ZodString;
5959
- updates: z.ZodArray<z.ZodObject<{
4501
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
5960
4502
  status: z.ZodEnum<{
5961
4503
  active: "active";
5962
4504
  waiting_for_user: "waiting_for_user";
@@ -5964,38 +4506,11 @@ declare const updateIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
5964
4506
  request_sent_partner: "request_sent_partner";
5965
4507
  failed: "failed";
5966
4508
  }>;
5967
- message: z.ZodString;
4509
+ message: z.ZodNullable<z.ZodString>;
5968
4510
  updatedAt: z.ZodString;
5969
- }, z.core.$strip>>;
4511
+ }, z.core.$strip>>>>;
5970
4512
  }, z.core.$strip>, z.ZodObject<{
5971
- pointOfSale: z.ZodObject<{
5972
- id: z.ZodString;
5973
- name: z.ZodString;
5974
- address: z.ZodObject<{
5975
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5976
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5977
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5978
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5979
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5980
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5981
- }, z.core.$strip>;
5982
- timezone: z.ZodString;
5983
- location: z.ZodObject<{
5984
- latitude: z.ZodNumber;
5985
- longitude: z.ZodNumber;
5986
- }, z.core.$strip>;
5987
- capabilities: z.ZodArray<z.ZodEnum<{
5988
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
5989
- }>>;
5990
- openingStatus: z.ZodEnum<{
5991
- OPEN: "OPEN";
5992
- CLOSED: "CLOSED";
5993
- }>;
5994
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
5995
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
5996
- createdAt: z.ZodString;
5997
- updatedAt: z.ZodString;
5998
- }, z.core.$strip>;
4513
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
5999
4514
  service: z.ZodLiteral<"justeat">;
6000
4515
  data: z.ZodObject<{
6001
4516
  restaurantId: z.ZodString;
@@ -6022,10 +4537,10 @@ declare const updateIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
6022
4537
  }>;
6023
4538
  name: z.ZodString;
6024
4539
  message: z.ZodNullable<z.ZodString>;
6025
- internalNotes: z.ZodNullable<z.ZodString>;
4540
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6026
4541
  createdAt: z.ZodString;
6027
4542
  updatedAt: z.ZodString;
6028
- updates: z.ZodArray<z.ZodObject<{
4543
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
6029
4544
  status: z.ZodEnum<{
6030
4545
  active: "active";
6031
4546
  waiting_for_user: "waiting_for_user";
@@ -6033,38 +4548,11 @@ declare const updateIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
6033
4548
  request_sent_partner: "request_sent_partner";
6034
4549
  failed: "failed";
6035
4550
  }>;
6036
- message: z.ZodString;
4551
+ message: z.ZodNullable<z.ZodString>;
6037
4552
  updatedAt: z.ZodString;
6038
- }, z.core.$strip>>;
4553
+ }, z.core.$strip>>>>;
6039
4554
  }, z.core.$strip>, z.ZodObject<{
6040
- pointOfSale: z.ZodObject<{
6041
- id: z.ZodString;
6042
- name: z.ZodString;
6043
- address: z.ZodObject<{
6044
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6045
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6046
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6047
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6048
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6049
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6050
- }, z.core.$strip>;
6051
- timezone: z.ZodString;
6052
- location: z.ZodObject<{
6053
- latitude: z.ZodNumber;
6054
- longitude: z.ZodNumber;
6055
- }, z.core.$strip>;
6056
- capabilities: z.ZodArray<z.ZodEnum<{
6057
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
6058
- }>>;
6059
- openingStatus: z.ZodEnum<{
6060
- OPEN: "OPEN";
6061
- CLOSED: "CLOSED";
6062
- }>;
6063
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
6064
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
6065
- createdAt: z.ZodString;
6066
- updatedAt: z.ZodString;
6067
- }, z.core.$strip>;
4555
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
6068
4556
  service: z.ZodLiteral<"cassa_in_cloud">;
6069
4557
  data: z.ZodObject<{
6070
4558
  apiKey: z.ZodString;
@@ -6096,10 +4584,10 @@ declare const updateIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
6096
4584
  }>;
6097
4585
  name: z.ZodString;
6098
4586
  message: z.ZodNullable<z.ZodString>;
6099
- internalNotes: z.ZodNullable<z.ZodString>;
4587
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6100
4588
  createdAt: z.ZodString;
6101
4589
  updatedAt: z.ZodString;
6102
- updates: z.ZodArray<z.ZodObject<{
4590
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
6103
4591
  status: z.ZodEnum<{
6104
4592
  active: "active";
6105
4593
  waiting_for_user: "waiting_for_user";
@@ -6107,9 +4595,9 @@ declare const updateIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
6107
4595
  request_sent_partner: "request_sent_partner";
6108
4596
  failed: "failed";
6109
4597
  }>;
6110
- message: z.ZodString;
4598
+ message: z.ZodNullable<z.ZodString>;
6111
4599
  updatedAt: z.ZodString;
6112
- }, z.core.$strip>>;
4600
+ }, z.core.$strip>>>>;
6113
4601
  }, z.core.$strip>]>;
6114
4602
  type UpdateIntegrationActivationRequestResponse = IntegrationActivationRequestDetails;
6115
4603
  declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<typeof updateIntegrationActivationRequestInputSchema, typeof updateIntegrationActivationRequestResponseSchema> {
@@ -6196,34 +4684,7 @@ declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<type
6196
4684
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6197
4685
  }, z.core.$strip>]>;
6198
4686
  readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6199
- pointOfSale: z.ZodObject<{
6200
- id: z.ZodString;
6201
- name: z.ZodString;
6202
- address: z.ZodObject<{
6203
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6204
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6205
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6206
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6207
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6208
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6209
- }, z.core.$strip>;
6210
- timezone: z.ZodString;
6211
- location: z.ZodObject<{
6212
- latitude: z.ZodNumber;
6213
- longitude: z.ZodNumber;
6214
- }, z.core.$strip>;
6215
- capabilities: z.ZodArray<z.ZodEnum<{
6216
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
6217
- }>>;
6218
- openingStatus: z.ZodEnum<{
6219
- OPEN: "OPEN";
6220
- CLOSED: "CLOSED";
6221
- }>;
6222
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
6223
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
6224
- createdAt: z.ZodString;
6225
- updatedAt: z.ZodString;
6226
- }, z.core.$strip>;
4687
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
6227
4688
  service: z.ZodLiteral<"deliveroo">;
6228
4689
  data: z.ZodObject<{
6229
4690
  brandId: z.ZodString;
@@ -6251,10 +4712,10 @@ declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<type
6251
4712
  }>;
6252
4713
  name: z.ZodString;
6253
4714
  message: z.ZodNullable<z.ZodString>;
6254
- internalNotes: z.ZodNullable<z.ZodString>;
4715
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6255
4716
  createdAt: z.ZodString;
6256
4717
  updatedAt: z.ZodString;
6257
- updates: z.ZodArray<z.ZodObject<{
4718
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
6258
4719
  status: z.ZodEnum<{
6259
4720
  active: "active";
6260
4721
  waiting_for_user: "waiting_for_user";
@@ -6262,38 +4723,11 @@ declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<type
6262
4723
  request_sent_partner: "request_sent_partner";
6263
4724
  failed: "failed";
6264
4725
  }>;
6265
- message: z.ZodString;
4726
+ message: z.ZodNullable<z.ZodString>;
6266
4727
  updatedAt: z.ZodString;
6267
- }, z.core.$strip>>;
4728
+ }, z.core.$strip>>>>;
6268
4729
  }, z.core.$strip>, z.ZodObject<{
6269
- pointOfSale: z.ZodObject<{
6270
- id: z.ZodString;
6271
- name: z.ZodString;
6272
- address: z.ZodObject<{
6273
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6274
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6275
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6276
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6277
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6278
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6279
- }, z.core.$strip>;
6280
- timezone: z.ZodString;
6281
- location: z.ZodObject<{
6282
- latitude: z.ZodNumber;
6283
- longitude: z.ZodNumber;
6284
- }, z.core.$strip>;
6285
- capabilities: z.ZodArray<z.ZodEnum<{
6286
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
6287
- }>>;
6288
- openingStatus: z.ZodEnum<{
6289
- OPEN: "OPEN";
6290
- CLOSED: "CLOSED";
6291
- }>;
6292
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
6293
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
6294
- createdAt: z.ZodString;
6295
- updatedAt: z.ZodString;
6296
- }, z.core.$strip>;
4730
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
6297
4731
  service: z.ZodLiteral<"glovo">;
6298
4732
  data: z.ZodObject<{
6299
4733
  storeId: z.ZodString;
@@ -6320,10 +4754,10 @@ declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<type
6320
4754
  }>;
6321
4755
  name: z.ZodString;
6322
4756
  message: z.ZodNullable<z.ZodString>;
6323
- internalNotes: z.ZodNullable<z.ZodString>;
4757
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6324
4758
  createdAt: z.ZodString;
6325
4759
  updatedAt: z.ZodString;
6326
- updates: z.ZodArray<z.ZodObject<{
4760
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
6327
4761
  status: z.ZodEnum<{
6328
4762
  active: "active";
6329
4763
  waiting_for_user: "waiting_for_user";
@@ -6331,38 +4765,11 @@ declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<type
6331
4765
  request_sent_partner: "request_sent_partner";
6332
4766
  failed: "failed";
6333
4767
  }>;
6334
- message: z.ZodString;
4768
+ message: z.ZodNullable<z.ZodString>;
6335
4769
  updatedAt: z.ZodString;
6336
- }, z.core.$strip>>;
4770
+ }, z.core.$strip>>>>;
6337
4771
  }, z.core.$strip>, z.ZodObject<{
6338
- pointOfSale: z.ZodObject<{
6339
- id: z.ZodString;
6340
- name: z.ZodString;
6341
- address: z.ZodObject<{
6342
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6343
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6344
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6345
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6346
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6347
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6348
- }, z.core.$strip>;
6349
- timezone: z.ZodString;
6350
- location: z.ZodObject<{
6351
- latitude: z.ZodNumber;
6352
- longitude: z.ZodNumber;
6353
- }, z.core.$strip>;
6354
- capabilities: z.ZodArray<z.ZodEnum<{
6355
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
6356
- }>>;
6357
- openingStatus: z.ZodEnum<{
6358
- OPEN: "OPEN";
6359
- CLOSED: "CLOSED";
6360
- }>;
6361
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
6362
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
6363
- createdAt: z.ZodString;
6364
- updatedAt: z.ZodString;
6365
- }, z.core.$strip>;
4772
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
6366
4773
  service: z.ZodLiteral<"justeat">;
6367
4774
  data: z.ZodObject<{
6368
4775
  restaurantId: z.ZodString;
@@ -6389,10 +4796,10 @@ declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<type
6389
4796
  }>;
6390
4797
  name: z.ZodString;
6391
4798
  message: z.ZodNullable<z.ZodString>;
6392
- internalNotes: z.ZodNullable<z.ZodString>;
4799
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6393
4800
  createdAt: z.ZodString;
6394
4801
  updatedAt: z.ZodString;
6395
- updates: z.ZodArray<z.ZodObject<{
4802
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
6396
4803
  status: z.ZodEnum<{
6397
4804
  active: "active";
6398
4805
  waiting_for_user: "waiting_for_user";
@@ -6400,38 +4807,11 @@ declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<type
6400
4807
  request_sent_partner: "request_sent_partner";
6401
4808
  failed: "failed";
6402
4809
  }>;
6403
- message: z.ZodString;
4810
+ message: z.ZodNullable<z.ZodString>;
6404
4811
  updatedAt: z.ZodString;
6405
- }, z.core.$strip>>;
4812
+ }, z.core.$strip>>>>;
6406
4813
  }, z.core.$strip>, z.ZodObject<{
6407
- pointOfSale: z.ZodObject<{
6408
- id: z.ZodString;
6409
- name: z.ZodString;
6410
- address: z.ZodObject<{
6411
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6412
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6413
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6414
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6415
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6416
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6417
- }, z.core.$strip>;
6418
- timezone: z.ZodString;
6419
- location: z.ZodObject<{
6420
- latitude: z.ZodNumber;
6421
- longitude: z.ZodNumber;
6422
- }, z.core.$strip>;
6423
- capabilities: z.ZodArray<z.ZodEnum<{
6424
- DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
6425
- }>>;
6426
- openingStatus: z.ZodEnum<{
6427
- OPEN: "OPEN";
6428
- CLOSED: "CLOSED";
6429
- }>;
6430
- nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
6431
- currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
6432
- createdAt: z.ZodString;
6433
- updatedAt: z.ZodString;
6434
- }, z.core.$strip>;
4814
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
6435
4815
  service: z.ZodLiteral<"cassa_in_cloud">;
6436
4816
  data: z.ZodObject<{
6437
4817
  apiKey: z.ZodString;
@@ -6463,10 +4843,10 @@ declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<type
6463
4843
  }>;
6464
4844
  name: z.ZodString;
6465
4845
  message: z.ZodNullable<z.ZodString>;
6466
- internalNotes: z.ZodNullable<z.ZodString>;
4846
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6467
4847
  createdAt: z.ZodString;
6468
4848
  updatedAt: z.ZodString;
6469
- updates: z.ZodArray<z.ZodObject<{
4849
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
6470
4850
  status: z.ZodEnum<{
6471
4851
  active: "active";
6472
4852
  waiting_for_user: "waiting_for_user";
@@ -6474,9 +4854,9 @@ declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<type
6474
4854
  request_sent_partner: "request_sent_partner";
6475
4855
  failed: "failed";
6476
4856
  }>;
6477
- message: z.ZodString;
4857
+ message: z.ZodNullable<z.ZodString>;
6478
4858
  updatedAt: z.ZodString;
6479
- }, z.core.$strip>>;
4859
+ }, z.core.$strip>>>>;
6480
4860
  }, z.core.$strip>]>;
6481
4861
  readonly querySchema: undefined;
6482
4862
  readonly headersSchema: undefined;