@voyantjs/hospitality 0.28.3 → 0.29.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.
- package/dist/routes-inventory.d.ts +4 -4
- package/dist/routes-operations.d.ts +4 -4
- package/dist/routes.d.ts +4 -4
- package/dist/schema-bookings.d.ts +1 -1
- package/dist/service.d.ts +4 -4
- package/dist/validation-operations.d.ts +4 -4
- package/dist/validation-shared.d.ts +1 -1
- package/package.json +37 -12
|
@@ -813,7 +813,7 @@ export declare const hospitalityInventoryRoutes: import("hono/hono-base").HonoBa
|
|
|
813
813
|
roomUnitId: string;
|
|
814
814
|
stayBookingItemId: string | null;
|
|
815
815
|
taskType: string;
|
|
816
|
-
status: "cancelled" | "
|
|
816
|
+
status: "cancelled" | "completed" | "in_progress" | "open";
|
|
817
817
|
priority: number;
|
|
818
818
|
dueAt: string | null;
|
|
819
819
|
startedAt: string | null;
|
|
@@ -844,7 +844,7 @@ export declare const hospitalityInventoryRoutes: import("hono/hono-base").HonoBa
|
|
|
844
844
|
createdAt: string;
|
|
845
845
|
updatedAt: string;
|
|
846
846
|
propertyId: string;
|
|
847
|
-
status: "cancelled" | "
|
|
847
|
+
status: "cancelled" | "completed" | "in_progress" | "open";
|
|
848
848
|
metadata: {
|
|
849
849
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
850
850
|
} | null;
|
|
@@ -889,7 +889,7 @@ export declare const hospitalityInventoryRoutes: import("hono/hono-base").HonoBa
|
|
|
889
889
|
roomUnitId: string;
|
|
890
890
|
stayBookingItemId: string | null;
|
|
891
891
|
taskType: string;
|
|
892
|
-
status: "cancelled" | "
|
|
892
|
+
status: "cancelled" | "completed" | "in_progress" | "open";
|
|
893
893
|
priority: number;
|
|
894
894
|
dueAt: string | null;
|
|
895
895
|
startedAt: string | null;
|
|
@@ -933,7 +933,7 @@ export declare const hospitalityInventoryRoutes: import("hono/hono-base").HonoBa
|
|
|
933
933
|
roomUnitId: string;
|
|
934
934
|
stayBookingItemId: string | null;
|
|
935
935
|
taskType: string;
|
|
936
|
-
status: "cancelled" | "
|
|
936
|
+
status: "cancelled" | "completed" | "in_progress" | "open";
|
|
937
937
|
priority: number;
|
|
938
938
|
dueAt: string | null;
|
|
939
939
|
startedAt: string | null;
|
|
@@ -813,7 +813,7 @@ export declare const hospitalityOperationsRoutes: import("hono/hono-base").HonoB
|
|
|
813
813
|
roomUnitId: string;
|
|
814
814
|
stayBookingItemId: string | null;
|
|
815
815
|
taskType: string;
|
|
816
|
-
status: "cancelled" | "
|
|
816
|
+
status: "cancelled" | "completed" | "in_progress" | "open";
|
|
817
817
|
priority: number;
|
|
818
818
|
dueAt: string | null;
|
|
819
819
|
startedAt: string | null;
|
|
@@ -844,7 +844,7 @@ export declare const hospitalityOperationsRoutes: import("hono/hono-base").HonoB
|
|
|
844
844
|
createdAt: string;
|
|
845
845
|
updatedAt: string;
|
|
846
846
|
propertyId: string;
|
|
847
|
-
status: "cancelled" | "
|
|
847
|
+
status: "cancelled" | "completed" | "in_progress" | "open";
|
|
848
848
|
metadata: {
|
|
849
849
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
850
850
|
} | null;
|
|
@@ -889,7 +889,7 @@ export declare const hospitalityOperationsRoutes: import("hono/hono-base").HonoB
|
|
|
889
889
|
roomUnitId: string;
|
|
890
890
|
stayBookingItemId: string | null;
|
|
891
891
|
taskType: string;
|
|
892
|
-
status: "cancelled" | "
|
|
892
|
+
status: "cancelled" | "completed" | "in_progress" | "open";
|
|
893
893
|
priority: number;
|
|
894
894
|
dueAt: string | null;
|
|
895
895
|
startedAt: string | null;
|
|
@@ -933,7 +933,7 @@ export declare const hospitalityOperationsRoutes: import("hono/hono-base").HonoB
|
|
|
933
933
|
roomUnitId: string;
|
|
934
934
|
stayBookingItemId: string | null;
|
|
935
935
|
taskType: string;
|
|
936
|
-
status: "cancelled" | "
|
|
936
|
+
status: "cancelled" | "completed" | "in_progress" | "open";
|
|
937
937
|
priority: number;
|
|
938
938
|
dueAt: string | null;
|
|
939
939
|
startedAt: string | null;
|
package/dist/routes.d.ts
CHANGED
|
@@ -2014,7 +2014,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, i
|
|
|
2014
2014
|
roomUnitId: string;
|
|
2015
2015
|
stayBookingItemId: string | null;
|
|
2016
2016
|
taskType: string;
|
|
2017
|
-
status: "cancelled" | "
|
|
2017
|
+
status: "cancelled" | "completed" | "in_progress" | "open";
|
|
2018
2018
|
priority: number;
|
|
2019
2019
|
dueAt: string | null;
|
|
2020
2020
|
startedAt: string | null;
|
|
@@ -2045,7 +2045,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, i
|
|
|
2045
2045
|
createdAt: string;
|
|
2046
2046
|
updatedAt: string;
|
|
2047
2047
|
propertyId: string;
|
|
2048
|
-
status: "cancelled" | "
|
|
2048
|
+
status: "cancelled" | "completed" | "in_progress" | "open";
|
|
2049
2049
|
metadata: {
|
|
2050
2050
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
2051
2051
|
} | null;
|
|
@@ -2090,7 +2090,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, i
|
|
|
2090
2090
|
roomUnitId: string;
|
|
2091
2091
|
stayBookingItemId: string | null;
|
|
2092
2092
|
taskType: string;
|
|
2093
|
-
status: "cancelled" | "
|
|
2093
|
+
status: "cancelled" | "completed" | "in_progress" | "open";
|
|
2094
2094
|
priority: number;
|
|
2095
2095
|
dueAt: string | null;
|
|
2096
2096
|
startedAt: string | null;
|
|
@@ -2134,7 +2134,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, i
|
|
|
2134
2134
|
roomUnitId: string;
|
|
2135
2135
|
stayBookingItemId: string | null;
|
|
2136
2136
|
taskType: string;
|
|
2137
|
-
status: "cancelled" | "
|
|
2137
|
+
status: "cancelled" | "completed" | "in_progress" | "open";
|
|
2138
2138
|
priority: number;
|
|
2139
2139
|
dueAt: string | null;
|
|
2140
2140
|
startedAt: string | null;
|
|
@@ -1291,7 +1291,7 @@ export declare const housekeepingTasks: import("drizzle-orm/pg-core").PgTableWit
|
|
|
1291
1291
|
tableName: "housekeeping_tasks";
|
|
1292
1292
|
dataType: "string";
|
|
1293
1293
|
columnType: "PgEnumColumn";
|
|
1294
|
-
data: "cancelled" | "
|
|
1294
|
+
data: "cancelled" | "completed" | "in_progress" | "open";
|
|
1295
1295
|
driverParam: string;
|
|
1296
1296
|
notNull: true;
|
|
1297
1297
|
hasDefault: true;
|
package/dist/service.d.ts
CHANGED
|
@@ -1365,7 +1365,7 @@ export declare const hospitalityService: {
|
|
|
1365
1365
|
roomUnitId: string;
|
|
1366
1366
|
stayBookingItemId: string | null;
|
|
1367
1367
|
taskType: string;
|
|
1368
|
-
status: "cancelled" | "
|
|
1368
|
+
status: "cancelled" | "completed" | "in_progress" | "open";
|
|
1369
1369
|
priority: number;
|
|
1370
1370
|
dueAt: Date | null;
|
|
1371
1371
|
startedAt: Date | null;
|
|
@@ -1386,7 +1386,7 @@ export declare const hospitalityService: {
|
|
|
1386
1386
|
roomUnitId: string;
|
|
1387
1387
|
stayBookingItemId: string | null;
|
|
1388
1388
|
taskType: string;
|
|
1389
|
-
status: "cancelled" | "
|
|
1389
|
+
status: "cancelled" | "completed" | "in_progress" | "open";
|
|
1390
1390
|
priority: number;
|
|
1391
1391
|
dueAt: Date | null;
|
|
1392
1392
|
startedAt: Date | null;
|
|
@@ -1402,7 +1402,7 @@ export declare const hospitalityService: {
|
|
|
1402
1402
|
createdAt: Date;
|
|
1403
1403
|
updatedAt: Date;
|
|
1404
1404
|
propertyId: string;
|
|
1405
|
-
status: "cancelled" | "
|
|
1405
|
+
status: "cancelled" | "completed" | "in_progress" | "open";
|
|
1406
1406
|
metadata: Record<string, unknown> | null;
|
|
1407
1407
|
notes: string | null;
|
|
1408
1408
|
startedAt: Date | null;
|
|
@@ -1420,7 +1420,7 @@ export declare const hospitalityService: {
|
|
|
1420
1420
|
roomUnitId: string;
|
|
1421
1421
|
stayBookingItemId: string | null;
|
|
1422
1422
|
taskType: string;
|
|
1423
|
-
status: "cancelled" | "
|
|
1423
|
+
status: "cancelled" | "completed" | "in_progress" | "open";
|
|
1424
1424
|
priority: number;
|
|
1425
1425
|
dueAt: Date | null;
|
|
1426
1426
|
startedAt: Date | null;
|
|
@@ -478,8 +478,8 @@ export declare const housekeepingTaskCoreSchema: z.ZodObject<{
|
|
|
478
478
|
taskType: z.ZodString;
|
|
479
479
|
status: z.ZodDefault<z.ZodEnum<{
|
|
480
480
|
cancelled: "cancelled";
|
|
481
|
-
in_progress: "in_progress";
|
|
482
481
|
completed: "completed";
|
|
482
|
+
in_progress: "in_progress";
|
|
483
483
|
open: "open";
|
|
484
484
|
}>>;
|
|
485
485
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
@@ -497,8 +497,8 @@ export declare const insertHousekeepingTaskSchema: z.ZodObject<{
|
|
|
497
497
|
taskType: z.ZodString;
|
|
498
498
|
status: z.ZodDefault<z.ZodEnum<{
|
|
499
499
|
cancelled: "cancelled";
|
|
500
|
-
in_progress: "in_progress";
|
|
501
500
|
completed: "completed";
|
|
501
|
+
in_progress: "in_progress";
|
|
502
502
|
open: "open";
|
|
503
503
|
}>>;
|
|
504
504
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
@@ -516,8 +516,8 @@ export declare const updateHousekeepingTaskSchema: z.ZodObject<{
|
|
|
516
516
|
taskType: z.ZodOptional<z.ZodString>;
|
|
517
517
|
status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
518
518
|
cancelled: "cancelled";
|
|
519
|
-
in_progress: "in_progress";
|
|
520
519
|
completed: "completed";
|
|
520
|
+
in_progress: "in_progress";
|
|
521
521
|
open: "open";
|
|
522
522
|
}>>>;
|
|
523
523
|
priority: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
@@ -536,8 +536,8 @@ export declare const housekeepingTaskListQuerySchema: z.ZodObject<{
|
|
|
536
536
|
stayBookingItemId: z.ZodOptional<z.ZodString>;
|
|
537
537
|
status: z.ZodOptional<z.ZodEnum<{
|
|
538
538
|
cancelled: "cancelled";
|
|
539
|
-
in_progress: "in_progress";
|
|
540
539
|
completed: "completed";
|
|
540
|
+
in_progress: "in_progress";
|
|
541
541
|
open: "open";
|
|
542
542
|
}>>;
|
|
543
543
|
taskType: z.ZodOptional<z.ZodString>;
|
|
@@ -49,8 +49,8 @@ export declare const hospitalityRoomBlockStatusSchema: z.ZodEnum<{
|
|
|
49
49
|
}>;
|
|
50
50
|
export declare const hospitalityHousekeepingTaskStatusSchema: z.ZodEnum<{
|
|
51
51
|
cancelled: "cancelled";
|
|
52
|
-
in_progress: "in_progress";
|
|
53
52
|
completed: "completed";
|
|
53
|
+
in_progress: "in_progress";
|
|
54
54
|
open: "open";
|
|
55
55
|
}>;
|
|
56
56
|
export declare const hospitalityMaintenanceBlockStatusSchema: z.ZodEnum<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/hospitality",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -24,31 +24,56 @@
|
|
|
24
24
|
"import": "./dist/routes.js",
|
|
25
25
|
"default": "./dist/routes.js"
|
|
26
26
|
},
|
|
27
|
-
"./
|
|
28
|
-
"types": "./dist/
|
|
29
|
-
"import": "./dist/
|
|
30
|
-
"default": "./dist/
|
|
27
|
+
"./catalog-policy": {
|
|
28
|
+
"types": "./dist/catalog-policy.d.ts",
|
|
29
|
+
"import": "./dist/catalog-policy.js",
|
|
30
|
+
"default": "./dist/catalog-policy.js"
|
|
31
|
+
},
|
|
32
|
+
"./service-catalog-plane": {
|
|
33
|
+
"types": "./dist/service-catalog-plane.d.ts",
|
|
34
|
+
"import": "./dist/service-catalog-plane.js",
|
|
35
|
+
"default": "./dist/service-catalog-plane.js"
|
|
36
|
+
},
|
|
37
|
+
"./content-shape": {
|
|
38
|
+
"types": "./dist/content-shape.d.ts",
|
|
39
|
+
"import": "./dist/content-shape.js",
|
|
40
|
+
"default": "./dist/content-shape.js"
|
|
31
41
|
},
|
|
32
42
|
"./service-content": {
|
|
33
43
|
"types": "./dist/service-content.d.ts",
|
|
34
44
|
"import": "./dist/service-content.js",
|
|
35
45
|
"default": "./dist/service-content.js"
|
|
46
|
+
},
|
|
47
|
+
"./service-content-synthesizer": {
|
|
48
|
+
"types": "./dist/service-content-synthesizer.d.ts",
|
|
49
|
+
"import": "./dist/service-content-synthesizer.js",
|
|
50
|
+
"default": "./dist/service-content-synthesizer.js"
|
|
51
|
+
},
|
|
52
|
+
"./draft-shape": {
|
|
53
|
+
"types": "./dist/draft-shape.d.ts",
|
|
54
|
+
"import": "./dist/draft-shape.js",
|
|
55
|
+
"default": "./dist/draft-shape.js"
|
|
56
|
+
},
|
|
57
|
+
"./booking-engine": {
|
|
58
|
+
"types": "./dist/booking-engine/index.d.ts",
|
|
59
|
+
"import": "./dist/booking-engine/index.js",
|
|
60
|
+
"default": "./dist/booking-engine/index.js"
|
|
36
61
|
}
|
|
37
62
|
},
|
|
38
63
|
"dependencies": {
|
|
39
64
|
"drizzle-orm": "^0.45.2",
|
|
40
65
|
"hono": "^4.12.10",
|
|
41
66
|
"zod": "^4.3.6",
|
|
42
|
-
"@voyantjs/bookings": "0.
|
|
43
|
-
"@voyantjs/
|
|
44
|
-
"@voyantjs/
|
|
45
|
-
"@voyantjs/facilities": "0.
|
|
46
|
-
"@voyantjs/hono": "0.
|
|
47
|
-
"@voyantjs/catalog": "0.
|
|
67
|
+
"@voyantjs/bookings": "0.29.0",
|
|
68
|
+
"@voyantjs/core": "0.29.0",
|
|
69
|
+
"@voyantjs/db": "0.29.0",
|
|
70
|
+
"@voyantjs/facilities": "0.29.0",
|
|
71
|
+
"@voyantjs/hono": "0.29.0",
|
|
72
|
+
"@voyantjs/catalog": "0.29.0"
|
|
48
73
|
},
|
|
49
74
|
"devDependencies": {
|
|
50
75
|
"typescript": "^6.0.2",
|
|
51
|
-
"@voyantjs/pricing": "0.
|
|
76
|
+
"@voyantjs/pricing": "0.29.0",
|
|
52
77
|
"@voyantjs/voyant-typescript-config": "0.1.0"
|
|
53
78
|
},
|
|
54
79
|
"files": [
|