@deliverart/sdk-js-integration 3.0.0 → 3.0.1
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.cjs +2 -0
- package/dist/index.d.cts +124 -0
- package/dist/index.d.ts +124 -0
- package/dist/index.js +3 -0
- package/package.json +11 -11
package/dist/index.cjs
CHANGED
|
@@ -2873,6 +2873,7 @@ var integrationElephantRestaurantSchema = import_zod8.z.object({
|
|
|
2873
2873
|
defaultTaxRate: import_zod8.z.coerce.number().min(0).max(100),
|
|
2874
2874
|
channels: import_zod8.z.array(import_sdk_js_global_types8.menuChannelSchema).min(2),
|
|
2875
2875
|
orderType: import_zod8.z.enum(["delivery", "collection"]),
|
|
2876
|
+
deliveryManagedBy: import_sdk_js_global_types8.orderDeliveryManagerSchema.nullable().optional(),
|
|
2876
2877
|
defaultPreparationTime: import_zod8.z.coerce.number().int().min(0).max(240),
|
|
2877
2878
|
acceptanceTimeout: import_zod8.z.coerce.number().int().min(0).max(120),
|
|
2878
2879
|
provisioningStep: types_exports.integrationElephantProvisioningStepSchema,
|
|
@@ -2901,6 +2902,7 @@ var integrationElephantRestaurantMutableFieldsSchema = import_zod8.z.object({
|
|
|
2901
2902
|
defaultTaxRate: import_zod8.z.coerce.number().min(0).max(100),
|
|
2902
2903
|
channels: import_zod8.z.array(import_sdk_js_global_types8.menuChannelSchema).min(2),
|
|
2903
2904
|
orderType: import_zod8.z.enum(["delivery", "collection"]),
|
|
2905
|
+
deliveryManagedBy: import_sdk_js_global_types8.orderDeliveryManagerSchema.nullable().optional(),
|
|
2904
2906
|
defaultPreparationTime: import_zod8.z.coerce.number().int().min(0).max(240),
|
|
2905
2907
|
acceptanceTimeout: import_zod8.z.coerce.number().int().min(0).max(120)
|
|
2906
2908
|
});
|
package/dist/index.d.cts
CHANGED
|
@@ -52182,6 +52182,10 @@ declare const integrationElephantRestaurantSchema: z.ZodObject<{
|
|
|
52182
52182
|
delivery: "delivery";
|
|
52183
52183
|
collection: "collection";
|
|
52184
52184
|
}>;
|
|
52185
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
52186
|
+
merchant: "merchant";
|
|
52187
|
+
marketplace: "marketplace";
|
|
52188
|
+
}>>>;
|
|
52185
52189
|
defaultPreparationTime: z.ZodCoercedNumber<unknown>;
|
|
52186
52190
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
52187
52191
|
provisioningStep: z.ZodEnum<{
|
|
@@ -52263,6 +52267,10 @@ declare const integrationElephantRestaurantDetailsSchema: z.ZodObject<{
|
|
|
52263
52267
|
delivery: "delivery";
|
|
52264
52268
|
collection: "collection";
|
|
52265
52269
|
}>;
|
|
52270
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
52271
|
+
merchant: "merchant";
|
|
52272
|
+
marketplace: "marketplace";
|
|
52273
|
+
}>>>;
|
|
52266
52274
|
defaultPreparationTime: z.ZodCoercedNumber<unknown>;
|
|
52267
52275
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
52268
52276
|
provisioningStep: z.ZodEnum<{
|
|
@@ -52298,6 +52306,10 @@ declare const integrationElephantRestaurantCreateFieldsSchema: z.ZodDiscriminate
|
|
|
52298
52306
|
name: z.ZodString;
|
|
52299
52307
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
52300
52308
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
52309
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
52310
|
+
merchant: "merchant";
|
|
52311
|
+
marketplace: "marketplace";
|
|
52312
|
+
}>>>;
|
|
52301
52313
|
platformRestaurantId: z.ZodString;
|
|
52302
52314
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52303
52315
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -52329,6 +52341,10 @@ declare const integrationElephantRestaurantCreateFieldsSchema: z.ZodDiscriminate
|
|
|
52329
52341
|
name: z.ZodString;
|
|
52330
52342
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
52331
52343
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
52344
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
52345
|
+
merchant: "merchant";
|
|
52346
|
+
marketplace: "marketplace";
|
|
52347
|
+
}>>>;
|
|
52332
52348
|
platformRestaurantId: z.ZodString;
|
|
52333
52349
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52334
52350
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -52360,6 +52376,10 @@ declare const integrationElephantRestaurantCreateFieldsSchema: z.ZodDiscriminate
|
|
|
52360
52376
|
name: z.ZodString;
|
|
52361
52377
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
52362
52378
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
52379
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
52380
|
+
merchant: "merchant";
|
|
52381
|
+
marketplace: "marketplace";
|
|
52382
|
+
}>>>;
|
|
52363
52383
|
platformRestaurantId: z.ZodString;
|
|
52364
52384
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52365
52385
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -52389,6 +52409,10 @@ declare const integrationElephantRestaurantCreateFieldsSchema: z.ZodDiscriminate
|
|
|
52389
52409
|
name: z.ZodString;
|
|
52390
52410
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
52391
52411
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
52412
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
52413
|
+
merchant: "merchant";
|
|
52414
|
+
marketplace: "marketplace";
|
|
52415
|
+
}>>>;
|
|
52392
52416
|
platformRestaurantId: z.ZodString;
|
|
52393
52417
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52394
52418
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -52418,6 +52442,10 @@ declare const integrationElephantRestaurantCreateFieldsSchema: z.ZodDiscriminate
|
|
|
52418
52442
|
name: z.ZodString;
|
|
52419
52443
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
52420
52444
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
52445
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
52446
|
+
merchant: "merchant";
|
|
52447
|
+
marketplace: "marketplace";
|
|
52448
|
+
}>>>;
|
|
52421
52449
|
platformRestaurantId: z.ZodString;
|
|
52422
52450
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52423
52451
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -52495,6 +52523,10 @@ declare const integrationElephantRestaurantUpdateFieldsSchema: z.ZodObject<{
|
|
|
52495
52523
|
delivery: "delivery";
|
|
52496
52524
|
collection: "collection";
|
|
52497
52525
|
}>>;
|
|
52526
|
+
deliveryManagedBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
52527
|
+
merchant: "merchant";
|
|
52528
|
+
marketplace: "marketplace";
|
|
52529
|
+
}>>>>;
|
|
52498
52530
|
defaultPreparationTime: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
52499
52531
|
acceptanceTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
52500
52532
|
}, z.core.$strip>;
|
|
@@ -70117,6 +70149,10 @@ declare const createIntegrationElephantRestaurantInputSchema: z.ZodDiscriminated
|
|
|
70117
70149
|
name: z.ZodString;
|
|
70118
70150
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
70119
70151
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
70152
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
70153
|
+
merchant: "merchant";
|
|
70154
|
+
marketplace: "marketplace";
|
|
70155
|
+
}>>>;
|
|
70120
70156
|
platformRestaurantId: z.ZodString;
|
|
70121
70157
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70122
70158
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -70148,6 +70184,10 @@ declare const createIntegrationElephantRestaurantInputSchema: z.ZodDiscriminated
|
|
|
70148
70184
|
name: z.ZodString;
|
|
70149
70185
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
70150
70186
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
70187
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
70188
|
+
merchant: "merchant";
|
|
70189
|
+
marketplace: "marketplace";
|
|
70190
|
+
}>>>;
|
|
70151
70191
|
platformRestaurantId: z.ZodString;
|
|
70152
70192
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70153
70193
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -70179,6 +70219,10 @@ declare const createIntegrationElephantRestaurantInputSchema: z.ZodDiscriminated
|
|
|
70179
70219
|
name: z.ZodString;
|
|
70180
70220
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
70181
70221
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
70222
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
70223
|
+
merchant: "merchant";
|
|
70224
|
+
marketplace: "marketplace";
|
|
70225
|
+
}>>>;
|
|
70182
70226
|
platformRestaurantId: z.ZodString;
|
|
70183
70227
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70184
70228
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -70208,6 +70252,10 @@ declare const createIntegrationElephantRestaurantInputSchema: z.ZodDiscriminated
|
|
|
70208
70252
|
name: z.ZodString;
|
|
70209
70253
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
70210
70254
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
70255
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
70256
|
+
merchant: "merchant";
|
|
70257
|
+
marketplace: "marketplace";
|
|
70258
|
+
}>>>;
|
|
70211
70259
|
platformRestaurantId: z.ZodString;
|
|
70212
70260
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70213
70261
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -70237,6 +70285,10 @@ declare const createIntegrationElephantRestaurantInputSchema: z.ZodDiscriminated
|
|
|
70237
70285
|
name: z.ZodString;
|
|
70238
70286
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
70239
70287
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
70288
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
70289
|
+
merchant: "merchant";
|
|
70290
|
+
marketplace: "marketplace";
|
|
70291
|
+
}>>>;
|
|
70240
70292
|
platformRestaurantId: z.ZodString;
|
|
70241
70293
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70242
70294
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -70319,6 +70371,10 @@ declare const createIntegrationElephantRestaurantResponseSchema: z.ZodObject<{
|
|
|
70319
70371
|
delivery: "delivery";
|
|
70320
70372
|
collection: "collection";
|
|
70321
70373
|
}>;
|
|
70374
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
70375
|
+
merchant: "merchant";
|
|
70376
|
+
marketplace: "marketplace";
|
|
70377
|
+
}>>>;
|
|
70322
70378
|
defaultPreparationTime: z.ZodCoercedNumber<unknown>;
|
|
70323
70379
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
70324
70380
|
provisioningStep: z.ZodEnum<{
|
|
@@ -70358,6 +70414,10 @@ declare class CreateIntegrationElephantRestaurant extends AbstractApiRequest<typ
|
|
|
70358
70414
|
name: z.ZodString;
|
|
70359
70415
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
70360
70416
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
70417
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
70418
|
+
merchant: "merchant";
|
|
70419
|
+
marketplace: "marketplace";
|
|
70420
|
+
}>>>;
|
|
70361
70421
|
platformRestaurantId: z.ZodString;
|
|
70362
70422
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70363
70423
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -70389,6 +70449,10 @@ declare class CreateIntegrationElephantRestaurant extends AbstractApiRequest<typ
|
|
|
70389
70449
|
name: z.ZodString;
|
|
70390
70450
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
70391
70451
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
70452
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
70453
|
+
merchant: "merchant";
|
|
70454
|
+
marketplace: "marketplace";
|
|
70455
|
+
}>>>;
|
|
70392
70456
|
platformRestaurantId: z.ZodString;
|
|
70393
70457
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70394
70458
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -70420,6 +70484,10 @@ declare class CreateIntegrationElephantRestaurant extends AbstractApiRequest<typ
|
|
|
70420
70484
|
name: z.ZodString;
|
|
70421
70485
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
70422
70486
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
70487
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
70488
|
+
merchant: "merchant";
|
|
70489
|
+
marketplace: "marketplace";
|
|
70490
|
+
}>>>;
|
|
70423
70491
|
platformRestaurantId: z.ZodString;
|
|
70424
70492
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70425
70493
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -70449,6 +70517,10 @@ declare class CreateIntegrationElephantRestaurant extends AbstractApiRequest<typ
|
|
|
70449
70517
|
name: z.ZodString;
|
|
70450
70518
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
70451
70519
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
70520
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
70521
|
+
merchant: "merchant";
|
|
70522
|
+
marketplace: "marketplace";
|
|
70523
|
+
}>>>;
|
|
70452
70524
|
platformRestaurantId: z.ZodString;
|
|
70453
70525
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70454
70526
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -70478,6 +70550,10 @@ declare class CreateIntegrationElephantRestaurant extends AbstractApiRequest<typ
|
|
|
70478
70550
|
name: z.ZodString;
|
|
70479
70551
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
70480
70552
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
70553
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
70554
|
+
merchant: "merchant";
|
|
70555
|
+
marketplace: "marketplace";
|
|
70556
|
+
}>>>;
|
|
70481
70557
|
platformRestaurantId: z.ZodString;
|
|
70482
70558
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70483
70559
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -70559,6 +70635,10 @@ declare class CreateIntegrationElephantRestaurant extends AbstractApiRequest<typ
|
|
|
70559
70635
|
delivery: "delivery";
|
|
70560
70636
|
collection: "collection";
|
|
70561
70637
|
}>;
|
|
70638
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
70639
|
+
merchant: "merchant";
|
|
70640
|
+
marketplace: "marketplace";
|
|
70641
|
+
}>>>;
|
|
70562
70642
|
defaultPreparationTime: z.ZodCoercedNumber<unknown>;
|
|
70563
70643
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
70564
70644
|
provisioningStep: z.ZodEnum<{
|
|
@@ -71150,6 +71230,10 @@ declare const getIntegrationElephantRestaurantDetailsResponseSchema: z.ZodObject
|
|
|
71150
71230
|
delivery: "delivery";
|
|
71151
71231
|
collection: "collection";
|
|
71152
71232
|
}>;
|
|
71233
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
71234
|
+
merchant: "merchant";
|
|
71235
|
+
marketplace: "marketplace";
|
|
71236
|
+
}>>>;
|
|
71153
71237
|
defaultPreparationTime: z.ZodCoercedNumber<unknown>;
|
|
71154
71238
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
71155
71239
|
provisioningStep: z.ZodEnum<{
|
|
@@ -71238,6 +71322,10 @@ declare class GetIntegrationElephantRestaurantDetails extends AbstractApiRequest
|
|
|
71238
71322
|
delivery: "delivery";
|
|
71239
71323
|
collection: "collection";
|
|
71240
71324
|
}>;
|
|
71325
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
71326
|
+
merchant: "merchant";
|
|
71327
|
+
marketplace: "marketplace";
|
|
71328
|
+
}>>>;
|
|
71241
71329
|
defaultPreparationTime: z.ZodCoercedNumber<unknown>;
|
|
71242
71330
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
71243
71331
|
provisioningStep: z.ZodEnum<{
|
|
@@ -71450,6 +71538,10 @@ declare const getIntegrationElephantRestaurantsResponseSchema: z.ZodObject<{
|
|
|
71450
71538
|
delivery: "delivery";
|
|
71451
71539
|
collection: "collection";
|
|
71452
71540
|
}>;
|
|
71541
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
71542
|
+
merchant: "merchant";
|
|
71543
|
+
marketplace: "marketplace";
|
|
71544
|
+
}>>>;
|
|
71453
71545
|
defaultPreparationTime: z.ZodCoercedNumber<unknown>;
|
|
71454
71546
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
71455
71547
|
provisioningStep: z.ZodEnum<{
|
|
@@ -71546,6 +71638,10 @@ declare class GetIntegrationElephantRestaurants extends AbstractApiRequest<typeo
|
|
|
71546
71638
|
delivery: "delivery";
|
|
71547
71639
|
collection: "collection";
|
|
71548
71640
|
}>;
|
|
71641
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
71642
|
+
merchant: "merchant";
|
|
71643
|
+
marketplace: "marketplace";
|
|
71644
|
+
}>>>;
|
|
71549
71645
|
defaultPreparationTime: z.ZodCoercedNumber<unknown>;
|
|
71550
71646
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
71551
71647
|
provisioningStep: z.ZodEnum<{
|
|
@@ -71754,6 +71850,10 @@ declare class GetIntegrationElephantRestaurants extends AbstractApiRequest<typeo
|
|
|
71754
71850
|
delivery: "delivery";
|
|
71755
71851
|
collection: "collection";
|
|
71756
71852
|
}>;
|
|
71853
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
71854
|
+
merchant: "merchant";
|
|
71855
|
+
marketplace: "marketplace";
|
|
71856
|
+
}>>>;
|
|
71757
71857
|
defaultPreparationTime: z.ZodCoercedNumber<unknown>;
|
|
71758
71858
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
71759
71859
|
provisioningStep: z.ZodEnum<{
|
|
@@ -72811,6 +72911,10 @@ declare const integrationElephantRestaurantActionResponseSchema: z.ZodObject<{
|
|
|
72811
72911
|
delivery: "delivery";
|
|
72812
72912
|
collection: "collection";
|
|
72813
72913
|
}>;
|
|
72914
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
72915
|
+
merchant: "merchant";
|
|
72916
|
+
marketplace: "marketplace";
|
|
72917
|
+
}>>>;
|
|
72814
72918
|
defaultPreparationTime: z.ZodCoercedNumber<unknown>;
|
|
72815
72919
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
72816
72920
|
provisioningStep: z.ZodEnum<{
|
|
@@ -72896,6 +73000,10 @@ declare abstract class IntegrationElephantRestaurantActionRequest extends Abstra
|
|
|
72896
73000
|
delivery: "delivery";
|
|
72897
73001
|
collection: "collection";
|
|
72898
73002
|
}>;
|
|
73003
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
73004
|
+
merchant: "merchant";
|
|
73005
|
+
marketplace: "marketplace";
|
|
73006
|
+
}>>>;
|
|
72899
73007
|
defaultPreparationTime: z.ZodCoercedNumber<unknown>;
|
|
72900
73008
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
72901
73009
|
provisioningStep: z.ZodEnum<{
|
|
@@ -73397,6 +73505,10 @@ declare const updateIntegrationElephantRestaurantInputSchema: z.ZodObject<{
|
|
|
73397
73505
|
delivery: "delivery";
|
|
73398
73506
|
collection: "collection";
|
|
73399
73507
|
}>>;
|
|
73508
|
+
deliveryManagedBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
73509
|
+
merchant: "merchant";
|
|
73510
|
+
marketplace: "marketplace";
|
|
73511
|
+
}>>>>;
|
|
73400
73512
|
defaultPreparationTime: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
73401
73513
|
acceptanceTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
73402
73514
|
}, z.core.$strip>;
|
|
@@ -73453,6 +73565,10 @@ declare const updateIntegrationElephantRestaurantResponseSchema: z.ZodObject<{
|
|
|
73453
73565
|
delivery: "delivery";
|
|
73454
73566
|
collection: "collection";
|
|
73455
73567
|
}>;
|
|
73568
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
73569
|
+
merchant: "merchant";
|
|
73570
|
+
marketplace: "marketplace";
|
|
73571
|
+
}>>>;
|
|
73456
73572
|
defaultPreparationTime: z.ZodCoercedNumber<unknown>;
|
|
73457
73573
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
73458
73574
|
provisioningStep: z.ZodEnum<{
|
|
@@ -73535,6 +73651,10 @@ declare class UpdateIntegrationElephantRestaurant extends AbstractApiRequest<typ
|
|
|
73535
73651
|
delivery: "delivery";
|
|
73536
73652
|
collection: "collection";
|
|
73537
73653
|
}>>;
|
|
73654
|
+
deliveryManagedBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
73655
|
+
merchant: "merchant";
|
|
73656
|
+
marketplace: "marketplace";
|
|
73657
|
+
}>>>>;
|
|
73538
73658
|
defaultPreparationTime: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
73539
73659
|
acceptanceTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
73540
73660
|
}, z.core.$strip>;
|
|
@@ -73590,6 +73710,10 @@ declare class UpdateIntegrationElephantRestaurant extends AbstractApiRequest<typ
|
|
|
73590
73710
|
delivery: "delivery";
|
|
73591
73711
|
collection: "collection";
|
|
73592
73712
|
}>;
|
|
73713
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
73714
|
+
merchant: "merchant";
|
|
73715
|
+
marketplace: "marketplace";
|
|
73716
|
+
}>>>;
|
|
73593
73717
|
defaultPreparationTime: z.ZodCoercedNumber<unknown>;
|
|
73594
73718
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
73595
73719
|
provisioningStep: z.ZodEnum<{
|
package/dist/index.d.ts
CHANGED
|
@@ -52182,6 +52182,10 @@ declare const integrationElephantRestaurantSchema: z.ZodObject<{
|
|
|
52182
52182
|
delivery: "delivery";
|
|
52183
52183
|
collection: "collection";
|
|
52184
52184
|
}>;
|
|
52185
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
52186
|
+
merchant: "merchant";
|
|
52187
|
+
marketplace: "marketplace";
|
|
52188
|
+
}>>>;
|
|
52185
52189
|
defaultPreparationTime: z.ZodCoercedNumber<unknown>;
|
|
52186
52190
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
52187
52191
|
provisioningStep: z.ZodEnum<{
|
|
@@ -52263,6 +52267,10 @@ declare const integrationElephantRestaurantDetailsSchema: z.ZodObject<{
|
|
|
52263
52267
|
delivery: "delivery";
|
|
52264
52268
|
collection: "collection";
|
|
52265
52269
|
}>;
|
|
52270
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
52271
|
+
merchant: "merchant";
|
|
52272
|
+
marketplace: "marketplace";
|
|
52273
|
+
}>>>;
|
|
52266
52274
|
defaultPreparationTime: z.ZodCoercedNumber<unknown>;
|
|
52267
52275
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
52268
52276
|
provisioningStep: z.ZodEnum<{
|
|
@@ -52298,6 +52306,10 @@ declare const integrationElephantRestaurantCreateFieldsSchema: z.ZodDiscriminate
|
|
|
52298
52306
|
name: z.ZodString;
|
|
52299
52307
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
52300
52308
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
52309
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
52310
|
+
merchant: "merchant";
|
|
52311
|
+
marketplace: "marketplace";
|
|
52312
|
+
}>>>;
|
|
52301
52313
|
platformRestaurantId: z.ZodString;
|
|
52302
52314
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52303
52315
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -52329,6 +52341,10 @@ declare const integrationElephantRestaurantCreateFieldsSchema: z.ZodDiscriminate
|
|
|
52329
52341
|
name: z.ZodString;
|
|
52330
52342
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
52331
52343
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
52344
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
52345
|
+
merchant: "merchant";
|
|
52346
|
+
marketplace: "marketplace";
|
|
52347
|
+
}>>>;
|
|
52332
52348
|
platformRestaurantId: z.ZodString;
|
|
52333
52349
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52334
52350
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -52360,6 +52376,10 @@ declare const integrationElephantRestaurantCreateFieldsSchema: z.ZodDiscriminate
|
|
|
52360
52376
|
name: z.ZodString;
|
|
52361
52377
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
52362
52378
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
52379
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
52380
|
+
merchant: "merchant";
|
|
52381
|
+
marketplace: "marketplace";
|
|
52382
|
+
}>>>;
|
|
52363
52383
|
platformRestaurantId: z.ZodString;
|
|
52364
52384
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52365
52385
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -52389,6 +52409,10 @@ declare const integrationElephantRestaurantCreateFieldsSchema: z.ZodDiscriminate
|
|
|
52389
52409
|
name: z.ZodString;
|
|
52390
52410
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
52391
52411
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
52412
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
52413
|
+
merchant: "merchant";
|
|
52414
|
+
marketplace: "marketplace";
|
|
52415
|
+
}>>>;
|
|
52392
52416
|
platformRestaurantId: z.ZodString;
|
|
52393
52417
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52394
52418
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -52418,6 +52442,10 @@ declare const integrationElephantRestaurantCreateFieldsSchema: z.ZodDiscriminate
|
|
|
52418
52442
|
name: z.ZodString;
|
|
52419
52443
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
52420
52444
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
52445
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
52446
|
+
merchant: "merchant";
|
|
52447
|
+
marketplace: "marketplace";
|
|
52448
|
+
}>>>;
|
|
52421
52449
|
platformRestaurantId: z.ZodString;
|
|
52422
52450
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52423
52451
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -52495,6 +52523,10 @@ declare const integrationElephantRestaurantUpdateFieldsSchema: z.ZodObject<{
|
|
|
52495
52523
|
delivery: "delivery";
|
|
52496
52524
|
collection: "collection";
|
|
52497
52525
|
}>>;
|
|
52526
|
+
deliveryManagedBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
52527
|
+
merchant: "merchant";
|
|
52528
|
+
marketplace: "marketplace";
|
|
52529
|
+
}>>>>;
|
|
52498
52530
|
defaultPreparationTime: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
52499
52531
|
acceptanceTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
52500
52532
|
}, z.core.$strip>;
|
|
@@ -70117,6 +70149,10 @@ declare const createIntegrationElephantRestaurantInputSchema: z.ZodDiscriminated
|
|
|
70117
70149
|
name: z.ZodString;
|
|
70118
70150
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
70119
70151
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
70152
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
70153
|
+
merchant: "merchant";
|
|
70154
|
+
marketplace: "marketplace";
|
|
70155
|
+
}>>>;
|
|
70120
70156
|
platformRestaurantId: z.ZodString;
|
|
70121
70157
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70122
70158
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -70148,6 +70184,10 @@ declare const createIntegrationElephantRestaurantInputSchema: z.ZodDiscriminated
|
|
|
70148
70184
|
name: z.ZodString;
|
|
70149
70185
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
70150
70186
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
70187
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
70188
|
+
merchant: "merchant";
|
|
70189
|
+
marketplace: "marketplace";
|
|
70190
|
+
}>>>;
|
|
70151
70191
|
platformRestaurantId: z.ZodString;
|
|
70152
70192
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70153
70193
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -70179,6 +70219,10 @@ declare const createIntegrationElephantRestaurantInputSchema: z.ZodDiscriminated
|
|
|
70179
70219
|
name: z.ZodString;
|
|
70180
70220
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
70181
70221
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
70222
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
70223
|
+
merchant: "merchant";
|
|
70224
|
+
marketplace: "marketplace";
|
|
70225
|
+
}>>>;
|
|
70182
70226
|
platformRestaurantId: z.ZodString;
|
|
70183
70227
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70184
70228
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -70208,6 +70252,10 @@ declare const createIntegrationElephantRestaurantInputSchema: z.ZodDiscriminated
|
|
|
70208
70252
|
name: z.ZodString;
|
|
70209
70253
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
70210
70254
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
70255
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
70256
|
+
merchant: "merchant";
|
|
70257
|
+
marketplace: "marketplace";
|
|
70258
|
+
}>>>;
|
|
70211
70259
|
platformRestaurantId: z.ZodString;
|
|
70212
70260
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70213
70261
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -70237,6 +70285,10 @@ declare const createIntegrationElephantRestaurantInputSchema: z.ZodDiscriminated
|
|
|
70237
70285
|
name: z.ZodString;
|
|
70238
70286
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
70239
70287
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
70288
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
70289
|
+
merchant: "merchant";
|
|
70290
|
+
marketplace: "marketplace";
|
|
70291
|
+
}>>>;
|
|
70240
70292
|
platformRestaurantId: z.ZodString;
|
|
70241
70293
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70242
70294
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -70319,6 +70371,10 @@ declare const createIntegrationElephantRestaurantResponseSchema: z.ZodObject<{
|
|
|
70319
70371
|
delivery: "delivery";
|
|
70320
70372
|
collection: "collection";
|
|
70321
70373
|
}>;
|
|
70374
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
70375
|
+
merchant: "merchant";
|
|
70376
|
+
marketplace: "marketplace";
|
|
70377
|
+
}>>>;
|
|
70322
70378
|
defaultPreparationTime: z.ZodCoercedNumber<unknown>;
|
|
70323
70379
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
70324
70380
|
provisioningStep: z.ZodEnum<{
|
|
@@ -70358,6 +70414,10 @@ declare class CreateIntegrationElephantRestaurant extends AbstractApiRequest<typ
|
|
|
70358
70414
|
name: z.ZodString;
|
|
70359
70415
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
70360
70416
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
70417
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
70418
|
+
merchant: "merchant";
|
|
70419
|
+
marketplace: "marketplace";
|
|
70420
|
+
}>>>;
|
|
70361
70421
|
platformRestaurantId: z.ZodString;
|
|
70362
70422
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70363
70423
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -70389,6 +70449,10 @@ declare class CreateIntegrationElephantRestaurant extends AbstractApiRequest<typ
|
|
|
70389
70449
|
name: z.ZodString;
|
|
70390
70450
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
70391
70451
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
70452
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
70453
|
+
merchant: "merchant";
|
|
70454
|
+
marketplace: "marketplace";
|
|
70455
|
+
}>>>;
|
|
70392
70456
|
platformRestaurantId: z.ZodString;
|
|
70393
70457
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70394
70458
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -70420,6 +70484,10 @@ declare class CreateIntegrationElephantRestaurant extends AbstractApiRequest<typ
|
|
|
70420
70484
|
name: z.ZodString;
|
|
70421
70485
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
70422
70486
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
70487
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
70488
|
+
merchant: "merchant";
|
|
70489
|
+
marketplace: "marketplace";
|
|
70490
|
+
}>>>;
|
|
70423
70491
|
platformRestaurantId: z.ZodString;
|
|
70424
70492
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70425
70493
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -70449,6 +70517,10 @@ declare class CreateIntegrationElephantRestaurant extends AbstractApiRequest<typ
|
|
|
70449
70517
|
name: z.ZodString;
|
|
70450
70518
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
70451
70519
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
70520
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
70521
|
+
merchant: "merchant";
|
|
70522
|
+
marketplace: "marketplace";
|
|
70523
|
+
}>>>;
|
|
70452
70524
|
platformRestaurantId: z.ZodString;
|
|
70453
70525
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70454
70526
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -70478,6 +70550,10 @@ declare class CreateIntegrationElephantRestaurant extends AbstractApiRequest<typ
|
|
|
70478
70550
|
name: z.ZodString;
|
|
70479
70551
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
70480
70552
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
70553
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
70554
|
+
merchant: "merchant";
|
|
70555
|
+
marketplace: "marketplace";
|
|
70556
|
+
}>>>;
|
|
70481
70557
|
platformRestaurantId: z.ZodString;
|
|
70482
70558
|
platformChainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70483
70559
|
defaultTaxRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -70559,6 +70635,10 @@ declare class CreateIntegrationElephantRestaurant extends AbstractApiRequest<typ
|
|
|
70559
70635
|
delivery: "delivery";
|
|
70560
70636
|
collection: "collection";
|
|
70561
70637
|
}>;
|
|
70638
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
70639
|
+
merchant: "merchant";
|
|
70640
|
+
marketplace: "marketplace";
|
|
70641
|
+
}>>>;
|
|
70562
70642
|
defaultPreparationTime: z.ZodCoercedNumber<unknown>;
|
|
70563
70643
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
70564
70644
|
provisioningStep: z.ZodEnum<{
|
|
@@ -71150,6 +71230,10 @@ declare const getIntegrationElephantRestaurantDetailsResponseSchema: z.ZodObject
|
|
|
71150
71230
|
delivery: "delivery";
|
|
71151
71231
|
collection: "collection";
|
|
71152
71232
|
}>;
|
|
71233
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
71234
|
+
merchant: "merchant";
|
|
71235
|
+
marketplace: "marketplace";
|
|
71236
|
+
}>>>;
|
|
71153
71237
|
defaultPreparationTime: z.ZodCoercedNumber<unknown>;
|
|
71154
71238
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
71155
71239
|
provisioningStep: z.ZodEnum<{
|
|
@@ -71238,6 +71322,10 @@ declare class GetIntegrationElephantRestaurantDetails extends AbstractApiRequest
|
|
|
71238
71322
|
delivery: "delivery";
|
|
71239
71323
|
collection: "collection";
|
|
71240
71324
|
}>;
|
|
71325
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
71326
|
+
merchant: "merchant";
|
|
71327
|
+
marketplace: "marketplace";
|
|
71328
|
+
}>>>;
|
|
71241
71329
|
defaultPreparationTime: z.ZodCoercedNumber<unknown>;
|
|
71242
71330
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
71243
71331
|
provisioningStep: z.ZodEnum<{
|
|
@@ -71450,6 +71538,10 @@ declare const getIntegrationElephantRestaurantsResponseSchema: z.ZodObject<{
|
|
|
71450
71538
|
delivery: "delivery";
|
|
71451
71539
|
collection: "collection";
|
|
71452
71540
|
}>;
|
|
71541
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
71542
|
+
merchant: "merchant";
|
|
71543
|
+
marketplace: "marketplace";
|
|
71544
|
+
}>>>;
|
|
71453
71545
|
defaultPreparationTime: z.ZodCoercedNumber<unknown>;
|
|
71454
71546
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
71455
71547
|
provisioningStep: z.ZodEnum<{
|
|
@@ -71546,6 +71638,10 @@ declare class GetIntegrationElephantRestaurants extends AbstractApiRequest<typeo
|
|
|
71546
71638
|
delivery: "delivery";
|
|
71547
71639
|
collection: "collection";
|
|
71548
71640
|
}>;
|
|
71641
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
71642
|
+
merchant: "merchant";
|
|
71643
|
+
marketplace: "marketplace";
|
|
71644
|
+
}>>>;
|
|
71549
71645
|
defaultPreparationTime: z.ZodCoercedNumber<unknown>;
|
|
71550
71646
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
71551
71647
|
provisioningStep: z.ZodEnum<{
|
|
@@ -71754,6 +71850,10 @@ declare class GetIntegrationElephantRestaurants extends AbstractApiRequest<typeo
|
|
|
71754
71850
|
delivery: "delivery";
|
|
71755
71851
|
collection: "collection";
|
|
71756
71852
|
}>;
|
|
71853
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
71854
|
+
merchant: "merchant";
|
|
71855
|
+
marketplace: "marketplace";
|
|
71856
|
+
}>>>;
|
|
71757
71857
|
defaultPreparationTime: z.ZodCoercedNumber<unknown>;
|
|
71758
71858
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
71759
71859
|
provisioningStep: z.ZodEnum<{
|
|
@@ -72811,6 +72911,10 @@ declare const integrationElephantRestaurantActionResponseSchema: z.ZodObject<{
|
|
|
72811
72911
|
delivery: "delivery";
|
|
72812
72912
|
collection: "collection";
|
|
72813
72913
|
}>;
|
|
72914
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
72915
|
+
merchant: "merchant";
|
|
72916
|
+
marketplace: "marketplace";
|
|
72917
|
+
}>>>;
|
|
72814
72918
|
defaultPreparationTime: z.ZodCoercedNumber<unknown>;
|
|
72815
72919
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
72816
72920
|
provisioningStep: z.ZodEnum<{
|
|
@@ -72896,6 +73000,10 @@ declare abstract class IntegrationElephantRestaurantActionRequest extends Abstra
|
|
|
72896
73000
|
delivery: "delivery";
|
|
72897
73001
|
collection: "collection";
|
|
72898
73002
|
}>;
|
|
73003
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
73004
|
+
merchant: "merchant";
|
|
73005
|
+
marketplace: "marketplace";
|
|
73006
|
+
}>>>;
|
|
72899
73007
|
defaultPreparationTime: z.ZodCoercedNumber<unknown>;
|
|
72900
73008
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
72901
73009
|
provisioningStep: z.ZodEnum<{
|
|
@@ -73397,6 +73505,10 @@ declare const updateIntegrationElephantRestaurantInputSchema: z.ZodObject<{
|
|
|
73397
73505
|
delivery: "delivery";
|
|
73398
73506
|
collection: "collection";
|
|
73399
73507
|
}>>;
|
|
73508
|
+
deliveryManagedBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
73509
|
+
merchant: "merchant";
|
|
73510
|
+
marketplace: "marketplace";
|
|
73511
|
+
}>>>>;
|
|
73400
73512
|
defaultPreparationTime: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
73401
73513
|
acceptanceTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
73402
73514
|
}, z.core.$strip>;
|
|
@@ -73453,6 +73565,10 @@ declare const updateIntegrationElephantRestaurantResponseSchema: z.ZodObject<{
|
|
|
73453
73565
|
delivery: "delivery";
|
|
73454
73566
|
collection: "collection";
|
|
73455
73567
|
}>;
|
|
73568
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
73569
|
+
merchant: "merchant";
|
|
73570
|
+
marketplace: "marketplace";
|
|
73571
|
+
}>>>;
|
|
73456
73572
|
defaultPreparationTime: z.ZodCoercedNumber<unknown>;
|
|
73457
73573
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
73458
73574
|
provisioningStep: z.ZodEnum<{
|
|
@@ -73535,6 +73651,10 @@ declare class UpdateIntegrationElephantRestaurant extends AbstractApiRequest<typ
|
|
|
73535
73651
|
delivery: "delivery";
|
|
73536
73652
|
collection: "collection";
|
|
73537
73653
|
}>>;
|
|
73654
|
+
deliveryManagedBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
73655
|
+
merchant: "merchant";
|
|
73656
|
+
marketplace: "marketplace";
|
|
73657
|
+
}>>>>;
|
|
73538
73658
|
defaultPreparationTime: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
73539
73659
|
acceptanceTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
73540
73660
|
}, z.core.$strip>;
|
|
@@ -73590,6 +73710,10 @@ declare class UpdateIntegrationElephantRestaurant extends AbstractApiRequest<typ
|
|
|
73590
73710
|
delivery: "delivery";
|
|
73591
73711
|
collection: "collection";
|
|
73592
73712
|
}>;
|
|
73713
|
+
deliveryManagedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
73714
|
+
merchant: "merchant";
|
|
73715
|
+
marketplace: "marketplace";
|
|
73716
|
+
}>>>;
|
|
73593
73717
|
defaultPreparationTime: z.ZodCoercedNumber<unknown>;
|
|
73594
73718
|
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
73595
73719
|
provisioningStep: z.ZodEnum<{
|
package/dist/index.js
CHANGED
|
@@ -2840,6 +2840,7 @@ import {
|
|
|
2840
2840
|
datetimeSchema as datetimeSchema6,
|
|
2841
2841
|
menuChannels as menuChannels2,
|
|
2842
2842
|
menuChannelSchema as menuChannelSchema2,
|
|
2843
|
+
orderDeliveryManagerSchema,
|
|
2843
2844
|
sortDirSchema as sortDirSchema5,
|
|
2844
2845
|
timestampsFilterSchema as timestampsFilterSchema4
|
|
2845
2846
|
} from "@deliverart/sdk-js-global-types";
|
|
@@ -2926,6 +2927,7 @@ var integrationElephantRestaurantSchema = z8.object({
|
|
|
2926
2927
|
defaultTaxRate: z8.coerce.number().min(0).max(100),
|
|
2927
2928
|
channels: z8.array(menuChannelSchema2).min(2),
|
|
2928
2929
|
orderType: z8.enum(["delivery", "collection"]),
|
|
2930
|
+
deliveryManagedBy: orderDeliveryManagerSchema.nullable().optional(),
|
|
2929
2931
|
defaultPreparationTime: z8.coerce.number().int().min(0).max(240),
|
|
2930
2932
|
acceptanceTimeout: z8.coerce.number().int().min(0).max(120),
|
|
2931
2933
|
provisioningStep: types_exports.integrationElephantProvisioningStepSchema,
|
|
@@ -2954,6 +2956,7 @@ var integrationElephantRestaurantMutableFieldsSchema = z8.object({
|
|
|
2954
2956
|
defaultTaxRate: z8.coerce.number().min(0).max(100),
|
|
2955
2957
|
channels: z8.array(menuChannelSchema2).min(2),
|
|
2956
2958
|
orderType: z8.enum(["delivery", "collection"]),
|
|
2959
|
+
deliveryManagedBy: orderDeliveryManagerSchema.nullable().optional(),
|
|
2957
2960
|
defaultPreparationTime: z8.coerce.number().int().min(0).max(240),
|
|
2958
2961
|
acceptanceTimeout: z8.coerce.number().int().min(0).max(120)
|
|
2959
2962
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deliverart/sdk-js-integration",
|
|
3
3
|
"description": "Deliverart JavaScript SDK for Integration Management",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -19,16 +19,16 @@
|
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"zod": "4.6.6",
|
|
22
|
-
"@deliverart/sdk-js-api-token": "3.0.
|
|
23
|
-
"@deliverart/sdk-js-core": "3.0.
|
|
24
|
-
"@deliverart/sdk-js-customer": "3.0.
|
|
25
|
-
"@deliverart/sdk-js-global-types": "3.0.
|
|
26
|
-
"@deliverart/sdk-js-image": "3.0.
|
|
27
|
-
"@deliverart/sdk-js-integration-types": "3.0.
|
|
28
|
-
"@deliverart/sdk-js-menu": "3.0.
|
|
29
|
-
"@deliverart/sdk-js-order": "3.0.
|
|
30
|
-
"@deliverart/sdk-js-
|
|
31
|
-
"@deliverart/sdk-js-
|
|
22
|
+
"@deliverart/sdk-js-api-token": "3.0.1",
|
|
23
|
+
"@deliverart/sdk-js-core": "3.0.1",
|
|
24
|
+
"@deliverart/sdk-js-customer": "3.0.1",
|
|
25
|
+
"@deliverart/sdk-js-global-types": "3.0.1",
|
|
26
|
+
"@deliverart/sdk-js-image": "3.0.1",
|
|
27
|
+
"@deliverart/sdk-js-integration-types": "3.0.1",
|
|
28
|
+
"@deliverart/sdk-js-menu": "3.0.1",
|
|
29
|
+
"@deliverart/sdk-js-order": "3.0.1",
|
|
30
|
+
"@deliverart/sdk-js-point-of-sale": "3.0.1",
|
|
31
|
+
"@deliverart/sdk-js-sales-mode": "3.0.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"vitest": "4.1.12"
|