@savvycal/appointments-react-query 1.3.0 → 2.0.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$1F extends MutationOptionsFor<"post", "/v1/booking_intents/{booking_intent_id}/abandon"> {
54
+ interface Options$1L extends MutationOptionsFor<"post", "/v1/booking_intents/{booking_intent_id}/abandon"> {
55
55
  client?: QueryClient;
56
56
  }
57
- declare const useAbandonBookingIntent: (options?: Options$1F) => _tanstack_react_query.UseMutationResult<{
57
+ declare const useAbandonBookingIntent: (options?: Options$1L) => _tanstack_react_query.UseMutationResult<{
58
58
  data: {
59
59
  abandoned_at?: string | null;
60
60
  appointment?: {
@@ -1610,10 +1610,10 @@ declare const useAbandonBookingIntent: (options?: Options$1F) => _tanstack_react
1610
1610
  };
1611
1611
  }>>;
1612
1612
 
1613
- interface Options$1E extends MutationOptionsFor<"post", "/v1/public/booking_intents/{booking_intent_id}/abandon"> {
1613
+ interface Options$1K extends MutationOptionsFor<"post", "/v1/public/booking_intents/{booking_intent_id}/abandon"> {
1614
1614
  client?: QueryClient;
1615
1615
  }
1616
- declare const useAbandonPublicBookingIntent: (options?: Options$1E) => _tanstack_react_query.UseMutationResult<{
1616
+ declare const useAbandonPublicBookingIntent: (options?: Options$1K) => _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$1E) => _tanstack
1971
1971
  };
1972
1972
  }>>;
1973
1973
 
1974
- interface Options$1D extends MutationOptionsFor<"post", "/v1/services/{service_id}/forms"> {
1974
+ interface Options$1J extends MutationOptionsFor<"post", "/v1/services/{service_id}/forms"> {
1975
1975
  client?: QueryClient;
1976
1976
  }
1977
- declare const useAttachServiceForm: (options?: Options$1D) => _tanstack_react_query.UseMutationResult<{
1977
+ declare const useAttachServiceForm: (options?: Options$1J) => _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$1D) => _tanstack_react_qu
2129
2129
  };
2130
2130
  }>>;
2131
2131
 
2132
- interface Options$1C extends MutationOptionsFor<"post", "/v1/appointments/{appointment_id}/cancel"> {
2132
+ interface Options$1I extends MutationOptionsFor<"post", "/v1/appointments/{appointment_id}/cancel"> {
2133
2133
  client?: QueryClient;
2134
2134
  }
2135
- declare const useCancelAppointment: (options?: Options$1C) => _tanstack_react_query.UseMutationResult<{
2135
+ declare const useCancelAppointment: (options?: Options$1I) => _tanstack_react_query.UseMutationResult<{
2136
2136
  data: {
2137
2137
  add_to_calendar_url: string;
2138
2138
  appointment_type: "in_person" | "virtual";
@@ -3058,10 +3058,10 @@ declare const useCancelAppointment: (options?: Options$1C) => _tanstack_react_qu
3058
3058
  };
3059
3059
  }>>;
3060
3060
 
3061
- interface Options$1B extends MutationOptionsFor<"post", "/v1/public/appointments/{appointment_id}/cancel"> {
3061
+ interface Options$1H extends MutationOptionsFor<"post", "/v1/public/appointments/{appointment_id}/cancel"> {
3062
3062
  client?: QueryClient;
3063
3063
  }
3064
- declare const useCancelPublicAppointment: (options?: Options$1B) => _tanstack_react_query.UseMutationResult<{
3064
+ declare const useCancelPublicAppointment: (options?: Options$1H) => _tanstack_react_query.UseMutationResult<{
3065
3065
  data: {
3066
3066
  add_to_calendar_url: string;
3067
3067
  cancel_url: string;
@@ -3230,10 +3230,187 @@ declare const useCancelPublicAppointment: (options?: Options$1B) => _tanstack_re
3230
3230
  };
3231
3231
  }>>;
3232
3232
 
3233
- interface Options$1A extends MutationOptionsFor<"post", "/v1/booking_intents/{booking_intent_id}/complete"> {
3233
+ interface Options$1G extends MutationOptionsFor<"delete", "/v1/services/{service_id}/conferencing"> {
3234
3234
  client?: QueryClient;
3235
3235
  }
3236
- declare const useCompleteBookingIntent: (options?: Options$1A) => _tanstack_react_query.UseMutationResult<{
3236
+ declare const useClearServiceConferencing: (options?: Options$1G) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
3237
+ 204: {
3238
+ headers: {
3239
+ [name: string]: unknown;
3240
+ };
3241
+ content: {
3242
+ "text/plain": string;
3243
+ };
3244
+ };
3245
+ 401: {
3246
+ headers: {
3247
+ [name: string]: unknown;
3248
+ };
3249
+ content: {
3250
+ "application/json": {
3251
+ errors: {
3252
+ detail: string;
3253
+ status?: string;
3254
+ title?: string;
3255
+ }[];
3256
+ };
3257
+ };
3258
+ };
3259
+ 404: {
3260
+ headers: {
3261
+ [name: string]: unknown;
3262
+ };
3263
+ content: {
3264
+ "application/json": {
3265
+ errors: {
3266
+ detail: "Not Found";
3267
+ status: "404";
3268
+ }[];
3269
+ };
3270
+ };
3271
+ };
3272
+ }, `${string}/${string}`>, openapi_fetch.FetchOptions<{
3273
+ parameters: {
3274
+ query?: never;
3275
+ header?: never;
3276
+ path: {
3277
+ service_id: string;
3278
+ };
3279
+ cookie?: never;
3280
+ };
3281
+ requestBody?: never;
3282
+ responses: {
3283
+ 204: {
3284
+ headers: {
3285
+ [name: string]: unknown;
3286
+ };
3287
+ content: {
3288
+ "text/plain": string;
3289
+ };
3290
+ };
3291
+ 401: {
3292
+ headers: {
3293
+ [name: string]: unknown;
3294
+ };
3295
+ content: {
3296
+ "application/json": {
3297
+ errors: {
3298
+ detail: string;
3299
+ status?: string;
3300
+ title?: string;
3301
+ }[];
3302
+ };
3303
+ };
3304
+ };
3305
+ 404: {
3306
+ headers: {
3307
+ [name: string]: unknown;
3308
+ };
3309
+ content: {
3310
+ "application/json": {
3311
+ errors: {
3312
+ detail: "Not Found";
3313
+ status: "404";
3314
+ }[];
3315
+ };
3316
+ };
3317
+ };
3318
+ };
3319
+ }>>;
3320
+
3321
+ interface Options$1F extends MutationOptionsFor<"delete", "/v1/services/{service_id}/providers/{provider_id}/conferencing"> {
3322
+ client?: QueryClient;
3323
+ }
3324
+ declare const useClearServiceProviderConferencing: (options?: Options$1F) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
3325
+ 204: {
3326
+ headers: {
3327
+ [name: string]: unknown;
3328
+ };
3329
+ content: {
3330
+ "text/plain": string;
3331
+ };
3332
+ };
3333
+ 401: {
3334
+ headers: {
3335
+ [name: string]: unknown;
3336
+ };
3337
+ content: {
3338
+ "application/json": {
3339
+ errors: {
3340
+ detail: string;
3341
+ status?: string;
3342
+ title?: string;
3343
+ }[];
3344
+ };
3345
+ };
3346
+ };
3347
+ 404: {
3348
+ headers: {
3349
+ [name: string]: unknown;
3350
+ };
3351
+ content: {
3352
+ "application/json": {
3353
+ errors: {
3354
+ detail: "Not Found";
3355
+ status: "404";
3356
+ }[];
3357
+ };
3358
+ };
3359
+ };
3360
+ }, `${string}/${string}`>, openapi_fetch.FetchOptions<{
3361
+ parameters: {
3362
+ query?: never;
3363
+ header?: never;
3364
+ path: {
3365
+ service_id: string;
3366
+ provider_id: string;
3367
+ };
3368
+ cookie?: never;
3369
+ };
3370
+ requestBody?: never;
3371
+ responses: {
3372
+ 204: {
3373
+ headers: {
3374
+ [name: string]: unknown;
3375
+ };
3376
+ content: {
3377
+ "text/plain": string;
3378
+ };
3379
+ };
3380
+ 401: {
3381
+ headers: {
3382
+ [name: string]: unknown;
3383
+ };
3384
+ content: {
3385
+ "application/json": {
3386
+ errors: {
3387
+ detail: string;
3388
+ status?: string;
3389
+ title?: string;
3390
+ }[];
3391
+ };
3392
+ };
3393
+ };
3394
+ 404: {
3395
+ headers: {
3396
+ [name: string]: unknown;
3397
+ };
3398
+ content: {
3399
+ "application/json": {
3400
+ errors: {
3401
+ detail: "Not Found";
3402
+ status: "404";
3403
+ }[];
3404
+ };
3405
+ };
3406
+ };
3407
+ };
3408
+ }>>;
3409
+
3410
+ interface Options$1E extends MutationOptionsFor<"post", "/v1/booking_intents/{booking_intent_id}/complete"> {
3411
+ client?: QueryClient;
3412
+ }
3413
+ declare const useCompleteBookingIntent: (options?: Options$1E) => _tanstack_react_query.UseMutationResult<{
3237
3414
  data: {
3238
3415
  abandoned_at?: string | null;
3239
3416
  appointment?: {
@@ -4822,10 +4999,10 @@ declare const useCompleteBookingIntent: (options?: Options$1A) => _tanstack_reac
4822
4999
  };
4823
5000
  }>>;
4824
5001
 
4825
- interface Options$1z extends MutationOptionsFor<"post", "/v1/public/booking_intents/{booking_intent_id}/complete"> {
5002
+ interface Options$1D extends MutationOptionsFor<"post", "/v1/public/booking_intents/{booking_intent_id}/complete"> {
4826
5003
  client?: QueryClient;
4827
5004
  }
4828
- declare const useCompletePublicBookingIntent: (options?: Options$1z) => _tanstack_react_query.UseMutationResult<{
5005
+ declare const useCompletePublicBookingIntent: (options?: Options$1D) => _tanstack_react_query.UseMutationResult<{
4829
5006
  data: {
4830
5007
  appointment?: {
4831
5008
  add_to_calendar_url: string;
@@ -5212,10 +5389,10 @@ declare const useCompletePublicBookingIntent: (options?: Options$1z) => _tanstac
5212
5389
  };
5213
5390
  }>>;
5214
5391
 
5215
- interface Options$1y extends MutationOptionsFor<"post", "/v1/appointments/{appointment_id}/confirm"> {
5392
+ interface Options$1C extends MutationOptionsFor<"post", "/v1/appointments/{appointment_id}/confirm"> {
5216
5393
  client?: QueryClient;
5217
5394
  }
5218
- declare const useConfirmAppointment: (options?: Options$1y) => _tanstack_react_query.UseMutationResult<{
5395
+ declare const useConfirmAppointment: (options?: Options$1C) => _tanstack_react_query.UseMutationResult<{
5219
5396
  data: {
5220
5397
  add_to_calendar_url: string;
5221
5398
  appointment_type: "in_person" | "virtual";
@@ -6139,10 +6316,10 @@ declare const useConfirmAppointment: (options?: Options$1y) => _tanstack_react_q
6139
6316
  };
6140
6317
  }>>;
6141
6318
 
6142
- interface Options$1x extends MutationOptionsFor<"post", "/v1/accounts"> {
6319
+ interface Options$1B extends MutationOptionsFor<"post", "/v1/accounts"> {
6143
6320
  client?: QueryClient;
6144
6321
  }
6145
- declare const useCreateAccount: (options?: Options$1x) => _tanstack_react_query.UseMutationResult<{
6322
+ declare const useCreateAccount: (options?: Options$1B) => _tanstack_react_query.UseMutationResult<{
6146
6323
  data?: {
6147
6324
  created_at: string;
6148
6325
  id: string;
@@ -6294,16 +6471,18 @@ declare const useCreateAccount: (options?: Options$1x) => _tanstack_react_query.
6294
6471
  };
6295
6472
  }> | undefined>;
6296
6473
 
6297
- interface Options$1w extends MutationOptionsFor<"post", "/v1/users"> {
6474
+ interface Options$1A extends MutationOptionsFor<"post", "/v1/users"> {
6298
6475
  client?: QueryClient;
6299
6476
  }
6300
- declare const useCreateAccountUser: (options?: Options$1w) => _tanstack_react_query.UseMutationResult<{
6477
+ declare const useCreateAccountUser: (options?: Options$1A) => _tanstack_react_query.UseMutationResult<{
6301
6478
  object: "account_user";
6302
6479
  passive: boolean;
6303
6480
  roles: {
6481
+ denied_permissions: string[];
6304
6482
  id: string;
6305
6483
  name: string;
6306
6484
  object: "role";
6485
+ permissions: string[];
6307
6486
  type: "admin" | "staff" | "superuser" | "custom";
6308
6487
  }[];
6309
6488
  user: {
@@ -6325,9 +6504,11 @@ declare const useCreateAccountUser: (options?: Options$1w) => _tanstack_react_qu
6325
6504
  object: "account_user";
6326
6505
  passive: boolean;
6327
6506
  roles: {
6507
+ denied_permissions: string[];
6328
6508
  id: string;
6329
6509
  name: string;
6330
6510
  object: "role";
6511
+ permissions: string[];
6331
6512
  type: "admin" | "staff" | "superuser" | "custom";
6332
6513
  }[];
6333
6514
  user: {
@@ -6405,9 +6586,11 @@ declare const useCreateAccountUser: (options?: Options$1w) => _tanstack_react_qu
6405
6586
  object: "account_user";
6406
6587
  passive: boolean;
6407
6588
  roles: {
6589
+ denied_permissions: string[];
6408
6590
  id: string;
6409
6591
  name: string;
6410
6592
  object: "role";
6593
+ permissions: string[];
6411
6594
  type: "admin" | "staff" | "superuser" | "custom";
6412
6595
  }[];
6413
6596
  user: {
@@ -6456,10 +6639,10 @@ declare const useCreateAccountUser: (options?: Options$1w) => _tanstack_react_qu
6456
6639
  };
6457
6640
  }> | undefined>;
6458
6641
 
6459
- interface Options$1v extends MutationOptionsFor<"post", "/v1/appointments"> {
6642
+ interface Options$1z extends MutationOptionsFor<"post", "/v1/appointments"> {
6460
6643
  client?: QueryClient;
6461
6644
  }
6462
- declare const useCreateAppointment: (options?: Options$1v) => _tanstack_react_query.UseMutationResult<{
6645
+ declare const useCreateAppointment: (options?: Options$1z) => _tanstack_react_query.UseMutationResult<{
6463
6646
  data: {
6464
6647
  add_to_calendar_url: string;
6465
6648
  appointment_type: "in_person" | "virtual";
@@ -7399,10 +7582,10 @@ declare const useCreateAppointment: (options?: Options$1v) => _tanstack_react_qu
7399
7582
  };
7400
7583
  }> | undefined>;
7401
7584
 
7402
- interface Options$1u extends MutationOptionsFor<"post", "/v1/blocks"> {
7585
+ interface Options$1y extends MutationOptionsFor<"post", "/v1/blocks"> {
7403
7586
  client?: QueryClient;
7404
7587
  }
7405
- declare const useCreateBlock: (options?: Options$1u) => _tanstack_react_query.UseMutationResult<{
7588
+ declare const useCreateBlock: (options?: Options$1y) => _tanstack_react_query.UseMutationResult<{
7406
7589
  data: {
7407
7590
  all_day: boolean;
7408
7591
  attachment_type: "location" | "service" | "provider" | "service_provider";
@@ -7587,10 +7770,10 @@ declare const useCreateBlock: (options?: Options$1u) => _tanstack_react_query.Us
7587
7770
  };
7588
7771
  }> | undefined>;
7589
7772
 
7590
- interface Options$1t extends MutationOptionsFor<"post", "/v1/booking_intents"> {
7773
+ interface Options$1x extends MutationOptionsFor<"post", "/v1/booking_intents"> {
7591
7774
  client?: QueryClient;
7592
7775
  }
7593
- declare const useCreateBookingIntent: (options?: Options$1t) => _tanstack_react_query.UseMutationResult<{
7776
+ declare const useCreateBookingIntent: (options?: Options$1x) => _tanstack_react_query.UseMutationResult<{
7594
7777
  data: {
7595
7778
  abandoned_at?: string | null;
7596
7779
  appointment?: {
@@ -9188,10 +9371,10 @@ declare const useCreateBookingIntent: (options?: Options$1t) => _tanstack_react_
9188
9371
  };
9189
9372
  }> | undefined>;
9190
9373
 
9191
- interface Options$1s extends MutationOptionsFor<"post", "/v1/booking_links"> {
9374
+ interface Options$1w extends MutationOptionsFor<"post", "/v1/booking_links"> {
9192
9375
  client?: QueryClient;
9193
9376
  }
9194
- declare const useCreateBookingLink: (options?: Options$1s) => _tanstack_react_query.UseMutationResult<{
9377
+ declare const useCreateBookingLink: (options?: Options$1w) => _tanstack_react_query.UseMutationResult<{
9195
9378
  data: {
9196
9379
  client?: {
9197
9380
  created_at: string;
@@ -9479,10 +9662,10 @@ declare const useCreateBookingLink: (options?: Options$1s) => _tanstack_react_qu
9479
9662
  };
9480
9663
  }> | undefined>;
9481
9664
 
9482
- interface Options$1r extends MutationOptionsFor<"post", "/v1/cancellation_reasons"> {
9665
+ interface Options$1v extends MutationOptionsFor<"post", "/v1/cancellation_reasons"> {
9483
9666
  client?: QueryClient;
9484
9667
  }
9485
- declare const useCreateCancellationReason: (options?: Options$1r) => _tanstack_react_query.UseMutationResult<{
9668
+ declare const useCreateCancellationReason: (options?: Options$1v) => _tanstack_react_query.UseMutationResult<{
9486
9669
  data: Record<string, never>;
9487
9670
  }, openapi_typescript_helpers.ErrorResponse<{
9488
9671
  201: {
@@ -9585,10 +9768,10 @@ declare const useCreateCancellationReason: (options?: Options$1r) => _tanstack_r
9585
9768
  };
9586
9769
  }> | undefined>;
9587
9770
 
9588
- interface Options$1q extends MutationOptionsFor<"post", "/v1/clients"> {
9771
+ interface Options$1u extends MutationOptionsFor<"post", "/v1/clients"> {
9589
9772
  client?: QueryClient;
9590
9773
  }
9591
- declare const useCreateClient: (options?: Options$1q) => _tanstack_react_query.UseMutationResult<{
9774
+ declare const useCreateClient: (options?: Options$1u) => _tanstack_react_query.UseMutationResult<{
9592
9775
  data: {
9593
9776
  created_at: string;
9594
9777
  email?: string | null;
@@ -9757,10 +9940,10 @@ declare const useCreateClient: (options?: Options$1q) => _tanstack_react_query.U
9757
9940
  };
9758
9941
  }> | undefined>;
9759
9942
 
9760
- interface Options$1p extends MutationOptionsFor<"post", "/v1/client_fields"> {
9943
+ interface Options$1t extends MutationOptionsFor<"post", "/v1/client_fields"> {
9761
9944
  client?: QueryClient;
9762
9945
  }
9763
- declare const useCreateClientField: (options?: Options$1p) => _tanstack_react_query.UseMutationResult<{
9946
+ declare const useCreateClientField: (options?: Options$1t) => _tanstack_react_query.UseMutationResult<{
9764
9947
  data: Record<string, never>;
9765
9948
  }, openapi_typescript_helpers.ErrorResponse<{
9766
9949
  201: {
@@ -9874,10 +10057,10 @@ declare const useCreateClientField: (options?: Options$1p) => _tanstack_react_qu
9874
10057
  };
9875
10058
  }> | undefined>;
9876
10059
 
9877
- interface Options$1o extends MutationOptionsFor<"post", "/v1/dashboard_sessions"> {
10060
+ interface Options$1s extends MutationOptionsFor<"post", "/v1/dashboard_sessions"> {
9878
10061
  client?: QueryClient;
9879
10062
  }
9880
- declare const useCreateDashboardSession: (options?: Options$1o) => _tanstack_react_query.UseMutationResult<{
10063
+ declare const useCreateDashboardSession: (options?: Options$1s) => _tanstack_react_query.UseMutationResult<{
9881
10064
  data: {
9882
10065
  created_at: string;
9883
10066
  id: string;
@@ -10006,10 +10189,10 @@ declare const useCreateDashboardSession: (options?: Options$1o) => _tanstack_rea
10006
10189
  };
10007
10190
  }> | undefined>;
10008
10191
 
10009
- interface Options$1n extends MutationOptionsFor<"post", "/v1/forms"> {
10192
+ interface Options$1r extends MutationOptionsFor<"post", "/v1/forms"> {
10010
10193
  client?: QueryClient;
10011
10194
  }
10012
- declare const useCreateForm: (options?: Options$1n) => _tanstack_react_query.UseMutationResult<{
10195
+ declare const useCreateForm: (options?: Options$1r) => _tanstack_react_query.UseMutationResult<{
10013
10196
  data: {
10014
10197
  created_at: string;
10015
10198
  field_count: number;
@@ -10205,10 +10388,10 @@ declare const useCreateForm: (options?: Options$1n) => _tanstack_react_query.Use
10205
10388
  };
10206
10389
  }> | undefined>;
10207
10390
 
10208
- interface Options$1m extends MutationOptionsFor<"post", "/v1/providers/{provider_id}/openings"> {
10391
+ interface Options$1q extends MutationOptionsFor<"post", "/v1/providers/{provider_id}/openings"> {
10209
10392
  client?: QueryClient;
10210
10393
  }
10211
- declare const useCreateOpening: (options?: Options$1m) => _tanstack_react_query.UseMutationResult<{
10394
+ declare const useCreateOpening: (options?: Options$1q) => _tanstack_react_query.UseMutationResult<{
10212
10395
  data: {
10213
10396
  created_at: string;
10214
10397
  date: string;
@@ -10376,10 +10559,10 @@ declare const useCreateOpening: (options?: Options$1m) => _tanstack_react_query.
10376
10559
  };
10377
10560
  }>>;
10378
10561
 
10379
- interface Options$1l extends MutationOptionsFor<"post", "/v1/providers"> {
10562
+ interface Options$1p extends MutationOptionsFor<"post", "/v1/providers"> {
10380
10563
  client?: QueryClient;
10381
10564
  }
10382
- declare const useCreateProvider: (options?: Options$1l) => _tanstack_react_query.UseMutationResult<{
10565
+ declare const useCreateProvider: (options?: Options$1p) => _tanstack_react_query.UseMutationResult<{
10383
10566
  data: {
10384
10567
  created_at: string;
10385
10568
  display_name: string;
@@ -10463,6 +10646,19 @@ declare const useCreateProvider: (options?: Options$1l) => _tanstack_react_query
10463
10646
  display_name: string;
10464
10647
  email: string;
10465
10648
  first_name: string;
10649
+ initial_schedule?: {
10650
+ effective_from?: string;
10651
+ effective_to?: string | null;
10652
+ public_bookings?: {
10653
+ enabled: boolean;
10654
+ };
10655
+ time_zone?: string;
10656
+ weekly_rules?: {
10657
+ day: "mo" | "tu" | "we" | "th" | "fr" | "sa" | "su";
10658
+ end_time: string;
10659
+ start_time: string;
10660
+ }[];
10661
+ };
10466
10662
  last_name: string;
10467
10663
  metadata?: {
10468
10664
  [key: string]: unknown;
@@ -10531,10 +10727,10 @@ declare const useCreateProvider: (options?: Options$1l) => _tanstack_react_query
10531
10727
  };
10532
10728
  }> | undefined>;
10533
10729
 
10534
- interface Options$1k extends MutationOptionsFor<"post", "/v1/providers/{provider_id}/schedules"> {
10730
+ interface Options$1o extends MutationOptionsFor<"post", "/v1/providers/{provider_id}/schedules"> {
10535
10731
  client?: QueryClient;
10536
10732
  }
10537
- declare const useCreateProviderSchedule: (options?: Options$1k) => _tanstack_react_query.UseMutationResult<{
10733
+ declare const useCreateProviderSchedule: (options?: Options$1o) => _tanstack_react_query.UseMutationResult<{
10538
10734
  data: {
10539
10735
  created_at: string;
10540
10736
  effective_from: string;
@@ -10695,10 +10891,10 @@ declare const useCreateProviderSchedule: (options?: Options$1k) => _tanstack_rea
10695
10891
  };
10696
10892
  }> | undefined>;
10697
10893
 
10698
- interface Options$1j extends MutationOptionsFor<"post", "/v1/public/appointments"> {
10894
+ interface Options$1n extends MutationOptionsFor<"post", "/v1/public/appointments"> {
10699
10895
  client?: QueryClient;
10700
10896
  }
10701
- declare const useCreatePublicAppointment: (options?: Options$1j) => _tanstack_react_query.UseMutationResult<{
10897
+ declare const useCreatePublicAppointment: (options?: Options$1n) => _tanstack_react_query.UseMutationResult<{
10702
10898
  data: {
10703
10899
  add_to_calendar_url: string;
10704
10900
  cancel_url: string;
@@ -10847,10 +11043,10 @@ declare const useCreatePublicAppointment: (options?: Options$1j) => _tanstack_re
10847
11043
  };
10848
11044
  }> | undefined>;
10849
11045
 
10850
- interface Options$1i extends MutationOptionsFor<"post", "/v1/public/booking_intents"> {
11046
+ interface Options$1m extends MutationOptionsFor<"post", "/v1/public/booking_intents"> {
10851
11047
  client?: QueryClient;
10852
11048
  }
10853
- declare const useCreatePublicBookingIntent: (options?: Options$1i) => _tanstack_react_query.UseMutationResult<{
11049
+ declare const useCreatePublicBookingIntent: (options?: Options$1m) => _tanstack_react_query.UseMutationResult<{
10854
11050
  data: {
10855
11051
  appointment?: {
10856
11052
  add_to_calendar_url: string;
@@ -11236,10 +11432,10 @@ declare const useCreatePublicBookingIntent: (options?: Options$1i) => _tanstack_
11236
11432
  };
11237
11433
  }> | undefined>;
11238
11434
 
11239
- interface Options$1h extends MutationOptionsFor<"post", "/v1/services"> {
11435
+ interface Options$1l extends MutationOptionsFor<"post", "/v1/services"> {
11240
11436
  client?: QueryClient;
11241
11437
  }
11242
- declare const useCreateService: (options?: Options$1h) => _tanstack_react_query.UseMutationResult<{
11438
+ declare const useCreateService: (options?: Options$1l) => _tanstack_react_query.UseMutationResult<{
11243
11439
  data: {
11244
11440
  appointment_type: "in_person" | "virtual";
11245
11441
  booking_policy: {
@@ -11628,10 +11824,10 @@ declare const useCreateService: (options?: Options$1h) => _tanstack_react_query.
11628
11824
  };
11629
11825
  }> | undefined>;
11630
11826
 
11631
- interface Options$1g extends MutationOptionsFor<"post", "/v1/services/{service_id}/providers"> {
11827
+ interface Options$1k extends MutationOptionsFor<"post", "/v1/services/{service_id}/providers"> {
11632
11828
  client?: QueryClient;
11633
11829
  }
11634
- declare const useCreateServiceProvider: (options?: Options$1g) => _tanstack_react_query.UseMutationResult<{
11830
+ declare const useCreateServiceProvider: (options?: Options$1k) => _tanstack_react_query.UseMutationResult<{
11635
11831
  data: {
11636
11832
  created_at: string;
11637
11833
  id: string;
@@ -11822,10 +12018,10 @@ declare const useCreateServiceProvider: (options?: Options$1g) => _tanstack_reac
11822
12018
  };
11823
12019
  }>>;
11824
12020
 
11825
- interface Options$1f extends MutationOptionsFor<"delete", "/v1/providers/{provider_id}"> {
12021
+ interface Options$1j extends MutationOptionsFor<"delete", "/v1/providers/{provider_id}"> {
11826
12022
  client?: QueryClient;
11827
12023
  }
11828
- declare const useDeactivateProvider: (options?: Options$1f) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12024
+ declare const useDeactivateProvider: (options?: Options$1j) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
11829
12025
  204: {
11830
12026
  headers: {
11831
12027
  [name: string]: unknown;
@@ -11910,10 +12106,10 @@ declare const useDeactivateProvider: (options?: Options$1f) => _tanstack_react_q
11910
12106
  };
11911
12107
  }>>;
11912
12108
 
11913
- interface Options$1e extends MutationOptionsFor<"delete", "/v1/blocks/{block_id}"> {
12109
+ interface Options$1i extends MutationOptionsFor<"delete", "/v1/blocks/{block_id}"> {
11914
12110
  client?: QueryClient;
11915
12111
  }
11916
- declare const useDeleteBlock: (options?: Options$1e) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12112
+ declare const useDeleteBlock: (options?: Options$1i) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
11917
12113
  204: {
11918
12114
  headers: {
11919
12115
  [name: string]: unknown;
@@ -11998,10 +12194,10 @@ declare const useDeleteBlock: (options?: Options$1e) => _tanstack_react_query.Us
11998
12194
  };
11999
12195
  }>>;
12000
12196
 
12001
- interface Options$1d extends MutationOptionsFor<"delete", "/v1/booking_links/{booking_link_id}"> {
12197
+ interface Options$1h extends MutationOptionsFor<"delete", "/v1/booking_links/{booking_link_id}"> {
12002
12198
  client?: QueryClient;
12003
12199
  }
12004
- declare const useDeleteBookingLink: (options?: Options$1d) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12200
+ declare const useDeleteBookingLink: (options?: Options$1h) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12005
12201
  204: {
12006
12202
  headers: {
12007
12203
  [name: string]: unknown;
@@ -12086,10 +12282,10 @@ declare const useDeleteBookingLink: (options?: Options$1d) => _tanstack_react_qu
12086
12282
  };
12087
12283
  }>>;
12088
12284
 
12089
- interface Options$1c extends MutationOptionsFor<"delete", "/v1/cancellation_reasons/{cancellation_reason_id}"> {
12285
+ interface Options$1g extends MutationOptionsFor<"delete", "/v1/cancellation_reasons/{cancellation_reason_id}"> {
12090
12286
  client?: QueryClient;
12091
12287
  }
12092
- declare const useDeleteCancellationReason: (options?: Options$1c) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12288
+ declare const useDeleteCancellationReason: (options?: Options$1g) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12093
12289
  204: {
12094
12290
  headers: {
12095
12291
  [name: string]: unknown;
@@ -12174,10 +12370,10 @@ declare const useDeleteCancellationReason: (options?: Options$1c) => _tanstack_r
12174
12370
  };
12175
12371
  }>>;
12176
12372
 
12177
- interface Options$1b extends MutationOptionsFor<"delete", "/v1/clients/{client_id}"> {
12373
+ interface Options$1f extends MutationOptionsFor<"delete", "/v1/clients/{client_id}"> {
12178
12374
  client?: QueryClient;
12179
12375
  }
12180
- declare const useDeleteClient: (options?: Options$1b) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12376
+ declare const useDeleteClient: (options?: Options$1f) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12181
12377
  204: {
12182
12378
  headers: {
12183
12379
  [name: string]: unknown;
@@ -12262,10 +12458,10 @@ declare const useDeleteClient: (options?: Options$1b) => _tanstack_react_query.U
12262
12458
  };
12263
12459
  }>>;
12264
12460
 
12265
- interface Options$1a extends MutationOptionsFor<"delete", "/v1/client_fields/{client_field_id}"> {
12461
+ interface Options$1e extends MutationOptionsFor<"delete", "/v1/client_fields/{client_field_id}"> {
12266
12462
  client?: QueryClient;
12267
12463
  }
12268
- declare const useDeleteClientField: (options?: Options$1a) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12464
+ declare const useDeleteClientField: (options?: Options$1e) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12269
12465
  204: {
12270
12466
  headers: {
12271
12467
  [name: string]: unknown;
@@ -12350,10 +12546,10 @@ declare const useDeleteClientField: (options?: Options$1a) => _tanstack_react_qu
12350
12546
  };
12351
12547
  }>>;
12352
12548
 
12353
- interface Options$19 extends MutationOptionsFor<"delete", "/v1/connected_accounts/{connected_account_id}"> {
12549
+ interface Options$1d extends MutationOptionsFor<"delete", "/v1/connected_accounts/{connected_account_id}"> {
12354
12550
  client?: QueryClient;
12355
12551
  }
12356
- declare const useDeleteConnectedAccount: (options?: Options$19) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12552
+ declare const useDeleteConnectedAccount: (options?: Options$1d) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12357
12553
  204: {
12358
12554
  headers: {
12359
12555
  [name: string]: unknown;
@@ -12438,10 +12634,10 @@ declare const useDeleteConnectedAccount: (options?: Options$19) => _tanstack_rea
12438
12634
  };
12439
12635
  }>>;
12440
12636
 
12441
- interface Options$18 extends MutationOptionsFor<"delete", "/v1/forms/{form_id}"> {
12637
+ interface Options$1c extends MutationOptionsFor<"delete", "/v1/forms/{form_id}"> {
12442
12638
  client?: QueryClient;
12443
12639
  }
12444
- declare const useDeleteForm: (options?: Options$18) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12640
+ declare const useDeleteForm: (options?: Options$1c) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12445
12641
  204: {
12446
12642
  headers: {
12447
12643
  [name: string]: unknown;
@@ -12526,10 +12722,10 @@ declare const useDeleteForm: (options?: Options$18) => _tanstack_react_query.Use
12526
12722
  };
12527
12723
  }>>;
12528
12724
 
12529
- interface Options$17 extends MutationOptionsFor<"delete", "/v1/openings/{opening_id}"> {
12725
+ interface Options$1b extends MutationOptionsFor<"delete", "/v1/openings/{opening_id}"> {
12530
12726
  client?: QueryClient;
12531
12727
  }
12532
- declare const useDeleteOpening: (options?: Options$17) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12728
+ declare const useDeleteOpening: (options?: Options$1b) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12533
12729
  204: {
12534
12730
  headers: {
12535
12731
  [name: string]: unknown;
@@ -12614,10 +12810,10 @@ declare const useDeleteOpening: (options?: Options$17) => _tanstack_react_query.
12614
12810
  };
12615
12811
  }>>;
12616
12812
 
12617
- interface Options$16 extends MutationOptionsFor<"delete", "/v1/provider_schedules/{provider_schedule_id}"> {
12813
+ interface Options$1a extends MutationOptionsFor<"delete", "/v1/provider_schedules/{provider_schedule_id}"> {
12618
12814
  client?: QueryClient;
12619
12815
  }
12620
- declare const useDeleteProviderSchedule: (options?: Options$16) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12816
+ declare const useDeleteProviderSchedule: (options?: Options$1a) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12621
12817
  204: {
12622
12818
  headers: {
12623
12819
  [name: string]: unknown;
@@ -12702,10 +12898,10 @@ declare const useDeleteProviderSchedule: (options?: Options$16) => _tanstack_rea
12702
12898
  };
12703
12899
  }>>;
12704
12900
 
12705
- interface Options$15 extends MutationOptionsFor<"delete", "/v1/services/{service_id}"> {
12901
+ interface Options$19 extends MutationOptionsFor<"delete", "/v1/services/{service_id}"> {
12706
12902
  client?: QueryClient;
12707
12903
  }
12708
- declare const useDeleteService: (options?: Options$15) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12904
+ declare const useDeleteService: (options?: Options$19) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12709
12905
  204: {
12710
12906
  headers: {
12711
12907
  [name: string]: unknown;
@@ -12790,10 +12986,10 @@ declare const useDeleteService: (options?: Options$15) => _tanstack_react_query.
12790
12986
  };
12791
12987
  }>>;
12792
12988
 
12793
- interface Options$14 extends MutationOptionsFor<"delete", "/v1/service_providers/{service_provider_id}"> {
12989
+ interface Options$18 extends MutationOptionsFor<"delete", "/v1/services/{service_id}/providers/{provider_id}"> {
12794
12990
  client?: QueryClient;
12795
12991
  }
12796
- declare const useDeleteServiceProvider: (options?: Options$14) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12992
+ declare const useDeleteServiceProvider: (options?: Options$18) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12797
12993
  204: {
12798
12994
  headers: {
12799
12995
  [name: string]: unknown;
@@ -12834,7 +13030,8 @@ declare const useDeleteServiceProvider: (options?: Options$14) => _tanstack_reac
12834
13030
  query?: never;
12835
13031
  header?: never;
12836
13032
  path: {
12837
- service_provider_id: string;
13033
+ service_id: string;
13034
+ provider_id: string;
12838
13035
  };
12839
13036
  cookie?: never;
12840
13037
  };
@@ -12878,10 +13075,10 @@ declare const useDeleteServiceProvider: (options?: Options$14) => _tanstack_reac
12878
13075
  };
12879
13076
  }>>;
12880
13077
 
12881
- interface Options$13 extends MutationOptionsFor<"delete", "/v1/connected_accounts/{connected_account_id}/user_mappings/{provider_id}"> {
13078
+ interface Options$17 extends MutationOptionsFor<"delete", "/v1/connected_accounts/{connected_account_id}/user_mappings/{provider_id}"> {
12882
13079
  client?: QueryClient;
12883
13080
  }
12884
- declare const useDeleteUserMapping: (options?: Options$13) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
13081
+ declare const useDeleteUserMapping: (options?: Options$17) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12885
13082
  204: {
12886
13083
  headers: {
12887
13084
  [name: string]: unknown;
@@ -12967,10 +13164,10 @@ declare const useDeleteUserMapping: (options?: Options$13) => _tanstack_react_qu
12967
13164
  };
12968
13165
  }>>;
12969
13166
 
12970
- interface Options$12 extends MutationOptionsFor<"delete", "/v1/service_forms/{service_form_id}"> {
13167
+ interface Options$16 extends MutationOptionsFor<"delete", "/v1/service_forms/{service_form_id}"> {
12971
13168
  client?: QueryClient;
12972
13169
  }
12973
- declare const useDetachServiceForm: (options?: Options$12) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
13170
+ declare const useDetachServiceForm: (options?: Options$16) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
12974
13171
  204: {
12975
13172
  headers: {
12976
13173
  [name: string]: unknown;
@@ -13055,10 +13252,10 @@ declare const useDetachServiceForm: (options?: Options$12) => _tanstack_react_qu
13055
13252
  };
13056
13253
  }>>;
13057
13254
 
13058
- interface Options$11 extends MutationOptionsFor<"post", "/v1/appointments/{appointment_id}/reschedule"> {
13255
+ interface Options$15 extends MutationOptionsFor<"post", "/v1/appointments/{appointment_id}/reschedule"> {
13059
13256
  client?: QueryClient;
13060
13257
  }
13061
- declare const useRescheduleAppointment: (options?: Options$11) => _tanstack_react_query.UseMutationResult<{
13258
+ declare const useRescheduleAppointment: (options?: Options$15) => _tanstack_react_query.UseMutationResult<{
13062
13259
  data: {
13063
13260
  add_to_calendar_url: string;
13064
13261
  appointment_type: "in_person" | "virtual";
@@ -13986,10 +14183,10 @@ declare const useRescheduleAppointment: (options?: Options$11) => _tanstack_reac
13986
14183
  };
13987
14184
  }>>;
13988
14185
 
13989
- interface Options$10 extends MutationOptionsFor<"post", "/v1/public/appointments/{appointment_id}/reschedule"> {
14186
+ interface Options$14 extends MutationOptionsFor<"post", "/v1/public/appointments/{appointment_id}/reschedule"> {
13990
14187
  client?: QueryClient;
13991
14188
  }
13992
- declare const useReschedulePublicAppointment: (options?: Options$10) => _tanstack_react_query.UseMutationResult<{
14189
+ declare const useReschedulePublicAppointment: (options?: Options$14) => _tanstack_react_query.UseMutationResult<{
13993
14190
  data: {
13994
14191
  add_to_calendar_url: string;
13995
14192
  cancel_url: string;
@@ -14106,24 +14303,434 @@ declare const useReschedulePublicAppointment: (options?: Options$10) => _tanstac
14106
14303
  };
14107
14304
  };
14108
14305
  };
14109
- 403: {
14306
+ 403: {
14307
+ headers: {
14308
+ [name: string]: unknown;
14309
+ };
14310
+ content: {
14311
+ "application/json": {
14312
+ errors: {
14313
+ code?: string | null;
14314
+ detail: string;
14315
+ source: {
14316
+ pointer: string;
14317
+ };
14318
+ title: string;
14319
+ }[];
14320
+ };
14321
+ };
14322
+ };
14323
+ 404: {
14324
+ headers: {
14325
+ [name: string]: unknown;
14326
+ };
14327
+ content: {
14328
+ "application/json": {
14329
+ errors: {
14330
+ code?: string | null;
14331
+ detail: string;
14332
+ source: {
14333
+ pointer: string;
14334
+ };
14335
+ title: string;
14336
+ }[];
14337
+ };
14338
+ };
14339
+ };
14340
+ 422: {
14341
+ headers: {
14342
+ [name: string]: unknown;
14343
+ };
14344
+ content: {
14345
+ "application/json": {
14346
+ errors: {
14347
+ code?: string | null;
14348
+ detail: string;
14349
+ source: {
14350
+ pointer: string;
14351
+ };
14352
+ title: string;
14353
+ }[];
14354
+ };
14355
+ };
14356
+ };
14357
+ };
14358
+ }>>;
14359
+
14360
+ interface Options$13 extends MutationOptionsFor<"put", "/v1/services/{service_id}/conferencing"> {
14361
+ client?: QueryClient;
14362
+ }
14363
+ declare const useSetServiceConferencing: (options?: Options$13) => _tanstack_react_query.UseMutationResult<{
14364
+ data: {
14365
+ configured: {
14366
+ provider_id: string;
14367
+ }[];
14368
+ skipped: {
14369
+ provider_id: string;
14370
+ reason: "no_user_mapping";
14371
+ }[];
14372
+ };
14373
+ }, openapi_typescript_helpers.ErrorResponse<{
14374
+ 200: {
14375
+ headers: {
14376
+ [name: string]: unknown;
14377
+ };
14378
+ content: {
14379
+ "application/json": {
14380
+ data: {
14381
+ configured: {
14382
+ provider_id: string;
14383
+ }[];
14384
+ skipped: {
14385
+ provider_id: string;
14386
+ reason: "no_user_mapping";
14387
+ }[];
14388
+ };
14389
+ };
14390
+ };
14391
+ };
14392
+ 401: {
14393
+ headers: {
14394
+ [name: string]: unknown;
14395
+ };
14396
+ content: {
14397
+ "application/json": {
14398
+ errors: {
14399
+ detail: string;
14400
+ status?: string;
14401
+ title?: string;
14402
+ }[];
14403
+ };
14404
+ };
14405
+ };
14406
+ 404: {
14407
+ headers: {
14408
+ [name: string]: unknown;
14409
+ };
14410
+ content: {
14411
+ "application/json": {
14412
+ errors: {
14413
+ detail: "Not Found";
14414
+ status: "404";
14415
+ }[];
14416
+ };
14417
+ };
14418
+ };
14419
+ 422: {
14420
+ headers: {
14421
+ [name: string]: unknown;
14422
+ };
14423
+ content: {
14424
+ "application/json": {
14425
+ errors: {
14426
+ code?: string | null;
14427
+ detail: string;
14428
+ source: {
14429
+ pointer: string;
14430
+ };
14431
+ title: string;
14432
+ }[];
14433
+ };
14434
+ };
14435
+ };
14436
+ }, `${string}/${string}`>, openapi_fetch.FetchOptions<{
14437
+ parameters: {
14438
+ query?: never;
14439
+ header?: never;
14440
+ path: {
14441
+ service_id: string;
14442
+ };
14443
+ cookie?: never;
14444
+ };
14445
+ requestBody: {
14446
+ content: {
14447
+ "application/json": {
14448
+ connected_account_id: string;
14449
+ };
14450
+ };
14451
+ };
14452
+ responses: {
14453
+ 200: {
14454
+ headers: {
14455
+ [name: string]: unknown;
14456
+ };
14457
+ content: {
14458
+ "application/json": {
14459
+ data: {
14460
+ configured: {
14461
+ provider_id: string;
14462
+ }[];
14463
+ skipped: {
14464
+ provider_id: string;
14465
+ reason: "no_user_mapping";
14466
+ }[];
14467
+ };
14468
+ };
14469
+ };
14470
+ };
14471
+ 401: {
14472
+ headers: {
14473
+ [name: string]: unknown;
14474
+ };
14475
+ content: {
14476
+ "application/json": {
14477
+ errors: {
14478
+ detail: string;
14479
+ status?: string;
14480
+ title?: string;
14481
+ }[];
14482
+ };
14483
+ };
14484
+ };
14485
+ 404: {
14486
+ headers: {
14487
+ [name: string]: unknown;
14488
+ };
14489
+ content: {
14490
+ "application/json": {
14491
+ errors: {
14492
+ detail: "Not Found";
14493
+ status: "404";
14494
+ }[];
14495
+ };
14496
+ };
14497
+ };
14498
+ 422: {
14499
+ headers: {
14500
+ [name: string]: unknown;
14501
+ };
14502
+ content: {
14503
+ "application/json": {
14504
+ errors: {
14505
+ code?: string | null;
14506
+ detail: string;
14507
+ source: {
14508
+ pointer: string;
14509
+ };
14510
+ title: string;
14511
+ }[];
14512
+ };
14513
+ };
14514
+ };
14515
+ };
14516
+ }>>;
14517
+
14518
+ interface Options$12 extends MutationOptionsFor<"put", "/v1/services/{service_id}/providers/{provider_id}/conferencing"> {
14519
+ client?: QueryClient;
14520
+ }
14521
+ declare const useSetServiceProviderConferencing: (options?: Options$12) => _tanstack_react_query.UseMutationResult<{
14522
+ data: {
14523
+ conferencing_provider: "zoom_admin";
14524
+ connected_account: {
14525
+ connection_scope: "user" | "account";
14526
+ created_at: string;
14527
+ display_name: string | null;
14528
+ email: string;
14529
+ external_account_id: string | null;
14530
+ external_subject: string;
14531
+ id: string;
14532
+ object: "connected_account";
14533
+ provider: "google" | "microsoft" | "zoom_admin";
14534
+ status: "active" | "reconnect_required" | "insufficient_permissions";
14535
+ updated_at: string;
14536
+ user_id: string | null;
14537
+ };
14538
+ external_user: {
14539
+ email: string | null;
14540
+ first_name: string | null;
14541
+ id: string;
14542
+ last_name: string | null;
14543
+ object: "external_user";
14544
+ status: "active" | "inactive" | "pending" | null;
14545
+ };
14546
+ object: "service_provider_conferencing";
14547
+ provider_id: string;
14548
+ service_id: string;
14549
+ };
14550
+ }, openapi_typescript_helpers.ErrorResponse<{
14551
+ 200: {
14552
+ headers: {
14553
+ [name: string]: unknown;
14554
+ };
14555
+ content: {
14556
+ "application/json": {
14557
+ data: {
14558
+ conferencing_provider: "zoom_admin";
14559
+ connected_account: {
14560
+ connection_scope: "user" | "account";
14561
+ created_at: string;
14562
+ display_name: string | null;
14563
+ email: string;
14564
+ external_account_id: string | null;
14565
+ external_subject: string;
14566
+ id: string;
14567
+ object: "connected_account";
14568
+ provider: "google" | "microsoft" | "zoom_admin";
14569
+ status: "active" | "reconnect_required" | "insufficient_permissions";
14570
+ updated_at: string;
14571
+ user_id: string | null;
14572
+ };
14573
+ external_user: {
14574
+ email: string | null;
14575
+ first_name: string | null;
14576
+ id: string;
14577
+ last_name: string | null;
14578
+ object: "external_user";
14579
+ status: "active" | "inactive" | "pending" | null;
14580
+ };
14581
+ object: "service_provider_conferencing";
14582
+ provider_id: string;
14583
+ service_id: string;
14584
+ };
14585
+ };
14586
+ };
14587
+ };
14588
+ 401: {
14589
+ headers: {
14590
+ [name: string]: unknown;
14591
+ };
14592
+ content: {
14593
+ "application/json": {
14594
+ errors: {
14595
+ detail: string;
14596
+ status?: string;
14597
+ title?: string;
14598
+ }[];
14599
+ };
14600
+ };
14601
+ };
14602
+ 404: {
14603
+ headers: {
14604
+ [name: string]: unknown;
14605
+ };
14606
+ content: {
14607
+ "application/json": {
14608
+ errors: {
14609
+ detail: "Not Found";
14610
+ status: "404";
14611
+ }[];
14612
+ };
14613
+ };
14614
+ };
14615
+ 422: {
14616
+ headers: {
14617
+ [name: string]: unknown;
14618
+ };
14619
+ content: {
14620
+ "application/json": {
14621
+ errors: {
14622
+ code?: string | null;
14623
+ detail: string;
14624
+ source: {
14625
+ pointer: string;
14626
+ };
14627
+ title: string;
14628
+ }[];
14629
+ };
14630
+ };
14631
+ };
14632
+ 502: {
14633
+ headers: {
14634
+ [name: string]: unknown;
14635
+ };
14636
+ content: {
14637
+ "application/json": {
14638
+ errors: {
14639
+ code?: string | null;
14640
+ detail: string;
14641
+ status?: string;
14642
+ title?: string;
14643
+ }[];
14644
+ };
14645
+ };
14646
+ };
14647
+ }, `${string}/${string}`>, openapi_fetch.FetchOptions<{
14648
+ parameters: {
14649
+ query?: never;
14650
+ header?: never;
14651
+ path: {
14652
+ service_id: string;
14653
+ provider_id: string;
14654
+ };
14655
+ cookie?: never;
14656
+ };
14657
+ requestBody: {
14658
+ content: {
14659
+ "application/json": {
14660
+ connected_account_id: string;
14661
+ external_user_id: string;
14662
+ } | {
14663
+ connected_account_id: string;
14664
+ email: string;
14665
+ };
14666
+ };
14667
+ };
14668
+ responses: {
14669
+ 200: {
14670
+ headers: {
14671
+ [name: string]: unknown;
14672
+ };
14673
+ content: {
14674
+ "application/json": {
14675
+ data: {
14676
+ conferencing_provider: "zoom_admin";
14677
+ connected_account: {
14678
+ connection_scope: "user" | "account";
14679
+ created_at: string;
14680
+ display_name: string | null;
14681
+ email: string;
14682
+ external_account_id: string | null;
14683
+ external_subject: string;
14684
+ id: string;
14685
+ object: "connected_account";
14686
+ provider: "google" | "microsoft" | "zoom_admin";
14687
+ status: "active" | "reconnect_required" | "insufficient_permissions";
14688
+ updated_at: string;
14689
+ user_id: string | null;
14690
+ };
14691
+ external_user: {
14692
+ email: string | null;
14693
+ first_name: string | null;
14694
+ id: string;
14695
+ last_name: string | null;
14696
+ object: "external_user";
14697
+ status: "active" | "inactive" | "pending" | null;
14698
+ };
14699
+ object: "service_provider_conferencing";
14700
+ provider_id: string;
14701
+ service_id: string;
14702
+ };
14703
+ };
14704
+ };
14705
+ };
14706
+ 401: {
14707
+ headers: {
14708
+ [name: string]: unknown;
14709
+ };
14710
+ content: {
14711
+ "application/json": {
14712
+ errors: {
14713
+ detail: string;
14714
+ status?: string;
14715
+ title?: string;
14716
+ }[];
14717
+ };
14718
+ };
14719
+ };
14720
+ 404: {
14110
14721
  headers: {
14111
14722
  [name: string]: unknown;
14112
14723
  };
14113
14724
  content: {
14114
14725
  "application/json": {
14115
14726
  errors: {
14116
- code?: string | null;
14117
- detail: string;
14118
- source: {
14119
- pointer: string;
14120
- };
14121
- title: string;
14727
+ detail: "Not Found";
14728
+ status: "404";
14122
14729
  }[];
14123
14730
  };
14124
14731
  };
14125
14732
  };
14126
- 404: {
14733
+ 422: {
14127
14734
  headers: {
14128
14735
  [name: string]: unknown;
14129
14736
  };
@@ -14140,7 +14747,7 @@ declare const useReschedulePublicAppointment: (options?: Options$10) => _tanstac
14140
14747
  };
14141
14748
  };
14142
14749
  };
14143
- 422: {
14750
+ 502: {
14144
14751
  headers: {
14145
14752
  [name: string]: unknown;
14146
14753
  };
@@ -14149,10 +14756,8 @@ declare const useReschedulePublicAppointment: (options?: Options$10) => _tanstac
14149
14756
  errors: {
14150
14757
  code?: string | null;
14151
14758
  detail: string;
14152
- source: {
14153
- pointer: string;
14154
- };
14155
- title: string;
14759
+ status?: string;
14760
+ title?: string;
14156
14761
  }[];
14157
14762
  };
14158
14763
  };
@@ -14160,10 +14765,10 @@ declare const useReschedulePublicAppointment: (options?: Options$10) => _tanstac
14160
14765
  };
14161
14766
  }>>;
14162
14767
 
14163
- interface Options$$ extends MutationOptionsFor<"put", "/v1/connected_accounts/{connected_account_id}/user_mappings/{provider_id}"> {
14768
+ interface Options$11 extends MutationOptionsFor<"put", "/v1/connected_accounts/{connected_account_id}/user_mappings/{provider_id}"> {
14164
14769
  client?: QueryClient;
14165
14770
  }
14166
- declare const useSetUserMapping: (options?: Options$$) => _tanstack_react_query.UseMutationResult<{
14771
+ declare const useSetUserMapping: (options?: Options$11) => _tanstack_react_query.UseMutationResult<{
14167
14772
  data: {
14168
14773
  external_user: {
14169
14774
  email: string | null;
@@ -14402,10 +15007,10 @@ declare const useSetUserMapping: (options?: Options$$) => _tanstack_react_query.
14402
15007
  };
14403
15008
  }>>;
14404
15009
 
14405
- interface Options$_ extends MutationOptionsFor<"post", "/v1/services/{service_id}/forms/sort"> {
15010
+ interface Options$10 extends MutationOptionsFor<"post", "/v1/services/{service_id}/forms/sort"> {
14406
15011
  client?: QueryClient;
14407
15012
  }
14408
- declare const useSortServiceForms: (options?: Options$_) => _tanstack_react_query.UseMutationResult<{
15013
+ declare const useSortServiceForms: (options?: Options$10) => _tanstack_react_query.UseMutationResult<{
14409
15014
  data: {
14410
15015
  created_at: string;
14411
15016
  form_id: string;
@@ -14560,10 +15165,10 @@ declare const useSortServiceForms: (options?: Options$_) => _tanstack_react_quer
14560
15165
  };
14561
15166
  }>>;
14562
15167
 
14563
- interface Options$Z extends MutationOptionsFor<"post", "/v1/connected_accounts/{connected_account_id}/external_users/sync"> {
15168
+ interface Options$$ extends MutationOptionsFor<"post", "/v1/connected_accounts/{connected_account_id}/external_users/sync"> {
14564
15169
  client?: QueryClient;
14565
15170
  }
14566
- declare const useSyncConnectedAccountExternalUsers: (options?: Options$Z) => _tanstack_react_query.UseMutationResult<{
15171
+ declare const useSyncConnectedAccountExternalUsers: (options?: Options$$) => _tanstack_react_query.UseMutationResult<{
14567
15172
  data: {
14568
15173
  email: string | null;
14569
15174
  first_name: string | null;
@@ -14705,10 +15310,158 @@ declare const useSyncConnectedAccountExternalUsers: (options?: Options$Z) => _ta
14705
15310
  };
14706
15311
  }>>;
14707
15312
 
14708
- interface Options$Y extends MutationOptionsFor<"patch", "/v1/accounts/{account_id}"> {
15313
+ interface Options$_ extends MutationOptionsFor<"post", "/v1/services/{service_id}/conferencing/sync"> {
15314
+ client?: QueryClient;
15315
+ }
15316
+ declare const useSyncServiceConferencing: (options?: Options$_) => _tanstack_react_query.UseMutationResult<{
15317
+ data: {
15318
+ configured: {
15319
+ provider_id: string;
15320
+ }[];
15321
+ skipped: {
15322
+ provider_id: string;
15323
+ reason: "no_user_mapping";
15324
+ }[];
15325
+ };
15326
+ }, openapi_typescript_helpers.ErrorResponse<{
15327
+ 200: {
15328
+ headers: {
15329
+ [name: string]: unknown;
15330
+ };
15331
+ content: {
15332
+ "application/json": {
15333
+ data: {
15334
+ configured: {
15335
+ provider_id: string;
15336
+ }[];
15337
+ skipped: {
15338
+ provider_id: string;
15339
+ reason: "no_user_mapping";
15340
+ }[];
15341
+ };
15342
+ };
15343
+ };
15344
+ };
15345
+ 401: {
15346
+ headers: {
15347
+ [name: string]: unknown;
15348
+ };
15349
+ content: {
15350
+ "application/json": {
15351
+ errors: {
15352
+ detail: string;
15353
+ status?: string;
15354
+ title?: string;
15355
+ }[];
15356
+ };
15357
+ };
15358
+ };
15359
+ 404: {
15360
+ headers: {
15361
+ [name: string]: unknown;
15362
+ };
15363
+ content: {
15364
+ "application/json": {
15365
+ errors: {
15366
+ detail: "Not Found";
15367
+ status: "404";
15368
+ }[];
15369
+ };
15370
+ };
15371
+ };
15372
+ 422: {
15373
+ headers: {
15374
+ [name: string]: unknown;
15375
+ };
15376
+ content: {
15377
+ "application/json": {
15378
+ errors: {
15379
+ code?: string | null;
15380
+ detail: string;
15381
+ status?: string;
15382
+ title?: string;
15383
+ }[];
15384
+ };
15385
+ };
15386
+ };
15387
+ }, `${string}/${string}`>, openapi_fetch.FetchOptions<{
15388
+ parameters: {
15389
+ query?: never;
15390
+ header?: never;
15391
+ path: {
15392
+ service_id: string;
15393
+ };
15394
+ cookie?: never;
15395
+ };
15396
+ requestBody?: never;
15397
+ responses: {
15398
+ 200: {
15399
+ headers: {
15400
+ [name: string]: unknown;
15401
+ };
15402
+ content: {
15403
+ "application/json": {
15404
+ data: {
15405
+ configured: {
15406
+ provider_id: string;
15407
+ }[];
15408
+ skipped: {
15409
+ provider_id: string;
15410
+ reason: "no_user_mapping";
15411
+ }[];
15412
+ };
15413
+ };
15414
+ };
15415
+ };
15416
+ 401: {
15417
+ headers: {
15418
+ [name: string]: unknown;
15419
+ };
15420
+ content: {
15421
+ "application/json": {
15422
+ errors: {
15423
+ detail: string;
15424
+ status?: string;
15425
+ title?: string;
15426
+ }[];
15427
+ };
15428
+ };
15429
+ };
15430
+ 404: {
15431
+ headers: {
15432
+ [name: string]: unknown;
15433
+ };
15434
+ content: {
15435
+ "application/json": {
15436
+ errors: {
15437
+ detail: "Not Found";
15438
+ status: "404";
15439
+ }[];
15440
+ };
15441
+ };
15442
+ };
15443
+ 422: {
15444
+ headers: {
15445
+ [name: string]: unknown;
15446
+ };
15447
+ content: {
15448
+ "application/json": {
15449
+ errors: {
15450
+ code?: string | null;
15451
+ detail: string;
15452
+ status?: string;
15453
+ title?: string;
15454
+ }[];
15455
+ };
15456
+ };
15457
+ };
15458
+ };
15459
+ }>>;
15460
+
15461
+ interface Options$Z extends MutationOptionsFor<"patch", "/v1/accounts/{account_id}"> {
14709
15462
  client?: QueryClient;
14710
15463
  }
14711
- declare const useUpdateAccount: (options?: Options$Y) => _tanstack_react_query.UseMutationResult<{
15464
+ declare const useUpdateAccount: (options?: Options$Z) => _tanstack_react_query.UseMutationResult<{
14712
15465
  data?: {
14713
15466
  created_at: string;
14714
15467
  id: string;
@@ -14857,16 +15610,18 @@ declare const useUpdateAccount: (options?: Options$Y) => _tanstack_react_query.U
14857
15610
  };
14858
15611
  }>>;
14859
15612
 
14860
- interface Options$X extends MutationOptionsFor<"patch", "/v1/users/{user_id}"> {
15613
+ interface Options$Y extends MutationOptionsFor<"patch", "/v1/users/{user_id}"> {
14861
15614
  client?: QueryClient;
14862
15615
  }
14863
- declare const useUpdateAccountUser: (options?: Options$X) => _tanstack_react_query.UseMutationResult<{
15616
+ declare const useUpdateAccountUser: (options?: Options$Y) => _tanstack_react_query.UseMutationResult<{
14864
15617
  object: "account_user";
14865
15618
  passive: boolean;
14866
15619
  roles: {
15620
+ denied_permissions: string[];
14867
15621
  id: string;
14868
15622
  name: string;
14869
15623
  object: "role";
15624
+ permissions: string[];
14870
15625
  type: "admin" | "staff" | "superuser" | "custom";
14871
15626
  }[];
14872
15627
  user: {
@@ -14888,9 +15643,11 @@ declare const useUpdateAccountUser: (options?: Options$X) => _tanstack_react_que
14888
15643
  object: "account_user";
14889
15644
  passive: boolean;
14890
15645
  roles: {
15646
+ denied_permissions: string[];
14891
15647
  id: string;
14892
15648
  name: string;
14893
15649
  object: "role";
15650
+ permissions: string[];
14894
15651
  type: "admin" | "staff" | "superuser" | "custom";
14895
15652
  }[];
14896
15653
  user: {
@@ -14982,9 +15739,11 @@ declare const useUpdateAccountUser: (options?: Options$X) => _tanstack_react_que
14982
15739
  object: "account_user";
14983
15740
  passive: boolean;
14984
15741
  roles: {
15742
+ denied_permissions: string[];
14985
15743
  id: string;
14986
15744
  name: string;
14987
15745
  object: "role";
15746
+ permissions: string[];
14988
15747
  type: "admin" | "staff" | "superuser" | "custom";
14989
15748
  }[];
14990
15749
  user: {
@@ -15048,10 +15807,10 @@ declare const useUpdateAccountUser: (options?: Options$X) => _tanstack_react_que
15048
15807
  };
15049
15808
  }>>;
15050
15809
 
15051
- interface Options$W extends MutationOptionsFor<"patch", "/v1/blocks/{block_id}"> {
15810
+ interface Options$X extends MutationOptionsFor<"patch", "/v1/blocks/{block_id}"> {
15052
15811
  client?: QueryClient;
15053
15812
  }
15054
- declare const useUpdateBlock: (options?: Options$W) => _tanstack_react_query.UseMutationResult<{
15813
+ declare const useUpdateBlock: (options?: Options$X) => _tanstack_react_query.UseMutationResult<{
15055
15814
  data: {
15056
15815
  all_day: boolean;
15057
15816
  attachment_type: "location" | "service" | "provider" | "service_provider";
@@ -15236,10 +15995,10 @@ declare const useUpdateBlock: (options?: Options$W) => _tanstack_react_query.Use
15236
15995
  };
15237
15996
  }> | undefined>;
15238
15997
 
15239
- interface Options$V extends MutationOptionsFor<"patch", "/v1/booking_intents/{booking_intent_id}"> {
15998
+ interface Options$W extends MutationOptionsFor<"patch", "/v1/booking_intents/{booking_intent_id}"> {
15240
15999
  client?: QueryClient;
15241
16000
  }
15242
- declare const useUpdateBookingIntent: (options?: Options$V) => _tanstack_react_query.UseMutationResult<{
16001
+ declare const useUpdateBookingIntent: (options?: Options$W) => _tanstack_react_query.UseMutationResult<{
15243
16002
  data: {
15244
16003
  abandoned_at?: string | null;
15245
16004
  appointment?: {
@@ -16839,10 +17598,10 @@ declare const useUpdateBookingIntent: (options?: Options$V) => _tanstack_react_q
16839
17598
  };
16840
17599
  }>>;
16841
17600
 
16842
- interface Options$U extends MutationOptionsFor<"patch", "/v1/booking_links/{booking_link_id}"> {
17601
+ interface Options$V extends MutationOptionsFor<"patch", "/v1/booking_links/{booking_link_id}"> {
16843
17602
  client?: QueryClient;
16844
17603
  }
16845
- declare const useUpdateBookingLink: (options?: Options$U) => _tanstack_react_query.UseMutationResult<{
17604
+ declare const useUpdateBookingLink: (options?: Options$V) => _tanstack_react_query.UseMutationResult<{
16846
17605
  data: {
16847
17606
  client?: {
16848
17607
  created_at: string;
@@ -17131,10 +17890,10 @@ declare const useUpdateBookingLink: (options?: Options$U) => _tanstack_react_que
17131
17890
  };
17132
17891
  }>>;
17133
17892
 
17134
- interface Options$T extends MutationOptionsFor<"patch", "/v1/cancellation_reasons/{cancellation_reason_id}"> {
17893
+ interface Options$U extends MutationOptionsFor<"patch", "/v1/cancellation_reasons/{cancellation_reason_id}"> {
17135
17894
  client?: QueryClient;
17136
17895
  }
17137
- declare const useUpdateCancellationReason: (options?: Options$T) => _tanstack_react_query.UseMutationResult<{
17896
+ declare const useUpdateCancellationReason: (options?: Options$U) => _tanstack_react_query.UseMutationResult<{
17138
17897
  data: Record<string, never>;
17139
17898
  }, openapi_typescript_helpers.ErrorResponse<{
17140
17899
  200: {
@@ -17265,10 +18024,10 @@ declare const useUpdateCancellationReason: (options?: Options$T) => _tanstack_re
17265
18024
  };
17266
18025
  }>>;
17267
18026
 
17268
- interface Options$S extends MutationOptionsFor<"patch", "/v1/clients/{client_id}"> {
18027
+ interface Options$T extends MutationOptionsFor<"patch", "/v1/clients/{client_id}"> {
17269
18028
  client?: QueryClient;
17270
18029
  }
17271
- declare const useUpdateClient: (options?: Options$S) => _tanstack_react_query.UseMutationResult<{
18030
+ declare const useUpdateClient: (options?: Options$T) => _tanstack_react_query.UseMutationResult<{
17272
18031
  data: {
17273
18032
  created_at: string;
17274
18033
  email?: string | null;
@@ -17465,10 +18224,10 @@ declare const useUpdateClient: (options?: Options$S) => _tanstack_react_query.Us
17465
18224
  };
17466
18225
  }>>;
17467
18226
 
17468
- interface Options$R extends MutationOptionsFor<"patch", "/v1/client_fields/{client_field_id}"> {
18227
+ interface Options$S extends MutationOptionsFor<"patch", "/v1/client_fields/{client_field_id}"> {
17469
18228
  client?: QueryClient;
17470
18229
  }
17471
- declare const useUpdateClientField: (options?: Options$R) => _tanstack_react_query.UseMutationResult<{
18230
+ declare const useUpdateClientField: (options?: Options$S) => _tanstack_react_query.UseMutationResult<{
17472
18231
  data: Record<string, never>;
17473
18232
  }, openapi_typescript_helpers.ErrorResponse<{
17474
18233
  200: {
@@ -17608,10 +18367,10 @@ declare const useUpdateClientField: (options?: Options$R) => _tanstack_react_que
17608
18367
  };
17609
18368
  }>>;
17610
18369
 
17611
- interface Options$Q extends MutationOptionsFor<"patch", "/v1/connected_accounts/{connected_account_id}"> {
18370
+ interface Options$R extends MutationOptionsFor<"patch", "/v1/connected_accounts/{connected_account_id}"> {
17612
18371
  client?: QueryClient;
17613
18372
  }
17614
- declare const useUpdateConnectedAccount: (options?: Options$Q) => _tanstack_react_query.UseMutationResult<{
18373
+ declare const useUpdateConnectedAccount: (options?: Options$R) => _tanstack_react_query.UseMutationResult<{
17615
18374
  data: {
17616
18375
  connection_scope: "user" | "account";
17617
18376
  created_at: string;
@@ -17781,10 +18540,10 @@ declare const useUpdateConnectedAccount: (options?: Options$Q) => _tanstack_reac
17781
18540
  };
17782
18541
  }>>;
17783
18542
 
17784
- interface Options$P extends MutationOptionsFor<"patch", "/v1/forms/{form_id}"> {
18543
+ interface Options$Q extends MutationOptionsFor<"patch", "/v1/forms/{form_id}"> {
17785
18544
  client?: QueryClient;
17786
18545
  }
17787
- declare const useUpdateForm: (options?: Options$P) => _tanstack_react_query.UseMutationResult<{
18546
+ declare const useUpdateForm: (options?: Options$Q) => _tanstack_react_query.UseMutationResult<{
17788
18547
  data: {
17789
18548
  created_at: string;
17790
18549
  field_count: number;
@@ -18008,10 +18767,10 @@ declare const useUpdateForm: (options?: Options$P) => _tanstack_react_query.UseM
18008
18767
  };
18009
18768
  }>>;
18010
18769
 
18011
- interface Options$O extends MutationOptionsFor<"patch", "/v1/openings/{opening_id}"> {
18770
+ interface Options$P extends MutationOptionsFor<"patch", "/v1/openings/{opening_id}"> {
18012
18771
  client?: QueryClient;
18013
18772
  }
18014
- declare const useUpdateOpening: (options?: Options$O) => _tanstack_react_query.UseMutationResult<{
18773
+ declare const useUpdateOpening: (options?: Options$P) => _tanstack_react_query.UseMutationResult<{
18015
18774
  data: {
18016
18775
  created_at: string;
18017
18776
  date: string;
@@ -18179,10 +18938,10 @@ declare const useUpdateOpening: (options?: Options$O) => _tanstack_react_query.U
18179
18938
  };
18180
18939
  }>>;
18181
18940
 
18182
- interface Options$N extends MutationOptionsFor<"patch", "/v1/providers/{provider_id}"> {
18941
+ interface Options$O extends MutationOptionsFor<"patch", "/v1/providers/{provider_id}"> {
18183
18942
  client?: QueryClient;
18184
18943
  }
18185
- declare const useUpdateProvider: (options?: Options$N) => _tanstack_react_query.UseMutationResult<{
18944
+ declare const useUpdateProvider: (options?: Options$O) => _tanstack_react_query.UseMutationResult<{
18186
18945
  data: {
18187
18946
  created_at: string;
18188
18947
  display_name: string;
@@ -18358,10 +19117,10 @@ declare const useUpdateProvider: (options?: Options$N) => _tanstack_react_query.
18358
19117
  };
18359
19118
  }>>;
18360
19119
 
18361
- interface Options$M extends MutationOptionsFor<"patch", "/v1/provider_schedules/{provider_schedule_id}"> {
19120
+ interface Options$N extends MutationOptionsFor<"patch", "/v1/provider_schedules/{provider_schedule_id}"> {
18362
19121
  client?: QueryClient;
18363
19122
  }
18364
- declare const useUpdateProviderSchedule: (options?: Options$M) => _tanstack_react_query.UseMutationResult<{
19123
+ declare const useUpdateProviderSchedule: (options?: Options$N) => _tanstack_react_query.UseMutationResult<{
18365
19124
  data: {
18366
19125
  created_at: string;
18367
19126
  effective_from: string;
@@ -18522,10 +19281,10 @@ declare const useUpdateProviderSchedule: (options?: Options$M) => _tanstack_reac
18522
19281
  };
18523
19282
  }> | undefined>;
18524
19283
 
18525
- interface Options$L extends MutationOptionsFor<"patch", "/v1/public/booking_intents/{booking_intent_id}"> {
19284
+ interface Options$M extends MutationOptionsFor<"patch", "/v1/public/booking_intents/{booking_intent_id}"> {
18526
19285
  client?: QueryClient;
18527
19286
  }
18528
- declare const useUpdatePublicBookingIntent: (options?: Options$L) => _tanstack_react_query.UseMutationResult<{
19287
+ declare const useUpdatePublicBookingIntent: (options?: Options$M) => _tanstack_react_query.UseMutationResult<{
18529
19288
  data: {
18530
19289
  appointment?: {
18531
19290
  add_to_calendar_url: string;
@@ -18912,10 +19671,10 @@ declare const useUpdatePublicBookingIntent: (options?: Options$L) => _tanstack_r
18912
19671
  };
18913
19672
  }>>;
18914
19673
 
18915
- interface Options$K extends MutationOptionsFor<"patch", "/v1/services/{service_id}"> {
19674
+ interface Options$L extends MutationOptionsFor<"patch", "/v1/services/{service_id}"> {
18916
19675
  client?: QueryClient;
18917
19676
  }
18918
- declare const useUpdateService: (options?: Options$K) => _tanstack_react_query.UseMutationResult<{
19677
+ declare const useUpdateService: (options?: Options$L) => _tanstack_react_query.UseMutationResult<{
18919
19678
  data: {
18920
19679
  appointment_type: "in_person" | "virtual";
18921
19680
  booking_policy: {
@@ -19357,10 +20116,10 @@ declare const useSavvyCalQueryClient: (overrideClient?: QueryClient) => openapi_
19357
20116
  declare const useSavvyCalFetchClient: (overrideClient?: FetchClient) => openapi_fetch.Client<_savvycal_appointments_core.paths, `${string}/${string}`>;
19358
20117
 
19359
20118
  type AccountByIdParams = paths["/v1/accounts/{account_id}"]["get"]["parameters"];
19360
- interface Options$J extends QueryOptionsFor<"get", "/v1/accounts/{account_id}"> {
20119
+ interface Options$K extends QueryOptionsFor<"get", "/v1/accounts/{account_id}"> {
19361
20120
  client?: QueryClient;
19362
20121
  }
19363
- declare const useAccountById: (account_id: AccountByIdParams["path"]["account_id"], options?: Options$J) => _tanstack_react_query.UseQueryResult<{
20122
+ declare const useAccountById: (account_id: AccountByIdParams["path"]["account_id"], options?: Options$K) => _tanstack_react_query.UseQueryResult<{
19364
20123
  data?: {
19365
20124
  created_at: string;
19366
20125
  id: string;
@@ -19414,17 +20173,19 @@ declare const useAccountById: (account_id: AccountByIdParams["path"]["account_id
19414
20173
  };
19415
20174
  }, `${string}/${string}`>>;
19416
20175
 
19417
- interface Options$I extends QueryOptionsFor<"get", "/v1/users"> {
20176
+ interface Options$J extends QueryOptionsFor<"get", "/v1/users"> {
19418
20177
  client?: QueryClient;
19419
20178
  }
19420
- declare const useAccountUsers: (options?: Options$I) => _tanstack_react_query.UseQueryResult<{
20179
+ declare const useAccountUsers: (options?: Options$J) => _tanstack_react_query.UseQueryResult<{
19421
20180
  data?: {
19422
20181
  object: "account_user";
19423
20182
  passive: boolean;
19424
20183
  roles: {
20184
+ denied_permissions: string[];
19425
20185
  id: string;
19426
20186
  name: string;
19427
20187
  object: "role";
20188
+ permissions: string[];
19428
20189
  type: "admin" | "staff" | "superuser" | "custom";
19429
20190
  }[];
19430
20191
  user: {
@@ -19448,9 +20209,11 @@ declare const useAccountUsers: (options?: Options$I) => _tanstack_react_query.Us
19448
20209
  object: "account_user";
19449
20210
  passive: boolean;
19450
20211
  roles: {
20212
+ denied_permissions: string[];
19451
20213
  id: string;
19452
20214
  name: string;
19453
20215
  object: "role";
20216
+ permissions: string[];
19454
20217
  type: "admin" | "staff" | "superuser" | "custom";
19455
20218
  }[];
19456
20219
  user: {
@@ -19500,10 +20263,10 @@ declare const useAccountUsers: (options?: Options$I) => _tanstack_react_query.Us
19500
20263
  }, `${string}/${string}`>>;
19501
20264
 
19502
20265
  type AccountsParams = paths["/v1/accounts"]["get"]["parameters"];
19503
- interface Options$H extends QueryOptionsFor<"get", "/v1/accounts"> {
20266
+ interface Options$I extends QueryOptionsFor<"get", "/v1/accounts"> {
19504
20267
  client?: QueryClient;
19505
20268
  }
19506
- declare const useAccounts: (queryParams?: AccountsParams["query"], options?: Options$H) => _tanstack_react_query.UseQueryResult<{
20269
+ declare const useAccounts: (queryParams?: AccountsParams["query"], options?: Options$I) => _tanstack_react_query.UseQueryResult<{
19507
20270
  data: {
19508
20271
  created_at: string;
19509
20272
  id: string;
@@ -19589,10 +20352,10 @@ declare const useAccounts: (queryParams?: AccountsParams["query"], options?: Opt
19589
20352
  }, `${string}/${string}`>>;
19590
20353
 
19591
20354
  type AppointmentParams = paths["/v1/appointments/{appointment_id}"]["get"]["parameters"];
19592
- interface Options$G extends QueryOptionsFor<"get", "/v1/appointments/{appointment_id}"> {
20355
+ interface Options$H extends QueryOptionsFor<"get", "/v1/appointments/{appointment_id}"> {
19593
20356
  client?: QueryClient;
19594
20357
  }
19595
- declare const useAppointment: (appointment_id: AppointmentParams["path"]["appointment_id"], queryParams?: AppointmentParams["query"], options?: Options$G) => _tanstack_react_query.UseQueryResult<{
20358
+ declare const useAppointment: (appointment_id: AppointmentParams["path"]["appointment_id"], queryParams?: AppointmentParams["query"], options?: Options$H) => _tanstack_react_query.UseQueryResult<{
19596
20359
  data: {
19597
20360
  add_to_calendar_url: string;
19598
20361
  appointment_type: "in_person" | "virtual";
@@ -20185,10 +20948,10 @@ declare const useAppointment: (appointment_id: AppointmentParams["path"]["appoin
20185
20948
  }, `${string}/${string}`>>;
20186
20949
 
20187
20950
  type AppointmentsParams = paths["/v1/appointments"]["get"]["parameters"];
20188
- interface Options$F extends QueryOptionsFor<"get", "/v1/appointments"> {
20951
+ interface Options$G extends QueryOptionsFor<"get", "/v1/appointments"> {
20189
20952
  client?: QueryClient;
20190
20953
  }
20191
- declare const useAppointments: (queryParams?: AppointmentsParams["query"], options?: Options$F) => _tanstack_react_query.UseQueryResult<{
20954
+ declare const useAppointments: (queryParams?: AppointmentsParams["query"], options?: Options$G) => _tanstack_react_query.UseQueryResult<{
20192
20955
  data: {
20193
20956
  add_to_calendar_url: string;
20194
20957
  appointment_type: "in_person" | "virtual";
@@ -20807,10 +21570,10 @@ declare const useAppointments: (queryParams?: AppointmentsParams["query"], optio
20807
21570
  }, `${string}/${string}`>>;
20808
21571
 
20809
21572
  type BlockParams = paths["/v1/blocks/{block_id}"]["get"]["parameters"];
20810
- interface Options$E extends QueryOptionsFor<"get", "/v1/blocks/{block_id}"> {
21573
+ interface Options$F extends QueryOptionsFor<"get", "/v1/blocks/{block_id}"> {
20811
21574
  client?: QueryClient;
20812
21575
  }
20813
- declare const useBlock: (block_id: BlockParams["path"]["block_id"], options?: Options$E) => _tanstack_react_query.UseQueryResult<{
21576
+ declare const useBlock: (block_id: BlockParams["path"]["block_id"], options?: Options$F) => _tanstack_react_query.UseQueryResult<{
20814
21577
  data: {
20815
21578
  all_day: boolean;
20816
21579
  attachment_type: "location" | "service" | "provider" | "service_provider";
@@ -20897,10 +21660,10 @@ declare const useBlock: (block_id: BlockParams["path"]["block_id"], options?: Op
20897
21660
  }, `${string}/${string}`>>;
20898
21661
 
20899
21662
  type BlocksParams = paths["/v1/blocks"]["get"]["parameters"];
20900
- interface Options$D extends QueryOptionsFor<"get", "/v1/blocks"> {
21663
+ interface Options$E extends QueryOptionsFor<"get", "/v1/blocks"> {
20901
21664
  client?: QueryClient;
20902
21665
  }
20903
- declare const useBlocks: (queryParams?: BlocksParams["query"], options?: Options$D) => _tanstack_react_query.UseQueryResult<{
21666
+ declare const useBlocks: (queryParams?: BlocksParams["query"], options?: Options$E) => _tanstack_react_query.UseQueryResult<{
20904
21667
  data: {
20905
21668
  all_day: boolean;
20906
21669
  attachment_type: "location" | "service" | "provider" | "service_provider";
@@ -21003,10 +21766,10 @@ declare const useBlocks: (queryParams?: BlocksParams["query"], options?: Options
21003
21766
  }, `${string}/${string}`>>;
21004
21767
 
21005
21768
  type BookingIntentParams = paths["/v1/booking_intents/{booking_intent_id}"]["get"]["parameters"];
21006
- interface Options$C extends QueryOptionsFor<"get", "/v1/booking_intents/{booking_intent_id}"> {
21769
+ interface Options$D extends QueryOptionsFor<"get", "/v1/booking_intents/{booking_intent_id}"> {
21007
21770
  client?: QueryClient;
21008
21771
  }
21009
- declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"]["booking_intent_id"], queryParams?: BookingIntentParams["query"], options?: Options$C) => _tanstack_react_query.UseQueryResult<{
21772
+ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"]["booking_intent_id"], queryParams?: BookingIntentParams["query"], options?: Options$D) => _tanstack_react_query.UseQueryResult<{
21010
21773
  data: {
21011
21774
  abandoned_at?: string | null;
21012
21775
  appointment?: {
@@ -22003,10 +22766,10 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
22003
22766
  }, `${string}/${string}`>>;
22004
22767
 
22005
22768
  type BookingIntentSlotsParams = paths["/v1/booking_intents/{booking_intent_id}/slots"]["get"]["parameters"];
22006
- interface Options$B extends QueryOptionsFor<"get", "/v1/booking_intents/{booking_intent_id}/slots"> {
22769
+ interface Options$C extends QueryOptionsFor<"get", "/v1/booking_intents/{booking_intent_id}/slots"> {
22007
22770
  client?: QueryClient;
22008
22771
  }
22009
- declare const useBookingIntentSlots: (booking_intent_id: BookingIntentSlotsParams["path"]["booking_intent_id"], queryParams?: BookingIntentSlotsParams["query"], options?: Options$B) => _tanstack_react_query.UseQueryResult<{
22772
+ declare const useBookingIntentSlots: (booking_intent_id: BookingIntentSlotsParams["path"]["booking_intent_id"], queryParams?: BookingIntentSlotsParams["query"], options?: Options$C) => _tanstack_react_query.UseQueryResult<{
22010
22773
  data: {
22011
22774
  end_at: string;
22012
22775
  end_at_ts: number;
@@ -22080,10 +22843,10 @@ declare const useBookingIntentSlots: (booking_intent_id: BookingIntentSlotsParam
22080
22843
  }, `${string}/${string}`>>;
22081
22844
 
22082
22845
  type BookingIntentsParams = paths["/v1/booking_intents"]["get"]["parameters"];
22083
- interface Options$A extends QueryOptionsFor<"get", "/v1/booking_intents"> {
22846
+ interface Options$B extends QueryOptionsFor<"get", "/v1/booking_intents"> {
22084
22847
  client?: QueryClient;
22085
22848
  }
22086
- declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], options?: Options$A) => _tanstack_react_query.UseQueryResult<{
22849
+ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], options?: Options$B) => _tanstack_react_query.UseQueryResult<{
22087
22850
  data: {
22088
22851
  abandoned_at?: string | null;
22089
22852
  appointment?: {
@@ -23096,10 +23859,10 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
23096
23859
  }, `${string}/${string}`>>;
23097
23860
 
23098
23861
  type BookingLinkParams = paths["/v1/booking_links/{booking_link_id}"]["get"]["parameters"];
23099
- interface Options$z extends QueryOptionsFor<"get", "/v1/booking_links/{booking_link_id}"> {
23862
+ interface Options$A extends QueryOptionsFor<"get", "/v1/booking_links/{booking_link_id}"> {
23100
23863
  client?: QueryClient;
23101
23864
  }
23102
- declare const useBookingLink: (booking_link_id: BookingLinkParams["path"]["booking_link_id"], options?: Options$z) => _tanstack_react_query.UseQueryResult<{
23865
+ declare const useBookingLink: (booking_link_id: BookingLinkParams["path"]["booking_link_id"], options?: Options$A) => _tanstack_react_query.UseQueryResult<{
23103
23866
  data: {
23104
23867
  client?: {
23105
23868
  created_at: string;
@@ -23242,10 +24005,10 @@ declare const useBookingLink: (booking_link_id: BookingLinkParams["path"]["booki
23242
24005
  }, `${string}/${string}`>>;
23243
24006
 
23244
24007
  type BookingLinksParams = paths["/v1/booking_links"]["get"]["parameters"];
23245
- interface Options$y extends QueryOptionsFor<"get", "/v1/booking_links"> {
24008
+ interface Options$z extends QueryOptionsFor<"get", "/v1/booking_links"> {
23246
24009
  client?: QueryClient;
23247
24010
  }
23248
- declare const useBookingLinks: (queryParams?: BookingLinksParams["query"], options?: Options$y) => _tanstack_react_query.UseQueryResult<{
24011
+ declare const useBookingLinks: (queryParams?: BookingLinksParams["query"], options?: Options$z) => _tanstack_react_query.UseQueryResult<{
23249
24012
  data: {
23250
24013
  client?: {
23251
24014
  created_at: string;
@@ -23404,10 +24167,10 @@ declare const useBookingLinks: (queryParams?: BookingLinksParams["query"], optio
23404
24167
  }, `${string}/${string}`>>;
23405
24168
 
23406
24169
  type CancellationReasonParams = paths["/v1/cancellation_reasons/{cancellation_reason_id}"]["get"]["parameters"];
23407
- interface Options$x extends QueryOptionsFor<"get", "/v1/cancellation_reasons/{cancellation_reason_id}"> {
24170
+ interface Options$y extends QueryOptionsFor<"get", "/v1/cancellation_reasons/{cancellation_reason_id}"> {
23408
24171
  client?: QueryClient;
23409
24172
  }
23410
- declare const useCancellationReason: (cancellation_reason_id: CancellationReasonParams["path"]["cancellation_reason_id"], options?: Options$x) => _tanstack_react_query.UseQueryResult<{
24173
+ declare const useCancellationReason: (cancellation_reason_id: CancellationReasonParams["path"]["cancellation_reason_id"], options?: Options$y) => _tanstack_react_query.UseQueryResult<{
23411
24174
  data: Record<string, never>;
23412
24175
  }, openapi_typescript_helpers.ErrorResponse<{
23413
24176
  200: {
@@ -23449,10 +24212,10 @@ declare const useCancellationReason: (cancellation_reason_id: CancellationReason
23449
24212
  };
23450
24213
  }, `${string}/${string}`>>;
23451
24214
 
23452
- interface Options$w extends QueryOptionsFor<"get", "/v1/cancellation_reasons"> {
24215
+ interface Options$x extends QueryOptionsFor<"get", "/v1/cancellation_reasons"> {
23453
24216
  client?: QueryClient;
23454
24217
  }
23455
- declare const useCancellationReasons: (options?: Options$w) => _tanstack_react_query.UseQueryResult<{
24218
+ declare const useCancellationReasons: (options?: Options$x) => _tanstack_react_query.UseQueryResult<{
23456
24219
  data: {
23457
24220
  id: string;
23458
24221
  name: string;
@@ -23509,10 +24272,10 @@ declare const useCancellationReasons: (options?: Options$w) => _tanstack_react_q
23509
24272
  }, `${string}/${string}`>>;
23510
24273
 
23511
24274
  type ClientParams = paths["/v1/clients/{client_id}"]["get"]["parameters"];
23512
- interface Options$v extends QueryOptionsFor<"get", "/v1/clients/{client_id}"> {
24275
+ interface Options$w extends QueryOptionsFor<"get", "/v1/clients/{client_id}"> {
23513
24276
  client?: QueryClient;
23514
24277
  }
23515
- declare const useClient: (client_id: ClientParams["path"]["client_id"], queryParams?: ClientParams["query"], options?: Options$v) => _tanstack_react_query.UseQueryResult<{
24278
+ declare const useClient: (client_id: ClientParams["path"]["client_id"], queryParams?: ClientParams["query"], options?: Options$w) => _tanstack_react_query.UseQueryResult<{
23516
24279
  data: {
23517
24280
  created_at: string;
23518
24281
  email?: string | null;
@@ -23591,10 +24354,10 @@ declare const useClient: (client_id: ClientParams["path"]["client_id"], queryPar
23591
24354
  }, `${string}/${string}`>>;
23592
24355
 
23593
24356
  type ClientFieldParams = paths["/v1/client_fields/{client_field_id}"]["get"]["parameters"];
23594
- interface Options$u extends QueryOptionsFor<"get", "/v1/client_fields/{client_field_id}"> {
24357
+ interface Options$v extends QueryOptionsFor<"get", "/v1/client_fields/{client_field_id}"> {
23595
24358
  client?: QueryClient;
23596
24359
  }
23597
- declare const useClientField: (client_field_id: ClientFieldParams["path"]["client_field_id"], options?: Options$u) => _tanstack_react_query.UseQueryResult<{
24360
+ declare const useClientField: (client_field_id: ClientFieldParams["path"]["client_field_id"], options?: Options$v) => _tanstack_react_query.UseQueryResult<{
23598
24361
  data: Record<string, never>;
23599
24362
  }, openapi_typescript_helpers.ErrorResponse<{
23600
24363
  200: {
@@ -23636,10 +24399,10 @@ declare const useClientField: (client_field_id: ClientFieldParams["path"]["clien
23636
24399
  };
23637
24400
  }, `${string}/${string}`>>;
23638
24401
 
23639
- interface Options$t extends QueryOptionsFor<"get", "/v1/client_fields"> {
24402
+ interface Options$u extends QueryOptionsFor<"get", "/v1/client_fields"> {
23640
24403
  client?: QueryClient;
23641
24404
  }
23642
- declare const useClientFields: (options?: Options$t) => _tanstack_react_query.UseQueryResult<{
24405
+ declare const useClientFields: (options?: Options$u) => _tanstack_react_query.UseQueryResult<{
23643
24406
  data: {
23644
24407
  created_at: string;
23645
24408
  description?: string | null;
@@ -23722,10 +24485,10 @@ declare const useClientFields: (options?: Options$t) => _tanstack_react_query.Us
23722
24485
  }, `${string}/${string}`>>;
23723
24486
 
23724
24487
  type ClientsParams = paths["/v1/clients"]["get"]["parameters"];
23725
- interface Options$s extends QueryOptionsFor<"get", "/v1/clients"> {
24488
+ interface Options$t extends QueryOptionsFor<"get", "/v1/clients"> {
23726
24489
  client?: QueryClient;
23727
24490
  }
23728
- declare const useClients: (queryParams?: ClientsParams["query"], options?: Options$s) => _tanstack_react_query.UseQueryResult<{
24491
+ declare const useClients: (queryParams?: ClientsParams["query"], options?: Options$t) => _tanstack_react_query.UseQueryResult<{
23729
24492
  data: {
23730
24493
  created_at: string;
23731
24494
  email?: string | null;
@@ -23820,10 +24583,10 @@ declare const useClients: (queryParams?: ClientsParams["query"], options?: Optio
23820
24583
  }, `${string}/${string}`>>;
23821
24584
 
23822
24585
  type ConnectedAccountParams = paths["/v1/connected_accounts/{connected_account_id}"]["get"]["parameters"];
23823
- interface Options$r extends QueryOptionsFor<"get", "/v1/connected_accounts/{connected_account_id}"> {
24586
+ interface Options$s extends QueryOptionsFor<"get", "/v1/connected_accounts/{connected_account_id}"> {
23824
24587
  client?: QueryClient;
23825
24588
  }
23826
- declare const useConnectedAccount: (connected_account_id: ConnectedAccountParams["path"]["connected_account_id"], options?: Options$r) => _tanstack_react_query.UseQueryResult<{
24589
+ declare const useConnectedAccount: (connected_account_id: ConnectedAccountParams["path"]["connected_account_id"], options?: Options$s) => _tanstack_react_query.UseQueryResult<{
23827
24590
  data: {
23828
24591
  connection_scope: "user" | "account";
23829
24592
  created_at: string;
@@ -23892,10 +24655,10 @@ declare const useConnectedAccount: (connected_account_id: ConnectedAccountParams
23892
24655
  }, `${string}/${string}`>>;
23893
24656
 
23894
24657
  type ConnectedAccountExternalUsersParams = paths["/v1/connected_accounts/{connected_account_id}/external_users"]["get"]["parameters"];
23895
- interface Options$q extends QueryOptionsFor<"get", "/v1/connected_accounts/{connected_account_id}/external_users"> {
24658
+ interface Options$r extends QueryOptionsFor<"get", "/v1/connected_accounts/{connected_account_id}/external_users"> {
23896
24659
  client?: QueryClient;
23897
24660
  }
23898
- declare const useConnectedAccountExternalUsers: (connected_account_id: ConnectedAccountExternalUsersParams["path"]["connected_account_id"], queryParams?: ConnectedAccountExternalUsersParams["query"], options?: Options$q) => _tanstack_react_query.UseQueryResult<{
24661
+ declare const useConnectedAccountExternalUsers: (connected_account_id: ConnectedAccountExternalUsersParams["path"]["connected_account_id"], queryParams?: ConnectedAccountExternalUsersParams["query"], options?: Options$r) => _tanstack_react_query.UseQueryResult<{
23899
24662
  data: {
23900
24663
  email: string | null;
23901
24664
  first_name: string | null;
@@ -23981,10 +24744,10 @@ declare const useConnectedAccountExternalUsers: (connected_account_id: Connected
23981
24744
  }, `${string}/${string}`>>;
23982
24745
 
23983
24746
  type ConnectedAccountsParams = paths["/v1/connected_accounts"]["get"]["parameters"];
23984
- interface Options$p extends QueryOptionsFor<"get", "/v1/connected_accounts"> {
24747
+ interface Options$q extends QueryOptionsFor<"get", "/v1/connected_accounts"> {
23985
24748
  client?: QueryClient;
23986
24749
  }
23987
- declare const useConnectedAccounts: (queryParams?: ConnectedAccountsParams["query"], options?: Options$p) => _tanstack_react_query.UseQueryResult<{
24750
+ declare const useConnectedAccounts: (queryParams?: ConnectedAccountsParams["query"], options?: Options$q) => _tanstack_react_query.UseQueryResult<{
23988
24751
  data: {
23989
24752
  connection_scope: "user" | "account";
23990
24753
  created_at: string;
@@ -24068,10 +24831,10 @@ declare const useConnectedAccounts: (queryParams?: ConnectedAccountsParams["quer
24068
24831
  };
24069
24832
  }, `${string}/${string}`>>;
24070
24833
 
24071
- interface Options$o extends QueryOptionsFor<"get", "/v1/account"> {
24834
+ interface Options$p extends QueryOptionsFor<"get", "/v1/account"> {
24072
24835
  client?: QueryClient;
24073
24836
  }
24074
- declare const useCurrentAccount: (options?: Options$o) => _tanstack_react_query.UseQueryResult<{
24837
+ declare const useCurrentAccount: (options?: Options$p) => _tanstack_react_query.UseQueryResult<{
24075
24838
  data?: {
24076
24839
  created_at: string;
24077
24840
  id: string;
@@ -24127,16 +24890,18 @@ declare const useCurrentAccount: (options?: Options$o) => _tanstack_react_query.
24127
24890
  };
24128
24891
  }, `${string}/${string}`>>;
24129
24892
 
24130
- interface Options$n extends QueryOptionsFor<"get", "/v1/user"> {
24893
+ interface Options$o extends QueryOptionsFor<"get", "/v1/user"> {
24131
24894
  client?: QueryClient;
24132
24895
  }
24133
- declare const useCurrentAccountUser: (options?: Options$n) => _tanstack_react_query.UseQueryResult<{
24896
+ declare const useCurrentAccountUser: (options?: Options$o) => _tanstack_react_query.UseQueryResult<{
24134
24897
  object: "account_user";
24135
24898
  passive: boolean;
24136
24899
  roles: {
24900
+ denied_permissions: string[];
24137
24901
  id: string;
24138
24902
  name: string;
24139
24903
  object: "role";
24904
+ permissions: string[];
24140
24905
  type: "admin" | "staff" | "superuser" | "custom";
24141
24906
  }[];
24142
24907
  user: {
@@ -24158,9 +24923,11 @@ declare const useCurrentAccountUser: (options?: Options$n) => _tanstack_react_qu
24158
24923
  object: "account_user";
24159
24924
  passive: boolean;
24160
24925
  roles: {
24926
+ denied_permissions: string[];
24161
24927
  id: string;
24162
24928
  name: string;
24163
24929
  object: "role";
24930
+ permissions: string[];
24164
24931
  type: "admin" | "staff" | "superuser" | "custom";
24165
24932
  }[];
24166
24933
  user: {
@@ -24206,10 +24973,10 @@ declare const useCurrentAccountUser: (options?: Options$n) => _tanstack_react_qu
24206
24973
  };
24207
24974
  }, `${string}/${string}`>>;
24208
24975
 
24209
- interface Options$m extends QueryOptionsFor<"get", "/v1/platform"> {
24976
+ interface Options$n extends QueryOptionsFor<"get", "/v1/platform"> {
24210
24977
  client?: QueryClient;
24211
24978
  }
24212
- declare const useCurrentPlatform: (options?: Options$m) => _tanstack_react_query.UseQueryResult<{
24979
+ declare const useCurrentPlatform: (options?: Options$n) => _tanstack_react_query.UseQueryResult<{
24213
24980
  data?: {
24214
24981
  created_at: string;
24215
24982
  id: string;
@@ -24266,10 +25033,10 @@ declare const useCurrentPlatform: (options?: Options$m) => _tanstack_react_query
24266
25033
  }, `${string}/${string}`>>;
24267
25034
 
24268
25035
  type EarliestPublicServiceSlotParams = paths["/v1/public/services/{service_id}/earliest_slot"]["get"]["parameters"];
24269
- interface Options$l extends QueryOptionsFor<"get", "/v1/public/services/{service_id}/earliest_slot"> {
25036
+ interface Options$m extends QueryOptionsFor<"get", "/v1/public/services/{service_id}/earliest_slot"> {
24270
25037
  client?: QueryClient;
24271
25038
  }
24272
- declare const useEarliestPublicServiceSlot: (service_id: EarliestPublicServiceSlotParams["path"]["service_id"], queryParams?: EarliestPublicServiceSlotParams["query"], options?: Options$l) => _tanstack_react_query.UseQueryResult<{
25039
+ declare const useEarliestPublicServiceSlot: (service_id: EarliestPublicServiceSlotParams["path"]["service_id"], queryParams?: EarliestPublicServiceSlotParams["query"], options?: Options$m) => _tanstack_react_query.UseQueryResult<{
24273
25040
  data: {
24274
25041
  end_at: string;
24275
25042
  end_at_ts: number;
@@ -24343,10 +25110,10 @@ declare const useEarliestPublicServiceSlot: (service_id: EarliestPublicServiceSl
24343
25110
  }, `${string}/${string}`>>;
24344
25111
 
24345
25112
  type FormParams = paths["/v1/forms/{form_id}"]["get"]["parameters"];
24346
- interface Options$k extends QueryOptionsFor<"get", "/v1/forms/{form_id}"> {
25113
+ interface Options$l extends QueryOptionsFor<"get", "/v1/forms/{form_id}"> {
24347
25114
  client?: QueryClient;
24348
25115
  }
24349
- declare const useForm: (form_id: FormParams["path"]["form_id"], options?: Options$k) => _tanstack_react_query.UseQueryResult<{
25116
+ declare const useForm: (form_id: FormParams["path"]["form_id"], options?: Options$l) => _tanstack_react_query.UseQueryResult<{
24350
25117
  data: {
24351
25118
  created_at: string;
24352
25119
  field_count: number;
@@ -24439,10 +25206,10 @@ declare const useForm: (form_id: FormParams["path"]["form_id"], options?: Option
24439
25206
  }, `${string}/${string}`>>;
24440
25207
 
24441
25208
  type FormsParams = paths["/v1/forms"]["get"]["parameters"];
24442
- interface Options$j extends QueryOptionsFor<"get", "/v1/forms"> {
25209
+ interface Options$k extends QueryOptionsFor<"get", "/v1/forms"> {
24443
25210
  client?: QueryClient;
24444
25211
  }
24445
- declare const useForms: (queryParams?: FormsParams["query"], options?: Options$j) => _tanstack_react_query.UseQueryResult<{
25212
+ declare const useForms: (queryParams?: FormsParams["query"], options?: Options$k) => _tanstack_react_query.UseQueryResult<{
24446
25213
  data: {
24447
25214
  created_at: string;
24448
25215
  field_count: number;
@@ -24551,10 +25318,10 @@ declare const useForms: (queryParams?: FormsParams["query"], options?: Options$j
24551
25318
  }, `${string}/${string}`>>;
24552
25319
 
24553
25320
  type OpeningParams = paths["/v1/openings/{opening_id}"]["get"]["parameters"];
24554
- interface Options$i extends QueryOptionsFor<"get", "/v1/openings/{opening_id}"> {
25321
+ interface Options$j extends QueryOptionsFor<"get", "/v1/openings/{opening_id}"> {
24555
25322
  client?: QueryClient;
24556
25323
  }
24557
- declare const useOpening: (opening_id: OpeningParams["path"]["opening_id"], options?: Options$i) => _tanstack_react_query.UseQueryResult<{
25324
+ declare const useOpening: (opening_id: OpeningParams["path"]["opening_id"], options?: Options$j) => _tanstack_react_query.UseQueryResult<{
24558
25325
  data: {
24559
25326
  created_at: string;
24560
25327
  date: string;
@@ -24619,10 +25386,10 @@ declare const useOpening: (opening_id: OpeningParams["path"]["opening_id"], opti
24619
25386
  }, `${string}/${string}`>>;
24620
25387
 
24621
25388
  type OpeningsParams = paths["/v1/openings"]["get"]["parameters"];
24622
- interface Options$h extends QueryOptionsFor<"get", "/v1/openings"> {
25389
+ interface Options$i extends QueryOptionsFor<"get", "/v1/openings"> {
24623
25390
  client?: QueryClient;
24624
25391
  }
24625
- declare const useOpenings: (queryParams?: OpeningsParams["query"], options?: Options$h) => _tanstack_react_query.UseQueryResult<{
25392
+ declare const useOpenings: (queryParams?: OpeningsParams["query"], options?: Options$i) => _tanstack_react_query.UseQueryResult<{
24626
25393
  data: {
24627
25394
  created_at: string;
24628
25395
  date: string;
@@ -24717,10 +25484,10 @@ declare const useOpenings: (queryParams?: OpeningsParams["query"], options?: Opt
24717
25484
  }, `${string}/${string}`>>;
24718
25485
 
24719
25486
  type ProviderParams = paths["/v1/providers/{provider_id}"]["get"]["parameters"];
24720
- interface Options$g extends QueryOptionsFor<"get", "/v1/providers/{provider_id}"> {
25487
+ interface Options$h extends QueryOptionsFor<"get", "/v1/providers/{provider_id}"> {
24721
25488
  client?: QueryClient;
24722
25489
  }
24723
- declare const useProvider: (provider_id: ProviderParams["path"]["provider_id"], options?: Options$g) => _tanstack_react_query.UseQueryResult<{
25490
+ declare const useProvider: (provider_id: ProviderParams["path"]["provider_id"], options?: Options$h) => _tanstack_react_query.UseQueryResult<{
24724
25491
  data: {
24725
25492
  created_at: string;
24726
25493
  display_name: string;
@@ -24789,10 +25556,10 @@ declare const useProvider: (provider_id: ProviderParams["path"]["provider_id"],
24789
25556
  }, `${string}/${string}`>>;
24790
25557
 
24791
25558
  type ProviderScheduleParams = paths["/v1/provider_schedules/{provider_schedule_id}"]["get"]["parameters"];
24792
- interface Options$f extends QueryOptionsFor<"get", "/v1/provider_schedules/{provider_schedule_id}"> {
25559
+ interface Options$g extends QueryOptionsFor<"get", "/v1/provider_schedules/{provider_schedule_id}"> {
24793
25560
  client?: QueryClient;
24794
25561
  }
24795
- declare const useProviderSchedule: (provider_schedule_id: ProviderScheduleParams["path"]["provider_schedule_id"], options?: Options$f) => _tanstack_react_query.UseQueryResult<{
25562
+ declare const useProviderSchedule: (provider_schedule_id: ProviderScheduleParams["path"]["provider_schedule_id"], options?: Options$g) => _tanstack_react_query.UseQueryResult<{
24796
25563
  data: {
24797
25564
  created_at: string;
24798
25565
  effective_from: string;
@@ -24867,10 +25634,10 @@ declare const useProviderSchedule: (provider_schedule_id: ProviderScheduleParams
24867
25634
  }, `${string}/${string}`>>;
24868
25635
 
24869
25636
  type ProviderSchedulesParams = paths["/v1/provider_schedules"]["get"]["parameters"];
24870
- interface Options$e extends QueryOptionsFor<"get", "/v1/provider_schedules"> {
25637
+ interface Options$f extends QueryOptionsFor<"get", "/v1/provider_schedules"> {
24871
25638
  client?: QueryClient;
24872
25639
  }
24873
- declare const useProviderSchedules: (queryParams?: ProviderSchedulesParams["query"], options?: Options$e) => _tanstack_react_query.UseQueryResult<{
25640
+ declare const useProviderSchedules: (queryParams?: ProviderSchedulesParams["query"], options?: Options$f) => _tanstack_react_query.UseQueryResult<{
24874
25641
  data: {
24875
25642
  created_at: string;
24876
25643
  effective_from: string;
@@ -24941,6 +25708,20 @@ declare const useProviderSchedules: (queryParams?: ProviderSchedulesParams["quer
24941
25708
  };
24942
25709
  };
24943
25710
  };
25711
+ 403: {
25712
+ headers: {
25713
+ [name: string]: unknown;
25714
+ };
25715
+ content: {
25716
+ "application/json": {
25717
+ errors: {
25718
+ detail: string;
25719
+ status?: string;
25720
+ title?: string;
25721
+ }[];
25722
+ };
25723
+ };
25724
+ };
24944
25725
  422: {
24945
25726
  headers: {
24946
25727
  [name: string]: unknown;
@@ -24961,10 +25742,10 @@ declare const useProviderSchedules: (queryParams?: ProviderSchedulesParams["quer
24961
25742
  }, `${string}/${string}`>>;
24962
25743
 
24963
25744
  type ProvidersParams = paths["/v1/providers"]["get"]["parameters"];
24964
- interface Options$d extends QueryOptionsFor<"get", "/v1/providers"> {
25745
+ interface Options$e extends QueryOptionsFor<"get", "/v1/providers"> {
24965
25746
  client?: QueryClient;
24966
25747
  }
24967
- declare const useProviders: (queryParams?: ProvidersParams["query"], options?: Options$d) => _tanstack_react_query.UseQueryResult<{
25748
+ declare const useProviders: (queryParams?: ProvidersParams["query"], options?: Options$e) => _tanstack_react_query.UseQueryResult<{
24968
25749
  data: {
24969
25750
  created_at: string;
24970
25751
  display_name: string;
@@ -25049,10 +25830,10 @@ declare const useProviders: (queryParams?: ProvidersParams["query"], options?: O
25049
25830
  }, `${string}/${string}`>>;
25050
25831
 
25051
25832
  type PublicAppointmentParams = paths["/v1/public/appointments/{appointment_id}"]["get"]["parameters"];
25052
- interface Options$c extends QueryOptionsFor<"get", "/v1/public/appointments/{appointment_id}"> {
25833
+ interface Options$d extends QueryOptionsFor<"get", "/v1/public/appointments/{appointment_id}"> {
25053
25834
  client?: QueryClient;
25054
25835
  }
25055
- declare const usePublicAppointment: (appointment_id: PublicAppointmentParams["path"]["appointment_id"], options?: Options$c) => _tanstack_react_query.UseQueryResult<{
25836
+ declare const usePublicAppointment: (appointment_id: PublicAppointmentParams["path"]["appointment_id"], options?: Options$d) => _tanstack_react_query.UseQueryResult<{
25056
25837
  data: {
25057
25838
  add_to_calendar_url: string;
25058
25839
  cancel_url: string;
@@ -25104,10 +25885,10 @@ declare const usePublicAppointment: (appointment_id: PublicAppointmentParams["pa
25104
25885
  }>;
25105
25886
 
25106
25887
  type PublicBookingIntentParams = paths["/v1/public/booking_intents/{booking_intent_id}"]["get"]["parameters"];
25107
- interface Options$b extends QueryOptionsFor<"get", "/v1/public/booking_intents/{booking_intent_id}"> {
25888
+ interface Options$c extends QueryOptionsFor<"get", "/v1/public/booking_intents/{booking_intent_id}"> {
25108
25889
  client?: QueryClient;
25109
25890
  }
25110
- declare const usePublicBookingIntent: (booking_intent_id: PublicBookingIntentParams["path"]["booking_intent_id"], options?: Options$b) => _tanstack_react_query.UseQueryResult<{
25891
+ declare const usePublicBookingIntent: (booking_intent_id: PublicBookingIntentParams["path"]["booking_intent_id"], options?: Options$c) => _tanstack_react_query.UseQueryResult<{
25111
25892
  data: {
25112
25893
  appointment?: {
25113
25894
  add_to_calendar_url: string;
@@ -25204,10 +25985,10 @@ declare const usePublicBookingIntent: (booking_intent_id: PublicBookingIntentPar
25204
25985
  }>;
25205
25986
 
25206
25987
  type PublicBookingIntentSlotsParams = paths["/v1/public/booking_intents/{booking_intent_id}/slots"]["get"]["parameters"];
25207
- interface Options$a extends QueryOptionsFor<"get", "/v1/public/booking_intents/{booking_intent_id}/slots"> {
25988
+ interface Options$b extends QueryOptionsFor<"get", "/v1/public/booking_intents/{booking_intent_id}/slots"> {
25208
25989
  client?: QueryClient;
25209
25990
  }
25210
- declare const usePublicBookingIntentSlots: (booking_intent_id: PublicBookingIntentSlotsParams["path"]["booking_intent_id"], queryParams?: PublicBookingIntentSlotsParams["query"], options?: Options$a) => _tanstack_react_query.UseQueryResult<{
25991
+ declare const usePublicBookingIntentSlots: (booking_intent_id: PublicBookingIntentSlotsParams["path"]["booking_intent_id"], queryParams?: PublicBookingIntentSlotsParams["query"], options?: Options$b) => _tanstack_react_query.UseQueryResult<{
25211
25992
  data: {
25212
25993
  end_at: string;
25213
25994
  end_at_ts: number;
@@ -25267,10 +26048,10 @@ declare const usePublicBookingIntentSlots: (booking_intent_id: PublicBookingInte
25267
26048
  }, `${string}/${string}`>>;
25268
26049
 
25269
26050
  type PublicCancellationReasonsParams = paths["/v1/public/appointments/{appointment_id}/cancellation_reasons"]["get"]["parameters"];
25270
- interface Options$9 extends QueryOptionsFor<"get", "/v1/public/appointments/{appointment_id}/cancellation_reasons"> {
26051
+ interface Options$a extends QueryOptionsFor<"get", "/v1/public/appointments/{appointment_id}/cancellation_reasons"> {
25271
26052
  client?: QueryClient;
25272
26053
  }
25273
- declare const usePublicCancellationReasons: (appointment_id: PublicCancellationReasonsParams["path"]["appointment_id"], options?: Options$9) => _tanstack_react_query.UseQueryResult<{
26054
+ declare const usePublicCancellationReasons: (appointment_id: PublicCancellationReasonsParams["path"]["appointment_id"], options?: Options$a) => _tanstack_react_query.UseQueryResult<{
25274
26055
  data: {
25275
26056
  id: string;
25276
26057
  name: string;
@@ -25289,10 +26070,10 @@ declare const usePublicCancellationReasons: (appointment_id: PublicCancellationR
25289
26070
  }>;
25290
26071
 
25291
26072
  type PublicServiceSlotsParams = paths["/v1/public/services/{service_id}/slots"]["get"]["parameters"];
25292
- interface Options$8 extends QueryOptionsFor<"get", "/v1/public/services/{service_id}/slots"> {
26073
+ interface Options$9 extends QueryOptionsFor<"get", "/v1/public/services/{service_id}/slots"> {
25293
26074
  client?: QueryClient;
25294
26075
  }
25295
- declare const usePublicServiceSlots: (service_id: PublicServiceSlotsParams["path"]["service_id"], queryParams?: PublicServiceSlotsParams["query"], options?: Options$8) => _tanstack_react_query.UseQueryResult<{
26076
+ declare const usePublicServiceSlots: (service_id: PublicServiceSlotsParams["path"]["service_id"], queryParams?: PublicServiceSlotsParams["query"], options?: Options$9) => _tanstack_react_query.UseQueryResult<{
25296
26077
  data: {
25297
26078
  end_at: string;
25298
26079
  end_at_ts: number;
@@ -25365,14 +26146,16 @@ declare const usePublicServiceSlots: (service_id: PublicServiceSlotsParams["path
25365
26146
  };
25366
26147
  }, `${string}/${string}`>>;
25367
26148
 
25368
- interface Options$7 extends QueryOptionsFor<"get", "/v1/roles"> {
26149
+ interface Options$8 extends QueryOptionsFor<"get", "/v1/roles"> {
25369
26150
  client?: QueryClient;
25370
26151
  }
25371
- declare const useRoles: (options?: Options$7) => _tanstack_react_query.UseQueryResult<{
26152
+ declare const useRoles: (options?: Options$8) => _tanstack_react_query.UseQueryResult<{
25372
26153
  data: {
26154
+ denied_permissions: string[];
25373
26155
  id: string;
25374
26156
  name: string;
25375
26157
  object: "role";
26158
+ permissions: string[];
25376
26159
  type: "admin" | "staff" | "superuser" | "custom";
25377
26160
  }[];
25378
26161
  }, openapi_typescript_helpers.ErrorResponse<{
@@ -25383,9 +26166,11 @@ declare const useRoles: (options?: Options$7) => _tanstack_react_query.UseQueryR
25383
26166
  content: {
25384
26167
  "application/json": {
25385
26168
  data: {
26169
+ denied_permissions: string[];
25386
26170
  id: string;
25387
26171
  name: string;
25388
26172
  object: "role";
26173
+ permissions: string[];
25389
26174
  type: "admin" | "staff" | "superuser" | "custom";
25390
26175
  }[];
25391
26176
  };
@@ -25425,10 +26210,10 @@ declare const useRoles: (options?: Options$7) => _tanstack_react_query.UseQueryR
25425
26210
  }, `${string}/${string}`>>;
25426
26211
 
25427
26212
  type ServiceParams = paths["/v1/services/{service_id}"]["get"]["parameters"];
25428
- interface Options$6 extends QueryOptionsFor<"get", "/v1/services/{service_id}"> {
26213
+ interface Options$7 extends QueryOptionsFor<"get", "/v1/services/{service_id}"> {
25429
26214
  client?: QueryClient;
25430
26215
  }
25431
- declare const useService: (service_id: ServiceParams["path"]["service_id"], options?: Options$6) => _tanstack_react_query.UseQueryResult<{
26216
+ declare const useService: (service_id: ServiceParams["path"]["service_id"], options?: Options$7) => _tanstack_react_query.UseQueryResult<{
25432
26217
  data: {
25433
26218
  appointment_type: "in_person" | "virtual";
25434
26219
  booking_policy: {
@@ -25621,10 +26406,10 @@ declare const useService: (service_id: ServiceParams["path"]["service_id"], opti
25621
26406
  }, `${string}/${string}`>>;
25622
26407
 
25623
26408
  type ServiceFormsParams = paths["/v1/services/{service_id}/forms"]["get"]["parameters"];
25624
- interface Options$5 extends QueryOptionsFor<"get", "/v1/services/{service_id}/forms"> {
26409
+ interface Options$6 extends QueryOptionsFor<"get", "/v1/services/{service_id}/forms"> {
25625
26410
  client?: QueryClient;
25626
26411
  }
25627
- declare const useServiceForms: (service_id: ServiceFormsParams["path"]["service_id"], options?: Options$5) => _tanstack_react_query.UseQueryResult<{
26412
+ declare const useServiceForms: (service_id: ServiceFormsParams["path"]["service_id"], options?: Options$6) => _tanstack_react_query.UseQueryResult<{
25628
26413
  data: {
25629
26414
  created_at: string;
25630
26415
  form_id: string;
@@ -25682,6 +26467,106 @@ declare const useServiceForms: (service_id: ServiceFormsParams["path"]["service_
25682
26467
  };
25683
26468
  }, `${string}/${string}`>>;
25684
26469
 
26470
+ type ServiceProviderConferencingParams = paths["/v1/services/{service_id}/providers/{provider_id}/conferencing"]["get"]["parameters"];
26471
+ interface Options$5 extends QueryOptionsFor<"get", "/v1/services/{service_id}/providers/{provider_id}/conferencing"> {
26472
+ client?: QueryClient;
26473
+ }
26474
+ declare const useServiceProviderConferencing: (service_id: ServiceProviderConferencingParams["path"]["service_id"], provider_id: ServiceProviderConferencingParams["path"]["provider_id"], options?: Options$5) => _tanstack_react_query.UseQueryResult<{
26475
+ data: {
26476
+ conferencing_provider: "zoom_admin";
26477
+ connected_account: {
26478
+ connection_scope: "user" | "account";
26479
+ created_at: string;
26480
+ display_name: string | null;
26481
+ email: string;
26482
+ external_account_id: string | null;
26483
+ external_subject: string;
26484
+ id: string;
26485
+ object: "connected_account";
26486
+ provider: "google" | "microsoft" | "zoom_admin";
26487
+ status: "active" | "reconnect_required" | "insufficient_permissions";
26488
+ updated_at: string;
26489
+ user_id: string | null;
26490
+ };
26491
+ external_user: {
26492
+ email: string | null;
26493
+ first_name: string | null;
26494
+ id: string;
26495
+ last_name: string | null;
26496
+ object: "external_user";
26497
+ status: "active" | "inactive" | "pending" | null;
26498
+ };
26499
+ object: "service_provider_conferencing";
26500
+ provider_id: string;
26501
+ service_id: string;
26502
+ };
26503
+ }, openapi_typescript_helpers.ErrorResponse<{
26504
+ 200: {
26505
+ headers: {
26506
+ [name: string]: unknown;
26507
+ };
26508
+ content: {
26509
+ "application/json": {
26510
+ data: {
26511
+ conferencing_provider: "zoom_admin";
26512
+ connected_account: {
26513
+ connection_scope: "user" | "account";
26514
+ created_at: string;
26515
+ display_name: string | null;
26516
+ email: string;
26517
+ external_account_id: string | null;
26518
+ external_subject: string;
26519
+ id: string;
26520
+ object: "connected_account";
26521
+ provider: "google" | "microsoft" | "zoom_admin";
26522
+ status: "active" | "reconnect_required" | "insufficient_permissions";
26523
+ updated_at: string;
26524
+ user_id: string | null;
26525
+ };
26526
+ external_user: {
26527
+ email: string | null;
26528
+ first_name: string | null;
26529
+ id: string;
26530
+ last_name: string | null;
26531
+ object: "external_user";
26532
+ status: "active" | "inactive" | "pending" | null;
26533
+ };
26534
+ object: "service_provider_conferencing";
26535
+ provider_id: string;
26536
+ service_id: string;
26537
+ };
26538
+ };
26539
+ };
26540
+ };
26541
+ 401: {
26542
+ headers: {
26543
+ [name: string]: unknown;
26544
+ };
26545
+ content: {
26546
+ "application/json": {
26547
+ errors: {
26548
+ detail: string;
26549
+ status?: string;
26550
+ title?: string;
26551
+ }[];
26552
+ };
26553
+ };
26554
+ };
26555
+ 404: {
26556
+ headers: {
26557
+ [name: string]: unknown;
26558
+ };
26559
+ content: {
26560
+ "application/json": {
26561
+ errors: {
26562
+ detail: "Not Found";
26563
+ status: "404";
26564
+ }[];
26565
+ };
26566
+ };
26567
+ };
26568
+ }, `${string}/${string}`>>;
26569
+
25685
26570
  type ServiceProvidersParams = paths["/v1/services/{service_id}/providers"]["get"]["parameters"];
25686
26571
  interface Options$4 extends QueryOptionsFor<"get", "/v1/services/{service_id}/providers"> {
25687
26572
  client?: QueryClient;
@@ -26346,4 +27231,4 @@ declare const useUserMappings: (connected_account_id: UserMappingsParams["path"]
26346
27231
  };
26347
27232
  }, `${string}/${string}`>>;
26348
27233
 
26349
- 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, 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, useServiceProviders, useServiceSlots, useServices, useSetUserMapping, useSortServiceForms, useSyncConnectedAccountExternalUsers, useUpdateAccount, useUpdateAccountUser, useUpdateBlock, useUpdateBookingIntent, useUpdateBookingLink, useUpdateCancellationReason, useUpdateClient, useUpdateClientField, useUpdateConnectedAccount, useUpdateForm, useUpdateOpening, useUpdateProvider, useUpdateProviderSchedule, useUpdatePublicBookingIntent, useUpdateService, useUserMapping, useUserMappings };
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 };