order3000 2.2.3 → 2.2.5

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/menu.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { ay as MenuItem } from './index-DvTqOMWP.cjs';
1
+ import { ay as MenuItem } from './index-ChIpruKt.cjs';
2
2
 
3
3
  /**
4
4
  * order3000 lunch-menu availability — the per-item rotation logic, provided by
package/dist/menu.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { ay as MenuItem } from './index-DvTqOMWP.mjs';
1
+ import { ay as MenuItem } from './index-ChIpruKt.mjs';
2
2
 
3
3
  /**
4
4
  * order3000 lunch-menu availability — the per-item rotation logic, provided by
package/dist/schemas.cjs CHANGED
@@ -370,8 +370,6 @@ const beverageCategorySchema = v4.z.enum([
370
370
 
371
371
  const billingIntervalSchema = v4.z.enum(["month", "year"]);
372
372
 
373
- const billingModeSchema = v4.z.enum(["single_anchor", "split"]);
374
-
375
373
  const bookingChannelSchema = v4.z.enum(["reservation", "order"]);
376
374
 
377
375
  const bookletSectionInputSchema = v4.z.object({
@@ -413,8 +411,6 @@ const cancellationReasonSchema = v4.z.enum([
413
411
  "restaurant_request"
414
412
  ]);
415
413
 
416
- const chargeTypeSchema = v4.z.enum(["base", "addon"]);
417
-
418
414
  const chatChannelTypeSchema = v4.z.enum([
419
415
  "team",
420
416
  "direct",
@@ -3766,6 +3762,7 @@ const fetchTeamOrderResponseSchema = v4.z.object({
3766
3762
  diningLocation: v4.z.nullable(v4.z.string()),
3767
3763
  diningTime: v4.z.nullable(v4.z.string()),
3768
3764
  isDeliveryEnabled: v4.z.boolean(),
3765
+ isVenueAcceptingOrders: v4.z.boolean(),
3769
3766
  quickReferenceNumber: v4.z.nullable(
3770
3767
  v4.z.int().min(-9007199254740991).max(9007199254740991)
3771
3768
  )
@@ -4548,6 +4545,10 @@ const metaIntegrationStatusSchema = v4.z.enum([
4548
4545
 
4549
4546
  const metaServingTargetStatusSchema = v4.z.enum(["ACTIVE", "PAUSED"]);
4550
4547
 
4548
+ const moduleScopeSchema = v4.z.enum(["account", "tenant"]);
4549
+
4550
+ const onboardingCardSchema = v4.z.enum(["own_domain"]);
4551
+
4551
4552
  const orientationSchema = v4.z.enum(["vertical", "horizontal"]);
4552
4553
 
4553
4554
  const partyGenderSchema = v4.z.enum(["male", "female", "neutral"]);
@@ -5614,7 +5615,12 @@ const venueAssetTypeSchema = v4.z.enum([
5614
5615
  "icon"
5615
5616
  ]);
5616
5617
 
5617
- const venueEmailSenderStatusSchema = v4.z.enum([
5618
+ const venueDomainAddressPurposeSchema = v4.z.enum([
5619
+ "reservations",
5620
+ "contact"
5621
+ ]);
5622
+
5623
+ const venueDomainStatusSchema = v4.z.enum([
5618
5624
  "pending",
5619
5625
  "verified",
5620
5626
  "failed",
@@ -5636,7 +5642,9 @@ const wizardKeySchema = v4.z.enum([
5636
5642
  "ads-dish-explainer-v1",
5637
5643
  "ads-beverage-explainer-v1",
5638
5644
  "settings-bank-accounts-v1",
5639
- "settings-brand-icons-v1"
5645
+ "settings-brand-icons-v1",
5646
+ "settings-own-domains-v1",
5647
+ "settings-own-email-addresses-v1"
5640
5648
  ]);
5641
5649
 
5642
5650
  const schemas = {
@@ -5675,7 +5683,6 @@ const schemas = {
5675
5683
  BasketTotals: basketTotalsSchema,
5676
5684
  BeverageCategory: beverageCategorySchema,
5677
5685
  BillingInterval: billingIntervalSchema,
5678
- BillingMode: billingModeSchema,
5679
5686
  BookingChannel: bookingChannelSchema,
5680
5687
  BookletSectionInput: bookletSectionInputSchema,
5681
5688
  CampaignControlReason: campaignControlReasonSchema,
@@ -5684,7 +5691,6 @@ const schemas = {
5684
5691
  CancelTeamOrderRequest: cancelTeamOrderRequestSchema,
5685
5692
  CancelTeamOrderResponse: cancelTeamOrderResponseSchema,
5686
5693
  CancellationReason: cancellationReasonSchema,
5687
- ChargeType: chargeTypeSchema,
5688
5694
  ChatChannelType: chatChannelTypeSchema,
5689
5695
  ChatMemberRole: chatMemberRoleSchema,
5690
5696
  ComposeMenuPublicationBookletRequest: composeMenuPublicationBookletRequestSchema,
@@ -5833,8 +5839,10 @@ const schemas = {
5833
5839
  MetaInsightsDatePreset: metaInsightsDatePresetSchema,
5834
5840
  MetaIntegrationStatus: metaIntegrationStatusSchema,
5835
5841
  MetaServingTargetStatus: metaServingTargetStatusSchema,
5842
+ ModuleScope: moduleScopeSchema,
5836
5843
  OccupancyReason: occupancyReasonSchema,
5837
5844
  OgImage: ogImageSchema,
5845
+ OnboardingCard: onboardingCardSchema,
5838
5846
  OrderStatus: orderStatusSchema,
5839
5847
  Orientation: orientationSchema,
5840
5848
  ParticipantStatus: deliveryAddressSchema.participantStatusSchema,
@@ -5942,7 +5950,8 @@ const schemas = {
5942
5950
  UploadAssetResponse: uploadAssetResponseSchema,
5943
5951
  Variant: variantSchema,
5944
5952
  VenueAssetType: venueAssetTypeSchema,
5945
- VenueEmailSenderStatus: venueEmailSenderStatusSchema,
5953
+ VenueDomainAddressPurpose: venueDomainAddressPurposeSchema,
5954
+ VenueDomainStatus: venueDomainStatusSchema,
5946
5955
  VenueType: venueTypeSchema,
5947
5956
  VenueUserStatus: venueUserStatusSchema,
5948
5957
  WebsitePageOwnerType: websitePageOwnerTypeSchema,
@@ -345,10 +345,6 @@ declare const schemas: {
345
345
  month: "month";
346
346
  year: "year";
347
347
  }>;
348
- readonly BillingMode: zod.ZodEnum<{
349
- single_anchor: "single_anchor";
350
- split: "split";
351
- }>;
352
348
  readonly BookingChannel: zod.ZodEnum<{
353
349
  reservation: "reservation";
354
350
  order: "order";
@@ -391,10 +387,6 @@ declare const schemas: {
391
387
  guest_request: "guest_request";
392
388
  restaurant_request: "restaurant_request";
393
389
  }>;
394
- readonly ChargeType: zod.ZodEnum<{
395
- base: "base";
396
- addon: "addon";
397
- }>;
398
390
  readonly ChatChannelType: zod.ZodEnum<{
399
391
  team: "team";
400
392
  direct: "direct";
@@ -3794,6 +3786,7 @@ declare const schemas: {
3794
3786
  diningLocation: zod.ZodNullable<zod.ZodString>;
3795
3787
  diningTime: zod.ZodNullable<zod.ZodString>;
3796
3788
  isDeliveryEnabled: zod.ZodBoolean;
3789
+ isVenueAcceptingOrders: zod.ZodBoolean;
3797
3790
  quickReferenceNumber: zod.ZodNullable<zod.ZodInt>;
3798
3791
  }, zod_v4_core.$strip>;
3799
3792
  deliveryThreshold: zod.ZodObject<{
@@ -4645,6 +4638,10 @@ declare const schemas: {
4645
4638
  ACTIVE: "ACTIVE";
4646
4639
  PAUSED: "PAUSED";
4647
4640
  }>;
4641
+ readonly ModuleScope: zod.ZodEnum<{
4642
+ account: "account";
4643
+ tenant: "tenant";
4644
+ }>;
4648
4645
  readonly OccupancyReason: zod.ZodEnum<{
4649
4646
  ok: "ok";
4650
4647
  tables: "tables";
@@ -4657,6 +4654,9 @@ declare const schemas: {
4657
4654
  publicUrl: zod.ZodNullable<zod.ZodString>;
4658
4655
  locale: zod.ZodString;
4659
4656
  }, zod_v4_core.$strip>;
4657
+ readonly OnboardingCard: zod.ZodEnum<{
4658
+ own_domain: "own_domain";
4659
+ }>;
4660
4660
  readonly OrderStatus: zod.ZodEnum<{
4661
4661
  pending: "pending";
4662
4662
  ready: "ready";
@@ -6430,7 +6430,11 @@ declare const schemas: {
6430
6430
  combinationmark_horizontal: "combinationmark_horizontal";
6431
6431
  combinationmark_vertical: "combinationmark_vertical";
6432
6432
  }>;
6433
- readonly VenueEmailSenderStatus: zod.ZodEnum<{
6433
+ readonly VenueDomainAddressPurpose: zod.ZodEnum<{
6434
+ reservations: "reservations";
6435
+ contact: "contact";
6436
+ }>;
6437
+ readonly VenueDomainStatus: zod.ZodEnum<{
6434
6438
  pending: "pending";
6435
6439
  verified: "verified";
6436
6440
  failed: "failed";
@@ -6463,6 +6467,8 @@ declare const schemas: {
6463
6467
  "ads-beverage-explainer-v1": "ads-beverage-explainer-v1";
6464
6468
  "settings-bank-accounts-v1": "settings-bank-accounts-v1";
6465
6469
  "settings-brand-icons-v1": "settings-brand-icons-v1";
6470
+ "settings-own-domains-v1": "settings-own-domains-v1";
6471
+ "settings-own-email-addresses-v1": "settings-own-email-addresses-v1";
6466
6472
  }>;
6467
6473
  };
6468
6474
 
@@ -345,10 +345,6 @@ declare const schemas: {
345
345
  month: "month";
346
346
  year: "year";
347
347
  }>;
348
- readonly BillingMode: zod.ZodEnum<{
349
- single_anchor: "single_anchor";
350
- split: "split";
351
- }>;
352
348
  readonly BookingChannel: zod.ZodEnum<{
353
349
  reservation: "reservation";
354
350
  order: "order";
@@ -391,10 +387,6 @@ declare const schemas: {
391
387
  guest_request: "guest_request";
392
388
  restaurant_request: "restaurant_request";
393
389
  }>;
394
- readonly ChargeType: zod.ZodEnum<{
395
- base: "base";
396
- addon: "addon";
397
- }>;
398
390
  readonly ChatChannelType: zod.ZodEnum<{
399
391
  team: "team";
400
392
  direct: "direct";
@@ -3794,6 +3786,7 @@ declare const schemas: {
3794
3786
  diningLocation: zod.ZodNullable<zod.ZodString>;
3795
3787
  diningTime: zod.ZodNullable<zod.ZodString>;
3796
3788
  isDeliveryEnabled: zod.ZodBoolean;
3789
+ isVenueAcceptingOrders: zod.ZodBoolean;
3797
3790
  quickReferenceNumber: zod.ZodNullable<zod.ZodInt>;
3798
3791
  }, zod_v4_core.$strip>;
3799
3792
  deliveryThreshold: zod.ZodObject<{
@@ -4645,6 +4638,10 @@ declare const schemas: {
4645
4638
  ACTIVE: "ACTIVE";
4646
4639
  PAUSED: "PAUSED";
4647
4640
  }>;
4641
+ readonly ModuleScope: zod.ZodEnum<{
4642
+ account: "account";
4643
+ tenant: "tenant";
4644
+ }>;
4648
4645
  readonly OccupancyReason: zod.ZodEnum<{
4649
4646
  ok: "ok";
4650
4647
  tables: "tables";
@@ -4657,6 +4654,9 @@ declare const schemas: {
4657
4654
  publicUrl: zod.ZodNullable<zod.ZodString>;
4658
4655
  locale: zod.ZodString;
4659
4656
  }, zod_v4_core.$strip>;
4657
+ readonly OnboardingCard: zod.ZodEnum<{
4658
+ own_domain: "own_domain";
4659
+ }>;
4660
4660
  readonly OrderStatus: zod.ZodEnum<{
4661
4661
  pending: "pending";
4662
4662
  ready: "ready";
@@ -6430,7 +6430,11 @@ declare const schemas: {
6430
6430
  combinationmark_horizontal: "combinationmark_horizontal";
6431
6431
  combinationmark_vertical: "combinationmark_vertical";
6432
6432
  }>;
6433
- readonly VenueEmailSenderStatus: zod.ZodEnum<{
6433
+ readonly VenueDomainAddressPurpose: zod.ZodEnum<{
6434
+ reservations: "reservations";
6435
+ contact: "contact";
6436
+ }>;
6437
+ readonly VenueDomainStatus: zod.ZodEnum<{
6434
6438
  pending: "pending";
6435
6439
  verified: "verified";
6436
6440
  failed: "failed";
@@ -6463,6 +6467,8 @@ declare const schemas: {
6463
6467
  "ads-beverage-explainer-v1": "ads-beverage-explainer-v1";
6464
6468
  "settings-bank-accounts-v1": "settings-bank-accounts-v1";
6465
6469
  "settings-brand-icons-v1": "settings-brand-icons-v1";
6470
+ "settings-own-domains-v1": "settings-own-domains-v1";
6471
+ "settings-own-email-addresses-v1": "settings-own-email-addresses-v1";
6466
6472
  }>;
6467
6473
  };
6468
6474
 
package/dist/schemas.mjs CHANGED
@@ -368,8 +368,6 @@ const beverageCategorySchema = z.enum([
368
368
 
369
369
  const billingIntervalSchema = z.enum(["month", "year"]);
370
370
 
371
- const billingModeSchema = z.enum(["single_anchor", "split"]);
372
-
373
371
  const bookingChannelSchema = z.enum(["reservation", "order"]);
374
372
 
375
373
  const bookletSectionInputSchema = z.object({
@@ -411,8 +409,6 @@ const cancellationReasonSchema = z.enum([
411
409
  "restaurant_request"
412
410
  ]);
413
411
 
414
- const chargeTypeSchema = z.enum(["base", "addon"]);
415
-
416
412
  const chatChannelTypeSchema = z.enum([
417
413
  "team",
418
414
  "direct",
@@ -3764,6 +3760,7 @@ const fetchTeamOrderResponseSchema = z.object({
3764
3760
  diningLocation: z.nullable(z.string()),
3765
3761
  diningTime: z.nullable(z.string()),
3766
3762
  isDeliveryEnabled: z.boolean(),
3763
+ isVenueAcceptingOrders: z.boolean(),
3767
3764
  quickReferenceNumber: z.nullable(
3768
3765
  z.int().min(-9007199254740991).max(9007199254740991)
3769
3766
  )
@@ -4546,6 +4543,10 @@ const metaIntegrationStatusSchema = z.enum([
4546
4543
 
4547
4544
  const metaServingTargetStatusSchema = z.enum(["ACTIVE", "PAUSED"]);
4548
4545
 
4546
+ const moduleScopeSchema = z.enum(["account", "tenant"]);
4547
+
4548
+ const onboardingCardSchema = z.enum(["own_domain"]);
4549
+
4549
4550
  const orientationSchema = z.enum(["vertical", "horizontal"]);
4550
4551
 
4551
4552
  const partyGenderSchema = z.enum(["male", "female", "neutral"]);
@@ -5612,7 +5613,12 @@ const venueAssetTypeSchema = z.enum([
5612
5613
  "icon"
5613
5614
  ]);
5614
5615
 
5615
- const venueEmailSenderStatusSchema = z.enum([
5616
+ const venueDomainAddressPurposeSchema = z.enum([
5617
+ "reservations",
5618
+ "contact"
5619
+ ]);
5620
+
5621
+ const venueDomainStatusSchema = z.enum([
5616
5622
  "pending",
5617
5623
  "verified",
5618
5624
  "failed",
@@ -5634,7 +5640,9 @@ const wizardKeySchema = z.enum([
5634
5640
  "ads-dish-explainer-v1",
5635
5641
  "ads-beverage-explainer-v1",
5636
5642
  "settings-bank-accounts-v1",
5637
- "settings-brand-icons-v1"
5643
+ "settings-brand-icons-v1",
5644
+ "settings-own-domains-v1",
5645
+ "settings-own-email-addresses-v1"
5638
5646
  ]);
5639
5647
 
5640
5648
  const schemas = {
@@ -5673,7 +5681,6 @@ const schemas = {
5673
5681
  BasketTotals: basketTotalsSchema,
5674
5682
  BeverageCategory: beverageCategorySchema,
5675
5683
  BillingInterval: billingIntervalSchema,
5676
- BillingMode: billingModeSchema,
5677
5684
  BookingChannel: bookingChannelSchema,
5678
5685
  BookletSectionInput: bookletSectionInputSchema,
5679
5686
  CampaignControlReason: campaignControlReasonSchema,
@@ -5682,7 +5689,6 @@ const schemas = {
5682
5689
  CancelTeamOrderRequest: cancelTeamOrderRequestSchema,
5683
5690
  CancelTeamOrderResponse: cancelTeamOrderResponseSchema,
5684
5691
  CancellationReason: cancellationReasonSchema,
5685
- ChargeType: chargeTypeSchema,
5686
5692
  ChatChannelType: chatChannelTypeSchema,
5687
5693
  ChatMemberRole: chatMemberRoleSchema,
5688
5694
  ComposeMenuPublicationBookletRequest: composeMenuPublicationBookletRequestSchema,
@@ -5831,8 +5837,10 @@ const schemas = {
5831
5837
  MetaInsightsDatePreset: metaInsightsDatePresetSchema,
5832
5838
  MetaIntegrationStatus: metaIntegrationStatusSchema,
5833
5839
  MetaServingTargetStatus: metaServingTargetStatusSchema,
5840
+ ModuleScope: moduleScopeSchema,
5834
5841
  OccupancyReason: occupancyReasonSchema,
5835
5842
  OgImage: ogImageSchema,
5843
+ OnboardingCard: onboardingCardSchema,
5836
5844
  OrderStatus: orderStatusSchema,
5837
5845
  Orientation: orientationSchema,
5838
5846
  ParticipantStatus: participantStatusSchema,
@@ -5940,7 +5948,8 @@ const schemas = {
5940
5948
  UploadAssetResponse: uploadAssetResponseSchema,
5941
5949
  Variant: variantSchema,
5942
5950
  VenueAssetType: venueAssetTypeSchema,
5943
- VenueEmailSenderStatus: venueEmailSenderStatusSchema,
5951
+ VenueDomainAddressPurpose: venueDomainAddressPurposeSchema,
5952
+ VenueDomainStatus: venueDomainStatusSchema,
5944
5953
  VenueType: venueTypeSchema,
5945
5954
  VenueUserStatus: venueUserStatusSchema,
5946
5955
  WebsitePageOwnerType: websitePageOwnerTypeSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "order3000",
3
- "version": "2.2.3",
3
+ "version": "2.2.5",
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.4.1"
55
+ "@kolaveri/money": "1.5.0"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@kubb/cli": "4.37.5",
@@ -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.24.0",
70
+ "@kolaveri/eslint-config": "1.27.0",
71
71
  "@kolaveri/prettier-config": "1.0.6",
72
72
  "@kolaveri/tsconfig": "1.0.1"
73
73
  },
@@ -79,7 +79,8 @@
79
79
  "dev": "scripts/dev.sh tsx src/dev.ts",
80
80
  "build:types": "openapi-typescript ../../../apps/order3000/order3000/public/openapi.json -o src/types/generated.d.ts",
81
81
  "build:zod": "kubb generate && tsx scripts/build-schemas-namespace.ts",
82
- "build": "npm run build:types && npm run build:zod && pkgroll",
82
+ "generate": "npm run build:types && npm run build:zod",
83
+ "build": "pkgroll",
83
84
  "lint": "eslint src/types/index.ts src/schemas.ts src/schemas/index.ts"
84
85
  }
85
86
  }