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.
@@ -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
- taxRateId: zod.ZodString;
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";
package/dist/schemas.mjs CHANGED
@@ -404,6 +404,15 @@ const cancelTeamOrderResponseSchema = z.object({
404
404
  cancelledAt: z.iso.datetime()
405
405
  });
406
406
 
407
+ const cancellationFeedbackReasonSchema = z.enum([
408
+ "too_expensive",
409
+ "missing_feature",
410
+ "too_complicated",
411
+ "switched_provider",
412
+ "no_longer_needed",
413
+ "other"
414
+ ]);
415
+
407
416
  const cancellationReasonSchema = z.enum([
408
417
  "guest_request",
409
418
  "restaurant_request"
@@ -572,6 +581,7 @@ const createAdResponseSchema = z.object({
572
581
  ])
573
582
  ),
574
583
  dailyBudget: z.nullable(z.int().min(-2147483648).max(2147483647)),
584
+ suspendedAt: z.nullable(z.any()),
575
585
  createdBy: z.nullable(z.string()),
576
586
  updatedBy: z.nullable(z.string()),
577
587
  createdAt: z.nullable(z.any()),
@@ -931,6 +941,18 @@ const dayOfWeekSchema = z.enum([
931
941
  "sunday"
932
942
  ]);
933
943
 
944
+ const dealStageSchema = z.enum([
945
+ "identified",
946
+ "contacted",
947
+ "engaged",
948
+ "demo",
949
+ "offer",
950
+ "won",
951
+ "lost"
952
+ ]);
953
+
954
+ const dealValueSourceSchema = z.enum(["pricing", "manual"]);
955
+
934
956
  const deleteAdResponseSchema = z.object({
935
957
  id: z.string(),
936
958
  venueId: z.string(),
@@ -1032,6 +1054,7 @@ const deleteAdResponseSchema = z.object({
1032
1054
  ])
1033
1055
  ),
1034
1056
  dailyBudget: z.nullable(z.int().min(-2147483648).max(2147483647)),
1057
+ suspendedAt: z.nullable(z.any()),
1035
1058
  createdBy: z.nullable(z.string()),
1036
1059
  updatedBy: z.nullable(z.string()),
1037
1060
  createdAt: z.nullable(z.any()),
@@ -1135,6 +1158,33 @@ const deleteWebsitePageResponseSchema = z.object({
1135
1158
  archivedBy: z.nullable(z.string())
1136
1159
  });
1137
1160
 
1161
+ const demoAreaSchema = z.enum([
1162
+ "dashboard",
1163
+ "orders",
1164
+ "reservations",
1165
+ "menus",
1166
+ "articles",
1167
+ "inventory",
1168
+ "promotions",
1169
+ "vouchers",
1170
+ "events",
1171
+ "privateParties",
1172
+ "eventSeries",
1173
+ "documents",
1174
+ "inbox",
1175
+ "rolodex",
1176
+ "letterhead",
1177
+ "settings",
1178
+ "other"
1179
+ ]);
1180
+
1181
+ const demoStatusSchema = z.enum([
1182
+ "generating",
1183
+ "ready",
1184
+ "failed",
1185
+ "expired"
1186
+ ]);
1187
+
1138
1188
  const depositTransactionTypeSchema = z.enum([
1139
1189
  "charged",
1140
1190
  "refunded",
@@ -1372,6 +1422,7 @@ const editAdResponseSchema = z.object({
1372
1422
  ])
1373
1423
  ),
1374
1424
  dailyBudget: z.nullable(z.int().min(-2147483648).max(2147483647)),
1425
+ suspendedAt: z.nullable(z.any()),
1375
1426
  createdBy: z.nullable(z.string()),
1376
1427
  updatedBy: z.nullable(z.string()),
1377
1428
  createdAt: z.nullable(z.any()),
@@ -2045,6 +2096,7 @@ const editMetaAdResponseSchema = z.object({
2045
2096
  ])
2046
2097
  ),
2047
2098
  dailyBudget: z.nullable(z.int().min(-2147483648).max(2147483647)),
2099
+ suspendedAt: z.nullable(z.any()),
2048
2100
  createdBy: z.nullable(z.string()),
2049
2101
  updatedBy: z.nullable(z.string()),
2050
2102
  createdAt: z.nullable(z.any()),
@@ -2103,7 +2155,24 @@ const featureCategorySchema = z.enum([
2103
2155
  const featureGateSchema = z.enum([
2104
2156
  "vanity-email",
2105
2157
  "vanity-mailbox",
2106
- "vanity-url"
2158
+ "vanity-url",
2159
+ "venue-dashboard",
2160
+ "order-management",
2161
+ "reservations",
2162
+ "menu-builder",
2163
+ "articles",
2164
+ "inventory",
2165
+ "promotions",
2166
+ "vouchers",
2167
+ "event-management",
2168
+ "private-parties",
2169
+ "event-series",
2170
+ "document-hub",
2171
+ "inbox",
2172
+ "rolodex",
2173
+ "letterhead",
2174
+ "team-management",
2175
+ "developer-api"
2107
2176
  ]);
2108
2177
 
2109
2178
  const featureStatusSchema = z.enum([
@@ -2213,6 +2282,7 @@ const fetchAdResponseSchema = z.object({
2213
2282
  ])
2214
2283
  ),
2215
2284
  dailyBudget: z.nullable(z.int().min(-2147483648).max(2147483647)),
2285
+ suspendedAt: z.nullable(z.any()),
2216
2286
  createdBy: z.nullable(z.string()),
2217
2287
  updatedBy: z.nullable(z.string()),
2218
2288
  createdAt: z.nullable(z.any()),
@@ -2321,6 +2391,7 @@ const fetchAdsResponseSchema = z.array(
2321
2391
  ])
2322
2392
  ),
2323
2393
  dailyBudget: z.nullable(z.int().min(-2147483648).max(2147483647)),
2394
+ suspendedAt: z.nullable(z.any()),
2324
2395
  createdBy: z.nullable(z.string()),
2325
2396
  updatedBy: z.nullable(z.string()),
2326
2397
  createdAt: z.nullable(z.any()),
@@ -3129,6 +3200,15 @@ const fetchLatestOrderResponseSchema = z.object({
3129
3200
  )
3130
3201
  });
3131
3202
 
3203
+ const vatRateCategorySchema = z.enum([
3204
+ "standard",
3205
+ "reduced",
3206
+ "second_reduced",
3207
+ "super_reduced",
3208
+ "accommodation",
3209
+ "zero_rated"
3210
+ ]);
3211
+
3132
3212
  const fetchMenuBundlesResponseSchema = z.array(
3133
3213
  z.object({
3134
3214
  id: z.string(),
@@ -3146,7 +3226,9 @@ const fetchMenuBundlesResponseSchema = z.array(
3146
3226
  get currency() {
3147
3227
  return currencySchema;
3148
3228
  },
3149
- taxRateId: z.string(),
3229
+ get vatCategory() {
3230
+ return vatRateCategorySchema;
3231
+ },
3150
3232
  isActive: z.boolean(),
3151
3233
  sortIndex: z.nullable(z.string()),
3152
3234
  depositwareTemplateId: z.nullable(z.string()),
@@ -4687,7 +4769,10 @@ const permissionSchema = z.enum([
4687
4769
  "venue:manage-payments",
4688
4770
  "venue:update",
4689
4771
  "venue:transfer",
4690
- "venue:view"
4772
+ "venue:view",
4773
+ "sales:view",
4774
+ "sales:manage",
4775
+ "sales:view-all"
4691
4776
  ]);
4692
4777
 
4693
4778
  const placeOrderRequestSchema = z.object({
@@ -4727,8 +4812,6 @@ const placeOrderResponseSchema = z.object({
4727
4812
  }
4728
4813
  });
4729
4814
 
4730
- const platformRoleSchema = z.enum(["platform_maintainer"]);
4731
-
4732
4815
  const positionCenterSchema = z.enum(["center"]);
4733
4816
 
4734
4817
  const positionCornerSchema = z.enum([
@@ -4891,6 +4974,35 @@ const roleSchema = z.enum([
4891
4974
 
4892
4975
  const roleTypeSchema = z.enum(["curated", "authored"]);
4893
4976
 
4977
+ const salesAccountSegmentSchema = z.enum([
4978
+ "solo",
4979
+ "small",
4980
+ "mid_market",
4981
+ "enterprise"
4982
+ ]);
4983
+
4984
+ const salesAccountSourceSchema = z.enum([
4985
+ "outbound",
4986
+ "inbound",
4987
+ "referral",
4988
+ "event",
4989
+ "partner"
4990
+ ]);
4991
+
4992
+ const salesActivityTypeSchema = z.enum([
4993
+ "note",
4994
+ "call",
4995
+ "email",
4996
+ "meeting",
4997
+ "stage_change",
4998
+ "value_change",
4999
+ "owner_change",
5000
+ "close_day_change",
5001
+ "link_click"
5002
+ ]);
5003
+
5004
+ const salesMailTemplateTypeSchema = z.enum(["general", "demo"]);
5005
+
4894
5006
  const saveAdCalloutsRequestSchema = z.object({
4895
5007
  venueAccessor: z.string().min(1),
4896
5008
  adId: z.string().min(1),
@@ -4942,6 +5054,32 @@ const saveAdWebsitePagesResponseSchema = z.object({
4942
5054
  websitePageIds: z.array(z.string())
4943
5055
  });
4944
5056
 
5057
+ const saveMenuItemsRequestSchema = z.object({
5058
+ menuId: z.string(),
5059
+ items: z.array(
5060
+ z.object({
5061
+ id: z.string(),
5062
+ get type() {
5063
+ return menuItemTypeSchema;
5064
+ },
5065
+ price: z.object({
5066
+ amount: z.number(),
5067
+ get currency() {
5068
+ return currencySchema;
5069
+ }
5070
+ }),
5071
+ get vatCategory() {
5072
+ return vatRateCategorySchema;
5073
+ }
5074
+ })
5075
+ ),
5076
+ venueAccessor: z.string().min(1)
5077
+ });
5078
+
5079
+ const saveMenuItemsResponseSchema = z.object({
5080
+ success: z.boolean()
5081
+ });
5082
+
4945
5083
  const scanTokenEntityTypeSchema = z.enum(["order", "depositware"]);
4946
5084
 
4947
5085
  const scheduleOverrideModeSchema = z.enum(["closed", "deviating"]);
@@ -5070,6 +5208,7 @@ const setAdBudgetResponseSchema = z.object({
5070
5208
  ])
5071
5209
  ),
5072
5210
  dailyBudget: z.nullable(z.int().min(-2147483648).max(2147483647)),
5211
+ suspendedAt: z.nullable(z.any()),
5073
5212
  createdBy: z.nullable(z.string()),
5074
5213
  updatedBy: z.nullable(z.string()),
5075
5214
  createdAt: z.nullable(z.any()),
@@ -5688,6 +5827,7 @@ const schemas = {
5688
5827
  CancelSubscriptionResponse: cancelSubscriptionResponseSchema,
5689
5828
  CancelTeamOrderRequest: cancelTeamOrderRequestSchema,
5690
5829
  CancelTeamOrderResponse: cancelTeamOrderResponseSchema,
5830
+ CancellationFeedbackReason: cancellationFeedbackReasonSchema,
5691
5831
  CancellationReason: cancellationReasonSchema,
5692
5832
  ChatChannelType: chatChannelTypeSchema,
5693
5833
  ChatMemberRole: chatMemberRoleSchema,
@@ -5717,12 +5857,16 @@ const schemas = {
5717
5857
  CreateWebsitePageResponse: createWebsitePageResponseSchema,
5718
5858
  Currency: currencySchema,
5719
5859
  DayOfWeek: dayOfWeekSchema,
5860
+ DealStage: dealStageSchema,
5861
+ DealValueSource: dealValueSourceSchema,
5720
5862
  DeleteAdResponse: deleteAdResponseSchema,
5721
5863
  DeleteAssetResponse: deleteAssetResponseSchema,
5722
5864
  DeleteCalloutResponse: deleteCalloutResponseSchema,
5723
5865
  DeleteEventResponse: deleteEventResponseSchema,
5724
5866
  DeleteWebsitePageResponse: deleteWebsitePageResponseSchema,
5725
5867
  DeliveryAddress: deliveryAddressSchema,
5868
+ DemoArea: demoAreaSchema,
5869
+ DemoStatus: demoStatusSchema,
5726
5870
  DepositTransactionType: depositTransactionTypeSchema,
5727
5871
  DepositwareStatus: depositwareStatusSchema,
5728
5872
  Direction: directionSchema,
@@ -5854,7 +5998,6 @@ const schemas = {
5854
5998
  Permission: permissionSchema,
5855
5999
  PlaceOrderRequest: placeOrderRequestSchema,
5856
6000
  PlaceOrderResponse: placeOrderResponseSchema,
5857
- PlatformRole: platformRoleSchema,
5858
6001
  PositionCenter: positionCenterSchema,
5859
6002
  PositionCorner: positionCornerSchema,
5860
6003
  PositionEdge: positionEdgeSchema,
@@ -5891,6 +6034,10 @@ const schemas = {
5891
6034
  RitualType: ritualTypeSchema,
5892
6035
  Role: roleSchema,
5893
6036
  RoleType: roleTypeSchema,
6037
+ SalesAccountSegment: salesAccountSegmentSchema,
6038
+ SalesAccountSource: salesAccountSourceSchema,
6039
+ SalesActivityType: salesActivityTypeSchema,
6040
+ SalesMailTemplateType: salesMailTemplateTypeSchema,
5894
6041
  SaveAdCalloutsRequest: saveAdCalloutsRequestSchema,
5895
6042
  SaveAdCalloutsResponse: saveAdCalloutsResponseSchema,
5896
6043
  SaveAdKeywordsRequest: saveAdKeywordsRequestSchema,
@@ -5899,6 +6046,8 @@ const schemas = {
5899
6046
  SaveAdNegativeKeywordsResponse: saveAdNegativeKeywordsResponseSchema,
5900
6047
  SaveAdWebsitePagesRequest: saveAdWebsitePagesRequestSchema,
5901
6048
  SaveAdWebsitePagesResponse: saveAdWebsitePagesResponseSchema,
6049
+ SaveMenuItemsRequest: saveMenuItemsRequestSchema,
6050
+ SaveMenuItemsResponse: saveMenuItemsResponseSchema,
5902
6051
  ScanTokenEntityType: scanTokenEntityTypeSchema,
5903
6052
  ScheduleOverrideMode: scheduleOverrideModeSchema,
5904
6053
  ScheduleOverride: scheduleOverrideSchema,
@@ -5947,6 +6096,7 @@ const schemas = {
5947
6096
  UpdateWebsitePageResponse: updateWebsitePageResponseSchema,
5948
6097
  UploadAssetResponse: uploadAssetResponseSchema,
5949
6098
  Variant: variantSchema,
6099
+ VatRateCategory: vatRateCategorySchema,
5950
6100
  VenueAssetType: venueAssetTypeSchema,
5951
6101
  VenueDomainAddressPurpose: venueDomainAddressPurposeSchema,
5952
6102
  VenueDomainStatus: venueDomainStatusSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "order3000",
3
- "version": "2.2.5",
3
+ "version": "2.3.0",
4
4
  "description": "order3000 node.js sdk",
5
5
  "main": "./dist/client.cjs",
6
6
  "module": "./dist/client.mjs",
@@ -67,7 +67,7 @@
67
67
  "prettier": "^3.7.4",
68
68
  "tsx": "^4.19.2",
69
69
  "typescript": "^5.9.3",
70
- "@kolaveri/eslint-config": "1.27.0",
70
+ "@kolaveri/eslint-config": "1.29.0",
71
71
  "@kolaveri/prettier-config": "1.0.6",
72
72
  "@kolaveri/tsconfig": "1.0.1"
73
73
  },