order3000 2.0.0 → 2.0.2
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.d.cts +2 -2
- package/dist/client.d.mts +2 -2
- package/dist/{index-Cq_XIA1w.d.cts → index-hvu-A-Yj.d.cts} +22 -4
- package/dist/{index-Cq_XIA1w.d.mts → index-hvu-A-Yj.d.mts} +22 -4
- package/dist/menu.d.cts +1 -1
- package/dist/menu.d.mts +1 -1
- package/dist/schemas.cjs +79 -1
- package/dist/schemas.d.cts +80 -6
- package/dist/schemas.d.mts +80 -6
- package/dist/schemas.mjs +79 -1
- package/package.json +4 -4
package/dist/client.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ai as ListAdsOptions, aj as ListAdsResponse, A as Ad, x as CreateAdRequest, y as CreateAdResponse, aE as PatchAdRequest, aF as PatchAdResponse, aX as SaveAdKeywordsRequest, aY as SaveAdKeywordsResponse, aV as SaveAdCalloutsRequest, aW as SaveAdCalloutsResponse, aZ as SaveAdNegativeKeywordsRequest, a_ as SaveAdNegativeKeywordsResponse, a$ as SaveAdWebsitePagesRequest, b0 as SaveAdWebsitePagesResponse, b5 as SetAdBudgetRequest, b6 as SetAdBudgetResponse, _ as EditMetaAdRequest, $ as EditMetaAdResponse, S as DeleteAdResponse, a9 as GetAreaOptions, c as Area, a8 as GetAreaAvailabilityOptions, e as AreaAvailabilityResponse, b9 as SubmitAreaBookingRequestPayload, h as AreaBookingRequestResponse, ak as ListArticlesOptions, al as ListArticlesResponse, m as Article, aG as PatchArticleRequest, a5 as FeatureImage, bq as UploadFeatureImageArgs, aK as PatchFeatureImageRequest, am as ListAssetsOptions, an as ListAssetsResponse, n as Asset, B as Basket, a as AddToBasketRequest, b as AddToBasketResponse, aR as RemoveFromBasketResponse, R as DeclaredReturn, t as BasketTotals, a6 as FetchBeverageResponse, W as EditBeverageRequest, X as EditBeverageResponse, bm as UploadAssetArgs, bn as UploadAssetResponse, ab as GetCalloutsResponse, z as CreateCalloutRequest, D as CreateCalloutResponse, bi as UpdateCalloutRequest, bj as UpdateCalloutResponse, T as DeleteCalloutResponse, a7 as FetchDishResponse, Y as EditDishRequest, Z as EditDishResponse, ao as ListEventsOptions, ap as ListEventsResponse, G as CreateEventRequest, H as CreateEventResponse, ac as GetEventOptions, a2 as EventByAccessor, aI as PatchEventRequest, aJ as PatchEventResponse, U as DeleteEventResponse, ad as GetEventSlotAvailabilityOptions, a4 as EventSlotAvailabilityResponse, bo as UploadEventAssetArgs, bp as UploadEventAssetResponse, ae as GetMenuOptions, as as Menu, av as MenuBundle, aA as MenuSubscription, ah as LatestOrder, aM as PlaceOrderRequest, aN as PlaceOrderResponse, v as ConfirmOrderRequest, w as ConfirmOrderResponse, K as CreatePaymentIntentRequest, L as CreatePaymentIntentResponse, E as CreateDeltaPaymentIntentRequest, F as CreateDeltaPaymentIntentResponse, aP as ReduceDeltaPaymentIntentRequest, aQ as ReduceDeltaPaymentIntentResponse, I as CreateMenuPublicationRequest, J as CreateMenuPublicationResponse, b7 as SetMenuPublicationBlocksRequest, b8 as SetMenuPublicationBlocksResponse, aS as RenderMenuPublicationPdfRequest, aT as RenderMenuPublicationPdfResponse, C as ComposeMenuPublicationBookletRequest, u as ComposeMenuPublicationBookletResponse, aq as MakeReservationRequest, ar as MakeReservationResponse, aU as RitualByAccessor, ba as SubscribeRequest, bb as SubscribeResponse, be as SubscriptionCreditStatus, bd as SubscriptionCredit, r as BasketItemMetadata, br as Venue, ag as GetWebsitePagesResponse, M as CreateWebsitePageRequest, N as CreateWebsitePageResponse, bk as UpdateWebsitePageRequest, bl as UpdateWebsitePageResponse, V as DeleteWebsitePageResponse, P as Currency, b3 as ScheduleTimeSlot, Q as DayOfWeek } from './index-
|
|
2
|
-
export { d as O3KAreaAsset, f as O3KAreaAvailabilityWindow, g as O3KAreaBookingMode, i as O3KAreaBookingRequestSource, j as O3KAreaBookingRequestStatus, k as O3KAreaBookingStatus, l as O3KAreaFeature, o as O3KBasketItem, p as O3KBasketItemDeposit, q as O3KBasketItemMenuItemRef, s as O3KBasketStatus, O as O3KCropArea, a0 as O3KEvent, a1 as O3KEventAsset, a3 as O3KEventMenu, aa as O3KGetArticleResponse, af as O3KGetVenueResponse, at as O3KMenuAsset, au as O3KMenuBeverage, aw as O3KMenuBundleDeposit, ax as O3KMenuDish, ay as O3KMenuItem, az as O3KMenuItemType, aB as O3KMenuSubscriptionPoster, aC as O3KOrderFulfillmentType, aD as O3KOrderStatus, aH as O3KPatchArticleResponse, aL as O3KPaymentStatus, aO as O3KPromotion, b1 as O3KSchedule, b2 as O3KScheduleOverride, b4 as O3KScheduleWithTimeSlots, bc as O3KSubscriberStatus, bf as O3KSubscriptionPeriod, bg as O3KTimeSlot, bh as O3KUnit } from './index-
|
|
1
|
+
import { ai as ListAdsOptions, aj as ListAdsResponse, A as Ad, x as CreateAdRequest, y as CreateAdResponse, aE as PatchAdRequest, aF as PatchAdResponse, aX as SaveAdKeywordsRequest, aY as SaveAdKeywordsResponse, aV as SaveAdCalloutsRequest, aW as SaveAdCalloutsResponse, aZ as SaveAdNegativeKeywordsRequest, a_ as SaveAdNegativeKeywordsResponse, a$ as SaveAdWebsitePagesRequest, b0 as SaveAdWebsitePagesResponse, b5 as SetAdBudgetRequest, b6 as SetAdBudgetResponse, _ as EditMetaAdRequest, $ as EditMetaAdResponse, S as DeleteAdResponse, a9 as GetAreaOptions, c as Area, a8 as GetAreaAvailabilityOptions, e as AreaAvailabilityResponse, b9 as SubmitAreaBookingRequestPayload, h as AreaBookingRequestResponse, ak as ListArticlesOptions, al as ListArticlesResponse, m as Article, aG as PatchArticleRequest, a5 as FeatureImage, bq as UploadFeatureImageArgs, aK as PatchFeatureImageRequest, am as ListAssetsOptions, an as ListAssetsResponse, n as Asset, B as Basket, a as AddToBasketRequest, b as AddToBasketResponse, aR as RemoveFromBasketResponse, R as DeclaredReturn, t as BasketTotals, a6 as FetchBeverageResponse, W as EditBeverageRequest, X as EditBeverageResponse, bm as UploadAssetArgs, bn as UploadAssetResponse, ab as GetCalloutsResponse, z as CreateCalloutRequest, D as CreateCalloutResponse, bi as UpdateCalloutRequest, bj as UpdateCalloutResponse, T as DeleteCalloutResponse, a7 as FetchDishResponse, Y as EditDishRequest, Z as EditDishResponse, ao as ListEventsOptions, ap as ListEventsResponse, G as CreateEventRequest, H as CreateEventResponse, ac as GetEventOptions, a2 as EventByAccessor, aI as PatchEventRequest, aJ as PatchEventResponse, U as DeleteEventResponse, ad as GetEventSlotAvailabilityOptions, a4 as EventSlotAvailabilityResponse, bo as UploadEventAssetArgs, bp as UploadEventAssetResponse, ae as GetMenuOptions, as as Menu, av as MenuBundle, aA as MenuSubscription, ah as LatestOrder, aM as PlaceOrderRequest, aN as PlaceOrderResponse, v as ConfirmOrderRequest, w as ConfirmOrderResponse, K as CreatePaymentIntentRequest, L as CreatePaymentIntentResponse, E as CreateDeltaPaymentIntentRequest, F as CreateDeltaPaymentIntentResponse, aP as ReduceDeltaPaymentIntentRequest, aQ as ReduceDeltaPaymentIntentResponse, I as CreateMenuPublicationRequest, J as CreateMenuPublicationResponse, b7 as SetMenuPublicationBlocksRequest, b8 as SetMenuPublicationBlocksResponse, aS as RenderMenuPublicationPdfRequest, aT as RenderMenuPublicationPdfResponse, C as ComposeMenuPublicationBookletRequest, u as ComposeMenuPublicationBookletResponse, aq as MakeReservationRequest, ar as MakeReservationResponse, aU as RitualByAccessor, ba as SubscribeRequest, bb as SubscribeResponse, be as SubscriptionCreditStatus, bd as SubscriptionCredit, r as BasketItemMetadata, br as Venue, ag as GetWebsitePagesResponse, M as CreateWebsitePageRequest, N as CreateWebsitePageResponse, bk as UpdateWebsitePageRequest, bl as UpdateWebsitePageResponse, V as DeleteWebsitePageResponse, P as Currency, b3 as ScheduleTimeSlot, Q as DayOfWeek } from './index-hvu-A-Yj.cjs';
|
|
2
|
+
export { d as O3KAreaAsset, f as O3KAreaAvailabilityWindow, g as O3KAreaBookingMode, i as O3KAreaBookingRequestSource, j as O3KAreaBookingRequestStatus, k as O3KAreaBookingStatus, l as O3KAreaFeature, o as O3KBasketItem, p as O3KBasketItemDeposit, q as O3KBasketItemMenuItemRef, s as O3KBasketStatus, O as O3KCropArea, a0 as O3KEvent, a1 as O3KEventAsset, a3 as O3KEventMenu, aa as O3KGetArticleResponse, af as O3KGetVenueResponse, at as O3KMenuAsset, au as O3KMenuBeverage, aw as O3KMenuBundleDeposit, ax as O3KMenuDish, ay as O3KMenuItem, az as O3KMenuItemType, aB as O3KMenuSubscriptionPoster, aC as O3KOrderFulfillmentType, aD as O3KOrderStatus, aH as O3KPatchArticleResponse, aL as O3KPaymentStatus, aO as O3KPromotion, b1 as O3KSchedule, b2 as O3KScheduleOverride, b4 as O3KScheduleWithTimeSlots, bc as O3KSubscriberStatus, bf as O3KSubscriptionPeriod, bg as O3KTimeSlot, bh as O3KUnit } from './index-hvu-A-Yj.cjs';
|
|
3
3
|
import { z as z$1 } from 'zod';
|
|
4
4
|
import { z } from 'zod/v4';
|
|
5
5
|
import { RealtimePostgresChangesPayload, RealtimeChannel, SupabaseClient } from '@supabase/supabase-js';
|
package/dist/client.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ai as ListAdsOptions, aj as ListAdsResponse, A as Ad, x as CreateAdRequest, y as CreateAdResponse, aE as PatchAdRequest, aF as PatchAdResponse, aX as SaveAdKeywordsRequest, aY as SaveAdKeywordsResponse, aV as SaveAdCalloutsRequest, aW as SaveAdCalloutsResponse, aZ as SaveAdNegativeKeywordsRequest, a_ as SaveAdNegativeKeywordsResponse, a$ as SaveAdWebsitePagesRequest, b0 as SaveAdWebsitePagesResponse, b5 as SetAdBudgetRequest, b6 as SetAdBudgetResponse, _ as EditMetaAdRequest, $ as EditMetaAdResponse, S as DeleteAdResponse, a9 as GetAreaOptions, c as Area, a8 as GetAreaAvailabilityOptions, e as AreaAvailabilityResponse, b9 as SubmitAreaBookingRequestPayload, h as AreaBookingRequestResponse, ak as ListArticlesOptions, al as ListArticlesResponse, m as Article, aG as PatchArticleRequest, a5 as FeatureImage, bq as UploadFeatureImageArgs, aK as PatchFeatureImageRequest, am as ListAssetsOptions, an as ListAssetsResponse, n as Asset, B as Basket, a as AddToBasketRequest, b as AddToBasketResponse, aR as RemoveFromBasketResponse, R as DeclaredReturn, t as BasketTotals, a6 as FetchBeverageResponse, W as EditBeverageRequest, X as EditBeverageResponse, bm as UploadAssetArgs, bn as UploadAssetResponse, ab as GetCalloutsResponse, z as CreateCalloutRequest, D as CreateCalloutResponse, bi as UpdateCalloutRequest, bj as UpdateCalloutResponse, T as DeleteCalloutResponse, a7 as FetchDishResponse, Y as EditDishRequest, Z as EditDishResponse, ao as ListEventsOptions, ap as ListEventsResponse, G as CreateEventRequest, H as CreateEventResponse, ac as GetEventOptions, a2 as EventByAccessor, aI as PatchEventRequest, aJ as PatchEventResponse, U as DeleteEventResponse, ad as GetEventSlotAvailabilityOptions, a4 as EventSlotAvailabilityResponse, bo as UploadEventAssetArgs, bp as UploadEventAssetResponse, ae as GetMenuOptions, as as Menu, av as MenuBundle, aA as MenuSubscription, ah as LatestOrder, aM as PlaceOrderRequest, aN as PlaceOrderResponse, v as ConfirmOrderRequest, w as ConfirmOrderResponse, K as CreatePaymentIntentRequest, L as CreatePaymentIntentResponse, E as CreateDeltaPaymentIntentRequest, F as CreateDeltaPaymentIntentResponse, aP as ReduceDeltaPaymentIntentRequest, aQ as ReduceDeltaPaymentIntentResponse, I as CreateMenuPublicationRequest, J as CreateMenuPublicationResponse, b7 as SetMenuPublicationBlocksRequest, b8 as SetMenuPublicationBlocksResponse, aS as RenderMenuPublicationPdfRequest, aT as RenderMenuPublicationPdfResponse, C as ComposeMenuPublicationBookletRequest, u as ComposeMenuPublicationBookletResponse, aq as MakeReservationRequest, ar as MakeReservationResponse, aU as RitualByAccessor, ba as SubscribeRequest, bb as SubscribeResponse, be as SubscriptionCreditStatus, bd as SubscriptionCredit, r as BasketItemMetadata, br as Venue, ag as GetWebsitePagesResponse, M as CreateWebsitePageRequest, N as CreateWebsitePageResponse, bk as UpdateWebsitePageRequest, bl as UpdateWebsitePageResponse, V as DeleteWebsitePageResponse, P as Currency, b3 as ScheduleTimeSlot, Q as DayOfWeek } from './index-
|
|
2
|
-
export { d as O3KAreaAsset, f as O3KAreaAvailabilityWindow, g as O3KAreaBookingMode, i as O3KAreaBookingRequestSource, j as O3KAreaBookingRequestStatus, k as O3KAreaBookingStatus, l as O3KAreaFeature, o as O3KBasketItem, p as O3KBasketItemDeposit, q as O3KBasketItemMenuItemRef, s as O3KBasketStatus, O as O3KCropArea, a0 as O3KEvent, a1 as O3KEventAsset, a3 as O3KEventMenu, aa as O3KGetArticleResponse, af as O3KGetVenueResponse, at as O3KMenuAsset, au as O3KMenuBeverage, aw as O3KMenuBundleDeposit, ax as O3KMenuDish, ay as O3KMenuItem, az as O3KMenuItemType, aB as O3KMenuSubscriptionPoster, aC as O3KOrderFulfillmentType, aD as O3KOrderStatus, aH as O3KPatchArticleResponse, aL as O3KPaymentStatus, aO as O3KPromotion, b1 as O3KSchedule, b2 as O3KScheduleOverride, b4 as O3KScheduleWithTimeSlots, bc as O3KSubscriberStatus, bf as O3KSubscriptionPeriod, bg as O3KTimeSlot, bh as O3KUnit } from './index-
|
|
1
|
+
import { ai as ListAdsOptions, aj as ListAdsResponse, A as Ad, x as CreateAdRequest, y as CreateAdResponse, aE as PatchAdRequest, aF as PatchAdResponse, aX as SaveAdKeywordsRequest, aY as SaveAdKeywordsResponse, aV as SaveAdCalloutsRequest, aW as SaveAdCalloutsResponse, aZ as SaveAdNegativeKeywordsRequest, a_ as SaveAdNegativeKeywordsResponse, a$ as SaveAdWebsitePagesRequest, b0 as SaveAdWebsitePagesResponse, b5 as SetAdBudgetRequest, b6 as SetAdBudgetResponse, _ as EditMetaAdRequest, $ as EditMetaAdResponse, S as DeleteAdResponse, a9 as GetAreaOptions, c as Area, a8 as GetAreaAvailabilityOptions, e as AreaAvailabilityResponse, b9 as SubmitAreaBookingRequestPayload, h as AreaBookingRequestResponse, ak as ListArticlesOptions, al as ListArticlesResponse, m as Article, aG as PatchArticleRequest, a5 as FeatureImage, bq as UploadFeatureImageArgs, aK as PatchFeatureImageRequest, am as ListAssetsOptions, an as ListAssetsResponse, n as Asset, B as Basket, a as AddToBasketRequest, b as AddToBasketResponse, aR as RemoveFromBasketResponse, R as DeclaredReturn, t as BasketTotals, a6 as FetchBeverageResponse, W as EditBeverageRequest, X as EditBeverageResponse, bm as UploadAssetArgs, bn as UploadAssetResponse, ab as GetCalloutsResponse, z as CreateCalloutRequest, D as CreateCalloutResponse, bi as UpdateCalloutRequest, bj as UpdateCalloutResponse, T as DeleteCalloutResponse, a7 as FetchDishResponse, Y as EditDishRequest, Z as EditDishResponse, ao as ListEventsOptions, ap as ListEventsResponse, G as CreateEventRequest, H as CreateEventResponse, ac as GetEventOptions, a2 as EventByAccessor, aI as PatchEventRequest, aJ as PatchEventResponse, U as DeleteEventResponse, ad as GetEventSlotAvailabilityOptions, a4 as EventSlotAvailabilityResponse, bo as UploadEventAssetArgs, bp as UploadEventAssetResponse, ae as GetMenuOptions, as as Menu, av as MenuBundle, aA as MenuSubscription, ah as LatestOrder, aM as PlaceOrderRequest, aN as PlaceOrderResponse, v as ConfirmOrderRequest, w as ConfirmOrderResponse, K as CreatePaymentIntentRequest, L as CreatePaymentIntentResponse, E as CreateDeltaPaymentIntentRequest, F as CreateDeltaPaymentIntentResponse, aP as ReduceDeltaPaymentIntentRequest, aQ as ReduceDeltaPaymentIntentResponse, I as CreateMenuPublicationRequest, J as CreateMenuPublicationResponse, b7 as SetMenuPublicationBlocksRequest, b8 as SetMenuPublicationBlocksResponse, aS as RenderMenuPublicationPdfRequest, aT as RenderMenuPublicationPdfResponse, C as ComposeMenuPublicationBookletRequest, u as ComposeMenuPublicationBookletResponse, aq as MakeReservationRequest, ar as MakeReservationResponse, aU as RitualByAccessor, ba as SubscribeRequest, bb as SubscribeResponse, be as SubscriptionCreditStatus, bd as SubscriptionCredit, r as BasketItemMetadata, br as Venue, ag as GetWebsitePagesResponse, M as CreateWebsitePageRequest, N as CreateWebsitePageResponse, bk as UpdateWebsitePageRequest, bl as UpdateWebsitePageResponse, V as DeleteWebsitePageResponse, P as Currency, b3 as ScheduleTimeSlot, Q as DayOfWeek } from './index-hvu-A-Yj.mjs';
|
|
2
|
+
export { d as O3KAreaAsset, f as O3KAreaAvailabilityWindow, g as O3KAreaBookingMode, i as O3KAreaBookingRequestSource, j as O3KAreaBookingRequestStatus, k as O3KAreaBookingStatus, l as O3KAreaFeature, o as O3KBasketItem, p as O3KBasketItemDeposit, q as O3KBasketItemMenuItemRef, s as O3KBasketStatus, O as O3KCropArea, a0 as O3KEvent, a1 as O3KEventAsset, a3 as O3KEventMenu, aa as O3KGetArticleResponse, af as O3KGetVenueResponse, at as O3KMenuAsset, au as O3KMenuBeverage, aw as O3KMenuBundleDeposit, ax as O3KMenuDish, ay as O3KMenuItem, az as O3KMenuItemType, aB as O3KMenuSubscriptionPoster, aC as O3KOrderFulfillmentType, aD as O3KOrderStatus, aH as O3KPatchArticleResponse, aL as O3KPaymentStatus, aO as O3KPromotion, b1 as O3KSchedule, b2 as O3KScheduleOverride, b4 as O3KScheduleWithTimeSlots, bc as O3KSubscriberStatus, bf as O3KSubscriptionPeriod, bg as O3KTimeSlot, bh as O3KUnit } from './index-hvu-A-Yj.mjs';
|
|
3
3
|
import { z as z$1 } from 'zod';
|
|
4
4
|
import { z } from 'zod/v4';
|
|
5
5
|
import { RealtimePostgresChangesPayload, RealtimeChannel, SupabaseClient } from '@supabase/supabase-js';
|
|
@@ -3460,6 +3460,12 @@ interface components {
|
|
|
3460
3460
|
updatedAt: unknown;
|
|
3461
3461
|
};
|
|
3462
3462
|
/** @enum {string} */
|
|
3463
|
+
AccessGrantInitiator: "grantor" | "grantee";
|
|
3464
|
+
/** @enum {string} */
|
|
3465
|
+
AccessGrantResourceType: "business-card";
|
|
3466
|
+
/** @enum {string} */
|
|
3467
|
+
AccessGrantStatus: "pending" | "accepted" | "declined" | "expired" | "withdrawn" | "revoked";
|
|
3468
|
+
/** @enum {string} */
|
|
3463
3469
|
ActivePaymentStatus: "authorized" | "captured" | "cash_pending" | "cash_received";
|
|
3464
3470
|
/** @enum {string} */
|
|
3465
3471
|
ActorType: "human" | "robot";
|
|
@@ -3534,6 +3540,16 @@ interface components {
|
|
|
3534
3540
|
/** @enum {string} */
|
|
3535
3541
|
MenuItemType: "dish" | "beverage";
|
|
3536
3542
|
/** @enum {string} */
|
|
3543
|
+
MessageDirection: "incoming" | "outgoing";
|
|
3544
|
+
/** @enum {string} */
|
|
3545
|
+
MessageSource: "platform";
|
|
3546
|
+
/** @enum {string} */
|
|
3547
|
+
MessageStatus: "draft" | "submitting" | "submitted" | "rejected" | "failed" | "received";
|
|
3548
|
+
/** @enum {string} */
|
|
3549
|
+
MessageThreadStatus: "open" | "awaiting_them" | "awaiting_us" | "closed";
|
|
3550
|
+
/** @enum {string} */
|
|
3551
|
+
MessageThreadSubjectType: "party" | "access_grant";
|
|
3552
|
+
/** @enum {string} */
|
|
3537
3553
|
MetaCallToAction: "LEARN_MORE" | "BOOK_TRAVEL" | "ORDER_NOW" | "GET_OFFER" | "CONTACT_US" | "SIGN_UP";
|
|
3538
3554
|
/** @enum {string} */
|
|
3539
3555
|
MetaChannel: "facebook" | "instagram";
|
|
@@ -3550,7 +3566,9 @@ interface components {
|
|
|
3550
3566
|
/** @enum {string} */
|
|
3551
3567
|
OrderStatus: "pending" | "in_progress" | "ready" | "completed" | "cancelled";
|
|
3552
3568
|
/** @enum {string} */
|
|
3553
|
-
|
|
3569
|
+
PartyGender: "male" | "female" | "neutral";
|
|
3570
|
+
/** @enum {string} */
|
|
3571
|
+
PartyType: "natural_person" | "legal_entity" | "sole_prop";
|
|
3554
3572
|
/** @enum {string} */
|
|
3555
3573
|
PaxBand: "1-2" | "3-4" | "5-6" | "7+";
|
|
3556
3574
|
/** @enum {string} */
|
|
@@ -3610,7 +3628,7 @@ interface components {
|
|
|
3610
3628
|
/** @enum {string} */
|
|
3611
3629
|
MentionType: "link" | "value";
|
|
3612
3630
|
/** @enum {string} */
|
|
3613
|
-
Permission: "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" | "dishes:create" | "dishes:delete" | "dishes:read" | "dishes:update" | "features:create" | "features:delete" | "features:update" | "features:view" | "fulfillment:assign" | "fulfillment:mark-delivered" | "iam:human" | "iam:robot" | "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" | "reports:analytics" | "reports:orders" | "roles:assign" | "roles:create" | "roles:delete" | "roles:update" | "roles:view" | "rolodex:manage" | "rolodex:view" | "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:view";
|
|
3631
|
+
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" | "dishes:create" | "dishes:delete" | "dishes:read" | "dishes:update" | "events:view" | "events:manage" | "features:create" | "features:delete" | "features:update" | "features:view" | "fulfillment:assign" | "fulfillment:mark-delivered" | "iam:human" | "iam:robot" | "inbox:view" | "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";
|
|
3614
3632
|
/** @enum {string} */
|
|
3615
3633
|
PendingSuperadminTransferStatus: "pending_invite" | "accepted_awaiting_payment" | "completed" | "cancelled" | "expired";
|
|
3616
3634
|
/** @enum {string} */
|
|
@@ -3626,6 +3644,8 @@ interface components {
|
|
|
3626
3644
|
/** @enum {string} */
|
|
3627
3645
|
GeoAreaType: "postcode" | "city";
|
|
3628
3646
|
/** @enum {string} */
|
|
3647
|
+
PublicationSectionType: "cover" | "body" | "back";
|
|
3648
|
+
/** @enum {string} */
|
|
3629
3649
|
PublicationFrameStyle: "solid" | "icon";
|
|
3630
3650
|
/** @enum {string} */
|
|
3631
3651
|
PublicationGroupBy: "weekday" | "calendar_week" | "none";
|
|
@@ -3654,8 +3674,6 @@ interface components {
|
|
|
3654
3674
|
/** @enum {string} */
|
|
3655
3675
|
PublicationWeekScope: "current" | "all" | "range";
|
|
3656
3676
|
/** @enum {string} */
|
|
3657
|
-
PublicationSectionType: "cover" | "body" | "back";
|
|
3658
|
-
/** @enum {string} */
|
|
3659
3677
|
Direction: "left" | "right" | "up" | "down";
|
|
3660
3678
|
/** @enum {string} */
|
|
3661
3679
|
DirectionX: "left" | "right";
|
|
@@ -3460,6 +3460,12 @@ interface components {
|
|
|
3460
3460
|
updatedAt: unknown;
|
|
3461
3461
|
};
|
|
3462
3462
|
/** @enum {string} */
|
|
3463
|
+
AccessGrantInitiator: "grantor" | "grantee";
|
|
3464
|
+
/** @enum {string} */
|
|
3465
|
+
AccessGrantResourceType: "business-card";
|
|
3466
|
+
/** @enum {string} */
|
|
3467
|
+
AccessGrantStatus: "pending" | "accepted" | "declined" | "expired" | "withdrawn" | "revoked";
|
|
3468
|
+
/** @enum {string} */
|
|
3463
3469
|
ActivePaymentStatus: "authorized" | "captured" | "cash_pending" | "cash_received";
|
|
3464
3470
|
/** @enum {string} */
|
|
3465
3471
|
ActorType: "human" | "robot";
|
|
@@ -3534,6 +3540,16 @@ interface components {
|
|
|
3534
3540
|
/** @enum {string} */
|
|
3535
3541
|
MenuItemType: "dish" | "beverage";
|
|
3536
3542
|
/** @enum {string} */
|
|
3543
|
+
MessageDirection: "incoming" | "outgoing";
|
|
3544
|
+
/** @enum {string} */
|
|
3545
|
+
MessageSource: "platform";
|
|
3546
|
+
/** @enum {string} */
|
|
3547
|
+
MessageStatus: "draft" | "submitting" | "submitted" | "rejected" | "failed" | "received";
|
|
3548
|
+
/** @enum {string} */
|
|
3549
|
+
MessageThreadStatus: "open" | "awaiting_them" | "awaiting_us" | "closed";
|
|
3550
|
+
/** @enum {string} */
|
|
3551
|
+
MessageThreadSubjectType: "party" | "access_grant";
|
|
3552
|
+
/** @enum {string} */
|
|
3537
3553
|
MetaCallToAction: "LEARN_MORE" | "BOOK_TRAVEL" | "ORDER_NOW" | "GET_OFFER" | "CONTACT_US" | "SIGN_UP";
|
|
3538
3554
|
/** @enum {string} */
|
|
3539
3555
|
MetaChannel: "facebook" | "instagram";
|
|
@@ -3550,7 +3566,9 @@ interface components {
|
|
|
3550
3566
|
/** @enum {string} */
|
|
3551
3567
|
OrderStatus: "pending" | "in_progress" | "ready" | "completed" | "cancelled";
|
|
3552
3568
|
/** @enum {string} */
|
|
3553
|
-
|
|
3569
|
+
PartyGender: "male" | "female" | "neutral";
|
|
3570
|
+
/** @enum {string} */
|
|
3571
|
+
PartyType: "natural_person" | "legal_entity" | "sole_prop";
|
|
3554
3572
|
/** @enum {string} */
|
|
3555
3573
|
PaxBand: "1-2" | "3-4" | "5-6" | "7+";
|
|
3556
3574
|
/** @enum {string} */
|
|
@@ -3610,7 +3628,7 @@ interface components {
|
|
|
3610
3628
|
/** @enum {string} */
|
|
3611
3629
|
MentionType: "link" | "value";
|
|
3612
3630
|
/** @enum {string} */
|
|
3613
|
-
Permission: "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" | "dishes:create" | "dishes:delete" | "dishes:read" | "dishes:update" | "features:create" | "features:delete" | "features:update" | "features:view" | "fulfillment:assign" | "fulfillment:mark-delivered" | "iam:human" | "iam:robot" | "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" | "reports:analytics" | "reports:orders" | "roles:assign" | "roles:create" | "roles:delete" | "roles:update" | "roles:view" | "rolodex:manage" | "rolodex:view" | "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:view";
|
|
3631
|
+
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" | "dishes:create" | "dishes:delete" | "dishes:read" | "dishes:update" | "events:view" | "events:manage" | "features:create" | "features:delete" | "features:update" | "features:view" | "fulfillment:assign" | "fulfillment:mark-delivered" | "iam:human" | "iam:robot" | "inbox:view" | "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";
|
|
3614
3632
|
/** @enum {string} */
|
|
3615
3633
|
PendingSuperadminTransferStatus: "pending_invite" | "accepted_awaiting_payment" | "completed" | "cancelled" | "expired";
|
|
3616
3634
|
/** @enum {string} */
|
|
@@ -3626,6 +3644,8 @@ interface components {
|
|
|
3626
3644
|
/** @enum {string} */
|
|
3627
3645
|
GeoAreaType: "postcode" | "city";
|
|
3628
3646
|
/** @enum {string} */
|
|
3647
|
+
PublicationSectionType: "cover" | "body" | "back";
|
|
3648
|
+
/** @enum {string} */
|
|
3629
3649
|
PublicationFrameStyle: "solid" | "icon";
|
|
3630
3650
|
/** @enum {string} */
|
|
3631
3651
|
PublicationGroupBy: "weekday" | "calendar_week" | "none";
|
|
@@ -3654,8 +3674,6 @@ interface components {
|
|
|
3654
3674
|
/** @enum {string} */
|
|
3655
3675
|
PublicationWeekScope: "current" | "all" | "range";
|
|
3656
3676
|
/** @enum {string} */
|
|
3657
|
-
PublicationSectionType: "cover" | "body" | "back";
|
|
3658
|
-
/** @enum {string} */
|
|
3659
3677
|
Direction: "left" | "right" | "up" | "down";
|
|
3660
3678
|
/** @enum {string} */
|
|
3661
3679
|
DirectionX: "left" | "right";
|
package/dist/menu.d.cts
CHANGED
package/dist/menu.d.mts
CHANGED
package/dist/schemas.cjs
CHANGED
|
@@ -11,6 +11,19 @@ const abandonBasketResponseSchema = v4.z.object({
|
|
|
11
11
|
abandonedCount: v4.z.int().min(0).max(9007199254740991)
|
|
12
12
|
});
|
|
13
13
|
|
|
14
|
+
const accessGrantInitiatorSchema = v4.z.enum(["grantor", "grantee"]);
|
|
15
|
+
|
|
16
|
+
const accessGrantResourceTypeSchema = v4.z.enum(["business-card"]);
|
|
17
|
+
|
|
18
|
+
const accessGrantStatusSchema = v4.z.enum([
|
|
19
|
+
"pending",
|
|
20
|
+
"accepted",
|
|
21
|
+
"declined",
|
|
22
|
+
"expired",
|
|
23
|
+
"withdrawn",
|
|
24
|
+
"revoked"
|
|
25
|
+
]);
|
|
26
|
+
|
|
14
27
|
const activePaymentStatusSchema = v4.z.enum([
|
|
15
28
|
"authorized",
|
|
16
29
|
"captured",
|
|
@@ -4156,6 +4169,28 @@ const menuItemMarkerSchema = v4.z.enum([
|
|
|
4156
4169
|
"spicy"
|
|
4157
4170
|
]);
|
|
4158
4171
|
|
|
4172
|
+
const messageDirectionSchema = v4.z.enum(["incoming", "outgoing"]);
|
|
4173
|
+
|
|
4174
|
+
const messageSourceSchema = v4.z.enum(["platform"]);
|
|
4175
|
+
|
|
4176
|
+
const messageStatusSchema = v4.z.enum([
|
|
4177
|
+
"draft",
|
|
4178
|
+
"submitting",
|
|
4179
|
+
"submitted",
|
|
4180
|
+
"rejected",
|
|
4181
|
+
"failed",
|
|
4182
|
+
"received"
|
|
4183
|
+
]);
|
|
4184
|
+
|
|
4185
|
+
const messageThreadStatusSchema = v4.z.enum([
|
|
4186
|
+
"open",
|
|
4187
|
+
"awaiting_them",
|
|
4188
|
+
"awaiting_us",
|
|
4189
|
+
"closed"
|
|
4190
|
+
]);
|
|
4191
|
+
|
|
4192
|
+
const messageThreadSubjectTypeSchema = v4.z.enum(["party", "access_grant"]);
|
|
4193
|
+
|
|
4159
4194
|
const metaCallToActionSchema = v4.z.enum([
|
|
4160
4195
|
"LEARN_MORE",
|
|
4161
4196
|
"BOOK_TRAVEL",
|
|
@@ -4183,7 +4218,13 @@ const metaServingTargetStatusSchema = v4.z.enum(["ACTIVE", "PAUSED"]);
|
|
|
4183
4218
|
|
|
4184
4219
|
const orientationSchema = v4.z.enum(["vertical", "horizontal"]);
|
|
4185
4220
|
|
|
4186
|
-
const
|
|
4221
|
+
const partyGenderSchema = v4.z.enum(["male", "female", "neutral"]);
|
|
4222
|
+
|
|
4223
|
+
const partyTypeSchema = v4.z.enum([
|
|
4224
|
+
"natural_person",
|
|
4225
|
+
"legal_entity",
|
|
4226
|
+
"sole_prop"
|
|
4227
|
+
]);
|
|
4187
4228
|
|
|
4188
4229
|
const patchArticleFeatureImageBodySchema = v4.z.object({
|
|
4189
4230
|
caption: v4.z.optional(v4.z.object({}).catchall(v4.z.any())),
|
|
@@ -4203,6 +4244,21 @@ const pendingSuperadminTransferStatusSchema = v4.z.enum([
|
|
|
4203
4244
|
]);
|
|
4204
4245
|
|
|
4205
4246
|
const permissionSchema = v4.z.enum([
|
|
4247
|
+
"access-grant:view",
|
|
4248
|
+
"access-grant:offer",
|
|
4249
|
+
"access-grant:respond",
|
|
4250
|
+
"access-grant:revoke",
|
|
4251
|
+
"access-grant:revise",
|
|
4252
|
+
"ads:view",
|
|
4253
|
+
"ads:manage",
|
|
4254
|
+
"area-bookings:view",
|
|
4255
|
+
"area-bookings:manage",
|
|
4256
|
+
"areas:view",
|
|
4257
|
+
"areas:manage",
|
|
4258
|
+
"articles:view",
|
|
4259
|
+
"articles:manage",
|
|
4260
|
+
"assets:view",
|
|
4261
|
+
"assets:manage",
|
|
4206
4262
|
"area-booking-requests:create",
|
|
4207
4263
|
"bank-accounts:manage",
|
|
4208
4264
|
"bank-accounts:view",
|
|
@@ -4223,6 +4279,8 @@ const permissionSchema = v4.z.enum([
|
|
|
4223
4279
|
"dishes:delete",
|
|
4224
4280
|
"dishes:read",
|
|
4225
4281
|
"dishes:update",
|
|
4282
|
+
"events:view",
|
|
4283
|
+
"events:manage",
|
|
4226
4284
|
"features:create",
|
|
4227
4285
|
"features:delete",
|
|
4228
4286
|
"features:update",
|
|
@@ -4231,6 +4289,10 @@ const permissionSchema = v4.z.enum([
|
|
|
4231
4289
|
"fulfillment:mark-delivered",
|
|
4232
4290
|
"iam:human",
|
|
4233
4291
|
"iam:robot",
|
|
4292
|
+
"inbox:view",
|
|
4293
|
+
"inventory:view",
|
|
4294
|
+
"inventory:manage",
|
|
4295
|
+
"inventory:circulate",
|
|
4234
4296
|
"kitchen:mark-preparing",
|
|
4235
4297
|
"kitchen:mark-ready",
|
|
4236
4298
|
"kitchen:view",
|
|
@@ -4257,6 +4319,11 @@ const permissionSchema = v4.z.enum([
|
|
|
4257
4319
|
"platform:view",
|
|
4258
4320
|
"users:delete",
|
|
4259
4321
|
"platform-mention-fields:manage",
|
|
4322
|
+
"promotions:view",
|
|
4323
|
+
"promotions:manage",
|
|
4324
|
+
"reservations:view",
|
|
4325
|
+
"reservations:create",
|
|
4326
|
+
"reservations:manage",
|
|
4260
4327
|
"reports:analytics",
|
|
4261
4328
|
"reports:orders",
|
|
4262
4329
|
"roles:assign",
|
|
@@ -4266,6 +4333,7 @@ const permissionSchema = v4.z.enum([
|
|
|
4266
4333
|
"roles:view",
|
|
4267
4334
|
"rolodex:manage",
|
|
4268
4335
|
"rolodex:view",
|
|
4336
|
+
"business-card:read",
|
|
4269
4337
|
"subscriptions:create",
|
|
4270
4338
|
"subscriptions:delete",
|
|
4271
4339
|
"subscriptions:update",
|
|
@@ -4278,6 +4346,7 @@ const permissionSchema = v4.z.enum([
|
|
|
4278
4346
|
"venue:manage-gbp",
|
|
4279
4347
|
"venue:manage-payments",
|
|
4280
4348
|
"venue:update",
|
|
4349
|
+
"venue:transfer",
|
|
4281
4350
|
"venue:view"
|
|
4282
4351
|
]);
|
|
4283
4352
|
|
|
@@ -5211,6 +5280,9 @@ const wizardKeySchema = v4.z.enum([
|
|
|
5211
5280
|
const schemas = {
|
|
5212
5281
|
AbandonBasketRequest: abandonBasketRequestSchema,
|
|
5213
5282
|
AbandonBasketResponse: abandonBasketResponseSchema,
|
|
5283
|
+
AccessGrantInitiator: accessGrantInitiatorSchema,
|
|
5284
|
+
AccessGrantResourceType: accessGrantResourceTypeSchema,
|
|
5285
|
+
AccessGrantStatus: accessGrantStatusSchema,
|
|
5214
5286
|
ActivePaymentStatus: activePaymentStatusSchema,
|
|
5215
5287
|
ActorType: actorTypeSchema,
|
|
5216
5288
|
AdBiddingStrategy: adBiddingStrategySchema,
|
|
@@ -5362,6 +5434,11 @@ const schemas = {
|
|
|
5362
5434
|
MentionType: mentionTypeSchema,
|
|
5363
5435
|
MenuItemMarker: menuItemMarkerSchema,
|
|
5364
5436
|
MenuItemType: menuItemTypeSchema,
|
|
5437
|
+
MessageDirection: messageDirectionSchema,
|
|
5438
|
+
MessageSource: messageSourceSchema,
|
|
5439
|
+
MessageStatus: messageStatusSchema,
|
|
5440
|
+
MessageThreadStatus: messageThreadStatusSchema,
|
|
5441
|
+
MessageThreadSubjectType: messageThreadSubjectTypeSchema,
|
|
5365
5442
|
MetaCallToAction: metaCallToActionSchema,
|
|
5366
5443
|
MetaChannel: metaChannelSchema,
|
|
5367
5444
|
MetaInsightsDatePreset: metaInsightsDatePresetSchema,
|
|
@@ -5372,6 +5449,7 @@ const schemas = {
|
|
|
5372
5449
|
OrderStatus: orderStatusSchema,
|
|
5373
5450
|
Orientation: orientationSchema,
|
|
5374
5451
|
ParticipantStatus: deliveryAddressSchema.participantStatusSchema,
|
|
5452
|
+
PartyGender: partyGenderSchema,
|
|
5375
5453
|
PartyType: partyTypeSchema,
|
|
5376
5454
|
PatchArticleFeatureImageBody: patchArticleFeatureImageBodySchema,
|
|
5377
5455
|
PaxBand: paxBandSchema,
|
package/dist/schemas.d.cts
CHANGED
|
@@ -9,6 +9,21 @@ declare const schemas: {
|
|
|
9
9
|
readonly AbandonBasketResponse: zod.ZodObject<{
|
|
10
10
|
abandonedCount: zod.ZodInt;
|
|
11
11
|
}, zod_v4_core.$strip>;
|
|
12
|
+
readonly AccessGrantInitiator: zod.ZodEnum<{
|
|
13
|
+
grantor: "grantor";
|
|
14
|
+
grantee: "grantee";
|
|
15
|
+
}>;
|
|
16
|
+
readonly AccessGrantResourceType: zod.ZodEnum<{
|
|
17
|
+
"business-card": "business-card";
|
|
18
|
+
}>;
|
|
19
|
+
readonly AccessGrantStatus: zod.ZodEnum<{
|
|
20
|
+
pending: "pending";
|
|
21
|
+
accepted: "accepted";
|
|
22
|
+
declined: "declined";
|
|
23
|
+
expired: "expired";
|
|
24
|
+
withdrawn: "withdrawn";
|
|
25
|
+
revoked: "revoked";
|
|
26
|
+
}>;
|
|
12
27
|
readonly ActivePaymentStatus: zod.ZodEnum<{
|
|
13
28
|
authorized: "authorized";
|
|
14
29
|
captured: "captured";
|
|
@@ -3010,8 +3025,8 @@ declare const schemas: {
|
|
|
3010
3025
|
publicId: zod.ZodNullable<zod.ZodString>;
|
|
3011
3026
|
quickReferenceNumber: zod.ZodNullable<zod.ZodInt>;
|
|
3012
3027
|
status: zod.ZodEnum<{
|
|
3013
|
-
ready: "ready";
|
|
3014
3028
|
pending: "pending";
|
|
3029
|
+
ready: "ready";
|
|
3015
3030
|
cancelled: "cancelled";
|
|
3016
3031
|
completed: "completed";
|
|
3017
3032
|
in_progress: "in_progress";
|
|
@@ -3775,8 +3790,8 @@ declare const schemas: {
|
|
|
3775
3790
|
periodEnd: zod.ZodString;
|
|
3776
3791
|
expiresAt: zod.ZodNullable<zod.ZodString>;
|
|
3777
3792
|
status: zod.ZodEnum<{
|
|
3778
|
-
available: "available";
|
|
3779
3793
|
expired: "expired";
|
|
3794
|
+
available: "available";
|
|
3780
3795
|
redeemed: "redeemed";
|
|
3781
3796
|
}>;
|
|
3782
3797
|
redeemedAt: zod.ZodNullable<zod.ZodString>;
|
|
@@ -4244,6 +4259,31 @@ declare const schemas: {
|
|
|
4244
4259
|
dish: "dish";
|
|
4245
4260
|
beverage: "beverage";
|
|
4246
4261
|
}>;
|
|
4262
|
+
readonly MessageDirection: zod.ZodEnum<{
|
|
4263
|
+
incoming: "incoming";
|
|
4264
|
+
outgoing: "outgoing";
|
|
4265
|
+
}>;
|
|
4266
|
+
readonly MessageSource: zod.ZodEnum<{
|
|
4267
|
+
platform: "platform";
|
|
4268
|
+
}>;
|
|
4269
|
+
readonly MessageStatus: zod.ZodEnum<{
|
|
4270
|
+
draft: "draft";
|
|
4271
|
+
rejected: "rejected";
|
|
4272
|
+
failed: "failed";
|
|
4273
|
+
submitting: "submitting";
|
|
4274
|
+
submitted: "submitted";
|
|
4275
|
+
received: "received";
|
|
4276
|
+
}>;
|
|
4277
|
+
readonly MessageThreadStatus: zod.ZodEnum<{
|
|
4278
|
+
closed: "closed";
|
|
4279
|
+
open: "open";
|
|
4280
|
+
awaiting_them: "awaiting_them";
|
|
4281
|
+
awaiting_us: "awaiting_us";
|
|
4282
|
+
}>;
|
|
4283
|
+
readonly MessageThreadSubjectType: zod.ZodEnum<{
|
|
4284
|
+
party: "party";
|
|
4285
|
+
access_grant: "access_grant";
|
|
4286
|
+
}>;
|
|
4247
4287
|
readonly MetaCallToAction: zod.ZodEnum<{
|
|
4248
4288
|
LEARN_MORE: "LEARN_MORE";
|
|
4249
4289
|
BOOK_TRAVEL: "BOOK_TRAVEL";
|
|
@@ -4283,8 +4323,8 @@ declare const schemas: {
|
|
|
4283
4323
|
locale: zod.ZodString;
|
|
4284
4324
|
}, zod_v4_core.$strip>;
|
|
4285
4325
|
readonly OrderStatus: zod.ZodEnum<{
|
|
4286
|
-
ready: "ready";
|
|
4287
4326
|
pending: "pending";
|
|
4327
|
+
ready: "ready";
|
|
4288
4328
|
cancelled: "cancelled";
|
|
4289
4329
|
completed: "completed";
|
|
4290
4330
|
in_progress: "in_progress";
|
|
@@ -4301,9 +4341,15 @@ declare const schemas: {
|
|
|
4301
4341
|
browsing: "browsing";
|
|
4302
4342
|
placed: "placed";
|
|
4303
4343
|
}>;
|
|
4344
|
+
readonly PartyGender: zod.ZodEnum<{
|
|
4345
|
+
male: "male";
|
|
4346
|
+
female: "female";
|
|
4347
|
+
neutral: "neutral";
|
|
4348
|
+
}>;
|
|
4304
4349
|
readonly PartyType: zod.ZodEnum<{
|
|
4305
4350
|
natural_person: "natural_person";
|
|
4306
4351
|
legal_entity: "legal_entity";
|
|
4352
|
+
sole_prop: "sole_prop";
|
|
4307
4353
|
}>;
|
|
4308
4354
|
readonly PatchArticleFeatureImageBody: zod.ZodObject<{
|
|
4309
4355
|
caption: zod.ZodOptional<zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>>;
|
|
@@ -4328,13 +4374,28 @@ declare const schemas: {
|
|
|
4328
4374
|
paid: "paid";
|
|
4329
4375
|
}>;
|
|
4330
4376
|
readonly PendingSuperadminTransferStatus: zod.ZodEnum<{
|
|
4377
|
+
expired: "expired";
|
|
4331
4378
|
cancelled: "cancelled";
|
|
4332
4379
|
completed: "completed";
|
|
4333
4380
|
pending_invite: "pending_invite";
|
|
4334
4381
|
accepted_awaiting_payment: "accepted_awaiting_payment";
|
|
4335
|
-
expired: "expired";
|
|
4336
4382
|
}>;
|
|
4337
4383
|
readonly Permission: zod.ZodEnum<{
|
|
4384
|
+
"access-grant:view": "access-grant:view";
|
|
4385
|
+
"access-grant:offer": "access-grant:offer";
|
|
4386
|
+
"access-grant:respond": "access-grant:respond";
|
|
4387
|
+
"access-grant:revoke": "access-grant:revoke";
|
|
4388
|
+
"access-grant:revise": "access-grant:revise";
|
|
4389
|
+
"ads:view": "ads:view";
|
|
4390
|
+
"ads:manage": "ads:manage";
|
|
4391
|
+
"area-bookings:view": "area-bookings:view";
|
|
4392
|
+
"area-bookings:manage": "area-bookings:manage";
|
|
4393
|
+
"areas:view": "areas:view";
|
|
4394
|
+
"areas:manage": "areas:manage";
|
|
4395
|
+
"articles:view": "articles:view";
|
|
4396
|
+
"articles:manage": "articles:manage";
|
|
4397
|
+
"assets:view": "assets:view";
|
|
4398
|
+
"assets:manage": "assets:manage";
|
|
4338
4399
|
"area-booking-requests:create": "area-booking-requests:create";
|
|
4339
4400
|
"bank-accounts:manage": "bank-accounts:manage";
|
|
4340
4401
|
"bank-accounts:view": "bank-accounts:view";
|
|
@@ -4355,6 +4416,8 @@ declare const schemas: {
|
|
|
4355
4416
|
"dishes:delete": "dishes:delete";
|
|
4356
4417
|
"dishes:read": "dishes:read";
|
|
4357
4418
|
"dishes:update": "dishes:update";
|
|
4419
|
+
"events:view": "events:view";
|
|
4420
|
+
"events:manage": "events:manage";
|
|
4358
4421
|
"features:create": "features:create";
|
|
4359
4422
|
"features:delete": "features:delete";
|
|
4360
4423
|
"features:update": "features:update";
|
|
@@ -4363,6 +4426,10 @@ declare const schemas: {
|
|
|
4363
4426
|
"fulfillment:mark-delivered": "fulfillment:mark-delivered";
|
|
4364
4427
|
"iam:human": "iam:human";
|
|
4365
4428
|
"iam:robot": "iam:robot";
|
|
4429
|
+
"inbox:view": "inbox:view";
|
|
4430
|
+
"inventory:view": "inventory:view";
|
|
4431
|
+
"inventory:manage": "inventory:manage";
|
|
4432
|
+
"inventory:circulate": "inventory:circulate";
|
|
4366
4433
|
"kitchen:mark-preparing": "kitchen:mark-preparing";
|
|
4367
4434
|
"kitchen:mark-ready": "kitchen:mark-ready";
|
|
4368
4435
|
"kitchen:view": "kitchen:view";
|
|
@@ -4389,6 +4456,11 @@ declare const schemas: {
|
|
|
4389
4456
|
"platform:view": "platform:view";
|
|
4390
4457
|
"users:delete": "users:delete";
|
|
4391
4458
|
"platform-mention-fields:manage": "platform-mention-fields:manage";
|
|
4459
|
+
"promotions:view": "promotions:view";
|
|
4460
|
+
"promotions:manage": "promotions:manage";
|
|
4461
|
+
"reservations:view": "reservations:view";
|
|
4462
|
+
"reservations:create": "reservations:create";
|
|
4463
|
+
"reservations:manage": "reservations:manage";
|
|
4392
4464
|
"reports:analytics": "reports:analytics";
|
|
4393
4465
|
"reports:orders": "reports:orders";
|
|
4394
4466
|
"roles:assign": "roles:assign";
|
|
@@ -4398,6 +4470,7 @@ declare const schemas: {
|
|
|
4398
4470
|
"roles:view": "roles:view";
|
|
4399
4471
|
"rolodex:manage": "rolodex:manage";
|
|
4400
4472
|
"rolodex:view": "rolodex:view";
|
|
4473
|
+
"business-card:read": "business-card:read";
|
|
4401
4474
|
"subscriptions:create": "subscriptions:create";
|
|
4402
4475
|
"subscriptions:delete": "subscriptions:delete";
|
|
4403
4476
|
"subscriptions:update": "subscriptions:update";
|
|
@@ -4410,6 +4483,7 @@ declare const schemas: {
|
|
|
4410
4483
|
"venue:manage-gbp": "venue:manage-gbp";
|
|
4411
4484
|
"venue:manage-payments": "venue:manage-payments";
|
|
4412
4485
|
"venue:update": "venue:update";
|
|
4486
|
+
"venue:transfer": "venue:transfer";
|
|
4413
4487
|
"venue:view": "venue:view";
|
|
4414
4488
|
}>;
|
|
4415
4489
|
readonly PlaceOrderRequest: zod.ZodObject<{
|
|
@@ -5284,8 +5358,8 @@ declare const schemas: {
|
|
|
5284
5358
|
trialing: "trialing";
|
|
5285
5359
|
}>;
|
|
5286
5360
|
readonly SubscriptionCreditStatus: zod.ZodEnum<{
|
|
5287
|
-
available: "available";
|
|
5288
5361
|
expired: "expired";
|
|
5362
|
+
available: "available";
|
|
5289
5363
|
redeemed: "redeemed";
|
|
5290
5364
|
}>;
|
|
5291
5365
|
readonly SubscriptionPeriod: zod.ZodEnum<{
|
|
@@ -5972,8 +6046,8 @@ declare const schemas: {
|
|
|
5972
6046
|
}>;
|
|
5973
6047
|
readonly VenueUserStatus: zod.ZodEnum<{
|
|
5974
6048
|
pending: "pending";
|
|
5975
|
-
confirmed: "confirmed";
|
|
5976
6049
|
revoked: "revoked";
|
|
6050
|
+
confirmed: "confirmed";
|
|
5977
6051
|
}>;
|
|
5978
6052
|
readonly WebsitePageOwnerType: zod.ZodEnum<{
|
|
5979
6053
|
event: "event";
|
package/dist/schemas.d.mts
CHANGED
|
@@ -9,6 +9,21 @@ declare const schemas: {
|
|
|
9
9
|
readonly AbandonBasketResponse: zod.ZodObject<{
|
|
10
10
|
abandonedCount: zod.ZodInt;
|
|
11
11
|
}, zod_v4_core.$strip>;
|
|
12
|
+
readonly AccessGrantInitiator: zod.ZodEnum<{
|
|
13
|
+
grantor: "grantor";
|
|
14
|
+
grantee: "grantee";
|
|
15
|
+
}>;
|
|
16
|
+
readonly AccessGrantResourceType: zod.ZodEnum<{
|
|
17
|
+
"business-card": "business-card";
|
|
18
|
+
}>;
|
|
19
|
+
readonly AccessGrantStatus: zod.ZodEnum<{
|
|
20
|
+
pending: "pending";
|
|
21
|
+
accepted: "accepted";
|
|
22
|
+
declined: "declined";
|
|
23
|
+
expired: "expired";
|
|
24
|
+
withdrawn: "withdrawn";
|
|
25
|
+
revoked: "revoked";
|
|
26
|
+
}>;
|
|
12
27
|
readonly ActivePaymentStatus: zod.ZodEnum<{
|
|
13
28
|
authorized: "authorized";
|
|
14
29
|
captured: "captured";
|
|
@@ -3010,8 +3025,8 @@ declare const schemas: {
|
|
|
3010
3025
|
publicId: zod.ZodNullable<zod.ZodString>;
|
|
3011
3026
|
quickReferenceNumber: zod.ZodNullable<zod.ZodInt>;
|
|
3012
3027
|
status: zod.ZodEnum<{
|
|
3013
|
-
ready: "ready";
|
|
3014
3028
|
pending: "pending";
|
|
3029
|
+
ready: "ready";
|
|
3015
3030
|
cancelled: "cancelled";
|
|
3016
3031
|
completed: "completed";
|
|
3017
3032
|
in_progress: "in_progress";
|
|
@@ -3775,8 +3790,8 @@ declare const schemas: {
|
|
|
3775
3790
|
periodEnd: zod.ZodString;
|
|
3776
3791
|
expiresAt: zod.ZodNullable<zod.ZodString>;
|
|
3777
3792
|
status: zod.ZodEnum<{
|
|
3778
|
-
available: "available";
|
|
3779
3793
|
expired: "expired";
|
|
3794
|
+
available: "available";
|
|
3780
3795
|
redeemed: "redeemed";
|
|
3781
3796
|
}>;
|
|
3782
3797
|
redeemedAt: zod.ZodNullable<zod.ZodString>;
|
|
@@ -4244,6 +4259,31 @@ declare const schemas: {
|
|
|
4244
4259
|
dish: "dish";
|
|
4245
4260
|
beverage: "beverage";
|
|
4246
4261
|
}>;
|
|
4262
|
+
readonly MessageDirection: zod.ZodEnum<{
|
|
4263
|
+
incoming: "incoming";
|
|
4264
|
+
outgoing: "outgoing";
|
|
4265
|
+
}>;
|
|
4266
|
+
readonly MessageSource: zod.ZodEnum<{
|
|
4267
|
+
platform: "platform";
|
|
4268
|
+
}>;
|
|
4269
|
+
readonly MessageStatus: zod.ZodEnum<{
|
|
4270
|
+
draft: "draft";
|
|
4271
|
+
rejected: "rejected";
|
|
4272
|
+
failed: "failed";
|
|
4273
|
+
submitting: "submitting";
|
|
4274
|
+
submitted: "submitted";
|
|
4275
|
+
received: "received";
|
|
4276
|
+
}>;
|
|
4277
|
+
readonly MessageThreadStatus: zod.ZodEnum<{
|
|
4278
|
+
closed: "closed";
|
|
4279
|
+
open: "open";
|
|
4280
|
+
awaiting_them: "awaiting_them";
|
|
4281
|
+
awaiting_us: "awaiting_us";
|
|
4282
|
+
}>;
|
|
4283
|
+
readonly MessageThreadSubjectType: zod.ZodEnum<{
|
|
4284
|
+
party: "party";
|
|
4285
|
+
access_grant: "access_grant";
|
|
4286
|
+
}>;
|
|
4247
4287
|
readonly MetaCallToAction: zod.ZodEnum<{
|
|
4248
4288
|
LEARN_MORE: "LEARN_MORE";
|
|
4249
4289
|
BOOK_TRAVEL: "BOOK_TRAVEL";
|
|
@@ -4283,8 +4323,8 @@ declare const schemas: {
|
|
|
4283
4323
|
locale: zod.ZodString;
|
|
4284
4324
|
}, zod_v4_core.$strip>;
|
|
4285
4325
|
readonly OrderStatus: zod.ZodEnum<{
|
|
4286
|
-
ready: "ready";
|
|
4287
4326
|
pending: "pending";
|
|
4327
|
+
ready: "ready";
|
|
4288
4328
|
cancelled: "cancelled";
|
|
4289
4329
|
completed: "completed";
|
|
4290
4330
|
in_progress: "in_progress";
|
|
@@ -4301,9 +4341,15 @@ declare const schemas: {
|
|
|
4301
4341
|
browsing: "browsing";
|
|
4302
4342
|
placed: "placed";
|
|
4303
4343
|
}>;
|
|
4344
|
+
readonly PartyGender: zod.ZodEnum<{
|
|
4345
|
+
male: "male";
|
|
4346
|
+
female: "female";
|
|
4347
|
+
neutral: "neutral";
|
|
4348
|
+
}>;
|
|
4304
4349
|
readonly PartyType: zod.ZodEnum<{
|
|
4305
4350
|
natural_person: "natural_person";
|
|
4306
4351
|
legal_entity: "legal_entity";
|
|
4352
|
+
sole_prop: "sole_prop";
|
|
4307
4353
|
}>;
|
|
4308
4354
|
readonly PatchArticleFeatureImageBody: zod.ZodObject<{
|
|
4309
4355
|
caption: zod.ZodOptional<zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>>;
|
|
@@ -4328,13 +4374,28 @@ declare const schemas: {
|
|
|
4328
4374
|
paid: "paid";
|
|
4329
4375
|
}>;
|
|
4330
4376
|
readonly PendingSuperadminTransferStatus: zod.ZodEnum<{
|
|
4377
|
+
expired: "expired";
|
|
4331
4378
|
cancelled: "cancelled";
|
|
4332
4379
|
completed: "completed";
|
|
4333
4380
|
pending_invite: "pending_invite";
|
|
4334
4381
|
accepted_awaiting_payment: "accepted_awaiting_payment";
|
|
4335
|
-
expired: "expired";
|
|
4336
4382
|
}>;
|
|
4337
4383
|
readonly Permission: zod.ZodEnum<{
|
|
4384
|
+
"access-grant:view": "access-grant:view";
|
|
4385
|
+
"access-grant:offer": "access-grant:offer";
|
|
4386
|
+
"access-grant:respond": "access-grant:respond";
|
|
4387
|
+
"access-grant:revoke": "access-grant:revoke";
|
|
4388
|
+
"access-grant:revise": "access-grant:revise";
|
|
4389
|
+
"ads:view": "ads:view";
|
|
4390
|
+
"ads:manage": "ads:manage";
|
|
4391
|
+
"area-bookings:view": "area-bookings:view";
|
|
4392
|
+
"area-bookings:manage": "area-bookings:manage";
|
|
4393
|
+
"areas:view": "areas:view";
|
|
4394
|
+
"areas:manage": "areas:manage";
|
|
4395
|
+
"articles:view": "articles:view";
|
|
4396
|
+
"articles:manage": "articles:manage";
|
|
4397
|
+
"assets:view": "assets:view";
|
|
4398
|
+
"assets:manage": "assets:manage";
|
|
4338
4399
|
"area-booking-requests:create": "area-booking-requests:create";
|
|
4339
4400
|
"bank-accounts:manage": "bank-accounts:manage";
|
|
4340
4401
|
"bank-accounts:view": "bank-accounts:view";
|
|
@@ -4355,6 +4416,8 @@ declare const schemas: {
|
|
|
4355
4416
|
"dishes:delete": "dishes:delete";
|
|
4356
4417
|
"dishes:read": "dishes:read";
|
|
4357
4418
|
"dishes:update": "dishes:update";
|
|
4419
|
+
"events:view": "events:view";
|
|
4420
|
+
"events:manage": "events:manage";
|
|
4358
4421
|
"features:create": "features:create";
|
|
4359
4422
|
"features:delete": "features:delete";
|
|
4360
4423
|
"features:update": "features:update";
|
|
@@ -4363,6 +4426,10 @@ declare const schemas: {
|
|
|
4363
4426
|
"fulfillment:mark-delivered": "fulfillment:mark-delivered";
|
|
4364
4427
|
"iam:human": "iam:human";
|
|
4365
4428
|
"iam:robot": "iam:robot";
|
|
4429
|
+
"inbox:view": "inbox:view";
|
|
4430
|
+
"inventory:view": "inventory:view";
|
|
4431
|
+
"inventory:manage": "inventory:manage";
|
|
4432
|
+
"inventory:circulate": "inventory:circulate";
|
|
4366
4433
|
"kitchen:mark-preparing": "kitchen:mark-preparing";
|
|
4367
4434
|
"kitchen:mark-ready": "kitchen:mark-ready";
|
|
4368
4435
|
"kitchen:view": "kitchen:view";
|
|
@@ -4389,6 +4456,11 @@ declare const schemas: {
|
|
|
4389
4456
|
"platform:view": "platform:view";
|
|
4390
4457
|
"users:delete": "users:delete";
|
|
4391
4458
|
"platform-mention-fields:manage": "platform-mention-fields:manage";
|
|
4459
|
+
"promotions:view": "promotions:view";
|
|
4460
|
+
"promotions:manage": "promotions:manage";
|
|
4461
|
+
"reservations:view": "reservations:view";
|
|
4462
|
+
"reservations:create": "reservations:create";
|
|
4463
|
+
"reservations:manage": "reservations:manage";
|
|
4392
4464
|
"reports:analytics": "reports:analytics";
|
|
4393
4465
|
"reports:orders": "reports:orders";
|
|
4394
4466
|
"roles:assign": "roles:assign";
|
|
@@ -4398,6 +4470,7 @@ declare const schemas: {
|
|
|
4398
4470
|
"roles:view": "roles:view";
|
|
4399
4471
|
"rolodex:manage": "rolodex:manage";
|
|
4400
4472
|
"rolodex:view": "rolodex:view";
|
|
4473
|
+
"business-card:read": "business-card:read";
|
|
4401
4474
|
"subscriptions:create": "subscriptions:create";
|
|
4402
4475
|
"subscriptions:delete": "subscriptions:delete";
|
|
4403
4476
|
"subscriptions:update": "subscriptions:update";
|
|
@@ -4410,6 +4483,7 @@ declare const schemas: {
|
|
|
4410
4483
|
"venue:manage-gbp": "venue:manage-gbp";
|
|
4411
4484
|
"venue:manage-payments": "venue:manage-payments";
|
|
4412
4485
|
"venue:update": "venue:update";
|
|
4486
|
+
"venue:transfer": "venue:transfer";
|
|
4413
4487
|
"venue:view": "venue:view";
|
|
4414
4488
|
}>;
|
|
4415
4489
|
readonly PlaceOrderRequest: zod.ZodObject<{
|
|
@@ -5284,8 +5358,8 @@ declare const schemas: {
|
|
|
5284
5358
|
trialing: "trialing";
|
|
5285
5359
|
}>;
|
|
5286
5360
|
readonly SubscriptionCreditStatus: zod.ZodEnum<{
|
|
5287
|
-
available: "available";
|
|
5288
5361
|
expired: "expired";
|
|
5362
|
+
available: "available";
|
|
5289
5363
|
redeemed: "redeemed";
|
|
5290
5364
|
}>;
|
|
5291
5365
|
readonly SubscriptionPeriod: zod.ZodEnum<{
|
|
@@ -5972,8 +6046,8 @@ declare const schemas: {
|
|
|
5972
6046
|
}>;
|
|
5973
6047
|
readonly VenueUserStatus: zod.ZodEnum<{
|
|
5974
6048
|
pending: "pending";
|
|
5975
|
-
confirmed: "confirmed";
|
|
5976
6049
|
revoked: "revoked";
|
|
6050
|
+
confirmed: "confirmed";
|
|
5977
6051
|
}>;
|
|
5978
6052
|
readonly WebsitePageOwnerType: zod.ZodEnum<{
|
|
5979
6053
|
event: "event";
|
package/dist/schemas.mjs
CHANGED
|
@@ -9,6 +9,19 @@ const abandonBasketResponseSchema = z.object({
|
|
|
9
9
|
abandonedCount: z.int().min(0).max(9007199254740991)
|
|
10
10
|
});
|
|
11
11
|
|
|
12
|
+
const accessGrantInitiatorSchema = z.enum(["grantor", "grantee"]);
|
|
13
|
+
|
|
14
|
+
const accessGrantResourceTypeSchema = z.enum(["business-card"]);
|
|
15
|
+
|
|
16
|
+
const accessGrantStatusSchema = z.enum([
|
|
17
|
+
"pending",
|
|
18
|
+
"accepted",
|
|
19
|
+
"declined",
|
|
20
|
+
"expired",
|
|
21
|
+
"withdrawn",
|
|
22
|
+
"revoked"
|
|
23
|
+
]);
|
|
24
|
+
|
|
12
25
|
const activePaymentStatusSchema = z.enum([
|
|
13
26
|
"authorized",
|
|
14
27
|
"captured",
|
|
@@ -4154,6 +4167,28 @@ const menuItemMarkerSchema = z.enum([
|
|
|
4154
4167
|
"spicy"
|
|
4155
4168
|
]);
|
|
4156
4169
|
|
|
4170
|
+
const messageDirectionSchema = z.enum(["incoming", "outgoing"]);
|
|
4171
|
+
|
|
4172
|
+
const messageSourceSchema = z.enum(["platform"]);
|
|
4173
|
+
|
|
4174
|
+
const messageStatusSchema = z.enum([
|
|
4175
|
+
"draft",
|
|
4176
|
+
"submitting",
|
|
4177
|
+
"submitted",
|
|
4178
|
+
"rejected",
|
|
4179
|
+
"failed",
|
|
4180
|
+
"received"
|
|
4181
|
+
]);
|
|
4182
|
+
|
|
4183
|
+
const messageThreadStatusSchema = z.enum([
|
|
4184
|
+
"open",
|
|
4185
|
+
"awaiting_them",
|
|
4186
|
+
"awaiting_us",
|
|
4187
|
+
"closed"
|
|
4188
|
+
]);
|
|
4189
|
+
|
|
4190
|
+
const messageThreadSubjectTypeSchema = z.enum(["party", "access_grant"]);
|
|
4191
|
+
|
|
4157
4192
|
const metaCallToActionSchema = z.enum([
|
|
4158
4193
|
"LEARN_MORE",
|
|
4159
4194
|
"BOOK_TRAVEL",
|
|
@@ -4181,7 +4216,13 @@ const metaServingTargetStatusSchema = z.enum(["ACTIVE", "PAUSED"]);
|
|
|
4181
4216
|
|
|
4182
4217
|
const orientationSchema = z.enum(["vertical", "horizontal"]);
|
|
4183
4218
|
|
|
4184
|
-
const
|
|
4219
|
+
const partyGenderSchema = z.enum(["male", "female", "neutral"]);
|
|
4220
|
+
|
|
4221
|
+
const partyTypeSchema = z.enum([
|
|
4222
|
+
"natural_person",
|
|
4223
|
+
"legal_entity",
|
|
4224
|
+
"sole_prop"
|
|
4225
|
+
]);
|
|
4185
4226
|
|
|
4186
4227
|
const patchArticleFeatureImageBodySchema = z.object({
|
|
4187
4228
|
caption: z.optional(z.object({}).catchall(z.any())),
|
|
@@ -4201,6 +4242,21 @@ const pendingSuperadminTransferStatusSchema = z.enum([
|
|
|
4201
4242
|
]);
|
|
4202
4243
|
|
|
4203
4244
|
const permissionSchema = z.enum([
|
|
4245
|
+
"access-grant:view",
|
|
4246
|
+
"access-grant:offer",
|
|
4247
|
+
"access-grant:respond",
|
|
4248
|
+
"access-grant:revoke",
|
|
4249
|
+
"access-grant:revise",
|
|
4250
|
+
"ads:view",
|
|
4251
|
+
"ads:manage",
|
|
4252
|
+
"area-bookings:view",
|
|
4253
|
+
"area-bookings:manage",
|
|
4254
|
+
"areas:view",
|
|
4255
|
+
"areas:manage",
|
|
4256
|
+
"articles:view",
|
|
4257
|
+
"articles:manage",
|
|
4258
|
+
"assets:view",
|
|
4259
|
+
"assets:manage",
|
|
4204
4260
|
"area-booking-requests:create",
|
|
4205
4261
|
"bank-accounts:manage",
|
|
4206
4262
|
"bank-accounts:view",
|
|
@@ -4221,6 +4277,8 @@ const permissionSchema = z.enum([
|
|
|
4221
4277
|
"dishes:delete",
|
|
4222
4278
|
"dishes:read",
|
|
4223
4279
|
"dishes:update",
|
|
4280
|
+
"events:view",
|
|
4281
|
+
"events:manage",
|
|
4224
4282
|
"features:create",
|
|
4225
4283
|
"features:delete",
|
|
4226
4284
|
"features:update",
|
|
@@ -4229,6 +4287,10 @@ const permissionSchema = z.enum([
|
|
|
4229
4287
|
"fulfillment:mark-delivered",
|
|
4230
4288
|
"iam:human",
|
|
4231
4289
|
"iam:robot",
|
|
4290
|
+
"inbox:view",
|
|
4291
|
+
"inventory:view",
|
|
4292
|
+
"inventory:manage",
|
|
4293
|
+
"inventory:circulate",
|
|
4232
4294
|
"kitchen:mark-preparing",
|
|
4233
4295
|
"kitchen:mark-ready",
|
|
4234
4296
|
"kitchen:view",
|
|
@@ -4255,6 +4317,11 @@ const permissionSchema = z.enum([
|
|
|
4255
4317
|
"platform:view",
|
|
4256
4318
|
"users:delete",
|
|
4257
4319
|
"platform-mention-fields:manage",
|
|
4320
|
+
"promotions:view",
|
|
4321
|
+
"promotions:manage",
|
|
4322
|
+
"reservations:view",
|
|
4323
|
+
"reservations:create",
|
|
4324
|
+
"reservations:manage",
|
|
4258
4325
|
"reports:analytics",
|
|
4259
4326
|
"reports:orders",
|
|
4260
4327
|
"roles:assign",
|
|
@@ -4264,6 +4331,7 @@ const permissionSchema = z.enum([
|
|
|
4264
4331
|
"roles:view",
|
|
4265
4332
|
"rolodex:manage",
|
|
4266
4333
|
"rolodex:view",
|
|
4334
|
+
"business-card:read",
|
|
4267
4335
|
"subscriptions:create",
|
|
4268
4336
|
"subscriptions:delete",
|
|
4269
4337
|
"subscriptions:update",
|
|
@@ -4276,6 +4344,7 @@ const permissionSchema = z.enum([
|
|
|
4276
4344
|
"venue:manage-gbp",
|
|
4277
4345
|
"venue:manage-payments",
|
|
4278
4346
|
"venue:update",
|
|
4347
|
+
"venue:transfer",
|
|
4279
4348
|
"venue:view"
|
|
4280
4349
|
]);
|
|
4281
4350
|
|
|
@@ -5209,6 +5278,9 @@ const wizardKeySchema = z.enum([
|
|
|
5209
5278
|
const schemas = {
|
|
5210
5279
|
AbandonBasketRequest: abandonBasketRequestSchema,
|
|
5211
5280
|
AbandonBasketResponse: abandonBasketResponseSchema,
|
|
5281
|
+
AccessGrantInitiator: accessGrantInitiatorSchema,
|
|
5282
|
+
AccessGrantResourceType: accessGrantResourceTypeSchema,
|
|
5283
|
+
AccessGrantStatus: accessGrantStatusSchema,
|
|
5212
5284
|
ActivePaymentStatus: activePaymentStatusSchema,
|
|
5213
5285
|
ActorType: actorTypeSchema,
|
|
5214
5286
|
AdBiddingStrategy: adBiddingStrategySchema,
|
|
@@ -5360,6 +5432,11 @@ const schemas = {
|
|
|
5360
5432
|
MentionType: mentionTypeSchema,
|
|
5361
5433
|
MenuItemMarker: menuItemMarkerSchema,
|
|
5362
5434
|
MenuItemType: menuItemTypeSchema,
|
|
5435
|
+
MessageDirection: messageDirectionSchema,
|
|
5436
|
+
MessageSource: messageSourceSchema,
|
|
5437
|
+
MessageStatus: messageStatusSchema,
|
|
5438
|
+
MessageThreadStatus: messageThreadStatusSchema,
|
|
5439
|
+
MessageThreadSubjectType: messageThreadSubjectTypeSchema,
|
|
5363
5440
|
MetaCallToAction: metaCallToActionSchema,
|
|
5364
5441
|
MetaChannel: metaChannelSchema,
|
|
5365
5442
|
MetaInsightsDatePreset: metaInsightsDatePresetSchema,
|
|
@@ -5370,6 +5447,7 @@ const schemas = {
|
|
|
5370
5447
|
OrderStatus: orderStatusSchema,
|
|
5371
5448
|
Orientation: orientationSchema,
|
|
5372
5449
|
ParticipantStatus: participantStatusSchema,
|
|
5450
|
+
PartyGender: partyGenderSchema,
|
|
5373
5451
|
PartyType: partyTypeSchema,
|
|
5374
5452
|
PatchArticleFeatureImageBody: patchArticleFeatureImageBodySchema,
|
|
5375
5453
|
PaxBand: paxBandSchema,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "order3000",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "order3000 node.js sdk",
|
|
5
5
|
"main": "./dist/client.cjs",
|
|
6
6
|
"module": "./dist/client.mjs",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@supabase/supabase-js": "^2.49.8",
|
|
53
53
|
"react-type-animation": "^3.2.0",
|
|
54
54
|
"zod": "^4.2.1",
|
|
55
|
-
"@kolaveri/money": "1.
|
|
55
|
+
"@kolaveri/money": "1.3.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@kubb/cli": "4.37.5",
|
|
@@ -67,9 +67,9 @@
|
|
|
67
67
|
"prettier": "^3.7.4",
|
|
68
68
|
"tsx": "^4.19.2",
|
|
69
69
|
"typescript": "^5.9.3",
|
|
70
|
-
"@kolaveri/eslint-config": "1.15.0",
|
|
71
70
|
"@kolaveri/prettier-config": "1.0.6",
|
|
72
|
-
"@kolaveri/tsconfig": "1.0.1"
|
|
71
|
+
"@kolaveri/tsconfig": "1.0.1",
|
|
72
|
+
"@kolaveri/eslint-config": "1.16.0"
|
|
73
73
|
},
|
|
74
74
|
"files": [
|
|
75
75
|
"dist"
|