order3000 2.2.5 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.cjs +65 -48
- package/dist/client.d.cts +42 -5
- package/dist/client.d.mts +42 -5
- package/dist/client.mjs +63 -49
- package/dist/{index-DJ6-ihXb.d.cts → index-Be_lu95q.d.cts} +56 -7
- package/dist/{index-DJ6-ihXb.d.mts → index-Be_lu95q.d.mts} +56 -7
- package/dist/menu.d.cts +1 -1
- package/dist/menu.d.mts +1 -1
- package/dist/schemas.cjs +156 -6
- package/dist/schemas.d.cts +155 -13
- package/dist/schemas.d.mts +155 -13
- package/dist/schemas.mjs +156 -6
- package/package.json +2 -2
- package/dist/index-ChIpruKt.d.cts +0 -4458
- package/dist/index-ChIpruKt.d.mts +0 -4458
package/dist/schemas.cjs
CHANGED
|
@@ -406,6 +406,15 @@ const cancelTeamOrderResponseSchema = v4.z.object({
|
|
|
406
406
|
cancelledAt: v4.z.iso.datetime()
|
|
407
407
|
});
|
|
408
408
|
|
|
409
|
+
const cancellationFeedbackReasonSchema = v4.z.enum([
|
|
410
|
+
"too_expensive",
|
|
411
|
+
"missing_feature",
|
|
412
|
+
"too_complicated",
|
|
413
|
+
"switched_provider",
|
|
414
|
+
"no_longer_needed",
|
|
415
|
+
"other"
|
|
416
|
+
]);
|
|
417
|
+
|
|
409
418
|
const cancellationReasonSchema = v4.z.enum([
|
|
410
419
|
"guest_request",
|
|
411
420
|
"restaurant_request"
|
|
@@ -574,6 +583,7 @@ const createAdResponseSchema = v4.z.object({
|
|
|
574
583
|
])
|
|
575
584
|
),
|
|
576
585
|
dailyBudget: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
586
|
+
suspendedAt: v4.z.nullable(v4.z.any()),
|
|
577
587
|
createdBy: v4.z.nullable(v4.z.string()),
|
|
578
588
|
updatedBy: v4.z.nullable(v4.z.string()),
|
|
579
589
|
createdAt: v4.z.nullable(v4.z.any()),
|
|
@@ -933,6 +943,18 @@ const dayOfWeekSchema = v4.z.enum([
|
|
|
933
943
|
"sunday"
|
|
934
944
|
]);
|
|
935
945
|
|
|
946
|
+
const dealStageSchema = v4.z.enum([
|
|
947
|
+
"identified",
|
|
948
|
+
"contacted",
|
|
949
|
+
"engaged",
|
|
950
|
+
"demo",
|
|
951
|
+
"offer",
|
|
952
|
+
"won",
|
|
953
|
+
"lost"
|
|
954
|
+
]);
|
|
955
|
+
|
|
956
|
+
const dealValueSourceSchema = v4.z.enum(["pricing", "manual"]);
|
|
957
|
+
|
|
936
958
|
const deleteAdResponseSchema = v4.z.object({
|
|
937
959
|
id: v4.z.string(),
|
|
938
960
|
venueId: v4.z.string(),
|
|
@@ -1034,6 +1056,7 @@ const deleteAdResponseSchema = v4.z.object({
|
|
|
1034
1056
|
])
|
|
1035
1057
|
),
|
|
1036
1058
|
dailyBudget: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
1059
|
+
suspendedAt: v4.z.nullable(v4.z.any()),
|
|
1037
1060
|
createdBy: v4.z.nullable(v4.z.string()),
|
|
1038
1061
|
updatedBy: v4.z.nullable(v4.z.string()),
|
|
1039
1062
|
createdAt: v4.z.nullable(v4.z.any()),
|
|
@@ -1137,6 +1160,33 @@ const deleteWebsitePageResponseSchema = v4.z.object({
|
|
|
1137
1160
|
archivedBy: v4.z.nullable(v4.z.string())
|
|
1138
1161
|
});
|
|
1139
1162
|
|
|
1163
|
+
const demoAreaSchema = v4.z.enum([
|
|
1164
|
+
"dashboard",
|
|
1165
|
+
"orders",
|
|
1166
|
+
"reservations",
|
|
1167
|
+
"menus",
|
|
1168
|
+
"articles",
|
|
1169
|
+
"inventory",
|
|
1170
|
+
"promotions",
|
|
1171
|
+
"vouchers",
|
|
1172
|
+
"events",
|
|
1173
|
+
"privateParties",
|
|
1174
|
+
"eventSeries",
|
|
1175
|
+
"documents",
|
|
1176
|
+
"inbox",
|
|
1177
|
+
"rolodex",
|
|
1178
|
+
"letterhead",
|
|
1179
|
+
"settings",
|
|
1180
|
+
"other"
|
|
1181
|
+
]);
|
|
1182
|
+
|
|
1183
|
+
const demoStatusSchema = v4.z.enum([
|
|
1184
|
+
"generating",
|
|
1185
|
+
"ready",
|
|
1186
|
+
"failed",
|
|
1187
|
+
"expired"
|
|
1188
|
+
]);
|
|
1189
|
+
|
|
1140
1190
|
const depositTransactionTypeSchema = v4.z.enum([
|
|
1141
1191
|
"charged",
|
|
1142
1192
|
"refunded",
|
|
@@ -1374,6 +1424,7 @@ const editAdResponseSchema = v4.z.object({
|
|
|
1374
1424
|
])
|
|
1375
1425
|
),
|
|
1376
1426
|
dailyBudget: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
1427
|
+
suspendedAt: v4.z.nullable(v4.z.any()),
|
|
1377
1428
|
createdBy: v4.z.nullable(v4.z.string()),
|
|
1378
1429
|
updatedBy: v4.z.nullable(v4.z.string()),
|
|
1379
1430
|
createdAt: v4.z.nullable(v4.z.any()),
|
|
@@ -2047,6 +2098,7 @@ const editMetaAdResponseSchema = v4.z.object({
|
|
|
2047
2098
|
])
|
|
2048
2099
|
),
|
|
2049
2100
|
dailyBudget: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
2101
|
+
suspendedAt: v4.z.nullable(v4.z.any()),
|
|
2050
2102
|
createdBy: v4.z.nullable(v4.z.string()),
|
|
2051
2103
|
updatedBy: v4.z.nullable(v4.z.string()),
|
|
2052
2104
|
createdAt: v4.z.nullable(v4.z.any()),
|
|
@@ -2105,7 +2157,24 @@ const featureCategorySchema = v4.z.enum([
|
|
|
2105
2157
|
const featureGateSchema = v4.z.enum([
|
|
2106
2158
|
"vanity-email",
|
|
2107
2159
|
"vanity-mailbox",
|
|
2108
|
-
"vanity-url"
|
|
2160
|
+
"vanity-url",
|
|
2161
|
+
"venue-dashboard",
|
|
2162
|
+
"order-management",
|
|
2163
|
+
"reservations",
|
|
2164
|
+
"menu-builder",
|
|
2165
|
+
"articles",
|
|
2166
|
+
"inventory",
|
|
2167
|
+
"promotions",
|
|
2168
|
+
"vouchers",
|
|
2169
|
+
"event-management",
|
|
2170
|
+
"private-parties",
|
|
2171
|
+
"event-series",
|
|
2172
|
+
"document-hub",
|
|
2173
|
+
"inbox",
|
|
2174
|
+
"rolodex",
|
|
2175
|
+
"letterhead",
|
|
2176
|
+
"team-management",
|
|
2177
|
+
"developer-api"
|
|
2109
2178
|
]);
|
|
2110
2179
|
|
|
2111
2180
|
const featureStatusSchema = v4.z.enum([
|
|
@@ -2215,6 +2284,7 @@ const fetchAdResponseSchema = v4.z.object({
|
|
|
2215
2284
|
])
|
|
2216
2285
|
),
|
|
2217
2286
|
dailyBudget: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
2287
|
+
suspendedAt: v4.z.nullable(v4.z.any()),
|
|
2218
2288
|
createdBy: v4.z.nullable(v4.z.string()),
|
|
2219
2289
|
updatedBy: v4.z.nullable(v4.z.string()),
|
|
2220
2290
|
createdAt: v4.z.nullable(v4.z.any()),
|
|
@@ -2323,6 +2393,7 @@ const fetchAdsResponseSchema = v4.z.array(
|
|
|
2323
2393
|
])
|
|
2324
2394
|
),
|
|
2325
2395
|
dailyBudget: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
2396
|
+
suspendedAt: v4.z.nullable(v4.z.any()),
|
|
2326
2397
|
createdBy: v4.z.nullable(v4.z.string()),
|
|
2327
2398
|
updatedBy: v4.z.nullable(v4.z.string()),
|
|
2328
2399
|
createdAt: v4.z.nullable(v4.z.any()),
|
|
@@ -3131,6 +3202,15 @@ const fetchLatestOrderResponseSchema = v4.z.object({
|
|
|
3131
3202
|
)
|
|
3132
3203
|
});
|
|
3133
3204
|
|
|
3205
|
+
const vatRateCategorySchema = v4.z.enum([
|
|
3206
|
+
"standard",
|
|
3207
|
+
"reduced",
|
|
3208
|
+
"second_reduced",
|
|
3209
|
+
"super_reduced",
|
|
3210
|
+
"accommodation",
|
|
3211
|
+
"zero_rated"
|
|
3212
|
+
]);
|
|
3213
|
+
|
|
3134
3214
|
const fetchMenuBundlesResponseSchema = v4.z.array(
|
|
3135
3215
|
v4.z.object({
|
|
3136
3216
|
id: v4.z.string(),
|
|
@@ -3148,7 +3228,9 @@ const fetchMenuBundlesResponseSchema = v4.z.array(
|
|
|
3148
3228
|
get currency() {
|
|
3149
3229
|
return currencySchema;
|
|
3150
3230
|
},
|
|
3151
|
-
|
|
3231
|
+
get vatCategory() {
|
|
3232
|
+
return vatRateCategorySchema;
|
|
3233
|
+
},
|
|
3152
3234
|
isActive: v4.z.boolean(),
|
|
3153
3235
|
sortIndex: v4.z.nullable(v4.z.string()),
|
|
3154
3236
|
depositwareTemplateId: v4.z.nullable(v4.z.string()),
|
|
@@ -4689,7 +4771,10 @@ const permissionSchema = v4.z.enum([
|
|
|
4689
4771
|
"venue:manage-payments",
|
|
4690
4772
|
"venue:update",
|
|
4691
4773
|
"venue:transfer",
|
|
4692
|
-
"venue:view"
|
|
4774
|
+
"venue:view",
|
|
4775
|
+
"sales:view",
|
|
4776
|
+
"sales:manage",
|
|
4777
|
+
"sales:view-all"
|
|
4693
4778
|
]);
|
|
4694
4779
|
|
|
4695
4780
|
const placeOrderRequestSchema = v4.z.object({
|
|
@@ -4729,8 +4814,6 @@ const placeOrderResponseSchema = v4.z.object({
|
|
|
4729
4814
|
}
|
|
4730
4815
|
});
|
|
4731
4816
|
|
|
4732
|
-
const platformRoleSchema = v4.z.enum(["platform_maintainer"]);
|
|
4733
|
-
|
|
4734
4817
|
const positionCenterSchema = v4.z.enum(["center"]);
|
|
4735
4818
|
|
|
4736
4819
|
const positionCornerSchema = v4.z.enum([
|
|
@@ -4893,6 +4976,35 @@ const roleSchema = v4.z.enum([
|
|
|
4893
4976
|
|
|
4894
4977
|
const roleTypeSchema = v4.z.enum(["curated", "authored"]);
|
|
4895
4978
|
|
|
4979
|
+
const salesAccountSegmentSchema = v4.z.enum([
|
|
4980
|
+
"solo",
|
|
4981
|
+
"small",
|
|
4982
|
+
"mid_market",
|
|
4983
|
+
"enterprise"
|
|
4984
|
+
]);
|
|
4985
|
+
|
|
4986
|
+
const salesAccountSourceSchema = v4.z.enum([
|
|
4987
|
+
"outbound",
|
|
4988
|
+
"inbound",
|
|
4989
|
+
"referral",
|
|
4990
|
+
"event",
|
|
4991
|
+
"partner"
|
|
4992
|
+
]);
|
|
4993
|
+
|
|
4994
|
+
const salesActivityTypeSchema = v4.z.enum([
|
|
4995
|
+
"note",
|
|
4996
|
+
"call",
|
|
4997
|
+
"email",
|
|
4998
|
+
"meeting",
|
|
4999
|
+
"stage_change",
|
|
5000
|
+
"value_change",
|
|
5001
|
+
"owner_change",
|
|
5002
|
+
"close_day_change",
|
|
5003
|
+
"link_click"
|
|
5004
|
+
]);
|
|
5005
|
+
|
|
5006
|
+
const salesMailTemplateTypeSchema = v4.z.enum(["general", "demo"]);
|
|
5007
|
+
|
|
4896
5008
|
const saveAdCalloutsRequestSchema = v4.z.object({
|
|
4897
5009
|
venueAccessor: v4.z.string().min(1),
|
|
4898
5010
|
adId: v4.z.string().min(1),
|
|
@@ -4944,6 +5056,32 @@ const saveAdWebsitePagesResponseSchema = v4.z.object({
|
|
|
4944
5056
|
websitePageIds: v4.z.array(v4.z.string())
|
|
4945
5057
|
});
|
|
4946
5058
|
|
|
5059
|
+
const saveMenuItemsRequestSchema = v4.z.object({
|
|
5060
|
+
menuId: v4.z.string(),
|
|
5061
|
+
items: v4.z.array(
|
|
5062
|
+
v4.z.object({
|
|
5063
|
+
id: v4.z.string(),
|
|
5064
|
+
get type() {
|
|
5065
|
+
return menuItemTypeSchema;
|
|
5066
|
+
},
|
|
5067
|
+
price: v4.z.object({
|
|
5068
|
+
amount: v4.z.number(),
|
|
5069
|
+
get currency() {
|
|
5070
|
+
return currencySchema;
|
|
5071
|
+
}
|
|
5072
|
+
}),
|
|
5073
|
+
get vatCategory() {
|
|
5074
|
+
return vatRateCategorySchema;
|
|
5075
|
+
}
|
|
5076
|
+
})
|
|
5077
|
+
),
|
|
5078
|
+
venueAccessor: v4.z.string().min(1)
|
|
5079
|
+
});
|
|
5080
|
+
|
|
5081
|
+
const saveMenuItemsResponseSchema = v4.z.object({
|
|
5082
|
+
success: v4.z.boolean()
|
|
5083
|
+
});
|
|
5084
|
+
|
|
4947
5085
|
const scanTokenEntityTypeSchema = v4.z.enum(["order", "depositware"]);
|
|
4948
5086
|
|
|
4949
5087
|
const scheduleOverrideModeSchema = v4.z.enum(["closed", "deviating"]);
|
|
@@ -5072,6 +5210,7 @@ const setAdBudgetResponseSchema = v4.z.object({
|
|
|
5072
5210
|
])
|
|
5073
5211
|
),
|
|
5074
5212
|
dailyBudget: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
5213
|
+
suspendedAt: v4.z.nullable(v4.z.any()),
|
|
5075
5214
|
createdBy: v4.z.nullable(v4.z.string()),
|
|
5076
5215
|
updatedBy: v4.z.nullable(v4.z.string()),
|
|
5077
5216
|
createdAt: v4.z.nullable(v4.z.any()),
|
|
@@ -5690,6 +5829,7 @@ const schemas = {
|
|
|
5690
5829
|
CancelSubscriptionResponse: cancelSubscriptionResponseSchema,
|
|
5691
5830
|
CancelTeamOrderRequest: cancelTeamOrderRequestSchema,
|
|
5692
5831
|
CancelTeamOrderResponse: cancelTeamOrderResponseSchema,
|
|
5832
|
+
CancellationFeedbackReason: cancellationFeedbackReasonSchema,
|
|
5693
5833
|
CancellationReason: cancellationReasonSchema,
|
|
5694
5834
|
ChatChannelType: chatChannelTypeSchema,
|
|
5695
5835
|
ChatMemberRole: chatMemberRoleSchema,
|
|
@@ -5719,12 +5859,16 @@ const schemas = {
|
|
|
5719
5859
|
CreateWebsitePageResponse: createWebsitePageResponseSchema,
|
|
5720
5860
|
Currency: currencySchema,
|
|
5721
5861
|
DayOfWeek: dayOfWeekSchema,
|
|
5862
|
+
DealStage: dealStageSchema,
|
|
5863
|
+
DealValueSource: dealValueSourceSchema,
|
|
5722
5864
|
DeleteAdResponse: deleteAdResponseSchema,
|
|
5723
5865
|
DeleteAssetResponse: deleteAssetResponseSchema,
|
|
5724
5866
|
DeleteCalloutResponse: deleteCalloutResponseSchema,
|
|
5725
5867
|
DeleteEventResponse: deleteEventResponseSchema,
|
|
5726
5868
|
DeleteWebsitePageResponse: deleteWebsitePageResponseSchema,
|
|
5727
5869
|
DeliveryAddress: deliveryAddressSchema.deliveryAddressSchema,
|
|
5870
|
+
DemoArea: demoAreaSchema,
|
|
5871
|
+
DemoStatus: demoStatusSchema,
|
|
5728
5872
|
DepositTransactionType: depositTransactionTypeSchema,
|
|
5729
5873
|
DepositwareStatus: depositwareStatusSchema,
|
|
5730
5874
|
Direction: directionSchema,
|
|
@@ -5856,7 +6000,6 @@ const schemas = {
|
|
|
5856
6000
|
Permission: permissionSchema,
|
|
5857
6001
|
PlaceOrderRequest: placeOrderRequestSchema,
|
|
5858
6002
|
PlaceOrderResponse: placeOrderResponseSchema,
|
|
5859
|
-
PlatformRole: platformRoleSchema,
|
|
5860
6003
|
PositionCenter: positionCenterSchema,
|
|
5861
6004
|
PositionCorner: positionCornerSchema,
|
|
5862
6005
|
PositionEdge: positionEdgeSchema,
|
|
@@ -5893,6 +6036,10 @@ const schemas = {
|
|
|
5893
6036
|
RitualType: ritualTypeSchema,
|
|
5894
6037
|
Role: roleSchema,
|
|
5895
6038
|
RoleType: roleTypeSchema,
|
|
6039
|
+
SalesAccountSegment: salesAccountSegmentSchema,
|
|
6040
|
+
SalesAccountSource: salesAccountSourceSchema,
|
|
6041
|
+
SalesActivityType: salesActivityTypeSchema,
|
|
6042
|
+
SalesMailTemplateType: salesMailTemplateTypeSchema,
|
|
5896
6043
|
SaveAdCalloutsRequest: saveAdCalloutsRequestSchema,
|
|
5897
6044
|
SaveAdCalloutsResponse: saveAdCalloutsResponseSchema,
|
|
5898
6045
|
SaveAdKeywordsRequest: saveAdKeywordsRequestSchema,
|
|
@@ -5901,6 +6048,8 @@ const schemas = {
|
|
|
5901
6048
|
SaveAdNegativeKeywordsResponse: saveAdNegativeKeywordsResponseSchema,
|
|
5902
6049
|
SaveAdWebsitePagesRequest: saveAdWebsitePagesRequestSchema,
|
|
5903
6050
|
SaveAdWebsitePagesResponse: saveAdWebsitePagesResponseSchema,
|
|
6051
|
+
SaveMenuItemsRequest: saveMenuItemsRequestSchema,
|
|
6052
|
+
SaveMenuItemsResponse: saveMenuItemsResponseSchema,
|
|
5904
6053
|
ScanTokenEntityType: scanTokenEntityTypeSchema,
|
|
5905
6054
|
ScheduleOverrideMode: scheduleOverrideModeSchema,
|
|
5906
6055
|
ScheduleOverride: scheduleOverrideSchema,
|
|
@@ -5949,6 +6098,7 @@ const schemas = {
|
|
|
5949
6098
|
UpdateWebsitePageResponse: updateWebsitePageResponseSchema,
|
|
5950
6099
|
UploadAssetResponse: uploadAssetResponseSchema,
|
|
5951
6100
|
Variant: variantSchema,
|
|
6101
|
+
VatRateCategory: vatRateCategorySchema,
|
|
5952
6102
|
VenueAssetType: venueAssetTypeSchema,
|
|
5953
6103
|
VenueDomainAddressPurpose: venueDomainAddressPurposeSchema,
|
|
5954
6104
|
VenueDomainStatus: venueDomainStatusSchema,
|
package/dist/schemas.d.cts
CHANGED
|
@@ -383,6 +383,14 @@ declare const schemas: {
|
|
|
383
383
|
voidedPaymentIntentIds: zod.ZodArray<zod.ZodString>;
|
|
384
384
|
cancelledAt: zod.ZodISODateTime;
|
|
385
385
|
}, zod_v4_core.$strip>;
|
|
386
|
+
readonly CancellationFeedbackReason: zod.ZodEnum<{
|
|
387
|
+
too_expensive: "too_expensive";
|
|
388
|
+
missing_feature: "missing_feature";
|
|
389
|
+
too_complicated: "too_complicated";
|
|
390
|
+
switched_provider: "switched_provider";
|
|
391
|
+
no_longer_needed: "no_longer_needed";
|
|
392
|
+
other: "other";
|
|
393
|
+
}>;
|
|
386
394
|
readonly CancellationReason: zod.ZodEnum<{
|
|
387
395
|
guest_request: "guest_request";
|
|
388
396
|
restaurant_request: "restaurant_request";
|
|
@@ -754,6 +762,7 @@ declare const schemas: {
|
|
|
754
762
|
publishedAt: zod.ZodNullable<zod.ZodAny>;
|
|
755
763
|
pushedKeywords: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>>;
|
|
756
764
|
dailyBudget: zod.ZodNullable<zod.ZodInt>;
|
|
765
|
+
suspendedAt: zod.ZodNullable<zod.ZodAny>;
|
|
757
766
|
createdBy: zod.ZodNullable<zod.ZodString>;
|
|
758
767
|
updatedBy: zod.ZodNullable<zod.ZodString>;
|
|
759
768
|
createdAt: zod.ZodNullable<zod.ZodAny>;
|
|
@@ -1283,6 +1292,19 @@ declare const schemas: {
|
|
|
1283
1292
|
saturday: "saturday";
|
|
1284
1293
|
sunday: "sunday";
|
|
1285
1294
|
}>;
|
|
1295
|
+
readonly DealStage: zod.ZodEnum<{
|
|
1296
|
+
identified: "identified";
|
|
1297
|
+
contacted: "contacted";
|
|
1298
|
+
engaged: "engaged";
|
|
1299
|
+
demo: "demo";
|
|
1300
|
+
offer: "offer";
|
|
1301
|
+
won: "won";
|
|
1302
|
+
lost: "lost";
|
|
1303
|
+
}>;
|
|
1304
|
+
readonly DealValueSource: zod.ZodEnum<{
|
|
1305
|
+
pricing: "pricing";
|
|
1306
|
+
manual: "manual";
|
|
1307
|
+
}>;
|
|
1286
1308
|
readonly DeleteAdResponse: zod.ZodObject<{
|
|
1287
1309
|
id: zod.ZodString;
|
|
1288
1310
|
venueId: zod.ZodString;
|
|
@@ -1329,6 +1351,7 @@ declare const schemas: {
|
|
|
1329
1351
|
publishedAt: zod.ZodNullable<zod.ZodAny>;
|
|
1330
1352
|
pushedKeywords: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>>;
|
|
1331
1353
|
dailyBudget: zod.ZodNullable<zod.ZodInt>;
|
|
1354
|
+
suspendedAt: zod.ZodNullable<zod.ZodAny>;
|
|
1332
1355
|
createdBy: zod.ZodNullable<zod.ZodString>;
|
|
1333
1356
|
updatedBy: zod.ZodNullable<zod.ZodString>;
|
|
1334
1357
|
createdAt: zod.ZodNullable<zod.ZodAny>;
|
|
@@ -1658,6 +1681,31 @@ declare const schemas: {
|
|
|
1658
1681
|
ZW: "ZW";
|
|
1659
1682
|
}>;
|
|
1660
1683
|
}, zod_v4_core.$strip>;
|
|
1684
|
+
readonly DemoArea: zod.ZodEnum<{
|
|
1685
|
+
menus: "menus";
|
|
1686
|
+
documents: "documents";
|
|
1687
|
+
inbox: "inbox";
|
|
1688
|
+
other: "other";
|
|
1689
|
+
dashboard: "dashboard";
|
|
1690
|
+
orders: "orders";
|
|
1691
|
+
reservations: "reservations";
|
|
1692
|
+
articles: "articles";
|
|
1693
|
+
inventory: "inventory";
|
|
1694
|
+
promotions: "promotions";
|
|
1695
|
+
vouchers: "vouchers";
|
|
1696
|
+
events: "events";
|
|
1697
|
+
privateParties: "privateParties";
|
|
1698
|
+
eventSeries: "eventSeries";
|
|
1699
|
+
rolodex: "rolodex";
|
|
1700
|
+
letterhead: "letterhead";
|
|
1701
|
+
settings: "settings";
|
|
1702
|
+
}>;
|
|
1703
|
+
readonly DemoStatus: zod.ZodEnum<{
|
|
1704
|
+
expired: "expired";
|
|
1705
|
+
ready: "ready";
|
|
1706
|
+
generating: "generating";
|
|
1707
|
+
failed: "failed";
|
|
1708
|
+
}>;
|
|
1661
1709
|
readonly DepositTransactionType: zod.ZodEnum<{
|
|
1662
1710
|
charged: "charged";
|
|
1663
1711
|
refunded: "refunded";
|
|
@@ -1666,10 +1714,10 @@ declare const schemas: {
|
|
|
1666
1714
|
credit_used: "credit_used";
|
|
1667
1715
|
}>;
|
|
1668
1716
|
readonly DepositwareStatus: zod.ZodEnum<{
|
|
1717
|
+
lost: "lost";
|
|
1669
1718
|
available: "available";
|
|
1670
1719
|
issued: "issued";
|
|
1671
1720
|
returned: "returned";
|
|
1672
|
-
lost: "lost";
|
|
1673
1721
|
damaged: "damaged";
|
|
1674
1722
|
retired: "retired";
|
|
1675
1723
|
}>;
|
|
@@ -1758,6 +1806,7 @@ declare const schemas: {
|
|
|
1758
1806
|
party: "party";
|
|
1759
1807
|
}>;
|
|
1760
1808
|
readonly DocumentType: zod.ZodEnum<{
|
|
1809
|
+
other: "other";
|
|
1761
1810
|
supplier_invoice: "supplier_invoice";
|
|
1762
1811
|
receipt: "receipt";
|
|
1763
1812
|
delivery_note: "delivery_note";
|
|
@@ -1768,7 +1817,6 @@ declare const schemas: {
|
|
|
1768
1817
|
permit: "permit";
|
|
1769
1818
|
hygiene_certificate: "hygiene_certificate";
|
|
1770
1819
|
staff_document: "staff_document";
|
|
1771
|
-
other: "other";
|
|
1772
1820
|
}>;
|
|
1773
1821
|
readonly DocumentTypography: zod.ZodEnum<{
|
|
1774
1822
|
serif: "serif";
|
|
@@ -1837,6 +1885,7 @@ declare const schemas: {
|
|
|
1837
1885
|
publishedAt: zod.ZodNullable<zod.ZodAny>;
|
|
1838
1886
|
pushedKeywords: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>>;
|
|
1839
1887
|
dailyBudget: zod.ZodNullable<zod.ZodInt>;
|
|
1888
|
+
suspendedAt: zod.ZodNullable<zod.ZodAny>;
|
|
1840
1889
|
createdBy: zod.ZodNullable<zod.ZodString>;
|
|
1841
1890
|
updatedBy: zod.ZodNullable<zod.ZodString>;
|
|
1842
1891
|
createdAt: zod.ZodNullable<zod.ZodAny>;
|
|
@@ -2253,6 +2302,7 @@ declare const schemas: {
|
|
|
2253
2302
|
publishedAt: zod.ZodNullable<zod.ZodAny>;
|
|
2254
2303
|
pushedKeywords: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>>;
|
|
2255
2304
|
dailyBudget: zod.ZodNullable<zod.ZodInt>;
|
|
2305
|
+
suspendedAt: zod.ZodNullable<zod.ZodAny>;
|
|
2256
2306
|
createdBy: zod.ZodNullable<zod.ZodString>;
|
|
2257
2307
|
updatedBy: zod.ZodNullable<zod.ZodString>;
|
|
2258
2308
|
createdAt: zod.ZodNullable<zod.ZodAny>;
|
|
@@ -2282,8 +2332,8 @@ declare const schemas: {
|
|
|
2282
2332
|
true: "true";
|
|
2283
2333
|
}>;
|
|
2284
2334
|
readonly EventAssetSource: zod.ZodEnum<{
|
|
2285
|
-
inherited: "inherited";
|
|
2286
2335
|
manual: "manual";
|
|
2336
|
+
inherited: "inherited";
|
|
2287
2337
|
}>;
|
|
2288
2338
|
readonly ExtendDeadlineTeamOrderRequest: zod.ZodObject<{
|
|
2289
2339
|
publicId: zod.ZodString;
|
|
@@ -2306,23 +2356,40 @@ declare const schemas: {
|
|
|
2306
2356
|
readonly FeatureCategory: zod.ZodEnum<{
|
|
2307
2357
|
menus: "menus";
|
|
2308
2358
|
billing: "billing";
|
|
2359
|
+
orders: "orders";
|
|
2360
|
+
reservations: "reservations";
|
|
2309
2361
|
articles: "articles";
|
|
2362
|
+
inventory: "inventory";
|
|
2363
|
+
promotions: "promotions";
|
|
2364
|
+
events: "events";
|
|
2365
|
+
settings: "settings";
|
|
2310
2366
|
auth: "auth";
|
|
2311
2367
|
core: "core";
|
|
2312
2368
|
guests: "guests";
|
|
2313
|
-
events: "events";
|
|
2314
|
-
inventory: "inventory";
|
|
2315
|
-
orders: "orders";
|
|
2316
2369
|
platform: "platform";
|
|
2317
|
-
promotions: "promotions";
|
|
2318
|
-
reservations: "reservations";
|
|
2319
|
-
settings: "settings";
|
|
2320
2370
|
venues: "venues";
|
|
2321
2371
|
}>;
|
|
2322
2372
|
readonly FeatureGate: zod.ZodEnum<{
|
|
2373
|
+
inbox: "inbox";
|
|
2374
|
+
reservations: "reservations";
|
|
2375
|
+
articles: "articles";
|
|
2376
|
+
inventory: "inventory";
|
|
2377
|
+
promotions: "promotions";
|
|
2378
|
+
vouchers: "vouchers";
|
|
2379
|
+
rolodex: "rolodex";
|
|
2380
|
+
letterhead: "letterhead";
|
|
2323
2381
|
"vanity-email": "vanity-email";
|
|
2324
2382
|
"vanity-mailbox": "vanity-mailbox";
|
|
2325
2383
|
"vanity-url": "vanity-url";
|
|
2384
|
+
"venue-dashboard": "venue-dashboard";
|
|
2385
|
+
"order-management": "order-management";
|
|
2386
|
+
"menu-builder": "menu-builder";
|
|
2387
|
+
"event-management": "event-management";
|
|
2388
|
+
"private-parties": "private-parties";
|
|
2389
|
+
"event-series": "event-series";
|
|
2390
|
+
"document-hub": "document-hub";
|
|
2391
|
+
"team-management": "team-management";
|
|
2392
|
+
"developer-api": "developer-api";
|
|
2326
2393
|
}>;
|
|
2327
2394
|
readonly FeatureImage: zod.ZodObject<{
|
|
2328
2395
|
id: zod.ZodString;
|
|
@@ -2384,6 +2451,7 @@ declare const schemas: {
|
|
|
2384
2451
|
publishedAt: zod.ZodNullable<zod.ZodAny>;
|
|
2385
2452
|
pushedKeywords: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>>;
|
|
2386
2453
|
dailyBudget: zod.ZodNullable<zod.ZodInt>;
|
|
2454
|
+
suspendedAt: zod.ZodNullable<zod.ZodAny>;
|
|
2387
2455
|
createdBy: zod.ZodNullable<zod.ZodString>;
|
|
2388
2456
|
updatedBy: zod.ZodNullable<zod.ZodString>;
|
|
2389
2457
|
createdAt: zod.ZodNullable<zod.ZodAny>;
|
|
@@ -2435,6 +2503,7 @@ declare const schemas: {
|
|
|
2435
2503
|
publishedAt: zod.ZodNullable<zod.ZodAny>;
|
|
2436
2504
|
pushedKeywords: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>>;
|
|
2437
2505
|
dailyBudget: zod.ZodNullable<zod.ZodInt>;
|
|
2506
|
+
suspendedAt: zod.ZodNullable<zod.ZodAny>;
|
|
2438
2507
|
createdBy: zod.ZodNullable<zod.ZodString>;
|
|
2439
2508
|
updatedBy: zod.ZodNullable<zod.ZodString>;
|
|
2440
2509
|
createdAt: zod.ZodNullable<zod.ZodAny>;
|
|
@@ -3271,7 +3340,14 @@ declare const schemas: {
|
|
|
3271
3340
|
EUR: "EUR";
|
|
3272
3341
|
CHF: "CHF";
|
|
3273
3342
|
}>;
|
|
3274
|
-
|
|
3343
|
+
vatCategory: zod.ZodEnum<{
|
|
3344
|
+
standard: "standard";
|
|
3345
|
+
reduced: "reduced";
|
|
3346
|
+
second_reduced: "second_reduced";
|
|
3347
|
+
super_reduced: "super_reduced";
|
|
3348
|
+
accommodation: "accommodation";
|
|
3349
|
+
zero_rated: "zero_rated";
|
|
3350
|
+
}>;
|
|
3275
3351
|
isActive: zod.ZodBoolean;
|
|
3276
3352
|
sortIndex: zod.ZodNullable<zod.ZodString>;
|
|
3277
3353
|
depositwareTemplateId: zod.ZodNullable<zod.ZodString>;
|
|
@@ -4829,6 +4905,9 @@ declare const schemas: {
|
|
|
4829
4905
|
"venue:update": "venue:update";
|
|
4830
4906
|
"venue:transfer": "venue:transfer";
|
|
4831
4907
|
"venue:view": "venue:view";
|
|
4908
|
+
"sales:view": "sales:view";
|
|
4909
|
+
"sales:manage": "sales:manage";
|
|
4910
|
+
"sales:view-all": "sales:view-all";
|
|
4832
4911
|
}>;
|
|
4833
4912
|
readonly PlaceOrderRequest: zod.ZodObject<{
|
|
4834
4913
|
venueAccessor: zod.ZodString;
|
|
@@ -4863,9 +4942,6 @@ declare const schemas: {
|
|
|
4863
4942
|
CHF: "CHF";
|
|
4864
4943
|
}>;
|
|
4865
4944
|
}, zod_v4_core.$strip>;
|
|
4866
|
-
readonly PlatformRole: zod.ZodEnum<{
|
|
4867
|
-
platform_maintainer: "platform_maintainer";
|
|
4868
|
-
}>;
|
|
4869
4945
|
readonly PositionCenter: zod.ZodEnum<{
|
|
4870
4946
|
center: "center";
|
|
4871
4947
|
}>;
|
|
@@ -5092,6 +5168,34 @@ declare const schemas: {
|
|
|
5092
5168
|
curated: "curated";
|
|
5093
5169
|
authored: "authored";
|
|
5094
5170
|
}>;
|
|
5171
|
+
readonly SalesAccountSegment: zod.ZodEnum<{
|
|
5172
|
+
solo: "solo";
|
|
5173
|
+
small: "small";
|
|
5174
|
+
mid_market: "mid_market";
|
|
5175
|
+
enterprise: "enterprise";
|
|
5176
|
+
}>;
|
|
5177
|
+
readonly SalesAccountSource: zod.ZodEnum<{
|
|
5178
|
+
event: "event";
|
|
5179
|
+
partner: "partner";
|
|
5180
|
+
outbound: "outbound";
|
|
5181
|
+
inbound: "inbound";
|
|
5182
|
+
referral: "referral";
|
|
5183
|
+
}>;
|
|
5184
|
+
readonly SalesActivityType: zod.ZodEnum<{
|
|
5185
|
+
email: "email";
|
|
5186
|
+
note: "note";
|
|
5187
|
+
call: "call";
|
|
5188
|
+
meeting: "meeting";
|
|
5189
|
+
stage_change: "stage_change";
|
|
5190
|
+
value_change: "value_change";
|
|
5191
|
+
owner_change: "owner_change";
|
|
5192
|
+
close_day_change: "close_day_change";
|
|
5193
|
+
link_click: "link_click";
|
|
5194
|
+
}>;
|
|
5195
|
+
readonly SalesMailTemplateType: zod.ZodEnum<{
|
|
5196
|
+
demo: "demo";
|
|
5197
|
+
general: "general";
|
|
5198
|
+
}>;
|
|
5095
5199
|
readonly SaveAdCalloutsRequest: zod.ZodObject<{
|
|
5096
5200
|
venueAccessor: zod.ZodString;
|
|
5097
5201
|
adId: zod.ZodString;
|
|
@@ -5135,6 +5239,35 @@ declare const schemas: {
|
|
|
5135
5239
|
success: zod.ZodBoolean;
|
|
5136
5240
|
websitePageIds: zod.ZodArray<zod.ZodString>;
|
|
5137
5241
|
}, zod_v4_core.$strip>;
|
|
5242
|
+
readonly SaveMenuItemsRequest: zod.ZodObject<{
|
|
5243
|
+
menuId: zod.ZodString;
|
|
5244
|
+
items: zod.ZodArray<zod.ZodObject<{
|
|
5245
|
+
id: zod.ZodString;
|
|
5246
|
+
type: zod.ZodEnum<{
|
|
5247
|
+
dish: "dish";
|
|
5248
|
+
beverage: "beverage";
|
|
5249
|
+
}>;
|
|
5250
|
+
price: zod.ZodObject<{
|
|
5251
|
+
amount: zod.ZodNumber;
|
|
5252
|
+
currency: zod.ZodEnum<{
|
|
5253
|
+
EUR: "EUR";
|
|
5254
|
+
CHF: "CHF";
|
|
5255
|
+
}>;
|
|
5256
|
+
}, zod_v4_core.$strip>;
|
|
5257
|
+
vatCategory: zod.ZodEnum<{
|
|
5258
|
+
standard: "standard";
|
|
5259
|
+
reduced: "reduced";
|
|
5260
|
+
second_reduced: "second_reduced";
|
|
5261
|
+
super_reduced: "super_reduced";
|
|
5262
|
+
accommodation: "accommodation";
|
|
5263
|
+
zero_rated: "zero_rated";
|
|
5264
|
+
}>;
|
|
5265
|
+
}, zod_v4_core.$strip>>;
|
|
5266
|
+
venueAccessor: zod.ZodString;
|
|
5267
|
+
}, zod_v4_core.$strip>;
|
|
5268
|
+
readonly SaveMenuItemsResponse: zod.ZodObject<{
|
|
5269
|
+
success: zod.ZodBoolean;
|
|
5270
|
+
}, zod_v4_core.$strip>;
|
|
5138
5271
|
readonly ScanTokenEntityType: zod.ZodEnum<{
|
|
5139
5272
|
order: "order";
|
|
5140
5273
|
depositware: "depositware";
|
|
@@ -5360,6 +5493,7 @@ declare const schemas: {
|
|
|
5360
5493
|
publishedAt: zod.ZodNullable<zod.ZodAny>;
|
|
5361
5494
|
pushedKeywords: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>>;
|
|
5362
5495
|
dailyBudget: zod.ZodNullable<zod.ZodInt>;
|
|
5496
|
+
suspendedAt: zod.ZodNullable<zod.ZodAny>;
|
|
5363
5497
|
createdBy: zod.ZodNullable<zod.ZodString>;
|
|
5364
5498
|
updatedBy: zod.ZodNullable<zod.ZodString>;
|
|
5365
5499
|
createdAt: zod.ZodNullable<zod.ZodAny>;
|
|
@@ -6423,6 +6557,14 @@ declare const schemas: {
|
|
|
6423
6557
|
warning: "warning";
|
|
6424
6558
|
danger: "danger";
|
|
6425
6559
|
}>;
|
|
6560
|
+
readonly VatRateCategory: zod.ZodEnum<{
|
|
6561
|
+
standard: "standard";
|
|
6562
|
+
reduced: "reduced";
|
|
6563
|
+
second_reduced: "second_reduced";
|
|
6564
|
+
super_reduced: "super_reduced";
|
|
6565
|
+
accommodation: "accommodation";
|
|
6566
|
+
zero_rated: "zero_rated";
|
|
6567
|
+
}>;
|
|
6426
6568
|
readonly VenueAssetType: zod.ZodEnum<{
|
|
6427
6569
|
icon: "icon";
|
|
6428
6570
|
logomark: "logomark";
|