@deliverart/sdk-js-lead 2.39.0 → 2.40.0-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -189,8 +189,8 @@ declare const leadListItemSchema: z.ZodObject<{
189
189
  request_sent_partner: "request_sent_partner";
190
190
  }>;
191
191
  healthStatus: z.ZodEnum<{
192
- success: "success";
193
192
  error: "error";
193
+ success: "success";
194
194
  waiting: "waiting";
195
195
  }>;
196
196
  provider: z.ZodEnum<{
@@ -233,8 +233,8 @@ declare const leadListItemSchema: z.ZodObject<{
233
233
  request_sent_partner: "request_sent_partner";
234
234
  }>;
235
235
  healthStatus: z.ZodEnum<{
236
- success: "success";
237
236
  error: "error";
237
+ success: "success";
238
238
  waiting: "waiting";
239
239
  }>;
240
240
  provider: z.ZodEnum<{
@@ -276,8 +276,8 @@ declare const leadListItemSchema: z.ZodObject<{
276
276
  request_sent_partner: "request_sent_partner";
277
277
  }>;
278
278
  healthStatus: z.ZodEnum<{
279
- success: "success";
280
279
  error: "error";
280
+ success: "success";
281
281
  waiting: "waiting";
282
282
  }>;
283
283
  provider: z.ZodEnum<{
@@ -319,8 +319,8 @@ declare const leadListItemSchema: z.ZodObject<{
319
319
  request_sent_partner: "request_sent_partner";
320
320
  }>;
321
321
  healthStatus: z.ZodEnum<{
322
- success: "success";
323
322
  error: "error";
323
+ success: "success";
324
324
  waiting: "waiting";
325
325
  }>;
326
326
  provider: z.ZodEnum<{
@@ -367,8 +367,8 @@ declare const leadListItemSchema: z.ZodObject<{
367
367
  request_sent_partner: "request_sent_partner";
368
368
  }>;
369
369
  healthStatus: z.ZodEnum<{
370
- success: "success";
371
370
  error: "error";
371
+ success: "success";
372
372
  waiting: "waiting";
373
373
  }>;
374
374
  provider: z.ZodEnum<{
@@ -407,6 +407,19 @@ declare const leadListItemSchema: z.ZodObject<{
407
407
  defaultPaymentMethodTypeName: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
408
408
  defaultStockLocationId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
409
409
  syncSettings: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
410
+ paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodRecord<z.ZodEnum<{
411
+ stripe: "stripe";
412
+ bank_transfer: "bank_transfer";
413
+ cash: "cash";
414
+ credit_card: "credit_card";
415
+ ticket: "ticket";
416
+ platform: "platform";
417
+ }> & z.core.$partial, z.ZodObject<{
418
+ id: z.ZodNumber;
419
+ name: z.ZodString;
420
+ typeId: z.ZodNumber;
421
+ typeName: z.ZodString;
422
+ }, z.core.$strict>>>>>;
410
423
  newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
411
424
  application: "application";
412
425
  ecommerce: "ecommerce";
@@ -451,8 +464,8 @@ declare const leadListItemSchema: z.ZodObject<{
451
464
  request_sent_partner: "request_sent_partner";
452
465
  }>;
453
466
  healthStatus: z.ZodEnum<{
454
- success: "success";
455
467
  error: "error";
468
+ success: "success";
456
469
  waiting: "waiting";
457
470
  }>;
458
471
  provider: z.ZodEnum<{
@@ -527,8 +540,8 @@ declare const leadListItemSchema: z.ZodObject<{
527
540
  request_sent_partner: "request_sent_partner";
528
541
  }>;
529
542
  healthStatus: z.ZodEnum<{
530
- success: "success";
531
543
  error: "error";
544
+ success: "success";
532
545
  waiting: "waiting";
533
546
  }>;
534
547
  provider: z.ZodEnum<{
@@ -894,8 +907,8 @@ declare const leadListItemSchema: z.ZodObject<{
894
907
  request_sent_partner: "request_sent_partner";
895
908
  }>;
896
909
  healthStatus: z.ZodEnum<{
897
- success: "success";
898
910
  error: "error";
911
+ success: "success";
899
912
  waiting: "waiting";
900
913
  }>;
901
914
  provider: z.ZodEnum<{
@@ -997,6 +1010,19 @@ declare const writableLeadIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
997
1010
  defaultPaymentMethodTypeName: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
998
1011
  defaultStockLocationId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
999
1012
  syncSettings: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
1013
+ paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodRecord<z.ZodEnum<{
1014
+ stripe: "stripe";
1015
+ bank_transfer: "bank_transfer";
1016
+ cash: "cash";
1017
+ credit_card: "credit_card";
1018
+ ticket: "ticket";
1019
+ platform: "platform";
1020
+ }> & z.core.$partial, z.ZodObject<{
1021
+ id: z.ZodNumber;
1022
+ name: z.ZodString;
1023
+ typeId: z.ZodNumber;
1024
+ typeName: z.ZodString;
1025
+ }, z.core.$strict>>>>>;
1000
1026
  newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
1001
1027
  application: "application";
1002
1028
  ecommerce: "ecommerce";
@@ -1173,6 +1199,19 @@ declare const writableCreateLeadSchema: z.ZodObject<{
1173
1199
  defaultPaymentMethodTypeName: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
1174
1200
  defaultStockLocationId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
1175
1201
  syncSettings: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
1202
+ paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodRecord<z.ZodEnum<{
1203
+ stripe: "stripe";
1204
+ bank_transfer: "bank_transfer";
1205
+ cash: "cash";
1206
+ credit_card: "credit_card";
1207
+ ticket: "ticket";
1208
+ platform: "platform";
1209
+ }> & z.core.$partial, z.ZodObject<{
1210
+ id: z.ZodNumber;
1211
+ name: z.ZodString;
1212
+ typeId: z.ZodNumber;
1213
+ typeName: z.ZodString;
1214
+ }, z.core.$strict>>>>>;
1176
1215
  newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
1177
1216
  application: "application";
1178
1217
  ecommerce: "ecommerce";
@@ -1249,12 +1288,12 @@ declare const leadsQuerySchema: z.ZodObject<{
1249
1288
  request_sent_partner: "request_sent_partner";
1250
1289
  }>>]>>;
1251
1290
  'integrations.healthStatus': z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1252
- success: "success";
1253
1291
  error: "error";
1292
+ success: "success";
1254
1293
  waiting: "waiting";
1255
1294
  }>, z.ZodArray<z.ZodEnum<{
1256
- success: "success";
1257
1295
  error: "error";
1296
+ success: "success";
1258
1297
  waiting: "waiting";
1259
1298
  }>>]>>;
1260
1299
  'integrations.service': z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -1450,6 +1489,19 @@ declare const createLeadInputSchema: z.ZodObject<{
1450
1489
  defaultPaymentMethodTypeName: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
1451
1490
  defaultStockLocationId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
1452
1491
  syncSettings: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
1492
+ paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodRecord<z.ZodEnum<{
1493
+ stripe: "stripe";
1494
+ bank_transfer: "bank_transfer";
1495
+ cash: "cash";
1496
+ credit_card: "credit_card";
1497
+ ticket: "ticket";
1498
+ platform: "platform";
1499
+ }> & z.core.$partial, z.ZodObject<{
1500
+ id: z.ZodNumber;
1501
+ name: z.ZodString;
1502
+ typeId: z.ZodNumber;
1503
+ typeName: z.ZodString;
1504
+ }, z.core.$strict>>>>>;
1453
1505
  newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
1454
1506
  application: "application";
1455
1507
  ecommerce: "ecommerce";
@@ -1660,6 +1712,19 @@ declare class CreateLead extends AbstractApiRequest<typeof createLeadInputSchema
1660
1712
  defaultPaymentMethodTypeName: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
1661
1713
  defaultStockLocationId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
1662
1714
  syncSettings: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
1715
+ paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodRecord<z.ZodEnum<{
1716
+ stripe: "stripe";
1717
+ bank_transfer: "bank_transfer";
1718
+ cash: "cash";
1719
+ credit_card: "credit_card";
1720
+ ticket: "ticket";
1721
+ platform: "platform";
1722
+ }> & z.core.$partial, z.ZodObject<{
1723
+ id: z.ZodNumber;
1724
+ name: z.ZodString;
1725
+ typeId: z.ZodNumber;
1726
+ typeName: z.ZodString;
1727
+ }, z.core.$strict>>>>>;
1663
1728
  newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
1664
1729
  application: "application";
1665
1730
  ecommerce: "ecommerce";
@@ -1974,12 +2039,12 @@ declare const getLeadsQuerySchema: z.ZodObject<{
1974
2039
  request_sent_partner: "request_sent_partner";
1975
2040
  }>>]>>;
1976
2041
  'integrations.healthStatus': z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1977
- success: "success";
1978
2042
  error: "error";
2043
+ success: "success";
1979
2044
  waiting: "waiting";
1980
2045
  }>, z.ZodArray<z.ZodEnum<{
1981
- success: "success";
1982
2046
  error: "error";
2047
+ success: "success";
1983
2048
  waiting: "waiting";
1984
2049
  }>>]>>;
1985
2050
  'integrations.service': z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -2148,8 +2213,8 @@ declare const getLeadsResponseSchema: z.ZodObject<{
2148
2213
  request_sent_partner: "request_sent_partner";
2149
2214
  }>;
2150
2215
  healthStatus: z.ZodEnum<{
2151
- success: "success";
2152
2216
  error: "error";
2217
+ success: "success";
2153
2218
  waiting: "waiting";
2154
2219
  }>;
2155
2220
  provider: z.ZodEnum<{
@@ -2192,8 +2257,8 @@ declare const getLeadsResponseSchema: z.ZodObject<{
2192
2257
  request_sent_partner: "request_sent_partner";
2193
2258
  }>;
2194
2259
  healthStatus: z.ZodEnum<{
2195
- success: "success";
2196
2260
  error: "error";
2261
+ success: "success";
2197
2262
  waiting: "waiting";
2198
2263
  }>;
2199
2264
  provider: z.ZodEnum<{
@@ -2235,8 +2300,8 @@ declare const getLeadsResponseSchema: z.ZodObject<{
2235
2300
  request_sent_partner: "request_sent_partner";
2236
2301
  }>;
2237
2302
  healthStatus: z.ZodEnum<{
2238
- success: "success";
2239
2303
  error: "error";
2304
+ success: "success";
2240
2305
  waiting: "waiting";
2241
2306
  }>;
2242
2307
  provider: z.ZodEnum<{
@@ -2278,8 +2343,8 @@ declare const getLeadsResponseSchema: z.ZodObject<{
2278
2343
  request_sent_partner: "request_sent_partner";
2279
2344
  }>;
2280
2345
  healthStatus: z.ZodEnum<{
2281
- success: "success";
2282
2346
  error: "error";
2347
+ success: "success";
2283
2348
  waiting: "waiting";
2284
2349
  }>;
2285
2350
  provider: z.ZodEnum<{
@@ -2326,8 +2391,8 @@ declare const getLeadsResponseSchema: z.ZodObject<{
2326
2391
  request_sent_partner: "request_sent_partner";
2327
2392
  }>;
2328
2393
  healthStatus: z.ZodEnum<{
2329
- success: "success";
2330
2394
  error: "error";
2395
+ success: "success";
2331
2396
  waiting: "waiting";
2332
2397
  }>;
2333
2398
  provider: z.ZodEnum<{
@@ -2366,6 +2431,19 @@ declare const getLeadsResponseSchema: z.ZodObject<{
2366
2431
  defaultPaymentMethodTypeName: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
2367
2432
  defaultStockLocationId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
2368
2433
  syncSettings: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
2434
+ paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodRecord<z.ZodEnum<{
2435
+ stripe: "stripe";
2436
+ bank_transfer: "bank_transfer";
2437
+ cash: "cash";
2438
+ credit_card: "credit_card";
2439
+ ticket: "ticket";
2440
+ platform: "platform";
2441
+ }> & z.core.$partial, z.ZodObject<{
2442
+ id: z.ZodNumber;
2443
+ name: z.ZodString;
2444
+ typeId: z.ZodNumber;
2445
+ typeName: z.ZodString;
2446
+ }, z.core.$strict>>>>>;
2369
2447
  newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
2370
2448
  application: "application";
2371
2449
  ecommerce: "ecommerce";
@@ -2410,8 +2488,8 @@ declare const getLeadsResponseSchema: z.ZodObject<{
2410
2488
  request_sent_partner: "request_sent_partner";
2411
2489
  }>;
2412
2490
  healthStatus: z.ZodEnum<{
2413
- success: "success";
2414
2491
  error: "error";
2492
+ success: "success";
2415
2493
  waiting: "waiting";
2416
2494
  }>;
2417
2495
  provider: z.ZodEnum<{
@@ -2486,8 +2564,8 @@ declare const getLeadsResponseSchema: z.ZodObject<{
2486
2564
  request_sent_partner: "request_sent_partner";
2487
2565
  }>;
2488
2566
  healthStatus: z.ZodEnum<{
2489
- success: "success";
2490
2567
  error: "error";
2568
+ success: "success";
2491
2569
  waiting: "waiting";
2492
2570
  }>;
2493
2571
  provider: z.ZodEnum<{
@@ -2853,8 +2931,8 @@ declare const getLeadsResponseSchema: z.ZodObject<{
2853
2931
  request_sent_partner: "request_sent_partner";
2854
2932
  }>;
2855
2933
  healthStatus: z.ZodEnum<{
2856
- success: "success";
2857
2934
  error: "error";
2935
+ success: "success";
2858
2936
  waiting: "waiting";
2859
2937
  }>;
2860
2938
  provider: z.ZodEnum<{
@@ -2972,8 +3050,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2972
3050
  request_sent_partner: "request_sent_partner";
2973
3051
  }>;
2974
3052
  healthStatus: z.ZodEnum<{
2975
- success: "success";
2976
3053
  error: "error";
3054
+ success: "success";
2977
3055
  waiting: "waiting";
2978
3056
  }>;
2979
3057
  provider: z.ZodEnum<{
@@ -3016,8 +3094,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
3016
3094
  request_sent_partner: "request_sent_partner";
3017
3095
  }>;
3018
3096
  healthStatus: z.ZodEnum<{
3019
- success: "success";
3020
3097
  error: "error";
3098
+ success: "success";
3021
3099
  waiting: "waiting";
3022
3100
  }>;
3023
3101
  provider: z.ZodEnum<{
@@ -3059,8 +3137,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
3059
3137
  request_sent_partner: "request_sent_partner";
3060
3138
  }>;
3061
3139
  healthStatus: z.ZodEnum<{
3062
- success: "success";
3063
3140
  error: "error";
3141
+ success: "success";
3064
3142
  waiting: "waiting";
3065
3143
  }>;
3066
3144
  provider: z.ZodEnum<{
@@ -3102,8 +3180,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
3102
3180
  request_sent_partner: "request_sent_partner";
3103
3181
  }>;
3104
3182
  healthStatus: z.ZodEnum<{
3105
- success: "success";
3106
3183
  error: "error";
3184
+ success: "success";
3107
3185
  waiting: "waiting";
3108
3186
  }>;
3109
3187
  provider: z.ZodEnum<{
@@ -3150,8 +3228,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
3150
3228
  request_sent_partner: "request_sent_partner";
3151
3229
  }>;
3152
3230
  healthStatus: z.ZodEnum<{
3153
- success: "success";
3154
3231
  error: "error";
3232
+ success: "success";
3155
3233
  waiting: "waiting";
3156
3234
  }>;
3157
3235
  provider: z.ZodEnum<{
@@ -3190,6 +3268,19 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
3190
3268
  defaultPaymentMethodTypeName: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
3191
3269
  defaultStockLocationId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
3192
3270
  syncSettings: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
3271
+ paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodRecord<z.ZodEnum<{
3272
+ stripe: "stripe";
3273
+ bank_transfer: "bank_transfer";
3274
+ cash: "cash";
3275
+ credit_card: "credit_card";
3276
+ ticket: "ticket";
3277
+ platform: "platform";
3278
+ }> & z.core.$partial, z.ZodObject<{
3279
+ id: z.ZodNumber;
3280
+ name: z.ZodString;
3281
+ typeId: z.ZodNumber;
3282
+ typeName: z.ZodString;
3283
+ }, z.core.$strict>>>>>;
3193
3284
  newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
3194
3285
  application: "application";
3195
3286
  ecommerce: "ecommerce";
@@ -3234,8 +3325,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
3234
3325
  request_sent_partner: "request_sent_partner";
3235
3326
  }>;
3236
3327
  healthStatus: z.ZodEnum<{
3237
- success: "success";
3238
3328
  error: "error";
3329
+ success: "success";
3239
3330
  waiting: "waiting";
3240
3331
  }>;
3241
3332
  provider: z.ZodEnum<{
@@ -3310,8 +3401,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
3310
3401
  request_sent_partner: "request_sent_partner";
3311
3402
  }>;
3312
3403
  healthStatus: z.ZodEnum<{
3313
- success: "success";
3314
3404
  error: "error";
3405
+ success: "success";
3315
3406
  waiting: "waiting";
3316
3407
  }>;
3317
3408
  provider: z.ZodEnum<{
@@ -3677,8 +3768,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
3677
3768
  request_sent_partner: "request_sent_partner";
3678
3769
  }>;
3679
3770
  healthStatus: z.ZodEnum<{
3680
- success: "success";
3681
3771
  error: "error";
3772
+ success: "success";
3682
3773
  waiting: "waiting";
3683
3774
  }>;
3684
3775
  provider: z.ZodEnum<{
@@ -3749,12 +3840,12 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
3749
3840
  request_sent_partner: "request_sent_partner";
3750
3841
  }>>]>>;
3751
3842
  'integrations.healthStatus': z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
3752
- success: "success";
3753
3843
  error: "error";
3844
+ success: "success";
3754
3845
  waiting: "waiting";
3755
3846
  }>, z.ZodArray<z.ZodEnum<{
3756
- success: "success";
3757
3847
  error: "error";
3848
+ success: "success";
3758
3849
  waiting: "waiting";
3759
3850
  }>>]>>;
3760
3851
  'integrations.service': z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -3920,8 +4011,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
3920
4011
  request_sent_partner: "request_sent_partner";
3921
4012
  }>;
3922
4013
  healthStatus: z.ZodEnum<{
3923
- success: "success";
3924
4014
  error: "error";
4015
+ success: "success";
3925
4016
  waiting: "waiting";
3926
4017
  }>;
3927
4018
  provider: z.ZodEnum<{
@@ -3964,8 +4055,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
3964
4055
  request_sent_partner: "request_sent_partner";
3965
4056
  }>;
3966
4057
  healthStatus: z.ZodEnum<{
3967
- success: "success";
3968
4058
  error: "error";
4059
+ success: "success";
3969
4060
  waiting: "waiting";
3970
4061
  }>;
3971
4062
  provider: z.ZodEnum<{
@@ -4007,8 +4098,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
4007
4098
  request_sent_partner: "request_sent_partner";
4008
4099
  }>;
4009
4100
  healthStatus: z.ZodEnum<{
4010
- success: "success";
4011
4101
  error: "error";
4102
+ success: "success";
4012
4103
  waiting: "waiting";
4013
4104
  }>;
4014
4105
  provider: z.ZodEnum<{
@@ -4050,8 +4141,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
4050
4141
  request_sent_partner: "request_sent_partner";
4051
4142
  }>;
4052
4143
  healthStatus: z.ZodEnum<{
4053
- success: "success";
4054
4144
  error: "error";
4145
+ success: "success";
4055
4146
  waiting: "waiting";
4056
4147
  }>;
4057
4148
  provider: z.ZodEnum<{
@@ -4098,8 +4189,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
4098
4189
  request_sent_partner: "request_sent_partner";
4099
4190
  }>;
4100
4191
  healthStatus: z.ZodEnum<{
4101
- success: "success";
4102
4192
  error: "error";
4193
+ success: "success";
4103
4194
  waiting: "waiting";
4104
4195
  }>;
4105
4196
  provider: z.ZodEnum<{
@@ -4138,6 +4229,19 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
4138
4229
  defaultPaymentMethodTypeName: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
4139
4230
  defaultStockLocationId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
4140
4231
  syncSettings: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
4232
+ paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodRecord<z.ZodEnum<{
4233
+ stripe: "stripe";
4234
+ bank_transfer: "bank_transfer";
4235
+ cash: "cash";
4236
+ credit_card: "credit_card";
4237
+ ticket: "ticket";
4238
+ platform: "platform";
4239
+ }> & z.core.$partial, z.ZodObject<{
4240
+ id: z.ZodNumber;
4241
+ name: z.ZodString;
4242
+ typeId: z.ZodNumber;
4243
+ typeName: z.ZodString;
4244
+ }, z.core.$strict>>>>>;
4141
4245
  newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
4142
4246
  application: "application";
4143
4247
  ecommerce: "ecommerce";
@@ -4182,8 +4286,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
4182
4286
  request_sent_partner: "request_sent_partner";
4183
4287
  }>;
4184
4288
  healthStatus: z.ZodEnum<{
4185
- success: "success";
4186
4289
  error: "error";
4290
+ success: "success";
4187
4291
  waiting: "waiting";
4188
4292
  }>;
4189
4293
  provider: z.ZodEnum<{
@@ -4258,8 +4362,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
4258
4362
  request_sent_partner: "request_sent_partner";
4259
4363
  }>;
4260
4364
  healthStatus: z.ZodEnum<{
4261
- success: "success";
4262
4365
  error: "error";
4366
+ success: "success";
4263
4367
  waiting: "waiting";
4264
4368
  }>;
4265
4369
  provider: z.ZodEnum<{
@@ -4625,8 +4729,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
4625
4729
  request_sent_partner: "request_sent_partner";
4626
4730
  }>;
4627
4731
  healthStatus: z.ZodEnum<{
4628
- success: "success";
4629
4732
  error: "error";
4733
+ success: "success";
4630
4734
  waiting: "waiting";
4631
4735
  }>;
4632
4736
  provider: z.ZodEnum<{
package/dist/index.d.ts CHANGED
@@ -189,8 +189,8 @@ declare const leadListItemSchema: z.ZodObject<{
189
189
  request_sent_partner: "request_sent_partner";
190
190
  }>;
191
191
  healthStatus: z.ZodEnum<{
192
- success: "success";
193
192
  error: "error";
193
+ success: "success";
194
194
  waiting: "waiting";
195
195
  }>;
196
196
  provider: z.ZodEnum<{
@@ -233,8 +233,8 @@ declare const leadListItemSchema: z.ZodObject<{
233
233
  request_sent_partner: "request_sent_partner";
234
234
  }>;
235
235
  healthStatus: z.ZodEnum<{
236
- success: "success";
237
236
  error: "error";
237
+ success: "success";
238
238
  waiting: "waiting";
239
239
  }>;
240
240
  provider: z.ZodEnum<{
@@ -276,8 +276,8 @@ declare const leadListItemSchema: z.ZodObject<{
276
276
  request_sent_partner: "request_sent_partner";
277
277
  }>;
278
278
  healthStatus: z.ZodEnum<{
279
- success: "success";
280
279
  error: "error";
280
+ success: "success";
281
281
  waiting: "waiting";
282
282
  }>;
283
283
  provider: z.ZodEnum<{
@@ -319,8 +319,8 @@ declare const leadListItemSchema: z.ZodObject<{
319
319
  request_sent_partner: "request_sent_partner";
320
320
  }>;
321
321
  healthStatus: z.ZodEnum<{
322
- success: "success";
323
322
  error: "error";
323
+ success: "success";
324
324
  waiting: "waiting";
325
325
  }>;
326
326
  provider: z.ZodEnum<{
@@ -367,8 +367,8 @@ declare const leadListItemSchema: z.ZodObject<{
367
367
  request_sent_partner: "request_sent_partner";
368
368
  }>;
369
369
  healthStatus: z.ZodEnum<{
370
- success: "success";
371
370
  error: "error";
371
+ success: "success";
372
372
  waiting: "waiting";
373
373
  }>;
374
374
  provider: z.ZodEnum<{
@@ -407,6 +407,19 @@ declare const leadListItemSchema: z.ZodObject<{
407
407
  defaultPaymentMethodTypeName: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
408
408
  defaultStockLocationId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
409
409
  syncSettings: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
410
+ paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodRecord<z.ZodEnum<{
411
+ stripe: "stripe";
412
+ bank_transfer: "bank_transfer";
413
+ cash: "cash";
414
+ credit_card: "credit_card";
415
+ ticket: "ticket";
416
+ platform: "platform";
417
+ }> & z.core.$partial, z.ZodObject<{
418
+ id: z.ZodNumber;
419
+ name: z.ZodString;
420
+ typeId: z.ZodNumber;
421
+ typeName: z.ZodString;
422
+ }, z.core.$strict>>>>>;
410
423
  newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
411
424
  application: "application";
412
425
  ecommerce: "ecommerce";
@@ -451,8 +464,8 @@ declare const leadListItemSchema: z.ZodObject<{
451
464
  request_sent_partner: "request_sent_partner";
452
465
  }>;
453
466
  healthStatus: z.ZodEnum<{
454
- success: "success";
455
467
  error: "error";
468
+ success: "success";
456
469
  waiting: "waiting";
457
470
  }>;
458
471
  provider: z.ZodEnum<{
@@ -527,8 +540,8 @@ declare const leadListItemSchema: z.ZodObject<{
527
540
  request_sent_partner: "request_sent_partner";
528
541
  }>;
529
542
  healthStatus: z.ZodEnum<{
530
- success: "success";
531
543
  error: "error";
544
+ success: "success";
532
545
  waiting: "waiting";
533
546
  }>;
534
547
  provider: z.ZodEnum<{
@@ -894,8 +907,8 @@ declare const leadListItemSchema: z.ZodObject<{
894
907
  request_sent_partner: "request_sent_partner";
895
908
  }>;
896
909
  healthStatus: z.ZodEnum<{
897
- success: "success";
898
910
  error: "error";
911
+ success: "success";
899
912
  waiting: "waiting";
900
913
  }>;
901
914
  provider: z.ZodEnum<{
@@ -997,6 +1010,19 @@ declare const writableLeadIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
997
1010
  defaultPaymentMethodTypeName: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
998
1011
  defaultStockLocationId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
999
1012
  syncSettings: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
1013
+ paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodRecord<z.ZodEnum<{
1014
+ stripe: "stripe";
1015
+ bank_transfer: "bank_transfer";
1016
+ cash: "cash";
1017
+ credit_card: "credit_card";
1018
+ ticket: "ticket";
1019
+ platform: "platform";
1020
+ }> & z.core.$partial, z.ZodObject<{
1021
+ id: z.ZodNumber;
1022
+ name: z.ZodString;
1023
+ typeId: z.ZodNumber;
1024
+ typeName: z.ZodString;
1025
+ }, z.core.$strict>>>>>;
1000
1026
  newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
1001
1027
  application: "application";
1002
1028
  ecommerce: "ecommerce";
@@ -1173,6 +1199,19 @@ declare const writableCreateLeadSchema: z.ZodObject<{
1173
1199
  defaultPaymentMethodTypeName: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
1174
1200
  defaultStockLocationId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
1175
1201
  syncSettings: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
1202
+ paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodRecord<z.ZodEnum<{
1203
+ stripe: "stripe";
1204
+ bank_transfer: "bank_transfer";
1205
+ cash: "cash";
1206
+ credit_card: "credit_card";
1207
+ ticket: "ticket";
1208
+ platform: "platform";
1209
+ }> & z.core.$partial, z.ZodObject<{
1210
+ id: z.ZodNumber;
1211
+ name: z.ZodString;
1212
+ typeId: z.ZodNumber;
1213
+ typeName: z.ZodString;
1214
+ }, z.core.$strict>>>>>;
1176
1215
  newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
1177
1216
  application: "application";
1178
1217
  ecommerce: "ecommerce";
@@ -1249,12 +1288,12 @@ declare const leadsQuerySchema: z.ZodObject<{
1249
1288
  request_sent_partner: "request_sent_partner";
1250
1289
  }>>]>>;
1251
1290
  'integrations.healthStatus': z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1252
- success: "success";
1253
1291
  error: "error";
1292
+ success: "success";
1254
1293
  waiting: "waiting";
1255
1294
  }>, z.ZodArray<z.ZodEnum<{
1256
- success: "success";
1257
1295
  error: "error";
1296
+ success: "success";
1258
1297
  waiting: "waiting";
1259
1298
  }>>]>>;
1260
1299
  'integrations.service': z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -1450,6 +1489,19 @@ declare const createLeadInputSchema: z.ZodObject<{
1450
1489
  defaultPaymentMethodTypeName: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
1451
1490
  defaultStockLocationId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
1452
1491
  syncSettings: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
1492
+ paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodRecord<z.ZodEnum<{
1493
+ stripe: "stripe";
1494
+ bank_transfer: "bank_transfer";
1495
+ cash: "cash";
1496
+ credit_card: "credit_card";
1497
+ ticket: "ticket";
1498
+ platform: "platform";
1499
+ }> & z.core.$partial, z.ZodObject<{
1500
+ id: z.ZodNumber;
1501
+ name: z.ZodString;
1502
+ typeId: z.ZodNumber;
1503
+ typeName: z.ZodString;
1504
+ }, z.core.$strict>>>>>;
1453
1505
  newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
1454
1506
  application: "application";
1455
1507
  ecommerce: "ecommerce";
@@ -1660,6 +1712,19 @@ declare class CreateLead extends AbstractApiRequest<typeof createLeadInputSchema
1660
1712
  defaultPaymentMethodTypeName: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
1661
1713
  defaultStockLocationId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
1662
1714
  syncSettings: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
1715
+ paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodRecord<z.ZodEnum<{
1716
+ stripe: "stripe";
1717
+ bank_transfer: "bank_transfer";
1718
+ cash: "cash";
1719
+ credit_card: "credit_card";
1720
+ ticket: "ticket";
1721
+ platform: "platform";
1722
+ }> & z.core.$partial, z.ZodObject<{
1723
+ id: z.ZodNumber;
1724
+ name: z.ZodString;
1725
+ typeId: z.ZodNumber;
1726
+ typeName: z.ZodString;
1727
+ }, z.core.$strict>>>>>;
1663
1728
  newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
1664
1729
  application: "application";
1665
1730
  ecommerce: "ecommerce";
@@ -1974,12 +2039,12 @@ declare const getLeadsQuerySchema: z.ZodObject<{
1974
2039
  request_sent_partner: "request_sent_partner";
1975
2040
  }>>]>>;
1976
2041
  'integrations.healthStatus': z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1977
- success: "success";
1978
2042
  error: "error";
2043
+ success: "success";
1979
2044
  waiting: "waiting";
1980
2045
  }>, z.ZodArray<z.ZodEnum<{
1981
- success: "success";
1982
2046
  error: "error";
2047
+ success: "success";
1983
2048
  waiting: "waiting";
1984
2049
  }>>]>>;
1985
2050
  'integrations.service': z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -2148,8 +2213,8 @@ declare const getLeadsResponseSchema: z.ZodObject<{
2148
2213
  request_sent_partner: "request_sent_partner";
2149
2214
  }>;
2150
2215
  healthStatus: z.ZodEnum<{
2151
- success: "success";
2152
2216
  error: "error";
2217
+ success: "success";
2153
2218
  waiting: "waiting";
2154
2219
  }>;
2155
2220
  provider: z.ZodEnum<{
@@ -2192,8 +2257,8 @@ declare const getLeadsResponseSchema: z.ZodObject<{
2192
2257
  request_sent_partner: "request_sent_partner";
2193
2258
  }>;
2194
2259
  healthStatus: z.ZodEnum<{
2195
- success: "success";
2196
2260
  error: "error";
2261
+ success: "success";
2197
2262
  waiting: "waiting";
2198
2263
  }>;
2199
2264
  provider: z.ZodEnum<{
@@ -2235,8 +2300,8 @@ declare const getLeadsResponseSchema: z.ZodObject<{
2235
2300
  request_sent_partner: "request_sent_partner";
2236
2301
  }>;
2237
2302
  healthStatus: z.ZodEnum<{
2238
- success: "success";
2239
2303
  error: "error";
2304
+ success: "success";
2240
2305
  waiting: "waiting";
2241
2306
  }>;
2242
2307
  provider: z.ZodEnum<{
@@ -2278,8 +2343,8 @@ declare const getLeadsResponseSchema: z.ZodObject<{
2278
2343
  request_sent_partner: "request_sent_partner";
2279
2344
  }>;
2280
2345
  healthStatus: z.ZodEnum<{
2281
- success: "success";
2282
2346
  error: "error";
2347
+ success: "success";
2283
2348
  waiting: "waiting";
2284
2349
  }>;
2285
2350
  provider: z.ZodEnum<{
@@ -2326,8 +2391,8 @@ declare const getLeadsResponseSchema: z.ZodObject<{
2326
2391
  request_sent_partner: "request_sent_partner";
2327
2392
  }>;
2328
2393
  healthStatus: z.ZodEnum<{
2329
- success: "success";
2330
2394
  error: "error";
2395
+ success: "success";
2331
2396
  waiting: "waiting";
2332
2397
  }>;
2333
2398
  provider: z.ZodEnum<{
@@ -2366,6 +2431,19 @@ declare const getLeadsResponseSchema: z.ZodObject<{
2366
2431
  defaultPaymentMethodTypeName: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
2367
2432
  defaultStockLocationId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
2368
2433
  syncSettings: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
2434
+ paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodRecord<z.ZodEnum<{
2435
+ stripe: "stripe";
2436
+ bank_transfer: "bank_transfer";
2437
+ cash: "cash";
2438
+ credit_card: "credit_card";
2439
+ ticket: "ticket";
2440
+ platform: "platform";
2441
+ }> & z.core.$partial, z.ZodObject<{
2442
+ id: z.ZodNumber;
2443
+ name: z.ZodString;
2444
+ typeId: z.ZodNumber;
2445
+ typeName: z.ZodString;
2446
+ }, z.core.$strict>>>>>;
2369
2447
  newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
2370
2448
  application: "application";
2371
2449
  ecommerce: "ecommerce";
@@ -2410,8 +2488,8 @@ declare const getLeadsResponseSchema: z.ZodObject<{
2410
2488
  request_sent_partner: "request_sent_partner";
2411
2489
  }>;
2412
2490
  healthStatus: z.ZodEnum<{
2413
- success: "success";
2414
2491
  error: "error";
2492
+ success: "success";
2415
2493
  waiting: "waiting";
2416
2494
  }>;
2417
2495
  provider: z.ZodEnum<{
@@ -2486,8 +2564,8 @@ declare const getLeadsResponseSchema: z.ZodObject<{
2486
2564
  request_sent_partner: "request_sent_partner";
2487
2565
  }>;
2488
2566
  healthStatus: z.ZodEnum<{
2489
- success: "success";
2490
2567
  error: "error";
2568
+ success: "success";
2491
2569
  waiting: "waiting";
2492
2570
  }>;
2493
2571
  provider: z.ZodEnum<{
@@ -2853,8 +2931,8 @@ declare const getLeadsResponseSchema: z.ZodObject<{
2853
2931
  request_sent_partner: "request_sent_partner";
2854
2932
  }>;
2855
2933
  healthStatus: z.ZodEnum<{
2856
- success: "success";
2857
2934
  error: "error";
2935
+ success: "success";
2858
2936
  waiting: "waiting";
2859
2937
  }>;
2860
2938
  provider: z.ZodEnum<{
@@ -2972,8 +3050,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
2972
3050
  request_sent_partner: "request_sent_partner";
2973
3051
  }>;
2974
3052
  healthStatus: z.ZodEnum<{
2975
- success: "success";
2976
3053
  error: "error";
3054
+ success: "success";
2977
3055
  waiting: "waiting";
2978
3056
  }>;
2979
3057
  provider: z.ZodEnum<{
@@ -3016,8 +3094,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
3016
3094
  request_sent_partner: "request_sent_partner";
3017
3095
  }>;
3018
3096
  healthStatus: z.ZodEnum<{
3019
- success: "success";
3020
3097
  error: "error";
3098
+ success: "success";
3021
3099
  waiting: "waiting";
3022
3100
  }>;
3023
3101
  provider: z.ZodEnum<{
@@ -3059,8 +3137,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
3059
3137
  request_sent_partner: "request_sent_partner";
3060
3138
  }>;
3061
3139
  healthStatus: z.ZodEnum<{
3062
- success: "success";
3063
3140
  error: "error";
3141
+ success: "success";
3064
3142
  waiting: "waiting";
3065
3143
  }>;
3066
3144
  provider: z.ZodEnum<{
@@ -3102,8 +3180,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
3102
3180
  request_sent_partner: "request_sent_partner";
3103
3181
  }>;
3104
3182
  healthStatus: z.ZodEnum<{
3105
- success: "success";
3106
3183
  error: "error";
3184
+ success: "success";
3107
3185
  waiting: "waiting";
3108
3186
  }>;
3109
3187
  provider: z.ZodEnum<{
@@ -3150,8 +3228,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
3150
3228
  request_sent_partner: "request_sent_partner";
3151
3229
  }>;
3152
3230
  healthStatus: z.ZodEnum<{
3153
- success: "success";
3154
3231
  error: "error";
3232
+ success: "success";
3155
3233
  waiting: "waiting";
3156
3234
  }>;
3157
3235
  provider: z.ZodEnum<{
@@ -3190,6 +3268,19 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
3190
3268
  defaultPaymentMethodTypeName: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
3191
3269
  defaultStockLocationId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
3192
3270
  syncSettings: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
3271
+ paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodRecord<z.ZodEnum<{
3272
+ stripe: "stripe";
3273
+ bank_transfer: "bank_transfer";
3274
+ cash: "cash";
3275
+ credit_card: "credit_card";
3276
+ ticket: "ticket";
3277
+ platform: "platform";
3278
+ }> & z.core.$partial, z.ZodObject<{
3279
+ id: z.ZodNumber;
3280
+ name: z.ZodString;
3281
+ typeId: z.ZodNumber;
3282
+ typeName: z.ZodString;
3283
+ }, z.core.$strict>>>>>;
3193
3284
  newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
3194
3285
  application: "application";
3195
3286
  ecommerce: "ecommerce";
@@ -3234,8 +3325,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
3234
3325
  request_sent_partner: "request_sent_partner";
3235
3326
  }>;
3236
3327
  healthStatus: z.ZodEnum<{
3237
- success: "success";
3238
3328
  error: "error";
3329
+ success: "success";
3239
3330
  waiting: "waiting";
3240
3331
  }>;
3241
3332
  provider: z.ZodEnum<{
@@ -3310,8 +3401,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
3310
3401
  request_sent_partner: "request_sent_partner";
3311
3402
  }>;
3312
3403
  healthStatus: z.ZodEnum<{
3313
- success: "success";
3314
3404
  error: "error";
3405
+ success: "success";
3315
3406
  waiting: "waiting";
3316
3407
  }>;
3317
3408
  provider: z.ZodEnum<{
@@ -3677,8 +3768,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
3677
3768
  request_sent_partner: "request_sent_partner";
3678
3769
  }>;
3679
3770
  healthStatus: z.ZodEnum<{
3680
- success: "success";
3681
3771
  error: "error";
3772
+ success: "success";
3682
3773
  waiting: "waiting";
3683
3774
  }>;
3684
3775
  provider: z.ZodEnum<{
@@ -3749,12 +3840,12 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
3749
3840
  request_sent_partner: "request_sent_partner";
3750
3841
  }>>]>>;
3751
3842
  'integrations.healthStatus': z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
3752
- success: "success";
3753
3843
  error: "error";
3844
+ success: "success";
3754
3845
  waiting: "waiting";
3755
3846
  }>, z.ZodArray<z.ZodEnum<{
3756
- success: "success";
3757
3847
  error: "error";
3848
+ success: "success";
3758
3849
  waiting: "waiting";
3759
3850
  }>>]>>;
3760
3851
  'integrations.service': z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -3920,8 +4011,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
3920
4011
  request_sent_partner: "request_sent_partner";
3921
4012
  }>;
3922
4013
  healthStatus: z.ZodEnum<{
3923
- success: "success";
3924
4014
  error: "error";
4015
+ success: "success";
3925
4016
  waiting: "waiting";
3926
4017
  }>;
3927
4018
  provider: z.ZodEnum<{
@@ -3964,8 +4055,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
3964
4055
  request_sent_partner: "request_sent_partner";
3965
4056
  }>;
3966
4057
  healthStatus: z.ZodEnum<{
3967
- success: "success";
3968
4058
  error: "error";
4059
+ success: "success";
3969
4060
  waiting: "waiting";
3970
4061
  }>;
3971
4062
  provider: z.ZodEnum<{
@@ -4007,8 +4098,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
4007
4098
  request_sent_partner: "request_sent_partner";
4008
4099
  }>;
4009
4100
  healthStatus: z.ZodEnum<{
4010
- success: "success";
4011
4101
  error: "error";
4102
+ success: "success";
4012
4103
  waiting: "waiting";
4013
4104
  }>;
4014
4105
  provider: z.ZodEnum<{
@@ -4050,8 +4141,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
4050
4141
  request_sent_partner: "request_sent_partner";
4051
4142
  }>;
4052
4143
  healthStatus: z.ZodEnum<{
4053
- success: "success";
4054
4144
  error: "error";
4145
+ success: "success";
4055
4146
  waiting: "waiting";
4056
4147
  }>;
4057
4148
  provider: z.ZodEnum<{
@@ -4098,8 +4189,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
4098
4189
  request_sent_partner: "request_sent_partner";
4099
4190
  }>;
4100
4191
  healthStatus: z.ZodEnum<{
4101
- success: "success";
4102
4192
  error: "error";
4193
+ success: "success";
4103
4194
  waiting: "waiting";
4104
4195
  }>;
4105
4196
  provider: z.ZodEnum<{
@@ -4138,6 +4229,19 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
4138
4229
  defaultPaymentMethodTypeName: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
4139
4230
  defaultStockLocationId: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
4140
4231
  syncSettings: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
4232
+ paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodRecord<z.ZodEnum<{
4233
+ stripe: "stripe";
4234
+ bank_transfer: "bank_transfer";
4235
+ cash: "cash";
4236
+ credit_card: "credit_card";
4237
+ ticket: "ticket";
4238
+ platform: "platform";
4239
+ }> & z.core.$partial, z.ZodObject<{
4240
+ id: z.ZodNumber;
4241
+ name: z.ZodString;
4242
+ typeId: z.ZodNumber;
4243
+ typeName: z.ZodString;
4244
+ }, z.core.$strict>>>>>;
4141
4245
  newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
4142
4246
  application: "application";
4143
4247
  ecommerce: "ecommerce";
@@ -4182,8 +4286,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
4182
4286
  request_sent_partner: "request_sent_partner";
4183
4287
  }>;
4184
4288
  healthStatus: z.ZodEnum<{
4185
- success: "success";
4186
4289
  error: "error";
4290
+ success: "success";
4187
4291
  waiting: "waiting";
4188
4292
  }>;
4189
4293
  provider: z.ZodEnum<{
@@ -4258,8 +4362,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
4258
4362
  request_sent_partner: "request_sent_partner";
4259
4363
  }>;
4260
4364
  healthStatus: z.ZodEnum<{
4261
- success: "success";
4262
4365
  error: "error";
4366
+ success: "success";
4263
4367
  waiting: "waiting";
4264
4368
  }>;
4265
4369
  provider: z.ZodEnum<{
@@ -4625,8 +4729,8 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
4625
4729
  request_sent_partner: "request_sent_partner";
4626
4730
  }>;
4627
4731
  healthStatus: z.ZodEnum<{
4628
- success: "success";
4629
4732
  error: "error";
4733
+ success: "success";
4630
4734
  waiting: "waiting";
4631
4735
  }>;
4632
4736
  provider: z.ZodEnum<{
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": "2.39.0",
4
+ "version": "2.40.0-dev.0",
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.3.5",
22
- "@deliverart/sdk-js-company": "2.39.0",
23
- "@deliverart/sdk-js-core": "2.39.0",
24
- "@deliverart/sdk-js-integration-types": "2.39.0",
25
- "@deliverart/sdk-js-point-of-sale": "2.39.0",
26
- "@deliverart/sdk-js-user": "2.39.0",
27
- "@deliverart/sdk-js-global-types": "2.39.0"
22
+ "@deliverart/sdk-js-core": "2.40.0-dev.0",
23
+ "@deliverart/sdk-js-global-types": "2.40.0-dev.0",
24
+ "@deliverart/sdk-js-company": "2.40.0-dev.0",
25
+ "@deliverart/sdk-js-point-of-sale": "2.40.0-dev.0",
26
+ "@deliverart/sdk-js-integration-types": "2.40.0-dev.0",
27
+ "@deliverart/sdk-js-user": "2.40.0-dev.0"
28
28
  },
29
29
  "publishConfig": {
30
30
  "access": "public"