@voyantjs/hospitality-react 0.5.0 → 0.6.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.
|
@@ -7,14 +7,14 @@ export declare function useStayFolioMutation(): {
|
|
|
7
7
|
id: string;
|
|
8
8
|
stayOperationId: string;
|
|
9
9
|
currencyCode: string;
|
|
10
|
-
status: "
|
|
10
|
+
status: "void" | "open" | "closed" | "transferred";
|
|
11
11
|
openedAt: string | null;
|
|
12
12
|
closedAt: string | null;
|
|
13
13
|
notes: string | null;
|
|
14
14
|
}, Error, {
|
|
15
15
|
stayOperationId: string;
|
|
16
16
|
currencyCode: string;
|
|
17
|
-
status?: "
|
|
17
|
+
status?: "void" | "open" | "closed" | "transferred" | undefined;
|
|
18
18
|
openedAt?: string | null | undefined;
|
|
19
19
|
closedAt?: string | null | undefined;
|
|
20
20
|
notes?: string | null | undefined;
|
|
@@ -24,7 +24,7 @@ export declare function useStayFolioMutation(): {
|
|
|
24
24
|
id: string;
|
|
25
25
|
stayOperationId: string;
|
|
26
26
|
currencyCode: string;
|
|
27
|
-
status: "
|
|
27
|
+
status: "void" | "open" | "closed" | "transferred";
|
|
28
28
|
openedAt: string | null;
|
|
29
29
|
closedAt: string | null;
|
|
30
30
|
notes: string | null;
|
|
@@ -10,7 +10,7 @@ export declare function useStayFolios(options: UseStayFoliosOptions): import("@t
|
|
|
10
10
|
id: string;
|
|
11
11
|
stayOperationId: string;
|
|
12
12
|
currencyCode: string;
|
|
13
|
-
status: "
|
|
13
|
+
status: "void" | "open" | "closed" | "transferred";
|
|
14
14
|
openedAt: string | null;
|
|
15
15
|
closedAt: string | null;
|
|
16
16
|
notes: string | null;
|
package/dist/query-options.d.ts
CHANGED
|
@@ -1516,7 +1516,7 @@ export declare function getStayFoliosQueryOptions(client: FetchWithValidationOpt
|
|
|
1516
1516
|
id: string;
|
|
1517
1517
|
stayOperationId: string;
|
|
1518
1518
|
currencyCode: string;
|
|
1519
|
-
status: "
|
|
1519
|
+
status: "void" | "open" | "closed" | "transferred";
|
|
1520
1520
|
openedAt: string | null;
|
|
1521
1521
|
closedAt: string | null;
|
|
1522
1522
|
notes: string | null;
|
|
@@ -1529,7 +1529,7 @@ export declare function getStayFoliosQueryOptions(client: FetchWithValidationOpt
|
|
|
1529
1529
|
id: string;
|
|
1530
1530
|
stayOperationId: string;
|
|
1531
1531
|
currencyCode: string;
|
|
1532
|
-
status: "
|
|
1532
|
+
status: "void" | "open" | "closed" | "transferred";
|
|
1533
1533
|
openedAt: string | null;
|
|
1534
1534
|
closedAt: string | null;
|
|
1535
1535
|
notes: string | null;
|
|
@@ -1546,7 +1546,7 @@ export declare function getStayFoliosQueryOptions(client: FetchWithValidationOpt
|
|
|
1546
1546
|
id: string;
|
|
1547
1547
|
stayOperationId: string;
|
|
1548
1548
|
currencyCode: string;
|
|
1549
|
-
status: "
|
|
1549
|
+
status: "void" | "open" | "closed" | "transferred";
|
|
1550
1550
|
openedAt: string | null;
|
|
1551
1551
|
closedAt: string | null;
|
|
1552
1552
|
notes: string | null;
|
|
@@ -1568,7 +1568,7 @@ export declare function getStayFoliosQueryOptions(client: FetchWithValidationOpt
|
|
|
1568
1568
|
id: string;
|
|
1569
1569
|
stayOperationId: string;
|
|
1570
1570
|
currencyCode: string;
|
|
1571
|
-
status: "
|
|
1571
|
+
status: "void" | "open" | "closed" | "transferred";
|
|
1572
1572
|
openedAt: string | null;
|
|
1573
1573
|
closedAt: string | null;
|
|
1574
1574
|
notes: string | null;
|
package/dist/schemas.d.ts
CHANGED
|
@@ -273,10 +273,10 @@ export declare const stayFolioRecordSchema: z.ZodObject<{
|
|
|
273
273
|
stayOperationId: z.ZodString;
|
|
274
274
|
currencyCode: z.ZodString;
|
|
275
275
|
status: z.ZodEnum<{
|
|
276
|
+
void: "void";
|
|
276
277
|
open: "open";
|
|
277
278
|
closed: "closed";
|
|
278
279
|
transferred: "transferred";
|
|
279
|
-
void: "void";
|
|
280
280
|
}>;
|
|
281
281
|
openedAt: z.ZodNullable<z.ZodString>;
|
|
282
282
|
closedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -888,10 +888,10 @@ export declare const stayFolioListResponse: z.ZodObject<{
|
|
|
888
888
|
stayOperationId: z.ZodString;
|
|
889
889
|
currencyCode: z.ZodString;
|
|
890
890
|
status: z.ZodEnum<{
|
|
891
|
+
void: "void";
|
|
891
892
|
open: "open";
|
|
892
893
|
closed: "closed";
|
|
893
894
|
transferred: "transferred";
|
|
894
|
-
void: "void";
|
|
895
895
|
}>;
|
|
896
896
|
openedAt: z.ZodNullable<z.ZodString>;
|
|
897
897
|
closedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -907,10 +907,10 @@ export declare const stayFolioSingleResponse: z.ZodObject<{
|
|
|
907
907
|
stayOperationId: z.ZodString;
|
|
908
908
|
currencyCode: z.ZodString;
|
|
909
909
|
status: z.ZodEnum<{
|
|
910
|
+
void: "void";
|
|
910
911
|
open: "open";
|
|
911
912
|
closed: "closed";
|
|
912
913
|
transferred: "transferred";
|
|
913
|
-
void: "void";
|
|
914
914
|
}>;
|
|
915
915
|
openedAt: z.ZodNullable<z.ZodString>;
|
|
916
916
|
closedAt: z.ZodNullable<z.ZodString>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/hospitality-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"license": "FSL-1.1-Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"react": "^19.0.0",
|
|
36
36
|
"react-dom": "^19.0.0",
|
|
37
37
|
"zod": "^4.0.0",
|
|
38
|
-
"@voyantjs/hospitality": "0.
|
|
38
|
+
"@voyantjs/hospitality": "0.6.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@tanstack/react-query": "^5.96.2",
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
"typescript": "^6.0.2",
|
|
47
47
|
"vitest": "^4.1.2",
|
|
48
48
|
"zod": "^4.3.6",
|
|
49
|
-
"@voyantjs/hospitality": "0.
|
|
50
|
-
"@voyantjs/react": "0.
|
|
49
|
+
"@voyantjs/hospitality": "0.6.2",
|
|
50
|
+
"@voyantjs/react": "0.6.2",
|
|
51
51
|
"@voyantjs/voyant-typescript-config": "0.1.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@voyantjs/react": "0.
|
|
54
|
+
"@voyantjs/react": "0.6.2"
|
|
55
55
|
},
|
|
56
56
|
"files": [
|
|
57
57
|
"dist"
|