@voyantjs/charters 0.31.1 → 0.31.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.
@@ -60,7 +60,7 @@ export declare const bookingCharterDetails: import("drizzle-orm/pg-core").PgTabl
60
60
  tableName: "booking_charter_details";
61
61
  dataType: "string";
62
62
  columnType: "PgEnumColumn";
63
- data: "local" | "external";
63
+ data: "external" | "local";
64
64
  driverParam: string;
65
65
  notNull: true;
66
66
  hasDefault: true;
@@ -563,8 +563,8 @@ export declare const charterDetailUpsertSchema: z.ZodObject<{
563
563
  whole_yacht: "whole_yacht";
564
564
  }>;
565
565
  source: z.ZodDefault<z.ZodEnum<{
566
- local: "local";
567
566
  external: "external";
567
+ local: "local";
568
568
  }>>;
569
569
  sourceProvider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
570
570
  sourceRef: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -649,7 +649,7 @@ export declare const chartersBookingExtensionRoutes: import("hono/hono-base").Ho
649
649
  };
650
650
  output: {
651
651
  data: {
652
- source: "local" | "external";
652
+ source: "external" | "local";
653
653
  createdAt: string;
654
654
  updatedAt: string;
655
655
  notes: string | null;
@@ -700,7 +700,7 @@ export declare const chartersBookingExtensionRoutes: import("hono/hono-base").Ho
700
700
  };
701
701
  output: {
702
702
  data: {
703
- source: "local" | "external";
703
+ source: "external" | "local";
704
704
  createdAt: string;
705
705
  updatedAt: string;
706
706
  notes: string | null;
@@ -786,7 +786,7 @@ export declare const chartersBookingExtensionRoutes: import("hono/hono-base").Ho
786
786
  };
787
787
  output: {
788
788
  data: {
789
- source: "local" | "external";
789
+ source: "external" | "local";
790
790
  createdAt: string;
791
791
  updatedAt: string;
792
792
  notes: string | null;
@@ -848,7 +848,7 @@ export declare const chartersBookingExtensionRoutes: import("hono/hono-base").Ho
848
848
  };
849
849
  output: {
850
850
  data: {
851
- source: "local" | "external";
851
+ source: "external" | "local";
852
852
  createdAt: string;
853
853
  updatedAt: string;
854
854
  notes: string | null;
@@ -503,8 +503,8 @@ export declare const chartersPublicRoutes: import("hono/hono-base").HonoBase<Env
503
503
  createdAt: string;
504
504
  updatedAt: string;
505
505
  notes: string | null;
506
- description: string | null;
507
506
  availability: "on_request" | "wait_list" | "sold_out" | "available" | "limited";
507
+ description: string | null;
508
508
  voyageId: string;
509
509
  externalRefs: {
510
510
  [x: string]: string;
package/dist/routes.d.ts CHANGED
@@ -779,8 +779,8 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
779
779
  createdAt: string;
780
780
  updatedAt: string;
781
781
  notes: string | null;
782
- description: string | null;
783
782
  availability: "on_request" | "wait_list" | "sold_out" | "available" | "limited";
783
+ description: string | null;
784
784
  voyageId: string;
785
785
  externalRefs: {
786
786
  [x: string]: string;
@@ -943,8 +943,8 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
943
943
  createdAt: string;
944
944
  updatedAt: string;
945
945
  notes: string | null;
946
- description: string | null;
947
946
  availability: "on_request" | "wait_list" | "sold_out" | "available" | "limited";
947
+ description: string | null;
948
948
  voyageId: string;
949
949
  externalRefs: {
950
950
  [x: string]: string;
@@ -1123,7 +1123,7 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
1123
1123
  bookingId: string;
1124
1124
  bookingNumber: string;
1125
1125
  charterDetails: {
1126
- source: "local" | "external";
1126
+ source: "external" | "local";
1127
1127
  createdAt: string;
1128
1128
  updatedAt: string;
1129
1129
  notes: string | null;
@@ -1270,7 +1270,7 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
1270
1270
  bookingId: string;
1271
1271
  bookingNumber: string;
1272
1272
  charterDetails: {
1273
- source: "local" | "external";
1273
+ source: "external" | "local";
1274
1274
  createdAt: string;
1275
1275
  updatedAt: string;
1276
1276
  notes: string | null;
@@ -1404,7 +1404,7 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
1404
1404
  data: {
1405
1405
  contractId: string;
1406
1406
  charterDetails: {
1407
- source: "local" | "external";
1407
+ source: "external" | "local";
1408
1408
  createdAt: string;
1409
1409
  updatedAt: string;
1410
1410
  notes: string | null;
@@ -67,7 +67,6 @@ export declare const replaceVoyageSuitesSchema: z.ZodObject<{
67
67
  voyageId: z.ZodString;
68
68
  suites: z.ZodArray<z.ZodObject<{
69
69
  notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
70
- description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
71
70
  availability: z.ZodDefault<z.ZodEnum<{
72
71
  on_request: "on_request";
73
72
  wait_list: "wait_list";
@@ -75,6 +74,7 @@ export declare const replaceVoyageSuitesSchema: z.ZodObject<{
75
74
  available: "available";
76
75
  limited: "limited";
77
76
  }>>;
77
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
78
78
  externalRefs: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
79
79
  images: z.ZodDefault<z.ZodArray<z.ZodString>>;
80
80
  appointmentOnly: z.ZodDefault<z.ZodBoolean>;
@@ -9,8 +9,8 @@ export declare const charterStatusSchema: z.ZodEnum<{
9
9
  archived: "archived";
10
10
  }>;
11
11
  export declare const charterSourceSchema: z.ZodEnum<{
12
- local: "local";
13
12
  external: "external";
13
+ local: "local";
14
14
  }>;
15
15
  export declare const yachtClassSchema: z.ZodEnum<{
16
16
  luxury_motor: "luxury_motor";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/charters",
3
- "version": "0.31.1",
3
+ "version": "0.31.2",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -74,11 +74,11 @@
74
74
  "drizzle-orm": "^0.45.2",
75
75
  "hono": "^4.12.10",
76
76
  "zod": "^4.3.6",
77
- "@voyantjs/bookings": "0.31.1",
78
- "@voyantjs/core": "0.31.1",
79
- "@voyantjs/db": "0.31.1",
80
- "@voyantjs/hono": "0.31.1",
81
- "@voyantjs/catalog": "0.31.1"
77
+ "@voyantjs/bookings": "0.31.2",
78
+ "@voyantjs/core": "0.31.2",
79
+ "@voyantjs/db": "0.31.2",
80
+ "@voyantjs/hono": "0.31.2",
81
+ "@voyantjs/catalog": "0.31.2"
82
82
  },
83
83
  "devDependencies": {
84
84
  "typescript": "^6.0.2",