@doany-ai/calendar 0.1.0-alpha.4 → 0.1.0-alpha.5

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +8 -8
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -4,9 +4,9 @@ import type { DoanyClientLike } from "@doany-ai/app-core";
4
4
  * fields this package reads. A real SDK client satisfies `CalendarClient`
5
5
  * structurally (`tests/sdk-contract.types.ts` checks it).
6
6
  */
7
- export type BookingMode = "appointment" | "class";
8
- export type PaymentRequirement = "none" | "full_online";
9
- export type LocationType = "business_address" | "customer_address" | "online";
7
+ export type BookingMode = "appointment" | "class" | (string & {});
8
+ export type PaymentRequirement = "none" | "full_online" | (string & {});
9
+ export type LocationType = "business_address" | "customer_address" | "online" | (string & {});
10
10
  export interface BookingField {
11
11
  key: string;
12
12
  type: "text" | "textarea" | "select" | "multiselect" | "checkbox";
@@ -83,8 +83,8 @@ export interface SessionVariant {
83
83
  export interface Booking {
84
84
  id: string;
85
85
  version: number;
86
- kind: "appointment" | "session";
87
- status: "scheduled" | "canceled";
86
+ kind: "appointment" | "session" | (string & {});
87
+ status: "scheduled" | "canceled" | (string & {});
88
88
  service_setting_id: string;
89
89
  catalog_item_variant_id: string;
90
90
  item_name: string;
@@ -116,7 +116,7 @@ export interface Attendee {
116
116
  phone?: string | null;
117
117
  answers?: Record<string, unknown>;
118
118
  }
119
- export type RegistrationStatus = "pending_payment" | "confirmed" | "canceled" | "expired";
119
+ export type RegistrationStatus = "pending_payment" | "confirmed" | "canceled" | "expired" | (string & {});
120
120
  export interface Registration {
121
121
  id: string;
122
122
  booking_id: string;
@@ -200,8 +200,8 @@ export interface RegistrationDetail {
200
200
  /** A catalog item as the service pages read it: what the booking record does not carry. */
201
201
  export interface CatalogItemSummary {
202
202
  id: string;
203
- type?: "service" | "product" | "plan" | "bundle";
204
- kind: "service" | "physical" | "digital" | "plan" | "bundle";
203
+ type?: "service" | "product" | "plan" | "bundle" | (string & {});
204
+ kind: "service" | "physical" | "digital" | "plan" | "bundle" | (string & {});
205
205
  status: string;
206
206
  name: string;
207
207
  description: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doany-ai/calendar",
3
- "version": "0.1.0-alpha.4",
3
+ "version": "0.1.0-alpha.5",
4
4
  "description": "Booking the business's services, on a Doany site: calendar hooks and default components (service list, date and time picker, booking flow, class sessions, booking status)",
5
5
  "type": "module",
6
6
  "sideEffects": false,