@deliverart/sdk-js-lead 3.0.3 → 3.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +184 -24
- package/dist/index.d.ts +184 -24
- package/package.json +7 -7
package/dist/index.d.cts
CHANGED
|
@@ -596,10 +596,14 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
596
596
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
597
597
|
platform: z.ZodLiteral<"migros_yemek">;
|
|
598
598
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
599
|
-
secret_key: z.ZodString
|
|
599
|
+
secret_key: z.ZodOptional<z.ZodString>;
|
|
600
600
|
x_api_key: z.ZodString;
|
|
601
601
|
store_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
602
602
|
store_group_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
603
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
604
|
+
production: "production";
|
|
605
|
+
test: "test";
|
|
606
|
+
}>>;
|
|
603
607
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
604
608
|
}, z.core.$strict>>>;
|
|
605
609
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -632,6 +636,10 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
632
636
|
api_secret: z.ZodString;
|
|
633
637
|
shop_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
634
638
|
seller_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
639
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
640
|
+
production: "production";
|
|
641
|
+
test: "test";
|
|
642
|
+
}>>;
|
|
635
643
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
636
644
|
}, z.core.$strict>>>;
|
|
637
645
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -662,6 +670,10 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
662
670
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
663
671
|
app_secret_key: z.ZodString;
|
|
664
672
|
rest_secret_key: z.ZodString;
|
|
673
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
674
|
+
production: "production";
|
|
675
|
+
test: "test";
|
|
676
|
+
}>>;
|
|
665
677
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
666
678
|
}, z.core.$strict>>>;
|
|
667
679
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -692,6 +704,10 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
692
704
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
693
705
|
app_secret_key: z.ZodString;
|
|
694
706
|
restaurant_secret_key: z.ZodString;
|
|
707
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
708
|
+
production: "production";
|
|
709
|
+
test: "test";
|
|
710
|
+
}>>;
|
|
695
711
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
696
712
|
}, z.core.$strict>>>;
|
|
697
713
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -720,11 +736,15 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
720
736
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
721
737
|
platform: z.ZodLiteral<"yemeksepeti">;
|
|
722
738
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
723
|
-
username: z.ZodString
|
|
724
|
-
password: z.ZodString
|
|
739
|
+
username: z.ZodOptional<z.ZodString>;
|
|
740
|
+
password: z.ZodOptional<z.ZodString>;
|
|
725
741
|
chain_code: z.ZodString;
|
|
726
742
|
remote_id: z.ZodString;
|
|
727
743
|
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
744
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
745
|
+
production: "production";
|
|
746
|
+
test: "test";
|
|
747
|
+
}>>;
|
|
728
748
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
729
749
|
}, z.core.$strict>>>;
|
|
730
750
|
}, z.core.$strip>], "platform">>;
|
|
@@ -758,10 +778,14 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
758
778
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
759
779
|
platform: z.ZodLiteral<"migros_yemek">;
|
|
760
780
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
761
|
-
secret_key: z.ZodString
|
|
781
|
+
secret_key: z.ZodOptional<z.ZodString>;
|
|
762
782
|
x_api_key: z.ZodString;
|
|
763
783
|
store_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
764
784
|
store_group_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
785
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
786
|
+
production: "production";
|
|
787
|
+
test: "test";
|
|
788
|
+
}>>;
|
|
765
789
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
766
790
|
}, z.core.$strict>>>;
|
|
767
791
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -794,6 +818,10 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
794
818
|
api_secret: z.ZodString;
|
|
795
819
|
shop_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
796
820
|
seller_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
821
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
822
|
+
production: "production";
|
|
823
|
+
test: "test";
|
|
824
|
+
}>>;
|
|
797
825
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
798
826
|
}, z.core.$strict>>>;
|
|
799
827
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -824,6 +852,10 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
824
852
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
825
853
|
app_secret_key: z.ZodString;
|
|
826
854
|
rest_secret_key: z.ZodString;
|
|
855
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
856
|
+
production: "production";
|
|
857
|
+
test: "test";
|
|
858
|
+
}>>;
|
|
827
859
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
828
860
|
}, z.core.$strict>>>;
|
|
829
861
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -854,6 +886,10 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
854
886
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
855
887
|
app_secret_key: z.ZodString;
|
|
856
888
|
restaurant_secret_key: z.ZodString;
|
|
889
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
890
|
+
production: "production";
|
|
891
|
+
test: "test";
|
|
892
|
+
}>>;
|
|
857
893
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
858
894
|
}, z.core.$strict>>>;
|
|
859
895
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -882,11 +918,15 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
882
918
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
883
919
|
platform: z.ZodLiteral<"yemeksepeti">;
|
|
884
920
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
885
|
-
username: z.ZodString
|
|
886
|
-
password: z.ZodString
|
|
921
|
+
username: z.ZodOptional<z.ZodString>;
|
|
922
|
+
password: z.ZodOptional<z.ZodString>;
|
|
887
923
|
chain_code: z.ZodString;
|
|
888
924
|
remote_id: z.ZodString;
|
|
889
925
|
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
926
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
927
|
+
production: "production";
|
|
928
|
+
test: "test";
|
|
929
|
+
}>>;
|
|
890
930
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
891
931
|
}, z.core.$strict>>>;
|
|
892
932
|
}, z.core.$strip>], "platform">>;
|
|
@@ -2631,10 +2671,14 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2631
2671
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
2632
2672
|
platform: z.ZodLiteral<"migros_yemek">;
|
|
2633
2673
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2634
|
-
secret_key: z.ZodString
|
|
2674
|
+
secret_key: z.ZodOptional<z.ZodString>;
|
|
2635
2675
|
x_api_key: z.ZodString;
|
|
2636
2676
|
store_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
2637
2677
|
store_group_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
2678
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
2679
|
+
production: "production";
|
|
2680
|
+
test: "test";
|
|
2681
|
+
}>>;
|
|
2638
2682
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
2639
2683
|
}, z.core.$strict>>>;
|
|
2640
2684
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2667,6 +2711,10 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2667
2711
|
api_secret: z.ZodString;
|
|
2668
2712
|
shop_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
2669
2713
|
seller_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
2714
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
2715
|
+
production: "production";
|
|
2716
|
+
test: "test";
|
|
2717
|
+
}>>;
|
|
2670
2718
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
2671
2719
|
}, z.core.$strict>>>;
|
|
2672
2720
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2697,6 +2745,10 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2697
2745
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2698
2746
|
app_secret_key: z.ZodString;
|
|
2699
2747
|
rest_secret_key: z.ZodString;
|
|
2748
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
2749
|
+
production: "production";
|
|
2750
|
+
test: "test";
|
|
2751
|
+
}>>;
|
|
2700
2752
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
2701
2753
|
}, z.core.$strict>>>;
|
|
2702
2754
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2727,6 +2779,10 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2727
2779
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2728
2780
|
app_secret_key: z.ZodString;
|
|
2729
2781
|
restaurant_secret_key: z.ZodString;
|
|
2782
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
2783
|
+
production: "production";
|
|
2784
|
+
test: "test";
|
|
2785
|
+
}>>;
|
|
2730
2786
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
2731
2787
|
}, z.core.$strict>>>;
|
|
2732
2788
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2755,11 +2811,15 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2755
2811
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
2756
2812
|
platform: z.ZodLiteral<"yemeksepeti">;
|
|
2757
2813
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2758
|
-
username: z.ZodString
|
|
2759
|
-
password: z.ZodString
|
|
2814
|
+
username: z.ZodOptional<z.ZodString>;
|
|
2815
|
+
password: z.ZodOptional<z.ZodString>;
|
|
2760
2816
|
chain_code: z.ZodString;
|
|
2761
2817
|
remote_id: z.ZodString;
|
|
2762
2818
|
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2819
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
2820
|
+
production: "production";
|
|
2821
|
+
test: "test";
|
|
2822
|
+
}>>;
|
|
2763
2823
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
2764
2824
|
}, z.core.$strict>>>;
|
|
2765
2825
|
}, z.core.$strip>], "platform">>;
|
|
@@ -2793,10 +2853,14 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2793
2853
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
2794
2854
|
platform: z.ZodLiteral<"migros_yemek">;
|
|
2795
2855
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2796
|
-
secret_key: z.ZodString
|
|
2856
|
+
secret_key: z.ZodOptional<z.ZodString>;
|
|
2797
2857
|
x_api_key: z.ZodString;
|
|
2798
2858
|
store_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
2799
2859
|
store_group_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
2860
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
2861
|
+
production: "production";
|
|
2862
|
+
test: "test";
|
|
2863
|
+
}>>;
|
|
2800
2864
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
2801
2865
|
}, z.core.$strict>>>;
|
|
2802
2866
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2829,6 +2893,10 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2829
2893
|
api_secret: z.ZodString;
|
|
2830
2894
|
shop_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
2831
2895
|
seller_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
2896
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
2897
|
+
production: "production";
|
|
2898
|
+
test: "test";
|
|
2899
|
+
}>>;
|
|
2832
2900
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
2833
2901
|
}, z.core.$strict>>>;
|
|
2834
2902
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2859,6 +2927,10 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2859
2927
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2860
2928
|
app_secret_key: z.ZodString;
|
|
2861
2929
|
rest_secret_key: z.ZodString;
|
|
2930
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
2931
|
+
production: "production";
|
|
2932
|
+
test: "test";
|
|
2933
|
+
}>>;
|
|
2862
2934
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
2863
2935
|
}, z.core.$strict>>>;
|
|
2864
2936
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2889,6 +2961,10 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2889
2961
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2890
2962
|
app_secret_key: z.ZodString;
|
|
2891
2963
|
restaurant_secret_key: z.ZodString;
|
|
2964
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
2965
|
+
production: "production";
|
|
2966
|
+
test: "test";
|
|
2967
|
+
}>>;
|
|
2892
2968
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
2893
2969
|
}, z.core.$strict>>>;
|
|
2894
2970
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2917,11 +2993,15 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2917
2993
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
2918
2994
|
platform: z.ZodLiteral<"yemeksepeti">;
|
|
2919
2995
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2920
|
-
username: z.ZodString
|
|
2921
|
-
password: z.ZodString
|
|
2996
|
+
username: z.ZodOptional<z.ZodString>;
|
|
2997
|
+
password: z.ZodOptional<z.ZodString>;
|
|
2922
2998
|
chain_code: z.ZodString;
|
|
2923
2999
|
remote_id: z.ZodString;
|
|
2924
3000
|
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3001
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
3002
|
+
production: "production";
|
|
3003
|
+
test: "test";
|
|
3004
|
+
}>>;
|
|
2925
3005
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
2926
3006
|
}, z.core.$strict>>>;
|
|
2927
3007
|
}, z.core.$strip>], "platform">>;
|
|
@@ -3471,10 +3551,14 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3471
3551
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
3472
3552
|
platform: z.ZodLiteral<"migros_yemek">;
|
|
3473
3553
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3474
|
-
secret_key: z.ZodString
|
|
3554
|
+
secret_key: z.ZodOptional<z.ZodString>;
|
|
3475
3555
|
x_api_key: z.ZodString;
|
|
3476
3556
|
store_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
3477
3557
|
store_group_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
3558
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
3559
|
+
production: "production";
|
|
3560
|
+
test: "test";
|
|
3561
|
+
}>>;
|
|
3478
3562
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
3479
3563
|
}, z.core.$strict>>>;
|
|
3480
3564
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3507,6 +3591,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3507
3591
|
api_secret: z.ZodString;
|
|
3508
3592
|
shop_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
3509
3593
|
seller_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
3594
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
3595
|
+
production: "production";
|
|
3596
|
+
test: "test";
|
|
3597
|
+
}>>;
|
|
3510
3598
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
3511
3599
|
}, z.core.$strict>>>;
|
|
3512
3600
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3537,6 +3625,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3537
3625
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3538
3626
|
app_secret_key: z.ZodString;
|
|
3539
3627
|
rest_secret_key: z.ZodString;
|
|
3628
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
3629
|
+
production: "production";
|
|
3630
|
+
test: "test";
|
|
3631
|
+
}>>;
|
|
3540
3632
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
3541
3633
|
}, z.core.$strict>>>;
|
|
3542
3634
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3567,6 +3659,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3567
3659
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3568
3660
|
app_secret_key: z.ZodString;
|
|
3569
3661
|
restaurant_secret_key: z.ZodString;
|
|
3662
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
3663
|
+
production: "production";
|
|
3664
|
+
test: "test";
|
|
3665
|
+
}>>;
|
|
3570
3666
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
3571
3667
|
}, z.core.$strict>>>;
|
|
3572
3668
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3595,11 +3691,15 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3595
3691
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
3596
3692
|
platform: z.ZodLiteral<"yemeksepeti">;
|
|
3597
3693
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3598
|
-
username: z.ZodString
|
|
3599
|
-
password: z.ZodString
|
|
3694
|
+
username: z.ZodOptional<z.ZodString>;
|
|
3695
|
+
password: z.ZodOptional<z.ZodString>;
|
|
3600
3696
|
chain_code: z.ZodString;
|
|
3601
3697
|
remote_id: z.ZodString;
|
|
3602
3698
|
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3699
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
3700
|
+
production: "production";
|
|
3701
|
+
test: "test";
|
|
3702
|
+
}>>;
|
|
3603
3703
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
3604
3704
|
}, z.core.$strict>>>;
|
|
3605
3705
|
}, z.core.$strip>], "platform">>;
|
|
@@ -3633,10 +3733,14 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3633
3733
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
3634
3734
|
platform: z.ZodLiteral<"migros_yemek">;
|
|
3635
3735
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3636
|
-
secret_key: z.ZodString
|
|
3736
|
+
secret_key: z.ZodOptional<z.ZodString>;
|
|
3637
3737
|
x_api_key: z.ZodString;
|
|
3638
3738
|
store_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
3639
3739
|
store_group_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
3740
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
3741
|
+
production: "production";
|
|
3742
|
+
test: "test";
|
|
3743
|
+
}>>;
|
|
3640
3744
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
3641
3745
|
}, z.core.$strict>>>;
|
|
3642
3746
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3669,6 +3773,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3669
3773
|
api_secret: z.ZodString;
|
|
3670
3774
|
shop_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
3671
3775
|
seller_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
3776
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
3777
|
+
production: "production";
|
|
3778
|
+
test: "test";
|
|
3779
|
+
}>>;
|
|
3672
3780
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
3673
3781
|
}, z.core.$strict>>>;
|
|
3674
3782
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3699,6 +3807,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3699
3807
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3700
3808
|
app_secret_key: z.ZodString;
|
|
3701
3809
|
rest_secret_key: z.ZodString;
|
|
3810
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
3811
|
+
production: "production";
|
|
3812
|
+
test: "test";
|
|
3813
|
+
}>>;
|
|
3702
3814
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
3703
3815
|
}, z.core.$strict>>>;
|
|
3704
3816
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3729,6 +3841,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3729
3841
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3730
3842
|
app_secret_key: z.ZodString;
|
|
3731
3843
|
restaurant_secret_key: z.ZodString;
|
|
3844
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
3845
|
+
production: "production";
|
|
3846
|
+
test: "test";
|
|
3847
|
+
}>>;
|
|
3732
3848
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
3733
3849
|
}, z.core.$strict>>>;
|
|
3734
3850
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3757,11 +3873,15 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3757
3873
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
3758
3874
|
platform: z.ZodLiteral<"yemeksepeti">;
|
|
3759
3875
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3760
|
-
username: z.ZodString
|
|
3761
|
-
password: z.ZodString
|
|
3876
|
+
username: z.ZodOptional<z.ZodString>;
|
|
3877
|
+
password: z.ZodOptional<z.ZodString>;
|
|
3762
3878
|
chain_code: z.ZodString;
|
|
3763
3879
|
remote_id: z.ZodString;
|
|
3764
3880
|
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3881
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
3882
|
+
production: "production";
|
|
3883
|
+
test: "test";
|
|
3884
|
+
}>>;
|
|
3765
3885
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
3766
3886
|
}, z.core.$strict>>>;
|
|
3767
3887
|
}, z.core.$strip>], "platform">>;
|
|
@@ -4435,10 +4555,14 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4435
4555
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
4436
4556
|
platform: z.ZodLiteral<"migros_yemek">;
|
|
4437
4557
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4438
|
-
secret_key: z.ZodString
|
|
4558
|
+
secret_key: z.ZodOptional<z.ZodString>;
|
|
4439
4559
|
x_api_key: z.ZodString;
|
|
4440
4560
|
store_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
4441
4561
|
store_group_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
4562
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
4563
|
+
production: "production";
|
|
4564
|
+
test: "test";
|
|
4565
|
+
}>>;
|
|
4442
4566
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
4443
4567
|
}, z.core.$strict>>>;
|
|
4444
4568
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4471,6 +4595,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4471
4595
|
api_secret: z.ZodString;
|
|
4472
4596
|
shop_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
4473
4597
|
seller_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
4598
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
4599
|
+
production: "production";
|
|
4600
|
+
test: "test";
|
|
4601
|
+
}>>;
|
|
4474
4602
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
4475
4603
|
}, z.core.$strict>>>;
|
|
4476
4604
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4501,6 +4629,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4501
4629
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4502
4630
|
app_secret_key: z.ZodString;
|
|
4503
4631
|
rest_secret_key: z.ZodString;
|
|
4632
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
4633
|
+
production: "production";
|
|
4634
|
+
test: "test";
|
|
4635
|
+
}>>;
|
|
4504
4636
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
4505
4637
|
}, z.core.$strict>>>;
|
|
4506
4638
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4531,6 +4663,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4531
4663
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4532
4664
|
app_secret_key: z.ZodString;
|
|
4533
4665
|
restaurant_secret_key: z.ZodString;
|
|
4666
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
4667
|
+
production: "production";
|
|
4668
|
+
test: "test";
|
|
4669
|
+
}>>;
|
|
4534
4670
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
4535
4671
|
}, z.core.$strict>>>;
|
|
4536
4672
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4559,11 +4695,15 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4559
4695
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
4560
4696
|
platform: z.ZodLiteral<"yemeksepeti">;
|
|
4561
4697
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4562
|
-
username: z.ZodString
|
|
4563
|
-
password: z.ZodString
|
|
4698
|
+
username: z.ZodOptional<z.ZodString>;
|
|
4699
|
+
password: z.ZodOptional<z.ZodString>;
|
|
4564
4700
|
chain_code: z.ZodString;
|
|
4565
4701
|
remote_id: z.ZodString;
|
|
4566
4702
|
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4703
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
4704
|
+
production: "production";
|
|
4705
|
+
test: "test";
|
|
4706
|
+
}>>;
|
|
4567
4707
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
4568
4708
|
}, z.core.$strict>>>;
|
|
4569
4709
|
}, z.core.$strip>], "platform">>;
|
|
@@ -4597,10 +4737,14 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4597
4737
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
4598
4738
|
platform: z.ZodLiteral<"migros_yemek">;
|
|
4599
4739
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4600
|
-
secret_key: z.ZodString
|
|
4740
|
+
secret_key: z.ZodOptional<z.ZodString>;
|
|
4601
4741
|
x_api_key: z.ZodString;
|
|
4602
4742
|
store_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
4603
4743
|
store_group_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
4744
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
4745
|
+
production: "production";
|
|
4746
|
+
test: "test";
|
|
4747
|
+
}>>;
|
|
4604
4748
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
4605
4749
|
}, z.core.$strict>>>;
|
|
4606
4750
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4633,6 +4777,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4633
4777
|
api_secret: z.ZodString;
|
|
4634
4778
|
shop_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
4635
4779
|
seller_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
4780
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
4781
|
+
production: "production";
|
|
4782
|
+
test: "test";
|
|
4783
|
+
}>>;
|
|
4636
4784
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
4637
4785
|
}, z.core.$strict>>>;
|
|
4638
4786
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4663,6 +4811,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4663
4811
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4664
4812
|
app_secret_key: z.ZodString;
|
|
4665
4813
|
rest_secret_key: z.ZodString;
|
|
4814
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
4815
|
+
production: "production";
|
|
4816
|
+
test: "test";
|
|
4817
|
+
}>>;
|
|
4666
4818
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
4667
4819
|
}, z.core.$strict>>>;
|
|
4668
4820
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4693,6 +4845,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4693
4845
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4694
4846
|
app_secret_key: z.ZodString;
|
|
4695
4847
|
restaurant_secret_key: z.ZodString;
|
|
4848
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
4849
|
+
production: "production";
|
|
4850
|
+
test: "test";
|
|
4851
|
+
}>>;
|
|
4696
4852
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
4697
4853
|
}, z.core.$strict>>>;
|
|
4698
4854
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4721,11 +4877,15 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4721
4877
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
4722
4878
|
platform: z.ZodLiteral<"yemeksepeti">;
|
|
4723
4879
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4724
|
-
username: z.ZodString
|
|
4725
|
-
password: z.ZodString
|
|
4880
|
+
username: z.ZodOptional<z.ZodString>;
|
|
4881
|
+
password: z.ZodOptional<z.ZodString>;
|
|
4726
4882
|
chain_code: z.ZodString;
|
|
4727
4883
|
remote_id: z.ZodString;
|
|
4728
4884
|
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4885
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
4886
|
+
production: "production";
|
|
4887
|
+
test: "test";
|
|
4888
|
+
}>>;
|
|
4729
4889
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
4730
4890
|
}, z.core.$strict>>>;
|
|
4731
4891
|
}, z.core.$strip>], "platform">>;
|
package/dist/index.d.ts
CHANGED
|
@@ -596,10 +596,14 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
596
596
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
597
597
|
platform: z.ZodLiteral<"migros_yemek">;
|
|
598
598
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
599
|
-
secret_key: z.ZodString
|
|
599
|
+
secret_key: z.ZodOptional<z.ZodString>;
|
|
600
600
|
x_api_key: z.ZodString;
|
|
601
601
|
store_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
602
602
|
store_group_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
603
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
604
|
+
production: "production";
|
|
605
|
+
test: "test";
|
|
606
|
+
}>>;
|
|
603
607
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
604
608
|
}, z.core.$strict>>>;
|
|
605
609
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -632,6 +636,10 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
632
636
|
api_secret: z.ZodString;
|
|
633
637
|
shop_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
634
638
|
seller_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
639
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
640
|
+
production: "production";
|
|
641
|
+
test: "test";
|
|
642
|
+
}>>;
|
|
635
643
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
636
644
|
}, z.core.$strict>>>;
|
|
637
645
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -662,6 +670,10 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
662
670
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
663
671
|
app_secret_key: z.ZodString;
|
|
664
672
|
rest_secret_key: z.ZodString;
|
|
673
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
674
|
+
production: "production";
|
|
675
|
+
test: "test";
|
|
676
|
+
}>>;
|
|
665
677
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
666
678
|
}, z.core.$strict>>>;
|
|
667
679
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -692,6 +704,10 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
692
704
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
693
705
|
app_secret_key: z.ZodString;
|
|
694
706
|
restaurant_secret_key: z.ZodString;
|
|
707
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
708
|
+
production: "production";
|
|
709
|
+
test: "test";
|
|
710
|
+
}>>;
|
|
695
711
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
696
712
|
}, z.core.$strict>>>;
|
|
697
713
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -720,11 +736,15 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
720
736
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
721
737
|
platform: z.ZodLiteral<"yemeksepeti">;
|
|
722
738
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
723
|
-
username: z.ZodString
|
|
724
|
-
password: z.ZodString
|
|
739
|
+
username: z.ZodOptional<z.ZodString>;
|
|
740
|
+
password: z.ZodOptional<z.ZodString>;
|
|
725
741
|
chain_code: z.ZodString;
|
|
726
742
|
remote_id: z.ZodString;
|
|
727
743
|
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
744
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
745
|
+
production: "production";
|
|
746
|
+
test: "test";
|
|
747
|
+
}>>;
|
|
728
748
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
729
749
|
}, z.core.$strict>>>;
|
|
730
750
|
}, z.core.$strip>], "platform">>;
|
|
@@ -758,10 +778,14 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
758
778
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
759
779
|
platform: z.ZodLiteral<"migros_yemek">;
|
|
760
780
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
761
|
-
secret_key: z.ZodString
|
|
781
|
+
secret_key: z.ZodOptional<z.ZodString>;
|
|
762
782
|
x_api_key: z.ZodString;
|
|
763
783
|
store_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
764
784
|
store_group_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
785
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
786
|
+
production: "production";
|
|
787
|
+
test: "test";
|
|
788
|
+
}>>;
|
|
765
789
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
766
790
|
}, z.core.$strict>>>;
|
|
767
791
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -794,6 +818,10 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
794
818
|
api_secret: z.ZodString;
|
|
795
819
|
shop_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
796
820
|
seller_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
821
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
822
|
+
production: "production";
|
|
823
|
+
test: "test";
|
|
824
|
+
}>>;
|
|
797
825
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
798
826
|
}, z.core.$strict>>>;
|
|
799
827
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -824,6 +852,10 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
824
852
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
825
853
|
app_secret_key: z.ZodString;
|
|
826
854
|
rest_secret_key: z.ZodString;
|
|
855
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
856
|
+
production: "production";
|
|
857
|
+
test: "test";
|
|
858
|
+
}>>;
|
|
827
859
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
828
860
|
}, z.core.$strict>>>;
|
|
829
861
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -854,6 +886,10 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
854
886
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
855
887
|
app_secret_key: z.ZodString;
|
|
856
888
|
restaurant_secret_key: z.ZodString;
|
|
889
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
890
|
+
production: "production";
|
|
891
|
+
test: "test";
|
|
892
|
+
}>>;
|
|
857
893
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
858
894
|
}, z.core.$strict>>>;
|
|
859
895
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -882,11 +918,15 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
882
918
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
883
919
|
platform: z.ZodLiteral<"yemeksepeti">;
|
|
884
920
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
885
|
-
username: z.ZodString
|
|
886
|
-
password: z.ZodString
|
|
921
|
+
username: z.ZodOptional<z.ZodString>;
|
|
922
|
+
password: z.ZodOptional<z.ZodString>;
|
|
887
923
|
chain_code: z.ZodString;
|
|
888
924
|
remote_id: z.ZodString;
|
|
889
925
|
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
926
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
927
|
+
production: "production";
|
|
928
|
+
test: "test";
|
|
929
|
+
}>>;
|
|
890
930
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
891
931
|
}, z.core.$strict>>>;
|
|
892
932
|
}, z.core.$strip>], "platform">>;
|
|
@@ -2631,10 +2671,14 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2631
2671
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
2632
2672
|
platform: z.ZodLiteral<"migros_yemek">;
|
|
2633
2673
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2634
|
-
secret_key: z.ZodString
|
|
2674
|
+
secret_key: z.ZodOptional<z.ZodString>;
|
|
2635
2675
|
x_api_key: z.ZodString;
|
|
2636
2676
|
store_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
2637
2677
|
store_group_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
2678
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
2679
|
+
production: "production";
|
|
2680
|
+
test: "test";
|
|
2681
|
+
}>>;
|
|
2638
2682
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
2639
2683
|
}, z.core.$strict>>>;
|
|
2640
2684
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2667,6 +2711,10 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2667
2711
|
api_secret: z.ZodString;
|
|
2668
2712
|
shop_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
2669
2713
|
seller_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
2714
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
2715
|
+
production: "production";
|
|
2716
|
+
test: "test";
|
|
2717
|
+
}>>;
|
|
2670
2718
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
2671
2719
|
}, z.core.$strict>>>;
|
|
2672
2720
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2697,6 +2745,10 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2697
2745
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2698
2746
|
app_secret_key: z.ZodString;
|
|
2699
2747
|
rest_secret_key: z.ZodString;
|
|
2748
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
2749
|
+
production: "production";
|
|
2750
|
+
test: "test";
|
|
2751
|
+
}>>;
|
|
2700
2752
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
2701
2753
|
}, z.core.$strict>>>;
|
|
2702
2754
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2727,6 +2779,10 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2727
2779
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2728
2780
|
app_secret_key: z.ZodString;
|
|
2729
2781
|
restaurant_secret_key: z.ZodString;
|
|
2782
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
2783
|
+
production: "production";
|
|
2784
|
+
test: "test";
|
|
2785
|
+
}>>;
|
|
2730
2786
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
2731
2787
|
}, z.core.$strict>>>;
|
|
2732
2788
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2755,11 +2811,15 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2755
2811
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
2756
2812
|
platform: z.ZodLiteral<"yemeksepeti">;
|
|
2757
2813
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2758
|
-
username: z.ZodString
|
|
2759
|
-
password: z.ZodString
|
|
2814
|
+
username: z.ZodOptional<z.ZodString>;
|
|
2815
|
+
password: z.ZodOptional<z.ZodString>;
|
|
2760
2816
|
chain_code: z.ZodString;
|
|
2761
2817
|
remote_id: z.ZodString;
|
|
2762
2818
|
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2819
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
2820
|
+
production: "production";
|
|
2821
|
+
test: "test";
|
|
2822
|
+
}>>;
|
|
2763
2823
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
2764
2824
|
}, z.core.$strict>>>;
|
|
2765
2825
|
}, z.core.$strip>], "platform">>;
|
|
@@ -2793,10 +2853,14 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2793
2853
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
2794
2854
|
platform: z.ZodLiteral<"migros_yemek">;
|
|
2795
2855
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2796
|
-
secret_key: z.ZodString
|
|
2856
|
+
secret_key: z.ZodOptional<z.ZodString>;
|
|
2797
2857
|
x_api_key: z.ZodString;
|
|
2798
2858
|
store_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
2799
2859
|
store_group_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
2860
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
2861
|
+
production: "production";
|
|
2862
|
+
test: "test";
|
|
2863
|
+
}>>;
|
|
2800
2864
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
2801
2865
|
}, z.core.$strict>>>;
|
|
2802
2866
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2829,6 +2893,10 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2829
2893
|
api_secret: z.ZodString;
|
|
2830
2894
|
shop_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
2831
2895
|
seller_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
2896
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
2897
|
+
production: "production";
|
|
2898
|
+
test: "test";
|
|
2899
|
+
}>>;
|
|
2832
2900
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
2833
2901
|
}, z.core.$strict>>>;
|
|
2834
2902
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2859,6 +2927,10 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2859
2927
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2860
2928
|
app_secret_key: z.ZodString;
|
|
2861
2929
|
rest_secret_key: z.ZodString;
|
|
2930
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
2931
|
+
production: "production";
|
|
2932
|
+
test: "test";
|
|
2933
|
+
}>>;
|
|
2862
2934
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
2863
2935
|
}, z.core.$strict>>>;
|
|
2864
2936
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2889,6 +2961,10 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2889
2961
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2890
2962
|
app_secret_key: z.ZodString;
|
|
2891
2963
|
restaurant_secret_key: z.ZodString;
|
|
2964
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
2965
|
+
production: "production";
|
|
2966
|
+
test: "test";
|
|
2967
|
+
}>>;
|
|
2892
2968
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
2893
2969
|
}, z.core.$strict>>>;
|
|
2894
2970
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2917,11 +2993,15 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2917
2993
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
2918
2994
|
platform: z.ZodLiteral<"yemeksepeti">;
|
|
2919
2995
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2920
|
-
username: z.ZodString
|
|
2921
|
-
password: z.ZodString
|
|
2996
|
+
username: z.ZodOptional<z.ZodString>;
|
|
2997
|
+
password: z.ZodOptional<z.ZodString>;
|
|
2922
2998
|
chain_code: z.ZodString;
|
|
2923
2999
|
remote_id: z.ZodString;
|
|
2924
3000
|
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3001
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
3002
|
+
production: "production";
|
|
3003
|
+
test: "test";
|
|
3004
|
+
}>>;
|
|
2925
3005
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
2926
3006
|
}, z.core.$strict>>>;
|
|
2927
3007
|
}, z.core.$strip>], "platform">>;
|
|
@@ -3471,10 +3551,14 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3471
3551
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
3472
3552
|
platform: z.ZodLiteral<"migros_yemek">;
|
|
3473
3553
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3474
|
-
secret_key: z.ZodString
|
|
3554
|
+
secret_key: z.ZodOptional<z.ZodString>;
|
|
3475
3555
|
x_api_key: z.ZodString;
|
|
3476
3556
|
store_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
3477
3557
|
store_group_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
3558
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
3559
|
+
production: "production";
|
|
3560
|
+
test: "test";
|
|
3561
|
+
}>>;
|
|
3478
3562
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
3479
3563
|
}, z.core.$strict>>>;
|
|
3480
3564
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3507,6 +3591,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3507
3591
|
api_secret: z.ZodString;
|
|
3508
3592
|
shop_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
3509
3593
|
seller_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
3594
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
3595
|
+
production: "production";
|
|
3596
|
+
test: "test";
|
|
3597
|
+
}>>;
|
|
3510
3598
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
3511
3599
|
}, z.core.$strict>>>;
|
|
3512
3600
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3537,6 +3625,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3537
3625
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3538
3626
|
app_secret_key: z.ZodString;
|
|
3539
3627
|
rest_secret_key: z.ZodString;
|
|
3628
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
3629
|
+
production: "production";
|
|
3630
|
+
test: "test";
|
|
3631
|
+
}>>;
|
|
3540
3632
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
3541
3633
|
}, z.core.$strict>>>;
|
|
3542
3634
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3567,6 +3659,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3567
3659
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3568
3660
|
app_secret_key: z.ZodString;
|
|
3569
3661
|
restaurant_secret_key: z.ZodString;
|
|
3662
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
3663
|
+
production: "production";
|
|
3664
|
+
test: "test";
|
|
3665
|
+
}>>;
|
|
3570
3666
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
3571
3667
|
}, z.core.$strict>>>;
|
|
3572
3668
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3595,11 +3691,15 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3595
3691
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
3596
3692
|
platform: z.ZodLiteral<"yemeksepeti">;
|
|
3597
3693
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3598
|
-
username: z.ZodString
|
|
3599
|
-
password: z.ZodString
|
|
3694
|
+
username: z.ZodOptional<z.ZodString>;
|
|
3695
|
+
password: z.ZodOptional<z.ZodString>;
|
|
3600
3696
|
chain_code: z.ZodString;
|
|
3601
3697
|
remote_id: z.ZodString;
|
|
3602
3698
|
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3699
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
3700
|
+
production: "production";
|
|
3701
|
+
test: "test";
|
|
3702
|
+
}>>;
|
|
3603
3703
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
3604
3704
|
}, z.core.$strict>>>;
|
|
3605
3705
|
}, z.core.$strip>], "platform">>;
|
|
@@ -3633,10 +3733,14 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3633
3733
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
3634
3734
|
platform: z.ZodLiteral<"migros_yemek">;
|
|
3635
3735
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3636
|
-
secret_key: z.ZodString
|
|
3736
|
+
secret_key: z.ZodOptional<z.ZodString>;
|
|
3637
3737
|
x_api_key: z.ZodString;
|
|
3638
3738
|
store_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
3639
3739
|
store_group_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
3740
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
3741
|
+
production: "production";
|
|
3742
|
+
test: "test";
|
|
3743
|
+
}>>;
|
|
3640
3744
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
3641
3745
|
}, z.core.$strict>>>;
|
|
3642
3746
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3669,6 +3773,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3669
3773
|
api_secret: z.ZodString;
|
|
3670
3774
|
shop_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
3671
3775
|
seller_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
3776
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
3777
|
+
production: "production";
|
|
3778
|
+
test: "test";
|
|
3779
|
+
}>>;
|
|
3672
3780
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
3673
3781
|
}, z.core.$strict>>>;
|
|
3674
3782
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3699,6 +3807,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3699
3807
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3700
3808
|
app_secret_key: z.ZodString;
|
|
3701
3809
|
rest_secret_key: z.ZodString;
|
|
3810
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
3811
|
+
production: "production";
|
|
3812
|
+
test: "test";
|
|
3813
|
+
}>>;
|
|
3702
3814
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
3703
3815
|
}, z.core.$strict>>>;
|
|
3704
3816
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3729,6 +3841,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3729
3841
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3730
3842
|
app_secret_key: z.ZodString;
|
|
3731
3843
|
restaurant_secret_key: z.ZodString;
|
|
3844
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
3845
|
+
production: "production";
|
|
3846
|
+
test: "test";
|
|
3847
|
+
}>>;
|
|
3732
3848
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
3733
3849
|
}, z.core.$strict>>>;
|
|
3734
3850
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3757,11 +3873,15 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3757
3873
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
3758
3874
|
platform: z.ZodLiteral<"yemeksepeti">;
|
|
3759
3875
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3760
|
-
username: z.ZodString
|
|
3761
|
-
password: z.ZodString
|
|
3876
|
+
username: z.ZodOptional<z.ZodString>;
|
|
3877
|
+
password: z.ZodOptional<z.ZodString>;
|
|
3762
3878
|
chain_code: z.ZodString;
|
|
3763
3879
|
remote_id: z.ZodString;
|
|
3764
3880
|
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3881
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
3882
|
+
production: "production";
|
|
3883
|
+
test: "test";
|
|
3884
|
+
}>>;
|
|
3765
3885
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
3766
3886
|
}, z.core.$strict>>>;
|
|
3767
3887
|
}, z.core.$strip>], "platform">>;
|
|
@@ -4435,10 +4555,14 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4435
4555
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
4436
4556
|
platform: z.ZodLiteral<"migros_yemek">;
|
|
4437
4557
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4438
|
-
secret_key: z.ZodString
|
|
4558
|
+
secret_key: z.ZodOptional<z.ZodString>;
|
|
4439
4559
|
x_api_key: z.ZodString;
|
|
4440
4560
|
store_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
4441
4561
|
store_group_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
4562
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
4563
|
+
production: "production";
|
|
4564
|
+
test: "test";
|
|
4565
|
+
}>>;
|
|
4442
4566
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
4443
4567
|
}, z.core.$strict>>>;
|
|
4444
4568
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4471,6 +4595,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4471
4595
|
api_secret: z.ZodString;
|
|
4472
4596
|
shop_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
4473
4597
|
seller_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
4598
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
4599
|
+
production: "production";
|
|
4600
|
+
test: "test";
|
|
4601
|
+
}>>;
|
|
4474
4602
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
4475
4603
|
}, z.core.$strict>>>;
|
|
4476
4604
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4501,6 +4629,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4501
4629
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4502
4630
|
app_secret_key: z.ZodString;
|
|
4503
4631
|
rest_secret_key: z.ZodString;
|
|
4632
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
4633
|
+
production: "production";
|
|
4634
|
+
test: "test";
|
|
4635
|
+
}>>;
|
|
4504
4636
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
4505
4637
|
}, z.core.$strict>>>;
|
|
4506
4638
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4531,6 +4663,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4531
4663
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4532
4664
|
app_secret_key: z.ZodString;
|
|
4533
4665
|
restaurant_secret_key: z.ZodString;
|
|
4666
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
4667
|
+
production: "production";
|
|
4668
|
+
test: "test";
|
|
4669
|
+
}>>;
|
|
4534
4670
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
4535
4671
|
}, z.core.$strict>>>;
|
|
4536
4672
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4559,11 +4695,15 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4559
4695
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
4560
4696
|
platform: z.ZodLiteral<"yemeksepeti">;
|
|
4561
4697
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4562
|
-
username: z.ZodString
|
|
4563
|
-
password: z.ZodString
|
|
4698
|
+
username: z.ZodOptional<z.ZodString>;
|
|
4699
|
+
password: z.ZodOptional<z.ZodString>;
|
|
4564
4700
|
chain_code: z.ZodString;
|
|
4565
4701
|
remote_id: z.ZodString;
|
|
4566
4702
|
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4703
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
4704
|
+
production: "production";
|
|
4705
|
+
test: "test";
|
|
4706
|
+
}>>;
|
|
4567
4707
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
4568
4708
|
}, z.core.$strict>>>;
|
|
4569
4709
|
}, z.core.$strip>], "platform">>;
|
|
@@ -4597,10 +4737,14 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4597
4737
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
4598
4738
|
platform: z.ZodLiteral<"migros_yemek">;
|
|
4599
4739
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4600
|
-
secret_key: z.ZodString
|
|
4740
|
+
secret_key: z.ZodOptional<z.ZodString>;
|
|
4601
4741
|
x_api_key: z.ZodString;
|
|
4602
4742
|
store_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
4603
4743
|
store_group_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
4744
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
4745
|
+
production: "production";
|
|
4746
|
+
test: "test";
|
|
4747
|
+
}>>;
|
|
4604
4748
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
4605
4749
|
}, z.core.$strict>>>;
|
|
4606
4750
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4633,6 +4777,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4633
4777
|
api_secret: z.ZodString;
|
|
4634
4778
|
shop_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
4635
4779
|
seller_id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
4780
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
4781
|
+
production: "production";
|
|
4782
|
+
test: "test";
|
|
4783
|
+
}>>;
|
|
4636
4784
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
4637
4785
|
}, z.core.$strict>>>;
|
|
4638
4786
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4663,6 +4811,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4663
4811
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4664
4812
|
app_secret_key: z.ZodString;
|
|
4665
4813
|
rest_secret_key: z.ZodString;
|
|
4814
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
4815
|
+
production: "production";
|
|
4816
|
+
test: "test";
|
|
4817
|
+
}>>;
|
|
4666
4818
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
4667
4819
|
}, z.core.$strict>>>;
|
|
4668
4820
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4693,6 +4845,10 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4693
4845
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4694
4846
|
app_secret_key: z.ZodString;
|
|
4695
4847
|
restaurant_secret_key: z.ZodString;
|
|
4848
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
4849
|
+
production: "production";
|
|
4850
|
+
test: "test";
|
|
4851
|
+
}>>;
|
|
4696
4852
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
4697
4853
|
}, z.core.$strict>>>;
|
|
4698
4854
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4721,11 +4877,15 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4721
4877
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
4722
4878
|
platform: z.ZodLiteral<"yemeksepeti">;
|
|
4723
4879
|
authentication: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4724
|
-
username: z.ZodString
|
|
4725
|
-
password: z.ZodString
|
|
4880
|
+
username: z.ZodOptional<z.ZodString>;
|
|
4881
|
+
password: z.ZodOptional<z.ZodString>;
|
|
4726
4882
|
chain_code: z.ZodString;
|
|
4727
4883
|
remote_id: z.ZodString;
|
|
4728
4884
|
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4885
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
4886
|
+
production: "production";
|
|
4887
|
+
test: "test";
|
|
4888
|
+
}>>;
|
|
4729
4889
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
4730
4890
|
}, z.core.$strict>>>;
|
|
4731
4891
|
}, z.core.$strip>], "platform">>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deliverart/sdk-js-lead",
|
|
3
3
|
"description": "Deliverart JavaScript SDK for Lead Management",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"zod": "4.6.6",
|
|
22
|
-
"@deliverart/sdk-js-company": "3.0.
|
|
23
|
-
"@deliverart/sdk-js-core": "3.0.
|
|
24
|
-
"@deliverart/sdk-js-global-types": "3.0.
|
|
25
|
-
"@deliverart/sdk-js-integration-types": "3.0.
|
|
26
|
-
"@deliverart/sdk-js-point-of-sale": "3.0.
|
|
27
|
-
"@deliverart/sdk-js-user": "3.0.
|
|
22
|
+
"@deliverart/sdk-js-company": "3.0.4",
|
|
23
|
+
"@deliverart/sdk-js-core": "3.0.4",
|
|
24
|
+
"@deliverart/sdk-js-global-types": "3.0.4",
|
|
25
|
+
"@deliverart/sdk-js-integration-types": "3.0.4",
|
|
26
|
+
"@deliverart/sdk-js-point-of-sale": "3.0.4",
|
|
27
|
+
"@deliverart/sdk-js-user": "3.0.4"
|
|
28
28
|
},
|
|
29
29
|
"publishConfig": {
|
|
30
30
|
"access": "public"
|