@voyant-travel/charters-react 0.135.0 → 0.135.1
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/hooks/use-apa.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export declare function useCharterDetails(bookingId: string | null | undefined,
|
|
|
17
17
|
}): import("@tanstack/react-query").UseQueryResult<{
|
|
18
18
|
bookingId: string;
|
|
19
19
|
bookingMode: "per_suite" | "whole_yacht";
|
|
20
|
-
source: "
|
|
20
|
+
source: "local" | "external";
|
|
21
21
|
sourceProvider: string | null;
|
|
22
22
|
sourceRef: Record<string, unknown> | null;
|
|
23
23
|
voyageId: string | null;
|
|
@@ -54,7 +54,7 @@ export declare function useCharterDetails(bookingId: string | null | undefined,
|
|
|
54
54
|
export declare function useRecordApaPayment(): import("@tanstack/react-query").UseMutationResult<{
|
|
55
55
|
bookingId: string;
|
|
56
56
|
bookingMode: "per_suite" | "whole_yacht";
|
|
57
|
-
source: "
|
|
57
|
+
source: "local" | "external";
|
|
58
58
|
sourceProvider: string | null;
|
|
59
59
|
sourceRef: Record<string, unknown> | null;
|
|
60
60
|
voyageId: string | null;
|
|
@@ -94,7 +94,7 @@ export declare function useRecordApaPayment(): import("@tanstack/react-query").U
|
|
|
94
94
|
export declare function useReconcileApa(): import("@tanstack/react-query").UseMutationResult<{
|
|
95
95
|
bookingId: string;
|
|
96
96
|
bookingMode: "per_suite" | "whole_yacht";
|
|
97
|
-
source: "
|
|
97
|
+
source: "local" | "external";
|
|
98
98
|
sourceProvider: string | null;
|
|
99
99
|
sourceRef: Record<string, unknown> | null;
|
|
100
100
|
voyageId: string | null;
|
|
@@ -57,7 +57,7 @@ export declare function useCharterBookingMutation(): {
|
|
|
57
57
|
charterDetails: {
|
|
58
58
|
bookingId: string;
|
|
59
59
|
bookingMode: "per_suite" | "whole_yacht";
|
|
60
|
-
source: "
|
|
60
|
+
source: "local" | "external";
|
|
61
61
|
sourceProvider: string | null;
|
|
62
62
|
sourceRef: Record<string, unknown> | null;
|
|
63
63
|
voyageId: string | null;
|
|
@@ -117,7 +117,7 @@ export declare function useCharterBookingMutation(): {
|
|
|
117
117
|
charterDetails: {
|
|
118
118
|
bookingId: string;
|
|
119
119
|
bookingMode: "per_suite" | "whole_yacht";
|
|
120
|
-
source: "
|
|
120
|
+
source: "local" | "external";
|
|
121
121
|
sourceProvider: string | null;
|
|
122
122
|
sourceRef: Record<string, unknown> | null;
|
|
123
123
|
voyageId: string | null;
|
package/dist/schemas.d.ts
CHANGED
|
@@ -14,8 +14,8 @@ export declare const charterStatusSchema: z.ZodEnum<{
|
|
|
14
14
|
archived: "archived";
|
|
15
15
|
}>;
|
|
16
16
|
export declare const charterSourceSchema: z.ZodEnum<{
|
|
17
|
-
external: "external";
|
|
18
17
|
local: "local";
|
|
18
|
+
external: "external";
|
|
19
19
|
}>;
|
|
20
20
|
export declare const charterBookingModeSchema: z.ZodEnum<{
|
|
21
21
|
per_suite: "per_suite";
|
|
@@ -238,8 +238,8 @@ export declare const bookingCharterDetailRecordSchema: z.ZodObject<{
|
|
|
238
238
|
whole_yacht: "whole_yacht";
|
|
239
239
|
}>;
|
|
240
240
|
source: z.ZodEnum<{
|
|
241
|
-
external: "external";
|
|
242
241
|
local: "local";
|
|
242
|
+
external: "external";
|
|
243
243
|
}>;
|
|
244
244
|
sourceProvider: z.ZodNullable<z.ZodString>;
|
|
245
245
|
sourceRef: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -920,8 +920,8 @@ export declare const createBookingResponse: z.ZodObject<{
|
|
|
920
920
|
whole_yacht: "whole_yacht";
|
|
921
921
|
}>;
|
|
922
922
|
source: z.ZodEnum<{
|
|
923
|
-
external: "external";
|
|
924
923
|
local: "local";
|
|
924
|
+
external: "external";
|
|
925
925
|
}>;
|
|
926
926
|
sourceProvider: z.ZodNullable<z.ZodString>;
|
|
927
927
|
sourceRef: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -984,8 +984,8 @@ export declare const generateMybaContractResponse: z.ZodObject<{
|
|
|
984
984
|
whole_yacht: "whole_yacht";
|
|
985
985
|
}>;
|
|
986
986
|
source: z.ZodEnum<{
|
|
987
|
-
external: "external";
|
|
988
987
|
local: "local";
|
|
988
|
+
external: "external";
|
|
989
989
|
}>;
|
|
990
990
|
sourceProvider: z.ZodNullable<z.ZodString>;
|
|
991
991
|
sourceRef: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1026,8 +1026,8 @@ export declare const charterDetailResponse: z.ZodObject<{
|
|
|
1026
1026
|
whole_yacht: "whole_yacht";
|
|
1027
1027
|
}>;
|
|
1028
1028
|
source: z.ZodEnum<{
|
|
1029
|
-
external: "external";
|
|
1030
1029
|
local: "local";
|
|
1030
|
+
external: "external";
|
|
1031
1031
|
}>;
|
|
1032
1032
|
sourceProvider: z.ZodNullable<z.ZodString>;
|
|
1033
1033
|
sourceRef: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyant-travel/charters-react",
|
|
3
|
-
"version": "0.135.
|
|
3
|
+
"version": "0.135.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"react": "^19.0.0",
|
|
70
70
|
"react-dom": "^19.0.0",
|
|
71
71
|
"zod": "^4.0.0",
|
|
72
|
-
"@voyant-travel/catalog-react": "^0.135.
|
|
73
|
-
"@voyant-travel/charters": "^0.135.
|
|
72
|
+
"@voyant-travel/catalog-react": "^0.135.1",
|
|
73
|
+
"@voyant-travel/charters": "^0.135.1",
|
|
74
74
|
"@voyant-travel/ui": "^0.108.2"
|
|
75
75
|
},
|
|
76
76
|
"peerDependenciesMeta": {
|
|
@@ -95,8 +95,8 @@
|
|
|
95
95
|
"typescript": "^6.0.2",
|
|
96
96
|
"vitest": "^4.1.2",
|
|
97
97
|
"zod": "^4.3.6",
|
|
98
|
-
"@voyant-travel/catalog-react": "^0.135.
|
|
99
|
-
"@voyant-travel/charters": "^0.135.
|
|
98
|
+
"@voyant-travel/catalog-react": "^0.135.1",
|
|
99
|
+
"@voyant-travel/charters": "^0.135.1",
|
|
100
100
|
"@voyant-travel/i18n": "^0.109.0",
|
|
101
101
|
"@voyant-travel/react": "^0.104.1",
|
|
102
102
|
"@voyant-travel/types": "^0.106.0",
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
"scripts": {
|
|
114
114
|
"build": "tsc -p tsconfig.build.json",
|
|
115
115
|
"clean": "rm -rf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo",
|
|
116
|
-
"typecheck": "tsc
|
|
116
|
+
"typecheck": "tsc -p tsconfig.typecheck.json",
|
|
117
117
|
"lint": "biome check src/",
|
|
118
118
|
"test": "vitest run --passWithNoTests"
|
|
119
119
|
},
|