@voyantjs/octo 0.7.0 → 0.9.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.d.ts +8 -8
- package/dist/service-bookings.d.ts +8 -8
- package/package.json +8 -8
package/dist/routes.d.ts
CHANGED
|
@@ -339,7 +339,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
339
339
|
unitItems: {
|
|
340
340
|
bookingItemId: string;
|
|
341
341
|
title: string;
|
|
342
|
-
itemType: "service" | "
|
|
342
|
+
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
343
343
|
status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
|
|
344
344
|
quantity: number;
|
|
345
345
|
productId: string | null;
|
|
@@ -475,7 +475,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
475
475
|
unitItems: {
|
|
476
476
|
bookingItemId: string;
|
|
477
477
|
title: string;
|
|
478
|
-
itemType: "service" | "
|
|
478
|
+
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
479
479
|
status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
|
|
480
480
|
quantity: number;
|
|
481
481
|
productId: string | null;
|
|
@@ -608,7 +608,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
608
608
|
unitItems: {
|
|
609
609
|
bookingItemId: string;
|
|
610
610
|
title: string;
|
|
611
|
-
itemType: "service" | "
|
|
611
|
+
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
612
612
|
status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
|
|
613
613
|
quantity: number;
|
|
614
614
|
productId: string | null;
|
|
@@ -727,7 +727,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
727
727
|
unitItems: {
|
|
728
728
|
bookingItemId: string;
|
|
729
729
|
title: string;
|
|
730
|
-
itemType: "service" | "
|
|
730
|
+
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
731
731
|
status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
|
|
732
732
|
quantity: number;
|
|
733
733
|
productId: string | null;
|
|
@@ -879,7 +879,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
879
879
|
unitItems: {
|
|
880
880
|
bookingItemId: string;
|
|
881
881
|
title: string;
|
|
882
|
-
itemType: "service" | "
|
|
882
|
+
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
883
883
|
status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
|
|
884
884
|
quantity: number;
|
|
885
885
|
productId: string | null;
|
|
@@ -1031,7 +1031,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1031
1031
|
unitItems: {
|
|
1032
1032
|
bookingItemId: string;
|
|
1033
1033
|
title: string;
|
|
1034
|
-
itemType: "service" | "
|
|
1034
|
+
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
1035
1035
|
status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
|
|
1036
1036
|
quantity: number;
|
|
1037
1037
|
productId: string | null;
|
|
@@ -1183,7 +1183,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1183
1183
|
unitItems: {
|
|
1184
1184
|
bookingItemId: string;
|
|
1185
1185
|
title: string;
|
|
1186
|
-
itemType: "service" | "
|
|
1186
|
+
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
1187
1187
|
status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
|
|
1188
1188
|
quantity: number;
|
|
1189
1189
|
productId: string | null;
|
|
@@ -1395,7 +1395,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1395
1395
|
unitItems: {
|
|
1396
1396
|
bookingItemId: string;
|
|
1397
1397
|
title: string;
|
|
1398
|
-
itemType: "service" | "
|
|
1398
|
+
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
1399
1399
|
status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
|
|
1400
1400
|
quantity: number;
|
|
1401
1401
|
productId: string | null;
|
|
@@ -24,7 +24,7 @@ export declare function getProjectedBookingById(db: PostgresJsDatabase, id: stri
|
|
|
24
24
|
unitItems: {
|
|
25
25
|
bookingItemId: string;
|
|
26
26
|
title: string;
|
|
27
|
-
itemType: "service" | "
|
|
27
|
+
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
28
28
|
status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
|
|
29
29
|
quantity: number;
|
|
30
30
|
productId: string | null;
|
|
@@ -126,7 +126,7 @@ export declare function listProjectedBookings(db: PostgresJsDatabase, query: Oct
|
|
|
126
126
|
unitItems: {
|
|
127
127
|
bookingItemId: string;
|
|
128
128
|
title: string;
|
|
129
|
-
itemType: "service" | "
|
|
129
|
+
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
130
130
|
status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
|
|
131
131
|
quantity: number;
|
|
132
132
|
productId: string | null;
|
|
@@ -235,7 +235,7 @@ export declare function reserveProjectedBooking(db: PostgresJsDatabase, data: Pa
|
|
|
235
235
|
unitItems: {
|
|
236
236
|
bookingItemId: string;
|
|
237
237
|
title: string;
|
|
238
|
-
itemType: "service" | "
|
|
238
|
+
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
239
239
|
status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
|
|
240
240
|
quantity: number;
|
|
241
241
|
productId: string | null;
|
|
@@ -341,7 +341,7 @@ export declare function confirmProjectedBooking(db: PostgresJsDatabase, id: stri
|
|
|
341
341
|
unitItems: {
|
|
342
342
|
bookingItemId: string;
|
|
343
343
|
title: string;
|
|
344
|
-
itemType: "service" | "
|
|
344
|
+
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
345
345
|
status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
|
|
346
346
|
quantity: number;
|
|
347
347
|
productId: string | null;
|
|
@@ -447,7 +447,7 @@ export declare function extendProjectedBookingHold(db: PostgresJsDatabase, id: s
|
|
|
447
447
|
unitItems: {
|
|
448
448
|
bookingItemId: string;
|
|
449
449
|
title: string;
|
|
450
|
-
itemType: "service" | "
|
|
450
|
+
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
451
451
|
status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
|
|
452
452
|
quantity: number;
|
|
453
453
|
productId: string | null;
|
|
@@ -553,7 +553,7 @@ export declare function expireProjectedBooking(db: PostgresJsDatabase, id: strin
|
|
|
553
553
|
unitItems: {
|
|
554
554
|
bookingItemId: string;
|
|
555
555
|
title: string;
|
|
556
|
-
itemType: "service" | "
|
|
556
|
+
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
557
557
|
status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
|
|
558
558
|
quantity: number;
|
|
559
559
|
productId: string | null;
|
|
@@ -659,7 +659,7 @@ export declare function cancelProjectedBooking(db: PostgresJsDatabase, id: strin
|
|
|
659
659
|
unitItems: {
|
|
660
660
|
bookingItemId: string;
|
|
661
661
|
title: string;
|
|
662
|
-
itemType: "service" | "
|
|
662
|
+
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
663
663
|
status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
|
|
664
664
|
quantity: number;
|
|
665
665
|
productId: string | null;
|
|
@@ -782,7 +782,7 @@ export declare function recordProjectedRedemption(db: PostgresJsDatabase, bookin
|
|
|
782
782
|
unitItems: {
|
|
783
783
|
bookingItemId: string;
|
|
784
784
|
title: string;
|
|
785
|
-
itemType: "service" | "
|
|
785
|
+
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
786
786
|
status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
|
|
787
787
|
quantity: number;
|
|
788
788
|
productId: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/octo",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"license": "FSL-1.1-Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"drizzle-orm": "^0.45.2",
|
|
30
30
|
"hono": "^4.12.10",
|
|
31
31
|
"zod": "^4.3.6",
|
|
32
|
-
"@voyantjs/availability": "0.
|
|
33
|
-
"@voyantjs/bookings": "0.
|
|
34
|
-
"@voyantjs/core": "0.
|
|
35
|
-
"@voyantjs/db": "0.
|
|
36
|
-
"@voyantjs/hono": "0.
|
|
37
|
-
"@voyantjs/products": "0.
|
|
38
|
-
"@voyantjs/transactions": "0.
|
|
32
|
+
"@voyantjs/availability": "0.9.0",
|
|
33
|
+
"@voyantjs/bookings": "0.9.0",
|
|
34
|
+
"@voyantjs/core": "0.9.0",
|
|
35
|
+
"@voyantjs/db": "0.9.0",
|
|
36
|
+
"@voyantjs/hono": "0.9.0",
|
|
37
|
+
"@voyantjs/products": "0.9.0",
|
|
38
|
+
"@voyantjs/transactions": "0.9.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"typescript": "^6.0.2",
|