@deliverart/sdk-js-lead 2.25.2 → 2.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.d.cts +1652 -108
  2. package/dist/index.d.ts +1652 -108
  3. package/package.json +7 -7
package/dist/index.d.cts CHANGED
@@ -179,7 +179,9 @@ declare const leadListItemSchema: z.ZodObject<{
179
179
  integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
180
180
  message: z.ZodNullable<z.ZodString>;
181
181
  id: z.ZodString;
182
+ name: z.ZodString;
182
183
  status: z.ZodEnum<{
184
+ provisioning: "provisioning";
183
185
  active: "active";
184
186
  failed: "failed";
185
187
  waiting_for_user: "waiting_for_user";
@@ -198,10 +200,10 @@ declare const leadListItemSchema: z.ZodObject<{
198
200
  createdAt: z.ZodString;
199
201
  updatedAt: z.ZodString;
200
202
  connectionId: z.ZodNullable<z.ZodString>;
201
- name: z.ZodString;
202
203
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
203
204
  updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
204
205
  status: z.ZodEnum<{
206
+ provisioning: "provisioning";
205
207
  active: "active";
206
208
  failed: "failed";
207
209
  waiting_for_user: "waiting_for_user";
@@ -221,7 +223,9 @@ declare const leadListItemSchema: z.ZodObject<{
221
223
  integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
222
224
  message: z.ZodNullable<z.ZodString>;
223
225
  id: z.ZodString;
226
+ name: z.ZodString;
224
227
  status: z.ZodEnum<{
228
+ provisioning: "provisioning";
225
229
  active: "active";
226
230
  failed: "failed";
227
231
  waiting_for_user: "waiting_for_user";
@@ -240,10 +244,10 @@ declare const leadListItemSchema: z.ZodObject<{
240
244
  createdAt: z.ZodString;
241
245
  updatedAt: z.ZodString;
242
246
  connectionId: z.ZodNullable<z.ZodString>;
243
- name: z.ZodString;
244
247
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
245
248
  updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
246
249
  status: z.ZodEnum<{
250
+ provisioning: "provisioning";
247
251
  active: "active";
248
252
  failed: "failed";
249
253
  waiting_for_user: "waiting_for_user";
@@ -262,7 +266,9 @@ declare const leadListItemSchema: z.ZodObject<{
262
266
  integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
263
267
  message: z.ZodNullable<z.ZodString>;
264
268
  id: z.ZodString;
269
+ name: z.ZodString;
265
270
  status: z.ZodEnum<{
271
+ provisioning: "provisioning";
266
272
  active: "active";
267
273
  failed: "failed";
268
274
  waiting_for_user: "waiting_for_user";
@@ -281,10 +287,10 @@ declare const leadListItemSchema: z.ZodObject<{
281
287
  createdAt: z.ZodString;
282
288
  updatedAt: z.ZodString;
283
289
  connectionId: z.ZodNullable<z.ZodString>;
284
- name: z.ZodString;
285
290
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
286
291
  updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
287
292
  status: z.ZodEnum<{
293
+ provisioning: "provisioning";
288
294
  active: "active";
289
295
  failed: "failed";
290
296
  waiting_for_user: "waiting_for_user";
@@ -303,7 +309,9 @@ declare const leadListItemSchema: z.ZodObject<{
303
309
  integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
304
310
  message: z.ZodNullable<z.ZodString>;
305
311
  id: z.ZodString;
312
+ name: z.ZodString;
306
313
  status: z.ZodEnum<{
314
+ provisioning: "provisioning";
307
315
  active: "active";
308
316
  failed: "failed";
309
317
  waiting_for_user: "waiting_for_user";
@@ -322,10 +330,10 @@ declare const leadListItemSchema: z.ZodObject<{
322
330
  createdAt: z.ZodString;
323
331
  updatedAt: z.ZodString;
324
332
  connectionId: z.ZodNullable<z.ZodString>;
325
- name: z.ZodString;
326
333
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
327
334
  updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
328
335
  status: z.ZodEnum<{
336
+ provisioning: "provisioning";
329
337
  active: "active";
330
338
  failed: "failed";
331
339
  waiting_for_user: "waiting_for_user";
@@ -349,7 +357,9 @@ declare const leadListItemSchema: z.ZodObject<{
349
357
  integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
350
358
  message: z.ZodNullable<z.ZodString>;
351
359
  id: z.ZodString;
360
+ name: z.ZodString;
352
361
  status: z.ZodEnum<{
362
+ provisioning: "provisioning";
353
363
  active: "active";
354
364
  failed: "failed";
355
365
  waiting_for_user: "waiting_for_user";
@@ -368,10 +378,10 @@ declare const leadListItemSchema: z.ZodObject<{
368
378
  createdAt: z.ZodString;
369
379
  updatedAt: z.ZodString;
370
380
  connectionId: z.ZodNullable<z.ZodString>;
371
- name: z.ZodString;
372
381
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
373
382
  updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
374
383
  status: z.ZodEnum<{
384
+ provisioning: "provisioning";
375
385
  active: "active";
376
386
  failed: "failed";
377
387
  waiting_for_user: "waiting_for_user";
@@ -405,6 +415,7 @@ declare const leadListItemSchema: z.ZodObject<{
405
415
  glovo: "glovo";
406
416
  tilby: "tilby";
407
417
  cassa_in_cloud: "cassa_in_cloud";
418
+ elephant: "elephant";
408
419
  }>>>>;
409
420
  externalCascadeDeleteOrder: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
410
421
  internalCascadeDeleteOrder: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -429,7 +440,9 @@ declare const leadListItemSchema: z.ZodObject<{
429
440
  integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
430
441
  message: z.ZodNullable<z.ZodString>;
431
442
  id: z.ZodString;
443
+ name: z.ZodString;
432
444
  status: z.ZodEnum<{
445
+ provisioning: "provisioning";
433
446
  active: "active";
434
447
  failed: "failed";
435
448
  waiting_for_user: "waiting_for_user";
@@ -448,10 +461,10 @@ declare const leadListItemSchema: z.ZodObject<{
448
461
  createdAt: z.ZodString;
449
462
  updatedAt: z.ZodString;
450
463
  connectionId: z.ZodNullable<z.ZodString>;
451
- name: z.ZodString;
452
464
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
453
465
  updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
454
466
  status: z.ZodEnum<{
467
+ provisioning: "provisioning";
455
468
  active: "active";
456
469
  failed: "failed";
457
470
  waiting_for_user: "waiting_for_user";
@@ -488,7 +501,9 @@ declare const leadListItemSchema: z.ZodObject<{
488
501
  integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
489
502
  message: z.ZodNullable<z.ZodString>;
490
503
  id: z.ZodString;
504
+ name: z.ZodString;
491
505
  status: z.ZodEnum<{
506
+ provisioning: "provisioning";
492
507
  active: "active";
493
508
  failed: "failed";
494
509
  waiting_for_user: "waiting_for_user";
@@ -507,10 +522,377 @@ declare const leadListItemSchema: z.ZodObject<{
507
522
  createdAt: z.ZodString;
508
523
  updatedAt: z.ZodString;
509
524
  connectionId: z.ZodNullable<z.ZodString>;
525
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
526
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
527
+ status: z.ZodEnum<{
528
+ provisioning: "provisioning";
529
+ active: "active";
530
+ failed: "failed";
531
+ waiting_for_user: "waiting_for_user";
532
+ waiting_for_admin: "waiting_for_admin";
533
+ request_sent_partner: "request_sent_partner";
534
+ }>;
535
+ message: z.ZodNullable<z.ZodString>;
536
+ updatedAt: z.ZodString;
537
+ }, z.core.$strip>>>>;
538
+ }, z.core.$strip>, z.ZodObject<{
539
+ service: z.ZodLiteral<"elephant">;
540
+ data: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
541
+ restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
542
+ name: z.ZodString;
543
+ platformRestaurantId: z.ZodString;
544
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
545
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
546
+ categoryId: z.ZodString;
547
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
548
+ channels: z.ZodArray<z.ZodEnum<{
549
+ application: "application";
550
+ ecommerce: "ecommerce";
551
+ deliveroo: "deliveroo";
552
+ justeat: "justeat";
553
+ glovo: "glovo";
554
+ tilby: "tilby";
555
+ cassa_in_cloud: "cassa_in_cloud";
556
+ elephant: "elephant";
557
+ }>>;
558
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
559
+ delivery: "delivery";
560
+ collection: "collection";
561
+ kitchen: "kitchen";
562
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
563
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
564
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
565
+ platform: z.ZodLiteral<"migros_yemek">;
566
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
567
+ secret_key: z.ZodString;
568
+ x_api_key: z.ZodString;
569
+ store_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
570
+ store_group_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
571
+ base_url: z.ZodOptional<z.ZodURL>;
572
+ }, z.core.$strict>>>;
573
+ }, z.core.$strip>, z.ZodObject<{
574
+ name: z.ZodString;
575
+ platformRestaurantId: z.ZodString;
576
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
577
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
578
+ categoryId: z.ZodString;
579
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
580
+ channels: z.ZodArray<z.ZodEnum<{
581
+ application: "application";
582
+ ecommerce: "ecommerce";
583
+ deliveroo: "deliveroo";
584
+ justeat: "justeat";
585
+ glovo: "glovo";
586
+ tilby: "tilby";
587
+ cassa_in_cloud: "cassa_in_cloud";
588
+ elephant: "elephant";
589
+ }>>;
590
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
591
+ delivery: "delivery";
592
+ collection: "collection";
593
+ kitchen: "kitchen";
594
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
595
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
596
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
597
+ platform: z.ZodLiteral<"trendyol_go_meal">;
598
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
599
+ api_key: z.ZodString;
600
+ api_secret: z.ZodString;
601
+ shop_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
602
+ seller_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
603
+ base_url: z.ZodOptional<z.ZodURL>;
604
+ }, z.core.$strict>>>;
605
+ }, z.core.$strip>, z.ZodObject<{
606
+ name: z.ZodString;
607
+ platformRestaurantId: z.ZodString;
608
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
609
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
610
+ categoryId: z.ZodString;
611
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
612
+ channels: z.ZodArray<z.ZodEnum<{
613
+ application: "application";
614
+ ecommerce: "ecommerce";
615
+ deliveroo: "deliveroo";
616
+ justeat: "justeat";
617
+ glovo: "glovo";
618
+ tilby: "tilby";
619
+ cassa_in_cloud: "cassa_in_cloud";
620
+ elephant: "elephant";
621
+ }>>;
622
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
623
+ delivery: "delivery";
624
+ collection: "collection";
625
+ kitchen: "kitchen";
626
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
627
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
628
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
629
+ platform: z.ZodLiteral<"fuudy">;
630
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
631
+ app_secret_key: z.ZodString;
632
+ rest_secret_key: z.ZodString;
633
+ base_url: z.ZodOptional<z.ZodURL>;
634
+ }, z.core.$strict>>>;
635
+ }, z.core.$strip>, z.ZodObject<{
636
+ name: z.ZodString;
637
+ platformRestaurantId: z.ZodString;
638
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
639
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
640
+ categoryId: z.ZodString;
641
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
642
+ channels: z.ZodArray<z.ZodEnum<{
643
+ application: "application";
644
+ ecommerce: "ecommerce";
645
+ deliveroo: "deliveroo";
646
+ justeat: "justeat";
647
+ glovo: "glovo";
648
+ tilby: "tilby";
649
+ cassa_in_cloud: "cassa_in_cloud";
650
+ elephant: "elephant";
651
+ }>>;
652
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
653
+ delivery: "delivery";
654
+ collection: "collection";
655
+ kitchen: "kitchen";
656
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
657
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
658
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
659
+ platform: z.ZodLiteral<"getir">;
660
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
661
+ app_secret_key: z.ZodString;
662
+ restaurant_secret_key: z.ZodString;
663
+ base_url: z.ZodOptional<z.ZodURL>;
664
+ }, z.core.$strict>>>;
665
+ }, z.core.$strip>, z.ZodObject<{
666
+ name: z.ZodString;
667
+ platformRestaurantId: z.ZodString;
668
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
669
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
670
+ categoryId: z.ZodString;
671
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
672
+ channels: z.ZodArray<z.ZodEnum<{
673
+ application: "application";
674
+ ecommerce: "ecommerce";
675
+ deliveroo: "deliveroo";
676
+ justeat: "justeat";
677
+ glovo: "glovo";
678
+ tilby: "tilby";
679
+ cassa_in_cloud: "cassa_in_cloud";
680
+ elephant: "elephant";
681
+ }>>;
682
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
683
+ delivery: "delivery";
684
+ collection: "collection";
685
+ kitchen: "kitchen";
686
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
687
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
688
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
689
+ platform: z.ZodLiteral<"yemeksepeti">;
690
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
691
+ username: z.ZodString;
692
+ password: z.ZodString;
693
+ chain_code: z.ZodString;
694
+ remote_id: z.ZodString;
695
+ webhook_token: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
696
+ base_url: z.ZodOptional<z.ZodURL>;
697
+ }, z.core.$strict>>>;
698
+ }, z.core.$strip>], "platform">>;
699
+ credentialMode: z.ZodEnum<{
700
+ managed: "managed";
701
+ }>;
702
+ }, z.core.$strip>, z.ZodObject<{
703
+ restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
704
+ name: z.ZodString;
705
+ platformRestaurantId: z.ZodString;
706
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
707
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
708
+ categoryId: z.ZodString;
709
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
710
+ channels: z.ZodArray<z.ZodEnum<{
711
+ application: "application";
712
+ ecommerce: "ecommerce";
713
+ deliveroo: "deliveroo";
714
+ justeat: "justeat";
715
+ glovo: "glovo";
716
+ tilby: "tilby";
717
+ cassa_in_cloud: "cassa_in_cloud";
718
+ elephant: "elephant";
719
+ }>>;
720
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
721
+ delivery: "delivery";
722
+ collection: "collection";
723
+ kitchen: "kitchen";
724
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
725
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
726
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
727
+ platform: z.ZodLiteral<"migros_yemek">;
728
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
729
+ secret_key: z.ZodString;
730
+ x_api_key: z.ZodString;
731
+ store_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
732
+ store_group_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
733
+ base_url: z.ZodOptional<z.ZodURL>;
734
+ }, z.core.$strict>>>;
735
+ }, z.core.$strip>, z.ZodObject<{
736
+ name: z.ZodString;
737
+ platformRestaurantId: z.ZodString;
738
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
739
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
740
+ categoryId: z.ZodString;
741
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
742
+ channels: z.ZodArray<z.ZodEnum<{
743
+ application: "application";
744
+ ecommerce: "ecommerce";
745
+ deliveroo: "deliveroo";
746
+ justeat: "justeat";
747
+ glovo: "glovo";
748
+ tilby: "tilby";
749
+ cassa_in_cloud: "cassa_in_cloud";
750
+ elephant: "elephant";
751
+ }>>;
752
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
753
+ delivery: "delivery";
754
+ collection: "collection";
755
+ kitchen: "kitchen";
756
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
757
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
758
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
759
+ platform: z.ZodLiteral<"trendyol_go_meal">;
760
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
761
+ api_key: z.ZodString;
762
+ api_secret: z.ZodString;
763
+ shop_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
764
+ seller_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
765
+ base_url: z.ZodOptional<z.ZodURL>;
766
+ }, z.core.$strict>>>;
767
+ }, z.core.$strip>, z.ZodObject<{
768
+ name: z.ZodString;
769
+ platformRestaurantId: z.ZodString;
770
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
771
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
772
+ categoryId: z.ZodString;
773
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
774
+ channels: z.ZodArray<z.ZodEnum<{
775
+ application: "application";
776
+ ecommerce: "ecommerce";
777
+ deliveroo: "deliveroo";
778
+ justeat: "justeat";
779
+ glovo: "glovo";
780
+ tilby: "tilby";
781
+ cassa_in_cloud: "cassa_in_cloud";
782
+ elephant: "elephant";
783
+ }>>;
784
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
785
+ delivery: "delivery";
786
+ collection: "collection";
787
+ kitchen: "kitchen";
788
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
789
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
790
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
791
+ platform: z.ZodLiteral<"fuudy">;
792
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
793
+ app_secret_key: z.ZodString;
794
+ rest_secret_key: z.ZodString;
795
+ base_url: z.ZodOptional<z.ZodURL>;
796
+ }, z.core.$strict>>>;
797
+ }, z.core.$strip>, z.ZodObject<{
798
+ name: z.ZodString;
799
+ platformRestaurantId: z.ZodString;
800
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
801
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
802
+ categoryId: z.ZodString;
803
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
804
+ channels: z.ZodArray<z.ZodEnum<{
805
+ application: "application";
806
+ ecommerce: "ecommerce";
807
+ deliveroo: "deliveroo";
808
+ justeat: "justeat";
809
+ glovo: "glovo";
810
+ tilby: "tilby";
811
+ cassa_in_cloud: "cassa_in_cloud";
812
+ elephant: "elephant";
813
+ }>>;
814
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
815
+ delivery: "delivery";
816
+ collection: "collection";
817
+ kitchen: "kitchen";
818
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
819
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
820
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
821
+ platform: z.ZodLiteral<"getir">;
822
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
823
+ app_secret_key: z.ZodString;
824
+ restaurant_secret_key: z.ZodString;
825
+ base_url: z.ZodOptional<z.ZodURL>;
826
+ }, z.core.$strict>>>;
827
+ }, z.core.$strip>, z.ZodObject<{
828
+ name: z.ZodString;
829
+ platformRestaurantId: z.ZodString;
830
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
831
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
832
+ categoryId: z.ZodString;
833
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
834
+ channels: z.ZodArray<z.ZodEnum<{
835
+ application: "application";
836
+ ecommerce: "ecommerce";
837
+ deliveroo: "deliveroo";
838
+ justeat: "justeat";
839
+ glovo: "glovo";
840
+ tilby: "tilby";
841
+ cassa_in_cloud: "cassa_in_cloud";
842
+ elephant: "elephant";
843
+ }>>;
844
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
845
+ delivery: "delivery";
846
+ collection: "collection";
847
+ kitchen: "kitchen";
848
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
849
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
850
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
851
+ platform: z.ZodLiteral<"yemeksepeti">;
852
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
853
+ username: z.ZodString;
854
+ password: z.ZodString;
855
+ chain_code: z.ZodString;
856
+ remote_id: z.ZodString;
857
+ webhook_token: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
858
+ base_url: z.ZodOptional<z.ZodURL>;
859
+ }, z.core.$strict>>>;
860
+ }, z.core.$strip>], "platform">>;
861
+ credentialMode: z.ZodEnum<{
862
+ provided: "provided";
863
+ }>;
864
+ tenantId: z.ZodString;
865
+ appId: z.ZodString;
866
+ personalAccessToken: z.ZodString;
867
+ }, z.core.$strip>], "credentialMode">>;
868
+ integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
869
+ message: z.ZodNullable<z.ZodString>;
870
+ id: z.ZodString;
510
871
  name: z.ZodString;
872
+ status: z.ZodEnum<{
873
+ provisioning: "provisioning";
874
+ active: "active";
875
+ failed: "failed";
876
+ waiting_for_user: "waiting_for_user";
877
+ waiting_for_admin: "waiting_for_admin";
878
+ request_sent_partner: "request_sent_partner";
879
+ }>;
880
+ healthStatus: z.ZodEnum<{
881
+ success: "success";
882
+ error: "error";
883
+ waiting: "waiting";
884
+ }>;
885
+ provider: z.ZodEnum<{
886
+ cassa_in_cloud: "cassa_in_cloud";
887
+ deliverart: "deliverart";
888
+ }>;
889
+ createdAt: z.ZodString;
890
+ updatedAt: z.ZodString;
891
+ connectionId: z.ZodNullable<z.ZodString>;
511
892
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
512
893
  updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
513
894
  status: z.ZodEnum<{
895
+ provisioning: "provisioning";
514
896
  active: "active";
515
897
  failed: "failed";
516
898
  waiting_for_user: "waiting_for_user";
@@ -607,6 +989,7 @@ declare const writableLeadIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
607
989
  glovo: "glovo";
608
990
  tilby: "tilby";
609
991
  cassa_in_cloud: "cassa_in_cloud";
992
+ elephant: "elephant";
610
993
  }>>>>;
611
994
  externalCascadeDeleteOrder: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
612
995
  internalCascadeDeleteOrder: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -781,6 +1164,7 @@ declare const writableCreateLeadSchema: z.ZodObject<{
781
1164
  glovo: "glovo";
782
1165
  tilby: "tilby";
783
1166
  cassa_in_cloud: "cassa_in_cloud";
1167
+ elephant: "elephant";
784
1168
  }>>>>;
785
1169
  externalCascadeDeleteOrder: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
786
1170
  internalCascadeDeleteOrder: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -832,12 +1216,14 @@ declare const leadsQuerySchema: z.ZodObject<{
832
1216
  completed: "completed";
833
1217
  }>>]>>;
834
1218
  'integrations.status': z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1219
+ provisioning: "provisioning";
835
1220
  active: "active";
836
1221
  failed: "failed";
837
1222
  waiting_for_user: "waiting_for_user";
838
1223
  waiting_for_admin: "waiting_for_admin";
839
1224
  request_sent_partner: "request_sent_partner";
840
1225
  }>, z.ZodArray<z.ZodEnum<{
1226
+ provisioning: "provisioning";
841
1227
  active: "active";
842
1228
  failed: "failed";
843
1229
  waiting_for_user: "waiting_for_user";
@@ -860,6 +1246,7 @@ declare const leadsQuerySchema: z.ZodObject<{
860
1246
  glovo: "glovo";
861
1247
  tilby: "tilby";
862
1248
  cassa_in_cloud: "cassa_in_cloud";
1249
+ elephant: "elephant";
863
1250
  kitchen: "kitchen";
864
1251
  }>, z.ZodArray<z.ZodEnum<{
865
1252
  ecommerce: "ecommerce";
@@ -868,6 +1255,7 @@ declare const leadsQuerySchema: z.ZodObject<{
868
1255
  glovo: "glovo";
869
1256
  tilby: "tilby";
870
1257
  cassa_in_cloud: "cassa_in_cloud";
1258
+ elephant: "elephant";
871
1259
  kitchen: "kitchen";
872
1260
  }>>]>>;
873
1261
  uncompletedSteps: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -1052,6 +1440,7 @@ declare const createLeadInputSchema: z.ZodObject<{
1052
1440
  glovo: "glovo";
1053
1441
  tilby: "tilby";
1054
1442
  cassa_in_cloud: "cassa_in_cloud";
1443
+ elephant: "elephant";
1055
1444
  }>>>>;
1056
1445
  externalCascadeDeleteOrder: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1057
1446
  internalCascadeDeleteOrder: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -1260,6 +1649,7 @@ declare class CreateLead extends AbstractApiRequest<typeof createLeadInputSchema
1260
1649
  glovo: "glovo";
1261
1650
  tilby: "tilby";
1262
1651
  cassa_in_cloud: "cassa_in_cloud";
1652
+ elephant: "elephant";
1263
1653
  }>>>>;
1264
1654
  externalCascadeDeleteOrder: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1265
1655
  internalCascadeDeleteOrder: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -1549,12 +1939,14 @@ declare const getLeadsQuerySchema: z.ZodObject<{
1549
1939
  completed: "completed";
1550
1940
  }>>]>>;
1551
1941
  'integrations.status': z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1942
+ provisioning: "provisioning";
1552
1943
  active: "active";
1553
1944
  failed: "failed";
1554
1945
  waiting_for_user: "waiting_for_user";
1555
1946
  waiting_for_admin: "waiting_for_admin";
1556
1947
  request_sent_partner: "request_sent_partner";
1557
1948
  }>, z.ZodArray<z.ZodEnum<{
1949
+ provisioning: "provisioning";
1558
1950
  active: "active";
1559
1951
  failed: "failed";
1560
1952
  waiting_for_user: "waiting_for_user";
@@ -1577,6 +1969,7 @@ declare const getLeadsQuerySchema: z.ZodObject<{
1577
1969
  glovo: "glovo";
1578
1970
  tilby: "tilby";
1579
1971
  cassa_in_cloud: "cassa_in_cloud";
1972
+ elephant: "elephant";
1580
1973
  kitchen: "kitchen";
1581
1974
  }>, z.ZodArray<z.ZodEnum<{
1582
1975
  ecommerce: "ecommerce";
@@ -1585,6 +1978,7 @@ declare const getLeadsQuerySchema: z.ZodObject<{
1585
1978
  glovo: "glovo";
1586
1979
  tilby: "tilby";
1587
1980
  cassa_in_cloud: "cassa_in_cloud";
1981
+ elephant: "elephant";
1588
1982
  kitchen: "kitchen";
1589
1983
  }>>]>>;
1590
1984
  uncompletedSteps: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -1724,7 +2118,9 @@ declare const getLeadsResponseSchema: z.ZodObject<{
1724
2118
  integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
1725
2119
  message: z.ZodNullable<z.ZodString>;
1726
2120
  id: z.ZodString;
2121
+ name: z.ZodString;
1727
2122
  status: z.ZodEnum<{
2123
+ provisioning: "provisioning";
1728
2124
  active: "active";
1729
2125
  failed: "failed";
1730
2126
  waiting_for_user: "waiting_for_user";
@@ -1743,10 +2139,10 @@ declare const getLeadsResponseSchema: z.ZodObject<{
1743
2139
  createdAt: z.ZodString;
1744
2140
  updatedAt: z.ZodString;
1745
2141
  connectionId: z.ZodNullable<z.ZodString>;
1746
- name: z.ZodString;
1747
2142
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1748
2143
  updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1749
2144
  status: z.ZodEnum<{
2145
+ provisioning: "provisioning";
1750
2146
  active: "active";
1751
2147
  failed: "failed";
1752
2148
  waiting_for_user: "waiting_for_user";
@@ -1766,7 +2162,9 @@ declare const getLeadsResponseSchema: z.ZodObject<{
1766
2162
  integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
1767
2163
  message: z.ZodNullable<z.ZodString>;
1768
2164
  id: z.ZodString;
2165
+ name: z.ZodString;
1769
2166
  status: z.ZodEnum<{
2167
+ provisioning: "provisioning";
1770
2168
  active: "active";
1771
2169
  failed: "failed";
1772
2170
  waiting_for_user: "waiting_for_user";
@@ -1785,10 +2183,10 @@ declare const getLeadsResponseSchema: z.ZodObject<{
1785
2183
  createdAt: z.ZodString;
1786
2184
  updatedAt: z.ZodString;
1787
2185
  connectionId: z.ZodNullable<z.ZodString>;
1788
- name: z.ZodString;
1789
2186
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1790
2187
  updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1791
2188
  status: z.ZodEnum<{
2189
+ provisioning: "provisioning";
1792
2190
  active: "active";
1793
2191
  failed: "failed";
1794
2192
  waiting_for_user: "waiting_for_user";
@@ -1807,7 +2205,9 @@ declare const getLeadsResponseSchema: z.ZodObject<{
1807
2205
  integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
1808
2206
  message: z.ZodNullable<z.ZodString>;
1809
2207
  id: z.ZodString;
2208
+ name: z.ZodString;
1810
2209
  status: z.ZodEnum<{
2210
+ provisioning: "provisioning";
1811
2211
  active: "active";
1812
2212
  failed: "failed";
1813
2213
  waiting_for_user: "waiting_for_user";
@@ -1826,10 +2226,10 @@ declare const getLeadsResponseSchema: z.ZodObject<{
1826
2226
  createdAt: z.ZodString;
1827
2227
  updatedAt: z.ZodString;
1828
2228
  connectionId: z.ZodNullable<z.ZodString>;
1829
- name: z.ZodString;
1830
2229
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1831
2230
  updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1832
2231
  status: z.ZodEnum<{
2232
+ provisioning: "provisioning";
1833
2233
  active: "active";
1834
2234
  failed: "failed";
1835
2235
  waiting_for_user: "waiting_for_user";
@@ -1848,7 +2248,9 @@ declare const getLeadsResponseSchema: z.ZodObject<{
1848
2248
  integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
1849
2249
  message: z.ZodNullable<z.ZodString>;
1850
2250
  id: z.ZodString;
2251
+ name: z.ZodString;
1851
2252
  status: z.ZodEnum<{
2253
+ provisioning: "provisioning";
1852
2254
  active: "active";
1853
2255
  failed: "failed";
1854
2256
  waiting_for_user: "waiting_for_user";
@@ -1867,10 +2269,10 @@ declare const getLeadsResponseSchema: z.ZodObject<{
1867
2269
  createdAt: z.ZodString;
1868
2270
  updatedAt: z.ZodString;
1869
2271
  connectionId: z.ZodNullable<z.ZodString>;
1870
- name: z.ZodString;
1871
2272
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1872
2273
  updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1873
2274
  status: z.ZodEnum<{
2275
+ provisioning: "provisioning";
1874
2276
  active: "active";
1875
2277
  failed: "failed";
1876
2278
  waiting_for_user: "waiting_for_user";
@@ -1894,7 +2296,9 @@ declare const getLeadsResponseSchema: z.ZodObject<{
1894
2296
  integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
1895
2297
  message: z.ZodNullable<z.ZodString>;
1896
2298
  id: z.ZodString;
2299
+ name: z.ZodString;
1897
2300
  status: z.ZodEnum<{
2301
+ provisioning: "provisioning";
1898
2302
  active: "active";
1899
2303
  failed: "failed";
1900
2304
  waiting_for_user: "waiting_for_user";
@@ -1913,10 +2317,10 @@ declare const getLeadsResponseSchema: z.ZodObject<{
1913
2317
  createdAt: z.ZodString;
1914
2318
  updatedAt: z.ZodString;
1915
2319
  connectionId: z.ZodNullable<z.ZodString>;
1916
- name: z.ZodString;
1917
2320
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1918
2321
  updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1919
2322
  status: z.ZodEnum<{
2323
+ provisioning: "provisioning";
1920
2324
  active: "active";
1921
2325
  failed: "failed";
1922
2326
  waiting_for_user: "waiting_for_user";
@@ -1950,6 +2354,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
1950
2354
  glovo: "glovo";
1951
2355
  tilby: "tilby";
1952
2356
  cassa_in_cloud: "cassa_in_cloud";
2357
+ elephant: "elephant";
1953
2358
  }>>>>;
1954
2359
  externalCascadeDeleteOrder: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1955
2360
  internalCascadeDeleteOrder: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -1974,7 +2379,9 @@ declare const getLeadsResponseSchema: z.ZodObject<{
1974
2379
  integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
1975
2380
  message: z.ZodNullable<z.ZodString>;
1976
2381
  id: z.ZodString;
2382
+ name: z.ZodString;
1977
2383
  status: z.ZodEnum<{
2384
+ provisioning: "provisioning";
1978
2385
  active: "active";
1979
2386
  failed: "failed";
1980
2387
  waiting_for_user: "waiting_for_user";
@@ -1993,10 +2400,10 @@ declare const getLeadsResponseSchema: z.ZodObject<{
1993
2400
  createdAt: z.ZodString;
1994
2401
  updatedAt: z.ZodString;
1995
2402
  connectionId: z.ZodNullable<z.ZodString>;
1996
- name: z.ZodString;
1997
2403
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1998
2404
  updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1999
2405
  status: z.ZodEnum<{
2406
+ provisioning: "provisioning";
2000
2407
  active: "active";
2001
2408
  failed: "failed";
2002
2409
  waiting_for_user: "waiting_for_user";
@@ -2033,7 +2440,9 @@ declare const getLeadsResponseSchema: z.ZodObject<{
2033
2440
  integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
2034
2441
  message: z.ZodNullable<z.ZodString>;
2035
2442
  id: z.ZodString;
2443
+ name: z.ZodString;
2036
2444
  status: z.ZodEnum<{
2445
+ provisioning: "provisioning";
2037
2446
  active: "active";
2038
2447
  failed: "failed";
2039
2448
  waiting_for_user: "waiting_for_user";
@@ -2052,10 +2461,10 @@ declare const getLeadsResponseSchema: z.ZodObject<{
2052
2461
  createdAt: z.ZodString;
2053
2462
  updatedAt: z.ZodString;
2054
2463
  connectionId: z.ZodNullable<z.ZodString>;
2055
- name: z.ZodString;
2056
2464
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2057
2465
  updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2058
2466
  status: z.ZodEnum<{
2467
+ provisioning: "provisioning";
2059
2468
  active: "active";
2060
2469
  failed: "failed";
2061
2470
  waiting_for_user: "waiting_for_user";
@@ -2065,92 +2474,461 @@ declare const getLeadsResponseSchema: z.ZodObject<{
2065
2474
  message: z.ZodNullable<z.ZodString>;
2066
2475
  updatedAt: z.ZodString;
2067
2476
  }, z.core.$strip>>>>;
2068
- }, z.core.$strip>], "service">>>>;
2069
- }, z.core.$strip>>;
2070
- pagination: z.ZodObject<{
2071
- from: z.ZodCoercedNumber<unknown>;
2072
- to: z.ZodCoercedNumber<unknown>;
2073
- itemsPerPage: z.ZodCoercedNumber<unknown>;
2074
- totalItems: z.ZodCoercedNumber<unknown>;
2075
- currentPage: z.ZodCoercedNumber<unknown>;
2076
- lastPage: z.ZodCoercedNumber<unknown>;
2077
- }, z.core.$strip>;
2078
- }, z.core.$strip>;
2079
- type GetLeadsResponse = z.infer<typeof getLeadsResponseSchema>;
2080
- declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, typeof getLeadsResponseSchema, GetLeadsQueryParams> {
2081
- readonly method: "GET";
2082
- readonly contentType: "application/json";
2083
- readonly accept: "application/json";
2084
- readonly inputSchema: z.ZodUndefined;
2085
- readonly outputSchema: z.ZodObject<{
2086
- data: z.ZodArray<z.ZodObject<{
2087
- id: z.ZodString;
2088
- status: z.ZodEnum<{
2089
- pending: "pending";
2090
- partially_initialized: "partially_initialized";
2091
- initialized: "initialized";
2092
- completed: "completed";
2093
- }>;
2094
- email: z.ZodEmail;
2095
- firstName: z.ZodString;
2096
- lastName: z.ZodString;
2097
- businessName: z.ZodString;
2098
- posName: z.ZodString;
2099
- posAddress: z.ZodObject<{
2100
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2101
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2102
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2103
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2104
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2105
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2106
- }, z.core.$strip>;
2107
- numberOfCouriers: z.ZodCoercedNumber<unknown>;
2108
- notificationsEnabled: z.ZodBoolean;
2109
- uncompletedSteps: z.ZodArray<z.ZodEnum<{
2110
- CREATE_USER_MANAGER: "CREATE_USER_MANAGER";
2111
- CREATE_COMPANY: "CREATE_COMPANY";
2112
- CREATE_POINT_OF_SALE: "CREATE_POINT_OF_SALE";
2113
- CONFIGURE_INTEGRATIONS: "CONFIGURE_INTEGRATIONS";
2114
- }>>;
2115
- completedSteps: z.ZodArray<z.ZodEnum<{
2116
- CREATE_USER_MANAGER: "CREATE_USER_MANAGER";
2117
- CREATE_COMPANY: "CREATE_COMPANY";
2118
- CREATE_POINT_OF_SALE: "CREATE_POINT_OF_SALE";
2119
- CONFIGURE_INTEGRATIONS: "CONFIGURE_INTEGRATIONS";
2120
- }>>;
2121
- percentageCompletion: z.ZodCoercedNumber<unknown>;
2122
- integrationsStats: z.ZodObject<{
2123
- count: z.ZodCoercedNumber<unknown>;
2124
- statuses: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
2125
- }, z.core.$strip>;
2126
- createdAt: z.ZodString;
2127
- updatedAt: z.ZodString;
2128
- user: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/users/:id"> | null, unknown>>;
2129
- company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id"> | null, unknown>>;
2130
- pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id"> | null, unknown>>;
2131
- vat: z.ZodString;
2132
- taxCode: z.ZodNullable<z.ZodString>;
2133
- billingAddress: z.ZodObject<{
2134
- line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2135
- line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2136
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2137
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2138
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2139
- country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2140
- }, z.core.$strip>;
2141
- billingData: z.ZodUnion<readonly [z.ZodObject<{
2142
- sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2143
- pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
2144
- }, z.core.$catchall<z.ZodUnknown>>, z.ZodPipe<z.ZodArray<z.ZodNever>, z.ZodTransform<{}, never[]>>]>;
2145
- integrations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2146
- service: z.ZodLiteral<"kitchen">;
2147
- data: z.ZodOptional<z.ZodObject<{
2148
- viewMode: z.ZodString;
2149
- }, z.core.$strip>>;
2150
- integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
2477
+ }, z.core.$strip>, z.ZodObject<{
2478
+ service: z.ZodLiteral<"elephant">;
2479
+ data: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2480
+ restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2481
+ name: z.ZodString;
2482
+ platformRestaurantId: z.ZodString;
2483
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
2484
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
2485
+ categoryId: z.ZodString;
2486
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
2487
+ channels: z.ZodArray<z.ZodEnum<{
2488
+ application: "application";
2489
+ ecommerce: "ecommerce";
2490
+ deliveroo: "deliveroo";
2491
+ justeat: "justeat";
2492
+ glovo: "glovo";
2493
+ tilby: "tilby";
2494
+ cassa_in_cloud: "cassa_in_cloud";
2495
+ elephant: "elephant";
2496
+ }>>;
2497
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
2498
+ delivery: "delivery";
2499
+ collection: "collection";
2500
+ kitchen: "kitchen";
2501
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
2502
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
2503
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
2504
+ platform: z.ZodLiteral<"migros_yemek">;
2505
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2506
+ secret_key: z.ZodString;
2507
+ x_api_key: z.ZodString;
2508
+ store_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
2509
+ store_group_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
2510
+ base_url: z.ZodOptional<z.ZodURL>;
2511
+ }, z.core.$strict>>>;
2512
+ }, z.core.$strip>, z.ZodObject<{
2513
+ name: z.ZodString;
2514
+ platformRestaurantId: z.ZodString;
2515
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
2516
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
2517
+ categoryId: z.ZodString;
2518
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
2519
+ channels: z.ZodArray<z.ZodEnum<{
2520
+ application: "application";
2521
+ ecommerce: "ecommerce";
2522
+ deliveroo: "deliveroo";
2523
+ justeat: "justeat";
2524
+ glovo: "glovo";
2525
+ tilby: "tilby";
2526
+ cassa_in_cloud: "cassa_in_cloud";
2527
+ elephant: "elephant";
2528
+ }>>;
2529
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
2530
+ delivery: "delivery";
2531
+ collection: "collection";
2532
+ kitchen: "kitchen";
2533
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
2534
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
2535
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
2536
+ platform: z.ZodLiteral<"trendyol_go_meal">;
2537
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2538
+ api_key: z.ZodString;
2539
+ api_secret: z.ZodString;
2540
+ shop_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
2541
+ seller_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
2542
+ base_url: z.ZodOptional<z.ZodURL>;
2543
+ }, z.core.$strict>>>;
2544
+ }, z.core.$strip>, z.ZodObject<{
2545
+ name: z.ZodString;
2546
+ platformRestaurantId: z.ZodString;
2547
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
2548
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
2549
+ categoryId: z.ZodString;
2550
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
2551
+ channels: z.ZodArray<z.ZodEnum<{
2552
+ application: "application";
2553
+ ecommerce: "ecommerce";
2554
+ deliveroo: "deliveroo";
2555
+ justeat: "justeat";
2556
+ glovo: "glovo";
2557
+ tilby: "tilby";
2558
+ cassa_in_cloud: "cassa_in_cloud";
2559
+ elephant: "elephant";
2560
+ }>>;
2561
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
2562
+ delivery: "delivery";
2563
+ collection: "collection";
2564
+ kitchen: "kitchen";
2565
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
2566
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
2567
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
2568
+ platform: z.ZodLiteral<"fuudy">;
2569
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2570
+ app_secret_key: z.ZodString;
2571
+ rest_secret_key: z.ZodString;
2572
+ base_url: z.ZodOptional<z.ZodURL>;
2573
+ }, z.core.$strict>>>;
2574
+ }, z.core.$strip>, z.ZodObject<{
2575
+ name: z.ZodString;
2576
+ platformRestaurantId: z.ZodString;
2577
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
2578
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
2579
+ categoryId: z.ZodString;
2580
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
2581
+ channels: z.ZodArray<z.ZodEnum<{
2582
+ application: "application";
2583
+ ecommerce: "ecommerce";
2584
+ deliveroo: "deliveroo";
2585
+ justeat: "justeat";
2586
+ glovo: "glovo";
2587
+ tilby: "tilby";
2588
+ cassa_in_cloud: "cassa_in_cloud";
2589
+ elephant: "elephant";
2590
+ }>>;
2591
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
2592
+ delivery: "delivery";
2593
+ collection: "collection";
2594
+ kitchen: "kitchen";
2595
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
2596
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
2597
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
2598
+ platform: z.ZodLiteral<"getir">;
2599
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2600
+ app_secret_key: z.ZodString;
2601
+ restaurant_secret_key: z.ZodString;
2602
+ base_url: z.ZodOptional<z.ZodURL>;
2603
+ }, z.core.$strict>>>;
2604
+ }, z.core.$strip>, z.ZodObject<{
2605
+ name: z.ZodString;
2606
+ platformRestaurantId: z.ZodString;
2607
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
2608
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
2609
+ categoryId: z.ZodString;
2610
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
2611
+ channels: z.ZodArray<z.ZodEnum<{
2612
+ application: "application";
2613
+ ecommerce: "ecommerce";
2614
+ deliveroo: "deliveroo";
2615
+ justeat: "justeat";
2616
+ glovo: "glovo";
2617
+ tilby: "tilby";
2618
+ cassa_in_cloud: "cassa_in_cloud";
2619
+ elephant: "elephant";
2620
+ }>>;
2621
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
2622
+ delivery: "delivery";
2623
+ collection: "collection";
2624
+ kitchen: "kitchen";
2625
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
2626
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
2627
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
2628
+ platform: z.ZodLiteral<"yemeksepeti">;
2629
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2630
+ username: z.ZodString;
2631
+ password: z.ZodString;
2632
+ chain_code: z.ZodString;
2633
+ remote_id: z.ZodString;
2634
+ webhook_token: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
2635
+ base_url: z.ZodOptional<z.ZodURL>;
2636
+ }, z.core.$strict>>>;
2637
+ }, z.core.$strip>], "platform">>;
2638
+ credentialMode: z.ZodEnum<{
2639
+ managed: "managed";
2640
+ }>;
2641
+ }, z.core.$strip>, z.ZodObject<{
2642
+ restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2643
+ name: z.ZodString;
2644
+ platformRestaurantId: z.ZodString;
2645
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
2646
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
2647
+ categoryId: z.ZodString;
2648
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
2649
+ channels: z.ZodArray<z.ZodEnum<{
2650
+ application: "application";
2651
+ ecommerce: "ecommerce";
2652
+ deliveroo: "deliveroo";
2653
+ justeat: "justeat";
2654
+ glovo: "glovo";
2655
+ tilby: "tilby";
2656
+ cassa_in_cloud: "cassa_in_cloud";
2657
+ elephant: "elephant";
2658
+ }>>;
2659
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
2660
+ delivery: "delivery";
2661
+ collection: "collection";
2662
+ kitchen: "kitchen";
2663
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
2664
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
2665
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
2666
+ platform: z.ZodLiteral<"migros_yemek">;
2667
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2668
+ secret_key: z.ZodString;
2669
+ x_api_key: z.ZodString;
2670
+ store_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
2671
+ store_group_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
2672
+ base_url: z.ZodOptional<z.ZodURL>;
2673
+ }, z.core.$strict>>>;
2674
+ }, z.core.$strip>, z.ZodObject<{
2675
+ name: z.ZodString;
2676
+ platformRestaurantId: z.ZodString;
2677
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
2678
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
2679
+ categoryId: z.ZodString;
2680
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
2681
+ channels: z.ZodArray<z.ZodEnum<{
2682
+ application: "application";
2683
+ ecommerce: "ecommerce";
2684
+ deliveroo: "deliveroo";
2685
+ justeat: "justeat";
2686
+ glovo: "glovo";
2687
+ tilby: "tilby";
2688
+ cassa_in_cloud: "cassa_in_cloud";
2689
+ elephant: "elephant";
2690
+ }>>;
2691
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
2692
+ delivery: "delivery";
2693
+ collection: "collection";
2694
+ kitchen: "kitchen";
2695
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
2696
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
2697
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
2698
+ platform: z.ZodLiteral<"trendyol_go_meal">;
2699
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2700
+ api_key: z.ZodString;
2701
+ api_secret: z.ZodString;
2702
+ shop_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
2703
+ seller_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
2704
+ base_url: z.ZodOptional<z.ZodURL>;
2705
+ }, z.core.$strict>>>;
2706
+ }, z.core.$strip>, z.ZodObject<{
2707
+ name: z.ZodString;
2708
+ platformRestaurantId: z.ZodString;
2709
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
2710
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
2711
+ categoryId: z.ZodString;
2712
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
2713
+ channels: z.ZodArray<z.ZodEnum<{
2714
+ application: "application";
2715
+ ecommerce: "ecommerce";
2716
+ deliveroo: "deliveroo";
2717
+ justeat: "justeat";
2718
+ glovo: "glovo";
2719
+ tilby: "tilby";
2720
+ cassa_in_cloud: "cassa_in_cloud";
2721
+ elephant: "elephant";
2722
+ }>>;
2723
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
2724
+ delivery: "delivery";
2725
+ collection: "collection";
2726
+ kitchen: "kitchen";
2727
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
2728
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
2729
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
2730
+ platform: z.ZodLiteral<"fuudy">;
2731
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2732
+ app_secret_key: z.ZodString;
2733
+ rest_secret_key: z.ZodString;
2734
+ base_url: z.ZodOptional<z.ZodURL>;
2735
+ }, z.core.$strict>>>;
2736
+ }, z.core.$strip>, z.ZodObject<{
2737
+ name: z.ZodString;
2738
+ platformRestaurantId: z.ZodString;
2739
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
2740
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
2741
+ categoryId: z.ZodString;
2742
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
2743
+ channels: z.ZodArray<z.ZodEnum<{
2744
+ application: "application";
2745
+ ecommerce: "ecommerce";
2746
+ deliveroo: "deliveroo";
2747
+ justeat: "justeat";
2748
+ glovo: "glovo";
2749
+ tilby: "tilby";
2750
+ cassa_in_cloud: "cassa_in_cloud";
2751
+ elephant: "elephant";
2752
+ }>>;
2753
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
2754
+ delivery: "delivery";
2755
+ collection: "collection";
2756
+ kitchen: "kitchen";
2757
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
2758
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
2759
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
2760
+ platform: z.ZodLiteral<"getir">;
2761
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2762
+ app_secret_key: z.ZodString;
2763
+ restaurant_secret_key: z.ZodString;
2764
+ base_url: z.ZodOptional<z.ZodURL>;
2765
+ }, z.core.$strict>>>;
2766
+ }, z.core.$strip>, z.ZodObject<{
2767
+ name: z.ZodString;
2768
+ platformRestaurantId: z.ZodString;
2769
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
2770
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
2771
+ categoryId: z.ZodString;
2772
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
2773
+ channels: z.ZodArray<z.ZodEnum<{
2774
+ application: "application";
2775
+ ecommerce: "ecommerce";
2776
+ deliveroo: "deliveroo";
2777
+ justeat: "justeat";
2778
+ glovo: "glovo";
2779
+ tilby: "tilby";
2780
+ cassa_in_cloud: "cassa_in_cloud";
2781
+ elephant: "elephant";
2782
+ }>>;
2783
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
2784
+ delivery: "delivery";
2785
+ collection: "collection";
2786
+ kitchen: "kitchen";
2787
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
2788
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
2789
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
2790
+ platform: z.ZodLiteral<"yemeksepeti">;
2791
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2792
+ username: z.ZodString;
2793
+ password: z.ZodString;
2794
+ chain_code: z.ZodString;
2795
+ remote_id: z.ZodString;
2796
+ webhook_token: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
2797
+ base_url: z.ZodOptional<z.ZodURL>;
2798
+ }, z.core.$strict>>>;
2799
+ }, z.core.$strip>], "platform">>;
2800
+ credentialMode: z.ZodEnum<{
2801
+ provided: "provided";
2802
+ }>;
2803
+ tenantId: z.ZodString;
2804
+ appId: z.ZodString;
2805
+ personalAccessToken: z.ZodString;
2806
+ }, z.core.$strip>], "credentialMode">>;
2807
+ integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
2808
+ message: z.ZodNullable<z.ZodString>;
2809
+ id: z.ZodString;
2810
+ name: z.ZodString;
2811
+ status: z.ZodEnum<{
2812
+ provisioning: "provisioning";
2813
+ active: "active";
2814
+ failed: "failed";
2815
+ waiting_for_user: "waiting_for_user";
2816
+ waiting_for_admin: "waiting_for_admin";
2817
+ request_sent_partner: "request_sent_partner";
2818
+ }>;
2819
+ healthStatus: z.ZodEnum<{
2820
+ success: "success";
2821
+ error: "error";
2822
+ waiting: "waiting";
2823
+ }>;
2824
+ provider: z.ZodEnum<{
2825
+ cassa_in_cloud: "cassa_in_cloud";
2826
+ deliverart: "deliverart";
2827
+ }>;
2828
+ createdAt: z.ZodString;
2829
+ updatedAt: z.ZodString;
2830
+ connectionId: z.ZodNullable<z.ZodString>;
2831
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2832
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2833
+ status: z.ZodEnum<{
2834
+ provisioning: "provisioning";
2835
+ active: "active";
2836
+ failed: "failed";
2837
+ waiting_for_user: "waiting_for_user";
2838
+ waiting_for_admin: "waiting_for_admin";
2839
+ request_sent_partner: "request_sent_partner";
2840
+ }>;
2841
+ message: z.ZodNullable<z.ZodString>;
2842
+ updatedAt: z.ZodString;
2843
+ }, z.core.$strip>>>>;
2844
+ }, z.core.$strip>], "service">>>>;
2845
+ }, z.core.$strip>>;
2846
+ pagination: z.ZodObject<{
2847
+ from: z.ZodCoercedNumber<unknown>;
2848
+ to: z.ZodCoercedNumber<unknown>;
2849
+ itemsPerPage: z.ZodCoercedNumber<unknown>;
2850
+ totalItems: z.ZodCoercedNumber<unknown>;
2851
+ currentPage: z.ZodCoercedNumber<unknown>;
2852
+ lastPage: z.ZodCoercedNumber<unknown>;
2853
+ }, z.core.$strip>;
2854
+ }, z.core.$strip>;
2855
+ type GetLeadsResponse = z.infer<typeof getLeadsResponseSchema>;
2856
+ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, typeof getLeadsResponseSchema, GetLeadsQueryParams> {
2857
+ readonly method: "GET";
2858
+ readonly contentType: "application/json";
2859
+ readonly accept: "application/json";
2860
+ readonly inputSchema: z.ZodUndefined;
2861
+ readonly outputSchema: z.ZodObject<{
2862
+ data: z.ZodArray<z.ZodObject<{
2863
+ id: z.ZodString;
2864
+ status: z.ZodEnum<{
2865
+ pending: "pending";
2866
+ partially_initialized: "partially_initialized";
2867
+ initialized: "initialized";
2868
+ completed: "completed";
2869
+ }>;
2870
+ email: z.ZodEmail;
2871
+ firstName: z.ZodString;
2872
+ lastName: z.ZodString;
2873
+ businessName: z.ZodString;
2874
+ posName: z.ZodString;
2875
+ posAddress: z.ZodObject<{
2876
+ line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2877
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2878
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2879
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2880
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2881
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2882
+ }, z.core.$strip>;
2883
+ numberOfCouriers: z.ZodCoercedNumber<unknown>;
2884
+ notificationsEnabled: z.ZodBoolean;
2885
+ uncompletedSteps: z.ZodArray<z.ZodEnum<{
2886
+ CREATE_USER_MANAGER: "CREATE_USER_MANAGER";
2887
+ CREATE_COMPANY: "CREATE_COMPANY";
2888
+ CREATE_POINT_OF_SALE: "CREATE_POINT_OF_SALE";
2889
+ CONFIGURE_INTEGRATIONS: "CONFIGURE_INTEGRATIONS";
2890
+ }>>;
2891
+ completedSteps: z.ZodArray<z.ZodEnum<{
2892
+ CREATE_USER_MANAGER: "CREATE_USER_MANAGER";
2893
+ CREATE_COMPANY: "CREATE_COMPANY";
2894
+ CREATE_POINT_OF_SALE: "CREATE_POINT_OF_SALE";
2895
+ CONFIGURE_INTEGRATIONS: "CONFIGURE_INTEGRATIONS";
2896
+ }>>;
2897
+ percentageCompletion: z.ZodCoercedNumber<unknown>;
2898
+ integrationsStats: z.ZodObject<{
2899
+ count: z.ZodCoercedNumber<unknown>;
2900
+ statuses: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
2901
+ }, z.core.$strip>;
2902
+ createdAt: z.ZodString;
2903
+ updatedAt: z.ZodString;
2904
+ user: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/users/:id"> | null, unknown>>;
2905
+ company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id"> | null, unknown>>;
2906
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id"> | null, unknown>>;
2907
+ vat: z.ZodString;
2908
+ taxCode: z.ZodNullable<z.ZodString>;
2909
+ billingAddress: z.ZodObject<{
2910
+ line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2911
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2912
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2913
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2914
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2915
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2916
+ }, z.core.$strip>;
2917
+ billingData: z.ZodUnion<readonly [z.ZodObject<{
2918
+ sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2919
+ pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
2920
+ }, z.core.$catchall<z.ZodUnknown>>, z.ZodPipe<z.ZodArray<z.ZodNever>, z.ZodTransform<{}, never[]>>]>;
2921
+ integrations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2922
+ service: z.ZodLiteral<"kitchen">;
2923
+ data: z.ZodOptional<z.ZodObject<{
2924
+ viewMode: z.ZodString;
2925
+ }, z.core.$strip>>;
2926
+ integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
2151
2927
  message: z.ZodNullable<z.ZodString>;
2152
2928
  id: z.ZodString;
2929
+ name: z.ZodString;
2153
2930
  status: z.ZodEnum<{
2931
+ provisioning: "provisioning";
2154
2932
  active: "active";
2155
2933
  failed: "failed";
2156
2934
  waiting_for_user: "waiting_for_user";
@@ -2169,10 +2947,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2169
2947
  createdAt: z.ZodString;
2170
2948
  updatedAt: z.ZodString;
2171
2949
  connectionId: z.ZodNullable<z.ZodString>;
2172
- name: z.ZodString;
2173
2950
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2174
2951
  updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2175
2952
  status: z.ZodEnum<{
2953
+ provisioning: "provisioning";
2176
2954
  active: "active";
2177
2955
  failed: "failed";
2178
2956
  waiting_for_user: "waiting_for_user";
@@ -2192,7 +2970,9 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2192
2970
  integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
2193
2971
  message: z.ZodNullable<z.ZodString>;
2194
2972
  id: z.ZodString;
2973
+ name: z.ZodString;
2195
2974
  status: z.ZodEnum<{
2975
+ provisioning: "provisioning";
2196
2976
  active: "active";
2197
2977
  failed: "failed";
2198
2978
  waiting_for_user: "waiting_for_user";
@@ -2211,10 +2991,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2211
2991
  createdAt: z.ZodString;
2212
2992
  updatedAt: z.ZodString;
2213
2993
  connectionId: z.ZodNullable<z.ZodString>;
2214
- name: z.ZodString;
2215
2994
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2216
2995
  updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2217
2996
  status: z.ZodEnum<{
2997
+ provisioning: "provisioning";
2218
2998
  active: "active";
2219
2999
  failed: "failed";
2220
3000
  waiting_for_user: "waiting_for_user";
@@ -2233,7 +3013,9 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2233
3013
  integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
2234
3014
  message: z.ZodNullable<z.ZodString>;
2235
3015
  id: z.ZodString;
3016
+ name: z.ZodString;
2236
3017
  status: z.ZodEnum<{
3018
+ provisioning: "provisioning";
2237
3019
  active: "active";
2238
3020
  failed: "failed";
2239
3021
  waiting_for_user: "waiting_for_user";
@@ -2252,10 +3034,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2252
3034
  createdAt: z.ZodString;
2253
3035
  updatedAt: z.ZodString;
2254
3036
  connectionId: z.ZodNullable<z.ZodString>;
2255
- name: z.ZodString;
2256
3037
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2257
3038
  updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2258
3039
  status: z.ZodEnum<{
3040
+ provisioning: "provisioning";
2259
3041
  active: "active";
2260
3042
  failed: "failed";
2261
3043
  waiting_for_user: "waiting_for_user";
@@ -2274,7 +3056,9 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2274
3056
  integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
2275
3057
  message: z.ZodNullable<z.ZodString>;
2276
3058
  id: z.ZodString;
3059
+ name: z.ZodString;
2277
3060
  status: z.ZodEnum<{
3061
+ provisioning: "provisioning";
2278
3062
  active: "active";
2279
3063
  failed: "failed";
2280
3064
  waiting_for_user: "waiting_for_user";
@@ -2293,10 +3077,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2293
3077
  createdAt: z.ZodString;
2294
3078
  updatedAt: z.ZodString;
2295
3079
  connectionId: z.ZodNullable<z.ZodString>;
2296
- name: z.ZodString;
2297
3080
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2298
3081
  updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2299
3082
  status: z.ZodEnum<{
3083
+ provisioning: "provisioning";
2300
3084
  active: "active";
2301
3085
  failed: "failed";
2302
3086
  waiting_for_user: "waiting_for_user";
@@ -2320,7 +3104,9 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2320
3104
  integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
2321
3105
  message: z.ZodNullable<z.ZodString>;
2322
3106
  id: z.ZodString;
3107
+ name: z.ZodString;
2323
3108
  status: z.ZodEnum<{
3109
+ provisioning: "provisioning";
2324
3110
  active: "active";
2325
3111
  failed: "failed";
2326
3112
  waiting_for_user: "waiting_for_user";
@@ -2339,10 +3125,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2339
3125
  createdAt: z.ZodString;
2340
3126
  updatedAt: z.ZodString;
2341
3127
  connectionId: z.ZodNullable<z.ZodString>;
2342
- name: z.ZodString;
2343
3128
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2344
3129
  updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2345
3130
  status: z.ZodEnum<{
3131
+ provisioning: "provisioning";
2346
3132
  active: "active";
2347
3133
  failed: "failed";
2348
3134
  waiting_for_user: "waiting_for_user";
@@ -2376,6 +3162,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2376
3162
  glovo: "glovo";
2377
3163
  tilby: "tilby";
2378
3164
  cassa_in_cloud: "cassa_in_cloud";
3165
+ elephant: "elephant";
2379
3166
  }>>>>;
2380
3167
  externalCascadeDeleteOrder: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2381
3168
  internalCascadeDeleteOrder: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -2400,7 +3187,9 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2400
3187
  integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
2401
3188
  message: z.ZodNullable<z.ZodString>;
2402
3189
  id: z.ZodString;
3190
+ name: z.ZodString;
2403
3191
  status: z.ZodEnum<{
3192
+ provisioning: "provisioning";
2404
3193
  active: "active";
2405
3194
  failed: "failed";
2406
3195
  waiting_for_user: "waiting_for_user";
@@ -2419,10 +3208,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2419
3208
  createdAt: z.ZodString;
2420
3209
  updatedAt: z.ZodString;
2421
3210
  connectionId: z.ZodNullable<z.ZodString>;
2422
- name: z.ZodString;
2423
3211
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2424
3212
  updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2425
3213
  status: z.ZodEnum<{
3214
+ provisioning: "provisioning";
2426
3215
  active: "active";
2427
3216
  failed: "failed";
2428
3217
  waiting_for_user: "waiting_for_user";
@@ -2459,7 +3248,9 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2459
3248
  integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
2460
3249
  message: z.ZodNullable<z.ZodString>;
2461
3250
  id: z.ZodString;
3251
+ name: z.ZodString;
2462
3252
  status: z.ZodEnum<{
3253
+ provisioning: "provisioning";
2463
3254
  active: "active";
2464
3255
  failed: "failed";
2465
3256
  waiting_for_user: "waiting_for_user";
@@ -2478,10 +3269,377 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2478
3269
  createdAt: z.ZodString;
2479
3270
  updatedAt: z.ZodString;
2480
3271
  connectionId: z.ZodNullable<z.ZodString>;
3272
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3273
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3274
+ status: z.ZodEnum<{
3275
+ provisioning: "provisioning";
3276
+ active: "active";
3277
+ failed: "failed";
3278
+ waiting_for_user: "waiting_for_user";
3279
+ waiting_for_admin: "waiting_for_admin";
3280
+ request_sent_partner: "request_sent_partner";
3281
+ }>;
3282
+ message: z.ZodNullable<z.ZodString>;
3283
+ updatedAt: z.ZodString;
3284
+ }, z.core.$strip>>>>;
3285
+ }, z.core.$strip>, z.ZodObject<{
3286
+ service: z.ZodLiteral<"elephant">;
3287
+ data: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
3288
+ restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3289
+ name: z.ZodString;
3290
+ platformRestaurantId: z.ZodString;
3291
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
3292
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
3293
+ categoryId: z.ZodString;
3294
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
3295
+ channels: z.ZodArray<z.ZodEnum<{
3296
+ application: "application";
3297
+ ecommerce: "ecommerce";
3298
+ deliveroo: "deliveroo";
3299
+ justeat: "justeat";
3300
+ glovo: "glovo";
3301
+ tilby: "tilby";
3302
+ cassa_in_cloud: "cassa_in_cloud";
3303
+ elephant: "elephant";
3304
+ }>>;
3305
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
3306
+ delivery: "delivery";
3307
+ collection: "collection";
3308
+ kitchen: "kitchen";
3309
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
3310
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
3311
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
3312
+ platform: z.ZodLiteral<"migros_yemek">;
3313
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3314
+ secret_key: z.ZodString;
3315
+ x_api_key: z.ZodString;
3316
+ store_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
3317
+ store_group_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
3318
+ base_url: z.ZodOptional<z.ZodURL>;
3319
+ }, z.core.$strict>>>;
3320
+ }, z.core.$strip>, z.ZodObject<{
3321
+ name: z.ZodString;
3322
+ platformRestaurantId: z.ZodString;
3323
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
3324
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
3325
+ categoryId: z.ZodString;
3326
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
3327
+ channels: z.ZodArray<z.ZodEnum<{
3328
+ application: "application";
3329
+ ecommerce: "ecommerce";
3330
+ deliveroo: "deliveroo";
3331
+ justeat: "justeat";
3332
+ glovo: "glovo";
3333
+ tilby: "tilby";
3334
+ cassa_in_cloud: "cassa_in_cloud";
3335
+ elephant: "elephant";
3336
+ }>>;
3337
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
3338
+ delivery: "delivery";
3339
+ collection: "collection";
3340
+ kitchen: "kitchen";
3341
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
3342
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
3343
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
3344
+ platform: z.ZodLiteral<"trendyol_go_meal">;
3345
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3346
+ api_key: z.ZodString;
3347
+ api_secret: z.ZodString;
3348
+ shop_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
3349
+ seller_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
3350
+ base_url: z.ZodOptional<z.ZodURL>;
3351
+ }, z.core.$strict>>>;
3352
+ }, z.core.$strip>, z.ZodObject<{
3353
+ name: z.ZodString;
3354
+ platformRestaurantId: z.ZodString;
3355
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
3356
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
3357
+ categoryId: z.ZodString;
3358
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
3359
+ channels: z.ZodArray<z.ZodEnum<{
3360
+ application: "application";
3361
+ ecommerce: "ecommerce";
3362
+ deliveroo: "deliveroo";
3363
+ justeat: "justeat";
3364
+ glovo: "glovo";
3365
+ tilby: "tilby";
3366
+ cassa_in_cloud: "cassa_in_cloud";
3367
+ elephant: "elephant";
3368
+ }>>;
3369
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
3370
+ delivery: "delivery";
3371
+ collection: "collection";
3372
+ kitchen: "kitchen";
3373
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
3374
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
3375
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
3376
+ platform: z.ZodLiteral<"fuudy">;
3377
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3378
+ app_secret_key: z.ZodString;
3379
+ rest_secret_key: z.ZodString;
3380
+ base_url: z.ZodOptional<z.ZodURL>;
3381
+ }, z.core.$strict>>>;
3382
+ }, z.core.$strip>, z.ZodObject<{
3383
+ name: z.ZodString;
3384
+ platformRestaurantId: z.ZodString;
3385
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
3386
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
3387
+ categoryId: z.ZodString;
3388
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
3389
+ channels: z.ZodArray<z.ZodEnum<{
3390
+ application: "application";
3391
+ ecommerce: "ecommerce";
3392
+ deliveroo: "deliveroo";
3393
+ justeat: "justeat";
3394
+ glovo: "glovo";
3395
+ tilby: "tilby";
3396
+ cassa_in_cloud: "cassa_in_cloud";
3397
+ elephant: "elephant";
3398
+ }>>;
3399
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
3400
+ delivery: "delivery";
3401
+ collection: "collection";
3402
+ kitchen: "kitchen";
3403
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
3404
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
3405
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
3406
+ platform: z.ZodLiteral<"getir">;
3407
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3408
+ app_secret_key: z.ZodString;
3409
+ restaurant_secret_key: z.ZodString;
3410
+ base_url: z.ZodOptional<z.ZodURL>;
3411
+ }, z.core.$strict>>>;
3412
+ }, z.core.$strip>, z.ZodObject<{
3413
+ name: z.ZodString;
3414
+ platformRestaurantId: z.ZodString;
3415
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
3416
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
3417
+ categoryId: z.ZodString;
3418
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
3419
+ channels: z.ZodArray<z.ZodEnum<{
3420
+ application: "application";
3421
+ ecommerce: "ecommerce";
3422
+ deliveroo: "deliveroo";
3423
+ justeat: "justeat";
3424
+ glovo: "glovo";
3425
+ tilby: "tilby";
3426
+ cassa_in_cloud: "cassa_in_cloud";
3427
+ elephant: "elephant";
3428
+ }>>;
3429
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
3430
+ delivery: "delivery";
3431
+ collection: "collection";
3432
+ kitchen: "kitchen";
3433
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
3434
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
3435
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
3436
+ platform: z.ZodLiteral<"yemeksepeti">;
3437
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3438
+ username: z.ZodString;
3439
+ password: z.ZodString;
3440
+ chain_code: z.ZodString;
3441
+ remote_id: z.ZodString;
3442
+ webhook_token: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
3443
+ base_url: z.ZodOptional<z.ZodURL>;
3444
+ }, z.core.$strict>>>;
3445
+ }, z.core.$strip>], "platform">>;
3446
+ credentialMode: z.ZodEnum<{
3447
+ managed: "managed";
3448
+ }>;
3449
+ }, z.core.$strip>, z.ZodObject<{
3450
+ restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3451
+ name: z.ZodString;
3452
+ platformRestaurantId: z.ZodString;
3453
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
3454
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
3455
+ categoryId: z.ZodString;
3456
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
3457
+ channels: z.ZodArray<z.ZodEnum<{
3458
+ application: "application";
3459
+ ecommerce: "ecommerce";
3460
+ deliveroo: "deliveroo";
3461
+ justeat: "justeat";
3462
+ glovo: "glovo";
3463
+ tilby: "tilby";
3464
+ cassa_in_cloud: "cassa_in_cloud";
3465
+ elephant: "elephant";
3466
+ }>>;
3467
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
3468
+ delivery: "delivery";
3469
+ collection: "collection";
3470
+ kitchen: "kitchen";
3471
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
3472
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
3473
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
3474
+ platform: z.ZodLiteral<"migros_yemek">;
3475
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3476
+ secret_key: z.ZodString;
3477
+ x_api_key: z.ZodString;
3478
+ store_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
3479
+ store_group_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
3480
+ base_url: z.ZodOptional<z.ZodURL>;
3481
+ }, z.core.$strict>>>;
3482
+ }, z.core.$strip>, z.ZodObject<{
3483
+ name: z.ZodString;
3484
+ platformRestaurantId: z.ZodString;
3485
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
3486
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
3487
+ categoryId: z.ZodString;
3488
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
3489
+ channels: z.ZodArray<z.ZodEnum<{
3490
+ application: "application";
3491
+ ecommerce: "ecommerce";
3492
+ deliveroo: "deliveroo";
3493
+ justeat: "justeat";
3494
+ glovo: "glovo";
3495
+ tilby: "tilby";
3496
+ cassa_in_cloud: "cassa_in_cloud";
3497
+ elephant: "elephant";
3498
+ }>>;
3499
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
3500
+ delivery: "delivery";
3501
+ collection: "collection";
3502
+ kitchen: "kitchen";
3503
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
3504
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
3505
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
3506
+ platform: z.ZodLiteral<"trendyol_go_meal">;
3507
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3508
+ api_key: z.ZodString;
3509
+ api_secret: z.ZodString;
3510
+ shop_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
3511
+ seller_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
3512
+ base_url: z.ZodOptional<z.ZodURL>;
3513
+ }, z.core.$strict>>>;
3514
+ }, z.core.$strip>, z.ZodObject<{
3515
+ name: z.ZodString;
3516
+ platformRestaurantId: z.ZodString;
3517
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
3518
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
3519
+ categoryId: z.ZodString;
3520
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
3521
+ channels: z.ZodArray<z.ZodEnum<{
3522
+ application: "application";
3523
+ ecommerce: "ecommerce";
3524
+ deliveroo: "deliveroo";
3525
+ justeat: "justeat";
3526
+ glovo: "glovo";
3527
+ tilby: "tilby";
3528
+ cassa_in_cloud: "cassa_in_cloud";
3529
+ elephant: "elephant";
3530
+ }>>;
3531
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
3532
+ delivery: "delivery";
3533
+ collection: "collection";
3534
+ kitchen: "kitchen";
3535
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
3536
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
3537
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
3538
+ platform: z.ZodLiteral<"fuudy">;
3539
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3540
+ app_secret_key: z.ZodString;
3541
+ rest_secret_key: z.ZodString;
3542
+ base_url: z.ZodOptional<z.ZodURL>;
3543
+ }, z.core.$strict>>>;
3544
+ }, z.core.$strip>, z.ZodObject<{
3545
+ name: z.ZodString;
3546
+ platformRestaurantId: z.ZodString;
3547
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
3548
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
3549
+ categoryId: z.ZodString;
3550
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
3551
+ channels: z.ZodArray<z.ZodEnum<{
3552
+ application: "application";
3553
+ ecommerce: "ecommerce";
3554
+ deliveroo: "deliveroo";
3555
+ justeat: "justeat";
3556
+ glovo: "glovo";
3557
+ tilby: "tilby";
3558
+ cassa_in_cloud: "cassa_in_cloud";
3559
+ elephant: "elephant";
3560
+ }>>;
3561
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
3562
+ delivery: "delivery";
3563
+ collection: "collection";
3564
+ kitchen: "kitchen";
3565
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
3566
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
3567
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
3568
+ platform: z.ZodLiteral<"getir">;
3569
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3570
+ app_secret_key: z.ZodString;
3571
+ restaurant_secret_key: z.ZodString;
3572
+ base_url: z.ZodOptional<z.ZodURL>;
3573
+ }, z.core.$strict>>>;
3574
+ }, z.core.$strip>, z.ZodObject<{
3575
+ name: z.ZodString;
3576
+ platformRestaurantId: z.ZodString;
3577
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
3578
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
3579
+ categoryId: z.ZodString;
3580
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
3581
+ channels: z.ZodArray<z.ZodEnum<{
3582
+ application: "application";
3583
+ ecommerce: "ecommerce";
3584
+ deliveroo: "deliveroo";
3585
+ justeat: "justeat";
3586
+ glovo: "glovo";
3587
+ tilby: "tilby";
3588
+ cassa_in_cloud: "cassa_in_cloud";
3589
+ elephant: "elephant";
3590
+ }>>;
3591
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
3592
+ delivery: "delivery";
3593
+ collection: "collection";
3594
+ kitchen: "kitchen";
3595
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
3596
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
3597
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
3598
+ platform: z.ZodLiteral<"yemeksepeti">;
3599
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3600
+ username: z.ZodString;
3601
+ password: z.ZodString;
3602
+ chain_code: z.ZodString;
3603
+ remote_id: z.ZodString;
3604
+ webhook_token: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
3605
+ base_url: z.ZodOptional<z.ZodURL>;
3606
+ }, z.core.$strict>>>;
3607
+ }, z.core.$strip>], "platform">>;
3608
+ credentialMode: z.ZodEnum<{
3609
+ provided: "provided";
3610
+ }>;
3611
+ tenantId: z.ZodString;
3612
+ appId: z.ZodString;
3613
+ personalAccessToken: z.ZodString;
3614
+ }, z.core.$strip>], "credentialMode">>;
3615
+ integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
3616
+ message: z.ZodNullable<z.ZodString>;
3617
+ id: z.ZodString;
2481
3618
  name: z.ZodString;
3619
+ status: z.ZodEnum<{
3620
+ provisioning: "provisioning";
3621
+ active: "active";
3622
+ failed: "failed";
3623
+ waiting_for_user: "waiting_for_user";
3624
+ waiting_for_admin: "waiting_for_admin";
3625
+ request_sent_partner: "request_sent_partner";
3626
+ }>;
3627
+ healthStatus: z.ZodEnum<{
3628
+ success: "success";
3629
+ error: "error";
3630
+ waiting: "waiting";
3631
+ }>;
3632
+ provider: z.ZodEnum<{
3633
+ cassa_in_cloud: "cassa_in_cloud";
3634
+ deliverart: "deliverart";
3635
+ }>;
3636
+ createdAt: z.ZodString;
3637
+ updatedAt: z.ZodString;
3638
+ connectionId: z.ZodNullable<z.ZodString>;
2482
3639
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2483
3640
  updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2484
3641
  status: z.ZodEnum<{
3642
+ provisioning: "provisioning";
2485
3643
  active: "active";
2486
3644
  failed: "failed";
2487
3645
  waiting_for_user: "waiting_for_user";
@@ -2524,12 +3682,14 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2524
3682
  completed: "completed";
2525
3683
  }>>]>>;
2526
3684
  'integrations.status': z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
3685
+ provisioning: "provisioning";
2527
3686
  active: "active";
2528
3687
  failed: "failed";
2529
3688
  waiting_for_user: "waiting_for_user";
2530
3689
  waiting_for_admin: "waiting_for_admin";
2531
3690
  request_sent_partner: "request_sent_partner";
2532
3691
  }>, z.ZodArray<z.ZodEnum<{
3692
+ provisioning: "provisioning";
2533
3693
  active: "active";
2534
3694
  failed: "failed";
2535
3695
  waiting_for_user: "waiting_for_user";
@@ -2552,6 +3712,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2552
3712
  glovo: "glovo";
2553
3713
  tilby: "tilby";
2554
3714
  cassa_in_cloud: "cassa_in_cloud";
3715
+ elephant: "elephant";
2555
3716
  kitchen: "kitchen";
2556
3717
  }>, z.ZodArray<z.ZodEnum<{
2557
3718
  ecommerce: "ecommerce";
@@ -2560,6 +3721,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2560
3721
  glovo: "glovo";
2561
3722
  tilby: "tilby";
2562
3723
  cassa_in_cloud: "cassa_in_cloud";
3724
+ elephant: "elephant";
2563
3725
  kitchen: "kitchen";
2564
3726
  }>>]>>;
2565
3727
  uncompletedSteps: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -2696,7 +3858,9 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2696
3858
  integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
2697
3859
  message: z.ZodNullable<z.ZodString>;
2698
3860
  id: z.ZodString;
3861
+ name: z.ZodString;
2699
3862
  status: z.ZodEnum<{
3863
+ provisioning: "provisioning";
2700
3864
  active: "active";
2701
3865
  failed: "failed";
2702
3866
  waiting_for_user: "waiting_for_user";
@@ -2715,10 +3879,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2715
3879
  createdAt: z.ZodString;
2716
3880
  updatedAt: z.ZodString;
2717
3881
  connectionId: z.ZodNullable<z.ZodString>;
2718
- name: z.ZodString;
2719
3882
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2720
3883
  updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2721
3884
  status: z.ZodEnum<{
3885
+ provisioning: "provisioning";
2722
3886
  active: "active";
2723
3887
  failed: "failed";
2724
3888
  waiting_for_user: "waiting_for_user";
@@ -2738,7 +3902,9 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2738
3902
  integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
2739
3903
  message: z.ZodNullable<z.ZodString>;
2740
3904
  id: z.ZodString;
3905
+ name: z.ZodString;
2741
3906
  status: z.ZodEnum<{
3907
+ provisioning: "provisioning";
2742
3908
  active: "active";
2743
3909
  failed: "failed";
2744
3910
  waiting_for_user: "waiting_for_user";
@@ -2757,10 +3923,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2757
3923
  createdAt: z.ZodString;
2758
3924
  updatedAt: z.ZodString;
2759
3925
  connectionId: z.ZodNullable<z.ZodString>;
2760
- name: z.ZodString;
2761
3926
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2762
3927
  updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2763
3928
  status: z.ZodEnum<{
3929
+ provisioning: "provisioning";
2764
3930
  active: "active";
2765
3931
  failed: "failed";
2766
3932
  waiting_for_user: "waiting_for_user";
@@ -2779,7 +3945,9 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2779
3945
  integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
2780
3946
  message: z.ZodNullable<z.ZodString>;
2781
3947
  id: z.ZodString;
3948
+ name: z.ZodString;
2782
3949
  status: z.ZodEnum<{
3950
+ provisioning: "provisioning";
2783
3951
  active: "active";
2784
3952
  failed: "failed";
2785
3953
  waiting_for_user: "waiting_for_user";
@@ -2798,10 +3966,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2798
3966
  createdAt: z.ZodString;
2799
3967
  updatedAt: z.ZodString;
2800
3968
  connectionId: z.ZodNullable<z.ZodString>;
2801
- name: z.ZodString;
2802
3969
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2803
3970
  updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2804
3971
  status: z.ZodEnum<{
3972
+ provisioning: "provisioning";
2805
3973
  active: "active";
2806
3974
  failed: "failed";
2807
3975
  waiting_for_user: "waiting_for_user";
@@ -2820,7 +3988,9 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2820
3988
  integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
2821
3989
  message: z.ZodNullable<z.ZodString>;
2822
3990
  id: z.ZodString;
3991
+ name: z.ZodString;
2823
3992
  status: z.ZodEnum<{
3993
+ provisioning: "provisioning";
2824
3994
  active: "active";
2825
3995
  failed: "failed";
2826
3996
  waiting_for_user: "waiting_for_user";
@@ -2839,10 +4009,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2839
4009
  createdAt: z.ZodString;
2840
4010
  updatedAt: z.ZodString;
2841
4011
  connectionId: z.ZodNullable<z.ZodString>;
2842
- name: z.ZodString;
2843
4012
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2844
4013
  updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2845
4014
  status: z.ZodEnum<{
4015
+ provisioning: "provisioning";
2846
4016
  active: "active";
2847
4017
  failed: "failed";
2848
4018
  waiting_for_user: "waiting_for_user";
@@ -2866,7 +4036,9 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2866
4036
  integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
2867
4037
  message: z.ZodNullable<z.ZodString>;
2868
4038
  id: z.ZodString;
4039
+ name: z.ZodString;
2869
4040
  status: z.ZodEnum<{
4041
+ provisioning: "provisioning";
2870
4042
  active: "active";
2871
4043
  failed: "failed";
2872
4044
  waiting_for_user: "waiting_for_user";
@@ -2885,10 +4057,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2885
4057
  createdAt: z.ZodString;
2886
4058
  updatedAt: z.ZodString;
2887
4059
  connectionId: z.ZodNullable<z.ZodString>;
2888
- name: z.ZodString;
2889
4060
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2890
4061
  updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2891
4062
  status: z.ZodEnum<{
4063
+ provisioning: "provisioning";
2892
4064
  active: "active";
2893
4065
  failed: "failed";
2894
4066
  waiting_for_user: "waiting_for_user";
@@ -2922,6 +4094,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2922
4094
  glovo: "glovo";
2923
4095
  tilby: "tilby";
2924
4096
  cassa_in_cloud: "cassa_in_cloud";
4097
+ elephant: "elephant";
2925
4098
  }>>>>;
2926
4099
  externalCascadeDeleteOrder: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2927
4100
  internalCascadeDeleteOrder: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -2946,7 +4119,9 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2946
4119
  integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
2947
4120
  message: z.ZodNullable<z.ZodString>;
2948
4121
  id: z.ZodString;
4122
+ name: z.ZodString;
2949
4123
  status: z.ZodEnum<{
4124
+ provisioning: "provisioning";
2950
4125
  active: "active";
2951
4126
  failed: "failed";
2952
4127
  waiting_for_user: "waiting_for_user";
@@ -2965,10 +4140,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2965
4140
  createdAt: z.ZodString;
2966
4141
  updatedAt: z.ZodString;
2967
4142
  connectionId: z.ZodNullable<z.ZodString>;
2968
- name: z.ZodString;
2969
4143
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2970
4144
  updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2971
4145
  status: z.ZodEnum<{
4146
+ provisioning: "provisioning";
2972
4147
  active: "active";
2973
4148
  failed: "failed";
2974
4149
  waiting_for_user: "waiting_for_user";
@@ -3005,7 +4180,9 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
3005
4180
  integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
3006
4181
  message: z.ZodNullable<z.ZodString>;
3007
4182
  id: z.ZodString;
4183
+ name: z.ZodString;
3008
4184
  status: z.ZodEnum<{
4185
+ provisioning: "provisioning";
3009
4186
  active: "active";
3010
4187
  failed: "failed";
3011
4188
  waiting_for_user: "waiting_for_user";
@@ -3024,10 +4201,377 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
3024
4201
  createdAt: z.ZodString;
3025
4202
  updatedAt: z.ZodString;
3026
4203
  connectionId: z.ZodNullable<z.ZodString>;
4204
+ internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4205
+ updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
4206
+ status: z.ZodEnum<{
4207
+ provisioning: "provisioning";
4208
+ active: "active";
4209
+ failed: "failed";
4210
+ waiting_for_user: "waiting_for_user";
4211
+ waiting_for_admin: "waiting_for_admin";
4212
+ request_sent_partner: "request_sent_partner";
4213
+ }>;
4214
+ message: z.ZodNullable<z.ZodString>;
4215
+ updatedAt: z.ZodString;
4216
+ }, z.core.$strip>>>>;
4217
+ }, z.core.$strip>, z.ZodObject<{
4218
+ service: z.ZodLiteral<"elephant">;
4219
+ data: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
4220
+ restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4221
+ name: z.ZodString;
4222
+ platformRestaurantId: z.ZodString;
4223
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
4224
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
4225
+ categoryId: z.ZodString;
4226
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
4227
+ channels: z.ZodArray<z.ZodEnum<{
4228
+ application: "application";
4229
+ ecommerce: "ecommerce";
4230
+ deliveroo: "deliveroo";
4231
+ justeat: "justeat";
4232
+ glovo: "glovo";
4233
+ tilby: "tilby";
4234
+ cassa_in_cloud: "cassa_in_cloud";
4235
+ elephant: "elephant";
4236
+ }>>;
4237
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
4238
+ delivery: "delivery";
4239
+ collection: "collection";
4240
+ kitchen: "kitchen";
4241
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
4242
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
4243
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
4244
+ platform: z.ZodLiteral<"migros_yemek">;
4245
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4246
+ secret_key: z.ZodString;
4247
+ x_api_key: z.ZodString;
4248
+ store_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
4249
+ store_group_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
4250
+ base_url: z.ZodOptional<z.ZodURL>;
4251
+ }, z.core.$strict>>>;
4252
+ }, z.core.$strip>, z.ZodObject<{
4253
+ name: z.ZodString;
4254
+ platformRestaurantId: z.ZodString;
4255
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
4256
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
4257
+ categoryId: z.ZodString;
4258
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
4259
+ channels: z.ZodArray<z.ZodEnum<{
4260
+ application: "application";
4261
+ ecommerce: "ecommerce";
4262
+ deliveroo: "deliveroo";
4263
+ justeat: "justeat";
4264
+ glovo: "glovo";
4265
+ tilby: "tilby";
4266
+ cassa_in_cloud: "cassa_in_cloud";
4267
+ elephant: "elephant";
4268
+ }>>;
4269
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
4270
+ delivery: "delivery";
4271
+ collection: "collection";
4272
+ kitchen: "kitchen";
4273
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
4274
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
4275
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
4276
+ platform: z.ZodLiteral<"trendyol_go_meal">;
4277
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4278
+ api_key: z.ZodString;
4279
+ api_secret: z.ZodString;
4280
+ shop_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
4281
+ seller_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
4282
+ base_url: z.ZodOptional<z.ZodURL>;
4283
+ }, z.core.$strict>>>;
4284
+ }, z.core.$strip>, z.ZodObject<{
4285
+ name: z.ZodString;
4286
+ platformRestaurantId: z.ZodString;
4287
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
4288
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
4289
+ categoryId: z.ZodString;
4290
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
4291
+ channels: z.ZodArray<z.ZodEnum<{
4292
+ application: "application";
4293
+ ecommerce: "ecommerce";
4294
+ deliveroo: "deliveroo";
4295
+ justeat: "justeat";
4296
+ glovo: "glovo";
4297
+ tilby: "tilby";
4298
+ cassa_in_cloud: "cassa_in_cloud";
4299
+ elephant: "elephant";
4300
+ }>>;
4301
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
4302
+ delivery: "delivery";
4303
+ collection: "collection";
4304
+ kitchen: "kitchen";
4305
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
4306
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
4307
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
4308
+ platform: z.ZodLiteral<"fuudy">;
4309
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4310
+ app_secret_key: z.ZodString;
4311
+ rest_secret_key: z.ZodString;
4312
+ base_url: z.ZodOptional<z.ZodURL>;
4313
+ }, z.core.$strict>>>;
4314
+ }, z.core.$strip>, z.ZodObject<{
4315
+ name: z.ZodString;
4316
+ platformRestaurantId: z.ZodString;
4317
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
4318
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
4319
+ categoryId: z.ZodString;
4320
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
4321
+ channels: z.ZodArray<z.ZodEnum<{
4322
+ application: "application";
4323
+ ecommerce: "ecommerce";
4324
+ deliveroo: "deliveroo";
4325
+ justeat: "justeat";
4326
+ glovo: "glovo";
4327
+ tilby: "tilby";
4328
+ cassa_in_cloud: "cassa_in_cloud";
4329
+ elephant: "elephant";
4330
+ }>>;
4331
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
4332
+ delivery: "delivery";
4333
+ collection: "collection";
4334
+ kitchen: "kitchen";
4335
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
4336
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
4337
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
4338
+ platform: z.ZodLiteral<"getir">;
4339
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4340
+ app_secret_key: z.ZodString;
4341
+ restaurant_secret_key: z.ZodString;
4342
+ base_url: z.ZodOptional<z.ZodURL>;
4343
+ }, z.core.$strict>>>;
4344
+ }, z.core.$strip>, z.ZodObject<{
4345
+ name: z.ZodString;
4346
+ platformRestaurantId: z.ZodString;
4347
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
4348
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
4349
+ categoryId: z.ZodString;
4350
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
4351
+ channels: z.ZodArray<z.ZodEnum<{
4352
+ application: "application";
4353
+ ecommerce: "ecommerce";
4354
+ deliveroo: "deliveroo";
4355
+ justeat: "justeat";
4356
+ glovo: "glovo";
4357
+ tilby: "tilby";
4358
+ cassa_in_cloud: "cassa_in_cloud";
4359
+ elephant: "elephant";
4360
+ }>>;
4361
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
4362
+ delivery: "delivery";
4363
+ collection: "collection";
4364
+ kitchen: "kitchen";
4365
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
4366
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
4367
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
4368
+ platform: z.ZodLiteral<"yemeksepeti">;
4369
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4370
+ username: z.ZodString;
4371
+ password: z.ZodString;
4372
+ chain_code: z.ZodString;
4373
+ remote_id: z.ZodString;
4374
+ webhook_token: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
4375
+ base_url: z.ZodOptional<z.ZodURL>;
4376
+ }, z.core.$strict>>>;
4377
+ }, z.core.$strip>], "platform">>;
4378
+ credentialMode: z.ZodEnum<{
4379
+ managed: "managed";
4380
+ }>;
4381
+ }, z.core.$strip>, z.ZodObject<{
4382
+ restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4383
+ name: z.ZodString;
4384
+ platformRestaurantId: z.ZodString;
4385
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
4386
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
4387
+ categoryId: z.ZodString;
4388
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
4389
+ channels: z.ZodArray<z.ZodEnum<{
4390
+ application: "application";
4391
+ ecommerce: "ecommerce";
4392
+ deliveroo: "deliveroo";
4393
+ justeat: "justeat";
4394
+ glovo: "glovo";
4395
+ tilby: "tilby";
4396
+ cassa_in_cloud: "cassa_in_cloud";
4397
+ elephant: "elephant";
4398
+ }>>;
4399
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
4400
+ delivery: "delivery";
4401
+ collection: "collection";
4402
+ kitchen: "kitchen";
4403
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
4404
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
4405
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
4406
+ platform: z.ZodLiteral<"migros_yemek">;
4407
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4408
+ secret_key: z.ZodString;
4409
+ x_api_key: z.ZodString;
4410
+ store_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
4411
+ store_group_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
4412
+ base_url: z.ZodOptional<z.ZodURL>;
4413
+ }, z.core.$strict>>>;
4414
+ }, z.core.$strip>, z.ZodObject<{
4415
+ name: z.ZodString;
4416
+ platformRestaurantId: z.ZodString;
4417
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
4418
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
4419
+ categoryId: z.ZodString;
4420
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
4421
+ channels: z.ZodArray<z.ZodEnum<{
4422
+ application: "application";
4423
+ ecommerce: "ecommerce";
4424
+ deliveroo: "deliveroo";
4425
+ justeat: "justeat";
4426
+ glovo: "glovo";
4427
+ tilby: "tilby";
4428
+ cassa_in_cloud: "cassa_in_cloud";
4429
+ elephant: "elephant";
4430
+ }>>;
4431
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
4432
+ delivery: "delivery";
4433
+ collection: "collection";
4434
+ kitchen: "kitchen";
4435
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
4436
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
4437
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
4438
+ platform: z.ZodLiteral<"trendyol_go_meal">;
4439
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4440
+ api_key: z.ZodString;
4441
+ api_secret: z.ZodString;
4442
+ shop_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
4443
+ seller_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
4444
+ base_url: z.ZodOptional<z.ZodURL>;
4445
+ }, z.core.$strict>>>;
4446
+ }, z.core.$strip>, z.ZodObject<{
4447
+ name: z.ZodString;
4448
+ platformRestaurantId: z.ZodString;
4449
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
4450
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
4451
+ categoryId: z.ZodString;
4452
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
4453
+ channels: z.ZodArray<z.ZodEnum<{
4454
+ application: "application";
4455
+ ecommerce: "ecommerce";
4456
+ deliveroo: "deliveroo";
4457
+ justeat: "justeat";
4458
+ glovo: "glovo";
4459
+ tilby: "tilby";
4460
+ cassa_in_cloud: "cassa_in_cloud";
4461
+ elephant: "elephant";
4462
+ }>>;
4463
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
4464
+ delivery: "delivery";
4465
+ collection: "collection";
4466
+ kitchen: "kitchen";
4467
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
4468
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
4469
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
4470
+ platform: z.ZodLiteral<"fuudy">;
4471
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4472
+ app_secret_key: z.ZodString;
4473
+ rest_secret_key: z.ZodString;
4474
+ base_url: z.ZodOptional<z.ZodURL>;
4475
+ }, z.core.$strict>>>;
4476
+ }, z.core.$strip>, z.ZodObject<{
4477
+ name: z.ZodString;
4478
+ platformRestaurantId: z.ZodString;
4479
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
4480
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
4481
+ categoryId: z.ZodString;
4482
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
4483
+ channels: z.ZodArray<z.ZodEnum<{
4484
+ application: "application";
4485
+ ecommerce: "ecommerce";
4486
+ deliveroo: "deliveroo";
4487
+ justeat: "justeat";
4488
+ glovo: "glovo";
4489
+ tilby: "tilby";
4490
+ cassa_in_cloud: "cassa_in_cloud";
4491
+ elephant: "elephant";
4492
+ }>>;
4493
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
4494
+ delivery: "delivery";
4495
+ collection: "collection";
4496
+ kitchen: "kitchen";
4497
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
4498
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
4499
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
4500
+ platform: z.ZodLiteral<"getir">;
4501
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4502
+ app_secret_key: z.ZodString;
4503
+ restaurant_secret_key: z.ZodString;
4504
+ base_url: z.ZodOptional<z.ZodURL>;
4505
+ }, z.core.$strict>>>;
4506
+ }, z.core.$strip>, z.ZodObject<{
4507
+ name: z.ZodString;
4508
+ platformRestaurantId: z.ZodString;
4509
+ platformChainId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
4510
+ salesModeId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
4511
+ categoryId: z.ZodString;
4512
+ defaultTaxRate: z.ZodCoercedNumber<unknown>;
4513
+ channels: z.ZodArray<z.ZodEnum<{
4514
+ application: "application";
4515
+ ecommerce: "ecommerce";
4516
+ deliveroo: "deliveroo";
4517
+ justeat: "justeat";
4518
+ glovo: "glovo";
4519
+ tilby: "tilby";
4520
+ cassa_in_cloud: "cassa_in_cloud";
4521
+ elephant: "elephant";
4522
+ }>>;
4523
+ orderType: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
4524
+ delivery: "delivery";
4525
+ collection: "collection";
4526
+ kitchen: "kitchen";
4527
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"kitchen" | "delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">> & z.ZodType<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away", z.core.$ZodTypeInternals<"delivery" | "collection", "kitchen" | "delivery" | "collection" | "take_away">>;
4528
+ defaultPreparationTime: z.ZodCoercedNumber<unknown>;
4529
+ acceptanceTimeout: z.ZodCoercedNumber<unknown>;
4530
+ platform: z.ZodLiteral<"yemeksepeti">;
4531
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4532
+ username: z.ZodString;
4533
+ password: z.ZodString;
4534
+ chain_code: z.ZodString;
4535
+ remote_id: z.ZodString;
4536
+ webhook_token: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
4537
+ base_url: z.ZodOptional<z.ZodURL>;
4538
+ }, z.core.$strict>>>;
4539
+ }, z.core.$strip>], "platform">>;
4540
+ credentialMode: z.ZodEnum<{
4541
+ provided: "provided";
4542
+ }>;
4543
+ tenantId: z.ZodString;
4544
+ appId: z.ZodString;
4545
+ personalAccessToken: z.ZodString;
4546
+ }, z.core.$strip>], "credentialMode">>;
4547
+ integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
4548
+ message: z.ZodNullable<z.ZodString>;
4549
+ id: z.ZodString;
3027
4550
  name: z.ZodString;
4551
+ status: z.ZodEnum<{
4552
+ provisioning: "provisioning";
4553
+ active: "active";
4554
+ failed: "failed";
4555
+ waiting_for_user: "waiting_for_user";
4556
+ waiting_for_admin: "waiting_for_admin";
4557
+ request_sent_partner: "request_sent_partner";
4558
+ }>;
4559
+ healthStatus: z.ZodEnum<{
4560
+ success: "success";
4561
+ error: "error";
4562
+ waiting: "waiting";
4563
+ }>;
4564
+ provider: z.ZodEnum<{
4565
+ cassa_in_cloud: "cassa_in_cloud";
4566
+ deliverart: "deliverart";
4567
+ }>;
4568
+ createdAt: z.ZodString;
4569
+ updatedAt: z.ZodString;
4570
+ connectionId: z.ZodNullable<z.ZodString>;
3028
4571
  internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3029
4572
  updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3030
4573
  status: z.ZodEnum<{
4574
+ provisioning: "provisioning";
3031
4575
  active: "active";
3032
4576
  failed: "failed";
3033
4577
  waiting_for_user: "waiting_for_user";