order3000 1.12.0 → 1.13.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/README.md +1 -1
- package/dist/client.cjs +63 -0
- package/dist/client.d.cts +39 -2
- package/dist/client.d.mts +39 -2
- package/dist/client.mjs +63 -0
- package/dist/{index-bbg7Ev_r.d.cts → index-BYRSx8Te.d.cts} +377 -9
- package/dist/{index-bbg7Ev_r.d.mts → index-BYRSx8Te.d.mts} +377 -9
- package/dist/menu.d.cts +1 -1
- package/dist/menu.d.mts +1 -1
- package/dist/schemas.cjs +654 -12
- package/dist/schemas.d.cts +599 -15
- package/dist/schemas.d.mts +599 -15
- package/dist/schemas.mjs +654 -12
- package/package.json +3 -3
|
@@ -1201,6 +1201,9 @@ interface components {
|
|
|
1201
1201
|
kitchenName: ((string | number | boolean | (null)) | {
|
|
1202
1202
|
[key: string]: unknown;
|
|
1203
1203
|
} | unknown[]) | null;
|
|
1204
|
+
subtitle: ((string | number | boolean | (null)) | {
|
|
1205
|
+
[key: string]: unknown;
|
|
1206
|
+
} | unknown[]) | null;
|
|
1204
1207
|
description: ((string | number | boolean | (null)) | {
|
|
1205
1208
|
[key: string]: unknown;
|
|
1206
1209
|
} | unknown[]) | null;
|
|
@@ -1241,6 +1244,9 @@ interface components {
|
|
|
1241
1244
|
kitchenName?: ((string | number | boolean | (null)) | {
|
|
1242
1245
|
[key: string]: unknown;
|
|
1243
1246
|
} | unknown[]) | null;
|
|
1247
|
+
subtitle?: ((string | number | boolean | (null)) | {
|
|
1248
|
+
[key: string]: unknown;
|
|
1249
|
+
} | unknown[]) | null;
|
|
1244
1250
|
description?: ((string | number | boolean | (null)) | {
|
|
1245
1251
|
[key: string]: unknown;
|
|
1246
1252
|
} | unknown[]) | null;
|
|
@@ -1277,6 +1283,9 @@ interface components {
|
|
|
1277
1283
|
kitchenName: ((string | number | boolean | (null)) | {
|
|
1278
1284
|
[key: string]: unknown;
|
|
1279
1285
|
} | unknown[]) | null;
|
|
1286
|
+
subtitle: ((string | number | boolean | (null)) | {
|
|
1287
|
+
[key: string]: unknown;
|
|
1288
|
+
} | unknown[]) | null;
|
|
1280
1289
|
description: ((string | number | boolean | (null)) | {
|
|
1281
1290
|
[key: string]: unknown;
|
|
1282
1291
|
} | unknown[]) | null;
|
|
@@ -1380,6 +1389,9 @@ interface components {
|
|
|
1380
1389
|
kitchenName: ((string | number | boolean | (null)) | {
|
|
1381
1390
|
[key: string]: unknown;
|
|
1382
1391
|
} | unknown[]) | null;
|
|
1392
|
+
subtitle: ((string | number | boolean | (null)) | {
|
|
1393
|
+
[key: string]: unknown;
|
|
1394
|
+
} | unknown[]) | null;
|
|
1383
1395
|
description: ((string | number | boolean | (null)) | {
|
|
1384
1396
|
[key: string]: unknown;
|
|
1385
1397
|
} | unknown[]) | null;
|
|
@@ -1414,6 +1426,9 @@ interface components {
|
|
|
1414
1426
|
kitchenName?: {
|
|
1415
1427
|
[key: string]: string;
|
|
1416
1428
|
} | null;
|
|
1429
|
+
subtitle?: {
|
|
1430
|
+
[key: string]: string;
|
|
1431
|
+
} | null;
|
|
1417
1432
|
description?: {
|
|
1418
1433
|
[key: string]: string;
|
|
1419
1434
|
} | null;
|
|
@@ -1449,6 +1464,9 @@ interface components {
|
|
|
1449
1464
|
kitchenName: ((string | number | boolean | (null)) | {
|
|
1450
1465
|
[key: string]: unknown;
|
|
1451
1466
|
} | unknown[]) | null;
|
|
1467
|
+
subtitle: ((string | number | boolean | (null)) | {
|
|
1468
|
+
[key: string]: unknown;
|
|
1469
|
+
} | unknown[]) | null;
|
|
1452
1470
|
description: ((string | number | boolean | (null)) | {
|
|
1453
1471
|
[key: string]: unknown;
|
|
1454
1472
|
} | unknown[]) | null;
|
|
@@ -2094,9 +2112,12 @@ interface components {
|
|
|
2094
2112
|
*/
|
|
2095
2113
|
FetchMenuResponse: {
|
|
2096
2114
|
id: string;
|
|
2097
|
-
|
|
2115
|
+
title: {
|
|
2098
2116
|
[key: string]: string;
|
|
2099
2117
|
};
|
|
2118
|
+
subtitle: {
|
|
2119
|
+
[key: string]: string;
|
|
2120
|
+
} | null;
|
|
2100
2121
|
accessor: string;
|
|
2101
2122
|
metadata: {
|
|
2102
2123
|
orderingEnabled?: boolean;
|
|
@@ -2221,6 +2242,19 @@ interface components {
|
|
|
2221
2242
|
contentHash: string | null;
|
|
2222
2243
|
publicUrl: string;
|
|
2223
2244
|
}[];
|
|
2245
|
+
additives?: {
|
|
2246
|
+
id: string;
|
|
2247
|
+
eNumber: string;
|
|
2248
|
+
technicalName: {
|
|
2249
|
+
[key: string]: string;
|
|
2250
|
+
};
|
|
2251
|
+
isAllergen: boolean | null;
|
|
2252
|
+
requiresWarning: boolean | null;
|
|
2253
|
+
warningMessage: {
|
|
2254
|
+
[key: string]: string;
|
|
2255
|
+
} | null;
|
|
2256
|
+
regulation: string | null;
|
|
2257
|
+
}[];
|
|
2224
2258
|
} | null;
|
|
2225
2259
|
beverage: {
|
|
2226
2260
|
id: string;
|
|
@@ -2273,6 +2307,19 @@ interface components {
|
|
|
2273
2307
|
contentHash: string | null;
|
|
2274
2308
|
publicUrl: string;
|
|
2275
2309
|
}[];
|
|
2310
|
+
additives?: {
|
|
2311
|
+
id: string;
|
|
2312
|
+
eNumber: string;
|
|
2313
|
+
technicalName: {
|
|
2314
|
+
[key: string]: string;
|
|
2315
|
+
};
|
|
2316
|
+
isAllergen: boolean | null;
|
|
2317
|
+
requiresWarning: boolean | null;
|
|
2318
|
+
warningMessage: {
|
|
2319
|
+
[key: string]: string;
|
|
2320
|
+
} | null;
|
|
2321
|
+
regulation: string | null;
|
|
2322
|
+
}[];
|
|
2276
2323
|
} | null;
|
|
2277
2324
|
}[];
|
|
2278
2325
|
};
|
|
@@ -2495,6 +2542,211 @@ interface components {
|
|
|
2495
2542
|
paidTotal: number;
|
|
2496
2543
|
released: number;
|
|
2497
2544
|
};
|
|
2545
|
+
/** CreateMenuPublicationRequest */
|
|
2546
|
+
CreateMenuPublicationRequest: {
|
|
2547
|
+
venueAccessor: string;
|
|
2548
|
+
menuAccessor: string;
|
|
2549
|
+
name?: string;
|
|
2550
|
+
};
|
|
2551
|
+
/** CreateMenuPublicationResponse */
|
|
2552
|
+
CreateMenuPublicationResponse: {
|
|
2553
|
+
id: string;
|
|
2554
|
+
venueId: string;
|
|
2555
|
+
accessor: string;
|
|
2556
|
+
name: string;
|
|
2557
|
+
type: components["schemas"]["PublicationType"];
|
|
2558
|
+
paperSize: components["schemas"]["PublicationPaperSize"];
|
|
2559
|
+
palette: components["schemas"]["PublicationPalette"];
|
|
2560
|
+
designDoc: (string | number | boolean | (null)) | {
|
|
2561
|
+
[key: string]: unknown;
|
|
2562
|
+
} | unknown[];
|
|
2563
|
+
renderedAssetId: string | null;
|
|
2564
|
+
frameId: string | null;
|
|
2565
|
+
ruleIconAssetId: string | null;
|
|
2566
|
+
templateId: string | null;
|
|
2567
|
+
sourceType: components["schemas"]["PublicationSourceType"];
|
|
2568
|
+
sourceId: string | null;
|
|
2569
|
+
isActive: boolean;
|
|
2570
|
+
sortIndex: string | null;
|
|
2571
|
+
createdAt: unknown;
|
|
2572
|
+
createdBy: string | null;
|
|
2573
|
+
updatedAt: unknown;
|
|
2574
|
+
updatedBy: string | null;
|
|
2575
|
+
};
|
|
2576
|
+
/** SetMenuPublicationBlocksRequest */
|
|
2577
|
+
SetMenuPublicationBlocksRequest: {
|
|
2578
|
+
venueAccessor: string;
|
|
2579
|
+
publicationAccessor: string;
|
|
2580
|
+
showTitle?: boolean;
|
|
2581
|
+
title?: {
|
|
2582
|
+
[key: string]: string;
|
|
2583
|
+
};
|
|
2584
|
+
showSubtitle?: boolean;
|
|
2585
|
+
subtitle?: {
|
|
2586
|
+
[key: string]: string;
|
|
2587
|
+
};
|
|
2588
|
+
subtitleFontRole?: components["schemas"]["FontRole"];
|
|
2589
|
+
subtitleFontFace?: string;
|
|
2590
|
+
subtitleSize?: number;
|
|
2591
|
+
subtitleColor?: ({
|
|
2592
|
+
palette: string;
|
|
2593
|
+
shade: string;
|
|
2594
|
+
} | {
|
|
2595
|
+
custom: string;
|
|
2596
|
+
}) | null;
|
|
2597
|
+
showDescription?: boolean;
|
|
2598
|
+
description?: {
|
|
2599
|
+
[key: string]: string;
|
|
2600
|
+
};
|
|
2601
|
+
titleFontRole?: components["schemas"]["FontRole"];
|
|
2602
|
+
titleFontFace?: string;
|
|
2603
|
+
titleSize?: number;
|
|
2604
|
+
descriptionFontRole?: components["schemas"]["FontRole"];
|
|
2605
|
+
descriptionFontFace?: string;
|
|
2606
|
+
descriptionSize?: number;
|
|
2607
|
+
descriptionColor?: ({
|
|
2608
|
+
palette: string;
|
|
2609
|
+
shade: string;
|
|
2610
|
+
} | {
|
|
2611
|
+
custom: string;
|
|
2612
|
+
}) | null;
|
|
2613
|
+
paddingX?: number;
|
|
2614
|
+
paddingY?: number;
|
|
2615
|
+
bleed?: boolean;
|
|
2616
|
+
pageNumbers?: boolean;
|
|
2617
|
+
groupBy?: components["schemas"]["PublicationGroupBy"];
|
|
2618
|
+
groupFlow?: components["schemas"]["PublicationGroupFlow"];
|
|
2619
|
+
weekScope?: components["schemas"]["PublicationWeekScope"];
|
|
2620
|
+
weekRangeStart?: number;
|
|
2621
|
+
weekRangeEnd?: number;
|
|
2622
|
+
weekdaySubgrouping?: boolean;
|
|
2623
|
+
showPrice?: boolean;
|
|
2624
|
+
priceDecimals?: number;
|
|
2625
|
+
priceFontRole?: components["schemas"]["FontRole"];
|
|
2626
|
+
priceFontFace?: string;
|
|
2627
|
+
priceShowCurrency?: boolean;
|
|
2628
|
+
pricePosition?: components["schemas"]["PublicationPricePosition"];
|
|
2629
|
+
chipOutlined?: boolean;
|
|
2630
|
+
chipModest?: boolean;
|
|
2631
|
+
veganChipColor?: ({
|
|
2632
|
+
palette: string;
|
|
2633
|
+
shade: string;
|
|
2634
|
+
} | {
|
|
2635
|
+
custom: string;
|
|
2636
|
+
}) | null;
|
|
2637
|
+
vegetarianChipColor?: ({
|
|
2638
|
+
palette: string;
|
|
2639
|
+
shade: string;
|
|
2640
|
+
} | {
|
|
2641
|
+
custom: string;
|
|
2642
|
+
}) | null;
|
|
2643
|
+
spicinessChipColor?: ({
|
|
2644
|
+
palette: string;
|
|
2645
|
+
shade: string;
|
|
2646
|
+
} | {
|
|
2647
|
+
custom: string;
|
|
2648
|
+
}) | null;
|
|
2649
|
+
allergensChipColor?: ({
|
|
2650
|
+
palette: string;
|
|
2651
|
+
shade: string;
|
|
2652
|
+
} | {
|
|
2653
|
+
custom: string;
|
|
2654
|
+
}) | null;
|
|
2655
|
+
paperSize?: components["schemas"]["PublicationPaperSize"];
|
|
2656
|
+
palette?: components["schemas"]["PublicationPalette"];
|
|
2657
|
+
showFrame?: boolean;
|
|
2658
|
+
frameStyle?: components["schemas"]["PublicationFrameStyle"];
|
|
2659
|
+
frameColor?: ({
|
|
2660
|
+
palette: string;
|
|
2661
|
+
shade: string;
|
|
2662
|
+
} | {
|
|
2663
|
+
custom: string;
|
|
2664
|
+
}) | null;
|
|
2665
|
+
frameWidth?: number;
|
|
2666
|
+
frameInset?: number;
|
|
2667
|
+
frameId?: string;
|
|
2668
|
+
frameName?: string;
|
|
2669
|
+
frameIcons?: {
|
|
2670
|
+
assetId: string;
|
|
2671
|
+
rotation: number;
|
|
2672
|
+
}[];
|
|
2673
|
+
titleAlign?: components["schemas"]["EnumCenterLeftRight"];
|
|
2674
|
+
subtitleAlign?: components["schemas"]["EnumCenterLeftRight"];
|
|
2675
|
+
descriptionAlign?: components["schemas"]["PublicationTextAlign"];
|
|
2676
|
+
showRule?: boolean;
|
|
2677
|
+
rulePosition?: components["schemas"]["PublicationRulePosition"];
|
|
2678
|
+
ruleStyle?: components["schemas"]["PublicationRuleStyle"];
|
|
2679
|
+
ruleColor?: ({
|
|
2680
|
+
palette: string;
|
|
2681
|
+
shade: string;
|
|
2682
|
+
} | {
|
|
2683
|
+
custom: string;
|
|
2684
|
+
}) | null;
|
|
2685
|
+
ruleIconAssetId?: string;
|
|
2686
|
+
showQr?: boolean;
|
|
2687
|
+
qrTarget?: components["schemas"]["PublicationQrTarget"];
|
|
2688
|
+
qrCustomUrl?: string;
|
|
2689
|
+
qrPlacement?: components["schemas"]["PublicationQrPlacement"];
|
|
2690
|
+
qrSize?: number;
|
|
2691
|
+
itemTitleSize?: number;
|
|
2692
|
+
itemSubtitleSize?: number;
|
|
2693
|
+
itemSubtitleColor?: ({
|
|
2694
|
+
palette: string;
|
|
2695
|
+
shade: string;
|
|
2696
|
+
} | {
|
|
2697
|
+
custom: string;
|
|
2698
|
+
}) | null;
|
|
2699
|
+
itemDescriptionSize?: number;
|
|
2700
|
+
itemDescriptionColor?: ({
|
|
2701
|
+
palette: string;
|
|
2702
|
+
shade: string;
|
|
2703
|
+
} | {
|
|
2704
|
+
custom: string;
|
|
2705
|
+
}) | null;
|
|
2706
|
+
showItemTitles?: boolean;
|
|
2707
|
+
showItemSubtitles?: boolean;
|
|
2708
|
+
showItemDescriptions?: boolean;
|
|
2709
|
+
showVegan?: boolean;
|
|
2710
|
+
showVegetarian?: boolean;
|
|
2711
|
+
showSpiciness?: boolean;
|
|
2712
|
+
showAllergens?: boolean;
|
|
2713
|
+
};
|
|
2714
|
+
/** SetMenuPublicationBlocksResponse */
|
|
2715
|
+
SetMenuPublicationBlocksResponse: {
|
|
2716
|
+
id: string;
|
|
2717
|
+
accessor: string;
|
|
2718
|
+
};
|
|
2719
|
+
/** RenderMenuPublicationPdfRequest */
|
|
2720
|
+
RenderMenuPublicationPdfRequest: {
|
|
2721
|
+
venueAccessor: string;
|
|
2722
|
+
publicationAccessor: string;
|
|
2723
|
+
locale?: string;
|
|
2724
|
+
};
|
|
2725
|
+
/** RenderMenuPublicationPdfResponse */
|
|
2726
|
+
RenderMenuPublicationPdfResponse: {
|
|
2727
|
+
fileName: string;
|
|
2728
|
+
pages: number;
|
|
2729
|
+
pdfBase64: string;
|
|
2730
|
+
};
|
|
2731
|
+
/** BookletSectionInput */
|
|
2732
|
+
BookletSectionInput: {
|
|
2733
|
+
publicationAccessor: string;
|
|
2734
|
+
pageStart?: number;
|
|
2735
|
+
pageEnd?: number;
|
|
2736
|
+
};
|
|
2737
|
+
/** ComposeMenuPublicationBookletRequest */
|
|
2738
|
+
ComposeMenuPublicationBookletRequest: {
|
|
2739
|
+
venueAccessor: string;
|
|
2740
|
+
bookletAccessor?: string;
|
|
2741
|
+
sections?: components["schemas"]["BookletSectionInput"][];
|
|
2742
|
+
locale?: string;
|
|
2743
|
+
};
|
|
2744
|
+
/** ComposeMenuPublicationBookletResponse */
|
|
2745
|
+
ComposeMenuPublicationBookletResponse: {
|
|
2746
|
+
fileName: string;
|
|
2747
|
+
pages: number;
|
|
2748
|
+
pdfBase64: string;
|
|
2749
|
+
};
|
|
2498
2750
|
/**
|
|
2499
2751
|
* MakeReservationRequest
|
|
2500
2752
|
* @description Request payload for making a new reservation
|
|
@@ -2586,6 +2838,7 @@ interface components {
|
|
|
2586
2838
|
* @description Link to customer profile if exists
|
|
2587
2839
|
*/
|
|
2588
2840
|
guestId: string | null;
|
|
2841
|
+
partyId: string | null;
|
|
2589
2842
|
/** @description First name of the customer */
|
|
2590
2843
|
guestFirstName: string;
|
|
2591
2844
|
/** @description Last name of the customer */
|
|
@@ -2910,8 +3163,7 @@ interface components {
|
|
|
2910
3163
|
payments: {
|
|
2911
3164
|
amount: number;
|
|
2912
3165
|
method: components["schemas"]["PaymentMethod"];
|
|
2913
|
-
|
|
2914
|
-
status: "authorized" | "captured" | "cash_pending" | "cash_received";
|
|
3166
|
+
status: components["schemas"]["ActivePaymentStatus"];
|
|
2915
3167
|
/** Format: date-time */
|
|
2916
3168
|
createdAt: string;
|
|
2917
3169
|
cardLast4: string | null;
|
|
@@ -2931,7 +3183,7 @@ interface components {
|
|
|
2931
3183
|
};
|
|
2932
3184
|
thresholdCheck: {
|
|
2933
3185
|
meets: boolean;
|
|
2934
|
-
failedConstraints:
|
|
3186
|
+
failedConstraints: components["schemas"]["TeamOrderThresholdConstraint"][];
|
|
2935
3187
|
requiredQuantity: number | null;
|
|
2936
3188
|
currentQuantity: number;
|
|
2937
3189
|
requiredAmount: number | null;
|
|
@@ -3208,6 +3460,8 @@ interface components {
|
|
|
3208
3460
|
updatedAt: unknown;
|
|
3209
3461
|
};
|
|
3210
3462
|
/** @enum {string} */
|
|
3463
|
+
ActivePaymentStatus: "authorized" | "captured" | "cash_pending" | "cash_received";
|
|
3464
|
+
/** @enum {string} */
|
|
3211
3465
|
ActorType: "human" | "robot";
|
|
3212
3466
|
/** @enum {string} */
|
|
3213
3467
|
AdditiveFunction: "acid" | "acidity_regulator" | "anti_caking_agent" | "anti_foaming_agent" | "antioxidant" | "bulking_agent" | "carrier" | "colour" | "emulsifier" | "emulsifying_salt" | "firming_agent" | "flavour_enhancer" | "flour_treatment_agent" | "foaming_agent" | "gelling_agent" | "glazing_agent" | "humectant" | "modified_starch" | "preservative" | "packaging_gas" | "propellant_gas" | "raising_agent" | "sequestrant" | "stabiliser" | "sweetener" | "thickener";
|
|
@@ -3230,13 +3484,21 @@ interface components {
|
|
|
3230
3484
|
/** @enum {string} */
|
|
3231
3485
|
BeverageCategory: "wine" | "beer" | "coffee" | "tea" | "cocktail" | "juice" | "soft_drink" | "dairy_drink" | "spirit" | "water";
|
|
3232
3486
|
/** @enum {string} */
|
|
3487
|
+
BillingInterval: "month" | "year";
|
|
3488
|
+
/** @enum {string} */
|
|
3233
3489
|
BookingChannel: "reservation" | "order";
|
|
3234
3490
|
/** @enum {string} */
|
|
3491
|
+
CampaignControlReason: "quota_exhausted" | "campaign_removed";
|
|
3492
|
+
/** @enum {string} */
|
|
3235
3493
|
CancellationReason: "guest_request" | "restaurant_request";
|
|
3236
3494
|
/** @enum {string} */
|
|
3495
|
+
ContactEmailType: "primary" | "billing";
|
|
3496
|
+
/** @enum {string} */
|
|
3497
|
+
ContactEmailVerificationStatus: "pending" | "verified" | "completed" | "superseded";
|
|
3498
|
+
/** @enum {string} */
|
|
3237
3499
|
ContactPreference: "email" | "phone" | "sms" | "none";
|
|
3238
3500
|
/** @enum {string} */
|
|
3239
|
-
|
|
3501
|
+
Country: "AD" | "AE" | "AF" | "AG" | "AI" | "AL" | "AM" | "AO" | "AQ" | "AR" | "AS" | "AT" | "AU" | "AW" | "AX" | "AZ" | "BA" | "BB" | "BD" | "BE" | "BF" | "BG" | "BH" | "BI" | "BJ" | "BL" | "BM" | "BN" | "BO" | "BQ" | "BR" | "BS" | "BT" | "BV" | "BW" | "BY" | "BZ" | "CA" | "CC" | "CD" | "CF" | "CG" | "CH" | "CI" | "CK" | "CL" | "CM" | "CN" | "CO" | "CR" | "CU" | "CV" | "CW" | "CX" | "CY" | "CZ" | "DE" | "DJ" | "DK" | "DM" | "DO" | "DZ" | "EC" | "EE" | "EG" | "EH" | "ER" | "ES" | "ET" | "FI" | "FJ" | "FK" | "FM" | "FO" | "FR" | "GA" | "GB" | "GD" | "GE" | "GF" | "GG" | "GH" | "GI" | "GL" | "GM" | "GN" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GW" | "GY" | "HK" | "HM" | "HN" | "HR" | "HT" | "HU" | "ID" | "IE" | "IL" | "IM" | "IN" | "IO" | "IQ" | "IR" | "IS" | "IT" | "JE" | "JM" | "JO" | "JP" | "KE" | "KG" | "KH" | "KI" | "KM" | "KN" | "KP" | "KR" | "KW" | "KY" | "KZ" | "LA" | "LB" | "LC" | "LI" | "LK" | "LR" | "LS" | "LT" | "LU" | "LV" | "LY" | "MA" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MK" | "ML" | "MM" | "MN" | "MO" | "MP" | "MQ" | "MR" | "MS" | "MT" | "MU" | "MV" | "MW" | "MX" | "MY" | "MZ" | "NA" | "NC" | "NE" | "NF" | "NG" | "NI" | "NL" | "NO" | "NP" | "NR" | "NU" | "NZ" | "OM" | "PA" | "PE" | "PF" | "PG" | "PH" | "PK" | "PL" | "PM" | "PN" | "PR" | "PS" | "PT" | "PW" | "PY" | "QA" | "RE" | "RO" | "RS" | "RU" | "RW" | "SA" | "SB" | "SC" | "SD" | "SE" | "SG" | "SH" | "SI" | "SJ" | "SK" | "SL" | "SM" | "SN" | "SO" | "SR" | "SS" | "ST" | "SV" | "SX" | "SY" | "SZ" | "TC" | "TD" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TO" | "TR" | "TT" | "TV" | "TW" | "TZ" | "UA" | "UG" | "UM" | "US" | "UY" | "UZ" | "VA" | "VC" | "VE" | "VG" | "VI" | "VN" | "VU" | "WF" | "WS" | "YE" | "YT" | "ZA" | "ZM" | "ZW";
|
|
3240
3502
|
/** @enum {string} */
|
|
3241
3503
|
Currency: "EUR" | "CHF";
|
|
3242
3504
|
/** @enum {string} */
|
|
@@ -3248,6 +3510,8 @@ interface components {
|
|
|
3248
3510
|
/** @enum {string} */
|
|
3249
3511
|
EntityOwnerType: "event" | "dish" | "beverage" | "venue" | "menu" | "menuSubscription" | "ritual";
|
|
3250
3512
|
/** @enum {string} */
|
|
3513
|
+
GuestTier: "blacklisted" | "atRisk" | "loyal" | "newGuest" | "regular";
|
|
3514
|
+
/** @enum {string} */
|
|
3251
3515
|
IntegrationNotificationType: "order_created" | "order_cancelled" | "order_completed" | "team_order_created" | "reservation_created" | "reservation_confirmed" | "reservation_cancelled";
|
|
3252
3516
|
/** @enum {string} */
|
|
3253
3517
|
IntegrationType: "telegram" | "google_ads" | "google_business_profile" | "meta_ads";
|
|
@@ -3258,16 +3522,32 @@ interface components {
|
|
|
3258
3522
|
/** @enum {string} */
|
|
3259
3523
|
InvitationScenario: "new_user" | "already_member" | "former_employee";
|
|
3260
3524
|
/** @enum {string} */
|
|
3525
|
+
KeywordDefaultScope: "venueType" | "cuisine";
|
|
3526
|
+
/** @enum {string} */
|
|
3261
3527
|
Locale: "aa" | "ab" | "ae" | "af" | "ak" | "am" | "an" | "ar" | "as" | "av" | "ay" | "az" | "ba" | "be" | "bg" | "bh" | "bi" | "bm" | "bn" | "bo" | "br" | "bs" | "ca" | "ce" | "ch" | "co" | "cr" | "cs" | "cu" | "cv" | "cy" | "da" | "de" | "dv" | "dz" | "ee" | "el" | "en" | "eo" | "es" | "et" | "eu" | "fa" | "ff" | "fi" | "fj" | "fo" | "fr" | "fy" | "ga" | "gd" | "gl" | "gn" | "gu" | "gv" | "ha" | "he" | "hi" | "ho" | "hr" | "ht" | "hu" | "hy" | "hz" | "ia" | "id" | "ie" | "ig" | "ii" | "ik" | "io" | "is" | "it" | "iu" | "ja" | "jv" | "ka" | "kg" | "ki" | "kj" | "kk" | "kl" | "km" | "kn" | "ko" | "kr" | "ks" | "ku" | "kv" | "kw" | "ky" | "la" | "lb" | "lg" | "li" | "ln" | "lo" | "lt" | "lu" | "lv" | "mg" | "mh" | "mi" | "mk" | "ml" | "mn" | "mr" | "ms" | "mt" | "my" | "na" | "nb" | "nd" | "ne" | "ng" | "nl" | "nn" | "no" | "nr" | "nv" | "ny" | "oc" | "oj" | "om" | "or" | "os" | "pa" | "pi" | "pl" | "ps" | "pt" | "qu" | "rm" | "rn" | "ro" | "ru" | "rw" | "sa" | "sc" | "sd" | "se" | "sg" | "si" | "sk" | "sl" | "sm" | "sn" | "so" | "sq" | "sr" | "ss" | "st" | "su" | "sv" | "sw" | "ta" | "te" | "tg" | "th" | "ti" | "tk" | "tl" | "tn" | "to" | "tr" | "ts" | "tt" | "tw" | "ty" | "ug" | "uk" | "ur" | "uz" | "ve" | "vi" | "vo" | "wa" | "wo" | "xh" | "yi" | "yo" | "za" | "zh" | "zu";
|
|
3262
3528
|
/** @enum {string} */
|
|
3529
|
+
MenuItemMarker: "vegan" | "vegetarian" | "allergens" | "spicy";
|
|
3530
|
+
/** @enum {string} */
|
|
3263
3531
|
MenuItemType: "dish" | "beverage";
|
|
3264
3532
|
/** @enum {string} */
|
|
3533
|
+
MetaCallToAction: "LEARN_MORE" | "BOOK_TRAVEL" | "ORDER_NOW" | "GET_OFFER" | "CONTACT_US" | "SIGN_UP";
|
|
3534
|
+
/** @enum {string} */
|
|
3535
|
+
MetaChannel: "facebook" | "instagram";
|
|
3536
|
+
/** @enum {string} */
|
|
3537
|
+
MetaInsightsDatePreset: "last_7d" | "last_30d" | "maximum";
|
|
3538
|
+
/** @enum {string} */
|
|
3539
|
+
MetaIntegrationStatus: "invited" | "linked" | "active";
|
|
3540
|
+
/** @enum {string} */
|
|
3541
|
+
MetaServingTargetStatus: "ACTIVE" | "PAUSED";
|
|
3542
|
+
/** @enum {string} */
|
|
3265
3543
|
OccupancyReason: "ok" | "tables" | "personnel" | "window" | "slot_capacity";
|
|
3266
3544
|
/** @enum {string} */
|
|
3267
3545
|
FulfillmentType: "pickup" | "delivery";
|
|
3268
3546
|
/** @enum {string} */
|
|
3269
3547
|
OrderStatus: "pending" | "in_progress" | "ready" | "completed" | "cancelled";
|
|
3270
3548
|
/** @enum {string} */
|
|
3549
|
+
PartyType: "natural_person" | "legal_entity";
|
|
3550
|
+
/** @enum {string} */
|
|
3271
3551
|
PaxBand: "1-2" | "3-4" | "5-6" | "7+";
|
|
3272
3552
|
/** @enum {string} */
|
|
3273
3553
|
PaymentMethod: "card" | "cash" | "voucher";
|
|
@@ -3276,12 +3556,22 @@ interface components {
|
|
|
3276
3556
|
/** @enum {string} */
|
|
3277
3557
|
PlatformRole: "platform_maintainer";
|
|
3278
3558
|
/** @enum {string} */
|
|
3559
|
+
RequestContactEmailChangeOutcome: "requested" | "unchanged";
|
|
3560
|
+
/** @enum {string} */
|
|
3561
|
+
ReservationDeclineReason: "fully_booked" | "closed" | "other";
|
|
3562
|
+
/** @enum {string} */
|
|
3279
3563
|
ReservationMode: "passive" | "auto_steer";
|
|
3280
3564
|
/** @enum {string} */
|
|
3281
3565
|
Role: "superadmin" | "admin" | "manager" | "chef" | "cook" | "waiter" | "rider";
|
|
3282
3566
|
/** @enum {string} */
|
|
3283
3567
|
ScanTokenEntityType: "order" | "depositware";
|
|
3284
3568
|
/** @enum {string} */
|
|
3569
|
+
ScheduleOverrideMode: "closed" | "deviating";
|
|
3570
|
+
/** @enum {string} */
|
|
3571
|
+
ServedMarketAreaType: "pin" | "postcode" | "city" | "region" | "country";
|
|
3572
|
+
/** @enum {string} */
|
|
3573
|
+
ServedMarketScope: "include" | "exclude";
|
|
3574
|
+
/** @enum {string} */
|
|
3285
3575
|
SortOrder: "asc" | "desc";
|
|
3286
3576
|
/** @enum {string} */
|
|
3287
3577
|
SubscriberStatus: "active" | "paused" | "cancelled" | "past_due" | "trialing";
|
|
@@ -3290,10 +3580,18 @@ interface components {
|
|
|
3290
3580
|
/** @enum {string} */
|
|
3291
3581
|
SubscriptionPeriod: "week" | "month" | "year";
|
|
3292
3582
|
/** @enum {string} */
|
|
3583
|
+
ParticipantStatus: "browsing" | "authorized" | "cash_pending" | "placed" | "completed" | "cancelled";
|
|
3584
|
+
/** @enum {string} */
|
|
3293
3585
|
TeamOrderStatus: "draft" | "collecting" | "locked" | "placed" | "ready" | "completed" | "cancelled";
|
|
3294
3586
|
/** @enum {string} */
|
|
3587
|
+
TeamOrderThresholdConstraint: "quantity" | "amount";
|
|
3588
|
+
/** @enum {string} */
|
|
3295
3589
|
Unit: "grams" | "kilograms" | "liters" | "milliliters" | "pieces";
|
|
3296
3590
|
/** @enum {string} */
|
|
3591
|
+
Variant: "dark" | "light" | "success" | "warning" | "danger" | "primary" | "secondary";
|
|
3592
|
+
/** @enum {string} */
|
|
3593
|
+
WizardKey: "ads-venue-explainer-v1" | "ads-menu-explainer-v1" | "ads-dish-explainer-v1" | "ads-beverage-explainer-v1";
|
|
3594
|
+
/** @enum {string} */
|
|
3297
3595
|
AdBiddingStrategy: "MAXIMIZE_CONVERSIONS" | "MAXIMIZE_CLICKS";
|
|
3298
3596
|
/** @enum {string} */
|
|
3299
3597
|
AdChannel: "google" | "facebook" | "instagram";
|
|
@@ -3324,12 +3622,62 @@ interface components {
|
|
|
3324
3622
|
/** @enum {string} */
|
|
3325
3623
|
Jurisdiction: "DE" | "CH" | "FR" | "IT";
|
|
3326
3624
|
/** @enum {string} */
|
|
3625
|
+
PublicationFrameStyle: "solid" | "icon";
|
|
3626
|
+
/** @enum {string} */
|
|
3627
|
+
PublicationGroupBy: "weekday" | "calendar_week" | "none";
|
|
3628
|
+
/** @enum {string} */
|
|
3629
|
+
PublicationGroupFlow: "stacked" | "page_break";
|
|
3630
|
+
/** @enum {string} */
|
|
3631
|
+
PublicationPalette: "primary" | "secondary";
|
|
3632
|
+
/** @enum {string} */
|
|
3633
|
+
PublicationPaperSize: "a4" | "a5" | "letter" | "legal";
|
|
3634
|
+
/** @enum {string} */
|
|
3635
|
+
PublicationPricePosition: "right" | "bottom";
|
|
3636
|
+
/** @enum {string} */
|
|
3637
|
+
PublicationQrPlacement: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
3638
|
+
/** @enum {string} */
|
|
3639
|
+
PublicationQrTarget: "online_menu" | "custom";
|
|
3640
|
+
/** @enum {string} */
|
|
3641
|
+
PublicationRulePosition: "below_title" | "below_subtitle" | "below_description";
|
|
3642
|
+
/** @enum {string} */
|
|
3643
|
+
PublicationRuleStyle: "solid" | "dashed" | "dotted" | "double" | "wavy" | "diamond" | "flourish" | "asterisks" | "fade" | "dot_ornament" | "icon";
|
|
3644
|
+
/** @enum {string} */
|
|
3645
|
+
PublicationSourceType: "menu" | "dish" | "beverage" | "event" | "venue";
|
|
3646
|
+
/** @enum {string} */
|
|
3647
|
+
PublicationTextAlign: "left" | "center" | "right" | "justify";
|
|
3648
|
+
/** @enum {string} */
|
|
3649
|
+
PublicationType: "menu" | "flyer" | "wine_list" | "about" | "cover" | "booklet" | "custom";
|
|
3650
|
+
/** @enum {string} */
|
|
3651
|
+
PublicationWeekScope: "current" | "all" | "range";
|
|
3652
|
+
/** @enum {string} */
|
|
3653
|
+
PublicationSectionType: "cover" | "body" | "back";
|
|
3654
|
+
/** @enum {string} */
|
|
3655
|
+
Direction: "left" | "right" | "up" | "down";
|
|
3656
|
+
/** @enum {string} */
|
|
3657
|
+
DirectionX: "left" | "right";
|
|
3658
|
+
/** @enum {string} */
|
|
3659
|
+
DirectionY: "up" | "down";
|
|
3660
|
+
/** @enum {string} */
|
|
3661
|
+
Orientation: "vertical" | "horizontal";
|
|
3662
|
+
/** @enum {string} */
|
|
3663
|
+
PositionCenter: "center";
|
|
3664
|
+
/** @enum {string} */
|
|
3665
|
+
PositionCorner: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
3666
|
+
/** @enum {string} */
|
|
3667
|
+
PositionEdge: "start" | "end";
|
|
3668
|
+
/** @enum {string} */
|
|
3669
|
+
Position: "left" | "right" | "top" | "bottom" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "center";
|
|
3670
|
+
/** @enum {string} */
|
|
3671
|
+
PositionY: "top" | "bottom";
|
|
3672
|
+
/** @enum {string} */
|
|
3327
3673
|
EventAssetSource: "inherited" | "manual";
|
|
3328
3674
|
/** @enum {string} */
|
|
3329
3675
|
RitualType: "service" | "special";
|
|
3330
3676
|
/** @enum {string} */
|
|
3331
3677
|
SlotMode: "interval" | "duration";
|
|
3332
3678
|
/** @enum {string} */
|
|
3679
|
+
PublicationEventType: "download" | "scan";
|
|
3680
|
+
/** @enum {string} */
|
|
3333
3681
|
TeamOrderPaymentStatus: "authorized" | "captured" | "cash_pending" | "cash_received" | "voided" | "failed";
|
|
3334
3682
|
/** @enum {string} */
|
|
3335
3683
|
FeatureCategory: "articles" | "auth" | "billing" | "core" | "guests" | "events" | "inventory" | "menus" | "orders" | "platform" | "promotions" | "reservations" | "settings" | "venues";
|
|
@@ -3348,21 +3696,27 @@ interface components {
|
|
|
3348
3696
|
/** @enum {string} */
|
|
3349
3697
|
ReservationMessageStatus: "draft" | "sent";
|
|
3350
3698
|
/** @enum {string} */
|
|
3699
|
+
BankAccountStatus: "active" | "inactive" | "closed";
|
|
3700
|
+
/** @enum {string} */
|
|
3351
3701
|
VenueEmailSenderStatus: "pending" | "verified" | "failed" | "temporary_failure";
|
|
3352
3702
|
/** @enum {string} */
|
|
3353
3703
|
WebsitePageOwnerType: "venue" | "menu" | "dish" | "beverage" | "ingredient" | "event" | "ritual";
|
|
3354
3704
|
/** @enum {string} */
|
|
3355
|
-
VenueAssetType: "logomark" | "wordmark" | "combinationmark_horizontal" | "combinationmark_vertical";
|
|
3705
|
+
VenueAssetType: "logomark" | "wordmark" | "combinationmark_horizontal" | "combinationmark_vertical" | "icon";
|
|
3706
|
+
/** @enum {string} */
|
|
3707
|
+
FontRole: "system" | "accent";
|
|
3708
|
+
/** @enum {string} */
|
|
3709
|
+
FontStyle: "normal" | "italic";
|
|
3356
3710
|
/** @enum {string} */
|
|
3357
3711
|
VenueUserStatus: "pending" | "confirmed" | "revoked";
|
|
3358
3712
|
/** @enum {string} */
|
|
3359
3713
|
VenueType: "restaurant" | "fine_dining_restaurant" | "ghost_kitchen" | "food_truck";
|
|
3360
3714
|
/** @enum {string} */
|
|
3361
|
-
ParticipantStatus: "browsing" | "authorized" | "cash_pending" | "placed" | "completed" | "cancelled";
|
|
3362
|
-
/** @enum {string} */
|
|
3363
3715
|
EnumTrue: "true";
|
|
3364
3716
|
/** @enum {string} */
|
|
3365
3717
|
EnumFalse: "false";
|
|
3718
|
+
/** @enum {string} */
|
|
3719
|
+
EnumCenterLeftRight: "center" | "left" | "right";
|
|
3366
3720
|
};
|
|
3367
3721
|
responses: never;
|
|
3368
3722
|
parameters: never;
|
|
@@ -3454,6 +3808,20 @@ type EditDishResponse = schemas['EditDishResponse'];
|
|
|
3454
3808
|
type FetchBeverageResponse = schemas['FetchBeverageResponse'];
|
|
3455
3809
|
type EditBeverageRequest = schemas['EditBeverageRequest'];
|
|
3456
3810
|
type EditBeverageResponse = schemas['EditBeverageResponse'];
|
|
3811
|
+
/**
|
|
3812
|
+
* The publications CLI/agent verbs: create a menu-bound publication, fold
|
|
3813
|
+
* design blocks into its designDoc, render its print PDF, and compose
|
|
3814
|
+
* booklets from ordered sections. PDFs travel base64-encoded (`pdfBase64` +
|
|
3815
|
+
* `pages`); decode with `Buffer.from(pdfBase64, 'base64')`.
|
|
3816
|
+
*/
|
|
3817
|
+
type CreateMenuPublicationRequest = schemas['CreateMenuPublicationRequest'];
|
|
3818
|
+
type CreateMenuPublicationResponse = schemas['CreateMenuPublicationResponse'];
|
|
3819
|
+
type SetMenuPublicationBlocksRequest = schemas['SetMenuPublicationBlocksRequest'];
|
|
3820
|
+
type SetMenuPublicationBlocksResponse = schemas['SetMenuPublicationBlocksResponse'];
|
|
3821
|
+
type RenderMenuPublicationPdfRequest = schemas['RenderMenuPublicationPdfRequest'];
|
|
3822
|
+
type RenderMenuPublicationPdfResponse = schemas['RenderMenuPublicationPdfResponse'];
|
|
3823
|
+
type ComposeMenuPublicationBookletRequest = schemas['ComposeMenuPublicationBookletRequest'];
|
|
3824
|
+
type ComposeMenuPublicationBookletResponse = schemas['ComposeMenuPublicationBookletResponse'];
|
|
3457
3825
|
type GetWebsitePagesResponse = schemas['GetWebsitePagesResponse'];
|
|
3458
3826
|
type CreateWebsitePageRequest = schemas['CreateWebsitePageRequest'];
|
|
3459
3827
|
type CreateWebsitePageResponse = schemas['CreateWebsitePageResponse'];
|
|
@@ -3855,4 +4223,4 @@ type SubscribeRequest = schemas['SubscribeToSubscriptionBody'];
|
|
|
3855
4223
|
type SubscribeResponse = schemas['SubscribeToSubscriptionResponse'];
|
|
3856
4224
|
type SubscriptionCredit = schemas['GetSubscriptionCreditsResponse'][number];
|
|
3857
4225
|
|
|
3858
|
-
export type {
|
|
4226
|
+
export type { EditMetaAdResponse as $, Ad as A, Basket as B, ComposeMenuPublicationBookletRequest as C, CreateCalloutResponse as D, CreateDeltaPaymentIntentRequest as E, CreateDeltaPaymentIntentResponse as F, CreateEventRequest as G, CreateEventResponse as H, CreateMenuPublicationRequest as I, CreateMenuPublicationResponse as J, CreatePaymentIntentRequest as K, CreatePaymentIntentResponse as L, CreateWebsitePageRequest as M, CreateWebsitePageResponse as N, CropArea as O, Currency as P, DayOfWeek as Q, DeclaredReturn as R, DeleteAdResponse as S, DeleteCalloutResponse as T, DeleteEventResponse as U, DeleteWebsitePageResponse as V, EditBeverageRequest as W, EditBeverageResponse as X, EditDishRequest as Y, EditDishResponse as Z, EditMetaAdRequest as _, AddToBasketRequest as a, SaveAdWebsitePagesRequest as a$, Event as a0, EventAsset as a1, EventByAccessor as a2, EventMenu as a3, EventSlotAvailabilityResponse as a4, FeatureImage as a5, FetchBeverageResponse as a6, FetchDishResponse as a7, GetAreaAvailabilityOptions as a8, GetAreaOptions as a9, MenuSubscription as aA, MenuSubscriptionPoster as aB, OrderFulfillmentType as aC, OrderStatus as aD, PatchAdRequest as aE, PatchAdResponse as aF, PatchArticleRequest as aG, PatchArticleResponse as aH, PatchEventRequest as aI, PatchEventResponse as aJ, PatchFeatureImageRequest as aK, PaymentStatus as aL, PlaceOrderRequest as aM, PlaceOrderResponse as aN, Promotion as aO, ReduceDeltaPaymentIntentRequest as aP, ReduceDeltaPaymentIntentResponse as aQ, RemoveFromBasketResponse as aR, RenderMenuPublicationPdfRequest as aS, RenderMenuPublicationPdfResponse as aT, RitualByAccessor as aU, SaveAdCalloutsRequest as aV, SaveAdCalloutsResponse as aW, SaveAdKeywordsRequest as aX, SaveAdKeywordsResponse as aY, SaveAdNegativeKeywordsRequest as aZ, SaveAdNegativeKeywordsResponse as a_, GetArticleResponse as aa, GetCalloutsResponse as ab, GetEventOptions as ac, GetEventSlotAvailabilityOptions as ad, GetMenuOptions as ae, GetVenueResponse as af, GetWebsitePagesResponse as ag, LatestOrder as ah, ListAdsOptions as ai, ListAdsResponse as aj, ListArticlesOptions as ak, ListArticlesResponse as al, ListAssetsOptions as am, ListAssetsResponse as an, ListEventsOptions as ao, ListEventsResponse as ap, MakeReservationRequest as aq, MakeReservationResponse as ar, Menu as as, MenuAsset as at, MenuBeverage as au, MenuBundle as av, MenuBundleDeposit as aw, MenuDish as ax, MenuItem as ay, MenuItemType as az, AddToBasketResponse as b, SaveAdWebsitePagesResponse as b0, Schedule as b1, ScheduleOverride as b2, ScheduleTimeSlot as b3, ScheduleWithTimeSlots as b4, SetAdBudgetRequest as b5, SetAdBudgetResponse as b6, SetMenuPublicationBlocksRequest as b7, SetMenuPublicationBlocksResponse as b8, SubmitAreaBookingRequestPayload as b9, SubscribeRequest as ba, SubscribeResponse as bb, SubscriberStatus as bc, SubscriptionCredit as bd, SubscriptionCreditStatus as be, SubscriptionPeriod as bf, TimeSlot as bg, Unit as bh, UpdateCalloutRequest as bi, UpdateCalloutResponse as bj, UpdateWebsitePageRequest as bk, UpdateWebsitePageResponse as bl, UploadAssetArgs as bm, UploadAssetResponse as bn, UploadEventAssetArgs as bo, UploadEventAssetResponse as bp, UploadFeatureImageArgs as bq, Venue as br, Area as c, AreaAsset as d, AreaAvailabilityResponse as e, AreaAvailabilityWindow as f, AreaBookingMode as g, AreaBookingRequestResponse as h, AreaBookingRequestSource as i, AreaBookingRequestStatus as j, AreaBookingStatus as k, AreaFeature as l, Article as m, Asset as n, BasketItem as o, BasketItemDeposit as p, BasketItemMenuItemRef as q, BasketItemMetadata as r, BasketStatus as s, BasketTotals as t, ComposeMenuPublicationBookletResponse as u, ConfirmOrderRequest as v, ConfirmOrderResponse as w, CreateAdRequest as x, CreateAdResponse as y, CreateCalloutRequest as z };
|
package/dist/menu.d.cts
CHANGED
package/dist/menu.d.mts
CHANGED