@savvycal/appointments-core 1.6.0 → 1.7.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.
Files changed (3) hide show
  1. package/dist/index.d.cts +245 -255
  2. package/dist/index.d.ts +245 -255
  3. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -1711,6 +1711,9 @@ interface components {
1711
1711
  * },
1712
1712
  * "client_data": {
1713
1713
  * "email": "jane.smith@example.com",
1714
+ * "fields": {
1715
+ * "age": 30
1716
+ * },
1714
1717
  * "first_name": "Jane",
1715
1718
  * "last_name": "Smith",
1716
1719
  * "locale": "en-US",
@@ -1758,6 +1761,7 @@ interface components {
1758
1761
  * "conferencing_provider": "zoom_admin",
1759
1762
  * "error_message": null,
1760
1763
  * "external_meeting_id": "82912345678",
1764
+ * "host_url": "https://book.acme.com/p/appointments/appt_a1b2c3d4e5f6/host?token=An5thqO6Li9Dy9WXe3IsJQYDEXGjS70GjQIdNntKZgw",
1761
1765
  * "id": "amtg_a1b2c3d4e5f6",
1762
1766
  * "join_url": "https://zoom.us/j/82912345678",
1763
1767
  * "object": "appointment_meeting",
@@ -2263,6 +2267,9 @@ interface components {
2263
2267
  * "client": null,
2264
2268
  * "client_data": {
2265
2269
  * "email": "jane@example.com",
2270
+ * "fields": {
2271
+ * "age": 30
2272
+ * },
2266
2273
  * "first_name": "Jane",
2267
2274
  * "last_name": "Doe",
2268
2275
  * "locale": "en",
@@ -2507,6 +2514,9 @@ interface components {
2507
2514
  * },
2508
2515
  * "client_data": {
2509
2516
  * "email": "jane.smith@example.com",
2517
+ * "fields": {
2518
+ * "age": 30
2519
+ * },
2510
2520
  * "first_name": "Jane",
2511
2521
  * "last_name": "Smith",
2512
2522
  * "locale": "en-US",
@@ -2554,6 +2564,7 @@ interface components {
2554
2564
  * "conferencing_provider": "zoom_admin",
2555
2565
  * "error_message": null,
2556
2566
  * "external_meeting_id": "82912345678",
2567
+ * "host_url": "https://book.acme.com/p/appointments/appt_a1b2c3d4e5f6/host?token=An5thqO6Li9Dy9WXe3IsJQYDEXGjS70GjQIdNntKZgw",
2557
2568
  * "id": "amtg_a1b2c3d4e5f6",
2558
2569
  * "join_url": "https://zoom.us/j/82912345678",
2559
2570
  * "object": "appointment_meeting",
@@ -2821,19 +2832,7 @@ interface components {
2821
2832
  } | null;
2822
2833
  } | null;
2823
2834
  /** @description Progressive client data to collect during the booking flow. */
2824
- client_data?: {
2825
- email?: string | null;
2826
- /** @description A map of custom field key-value pairs. */
2827
- fields?: {
2828
- [key: string]: unknown;
2829
- } | null;
2830
- first_name?: string | null;
2831
- last_name?: string | null;
2832
- locale?: string | null;
2833
- phone?: string | null;
2834
- reference_id?: string | null;
2835
- time_zone?: string | null;
2836
- } | null;
2835
+ client_data?: components["schemas"]["ClientDataInput"] | null;
2837
2836
  /** @description The ID of an existing client to link. */
2838
2837
  client_id?: string | null;
2839
2838
  /**
@@ -2887,6 +2886,9 @@ interface components {
2887
2886
  * "client": null,
2888
2887
  * "client_data": {
2889
2888
  * "email": "jane@example.com",
2889
+ * "fields": {
2890
+ * "age": 30
2891
+ * },
2890
2892
  * "first_name": "Jane",
2891
2893
  * "last_name": "Doe",
2892
2894
  * "locale": "en",
@@ -3479,6 +3481,9 @@ interface components {
3479
3481
  * "client": null,
3480
3482
  * "client_data": {
3481
3483
  * "email": "jane@example.com",
3484
+ * "fields": {
3485
+ * "age": 30
3486
+ * },
3482
3487
  * "first_name": "Jane",
3483
3488
  * "last_name": "Doe",
3484
3489
  * "locale": "en",
@@ -3833,19 +3838,7 @@ interface components {
3833
3838
  /** @description When true, automatically assigns an available provider for the selected time slot if no provider_id is specified. */
3834
3839
  auto_assign_provider?: boolean | null;
3835
3840
  /** @description Progressive client data. Provided fields are merged with existing values. */
3836
- client_data?: {
3837
- email?: string | null;
3838
- /** @description A map of custom field key-value pairs. */
3839
- fields?: {
3840
- [key: string]: unknown;
3841
- } | null;
3842
- first_name?: string | null;
3843
- last_name?: string | null;
3844
- locale?: string | null;
3845
- phone?: string | null;
3846
- reference_id?: string | null;
3847
- time_zone?: string | null;
3848
- } | null;
3841
+ client_data?: components["schemas"]["ClientDataInput"] | null;
3849
3842
  /** @description The ID of an existing client to link. */
3850
3843
  client_id?: string | null;
3851
3844
  /**
@@ -3926,6 +3919,9 @@ interface components {
3926
3919
  * "client": null,
3927
3920
  * "client_data": {
3928
3921
  * "email": "jane@example.com",
3922
+ * "fields": {
3923
+ * "age": 30
3924
+ * },
3929
3925
  * "first_name": "Jane",
3930
3926
  * "last_name": "Doe",
3931
3927
  * "locale": "en",
@@ -4290,6 +4286,9 @@ interface components {
4290
4286
  * "client": null,
4291
4287
  * "client_data": {
4292
4288
  * "email": "jane@example.com",
4289
+ * "fields": {
4290
+ * "age": 30
4291
+ * },
4293
4292
  * "first_name": "Jane",
4294
4293
  * "last_name": "Doe",
4295
4294
  * "locale": "en",
@@ -5097,6 +5096,9 @@ interface components {
5097
5096
  * },
5098
5097
  * "client_data": {
5099
5098
  * "email": "jane.smith@example.com",
5099
+ * "fields": {
5100
+ * "age": 30
5101
+ * },
5100
5102
  * "first_name": "Jane",
5101
5103
  * "last_name": "Smith",
5102
5104
  * "locale": "en-US",
@@ -5144,6 +5146,7 @@ interface components {
5144
5146
  * "conferencing_provider": "zoom_admin",
5145
5147
  * "error_message": null,
5146
5148
  * "external_meeting_id": "82912345678",
5149
+ * "host_url": "https://book.acme.com/p/appointments/appt_a1b2c3d4e5f6/host?token=An5thqO6Li9Dy9WXe3IsJQYDEXGjS70GjQIdNntKZgw",
5147
5150
  * "id": "amtg_a1b2c3d4e5f6",
5148
5151
  * "join_url": "https://zoom.us/j/82912345678",
5149
5152
  * "object": "appointment_meeting",
@@ -5547,6 +5550,9 @@ interface components {
5547
5550
  * },
5548
5551
  * "client_data": {
5549
5552
  * "email": "jane.smith@example.com",
5553
+ * "fields": {
5554
+ * "age": 30
5555
+ * },
5550
5556
  * "first_name": "Jane",
5551
5557
  * "last_name": "Smith",
5552
5558
  * "locale": "en-US",
@@ -5594,6 +5600,7 @@ interface components {
5594
5600
  * "conferencing_provider": "zoom_admin",
5595
5601
  * "error_message": null,
5596
5602
  * "external_meeting_id": "82912345678",
5603
+ * "host_url": "https://book.acme.com/p/appointments/appt_a1b2c3d4e5f6/host?token=An5thqO6Li9Dy9WXe3IsJQYDEXGjS70GjQIdNntKZgw",
5597
5604
  * "id": "amtg_a1b2c3d4e5f6",
5598
5605
  * "join_url": "https://zoom.us/j/82912345678",
5599
5606
  * "object": "appointment_meeting",
@@ -5862,19 +5869,7 @@ interface components {
5862
5869
  } | null;
5863
5870
  } | null;
5864
5871
  /** @description Progressive client data. Provided fields are merged with existing values. */
5865
- client_data?: {
5866
- email?: string | null;
5867
- /** @description A map of custom field key-value pairs. */
5868
- fields?: {
5869
- [key: string]: unknown;
5870
- } | null;
5871
- first_name?: string | null;
5872
- last_name?: string | null;
5873
- locale?: string | null;
5874
- phone?: string | null;
5875
- reference_id?: string | null;
5876
- time_zone?: string | null;
5877
- } | null;
5872
+ client_data?: components["schemas"]["ClientDataInput"] | null;
5878
5873
  /** @description The ID of an existing client to link. */
5879
5874
  client_id?: string | null;
5880
5875
  /**
@@ -5988,6 +5983,9 @@ interface components {
5988
5983
  * },
5989
5984
  * "client_data": {
5990
5985
  * "email": "jane.smith@example.com",
5986
+ * "fields": {
5987
+ * "age": 30
5988
+ * },
5991
5989
  * "first_name": "Jane",
5992
5990
  * "last_name": "Smith",
5993
5991
  * "locale": "en-US",
@@ -6035,6 +6033,7 @@ interface components {
6035
6033
  * "conferencing_provider": "zoom_admin",
6036
6034
  * "error_message": null,
6037
6035
  * "external_meeting_id": "82912345678",
6036
+ * "host_url": "https://book.acme.com/p/appointments/appt_a1b2c3d4e5f6/host?token=An5thqO6Li9Dy9WXe3IsJQYDEXGjS70GjQIdNntKZgw",
6038
6037
  * "id": "amtg_a1b2c3d4e5f6",
6039
6038
  * "join_url": "https://zoom.us/j/82912345678",
6040
6039
  * "object": "appointment_meeting",
@@ -6540,6 +6539,9 @@ interface components {
6540
6539
  * },
6541
6540
  * "client_data": {
6542
6541
  * "email": "jane.smith@example.com",
6542
+ * "fields": {
6543
+ * "age": 30
6544
+ * },
6543
6545
  * "first_name": "Jane",
6544
6546
  * "last_name": "Smith",
6545
6547
  * "locale": "en-US",
@@ -6587,6 +6589,7 @@ interface components {
6587
6589
  * "conferencing_provider": "zoom_admin",
6588
6590
  * "error_message": null,
6589
6591
  * "external_meeting_id": "82912345678",
6592
+ * "host_url": "https://book.acme.com/p/appointments/appt_a1b2c3d4e5f6/host?token=An5thqO6Li9Dy9WXe3IsJQYDEXGjS70GjQIdNntKZgw",
6590
6593
  * "id": "amtg_a1b2c3d4e5f6",
6591
6594
  * "join_url": "https://zoom.us/j/82912345678",
6592
6595
  * "object": "appointment_meeting",
@@ -7259,6 +7262,9 @@ interface components {
7259
7262
  * },
7260
7263
  * "client_data": {
7261
7264
  * "email": "jane.smith@example.com",
7265
+ * "fields": {
7266
+ * "age": 30
7267
+ * },
7262
7268
  * "first_name": "Jane",
7263
7269
  * "last_name": "Smith",
7264
7270
  * "locale": "en-US",
@@ -7306,6 +7312,7 @@ interface components {
7306
7312
  * "conferencing_provider": "zoom_admin",
7307
7313
  * "error_message": null,
7308
7314
  * "external_meeting_id": "82912345678",
7315
+ * "host_url": "https://book.acme.com/p/appointments/appt_a1b2c3d4e5f6/host?token=An5thqO6Li9Dy9WXe3IsJQYDEXGjS70GjQIdNntKZgw",
7309
7316
  * "id": "amtg_a1b2c3d4e5f6",
7310
7317
  * "join_url": "https://zoom.us/j/82912345678",
7311
7318
  * "object": "appointment_meeting",
@@ -7520,19 +7527,7 @@ interface components {
7520
7527
  /** @description When true, automatically assigns an available provider for the selected time slot if no provider_id is specified. */
7521
7528
  auto_assign_provider?: boolean | null;
7522
7529
  /** @description Progressive client data. Provided fields are merged with existing values. */
7523
- client_data?: {
7524
- email?: string | null;
7525
- /** @description A map of custom field key-value pairs. */
7526
- fields?: {
7527
- [key: string]: unknown;
7528
- } | null;
7529
- first_name?: string | null;
7530
- last_name?: string | null;
7531
- locale?: string | null;
7532
- phone?: string | null;
7533
- reference_id?: string | null;
7534
- time_zone?: string | null;
7535
- } | null;
7530
+ client_data?: components["schemas"]["ClientDataInput"] | null;
7536
7531
  /**
7537
7532
  * Format: date-time
7538
7533
  * @description The end time of the slot as an ISO-8601 datetime string with a timezone offset.
@@ -7610,6 +7605,61 @@ interface components {
7610
7605
  data: components["schemas"]["ProviderSchedule"][];
7611
7606
  meta: components["schemas"]["PaginationMeta"];
7612
7607
  };
7608
+ /**
7609
+ * AppointmentClientDataInput
7610
+ * @description Information about the client booking the appointment. You can either provide an `id` or `reference_id` for an existing client,
7611
+ * or provide a new client's details.
7612
+ * @example {
7613
+ * "email": "john.doe@example.com",
7614
+ * "fields": {
7615
+ * "age": 30
7616
+ * },
7617
+ * "first_name": "John",
7618
+ * "last_name": "Doe",
7619
+ * "locale": "en-US",
7620
+ * "phone": "+15551234567",
7621
+ * "reference_id": "1234567890",
7622
+ * "time_zone": "America/New_York"
7623
+ * }
7624
+ */
7625
+ AppointmentClientDataInput: {
7626
+ /**
7627
+ * Format: email
7628
+ * @description The client's email address. Required if no existing client is provided.
7629
+ */
7630
+ email?: string | null;
7631
+ /** @description A map of custom field values to set on the client, keyed by field slug. Each key must correspond to a Client Field that has been defined in the account; arbitrary key-value pairs are not accepted. */
7632
+ fields?: {
7633
+ [key: string]: unknown;
7634
+ } | null;
7635
+ /** @description The client's first name. Required if no existing client is provided. */
7636
+ first_name?: string | null;
7637
+ /**
7638
+ * @description The ID of an existing client to attach to the appointment. If not provided, a new client will be created
7639
+ * if the `reference_id` does not correspond to an existing client. If there does exist a client with
7640
+ * the `reference_id` provided, the existing client will be attached to the appointment.
7641
+ */
7642
+ id?: string | null;
7643
+ /** @description The client's last name. Required if no existing client is provided. */
7644
+ last_name?: string | null;
7645
+ /**
7646
+ * @description The locale of the client booking the appointment.
7647
+ * @example en-US
7648
+ */
7649
+ locale?: string | null;
7650
+ /**
7651
+ * @description The client's phone number (E.164 format).
7652
+ * @example +1234567890
7653
+ */
7654
+ phone?: string | null;
7655
+ /** @description External reference identifier for the client. */
7656
+ reference_id?: string | null;
7657
+ /**
7658
+ * @description The client's time zone (IANA format). This field will be used to represent the appointment time slot in the client's local time zone (in the event that it differs from the appointment's local time zone).
7659
+ * @example America/New_York
7660
+ */
7661
+ time_zone: string;
7662
+ };
7613
7663
  /**
7614
7664
  * NotFoundResponse
7615
7665
  * @description Response schema for not found requests
@@ -7678,6 +7728,9 @@ interface components {
7678
7728
  * },
7679
7729
  * "client_data": {
7680
7730
  * "email": "jane.smith@example.com",
7731
+ * "fields": {
7732
+ * "age": 30
7733
+ * },
7681
7734
  * "first_name": "Jane",
7682
7735
  * "last_name": "Smith",
7683
7736
  * "locale": "en-US",
@@ -7725,6 +7778,7 @@ interface components {
7725
7778
  * "conferencing_provider": "zoom_admin",
7726
7779
  * "error_message": null,
7727
7780
  * "external_meeting_id": "82912345678",
7781
+ * "host_url": "https://book.acme.com/p/appointments/appt_a1b2c3d4e5f6/host?token=An5thqO6Li9Dy9WXe3IsJQYDEXGjS70GjQIdNntKZgw",
7728
7782
  * "id": "amtg_a1b2c3d4e5f6",
7729
7783
  * "join_url": "https://zoom.us/j/82912345678",
7730
7784
  * "object": "appointment_meeting",
@@ -8107,6 +8161,9 @@ interface components {
8107
8161
  * },
8108
8162
  * "client_data": {
8109
8163
  * "email": "jane.smith@example.com",
8164
+ * "fields": {
8165
+ * "age": 30
8166
+ * },
8110
8167
  * "first_name": "Jane",
8111
8168
  * "last_name": "Smith",
8112
8169
  * "locale": "en-US",
@@ -8154,6 +8211,7 @@ interface components {
8154
8211
  * "conferencing_provider": "zoom_admin",
8155
8212
  * "error_message": null,
8156
8213
  * "external_meeting_id": "82912345678",
8214
+ * "host_url": "https://book.acme.com/p/appointments/appt_a1b2c3d4e5f6/host?token=An5thqO6Li9Dy9WXe3IsJQYDEXGjS70GjQIdNntKZgw",
8157
8215
  * "id": "amtg_a1b2c3d4e5f6",
8158
8216
  * "join_url": "https://zoom.us/j/82912345678",
8159
8217
  * "object": "appointment_meeting",
@@ -8508,6 +8566,9 @@ interface components {
8508
8566
  * },
8509
8567
  * "client_data": {
8510
8568
  * "email": "jane.smith@example.com",
8569
+ * "fields": {
8570
+ * "age": 30
8571
+ * },
8511
8572
  * "first_name": "Jane",
8512
8573
  * "last_name": "Smith",
8513
8574
  * "locale": "en-US",
@@ -8555,6 +8616,7 @@ interface components {
8555
8616
  * "conferencing_provider": "zoom_admin",
8556
8617
  * "error_message": null,
8557
8618
  * "external_meeting_id": "82912345678",
8619
+ * "host_url": "https://book.acme.com/p/appointments/appt_a1b2c3d4e5f6/host?token=An5thqO6Li9Dy9WXe3IsJQYDEXGjS70GjQIdNntKZgw",
8558
8620
  * "id": "amtg_a1b2c3d4e5f6",
8559
8621
  * "join_url": "https://zoom.us/j/82912345678",
8560
8622
  * "object": "appointment_meeting",
@@ -8855,10 +8917,23 @@ interface components {
8855
8917
  * Meetings are created asynchronously after an appointment is scheduled, so the
8856
8918
  * `status` field reflects where the meeting is in its lifecycle. Meeting details
8857
8919
  * such as `join_url` are populated only once the status is `created`.
8920
+ *
8921
+ * The `host_url` field is a stable proxy URL on the account's booking domain
8922
+ * (the canonical SavvyCal host, or an active custom domain when one is
8923
+ * configured) that the meeting host follows to start the meeting. **Treat
8924
+ * this URL as a credential — anyone with it can start the meeting as the
8925
+ * host.** It is valid through the appointment's end time + a 24h grace
8926
+ * window, after which it returns 410 Gone. SavvyCal handles refresh of the
8927
+ * underlying conferencing-provider URL transparently behind the proxy, so
8928
+ * the proxy URL itself remains stable across `appointment.updated` webhook
8929
+ * events. `host_url` is null when the meeting is not yet `created` or when
8930
+ * the conferencing provider has no distinct host start URL (e.g., Google
8931
+ * Meet uses a single shared URL).
8858
8932
  * @example {
8859
8933
  * "conferencing_provider": "zoom_admin",
8860
8934
  * "error_message": null,
8861
8935
  * "external_meeting_id": "82912345678",
8936
+ * "host_url": "https://book.acme.com/p/appointments/appt_a1b2c3d4e5f6/host?token=An5thqO6Li9Dy9WXe3IsJQYDEXGjS70GjQIdNntKZgw",
8862
8937
  * "id": "amtg_a1b2c3d4e5f6",
8863
8938
  * "join_url": "https://zoom.us/j/82912345678",
8864
8939
  * "object": "appointment_meeting",
@@ -8879,6 +8954,15 @@ interface components {
8879
8954
  * @example 82912345678
8880
8955
  */
8881
8956
  external_meeting_id: string | null;
8957
+ /**
8958
+ * Format: uri
8959
+ * @description Stable proxy URL the host follows to start the meeting. Treat as a
8960
+ * credential — anyone with this URL can start the meeting as host.
8961
+ * Valid through the appointment's end time + 24h grace window, then
8962
+ * returns 410 Gone. Null when the meeting is not `created` or when
8963
+ * the conferencing provider has no distinct host start URL.
8964
+ */
8965
+ host_url: string | null;
8882
8966
  /** @description Unique identifier for the object. */
8883
8967
  id: string;
8884
8968
  /**
@@ -9051,6 +9135,9 @@ interface components {
9051
9135
  * },
9052
9136
  * "client_data": {
9053
9137
  * "email": "jane.smith@example.com",
9138
+ * "fields": {
9139
+ * "age": 30
9140
+ * },
9054
9141
  * "first_name": "Jane",
9055
9142
  * "last_name": "Smith",
9056
9143
  * "locale": "en-US",
@@ -9098,6 +9185,7 @@ interface components {
9098
9185
  * "conferencing_provider": "zoom_admin",
9099
9186
  * "error_message": null,
9100
9187
  * "external_meeting_id": "82912345678",
9188
+ * "host_url": "https://book.acme.com/p/appointments/appt_a1b2c3d4e5f6/host?token=An5thqO6Li9Dy9WXe3IsJQYDEXGjS70GjQIdNntKZgw",
9101
9189
  * "id": "amtg_a1b2c3d4e5f6",
9102
9190
  * "join_url": "https://zoom.us/j/82912345678",
9103
9191
  * "object": "appointment_meeting",
@@ -9577,6 +9665,9 @@ interface components {
9577
9665
  * },
9578
9666
  * "client_data": {
9579
9667
  * "email": "jane.smith@example.com",
9668
+ * "fields": {
9669
+ * "age": 30
9670
+ * },
9580
9671
  * "first_name": "Jane",
9581
9672
  * "last_name": "Smith",
9582
9673
  * "locale": "en-US",
@@ -9624,6 +9715,7 @@ interface components {
9624
9715
  * "conferencing_provider": "zoom_admin",
9625
9716
  * "error_message": null,
9626
9717
  * "external_meeting_id": "82912345678",
9718
+ * "host_url": "https://book.acme.com/p/appointments/appt_a1b2c3d4e5f6/host?token=An5thqO6Li9Dy9WXe3IsJQYDEXGjS70GjQIdNntKZgw",
9627
9719
  * "id": "amtg_a1b2c3d4e5f6",
9628
9720
  * "join_url": "https://zoom.us/j/82912345678",
9629
9721
  * "object": "appointment_meeting",
@@ -9859,19 +9951,7 @@ interface components {
9859
9951
  /** @description When true, automatically assigns an available provider for the selected time slot if no provider_id is specified. */
9860
9952
  auto_assign_provider?: boolean | null;
9861
9953
  /** @description Progressive client data. Provided fields are merged with existing values. */
9862
- client_data?: {
9863
- email?: string | null;
9864
- /** @description A map of custom field key-value pairs. */
9865
- fields?: {
9866
- [key: string]: unknown;
9867
- } | null;
9868
- first_name?: string | null;
9869
- last_name?: string | null;
9870
- locale?: string | null;
9871
- phone?: string | null;
9872
- reference_id?: string | null;
9873
- time_zone?: string | null;
9874
- } | null;
9954
+ client_data?: components["schemas"]["ClientDataInput"] | null;
9875
9955
  /**
9876
9956
  * Format: date-time
9877
9957
  * @description The end time of the slot as an ISO-8601 datetime string with a timezone offset.
@@ -10498,48 +10578,7 @@ interface components {
10498
10578
  * }
10499
10579
  */
10500
10580
  CreateAppointmentRequest: {
10501
- /**
10502
- * @description Information about the client booking the appointment. You can either provide an `id` or `reference_id` for an existing client,
10503
- * or provide a new client's details.
10504
- */
10505
- client_data: {
10506
- /**
10507
- * Format: email
10508
- * @description The client's email address. Required if no existing client is provided.
10509
- */
10510
- email?: string | null;
10511
- /** @description A map of custom field key-value pairs to set on the client. */
10512
- fields?: {
10513
- [key: string]: unknown;
10514
- } | null;
10515
- /** @description The client's first name. Required if no existing client is provided. */
10516
- first_name?: string | null;
10517
- /**
10518
- * @description The ID of an existing client to attach to the appointment. If not provided, a new client will be created
10519
- * if the `reference_id` does not correspond to an existing client. If there does exist a client with
10520
- * the `reference_id` provided, the existing client will be attached to the appointment.
10521
- */
10522
- id?: string | null;
10523
- /** @description The client's last name. Required if no existing client is provided. */
10524
- last_name?: string | null;
10525
- /**
10526
- * @description The locale of the client booking the appointment.
10527
- * @example en-US
10528
- */
10529
- locale?: string | null;
10530
- /**
10531
- * @description The client's phone number (E.164 format).
10532
- * @example +1234567890
10533
- */
10534
- phone?: string | null;
10535
- /** @description External reference identifier for the client. */
10536
- reference_id?: string | null;
10537
- /**
10538
- * @description The client's time zone (IANA format). This field will be used to represent the appointment time slot in the client's local time zone (in the event that it differs from the appointment's local time zone).
10539
- * @example America/New_York
10540
- */
10541
- time_zone: string;
10542
- };
10581
+ client_data: components["schemas"]["AppointmentClientDataInput"];
10543
10582
  /**
10544
10583
  * Format: date-time
10545
10584
  * @description The end time of the appointment as an ISO-8601 datetime string with a timezone offset (e.g., `2025-03-01T11:00:00-05:00` or `2025-03-01T16:00:00Z`). The `time_zone` field determines the canonical timezone.
@@ -10672,6 +10711,9 @@ interface components {
10672
10711
  * },
10673
10712
  * "client_data": {
10674
10713
  * "email": "jane.smith@example.com",
10714
+ * "fields": {
10715
+ * "age": 30
10716
+ * },
10675
10717
  * "first_name": "Jane",
10676
10718
  * "last_name": "Smith",
10677
10719
  * "locale": "en-US",
@@ -10719,6 +10761,7 @@ interface components {
10719
10761
  * "conferencing_provider": "zoom_admin",
10720
10762
  * "error_message": null,
10721
10763
  * "external_meeting_id": "82912345678",
10764
+ * "host_url": "https://book.acme.com/p/appointments/appt_a1b2c3d4e5f6/host?token=An5thqO6Li9Dy9WXe3IsJQYDEXGjS70GjQIdNntKZgw",
10722
10765
  * "id": "amtg_a1b2c3d4e5f6",
10723
10766
  * "join_url": "https://zoom.us/j/82912345678",
10724
10767
  * "object": "appointment_meeting",
@@ -10935,19 +10978,7 @@ interface components {
10935
10978
  /** @description When true, automatically assigns an available provider for the selected time slot if no provider_id is specified. */
10936
10979
  auto_assign_provider?: boolean | null;
10937
10980
  /** @description Progressive client data to collect during the booking flow. */
10938
- client_data?: {
10939
- email?: string | null;
10940
- /** @description A map of custom field key-value pairs. */
10941
- fields?: {
10942
- [key: string]: unknown;
10943
- } | null;
10944
- first_name?: string | null;
10945
- last_name?: string | null;
10946
- locale?: string | null;
10947
- phone?: string | null;
10948
- reference_id?: string | null;
10949
- time_zone?: string | null;
10950
- } | null;
10981
+ client_data?: components["schemas"]["ClientDataInput"] | null;
10951
10982
  /**
10952
10983
  * Format: date-time
10953
10984
  * @description The end time of the slot as an ISO-8601 datetime string with a timezone offset.
@@ -10983,6 +11014,9 @@ interface components {
10983
11014
  * "client": null,
10984
11015
  * "client_data": {
10985
11016
  * "email": "jane@example.com",
11017
+ * "fields": {
11018
+ * "age": 30
11019
+ * },
10986
11020
  * "first_name": "Jane",
10987
11021
  * "last_name": "Doe",
10988
11022
  * "locale": "en",
@@ -11215,6 +11249,9 @@ interface components {
11215
11249
  * },
11216
11250
  * "client_data": {
11217
11251
  * "email": "jane.smith@example.com",
11252
+ * "fields": {
11253
+ * "age": 30
11254
+ * },
11218
11255
  * "first_name": "Jane",
11219
11256
  * "last_name": "Smith",
11220
11257
  * "locale": "en-US",
@@ -11262,6 +11299,7 @@ interface components {
11262
11299
  * "conferencing_provider": "zoom_admin",
11263
11300
  * "error_message": null,
11264
11301
  * "external_meeting_id": "82912345678",
11302
+ * "host_url": "https://book.acme.com/p/appointments/appt_a1b2c3d4e5f6/host?token=An5thqO6Li9Dy9WXe3IsJQYDEXGjS70GjQIdNntKZgw",
11265
11303
  * "id": "amtg_a1b2c3d4e5f6",
11266
11304
  * "join_url": "https://zoom.us/j/82912345678",
11267
11305
  * "object": "appointment_meeting",
@@ -11520,6 +11558,9 @@ interface components {
11520
11558
  * @example {
11521
11559
  * "client_data": {
11522
11560
  * "email": "john.doe@example.com",
11561
+ * "fields": {
11562
+ * "age": 30
11563
+ * },
11523
11564
  * "first_name": "John",
11524
11565
  * "last_name": "Doe",
11525
11566
  * "locale": "en-US",
@@ -11534,44 +11575,7 @@ interface components {
11534
11575
  * }
11535
11576
  */
11536
11577
  CreatePublicAppointmentRequest: {
11537
- /**
11538
- * @description Information about the client booking the appointment. You can either provide an `id` or `reference_id` for an existing client,
11539
- * or provide a new client's details.
11540
- */
11541
- client_data: {
11542
- /**
11543
- * Format: email
11544
- * @description The client's email address. Required if no existing client is provided.
11545
- */
11546
- email?: string | null;
11547
- /** @description The client's first name. Required if no existing client is provided. */
11548
- first_name?: string | null;
11549
- /**
11550
- * @description The ID of an existing client to attach to the appointment. If not provided, a new client will be created
11551
- * if the `reference_id` does not correspond to an existing client. If there does exist a client with
11552
- * the `reference_id` provided, the existing client will be attached to the appointment.
11553
- */
11554
- id?: string | null;
11555
- /** @description The client's last name. Required if no existing client is provided. */
11556
- last_name?: string | null;
11557
- /**
11558
- * @description The locale of the client booking the appointment.
11559
- * @example en-US
11560
- */
11561
- locale?: string | null;
11562
- /**
11563
- * @description The client's phone number (E.164 format).
11564
- * @example +1234567890
11565
- */
11566
- phone?: string | null;
11567
- /** @description External reference identifier for the client. */
11568
- reference_id?: string | null;
11569
- /**
11570
- * @description The client's time zone (IANA format). This field will be used to represent the appointment time slot in the client's local time zone (in the event that it differs from the appointment's local time zone).
11571
- * @example America/New_York
11572
- */
11573
- time_zone: string;
11574
- };
11578
+ client_data: components["schemas"]["AppointmentClientDataInput"];
11575
11579
  /**
11576
11580
  * Format: date-time
11577
11581
  * @description The end time of the appointment as an ISO-8601 datetime string with a timezone offset (e.g., `2025-03-01T11:00:00-05:00` or `2025-03-01T16:00:00Z`). The `time_zone` field determines the canonical timezone.
@@ -11701,6 +11705,54 @@ interface components {
11701
11705
  /** @description The client fields details */
11702
11706
  data: components["schemas"]["ClientField"][];
11703
11707
  };
11708
+ /**
11709
+ * ClientDataInput
11710
+ * @description Progressive client data for a booking intent. All fields are optional; provided fields are merged with existing values.
11711
+ * @example {
11712
+ * "email": "jane@example.com",
11713
+ * "fields": {
11714
+ * "age": 30
11715
+ * },
11716
+ * "first_name": "Jane",
11717
+ * "last_name": "Doe",
11718
+ * "locale": "en-US",
11719
+ * "phone": "+15551234567",
11720
+ * "reference_id": "ext_123",
11721
+ * "time_zone": "America/New_York"
11722
+ * }
11723
+ */
11724
+ ClientDataInput: {
11725
+ /**
11726
+ * Format: email
11727
+ * @description The client's email address.
11728
+ */
11729
+ email?: string | null;
11730
+ /** @description A map of custom field values to set on the client, keyed by field slug. Each key must correspond to a Client Field that has been defined in the account; arbitrary key-value pairs are not accepted. */
11731
+ fields?: {
11732
+ [key: string]: unknown;
11733
+ } | null;
11734
+ /** @description The client's first name. */
11735
+ first_name?: string | null;
11736
+ /** @description The client's last name. */
11737
+ last_name?: string | null;
11738
+ /**
11739
+ * @description The locale of the client booking the appointment.
11740
+ * @example en-US
11741
+ */
11742
+ locale?: string | null;
11743
+ /**
11744
+ * @description The client's phone number (E.164 format).
11745
+ * @example +1234567890
11746
+ */
11747
+ phone?: string | null;
11748
+ /** @description External reference identifier for the client. */
11749
+ reference_id?: string | null;
11750
+ /**
11751
+ * @description The client's time zone (IANA format).
11752
+ * @example America/New_York
11753
+ */
11754
+ time_zone?: string | null;
11755
+ };
11704
11756
  /**
11705
11757
  * BlockResponse
11706
11758
  * @description Response schema for a block
@@ -11788,6 +11840,9 @@ interface components {
11788
11840
  * },
11789
11841
  * "client_data": {
11790
11842
  * "email": "jane.smith@example.com",
11843
+ * "fields": {
11844
+ * "age": 30
11845
+ * },
11791
11846
  * "first_name": "Jane",
11792
11847
  * "last_name": "Smith",
11793
11848
  * "locale": "en-US",
@@ -11835,6 +11890,7 @@ interface components {
11835
11890
  * "conferencing_provider": "zoom_admin",
11836
11891
  * "error_message": null,
11837
11892
  * "external_meeting_id": "82912345678",
11893
+ * "host_url": "https://book.acme.com/p/appointments/appt_a1b2c3d4e5f6/host?token=An5thqO6Li9Dy9WXe3IsJQYDEXGjS70GjQIdNntKZgw",
11838
11894
  * "id": "amtg_a1b2c3d4e5f6",
11839
11895
  * "join_url": "https://zoom.us/j/82912345678",
11840
11896
  * "object": "appointment_meeting",
@@ -12075,6 +12131,9 @@ interface components {
12075
12131
  * },
12076
12132
  * "client_data": {
12077
12133
  * "email": "jane.smith@example.com",
12134
+ * "fields": {
12135
+ * "age": 30
12136
+ * },
12078
12137
  * "first_name": "Jane",
12079
12138
  * "last_name": "Smith",
12080
12139
  * "locale": "en-US",
@@ -12122,6 +12181,7 @@ interface components {
12122
12181
  * "conferencing_provider": "zoom_admin",
12123
12182
  * "error_message": null,
12124
12183
  * "external_meeting_id": "82912345678",
12184
+ * "host_url": "https://book.acme.com/p/appointments/appt_a1b2c3d4e5f6/host?token=An5thqO6Li9Dy9WXe3IsJQYDEXGjS70GjQIdNntKZgw",
12125
12185
  * "id": "amtg_a1b2c3d4e5f6",
12126
12186
  * "join_url": "https://zoom.us/j/82912345678",
12127
12187
  * "object": "appointment_meeting",
@@ -12336,6 +12396,10 @@ interface components {
12336
12396
  * @description The client's email address. This field will be `null` unless `include_sensitive` is `true`.
12337
12397
  */
12338
12398
  email?: string | null;
12399
+ /** @description A map of custom field values set on the client, keyed by field slug. Values for fields marked as sensitive will be `null` unless `include_sensitive` is `true`. */
12400
+ fields: {
12401
+ [key: string]: unknown;
12402
+ };
12339
12403
  /** @description The client's first name. This field will be `null` unless `include_sensitive` is `true`. */
12340
12404
  first_name?: string | null;
12341
12405
  /** @description The client's last name. This field will be `null` unless `include_sensitive` is `true`. */
@@ -12864,6 +12928,9 @@ interface components {
12864
12928
  * "client": null,
12865
12929
  * "client_data": {
12866
12930
  * "email": "jane@example.com",
12931
+ * "fields": {
12932
+ * "age": 30
12933
+ * },
12867
12934
  * "first_name": "Jane",
12868
12935
  * "last_name": "Doe",
12869
12936
  * "locale": "en",
@@ -13035,9 +13102,13 @@ interface components {
13035
13102
  booking_policy: components["schemas"]["BookingIntentBookingPolicy"];
13036
13103
  /** @description The linked client */
13037
13104
  client?: components["schemas"]["Client"] | null;
13038
- /** @description Client data accumulated during the booking flow. Sensitive fields (first_name, last_name, email, phone) are redacted unless include_sensitive is true. */
13105
+ /** @description Client data accumulated during the booking flow. Sensitive fields (first_name, last_name, email, phone) are redacted unless include_sensitive is true. Values for `fields` entries flagged as sensitive are also redacted unless include_sensitive is true. */
13039
13106
  client_data?: {
13040
13107
  email?: string | null;
13108
+ /** @description A map of custom field values set on the client, keyed by field slug. Values for fields marked as sensitive will be `null` unless `include_sensitive` is `true`. */
13109
+ fields?: {
13110
+ [key: string]: unknown;
13111
+ };
13041
13112
  first_name?: string | null;
13042
13113
  last_name?: string | null;
13043
13114
  locale?: string | null;
@@ -13251,6 +13322,9 @@ interface components {
13251
13322
  * },
13252
13323
  * "client_data": {
13253
13324
  * "email": "jane.smith@example.com",
13325
+ * "fields": {
13326
+ * "age": 30
13327
+ * },
13254
13328
  * "first_name": "Jane",
13255
13329
  * "last_name": "Smith",
13256
13330
  * "locale": "en-US",
@@ -13298,6 +13372,7 @@ interface components {
13298
13372
  * "conferencing_provider": "zoom_admin",
13299
13373
  * "error_message": null,
13300
13374
  * "external_meeting_id": "82912345678",
13375
+ * "host_url": "https://book.acme.com/p/appointments/appt_a1b2c3d4e5f6/host?token=An5thqO6Li9Dy9WXe3IsJQYDEXGjS70GjQIdNntKZgw",
13301
13376
  * "id": "amtg_a1b2c3d4e5f6",
13302
13377
  * "join_url": "https://zoom.us/j/82912345678",
13303
13378
  * "object": "appointment_meeting",
@@ -18309,6 +18384,7 @@ type AdvanceNoticePolicy = Schemas["AdvanceNoticePolicy"];
18309
18384
  type AggregatedSlot = Schemas["AggregatedSlot"];
18310
18385
  type Appointment = Schemas["Appointment"];
18311
18386
  type AppointmentCanceledEventData = Schemas["AppointmentCanceledEventData"];
18387
+ type AppointmentClientDataInput = Schemas["AppointmentClientDataInput"];
18312
18388
  type AppointmentConfirmedEventData = Schemas["AppointmentConfirmedEventData"];
18313
18389
  type AppointmentCreatedEventData = Schemas["AppointmentCreatedEventData"];
18314
18390
  type AppointmentDeletedEventData = Schemas["AppointmentDeletedEventData"];
@@ -18352,6 +18428,7 @@ type CancellationReasonsResponse = Schemas["CancellationReasonsResponse"];
18352
18428
  type CancelPublicAppointmentRequest = Schemas["CancelPublicAppointmentRequest"];
18353
18429
  type Client = Schemas["Client"];
18354
18430
  type ClientCreatedEventData = Schemas["ClientCreatedEventData"];
18431
+ type ClientDataInput = Schemas["ClientDataInput"];
18355
18432
  type ClientDeletedEventData = Schemas["ClientDeletedEventData"];
18356
18433
  type ClientField = Schemas["ClientField"];
18357
18434
  type ClientFieldChoice = Schemas["ClientFieldChoice"];
@@ -18867,18 +18944,7 @@ declare function completeBookingIntent(client: FetchClient, path: PathParams<"/v
18867
18944
  }, {
18868
18945
  body: {
18869
18946
  auto_assign_provider?: boolean | null;
18870
- client_data?: {
18871
- email?: string | null;
18872
- fields?: {
18873
- [key: string]: unknown;
18874
- } | null;
18875
- first_name?: string | null;
18876
- last_name?: string | null;
18877
- locale?: string | null;
18878
- phone?: string | null;
18879
- reference_id?: string | null;
18880
- time_zone?: string | null;
18881
- } | null;
18947
+ client_data?: components["schemas"]["ClientDataInput"] | null;
18882
18948
  client_id?: string | null;
18883
18949
  end_at?: string | null;
18884
18950
  metadata?: {
@@ -18939,18 +19005,7 @@ declare function completePublicBookingIntent(client: FetchClient, path: PathPara
18939
19005
  }, {
18940
19006
  body: {
18941
19007
  auto_assign_provider?: boolean | null;
18942
- client_data?: {
18943
- email?: string | null;
18944
- fields?: {
18945
- [key: string]: unknown;
18946
- } | null;
18947
- first_name?: string | null;
18948
- last_name?: string | null;
18949
- locale?: string | null;
18950
- phone?: string | null;
18951
- reference_id?: string | null;
18952
- time_zone?: string | null;
18953
- } | null;
19008
+ client_data?: components["schemas"]["ClientDataInput"] | null;
18954
19009
  end_at?: string | null;
18955
19010
  provider_id?: string | null;
18956
19011
  service_id?: string | null;
@@ -19163,19 +19218,7 @@ declare function createAppointment(client: FetchClient, body: RequestBody<"/v1/a
19163
19218
  };
19164
19219
  }, {
19165
19220
  body: {
19166
- client_data: {
19167
- email?: string | null;
19168
- fields?: {
19169
- [key: string]: unknown;
19170
- } | null;
19171
- first_name?: string | null;
19172
- id?: string | null;
19173
- last_name?: string | null;
19174
- locale?: string | null;
19175
- phone?: string | null;
19176
- reference_id?: string | null;
19177
- time_zone: string;
19178
- };
19221
+ client_data: components["schemas"]["AppointmentClientDataInput"];
19179
19222
  end_at: string;
19180
19223
  provider_id?: string | null;
19181
19224
  service_id: string;
@@ -19297,18 +19340,7 @@ declare function createBookingIntent(client: FetchClient, body: RequestBody<"/v1
19297
19340
  enabled?: boolean;
19298
19341
  } | null;
19299
19342
  } | null;
19300
- client_data?: {
19301
- email?: string | null;
19302
- fields?: {
19303
- [key: string]: unknown;
19304
- } | null;
19305
- first_name?: string | null;
19306
- last_name?: string | null;
19307
- locale?: string | null;
19308
- phone?: string | null;
19309
- reference_id?: string | null;
19310
- time_zone?: string | null;
19311
- } | null;
19343
+ client_data?: components["schemas"]["ClientDataInput"] | null;
19312
19344
  client_id?: string | null;
19313
19345
  end_at?: string | null;
19314
19346
  locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[] | null;
@@ -19710,16 +19742,7 @@ declare function createPublicAppointment(client: FetchClient, body: RequestBody<
19710
19742
  };
19711
19743
  }, {
19712
19744
  body: {
19713
- client_data: {
19714
- email?: string | null;
19715
- first_name?: string | null;
19716
- id?: string | null;
19717
- last_name?: string | null;
19718
- locale?: string | null;
19719
- phone?: string | null;
19720
- reference_id?: string | null;
19721
- time_zone: string;
19722
- };
19745
+ client_data: components["schemas"]["AppointmentClientDataInput"];
19723
19746
  end_at: string;
19724
19747
  provider_id?: string | null;
19725
19748
  service_id: string;
@@ -19769,18 +19792,7 @@ declare function createPublicBookingIntent(client: FetchClient, body: RequestBod
19769
19792
  body: {
19770
19793
  account_id: string;
19771
19794
  auto_assign_provider?: boolean | null;
19772
- client_data?: {
19773
- email?: string | null;
19774
- fields?: {
19775
- [key: string]: unknown;
19776
- } | null;
19777
- first_name?: string | null;
19778
- last_name?: string | null;
19779
- locale?: string | null;
19780
- phone?: string | null;
19781
- reference_id?: string | null;
19782
- time_zone?: string | null;
19783
- } | null;
19795
+ client_data?: components["schemas"]["ClientDataInput"] | null;
19784
19796
  end_at?: string | null;
19785
19797
  provider_id?: string | null;
19786
19798
  service_id?: string | null;
@@ -22971,18 +22983,7 @@ declare function updateBookingIntent(client: FetchClient, path: PathParams<"/v1/
22971
22983
  enabled?: boolean;
22972
22984
  } | null;
22973
22985
  } | null;
22974
- client_data?: {
22975
- email?: string | null;
22976
- fields?: {
22977
- [key: string]: unknown;
22978
- } | null;
22979
- first_name?: string | null;
22980
- last_name?: string | null;
22981
- locale?: string | null;
22982
- phone?: string | null;
22983
- reference_id?: string | null;
22984
- time_zone?: string | null;
22985
- } | null;
22986
+ client_data?: components["schemas"]["ClientDataInput"] | null;
22986
22987
  client_id?: string | null;
22987
22988
  end_at?: string | null;
22988
22989
  locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[] | null;
@@ -23482,18 +23483,7 @@ declare function updatePublicBookingIntent(client: FetchClient, path: PathParams
23482
23483
  }, {
23483
23484
  body: {
23484
23485
  auto_assign_provider?: boolean | null;
23485
- client_data?: {
23486
- email?: string | null;
23487
- fields?: {
23488
- [key: string]: unknown;
23489
- } | null;
23490
- first_name?: string | null;
23491
- last_name?: string | null;
23492
- locale?: string | null;
23493
- phone?: string | null;
23494
- reference_id?: string | null;
23495
- time_zone?: string | null;
23496
- } | null;
23486
+ client_data?: components["schemas"]["ClientDataInput"] | null;
23497
23487
  end_at?: string | null;
23498
23488
  provider_id?: string | null;
23499
23489
  service_id?: string | null;
@@ -23580,4 +23570,4 @@ declare function updateService(client: FetchClient, path: PathParams<"/v1/servic
23580
23570
  };
23581
23571
  }, `${string}/${string}`>>;
23582
23572
 
23583
- 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 AppointmentMeeting, type AppointmentMeetingCancelFailedEventData, type AppointmentMeetingCanceledEventData, type AppointmentMeetingCreateFailedEventData, type AppointmentMeetingCreatedEventData, type AppointmentMeetingReplaceFailedEventData, type AppointmentMeetingReplacedEventData, type AppointmentMeetingUpdateFailedEventData, type AppointmentMeetingUpdatedEventData, type AppointmentProvider, 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 BookingIntentRequirements, type BookingIntentResponse, type BookingIntentUpdatedEventData, type BookingIntentWorkflow, 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 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 SlotListResponse, type SlotRule, type SortServiceFormsRequest, type SubmissionRequirement, 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, listBookingIntentSlots, listBookingIntents, listCancellationReasons, listClientFields, listClients, listConnectedAccounts, listForms, listProviderSchedules, listProviders, listPublicBookingIntentSlots, 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 };
23573
+ 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 AppointmentClientDataInput, type AppointmentConfirmedEventData, type AppointmentCreatedEventData, type AppointmentDeletedEventData, type AppointmentMeeting, type AppointmentMeetingCancelFailedEventData, type AppointmentMeetingCanceledEventData, type AppointmentMeetingCreateFailedEventData, type AppointmentMeetingCreatedEventData, type AppointmentMeetingReplaceFailedEventData, type AppointmentMeetingReplacedEventData, type AppointmentMeetingUpdateFailedEventData, type AppointmentMeetingUpdatedEventData, type AppointmentProvider, 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 BookingIntentRequirements, type BookingIntentResponse, type BookingIntentUpdatedEventData, type BookingIntentWorkflow, type BookingIntentsResponse, type BookingPolicy, type CancelAppointmentRequest, type CancelPublicAppointmentRequest, type CancellationEvent, type CancellationPolicy, type CancellationReason, type CancellationReasonResponse, type CancellationReasonsResponse, type Client, type ClientCreatedEventData, type ClientDataInput, 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 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 SlotListResponse, type SlotRule, type SortServiceFormsRequest, type SubmissionRequirement, 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, listBookingIntentSlots, listBookingIntents, listCancellationReasons, listClientFields, listClients, listConnectedAccounts, listForms, listProviderSchedules, listProviders, listPublicBookingIntentSlots, 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 };