@savvycal/appointments-react-query 2.0.1 → 2.1.1

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.ts CHANGED
@@ -51,10 +51,10 @@ type GetResponseData<Path extends keyof paths, Method extends HttpMethod, Media
51
51
  type GetResponseError<Path extends keyof paths, Method extends HttpMethod, Media extends MediaType> = Path extends keyof paths ? Method extends keyof paths[Path] ? paths[Path][Method] extends infer Operation ? Operation extends Record<string, any> ? Required<FetchResponse<Operation, MaybeOptionalInit<paths[Path], Method>, Media>>["error"] : never : never : never : never;
52
52
  type QueryKey<Path extends keyof paths, Method extends HttpMethod, Init = MaybeOptionalInit<paths[Path], Method>> = Init extends undefined ? readonly [Method, Path] : readonly [Method, Path, Init];
53
53
 
54
- interface Options$1L extends MutationOptionsFor<"post", "/v1/booking_intents/{booking_intent_id}/abandon"> {
54
+ interface Options$1S extends MutationOptionsFor<"post", "/v1/booking_intents/{booking_intent_id}/abandon"> {
55
55
  client?: QueryClient;
56
56
  }
57
- declare const useAbandonBookingIntent: (options?: Options$1L) => _tanstack_react_query.UseMutationResult<{
57
+ declare const useAbandonBookingIntent: (options?: Options$1S) => _tanstack_react_query.UseMutationResult<{
58
58
  data: {
59
59
  abandoned_at?: string | null;
60
60
  appointment?: {
@@ -306,7 +306,7 @@ declare const useAbandonBookingIntent: (options?: Options$1L) => _tanstack_react
306
306
  count?: number | null;
307
307
  freq: "daily" | "weekly";
308
308
  interval?: number;
309
- until?: Record<string, never> | null;
309
+ until?: string | null;
310
310
  };
311
311
  start_times: string[];
312
312
  }[];
@@ -502,7 +502,7 @@ declare const useAbandonBookingIntent: (options?: Options$1L) => _tanstack_react
502
502
  count?: number | null;
503
503
  freq: "daily" | "weekly";
504
504
  interval?: number;
505
- until?: Record<string, never> | null;
505
+ until?: string | null;
506
506
  };
507
507
  start_times: string[];
508
508
  }[];
@@ -791,7 +791,7 @@ declare const useAbandonBookingIntent: (options?: Options$1L) => _tanstack_react
791
791
  count?: number | null;
792
792
  freq: "daily" | "weekly";
793
793
  interval?: number;
794
- until?: Record<string, never> | null;
794
+ until?: string | null;
795
795
  };
796
796
  start_times: string[];
797
797
  }[];
@@ -987,7 +987,7 @@ declare const useAbandonBookingIntent: (options?: Options$1L) => _tanstack_react
987
987
  count?: number | null;
988
988
  freq: "daily" | "weekly";
989
989
  interval?: number;
990
- until?: Record<string, never> | null;
990
+ until?: string | null;
991
991
  };
992
992
  start_times: string[];
993
993
  }[];
@@ -1333,7 +1333,7 @@ declare const useAbandonBookingIntent: (options?: Options$1L) => _tanstack_react
1333
1333
  count?: number | null;
1334
1334
  freq: "daily" | "weekly";
1335
1335
  interval?: number;
1336
- until?: Record<string, never> | null;
1336
+ until?: string | null;
1337
1337
  };
1338
1338
  start_times: string[];
1339
1339
  }[];
@@ -1529,7 +1529,7 @@ declare const useAbandonBookingIntent: (options?: Options$1L) => _tanstack_react
1529
1529
  count?: number | null;
1530
1530
  freq: "daily" | "weekly";
1531
1531
  interval?: number;
1532
- until?: Record<string, never> | null;
1532
+ until?: string | null;
1533
1533
  };
1534
1534
  start_times: string[];
1535
1535
  }[];
@@ -1610,10 +1610,10 @@ declare const useAbandonBookingIntent: (options?: Options$1L) => _tanstack_react
1610
1610
  };
1611
1611
  }>>;
1612
1612
 
1613
- interface Options$1K extends MutationOptionsFor<"post", "/v1/public/booking_intents/{booking_intent_id}/abandon"> {
1613
+ interface Options$1R extends MutationOptionsFor<"post", "/v1/public/booking_intents/{booking_intent_id}/abandon"> {
1614
1614
  client?: QueryClient;
1615
1615
  }
1616
- declare const useAbandonPublicBookingIntent: (options?: Options$1K) => _tanstack_react_query.UseMutationResult<{
1616
+ declare const useAbandonPublicBookingIntent: (options?: Options$1R) => _tanstack_react_query.UseMutationResult<{
1617
1617
  data: {
1618
1618
  appointment?: {
1619
1619
  add_to_calendar_url: string;
@@ -1971,10 +1971,10 @@ declare const useAbandonPublicBookingIntent: (options?: Options$1K) => _tanstack
1971
1971
  };
1972
1972
  }>>;
1973
1973
 
1974
- interface Options$1J extends MutationOptionsFor<"post", "/v1/services/{service_id}/forms"> {
1974
+ interface Options$1Q extends MutationOptionsFor<"post", "/v1/services/{service_id}/forms"> {
1975
1975
  client?: QueryClient;
1976
1976
  }
1977
- declare const useAttachServiceForm: (options?: Options$1J) => _tanstack_react_query.UseMutationResult<{
1977
+ declare const useAttachServiceForm: (options?: Options$1Q) => _tanstack_react_query.UseMutationResult<{
1978
1978
  data: {
1979
1979
  created_at: string;
1980
1980
  form_id: string;
@@ -2129,10 +2129,10 @@ declare const useAttachServiceForm: (options?: Options$1J) => _tanstack_react_qu
2129
2129
  };
2130
2130
  }>>;
2131
2131
 
2132
- interface Options$1I extends MutationOptionsFor<"post", "/v1/appointments/{appointment_id}/cancel"> {
2132
+ interface Options$1P extends MutationOptionsFor<"post", "/v1/appointments/{appointment_id}/cancel"> {
2133
2133
  client?: QueryClient;
2134
2134
  }
2135
- declare const useCancelAppointment: (options?: Options$1I) => _tanstack_react_query.UseMutationResult<{
2135
+ declare const useCancelAppointment: (options?: Options$1P) => _tanstack_react_query.UseMutationResult<{
2136
2136
  data: {
2137
2137
  add_to_calendar_url: string;
2138
2138
  appointment_type: "in_person" | "virtual";
@@ -2382,7 +2382,7 @@ declare const useCancelAppointment: (options?: Options$1I) => _tanstack_react_qu
2382
2382
  count?: number | null;
2383
2383
  freq: "daily" | "weekly";
2384
2384
  interval?: number;
2385
- until?: Record<string, never> | null;
2385
+ until?: string | null;
2386
2386
  };
2387
2387
  start_times: string[];
2388
2388
  }[];
@@ -2663,7 +2663,7 @@ declare const useCancelAppointment: (options?: Options$1I) => _tanstack_react_qu
2663
2663
  count?: number | null;
2664
2664
  freq: "daily" | "weekly";
2665
2665
  interval?: number;
2666
- until?: Record<string, never> | null;
2666
+ until?: string | null;
2667
2667
  };
2668
2668
  start_times: string[];
2669
2669
  }[];
@@ -2996,7 +2996,7 @@ declare const useCancelAppointment: (options?: Options$1I) => _tanstack_react_qu
2996
2996
  count?: number | null;
2997
2997
  freq: "daily" | "weekly";
2998
2998
  interval?: number;
2999
- until?: Record<string, never> | null;
2999
+ until?: string | null;
3000
3000
  };
3001
3001
  start_times: string[];
3002
3002
  }[];
@@ -3058,10 +3058,10 @@ declare const useCancelAppointment: (options?: Options$1I) => _tanstack_react_qu
3058
3058
  };
3059
3059
  }>>;
3060
3060
 
3061
- interface Options$1H extends MutationOptionsFor<"post", "/v1/public/appointments/{appointment_id}/cancel"> {
3061
+ interface Options$1O extends MutationOptionsFor<"post", "/v1/public/appointments/{appointment_id}/cancel"> {
3062
3062
  client?: QueryClient;
3063
3063
  }
3064
- declare const useCancelPublicAppointment: (options?: Options$1H) => _tanstack_react_query.UseMutationResult<{
3064
+ declare const useCancelPublicAppointment: (options?: Options$1O) => _tanstack_react_query.UseMutationResult<{
3065
3065
  data: {
3066
3066
  add_to_calendar_url: string;
3067
3067
  cancel_url: string;
@@ -3230,10 +3230,10 @@ declare const useCancelPublicAppointment: (options?: Options$1H) => _tanstack_re
3230
3230
  };
3231
3231
  }>>;
3232
3232
 
3233
- interface Options$1G extends MutationOptionsFor<"delete", "/v1/services/{service_id}/conferencing"> {
3233
+ interface Options$1N extends MutationOptionsFor<"delete", "/v1/services/{service_id}/conferencing"> {
3234
3234
  client?: QueryClient;
3235
3235
  }
3236
- declare const useClearServiceConferencing: (options?: Options$1G) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
3236
+ declare const useClearServiceConferencing: (options?: Options$1N) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
3237
3237
  204: {
3238
3238
  headers: {
3239
3239
  [name: string]: unknown;
@@ -3318,10 +3318,10 @@ declare const useClearServiceConferencing: (options?: Options$1G) => _tanstack_r
3318
3318
  };
3319
3319
  }>>;
3320
3320
 
3321
- interface Options$1F extends MutationOptionsFor<"delete", "/v1/services/{service_id}/providers/{provider_id}/conferencing"> {
3321
+ interface Options$1M extends MutationOptionsFor<"delete", "/v1/services/{service_id}/providers/{provider_id}/conferencing"> {
3322
3322
  client?: QueryClient;
3323
3323
  }
3324
- declare const useClearServiceProviderConferencing: (options?: Options$1F) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
3324
+ declare const useClearServiceProviderConferencing: (options?: Options$1M) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
3325
3325
  204: {
3326
3326
  headers: {
3327
3327
  [name: string]: unknown;
@@ -3407,10 +3407,10 @@ declare const useClearServiceProviderConferencing: (options?: Options$1F) => _ta
3407
3407
  };
3408
3408
  }>>;
3409
3409
 
3410
- interface Options$1E extends MutationOptionsFor<"post", "/v1/booking_intents/{booking_intent_id}/complete"> {
3410
+ interface Options$1L extends MutationOptionsFor<"post", "/v1/booking_intents/{booking_intent_id}/complete"> {
3411
3411
  client?: QueryClient;
3412
3412
  }
3413
- declare const useCompleteBookingIntent: (options?: Options$1E) => _tanstack_react_query.UseMutationResult<{
3413
+ declare const useCompleteBookingIntent: (options?: Options$1L) => _tanstack_react_query.UseMutationResult<{
3414
3414
  data: {
3415
3415
  abandoned_at?: string | null;
3416
3416
  appointment?: {
@@ -3662,7 +3662,7 @@ declare const useCompleteBookingIntent: (options?: Options$1E) => _tanstack_reac
3662
3662
  count?: number | null;
3663
3663
  freq: "daily" | "weekly";
3664
3664
  interval?: number;
3665
- until?: Record<string, never> | null;
3665
+ until?: string | null;
3666
3666
  };
3667
3667
  start_times: string[];
3668
3668
  }[];
@@ -3858,7 +3858,7 @@ declare const useCompleteBookingIntent: (options?: Options$1E) => _tanstack_reac
3858
3858
  count?: number | null;
3859
3859
  freq: "daily" | "weekly";
3860
3860
  interval?: number;
3861
- until?: Record<string, never> | null;
3861
+ until?: string | null;
3862
3862
  };
3863
3863
  start_times: string[];
3864
3864
  }[];
@@ -4147,7 +4147,7 @@ declare const useCompleteBookingIntent: (options?: Options$1E) => _tanstack_reac
4147
4147
  count?: number | null;
4148
4148
  freq: "daily" | "weekly";
4149
4149
  interval?: number;
4150
- until?: Record<string, never> | null;
4150
+ until?: string | null;
4151
4151
  };
4152
4152
  start_times: string[];
4153
4153
  }[];
@@ -4343,7 +4343,7 @@ declare const useCompleteBookingIntent: (options?: Options$1E) => _tanstack_reac
4343
4343
  count?: number | null;
4344
4344
  freq: "daily" | "weekly";
4345
4345
  interval?: number;
4346
- until?: Record<string, never> | null;
4346
+ until?: string | null;
4347
4347
  };
4348
4348
  start_times: string[];
4349
4349
  }[];
@@ -4722,7 +4722,7 @@ declare const useCompleteBookingIntent: (options?: Options$1E) => _tanstack_reac
4722
4722
  count?: number | null;
4723
4723
  freq: "daily" | "weekly";
4724
4724
  interval?: number;
4725
- until?: Record<string, never> | null;
4725
+ until?: string | null;
4726
4726
  };
4727
4727
  start_times: string[];
4728
4728
  }[];
@@ -4918,7 +4918,7 @@ declare const useCompleteBookingIntent: (options?: Options$1E) => _tanstack_reac
4918
4918
  count?: number | null;
4919
4919
  freq: "daily" | "weekly";
4920
4920
  interval?: number;
4921
- until?: Record<string, never> | null;
4921
+ until?: string | null;
4922
4922
  };
4923
4923
  start_times: string[];
4924
4924
  }[];
@@ -4999,10 +4999,10 @@ declare const useCompleteBookingIntent: (options?: Options$1E) => _tanstack_reac
4999
4999
  };
5000
5000
  }>>;
5001
5001
 
5002
- interface Options$1D extends MutationOptionsFor<"post", "/v1/public/booking_intents/{booking_intent_id}/complete"> {
5002
+ interface Options$1K extends MutationOptionsFor<"post", "/v1/public/booking_intents/{booking_intent_id}/complete"> {
5003
5003
  client?: QueryClient;
5004
5004
  }
5005
- declare const useCompletePublicBookingIntent: (options?: Options$1D) => _tanstack_react_query.UseMutationResult<{
5005
+ declare const useCompletePublicBookingIntent: (options?: Options$1K) => _tanstack_react_query.UseMutationResult<{
5006
5006
  data: {
5007
5007
  appointment?: {
5008
5008
  add_to_calendar_url: string;
@@ -5389,10 +5389,10 @@ declare const useCompletePublicBookingIntent: (options?: Options$1D) => _tanstac
5389
5389
  };
5390
5390
  }>>;
5391
5391
 
5392
- interface Options$1C extends MutationOptionsFor<"post", "/v1/appointments/{appointment_id}/confirm"> {
5392
+ interface Options$1J extends MutationOptionsFor<"post", "/v1/appointments/{appointment_id}/confirm"> {
5393
5393
  client?: QueryClient;
5394
5394
  }
5395
- declare const useConfirmAppointment: (options?: Options$1C) => _tanstack_react_query.UseMutationResult<{
5395
+ declare const useConfirmAppointment: (options?: Options$1J) => _tanstack_react_query.UseMutationResult<{
5396
5396
  data: {
5397
5397
  add_to_calendar_url: string;
5398
5398
  appointment_type: "in_person" | "virtual";
@@ -5642,7 +5642,7 @@ declare const useConfirmAppointment: (options?: Options$1C) => _tanstack_react_q
5642
5642
  count?: number | null;
5643
5643
  freq: "daily" | "weekly";
5644
5644
  interval?: number;
5645
- until?: Record<string, never> | null;
5645
+ until?: string | null;
5646
5646
  };
5647
5647
  start_times: string[];
5648
5648
  }[];
@@ -5923,7 +5923,7 @@ declare const useConfirmAppointment: (options?: Options$1C) => _tanstack_react_q
5923
5923
  count?: number | null;
5924
5924
  freq: "daily" | "weekly";
5925
5925
  interval?: number;
5926
- until?: Record<string, never> | null;
5926
+ until?: string | null;
5927
5927
  };
5928
5928
  start_times: string[];
5929
5929
  }[];
@@ -6254,7 +6254,7 @@ declare const useConfirmAppointment: (options?: Options$1C) => _tanstack_react_q
6254
6254
  count?: number | null;
6255
6255
  freq: "daily" | "weekly";
6256
6256
  interval?: number;
6257
- until?: Record<string, never> | null;
6257
+ until?: string | null;
6258
6258
  };
6259
6259
  start_times: string[];
6260
6260
  }[];
@@ -6316,10 +6316,10 @@ declare const useConfirmAppointment: (options?: Options$1C) => _tanstack_react_q
6316
6316
  };
6317
6317
  }>>;
6318
6318
 
6319
- interface Options$1B extends MutationOptionsFor<"post", "/v1/accounts"> {
6319
+ interface Options$1I extends MutationOptionsFor<"post", "/v1/accounts"> {
6320
6320
  client?: QueryClient;
6321
6321
  }
6322
- declare const useCreateAccount: (options?: Options$1B) => _tanstack_react_query.UseMutationResult<{
6322
+ declare const useCreateAccount: (options?: Options$1I) => _tanstack_react_query.UseMutationResult<{
6323
6323
  data?: {
6324
6324
  created_at: string;
6325
6325
  id: string;
@@ -6471,10 +6471,10 @@ declare const useCreateAccount: (options?: Options$1B) => _tanstack_react_query.
6471
6471
  };
6472
6472
  }> | undefined>;
6473
6473
 
6474
- interface Options$1A extends MutationOptionsFor<"post", "/v1/users"> {
6474
+ interface Options$1H extends MutationOptionsFor<"post", "/v1/users"> {
6475
6475
  client?: QueryClient;
6476
6476
  }
6477
- declare const useCreateAccountUser: (options?: Options$1A) => _tanstack_react_query.UseMutationResult<{
6477
+ declare const useCreateAccountUser: (options?: Options$1H) => _tanstack_react_query.UseMutationResult<{
6478
6478
  object: "account_user";
6479
6479
  passive: boolean;
6480
6480
  roles: {
@@ -6639,10 +6639,10 @@ declare const useCreateAccountUser: (options?: Options$1A) => _tanstack_react_qu
6639
6639
  };
6640
6640
  }> | undefined>;
6641
6641
 
6642
- interface Options$1z extends MutationOptionsFor<"post", "/v1/appointments"> {
6642
+ interface Options$1G extends MutationOptionsFor<"post", "/v1/appointments"> {
6643
6643
  client?: QueryClient;
6644
6644
  }
6645
- declare const useCreateAppointment: (options?: Options$1z) => _tanstack_react_query.UseMutationResult<{
6645
+ declare const useCreateAppointment: (options?: Options$1G) => _tanstack_react_query.UseMutationResult<{
6646
6646
  data: {
6647
6647
  add_to_calendar_url: string;
6648
6648
  appointment_type: "in_person" | "virtual";
@@ -6892,7 +6892,7 @@ declare const useCreateAppointment: (options?: Options$1z) => _tanstack_react_qu
6892
6892
  count?: number | null;
6893
6893
  freq: "daily" | "weekly";
6894
6894
  interval?: number;
6895
- until?: Record<string, never> | null;
6895
+ until?: string | null;
6896
6896
  };
6897
6897
  start_times: string[];
6898
6898
  }[];
@@ -7173,7 +7173,7 @@ declare const useCreateAppointment: (options?: Options$1z) => _tanstack_react_qu
7173
7173
  count?: number | null;
7174
7174
  freq: "daily" | "weekly";
7175
7175
  interval?: number;
7176
- until?: Record<string, never> | null;
7176
+ until?: string | null;
7177
7177
  };
7178
7178
  start_times: string[];
7179
7179
  }[];
@@ -7520,7 +7520,7 @@ declare const useCreateAppointment: (options?: Options$1z) => _tanstack_react_qu
7520
7520
  count?: number | null;
7521
7521
  freq: "daily" | "weekly";
7522
7522
  interval?: number;
7523
- until?: Record<string, never> | null;
7523
+ until?: string | null;
7524
7524
  };
7525
7525
  start_times: string[];
7526
7526
  }[];
@@ -7582,10 +7582,10 @@ declare const useCreateAppointment: (options?: Options$1z) => _tanstack_react_qu
7582
7582
  };
7583
7583
  }> | undefined>;
7584
7584
 
7585
- interface Options$1y extends MutationOptionsFor<"post", "/v1/blocks"> {
7585
+ interface Options$1F extends MutationOptionsFor<"post", "/v1/blocks"> {
7586
7586
  client?: QueryClient;
7587
7587
  }
7588
- declare const useCreateBlock: (options?: Options$1y) => _tanstack_react_query.UseMutationResult<{
7588
+ declare const useCreateBlock: (options?: Options$1F) => _tanstack_react_query.UseMutationResult<{
7589
7589
  data: {
7590
7590
  all_day: boolean;
7591
7591
  attachment_type: "location" | "service" | "provider" | "service_provider";
@@ -7601,7 +7601,7 @@ declare const useCreateBlock: (options?: Options$1y) => _tanstack_react_query.Us
7601
7601
  count?: number | null;
7602
7602
  freq: "daily" | "weekly";
7603
7603
  interval?: number;
7604
- until?: Record<string, never> | null;
7604
+ until?: string | null;
7605
7605
  } | null;
7606
7606
  service_id: string | null;
7607
7607
  start_time: string | null;
@@ -7631,7 +7631,7 @@ declare const useCreateBlock: (options?: Options$1y) => _tanstack_react_query.Us
7631
7631
  count?: number | null;
7632
7632
  freq: "daily" | "weekly";
7633
7633
  interval?: number;
7634
- until?: Record<string, never> | null;
7634
+ until?: string | null;
7635
7635
  } | null;
7636
7636
  service_id: string | null;
7637
7637
  start_time: string | null;
@@ -7694,7 +7694,7 @@ declare const useCreateBlock: (options?: Options$1y) => _tanstack_react_query.Us
7694
7694
  count?: number | null;
7695
7695
  freq: "daily" | "weekly";
7696
7696
  interval?: number;
7697
- until?: Record<string, never> | null;
7697
+ until?: string | null;
7698
7698
  } | null;
7699
7699
  service_id?: string | null;
7700
7700
  start_time?: string | null;
@@ -7725,7 +7725,7 @@ declare const useCreateBlock: (options?: Options$1y) => _tanstack_react_query.Us
7725
7725
  count?: number | null;
7726
7726
  freq: "daily" | "weekly";
7727
7727
  interval?: number;
7728
- until?: Record<string, never> | null;
7728
+ until?: string | null;
7729
7729
  } | null;
7730
7730
  service_id: string | null;
7731
7731
  start_time: string | null;
@@ -7770,10 +7770,10 @@ declare const useCreateBlock: (options?: Options$1y) => _tanstack_react_query.Us
7770
7770
  };
7771
7771
  }> | undefined>;
7772
7772
 
7773
- interface Options$1x extends MutationOptionsFor<"post", "/v1/booking_intents"> {
7773
+ interface Options$1E extends MutationOptionsFor<"post", "/v1/booking_intents"> {
7774
7774
  client?: QueryClient;
7775
7775
  }
7776
- declare const useCreateBookingIntent: (options?: Options$1x) => _tanstack_react_query.UseMutationResult<{
7776
+ declare const useCreateBookingIntent: (options?: Options$1E) => _tanstack_react_query.UseMutationResult<{
7777
7777
  data: {
7778
7778
  abandoned_at?: string | null;
7779
7779
  appointment?: {
@@ -8025,7 +8025,7 @@ declare const useCreateBookingIntent: (options?: Options$1x) => _tanstack_react_
8025
8025
  count?: number | null;
8026
8026
  freq: "daily" | "weekly";
8027
8027
  interval?: number;
8028
- until?: Record<string, never> | null;
8028
+ until?: string | null;
8029
8029
  };
8030
8030
  start_times: string[];
8031
8031
  }[];
@@ -8221,7 +8221,7 @@ declare const useCreateBookingIntent: (options?: Options$1x) => _tanstack_react_
8221
8221
  count?: number | null;
8222
8222
  freq: "daily" | "weekly";
8223
8223
  interval?: number;
8224
- until?: Record<string, never> | null;
8224
+ until?: string | null;
8225
8225
  };
8226
8226
  start_times: string[];
8227
8227
  }[];
@@ -8510,7 +8510,7 @@ declare const useCreateBookingIntent: (options?: Options$1x) => _tanstack_react_
8510
8510
  count?: number | null;
8511
8511
  freq: "daily" | "weekly";
8512
8512
  interval?: number;
8513
- until?: Record<string, never> | null;
8513
+ until?: string | null;
8514
8514
  };
8515
8515
  start_times: string[];
8516
8516
  }[];
@@ -8706,7 +8706,7 @@ declare const useCreateBookingIntent: (options?: Options$1x) => _tanstack_react_
8706
8706
  count?: number | null;
8707
8707
  freq: "daily" | "weekly";
8708
8708
  interval?: number;
8709
- until?: Record<string, never> | null;
8709
+ until?: string | null;
8710
8710
  };
8711
8711
  start_times: string[];
8712
8712
  }[];
@@ -9094,7 +9094,7 @@ declare const useCreateBookingIntent: (options?: Options$1x) => _tanstack_react_
9094
9094
  count?: number | null;
9095
9095
  freq: "daily" | "weekly";
9096
9096
  interval?: number;
9097
- until?: Record<string, never> | null;
9097
+ until?: string | null;
9098
9098
  };
9099
9099
  start_times: string[];
9100
9100
  }[];
@@ -9290,7 +9290,7 @@ declare const useCreateBookingIntent: (options?: Options$1x) => _tanstack_react_
9290
9290
  count?: number | null;
9291
9291
  freq: "daily" | "weekly";
9292
9292
  interval?: number;
9293
- until?: Record<string, never> | null;
9293
+ until?: string | null;
9294
9294
  };
9295
9295
  start_times: string[];
9296
9296
  }[];
@@ -9371,10 +9371,10 @@ declare const useCreateBookingIntent: (options?: Options$1x) => _tanstack_react_
9371
9371
  };
9372
9372
  }> | undefined>;
9373
9373
 
9374
- interface Options$1w extends MutationOptionsFor<"post", "/v1/booking_links"> {
9374
+ interface Options$1D extends MutationOptionsFor<"post", "/v1/booking_links"> {
9375
9375
  client?: QueryClient;
9376
9376
  }
9377
- declare const useCreateBookingLink: (options?: Options$1w) => _tanstack_react_query.UseMutationResult<{
9377
+ declare const useCreateBookingLink: (options?: Options$1D) => _tanstack_react_query.UseMutationResult<{
9378
9378
  data: {
9379
9379
  client?: {
9380
9380
  created_at: string;
@@ -9662,11 +9662,16 @@ declare const useCreateBookingLink: (options?: Options$1w) => _tanstack_react_qu
9662
9662
  };
9663
9663
  }> | undefined>;
9664
9664
 
9665
- interface Options$1v extends MutationOptionsFor<"post", "/v1/cancellation_reasons"> {
9665
+ interface Options$1C extends MutationOptionsFor<"post", "/v1/cancellation_reasons"> {
9666
9666
  client?: QueryClient;
9667
9667
  }
9668
- declare const useCreateCancellationReason: (options?: Options$1v) => _tanstack_react_query.UseMutationResult<{
9669
- data: Record<string, never>;
9668
+ declare const useCreateCancellationReason: (options?: Options$1C) => _tanstack_react_query.UseMutationResult<{
9669
+ data: {
9670
+ id: string;
9671
+ name: string;
9672
+ object: "cancellation_reason";
9673
+ sort_order: number;
9674
+ };
9670
9675
  }, openapi_typescript_helpers.ErrorResponse<{
9671
9676
  201: {
9672
9677
  headers: {
@@ -9674,7 +9679,12 @@ declare const useCreateCancellationReason: (options?: Options$1v) => _tanstack_r
9674
9679
  };
9675
9680
  content: {
9676
9681
  "application/json": {
9677
- data: Record<string, never>;
9682
+ data: {
9683
+ id: string;
9684
+ name: string;
9685
+ object: "cancellation_reason";
9686
+ sort_order: number;
9687
+ };
9678
9688
  };
9679
9689
  };
9680
9690
  };
@@ -9730,7 +9740,12 @@ declare const useCreateCancellationReason: (options?: Options$1v) => _tanstack_r
9730
9740
  };
9731
9741
  content: {
9732
9742
  "application/json": {
9733
- data: Record<string, never>;
9743
+ data: {
9744
+ id: string;
9745
+ name: string;
9746
+ object: "cancellation_reason";
9747
+ sort_order: number;
9748
+ };
9734
9749
  };
9735
9750
  };
9736
9751
  };
@@ -9768,10 +9783,10 @@ declare const useCreateCancellationReason: (options?: Options$1v) => _tanstack_r
9768
9783
  };
9769
9784
  }> | undefined>;
9770
9785
 
9771
- interface Options$1u extends MutationOptionsFor<"post", "/v1/clients"> {
9786
+ interface Options$1B extends MutationOptionsFor<"post", "/v1/clients"> {
9772
9787
  client?: QueryClient;
9773
9788
  }
9774
- declare const useCreateClient: (options?: Options$1u) => _tanstack_react_query.UseMutationResult<{
9789
+ declare const useCreateClient: (options?: Options$1B) => _tanstack_react_query.UseMutationResult<{
9775
9790
  data: {
9776
9791
  created_at: string;
9777
9792
  email?: string | null;
@@ -9940,11 +9955,29 @@ declare const useCreateClient: (options?: Options$1u) => _tanstack_react_query.U
9940
9955
  };
9941
9956
  }> | undefined>;
9942
9957
 
9943
- interface Options$1t extends MutationOptionsFor<"post", "/v1/client_fields"> {
9958
+ interface Options$1A extends MutationOptionsFor<"post", "/v1/client_fields"> {
9944
9959
  client?: QueryClient;
9945
9960
  }
9946
- declare const useCreateClientField: (options?: Options$1t) => _tanstack_react_query.UseMutationResult<{
9947
- data: Record<string, never>;
9961
+ declare const useCreateClientField: (options?: Options$1A) => _tanstack_react_query.UseMutationResult<{
9962
+ data: {
9963
+ created_at: string;
9964
+ description?: string | null;
9965
+ id: string;
9966
+ key: string;
9967
+ label: string;
9968
+ object: "client_field";
9969
+ options?: ({
9970
+ allow_other?: boolean;
9971
+ choices?: {
9972
+ id?: string;
9973
+ label: string;
9974
+ }[];
9975
+ } | (Record<string, never> | null)) | null;
9976
+ sensitive: boolean;
9977
+ sort_order: number;
9978
+ type: "short_text" | "long_text" | "email" | "phone" | "boolean" | "radio" | "select" | "checkbox";
9979
+ updated_at: string;
9980
+ };
9948
9981
  }, openapi_typescript_helpers.ErrorResponse<{
9949
9982
  201: {
9950
9983
  headers: {
@@ -9952,7 +9985,25 @@ declare const useCreateClientField: (options?: Options$1t) => _tanstack_react_qu
9952
9985
  };
9953
9986
  content: {
9954
9987
  "application/json": {
9955
- data: Record<string, never>;
9988
+ data: {
9989
+ created_at: string;
9990
+ description?: string | null;
9991
+ id: string;
9992
+ key: string;
9993
+ label: string;
9994
+ object: "client_field";
9995
+ options?: ({
9996
+ allow_other?: boolean;
9997
+ choices?: {
9998
+ id?: string;
9999
+ label: string;
10000
+ }[];
10001
+ } | (Record<string, never> | null)) | null;
10002
+ sensitive: boolean;
10003
+ sort_order: number;
10004
+ type: "short_text" | "long_text" | "email" | "phone" | "boolean" | "radio" | "select" | "checkbox";
10005
+ updated_at: string;
10006
+ };
9956
10007
  };
9957
10008
  };
9958
10009
  };
@@ -10019,7 +10070,25 @@ declare const useCreateClientField: (options?: Options$1t) => _tanstack_react_qu
10019
10070
  };
10020
10071
  content: {
10021
10072
  "application/json": {
10022
- data: Record<string, never>;
10073
+ data: {
10074
+ created_at: string;
10075
+ description?: string | null;
10076
+ id: string;
10077
+ key: string;
10078
+ label: string;
10079
+ object: "client_field";
10080
+ options?: ({
10081
+ allow_other?: boolean;
10082
+ choices?: {
10083
+ id?: string;
10084
+ label: string;
10085
+ }[];
10086
+ } | (Record<string, never> | null)) | null;
10087
+ sensitive: boolean;
10088
+ sort_order: number;
10089
+ type: "short_text" | "long_text" | "email" | "phone" | "boolean" | "radio" | "select" | "checkbox";
10090
+ updated_at: string;
10091
+ };
10023
10092
  };
10024
10093
  };
10025
10094
  };
@@ -10057,10 +10126,10 @@ declare const useCreateClientField: (options?: Options$1t) => _tanstack_react_qu
10057
10126
  };
10058
10127
  }> | undefined>;
10059
10128
 
10060
- interface Options$1s extends MutationOptionsFor<"post", "/v1/dashboard_sessions"> {
10129
+ interface Options$1z extends MutationOptionsFor<"post", "/v1/dashboard_sessions"> {
10061
10130
  client?: QueryClient;
10062
10131
  }
10063
- declare const useCreateDashboardSession: (options?: Options$1s) => _tanstack_react_query.UseMutationResult<{
10132
+ declare const useCreateDashboardSession: (options?: Options$1z) => _tanstack_react_query.UseMutationResult<{
10064
10133
  data: {
10065
10134
  created_at: string;
10066
10135
  id: string;
@@ -10189,10 +10258,10 @@ declare const useCreateDashboardSession: (options?: Options$1s) => _tanstack_rea
10189
10258
  };
10190
10259
  }> | undefined>;
10191
10260
 
10192
- interface Options$1r extends MutationOptionsFor<"post", "/v1/forms"> {
10261
+ interface Options$1y extends MutationOptionsFor<"post", "/v1/forms"> {
10193
10262
  client?: QueryClient;
10194
10263
  }
10195
- declare const useCreateForm: (options?: Options$1r) => _tanstack_react_query.UseMutationResult<{
10264
+ declare const useCreateForm: (options?: Options$1y) => _tanstack_react_query.UseMutationResult<{
10196
10265
  data: {
10197
10266
  created_at: string;
10198
10267
  field_count: number;
@@ -10208,7 +10277,7 @@ declare const useCreateForm: (options?: Options$1r) => _tanstack_react_query.Use
10208
10277
  id: string;
10209
10278
  label: string;
10210
10279
  }[];
10211
- } | (string | null)) | null;
10280
+ } | (Record<string, never> | null)) | null;
10212
10281
  position: number;
10213
10282
  required?: boolean;
10214
10283
  sensitive?: boolean;
@@ -10241,7 +10310,7 @@ declare const useCreateForm: (options?: Options$1r) => _tanstack_react_query.Use
10241
10310
  id: string;
10242
10311
  label: string;
10243
10312
  }[];
10244
- } | (string | null)) | null;
10313
+ } | (Record<string, never> | null)) | null;
10245
10314
  position: number;
10246
10315
  required?: boolean;
10247
10316
  sensitive?: boolean;
@@ -10302,13 +10371,13 @@ declare const useCreateForm: (options?: Options$1r) => _tanstack_react_query.Use
10302
10371
  key: string;
10303
10372
  label: string;
10304
10373
  must_be_true?: boolean;
10305
- options?: ({
10374
+ options?: {
10306
10375
  allow_other: boolean;
10307
10376
  choices: {
10308
10377
  id?: string;
10309
10378
  label: string;
10310
10379
  }[];
10311
- } | (string | null)) | null;
10380
+ } | null;
10312
10381
  position: number;
10313
10382
  required?: boolean;
10314
10383
  sensitive?: boolean;
@@ -10340,7 +10409,7 @@ declare const useCreateForm: (options?: Options$1r) => _tanstack_react_query.Use
10340
10409
  id: string;
10341
10410
  label: string;
10342
10411
  }[];
10343
- } | (string | null)) | null;
10412
+ } | (Record<string, never> | null)) | null;
10344
10413
  position: number;
10345
10414
  required?: boolean;
10346
10415
  sensitive?: boolean;
@@ -10388,10 +10457,10 @@ declare const useCreateForm: (options?: Options$1r) => _tanstack_react_query.Use
10388
10457
  };
10389
10458
  }> | undefined>;
10390
10459
 
10391
- interface Options$1q extends MutationOptionsFor<"post", "/v1/providers/{provider_id}/openings"> {
10460
+ interface Options$1x extends MutationOptionsFor<"post", "/v1/providers/{provider_id}/openings"> {
10392
10461
  client?: QueryClient;
10393
10462
  }
10394
- declare const useCreateOpening: (options?: Options$1q) => _tanstack_react_query.UseMutationResult<{
10463
+ declare const useCreateOpening: (options?: Options$1x) => _tanstack_react_query.UseMutationResult<{
10395
10464
  data: {
10396
10465
  created_at: string;
10397
10466
  date: string;
@@ -10559,10 +10628,10 @@ declare const useCreateOpening: (options?: Options$1q) => _tanstack_react_query.
10559
10628
  };
10560
10629
  }>>;
10561
10630
 
10562
- interface Options$1p extends MutationOptionsFor<"post", "/v1/providers"> {
10631
+ interface Options$1w extends MutationOptionsFor<"post", "/v1/providers"> {
10563
10632
  client?: QueryClient;
10564
10633
  }
10565
- declare const useCreateProvider: (options?: Options$1p) => _tanstack_react_query.UseMutationResult<{
10634
+ declare const useCreateProvider: (options?: Options$1w) => _tanstack_react_query.UseMutationResult<{
10566
10635
  data: {
10567
10636
  created_at: string;
10568
10637
  display_name: string;
@@ -10727,10 +10796,10 @@ declare const useCreateProvider: (options?: Options$1p) => _tanstack_react_query
10727
10796
  };
10728
10797
  }> | undefined>;
10729
10798
 
10730
- interface Options$1o extends MutationOptionsFor<"post", "/v1/providers/{provider_id}/schedules"> {
10799
+ interface Options$1v extends MutationOptionsFor<"post", "/v1/providers/{provider_id}/schedules"> {
10731
10800
  client?: QueryClient;
10732
10801
  }
10733
- declare const useCreateProviderSchedule: (options?: Options$1o) => _tanstack_react_query.UseMutationResult<{
10802
+ declare const useCreateProviderSchedule: (options?: Options$1v) => _tanstack_react_query.UseMutationResult<{
10734
10803
  data: {
10735
10804
  created_at: string;
10736
10805
  effective_from: string;
@@ -10810,7 +10879,9 @@ declare const useCreateProviderSchedule: (options?: Options$1o) => _tanstack_rea
10810
10879
  parameters: {
10811
10880
  query?: never;
10812
10881
  header?: never;
10813
- path?: never;
10882
+ path: {
10883
+ provider_id: string;
10884
+ };
10814
10885
  cookie?: never;
10815
10886
  };
10816
10887
  requestBody?: {
@@ -10889,12 +10960,12 @@ declare const useCreateProviderSchedule: (options?: Options$1o) => _tanstack_rea
10889
10960
  };
10890
10961
  };
10891
10962
  };
10892
- }> | undefined>;
10963
+ }>>;
10893
10964
 
10894
- interface Options$1n extends MutationOptionsFor<"post", "/v1/public/appointments"> {
10965
+ interface Options$1u extends MutationOptionsFor<"post", "/v1/public/appointments"> {
10895
10966
  client?: QueryClient;
10896
10967
  }
10897
- declare const useCreatePublicAppointment: (options?: Options$1n) => _tanstack_react_query.UseMutationResult<{
10968
+ declare const useCreatePublicAppointment: (options?: Options$1u) => _tanstack_react_query.UseMutationResult<{
10898
10969
  data: {
10899
10970
  add_to_calendar_url: string;
10900
10971
  cancel_url: string;
@@ -11043,10 +11114,10 @@ declare const useCreatePublicAppointment: (options?: Options$1n) => _tanstack_re
11043
11114
  };
11044
11115
  }> | undefined>;
11045
11116
 
11046
- interface Options$1m extends MutationOptionsFor<"post", "/v1/public/booking_intents"> {
11117
+ interface Options$1t extends MutationOptionsFor<"post", "/v1/public/booking_intents"> {
11047
11118
  client?: QueryClient;
11048
11119
  }
11049
- declare const useCreatePublicBookingIntent: (options?: Options$1m) => _tanstack_react_query.UseMutationResult<{
11120
+ declare const useCreatePublicBookingIntent: (options?: Options$1t) => _tanstack_react_query.UseMutationResult<{
11050
11121
  data: {
11051
11122
  appointment?: {
11052
11123
  add_to_calendar_url: string;
@@ -11432,10 +11503,156 @@ declare const useCreatePublicBookingIntent: (options?: Options$1m) => _tanstack_
11432
11503
  };
11433
11504
  }> | undefined>;
11434
11505
 
11435
- interface Options$1l extends MutationOptionsFor<"post", "/v1/services"> {
11506
+ interface Options$1s extends MutationOptionsFor<"post", "/v1/schedule_groups"> {
11507
+ client?: QueryClient;
11508
+ }
11509
+ declare const useCreateScheduleGroup: (options?: Options$1s) => _tanstack_react_query.UseMutationResult<{
11510
+ data: {
11511
+ id: string;
11512
+ name: string;
11513
+ object: "schedule_group";
11514
+ };
11515
+ }, openapi_typescript_helpers.ErrorResponse<{
11516
+ 201: {
11517
+ headers: {
11518
+ [name: string]: unknown;
11519
+ };
11520
+ content: {
11521
+ "application/json": {
11522
+ data: {
11523
+ id: string;
11524
+ name: string;
11525
+ object: "schedule_group";
11526
+ };
11527
+ };
11528
+ };
11529
+ };
11530
+ 401: {
11531
+ headers: {
11532
+ [name: string]: unknown;
11533
+ };
11534
+ content: {
11535
+ "application/json": {
11536
+ errors: {
11537
+ detail: string;
11538
+ status?: string;
11539
+ title?: string;
11540
+ }[];
11541
+ };
11542
+ };
11543
+ };
11544
+ 403: {
11545
+ headers: {
11546
+ [name: string]: unknown;
11547
+ };
11548
+ content: {
11549
+ "application/json": {
11550
+ errors: {
11551
+ detail: string;
11552
+ status?: string;
11553
+ title?: string;
11554
+ }[];
11555
+ };
11556
+ };
11557
+ };
11558
+ 422: {
11559
+ headers: {
11560
+ [name: string]: unknown;
11561
+ };
11562
+ content: {
11563
+ "application/json": {
11564
+ errors: {
11565
+ code?: string | null;
11566
+ detail: string;
11567
+ source: {
11568
+ pointer: string;
11569
+ };
11570
+ title: string;
11571
+ }[];
11572
+ };
11573
+ };
11574
+ };
11575
+ }, `${string}/${string}`>, openapi_fetch.FetchOptions<{
11576
+ parameters: {
11577
+ query?: never;
11578
+ header?: never;
11579
+ path?: never;
11580
+ cookie?: never;
11581
+ };
11582
+ requestBody?: {
11583
+ content: {
11584
+ "application/json": {
11585
+ name: string;
11586
+ };
11587
+ };
11588
+ };
11589
+ responses: {
11590
+ 201: {
11591
+ headers: {
11592
+ [name: string]: unknown;
11593
+ };
11594
+ content: {
11595
+ "application/json": {
11596
+ data: {
11597
+ id: string;
11598
+ name: string;
11599
+ object: "schedule_group";
11600
+ };
11601
+ };
11602
+ };
11603
+ };
11604
+ 401: {
11605
+ headers: {
11606
+ [name: string]: unknown;
11607
+ };
11608
+ content: {
11609
+ "application/json": {
11610
+ errors: {
11611
+ detail: string;
11612
+ status?: string;
11613
+ title?: string;
11614
+ }[];
11615
+ };
11616
+ };
11617
+ };
11618
+ 403: {
11619
+ headers: {
11620
+ [name: string]: unknown;
11621
+ };
11622
+ content: {
11623
+ "application/json": {
11624
+ errors: {
11625
+ detail: string;
11626
+ status?: string;
11627
+ title?: string;
11628
+ }[];
11629
+ };
11630
+ };
11631
+ };
11632
+ 422: {
11633
+ headers: {
11634
+ [name: string]: unknown;
11635
+ };
11636
+ content: {
11637
+ "application/json": {
11638
+ errors: {
11639
+ code?: string | null;
11640
+ detail: string;
11641
+ source: {
11642
+ pointer: string;
11643
+ };
11644
+ title: string;
11645
+ }[];
11646
+ };
11647
+ };
11648
+ };
11649
+ };
11650
+ }> | undefined>;
11651
+
11652
+ interface Options$1r extends MutationOptionsFor<"post", "/v1/services"> {
11436
11653
  client?: QueryClient;
11437
11654
  }
11438
- declare const useCreateService: (options?: Options$1l) => _tanstack_react_query.UseMutationResult<{
11655
+ declare const useCreateService: (options?: Options$1r) => _tanstack_react_query.UseMutationResult<{
11439
11656
  data: {
11440
11657
  appointment_type: "in_person" | "virtual";
11441
11658
  booking_policy: {
@@ -11506,7 +11723,7 @@ declare const useCreateService: (options?: Options$1l) => _tanstack_react_query.
11506
11723
  count?: number | null;
11507
11724
  freq: "daily" | "weekly";
11508
11725
  interval?: number;
11509
- until?: Record<string, never> | null;
11726
+ until?: string | null;
11510
11727
  };
11511
11728
  start_times: string[];
11512
11729
  }[];
@@ -11589,7 +11806,7 @@ declare const useCreateService: (options?: Options$1l) => _tanstack_react_query.
11589
11806
  count?: number | null;
11590
11807
  freq: "daily" | "weekly";
11591
11808
  interval?: number;
11592
- until?: Record<string, never> | null;
11809
+ until?: string | null;
11593
11810
  };
11594
11811
  start_times: string[];
11595
11812
  }[];
@@ -11697,7 +11914,7 @@ declare const useCreateService: (options?: Options$1l) => _tanstack_react_query.
11697
11914
  count?: number | null;
11698
11915
  freq: "daily" | "weekly";
11699
11916
  interval?: number;
11700
- until?: Record<string, never> | null;
11917
+ until?: string | null;
11701
11918
  };
11702
11919
  start_times: string[];
11703
11920
  }[];
@@ -11781,7 +11998,7 @@ declare const useCreateService: (options?: Options$1l) => _tanstack_react_query.
11781
11998
  count?: number | null;
11782
11999
  freq: "daily" | "weekly";
11783
12000
  interval?: number;
11784
- until?: Record<string, never> | null;
12001
+ until?: string | null;
11785
12002
  };
11786
12003
  start_times: string[];
11787
12004
  }[];
@@ -11824,10 +12041,10 @@ declare const useCreateService: (options?: Options$1l) => _tanstack_react_query.
11824
12041
  };
11825
12042
  }> | undefined>;
11826
12043
 
11827
- interface Options$1k extends MutationOptionsFor<"post", "/v1/services/{service_id}/providers"> {
12044
+ interface Options$1q extends MutationOptionsFor<"post", "/v1/services/{service_id}/providers"> {
11828
12045
  client?: QueryClient;
11829
12046
  }
11830
- declare const useCreateServiceProvider: (options?: Options$1k) => _tanstack_react_query.UseMutationResult<{
12047
+ declare const useCreateServiceProvider: (options?: Options$1q) => _tanstack_react_query.UseMutationResult<{
11831
12048
  data: {
11832
12049
  created_at: string;
11833
12050
  id: string;
@@ -12018,10 +12235,10 @@ declare const useCreateServiceProvider: (options?: Options$1k) => _tanstack_reac
12018
12235
  };
12019
12236
  }>>;
12020
12237
 
12021
- interface Options$1j extends MutationOptionsFor<"delete", "/v1/providers/{provider_id}"> {
12238
+ interface Options$1p extends MutationOptionsFor<"delete", "/v1/providers/{provider_id}"> {
12022
12239
  client?: QueryClient;
12023
12240
  }
12024
- declare const useDeactivateProvider: (options?: Options$1j) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12241
+ declare const useDeactivateProvider: (options?: Options$1p) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12025
12242
  204: {
12026
12243
  headers: {
12027
12244
  [name: string]: unknown;
@@ -12106,10 +12323,10 @@ declare const useDeactivateProvider: (options?: Options$1j) => _tanstack_react_q
12106
12323
  };
12107
12324
  }>>;
12108
12325
 
12109
- interface Options$1i extends MutationOptionsFor<"delete", "/v1/blocks/{block_id}"> {
12326
+ interface Options$1o extends MutationOptionsFor<"delete", "/v1/blocks/{block_id}"> {
12110
12327
  client?: QueryClient;
12111
12328
  }
12112
- declare const useDeleteBlock: (options?: Options$1i) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12329
+ declare const useDeleteBlock: (options?: Options$1o) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12113
12330
  204: {
12114
12331
  headers: {
12115
12332
  [name: string]: unknown;
@@ -12194,10 +12411,10 @@ declare const useDeleteBlock: (options?: Options$1i) => _tanstack_react_query.Us
12194
12411
  };
12195
12412
  }>>;
12196
12413
 
12197
- interface Options$1h extends MutationOptionsFor<"delete", "/v1/booking_links/{booking_link_id}"> {
12414
+ interface Options$1n extends MutationOptionsFor<"delete", "/v1/booking_links/{booking_link_id}"> {
12198
12415
  client?: QueryClient;
12199
12416
  }
12200
- declare const useDeleteBookingLink: (options?: Options$1h) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12417
+ declare const useDeleteBookingLink: (options?: Options$1n) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12201
12418
  204: {
12202
12419
  headers: {
12203
12420
  [name: string]: unknown;
@@ -12282,10 +12499,10 @@ declare const useDeleteBookingLink: (options?: Options$1h) => _tanstack_react_qu
12282
12499
  };
12283
12500
  }>>;
12284
12501
 
12285
- interface Options$1g extends MutationOptionsFor<"delete", "/v1/cancellation_reasons/{cancellation_reason_id}"> {
12502
+ interface Options$1m extends MutationOptionsFor<"delete", "/v1/cancellation_reasons/{cancellation_reason_id}"> {
12286
12503
  client?: QueryClient;
12287
12504
  }
12288
- declare const useDeleteCancellationReason: (options?: Options$1g) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12505
+ declare const useDeleteCancellationReason: (options?: Options$1m) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12289
12506
  204: {
12290
12507
  headers: {
12291
12508
  [name: string]: unknown;
@@ -12370,10 +12587,10 @@ declare const useDeleteCancellationReason: (options?: Options$1g) => _tanstack_r
12370
12587
  };
12371
12588
  }>>;
12372
12589
 
12373
- interface Options$1f extends MutationOptionsFor<"delete", "/v1/clients/{client_id}"> {
12590
+ interface Options$1l extends MutationOptionsFor<"delete", "/v1/clients/{client_id}"> {
12374
12591
  client?: QueryClient;
12375
12592
  }
12376
- declare const useDeleteClient: (options?: Options$1f) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12593
+ declare const useDeleteClient: (options?: Options$1l) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12377
12594
  204: {
12378
12595
  headers: {
12379
12596
  [name: string]: unknown;
@@ -12458,10 +12675,10 @@ declare const useDeleteClient: (options?: Options$1f) => _tanstack_react_query.U
12458
12675
  };
12459
12676
  }>>;
12460
12677
 
12461
- interface Options$1e extends MutationOptionsFor<"delete", "/v1/client_fields/{client_field_id}"> {
12678
+ interface Options$1k extends MutationOptionsFor<"delete", "/v1/client_fields/{client_field_id}"> {
12462
12679
  client?: QueryClient;
12463
12680
  }
12464
- declare const useDeleteClientField: (options?: Options$1e) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12681
+ declare const useDeleteClientField: (options?: Options$1k) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12465
12682
  204: {
12466
12683
  headers: {
12467
12684
  [name: string]: unknown;
@@ -12546,10 +12763,10 @@ declare const useDeleteClientField: (options?: Options$1e) => _tanstack_react_qu
12546
12763
  };
12547
12764
  }>>;
12548
12765
 
12549
- interface Options$1d extends MutationOptionsFor<"delete", "/v1/connected_accounts/{connected_account_id}"> {
12766
+ interface Options$1j extends MutationOptionsFor<"delete", "/v1/connected_accounts/{connected_account_id}"> {
12550
12767
  client?: QueryClient;
12551
12768
  }
12552
- declare const useDeleteConnectedAccount: (options?: Options$1d) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12769
+ declare const useDeleteConnectedAccount: (options?: Options$1j) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12553
12770
  204: {
12554
12771
  headers: {
12555
12772
  [name: string]: unknown;
@@ -12634,10 +12851,10 @@ declare const useDeleteConnectedAccount: (options?: Options$1d) => _tanstack_rea
12634
12851
  };
12635
12852
  }>>;
12636
12853
 
12637
- interface Options$1c extends MutationOptionsFor<"delete", "/v1/forms/{form_id}"> {
12854
+ interface Options$1i extends MutationOptionsFor<"delete", "/v1/forms/{form_id}"> {
12638
12855
  client?: QueryClient;
12639
12856
  }
12640
- declare const useDeleteForm: (options?: Options$1c) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12857
+ declare const useDeleteForm: (options?: Options$1i) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12641
12858
  204: {
12642
12859
  headers: {
12643
12860
  [name: string]: unknown;
@@ -12722,10 +12939,10 @@ declare const useDeleteForm: (options?: Options$1c) => _tanstack_react_query.Use
12722
12939
  };
12723
12940
  }>>;
12724
12941
 
12725
- interface Options$1b extends MutationOptionsFor<"delete", "/v1/openings/{opening_id}"> {
12942
+ interface Options$1h extends MutationOptionsFor<"delete", "/v1/openings/{opening_id}"> {
12726
12943
  client?: QueryClient;
12727
12944
  }
12728
- declare const useDeleteOpening: (options?: Options$1b) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12945
+ declare const useDeleteOpening: (options?: Options$1h) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12729
12946
  204: {
12730
12947
  headers: {
12731
12948
  [name: string]: unknown;
@@ -12810,10 +13027,10 @@ declare const useDeleteOpening: (options?: Options$1b) => _tanstack_react_query.
12810
13027
  };
12811
13028
  }>>;
12812
13029
 
12813
- interface Options$1a extends MutationOptionsFor<"delete", "/v1/provider_schedules/{provider_schedule_id}"> {
13030
+ interface Options$1g extends MutationOptionsFor<"delete", "/v1/provider_schedules/{provider_schedule_id}"> {
12814
13031
  client?: QueryClient;
12815
13032
  }
12816
- declare const useDeleteProviderSchedule: (options?: Options$1a) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
13033
+ declare const useDeleteProviderSchedule: (options?: Options$1g) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12817
13034
  204: {
12818
13035
  headers: {
12819
13036
  [name: string]: unknown;
@@ -12898,10 +13115,10 @@ declare const useDeleteProviderSchedule: (options?: Options$1a) => _tanstack_rea
12898
13115
  };
12899
13116
  }>>;
12900
13117
 
12901
- interface Options$19 extends MutationOptionsFor<"delete", "/v1/services/{service_id}"> {
13118
+ interface Options$1f extends MutationOptionsFor<"delete", "/v1/schedule_groups/{schedule_group_id}"> {
12902
13119
  client?: QueryClient;
12903
13120
  }
12904
- declare const useDeleteService: (options?: Options$19) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
13121
+ declare const useDeleteScheduleGroup: (options?: Options$1f) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12905
13122
  204: {
12906
13123
  headers: {
12907
13124
  [name: string]: unknown;
@@ -12924,6 +13141,20 @@ declare const useDeleteService: (options?: Options$19) => _tanstack_react_query.
12924
13141
  };
12925
13142
  };
12926
13143
  };
13144
+ 403: {
13145
+ headers: {
13146
+ [name: string]: unknown;
13147
+ };
13148
+ content: {
13149
+ "application/json": {
13150
+ errors: {
13151
+ detail: string;
13152
+ status?: string;
13153
+ title?: string;
13154
+ }[];
13155
+ };
13156
+ };
13157
+ };
12927
13158
  404: {
12928
13159
  headers: {
12929
13160
  [name: string]: unknown;
@@ -12937,12 +13168,25 @@ declare const useDeleteService: (options?: Options$19) => _tanstack_react_query.
12937
13168
  };
12938
13169
  };
12939
13170
  };
13171
+ 409: {
13172
+ headers: {
13173
+ [name: string]: unknown;
13174
+ };
13175
+ content: {
13176
+ "application/json": {
13177
+ errors: {
13178
+ detail: "Conflict";
13179
+ status: "409";
13180
+ }[];
13181
+ };
13182
+ };
13183
+ };
12940
13184
  }, `${string}/${string}`>, openapi_fetch.FetchOptions<{
12941
13185
  parameters: {
12942
13186
  query?: never;
12943
13187
  header?: never;
12944
13188
  path: {
12945
- service_id: string;
13189
+ schedule_group_id: string;
12946
13190
  };
12947
13191
  cookie?: never;
12948
13192
  };
@@ -12970,6 +13214,20 @@ declare const useDeleteService: (options?: Options$19) => _tanstack_react_query.
12970
13214
  };
12971
13215
  };
12972
13216
  };
13217
+ 403: {
13218
+ headers: {
13219
+ [name: string]: unknown;
13220
+ };
13221
+ content: {
13222
+ "application/json": {
13223
+ errors: {
13224
+ detail: string;
13225
+ status?: string;
13226
+ title?: string;
13227
+ }[];
13228
+ };
13229
+ };
13230
+ };
12973
13231
  404: {
12974
13232
  headers: {
12975
13233
  [name: string]: unknown;
@@ -12983,13 +13241,114 @@ declare const useDeleteService: (options?: Options$19) => _tanstack_react_query.
12983
13241
  };
12984
13242
  };
12985
13243
  };
13244
+ 409: {
13245
+ headers: {
13246
+ [name: string]: unknown;
13247
+ };
13248
+ content: {
13249
+ "application/json": {
13250
+ errors: {
13251
+ detail: "Conflict";
13252
+ status: "409";
13253
+ }[];
13254
+ };
13255
+ };
13256
+ };
12986
13257
  };
12987
13258
  }>>;
12988
13259
 
12989
- interface Options$18 extends MutationOptionsFor<"delete", "/v1/services/{service_id}/providers/{provider_id}"> {
13260
+ interface Options$1e extends MutationOptionsFor<"delete", "/v1/services/{service_id}"> {
12990
13261
  client?: QueryClient;
12991
13262
  }
12992
- declare const useDeleteServiceProvider: (options?: Options$18) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
13263
+ declare const useDeleteService: (options?: Options$1e) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
13264
+ 204: {
13265
+ headers: {
13266
+ [name: string]: unknown;
13267
+ };
13268
+ content: {
13269
+ "text/plain": string;
13270
+ };
13271
+ };
13272
+ 401: {
13273
+ headers: {
13274
+ [name: string]: unknown;
13275
+ };
13276
+ content: {
13277
+ "application/json": {
13278
+ errors: {
13279
+ detail: string;
13280
+ status?: string;
13281
+ title?: string;
13282
+ }[];
13283
+ };
13284
+ };
13285
+ };
13286
+ 404: {
13287
+ headers: {
13288
+ [name: string]: unknown;
13289
+ };
13290
+ content: {
13291
+ "application/json": {
13292
+ errors: {
13293
+ detail: "Not Found";
13294
+ status: "404";
13295
+ }[];
13296
+ };
13297
+ };
13298
+ };
13299
+ }, `${string}/${string}`>, openapi_fetch.FetchOptions<{
13300
+ parameters: {
13301
+ query?: never;
13302
+ header?: never;
13303
+ path: {
13304
+ service_id: string;
13305
+ };
13306
+ cookie?: never;
13307
+ };
13308
+ requestBody?: never;
13309
+ responses: {
13310
+ 204: {
13311
+ headers: {
13312
+ [name: string]: unknown;
13313
+ };
13314
+ content: {
13315
+ "text/plain": string;
13316
+ };
13317
+ };
13318
+ 401: {
13319
+ headers: {
13320
+ [name: string]: unknown;
13321
+ };
13322
+ content: {
13323
+ "application/json": {
13324
+ errors: {
13325
+ detail: string;
13326
+ status?: string;
13327
+ title?: string;
13328
+ }[];
13329
+ };
13330
+ };
13331
+ };
13332
+ 404: {
13333
+ headers: {
13334
+ [name: string]: unknown;
13335
+ };
13336
+ content: {
13337
+ "application/json": {
13338
+ errors: {
13339
+ detail: "Not Found";
13340
+ status: "404";
13341
+ }[];
13342
+ };
13343
+ };
13344
+ };
13345
+ };
13346
+ }>>;
13347
+
13348
+ interface Options$1d extends MutationOptionsFor<"delete", "/v1/services/{service_id}/providers/{provider_id}"> {
13349
+ client?: QueryClient;
13350
+ }
13351
+ declare const useDeleteServiceProvider: (options?: Options$1d) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12993
13352
  204: {
12994
13353
  headers: {
12995
13354
  [name: string]: unknown;
@@ -13075,10 +13434,10 @@ declare const useDeleteServiceProvider: (options?: Options$18) => _tanstack_reac
13075
13434
  };
13076
13435
  }>>;
13077
13436
 
13078
- interface Options$17 extends MutationOptionsFor<"delete", "/v1/connected_accounts/{connected_account_id}/user_mappings/{provider_id}"> {
13437
+ interface Options$1c extends MutationOptionsFor<"delete", "/v1/connected_accounts/{connected_account_id}/user_mappings/{provider_id}"> {
13079
13438
  client?: QueryClient;
13080
13439
  }
13081
- declare const useDeleteUserMapping: (options?: Options$17) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
13440
+ declare const useDeleteUserMapping: (options?: Options$1c) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
13082
13441
  204: {
13083
13442
  headers: {
13084
13443
  [name: string]: unknown;
@@ -13164,10 +13523,10 @@ declare const useDeleteUserMapping: (options?: Options$17) => _tanstack_react_qu
13164
13523
  };
13165
13524
  }>>;
13166
13525
 
13167
- interface Options$16 extends MutationOptionsFor<"delete", "/v1/service_forms/{service_form_id}"> {
13526
+ interface Options$1b extends MutationOptionsFor<"delete", "/v1/service_forms/{service_form_id}"> {
13168
13527
  client?: QueryClient;
13169
13528
  }
13170
- declare const useDetachServiceForm: (options?: Options$16) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
13529
+ declare const useDetachServiceForm: (options?: Options$1b) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
13171
13530
  204: {
13172
13531
  headers: {
13173
13532
  [name: string]: unknown;
@@ -13252,10 +13611,10 @@ declare const useDetachServiceForm: (options?: Options$16) => _tanstack_react_qu
13252
13611
  };
13253
13612
  }>>;
13254
13613
 
13255
- interface Options$15 extends MutationOptionsFor<"post", "/v1/appointments/{appointment_id}/reschedule"> {
13614
+ interface Options$1a extends MutationOptionsFor<"post", "/v1/appointments/{appointment_id}/reschedule"> {
13256
13615
  client?: QueryClient;
13257
13616
  }
13258
- declare const useRescheduleAppointment: (options?: Options$15) => _tanstack_react_query.UseMutationResult<{
13617
+ declare const useRescheduleAppointment: (options?: Options$1a) => _tanstack_react_query.UseMutationResult<{
13259
13618
  data: {
13260
13619
  add_to_calendar_url: string;
13261
13620
  appointment_type: "in_person" | "virtual";
@@ -13505,7 +13864,7 @@ declare const useRescheduleAppointment: (options?: Options$15) => _tanstack_reac
13505
13864
  count?: number | null;
13506
13865
  freq: "daily" | "weekly";
13507
13866
  interval?: number;
13508
- until?: Record<string, never> | null;
13867
+ until?: string | null;
13509
13868
  };
13510
13869
  start_times: string[];
13511
13870
  }[];
@@ -13786,7 +14145,7 @@ declare const useRescheduleAppointment: (options?: Options$15) => _tanstack_reac
13786
14145
  count?: number | null;
13787
14146
  freq: "daily" | "weekly";
13788
14147
  interval?: number;
13789
- until?: Record<string, never> | null;
14148
+ until?: string | null;
13790
14149
  };
13791
14150
  start_times: string[];
13792
14151
  }[];
@@ -14121,7 +14480,7 @@ declare const useRescheduleAppointment: (options?: Options$15) => _tanstack_reac
14121
14480
  count?: number | null;
14122
14481
  freq: "daily" | "weekly";
14123
14482
  interval?: number;
14124
- until?: Record<string, never> | null;
14483
+ until?: string | null;
14125
14484
  };
14126
14485
  start_times: string[];
14127
14486
  }[];
@@ -14183,10 +14542,10 @@ declare const useRescheduleAppointment: (options?: Options$15) => _tanstack_reac
14183
14542
  };
14184
14543
  }>>;
14185
14544
 
14186
- interface Options$14 extends MutationOptionsFor<"post", "/v1/public/appointments/{appointment_id}/reschedule"> {
14545
+ interface Options$19 extends MutationOptionsFor<"post", "/v1/public/appointments/{appointment_id}/reschedule"> {
14187
14546
  client?: QueryClient;
14188
14547
  }
14189
- declare const useReschedulePublicAppointment: (options?: Options$14) => _tanstack_react_query.UseMutationResult<{
14548
+ declare const useReschedulePublicAppointment: (options?: Options$19) => _tanstack_react_query.UseMutationResult<{
14190
14549
  data: {
14191
14550
  add_to_calendar_url: string;
14192
14551
  cancel_url: string;
@@ -14357,10 +14716,10 @@ declare const useReschedulePublicAppointment: (options?: Options$14) => _tanstac
14357
14716
  };
14358
14717
  }>>;
14359
14718
 
14360
- interface Options$13 extends MutationOptionsFor<"put", "/v1/services/{service_id}/conferencing"> {
14719
+ interface Options$18 extends MutationOptionsFor<"put", "/v1/services/{service_id}/conferencing"> {
14361
14720
  client?: QueryClient;
14362
14721
  }
14363
- declare const useSetServiceConferencing: (options?: Options$13) => _tanstack_react_query.UseMutationResult<{
14722
+ declare const useSetServiceConferencing: (options?: Options$18) => _tanstack_react_query.UseMutationResult<{
14364
14723
  data: {
14365
14724
  configured: {
14366
14725
  provider_id: string;
@@ -14515,10 +14874,10 @@ declare const useSetServiceConferencing: (options?: Options$13) => _tanstack_rea
14515
14874
  };
14516
14875
  }>>;
14517
14876
 
14518
- interface Options$12 extends MutationOptionsFor<"put", "/v1/services/{service_id}/providers/{provider_id}/conferencing"> {
14877
+ interface Options$17 extends MutationOptionsFor<"put", "/v1/services/{service_id}/providers/{provider_id}/conferencing"> {
14519
14878
  client?: QueryClient;
14520
14879
  }
14521
- declare const useSetServiceProviderConferencing: (options?: Options$12) => _tanstack_react_query.UseMutationResult<{
14880
+ declare const useSetServiceProviderConferencing: (options?: Options$17) => _tanstack_react_query.UseMutationResult<{
14522
14881
  data: {
14523
14882
  conferencing_provider: "zoom_admin";
14524
14883
  connected_account: {
@@ -14765,10 +15124,10 @@ declare const useSetServiceProviderConferencing: (options?: Options$12) => _tans
14765
15124
  };
14766
15125
  }>>;
14767
15126
 
14768
- interface Options$11 extends MutationOptionsFor<"put", "/v1/connected_accounts/{connected_account_id}/user_mappings/{provider_id}"> {
15127
+ interface Options$16 extends MutationOptionsFor<"put", "/v1/connected_accounts/{connected_account_id}/user_mappings/{provider_id}"> {
14769
15128
  client?: QueryClient;
14770
15129
  }
14771
- declare const useSetUserMapping: (options?: Options$11) => _tanstack_react_query.UseMutationResult<{
15130
+ declare const useSetUserMapping: (options?: Options$16) => _tanstack_react_query.UseMutationResult<{
14772
15131
  data: {
14773
15132
  external_user: {
14774
15133
  email: string | null;
@@ -15007,10 +15366,10 @@ declare const useSetUserMapping: (options?: Options$11) => _tanstack_react_query
15007
15366
  };
15008
15367
  }>>;
15009
15368
 
15010
- interface Options$10 extends MutationOptionsFor<"post", "/v1/services/{service_id}/forms/sort"> {
15369
+ interface Options$15 extends MutationOptionsFor<"post", "/v1/services/{service_id}/forms/sort"> {
15011
15370
  client?: QueryClient;
15012
15371
  }
15013
- declare const useSortServiceForms: (options?: Options$10) => _tanstack_react_query.UseMutationResult<{
15372
+ declare const useSortServiceForms: (options?: Options$15) => _tanstack_react_query.UseMutationResult<{
15014
15373
  data: {
15015
15374
  created_at: string;
15016
15375
  form_id: string;
@@ -15165,10 +15524,10 @@ declare const useSortServiceForms: (options?: Options$10) => _tanstack_react_que
15165
15524
  };
15166
15525
  }>>;
15167
15526
 
15168
- interface Options$$ extends MutationOptionsFor<"post", "/v1/connected_accounts/{connected_account_id}/external_users/sync"> {
15527
+ interface Options$14 extends MutationOptionsFor<"post", "/v1/connected_accounts/{connected_account_id}/external_users/sync"> {
15169
15528
  client?: QueryClient;
15170
15529
  }
15171
- declare const useSyncConnectedAccountExternalUsers: (options?: Options$$) => _tanstack_react_query.UseMutationResult<{
15530
+ declare const useSyncConnectedAccountExternalUsers: (options?: Options$14) => _tanstack_react_query.UseMutationResult<{
15172
15531
  data: {
15173
15532
  email: string | null;
15174
15533
  first_name: string | null;
@@ -15310,10 +15669,10 @@ declare const useSyncConnectedAccountExternalUsers: (options?: Options$$) => _ta
15310
15669
  };
15311
15670
  }>>;
15312
15671
 
15313
- interface Options$_ extends MutationOptionsFor<"post", "/v1/services/{service_id}/conferencing/sync"> {
15672
+ interface Options$13 extends MutationOptionsFor<"post", "/v1/services/{service_id}/conferencing/sync"> {
15314
15673
  client?: QueryClient;
15315
15674
  }
15316
- declare const useSyncServiceConferencing: (options?: Options$_) => _tanstack_react_query.UseMutationResult<{
15675
+ declare const useSyncServiceConferencing: (options?: Options$13) => _tanstack_react_query.UseMutationResult<{
15317
15676
  data: {
15318
15677
  configured: {
15319
15678
  provider_id: string;
@@ -15458,10 +15817,10 @@ declare const useSyncServiceConferencing: (options?: Options$_) => _tanstack_rea
15458
15817
  };
15459
15818
  }>>;
15460
15819
 
15461
- interface Options$Z extends MutationOptionsFor<"patch", "/v1/accounts/{account_id}"> {
15820
+ interface Options$12 extends MutationOptionsFor<"patch", "/v1/accounts/{account_id}"> {
15462
15821
  client?: QueryClient;
15463
15822
  }
15464
- declare const useUpdateAccount: (options?: Options$Z) => _tanstack_react_query.UseMutationResult<{
15823
+ declare const useUpdateAccount: (options?: Options$12) => _tanstack_react_query.UseMutationResult<{
15465
15824
  data?: {
15466
15825
  created_at: string;
15467
15826
  id: string;
@@ -15610,10 +15969,10 @@ declare const useUpdateAccount: (options?: Options$Z) => _tanstack_react_query.U
15610
15969
  };
15611
15970
  }>>;
15612
15971
 
15613
- interface Options$Y extends MutationOptionsFor<"patch", "/v1/users/{user_id}"> {
15972
+ interface Options$11 extends MutationOptionsFor<"patch", "/v1/users/{user_id}"> {
15614
15973
  client?: QueryClient;
15615
15974
  }
15616
- declare const useUpdateAccountUser: (options?: Options$Y) => _tanstack_react_query.UseMutationResult<{
15975
+ declare const useUpdateAccountUser: (options?: Options$11) => _tanstack_react_query.UseMutationResult<{
15617
15976
  object: "account_user";
15618
15977
  passive: boolean;
15619
15978
  roles: {
@@ -15807,10 +16166,10 @@ declare const useUpdateAccountUser: (options?: Options$Y) => _tanstack_react_que
15807
16166
  };
15808
16167
  }>>;
15809
16168
 
15810
- interface Options$X extends MutationOptionsFor<"patch", "/v1/blocks/{block_id}"> {
16169
+ interface Options$10 extends MutationOptionsFor<"patch", "/v1/blocks/{block_id}"> {
15811
16170
  client?: QueryClient;
15812
16171
  }
15813
- declare const useUpdateBlock: (options?: Options$X) => _tanstack_react_query.UseMutationResult<{
16172
+ declare const useUpdateBlock: (options?: Options$10) => _tanstack_react_query.UseMutationResult<{
15814
16173
  data: {
15815
16174
  all_day: boolean;
15816
16175
  attachment_type: "location" | "service" | "provider" | "service_provider";
@@ -15826,7 +16185,7 @@ declare const useUpdateBlock: (options?: Options$X) => _tanstack_react_query.Use
15826
16185
  count?: number | null;
15827
16186
  freq: "daily" | "weekly";
15828
16187
  interval?: number;
15829
- until?: Record<string, never> | null;
16188
+ until?: string | null;
15830
16189
  } | null;
15831
16190
  service_id: string | null;
15832
16191
  start_time: string | null;
@@ -15856,7 +16215,7 @@ declare const useUpdateBlock: (options?: Options$X) => _tanstack_react_query.Use
15856
16215
  count?: number | null;
15857
16216
  freq: "daily" | "weekly";
15858
16217
  interval?: number;
15859
- until?: Record<string, never> | null;
16218
+ until?: string | null;
15860
16219
  } | null;
15861
16220
  service_id: string | null;
15862
16221
  start_time: string | null;
@@ -15902,7 +16261,9 @@ declare const useUpdateBlock: (options?: Options$X) => _tanstack_react_query.Use
15902
16261
  parameters: {
15903
16262
  query?: never;
15904
16263
  header?: never;
15905
- path?: never;
16264
+ path: {
16265
+ block_id: string;
16266
+ };
15906
16267
  cookie?: never;
15907
16268
  };
15908
16269
  requestBody?: {
@@ -15919,7 +16280,7 @@ declare const useUpdateBlock: (options?: Options$X) => _tanstack_react_query.Use
15919
16280
  count?: number | null;
15920
16281
  freq: "daily" | "weekly";
15921
16282
  interval?: number;
15922
- until?: Record<string, never> | null;
16283
+ until?: string | null;
15923
16284
  } | null;
15924
16285
  service_id?: string | null;
15925
16286
  start_time?: string | null;
@@ -15950,7 +16311,7 @@ declare const useUpdateBlock: (options?: Options$X) => _tanstack_react_query.Use
15950
16311
  count?: number | null;
15951
16312
  freq: "daily" | "weekly";
15952
16313
  interval?: number;
15953
- until?: Record<string, never> | null;
16314
+ until?: string | null;
15954
16315
  } | null;
15955
16316
  service_id: string | null;
15956
16317
  start_time: string | null;
@@ -15993,12 +16354,12 @@ declare const useUpdateBlock: (options?: Options$X) => _tanstack_react_query.Use
15993
16354
  };
15994
16355
  };
15995
16356
  };
15996
- }> | undefined>;
16357
+ }>>;
15997
16358
 
15998
- interface Options$W extends MutationOptionsFor<"patch", "/v1/booking_intents/{booking_intent_id}"> {
16359
+ interface Options$$ extends MutationOptionsFor<"patch", "/v1/booking_intents/{booking_intent_id}"> {
15999
16360
  client?: QueryClient;
16000
16361
  }
16001
- declare const useUpdateBookingIntent: (options?: Options$W) => _tanstack_react_query.UseMutationResult<{
16362
+ declare const useUpdateBookingIntent: (options?: Options$$) => _tanstack_react_query.UseMutationResult<{
16002
16363
  data: {
16003
16364
  abandoned_at?: string | null;
16004
16365
  appointment?: {
@@ -16250,7 +16611,7 @@ declare const useUpdateBookingIntent: (options?: Options$W) => _tanstack_react_q
16250
16611
  count?: number | null;
16251
16612
  freq: "daily" | "weekly";
16252
16613
  interval?: number;
16253
- until?: Record<string, never> | null;
16614
+ until?: string | null;
16254
16615
  };
16255
16616
  start_times: string[];
16256
16617
  }[];
@@ -16446,7 +16807,7 @@ declare const useUpdateBookingIntent: (options?: Options$W) => _tanstack_react_q
16446
16807
  count?: number | null;
16447
16808
  freq: "daily" | "weekly";
16448
16809
  interval?: number;
16449
- until?: Record<string, never> | null;
16810
+ until?: string | null;
16450
16811
  };
16451
16812
  start_times: string[];
16452
16813
  }[];
@@ -16735,7 +17096,7 @@ declare const useUpdateBookingIntent: (options?: Options$W) => _tanstack_react_q
16735
17096
  count?: number | null;
16736
17097
  freq: "daily" | "weekly";
16737
17098
  interval?: number;
16738
- until?: Record<string, never> | null;
17099
+ until?: string | null;
16739
17100
  };
16740
17101
  start_times: string[];
16741
17102
  }[];
@@ -16931,7 +17292,7 @@ declare const useUpdateBookingIntent: (options?: Options$W) => _tanstack_react_q
16931
17292
  count?: number | null;
16932
17293
  freq: "daily" | "weekly";
16933
17294
  interval?: number;
16934
- until?: Record<string, never> | null;
17295
+ until?: string | null;
16935
17296
  };
16936
17297
  start_times: string[];
16937
17298
  }[];
@@ -17321,7 +17682,7 @@ declare const useUpdateBookingIntent: (options?: Options$W) => _tanstack_react_q
17321
17682
  count?: number | null;
17322
17683
  freq: "daily" | "weekly";
17323
17684
  interval?: number;
17324
- until?: Record<string, never> | null;
17685
+ until?: string | null;
17325
17686
  };
17326
17687
  start_times: string[];
17327
17688
  }[];
@@ -17517,7 +17878,7 @@ declare const useUpdateBookingIntent: (options?: Options$W) => _tanstack_react_q
17517
17878
  count?: number | null;
17518
17879
  freq: "daily" | "weekly";
17519
17880
  interval?: number;
17520
- until?: Record<string, never> | null;
17881
+ until?: string | null;
17521
17882
  };
17522
17883
  start_times: string[];
17523
17884
  }[];
@@ -17598,10 +17959,10 @@ declare const useUpdateBookingIntent: (options?: Options$W) => _tanstack_react_q
17598
17959
  };
17599
17960
  }>>;
17600
17961
 
17601
- interface Options$V extends MutationOptionsFor<"patch", "/v1/booking_links/{booking_link_id}"> {
17962
+ interface Options$_ extends MutationOptionsFor<"patch", "/v1/booking_links/{booking_link_id}"> {
17602
17963
  client?: QueryClient;
17603
17964
  }
17604
- declare const useUpdateBookingLink: (options?: Options$V) => _tanstack_react_query.UseMutationResult<{
17965
+ declare const useUpdateBookingLink: (options?: Options$_) => _tanstack_react_query.UseMutationResult<{
17605
17966
  data: {
17606
17967
  client?: {
17607
17968
  created_at: string;
@@ -17890,11 +18251,16 @@ declare const useUpdateBookingLink: (options?: Options$V) => _tanstack_react_que
17890
18251
  };
17891
18252
  }>>;
17892
18253
 
17893
- interface Options$U extends MutationOptionsFor<"patch", "/v1/cancellation_reasons/{cancellation_reason_id}"> {
18254
+ interface Options$Z extends MutationOptionsFor<"patch", "/v1/cancellation_reasons/{cancellation_reason_id}"> {
17894
18255
  client?: QueryClient;
17895
18256
  }
17896
- declare const useUpdateCancellationReason: (options?: Options$U) => _tanstack_react_query.UseMutationResult<{
17897
- data: Record<string, never>;
18257
+ declare const useUpdateCancellationReason: (options?: Options$Z) => _tanstack_react_query.UseMutationResult<{
18258
+ data: {
18259
+ id: string;
18260
+ name: string;
18261
+ object: "cancellation_reason";
18262
+ sort_order: number;
18263
+ };
17898
18264
  }, openapi_typescript_helpers.ErrorResponse<{
17899
18265
  200: {
17900
18266
  headers: {
@@ -17902,7 +18268,12 @@ declare const useUpdateCancellationReason: (options?: Options$U) => _tanstack_re
17902
18268
  };
17903
18269
  content: {
17904
18270
  "application/json": {
17905
- data: Record<string, never>;
18271
+ data: {
18272
+ id: string;
18273
+ name: string;
18274
+ object: "cancellation_reason";
18275
+ sort_order: number;
18276
+ };
17906
18277
  };
17907
18278
  };
17908
18279
  };
@@ -17973,7 +18344,12 @@ declare const useUpdateCancellationReason: (options?: Options$U) => _tanstack_re
17973
18344
  };
17974
18345
  content: {
17975
18346
  "application/json": {
17976
- data: Record<string, never>;
18347
+ data: {
18348
+ id: string;
18349
+ name: string;
18350
+ object: "cancellation_reason";
18351
+ sort_order: number;
18352
+ };
17977
18353
  };
17978
18354
  };
17979
18355
  };
@@ -18024,10 +18400,10 @@ declare const useUpdateCancellationReason: (options?: Options$U) => _tanstack_re
18024
18400
  };
18025
18401
  }>>;
18026
18402
 
18027
- interface Options$T extends MutationOptionsFor<"patch", "/v1/clients/{client_id}"> {
18403
+ interface Options$Y extends MutationOptionsFor<"patch", "/v1/clients/{client_id}"> {
18028
18404
  client?: QueryClient;
18029
18405
  }
18030
- declare const useUpdateClient: (options?: Options$T) => _tanstack_react_query.UseMutationResult<{
18406
+ declare const useUpdateClient: (options?: Options$Y) => _tanstack_react_query.UseMutationResult<{
18031
18407
  data: {
18032
18408
  created_at: string;
18033
18409
  email?: string | null;
@@ -18224,11 +18600,29 @@ declare const useUpdateClient: (options?: Options$T) => _tanstack_react_query.Us
18224
18600
  };
18225
18601
  }>>;
18226
18602
 
18227
- interface Options$S extends MutationOptionsFor<"patch", "/v1/client_fields/{client_field_id}"> {
18603
+ interface Options$X extends MutationOptionsFor<"patch", "/v1/client_fields/{client_field_id}"> {
18228
18604
  client?: QueryClient;
18229
18605
  }
18230
- declare const useUpdateClientField: (options?: Options$S) => _tanstack_react_query.UseMutationResult<{
18231
- data: Record<string, never>;
18606
+ declare const useUpdateClientField: (options?: Options$X) => _tanstack_react_query.UseMutationResult<{
18607
+ data: {
18608
+ created_at: string;
18609
+ description?: string | null;
18610
+ id: string;
18611
+ key: string;
18612
+ label: string;
18613
+ object: "client_field";
18614
+ options?: ({
18615
+ allow_other?: boolean;
18616
+ choices?: {
18617
+ id?: string;
18618
+ label: string;
18619
+ }[];
18620
+ } | (Record<string, never> | null)) | null;
18621
+ sensitive: boolean;
18622
+ sort_order: number;
18623
+ type: "short_text" | "long_text" | "email" | "phone" | "boolean" | "radio" | "select" | "checkbox";
18624
+ updated_at: string;
18625
+ };
18232
18626
  }, openapi_typescript_helpers.ErrorResponse<{
18233
18627
  200: {
18234
18628
  headers: {
@@ -18236,7 +18630,25 @@ declare const useUpdateClientField: (options?: Options$S) => _tanstack_react_que
18236
18630
  };
18237
18631
  content: {
18238
18632
  "application/json": {
18239
- data: Record<string, never>;
18633
+ data: {
18634
+ created_at: string;
18635
+ description?: string | null;
18636
+ id: string;
18637
+ key: string;
18638
+ label: string;
18639
+ object: "client_field";
18640
+ options?: ({
18641
+ allow_other?: boolean;
18642
+ choices?: {
18643
+ id?: string;
18644
+ label: string;
18645
+ }[];
18646
+ } | (Record<string, never> | null)) | null;
18647
+ sensitive: boolean;
18648
+ sort_order: number;
18649
+ type: "short_text" | "long_text" | "email" | "phone" | "boolean" | "radio" | "select" | "checkbox";
18650
+ updated_at: string;
18651
+ };
18240
18652
  };
18241
18653
  };
18242
18654
  };
@@ -18316,7 +18728,25 @@ declare const useUpdateClientField: (options?: Options$S) => _tanstack_react_que
18316
18728
  };
18317
18729
  content: {
18318
18730
  "application/json": {
18319
- data: Record<string, never>;
18731
+ data: {
18732
+ created_at: string;
18733
+ description?: string | null;
18734
+ id: string;
18735
+ key: string;
18736
+ label: string;
18737
+ object: "client_field";
18738
+ options?: ({
18739
+ allow_other?: boolean;
18740
+ choices?: {
18741
+ id?: string;
18742
+ label: string;
18743
+ }[];
18744
+ } | (Record<string, never> | null)) | null;
18745
+ sensitive: boolean;
18746
+ sort_order: number;
18747
+ type: "short_text" | "long_text" | "email" | "phone" | "boolean" | "radio" | "select" | "checkbox";
18748
+ updated_at: string;
18749
+ };
18320
18750
  };
18321
18751
  };
18322
18752
  };
@@ -18367,10 +18797,10 @@ declare const useUpdateClientField: (options?: Options$S) => _tanstack_react_que
18367
18797
  };
18368
18798
  }>>;
18369
18799
 
18370
- interface Options$R extends MutationOptionsFor<"patch", "/v1/connected_accounts/{connected_account_id}"> {
18800
+ interface Options$W extends MutationOptionsFor<"patch", "/v1/connected_accounts/{connected_account_id}"> {
18371
18801
  client?: QueryClient;
18372
18802
  }
18373
- declare const useUpdateConnectedAccount: (options?: Options$R) => _tanstack_react_query.UseMutationResult<{
18803
+ declare const useUpdateConnectedAccount: (options?: Options$W) => _tanstack_react_query.UseMutationResult<{
18374
18804
  data: {
18375
18805
  connection_scope: "user" | "account";
18376
18806
  created_at: string;
@@ -18540,10 +18970,10 @@ declare const useUpdateConnectedAccount: (options?: Options$R) => _tanstack_reac
18540
18970
  };
18541
18971
  }>>;
18542
18972
 
18543
- interface Options$Q extends MutationOptionsFor<"patch", "/v1/forms/{form_id}"> {
18973
+ interface Options$V extends MutationOptionsFor<"patch", "/v1/forms/{form_id}"> {
18544
18974
  client?: QueryClient;
18545
18975
  }
18546
- declare const useUpdateForm: (options?: Options$Q) => _tanstack_react_query.UseMutationResult<{
18976
+ declare const useUpdateForm: (options?: Options$V) => _tanstack_react_query.UseMutationResult<{
18547
18977
  data: {
18548
18978
  created_at: string;
18549
18979
  field_count: number;
@@ -18559,7 +18989,7 @@ declare const useUpdateForm: (options?: Options$Q) => _tanstack_react_query.UseM
18559
18989
  id: string;
18560
18990
  label: string;
18561
18991
  }[];
18562
- } | (string | null)) | null;
18992
+ } | (Record<string, never> | null)) | null;
18563
18993
  position: number;
18564
18994
  required?: boolean;
18565
18995
  sensitive?: boolean;
@@ -18592,7 +19022,7 @@ declare const useUpdateForm: (options?: Options$Q) => _tanstack_react_query.UseM
18592
19022
  id: string;
18593
19023
  label: string;
18594
19024
  }[];
18595
- } | (string | null)) | null;
19025
+ } | (Record<string, never> | null)) | null;
18596
19026
  position: number;
18597
19027
  required?: boolean;
18598
19028
  sensitive?: boolean;
@@ -18668,13 +19098,13 @@ declare const useUpdateForm: (options?: Options$Q) => _tanstack_react_query.UseM
18668
19098
  key: string;
18669
19099
  label: string;
18670
19100
  must_be_true?: boolean;
18671
- options?: ({
19101
+ options?: {
18672
19102
  allow_other: boolean;
18673
19103
  choices: {
18674
19104
  id?: string;
18675
19105
  label: string;
18676
19106
  }[];
18677
- } | (string | null)) | null;
19107
+ } | null;
18678
19108
  position: number;
18679
19109
  required?: boolean;
18680
19110
  sensitive?: boolean;
@@ -18706,7 +19136,7 @@ declare const useUpdateForm: (options?: Options$Q) => _tanstack_react_query.UseM
18706
19136
  id: string;
18707
19137
  label: string;
18708
19138
  }[];
18709
- } | (string | null)) | null;
19139
+ } | (Record<string, never> | null)) | null;
18710
19140
  position: number;
18711
19141
  required?: boolean;
18712
19142
  sensitive?: boolean;
@@ -18767,10 +19197,10 @@ declare const useUpdateForm: (options?: Options$Q) => _tanstack_react_query.UseM
18767
19197
  };
18768
19198
  }>>;
18769
19199
 
18770
- interface Options$P extends MutationOptionsFor<"patch", "/v1/openings/{opening_id}"> {
19200
+ interface Options$U extends MutationOptionsFor<"patch", "/v1/openings/{opening_id}"> {
18771
19201
  client?: QueryClient;
18772
19202
  }
18773
- declare const useUpdateOpening: (options?: Options$P) => _tanstack_react_query.UseMutationResult<{
19203
+ declare const useUpdateOpening: (options?: Options$U) => _tanstack_react_query.UseMutationResult<{
18774
19204
  data: {
18775
19205
  created_at: string;
18776
19206
  date: string;
@@ -18938,10 +19368,10 @@ declare const useUpdateOpening: (options?: Options$P) => _tanstack_react_query.U
18938
19368
  };
18939
19369
  }>>;
18940
19370
 
18941
- interface Options$O extends MutationOptionsFor<"patch", "/v1/providers/{provider_id}"> {
19371
+ interface Options$T extends MutationOptionsFor<"patch", "/v1/providers/{provider_id}"> {
18942
19372
  client?: QueryClient;
18943
19373
  }
18944
- declare const useUpdateProvider: (options?: Options$O) => _tanstack_react_query.UseMutationResult<{
19374
+ declare const useUpdateProvider: (options?: Options$T) => _tanstack_react_query.UseMutationResult<{
18945
19375
  data: {
18946
19376
  created_at: string;
18947
19377
  display_name: string;
@@ -19117,10 +19547,10 @@ declare const useUpdateProvider: (options?: Options$O) => _tanstack_react_query.
19117
19547
  };
19118
19548
  }>>;
19119
19549
 
19120
- interface Options$N extends MutationOptionsFor<"patch", "/v1/provider_schedules/{provider_schedule_id}"> {
19550
+ interface Options$S extends MutationOptionsFor<"patch", "/v1/provider_schedules/{provider_schedule_id}"> {
19121
19551
  client?: QueryClient;
19122
19552
  }
19123
- declare const useUpdateProviderSchedule: (options?: Options$N) => _tanstack_react_query.UseMutationResult<{
19553
+ declare const useUpdateProviderSchedule: (options?: Options$S) => _tanstack_react_query.UseMutationResult<{
19124
19554
  data: {
19125
19555
  created_at: string;
19126
19556
  effective_from: string;
@@ -19200,7 +19630,9 @@ declare const useUpdateProviderSchedule: (options?: Options$N) => _tanstack_reac
19200
19630
  parameters: {
19201
19631
  query?: never;
19202
19632
  header?: never;
19203
- path?: never;
19633
+ path: {
19634
+ provider_schedule_id: string;
19635
+ };
19204
19636
  cookie?: never;
19205
19637
  };
19206
19638
  requestBody?: {
@@ -19279,12 +19711,12 @@ declare const useUpdateProviderSchedule: (options?: Options$N) => _tanstack_reac
19279
19711
  };
19280
19712
  };
19281
19713
  };
19282
- }> | undefined>;
19714
+ }>>;
19283
19715
 
19284
- interface Options$M extends MutationOptionsFor<"patch", "/v1/public/booking_intents/{booking_intent_id}"> {
19716
+ interface Options$R extends MutationOptionsFor<"patch", "/v1/public/booking_intents/{booking_intent_id}"> {
19285
19717
  client?: QueryClient;
19286
19718
  }
19287
- declare const useUpdatePublicBookingIntent: (options?: Options$M) => _tanstack_react_query.UseMutationResult<{
19719
+ declare const useUpdatePublicBookingIntent: (options?: Options$R) => _tanstack_react_query.UseMutationResult<{
19288
19720
  data: {
19289
19721
  appointment?: {
19290
19722
  add_to_calendar_url: string;
@@ -19671,10 +20103,341 @@ declare const useUpdatePublicBookingIntent: (options?: Options$M) => _tanstack_r
19671
20103
  };
19672
20104
  }>>;
19673
20105
 
19674
- interface Options$L extends MutationOptionsFor<"patch", "/v1/services/{service_id}"> {
20106
+ interface Options$Q extends MutationOptionsFor<"patch", "/v1/roles/{role_id}"> {
20107
+ client?: QueryClient;
20108
+ }
20109
+ declare const useUpdateRole: (options?: Options$Q) => _tanstack_react_query.UseMutationResult<{
20110
+ data: {
20111
+ denied_permissions: string[];
20112
+ id: string;
20113
+ name: string;
20114
+ object: "role";
20115
+ permissions: string[];
20116
+ type: "admin" | "staff" | "superuser" | "custom";
20117
+ };
20118
+ }, openapi_typescript_helpers.ErrorResponse<{
20119
+ 200: {
20120
+ headers: {
20121
+ [name: string]: unknown;
20122
+ };
20123
+ content: {
20124
+ "application/json": {
20125
+ data: {
20126
+ denied_permissions: string[];
20127
+ id: string;
20128
+ name: string;
20129
+ object: "role";
20130
+ permissions: string[];
20131
+ type: "admin" | "staff" | "superuser" | "custom";
20132
+ };
20133
+ };
20134
+ };
20135
+ };
20136
+ 401: {
20137
+ headers: {
20138
+ [name: string]: unknown;
20139
+ };
20140
+ content: {
20141
+ "application/json": {
20142
+ errors: {
20143
+ detail: string;
20144
+ status?: string;
20145
+ title?: string;
20146
+ }[];
20147
+ };
20148
+ };
20149
+ };
20150
+ 404: {
20151
+ headers: {
20152
+ [name: string]: unknown;
20153
+ };
20154
+ content: {
20155
+ "application/json": {
20156
+ errors: {
20157
+ detail: "Not Found";
20158
+ status: "404";
20159
+ }[];
20160
+ };
20161
+ };
20162
+ };
20163
+ 422: {
20164
+ headers: {
20165
+ [name: string]: unknown;
20166
+ };
20167
+ content: {
20168
+ "application/json": {
20169
+ errors: {
20170
+ code?: string | null;
20171
+ detail: string;
20172
+ source: {
20173
+ pointer: string;
20174
+ };
20175
+ title: string;
20176
+ }[];
20177
+ };
20178
+ };
20179
+ };
20180
+ }, `${string}/${string}`>, openapi_fetch.FetchOptions<{
20181
+ parameters: {
20182
+ query?: never;
20183
+ header?: never;
20184
+ path: {
20185
+ role_id: string;
20186
+ };
20187
+ cookie?: never;
20188
+ };
20189
+ requestBody?: {
20190
+ content: {
20191
+ "application/json": {
20192
+ denied_permissions?: string[];
20193
+ name?: string;
20194
+ permissions?: string[];
20195
+ };
20196
+ };
20197
+ };
20198
+ responses: {
20199
+ 200: {
20200
+ headers: {
20201
+ [name: string]: unknown;
20202
+ };
20203
+ content: {
20204
+ "application/json": {
20205
+ data: {
20206
+ denied_permissions: string[];
20207
+ id: string;
20208
+ name: string;
20209
+ object: "role";
20210
+ permissions: string[];
20211
+ type: "admin" | "staff" | "superuser" | "custom";
20212
+ };
20213
+ };
20214
+ };
20215
+ };
20216
+ 401: {
20217
+ headers: {
20218
+ [name: string]: unknown;
20219
+ };
20220
+ content: {
20221
+ "application/json": {
20222
+ errors: {
20223
+ detail: string;
20224
+ status?: string;
20225
+ title?: string;
20226
+ }[];
20227
+ };
20228
+ };
20229
+ };
20230
+ 404: {
20231
+ headers: {
20232
+ [name: string]: unknown;
20233
+ };
20234
+ content: {
20235
+ "application/json": {
20236
+ errors: {
20237
+ detail: "Not Found";
20238
+ status: "404";
20239
+ }[];
20240
+ };
20241
+ };
20242
+ };
20243
+ 422: {
20244
+ headers: {
20245
+ [name: string]: unknown;
20246
+ };
20247
+ content: {
20248
+ "application/json": {
20249
+ errors: {
20250
+ code?: string | null;
20251
+ detail: string;
20252
+ source: {
20253
+ pointer: string;
20254
+ };
20255
+ title: string;
20256
+ }[];
20257
+ };
20258
+ };
20259
+ };
20260
+ };
20261
+ }>>;
20262
+
20263
+ interface Options$P extends MutationOptionsFor<"patch", "/v1/schedule_groups/{schedule_group_id}"> {
20264
+ client?: QueryClient;
20265
+ }
20266
+ declare const useUpdateScheduleGroup: (options?: Options$P) => _tanstack_react_query.UseMutationResult<{
20267
+ data: {
20268
+ id: string;
20269
+ name: string;
20270
+ object: "schedule_group";
20271
+ };
20272
+ }, openapi_typescript_helpers.ErrorResponse<{
20273
+ 200: {
20274
+ headers: {
20275
+ [name: string]: unknown;
20276
+ };
20277
+ content: {
20278
+ "application/json": {
20279
+ data: {
20280
+ id: string;
20281
+ name: string;
20282
+ object: "schedule_group";
20283
+ };
20284
+ };
20285
+ };
20286
+ };
20287
+ 401: {
20288
+ headers: {
20289
+ [name: string]: unknown;
20290
+ };
20291
+ content: {
20292
+ "application/json": {
20293
+ errors: {
20294
+ detail: string;
20295
+ status?: string;
20296
+ title?: string;
20297
+ }[];
20298
+ };
20299
+ };
20300
+ };
20301
+ 403: {
20302
+ headers: {
20303
+ [name: string]: unknown;
20304
+ };
20305
+ content: {
20306
+ "application/json": {
20307
+ errors: {
20308
+ detail: string;
20309
+ status?: string;
20310
+ title?: string;
20311
+ }[];
20312
+ };
20313
+ };
20314
+ };
20315
+ 404: {
20316
+ headers: {
20317
+ [name: string]: unknown;
20318
+ };
20319
+ content: {
20320
+ "application/json": {
20321
+ errors: {
20322
+ detail: "Not Found";
20323
+ status: "404";
20324
+ }[];
20325
+ };
20326
+ };
20327
+ };
20328
+ 422: {
20329
+ headers: {
20330
+ [name: string]: unknown;
20331
+ };
20332
+ content: {
20333
+ "application/json": {
20334
+ errors: {
20335
+ code?: string | null;
20336
+ detail: string;
20337
+ source: {
20338
+ pointer: string;
20339
+ };
20340
+ title: string;
20341
+ }[];
20342
+ };
20343
+ };
20344
+ };
20345
+ }, `${string}/${string}`>, openapi_fetch.FetchOptions<{
20346
+ parameters: {
20347
+ query?: never;
20348
+ header?: never;
20349
+ path: {
20350
+ schedule_group_id: string;
20351
+ };
20352
+ cookie?: never;
20353
+ };
20354
+ requestBody?: {
20355
+ content: {
20356
+ "application/json": {
20357
+ name: string;
20358
+ };
20359
+ };
20360
+ };
20361
+ responses: {
20362
+ 200: {
20363
+ headers: {
20364
+ [name: string]: unknown;
20365
+ };
20366
+ content: {
20367
+ "application/json": {
20368
+ data: {
20369
+ id: string;
20370
+ name: string;
20371
+ object: "schedule_group";
20372
+ };
20373
+ };
20374
+ };
20375
+ };
20376
+ 401: {
20377
+ headers: {
20378
+ [name: string]: unknown;
20379
+ };
20380
+ content: {
20381
+ "application/json": {
20382
+ errors: {
20383
+ detail: string;
20384
+ status?: string;
20385
+ title?: string;
20386
+ }[];
20387
+ };
20388
+ };
20389
+ };
20390
+ 403: {
20391
+ headers: {
20392
+ [name: string]: unknown;
20393
+ };
20394
+ content: {
20395
+ "application/json": {
20396
+ errors: {
20397
+ detail: string;
20398
+ status?: string;
20399
+ title?: string;
20400
+ }[];
20401
+ };
20402
+ };
20403
+ };
20404
+ 404: {
20405
+ headers: {
20406
+ [name: string]: unknown;
20407
+ };
20408
+ content: {
20409
+ "application/json": {
20410
+ errors: {
20411
+ detail: "Not Found";
20412
+ status: "404";
20413
+ }[];
20414
+ };
20415
+ };
20416
+ };
20417
+ 422: {
20418
+ headers: {
20419
+ [name: string]: unknown;
20420
+ };
20421
+ content: {
20422
+ "application/json": {
20423
+ errors: {
20424
+ code?: string | null;
20425
+ detail: string;
20426
+ source: {
20427
+ pointer: string;
20428
+ };
20429
+ title: string;
20430
+ }[];
20431
+ };
20432
+ };
20433
+ };
20434
+ };
20435
+ }>>;
20436
+
20437
+ interface Options$O extends MutationOptionsFor<"patch", "/v1/services/{service_id}"> {
19675
20438
  client?: QueryClient;
19676
20439
  }
19677
- declare const useUpdateService: (options?: Options$L) => _tanstack_react_query.UseMutationResult<{
20440
+ declare const useUpdateService: (options?: Options$O) => _tanstack_react_query.UseMutationResult<{
19678
20441
  data: {
19679
20442
  appointment_type: "in_person" | "virtual";
19680
20443
  booking_policy: {
@@ -19745,7 +20508,7 @@ declare const useUpdateService: (options?: Options$L) => _tanstack_react_query.U
19745
20508
  count?: number | null;
19746
20509
  freq: "daily" | "weekly";
19747
20510
  interval?: number;
19748
- until?: Record<string, never> | null;
20511
+ until?: string | null;
19749
20512
  };
19750
20513
  start_times: string[];
19751
20514
  }[];
@@ -19828,7 +20591,7 @@ declare const useUpdateService: (options?: Options$L) => _tanstack_react_query.U
19828
20591
  count?: number | null;
19829
20592
  freq: "daily" | "weekly";
19830
20593
  interval?: number;
19831
- until?: Record<string, never> | null;
20594
+ until?: string | null;
19832
20595
  };
19833
20596
  start_times: string[];
19834
20597
  }[];
@@ -19950,7 +20713,7 @@ declare const useUpdateService: (options?: Options$L) => _tanstack_react_query.U
19950
20713
  count?: number | null;
19951
20714
  freq: "daily" | "weekly";
19952
20715
  interval?: number;
19953
- until?: Record<string, never> | null;
20716
+ until?: string | null;
19954
20717
  };
19955
20718
  start_times: string[];
19956
20719
  }[];
@@ -20034,7 +20797,7 @@ declare const useUpdateService: (options?: Options$L) => _tanstack_react_query.U
20034
20797
  count?: number | null;
20035
20798
  freq: "daily" | "weekly";
20036
20799
  interval?: number;
20037
- until?: Record<string, never> | null;
20800
+ until?: string | null;
20038
20801
  };
20039
20802
  start_times: string[];
20040
20803
  }[];
@@ -20116,10 +20879,10 @@ declare const useSavvyCalQueryClient: (overrideClient?: QueryClient) => openapi_
20116
20879
  declare const useSavvyCalFetchClient: (overrideClient?: FetchClient) => openapi_fetch.Client<_savvycal_appointments_core.paths, `${string}/${string}`>;
20117
20880
 
20118
20881
  type AccountByIdParams = paths["/v1/accounts/{account_id}"]["get"]["parameters"];
20119
- interface Options$K extends QueryOptionsFor<"get", "/v1/accounts/{account_id}"> {
20882
+ interface Options$N extends QueryOptionsFor<"get", "/v1/accounts/{account_id}"> {
20120
20883
  client?: QueryClient;
20121
20884
  }
20122
- declare const useAccountById: (account_id: AccountByIdParams["path"]["account_id"], options?: Options$K) => _tanstack_react_query.UseQueryResult<{
20885
+ declare const useAccountById: (account_id: AccountByIdParams["path"]["account_id"], options?: Options$N) => _tanstack_react_query.UseQueryResult<{
20123
20886
  data?: {
20124
20887
  created_at: string;
20125
20888
  id: string;
@@ -20173,10 +20936,10 @@ declare const useAccountById: (account_id: AccountByIdParams["path"]["account_id
20173
20936
  };
20174
20937
  }, `${string}/${string}`>>;
20175
20938
 
20176
- interface Options$J extends QueryOptionsFor<"get", "/v1/users"> {
20939
+ interface Options$M extends QueryOptionsFor<"get", "/v1/users"> {
20177
20940
  client?: QueryClient;
20178
20941
  }
20179
- declare const useAccountUsers: (options?: Options$J) => _tanstack_react_query.UseQueryResult<{
20942
+ declare const useAccountUsers: (options?: Options$M) => _tanstack_react_query.UseQueryResult<{
20180
20943
  data?: {
20181
20944
  object: "account_user";
20182
20945
  passive: boolean;
@@ -20263,10 +21026,10 @@ declare const useAccountUsers: (options?: Options$J) => _tanstack_react_query.Us
20263
21026
  }, `${string}/${string}`>>;
20264
21027
 
20265
21028
  type AccountsParams = paths["/v1/accounts"]["get"]["parameters"];
20266
- interface Options$I extends QueryOptionsFor<"get", "/v1/accounts"> {
21029
+ interface Options$L extends QueryOptionsFor<"get", "/v1/accounts"> {
20267
21030
  client?: QueryClient;
20268
21031
  }
20269
- declare const useAccounts: (queryParams?: AccountsParams["query"], options?: Options$I) => _tanstack_react_query.UseQueryResult<{
21032
+ declare const useAccounts: (queryParams?: AccountsParams["query"], options?: Options$L) => _tanstack_react_query.UseQueryResult<{
20270
21033
  data: {
20271
21034
  created_at: string;
20272
21035
  id: string;
@@ -20352,10 +21115,10 @@ declare const useAccounts: (queryParams?: AccountsParams["query"], options?: Opt
20352
21115
  }, `${string}/${string}`>>;
20353
21116
 
20354
21117
  type AppointmentParams = paths["/v1/appointments/{appointment_id}"]["get"]["parameters"];
20355
- interface Options$H extends QueryOptionsFor<"get", "/v1/appointments/{appointment_id}"> {
21118
+ interface Options$K extends QueryOptionsFor<"get", "/v1/appointments/{appointment_id}"> {
20356
21119
  client?: QueryClient;
20357
21120
  }
20358
- declare const useAppointment: (appointment_id: AppointmentParams["path"]["appointment_id"], queryParams?: AppointmentParams["query"], options?: Options$H) => _tanstack_react_query.UseQueryResult<{
21121
+ declare const useAppointment: (appointment_id: AppointmentParams["path"]["appointment_id"], queryParams?: AppointmentParams["query"], options?: Options$K) => _tanstack_react_query.UseQueryResult<{
20359
21122
  data: {
20360
21123
  add_to_calendar_url: string;
20361
21124
  appointment_type: "in_person" | "virtual";
@@ -20605,7 +21368,7 @@ declare const useAppointment: (appointment_id: AppointmentParams["path"]["appoin
20605
21368
  count?: number | null;
20606
21369
  freq: "daily" | "weekly";
20607
21370
  interval?: number;
20608
- until?: Record<string, never> | null;
21371
+ until?: string | null;
20609
21372
  };
20610
21373
  start_times: string[];
20611
21374
  }[];
@@ -20886,7 +21649,7 @@ declare const useAppointment: (appointment_id: AppointmentParams["path"]["appoin
20886
21649
  count?: number | null;
20887
21650
  freq: "daily" | "weekly";
20888
21651
  interval?: number;
20889
- until?: Record<string, never> | null;
21652
+ until?: string | null;
20890
21653
  };
20891
21654
  start_times: string[];
20892
21655
  }[];
@@ -20948,10 +21711,10 @@ declare const useAppointment: (appointment_id: AppointmentParams["path"]["appoin
20948
21711
  }, `${string}/${string}`>>;
20949
21712
 
20950
21713
  type AppointmentsParams = paths["/v1/appointments"]["get"]["parameters"];
20951
- interface Options$G extends QueryOptionsFor<"get", "/v1/appointments"> {
21714
+ interface Options$J extends QueryOptionsFor<"get", "/v1/appointments"> {
20952
21715
  client?: QueryClient;
20953
21716
  }
20954
- declare const useAppointments: (queryParams?: AppointmentsParams["query"], options?: Options$G) => _tanstack_react_query.UseQueryResult<{
21717
+ declare const useAppointments: (queryParams?: AppointmentsParams["query"], options?: Options$J) => _tanstack_react_query.UseQueryResult<{
20955
21718
  data: {
20956
21719
  add_to_calendar_url: string;
20957
21720
  appointment_type: "in_person" | "virtual";
@@ -21201,7 +21964,7 @@ declare const useAppointments: (queryParams?: AppointmentsParams["query"], optio
21201
21964
  count?: number | null;
21202
21965
  freq: "daily" | "weekly";
21203
21966
  interval?: number;
21204
- until?: Record<string, never> | null;
21967
+ until?: string | null;
21205
21968
  };
21206
21969
  start_times: string[];
21207
21970
  }[];
@@ -21488,7 +22251,7 @@ declare const useAppointments: (queryParams?: AppointmentsParams["query"], optio
21488
22251
  count?: number | null;
21489
22252
  freq: "daily" | "weekly";
21490
22253
  interval?: number;
21491
- until?: Record<string, never> | null;
22254
+ until?: string | null;
21492
22255
  };
21493
22256
  start_times: string[];
21494
22257
  }[];
@@ -21570,10 +22333,10 @@ declare const useAppointments: (queryParams?: AppointmentsParams["query"], optio
21570
22333
  }, `${string}/${string}`>>;
21571
22334
 
21572
22335
  type BlockParams = paths["/v1/blocks/{block_id}"]["get"]["parameters"];
21573
- interface Options$F extends QueryOptionsFor<"get", "/v1/blocks/{block_id}"> {
22336
+ interface Options$I extends QueryOptionsFor<"get", "/v1/blocks/{block_id}"> {
21574
22337
  client?: QueryClient;
21575
22338
  }
21576
- declare const useBlock: (block_id: BlockParams["path"]["block_id"], options?: Options$F) => _tanstack_react_query.UseQueryResult<{
22339
+ declare const useBlock: (block_id: BlockParams["path"]["block_id"], options?: Options$I) => _tanstack_react_query.UseQueryResult<{
21577
22340
  data: {
21578
22341
  all_day: boolean;
21579
22342
  attachment_type: "location" | "service" | "provider" | "service_provider";
@@ -21589,7 +22352,7 @@ declare const useBlock: (block_id: BlockParams["path"]["block_id"], options?: Op
21589
22352
  count?: number | null;
21590
22353
  freq: "daily" | "weekly";
21591
22354
  interval?: number;
21592
- until?: Record<string, never> | null;
22355
+ until?: string | null;
21593
22356
  } | null;
21594
22357
  service_id: string | null;
21595
22358
  start_time: string | null;
@@ -21619,7 +22382,7 @@ declare const useBlock: (block_id: BlockParams["path"]["block_id"], options?: Op
21619
22382
  count?: number | null;
21620
22383
  freq: "daily" | "weekly";
21621
22384
  interval?: number;
21622
- until?: Record<string, never> | null;
22385
+ until?: string | null;
21623
22386
  } | null;
21624
22387
  service_id: string | null;
21625
22388
  start_time: string | null;
@@ -21660,10 +22423,10 @@ declare const useBlock: (block_id: BlockParams["path"]["block_id"], options?: Op
21660
22423
  }, `${string}/${string}`>>;
21661
22424
 
21662
22425
  type BlocksParams = paths["/v1/blocks"]["get"]["parameters"];
21663
- interface Options$E extends QueryOptionsFor<"get", "/v1/blocks"> {
22426
+ interface Options$H extends QueryOptionsFor<"get", "/v1/blocks"> {
21664
22427
  client?: QueryClient;
21665
22428
  }
21666
- declare const useBlocks: (queryParams?: BlocksParams["query"], options?: Options$E) => _tanstack_react_query.UseQueryResult<{
22429
+ declare const useBlocks: (queryParams?: BlocksParams["query"], options?: Options$H) => _tanstack_react_query.UseQueryResult<{
21667
22430
  data: {
21668
22431
  all_day: boolean;
21669
22432
  attachment_type: "location" | "service" | "provider" | "service_provider";
@@ -21679,7 +22442,7 @@ declare const useBlocks: (queryParams?: BlocksParams["query"], options?: Options
21679
22442
  count?: number | null;
21680
22443
  freq: "daily" | "weekly";
21681
22444
  interval?: number;
21682
- until?: Record<string, never> | null;
22445
+ until?: string | null;
21683
22446
  } | null;
21684
22447
  service_id: string | null;
21685
22448
  start_time: string | null;
@@ -21715,7 +22478,7 @@ declare const useBlocks: (queryParams?: BlocksParams["query"], options?: Options
21715
22478
  count?: number | null;
21716
22479
  freq: "daily" | "weekly";
21717
22480
  interval?: number;
21718
- until?: Record<string, never> | null;
22481
+ until?: string | null;
21719
22482
  } | null;
21720
22483
  service_id: string | null;
21721
22484
  start_time: string | null;
@@ -21766,10 +22529,10 @@ declare const useBlocks: (queryParams?: BlocksParams["query"], options?: Options
21766
22529
  }, `${string}/${string}`>>;
21767
22530
 
21768
22531
  type BookingIntentParams = paths["/v1/booking_intents/{booking_intent_id}"]["get"]["parameters"];
21769
- interface Options$D extends QueryOptionsFor<"get", "/v1/booking_intents/{booking_intent_id}"> {
22532
+ interface Options$G extends QueryOptionsFor<"get", "/v1/booking_intents/{booking_intent_id}"> {
21770
22533
  client?: QueryClient;
21771
22534
  }
21772
- declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"]["booking_intent_id"], queryParams?: BookingIntentParams["query"], options?: Options$D) => _tanstack_react_query.UseQueryResult<{
22535
+ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"]["booking_intent_id"], queryParams?: BookingIntentParams["query"], options?: Options$G) => _tanstack_react_query.UseQueryResult<{
21773
22536
  data: {
21774
22537
  abandoned_at?: string | null;
21775
22538
  appointment?: {
@@ -22021,7 +22784,7 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
22021
22784
  count?: number | null;
22022
22785
  freq: "daily" | "weekly";
22023
22786
  interval?: number;
22024
- until?: Record<string, never> | null;
22787
+ until?: string | null;
22025
22788
  };
22026
22789
  start_times: string[];
22027
22790
  }[];
@@ -22217,7 +22980,7 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
22217
22980
  count?: number | null;
22218
22981
  freq: "daily" | "weekly";
22219
22982
  interval?: number;
22220
- until?: Record<string, never> | null;
22983
+ until?: string | null;
22221
22984
  };
22222
22985
  start_times: string[];
22223
22986
  }[];
@@ -22506,7 +23269,7 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
22506
23269
  count?: number | null;
22507
23270
  freq: "daily" | "weekly";
22508
23271
  interval?: number;
22509
- until?: Record<string, never> | null;
23272
+ until?: string | null;
22510
23273
  };
22511
23274
  start_times: string[];
22512
23275
  }[];
@@ -22702,7 +23465,7 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
22702
23465
  count?: number | null;
22703
23466
  freq: "daily" | "weekly";
22704
23467
  interval?: number;
22705
- until?: Record<string, never> | null;
23468
+ until?: string | null;
22706
23469
  };
22707
23470
  start_times: string[];
22708
23471
  }[];
@@ -22766,10 +23529,10 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
22766
23529
  }, `${string}/${string}`>>;
22767
23530
 
22768
23531
  type BookingIntentSlotsParams = paths["/v1/booking_intents/{booking_intent_id}/slots"]["get"]["parameters"];
22769
- interface Options$C extends QueryOptionsFor<"get", "/v1/booking_intents/{booking_intent_id}/slots"> {
23532
+ interface Options$F extends QueryOptionsFor<"get", "/v1/booking_intents/{booking_intent_id}/slots"> {
22770
23533
  client?: QueryClient;
22771
23534
  }
22772
- declare const useBookingIntentSlots: (booking_intent_id: BookingIntentSlotsParams["path"]["booking_intent_id"], queryParams?: BookingIntentSlotsParams["query"], options?: Options$C) => _tanstack_react_query.UseQueryResult<{
23535
+ declare const useBookingIntentSlots: (booking_intent_id: BookingIntentSlotsParams["path"]["booking_intent_id"], queryParams?: BookingIntentSlotsParams["query"], options?: Options$F) => _tanstack_react_query.UseQueryResult<{
22773
23536
  data: {
22774
23537
  end_at: string;
22775
23538
  end_at_ts: number;
@@ -22843,10 +23606,10 @@ declare const useBookingIntentSlots: (booking_intent_id: BookingIntentSlotsParam
22843
23606
  }, `${string}/${string}`>>;
22844
23607
 
22845
23608
  type BookingIntentsParams = paths["/v1/booking_intents"]["get"]["parameters"];
22846
- interface Options$B extends QueryOptionsFor<"get", "/v1/booking_intents"> {
23609
+ interface Options$E extends QueryOptionsFor<"get", "/v1/booking_intents"> {
22847
23610
  client?: QueryClient;
22848
23611
  }
22849
- declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], options?: Options$B) => _tanstack_react_query.UseQueryResult<{
23612
+ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], options?: Options$E) => _tanstack_react_query.UseQueryResult<{
22850
23613
  data: {
22851
23614
  abandoned_at?: string | null;
22852
23615
  appointment?: {
@@ -23098,7 +23861,7 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
23098
23861
  count?: number | null;
23099
23862
  freq: "daily" | "weekly";
23100
23863
  interval?: number;
23101
- until?: Record<string, never> | null;
23864
+ until?: string | null;
23102
23865
  };
23103
23866
  start_times: string[];
23104
23867
  }[];
@@ -23294,7 +24057,7 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
23294
24057
  count?: number | null;
23295
24058
  freq: "daily" | "weekly";
23296
24059
  interval?: number;
23297
- until?: Record<string, never> | null;
24060
+ until?: string | null;
23298
24061
  };
23299
24062
  start_times: string[];
23300
24063
  }[];
@@ -23589,7 +24352,7 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
23589
24352
  count?: number | null;
23590
24353
  freq: "daily" | "weekly";
23591
24354
  interval?: number;
23592
- until?: Record<string, never> | null;
24355
+ until?: string | null;
23593
24356
  };
23594
24357
  start_times: string[];
23595
24358
  }[];
@@ -23785,7 +24548,7 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
23785
24548
  count?: number | null;
23786
24549
  freq: "daily" | "weekly";
23787
24550
  interval?: number;
23788
- until?: Record<string, never> | null;
24551
+ until?: string | null;
23789
24552
  };
23790
24553
  start_times: string[];
23791
24554
  }[];
@@ -23859,10 +24622,10 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
23859
24622
  }, `${string}/${string}`>>;
23860
24623
 
23861
24624
  type BookingLinkParams = paths["/v1/booking_links/{booking_link_id}"]["get"]["parameters"];
23862
- interface Options$A extends QueryOptionsFor<"get", "/v1/booking_links/{booking_link_id}"> {
24625
+ interface Options$D extends QueryOptionsFor<"get", "/v1/booking_links/{booking_link_id}"> {
23863
24626
  client?: QueryClient;
23864
24627
  }
23865
- declare const useBookingLink: (booking_link_id: BookingLinkParams["path"]["booking_link_id"], options?: Options$A) => _tanstack_react_query.UseQueryResult<{
24628
+ declare const useBookingLink: (booking_link_id: BookingLinkParams["path"]["booking_link_id"], options?: Options$D) => _tanstack_react_query.UseQueryResult<{
23866
24629
  data: {
23867
24630
  client?: {
23868
24631
  created_at: string;
@@ -24005,10 +24768,10 @@ declare const useBookingLink: (booking_link_id: BookingLinkParams["path"]["booki
24005
24768
  }, `${string}/${string}`>>;
24006
24769
 
24007
24770
  type BookingLinksParams = paths["/v1/booking_links"]["get"]["parameters"];
24008
- interface Options$z extends QueryOptionsFor<"get", "/v1/booking_links"> {
24771
+ interface Options$C extends QueryOptionsFor<"get", "/v1/booking_links"> {
24009
24772
  client?: QueryClient;
24010
24773
  }
24011
- declare const useBookingLinks: (queryParams?: BookingLinksParams["query"], options?: Options$z) => _tanstack_react_query.UseQueryResult<{
24774
+ declare const useBookingLinks: (queryParams?: BookingLinksParams["query"], options?: Options$C) => _tanstack_react_query.UseQueryResult<{
24012
24775
  data: {
24013
24776
  client?: {
24014
24777
  created_at: string;
@@ -24167,11 +24930,16 @@ declare const useBookingLinks: (queryParams?: BookingLinksParams["query"], optio
24167
24930
  }, `${string}/${string}`>>;
24168
24931
 
24169
24932
  type CancellationReasonParams = paths["/v1/cancellation_reasons/{cancellation_reason_id}"]["get"]["parameters"];
24170
- interface Options$y extends QueryOptionsFor<"get", "/v1/cancellation_reasons/{cancellation_reason_id}"> {
24933
+ interface Options$B extends QueryOptionsFor<"get", "/v1/cancellation_reasons/{cancellation_reason_id}"> {
24171
24934
  client?: QueryClient;
24172
24935
  }
24173
- declare const useCancellationReason: (cancellation_reason_id: CancellationReasonParams["path"]["cancellation_reason_id"], options?: Options$y) => _tanstack_react_query.UseQueryResult<{
24174
- data: Record<string, never>;
24936
+ declare const useCancellationReason: (cancellation_reason_id: CancellationReasonParams["path"]["cancellation_reason_id"], options?: Options$B) => _tanstack_react_query.UseQueryResult<{
24937
+ data: {
24938
+ id: string;
24939
+ name: string;
24940
+ object: "cancellation_reason";
24941
+ sort_order: number;
24942
+ };
24175
24943
  }, openapi_typescript_helpers.ErrorResponse<{
24176
24944
  200: {
24177
24945
  headers: {
@@ -24179,7 +24947,12 @@ declare const useCancellationReason: (cancellation_reason_id: CancellationReason
24179
24947
  };
24180
24948
  content: {
24181
24949
  "application/json": {
24182
- data: Record<string, never>;
24950
+ data: {
24951
+ id: string;
24952
+ name: string;
24953
+ object: "cancellation_reason";
24954
+ sort_order: number;
24955
+ };
24183
24956
  };
24184
24957
  };
24185
24958
  };
@@ -24212,10 +24985,10 @@ declare const useCancellationReason: (cancellation_reason_id: CancellationReason
24212
24985
  };
24213
24986
  }, `${string}/${string}`>>;
24214
24987
 
24215
- interface Options$x extends QueryOptionsFor<"get", "/v1/cancellation_reasons"> {
24988
+ interface Options$A extends QueryOptionsFor<"get", "/v1/cancellation_reasons"> {
24216
24989
  client?: QueryClient;
24217
24990
  }
24218
- declare const useCancellationReasons: (options?: Options$x) => _tanstack_react_query.UseQueryResult<{
24991
+ declare const useCancellationReasons: (options?: Options$A) => _tanstack_react_query.UseQueryResult<{
24219
24992
  data: {
24220
24993
  id: string;
24221
24994
  name: string;
@@ -24272,10 +25045,10 @@ declare const useCancellationReasons: (options?: Options$x) => _tanstack_react_q
24272
25045
  }, `${string}/${string}`>>;
24273
25046
 
24274
25047
  type ClientParams = paths["/v1/clients/{client_id}"]["get"]["parameters"];
24275
- interface Options$w extends QueryOptionsFor<"get", "/v1/clients/{client_id}"> {
25048
+ interface Options$z extends QueryOptionsFor<"get", "/v1/clients/{client_id}"> {
24276
25049
  client?: QueryClient;
24277
25050
  }
24278
- declare const useClient: (client_id: ClientParams["path"]["client_id"], queryParams?: ClientParams["query"], options?: Options$w) => _tanstack_react_query.UseQueryResult<{
25051
+ declare const useClient: (client_id: ClientParams["path"]["client_id"], queryParams?: ClientParams["query"], options?: Options$z) => _tanstack_react_query.UseQueryResult<{
24279
25052
  data: {
24280
25053
  created_at: string;
24281
25054
  email?: string | null;
@@ -24354,11 +25127,29 @@ declare const useClient: (client_id: ClientParams["path"]["client_id"], queryPar
24354
25127
  }, `${string}/${string}`>>;
24355
25128
 
24356
25129
  type ClientFieldParams = paths["/v1/client_fields/{client_field_id}"]["get"]["parameters"];
24357
- interface Options$v extends QueryOptionsFor<"get", "/v1/client_fields/{client_field_id}"> {
25130
+ interface Options$y extends QueryOptionsFor<"get", "/v1/client_fields/{client_field_id}"> {
24358
25131
  client?: QueryClient;
24359
25132
  }
24360
- declare const useClientField: (client_field_id: ClientFieldParams["path"]["client_field_id"], options?: Options$v) => _tanstack_react_query.UseQueryResult<{
24361
- data: Record<string, never>;
25133
+ declare const useClientField: (client_field_id: ClientFieldParams["path"]["client_field_id"], options?: Options$y) => _tanstack_react_query.UseQueryResult<{
25134
+ data: {
25135
+ created_at: string;
25136
+ description?: string | null;
25137
+ id: string;
25138
+ key: string;
25139
+ label: string;
25140
+ object: "client_field";
25141
+ options?: ({
25142
+ allow_other?: boolean;
25143
+ choices?: {
25144
+ id?: string;
25145
+ label: string;
25146
+ }[];
25147
+ } | (Record<string, never> | null)) | null;
25148
+ sensitive: boolean;
25149
+ sort_order: number;
25150
+ type: "short_text" | "long_text" | "email" | "phone" | "boolean" | "radio" | "select" | "checkbox";
25151
+ updated_at: string;
25152
+ };
24362
25153
  }, openapi_typescript_helpers.ErrorResponse<{
24363
25154
  200: {
24364
25155
  headers: {
@@ -24366,7 +25157,25 @@ declare const useClientField: (client_field_id: ClientFieldParams["path"]["clien
24366
25157
  };
24367
25158
  content: {
24368
25159
  "application/json": {
24369
- data: Record<string, never>;
25160
+ data: {
25161
+ created_at: string;
25162
+ description?: string | null;
25163
+ id: string;
25164
+ key: string;
25165
+ label: string;
25166
+ object: "client_field";
25167
+ options?: ({
25168
+ allow_other?: boolean;
25169
+ choices?: {
25170
+ id?: string;
25171
+ label: string;
25172
+ }[];
25173
+ } | (Record<string, never> | null)) | null;
25174
+ sensitive: boolean;
25175
+ sort_order: number;
25176
+ type: "short_text" | "long_text" | "email" | "phone" | "boolean" | "radio" | "select" | "checkbox";
25177
+ updated_at: string;
25178
+ };
24370
25179
  };
24371
25180
  };
24372
25181
  };
@@ -24399,10 +25208,10 @@ declare const useClientField: (client_field_id: ClientFieldParams["path"]["clien
24399
25208
  };
24400
25209
  }, `${string}/${string}`>>;
24401
25210
 
24402
- interface Options$u extends QueryOptionsFor<"get", "/v1/client_fields"> {
25211
+ interface Options$x extends QueryOptionsFor<"get", "/v1/client_fields"> {
24403
25212
  client?: QueryClient;
24404
25213
  }
24405
- declare const useClientFields: (options?: Options$u) => _tanstack_react_query.UseQueryResult<{
25214
+ declare const useClientFields: (options?: Options$x) => _tanstack_react_query.UseQueryResult<{
24406
25215
  data: {
24407
25216
  created_at: string;
24408
25217
  description?: string | null;
@@ -24485,10 +25294,10 @@ declare const useClientFields: (options?: Options$u) => _tanstack_react_query.Us
24485
25294
  }, `${string}/${string}`>>;
24486
25295
 
24487
25296
  type ClientsParams = paths["/v1/clients"]["get"]["parameters"];
24488
- interface Options$t extends QueryOptionsFor<"get", "/v1/clients"> {
25297
+ interface Options$w extends QueryOptionsFor<"get", "/v1/clients"> {
24489
25298
  client?: QueryClient;
24490
25299
  }
24491
- declare const useClients: (queryParams?: ClientsParams["query"], options?: Options$t) => _tanstack_react_query.UseQueryResult<{
25300
+ declare const useClients: (queryParams?: ClientsParams["query"], options?: Options$w) => _tanstack_react_query.UseQueryResult<{
24492
25301
  data: {
24493
25302
  created_at: string;
24494
25303
  email?: string | null;
@@ -24583,10 +25392,10 @@ declare const useClients: (queryParams?: ClientsParams["query"], options?: Optio
24583
25392
  }, `${string}/${string}`>>;
24584
25393
 
24585
25394
  type ConnectedAccountParams = paths["/v1/connected_accounts/{connected_account_id}"]["get"]["parameters"];
24586
- interface Options$s extends QueryOptionsFor<"get", "/v1/connected_accounts/{connected_account_id}"> {
25395
+ interface Options$v extends QueryOptionsFor<"get", "/v1/connected_accounts/{connected_account_id}"> {
24587
25396
  client?: QueryClient;
24588
25397
  }
24589
- declare const useConnectedAccount: (connected_account_id: ConnectedAccountParams["path"]["connected_account_id"], options?: Options$s) => _tanstack_react_query.UseQueryResult<{
25398
+ declare const useConnectedAccount: (connected_account_id: ConnectedAccountParams["path"]["connected_account_id"], options?: Options$v) => _tanstack_react_query.UseQueryResult<{
24590
25399
  data: {
24591
25400
  connection_scope: "user" | "account";
24592
25401
  created_at: string;
@@ -24655,10 +25464,10 @@ declare const useConnectedAccount: (connected_account_id: ConnectedAccountParams
24655
25464
  }, `${string}/${string}`>>;
24656
25465
 
24657
25466
  type ConnectedAccountExternalUsersParams = paths["/v1/connected_accounts/{connected_account_id}/external_users"]["get"]["parameters"];
24658
- interface Options$r extends QueryOptionsFor<"get", "/v1/connected_accounts/{connected_account_id}/external_users"> {
25467
+ interface Options$u extends QueryOptionsFor<"get", "/v1/connected_accounts/{connected_account_id}/external_users"> {
24659
25468
  client?: QueryClient;
24660
25469
  }
24661
- declare const useConnectedAccountExternalUsers: (connected_account_id: ConnectedAccountExternalUsersParams["path"]["connected_account_id"], queryParams?: ConnectedAccountExternalUsersParams["query"], options?: Options$r) => _tanstack_react_query.UseQueryResult<{
25470
+ declare const useConnectedAccountExternalUsers: (connected_account_id: ConnectedAccountExternalUsersParams["path"]["connected_account_id"], queryParams?: ConnectedAccountExternalUsersParams["query"], options?: Options$u) => _tanstack_react_query.UseQueryResult<{
24662
25471
  data: {
24663
25472
  email: string | null;
24664
25473
  first_name: string | null;
@@ -24744,10 +25553,10 @@ declare const useConnectedAccountExternalUsers: (connected_account_id: Connected
24744
25553
  }, `${string}/${string}`>>;
24745
25554
 
24746
25555
  type ConnectedAccountsParams = paths["/v1/connected_accounts"]["get"]["parameters"];
24747
- interface Options$q extends QueryOptionsFor<"get", "/v1/connected_accounts"> {
25556
+ interface Options$t extends QueryOptionsFor<"get", "/v1/connected_accounts"> {
24748
25557
  client?: QueryClient;
24749
25558
  }
24750
- declare const useConnectedAccounts: (queryParams?: ConnectedAccountsParams["query"], options?: Options$q) => _tanstack_react_query.UseQueryResult<{
25559
+ declare const useConnectedAccounts: (queryParams?: ConnectedAccountsParams["query"], options?: Options$t) => _tanstack_react_query.UseQueryResult<{
24751
25560
  data: {
24752
25561
  connection_scope: "user" | "account";
24753
25562
  created_at: string;
@@ -24831,10 +25640,10 @@ declare const useConnectedAccounts: (queryParams?: ConnectedAccountsParams["quer
24831
25640
  };
24832
25641
  }, `${string}/${string}`>>;
24833
25642
 
24834
- interface Options$p extends QueryOptionsFor<"get", "/v1/account"> {
25643
+ interface Options$s extends QueryOptionsFor<"get", "/v1/account"> {
24835
25644
  client?: QueryClient;
24836
25645
  }
24837
- declare const useCurrentAccount: (options?: Options$p) => _tanstack_react_query.UseQueryResult<{
25646
+ declare const useCurrentAccount: (options?: Options$s) => _tanstack_react_query.UseQueryResult<{
24838
25647
  data?: {
24839
25648
  created_at: string;
24840
25649
  id: string;
@@ -24890,10 +25699,10 @@ declare const useCurrentAccount: (options?: Options$p) => _tanstack_react_query.
24890
25699
  };
24891
25700
  }, `${string}/${string}`>>;
24892
25701
 
24893
- interface Options$o extends QueryOptionsFor<"get", "/v1/user"> {
25702
+ interface Options$r extends QueryOptionsFor<"get", "/v1/user"> {
24894
25703
  client?: QueryClient;
24895
25704
  }
24896
- declare const useCurrentAccountUser: (options?: Options$o) => _tanstack_react_query.UseQueryResult<{
25705
+ declare const useCurrentAccountUser: (options?: Options$r) => _tanstack_react_query.UseQueryResult<{
24897
25706
  object: "account_user";
24898
25707
  passive: boolean;
24899
25708
  roles: {
@@ -24973,10 +25782,10 @@ declare const useCurrentAccountUser: (options?: Options$o) => _tanstack_react_qu
24973
25782
  };
24974
25783
  }, `${string}/${string}`>>;
24975
25784
 
24976
- interface Options$n extends QueryOptionsFor<"get", "/v1/platform"> {
25785
+ interface Options$q extends QueryOptionsFor<"get", "/v1/platform"> {
24977
25786
  client?: QueryClient;
24978
25787
  }
24979
- declare const useCurrentPlatform: (options?: Options$n) => _tanstack_react_query.UseQueryResult<{
25788
+ declare const useCurrentPlatform: (options?: Options$q) => _tanstack_react_query.UseQueryResult<{
24980
25789
  data?: {
24981
25790
  created_at: string;
24982
25791
  id: string;
@@ -25033,10 +25842,10 @@ declare const useCurrentPlatform: (options?: Options$n) => _tanstack_react_query
25033
25842
  }, `${string}/${string}`>>;
25034
25843
 
25035
25844
  type EarliestPublicServiceSlotParams = paths["/v1/public/services/{service_id}/earliest_slot"]["get"]["parameters"];
25036
- interface Options$m extends QueryOptionsFor<"get", "/v1/public/services/{service_id}/earliest_slot"> {
25845
+ interface Options$p extends QueryOptionsFor<"get", "/v1/public/services/{service_id}/earliest_slot"> {
25037
25846
  client?: QueryClient;
25038
25847
  }
25039
- declare const useEarliestPublicServiceSlot: (service_id: EarliestPublicServiceSlotParams["path"]["service_id"], queryParams?: EarliestPublicServiceSlotParams["query"], options?: Options$m) => _tanstack_react_query.UseQueryResult<{
25848
+ declare const useEarliestPublicServiceSlot: (service_id: EarliestPublicServiceSlotParams["path"]["service_id"], queryParams?: EarliestPublicServiceSlotParams["query"], options?: Options$p) => _tanstack_react_query.UseQueryResult<{
25040
25849
  data: {
25041
25850
  end_at: string;
25042
25851
  end_at_ts: number;
@@ -25110,10 +25919,10 @@ declare const useEarliestPublicServiceSlot: (service_id: EarliestPublicServiceSl
25110
25919
  }, `${string}/${string}`>>;
25111
25920
 
25112
25921
  type FormParams = paths["/v1/forms/{form_id}"]["get"]["parameters"];
25113
- interface Options$l extends QueryOptionsFor<"get", "/v1/forms/{form_id}"> {
25922
+ interface Options$o extends QueryOptionsFor<"get", "/v1/forms/{form_id}"> {
25114
25923
  client?: QueryClient;
25115
25924
  }
25116
- declare const useForm: (form_id: FormParams["path"]["form_id"], options?: Options$l) => _tanstack_react_query.UseQueryResult<{
25925
+ declare const useForm: (form_id: FormParams["path"]["form_id"], options?: Options$o) => _tanstack_react_query.UseQueryResult<{
25117
25926
  data: {
25118
25927
  created_at: string;
25119
25928
  field_count: number;
@@ -25129,7 +25938,7 @@ declare const useForm: (form_id: FormParams["path"]["form_id"], options?: Option
25129
25938
  id: string;
25130
25939
  label: string;
25131
25940
  }[];
25132
- } | (string | null)) | null;
25941
+ } | (Record<string, never> | null)) | null;
25133
25942
  position: number;
25134
25943
  required?: boolean;
25135
25944
  sensitive?: boolean;
@@ -25162,7 +25971,7 @@ declare const useForm: (form_id: FormParams["path"]["form_id"], options?: Option
25162
25971
  id: string;
25163
25972
  label: string;
25164
25973
  }[];
25165
- } | (string | null)) | null;
25974
+ } | (Record<string, never> | null)) | null;
25166
25975
  position: number;
25167
25976
  required?: boolean;
25168
25977
  sensitive?: boolean;
@@ -25206,10 +26015,10 @@ declare const useForm: (form_id: FormParams["path"]["form_id"], options?: Option
25206
26015
  }, `${string}/${string}`>>;
25207
26016
 
25208
26017
  type FormsParams = paths["/v1/forms"]["get"]["parameters"];
25209
- interface Options$k extends QueryOptionsFor<"get", "/v1/forms"> {
26018
+ interface Options$n extends QueryOptionsFor<"get", "/v1/forms"> {
25210
26019
  client?: QueryClient;
25211
26020
  }
25212
- declare const useForms: (queryParams?: FormsParams["query"], options?: Options$k) => _tanstack_react_query.UseQueryResult<{
26021
+ declare const useForms: (queryParams?: FormsParams["query"], options?: Options$n) => _tanstack_react_query.UseQueryResult<{
25213
26022
  data: {
25214
26023
  created_at: string;
25215
26024
  field_count: number;
@@ -25225,7 +26034,7 @@ declare const useForms: (queryParams?: FormsParams["query"], options?: Options$k
25225
26034
  id: string;
25226
26035
  label: string;
25227
26036
  }[];
25228
- } | (string | null)) | null;
26037
+ } | (Record<string, never> | null)) | null;
25229
26038
  position: number;
25230
26039
  required?: boolean;
25231
26040
  sensitive?: boolean;
@@ -25264,7 +26073,7 @@ declare const useForms: (queryParams?: FormsParams["query"], options?: Options$k
25264
26073
  id: string;
25265
26074
  label: string;
25266
26075
  }[];
25267
- } | (string | null)) | null;
26076
+ } | (Record<string, never> | null)) | null;
25268
26077
  position: number;
25269
26078
  required?: boolean;
25270
26079
  sensitive?: boolean;
@@ -25318,10 +26127,10 @@ declare const useForms: (queryParams?: FormsParams["query"], options?: Options$k
25318
26127
  }, `${string}/${string}`>>;
25319
26128
 
25320
26129
  type OpeningParams = paths["/v1/openings/{opening_id}"]["get"]["parameters"];
25321
- interface Options$j extends QueryOptionsFor<"get", "/v1/openings/{opening_id}"> {
26130
+ interface Options$m extends QueryOptionsFor<"get", "/v1/openings/{opening_id}"> {
25322
26131
  client?: QueryClient;
25323
26132
  }
25324
- declare const useOpening: (opening_id: OpeningParams["path"]["opening_id"], options?: Options$j) => _tanstack_react_query.UseQueryResult<{
26133
+ declare const useOpening: (opening_id: OpeningParams["path"]["opening_id"], options?: Options$m) => _tanstack_react_query.UseQueryResult<{
25325
26134
  data: {
25326
26135
  created_at: string;
25327
26136
  date: string;
@@ -25386,10 +26195,10 @@ declare const useOpening: (opening_id: OpeningParams["path"]["opening_id"], opti
25386
26195
  }, `${string}/${string}`>>;
25387
26196
 
25388
26197
  type OpeningsParams = paths["/v1/openings"]["get"]["parameters"];
25389
- interface Options$i extends QueryOptionsFor<"get", "/v1/openings"> {
26198
+ interface Options$l extends QueryOptionsFor<"get", "/v1/openings"> {
25390
26199
  client?: QueryClient;
25391
26200
  }
25392
- declare const useOpenings: (queryParams?: OpeningsParams["query"], options?: Options$i) => _tanstack_react_query.UseQueryResult<{
26201
+ declare const useOpenings: (queryParams?: OpeningsParams["query"], options?: Options$l) => _tanstack_react_query.UseQueryResult<{
25393
26202
  data: {
25394
26203
  created_at: string;
25395
26204
  date: string;
@@ -25484,10 +26293,10 @@ declare const useOpenings: (queryParams?: OpeningsParams["query"], options?: Opt
25484
26293
  }, `${string}/${string}`>>;
25485
26294
 
25486
26295
  type ProviderParams = paths["/v1/providers/{provider_id}"]["get"]["parameters"];
25487
- interface Options$h extends QueryOptionsFor<"get", "/v1/providers/{provider_id}"> {
26296
+ interface Options$k extends QueryOptionsFor<"get", "/v1/providers/{provider_id}"> {
25488
26297
  client?: QueryClient;
25489
26298
  }
25490
- declare const useProvider: (provider_id: ProviderParams["path"]["provider_id"], options?: Options$h) => _tanstack_react_query.UseQueryResult<{
26299
+ declare const useProvider: (provider_id: ProviderParams["path"]["provider_id"], options?: Options$k) => _tanstack_react_query.UseQueryResult<{
25491
26300
  data: {
25492
26301
  created_at: string;
25493
26302
  display_name: string;
@@ -25556,10 +26365,10 @@ declare const useProvider: (provider_id: ProviderParams["path"]["provider_id"],
25556
26365
  }, `${string}/${string}`>>;
25557
26366
 
25558
26367
  type ProviderScheduleParams = paths["/v1/provider_schedules/{provider_schedule_id}"]["get"]["parameters"];
25559
- interface Options$g extends QueryOptionsFor<"get", "/v1/provider_schedules/{provider_schedule_id}"> {
26368
+ interface Options$j extends QueryOptionsFor<"get", "/v1/provider_schedules/{provider_schedule_id}"> {
25560
26369
  client?: QueryClient;
25561
26370
  }
25562
- declare const useProviderSchedule: (provider_schedule_id: ProviderScheduleParams["path"]["provider_schedule_id"], options?: Options$g) => _tanstack_react_query.UseQueryResult<{
26371
+ declare const useProviderSchedule: (provider_schedule_id: ProviderScheduleParams["path"]["provider_schedule_id"], options?: Options$j) => _tanstack_react_query.UseQueryResult<{
25563
26372
  data: {
25564
26373
  created_at: string;
25565
26374
  effective_from: string;
@@ -25634,10 +26443,10 @@ declare const useProviderSchedule: (provider_schedule_id: ProviderScheduleParams
25634
26443
  }, `${string}/${string}`>>;
25635
26444
 
25636
26445
  type ProviderSchedulesParams = paths["/v1/provider_schedules"]["get"]["parameters"];
25637
- interface Options$f extends QueryOptionsFor<"get", "/v1/provider_schedules"> {
26446
+ interface Options$i extends QueryOptionsFor<"get", "/v1/provider_schedules"> {
25638
26447
  client?: QueryClient;
25639
26448
  }
25640
- declare const useProviderSchedules: (queryParams?: ProviderSchedulesParams["query"], options?: Options$f) => _tanstack_react_query.UseQueryResult<{
26449
+ declare const useProviderSchedules: (queryParams?: ProviderSchedulesParams["query"], options?: Options$i) => _tanstack_react_query.UseQueryResult<{
25641
26450
  data: {
25642
26451
  created_at: string;
25643
26452
  effective_from: string;
@@ -25742,10 +26551,10 @@ declare const useProviderSchedules: (queryParams?: ProviderSchedulesParams["quer
25742
26551
  }, `${string}/${string}`>>;
25743
26552
 
25744
26553
  type ProvidersParams = paths["/v1/providers"]["get"]["parameters"];
25745
- interface Options$e extends QueryOptionsFor<"get", "/v1/providers"> {
26554
+ interface Options$h extends QueryOptionsFor<"get", "/v1/providers"> {
25746
26555
  client?: QueryClient;
25747
26556
  }
25748
- declare const useProviders: (queryParams?: ProvidersParams["query"], options?: Options$e) => _tanstack_react_query.UseQueryResult<{
26557
+ declare const useProviders: (queryParams?: ProvidersParams["query"], options?: Options$h) => _tanstack_react_query.UseQueryResult<{
25749
26558
  data: {
25750
26559
  created_at: string;
25751
26560
  display_name: string;
@@ -25830,10 +26639,10 @@ declare const useProviders: (queryParams?: ProvidersParams["query"], options?: O
25830
26639
  }, `${string}/${string}`>>;
25831
26640
 
25832
26641
  type PublicAppointmentParams = paths["/v1/public/appointments/{appointment_id}"]["get"]["parameters"];
25833
- interface Options$d extends QueryOptionsFor<"get", "/v1/public/appointments/{appointment_id}"> {
26642
+ interface Options$g extends QueryOptionsFor<"get", "/v1/public/appointments/{appointment_id}"> {
25834
26643
  client?: QueryClient;
25835
26644
  }
25836
- declare const usePublicAppointment: (appointment_id: PublicAppointmentParams["path"]["appointment_id"], options?: Options$d) => _tanstack_react_query.UseQueryResult<{
26645
+ declare const usePublicAppointment: (appointment_id: PublicAppointmentParams["path"]["appointment_id"], options?: Options$g) => _tanstack_react_query.UseQueryResult<{
25837
26646
  data: {
25838
26647
  add_to_calendar_url: string;
25839
26648
  cancel_url: string;
@@ -25885,10 +26694,10 @@ declare const usePublicAppointment: (appointment_id: PublicAppointmentParams["pa
25885
26694
  }>;
25886
26695
 
25887
26696
  type PublicBookingIntentParams = paths["/v1/public/booking_intents/{booking_intent_id}"]["get"]["parameters"];
25888
- interface Options$c extends QueryOptionsFor<"get", "/v1/public/booking_intents/{booking_intent_id}"> {
26697
+ interface Options$f extends QueryOptionsFor<"get", "/v1/public/booking_intents/{booking_intent_id}"> {
25889
26698
  client?: QueryClient;
25890
26699
  }
25891
- declare const usePublicBookingIntent: (booking_intent_id: PublicBookingIntentParams["path"]["booking_intent_id"], options?: Options$c) => _tanstack_react_query.UseQueryResult<{
26700
+ declare const usePublicBookingIntent: (booking_intent_id: PublicBookingIntentParams["path"]["booking_intent_id"], options?: Options$f) => _tanstack_react_query.UseQueryResult<{
25892
26701
  data: {
25893
26702
  appointment?: {
25894
26703
  add_to_calendar_url: string;
@@ -25985,10 +26794,10 @@ declare const usePublicBookingIntent: (booking_intent_id: PublicBookingIntentPar
25985
26794
  }>;
25986
26795
 
25987
26796
  type PublicBookingIntentSlotsParams = paths["/v1/public/booking_intents/{booking_intent_id}/slots"]["get"]["parameters"];
25988
- interface Options$b extends QueryOptionsFor<"get", "/v1/public/booking_intents/{booking_intent_id}/slots"> {
26797
+ interface Options$e extends QueryOptionsFor<"get", "/v1/public/booking_intents/{booking_intent_id}/slots"> {
25989
26798
  client?: QueryClient;
25990
26799
  }
25991
- declare const usePublicBookingIntentSlots: (booking_intent_id: PublicBookingIntentSlotsParams["path"]["booking_intent_id"], queryParams?: PublicBookingIntentSlotsParams["query"], options?: Options$b) => _tanstack_react_query.UseQueryResult<{
26800
+ declare const usePublicBookingIntentSlots: (booking_intent_id: PublicBookingIntentSlotsParams["path"]["booking_intent_id"], queryParams?: PublicBookingIntentSlotsParams["query"], options?: Options$e) => _tanstack_react_query.UseQueryResult<{
25992
26801
  data: {
25993
26802
  end_at: string;
25994
26803
  end_at_ts: number;
@@ -26048,10 +26857,10 @@ declare const usePublicBookingIntentSlots: (booking_intent_id: PublicBookingInte
26048
26857
  }, `${string}/${string}`>>;
26049
26858
 
26050
26859
  type PublicCancellationReasonsParams = paths["/v1/public/appointments/{appointment_id}/cancellation_reasons"]["get"]["parameters"];
26051
- interface Options$a extends QueryOptionsFor<"get", "/v1/public/appointments/{appointment_id}/cancellation_reasons"> {
26860
+ interface Options$d extends QueryOptionsFor<"get", "/v1/public/appointments/{appointment_id}/cancellation_reasons"> {
26052
26861
  client?: QueryClient;
26053
26862
  }
26054
- declare const usePublicCancellationReasons: (appointment_id: PublicCancellationReasonsParams["path"]["appointment_id"], options?: Options$a) => _tanstack_react_query.UseQueryResult<{
26863
+ declare const usePublicCancellationReasons: (appointment_id: PublicCancellationReasonsParams["path"]["appointment_id"], options?: Options$d) => _tanstack_react_query.UseQueryResult<{
26055
26864
  data: {
26056
26865
  id: string;
26057
26866
  name: string;
@@ -26070,10 +26879,10 @@ declare const usePublicCancellationReasons: (appointment_id: PublicCancellationR
26070
26879
  }>;
26071
26880
 
26072
26881
  type PublicServiceSlotsParams = paths["/v1/public/services/{service_id}/slots"]["get"]["parameters"];
26073
- interface Options$9 extends QueryOptionsFor<"get", "/v1/public/services/{service_id}/slots"> {
26882
+ interface Options$c extends QueryOptionsFor<"get", "/v1/public/services/{service_id}/slots"> {
26074
26883
  client?: QueryClient;
26075
26884
  }
26076
- declare const usePublicServiceSlots: (service_id: PublicServiceSlotsParams["path"]["service_id"], queryParams?: PublicServiceSlotsParams["query"], options?: Options$9) => _tanstack_react_query.UseQueryResult<{
26885
+ declare const usePublicServiceSlots: (service_id: PublicServiceSlotsParams["path"]["service_id"], queryParams?: PublicServiceSlotsParams["query"], options?: Options$c) => _tanstack_react_query.UseQueryResult<{
26077
26886
  data: {
26078
26887
  end_at: string;
26079
26888
  end_at_ts: number;
@@ -26146,10 +26955,70 @@ declare const usePublicServiceSlots: (service_id: PublicServiceSlotsParams["path
26146
26955
  };
26147
26956
  }, `${string}/${string}`>>;
26148
26957
 
26149
- interface Options$8 extends QueryOptionsFor<"get", "/v1/roles"> {
26958
+ type RoleParams = paths["/v1/roles/{role_id}"]["get"]["parameters"];
26959
+ interface Options$b extends QueryOptionsFor<"get", "/v1/roles/{role_id}"> {
26960
+ client?: QueryClient;
26961
+ }
26962
+ declare const useRole: (role_id: RoleParams["path"]["role_id"], options?: Options$b) => _tanstack_react_query.UseQueryResult<{
26963
+ data: {
26964
+ denied_permissions: string[];
26965
+ id: string;
26966
+ name: string;
26967
+ object: "role";
26968
+ permissions: string[];
26969
+ type: "admin" | "staff" | "superuser" | "custom";
26970
+ };
26971
+ }, openapi_typescript_helpers.ErrorResponse<{
26972
+ 200: {
26973
+ headers: {
26974
+ [name: string]: unknown;
26975
+ };
26976
+ content: {
26977
+ "application/json": {
26978
+ data: {
26979
+ denied_permissions: string[];
26980
+ id: string;
26981
+ name: string;
26982
+ object: "role";
26983
+ permissions: string[];
26984
+ type: "admin" | "staff" | "superuser" | "custom";
26985
+ };
26986
+ };
26987
+ };
26988
+ };
26989
+ 401: {
26990
+ headers: {
26991
+ [name: string]: unknown;
26992
+ };
26993
+ content: {
26994
+ "application/json": {
26995
+ errors: {
26996
+ detail: string;
26997
+ status?: string;
26998
+ title?: string;
26999
+ }[];
27000
+ };
27001
+ };
27002
+ };
27003
+ 404: {
27004
+ headers: {
27005
+ [name: string]: unknown;
27006
+ };
27007
+ content: {
27008
+ "application/json": {
27009
+ errors: {
27010
+ detail: "Not Found";
27011
+ status: "404";
27012
+ }[];
27013
+ };
27014
+ };
27015
+ };
27016
+ }, `${string}/${string}`>>;
27017
+
27018
+ interface Options$a extends QueryOptionsFor<"get", "/v1/roles"> {
26150
27019
  client?: QueryClient;
26151
27020
  }
26152
- declare const useRoles: (options?: Options$8) => _tanstack_react_query.UseQueryResult<{
27021
+ declare const useRoles: (options?: Options$a) => _tanstack_react_query.UseQueryResult<{
26153
27022
  data: {
26154
27023
  denied_permissions: string[];
26155
27024
  id: string;
@@ -26209,6 +27078,117 @@ declare const useRoles: (options?: Options$8) => _tanstack_react_query.UseQueryR
26209
27078
  };
26210
27079
  }, `${string}/${string}`>>;
26211
27080
 
27081
+ type ScheduleGroupParams = paths["/v1/schedule_groups/{schedule_group_id}"]["get"]["parameters"];
27082
+ interface Options$9 extends QueryOptionsFor<"get", "/v1/schedule_groups/{schedule_group_id}"> {
27083
+ client?: QueryClient;
27084
+ }
27085
+ declare const useScheduleGroup: (schedule_group_id: ScheduleGroupParams["path"]["schedule_group_id"], options?: Options$9) => _tanstack_react_query.UseQueryResult<{
27086
+ data: {
27087
+ id: string;
27088
+ name: string;
27089
+ object: "schedule_group";
27090
+ };
27091
+ }, openapi_typescript_helpers.ErrorResponse<{
27092
+ 200: {
27093
+ headers: {
27094
+ [name: string]: unknown;
27095
+ };
27096
+ content: {
27097
+ "application/json": {
27098
+ data: {
27099
+ id: string;
27100
+ name: string;
27101
+ object: "schedule_group";
27102
+ };
27103
+ };
27104
+ };
27105
+ };
27106
+ 401: {
27107
+ headers: {
27108
+ [name: string]: unknown;
27109
+ };
27110
+ content: {
27111
+ "application/json": {
27112
+ errors: {
27113
+ detail: string;
27114
+ status?: string;
27115
+ title?: string;
27116
+ }[];
27117
+ };
27118
+ };
27119
+ };
27120
+ 404: {
27121
+ headers: {
27122
+ [name: string]: unknown;
27123
+ };
27124
+ content: {
27125
+ "application/json": {
27126
+ errors: {
27127
+ detail: "Not Found";
27128
+ status: "404";
27129
+ }[];
27130
+ };
27131
+ };
27132
+ };
27133
+ }, `${string}/${string}`>>;
27134
+
27135
+ interface Options$8 extends QueryOptionsFor<"get", "/v1/schedule_groups"> {
27136
+ client?: QueryClient;
27137
+ }
27138
+ declare const useScheduleGroups: (options?: Options$8) => _tanstack_react_query.UseQueryResult<{
27139
+ data: {
27140
+ id: string;
27141
+ name: string;
27142
+ object: "schedule_group";
27143
+ }[];
27144
+ }, openapi_typescript_helpers.ErrorResponse<{
27145
+ 200: {
27146
+ headers: {
27147
+ [name: string]: unknown;
27148
+ };
27149
+ content: {
27150
+ "application/json": {
27151
+ data: {
27152
+ id: string;
27153
+ name: string;
27154
+ object: "schedule_group";
27155
+ }[];
27156
+ };
27157
+ };
27158
+ };
27159
+ 401: {
27160
+ headers: {
27161
+ [name: string]: unknown;
27162
+ };
27163
+ content: {
27164
+ "application/json": {
27165
+ errors: {
27166
+ detail: string;
27167
+ status?: string;
27168
+ title?: string;
27169
+ }[];
27170
+ };
27171
+ };
27172
+ };
27173
+ 422: {
27174
+ headers: {
27175
+ [name: string]: unknown;
27176
+ };
27177
+ content: {
27178
+ "application/json": {
27179
+ errors: {
27180
+ code?: string | null;
27181
+ detail: string;
27182
+ source: {
27183
+ pointer: string;
27184
+ };
27185
+ title: string;
27186
+ }[];
27187
+ };
27188
+ };
27189
+ };
27190
+ }, `${string}/${string}`>>;
27191
+
26212
27192
  type ServiceParams = paths["/v1/services/{service_id}"]["get"]["parameters"];
26213
27193
  interface Options$7 extends QueryOptionsFor<"get", "/v1/services/{service_id}"> {
26214
27194
  client?: QueryClient;
@@ -26284,7 +27264,7 @@ declare const useService: (service_id: ServiceParams["path"]["service_id"], opti
26284
27264
  count?: number | null;
26285
27265
  freq: "daily" | "weekly";
26286
27266
  interval?: number;
26287
- until?: Record<string, never> | null;
27267
+ until?: string | null;
26288
27268
  };
26289
27269
  start_times: string[];
26290
27270
  }[];
@@ -26367,7 +27347,7 @@ declare const useService: (service_id: ServiceParams["path"]["service_id"], opti
26367
27347
  count?: number | null;
26368
27348
  freq: "daily" | "weekly";
26369
27349
  interval?: number;
26370
- until?: Record<string, never> | null;
27350
+ until?: string | null;
26371
27351
  };
26372
27352
  start_times: string[];
26373
27353
  }[];
@@ -26873,7 +27853,7 @@ declare const useServices: (queryParams?: ServicesParams["query"], options?: Opt
26873
27853
  count?: number | null;
26874
27854
  freq: "daily" | "weekly";
26875
27855
  interval?: number;
26876
- until?: Record<string, never> | null;
27856
+ until?: string | null;
26877
27857
  };
26878
27858
  start_times: string[];
26879
27859
  }[];
@@ -26962,7 +27942,7 @@ declare const useServices: (queryParams?: ServicesParams["query"], options?: Opt
26962
27942
  count?: number | null;
26963
27943
  freq: "daily" | "weekly";
26964
27944
  interval?: number;
26965
- until?: Record<string, never> | null;
27945
+ until?: string | null;
26966
27946
  };
26967
27947
  start_times: string[];
26968
27948
  }[];
@@ -27231,4 +28211,4 @@ declare const useUserMappings: (connected_account_id: UserMappingsParams["path"]
27231
28211
  };
27232
28212
  }, `${string}/${string}`>>;
27233
28213
 
27234
- export { type MutationOptionsFor, type QueryClient, type QueryOptionsFor, SavvyCalProvider, type SavvyCalProviderProps, createQueryClient, useAbandonBookingIntent, useAbandonPublicBookingIntent, useAccountById, useAccountUsers, useAccounts, useAppointment, useAppointments, useAttachServiceForm, useBlock, useBlocks, useBookingIntent, useBookingIntentSlots, useBookingIntents, useBookingLink, useBookingLinks, useCancelAppointment, useCancelPublicAppointment, useCancellationReason, useCancellationReasons, useClearServiceConferencing, useClearServiceProviderConferencing, useClient, useClientField, useClientFields, useClients, useCompleteBookingIntent, useCompletePublicBookingIntent, useConfirmAppointment, useConnectedAccount, useConnectedAccountExternalUsers, useConnectedAccounts, useCreateAccount, useCreateAccountUser, useCreateAppointment, useCreateBlock, useCreateBookingIntent, useCreateBookingLink, useCreateCancellationReason, useCreateClient, useCreateClientField, useCreateDashboardSession, useCreateForm, useCreateOpening, useCreateProvider, useCreateProviderSchedule, useCreatePublicAppointment, useCreatePublicBookingIntent, useCreateService, useCreateServiceProvider, useCurrentAccount, useCurrentAccountUser, useCurrentPlatform, useDeactivateProvider, useDeleteBlock, useDeleteBookingLink, useDeleteCancellationReason, useDeleteClient, useDeleteClientField, useDeleteConnectedAccount, useDeleteForm, useDeleteOpening, useDeleteProviderSchedule, useDeleteService, useDeleteServiceProvider, useDeleteUserMapping, useDetachServiceForm, useEarliestPublicServiceSlot, useForm, useForms, useOpening, useOpenings, useProvider, useProviderSchedule, useProviderSchedules, useProviders, usePublicAppointment, usePublicBookingIntent, usePublicBookingIntentSlots, usePublicCancellationReasons, usePublicServiceSlots, useRescheduleAppointment, useReschedulePublicAppointment, useRoles, useSavvyCalFetchClient, useSavvyCalQueryClient, useService, useServiceForms, useServiceProviderConferencing, useServiceProviders, useServiceSlots, useServices, useSetServiceConferencing, useSetServiceProviderConferencing, useSetUserMapping, useSortServiceForms, useSyncConnectedAccountExternalUsers, useSyncServiceConferencing, useUpdateAccount, useUpdateAccountUser, useUpdateBlock, useUpdateBookingIntent, useUpdateBookingLink, useUpdateCancellationReason, useUpdateClient, useUpdateClientField, useUpdateConnectedAccount, useUpdateForm, useUpdateOpening, useUpdateProvider, useUpdateProviderSchedule, useUpdatePublicBookingIntent, useUpdateService, useUserMapping, useUserMappings };
28214
+ export { type MutationOptionsFor, type QueryClient, type QueryOptionsFor, SavvyCalProvider, type SavvyCalProviderProps, createQueryClient, useAbandonBookingIntent, useAbandonPublicBookingIntent, useAccountById, useAccountUsers, useAccounts, useAppointment, useAppointments, useAttachServiceForm, useBlock, useBlocks, useBookingIntent, useBookingIntentSlots, useBookingIntents, useBookingLink, useBookingLinks, useCancelAppointment, useCancelPublicAppointment, useCancellationReason, useCancellationReasons, useClearServiceConferencing, useClearServiceProviderConferencing, useClient, useClientField, useClientFields, useClients, useCompleteBookingIntent, useCompletePublicBookingIntent, useConfirmAppointment, useConnectedAccount, useConnectedAccountExternalUsers, useConnectedAccounts, useCreateAccount, useCreateAccountUser, useCreateAppointment, useCreateBlock, useCreateBookingIntent, useCreateBookingLink, useCreateCancellationReason, useCreateClient, useCreateClientField, useCreateDashboardSession, useCreateForm, useCreateOpening, useCreateProvider, useCreateProviderSchedule, useCreatePublicAppointment, useCreatePublicBookingIntent, useCreateScheduleGroup, useCreateService, useCreateServiceProvider, useCurrentAccount, useCurrentAccountUser, useCurrentPlatform, useDeactivateProvider, useDeleteBlock, useDeleteBookingLink, useDeleteCancellationReason, useDeleteClient, useDeleteClientField, useDeleteConnectedAccount, useDeleteForm, useDeleteOpening, useDeleteProviderSchedule, useDeleteScheduleGroup, useDeleteService, useDeleteServiceProvider, useDeleteUserMapping, useDetachServiceForm, useEarliestPublicServiceSlot, useForm, useForms, useOpening, useOpenings, useProvider, useProviderSchedule, useProviderSchedules, useProviders, usePublicAppointment, usePublicBookingIntent, usePublicBookingIntentSlots, usePublicCancellationReasons, usePublicServiceSlots, useRescheduleAppointment, useReschedulePublicAppointment, useRole, useRoles, useSavvyCalFetchClient, useSavvyCalQueryClient, useScheduleGroup, useScheduleGroups, useService, useServiceForms, useServiceProviderConferencing, useServiceProviders, useServiceSlots, useServices, useSetServiceConferencing, useSetServiceProviderConferencing, useSetUserMapping, useSortServiceForms, useSyncConnectedAccountExternalUsers, useSyncServiceConferencing, useUpdateAccount, useUpdateAccountUser, useUpdateBlock, useUpdateBookingIntent, useUpdateBookingLink, useUpdateCancellationReason, useUpdateClient, useUpdateClientField, useUpdateConnectedAccount, useUpdateForm, useUpdateOpening, useUpdateProvider, useUpdateProviderSchedule, useUpdatePublicBookingIntent, useUpdateRole, useUpdateScheduleGroup, useUpdateService, useUserMapping, useUserMappings };