order3000 2.1.1 → 2.2.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/client.cjs +30 -9
- package/dist/client.d.cts +25 -17
- package/dist/client.d.mts +25 -17
- package/dist/client.mjs +30 -9
- package/dist/{index-CuJnP2HN.d.cts → index-hOWwvbI6.d.cts} +111 -9
- package/dist/{index-CuJnP2HN.d.mts → index-hOWwvbI6.d.mts} +111 -9
- package/dist/menu.d.cts +1 -1
- package/dist/menu.d.mts +1 -1
- package/dist/schemas.cjs +241 -19
- package/dist/schemas.d.cts +206 -27
- package/dist/schemas.d.mts +206 -27
- package/dist/schemas.mjs +241 -19
- package/package.json +2 -2
|
@@ -611,6 +611,12 @@ interface components {
|
|
|
611
611
|
[key: string]: number;
|
|
612
612
|
} | null;
|
|
613
613
|
cleanup?: number | null;
|
|
614
|
+
usages?: {
|
|
615
|
+
type: string;
|
|
616
|
+
count: number;
|
|
617
|
+
name?: string;
|
|
618
|
+
href?: string;
|
|
619
|
+
}[];
|
|
614
620
|
assets?: {
|
|
615
621
|
id: string;
|
|
616
622
|
type: components["schemas"]["AssetType"];
|
|
@@ -682,6 +688,12 @@ interface components {
|
|
|
682
688
|
[key: string]: number;
|
|
683
689
|
} | null;
|
|
684
690
|
cleanup?: number | null;
|
|
691
|
+
usages?: {
|
|
692
|
+
type: string;
|
|
693
|
+
count: number;
|
|
694
|
+
name?: string;
|
|
695
|
+
href?: string;
|
|
696
|
+
}[];
|
|
685
697
|
assets?: {
|
|
686
698
|
id: string;
|
|
687
699
|
type: components["schemas"]["AssetType"];
|
|
@@ -1322,6 +1334,14 @@ interface components {
|
|
|
1322
1334
|
updatedBy: string | null;
|
|
1323
1335
|
createdAt: unknown;
|
|
1324
1336
|
updatedAt: unknown;
|
|
1337
|
+
archivedAt: unknown;
|
|
1338
|
+
archivedBy: string | null;
|
|
1339
|
+
usages: {
|
|
1340
|
+
type: string;
|
|
1341
|
+
count: number;
|
|
1342
|
+
name?: string;
|
|
1343
|
+
href?: string;
|
|
1344
|
+
}[];
|
|
1325
1345
|
}[];
|
|
1326
1346
|
/** CreateCalloutRequest */
|
|
1327
1347
|
CreateCalloutRequest: {
|
|
@@ -1342,6 +1362,8 @@ interface components {
|
|
|
1342
1362
|
updatedBy: string | null;
|
|
1343
1363
|
createdAt: unknown;
|
|
1344
1364
|
updatedAt: unknown;
|
|
1365
|
+
archivedAt: unknown;
|
|
1366
|
+
archivedBy: string | null;
|
|
1345
1367
|
};
|
|
1346
1368
|
/** UpdateCalloutRequest */
|
|
1347
1369
|
UpdateCalloutRequest: {
|
|
@@ -1362,6 +1384,8 @@ interface components {
|
|
|
1362
1384
|
updatedBy: string | null;
|
|
1363
1385
|
createdAt: unknown;
|
|
1364
1386
|
updatedAt: unknown;
|
|
1387
|
+
archivedAt: unknown;
|
|
1388
|
+
archivedBy: string | null;
|
|
1365
1389
|
};
|
|
1366
1390
|
/** DeleteCalloutResponse */
|
|
1367
1391
|
DeleteCalloutResponse: {
|
|
@@ -1374,6 +1398,8 @@ interface components {
|
|
|
1374
1398
|
updatedBy: string | null;
|
|
1375
1399
|
createdAt: unknown;
|
|
1376
1400
|
updatedAt: unknown;
|
|
1401
|
+
archivedAt: unknown;
|
|
1402
|
+
archivedBy: string | null;
|
|
1377
1403
|
};
|
|
1378
1404
|
/** FetchDishResponse */
|
|
1379
1405
|
FetchDishResponse: {
|
|
@@ -1411,6 +1437,8 @@ interface components {
|
|
|
1411
1437
|
updatedBy: string | null;
|
|
1412
1438
|
createdAt: unknown;
|
|
1413
1439
|
createdBy: string | null;
|
|
1440
|
+
archivedAt: unknown;
|
|
1441
|
+
archivedBy: string | null;
|
|
1414
1442
|
assets: components["schemas"]["AssetWithPublicUrl"][];
|
|
1415
1443
|
};
|
|
1416
1444
|
/** EditDishRequest */
|
|
@@ -1486,6 +1514,8 @@ interface components {
|
|
|
1486
1514
|
updatedBy: string | null;
|
|
1487
1515
|
createdAt: unknown;
|
|
1488
1516
|
createdBy: string | null;
|
|
1517
|
+
archivedAt: unknown;
|
|
1518
|
+
archivedBy: string | null;
|
|
1489
1519
|
};
|
|
1490
1520
|
/** FetchEventsResponse */
|
|
1491
1521
|
FetchEventsResponse: {
|
|
@@ -1673,6 +1703,12 @@ interface components {
|
|
|
1673
1703
|
currentRedemptions: number | null;
|
|
1674
1704
|
timeSlotIds: string[] | null;
|
|
1675
1705
|
}[];
|
|
1706
|
+
usages?: {
|
|
1707
|
+
type: string;
|
|
1708
|
+
count: number;
|
|
1709
|
+
name?: string;
|
|
1710
|
+
href?: string;
|
|
1711
|
+
}[];
|
|
1676
1712
|
}[];
|
|
1677
1713
|
/**
|
|
1678
1714
|
* FetchEventResponse
|
|
@@ -1792,6 +1828,8 @@ interface components {
|
|
|
1792
1828
|
servedMarket?: ((string | number | boolean | (null)) | {
|
|
1793
1829
|
[key: string]: unknown;
|
|
1794
1830
|
} | unknown[]) | null;
|
|
1831
|
+
archivedAt?: unknown;
|
|
1832
|
+
archivedBy?: string | null;
|
|
1795
1833
|
schedule?: {
|
|
1796
1834
|
rrule?: string | null;
|
|
1797
1835
|
timezone?: string | null;
|
|
@@ -1847,6 +1885,8 @@ interface components {
|
|
|
1847
1885
|
updatedBy: string | null;
|
|
1848
1886
|
createdAt: unknown;
|
|
1849
1887
|
updatedAt: unknown;
|
|
1888
|
+
archivedAt: unknown;
|
|
1889
|
+
archivedBy: string | null;
|
|
1850
1890
|
};
|
|
1851
1891
|
/**
|
|
1852
1892
|
* EditEventRequest
|
|
@@ -1879,6 +1919,8 @@ interface components {
|
|
|
1879
1919
|
servedMarket?: ((string | number | boolean | (null)) | {
|
|
1880
1920
|
[key: string]: unknown;
|
|
1881
1921
|
} | unknown[]) | null;
|
|
1922
|
+
archivedAt?: unknown;
|
|
1923
|
+
archivedBy?: string | null;
|
|
1882
1924
|
schedule?: {
|
|
1883
1925
|
rrule?: string | null;
|
|
1884
1926
|
timezone?: string | null;
|
|
@@ -2030,6 +2072,8 @@ interface components {
|
|
|
2030
2072
|
updatedBy: string | null;
|
|
2031
2073
|
createdAt: unknown;
|
|
2032
2074
|
updatedAt: unknown;
|
|
2075
|
+
archivedAt: unknown;
|
|
2076
|
+
archivedBy: string | null;
|
|
2033
2077
|
schedule: components["schemas"]["Schedule"] | null;
|
|
2034
2078
|
};
|
|
2035
2079
|
/** DeleteEventResponse */
|
|
@@ -2067,6 +2111,8 @@ interface components {
|
|
|
2067
2111
|
updatedBy: string | null;
|
|
2068
2112
|
createdAt: unknown;
|
|
2069
2113
|
updatedAt: unknown;
|
|
2114
|
+
archivedAt: unknown;
|
|
2115
|
+
archivedBy: string | null;
|
|
2070
2116
|
};
|
|
2071
2117
|
/** UploadAssetResponse */
|
|
2072
2118
|
UploadAssetResponse: {
|
|
@@ -2358,6 +2404,12 @@ interface components {
|
|
|
2358
2404
|
amount: number;
|
|
2359
2405
|
currency: components["schemas"]["Currency"];
|
|
2360
2406
|
} | null;
|
|
2407
|
+
usages?: {
|
|
2408
|
+
type: string;
|
|
2409
|
+
count: number;
|
|
2410
|
+
name?: string;
|
|
2411
|
+
href?: string;
|
|
2412
|
+
}[];
|
|
2361
2413
|
}[];
|
|
2362
2414
|
/** FetchMenuSubscriptionsResponse */
|
|
2363
2415
|
FetchMenuSubscriptionsResponse: {
|
|
@@ -2916,6 +2968,8 @@ interface components {
|
|
|
2916
2968
|
updatedBy: string | null;
|
|
2917
2969
|
createdAt: unknown;
|
|
2918
2970
|
updatedAt: unknown;
|
|
2971
|
+
archivedAt: unknown;
|
|
2972
|
+
archivedBy: string | null;
|
|
2919
2973
|
assets: {
|
|
2920
2974
|
id: string;
|
|
2921
2975
|
type: components["schemas"]["AssetType"];
|
|
@@ -2981,6 +3035,8 @@ interface components {
|
|
|
2981
3035
|
updatedBy: string | null;
|
|
2982
3036
|
createdAt: unknown;
|
|
2983
3037
|
updatedAt: unknown;
|
|
3038
|
+
archivedAt: unknown;
|
|
3039
|
+
archivedBy: string | null;
|
|
2984
3040
|
covers: number;
|
|
2985
3041
|
}[];
|
|
2986
3042
|
schedule: components["schemas"]["Schedule"] | null;
|
|
@@ -3391,6 +3447,14 @@ interface components {
|
|
|
3391
3447
|
updatedBy: string | null;
|
|
3392
3448
|
createdAt: unknown;
|
|
3393
3449
|
updatedAt: unknown;
|
|
3450
|
+
archivedAt: unknown;
|
|
3451
|
+
archivedBy: string | null;
|
|
3452
|
+
usages: {
|
|
3453
|
+
type: string;
|
|
3454
|
+
count: number;
|
|
3455
|
+
name?: string;
|
|
3456
|
+
href?: string;
|
|
3457
|
+
}[];
|
|
3394
3458
|
}[];
|
|
3395
3459
|
/** CreateWebsitePageRequest */
|
|
3396
3460
|
CreateWebsitePageRequest: {
|
|
@@ -3418,6 +3482,8 @@ interface components {
|
|
|
3418
3482
|
updatedBy: string | null;
|
|
3419
3483
|
createdAt: unknown;
|
|
3420
3484
|
updatedAt: unknown;
|
|
3485
|
+
archivedAt: unknown;
|
|
3486
|
+
archivedBy: string | null;
|
|
3421
3487
|
};
|
|
3422
3488
|
/** UpdateWebsitePageRequest */
|
|
3423
3489
|
UpdateWebsitePageRequest: {
|
|
@@ -3443,6 +3509,8 @@ interface components {
|
|
|
3443
3509
|
updatedBy: string | null;
|
|
3444
3510
|
createdAt: unknown;
|
|
3445
3511
|
updatedAt: unknown;
|
|
3512
|
+
archivedAt: unknown;
|
|
3513
|
+
archivedBy: string | null;
|
|
3446
3514
|
};
|
|
3447
3515
|
/** DeleteWebsitePageResponse */
|
|
3448
3516
|
DeleteWebsitePageResponse: {
|
|
@@ -3459,6 +3527,8 @@ interface components {
|
|
|
3459
3527
|
updatedBy: string | null;
|
|
3460
3528
|
createdAt: unknown;
|
|
3461
3529
|
updatedAt: unknown;
|
|
3530
|
+
archivedAt: unknown;
|
|
3531
|
+
archivedBy: string | null;
|
|
3462
3532
|
};
|
|
3463
3533
|
/** @enum {string} */
|
|
3464
3534
|
AccessGrantInitiator: "grantor" | "grantee";
|
|
@@ -3473,6 +3543,8 @@ interface components {
|
|
|
3473
3543
|
/** @enum {string} */
|
|
3474
3544
|
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";
|
|
3475
3545
|
/** @enum {string} */
|
|
3546
|
+
AppointmentStatus: "booked" | "cancelled" | "completed" | "no_show";
|
|
3547
|
+
/** @enum {string} */
|
|
3476
3548
|
AreaBookingMode: "slot" | "day";
|
|
3477
3549
|
/** @enum {string} */
|
|
3478
3550
|
AreaBookingRequestSource: "website" | "phone" | "walk_in";
|
|
@@ -3515,12 +3587,32 @@ interface components {
|
|
|
3515
3587
|
/** @enum {string} */
|
|
3516
3588
|
DepositwareStatus: "available" | "issued" | "returned" | "lost" | "damaged" | "retired";
|
|
3517
3589
|
/** @enum {string} */
|
|
3590
|
+
DocumentAccessType: "view" | "download" | "sent";
|
|
3591
|
+
/** @enum {string} */
|
|
3592
|
+
DocumentClassificationState: "unclassified" | "proposed" | "confirmed";
|
|
3593
|
+
/** @enum {string} */
|
|
3594
|
+
DocumentDuplicateStatus: "suggested" | "confirmed" | "dismissed";
|
|
3595
|
+
/** @enum {string} */
|
|
3518
3596
|
DocumentIdentifierPosition: "footer_left" | "footer_split" | "side_right" | "badge_top_right";
|
|
3519
3597
|
/** @enum {string} */
|
|
3520
3598
|
DocumentPageNumberNumeral: "arabic" | "roman";
|
|
3521
3599
|
/** @enum {string} */
|
|
3522
3600
|
DocumentPageNumberPosition: "bottom_left" | "bottom_center" | "bottom_right";
|
|
3523
3601
|
/** @enum {string} */
|
|
3602
|
+
DocumentProcessingStatus: "pending" | "processing" | "completed" | "failed";
|
|
3603
|
+
/** @enum {string} */
|
|
3604
|
+
DocumentRelationProvenance: "rule" | "model" | "user";
|
|
3605
|
+
/** @enum {string} */
|
|
3606
|
+
DocumentRelationStatus: "suggested" | "confirmed" | "rejected";
|
|
3607
|
+
/** @enum {string} */
|
|
3608
|
+
DocumentRelationType: "reminder_for" | "delivery_note_for" | "credit_note_for" | "confirmation_for" | "invoice_for" | "correction_of" | "related_to";
|
|
3609
|
+
/** @enum {string} */
|
|
3610
|
+
DocumentSource: "upload" | "scan" | "email" | "elster" | "generated";
|
|
3611
|
+
/** @enum {string} */
|
|
3612
|
+
DocumentSubjectType: "venue" | "party" | "reservation" | "order" | "event" | "message";
|
|
3613
|
+
/** @enum {string} */
|
|
3614
|
+
DocumentType: "supplier_invoice" | "receipt" | "delivery_note" | "credit_note" | "bank_statement" | "contract" | "official_letter" | "permit" | "hygiene_certificate" | "staff_document" | "other";
|
|
3615
|
+
/** @enum {string} */
|
|
3524
3616
|
DocumentTypography: "serif" | "sans" | "brand_system" | "brand_accent";
|
|
3525
3617
|
/** @enum {string} */
|
|
3526
3618
|
EntityOwnerType: "event" | "dish" | "beverage" | "venue" | "menu" | "menuSubscription" | "ritual";
|
|
@@ -3555,13 +3647,15 @@ interface components {
|
|
|
3555
3647
|
/** @enum {string} */
|
|
3556
3648
|
MessageDirection: "incoming" | "outgoing";
|
|
3557
3649
|
/** @enum {string} */
|
|
3558
|
-
|
|
3650
|
+
MessageParticipantRole: "from" | "to" | "cc";
|
|
3651
|
+
/** @enum {string} */
|
|
3652
|
+
MessageSource: "platform" | "email" | "scan";
|
|
3559
3653
|
/** @enum {string} */
|
|
3560
3654
|
MessageStatus: "draft" | "submitting" | "submitted" | "rejected" | "failed" | "received";
|
|
3561
3655
|
/** @enum {string} */
|
|
3562
3656
|
MessageThreadStatus: "open" | "awaiting_them" | "awaiting_us" | "closed";
|
|
3563
3657
|
/** @enum {string} */
|
|
3564
|
-
MessageThreadSubjectType: "party" | "access_grant";
|
|
3658
|
+
MessageThreadSubjectType: "party" | "access_grant" | "reservation" | "document";
|
|
3565
3659
|
/** @enum {string} */
|
|
3566
3660
|
MetaCallToAction: "LEARN_MORE" | "BOOK_TRAVEL" | "ORDER_NOW" | "GET_OFFER" | "CONTACT_US" | "SIGN_UP";
|
|
3567
3661
|
/** @enum {string} */
|
|
@@ -3631,6 +3725,8 @@ interface components {
|
|
|
3631
3725
|
/** @enum {string} */
|
|
3632
3726
|
Variant: "dark" | "light" | "success" | "warning" | "danger" | "primary" | "secondary";
|
|
3633
3727
|
/** @enum {string} */
|
|
3728
|
+
VenueType: "restaurant" | "fine_dining_restaurant" | "ghost_kitchen" | "food_truck";
|
|
3729
|
+
/** @enum {string} */
|
|
3634
3730
|
WizardKey: "ads-venue-explainer-v1" | "ads-menu-explainer-v1" | "ads-dish-explainer-v1" | "ads-beverage-explainer-v1" | "settings-bank-accounts-v1" | "settings-brand-icons-v1";
|
|
3635
3731
|
/** @enum {string} */
|
|
3636
3732
|
AdBiddingStrategy: "MAXIMIZE_CONVERSIONS" | "MAXIMIZE_CLICKS";
|
|
@@ -3639,15 +3735,19 @@ interface components {
|
|
|
3639
3735
|
/** @enum {string} */
|
|
3640
3736
|
AdOwnerType: "event" | "ritual" | "venue" | "dish" | "beverage" | "menu";
|
|
3641
3737
|
/** @enum {string} */
|
|
3642
|
-
AdStatus: "draft" | "ready"
|
|
3738
|
+
AdStatus: "draft" | "ready";
|
|
3643
3739
|
/** @enum {string} */
|
|
3644
3740
|
GoogleAdsAssetFamily: "sitelinks" | "callouts";
|
|
3645
3741
|
/** @enum {string} */
|
|
3646
|
-
MentionEntityType: "dish" | "beverage" | "ingredient" | "menu" | "ritual";
|
|
3742
|
+
MentionEntityType: "dish" | "beverage" | "ingredient" | "menu" | "ritual" | "member";
|
|
3647
3743
|
/** @enum {string} */
|
|
3648
3744
|
MentionType: "link" | "value";
|
|
3649
3745
|
/** @enum {string} */
|
|
3650
|
-
|
|
3746
|
+
AuditActorType: "user" | "system";
|
|
3747
|
+
/** @enum {string} */
|
|
3748
|
+
AuditCategory: "documents" | "inbox" | "team";
|
|
3749
|
+
/** @enum {string} */
|
|
3750
|
+
Permission: "access-grant:view" | "access-grant:offer" | "access-grant:respond" | "access-grant:revoke" | "access-grant:revise" | "ads:view" | "ads:manage" | "area-bookings:view" | "area-bookings:manage" | "areas:view" | "areas:manage" | "articles:view" | "articles:manage" | "assets:view" | "assets:manage" | "area-booking-requests:create" | "bank-accounts:manage" | "bank-accounts:view" | "beverages:create" | "beverages:delete" | "beverages:read" | "beverages:update" | "categories:create" | "categories:delete" | "categories:update" | "deposits:calculate" | "deposits:mark-lost" | "deposits:override-penalty" | "deposits:process-return" | "deposits:report" | "deposits:view" | "chat:use" | "audit:view" | "dishes:create" | "dishes:delete" | "dishes:read" | "dishes:update" | "documents:view" | "documents:manage" | "events:view" | "events:manage" | "features:create" | "features:delete" | "features:update" | "features:view" | "fulfillment:assign" | "fulfillment:mark-delivered" | "groups:create" | "groups:delete" | "groups:update" | "groups:view" | "iam:human" | "iam:robot" | "inbox:view" | "inbox:manage" | "inventory:view" | "inventory:manage" | "inventory:circulate" | "kitchen:mark-preparing" | "kitchen:mark-ready" | "kitchen:view" | "m2m:ping" | "menus:manage" | "menus:read" | "orders:activity" | "orders:analytics" | "orders:cancel" | "orders:create" | "orders:discount" | "orders:export" | "orders:read-all" | "orders:read-own" | "orders:refund" | "orders:update" | "orders:void" | "payments:process" | "payments:refund" | "plans:create" | "plans:delete" | "plans:update" | "plans:view" | "platform:view" | "users:delete" | "platform-mention-fields:manage" | "promotions:view" | "promotions:manage" | "reservations:view" | "reservations:create" | "reservations:manage" | "reports:analytics" | "reports:orders" | "roles:assign" | "roles:create" | "roles:delete" | "roles:update" | "roles:view" | "rolodex:manage" | "rolodex:view" | "business-card:read" | "subscriptions:create" | "subscriptions:delete" | "subscriptions:update" | "subscriptions:view" | "team:invite" | "team:remove" | "team:revoke" | "team:update" | "team:view" | "venue:manage-gbp" | "venue:manage-payments" | "venue:update" | "venue:transfer" | "venue:view";
|
|
3651
3751
|
/** @enum {string} */
|
|
3652
3752
|
PendingSuperadminTransferStatus: "pending_invite" | "accepted_awaiting_payment" | "completed" | "cancelled" | "expired";
|
|
3653
3753
|
/** @enum {string} */
|
|
@@ -3655,6 +3755,10 @@ interface components {
|
|
|
3655
3755
|
/** @enum {string} */
|
|
3656
3756
|
VenueChargeType: "base" | "addon";
|
|
3657
3757
|
/** @enum {string} */
|
|
3758
|
+
ChatChannelType: "team" | "direct" | "subject" | "external";
|
|
3759
|
+
/** @enum {string} */
|
|
3760
|
+
ChatMemberRole: "owner" | "member";
|
|
3761
|
+
/** @enum {string} */
|
|
3658
3762
|
AssetType: "image" | "video" | "document";
|
|
3659
3763
|
/** @enum {string} */
|
|
3660
3764
|
GbpMediaCategory: "cover" | "logo" | "gallery" | "video";
|
|
@@ -3735,9 +3839,7 @@ interface components {
|
|
|
3735
3839
|
/** @enum {string} */
|
|
3736
3840
|
ReservationStatus: "pending" | "confirmed" | "arrived" | "seated" | "completed" | "cancelled" | "no_show";
|
|
3737
3841
|
/** @enum {string} */
|
|
3738
|
-
|
|
3739
|
-
/** @enum {string} */
|
|
3740
|
-
BankAccountStatus: "active" | "inactive" | "closed";
|
|
3842
|
+
BankAccountStatus: "active" | "closed";
|
|
3741
3843
|
/** @enum {string} */
|
|
3742
3844
|
VenueEmailSenderStatus: "pending" | "verified" | "failed" | "temporary_failure";
|
|
3743
3845
|
/** @enum {string} */
|
|
@@ -3751,7 +3853,7 @@ interface components {
|
|
|
3751
3853
|
/** @enum {string} */
|
|
3752
3854
|
VenueUserStatus: "pending" | "confirmed" | "revoked";
|
|
3753
3855
|
/** @enum {string} */
|
|
3754
|
-
|
|
3856
|
+
MemberInvitationStatus: "pending" | "accepted" | "revoked" | "declined";
|
|
3755
3857
|
/** @enum {string} */
|
|
3756
3858
|
EnumTrue: "true";
|
|
3757
3859
|
/** @enum {string} */
|
package/dist/menu.d.cts
CHANGED
package/dist/menu.d.mts
CHANGED