order3000 2.2.0 → 2.2.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-hOWwvbI6.d.cts → index-B7V1wOj_.d.cts} +116 -8
- package/dist/{index-hOWwvbI6.d.mts → index-B7V1wOj_.d.mts} +116 -8
- package/dist/menu.d.cts +1 -1
- package/dist/menu.d.mts +1 -1
- package/dist/schemas.cjs +156 -12
- package/dist/schemas.d.cts +17 -16
- package/dist/schemas.d.mts +17 -16
- package/dist/schemas.mjs +156 -12
- package/package.json +3 -3
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-B7V1wOj_.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-B7V1wOj_.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-B7V1wOj_.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-B7V1wOj_.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';
|
|
@@ -2184,6 +2184,7 @@ interface components {
|
|
|
2184
2184
|
createdAt: unknown;
|
|
2185
2185
|
createdBy: string | null;
|
|
2186
2186
|
venueId: string;
|
|
2187
|
+
ritualId: string | null;
|
|
2187
2188
|
deliveryThresholdAmount: number | null;
|
|
2188
2189
|
deliveryThresholdQuantity: number | null;
|
|
2189
2190
|
assets: {
|
|
@@ -2208,10 +2209,14 @@ interface components {
|
|
|
2208
2209
|
contentType: string;
|
|
2209
2210
|
sizeBytes: number;
|
|
2210
2211
|
caption: {
|
|
2211
|
-
[key: string]:
|
|
2212
|
+
[key: string]: {
|
|
2213
|
+
[key: string]: unknown;
|
|
2214
|
+
};
|
|
2212
2215
|
};
|
|
2213
2216
|
alt: {
|
|
2214
|
-
[key: string]:
|
|
2217
|
+
[key: string]: {
|
|
2218
|
+
[key: string]: unknown;
|
|
2219
|
+
};
|
|
2215
2220
|
};
|
|
2216
2221
|
cropArea: {
|
|
2217
2222
|
x: number;
|
|
@@ -2275,10 +2280,14 @@ interface components {
|
|
|
2275
2280
|
contentType: string;
|
|
2276
2281
|
sizeBytes: number;
|
|
2277
2282
|
caption: {
|
|
2278
|
-
[key: string]:
|
|
2283
|
+
[key: string]: {
|
|
2284
|
+
[key: string]: unknown;
|
|
2285
|
+
};
|
|
2279
2286
|
};
|
|
2280
2287
|
alt: {
|
|
2281
|
-
[key: string]:
|
|
2288
|
+
[key: string]: {
|
|
2289
|
+
[key: string]: unknown;
|
|
2290
|
+
};
|
|
2282
2291
|
};
|
|
2283
2292
|
cropArea: {
|
|
2284
2293
|
x: number;
|
|
@@ -2340,10 +2349,14 @@ interface components {
|
|
|
2340
2349
|
contentType: string;
|
|
2341
2350
|
sizeBytes: number;
|
|
2342
2351
|
caption: {
|
|
2343
|
-
[key: string]:
|
|
2352
|
+
[key: string]: {
|
|
2353
|
+
[key: string]: unknown;
|
|
2354
|
+
};
|
|
2344
2355
|
};
|
|
2345
2356
|
alt: {
|
|
2346
|
-
[key: string]:
|
|
2357
|
+
[key: string]: {
|
|
2358
|
+
[key: string]: unknown;
|
|
2359
|
+
};
|
|
2347
2360
|
};
|
|
2348
2361
|
cropArea: {
|
|
2349
2362
|
x: number;
|
|
@@ -3039,7 +3052,102 @@ interface components {
|
|
|
3039
3052
|
archivedBy: string | null;
|
|
3040
3053
|
covers: number;
|
|
3041
3054
|
}[];
|
|
3042
|
-
schedule:
|
|
3055
|
+
schedule: {
|
|
3056
|
+
id: string;
|
|
3057
|
+
name: (string | number | boolean | (null)) | {
|
|
3058
|
+
[key: string]: unknown;
|
|
3059
|
+
} | unknown[];
|
|
3060
|
+
description: ((string | number | boolean | (null)) | {
|
|
3061
|
+
[key: string]: unknown;
|
|
3062
|
+
} | unknown[]) | null;
|
|
3063
|
+
timezone: string;
|
|
3064
|
+
rrule: string | null;
|
|
3065
|
+
exdates: string[] | null;
|
|
3066
|
+
validFrom: string | null;
|
|
3067
|
+
validTo: string | null;
|
|
3068
|
+
slotMode: components["schemas"]["SlotMode"];
|
|
3069
|
+
intervalDuration: number | null;
|
|
3070
|
+
duration: number | null;
|
|
3071
|
+
isActive: boolean;
|
|
3072
|
+
sortIndex: string | null;
|
|
3073
|
+
updatedAt: unknown;
|
|
3074
|
+
updatedBy: string | null;
|
|
3075
|
+
createdAt: unknown;
|
|
3076
|
+
createdBy: string | null;
|
|
3077
|
+
scheduleTimeSlots: {
|
|
3078
|
+
id: string;
|
|
3079
|
+
scheduleId: string;
|
|
3080
|
+
timeSlotId: string;
|
|
3081
|
+
dayOfWeek: components["schemas"]["DayOfWeek"];
|
|
3082
|
+
sortIndex: string | null;
|
|
3083
|
+
timeSlot: {
|
|
3084
|
+
id: string;
|
|
3085
|
+
startTime: string;
|
|
3086
|
+
endTime: string | null;
|
|
3087
|
+
channel: components["schemas"]["BookingChannel"];
|
|
3088
|
+
isActive: boolean | null;
|
|
3089
|
+
isSchedulable: boolean | null;
|
|
3090
|
+
maxBookings: number | null;
|
|
3091
|
+
maxGuests: number | null;
|
|
3092
|
+
overflowBookings: number | null;
|
|
3093
|
+
overflowGuests: number | null;
|
|
3094
|
+
sortIndex: string | null;
|
|
3095
|
+
updatedAt: unknown;
|
|
3096
|
+
updatedBy: string | null;
|
|
3097
|
+
createdAt: unknown;
|
|
3098
|
+
createdBy: string | null;
|
|
3099
|
+
} | null;
|
|
3100
|
+
}[];
|
|
3101
|
+
scheduleOverrides: {
|
|
3102
|
+
id: string;
|
|
3103
|
+
scheduleId: string;
|
|
3104
|
+
date: string;
|
|
3105
|
+
reason: ((string | number | boolean | (null)) | {
|
|
3106
|
+
[key: string]: unknown;
|
|
3107
|
+
} | unknown[]) | null;
|
|
3108
|
+
isActive: boolean;
|
|
3109
|
+
updatedAt: unknown;
|
|
3110
|
+
updatedBy: string | null;
|
|
3111
|
+
createdAt: unknown;
|
|
3112
|
+
createdBy: string | null;
|
|
3113
|
+
scheduleOverrideTimeSlots: {
|
|
3114
|
+
overrideId: string;
|
|
3115
|
+
timeSlotId: string;
|
|
3116
|
+
sortIndex: string | null;
|
|
3117
|
+
timeSlot: {
|
|
3118
|
+
id: string;
|
|
3119
|
+
startTime: string;
|
|
3120
|
+
endTime: string | null;
|
|
3121
|
+
channel: components["schemas"]["BookingChannel"];
|
|
3122
|
+
isActive: boolean | null;
|
|
3123
|
+
isSchedulable: boolean | null;
|
|
3124
|
+
maxBookings: number | null;
|
|
3125
|
+
maxGuests: number | null;
|
|
3126
|
+
overflowBookings: number | null;
|
|
3127
|
+
overflowGuests: number | null;
|
|
3128
|
+
sortIndex: string | null;
|
|
3129
|
+
updatedAt: unknown;
|
|
3130
|
+
updatedBy: string | null;
|
|
3131
|
+
createdAt: unknown;
|
|
3132
|
+
createdBy: string | null;
|
|
3133
|
+
};
|
|
3134
|
+
}[];
|
|
3135
|
+
}[];
|
|
3136
|
+
scheduleSlotPolicies: {
|
|
3137
|
+
id: string;
|
|
3138
|
+
scheduleId: string;
|
|
3139
|
+
channel: components["schemas"]["BookingChannel"];
|
|
3140
|
+
slotMode: components["schemas"]["SlotMode"];
|
|
3141
|
+
intervalDuration: number | null;
|
|
3142
|
+
duration: number | null;
|
|
3143
|
+
bookingOpensAtDays: number | null;
|
|
3144
|
+
bookingClosesAtOffset: number | null;
|
|
3145
|
+
updatedAt: unknown;
|
|
3146
|
+
updatedBy: string | null;
|
|
3147
|
+
createdAt: unknown;
|
|
3148
|
+
createdBy: string | null;
|
|
3149
|
+
}[];
|
|
3150
|
+
} | null;
|
|
3043
3151
|
};
|
|
3044
3152
|
/** GetSubscriptionResponse */
|
|
3045
3153
|
GetSubscriptionResponse: {
|
|
@@ -3753,7 +3861,7 @@ interface components {
|
|
|
3753
3861
|
/** @enum {string} */
|
|
3754
3862
|
BillingMode: "single_anchor" | "split";
|
|
3755
3863
|
/** @enum {string} */
|
|
3756
|
-
|
|
3864
|
+
ChargeType: "base" | "addon";
|
|
3757
3865
|
/** @enum {string} */
|
|
3758
3866
|
ChatChannelType: "team" | "direct" | "subject" | "external";
|
|
3759
3867
|
/** @enum {string} */
|
|
@@ -2184,6 +2184,7 @@ interface components {
|
|
|
2184
2184
|
createdAt: unknown;
|
|
2185
2185
|
createdBy: string | null;
|
|
2186
2186
|
venueId: string;
|
|
2187
|
+
ritualId: string | null;
|
|
2187
2188
|
deliveryThresholdAmount: number | null;
|
|
2188
2189
|
deliveryThresholdQuantity: number | null;
|
|
2189
2190
|
assets: {
|
|
@@ -2208,10 +2209,14 @@ interface components {
|
|
|
2208
2209
|
contentType: string;
|
|
2209
2210
|
sizeBytes: number;
|
|
2210
2211
|
caption: {
|
|
2211
|
-
[key: string]:
|
|
2212
|
+
[key: string]: {
|
|
2213
|
+
[key: string]: unknown;
|
|
2214
|
+
};
|
|
2212
2215
|
};
|
|
2213
2216
|
alt: {
|
|
2214
|
-
[key: string]:
|
|
2217
|
+
[key: string]: {
|
|
2218
|
+
[key: string]: unknown;
|
|
2219
|
+
};
|
|
2215
2220
|
};
|
|
2216
2221
|
cropArea: {
|
|
2217
2222
|
x: number;
|
|
@@ -2275,10 +2280,14 @@ interface components {
|
|
|
2275
2280
|
contentType: string;
|
|
2276
2281
|
sizeBytes: number;
|
|
2277
2282
|
caption: {
|
|
2278
|
-
[key: string]:
|
|
2283
|
+
[key: string]: {
|
|
2284
|
+
[key: string]: unknown;
|
|
2285
|
+
};
|
|
2279
2286
|
};
|
|
2280
2287
|
alt: {
|
|
2281
|
-
[key: string]:
|
|
2288
|
+
[key: string]: {
|
|
2289
|
+
[key: string]: unknown;
|
|
2290
|
+
};
|
|
2282
2291
|
};
|
|
2283
2292
|
cropArea: {
|
|
2284
2293
|
x: number;
|
|
@@ -2340,10 +2349,14 @@ interface components {
|
|
|
2340
2349
|
contentType: string;
|
|
2341
2350
|
sizeBytes: number;
|
|
2342
2351
|
caption: {
|
|
2343
|
-
[key: string]:
|
|
2352
|
+
[key: string]: {
|
|
2353
|
+
[key: string]: unknown;
|
|
2354
|
+
};
|
|
2344
2355
|
};
|
|
2345
2356
|
alt: {
|
|
2346
|
-
[key: string]:
|
|
2357
|
+
[key: string]: {
|
|
2358
|
+
[key: string]: unknown;
|
|
2359
|
+
};
|
|
2347
2360
|
};
|
|
2348
2361
|
cropArea: {
|
|
2349
2362
|
x: number;
|
|
@@ -3039,7 +3052,102 @@ interface components {
|
|
|
3039
3052
|
archivedBy: string | null;
|
|
3040
3053
|
covers: number;
|
|
3041
3054
|
}[];
|
|
3042
|
-
schedule:
|
|
3055
|
+
schedule: {
|
|
3056
|
+
id: string;
|
|
3057
|
+
name: (string | number | boolean | (null)) | {
|
|
3058
|
+
[key: string]: unknown;
|
|
3059
|
+
} | unknown[];
|
|
3060
|
+
description: ((string | number | boolean | (null)) | {
|
|
3061
|
+
[key: string]: unknown;
|
|
3062
|
+
} | unknown[]) | null;
|
|
3063
|
+
timezone: string;
|
|
3064
|
+
rrule: string | null;
|
|
3065
|
+
exdates: string[] | null;
|
|
3066
|
+
validFrom: string | null;
|
|
3067
|
+
validTo: string | null;
|
|
3068
|
+
slotMode: components["schemas"]["SlotMode"];
|
|
3069
|
+
intervalDuration: number | null;
|
|
3070
|
+
duration: number | null;
|
|
3071
|
+
isActive: boolean;
|
|
3072
|
+
sortIndex: string | null;
|
|
3073
|
+
updatedAt: unknown;
|
|
3074
|
+
updatedBy: string | null;
|
|
3075
|
+
createdAt: unknown;
|
|
3076
|
+
createdBy: string | null;
|
|
3077
|
+
scheduleTimeSlots: {
|
|
3078
|
+
id: string;
|
|
3079
|
+
scheduleId: string;
|
|
3080
|
+
timeSlotId: string;
|
|
3081
|
+
dayOfWeek: components["schemas"]["DayOfWeek"];
|
|
3082
|
+
sortIndex: string | null;
|
|
3083
|
+
timeSlot: {
|
|
3084
|
+
id: string;
|
|
3085
|
+
startTime: string;
|
|
3086
|
+
endTime: string | null;
|
|
3087
|
+
channel: components["schemas"]["BookingChannel"];
|
|
3088
|
+
isActive: boolean | null;
|
|
3089
|
+
isSchedulable: boolean | null;
|
|
3090
|
+
maxBookings: number | null;
|
|
3091
|
+
maxGuests: number | null;
|
|
3092
|
+
overflowBookings: number | null;
|
|
3093
|
+
overflowGuests: number | null;
|
|
3094
|
+
sortIndex: string | null;
|
|
3095
|
+
updatedAt: unknown;
|
|
3096
|
+
updatedBy: string | null;
|
|
3097
|
+
createdAt: unknown;
|
|
3098
|
+
createdBy: string | null;
|
|
3099
|
+
} | null;
|
|
3100
|
+
}[];
|
|
3101
|
+
scheduleOverrides: {
|
|
3102
|
+
id: string;
|
|
3103
|
+
scheduleId: string;
|
|
3104
|
+
date: string;
|
|
3105
|
+
reason: ((string | number | boolean | (null)) | {
|
|
3106
|
+
[key: string]: unknown;
|
|
3107
|
+
} | unknown[]) | null;
|
|
3108
|
+
isActive: boolean;
|
|
3109
|
+
updatedAt: unknown;
|
|
3110
|
+
updatedBy: string | null;
|
|
3111
|
+
createdAt: unknown;
|
|
3112
|
+
createdBy: string | null;
|
|
3113
|
+
scheduleOverrideTimeSlots: {
|
|
3114
|
+
overrideId: string;
|
|
3115
|
+
timeSlotId: string;
|
|
3116
|
+
sortIndex: string | null;
|
|
3117
|
+
timeSlot: {
|
|
3118
|
+
id: string;
|
|
3119
|
+
startTime: string;
|
|
3120
|
+
endTime: string | null;
|
|
3121
|
+
channel: components["schemas"]["BookingChannel"];
|
|
3122
|
+
isActive: boolean | null;
|
|
3123
|
+
isSchedulable: boolean | null;
|
|
3124
|
+
maxBookings: number | null;
|
|
3125
|
+
maxGuests: number | null;
|
|
3126
|
+
overflowBookings: number | null;
|
|
3127
|
+
overflowGuests: number | null;
|
|
3128
|
+
sortIndex: string | null;
|
|
3129
|
+
updatedAt: unknown;
|
|
3130
|
+
updatedBy: string | null;
|
|
3131
|
+
createdAt: unknown;
|
|
3132
|
+
createdBy: string | null;
|
|
3133
|
+
};
|
|
3134
|
+
}[];
|
|
3135
|
+
}[];
|
|
3136
|
+
scheduleSlotPolicies: {
|
|
3137
|
+
id: string;
|
|
3138
|
+
scheduleId: string;
|
|
3139
|
+
channel: components["schemas"]["BookingChannel"];
|
|
3140
|
+
slotMode: components["schemas"]["SlotMode"];
|
|
3141
|
+
intervalDuration: number | null;
|
|
3142
|
+
duration: number | null;
|
|
3143
|
+
bookingOpensAtDays: number | null;
|
|
3144
|
+
bookingClosesAtOffset: number | null;
|
|
3145
|
+
updatedAt: unknown;
|
|
3146
|
+
updatedBy: string | null;
|
|
3147
|
+
createdAt: unknown;
|
|
3148
|
+
createdBy: string | null;
|
|
3149
|
+
}[];
|
|
3150
|
+
} | null;
|
|
3043
3151
|
};
|
|
3044
3152
|
/** GetSubscriptionResponse */
|
|
3045
3153
|
GetSubscriptionResponse: {
|
|
@@ -3753,7 +3861,7 @@ interface components {
|
|
|
3753
3861
|
/** @enum {string} */
|
|
3754
3862
|
BillingMode: "single_anchor" | "split";
|
|
3755
3863
|
/** @enum {string} */
|
|
3756
|
-
|
|
3864
|
+
ChargeType: "base" | "addon";
|
|
3757
3865
|
/** @enum {string} */
|
|
3758
3866
|
ChatChannelType: "team" | "direct" | "subject" | "external";
|
|
3759
3867
|
/** @enum {string} */
|
package/dist/menu.d.cts
CHANGED
package/dist/menu.d.mts
CHANGED
package/dist/schemas.cjs
CHANGED
|
@@ -413,6 +413,8 @@ const cancellationReasonSchema = v4.z.enum([
|
|
|
413
413
|
"restaurant_request"
|
|
414
414
|
]);
|
|
415
415
|
|
|
416
|
+
const chargeTypeSchema = v4.z.enum(["base", "addon"]);
|
|
417
|
+
|
|
416
418
|
const chatChannelTypeSchema = v4.z.enum([
|
|
417
419
|
"team",
|
|
418
420
|
"direct",
|
|
@@ -3207,6 +3209,7 @@ const fetchMenuResponseSchema = v4.z.object({
|
|
|
3207
3209
|
createdAt: v4.z.nullable(v4.z.any()),
|
|
3208
3210
|
createdBy: v4.z.nullable(v4.z.string()),
|
|
3209
3211
|
venueId: v4.z.string(),
|
|
3212
|
+
ritualId: v4.z.nullable(v4.z.string()),
|
|
3210
3213
|
deliveryThresholdAmount: v4.z.nullable(v4.z.number()),
|
|
3211
3214
|
deliveryThresholdQuantity: v4.z.nullable(v4.z.number()),
|
|
3212
3215
|
assets: v4.z.array(
|
|
@@ -3235,8 +3238,8 @@ const fetchMenuResponseSchema = v4.z.object({
|
|
|
3235
3238
|
filename: v4.z.string(),
|
|
3236
3239
|
contentType: v4.z.string(),
|
|
3237
3240
|
sizeBytes: v4.z.number(),
|
|
3238
|
-
caption: v4.z.object({}).catchall(v4.z.any()),
|
|
3239
|
-
alt: v4.z.object({}).catchall(v4.z.any()),
|
|
3241
|
+
caption: v4.z.object({}).catchall(v4.z.object({}).catchall(v4.z.any())),
|
|
3242
|
+
alt: v4.z.object({}).catchall(v4.z.object({}).catchall(v4.z.any())),
|
|
3240
3243
|
cropArea: v4.z.nullable(
|
|
3241
3244
|
v4.z.object({
|
|
3242
3245
|
x: v4.z.number(),
|
|
@@ -3310,8 +3313,8 @@ const fetchMenuResponseSchema = v4.z.object({
|
|
|
3310
3313
|
filename: v4.z.string(),
|
|
3311
3314
|
contentType: v4.z.string(),
|
|
3312
3315
|
sizeBytes: v4.z.number(),
|
|
3313
|
-
caption: v4.z.object({}).catchall(v4.z.any()),
|
|
3314
|
-
alt: v4.z.object({}).catchall(v4.z.any()),
|
|
3316
|
+
caption: v4.z.object({}).catchall(v4.z.object({}).catchall(v4.z.any())),
|
|
3317
|
+
alt: v4.z.object({}).catchall(v4.z.object({}).catchall(v4.z.any())),
|
|
3315
3318
|
cropArea: v4.z.nullable(
|
|
3316
3319
|
v4.z.object({
|
|
3317
3320
|
x: v4.z.number(),
|
|
@@ -3377,8 +3380,8 @@ const fetchMenuResponseSchema = v4.z.object({
|
|
|
3377
3380
|
filename: v4.z.string(),
|
|
3378
3381
|
contentType: v4.z.string(),
|
|
3379
3382
|
sizeBytes: v4.z.number(),
|
|
3380
|
-
caption: v4.z.object({}).catchall(v4.z.any()),
|
|
3381
|
-
alt: v4.z.object({}).catchall(v4.z.any()),
|
|
3383
|
+
caption: v4.z.object({}).catchall(v4.z.object({}).catchall(v4.z.any())),
|
|
3384
|
+
alt: v4.z.object({}).catchall(v4.z.object({}).catchall(v4.z.any())),
|
|
3382
3385
|
cropArea: v4.z.nullable(
|
|
3383
3386
|
v4.z.object({
|
|
3384
3387
|
x: v4.z.number(),
|
|
@@ -3615,9 +3618,152 @@ const fetchRitualResponseSchema = v4.z.object({
|
|
|
3615
3618
|
covers: v4.z.number()
|
|
3616
3619
|
})
|
|
3617
3620
|
),
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
+
schedule: v4.z.nullable(
|
|
3622
|
+
v4.z.object({
|
|
3623
|
+
id: v4.z.string(),
|
|
3624
|
+
name: v4.z.union([
|
|
3625
|
+
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
3626
|
+
v4.z.array(v4.z.any()),
|
|
3627
|
+
v4.z.object({}).catchall(v4.z.any())
|
|
3628
|
+
]),
|
|
3629
|
+
description: v4.z.nullable(
|
|
3630
|
+
v4.z.union([
|
|
3631
|
+
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
3632
|
+
v4.z.array(v4.z.any()),
|
|
3633
|
+
v4.z.object({}).catchall(v4.z.any())
|
|
3634
|
+
])
|
|
3635
|
+
),
|
|
3636
|
+
timezone: v4.z.string(),
|
|
3637
|
+
rrule: v4.z.nullable(v4.z.string()),
|
|
3638
|
+
exdates: v4.z.nullable(v4.z.array(v4.z.string())),
|
|
3639
|
+
validFrom: v4.z.nullable(v4.z.string()),
|
|
3640
|
+
validTo: v4.z.nullable(v4.z.string()),
|
|
3641
|
+
get slotMode() {
|
|
3642
|
+
return slotModeSchema;
|
|
3643
|
+
},
|
|
3644
|
+
intervalDuration: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
3645
|
+
duration: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
3646
|
+
isActive: v4.z.boolean(),
|
|
3647
|
+
sortIndex: v4.z.nullable(v4.z.string().max(255)),
|
|
3648
|
+
updatedAt: v4.z.nullable(v4.z.any()),
|
|
3649
|
+
updatedBy: v4.z.nullable(v4.z.string()),
|
|
3650
|
+
createdAt: v4.z.nullable(v4.z.any()),
|
|
3651
|
+
createdBy: v4.z.nullable(v4.z.string()),
|
|
3652
|
+
scheduleTimeSlots: v4.z.array(
|
|
3653
|
+
v4.z.object({
|
|
3654
|
+
id: v4.z.string(),
|
|
3655
|
+
scheduleId: v4.z.string(),
|
|
3656
|
+
timeSlotId: v4.z.string(),
|
|
3657
|
+
get dayOfWeek() {
|
|
3658
|
+
return dayOfWeekSchema;
|
|
3659
|
+
},
|
|
3660
|
+
sortIndex: v4.z.nullable(v4.z.string().max(255)),
|
|
3661
|
+
timeSlot: v4.z.nullable(
|
|
3662
|
+
v4.z.object({
|
|
3663
|
+
id: v4.z.string(),
|
|
3664
|
+
startTime: v4.z.string(),
|
|
3665
|
+
endTime: v4.z.nullable(v4.z.string()),
|
|
3666
|
+
get channel() {
|
|
3667
|
+
return bookingChannelSchema;
|
|
3668
|
+
},
|
|
3669
|
+
isActive: v4.z.nullable(v4.z.boolean()),
|
|
3670
|
+
isSchedulable: v4.z.nullable(v4.z.boolean()),
|
|
3671
|
+
maxBookings: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
3672
|
+
maxGuests: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
3673
|
+
overflowBookings: v4.z.nullable(
|
|
3674
|
+
v4.z.int().min(-2147483648).max(2147483647)
|
|
3675
|
+
),
|
|
3676
|
+
overflowGuests: v4.z.nullable(
|
|
3677
|
+
v4.z.int().min(-2147483648).max(2147483647)
|
|
3678
|
+
),
|
|
3679
|
+
sortIndex: v4.z.nullable(v4.z.string().max(255)),
|
|
3680
|
+
updatedAt: v4.z.nullable(v4.z.any()),
|
|
3681
|
+
updatedBy: v4.z.nullable(v4.z.string()),
|
|
3682
|
+
createdAt: v4.z.nullable(v4.z.any()),
|
|
3683
|
+
createdBy: v4.z.nullable(v4.z.string())
|
|
3684
|
+
})
|
|
3685
|
+
)
|
|
3686
|
+
})
|
|
3687
|
+
),
|
|
3688
|
+
scheduleOverrides: v4.z.array(
|
|
3689
|
+
v4.z.object({
|
|
3690
|
+
id: v4.z.string(),
|
|
3691
|
+
scheduleId: v4.z.string(),
|
|
3692
|
+
date: v4.z.string(),
|
|
3693
|
+
reason: v4.z.nullable(
|
|
3694
|
+
v4.z.union([
|
|
3695
|
+
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
3696
|
+
v4.z.array(v4.z.any()),
|
|
3697
|
+
v4.z.object({}).catchall(v4.z.any())
|
|
3698
|
+
])
|
|
3699
|
+
),
|
|
3700
|
+
isActive: v4.z.boolean(),
|
|
3701
|
+
updatedAt: v4.z.nullable(v4.z.any()),
|
|
3702
|
+
updatedBy: v4.z.nullable(v4.z.string()),
|
|
3703
|
+
createdAt: v4.z.nullable(v4.z.any()),
|
|
3704
|
+
createdBy: v4.z.nullable(v4.z.string()),
|
|
3705
|
+
scheduleOverrideTimeSlots: v4.z.array(
|
|
3706
|
+
v4.z.object({
|
|
3707
|
+
overrideId: v4.z.string(),
|
|
3708
|
+
timeSlotId: v4.z.string(),
|
|
3709
|
+
sortIndex: v4.z.nullable(v4.z.string().max(255)),
|
|
3710
|
+
timeSlot: v4.z.object({
|
|
3711
|
+
id: v4.z.string(),
|
|
3712
|
+
startTime: v4.z.string(),
|
|
3713
|
+
endTime: v4.z.nullable(v4.z.string()),
|
|
3714
|
+
get channel() {
|
|
3715
|
+
return bookingChannelSchema;
|
|
3716
|
+
},
|
|
3717
|
+
isActive: v4.z.nullable(v4.z.boolean()),
|
|
3718
|
+
isSchedulable: v4.z.nullable(v4.z.boolean()),
|
|
3719
|
+
maxBookings: v4.z.nullable(
|
|
3720
|
+
v4.z.int().min(-2147483648).max(2147483647)
|
|
3721
|
+
),
|
|
3722
|
+
maxGuests: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
3723
|
+
overflowBookings: v4.z.nullable(
|
|
3724
|
+
v4.z.int().min(-2147483648).max(2147483647)
|
|
3725
|
+
),
|
|
3726
|
+
overflowGuests: v4.z.nullable(
|
|
3727
|
+
v4.z.int().min(-2147483648).max(2147483647)
|
|
3728
|
+
),
|
|
3729
|
+
sortIndex: v4.z.nullable(v4.z.string().max(255)),
|
|
3730
|
+
updatedAt: v4.z.nullable(v4.z.any()),
|
|
3731
|
+
updatedBy: v4.z.nullable(v4.z.string()),
|
|
3732
|
+
createdAt: v4.z.nullable(v4.z.any()),
|
|
3733
|
+
createdBy: v4.z.nullable(v4.z.string())
|
|
3734
|
+
})
|
|
3735
|
+
})
|
|
3736
|
+
)
|
|
3737
|
+
})
|
|
3738
|
+
),
|
|
3739
|
+
scheduleSlotPolicies: v4.z.array(
|
|
3740
|
+
v4.z.object({
|
|
3741
|
+
id: v4.z.string(),
|
|
3742
|
+
scheduleId: v4.z.string(),
|
|
3743
|
+
get channel() {
|
|
3744
|
+
return bookingChannelSchema;
|
|
3745
|
+
},
|
|
3746
|
+
get slotMode() {
|
|
3747
|
+
return slotModeSchema;
|
|
3748
|
+
},
|
|
3749
|
+
intervalDuration: v4.z.nullable(
|
|
3750
|
+
v4.z.int().min(-2147483648).max(2147483647)
|
|
3751
|
+
),
|
|
3752
|
+
duration: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
3753
|
+
bookingOpensAtDays: v4.z.nullable(
|
|
3754
|
+
v4.z.int().min(-2147483648).max(2147483647)
|
|
3755
|
+
),
|
|
3756
|
+
bookingClosesAtOffset: v4.z.nullable(
|
|
3757
|
+
v4.z.int().min(-2147483648).max(2147483647)
|
|
3758
|
+
),
|
|
3759
|
+
updatedAt: v4.z.nullable(v4.z.any()),
|
|
3760
|
+
updatedBy: v4.z.nullable(v4.z.string()),
|
|
3761
|
+
createdAt: v4.z.nullable(v4.z.any()),
|
|
3762
|
+
createdBy: v4.z.nullable(v4.z.string())
|
|
3763
|
+
})
|
|
3764
|
+
)
|
|
3765
|
+
})
|
|
3766
|
+
)
|
|
3621
3767
|
});
|
|
3622
3768
|
|
|
3623
3769
|
const occupancyReasonSchema = v4.z.enum([
|
|
@@ -5509,8 +5655,6 @@ const venueAssetTypeSchema = v4.z.enum([
|
|
|
5509
5655
|
"icon"
|
|
5510
5656
|
]);
|
|
5511
5657
|
|
|
5512
|
-
const venueChargeTypeSchema = v4.z.enum(["base", "addon"]);
|
|
5513
|
-
|
|
5514
5658
|
const venueEmailSenderStatusSchema = v4.z.enum([
|
|
5515
5659
|
"pending",
|
|
5516
5660
|
"verified",
|
|
@@ -5581,6 +5725,7 @@ const schemas = {
|
|
|
5581
5725
|
CancelTeamOrderRequest: cancelTeamOrderRequestSchema,
|
|
5582
5726
|
CancelTeamOrderResponse: cancelTeamOrderResponseSchema,
|
|
5583
5727
|
CancellationReason: cancellationReasonSchema,
|
|
5728
|
+
ChargeType: chargeTypeSchema,
|
|
5584
5729
|
ChatChannelType: chatChannelTypeSchema,
|
|
5585
5730
|
ChatMemberRole: chatMemberRoleSchema,
|
|
5586
5731
|
ComposeMenuPublicationBookletRequest: composeMenuPublicationBookletRequestSchema,
|
|
@@ -5833,7 +5978,6 @@ const schemas = {
|
|
|
5833
5978
|
UploadAssetResponse: uploadAssetResponseSchema,
|
|
5834
5979
|
Variant: variantSchema,
|
|
5835
5980
|
VenueAssetType: venueAssetTypeSchema,
|
|
5836
|
-
VenueChargeType: venueChargeTypeSchema,
|
|
5837
5981
|
VenueEmailSenderStatus: venueEmailSenderStatusSchema,
|
|
5838
5982
|
VenueType: venueTypeSchema,
|
|
5839
5983
|
VenueUserStatus: venueUserStatusSchema,
|
package/dist/schemas.d.cts
CHANGED
|
@@ -391,6 +391,10 @@ declare const schemas: {
|
|
|
391
391
|
guest_request: "guest_request";
|
|
392
392
|
restaurant_request: "restaurant_request";
|
|
393
393
|
}>;
|
|
394
|
+
readonly ChargeType: zod.ZodEnum<{
|
|
395
|
+
base: "base";
|
|
396
|
+
addon: "addon";
|
|
397
|
+
}>;
|
|
394
398
|
readonly ChatChannelType: zod.ZodEnum<{
|
|
395
399
|
team: "team";
|
|
396
400
|
direct: "direct";
|
|
@@ -3317,6 +3321,7 @@ declare const schemas: {
|
|
|
3317
3321
|
createdAt: zod.ZodNullable<zod.ZodAny>;
|
|
3318
3322
|
createdBy: zod.ZodNullable<zod.ZodString>;
|
|
3319
3323
|
venueId: zod.ZodString;
|
|
3324
|
+
ritualId: zod.ZodNullable<zod.ZodString>;
|
|
3320
3325
|
deliveryThresholdAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
3321
3326
|
deliveryThresholdQuantity: zod.ZodNullable<zod.ZodNumber>;
|
|
3322
3327
|
assets: zod.ZodArray<zod.ZodObject<{
|
|
@@ -3344,8 +3349,8 @@ declare const schemas: {
|
|
|
3344
3349
|
filename: zod.ZodString;
|
|
3345
3350
|
contentType: zod.ZodString;
|
|
3346
3351
|
sizeBytes: zod.ZodNumber;
|
|
3347
|
-
caption: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny
|
|
3348
|
-
alt: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny
|
|
3352
|
+
caption: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>>>;
|
|
3353
|
+
alt: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>>>;
|
|
3349
3354
|
cropArea: zod.ZodNullable<zod.ZodObject<{
|
|
3350
3355
|
x: zod.ZodNumber;
|
|
3351
3356
|
y: zod.ZodNumber;
|
|
@@ -3417,8 +3422,8 @@ declare const schemas: {
|
|
|
3417
3422
|
filename: zod.ZodString;
|
|
3418
3423
|
contentType: zod.ZodString;
|
|
3419
3424
|
sizeBytes: zod.ZodNumber;
|
|
3420
|
-
caption: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny
|
|
3421
|
-
alt: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny
|
|
3425
|
+
caption: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>>>;
|
|
3426
|
+
alt: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>>>;
|
|
3422
3427
|
cropArea: zod.ZodNullable<zod.ZodObject<{
|
|
3423
3428
|
x: zod.ZodNumber;
|
|
3424
3429
|
y: zod.ZodNumber;
|
|
@@ -3470,8 +3475,8 @@ declare const schemas: {
|
|
|
3470
3475
|
filename: zod.ZodString;
|
|
3471
3476
|
contentType: zod.ZodString;
|
|
3472
3477
|
sizeBytes: zod.ZodNumber;
|
|
3473
|
-
caption: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny
|
|
3474
|
-
alt: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny
|
|
3478
|
+
caption: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>>>;
|
|
3479
|
+
alt: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>>>;
|
|
3475
3480
|
cropArea: zod.ZodNullable<zod.ZodObject<{
|
|
3476
3481
|
x: zod.ZodNumber;
|
|
3477
3482
|
y: zod.ZodNumber;
|
|
@@ -3644,7 +3649,7 @@ declare const schemas: {
|
|
|
3644
3649
|
updatedBy: zod.ZodNullable<zod.ZodString>;
|
|
3645
3650
|
createdAt: zod.ZodNullable<zod.ZodAny>;
|
|
3646
3651
|
createdBy: zod.ZodNullable<zod.ZodString>;
|
|
3647
|
-
scheduleTimeSlots: zod.
|
|
3652
|
+
scheduleTimeSlots: zod.ZodArray<zod.ZodObject<{
|
|
3648
3653
|
id: zod.ZodString;
|
|
3649
3654
|
scheduleId: zod.ZodString;
|
|
3650
3655
|
timeSlotId: zod.ZodString;
|
|
@@ -3678,8 +3683,8 @@ declare const schemas: {
|
|
|
3678
3683
|
createdAt: zod.ZodNullable<zod.ZodAny>;
|
|
3679
3684
|
createdBy: zod.ZodNullable<zod.ZodString>;
|
|
3680
3685
|
}, zod_v4_core.$strip>>;
|
|
3681
|
-
}, zod_v4_core.$strip
|
|
3682
|
-
scheduleOverrides: zod.
|
|
3686
|
+
}, zod_v4_core.$strip>>;
|
|
3687
|
+
scheduleOverrides: zod.ZodArray<zod.ZodObject<{
|
|
3683
3688
|
id: zod.ZodString;
|
|
3684
3689
|
scheduleId: zod.ZodString;
|
|
3685
3690
|
date: zod.ZodString;
|
|
@@ -3714,8 +3719,8 @@ declare const schemas: {
|
|
|
3714
3719
|
createdBy: zod.ZodNullable<zod.ZodString>;
|
|
3715
3720
|
}, zod_v4_core.$strip>;
|
|
3716
3721
|
}, zod_v4_core.$strip>>;
|
|
3717
|
-
}, zod_v4_core.$strip
|
|
3718
|
-
scheduleSlotPolicies: zod.
|
|
3722
|
+
}, zod_v4_core.$strip>>;
|
|
3723
|
+
scheduleSlotPolicies: zod.ZodArray<zod.ZodObject<{
|
|
3719
3724
|
id: zod.ZodString;
|
|
3720
3725
|
scheduleId: zod.ZodString;
|
|
3721
3726
|
channel: zod.ZodEnum<{
|
|
@@ -3734,7 +3739,7 @@ declare const schemas: {
|
|
|
3734
3739
|
updatedBy: zod.ZodNullable<zod.ZodString>;
|
|
3735
3740
|
createdAt: zod.ZodNullable<zod.ZodAny>;
|
|
3736
3741
|
createdBy: zod.ZodNullable<zod.ZodString>;
|
|
3737
|
-
}, zod_v4_core.$strip
|
|
3742
|
+
}, zod_v4_core.$strip>>;
|
|
3738
3743
|
}, zod_v4_core.$strip>>;
|
|
3739
3744
|
}, zod_v4_core.$strip>;
|
|
3740
3745
|
readonly FetchSlotAvailabilityResponse: zod.ZodArray<zod.ZodObject<{
|
|
@@ -6259,10 +6264,6 @@ declare const schemas: {
|
|
|
6259
6264
|
combinationmark_horizontal: "combinationmark_horizontal";
|
|
6260
6265
|
combinationmark_vertical: "combinationmark_vertical";
|
|
6261
6266
|
}>;
|
|
6262
|
-
readonly VenueChargeType: zod.ZodEnum<{
|
|
6263
|
-
base: "base";
|
|
6264
|
-
addon: "addon";
|
|
6265
|
-
}>;
|
|
6266
6267
|
readonly VenueEmailSenderStatus: zod.ZodEnum<{
|
|
6267
6268
|
pending: "pending";
|
|
6268
6269
|
verified: "verified";
|
package/dist/schemas.d.mts
CHANGED
|
@@ -391,6 +391,10 @@ declare const schemas: {
|
|
|
391
391
|
guest_request: "guest_request";
|
|
392
392
|
restaurant_request: "restaurant_request";
|
|
393
393
|
}>;
|
|
394
|
+
readonly ChargeType: zod.ZodEnum<{
|
|
395
|
+
base: "base";
|
|
396
|
+
addon: "addon";
|
|
397
|
+
}>;
|
|
394
398
|
readonly ChatChannelType: zod.ZodEnum<{
|
|
395
399
|
team: "team";
|
|
396
400
|
direct: "direct";
|
|
@@ -3317,6 +3321,7 @@ declare const schemas: {
|
|
|
3317
3321
|
createdAt: zod.ZodNullable<zod.ZodAny>;
|
|
3318
3322
|
createdBy: zod.ZodNullable<zod.ZodString>;
|
|
3319
3323
|
venueId: zod.ZodString;
|
|
3324
|
+
ritualId: zod.ZodNullable<zod.ZodString>;
|
|
3320
3325
|
deliveryThresholdAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
3321
3326
|
deliveryThresholdQuantity: zod.ZodNullable<zod.ZodNumber>;
|
|
3322
3327
|
assets: zod.ZodArray<zod.ZodObject<{
|
|
@@ -3344,8 +3349,8 @@ declare const schemas: {
|
|
|
3344
3349
|
filename: zod.ZodString;
|
|
3345
3350
|
contentType: zod.ZodString;
|
|
3346
3351
|
sizeBytes: zod.ZodNumber;
|
|
3347
|
-
caption: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny
|
|
3348
|
-
alt: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny
|
|
3352
|
+
caption: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>>>;
|
|
3353
|
+
alt: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>>>;
|
|
3349
3354
|
cropArea: zod.ZodNullable<zod.ZodObject<{
|
|
3350
3355
|
x: zod.ZodNumber;
|
|
3351
3356
|
y: zod.ZodNumber;
|
|
@@ -3417,8 +3422,8 @@ declare const schemas: {
|
|
|
3417
3422
|
filename: zod.ZodString;
|
|
3418
3423
|
contentType: zod.ZodString;
|
|
3419
3424
|
sizeBytes: zod.ZodNumber;
|
|
3420
|
-
caption: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny
|
|
3421
|
-
alt: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny
|
|
3425
|
+
caption: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>>>;
|
|
3426
|
+
alt: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>>>;
|
|
3422
3427
|
cropArea: zod.ZodNullable<zod.ZodObject<{
|
|
3423
3428
|
x: zod.ZodNumber;
|
|
3424
3429
|
y: zod.ZodNumber;
|
|
@@ -3470,8 +3475,8 @@ declare const schemas: {
|
|
|
3470
3475
|
filename: zod.ZodString;
|
|
3471
3476
|
contentType: zod.ZodString;
|
|
3472
3477
|
sizeBytes: zod.ZodNumber;
|
|
3473
|
-
caption: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny
|
|
3474
|
-
alt: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny
|
|
3478
|
+
caption: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>>>;
|
|
3479
|
+
alt: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>>>;
|
|
3475
3480
|
cropArea: zod.ZodNullable<zod.ZodObject<{
|
|
3476
3481
|
x: zod.ZodNumber;
|
|
3477
3482
|
y: zod.ZodNumber;
|
|
@@ -3644,7 +3649,7 @@ declare const schemas: {
|
|
|
3644
3649
|
updatedBy: zod.ZodNullable<zod.ZodString>;
|
|
3645
3650
|
createdAt: zod.ZodNullable<zod.ZodAny>;
|
|
3646
3651
|
createdBy: zod.ZodNullable<zod.ZodString>;
|
|
3647
|
-
scheduleTimeSlots: zod.
|
|
3652
|
+
scheduleTimeSlots: zod.ZodArray<zod.ZodObject<{
|
|
3648
3653
|
id: zod.ZodString;
|
|
3649
3654
|
scheduleId: zod.ZodString;
|
|
3650
3655
|
timeSlotId: zod.ZodString;
|
|
@@ -3678,8 +3683,8 @@ declare const schemas: {
|
|
|
3678
3683
|
createdAt: zod.ZodNullable<zod.ZodAny>;
|
|
3679
3684
|
createdBy: zod.ZodNullable<zod.ZodString>;
|
|
3680
3685
|
}, zod_v4_core.$strip>>;
|
|
3681
|
-
}, zod_v4_core.$strip
|
|
3682
|
-
scheduleOverrides: zod.
|
|
3686
|
+
}, zod_v4_core.$strip>>;
|
|
3687
|
+
scheduleOverrides: zod.ZodArray<zod.ZodObject<{
|
|
3683
3688
|
id: zod.ZodString;
|
|
3684
3689
|
scheduleId: zod.ZodString;
|
|
3685
3690
|
date: zod.ZodString;
|
|
@@ -3714,8 +3719,8 @@ declare const schemas: {
|
|
|
3714
3719
|
createdBy: zod.ZodNullable<zod.ZodString>;
|
|
3715
3720
|
}, zod_v4_core.$strip>;
|
|
3716
3721
|
}, zod_v4_core.$strip>>;
|
|
3717
|
-
}, zod_v4_core.$strip
|
|
3718
|
-
scheduleSlotPolicies: zod.
|
|
3722
|
+
}, zod_v4_core.$strip>>;
|
|
3723
|
+
scheduleSlotPolicies: zod.ZodArray<zod.ZodObject<{
|
|
3719
3724
|
id: zod.ZodString;
|
|
3720
3725
|
scheduleId: zod.ZodString;
|
|
3721
3726
|
channel: zod.ZodEnum<{
|
|
@@ -3734,7 +3739,7 @@ declare const schemas: {
|
|
|
3734
3739
|
updatedBy: zod.ZodNullable<zod.ZodString>;
|
|
3735
3740
|
createdAt: zod.ZodNullable<zod.ZodAny>;
|
|
3736
3741
|
createdBy: zod.ZodNullable<zod.ZodString>;
|
|
3737
|
-
}, zod_v4_core.$strip
|
|
3742
|
+
}, zod_v4_core.$strip>>;
|
|
3738
3743
|
}, zod_v4_core.$strip>>;
|
|
3739
3744
|
}, zod_v4_core.$strip>;
|
|
3740
3745
|
readonly FetchSlotAvailabilityResponse: zod.ZodArray<zod.ZodObject<{
|
|
@@ -6259,10 +6264,6 @@ declare const schemas: {
|
|
|
6259
6264
|
combinationmark_horizontal: "combinationmark_horizontal";
|
|
6260
6265
|
combinationmark_vertical: "combinationmark_vertical";
|
|
6261
6266
|
}>;
|
|
6262
|
-
readonly VenueChargeType: zod.ZodEnum<{
|
|
6263
|
-
base: "base";
|
|
6264
|
-
addon: "addon";
|
|
6265
|
-
}>;
|
|
6266
6267
|
readonly VenueEmailSenderStatus: zod.ZodEnum<{
|
|
6267
6268
|
pending: "pending";
|
|
6268
6269
|
verified: "verified";
|
package/dist/schemas.mjs
CHANGED
|
@@ -411,6 +411,8 @@ const cancellationReasonSchema = z.enum([
|
|
|
411
411
|
"restaurant_request"
|
|
412
412
|
]);
|
|
413
413
|
|
|
414
|
+
const chargeTypeSchema = z.enum(["base", "addon"]);
|
|
415
|
+
|
|
414
416
|
const chatChannelTypeSchema = z.enum([
|
|
415
417
|
"team",
|
|
416
418
|
"direct",
|
|
@@ -3205,6 +3207,7 @@ const fetchMenuResponseSchema = z.object({
|
|
|
3205
3207
|
createdAt: z.nullable(z.any()),
|
|
3206
3208
|
createdBy: z.nullable(z.string()),
|
|
3207
3209
|
venueId: z.string(),
|
|
3210
|
+
ritualId: z.nullable(z.string()),
|
|
3208
3211
|
deliveryThresholdAmount: z.nullable(z.number()),
|
|
3209
3212
|
deliveryThresholdQuantity: z.nullable(z.number()),
|
|
3210
3213
|
assets: z.array(
|
|
@@ -3233,8 +3236,8 @@ const fetchMenuResponseSchema = z.object({
|
|
|
3233
3236
|
filename: z.string(),
|
|
3234
3237
|
contentType: z.string(),
|
|
3235
3238
|
sizeBytes: z.number(),
|
|
3236
|
-
caption: z.object({}).catchall(z.any()),
|
|
3237
|
-
alt: z.object({}).catchall(z.any()),
|
|
3239
|
+
caption: z.object({}).catchall(z.object({}).catchall(z.any())),
|
|
3240
|
+
alt: z.object({}).catchall(z.object({}).catchall(z.any())),
|
|
3238
3241
|
cropArea: z.nullable(
|
|
3239
3242
|
z.object({
|
|
3240
3243
|
x: z.number(),
|
|
@@ -3308,8 +3311,8 @@ const fetchMenuResponseSchema = z.object({
|
|
|
3308
3311
|
filename: z.string(),
|
|
3309
3312
|
contentType: z.string(),
|
|
3310
3313
|
sizeBytes: z.number(),
|
|
3311
|
-
caption: z.object({}).catchall(z.any()),
|
|
3312
|
-
alt: z.object({}).catchall(z.any()),
|
|
3314
|
+
caption: z.object({}).catchall(z.object({}).catchall(z.any())),
|
|
3315
|
+
alt: z.object({}).catchall(z.object({}).catchall(z.any())),
|
|
3313
3316
|
cropArea: z.nullable(
|
|
3314
3317
|
z.object({
|
|
3315
3318
|
x: z.number(),
|
|
@@ -3375,8 +3378,8 @@ const fetchMenuResponseSchema = z.object({
|
|
|
3375
3378
|
filename: z.string(),
|
|
3376
3379
|
contentType: z.string(),
|
|
3377
3380
|
sizeBytes: z.number(),
|
|
3378
|
-
caption: z.object({}).catchall(z.any()),
|
|
3379
|
-
alt: z.object({}).catchall(z.any()),
|
|
3381
|
+
caption: z.object({}).catchall(z.object({}).catchall(z.any())),
|
|
3382
|
+
alt: z.object({}).catchall(z.object({}).catchall(z.any())),
|
|
3380
3383
|
cropArea: z.nullable(
|
|
3381
3384
|
z.object({
|
|
3382
3385
|
x: z.number(),
|
|
@@ -3613,9 +3616,152 @@ const fetchRitualResponseSchema = z.object({
|
|
|
3613
3616
|
covers: z.number()
|
|
3614
3617
|
})
|
|
3615
3618
|
),
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
+
schedule: z.nullable(
|
|
3620
|
+
z.object({
|
|
3621
|
+
id: z.string(),
|
|
3622
|
+
name: z.union([
|
|
3623
|
+
z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
|
|
3624
|
+
z.array(z.any()),
|
|
3625
|
+
z.object({}).catchall(z.any())
|
|
3626
|
+
]),
|
|
3627
|
+
description: z.nullable(
|
|
3628
|
+
z.union([
|
|
3629
|
+
z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
|
|
3630
|
+
z.array(z.any()),
|
|
3631
|
+
z.object({}).catchall(z.any())
|
|
3632
|
+
])
|
|
3633
|
+
),
|
|
3634
|
+
timezone: z.string(),
|
|
3635
|
+
rrule: z.nullable(z.string()),
|
|
3636
|
+
exdates: z.nullable(z.array(z.string())),
|
|
3637
|
+
validFrom: z.nullable(z.string()),
|
|
3638
|
+
validTo: z.nullable(z.string()),
|
|
3639
|
+
get slotMode() {
|
|
3640
|
+
return slotModeSchema;
|
|
3641
|
+
},
|
|
3642
|
+
intervalDuration: z.nullable(z.int().min(-2147483648).max(2147483647)),
|
|
3643
|
+
duration: z.nullable(z.int().min(-2147483648).max(2147483647)),
|
|
3644
|
+
isActive: z.boolean(),
|
|
3645
|
+
sortIndex: z.nullable(z.string().max(255)),
|
|
3646
|
+
updatedAt: z.nullable(z.any()),
|
|
3647
|
+
updatedBy: z.nullable(z.string()),
|
|
3648
|
+
createdAt: z.nullable(z.any()),
|
|
3649
|
+
createdBy: z.nullable(z.string()),
|
|
3650
|
+
scheduleTimeSlots: z.array(
|
|
3651
|
+
z.object({
|
|
3652
|
+
id: z.string(),
|
|
3653
|
+
scheduleId: z.string(),
|
|
3654
|
+
timeSlotId: z.string(),
|
|
3655
|
+
get dayOfWeek() {
|
|
3656
|
+
return dayOfWeekSchema;
|
|
3657
|
+
},
|
|
3658
|
+
sortIndex: z.nullable(z.string().max(255)),
|
|
3659
|
+
timeSlot: z.nullable(
|
|
3660
|
+
z.object({
|
|
3661
|
+
id: z.string(),
|
|
3662
|
+
startTime: z.string(),
|
|
3663
|
+
endTime: z.nullable(z.string()),
|
|
3664
|
+
get channel() {
|
|
3665
|
+
return bookingChannelSchema;
|
|
3666
|
+
},
|
|
3667
|
+
isActive: z.nullable(z.boolean()),
|
|
3668
|
+
isSchedulable: z.nullable(z.boolean()),
|
|
3669
|
+
maxBookings: z.nullable(z.int().min(-2147483648).max(2147483647)),
|
|
3670
|
+
maxGuests: z.nullable(z.int().min(-2147483648).max(2147483647)),
|
|
3671
|
+
overflowBookings: z.nullable(
|
|
3672
|
+
z.int().min(-2147483648).max(2147483647)
|
|
3673
|
+
),
|
|
3674
|
+
overflowGuests: z.nullable(
|
|
3675
|
+
z.int().min(-2147483648).max(2147483647)
|
|
3676
|
+
),
|
|
3677
|
+
sortIndex: z.nullable(z.string().max(255)),
|
|
3678
|
+
updatedAt: z.nullable(z.any()),
|
|
3679
|
+
updatedBy: z.nullable(z.string()),
|
|
3680
|
+
createdAt: z.nullable(z.any()),
|
|
3681
|
+
createdBy: z.nullable(z.string())
|
|
3682
|
+
})
|
|
3683
|
+
)
|
|
3684
|
+
})
|
|
3685
|
+
),
|
|
3686
|
+
scheduleOverrides: z.array(
|
|
3687
|
+
z.object({
|
|
3688
|
+
id: z.string(),
|
|
3689
|
+
scheduleId: z.string(),
|
|
3690
|
+
date: z.string(),
|
|
3691
|
+
reason: z.nullable(
|
|
3692
|
+
z.union([
|
|
3693
|
+
z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
|
|
3694
|
+
z.array(z.any()),
|
|
3695
|
+
z.object({}).catchall(z.any())
|
|
3696
|
+
])
|
|
3697
|
+
),
|
|
3698
|
+
isActive: z.boolean(),
|
|
3699
|
+
updatedAt: z.nullable(z.any()),
|
|
3700
|
+
updatedBy: z.nullable(z.string()),
|
|
3701
|
+
createdAt: z.nullable(z.any()),
|
|
3702
|
+
createdBy: z.nullable(z.string()),
|
|
3703
|
+
scheduleOverrideTimeSlots: z.array(
|
|
3704
|
+
z.object({
|
|
3705
|
+
overrideId: z.string(),
|
|
3706
|
+
timeSlotId: z.string(),
|
|
3707
|
+
sortIndex: z.nullable(z.string().max(255)),
|
|
3708
|
+
timeSlot: z.object({
|
|
3709
|
+
id: z.string(),
|
|
3710
|
+
startTime: z.string(),
|
|
3711
|
+
endTime: z.nullable(z.string()),
|
|
3712
|
+
get channel() {
|
|
3713
|
+
return bookingChannelSchema;
|
|
3714
|
+
},
|
|
3715
|
+
isActive: z.nullable(z.boolean()),
|
|
3716
|
+
isSchedulable: z.nullable(z.boolean()),
|
|
3717
|
+
maxBookings: z.nullable(
|
|
3718
|
+
z.int().min(-2147483648).max(2147483647)
|
|
3719
|
+
),
|
|
3720
|
+
maxGuests: z.nullable(z.int().min(-2147483648).max(2147483647)),
|
|
3721
|
+
overflowBookings: z.nullable(
|
|
3722
|
+
z.int().min(-2147483648).max(2147483647)
|
|
3723
|
+
),
|
|
3724
|
+
overflowGuests: z.nullable(
|
|
3725
|
+
z.int().min(-2147483648).max(2147483647)
|
|
3726
|
+
),
|
|
3727
|
+
sortIndex: z.nullable(z.string().max(255)),
|
|
3728
|
+
updatedAt: z.nullable(z.any()),
|
|
3729
|
+
updatedBy: z.nullable(z.string()),
|
|
3730
|
+
createdAt: z.nullable(z.any()),
|
|
3731
|
+
createdBy: z.nullable(z.string())
|
|
3732
|
+
})
|
|
3733
|
+
})
|
|
3734
|
+
)
|
|
3735
|
+
})
|
|
3736
|
+
),
|
|
3737
|
+
scheduleSlotPolicies: z.array(
|
|
3738
|
+
z.object({
|
|
3739
|
+
id: z.string(),
|
|
3740
|
+
scheduleId: z.string(),
|
|
3741
|
+
get channel() {
|
|
3742
|
+
return bookingChannelSchema;
|
|
3743
|
+
},
|
|
3744
|
+
get slotMode() {
|
|
3745
|
+
return slotModeSchema;
|
|
3746
|
+
},
|
|
3747
|
+
intervalDuration: z.nullable(
|
|
3748
|
+
z.int().min(-2147483648).max(2147483647)
|
|
3749
|
+
),
|
|
3750
|
+
duration: z.nullable(z.int().min(-2147483648).max(2147483647)),
|
|
3751
|
+
bookingOpensAtDays: z.nullable(
|
|
3752
|
+
z.int().min(-2147483648).max(2147483647)
|
|
3753
|
+
),
|
|
3754
|
+
bookingClosesAtOffset: z.nullable(
|
|
3755
|
+
z.int().min(-2147483648).max(2147483647)
|
|
3756
|
+
),
|
|
3757
|
+
updatedAt: z.nullable(z.any()),
|
|
3758
|
+
updatedBy: z.nullable(z.string()),
|
|
3759
|
+
createdAt: z.nullable(z.any()),
|
|
3760
|
+
createdBy: z.nullable(z.string())
|
|
3761
|
+
})
|
|
3762
|
+
)
|
|
3763
|
+
})
|
|
3764
|
+
)
|
|
3619
3765
|
});
|
|
3620
3766
|
|
|
3621
3767
|
const occupancyReasonSchema = z.enum([
|
|
@@ -5507,8 +5653,6 @@ const venueAssetTypeSchema = z.enum([
|
|
|
5507
5653
|
"icon"
|
|
5508
5654
|
]);
|
|
5509
5655
|
|
|
5510
|
-
const venueChargeTypeSchema = z.enum(["base", "addon"]);
|
|
5511
|
-
|
|
5512
5656
|
const venueEmailSenderStatusSchema = z.enum([
|
|
5513
5657
|
"pending",
|
|
5514
5658
|
"verified",
|
|
@@ -5579,6 +5723,7 @@ const schemas = {
|
|
|
5579
5723
|
CancelTeamOrderRequest: cancelTeamOrderRequestSchema,
|
|
5580
5724
|
CancelTeamOrderResponse: cancelTeamOrderResponseSchema,
|
|
5581
5725
|
CancellationReason: cancellationReasonSchema,
|
|
5726
|
+
ChargeType: chargeTypeSchema,
|
|
5582
5727
|
ChatChannelType: chatChannelTypeSchema,
|
|
5583
5728
|
ChatMemberRole: chatMemberRoleSchema,
|
|
5584
5729
|
ComposeMenuPublicationBookletRequest: composeMenuPublicationBookletRequestSchema,
|
|
@@ -5831,7 +5976,6 @@ const schemas = {
|
|
|
5831
5976
|
UploadAssetResponse: uploadAssetResponseSchema,
|
|
5832
5977
|
Variant: variantSchema,
|
|
5833
5978
|
VenueAssetType: venueAssetTypeSchema,
|
|
5834
|
-
VenueChargeType: venueChargeTypeSchema,
|
|
5835
5979
|
VenueEmailSenderStatus: venueEmailSenderStatusSchema,
|
|
5836
5980
|
VenueType: venueTypeSchema,
|
|
5837
5981
|
VenueUserStatus: venueUserStatusSchema,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "order3000",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.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.4.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@kubb/cli": "4.37.5",
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
"prettier": "^3.7.4",
|
|
68
68
|
"tsx": "^4.19.2",
|
|
69
69
|
"typescript": "^5.9.3",
|
|
70
|
+
"@kolaveri/eslint-config": "1.22.0",
|
|
70
71
|
"@kolaveri/prettier-config": "1.0.6",
|
|
71
|
-
"@kolaveri/eslint-config": "1.20.0",
|
|
72
72
|
"@kolaveri/tsconfig": "1.0.1"
|
|
73
73
|
},
|
|
74
74
|
"files": [
|