@voyant-travel/legal-react 0.119.2 → 0.120.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.
|
@@ -6,10 +6,10 @@ import type { ComboboxOption } from "./legal-admin-shared.js";
|
|
|
6
6
|
type ContractDialogMessages = ReturnType<typeof useOperatorAdminMessages>["legal"]["contractDialog"];
|
|
7
7
|
export declare const contractFormSchema: z.ZodObject<{
|
|
8
8
|
scope: z.ZodEnum<{
|
|
9
|
+
other: "other";
|
|
9
10
|
customer: "customer";
|
|
10
|
-
partner: "partner";
|
|
11
11
|
supplier: "supplier";
|
|
12
|
-
|
|
12
|
+
partner: "partner";
|
|
13
13
|
channel: "channel";
|
|
14
14
|
}>;
|
|
15
15
|
title: z.ZodString;
|
|
@@ -7,10 +7,10 @@ import type { LegalContractRecord } from "../index.js";
|
|
|
7
7
|
type ContractDialogMessages = ReturnType<typeof useLegalUiMessagesOrDefault>["contractDialog"];
|
|
8
8
|
export declare const contractFormSchema: z.ZodObject<{
|
|
9
9
|
scope: z.ZodEnum<{
|
|
10
|
+
other: "other";
|
|
10
11
|
customer: "customer";
|
|
11
|
-
partner: "partner";
|
|
12
12
|
supplier: "supplier";
|
|
13
|
-
|
|
13
|
+
partner: "partner";
|
|
14
14
|
channel: "channel";
|
|
15
15
|
}>;
|
|
16
16
|
title: z.ZodString;
|
|
@@ -4,7 +4,7 @@ export type CreateLegalPolicyInput = z.input<typeof insertPolicySchema>;
|
|
|
4
4
|
export type UpdateLegalPolicyInput = z.input<typeof updatePolicySchema>;
|
|
5
5
|
export declare function useLegalPolicyMutation(): {
|
|
6
6
|
create: import("@tanstack/react-query").UseMutationResult<{
|
|
7
|
-
kind: "other" | "
|
|
7
|
+
kind: "other" | "cancellation" | "payment" | "terms_and_conditions" | "privacy" | "refund" | "commission" | "guarantee";
|
|
8
8
|
name: string;
|
|
9
9
|
slug: string;
|
|
10
10
|
language: string;
|
|
@@ -15,7 +15,7 @@ export declare function useLegalPolicyMutation(): {
|
|
|
15
15
|
metadata?: Record<string, unknown> | null | undefined;
|
|
16
16
|
currentVersionId?: string | null | undefined;
|
|
17
17
|
}, Error, {
|
|
18
|
-
kind: "other" | "
|
|
18
|
+
kind: "other" | "cancellation" | "payment" | "terms_and_conditions" | "privacy" | "refund" | "commission" | "guarantee";
|
|
19
19
|
name: string;
|
|
20
20
|
slug: string;
|
|
21
21
|
description?: string | null | undefined;
|
|
@@ -23,7 +23,7 @@ export declare function useLegalPolicyMutation(): {
|
|
|
23
23
|
metadata?: Record<string, unknown> | null | undefined;
|
|
24
24
|
}, unknown>;
|
|
25
25
|
update: import("@tanstack/react-query").UseMutationResult<{
|
|
26
|
-
kind: "other" | "
|
|
26
|
+
kind: "other" | "cancellation" | "payment" | "terms_and_conditions" | "privacy" | "refund" | "commission" | "guarantee";
|
|
27
27
|
name: string;
|
|
28
28
|
slug: string;
|
|
29
29
|
language: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyant-travel/legal-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.120.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -75,13 +75,13 @@
|
|
|
75
75
|
"react-dom": "^19.0.0",
|
|
76
76
|
"react-hook-form": "^7.60.0",
|
|
77
77
|
"zod": "^4.0.0",
|
|
78
|
-
"@voyant-travel/
|
|
79
|
-
"@voyant-travel/
|
|
80
|
-
"@voyant-travel/
|
|
81
|
-
"@voyant-travel/
|
|
82
|
-
"@voyant-travel/
|
|
83
|
-
"@voyant-travel/commerce-react": "^0.
|
|
84
|
-
"@voyant-travel/inventory-react": "^0.
|
|
78
|
+
"@voyant-travel/admin": "^0.111.1",
|
|
79
|
+
"@voyant-travel/bookings-react": "^0.120.0",
|
|
80
|
+
"@voyant-travel/relationships-react": "^0.120.0",
|
|
81
|
+
"@voyant-travel/distribution-react": "^0.110.0",
|
|
82
|
+
"@voyant-travel/legal": "^0.120.0",
|
|
83
|
+
"@voyant-travel/commerce-react": "^0.2.0",
|
|
84
|
+
"@voyant-travel/inventory-react": "^0.2.0",
|
|
85
85
|
"@voyant-travel/ui": "^0.106.1"
|
|
86
86
|
},
|
|
87
87
|
"peerDependenciesMeta": {
|
|
@@ -111,9 +111,9 @@
|
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
113
|
"dependencies": {
|
|
114
|
-
"@voyant-travel/
|
|
114
|
+
"@voyant-travel/react": "^0.104.1",
|
|
115
115
|
"@voyant-travel/utils": "^0.105.1",
|
|
116
|
-
"@voyant-travel/
|
|
116
|
+
"@voyant-travel/i18n": "^0.106.1"
|
|
117
117
|
},
|
|
118
118
|
"devDependencies": {
|
|
119
119
|
"@tanstack/react-query": "^5.100.11",
|
|
@@ -127,18 +127,18 @@
|
|
|
127
127
|
"typescript": "^6.0.2",
|
|
128
128
|
"vitest": "^4.1.2",
|
|
129
129
|
"zod": "^4.3.6",
|
|
130
|
-
"@voyant-travel/admin": "^0.111.
|
|
130
|
+
"@voyant-travel/admin": "^0.111.1",
|
|
131
|
+
"@voyant-travel/bookings-react": "^0.120.0",
|
|
132
|
+
"@voyant-travel/relationships-react": "^0.120.0",
|
|
133
|
+
"@voyant-travel/distribution-react": "^0.110.0",
|
|
131
134
|
"@voyant-travel/i18n": "^0.106.1",
|
|
132
|
-
"@voyant-travel/
|
|
133
|
-
"@voyant-travel/
|
|
134
|
-
"@voyant-travel/
|
|
135
|
+
"@voyant-travel/legal": "^0.120.0",
|
|
136
|
+
"@voyant-travel/commerce-react": "^0.2.0",
|
|
137
|
+
"@voyant-travel/inventory-react": "^0.2.0",
|
|
135
138
|
"@voyant-travel/react": "^0.104.1",
|
|
136
|
-
"@voyant-travel/utils": "^0.105.1",
|
|
137
|
-
"@voyant-travel/commerce-react": "^0.1.0",
|
|
138
139
|
"@voyant-travel/ui": "^0.106.1",
|
|
139
|
-
"@voyant-travel/
|
|
140
|
-
"@voyant-travel/
|
|
141
|
-
"@voyant-travel/inventory-react": "^0.1.0"
|
|
140
|
+
"@voyant-travel/utils": "^0.105.1",
|
|
141
|
+
"@voyant-travel/voyant-typescript-config": "^0.1.0"
|
|
142
142
|
},
|
|
143
143
|
"files": [
|
|
144
144
|
"dist",
|