@voyantjs/customer-portal-react 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.
@@ -25,7 +25,7 @@ export declare function useCustomerPortalBooking(bookingId: string | null | unde
25
25
  id: string;
26
26
  title: string;
27
27
  description: string | null;
28
- itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
28
+ itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
29
29
  status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
30
30
  serviceDate: string | null;
31
31
  startsAt: string | null;
@@ -428,7 +428,7 @@ export declare function getCustomerPortalBooking(client: FetchWithValidationOpti
428
428
  id: string;
429
429
  title: string;
430
430
  description: string | null;
431
- itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
431
+ itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
432
432
  status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
433
433
  serviceDate: string | null;
434
434
  startsAt: string | null;
@@ -504,7 +504,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
504
504
  id: string;
505
505
  title: string;
506
506
  description: string | null;
507
- itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
507
+ itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
508
508
  status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
509
509
  serviceDate: string | null;
510
510
  startsAt: string | null;
@@ -607,7 +607,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
607
607
  id: string;
608
608
  title: string;
609
609
  description: string | null;
610
- itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
610
+ itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
611
611
  status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
612
612
  serviceDate: string | null;
613
613
  startsAt: string | null;
@@ -711,7 +711,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
711
711
  id: string;
712
712
  title: string;
713
713
  description: string | null;
714
- itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
714
+ itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
715
715
  status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
716
716
  serviceDate: string | null;
717
717
  startsAt: string | null;
@@ -817,7 +817,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
817
817
  id: string;
818
818
  title: string;
819
819
  description: string | null;
820
- itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
820
+ itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
821
821
  status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
822
822
  serviceDate: string | null;
823
823
  startsAt: string | null;
package/dist/schemas.d.ts CHANGED
@@ -467,8 +467,8 @@ export declare const customerPortalBookingResponseSchema: z.ZodObject<{
467
467
  description: z.ZodNullable<z.ZodString>;
468
468
  itemType: z.ZodEnum<{
469
469
  service: "service";
470
- other: "other";
471
470
  unit: "unit";
471
+ other: "other";
472
472
  extra: "extra";
473
473
  fee: "fee";
474
474
  tax: "tax";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/customer-portal-react",
3
- "version": "0.7.0",
3
+ "version": "0.9.0",
4
4
  "license": "FSL-1.1-Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -39,7 +39,7 @@
39
39
  "react": "^19.0.0",
40
40
  "react-dom": "^19.0.0",
41
41
  "zod": "^4.0.0",
42
- "@voyantjs/customer-portal": "0.7.0"
42
+ "@voyantjs/customer-portal": "0.9.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@tanstack/react-query": "^5.96.2",
@@ -50,12 +50,12 @@
50
50
  "typescript": "^6.0.2",
51
51
  "vitest": "^4.1.2",
52
52
  "zod": "^4.3.6",
53
- "@voyantjs/customer-portal": "0.7.0",
54
- "@voyantjs/react": "0.7.0",
53
+ "@voyantjs/customer-portal": "0.9.0",
54
+ "@voyantjs/react": "0.9.0",
55
55
  "@voyantjs/voyant-typescript-config": "0.1.0"
56
56
  },
57
57
  "dependencies": {
58
- "@voyantjs/react": "0.7.0"
58
+ "@voyantjs/react": "0.9.0"
59
59
  },
60
60
  "files": [
61
61
  "dist"