@deliverart/sdk-js-lead 2.20.0 → 2.21.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 +236 -0
- package/dist/index.d.ts +236 -0
- package/package.json +7 -7
package/dist/index.d.cts
CHANGED
|
@@ -452,6 +452,65 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
452
452
|
message: z.ZodNullable<z.ZodString>;
|
|
453
453
|
updatedAt: z.ZodString;
|
|
454
454
|
}, z.core.$strip>>>>;
|
|
455
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
456
|
+
service: z.ZodLiteral<"ecommerce">;
|
|
457
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
458
|
+
path: z.ZodString;
|
|
459
|
+
orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
|
|
460
|
+
delivery: "delivery";
|
|
461
|
+
collection: "collection";
|
|
462
|
+
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
|
|
463
|
+
minOrderValue: z.ZodCoercedNumber<unknown>;
|
|
464
|
+
displayName: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
465
|
+
tagline: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
466
|
+
menuViewMode: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodEnum<{
|
|
467
|
+
editorial: "editorial";
|
|
468
|
+
compact: "compact";
|
|
469
|
+
visual_grid: "visual_grid";
|
|
470
|
+
}>>>;
|
|
471
|
+
logo: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
472
|
+
heroImage: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
473
|
+
theme: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
474
|
+
primary: z.ZodOptional<z.ZodString>;
|
|
475
|
+
accent: z.ZodOptional<z.ZodString>;
|
|
476
|
+
background: z.ZodOptional<z.ZodString>;
|
|
477
|
+
}, z.core.$loose>>>;
|
|
478
|
+
}, z.core.$strip>>;
|
|
479
|
+
integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
|
|
480
|
+
message: z.ZodNullable<z.ZodString>;
|
|
481
|
+
id: z.ZodString;
|
|
482
|
+
status: z.ZodEnum<{
|
|
483
|
+
active: "active";
|
|
484
|
+
failed: "failed";
|
|
485
|
+
waiting_for_user: "waiting_for_user";
|
|
486
|
+
waiting_for_admin: "waiting_for_admin";
|
|
487
|
+
request_sent_partner: "request_sent_partner";
|
|
488
|
+
}>;
|
|
489
|
+
healthStatus: z.ZodEnum<{
|
|
490
|
+
error: "error";
|
|
491
|
+
success: "success";
|
|
492
|
+
waiting: "waiting";
|
|
493
|
+
}>;
|
|
494
|
+
provider: z.ZodEnum<{
|
|
495
|
+
deliverart: "deliverart";
|
|
496
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
497
|
+
}>;
|
|
498
|
+
createdAt: z.ZodString;
|
|
499
|
+
updatedAt: z.ZodString;
|
|
500
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
501
|
+
name: z.ZodString;
|
|
502
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
503
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
504
|
+
status: z.ZodEnum<{
|
|
505
|
+
active: "active";
|
|
506
|
+
failed: "failed";
|
|
507
|
+
waiting_for_user: "waiting_for_user";
|
|
508
|
+
waiting_for_admin: "waiting_for_admin";
|
|
509
|
+
request_sent_partner: "request_sent_partner";
|
|
510
|
+
}>;
|
|
511
|
+
message: z.ZodNullable<z.ZodString>;
|
|
512
|
+
updatedAt: z.ZodString;
|
|
513
|
+
}, z.core.$strip>>>>;
|
|
455
514
|
}, z.core.$strip>], "service">>>>;
|
|
456
515
|
}, z.core.$strip>;
|
|
457
516
|
type LeadListItem = z.infer<typeof leadListItemSchema>;
|
|
@@ -1893,6 +1952,65 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
1893
1952
|
message: z.ZodNullable<z.ZodString>;
|
|
1894
1953
|
updatedAt: z.ZodString;
|
|
1895
1954
|
}, z.core.$strip>>>>;
|
|
1955
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1956
|
+
service: z.ZodLiteral<"ecommerce">;
|
|
1957
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
1958
|
+
path: z.ZodString;
|
|
1959
|
+
orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1960
|
+
delivery: "delivery";
|
|
1961
|
+
collection: "collection";
|
|
1962
|
+
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
|
|
1963
|
+
minOrderValue: z.ZodCoercedNumber<unknown>;
|
|
1964
|
+
displayName: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
1965
|
+
tagline: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
1966
|
+
menuViewMode: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodEnum<{
|
|
1967
|
+
editorial: "editorial";
|
|
1968
|
+
compact: "compact";
|
|
1969
|
+
visual_grid: "visual_grid";
|
|
1970
|
+
}>>>;
|
|
1971
|
+
logo: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
1972
|
+
heroImage: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
1973
|
+
theme: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
1974
|
+
primary: z.ZodOptional<z.ZodString>;
|
|
1975
|
+
accent: z.ZodOptional<z.ZodString>;
|
|
1976
|
+
background: z.ZodOptional<z.ZodString>;
|
|
1977
|
+
}, z.core.$loose>>>;
|
|
1978
|
+
}, z.core.$strip>>;
|
|
1979
|
+
integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
|
|
1980
|
+
message: z.ZodNullable<z.ZodString>;
|
|
1981
|
+
id: z.ZodString;
|
|
1982
|
+
status: z.ZodEnum<{
|
|
1983
|
+
active: "active";
|
|
1984
|
+
failed: "failed";
|
|
1985
|
+
waiting_for_user: "waiting_for_user";
|
|
1986
|
+
waiting_for_admin: "waiting_for_admin";
|
|
1987
|
+
request_sent_partner: "request_sent_partner";
|
|
1988
|
+
}>;
|
|
1989
|
+
healthStatus: z.ZodEnum<{
|
|
1990
|
+
error: "error";
|
|
1991
|
+
success: "success";
|
|
1992
|
+
waiting: "waiting";
|
|
1993
|
+
}>;
|
|
1994
|
+
provider: z.ZodEnum<{
|
|
1995
|
+
deliverart: "deliverart";
|
|
1996
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
1997
|
+
}>;
|
|
1998
|
+
createdAt: z.ZodString;
|
|
1999
|
+
updatedAt: z.ZodString;
|
|
2000
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
2001
|
+
name: z.ZodString;
|
|
2002
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2003
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2004
|
+
status: z.ZodEnum<{
|
|
2005
|
+
active: "active";
|
|
2006
|
+
failed: "failed";
|
|
2007
|
+
waiting_for_user: "waiting_for_user";
|
|
2008
|
+
waiting_for_admin: "waiting_for_admin";
|
|
2009
|
+
request_sent_partner: "request_sent_partner";
|
|
2010
|
+
}>;
|
|
2011
|
+
message: z.ZodNullable<z.ZodString>;
|
|
2012
|
+
updatedAt: z.ZodString;
|
|
2013
|
+
}, z.core.$strip>>>>;
|
|
1896
2014
|
}, z.core.$strip>], "service">>>>;
|
|
1897
2015
|
}, z.core.$strip>>;
|
|
1898
2016
|
pagination: z.ZodObject<{
|
|
@@ -2251,6 +2369,65 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
2251
2369
|
message: z.ZodNullable<z.ZodString>;
|
|
2252
2370
|
updatedAt: z.ZodString;
|
|
2253
2371
|
}, z.core.$strip>>>>;
|
|
2372
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2373
|
+
service: z.ZodLiteral<"ecommerce">;
|
|
2374
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
2375
|
+
path: z.ZodString;
|
|
2376
|
+
orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2377
|
+
delivery: "delivery";
|
|
2378
|
+
collection: "collection";
|
|
2379
|
+
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
|
|
2380
|
+
minOrderValue: z.ZodCoercedNumber<unknown>;
|
|
2381
|
+
displayName: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
2382
|
+
tagline: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
2383
|
+
menuViewMode: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodEnum<{
|
|
2384
|
+
editorial: "editorial";
|
|
2385
|
+
compact: "compact";
|
|
2386
|
+
visual_grid: "visual_grid";
|
|
2387
|
+
}>>>;
|
|
2388
|
+
logo: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
2389
|
+
heroImage: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
2390
|
+
theme: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
2391
|
+
primary: z.ZodOptional<z.ZodString>;
|
|
2392
|
+
accent: z.ZodOptional<z.ZodString>;
|
|
2393
|
+
background: z.ZodOptional<z.ZodString>;
|
|
2394
|
+
}, z.core.$loose>>>;
|
|
2395
|
+
}, z.core.$strip>>;
|
|
2396
|
+
integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
|
|
2397
|
+
message: z.ZodNullable<z.ZodString>;
|
|
2398
|
+
id: z.ZodString;
|
|
2399
|
+
status: z.ZodEnum<{
|
|
2400
|
+
active: "active";
|
|
2401
|
+
failed: "failed";
|
|
2402
|
+
waiting_for_user: "waiting_for_user";
|
|
2403
|
+
waiting_for_admin: "waiting_for_admin";
|
|
2404
|
+
request_sent_partner: "request_sent_partner";
|
|
2405
|
+
}>;
|
|
2406
|
+
healthStatus: z.ZodEnum<{
|
|
2407
|
+
error: "error";
|
|
2408
|
+
success: "success";
|
|
2409
|
+
waiting: "waiting";
|
|
2410
|
+
}>;
|
|
2411
|
+
provider: z.ZodEnum<{
|
|
2412
|
+
deliverart: "deliverart";
|
|
2413
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
2414
|
+
}>;
|
|
2415
|
+
createdAt: z.ZodString;
|
|
2416
|
+
updatedAt: z.ZodString;
|
|
2417
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
2418
|
+
name: z.ZodString;
|
|
2419
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2420
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2421
|
+
status: z.ZodEnum<{
|
|
2422
|
+
active: "active";
|
|
2423
|
+
failed: "failed";
|
|
2424
|
+
waiting_for_user: "waiting_for_user";
|
|
2425
|
+
waiting_for_admin: "waiting_for_admin";
|
|
2426
|
+
request_sent_partner: "request_sent_partner";
|
|
2427
|
+
}>;
|
|
2428
|
+
message: z.ZodNullable<z.ZodString>;
|
|
2429
|
+
updatedAt: z.ZodString;
|
|
2430
|
+
}, z.core.$strip>>>>;
|
|
2254
2431
|
}, z.core.$strip>], "service">>>>;
|
|
2255
2432
|
}, z.core.$strip>>;
|
|
2256
2433
|
pagination: z.ZodObject<{
|
|
@@ -2729,6 +2906,65 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
2729
2906
|
message: z.ZodNullable<z.ZodString>;
|
|
2730
2907
|
updatedAt: z.ZodString;
|
|
2731
2908
|
}, z.core.$strip>>>>;
|
|
2909
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2910
|
+
service: z.ZodLiteral<"ecommerce">;
|
|
2911
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
2912
|
+
path: z.ZodString;
|
|
2913
|
+
orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2914
|
+
delivery: "delivery";
|
|
2915
|
+
collection: "collection";
|
|
2916
|
+
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
|
|
2917
|
+
minOrderValue: z.ZodCoercedNumber<unknown>;
|
|
2918
|
+
displayName: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
2919
|
+
tagline: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
2920
|
+
menuViewMode: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodEnum<{
|
|
2921
|
+
editorial: "editorial";
|
|
2922
|
+
compact: "compact";
|
|
2923
|
+
visual_grid: "visual_grid";
|
|
2924
|
+
}>>>;
|
|
2925
|
+
logo: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
2926
|
+
heroImage: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
2927
|
+
theme: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
2928
|
+
primary: z.ZodOptional<z.ZodString>;
|
|
2929
|
+
accent: z.ZodOptional<z.ZodString>;
|
|
2930
|
+
background: z.ZodOptional<z.ZodString>;
|
|
2931
|
+
}, z.core.$loose>>>;
|
|
2932
|
+
}, z.core.$strip>>;
|
|
2933
|
+
integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
|
|
2934
|
+
message: z.ZodNullable<z.ZodString>;
|
|
2935
|
+
id: z.ZodString;
|
|
2936
|
+
status: z.ZodEnum<{
|
|
2937
|
+
active: "active";
|
|
2938
|
+
failed: "failed";
|
|
2939
|
+
waiting_for_user: "waiting_for_user";
|
|
2940
|
+
waiting_for_admin: "waiting_for_admin";
|
|
2941
|
+
request_sent_partner: "request_sent_partner";
|
|
2942
|
+
}>;
|
|
2943
|
+
healthStatus: z.ZodEnum<{
|
|
2944
|
+
error: "error";
|
|
2945
|
+
success: "success";
|
|
2946
|
+
waiting: "waiting";
|
|
2947
|
+
}>;
|
|
2948
|
+
provider: z.ZodEnum<{
|
|
2949
|
+
deliverart: "deliverart";
|
|
2950
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
2951
|
+
}>;
|
|
2952
|
+
createdAt: z.ZodString;
|
|
2953
|
+
updatedAt: z.ZodString;
|
|
2954
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
2955
|
+
name: z.ZodString;
|
|
2956
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2957
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2958
|
+
status: z.ZodEnum<{
|
|
2959
|
+
active: "active";
|
|
2960
|
+
failed: "failed";
|
|
2961
|
+
waiting_for_user: "waiting_for_user";
|
|
2962
|
+
waiting_for_admin: "waiting_for_admin";
|
|
2963
|
+
request_sent_partner: "request_sent_partner";
|
|
2964
|
+
}>;
|
|
2965
|
+
message: z.ZodNullable<z.ZodString>;
|
|
2966
|
+
updatedAt: z.ZodString;
|
|
2967
|
+
}, z.core.$strip>>>>;
|
|
2732
2968
|
}, z.core.$strip>], "service">>>>;
|
|
2733
2969
|
}, z.core.$strip>;
|
|
2734
2970
|
readonly paginationDefaultEnabled = true;
|
package/dist/index.d.ts
CHANGED
|
@@ -452,6 +452,65 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
452
452
|
message: z.ZodNullable<z.ZodString>;
|
|
453
453
|
updatedAt: z.ZodString;
|
|
454
454
|
}, z.core.$strip>>>>;
|
|
455
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
456
|
+
service: z.ZodLiteral<"ecommerce">;
|
|
457
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
458
|
+
path: z.ZodString;
|
|
459
|
+
orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
|
|
460
|
+
delivery: "delivery";
|
|
461
|
+
collection: "collection";
|
|
462
|
+
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
|
|
463
|
+
minOrderValue: z.ZodCoercedNumber<unknown>;
|
|
464
|
+
displayName: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
465
|
+
tagline: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
466
|
+
menuViewMode: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodEnum<{
|
|
467
|
+
editorial: "editorial";
|
|
468
|
+
compact: "compact";
|
|
469
|
+
visual_grid: "visual_grid";
|
|
470
|
+
}>>>;
|
|
471
|
+
logo: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
472
|
+
heroImage: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
473
|
+
theme: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
474
|
+
primary: z.ZodOptional<z.ZodString>;
|
|
475
|
+
accent: z.ZodOptional<z.ZodString>;
|
|
476
|
+
background: z.ZodOptional<z.ZodString>;
|
|
477
|
+
}, z.core.$loose>>>;
|
|
478
|
+
}, z.core.$strip>>;
|
|
479
|
+
integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
|
|
480
|
+
message: z.ZodNullable<z.ZodString>;
|
|
481
|
+
id: z.ZodString;
|
|
482
|
+
status: z.ZodEnum<{
|
|
483
|
+
active: "active";
|
|
484
|
+
failed: "failed";
|
|
485
|
+
waiting_for_user: "waiting_for_user";
|
|
486
|
+
waiting_for_admin: "waiting_for_admin";
|
|
487
|
+
request_sent_partner: "request_sent_partner";
|
|
488
|
+
}>;
|
|
489
|
+
healthStatus: z.ZodEnum<{
|
|
490
|
+
error: "error";
|
|
491
|
+
success: "success";
|
|
492
|
+
waiting: "waiting";
|
|
493
|
+
}>;
|
|
494
|
+
provider: z.ZodEnum<{
|
|
495
|
+
deliverart: "deliverart";
|
|
496
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
497
|
+
}>;
|
|
498
|
+
createdAt: z.ZodString;
|
|
499
|
+
updatedAt: z.ZodString;
|
|
500
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
501
|
+
name: z.ZodString;
|
|
502
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
503
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
504
|
+
status: z.ZodEnum<{
|
|
505
|
+
active: "active";
|
|
506
|
+
failed: "failed";
|
|
507
|
+
waiting_for_user: "waiting_for_user";
|
|
508
|
+
waiting_for_admin: "waiting_for_admin";
|
|
509
|
+
request_sent_partner: "request_sent_partner";
|
|
510
|
+
}>;
|
|
511
|
+
message: z.ZodNullable<z.ZodString>;
|
|
512
|
+
updatedAt: z.ZodString;
|
|
513
|
+
}, z.core.$strip>>>>;
|
|
455
514
|
}, z.core.$strip>], "service">>>>;
|
|
456
515
|
}, z.core.$strip>;
|
|
457
516
|
type LeadListItem = z.infer<typeof leadListItemSchema>;
|
|
@@ -1893,6 +1952,65 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
1893
1952
|
message: z.ZodNullable<z.ZodString>;
|
|
1894
1953
|
updatedAt: z.ZodString;
|
|
1895
1954
|
}, z.core.$strip>>>>;
|
|
1955
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1956
|
+
service: z.ZodLiteral<"ecommerce">;
|
|
1957
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
1958
|
+
path: z.ZodString;
|
|
1959
|
+
orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1960
|
+
delivery: "delivery";
|
|
1961
|
+
collection: "collection";
|
|
1962
|
+
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
|
|
1963
|
+
minOrderValue: z.ZodCoercedNumber<unknown>;
|
|
1964
|
+
displayName: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
1965
|
+
tagline: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
1966
|
+
menuViewMode: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodEnum<{
|
|
1967
|
+
editorial: "editorial";
|
|
1968
|
+
compact: "compact";
|
|
1969
|
+
visual_grid: "visual_grid";
|
|
1970
|
+
}>>>;
|
|
1971
|
+
logo: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
1972
|
+
heroImage: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
1973
|
+
theme: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
1974
|
+
primary: z.ZodOptional<z.ZodString>;
|
|
1975
|
+
accent: z.ZodOptional<z.ZodString>;
|
|
1976
|
+
background: z.ZodOptional<z.ZodString>;
|
|
1977
|
+
}, z.core.$loose>>>;
|
|
1978
|
+
}, z.core.$strip>>;
|
|
1979
|
+
integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
|
|
1980
|
+
message: z.ZodNullable<z.ZodString>;
|
|
1981
|
+
id: z.ZodString;
|
|
1982
|
+
status: z.ZodEnum<{
|
|
1983
|
+
active: "active";
|
|
1984
|
+
failed: "failed";
|
|
1985
|
+
waiting_for_user: "waiting_for_user";
|
|
1986
|
+
waiting_for_admin: "waiting_for_admin";
|
|
1987
|
+
request_sent_partner: "request_sent_partner";
|
|
1988
|
+
}>;
|
|
1989
|
+
healthStatus: z.ZodEnum<{
|
|
1990
|
+
error: "error";
|
|
1991
|
+
success: "success";
|
|
1992
|
+
waiting: "waiting";
|
|
1993
|
+
}>;
|
|
1994
|
+
provider: z.ZodEnum<{
|
|
1995
|
+
deliverart: "deliverart";
|
|
1996
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
1997
|
+
}>;
|
|
1998
|
+
createdAt: z.ZodString;
|
|
1999
|
+
updatedAt: z.ZodString;
|
|
2000
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
2001
|
+
name: z.ZodString;
|
|
2002
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2003
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2004
|
+
status: z.ZodEnum<{
|
|
2005
|
+
active: "active";
|
|
2006
|
+
failed: "failed";
|
|
2007
|
+
waiting_for_user: "waiting_for_user";
|
|
2008
|
+
waiting_for_admin: "waiting_for_admin";
|
|
2009
|
+
request_sent_partner: "request_sent_partner";
|
|
2010
|
+
}>;
|
|
2011
|
+
message: z.ZodNullable<z.ZodString>;
|
|
2012
|
+
updatedAt: z.ZodString;
|
|
2013
|
+
}, z.core.$strip>>>>;
|
|
1896
2014
|
}, z.core.$strip>], "service">>>>;
|
|
1897
2015
|
}, z.core.$strip>>;
|
|
1898
2016
|
pagination: z.ZodObject<{
|
|
@@ -2251,6 +2369,65 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
2251
2369
|
message: z.ZodNullable<z.ZodString>;
|
|
2252
2370
|
updatedAt: z.ZodString;
|
|
2253
2371
|
}, z.core.$strip>>>>;
|
|
2372
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2373
|
+
service: z.ZodLiteral<"ecommerce">;
|
|
2374
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
2375
|
+
path: z.ZodString;
|
|
2376
|
+
orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2377
|
+
delivery: "delivery";
|
|
2378
|
+
collection: "collection";
|
|
2379
|
+
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
|
|
2380
|
+
minOrderValue: z.ZodCoercedNumber<unknown>;
|
|
2381
|
+
displayName: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
2382
|
+
tagline: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
2383
|
+
menuViewMode: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodEnum<{
|
|
2384
|
+
editorial: "editorial";
|
|
2385
|
+
compact: "compact";
|
|
2386
|
+
visual_grid: "visual_grid";
|
|
2387
|
+
}>>>;
|
|
2388
|
+
logo: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
2389
|
+
heroImage: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
2390
|
+
theme: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
2391
|
+
primary: z.ZodOptional<z.ZodString>;
|
|
2392
|
+
accent: z.ZodOptional<z.ZodString>;
|
|
2393
|
+
background: z.ZodOptional<z.ZodString>;
|
|
2394
|
+
}, z.core.$loose>>>;
|
|
2395
|
+
}, z.core.$strip>>;
|
|
2396
|
+
integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
|
|
2397
|
+
message: z.ZodNullable<z.ZodString>;
|
|
2398
|
+
id: z.ZodString;
|
|
2399
|
+
status: z.ZodEnum<{
|
|
2400
|
+
active: "active";
|
|
2401
|
+
failed: "failed";
|
|
2402
|
+
waiting_for_user: "waiting_for_user";
|
|
2403
|
+
waiting_for_admin: "waiting_for_admin";
|
|
2404
|
+
request_sent_partner: "request_sent_partner";
|
|
2405
|
+
}>;
|
|
2406
|
+
healthStatus: z.ZodEnum<{
|
|
2407
|
+
error: "error";
|
|
2408
|
+
success: "success";
|
|
2409
|
+
waiting: "waiting";
|
|
2410
|
+
}>;
|
|
2411
|
+
provider: z.ZodEnum<{
|
|
2412
|
+
deliverart: "deliverart";
|
|
2413
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
2414
|
+
}>;
|
|
2415
|
+
createdAt: z.ZodString;
|
|
2416
|
+
updatedAt: z.ZodString;
|
|
2417
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
2418
|
+
name: z.ZodString;
|
|
2419
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2420
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2421
|
+
status: z.ZodEnum<{
|
|
2422
|
+
active: "active";
|
|
2423
|
+
failed: "failed";
|
|
2424
|
+
waiting_for_user: "waiting_for_user";
|
|
2425
|
+
waiting_for_admin: "waiting_for_admin";
|
|
2426
|
+
request_sent_partner: "request_sent_partner";
|
|
2427
|
+
}>;
|
|
2428
|
+
message: z.ZodNullable<z.ZodString>;
|
|
2429
|
+
updatedAt: z.ZodString;
|
|
2430
|
+
}, z.core.$strip>>>>;
|
|
2254
2431
|
}, z.core.$strip>], "service">>>>;
|
|
2255
2432
|
}, z.core.$strip>>;
|
|
2256
2433
|
pagination: z.ZodObject<{
|
|
@@ -2729,6 +2906,65 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
2729
2906
|
message: z.ZodNullable<z.ZodString>;
|
|
2730
2907
|
updatedAt: z.ZodString;
|
|
2731
2908
|
}, z.core.$strip>>>>;
|
|
2909
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2910
|
+
service: z.ZodLiteral<"ecommerce">;
|
|
2911
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
2912
|
+
path: z.ZodString;
|
|
2913
|
+
orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2914
|
+
delivery: "delivery";
|
|
2915
|
+
collection: "collection";
|
|
2916
|
+
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
|
|
2917
|
+
minOrderValue: z.ZodCoercedNumber<unknown>;
|
|
2918
|
+
displayName: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
2919
|
+
tagline: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
2920
|
+
menuViewMode: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodEnum<{
|
|
2921
|
+
editorial: "editorial";
|
|
2922
|
+
compact: "compact";
|
|
2923
|
+
visual_grid: "visual_grid";
|
|
2924
|
+
}>>>;
|
|
2925
|
+
logo: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
2926
|
+
heroImage: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
2927
|
+
theme: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
2928
|
+
primary: z.ZodOptional<z.ZodString>;
|
|
2929
|
+
accent: z.ZodOptional<z.ZodString>;
|
|
2930
|
+
background: z.ZodOptional<z.ZodString>;
|
|
2931
|
+
}, z.core.$loose>>>;
|
|
2932
|
+
}, z.core.$strip>>;
|
|
2933
|
+
integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
|
|
2934
|
+
message: z.ZodNullable<z.ZodString>;
|
|
2935
|
+
id: z.ZodString;
|
|
2936
|
+
status: z.ZodEnum<{
|
|
2937
|
+
active: "active";
|
|
2938
|
+
failed: "failed";
|
|
2939
|
+
waiting_for_user: "waiting_for_user";
|
|
2940
|
+
waiting_for_admin: "waiting_for_admin";
|
|
2941
|
+
request_sent_partner: "request_sent_partner";
|
|
2942
|
+
}>;
|
|
2943
|
+
healthStatus: z.ZodEnum<{
|
|
2944
|
+
error: "error";
|
|
2945
|
+
success: "success";
|
|
2946
|
+
waiting: "waiting";
|
|
2947
|
+
}>;
|
|
2948
|
+
provider: z.ZodEnum<{
|
|
2949
|
+
deliverart: "deliverart";
|
|
2950
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
2951
|
+
}>;
|
|
2952
|
+
createdAt: z.ZodString;
|
|
2953
|
+
updatedAt: z.ZodString;
|
|
2954
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
2955
|
+
name: z.ZodString;
|
|
2956
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2957
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2958
|
+
status: z.ZodEnum<{
|
|
2959
|
+
active: "active";
|
|
2960
|
+
failed: "failed";
|
|
2961
|
+
waiting_for_user: "waiting_for_user";
|
|
2962
|
+
waiting_for_admin: "waiting_for_admin";
|
|
2963
|
+
request_sent_partner: "request_sent_partner";
|
|
2964
|
+
}>;
|
|
2965
|
+
message: z.ZodNullable<z.ZodString>;
|
|
2966
|
+
updatedAt: z.ZodString;
|
|
2967
|
+
}, z.core.$strip>>>>;
|
|
2732
2968
|
}, z.core.$strip>], "service">>>>;
|
|
2733
2969
|
}, z.core.$strip>;
|
|
2734
2970
|
readonly paginationDefaultEnabled = true;
|
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.
|
|
4
|
+
"version": "2.21.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"dist"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@deliverart/sdk-js-
|
|
22
|
-
"@deliverart/sdk-js-
|
|
23
|
-
"@deliverart/sdk-js-
|
|
24
|
-
"@deliverart/sdk-js-
|
|
25
|
-
"@deliverart/sdk-js-
|
|
26
|
-
"@deliverart/sdk-js-
|
|
21
|
+
"@deliverart/sdk-js-core": "2.21.0",
|
|
22
|
+
"@deliverart/sdk-js-global-types": "2.21.0",
|
|
23
|
+
"@deliverart/sdk-js-integration-types": "2.21.0",
|
|
24
|
+
"@deliverart/sdk-js-point-of-sale": "2.21.0",
|
|
25
|
+
"@deliverart/sdk-js-user": "2.21.0",
|
|
26
|
+
"@deliverart/sdk-js-company": "2.21.0"
|
|
27
27
|
},
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public"
|