order3000 2.2.2 → 2.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/dist/client.d.cts +3 -3
- package/dist/client.d.mts +3 -3
- package/dist/{index-B7V1wOj_.d.cts → index-DvTqOMWP.d.cts} +108 -132
- package/dist/{index-B7V1wOj_.d.mts → index-DvTqOMWP.d.mts} +108 -132
- package/dist/menu.d.cts +1 -1
- package/dist/menu.d.mts +1 -1
- package/dist/schemas.cjs +162 -198
- package/dist/schemas.d.cts +166 -0
- package/dist/schemas.d.mts +166 -0
- package/dist/schemas.mjs +162 -198
- package/package.json +4 -4
|
@@ -1937,6 +1937,42 @@ interface components {
|
|
|
1937
1937
|
} | null;
|
|
1938
1938
|
ritualAccessor?: string | null;
|
|
1939
1939
|
};
|
|
1940
|
+
/** ScheduleOverride */
|
|
1941
|
+
ScheduleOverride: {
|
|
1942
|
+
id: string;
|
|
1943
|
+
scheduleId: string;
|
|
1944
|
+
date: string;
|
|
1945
|
+
reason: ((string | number | boolean | (null)) | {
|
|
1946
|
+
[key: string]: unknown;
|
|
1947
|
+
} | unknown[]) | null;
|
|
1948
|
+
isActive: boolean;
|
|
1949
|
+
updatedAt: unknown;
|
|
1950
|
+
updatedBy: string | null;
|
|
1951
|
+
createdAt: unknown;
|
|
1952
|
+
createdBy: string | null;
|
|
1953
|
+
scheduleOverrideTimeSlots: {
|
|
1954
|
+
overrideId: string;
|
|
1955
|
+
timeSlotId: string;
|
|
1956
|
+
sortIndex: string | null;
|
|
1957
|
+
timeSlot: {
|
|
1958
|
+
id: string;
|
|
1959
|
+
startTime: string;
|
|
1960
|
+
endTime: string | null;
|
|
1961
|
+
channel: components["schemas"]["BookingChannel"];
|
|
1962
|
+
isActive: boolean | null;
|
|
1963
|
+
isSchedulable: boolean | null;
|
|
1964
|
+
maxBookings: number | null;
|
|
1965
|
+
maxGuests: number | null;
|
|
1966
|
+
overflowBookings: number | null;
|
|
1967
|
+
overflowGuests: number | null;
|
|
1968
|
+
sortIndex: string | null;
|
|
1969
|
+
updatedAt: unknown;
|
|
1970
|
+
updatedBy: string | null;
|
|
1971
|
+
createdAt: unknown;
|
|
1972
|
+
createdBy: string | null;
|
|
1973
|
+
};
|
|
1974
|
+
}[];
|
|
1975
|
+
};
|
|
1940
1976
|
/** Schedule */
|
|
1941
1977
|
Schedule: {
|
|
1942
1978
|
id: string;
|
|
@@ -1984,41 +2020,7 @@ interface components {
|
|
|
1984
2020
|
createdBy: string | null;
|
|
1985
2021
|
} | null;
|
|
1986
2022
|
}[];
|
|
1987
|
-
scheduleOverrides?:
|
|
1988
|
-
id: string;
|
|
1989
|
-
scheduleId: string;
|
|
1990
|
-
date: string;
|
|
1991
|
-
reason: ((string | number | boolean | (null)) | {
|
|
1992
|
-
[key: string]: unknown;
|
|
1993
|
-
} | unknown[]) | null;
|
|
1994
|
-
isActive: boolean;
|
|
1995
|
-
updatedAt: unknown;
|
|
1996
|
-
updatedBy: string | null;
|
|
1997
|
-
createdAt: unknown;
|
|
1998
|
-
createdBy: string | null;
|
|
1999
|
-
scheduleOverrideTimeSlots: {
|
|
2000
|
-
overrideId: string;
|
|
2001
|
-
timeSlotId: string;
|
|
2002
|
-
sortIndex: string | null;
|
|
2003
|
-
timeSlot: {
|
|
2004
|
-
id: string;
|
|
2005
|
-
startTime: string;
|
|
2006
|
-
endTime: string | null;
|
|
2007
|
-
channel: components["schemas"]["BookingChannel"];
|
|
2008
|
-
isActive: boolean | null;
|
|
2009
|
-
isSchedulable: boolean | null;
|
|
2010
|
-
maxBookings: number | null;
|
|
2011
|
-
maxGuests: number | null;
|
|
2012
|
-
overflowBookings: number | null;
|
|
2013
|
-
overflowGuests: number | null;
|
|
2014
|
-
sortIndex: string | null;
|
|
2015
|
-
updatedAt: unknown;
|
|
2016
|
-
updatedBy: string | null;
|
|
2017
|
-
createdAt: unknown;
|
|
2018
|
-
createdBy: string | null;
|
|
2019
|
-
};
|
|
2020
|
-
}[];
|
|
2021
|
-
}[];
|
|
2023
|
+
scheduleOverrides?: components["schemas"]["ScheduleOverride"][];
|
|
2022
2024
|
scheduleSlotPolicies?: {
|
|
2023
2025
|
id: string;
|
|
2024
2026
|
scheduleId: string;
|
|
@@ -2948,6 +2950,69 @@ interface components {
|
|
|
2948
2950
|
/** @description Last update timestamp */
|
|
2949
2951
|
updatedAt: unknown;
|
|
2950
2952
|
};
|
|
2953
|
+
/** HydratedSchedule */
|
|
2954
|
+
HydratedSchedule: {
|
|
2955
|
+
id: string;
|
|
2956
|
+
name: (string | number | boolean | (null)) | {
|
|
2957
|
+
[key: string]: unknown;
|
|
2958
|
+
} | unknown[];
|
|
2959
|
+
description: ((string | number | boolean | (null)) | {
|
|
2960
|
+
[key: string]: unknown;
|
|
2961
|
+
} | unknown[]) | null;
|
|
2962
|
+
timezone: string;
|
|
2963
|
+
rrule: string | null;
|
|
2964
|
+
exdates: string[] | null;
|
|
2965
|
+
validFrom: string | null;
|
|
2966
|
+
validTo: string | null;
|
|
2967
|
+
slotMode: components["schemas"]["SlotMode"];
|
|
2968
|
+
intervalDuration: number | null;
|
|
2969
|
+
duration: number | null;
|
|
2970
|
+
isActive: boolean;
|
|
2971
|
+
sortIndex: string | null;
|
|
2972
|
+
updatedAt: unknown;
|
|
2973
|
+
updatedBy: string | null;
|
|
2974
|
+
createdAt: unknown;
|
|
2975
|
+
createdBy: string | null;
|
|
2976
|
+
scheduleTimeSlots: {
|
|
2977
|
+
id: string;
|
|
2978
|
+
scheduleId: string;
|
|
2979
|
+
timeSlotId: string;
|
|
2980
|
+
dayOfWeek: components["schemas"]["DayOfWeek"];
|
|
2981
|
+
sortIndex: string | null;
|
|
2982
|
+
timeSlot: {
|
|
2983
|
+
id: string;
|
|
2984
|
+
startTime: string;
|
|
2985
|
+
endTime: string | null;
|
|
2986
|
+
channel: components["schemas"]["BookingChannel"];
|
|
2987
|
+
isActive: boolean | null;
|
|
2988
|
+
isSchedulable: boolean | null;
|
|
2989
|
+
maxBookings: number | null;
|
|
2990
|
+
maxGuests: number | null;
|
|
2991
|
+
overflowBookings: number | null;
|
|
2992
|
+
overflowGuests: number | null;
|
|
2993
|
+
sortIndex: string | null;
|
|
2994
|
+
updatedAt: unknown;
|
|
2995
|
+
updatedBy: string | null;
|
|
2996
|
+
createdAt: unknown;
|
|
2997
|
+
createdBy: string | null;
|
|
2998
|
+
} | null;
|
|
2999
|
+
}[];
|
|
3000
|
+
scheduleOverrides: components["schemas"]["ScheduleOverride"][];
|
|
3001
|
+
scheduleSlotPolicies: {
|
|
3002
|
+
id: string;
|
|
3003
|
+
scheduleId: string;
|
|
3004
|
+
channel: components["schemas"]["BookingChannel"];
|
|
3005
|
+
slotMode: components["schemas"]["SlotMode"];
|
|
3006
|
+
intervalDuration: number | null;
|
|
3007
|
+
duration: number | null;
|
|
3008
|
+
bookingOpensAtDays: number | null;
|
|
3009
|
+
bookingClosesAtOffset: number | null;
|
|
3010
|
+
updatedAt: unknown;
|
|
3011
|
+
updatedBy: string | null;
|
|
3012
|
+
createdAt: unknown;
|
|
3013
|
+
createdBy: string | null;
|
|
3014
|
+
}[];
|
|
3015
|
+
};
|
|
2951
3016
|
/** FetchRitualResponse */
|
|
2952
3017
|
FetchRitualResponse: {
|
|
2953
3018
|
id: string;
|
|
@@ -3052,102 +3117,7 @@ interface components {
|
|
|
3052
3117
|
archivedBy: string | null;
|
|
3053
3118
|
covers: number;
|
|
3054
3119
|
}[];
|
|
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;
|
|
3120
|
+
schedule: components["schemas"]["HydratedSchedule"] | null;
|
|
3151
3121
|
};
|
|
3152
3122
|
/** GetSubscriptionResponse */
|
|
3153
3123
|
GetSubscriptionResponse: {
|
|
@@ -3725,6 +3695,8 @@ interface components {
|
|
|
3725
3695
|
/** @enum {string} */
|
|
3726
3696
|
EntityOwnerType: "event" | "dish" | "beverage" | "venue" | "menu" | "menuSubscription" | "ritual";
|
|
3727
3697
|
/** @enum {string} */
|
|
3698
|
+
FormOfAddress: "formal" | "informal";
|
|
3699
|
+
/** @enum {string} */
|
|
3728
3700
|
GuestTier: "blacklisted" | "atRisk" | "loyal" | "newGuest" | "regular";
|
|
3729
3701
|
/** @enum {string} */
|
|
3730
3702
|
IntegrationNotificationType: "order_created" | "order_cancelled" | "order_completed" | "team_order_created" | "reservation_created" | "reservation_confirmed" | "reservation_cancelled";
|
|
@@ -3809,10 +3781,14 @@ interface components {
|
|
|
3809
3781
|
/** @enum {string} */
|
|
3810
3782
|
ScheduleOverrideMode: "closed" | "deviating";
|
|
3811
3783
|
/** @enum {string} */
|
|
3784
|
+
SenderNameSource: "official" | "legal" | "brand" | "short";
|
|
3785
|
+
/** @enum {string} */
|
|
3812
3786
|
ServedMarketAreaType: "pin" | "postcode" | "city" | "region" | "country";
|
|
3813
3787
|
/** @enum {string} */
|
|
3814
3788
|
ServedMarketScope: "include" | "exclude";
|
|
3815
3789
|
/** @enum {string} */
|
|
3790
|
+
SignatureStyle: "name" | "team" | "team_of";
|
|
3791
|
+
/** @enum {string} */
|
|
3816
3792
|
SlotMode: "interval" | "duration";
|
|
3817
3793
|
/** @enum {string} */
|
|
3818
3794
|
SortOrder: "asc" | "desc";
|
|
@@ -3933,7 +3909,7 @@ interface components {
|
|
|
3933
3909
|
/** @enum {string} */
|
|
3934
3910
|
FeatureCategory: "articles" | "auth" | "billing" | "core" | "guests" | "events" | "inventory" | "menus" | "orders" | "platform" | "promotions" | "reservations" | "settings" | "venues";
|
|
3935
3911
|
/** @enum {string} */
|
|
3936
|
-
FeatureGate: "vanity-email";
|
|
3912
|
+
FeatureGate: "vanity-email" | "vanity-mailbox" | "vanity-url";
|
|
3937
3913
|
/** @enum {string} */
|
|
3938
3914
|
FeatureStatus: "backlog" | "in_development" | "released";
|
|
3939
3915
|
/** @enum {string} */
|
package/dist/menu.d.cts
CHANGED
package/dist/menu.d.mts
CHANGED