@savvycal/appointments-core 1.1.1 → 1.2.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/index.d.cts CHANGED
@@ -2156,6 +2156,12 @@ interface components {
2156
2156
  * "object": {
2157
2157
  * "abandoned_at": null,
2158
2158
  * "appointment": null,
2159
+ * "booking_policy": {
2160
+ * "hold": {
2161
+ * "duration": "PT10M",
2162
+ * "enabled": true
2163
+ * }
2164
+ * },
2159
2165
  * "client": null,
2160
2166
  * "client_data": {
2161
2167
  * "email": "jane@example.com",
@@ -2176,8 +2182,6 @@ interface components {
2176
2182
  * "utc": "2026-02-23T15:30:00Z"
2177
2183
  * },
2178
2184
  * "errors": null,
2179
- * "hold_duration": "PT10M",
2180
- * "hold_enabled": true,
2181
2185
  * "hold_until": "2026-02-22T10:10:00Z",
2182
2186
  * "id": "bi_abc123def456abc123def456",
2183
2187
  * "locked_fields": [
@@ -2381,8 +2385,12 @@ interface components {
2381
2385
  * CreateBookingIntentRequest
2382
2386
  * @description Request schema for creating a booking intent
2383
2387
  * @example {
2384
- * "hold_duration": "PT10M",
2385
- * "hold_enabled": true,
2388
+ * "booking_policy": {
2389
+ * "hold": {
2390
+ * "duration": "PT10M",
2391
+ * "enabled": true
2392
+ * }
2393
+ * },
2386
2394
  * "metadata": {
2387
2395
  * "source": "web"
2388
2396
  * },
@@ -2392,6 +2400,16 @@ interface components {
2392
2400
  CreateBookingIntentRequest: {
2393
2401
  /** @description When true, automatically assigns an available provider for the selected time slot if no provider_id is specified. */
2394
2402
  auto_assign_provider?: boolean | null;
2403
+ /** @description Policy overrides for this booking intent. When omitted, falls back to the service's policies. */
2404
+ booking_policy?: {
2405
+ /** @description Hold policy overrides. */
2406
+ hold?: {
2407
+ /** @description The duration of the hold as an ISO 8601 duration string. */
2408
+ duration?: string | null;
2409
+ /** @description Whether slot holds are enabled. */
2410
+ enabled?: boolean;
2411
+ } | null;
2412
+ } | null;
2395
2413
  /** @description Progressive client data to collect during the booking flow. */
2396
2414
  client_data?: {
2397
2415
  email?: string | null;
@@ -2413,10 +2431,6 @@ interface components {
2413
2431
  * @description The end time of the slot as an ISO-8601 datetime string with a timezone offset.
2414
2432
  */
2415
2433
  end_at?: string | null;
2416
- /** @description The hold duration as an ISO 8601 duration string (e.g., PT10M). When omitted, falls back to the service's hold policy duration. */
2417
- hold_duration?: string | null;
2418
- /** @description Whether to enable slot holding. When omitted, falls back to the service's hold policy. */
2419
- hold_enabled?: boolean | null;
2420
2434
  /** @description Fields to lock from public API updates. Possible values: service_id, provider_id, start_at, end_at, time_zone, client_data, submissions. */
2421
2435
  locked_fields?: string[] | null;
2422
2436
  /** @description Custom metadata key-value pairs. */
@@ -2449,6 +2463,12 @@ interface components {
2449
2463
  * "object": {
2450
2464
  * "abandoned_at": null,
2451
2465
  * "appointment": null,
2466
+ * "booking_policy": {
2467
+ * "hold": {
2468
+ * "duration": "PT10M",
2469
+ * "enabled": true
2470
+ * }
2471
+ * },
2452
2472
  * "client": null,
2453
2473
  * "client_data": {
2454
2474
  * "email": "jane@example.com",
@@ -2469,8 +2489,6 @@ interface components {
2469
2489
  * "utc": "2026-02-23T15:30:00Z"
2470
2490
  * },
2471
2491
  * "errors": null,
2472
- * "hold_duration": "PT10M",
2473
- * "hold_enabled": true,
2474
2492
  * "hold_until": "2026-02-22T10:10:00Z",
2475
2493
  * "id": "bi_abc123def456abc123def456",
2476
2494
  * "locked_fields": [
@@ -2958,6 +2976,12 @@ interface components {
2958
2976
  * "object": {
2959
2977
  * "abandoned_at": null,
2960
2978
  * "appointment": null,
2979
+ * "booking_policy": {
2980
+ * "hold": {
2981
+ * "duration": "PT10M",
2982
+ * "enabled": true
2983
+ * }
2984
+ * },
2961
2985
  * "client": null,
2962
2986
  * "client_data": {
2963
2987
  * "email": "jane@example.com",
@@ -2978,8 +3002,6 @@ interface components {
2978
3002
  * "utc": "2026-02-23T15:30:00Z"
2979
3003
  * },
2980
3004
  * "errors": null,
2981
- * "hold_duration": "PT10M",
2982
- * "hold_enabled": true,
2983
3005
  * "hold_until": "2026-02-22T10:10:00Z",
2984
3006
  * "id": "bi_abc123def456abc123def456",
2985
3007
  * "locked_fields": [
@@ -3377,6 +3399,12 @@ interface components {
3377
3399
  * {
3378
3400
  * "abandoned_at": null,
3379
3401
  * "appointment": null,
3402
+ * "booking_policy": {
3403
+ * "hold": {
3404
+ * "duration": "PT10M",
3405
+ * "enabled": true
3406
+ * }
3407
+ * },
3380
3408
  * "client": null,
3381
3409
  * "client_data": {
3382
3410
  * "email": "jane@example.com",
@@ -3397,8 +3425,6 @@ interface components {
3397
3425
  * "utc": "2026-02-23T15:30:00Z"
3398
3426
  * },
3399
3427
  * "errors": null,
3400
- * "hold_duration": "PT10M",
3401
- * "hold_enabled": true,
3402
3428
  * "hold_until": "2026-02-22T10:10:00Z",
3403
3429
  * "id": "bi_abc123def456abc123def456",
3404
3430
  * "locked_fields": [
@@ -3713,6 +3739,12 @@ interface components {
3713
3739
  * "object": {
3714
3740
  * "abandoned_at": null,
3715
3741
  * "appointment": null,
3742
+ * "booking_policy": {
3743
+ * "hold": {
3744
+ * "duration": "PT10M",
3745
+ * "enabled": true
3746
+ * }
3747
+ * },
3716
3748
  * "client": null,
3717
3749
  * "client_data": {
3718
3750
  * "email": "jane@example.com",
@@ -3733,8 +3765,6 @@ interface components {
3733
3765
  * "utc": "2026-02-23T15:30:00Z"
3734
3766
  * },
3735
3767
  * "errors": null,
3736
- * "hold_duration": "PT10M",
3737
- * "hold_enabled": true,
3738
3768
  * "hold_until": "2026-02-22T10:10:00Z",
3739
3769
  * "id": "bi_abc123def456abc123def456",
3740
3770
  * "locked_fields": [
@@ -4136,6 +4166,19 @@ interface components {
4136
4166
  */
4137
4167
  type: "connected_account.reconnected";
4138
4168
  };
4169
+ /**
4170
+ * BookingIntentBookingPolicy
4171
+ * @description Policy overrides applied to this booking intent.
4172
+ * @example {
4173
+ * "hold": {
4174
+ * "duration": "PT10M",
4175
+ * "enabled": true
4176
+ * }
4177
+ * }
4178
+ */
4179
+ BookingIntentBookingPolicy: {
4180
+ hold: components["schemas"]["HoldPolicy"];
4181
+ };
4139
4182
  /**
4140
4183
  * Client
4141
4184
  * @description This is an object representing a client.
@@ -5201,6 +5244,16 @@ interface components {
5201
5244
  UpdateBookingIntentRequest: {
5202
5245
  /** @description When true, automatically assigns an available provider for the selected time slot if no provider_id is specified. */
5203
5246
  auto_assign_provider?: boolean | null;
5247
+ /** @description Policy overrides for this booking intent. When omitted, falls back to the service's policies if service is changing. */
5248
+ booking_policy?: {
5249
+ /** @description Hold policy overrides. */
5250
+ hold?: {
5251
+ /** @description The duration of the hold as an ISO 8601 duration string. */
5252
+ duration?: string | null;
5253
+ /** @description Whether slot holds are enabled. */
5254
+ enabled?: boolean;
5255
+ } | null;
5256
+ } | null;
5204
5257
  /** @description Progressive client data. Provided fields are merged with existing values. */
5205
5258
  client_data?: {
5206
5259
  email?: string | null;
@@ -5222,10 +5275,6 @@ interface components {
5222
5275
  * @description The end time of the slot as an ISO-8601 datetime string with a timezone offset.
5223
5276
  */
5224
5277
  end_at?: string | null;
5225
- /** @description The hold duration as an ISO 8601 duration string (e.g., PT10M). When omitted, falls back to the service's hold policy duration. */
5226
- hold_duration?: string | null;
5227
- /** @description Whether to enable slot holding. When omitted, falls back to the service's hold policy if service is changing. */
5228
- hold_enabled?: boolean | null;
5229
5278
  /** @description Fields to lock from public API updates. Possible values: service_id, provider_id, start_at, end_at, time_zone, client_data, submissions. Replaces existing locked_fields entirely. */
5230
5279
  locked_fields?: string[] | null;
5231
5280
  /** @description Custom metadata key-value pairs. Replaces existing metadata entirely. */
@@ -8297,6 +8346,12 @@ interface components {
8297
8346
  * "data": {
8298
8347
  * "abandoned_at": null,
8299
8348
  * "appointment": null,
8349
+ * "booking_policy": {
8350
+ * "hold": {
8351
+ * "duration": "PT10M",
8352
+ * "enabled": true
8353
+ * }
8354
+ * },
8300
8355
  * "client": null,
8301
8356
  * "client_data": {
8302
8357
  * "email": "jane@example.com",
@@ -8317,8 +8372,6 @@ interface components {
8317
8372
  * "utc": "2026-02-23T15:30:00Z"
8318
8373
  * },
8319
8374
  * "errors": null,
8320
- * "hold_duration": "PT10M",
8321
- * "hold_enabled": true,
8322
8375
  * "hold_until": "2026-02-22T10:10:00Z",
8323
8376
  * "id": "bi_abc123def456abc123def456",
8324
8377
  * "locked_fields": [
@@ -9725,6 +9778,12 @@ interface components {
9725
9778
  * @example {
9726
9779
  * "abandoned_at": null,
9727
9780
  * "appointment": null,
9781
+ * "booking_policy": {
9782
+ * "hold": {
9783
+ * "duration": "PT10M",
9784
+ * "enabled": true
9785
+ * }
9786
+ * },
9728
9787
  * "client": null,
9729
9788
  * "client_data": {
9730
9789
  * "email": "jane@example.com",
@@ -9745,8 +9804,6 @@ interface components {
9745
9804
  * "utc": "2026-02-23T15:30:00Z"
9746
9805
  * },
9747
9806
  * "errors": null,
9748
- * "hold_duration": "PT10M",
9749
- * "hold_enabled": true,
9750
9807
  * "hold_until": "2026-02-22T10:10:00Z",
9751
9808
  * "id": "bi_abc123def456abc123def456",
9752
9809
  * "locked_fields": [
@@ -9874,6 +9931,7 @@ interface components {
9874
9931
  abandoned_at?: string | null;
9875
9932
  /** @description The created appointment. Present when status is completed. */
9876
9933
  appointment?: components["schemas"]["Appointment"] | null;
9934
+ booking_policy: components["schemas"]["BookingIntentBookingPolicy"];
9877
9935
  /** @description The linked client */
9878
9936
  client?: components["schemas"]["Client"] | null;
9879
9937
  /** @description Client data accumulated during the booking flow. Sensitive fields (first_name, last_name, email, phone) are redacted unless include_sensitive is true. */
@@ -9900,10 +9958,6 @@ interface components {
9900
9958
  end_at?: components["schemas"]["ZonedDateTime"] | null;
9901
9959
  /** @description Validation errors for data provided so far. Fields not yet submitted are not flagged. Null when not computed. */
9902
9960
  errors?: components["schemas"]["JsonError"][] | null;
9903
- /** @description The hold duration as an ISO 8601 duration string (e.g., PT10M) */
9904
- hold_duration?: string | null;
9905
- /** @description Whether slot holding is enabled */
9906
- hold_enabled: boolean;
9907
9961
  /**
9908
9962
  * Format: date-time
9909
9963
  * @description When the hold expires (UTC)
@@ -15014,6 +15068,7 @@ type BlocksResponse = Schemas["BlocksResponse"];
15014
15068
  type BlockUpdatedEventData = Schemas["BlockUpdatedEventData"];
15015
15069
  type BookingIntent = Schemas["BookingIntent"];
15016
15070
  type BookingIntentAbandonedEventData = Schemas["BookingIntentAbandonedEventData"];
15071
+ type BookingIntentBookingPolicy = Schemas["BookingIntentBookingPolicy"];
15017
15072
  type BookingIntentCompletedEventData = Schemas["BookingIntentCompletedEventData"];
15018
15073
  type BookingIntentCreatedEventData = Schemas["BookingIntentCreatedEventData"];
15019
15074
  type BookingIntentResponse = Schemas["BookingIntentResponse"];
@@ -15967,6 +16022,12 @@ declare function createBookingIntent(client: FetchClient, body: RequestBody<"/v1
15967
16022
  }, {
15968
16023
  body: {
15969
16024
  auto_assign_provider?: boolean | null;
16025
+ booking_policy?: {
16026
+ hold?: {
16027
+ duration?: string | null;
16028
+ enabled?: boolean;
16029
+ } | null;
16030
+ } | null;
15970
16031
  client_data?: {
15971
16032
  email?: string | null;
15972
16033
  fields?: {
@@ -15981,8 +16042,6 @@ declare function createBookingIntent(client: FetchClient, body: RequestBody<"/v1
15981
16042
  } | null;
15982
16043
  client_id?: string | null;
15983
16044
  end_at?: string | null;
15984
- hold_duration?: string | null;
15985
- hold_enabled?: boolean | null;
15986
16045
  locked_fields?: string[] | null;
15987
16046
  metadata?: {
15988
16047
  [key: string]: unknown;
@@ -19515,6 +19574,12 @@ declare function updateBookingIntent(client: FetchClient, path: PathParams<"/v1/
19515
19574
  }, {
19516
19575
  body: {
19517
19576
  auto_assign_provider?: boolean | null;
19577
+ booking_policy?: {
19578
+ hold?: {
19579
+ duration?: string | null;
19580
+ enabled?: boolean;
19581
+ } | null;
19582
+ } | null;
19518
19583
  client_data?: {
19519
19584
  email?: string | null;
19520
19585
  fields?: {
@@ -19529,8 +19594,6 @@ declare function updateBookingIntent(client: FetchClient, path: PathParams<"/v1/
19529
19594
  } | null;
19530
19595
  client_id?: string | null;
19531
19596
  end_at?: string | null;
19532
- hold_duration?: string | null;
19533
- hold_enabled?: boolean | null;
19534
19597
  locked_fields?: string[] | null;
19535
19598
  metadata?: {
19536
19599
  [key: string]: unknown;
@@ -20123,4 +20186,4 @@ declare function updateService(client: FetchClient, path: PathParams<"/v1/servic
20123
20186
  };
20124
20187
  }, `${string}/${string}`>>;
20125
20188
 
20126
- export { type Account, type AccountEvent, type AccountResponse, type AccountUser, type AccountUserCreatedEventData, type AccountUserDeletedEventData, type AccountUserResponse, type AccountUserUpdatedEventData, type AccountUsersResponse, type AccountsResponse, type AdvanceNoticePolicy, type AggregatedSlot, type Appointment, type AppointmentCanceledEventData, type AppointmentConfirmedEventData, type AppointmentCreatedEventData, type AppointmentDeletedEventData, type AppointmentRescheduledEventData, type AppointmentResponse, type AppointmentsResponse, type AttachServiceFormRequest, type Block, type BlockCreatedEventData, type BlockDeletedEventData, type BlockResponse, type BlockUpdatedEventData, type BlocksResponse, type BookingIntent, type BookingIntentAbandonedEventData, type BookingIntentCompletedEventData, type BookingIntentCreatedEventData, type BookingIntentResponse, type BookingIntentUpdatedEventData, type BookingIntentsResponse, type BookingPolicy, type CancelAppointmentRequest, type CancelPublicAppointmentRequest, type CancellationEvent, type CancellationPolicy, type CancellationReason, type CancellationReasonResponse, type CancellationReasonsResponse, type Client, type ClientCreatedEventData, type ClientDeletedEventData, type ClientField, type ClientFieldChoice, type ClientFieldOptions, type ClientFieldResponse, type ClientFieldsResponse, type ClientResponse, type ClientUpdatedEventData, type ClientsResponse, type CompleteBookingIntentRequest, type CompletePublicBookingIntentRequest, type ConfirmAppointmentRequest, type ConfirmationEvent, type ConnectedAccount, type ConnectedAccountCreatedEventData, type ConnectedAccountDeletedEventData, type ConnectedAccountReconnectedEventData, type ConnectedAccountRefreshFailedEventData, type ConnectedAccountResponse, type ConnectedAccountsResponse, type CreateAccountRequest, type CreateAccountUserRequest, type CreateAppointmentRequest, type CreateBlockRequest, type CreateBookingIntentRequest, type CreateCancellationReasonRequest, type CreateClientFieldRequest, type CreateClientRequest, type CreateDashboardSessionRequest, type CreateFormRequest, type CreateProviderRequest, type CreateProviderScheduleRequest, type CreatePublicAppointmentRequest, type CreatePublicBookingIntentRequest, type CreateServiceProviderRequest, type CreateServiceRequest, type DashboardSession, type DashboardSessionResponse, type FetchClient, type FetchClientOptions, type FieldChoice, type FieldChoiceInput, type FieldOptions, type FieldOptionsInput, type ForbiddenResponse, type Form, type FormDetail, type FormField, type FormFieldInput, type FormResponse, type FormsResponse, type GenericErrorResponse, type HoldPolicy, type IntentSubmissionInput, type JsonError, type JsonErrorResponse, type MaximizeUtilizationPolicy, type NotFoundResponse, type PaginationMeta, type PathParams, type Platform, type PlatformResponse, type Provider, type ProviderCreatedEventData, type ProviderDeactivatedEventData, type ProviderNotificationConfig, type ProviderNotificationType, type ProviderReactivatedEventData, type ProviderResponse, type ProviderSchedule, type ProviderScheduleCreatedEventData, type ProviderScheduleDeletedEventData, type ProviderScheduleResponse, type ProviderScheduleUpdatedEventData, type ProviderSchedulesResponse, type ProviderUpdatedEventData, type ProvidersResponse, type PublicAppointment, type PublicAppointmentResponse, type PublicBookingIntent, type PublicBookingIntentResponse, type PublicCancellationReason, type PublicCancellationReasonsResponse, type PublicServiceEarliestSlotResponse, type PublicServiceSlotsResponse, type QueryParams, type RecurrenceRule, type RequestBody, type RescheduleAppointmentRequest, type RescheduleEvent, type ReschedulePublicAppointmentRequest, type ReschedulingPolicy, type Role, type RolesResponse, type Service, type ServiceCreatedEventData, type ServiceDeletedEventData, type ServiceForm, type ServiceFormResponse, type ServiceFormsResponse, type ServiceProvider, type ServiceProviderCreatedEventData, type ServiceProviderDeletedEventData, type ServiceProviderResponse, type ServiceProvidersResponse, type ServiceResponse, type ServiceSlotResponse, type ServiceUpdatedEventData, type ServicesResponse, type Slot, type SlotRule, type SortServiceFormsRequest, type UnauthorizedResponse, type UpdateAccountRequest, type UpdateAccountUserRequest, type UpdateBlockRequest, type UpdateBookingIntentRequest, type UpdateCancellationReasonRequest, type UpdateClientFieldRequest, type UpdateClientRequest, type UpdateConnectedAccountRequest, type UpdateFormRequest, type UpdateProviderRequest, type UpdateProviderScheduleRequest, type UpdatePublicBookingIntentRequest, type UpdateServiceRequest, type User, type WeeklyRule, type ZonedDateTime, abandonBookingIntent, abandonPublicBookingIntent, attachServiceForm, cancelAppointment, cancelPublicAppointment, completeBookingIntent, completePublicBookingIntent, confirmAppointment, createAccount, createAccountUser, createAppointment, createBlock, createBookingIntent, createCancellationReason, createClient, createClientField, createDashboardSession, createFetchClient, createForm, createProvider, createProviderSchedule, createPublicAppointment, createPublicBookingIntent, createService, createServiceProvider, deactivateProvider, deleteBlock, deleteCancellationReason, deleteClient, deleteClientField, deleteConnectedAccount, deleteForm, deleteProviderSchedule, deleteService, deleteServiceProvider, detachServiceForm, getAccountById, getAppointment, getBlock, getBookingIntent, getCancellationReason, getClient, getClientField, getConnectedAccount, getCurrentAccount, getCurrentAccountUser, getCurrentPlatform, getEarliestPublicServiceSlot, getForm, getProvider, getProviderSchedule, getPublicAppointment, getPublicBookingIntent, getService, listAccountUsers, listAccounts, listAppointments, listBlocks, listBookingIntents, listCancellationReasons, listClientFields, listClients, listConnectedAccounts, listForms, listProviderSchedules, listProviders, listPublicCancellationReasons, listPublicServiceSlots, listRoles, listServiceForms, listServiceProviders, listServiceSlots, listServices, type paths, rescheduleAppointment, reschedulePublicAppointment, sortServiceForms, updateAccount, updateAccountUser, updateBlock, updateBookingIntent, updateCancellationReason, updateClient, updateClientField, updateConnectedAccount, updateForm, updateProvider, updateProviderSchedule, updatePublicBookingIntent, updateService };
20189
+ export { type Account, type AccountEvent, type AccountResponse, type AccountUser, type AccountUserCreatedEventData, type AccountUserDeletedEventData, type AccountUserResponse, type AccountUserUpdatedEventData, type AccountUsersResponse, type AccountsResponse, type AdvanceNoticePolicy, type AggregatedSlot, type Appointment, type AppointmentCanceledEventData, type AppointmentConfirmedEventData, type AppointmentCreatedEventData, type AppointmentDeletedEventData, type AppointmentRescheduledEventData, type AppointmentResponse, type AppointmentsResponse, type AttachServiceFormRequest, type Block, type BlockCreatedEventData, type BlockDeletedEventData, type BlockResponse, type BlockUpdatedEventData, type BlocksResponse, type BookingIntent, type BookingIntentAbandonedEventData, type BookingIntentBookingPolicy, type BookingIntentCompletedEventData, type BookingIntentCreatedEventData, type BookingIntentResponse, type BookingIntentUpdatedEventData, type BookingIntentsResponse, type BookingPolicy, type CancelAppointmentRequest, type CancelPublicAppointmentRequest, type CancellationEvent, type CancellationPolicy, type CancellationReason, type CancellationReasonResponse, type CancellationReasonsResponse, type Client, type ClientCreatedEventData, type ClientDeletedEventData, type ClientField, type ClientFieldChoice, type ClientFieldOptions, type ClientFieldResponse, type ClientFieldsResponse, type ClientResponse, type ClientUpdatedEventData, type ClientsResponse, type CompleteBookingIntentRequest, type CompletePublicBookingIntentRequest, type ConfirmAppointmentRequest, type ConfirmationEvent, type ConnectedAccount, type ConnectedAccountCreatedEventData, type ConnectedAccountDeletedEventData, type ConnectedAccountReconnectedEventData, type ConnectedAccountRefreshFailedEventData, type ConnectedAccountResponse, type ConnectedAccountsResponse, type CreateAccountRequest, type CreateAccountUserRequest, type CreateAppointmentRequest, type CreateBlockRequest, type CreateBookingIntentRequest, type CreateCancellationReasonRequest, type CreateClientFieldRequest, type CreateClientRequest, type CreateDashboardSessionRequest, type CreateFormRequest, type CreateProviderRequest, type CreateProviderScheduleRequest, type CreatePublicAppointmentRequest, type CreatePublicBookingIntentRequest, type CreateServiceProviderRequest, type CreateServiceRequest, type DashboardSession, type DashboardSessionResponse, type FetchClient, type FetchClientOptions, type FieldChoice, type FieldChoiceInput, type FieldOptions, type FieldOptionsInput, type ForbiddenResponse, type Form, type FormDetail, type FormField, type FormFieldInput, type FormResponse, type FormsResponse, type GenericErrorResponse, type HoldPolicy, type IntentSubmissionInput, type JsonError, type JsonErrorResponse, type MaximizeUtilizationPolicy, type NotFoundResponse, type PaginationMeta, type PathParams, type Platform, type PlatformResponse, type Provider, type ProviderCreatedEventData, type ProviderDeactivatedEventData, type ProviderNotificationConfig, type ProviderNotificationType, type ProviderReactivatedEventData, type ProviderResponse, type ProviderSchedule, type ProviderScheduleCreatedEventData, type ProviderScheduleDeletedEventData, type ProviderScheduleResponse, type ProviderScheduleUpdatedEventData, type ProviderSchedulesResponse, type ProviderUpdatedEventData, type ProvidersResponse, type PublicAppointment, type PublicAppointmentResponse, type PublicBookingIntent, type PublicBookingIntentResponse, type PublicCancellationReason, type PublicCancellationReasonsResponse, type PublicServiceEarliestSlotResponse, type PublicServiceSlotsResponse, type QueryParams, type RecurrenceRule, type RequestBody, type RescheduleAppointmentRequest, type RescheduleEvent, type ReschedulePublicAppointmentRequest, type ReschedulingPolicy, type Role, type RolesResponse, type Service, type ServiceCreatedEventData, type ServiceDeletedEventData, type ServiceForm, type ServiceFormResponse, type ServiceFormsResponse, type ServiceProvider, type ServiceProviderCreatedEventData, type ServiceProviderDeletedEventData, type ServiceProviderResponse, type ServiceProvidersResponse, type ServiceResponse, type ServiceSlotResponse, type ServiceUpdatedEventData, type ServicesResponse, type Slot, type SlotRule, type SortServiceFormsRequest, type UnauthorizedResponse, type UpdateAccountRequest, type UpdateAccountUserRequest, type UpdateBlockRequest, type UpdateBookingIntentRequest, type UpdateCancellationReasonRequest, type UpdateClientFieldRequest, type UpdateClientRequest, type UpdateConnectedAccountRequest, type UpdateFormRequest, type UpdateProviderRequest, type UpdateProviderScheduleRequest, type UpdatePublicBookingIntentRequest, type UpdateServiceRequest, type User, type WeeklyRule, type ZonedDateTime, abandonBookingIntent, abandonPublicBookingIntent, attachServiceForm, cancelAppointment, cancelPublicAppointment, completeBookingIntent, completePublicBookingIntent, confirmAppointment, createAccount, createAccountUser, createAppointment, createBlock, createBookingIntent, createCancellationReason, createClient, createClientField, createDashboardSession, createFetchClient, createForm, createProvider, createProviderSchedule, createPublicAppointment, createPublicBookingIntent, createService, createServiceProvider, deactivateProvider, deleteBlock, deleteCancellationReason, deleteClient, deleteClientField, deleteConnectedAccount, deleteForm, deleteProviderSchedule, deleteService, deleteServiceProvider, detachServiceForm, getAccountById, getAppointment, getBlock, getBookingIntent, getCancellationReason, getClient, getClientField, getConnectedAccount, getCurrentAccount, getCurrentAccountUser, getCurrentPlatform, getEarliestPublicServiceSlot, getForm, getProvider, getProviderSchedule, getPublicAppointment, getPublicBookingIntent, getService, listAccountUsers, listAccounts, listAppointments, listBlocks, listBookingIntents, listCancellationReasons, listClientFields, listClients, listConnectedAccounts, listForms, listProviderSchedules, listProviders, listPublicCancellationReasons, listPublicServiceSlots, listRoles, listServiceForms, listServiceProviders, listServiceSlots, listServices, type paths, rescheduleAppointment, reschedulePublicAppointment, sortServiceForms, updateAccount, updateAccountUser, updateBlock, updateBookingIntent, updateCancellationReason, updateClient, updateClientField, updateConnectedAccount, updateForm, updateProvider, updateProviderSchedule, updatePublicBookingIntent, updateService };
package/dist/index.d.ts CHANGED
@@ -2156,6 +2156,12 @@ interface components {
2156
2156
  * "object": {
2157
2157
  * "abandoned_at": null,
2158
2158
  * "appointment": null,
2159
+ * "booking_policy": {
2160
+ * "hold": {
2161
+ * "duration": "PT10M",
2162
+ * "enabled": true
2163
+ * }
2164
+ * },
2159
2165
  * "client": null,
2160
2166
  * "client_data": {
2161
2167
  * "email": "jane@example.com",
@@ -2176,8 +2182,6 @@ interface components {
2176
2182
  * "utc": "2026-02-23T15:30:00Z"
2177
2183
  * },
2178
2184
  * "errors": null,
2179
- * "hold_duration": "PT10M",
2180
- * "hold_enabled": true,
2181
2185
  * "hold_until": "2026-02-22T10:10:00Z",
2182
2186
  * "id": "bi_abc123def456abc123def456",
2183
2187
  * "locked_fields": [
@@ -2381,8 +2385,12 @@ interface components {
2381
2385
  * CreateBookingIntentRequest
2382
2386
  * @description Request schema for creating a booking intent
2383
2387
  * @example {
2384
- * "hold_duration": "PT10M",
2385
- * "hold_enabled": true,
2388
+ * "booking_policy": {
2389
+ * "hold": {
2390
+ * "duration": "PT10M",
2391
+ * "enabled": true
2392
+ * }
2393
+ * },
2386
2394
  * "metadata": {
2387
2395
  * "source": "web"
2388
2396
  * },
@@ -2392,6 +2400,16 @@ interface components {
2392
2400
  CreateBookingIntentRequest: {
2393
2401
  /** @description When true, automatically assigns an available provider for the selected time slot if no provider_id is specified. */
2394
2402
  auto_assign_provider?: boolean | null;
2403
+ /** @description Policy overrides for this booking intent. When omitted, falls back to the service's policies. */
2404
+ booking_policy?: {
2405
+ /** @description Hold policy overrides. */
2406
+ hold?: {
2407
+ /** @description The duration of the hold as an ISO 8601 duration string. */
2408
+ duration?: string | null;
2409
+ /** @description Whether slot holds are enabled. */
2410
+ enabled?: boolean;
2411
+ } | null;
2412
+ } | null;
2395
2413
  /** @description Progressive client data to collect during the booking flow. */
2396
2414
  client_data?: {
2397
2415
  email?: string | null;
@@ -2413,10 +2431,6 @@ interface components {
2413
2431
  * @description The end time of the slot as an ISO-8601 datetime string with a timezone offset.
2414
2432
  */
2415
2433
  end_at?: string | null;
2416
- /** @description The hold duration as an ISO 8601 duration string (e.g., PT10M). When omitted, falls back to the service's hold policy duration. */
2417
- hold_duration?: string | null;
2418
- /** @description Whether to enable slot holding. When omitted, falls back to the service's hold policy. */
2419
- hold_enabled?: boolean | null;
2420
2434
  /** @description Fields to lock from public API updates. Possible values: service_id, provider_id, start_at, end_at, time_zone, client_data, submissions. */
2421
2435
  locked_fields?: string[] | null;
2422
2436
  /** @description Custom metadata key-value pairs. */
@@ -2449,6 +2463,12 @@ interface components {
2449
2463
  * "object": {
2450
2464
  * "abandoned_at": null,
2451
2465
  * "appointment": null,
2466
+ * "booking_policy": {
2467
+ * "hold": {
2468
+ * "duration": "PT10M",
2469
+ * "enabled": true
2470
+ * }
2471
+ * },
2452
2472
  * "client": null,
2453
2473
  * "client_data": {
2454
2474
  * "email": "jane@example.com",
@@ -2469,8 +2489,6 @@ interface components {
2469
2489
  * "utc": "2026-02-23T15:30:00Z"
2470
2490
  * },
2471
2491
  * "errors": null,
2472
- * "hold_duration": "PT10M",
2473
- * "hold_enabled": true,
2474
2492
  * "hold_until": "2026-02-22T10:10:00Z",
2475
2493
  * "id": "bi_abc123def456abc123def456",
2476
2494
  * "locked_fields": [
@@ -2958,6 +2976,12 @@ interface components {
2958
2976
  * "object": {
2959
2977
  * "abandoned_at": null,
2960
2978
  * "appointment": null,
2979
+ * "booking_policy": {
2980
+ * "hold": {
2981
+ * "duration": "PT10M",
2982
+ * "enabled": true
2983
+ * }
2984
+ * },
2961
2985
  * "client": null,
2962
2986
  * "client_data": {
2963
2987
  * "email": "jane@example.com",
@@ -2978,8 +3002,6 @@ interface components {
2978
3002
  * "utc": "2026-02-23T15:30:00Z"
2979
3003
  * },
2980
3004
  * "errors": null,
2981
- * "hold_duration": "PT10M",
2982
- * "hold_enabled": true,
2983
3005
  * "hold_until": "2026-02-22T10:10:00Z",
2984
3006
  * "id": "bi_abc123def456abc123def456",
2985
3007
  * "locked_fields": [
@@ -3377,6 +3399,12 @@ interface components {
3377
3399
  * {
3378
3400
  * "abandoned_at": null,
3379
3401
  * "appointment": null,
3402
+ * "booking_policy": {
3403
+ * "hold": {
3404
+ * "duration": "PT10M",
3405
+ * "enabled": true
3406
+ * }
3407
+ * },
3380
3408
  * "client": null,
3381
3409
  * "client_data": {
3382
3410
  * "email": "jane@example.com",
@@ -3397,8 +3425,6 @@ interface components {
3397
3425
  * "utc": "2026-02-23T15:30:00Z"
3398
3426
  * },
3399
3427
  * "errors": null,
3400
- * "hold_duration": "PT10M",
3401
- * "hold_enabled": true,
3402
3428
  * "hold_until": "2026-02-22T10:10:00Z",
3403
3429
  * "id": "bi_abc123def456abc123def456",
3404
3430
  * "locked_fields": [
@@ -3713,6 +3739,12 @@ interface components {
3713
3739
  * "object": {
3714
3740
  * "abandoned_at": null,
3715
3741
  * "appointment": null,
3742
+ * "booking_policy": {
3743
+ * "hold": {
3744
+ * "duration": "PT10M",
3745
+ * "enabled": true
3746
+ * }
3747
+ * },
3716
3748
  * "client": null,
3717
3749
  * "client_data": {
3718
3750
  * "email": "jane@example.com",
@@ -3733,8 +3765,6 @@ interface components {
3733
3765
  * "utc": "2026-02-23T15:30:00Z"
3734
3766
  * },
3735
3767
  * "errors": null,
3736
- * "hold_duration": "PT10M",
3737
- * "hold_enabled": true,
3738
3768
  * "hold_until": "2026-02-22T10:10:00Z",
3739
3769
  * "id": "bi_abc123def456abc123def456",
3740
3770
  * "locked_fields": [
@@ -4136,6 +4166,19 @@ interface components {
4136
4166
  */
4137
4167
  type: "connected_account.reconnected";
4138
4168
  };
4169
+ /**
4170
+ * BookingIntentBookingPolicy
4171
+ * @description Policy overrides applied to this booking intent.
4172
+ * @example {
4173
+ * "hold": {
4174
+ * "duration": "PT10M",
4175
+ * "enabled": true
4176
+ * }
4177
+ * }
4178
+ */
4179
+ BookingIntentBookingPolicy: {
4180
+ hold: components["schemas"]["HoldPolicy"];
4181
+ };
4139
4182
  /**
4140
4183
  * Client
4141
4184
  * @description This is an object representing a client.
@@ -5201,6 +5244,16 @@ interface components {
5201
5244
  UpdateBookingIntentRequest: {
5202
5245
  /** @description When true, automatically assigns an available provider for the selected time slot if no provider_id is specified. */
5203
5246
  auto_assign_provider?: boolean | null;
5247
+ /** @description Policy overrides for this booking intent. When omitted, falls back to the service's policies if service is changing. */
5248
+ booking_policy?: {
5249
+ /** @description Hold policy overrides. */
5250
+ hold?: {
5251
+ /** @description The duration of the hold as an ISO 8601 duration string. */
5252
+ duration?: string | null;
5253
+ /** @description Whether slot holds are enabled. */
5254
+ enabled?: boolean;
5255
+ } | null;
5256
+ } | null;
5204
5257
  /** @description Progressive client data. Provided fields are merged with existing values. */
5205
5258
  client_data?: {
5206
5259
  email?: string | null;
@@ -5222,10 +5275,6 @@ interface components {
5222
5275
  * @description The end time of the slot as an ISO-8601 datetime string with a timezone offset.
5223
5276
  */
5224
5277
  end_at?: string | null;
5225
- /** @description The hold duration as an ISO 8601 duration string (e.g., PT10M). When omitted, falls back to the service's hold policy duration. */
5226
- hold_duration?: string | null;
5227
- /** @description Whether to enable slot holding. When omitted, falls back to the service's hold policy if service is changing. */
5228
- hold_enabled?: boolean | null;
5229
5278
  /** @description Fields to lock from public API updates. Possible values: service_id, provider_id, start_at, end_at, time_zone, client_data, submissions. Replaces existing locked_fields entirely. */
5230
5279
  locked_fields?: string[] | null;
5231
5280
  /** @description Custom metadata key-value pairs. Replaces existing metadata entirely. */
@@ -8297,6 +8346,12 @@ interface components {
8297
8346
  * "data": {
8298
8347
  * "abandoned_at": null,
8299
8348
  * "appointment": null,
8349
+ * "booking_policy": {
8350
+ * "hold": {
8351
+ * "duration": "PT10M",
8352
+ * "enabled": true
8353
+ * }
8354
+ * },
8300
8355
  * "client": null,
8301
8356
  * "client_data": {
8302
8357
  * "email": "jane@example.com",
@@ -8317,8 +8372,6 @@ interface components {
8317
8372
  * "utc": "2026-02-23T15:30:00Z"
8318
8373
  * },
8319
8374
  * "errors": null,
8320
- * "hold_duration": "PT10M",
8321
- * "hold_enabled": true,
8322
8375
  * "hold_until": "2026-02-22T10:10:00Z",
8323
8376
  * "id": "bi_abc123def456abc123def456",
8324
8377
  * "locked_fields": [
@@ -9725,6 +9778,12 @@ interface components {
9725
9778
  * @example {
9726
9779
  * "abandoned_at": null,
9727
9780
  * "appointment": null,
9781
+ * "booking_policy": {
9782
+ * "hold": {
9783
+ * "duration": "PT10M",
9784
+ * "enabled": true
9785
+ * }
9786
+ * },
9728
9787
  * "client": null,
9729
9788
  * "client_data": {
9730
9789
  * "email": "jane@example.com",
@@ -9745,8 +9804,6 @@ interface components {
9745
9804
  * "utc": "2026-02-23T15:30:00Z"
9746
9805
  * },
9747
9806
  * "errors": null,
9748
- * "hold_duration": "PT10M",
9749
- * "hold_enabled": true,
9750
9807
  * "hold_until": "2026-02-22T10:10:00Z",
9751
9808
  * "id": "bi_abc123def456abc123def456",
9752
9809
  * "locked_fields": [
@@ -9874,6 +9931,7 @@ interface components {
9874
9931
  abandoned_at?: string | null;
9875
9932
  /** @description The created appointment. Present when status is completed. */
9876
9933
  appointment?: components["schemas"]["Appointment"] | null;
9934
+ booking_policy: components["schemas"]["BookingIntentBookingPolicy"];
9877
9935
  /** @description The linked client */
9878
9936
  client?: components["schemas"]["Client"] | null;
9879
9937
  /** @description Client data accumulated during the booking flow. Sensitive fields (first_name, last_name, email, phone) are redacted unless include_sensitive is true. */
@@ -9900,10 +9958,6 @@ interface components {
9900
9958
  end_at?: components["schemas"]["ZonedDateTime"] | null;
9901
9959
  /** @description Validation errors for data provided so far. Fields not yet submitted are not flagged. Null when not computed. */
9902
9960
  errors?: components["schemas"]["JsonError"][] | null;
9903
- /** @description The hold duration as an ISO 8601 duration string (e.g., PT10M) */
9904
- hold_duration?: string | null;
9905
- /** @description Whether slot holding is enabled */
9906
- hold_enabled: boolean;
9907
9961
  /**
9908
9962
  * Format: date-time
9909
9963
  * @description When the hold expires (UTC)
@@ -15014,6 +15068,7 @@ type BlocksResponse = Schemas["BlocksResponse"];
15014
15068
  type BlockUpdatedEventData = Schemas["BlockUpdatedEventData"];
15015
15069
  type BookingIntent = Schemas["BookingIntent"];
15016
15070
  type BookingIntentAbandonedEventData = Schemas["BookingIntentAbandonedEventData"];
15071
+ type BookingIntentBookingPolicy = Schemas["BookingIntentBookingPolicy"];
15017
15072
  type BookingIntentCompletedEventData = Schemas["BookingIntentCompletedEventData"];
15018
15073
  type BookingIntentCreatedEventData = Schemas["BookingIntentCreatedEventData"];
15019
15074
  type BookingIntentResponse = Schemas["BookingIntentResponse"];
@@ -15967,6 +16022,12 @@ declare function createBookingIntent(client: FetchClient, body: RequestBody<"/v1
15967
16022
  }, {
15968
16023
  body: {
15969
16024
  auto_assign_provider?: boolean | null;
16025
+ booking_policy?: {
16026
+ hold?: {
16027
+ duration?: string | null;
16028
+ enabled?: boolean;
16029
+ } | null;
16030
+ } | null;
15970
16031
  client_data?: {
15971
16032
  email?: string | null;
15972
16033
  fields?: {
@@ -15981,8 +16042,6 @@ declare function createBookingIntent(client: FetchClient, body: RequestBody<"/v1
15981
16042
  } | null;
15982
16043
  client_id?: string | null;
15983
16044
  end_at?: string | null;
15984
- hold_duration?: string | null;
15985
- hold_enabled?: boolean | null;
15986
16045
  locked_fields?: string[] | null;
15987
16046
  metadata?: {
15988
16047
  [key: string]: unknown;
@@ -19515,6 +19574,12 @@ declare function updateBookingIntent(client: FetchClient, path: PathParams<"/v1/
19515
19574
  }, {
19516
19575
  body: {
19517
19576
  auto_assign_provider?: boolean | null;
19577
+ booking_policy?: {
19578
+ hold?: {
19579
+ duration?: string | null;
19580
+ enabled?: boolean;
19581
+ } | null;
19582
+ } | null;
19518
19583
  client_data?: {
19519
19584
  email?: string | null;
19520
19585
  fields?: {
@@ -19529,8 +19594,6 @@ declare function updateBookingIntent(client: FetchClient, path: PathParams<"/v1/
19529
19594
  } | null;
19530
19595
  client_id?: string | null;
19531
19596
  end_at?: string | null;
19532
- hold_duration?: string | null;
19533
- hold_enabled?: boolean | null;
19534
19597
  locked_fields?: string[] | null;
19535
19598
  metadata?: {
19536
19599
  [key: string]: unknown;
@@ -20123,4 +20186,4 @@ declare function updateService(client: FetchClient, path: PathParams<"/v1/servic
20123
20186
  };
20124
20187
  }, `${string}/${string}`>>;
20125
20188
 
20126
- export { type Account, type AccountEvent, type AccountResponse, type AccountUser, type AccountUserCreatedEventData, type AccountUserDeletedEventData, type AccountUserResponse, type AccountUserUpdatedEventData, type AccountUsersResponse, type AccountsResponse, type AdvanceNoticePolicy, type AggregatedSlot, type Appointment, type AppointmentCanceledEventData, type AppointmentConfirmedEventData, type AppointmentCreatedEventData, type AppointmentDeletedEventData, type AppointmentRescheduledEventData, type AppointmentResponse, type AppointmentsResponse, type AttachServiceFormRequest, type Block, type BlockCreatedEventData, type BlockDeletedEventData, type BlockResponse, type BlockUpdatedEventData, type BlocksResponse, type BookingIntent, type BookingIntentAbandonedEventData, type BookingIntentCompletedEventData, type BookingIntentCreatedEventData, type BookingIntentResponse, type BookingIntentUpdatedEventData, type BookingIntentsResponse, type BookingPolicy, type CancelAppointmentRequest, type CancelPublicAppointmentRequest, type CancellationEvent, type CancellationPolicy, type CancellationReason, type CancellationReasonResponse, type CancellationReasonsResponse, type Client, type ClientCreatedEventData, type ClientDeletedEventData, type ClientField, type ClientFieldChoice, type ClientFieldOptions, type ClientFieldResponse, type ClientFieldsResponse, type ClientResponse, type ClientUpdatedEventData, type ClientsResponse, type CompleteBookingIntentRequest, type CompletePublicBookingIntentRequest, type ConfirmAppointmentRequest, type ConfirmationEvent, type ConnectedAccount, type ConnectedAccountCreatedEventData, type ConnectedAccountDeletedEventData, type ConnectedAccountReconnectedEventData, type ConnectedAccountRefreshFailedEventData, type ConnectedAccountResponse, type ConnectedAccountsResponse, type CreateAccountRequest, type CreateAccountUserRequest, type CreateAppointmentRequest, type CreateBlockRequest, type CreateBookingIntentRequest, type CreateCancellationReasonRequest, type CreateClientFieldRequest, type CreateClientRequest, type CreateDashboardSessionRequest, type CreateFormRequest, type CreateProviderRequest, type CreateProviderScheduleRequest, type CreatePublicAppointmentRequest, type CreatePublicBookingIntentRequest, type CreateServiceProviderRequest, type CreateServiceRequest, type DashboardSession, type DashboardSessionResponse, type FetchClient, type FetchClientOptions, type FieldChoice, type FieldChoiceInput, type FieldOptions, type FieldOptionsInput, type ForbiddenResponse, type Form, type FormDetail, type FormField, type FormFieldInput, type FormResponse, type FormsResponse, type GenericErrorResponse, type HoldPolicy, type IntentSubmissionInput, type JsonError, type JsonErrorResponse, type MaximizeUtilizationPolicy, type NotFoundResponse, type PaginationMeta, type PathParams, type Platform, type PlatformResponse, type Provider, type ProviderCreatedEventData, type ProviderDeactivatedEventData, type ProviderNotificationConfig, type ProviderNotificationType, type ProviderReactivatedEventData, type ProviderResponse, type ProviderSchedule, type ProviderScheduleCreatedEventData, type ProviderScheduleDeletedEventData, type ProviderScheduleResponse, type ProviderScheduleUpdatedEventData, type ProviderSchedulesResponse, type ProviderUpdatedEventData, type ProvidersResponse, type PublicAppointment, type PublicAppointmentResponse, type PublicBookingIntent, type PublicBookingIntentResponse, type PublicCancellationReason, type PublicCancellationReasonsResponse, type PublicServiceEarliestSlotResponse, type PublicServiceSlotsResponse, type QueryParams, type RecurrenceRule, type RequestBody, type RescheduleAppointmentRequest, type RescheduleEvent, type ReschedulePublicAppointmentRequest, type ReschedulingPolicy, type Role, type RolesResponse, type Service, type ServiceCreatedEventData, type ServiceDeletedEventData, type ServiceForm, type ServiceFormResponse, type ServiceFormsResponse, type ServiceProvider, type ServiceProviderCreatedEventData, type ServiceProviderDeletedEventData, type ServiceProviderResponse, type ServiceProvidersResponse, type ServiceResponse, type ServiceSlotResponse, type ServiceUpdatedEventData, type ServicesResponse, type Slot, type SlotRule, type SortServiceFormsRequest, type UnauthorizedResponse, type UpdateAccountRequest, type UpdateAccountUserRequest, type UpdateBlockRequest, type UpdateBookingIntentRequest, type UpdateCancellationReasonRequest, type UpdateClientFieldRequest, type UpdateClientRequest, type UpdateConnectedAccountRequest, type UpdateFormRequest, type UpdateProviderRequest, type UpdateProviderScheduleRequest, type UpdatePublicBookingIntentRequest, type UpdateServiceRequest, type User, type WeeklyRule, type ZonedDateTime, abandonBookingIntent, abandonPublicBookingIntent, attachServiceForm, cancelAppointment, cancelPublicAppointment, completeBookingIntent, completePublicBookingIntent, confirmAppointment, createAccount, createAccountUser, createAppointment, createBlock, createBookingIntent, createCancellationReason, createClient, createClientField, createDashboardSession, createFetchClient, createForm, createProvider, createProviderSchedule, createPublicAppointment, createPublicBookingIntent, createService, createServiceProvider, deactivateProvider, deleteBlock, deleteCancellationReason, deleteClient, deleteClientField, deleteConnectedAccount, deleteForm, deleteProviderSchedule, deleteService, deleteServiceProvider, detachServiceForm, getAccountById, getAppointment, getBlock, getBookingIntent, getCancellationReason, getClient, getClientField, getConnectedAccount, getCurrentAccount, getCurrentAccountUser, getCurrentPlatform, getEarliestPublicServiceSlot, getForm, getProvider, getProviderSchedule, getPublicAppointment, getPublicBookingIntent, getService, listAccountUsers, listAccounts, listAppointments, listBlocks, listBookingIntents, listCancellationReasons, listClientFields, listClients, listConnectedAccounts, listForms, listProviderSchedules, listProviders, listPublicCancellationReasons, listPublicServiceSlots, listRoles, listServiceForms, listServiceProviders, listServiceSlots, listServices, type paths, rescheduleAppointment, reschedulePublicAppointment, sortServiceForms, updateAccount, updateAccountUser, updateBlock, updateBookingIntent, updateCancellationReason, updateClient, updateClientField, updateConnectedAccount, updateForm, updateProvider, updateProviderSchedule, updatePublicBookingIntent, updateService };
20189
+ export { type Account, type AccountEvent, type AccountResponse, type AccountUser, type AccountUserCreatedEventData, type AccountUserDeletedEventData, type AccountUserResponse, type AccountUserUpdatedEventData, type AccountUsersResponse, type AccountsResponse, type AdvanceNoticePolicy, type AggregatedSlot, type Appointment, type AppointmentCanceledEventData, type AppointmentConfirmedEventData, type AppointmentCreatedEventData, type AppointmentDeletedEventData, type AppointmentRescheduledEventData, type AppointmentResponse, type AppointmentsResponse, type AttachServiceFormRequest, type Block, type BlockCreatedEventData, type BlockDeletedEventData, type BlockResponse, type BlockUpdatedEventData, type BlocksResponse, type BookingIntent, type BookingIntentAbandonedEventData, type BookingIntentBookingPolicy, type BookingIntentCompletedEventData, type BookingIntentCreatedEventData, type BookingIntentResponse, type BookingIntentUpdatedEventData, type BookingIntentsResponse, type BookingPolicy, type CancelAppointmentRequest, type CancelPublicAppointmentRequest, type CancellationEvent, type CancellationPolicy, type CancellationReason, type CancellationReasonResponse, type CancellationReasonsResponse, type Client, type ClientCreatedEventData, type ClientDeletedEventData, type ClientField, type ClientFieldChoice, type ClientFieldOptions, type ClientFieldResponse, type ClientFieldsResponse, type ClientResponse, type ClientUpdatedEventData, type ClientsResponse, type CompleteBookingIntentRequest, type CompletePublicBookingIntentRequest, type ConfirmAppointmentRequest, type ConfirmationEvent, type ConnectedAccount, type ConnectedAccountCreatedEventData, type ConnectedAccountDeletedEventData, type ConnectedAccountReconnectedEventData, type ConnectedAccountRefreshFailedEventData, type ConnectedAccountResponse, type ConnectedAccountsResponse, type CreateAccountRequest, type CreateAccountUserRequest, type CreateAppointmentRequest, type CreateBlockRequest, type CreateBookingIntentRequest, type CreateCancellationReasonRequest, type CreateClientFieldRequest, type CreateClientRequest, type CreateDashboardSessionRequest, type CreateFormRequest, type CreateProviderRequest, type CreateProviderScheduleRequest, type CreatePublicAppointmentRequest, type CreatePublicBookingIntentRequest, type CreateServiceProviderRequest, type CreateServiceRequest, type DashboardSession, type DashboardSessionResponse, type FetchClient, type FetchClientOptions, type FieldChoice, type FieldChoiceInput, type FieldOptions, type FieldOptionsInput, type ForbiddenResponse, type Form, type FormDetail, type FormField, type FormFieldInput, type FormResponse, type FormsResponse, type GenericErrorResponse, type HoldPolicy, type IntentSubmissionInput, type JsonError, type JsonErrorResponse, type MaximizeUtilizationPolicy, type NotFoundResponse, type PaginationMeta, type PathParams, type Platform, type PlatformResponse, type Provider, type ProviderCreatedEventData, type ProviderDeactivatedEventData, type ProviderNotificationConfig, type ProviderNotificationType, type ProviderReactivatedEventData, type ProviderResponse, type ProviderSchedule, type ProviderScheduleCreatedEventData, type ProviderScheduleDeletedEventData, type ProviderScheduleResponse, type ProviderScheduleUpdatedEventData, type ProviderSchedulesResponse, type ProviderUpdatedEventData, type ProvidersResponse, type PublicAppointment, type PublicAppointmentResponse, type PublicBookingIntent, type PublicBookingIntentResponse, type PublicCancellationReason, type PublicCancellationReasonsResponse, type PublicServiceEarliestSlotResponse, type PublicServiceSlotsResponse, type QueryParams, type RecurrenceRule, type RequestBody, type RescheduleAppointmentRequest, type RescheduleEvent, type ReschedulePublicAppointmentRequest, type ReschedulingPolicy, type Role, type RolesResponse, type Service, type ServiceCreatedEventData, type ServiceDeletedEventData, type ServiceForm, type ServiceFormResponse, type ServiceFormsResponse, type ServiceProvider, type ServiceProviderCreatedEventData, type ServiceProviderDeletedEventData, type ServiceProviderResponse, type ServiceProvidersResponse, type ServiceResponse, type ServiceSlotResponse, type ServiceUpdatedEventData, type ServicesResponse, type Slot, type SlotRule, type SortServiceFormsRequest, type UnauthorizedResponse, type UpdateAccountRequest, type UpdateAccountUserRequest, type UpdateBlockRequest, type UpdateBookingIntentRequest, type UpdateCancellationReasonRequest, type UpdateClientFieldRequest, type UpdateClientRequest, type UpdateConnectedAccountRequest, type UpdateFormRequest, type UpdateProviderRequest, type UpdateProviderScheduleRequest, type UpdatePublicBookingIntentRequest, type UpdateServiceRequest, type User, type WeeklyRule, type ZonedDateTime, abandonBookingIntent, abandonPublicBookingIntent, attachServiceForm, cancelAppointment, cancelPublicAppointment, completeBookingIntent, completePublicBookingIntent, confirmAppointment, createAccount, createAccountUser, createAppointment, createBlock, createBookingIntent, createCancellationReason, createClient, createClientField, createDashboardSession, createFetchClient, createForm, createProvider, createProviderSchedule, createPublicAppointment, createPublicBookingIntent, createService, createServiceProvider, deactivateProvider, deleteBlock, deleteCancellationReason, deleteClient, deleteClientField, deleteConnectedAccount, deleteForm, deleteProviderSchedule, deleteService, deleteServiceProvider, detachServiceForm, getAccountById, getAppointment, getBlock, getBookingIntent, getCancellationReason, getClient, getClientField, getConnectedAccount, getCurrentAccount, getCurrentAccountUser, getCurrentPlatform, getEarliestPublicServiceSlot, getForm, getProvider, getProviderSchedule, getPublicAppointment, getPublicBookingIntent, getService, listAccountUsers, listAccounts, listAppointments, listBlocks, listBookingIntents, listCancellationReasons, listClientFields, listClients, listConnectedAccounts, listForms, listProviderSchedules, listProviders, listPublicCancellationReasons, listPublicServiceSlots, listRoles, listServiceForms, listServiceProviders, listServiceSlots, listServices, type paths, rescheduleAppointment, reschedulePublicAppointment, sortServiceForms, updateAccount, updateAccountUser, updateBlock, updateBookingIntent, updateCancellationReason, updateClient, updateClientField, updateConnectedAccount, updateForm, updateProvider, updateProviderSchedule, updatePublicBookingIntent, updateService };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@savvycal/appointments-core",
3
- "version": "1.1.1",
3
+ "version": "1.2.0",
4
4
  "type": "module",
5
5
  "description": "JavaScript/TypeScript client library for the SavvyCal Appointments API",
6
6
  "main": "./dist/index.cjs",