@savvycal/appointments-react-query 1.3.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +84 -1
- package/dist/index.d.cts +1078 -217
- package/dist/index.d.ts +1078 -217
- package/dist/index.js +78 -1
- package/package.json +2 -2
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
1974
|
+
interface Options$1J extends MutationOptionsFor<"post", "/v1/services/{service_id}/forms"> {
|
|
1975
1975
|
client?: QueryClient;
|
|
1976
1976
|
}
|
|
1977
|
-
declare const useAttachServiceForm: (options?: Options$
|
|
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$
|
|
2132
|
+
interface Options$1I extends MutationOptionsFor<"post", "/v1/appointments/{appointment_id}/cancel"> {
|
|
2133
2133
|
client?: QueryClient;
|
|
2134
2134
|
}
|
|
2135
|
-
declare const useCancelAppointment: (options?: Options$
|
|
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$
|
|
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$
|
|
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$
|
|
3233
|
+
interface Options$1G extends MutationOptionsFor<"delete", "/v1/services/{service_id}/conferencing"> {
|
|
3234
3234
|
client?: QueryClient;
|
|
3235
3235
|
}
|
|
3236
|
-
declare const
|
|
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$
|
|
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$
|
|
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$
|
|
5392
|
+
interface Options$1C extends MutationOptionsFor<"post", "/v1/appointments/{appointment_id}/confirm"> {
|
|
5216
5393
|
client?: QueryClient;
|
|
5217
5394
|
}
|
|
5218
|
-
declare const useConfirmAppointment: (options?: Options$
|
|
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$
|
|
6319
|
+
interface Options$1B extends MutationOptionsFor<"post", "/v1/accounts"> {
|
|
6143
6320
|
client?: QueryClient;
|
|
6144
6321
|
}
|
|
6145
|
-
declare const useCreateAccount: (options?: Options$
|
|
6322
|
+
declare const useCreateAccount: (options?: Options$1B) => _tanstack_react_query.UseMutationResult<{
|
|
6146
6323
|
data?: {
|
|
6147
6324
|
created_at: string;
|
|
6148
6325
|
id: string;
|
|
@@ -6294,10 +6471,10 @@ declare const useCreateAccount: (options?: Options$1x) => _tanstack_react_query.
|
|
|
6294
6471
|
};
|
|
6295
6472
|
}> | undefined>;
|
|
6296
6473
|
|
|
6297
|
-
interface Options$
|
|
6474
|
+
interface Options$1A extends MutationOptionsFor<"post", "/v1/users"> {
|
|
6298
6475
|
client?: QueryClient;
|
|
6299
6476
|
}
|
|
6300
|
-
declare const useCreateAccountUser: (options?: Options$
|
|
6477
|
+
declare const useCreateAccountUser: (options?: Options$1A) => _tanstack_react_query.UseMutationResult<{
|
|
6301
6478
|
object: "account_user";
|
|
6302
6479
|
passive: boolean;
|
|
6303
6480
|
roles: {
|
|
@@ -6456,10 +6633,10 @@ declare const useCreateAccountUser: (options?: Options$1w) => _tanstack_react_qu
|
|
|
6456
6633
|
};
|
|
6457
6634
|
}> | undefined>;
|
|
6458
6635
|
|
|
6459
|
-
interface Options$
|
|
6636
|
+
interface Options$1z extends MutationOptionsFor<"post", "/v1/appointments"> {
|
|
6460
6637
|
client?: QueryClient;
|
|
6461
6638
|
}
|
|
6462
|
-
declare const useCreateAppointment: (options?: Options$
|
|
6639
|
+
declare const useCreateAppointment: (options?: Options$1z) => _tanstack_react_query.UseMutationResult<{
|
|
6463
6640
|
data: {
|
|
6464
6641
|
add_to_calendar_url: string;
|
|
6465
6642
|
appointment_type: "in_person" | "virtual";
|
|
@@ -7399,10 +7576,10 @@ declare const useCreateAppointment: (options?: Options$1v) => _tanstack_react_qu
|
|
|
7399
7576
|
};
|
|
7400
7577
|
}> | undefined>;
|
|
7401
7578
|
|
|
7402
|
-
interface Options$
|
|
7579
|
+
interface Options$1y extends MutationOptionsFor<"post", "/v1/blocks"> {
|
|
7403
7580
|
client?: QueryClient;
|
|
7404
7581
|
}
|
|
7405
|
-
declare const useCreateBlock: (options?: Options$
|
|
7582
|
+
declare const useCreateBlock: (options?: Options$1y) => _tanstack_react_query.UseMutationResult<{
|
|
7406
7583
|
data: {
|
|
7407
7584
|
all_day: boolean;
|
|
7408
7585
|
attachment_type: "location" | "service" | "provider" | "service_provider";
|
|
@@ -7587,10 +7764,10 @@ declare const useCreateBlock: (options?: Options$1u) => _tanstack_react_query.Us
|
|
|
7587
7764
|
};
|
|
7588
7765
|
}> | undefined>;
|
|
7589
7766
|
|
|
7590
|
-
interface Options$
|
|
7767
|
+
interface Options$1x extends MutationOptionsFor<"post", "/v1/booking_intents"> {
|
|
7591
7768
|
client?: QueryClient;
|
|
7592
7769
|
}
|
|
7593
|
-
declare const useCreateBookingIntent: (options?: Options$
|
|
7770
|
+
declare const useCreateBookingIntent: (options?: Options$1x) => _tanstack_react_query.UseMutationResult<{
|
|
7594
7771
|
data: {
|
|
7595
7772
|
abandoned_at?: string | null;
|
|
7596
7773
|
appointment?: {
|
|
@@ -9188,10 +9365,10 @@ declare const useCreateBookingIntent: (options?: Options$1t) => _tanstack_react_
|
|
|
9188
9365
|
};
|
|
9189
9366
|
}> | undefined>;
|
|
9190
9367
|
|
|
9191
|
-
interface Options$
|
|
9368
|
+
interface Options$1w extends MutationOptionsFor<"post", "/v1/booking_links"> {
|
|
9192
9369
|
client?: QueryClient;
|
|
9193
9370
|
}
|
|
9194
|
-
declare const useCreateBookingLink: (options?: Options$
|
|
9371
|
+
declare const useCreateBookingLink: (options?: Options$1w) => _tanstack_react_query.UseMutationResult<{
|
|
9195
9372
|
data: {
|
|
9196
9373
|
client?: {
|
|
9197
9374
|
created_at: string;
|
|
@@ -9479,10 +9656,10 @@ declare const useCreateBookingLink: (options?: Options$1s) => _tanstack_react_qu
|
|
|
9479
9656
|
};
|
|
9480
9657
|
}> | undefined>;
|
|
9481
9658
|
|
|
9482
|
-
interface Options$
|
|
9659
|
+
interface Options$1v extends MutationOptionsFor<"post", "/v1/cancellation_reasons"> {
|
|
9483
9660
|
client?: QueryClient;
|
|
9484
9661
|
}
|
|
9485
|
-
declare const useCreateCancellationReason: (options?: Options$
|
|
9662
|
+
declare const useCreateCancellationReason: (options?: Options$1v) => _tanstack_react_query.UseMutationResult<{
|
|
9486
9663
|
data: Record<string, never>;
|
|
9487
9664
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
9488
9665
|
201: {
|
|
@@ -9585,10 +9762,10 @@ declare const useCreateCancellationReason: (options?: Options$1r) => _tanstack_r
|
|
|
9585
9762
|
};
|
|
9586
9763
|
}> | undefined>;
|
|
9587
9764
|
|
|
9588
|
-
interface Options$
|
|
9765
|
+
interface Options$1u extends MutationOptionsFor<"post", "/v1/clients"> {
|
|
9589
9766
|
client?: QueryClient;
|
|
9590
9767
|
}
|
|
9591
|
-
declare const useCreateClient: (options?: Options$
|
|
9768
|
+
declare const useCreateClient: (options?: Options$1u) => _tanstack_react_query.UseMutationResult<{
|
|
9592
9769
|
data: {
|
|
9593
9770
|
created_at: string;
|
|
9594
9771
|
email?: string | null;
|
|
@@ -9757,10 +9934,10 @@ declare const useCreateClient: (options?: Options$1q) => _tanstack_react_query.U
|
|
|
9757
9934
|
};
|
|
9758
9935
|
}> | undefined>;
|
|
9759
9936
|
|
|
9760
|
-
interface Options$
|
|
9937
|
+
interface Options$1t extends MutationOptionsFor<"post", "/v1/client_fields"> {
|
|
9761
9938
|
client?: QueryClient;
|
|
9762
9939
|
}
|
|
9763
|
-
declare const useCreateClientField: (options?: Options$
|
|
9940
|
+
declare const useCreateClientField: (options?: Options$1t) => _tanstack_react_query.UseMutationResult<{
|
|
9764
9941
|
data: Record<string, never>;
|
|
9765
9942
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
9766
9943
|
201: {
|
|
@@ -9874,10 +10051,10 @@ declare const useCreateClientField: (options?: Options$1p) => _tanstack_react_qu
|
|
|
9874
10051
|
};
|
|
9875
10052
|
}> | undefined>;
|
|
9876
10053
|
|
|
9877
|
-
interface Options$
|
|
10054
|
+
interface Options$1s extends MutationOptionsFor<"post", "/v1/dashboard_sessions"> {
|
|
9878
10055
|
client?: QueryClient;
|
|
9879
10056
|
}
|
|
9880
|
-
declare const useCreateDashboardSession: (options?: Options$
|
|
10057
|
+
declare const useCreateDashboardSession: (options?: Options$1s) => _tanstack_react_query.UseMutationResult<{
|
|
9881
10058
|
data: {
|
|
9882
10059
|
created_at: string;
|
|
9883
10060
|
id: string;
|
|
@@ -10006,10 +10183,10 @@ declare const useCreateDashboardSession: (options?: Options$1o) => _tanstack_rea
|
|
|
10006
10183
|
};
|
|
10007
10184
|
}> | undefined>;
|
|
10008
10185
|
|
|
10009
|
-
interface Options$
|
|
10186
|
+
interface Options$1r extends MutationOptionsFor<"post", "/v1/forms"> {
|
|
10010
10187
|
client?: QueryClient;
|
|
10011
10188
|
}
|
|
10012
|
-
declare const useCreateForm: (options?: Options$
|
|
10189
|
+
declare const useCreateForm: (options?: Options$1r) => _tanstack_react_query.UseMutationResult<{
|
|
10013
10190
|
data: {
|
|
10014
10191
|
created_at: string;
|
|
10015
10192
|
field_count: number;
|
|
@@ -10205,10 +10382,10 @@ declare const useCreateForm: (options?: Options$1n) => _tanstack_react_query.Use
|
|
|
10205
10382
|
};
|
|
10206
10383
|
}> | undefined>;
|
|
10207
10384
|
|
|
10208
|
-
interface Options$
|
|
10385
|
+
interface Options$1q extends MutationOptionsFor<"post", "/v1/providers/{provider_id}/openings"> {
|
|
10209
10386
|
client?: QueryClient;
|
|
10210
10387
|
}
|
|
10211
|
-
declare const useCreateOpening: (options?: Options$
|
|
10388
|
+
declare const useCreateOpening: (options?: Options$1q) => _tanstack_react_query.UseMutationResult<{
|
|
10212
10389
|
data: {
|
|
10213
10390
|
created_at: string;
|
|
10214
10391
|
date: string;
|
|
@@ -10376,10 +10553,10 @@ declare const useCreateOpening: (options?: Options$1m) => _tanstack_react_query.
|
|
|
10376
10553
|
};
|
|
10377
10554
|
}>>;
|
|
10378
10555
|
|
|
10379
|
-
interface Options$
|
|
10556
|
+
interface Options$1p extends MutationOptionsFor<"post", "/v1/providers"> {
|
|
10380
10557
|
client?: QueryClient;
|
|
10381
10558
|
}
|
|
10382
|
-
declare const useCreateProvider: (options?: Options$
|
|
10559
|
+
declare const useCreateProvider: (options?: Options$1p) => _tanstack_react_query.UseMutationResult<{
|
|
10383
10560
|
data: {
|
|
10384
10561
|
created_at: string;
|
|
10385
10562
|
display_name: string;
|
|
@@ -10463,6 +10640,19 @@ declare const useCreateProvider: (options?: Options$1l) => _tanstack_react_query
|
|
|
10463
10640
|
display_name: string;
|
|
10464
10641
|
email: string;
|
|
10465
10642
|
first_name: string;
|
|
10643
|
+
initial_schedule?: {
|
|
10644
|
+
effective_from?: string;
|
|
10645
|
+
effective_to?: string | null;
|
|
10646
|
+
public_bookings?: {
|
|
10647
|
+
enabled: boolean;
|
|
10648
|
+
};
|
|
10649
|
+
time_zone?: string;
|
|
10650
|
+
weekly_rules?: {
|
|
10651
|
+
day: "mo" | "tu" | "we" | "th" | "fr" | "sa" | "su";
|
|
10652
|
+
end_time: string;
|
|
10653
|
+
start_time: string;
|
|
10654
|
+
}[];
|
|
10655
|
+
};
|
|
10466
10656
|
last_name: string;
|
|
10467
10657
|
metadata?: {
|
|
10468
10658
|
[key: string]: unknown;
|
|
@@ -10531,10 +10721,10 @@ declare const useCreateProvider: (options?: Options$1l) => _tanstack_react_query
|
|
|
10531
10721
|
};
|
|
10532
10722
|
}> | undefined>;
|
|
10533
10723
|
|
|
10534
|
-
interface Options$
|
|
10724
|
+
interface Options$1o extends MutationOptionsFor<"post", "/v1/providers/{provider_id}/schedules"> {
|
|
10535
10725
|
client?: QueryClient;
|
|
10536
10726
|
}
|
|
10537
|
-
declare const useCreateProviderSchedule: (options?: Options$
|
|
10727
|
+
declare const useCreateProviderSchedule: (options?: Options$1o) => _tanstack_react_query.UseMutationResult<{
|
|
10538
10728
|
data: {
|
|
10539
10729
|
created_at: string;
|
|
10540
10730
|
effective_from: string;
|
|
@@ -10695,10 +10885,10 @@ declare const useCreateProviderSchedule: (options?: Options$1k) => _tanstack_rea
|
|
|
10695
10885
|
};
|
|
10696
10886
|
}> | undefined>;
|
|
10697
10887
|
|
|
10698
|
-
interface Options$
|
|
10888
|
+
interface Options$1n extends MutationOptionsFor<"post", "/v1/public/appointments"> {
|
|
10699
10889
|
client?: QueryClient;
|
|
10700
10890
|
}
|
|
10701
|
-
declare const useCreatePublicAppointment: (options?: Options$
|
|
10891
|
+
declare const useCreatePublicAppointment: (options?: Options$1n) => _tanstack_react_query.UseMutationResult<{
|
|
10702
10892
|
data: {
|
|
10703
10893
|
add_to_calendar_url: string;
|
|
10704
10894
|
cancel_url: string;
|
|
@@ -10847,10 +11037,10 @@ declare const useCreatePublicAppointment: (options?: Options$1j) => _tanstack_re
|
|
|
10847
11037
|
};
|
|
10848
11038
|
}> | undefined>;
|
|
10849
11039
|
|
|
10850
|
-
interface Options$
|
|
11040
|
+
interface Options$1m extends MutationOptionsFor<"post", "/v1/public/booking_intents"> {
|
|
10851
11041
|
client?: QueryClient;
|
|
10852
11042
|
}
|
|
10853
|
-
declare const useCreatePublicBookingIntent: (options?: Options$
|
|
11043
|
+
declare const useCreatePublicBookingIntent: (options?: Options$1m) => _tanstack_react_query.UseMutationResult<{
|
|
10854
11044
|
data: {
|
|
10855
11045
|
appointment?: {
|
|
10856
11046
|
add_to_calendar_url: string;
|
|
@@ -11236,10 +11426,10 @@ declare const useCreatePublicBookingIntent: (options?: Options$1i) => _tanstack_
|
|
|
11236
11426
|
};
|
|
11237
11427
|
}> | undefined>;
|
|
11238
11428
|
|
|
11239
|
-
interface Options$
|
|
11429
|
+
interface Options$1l extends MutationOptionsFor<"post", "/v1/services"> {
|
|
11240
11430
|
client?: QueryClient;
|
|
11241
11431
|
}
|
|
11242
|
-
declare const useCreateService: (options?: Options$
|
|
11432
|
+
declare const useCreateService: (options?: Options$1l) => _tanstack_react_query.UseMutationResult<{
|
|
11243
11433
|
data: {
|
|
11244
11434
|
appointment_type: "in_person" | "virtual";
|
|
11245
11435
|
booking_policy: {
|
|
@@ -11628,10 +11818,10 @@ declare const useCreateService: (options?: Options$1h) => _tanstack_react_query.
|
|
|
11628
11818
|
};
|
|
11629
11819
|
}> | undefined>;
|
|
11630
11820
|
|
|
11631
|
-
interface Options$
|
|
11821
|
+
interface Options$1k extends MutationOptionsFor<"post", "/v1/services/{service_id}/providers"> {
|
|
11632
11822
|
client?: QueryClient;
|
|
11633
11823
|
}
|
|
11634
|
-
declare const useCreateServiceProvider: (options?: Options$
|
|
11824
|
+
declare const useCreateServiceProvider: (options?: Options$1k) => _tanstack_react_query.UseMutationResult<{
|
|
11635
11825
|
data: {
|
|
11636
11826
|
created_at: string;
|
|
11637
11827
|
id: string;
|
|
@@ -11822,10 +12012,10 @@ declare const useCreateServiceProvider: (options?: Options$1g) => _tanstack_reac
|
|
|
11822
12012
|
};
|
|
11823
12013
|
}>>;
|
|
11824
12014
|
|
|
11825
|
-
interface Options$
|
|
12015
|
+
interface Options$1j extends MutationOptionsFor<"delete", "/v1/providers/{provider_id}"> {
|
|
11826
12016
|
client?: QueryClient;
|
|
11827
12017
|
}
|
|
11828
|
-
declare const useDeactivateProvider: (options?: Options$
|
|
12018
|
+
declare const useDeactivateProvider: (options?: Options$1j) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
11829
12019
|
204: {
|
|
11830
12020
|
headers: {
|
|
11831
12021
|
[name: string]: unknown;
|
|
@@ -11910,10 +12100,10 @@ declare const useDeactivateProvider: (options?: Options$1f) => _tanstack_react_q
|
|
|
11910
12100
|
};
|
|
11911
12101
|
}>>;
|
|
11912
12102
|
|
|
11913
|
-
interface Options$
|
|
12103
|
+
interface Options$1i extends MutationOptionsFor<"delete", "/v1/blocks/{block_id}"> {
|
|
11914
12104
|
client?: QueryClient;
|
|
11915
12105
|
}
|
|
11916
|
-
declare const useDeleteBlock: (options?: Options$
|
|
12106
|
+
declare const useDeleteBlock: (options?: Options$1i) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
11917
12107
|
204: {
|
|
11918
12108
|
headers: {
|
|
11919
12109
|
[name: string]: unknown;
|
|
@@ -11998,10 +12188,10 @@ declare const useDeleteBlock: (options?: Options$1e) => _tanstack_react_query.Us
|
|
|
11998
12188
|
};
|
|
11999
12189
|
}>>;
|
|
12000
12190
|
|
|
12001
|
-
interface Options$
|
|
12191
|
+
interface Options$1h extends MutationOptionsFor<"delete", "/v1/booking_links/{booking_link_id}"> {
|
|
12002
12192
|
client?: QueryClient;
|
|
12003
12193
|
}
|
|
12004
|
-
declare const useDeleteBookingLink: (options?: Options$
|
|
12194
|
+
declare const useDeleteBookingLink: (options?: Options$1h) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12005
12195
|
204: {
|
|
12006
12196
|
headers: {
|
|
12007
12197
|
[name: string]: unknown;
|
|
@@ -12086,10 +12276,10 @@ declare const useDeleteBookingLink: (options?: Options$1d) => _tanstack_react_qu
|
|
|
12086
12276
|
};
|
|
12087
12277
|
}>>;
|
|
12088
12278
|
|
|
12089
|
-
interface Options$
|
|
12279
|
+
interface Options$1g extends MutationOptionsFor<"delete", "/v1/cancellation_reasons/{cancellation_reason_id}"> {
|
|
12090
12280
|
client?: QueryClient;
|
|
12091
12281
|
}
|
|
12092
|
-
declare const useDeleteCancellationReason: (options?: Options$
|
|
12282
|
+
declare const useDeleteCancellationReason: (options?: Options$1g) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12093
12283
|
204: {
|
|
12094
12284
|
headers: {
|
|
12095
12285
|
[name: string]: unknown;
|
|
@@ -12174,10 +12364,10 @@ declare const useDeleteCancellationReason: (options?: Options$1c) => _tanstack_r
|
|
|
12174
12364
|
};
|
|
12175
12365
|
}>>;
|
|
12176
12366
|
|
|
12177
|
-
interface Options$
|
|
12367
|
+
interface Options$1f extends MutationOptionsFor<"delete", "/v1/clients/{client_id}"> {
|
|
12178
12368
|
client?: QueryClient;
|
|
12179
12369
|
}
|
|
12180
|
-
declare const useDeleteClient: (options?: Options$
|
|
12370
|
+
declare const useDeleteClient: (options?: Options$1f) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12181
12371
|
204: {
|
|
12182
12372
|
headers: {
|
|
12183
12373
|
[name: string]: unknown;
|
|
@@ -12262,10 +12452,10 @@ declare const useDeleteClient: (options?: Options$1b) => _tanstack_react_query.U
|
|
|
12262
12452
|
};
|
|
12263
12453
|
}>>;
|
|
12264
12454
|
|
|
12265
|
-
interface Options$
|
|
12455
|
+
interface Options$1e extends MutationOptionsFor<"delete", "/v1/client_fields/{client_field_id}"> {
|
|
12266
12456
|
client?: QueryClient;
|
|
12267
12457
|
}
|
|
12268
|
-
declare const useDeleteClientField: (options?: Options$
|
|
12458
|
+
declare const useDeleteClientField: (options?: Options$1e) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12269
12459
|
204: {
|
|
12270
12460
|
headers: {
|
|
12271
12461
|
[name: string]: unknown;
|
|
@@ -12350,10 +12540,10 @@ declare const useDeleteClientField: (options?: Options$1a) => _tanstack_react_qu
|
|
|
12350
12540
|
};
|
|
12351
12541
|
}>>;
|
|
12352
12542
|
|
|
12353
|
-
interface Options$
|
|
12543
|
+
interface Options$1d extends MutationOptionsFor<"delete", "/v1/connected_accounts/{connected_account_id}"> {
|
|
12354
12544
|
client?: QueryClient;
|
|
12355
12545
|
}
|
|
12356
|
-
declare const useDeleteConnectedAccount: (options?: Options$
|
|
12546
|
+
declare const useDeleteConnectedAccount: (options?: Options$1d) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12357
12547
|
204: {
|
|
12358
12548
|
headers: {
|
|
12359
12549
|
[name: string]: unknown;
|
|
@@ -12438,10 +12628,10 @@ declare const useDeleteConnectedAccount: (options?: Options$19) => _tanstack_rea
|
|
|
12438
12628
|
};
|
|
12439
12629
|
}>>;
|
|
12440
12630
|
|
|
12441
|
-
interface Options$
|
|
12631
|
+
interface Options$1c extends MutationOptionsFor<"delete", "/v1/forms/{form_id}"> {
|
|
12442
12632
|
client?: QueryClient;
|
|
12443
12633
|
}
|
|
12444
|
-
declare const useDeleteForm: (options?: Options$
|
|
12634
|
+
declare const useDeleteForm: (options?: Options$1c) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12445
12635
|
204: {
|
|
12446
12636
|
headers: {
|
|
12447
12637
|
[name: string]: unknown;
|
|
@@ -12526,10 +12716,10 @@ declare const useDeleteForm: (options?: Options$18) => _tanstack_react_query.Use
|
|
|
12526
12716
|
};
|
|
12527
12717
|
}>>;
|
|
12528
12718
|
|
|
12529
|
-
interface Options$
|
|
12719
|
+
interface Options$1b extends MutationOptionsFor<"delete", "/v1/openings/{opening_id}"> {
|
|
12530
12720
|
client?: QueryClient;
|
|
12531
12721
|
}
|
|
12532
|
-
declare const useDeleteOpening: (options?: Options$
|
|
12722
|
+
declare const useDeleteOpening: (options?: Options$1b) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12533
12723
|
204: {
|
|
12534
12724
|
headers: {
|
|
12535
12725
|
[name: string]: unknown;
|
|
@@ -12614,10 +12804,10 @@ declare const useDeleteOpening: (options?: Options$17) => _tanstack_react_query.
|
|
|
12614
12804
|
};
|
|
12615
12805
|
}>>;
|
|
12616
12806
|
|
|
12617
|
-
interface Options$
|
|
12807
|
+
interface Options$1a extends MutationOptionsFor<"delete", "/v1/provider_schedules/{provider_schedule_id}"> {
|
|
12618
12808
|
client?: QueryClient;
|
|
12619
12809
|
}
|
|
12620
|
-
declare const useDeleteProviderSchedule: (options?: Options$
|
|
12810
|
+
declare const useDeleteProviderSchedule: (options?: Options$1a) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12621
12811
|
204: {
|
|
12622
12812
|
headers: {
|
|
12623
12813
|
[name: string]: unknown;
|
|
@@ -12702,10 +12892,10 @@ declare const useDeleteProviderSchedule: (options?: Options$16) => _tanstack_rea
|
|
|
12702
12892
|
};
|
|
12703
12893
|
}>>;
|
|
12704
12894
|
|
|
12705
|
-
interface Options$
|
|
12895
|
+
interface Options$19 extends MutationOptionsFor<"delete", "/v1/services/{service_id}"> {
|
|
12706
12896
|
client?: QueryClient;
|
|
12707
12897
|
}
|
|
12708
|
-
declare const useDeleteService: (options?: Options$
|
|
12898
|
+
declare const useDeleteService: (options?: Options$19) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12709
12899
|
204: {
|
|
12710
12900
|
headers: {
|
|
12711
12901
|
[name: string]: unknown;
|
|
@@ -12790,10 +12980,10 @@ declare const useDeleteService: (options?: Options$15) => _tanstack_react_query.
|
|
|
12790
12980
|
};
|
|
12791
12981
|
}>>;
|
|
12792
12982
|
|
|
12793
|
-
interface Options$
|
|
12983
|
+
interface Options$18 extends MutationOptionsFor<"delete", "/v1/services/{service_id}/providers/{provider_id}"> {
|
|
12794
12984
|
client?: QueryClient;
|
|
12795
12985
|
}
|
|
12796
|
-
declare const useDeleteServiceProvider: (options?: Options$
|
|
12986
|
+
declare const useDeleteServiceProvider: (options?: Options$18) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12797
12987
|
204: {
|
|
12798
12988
|
headers: {
|
|
12799
12989
|
[name: string]: unknown;
|
|
@@ -12834,7 +13024,8 @@ declare const useDeleteServiceProvider: (options?: Options$14) => _tanstack_reac
|
|
|
12834
13024
|
query?: never;
|
|
12835
13025
|
header?: never;
|
|
12836
13026
|
path: {
|
|
12837
|
-
|
|
13027
|
+
service_id: string;
|
|
13028
|
+
provider_id: string;
|
|
12838
13029
|
};
|
|
12839
13030
|
cookie?: never;
|
|
12840
13031
|
};
|
|
@@ -12878,10 +13069,10 @@ declare const useDeleteServiceProvider: (options?: Options$14) => _tanstack_reac
|
|
|
12878
13069
|
};
|
|
12879
13070
|
}>>;
|
|
12880
13071
|
|
|
12881
|
-
interface Options$
|
|
13072
|
+
interface Options$17 extends MutationOptionsFor<"delete", "/v1/connected_accounts/{connected_account_id}/user_mappings/{provider_id}"> {
|
|
12882
13073
|
client?: QueryClient;
|
|
12883
13074
|
}
|
|
12884
|
-
declare const useDeleteUserMapping: (options?: Options$
|
|
13075
|
+
declare const useDeleteUserMapping: (options?: Options$17) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12885
13076
|
204: {
|
|
12886
13077
|
headers: {
|
|
12887
13078
|
[name: string]: unknown;
|
|
@@ -12967,10 +13158,10 @@ declare const useDeleteUserMapping: (options?: Options$13) => _tanstack_react_qu
|
|
|
12967
13158
|
};
|
|
12968
13159
|
}>>;
|
|
12969
13160
|
|
|
12970
|
-
interface Options$
|
|
13161
|
+
interface Options$16 extends MutationOptionsFor<"delete", "/v1/service_forms/{service_form_id}"> {
|
|
12971
13162
|
client?: QueryClient;
|
|
12972
13163
|
}
|
|
12973
|
-
declare const useDetachServiceForm: (options?: Options$
|
|
13164
|
+
declare const useDetachServiceForm: (options?: Options$16) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12974
13165
|
204: {
|
|
12975
13166
|
headers: {
|
|
12976
13167
|
[name: string]: unknown;
|
|
@@ -13055,10 +13246,10 @@ declare const useDetachServiceForm: (options?: Options$12) => _tanstack_react_qu
|
|
|
13055
13246
|
};
|
|
13056
13247
|
}>>;
|
|
13057
13248
|
|
|
13058
|
-
interface Options$
|
|
13249
|
+
interface Options$15 extends MutationOptionsFor<"post", "/v1/appointments/{appointment_id}/reschedule"> {
|
|
13059
13250
|
client?: QueryClient;
|
|
13060
13251
|
}
|
|
13061
|
-
declare const useRescheduleAppointment: (options?: Options$
|
|
13252
|
+
declare const useRescheduleAppointment: (options?: Options$15) => _tanstack_react_query.UseMutationResult<{
|
|
13062
13253
|
data: {
|
|
13063
13254
|
add_to_calendar_url: string;
|
|
13064
13255
|
appointment_type: "in_person" | "virtual";
|
|
@@ -13986,10 +14177,10 @@ declare const useRescheduleAppointment: (options?: Options$11) => _tanstack_reac
|
|
|
13986
14177
|
};
|
|
13987
14178
|
}>>;
|
|
13988
14179
|
|
|
13989
|
-
interface Options$
|
|
14180
|
+
interface Options$14 extends MutationOptionsFor<"post", "/v1/public/appointments/{appointment_id}/reschedule"> {
|
|
13990
14181
|
client?: QueryClient;
|
|
13991
14182
|
}
|
|
13992
|
-
declare const useReschedulePublicAppointment: (options?: Options$
|
|
14183
|
+
declare const useReschedulePublicAppointment: (options?: Options$14) => _tanstack_react_query.UseMutationResult<{
|
|
13993
14184
|
data: {
|
|
13994
14185
|
add_to_calendar_url: string;
|
|
13995
14186
|
cancel_url: string;
|
|
@@ -14106,24 +14297,434 @@ declare const useReschedulePublicAppointment: (options?: Options$10) => _tanstac
|
|
|
14106
14297
|
};
|
|
14107
14298
|
};
|
|
14108
14299
|
};
|
|
14109
|
-
403: {
|
|
14300
|
+
403: {
|
|
14301
|
+
headers: {
|
|
14302
|
+
[name: string]: unknown;
|
|
14303
|
+
};
|
|
14304
|
+
content: {
|
|
14305
|
+
"application/json": {
|
|
14306
|
+
errors: {
|
|
14307
|
+
code?: string | null;
|
|
14308
|
+
detail: string;
|
|
14309
|
+
source: {
|
|
14310
|
+
pointer: string;
|
|
14311
|
+
};
|
|
14312
|
+
title: string;
|
|
14313
|
+
}[];
|
|
14314
|
+
};
|
|
14315
|
+
};
|
|
14316
|
+
};
|
|
14317
|
+
404: {
|
|
14318
|
+
headers: {
|
|
14319
|
+
[name: string]: unknown;
|
|
14320
|
+
};
|
|
14321
|
+
content: {
|
|
14322
|
+
"application/json": {
|
|
14323
|
+
errors: {
|
|
14324
|
+
code?: string | null;
|
|
14325
|
+
detail: string;
|
|
14326
|
+
source: {
|
|
14327
|
+
pointer: string;
|
|
14328
|
+
};
|
|
14329
|
+
title: string;
|
|
14330
|
+
}[];
|
|
14331
|
+
};
|
|
14332
|
+
};
|
|
14333
|
+
};
|
|
14334
|
+
422: {
|
|
14335
|
+
headers: {
|
|
14336
|
+
[name: string]: unknown;
|
|
14337
|
+
};
|
|
14338
|
+
content: {
|
|
14339
|
+
"application/json": {
|
|
14340
|
+
errors: {
|
|
14341
|
+
code?: string | null;
|
|
14342
|
+
detail: string;
|
|
14343
|
+
source: {
|
|
14344
|
+
pointer: string;
|
|
14345
|
+
};
|
|
14346
|
+
title: string;
|
|
14347
|
+
}[];
|
|
14348
|
+
};
|
|
14349
|
+
};
|
|
14350
|
+
};
|
|
14351
|
+
};
|
|
14352
|
+
}>>;
|
|
14353
|
+
|
|
14354
|
+
interface Options$13 extends MutationOptionsFor<"put", "/v1/services/{service_id}/conferencing"> {
|
|
14355
|
+
client?: QueryClient;
|
|
14356
|
+
}
|
|
14357
|
+
declare const useSetServiceConferencing: (options?: Options$13) => _tanstack_react_query.UseMutationResult<{
|
|
14358
|
+
data: {
|
|
14359
|
+
configured: {
|
|
14360
|
+
provider_id: string;
|
|
14361
|
+
}[];
|
|
14362
|
+
skipped: {
|
|
14363
|
+
provider_id: string;
|
|
14364
|
+
reason: "no_user_mapping";
|
|
14365
|
+
}[];
|
|
14366
|
+
};
|
|
14367
|
+
}, openapi_typescript_helpers.ErrorResponse<{
|
|
14368
|
+
200: {
|
|
14369
|
+
headers: {
|
|
14370
|
+
[name: string]: unknown;
|
|
14371
|
+
};
|
|
14372
|
+
content: {
|
|
14373
|
+
"application/json": {
|
|
14374
|
+
data: {
|
|
14375
|
+
configured: {
|
|
14376
|
+
provider_id: string;
|
|
14377
|
+
}[];
|
|
14378
|
+
skipped: {
|
|
14379
|
+
provider_id: string;
|
|
14380
|
+
reason: "no_user_mapping";
|
|
14381
|
+
}[];
|
|
14382
|
+
};
|
|
14383
|
+
};
|
|
14384
|
+
};
|
|
14385
|
+
};
|
|
14386
|
+
401: {
|
|
14387
|
+
headers: {
|
|
14388
|
+
[name: string]: unknown;
|
|
14389
|
+
};
|
|
14390
|
+
content: {
|
|
14391
|
+
"application/json": {
|
|
14392
|
+
errors: {
|
|
14393
|
+
detail: string;
|
|
14394
|
+
status?: string;
|
|
14395
|
+
title?: string;
|
|
14396
|
+
}[];
|
|
14397
|
+
};
|
|
14398
|
+
};
|
|
14399
|
+
};
|
|
14400
|
+
404: {
|
|
14401
|
+
headers: {
|
|
14402
|
+
[name: string]: unknown;
|
|
14403
|
+
};
|
|
14404
|
+
content: {
|
|
14405
|
+
"application/json": {
|
|
14406
|
+
errors: {
|
|
14407
|
+
detail: "Not Found";
|
|
14408
|
+
status: "404";
|
|
14409
|
+
}[];
|
|
14410
|
+
};
|
|
14411
|
+
};
|
|
14412
|
+
};
|
|
14413
|
+
422: {
|
|
14414
|
+
headers: {
|
|
14415
|
+
[name: string]: unknown;
|
|
14416
|
+
};
|
|
14417
|
+
content: {
|
|
14418
|
+
"application/json": {
|
|
14419
|
+
errors: {
|
|
14420
|
+
code?: string | null;
|
|
14421
|
+
detail: string;
|
|
14422
|
+
source: {
|
|
14423
|
+
pointer: string;
|
|
14424
|
+
};
|
|
14425
|
+
title: string;
|
|
14426
|
+
}[];
|
|
14427
|
+
};
|
|
14428
|
+
};
|
|
14429
|
+
};
|
|
14430
|
+
}, `${string}/${string}`>, openapi_fetch.FetchOptions<{
|
|
14431
|
+
parameters: {
|
|
14432
|
+
query?: never;
|
|
14433
|
+
header?: never;
|
|
14434
|
+
path: {
|
|
14435
|
+
service_id: string;
|
|
14436
|
+
};
|
|
14437
|
+
cookie?: never;
|
|
14438
|
+
};
|
|
14439
|
+
requestBody: {
|
|
14440
|
+
content: {
|
|
14441
|
+
"application/json": {
|
|
14442
|
+
connected_account_id: string;
|
|
14443
|
+
};
|
|
14444
|
+
};
|
|
14445
|
+
};
|
|
14446
|
+
responses: {
|
|
14447
|
+
200: {
|
|
14448
|
+
headers: {
|
|
14449
|
+
[name: string]: unknown;
|
|
14450
|
+
};
|
|
14451
|
+
content: {
|
|
14452
|
+
"application/json": {
|
|
14453
|
+
data: {
|
|
14454
|
+
configured: {
|
|
14455
|
+
provider_id: string;
|
|
14456
|
+
}[];
|
|
14457
|
+
skipped: {
|
|
14458
|
+
provider_id: string;
|
|
14459
|
+
reason: "no_user_mapping";
|
|
14460
|
+
}[];
|
|
14461
|
+
};
|
|
14462
|
+
};
|
|
14463
|
+
};
|
|
14464
|
+
};
|
|
14465
|
+
401: {
|
|
14466
|
+
headers: {
|
|
14467
|
+
[name: string]: unknown;
|
|
14468
|
+
};
|
|
14469
|
+
content: {
|
|
14470
|
+
"application/json": {
|
|
14471
|
+
errors: {
|
|
14472
|
+
detail: string;
|
|
14473
|
+
status?: string;
|
|
14474
|
+
title?: string;
|
|
14475
|
+
}[];
|
|
14476
|
+
};
|
|
14477
|
+
};
|
|
14478
|
+
};
|
|
14479
|
+
404: {
|
|
14480
|
+
headers: {
|
|
14481
|
+
[name: string]: unknown;
|
|
14482
|
+
};
|
|
14483
|
+
content: {
|
|
14484
|
+
"application/json": {
|
|
14485
|
+
errors: {
|
|
14486
|
+
detail: "Not Found";
|
|
14487
|
+
status: "404";
|
|
14488
|
+
}[];
|
|
14489
|
+
};
|
|
14490
|
+
};
|
|
14491
|
+
};
|
|
14492
|
+
422: {
|
|
14493
|
+
headers: {
|
|
14494
|
+
[name: string]: unknown;
|
|
14495
|
+
};
|
|
14496
|
+
content: {
|
|
14497
|
+
"application/json": {
|
|
14498
|
+
errors: {
|
|
14499
|
+
code?: string | null;
|
|
14500
|
+
detail: string;
|
|
14501
|
+
source: {
|
|
14502
|
+
pointer: string;
|
|
14503
|
+
};
|
|
14504
|
+
title: string;
|
|
14505
|
+
}[];
|
|
14506
|
+
};
|
|
14507
|
+
};
|
|
14508
|
+
};
|
|
14509
|
+
};
|
|
14510
|
+
}>>;
|
|
14511
|
+
|
|
14512
|
+
interface Options$12 extends MutationOptionsFor<"put", "/v1/services/{service_id}/providers/{provider_id}/conferencing"> {
|
|
14513
|
+
client?: QueryClient;
|
|
14514
|
+
}
|
|
14515
|
+
declare const useSetServiceProviderConferencing: (options?: Options$12) => _tanstack_react_query.UseMutationResult<{
|
|
14516
|
+
data: {
|
|
14517
|
+
conferencing_provider: "zoom_admin";
|
|
14518
|
+
connected_account: {
|
|
14519
|
+
connection_scope: "user" | "account";
|
|
14520
|
+
created_at: string;
|
|
14521
|
+
display_name: string | null;
|
|
14522
|
+
email: string;
|
|
14523
|
+
external_account_id: string | null;
|
|
14524
|
+
external_subject: string;
|
|
14525
|
+
id: string;
|
|
14526
|
+
object: "connected_account";
|
|
14527
|
+
provider: "google" | "microsoft" | "zoom_admin";
|
|
14528
|
+
status: "active" | "reconnect_required" | "insufficient_permissions";
|
|
14529
|
+
updated_at: string;
|
|
14530
|
+
user_id: string | null;
|
|
14531
|
+
};
|
|
14532
|
+
external_user: {
|
|
14533
|
+
email: string | null;
|
|
14534
|
+
first_name: string | null;
|
|
14535
|
+
id: string;
|
|
14536
|
+
last_name: string | null;
|
|
14537
|
+
object: "external_user";
|
|
14538
|
+
status: "active" | "inactive" | "pending" | null;
|
|
14539
|
+
};
|
|
14540
|
+
object: "service_provider_conferencing";
|
|
14541
|
+
provider_id: string;
|
|
14542
|
+
service_id: string;
|
|
14543
|
+
};
|
|
14544
|
+
}, openapi_typescript_helpers.ErrorResponse<{
|
|
14545
|
+
200: {
|
|
14546
|
+
headers: {
|
|
14547
|
+
[name: string]: unknown;
|
|
14548
|
+
};
|
|
14549
|
+
content: {
|
|
14550
|
+
"application/json": {
|
|
14551
|
+
data: {
|
|
14552
|
+
conferencing_provider: "zoom_admin";
|
|
14553
|
+
connected_account: {
|
|
14554
|
+
connection_scope: "user" | "account";
|
|
14555
|
+
created_at: string;
|
|
14556
|
+
display_name: string | null;
|
|
14557
|
+
email: string;
|
|
14558
|
+
external_account_id: string | null;
|
|
14559
|
+
external_subject: string;
|
|
14560
|
+
id: string;
|
|
14561
|
+
object: "connected_account";
|
|
14562
|
+
provider: "google" | "microsoft" | "zoom_admin";
|
|
14563
|
+
status: "active" | "reconnect_required" | "insufficient_permissions";
|
|
14564
|
+
updated_at: string;
|
|
14565
|
+
user_id: string | null;
|
|
14566
|
+
};
|
|
14567
|
+
external_user: {
|
|
14568
|
+
email: string | null;
|
|
14569
|
+
first_name: string | null;
|
|
14570
|
+
id: string;
|
|
14571
|
+
last_name: string | null;
|
|
14572
|
+
object: "external_user";
|
|
14573
|
+
status: "active" | "inactive" | "pending" | null;
|
|
14574
|
+
};
|
|
14575
|
+
object: "service_provider_conferencing";
|
|
14576
|
+
provider_id: string;
|
|
14577
|
+
service_id: string;
|
|
14578
|
+
};
|
|
14579
|
+
};
|
|
14580
|
+
};
|
|
14581
|
+
};
|
|
14582
|
+
401: {
|
|
14583
|
+
headers: {
|
|
14584
|
+
[name: string]: unknown;
|
|
14585
|
+
};
|
|
14586
|
+
content: {
|
|
14587
|
+
"application/json": {
|
|
14588
|
+
errors: {
|
|
14589
|
+
detail: string;
|
|
14590
|
+
status?: string;
|
|
14591
|
+
title?: string;
|
|
14592
|
+
}[];
|
|
14593
|
+
};
|
|
14594
|
+
};
|
|
14595
|
+
};
|
|
14596
|
+
404: {
|
|
14597
|
+
headers: {
|
|
14598
|
+
[name: string]: unknown;
|
|
14599
|
+
};
|
|
14600
|
+
content: {
|
|
14601
|
+
"application/json": {
|
|
14602
|
+
errors: {
|
|
14603
|
+
detail: "Not Found";
|
|
14604
|
+
status: "404";
|
|
14605
|
+
}[];
|
|
14606
|
+
};
|
|
14607
|
+
};
|
|
14608
|
+
};
|
|
14609
|
+
422: {
|
|
14610
|
+
headers: {
|
|
14611
|
+
[name: string]: unknown;
|
|
14612
|
+
};
|
|
14613
|
+
content: {
|
|
14614
|
+
"application/json": {
|
|
14615
|
+
errors: {
|
|
14616
|
+
code?: string | null;
|
|
14617
|
+
detail: string;
|
|
14618
|
+
source: {
|
|
14619
|
+
pointer: string;
|
|
14620
|
+
};
|
|
14621
|
+
title: string;
|
|
14622
|
+
}[];
|
|
14623
|
+
};
|
|
14624
|
+
};
|
|
14625
|
+
};
|
|
14626
|
+
502: {
|
|
14627
|
+
headers: {
|
|
14628
|
+
[name: string]: unknown;
|
|
14629
|
+
};
|
|
14630
|
+
content: {
|
|
14631
|
+
"application/json": {
|
|
14632
|
+
errors: {
|
|
14633
|
+
code?: string | null;
|
|
14634
|
+
detail: string;
|
|
14635
|
+
status?: string;
|
|
14636
|
+
title?: string;
|
|
14637
|
+
}[];
|
|
14638
|
+
};
|
|
14639
|
+
};
|
|
14640
|
+
};
|
|
14641
|
+
}, `${string}/${string}`>, openapi_fetch.FetchOptions<{
|
|
14642
|
+
parameters: {
|
|
14643
|
+
query?: never;
|
|
14644
|
+
header?: never;
|
|
14645
|
+
path: {
|
|
14646
|
+
service_id: string;
|
|
14647
|
+
provider_id: string;
|
|
14648
|
+
};
|
|
14649
|
+
cookie?: never;
|
|
14650
|
+
};
|
|
14651
|
+
requestBody: {
|
|
14652
|
+
content: {
|
|
14653
|
+
"application/json": {
|
|
14654
|
+
connected_account_id: string;
|
|
14655
|
+
external_user_id: string;
|
|
14656
|
+
} | {
|
|
14657
|
+
connected_account_id: string;
|
|
14658
|
+
email: string;
|
|
14659
|
+
};
|
|
14660
|
+
};
|
|
14661
|
+
};
|
|
14662
|
+
responses: {
|
|
14663
|
+
200: {
|
|
14664
|
+
headers: {
|
|
14665
|
+
[name: string]: unknown;
|
|
14666
|
+
};
|
|
14667
|
+
content: {
|
|
14668
|
+
"application/json": {
|
|
14669
|
+
data: {
|
|
14670
|
+
conferencing_provider: "zoom_admin";
|
|
14671
|
+
connected_account: {
|
|
14672
|
+
connection_scope: "user" | "account";
|
|
14673
|
+
created_at: string;
|
|
14674
|
+
display_name: string | null;
|
|
14675
|
+
email: string;
|
|
14676
|
+
external_account_id: string | null;
|
|
14677
|
+
external_subject: string;
|
|
14678
|
+
id: string;
|
|
14679
|
+
object: "connected_account";
|
|
14680
|
+
provider: "google" | "microsoft" | "zoom_admin";
|
|
14681
|
+
status: "active" | "reconnect_required" | "insufficient_permissions";
|
|
14682
|
+
updated_at: string;
|
|
14683
|
+
user_id: string | null;
|
|
14684
|
+
};
|
|
14685
|
+
external_user: {
|
|
14686
|
+
email: string | null;
|
|
14687
|
+
first_name: string | null;
|
|
14688
|
+
id: string;
|
|
14689
|
+
last_name: string | null;
|
|
14690
|
+
object: "external_user";
|
|
14691
|
+
status: "active" | "inactive" | "pending" | null;
|
|
14692
|
+
};
|
|
14693
|
+
object: "service_provider_conferencing";
|
|
14694
|
+
provider_id: string;
|
|
14695
|
+
service_id: string;
|
|
14696
|
+
};
|
|
14697
|
+
};
|
|
14698
|
+
};
|
|
14699
|
+
};
|
|
14700
|
+
401: {
|
|
14701
|
+
headers: {
|
|
14702
|
+
[name: string]: unknown;
|
|
14703
|
+
};
|
|
14704
|
+
content: {
|
|
14705
|
+
"application/json": {
|
|
14706
|
+
errors: {
|
|
14707
|
+
detail: string;
|
|
14708
|
+
status?: string;
|
|
14709
|
+
title?: string;
|
|
14710
|
+
}[];
|
|
14711
|
+
};
|
|
14712
|
+
};
|
|
14713
|
+
};
|
|
14714
|
+
404: {
|
|
14110
14715
|
headers: {
|
|
14111
14716
|
[name: string]: unknown;
|
|
14112
14717
|
};
|
|
14113
14718
|
content: {
|
|
14114
14719
|
"application/json": {
|
|
14115
14720
|
errors: {
|
|
14116
|
-
|
|
14117
|
-
|
|
14118
|
-
source: {
|
|
14119
|
-
pointer: string;
|
|
14120
|
-
};
|
|
14121
|
-
title: string;
|
|
14721
|
+
detail: "Not Found";
|
|
14722
|
+
status: "404";
|
|
14122
14723
|
}[];
|
|
14123
14724
|
};
|
|
14124
14725
|
};
|
|
14125
14726
|
};
|
|
14126
|
-
|
|
14727
|
+
422: {
|
|
14127
14728
|
headers: {
|
|
14128
14729
|
[name: string]: unknown;
|
|
14129
14730
|
};
|
|
@@ -14140,7 +14741,7 @@ declare const useReschedulePublicAppointment: (options?: Options$10) => _tanstac
|
|
|
14140
14741
|
};
|
|
14141
14742
|
};
|
|
14142
14743
|
};
|
|
14143
|
-
|
|
14744
|
+
502: {
|
|
14144
14745
|
headers: {
|
|
14145
14746
|
[name: string]: unknown;
|
|
14146
14747
|
};
|
|
@@ -14149,10 +14750,8 @@ declare const useReschedulePublicAppointment: (options?: Options$10) => _tanstac
|
|
|
14149
14750
|
errors: {
|
|
14150
14751
|
code?: string | null;
|
|
14151
14752
|
detail: string;
|
|
14152
|
-
|
|
14153
|
-
|
|
14154
|
-
};
|
|
14155
|
-
title: string;
|
|
14753
|
+
status?: string;
|
|
14754
|
+
title?: string;
|
|
14156
14755
|
}[];
|
|
14157
14756
|
};
|
|
14158
14757
|
};
|
|
@@ -14160,10 +14759,10 @@ declare const useReschedulePublicAppointment: (options?: Options$10) => _tanstac
|
|
|
14160
14759
|
};
|
|
14161
14760
|
}>>;
|
|
14162
14761
|
|
|
14163
|
-
interface Options
|
|
14762
|
+
interface Options$11 extends MutationOptionsFor<"put", "/v1/connected_accounts/{connected_account_id}/user_mappings/{provider_id}"> {
|
|
14164
14763
|
client?: QueryClient;
|
|
14165
14764
|
}
|
|
14166
|
-
declare const useSetUserMapping: (options?: Options
|
|
14765
|
+
declare const useSetUserMapping: (options?: Options$11) => _tanstack_react_query.UseMutationResult<{
|
|
14167
14766
|
data: {
|
|
14168
14767
|
external_user: {
|
|
14169
14768
|
email: string | null;
|
|
@@ -14402,10 +15001,10 @@ declare const useSetUserMapping: (options?: Options$$) => _tanstack_react_query.
|
|
|
14402
15001
|
};
|
|
14403
15002
|
}>>;
|
|
14404
15003
|
|
|
14405
|
-
interface Options$
|
|
15004
|
+
interface Options$10 extends MutationOptionsFor<"post", "/v1/services/{service_id}/forms/sort"> {
|
|
14406
15005
|
client?: QueryClient;
|
|
14407
15006
|
}
|
|
14408
|
-
declare const useSortServiceForms: (options?: Options$
|
|
15007
|
+
declare const useSortServiceForms: (options?: Options$10) => _tanstack_react_query.UseMutationResult<{
|
|
14409
15008
|
data: {
|
|
14410
15009
|
created_at: string;
|
|
14411
15010
|
form_id: string;
|
|
@@ -14560,10 +15159,10 @@ declare const useSortServiceForms: (options?: Options$_) => _tanstack_react_quer
|
|
|
14560
15159
|
};
|
|
14561
15160
|
}>>;
|
|
14562
15161
|
|
|
14563
|
-
interface Options
|
|
15162
|
+
interface Options$$ extends MutationOptionsFor<"post", "/v1/connected_accounts/{connected_account_id}/external_users/sync"> {
|
|
14564
15163
|
client?: QueryClient;
|
|
14565
15164
|
}
|
|
14566
|
-
declare const useSyncConnectedAccountExternalUsers: (options?: Options
|
|
15165
|
+
declare const useSyncConnectedAccountExternalUsers: (options?: Options$$) => _tanstack_react_query.UseMutationResult<{
|
|
14567
15166
|
data: {
|
|
14568
15167
|
email: string | null;
|
|
14569
15168
|
first_name: string | null;
|
|
@@ -14705,10 +15304,158 @@ declare const useSyncConnectedAccountExternalUsers: (options?: Options$Z) => _ta
|
|
|
14705
15304
|
};
|
|
14706
15305
|
}>>;
|
|
14707
15306
|
|
|
14708
|
-
interface Options$
|
|
15307
|
+
interface Options$_ extends MutationOptionsFor<"post", "/v1/services/{service_id}/conferencing/sync"> {
|
|
15308
|
+
client?: QueryClient;
|
|
15309
|
+
}
|
|
15310
|
+
declare const useSyncServiceConferencing: (options?: Options$_) => _tanstack_react_query.UseMutationResult<{
|
|
15311
|
+
data: {
|
|
15312
|
+
configured: {
|
|
15313
|
+
provider_id: string;
|
|
15314
|
+
}[];
|
|
15315
|
+
skipped: {
|
|
15316
|
+
provider_id: string;
|
|
15317
|
+
reason: "no_user_mapping";
|
|
15318
|
+
}[];
|
|
15319
|
+
};
|
|
15320
|
+
}, openapi_typescript_helpers.ErrorResponse<{
|
|
15321
|
+
200: {
|
|
15322
|
+
headers: {
|
|
15323
|
+
[name: string]: unknown;
|
|
15324
|
+
};
|
|
15325
|
+
content: {
|
|
15326
|
+
"application/json": {
|
|
15327
|
+
data: {
|
|
15328
|
+
configured: {
|
|
15329
|
+
provider_id: string;
|
|
15330
|
+
}[];
|
|
15331
|
+
skipped: {
|
|
15332
|
+
provider_id: string;
|
|
15333
|
+
reason: "no_user_mapping";
|
|
15334
|
+
}[];
|
|
15335
|
+
};
|
|
15336
|
+
};
|
|
15337
|
+
};
|
|
15338
|
+
};
|
|
15339
|
+
401: {
|
|
15340
|
+
headers: {
|
|
15341
|
+
[name: string]: unknown;
|
|
15342
|
+
};
|
|
15343
|
+
content: {
|
|
15344
|
+
"application/json": {
|
|
15345
|
+
errors: {
|
|
15346
|
+
detail: string;
|
|
15347
|
+
status?: string;
|
|
15348
|
+
title?: string;
|
|
15349
|
+
}[];
|
|
15350
|
+
};
|
|
15351
|
+
};
|
|
15352
|
+
};
|
|
15353
|
+
404: {
|
|
15354
|
+
headers: {
|
|
15355
|
+
[name: string]: unknown;
|
|
15356
|
+
};
|
|
15357
|
+
content: {
|
|
15358
|
+
"application/json": {
|
|
15359
|
+
errors: {
|
|
15360
|
+
detail: "Not Found";
|
|
15361
|
+
status: "404";
|
|
15362
|
+
}[];
|
|
15363
|
+
};
|
|
15364
|
+
};
|
|
15365
|
+
};
|
|
15366
|
+
422: {
|
|
15367
|
+
headers: {
|
|
15368
|
+
[name: string]: unknown;
|
|
15369
|
+
};
|
|
15370
|
+
content: {
|
|
15371
|
+
"application/json": {
|
|
15372
|
+
errors: {
|
|
15373
|
+
code?: string | null;
|
|
15374
|
+
detail: string;
|
|
15375
|
+
status?: string;
|
|
15376
|
+
title?: string;
|
|
15377
|
+
}[];
|
|
15378
|
+
};
|
|
15379
|
+
};
|
|
15380
|
+
};
|
|
15381
|
+
}, `${string}/${string}`>, openapi_fetch.FetchOptions<{
|
|
15382
|
+
parameters: {
|
|
15383
|
+
query?: never;
|
|
15384
|
+
header?: never;
|
|
15385
|
+
path: {
|
|
15386
|
+
service_id: string;
|
|
15387
|
+
};
|
|
15388
|
+
cookie?: never;
|
|
15389
|
+
};
|
|
15390
|
+
requestBody?: never;
|
|
15391
|
+
responses: {
|
|
15392
|
+
200: {
|
|
15393
|
+
headers: {
|
|
15394
|
+
[name: string]: unknown;
|
|
15395
|
+
};
|
|
15396
|
+
content: {
|
|
15397
|
+
"application/json": {
|
|
15398
|
+
data: {
|
|
15399
|
+
configured: {
|
|
15400
|
+
provider_id: string;
|
|
15401
|
+
}[];
|
|
15402
|
+
skipped: {
|
|
15403
|
+
provider_id: string;
|
|
15404
|
+
reason: "no_user_mapping";
|
|
15405
|
+
}[];
|
|
15406
|
+
};
|
|
15407
|
+
};
|
|
15408
|
+
};
|
|
15409
|
+
};
|
|
15410
|
+
401: {
|
|
15411
|
+
headers: {
|
|
15412
|
+
[name: string]: unknown;
|
|
15413
|
+
};
|
|
15414
|
+
content: {
|
|
15415
|
+
"application/json": {
|
|
15416
|
+
errors: {
|
|
15417
|
+
detail: string;
|
|
15418
|
+
status?: string;
|
|
15419
|
+
title?: string;
|
|
15420
|
+
}[];
|
|
15421
|
+
};
|
|
15422
|
+
};
|
|
15423
|
+
};
|
|
15424
|
+
404: {
|
|
15425
|
+
headers: {
|
|
15426
|
+
[name: string]: unknown;
|
|
15427
|
+
};
|
|
15428
|
+
content: {
|
|
15429
|
+
"application/json": {
|
|
15430
|
+
errors: {
|
|
15431
|
+
detail: "Not Found";
|
|
15432
|
+
status: "404";
|
|
15433
|
+
}[];
|
|
15434
|
+
};
|
|
15435
|
+
};
|
|
15436
|
+
};
|
|
15437
|
+
422: {
|
|
15438
|
+
headers: {
|
|
15439
|
+
[name: string]: unknown;
|
|
15440
|
+
};
|
|
15441
|
+
content: {
|
|
15442
|
+
"application/json": {
|
|
15443
|
+
errors: {
|
|
15444
|
+
code?: string | null;
|
|
15445
|
+
detail: string;
|
|
15446
|
+
status?: string;
|
|
15447
|
+
title?: string;
|
|
15448
|
+
}[];
|
|
15449
|
+
};
|
|
15450
|
+
};
|
|
15451
|
+
};
|
|
15452
|
+
};
|
|
15453
|
+
}>>;
|
|
15454
|
+
|
|
15455
|
+
interface Options$Z extends MutationOptionsFor<"patch", "/v1/accounts/{account_id}"> {
|
|
14709
15456
|
client?: QueryClient;
|
|
14710
15457
|
}
|
|
14711
|
-
declare const useUpdateAccount: (options?: Options$
|
|
15458
|
+
declare const useUpdateAccount: (options?: Options$Z) => _tanstack_react_query.UseMutationResult<{
|
|
14712
15459
|
data?: {
|
|
14713
15460
|
created_at: string;
|
|
14714
15461
|
id: string;
|
|
@@ -14857,10 +15604,10 @@ declare const useUpdateAccount: (options?: Options$Y) => _tanstack_react_query.U
|
|
|
14857
15604
|
};
|
|
14858
15605
|
}>>;
|
|
14859
15606
|
|
|
14860
|
-
interface Options$
|
|
15607
|
+
interface Options$Y extends MutationOptionsFor<"patch", "/v1/users/{user_id}"> {
|
|
14861
15608
|
client?: QueryClient;
|
|
14862
15609
|
}
|
|
14863
|
-
declare const useUpdateAccountUser: (options?: Options$
|
|
15610
|
+
declare const useUpdateAccountUser: (options?: Options$Y) => _tanstack_react_query.UseMutationResult<{
|
|
14864
15611
|
object: "account_user";
|
|
14865
15612
|
passive: boolean;
|
|
14866
15613
|
roles: {
|
|
@@ -15048,10 +15795,10 @@ declare const useUpdateAccountUser: (options?: Options$X) => _tanstack_react_que
|
|
|
15048
15795
|
};
|
|
15049
15796
|
}>>;
|
|
15050
15797
|
|
|
15051
|
-
interface Options$
|
|
15798
|
+
interface Options$X extends MutationOptionsFor<"patch", "/v1/blocks/{block_id}"> {
|
|
15052
15799
|
client?: QueryClient;
|
|
15053
15800
|
}
|
|
15054
|
-
declare const useUpdateBlock: (options?: Options$
|
|
15801
|
+
declare const useUpdateBlock: (options?: Options$X) => _tanstack_react_query.UseMutationResult<{
|
|
15055
15802
|
data: {
|
|
15056
15803
|
all_day: boolean;
|
|
15057
15804
|
attachment_type: "location" | "service" | "provider" | "service_provider";
|
|
@@ -15236,10 +15983,10 @@ declare const useUpdateBlock: (options?: Options$W) => _tanstack_react_query.Use
|
|
|
15236
15983
|
};
|
|
15237
15984
|
}> | undefined>;
|
|
15238
15985
|
|
|
15239
|
-
interface Options$
|
|
15986
|
+
interface Options$W extends MutationOptionsFor<"patch", "/v1/booking_intents/{booking_intent_id}"> {
|
|
15240
15987
|
client?: QueryClient;
|
|
15241
15988
|
}
|
|
15242
|
-
declare const useUpdateBookingIntent: (options?: Options$
|
|
15989
|
+
declare const useUpdateBookingIntent: (options?: Options$W) => _tanstack_react_query.UseMutationResult<{
|
|
15243
15990
|
data: {
|
|
15244
15991
|
abandoned_at?: string | null;
|
|
15245
15992
|
appointment?: {
|
|
@@ -16839,10 +17586,10 @@ declare const useUpdateBookingIntent: (options?: Options$V) => _tanstack_react_q
|
|
|
16839
17586
|
};
|
|
16840
17587
|
}>>;
|
|
16841
17588
|
|
|
16842
|
-
interface Options$
|
|
17589
|
+
interface Options$V extends MutationOptionsFor<"patch", "/v1/booking_links/{booking_link_id}"> {
|
|
16843
17590
|
client?: QueryClient;
|
|
16844
17591
|
}
|
|
16845
|
-
declare const useUpdateBookingLink: (options?: Options$
|
|
17592
|
+
declare const useUpdateBookingLink: (options?: Options$V) => _tanstack_react_query.UseMutationResult<{
|
|
16846
17593
|
data: {
|
|
16847
17594
|
client?: {
|
|
16848
17595
|
created_at: string;
|
|
@@ -17131,10 +17878,10 @@ declare const useUpdateBookingLink: (options?: Options$U) => _tanstack_react_que
|
|
|
17131
17878
|
};
|
|
17132
17879
|
}>>;
|
|
17133
17880
|
|
|
17134
|
-
interface Options$
|
|
17881
|
+
interface Options$U extends MutationOptionsFor<"patch", "/v1/cancellation_reasons/{cancellation_reason_id}"> {
|
|
17135
17882
|
client?: QueryClient;
|
|
17136
17883
|
}
|
|
17137
|
-
declare const useUpdateCancellationReason: (options?: Options$
|
|
17884
|
+
declare const useUpdateCancellationReason: (options?: Options$U) => _tanstack_react_query.UseMutationResult<{
|
|
17138
17885
|
data: Record<string, never>;
|
|
17139
17886
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
17140
17887
|
200: {
|
|
@@ -17265,10 +18012,10 @@ declare const useUpdateCancellationReason: (options?: Options$T) => _tanstack_re
|
|
|
17265
18012
|
};
|
|
17266
18013
|
}>>;
|
|
17267
18014
|
|
|
17268
|
-
interface Options$
|
|
18015
|
+
interface Options$T extends MutationOptionsFor<"patch", "/v1/clients/{client_id}"> {
|
|
17269
18016
|
client?: QueryClient;
|
|
17270
18017
|
}
|
|
17271
|
-
declare const useUpdateClient: (options?: Options$
|
|
18018
|
+
declare const useUpdateClient: (options?: Options$T) => _tanstack_react_query.UseMutationResult<{
|
|
17272
18019
|
data: {
|
|
17273
18020
|
created_at: string;
|
|
17274
18021
|
email?: string | null;
|
|
@@ -17465,10 +18212,10 @@ declare const useUpdateClient: (options?: Options$S) => _tanstack_react_query.Us
|
|
|
17465
18212
|
};
|
|
17466
18213
|
}>>;
|
|
17467
18214
|
|
|
17468
|
-
interface Options$
|
|
18215
|
+
interface Options$S extends MutationOptionsFor<"patch", "/v1/client_fields/{client_field_id}"> {
|
|
17469
18216
|
client?: QueryClient;
|
|
17470
18217
|
}
|
|
17471
|
-
declare const useUpdateClientField: (options?: Options$
|
|
18218
|
+
declare const useUpdateClientField: (options?: Options$S) => _tanstack_react_query.UseMutationResult<{
|
|
17472
18219
|
data: Record<string, never>;
|
|
17473
18220
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
17474
18221
|
200: {
|
|
@@ -17608,10 +18355,10 @@ declare const useUpdateClientField: (options?: Options$R) => _tanstack_react_que
|
|
|
17608
18355
|
};
|
|
17609
18356
|
}>>;
|
|
17610
18357
|
|
|
17611
|
-
interface Options$
|
|
18358
|
+
interface Options$R extends MutationOptionsFor<"patch", "/v1/connected_accounts/{connected_account_id}"> {
|
|
17612
18359
|
client?: QueryClient;
|
|
17613
18360
|
}
|
|
17614
|
-
declare const useUpdateConnectedAccount: (options?: Options$
|
|
18361
|
+
declare const useUpdateConnectedAccount: (options?: Options$R) => _tanstack_react_query.UseMutationResult<{
|
|
17615
18362
|
data: {
|
|
17616
18363
|
connection_scope: "user" | "account";
|
|
17617
18364
|
created_at: string;
|
|
@@ -17781,10 +18528,10 @@ declare const useUpdateConnectedAccount: (options?: Options$Q) => _tanstack_reac
|
|
|
17781
18528
|
};
|
|
17782
18529
|
}>>;
|
|
17783
18530
|
|
|
17784
|
-
interface Options$
|
|
18531
|
+
interface Options$Q extends MutationOptionsFor<"patch", "/v1/forms/{form_id}"> {
|
|
17785
18532
|
client?: QueryClient;
|
|
17786
18533
|
}
|
|
17787
|
-
declare const useUpdateForm: (options?: Options$
|
|
18534
|
+
declare const useUpdateForm: (options?: Options$Q) => _tanstack_react_query.UseMutationResult<{
|
|
17788
18535
|
data: {
|
|
17789
18536
|
created_at: string;
|
|
17790
18537
|
field_count: number;
|
|
@@ -18008,10 +18755,10 @@ declare const useUpdateForm: (options?: Options$P) => _tanstack_react_query.UseM
|
|
|
18008
18755
|
};
|
|
18009
18756
|
}>>;
|
|
18010
18757
|
|
|
18011
|
-
interface Options$
|
|
18758
|
+
interface Options$P extends MutationOptionsFor<"patch", "/v1/openings/{opening_id}"> {
|
|
18012
18759
|
client?: QueryClient;
|
|
18013
18760
|
}
|
|
18014
|
-
declare const useUpdateOpening: (options?: Options$
|
|
18761
|
+
declare const useUpdateOpening: (options?: Options$P) => _tanstack_react_query.UseMutationResult<{
|
|
18015
18762
|
data: {
|
|
18016
18763
|
created_at: string;
|
|
18017
18764
|
date: string;
|
|
@@ -18179,10 +18926,10 @@ declare const useUpdateOpening: (options?: Options$O) => _tanstack_react_query.U
|
|
|
18179
18926
|
};
|
|
18180
18927
|
}>>;
|
|
18181
18928
|
|
|
18182
|
-
interface Options$
|
|
18929
|
+
interface Options$O extends MutationOptionsFor<"patch", "/v1/providers/{provider_id}"> {
|
|
18183
18930
|
client?: QueryClient;
|
|
18184
18931
|
}
|
|
18185
|
-
declare const useUpdateProvider: (options?: Options$
|
|
18932
|
+
declare const useUpdateProvider: (options?: Options$O) => _tanstack_react_query.UseMutationResult<{
|
|
18186
18933
|
data: {
|
|
18187
18934
|
created_at: string;
|
|
18188
18935
|
display_name: string;
|
|
@@ -18358,10 +19105,10 @@ declare const useUpdateProvider: (options?: Options$N) => _tanstack_react_query.
|
|
|
18358
19105
|
};
|
|
18359
19106
|
}>>;
|
|
18360
19107
|
|
|
18361
|
-
interface Options$
|
|
19108
|
+
interface Options$N extends MutationOptionsFor<"patch", "/v1/provider_schedules/{provider_schedule_id}"> {
|
|
18362
19109
|
client?: QueryClient;
|
|
18363
19110
|
}
|
|
18364
|
-
declare const useUpdateProviderSchedule: (options?: Options$
|
|
19111
|
+
declare const useUpdateProviderSchedule: (options?: Options$N) => _tanstack_react_query.UseMutationResult<{
|
|
18365
19112
|
data: {
|
|
18366
19113
|
created_at: string;
|
|
18367
19114
|
effective_from: string;
|
|
@@ -18522,10 +19269,10 @@ declare const useUpdateProviderSchedule: (options?: Options$M) => _tanstack_reac
|
|
|
18522
19269
|
};
|
|
18523
19270
|
}> | undefined>;
|
|
18524
19271
|
|
|
18525
|
-
interface Options$
|
|
19272
|
+
interface Options$M extends MutationOptionsFor<"patch", "/v1/public/booking_intents/{booking_intent_id}"> {
|
|
18526
19273
|
client?: QueryClient;
|
|
18527
19274
|
}
|
|
18528
|
-
declare const useUpdatePublicBookingIntent: (options?: Options$
|
|
19275
|
+
declare const useUpdatePublicBookingIntent: (options?: Options$M) => _tanstack_react_query.UseMutationResult<{
|
|
18529
19276
|
data: {
|
|
18530
19277
|
appointment?: {
|
|
18531
19278
|
add_to_calendar_url: string;
|
|
@@ -18912,10 +19659,10 @@ declare const useUpdatePublicBookingIntent: (options?: Options$L) => _tanstack_r
|
|
|
18912
19659
|
};
|
|
18913
19660
|
}>>;
|
|
18914
19661
|
|
|
18915
|
-
interface Options$
|
|
19662
|
+
interface Options$L extends MutationOptionsFor<"patch", "/v1/services/{service_id}"> {
|
|
18916
19663
|
client?: QueryClient;
|
|
18917
19664
|
}
|
|
18918
|
-
declare const useUpdateService: (options?: Options$
|
|
19665
|
+
declare const useUpdateService: (options?: Options$L) => _tanstack_react_query.UseMutationResult<{
|
|
18919
19666
|
data: {
|
|
18920
19667
|
appointment_type: "in_person" | "virtual";
|
|
18921
19668
|
booking_policy: {
|
|
@@ -19357,10 +20104,10 @@ declare const useSavvyCalQueryClient: (overrideClient?: QueryClient) => openapi_
|
|
|
19357
20104
|
declare const useSavvyCalFetchClient: (overrideClient?: FetchClient) => openapi_fetch.Client<_savvycal_appointments_core.paths, `${string}/${string}`>;
|
|
19358
20105
|
|
|
19359
20106
|
type AccountByIdParams = paths["/v1/accounts/{account_id}"]["get"]["parameters"];
|
|
19360
|
-
interface Options$
|
|
20107
|
+
interface Options$K extends QueryOptionsFor<"get", "/v1/accounts/{account_id}"> {
|
|
19361
20108
|
client?: QueryClient;
|
|
19362
20109
|
}
|
|
19363
|
-
declare const useAccountById: (account_id: AccountByIdParams["path"]["account_id"], options?: Options$
|
|
20110
|
+
declare const useAccountById: (account_id: AccountByIdParams["path"]["account_id"], options?: Options$K) => _tanstack_react_query.UseQueryResult<{
|
|
19364
20111
|
data?: {
|
|
19365
20112
|
created_at: string;
|
|
19366
20113
|
id: string;
|
|
@@ -19414,10 +20161,10 @@ declare const useAccountById: (account_id: AccountByIdParams["path"]["account_id
|
|
|
19414
20161
|
};
|
|
19415
20162
|
}, `${string}/${string}`>>;
|
|
19416
20163
|
|
|
19417
|
-
interface Options$
|
|
20164
|
+
interface Options$J extends QueryOptionsFor<"get", "/v1/users"> {
|
|
19418
20165
|
client?: QueryClient;
|
|
19419
20166
|
}
|
|
19420
|
-
declare const useAccountUsers: (options?: Options$
|
|
20167
|
+
declare const useAccountUsers: (options?: Options$J) => _tanstack_react_query.UseQueryResult<{
|
|
19421
20168
|
data?: {
|
|
19422
20169
|
object: "account_user";
|
|
19423
20170
|
passive: boolean;
|
|
@@ -19500,10 +20247,10 @@ declare const useAccountUsers: (options?: Options$I) => _tanstack_react_query.Us
|
|
|
19500
20247
|
}, `${string}/${string}`>>;
|
|
19501
20248
|
|
|
19502
20249
|
type AccountsParams = paths["/v1/accounts"]["get"]["parameters"];
|
|
19503
|
-
interface Options$
|
|
20250
|
+
interface Options$I extends QueryOptionsFor<"get", "/v1/accounts"> {
|
|
19504
20251
|
client?: QueryClient;
|
|
19505
20252
|
}
|
|
19506
|
-
declare const useAccounts: (queryParams?: AccountsParams["query"], options?: Options$
|
|
20253
|
+
declare const useAccounts: (queryParams?: AccountsParams["query"], options?: Options$I) => _tanstack_react_query.UseQueryResult<{
|
|
19507
20254
|
data: {
|
|
19508
20255
|
created_at: string;
|
|
19509
20256
|
id: string;
|
|
@@ -19589,10 +20336,10 @@ declare const useAccounts: (queryParams?: AccountsParams["query"], options?: Opt
|
|
|
19589
20336
|
}, `${string}/${string}`>>;
|
|
19590
20337
|
|
|
19591
20338
|
type AppointmentParams = paths["/v1/appointments/{appointment_id}"]["get"]["parameters"];
|
|
19592
|
-
interface Options$
|
|
20339
|
+
interface Options$H extends QueryOptionsFor<"get", "/v1/appointments/{appointment_id}"> {
|
|
19593
20340
|
client?: QueryClient;
|
|
19594
20341
|
}
|
|
19595
|
-
declare const useAppointment: (appointment_id: AppointmentParams["path"]["appointment_id"], queryParams?: AppointmentParams["query"], options?: Options$
|
|
20342
|
+
declare const useAppointment: (appointment_id: AppointmentParams["path"]["appointment_id"], queryParams?: AppointmentParams["query"], options?: Options$H) => _tanstack_react_query.UseQueryResult<{
|
|
19596
20343
|
data: {
|
|
19597
20344
|
add_to_calendar_url: string;
|
|
19598
20345
|
appointment_type: "in_person" | "virtual";
|
|
@@ -20185,10 +20932,10 @@ declare const useAppointment: (appointment_id: AppointmentParams["path"]["appoin
|
|
|
20185
20932
|
}, `${string}/${string}`>>;
|
|
20186
20933
|
|
|
20187
20934
|
type AppointmentsParams = paths["/v1/appointments"]["get"]["parameters"];
|
|
20188
|
-
interface Options$
|
|
20935
|
+
interface Options$G extends QueryOptionsFor<"get", "/v1/appointments"> {
|
|
20189
20936
|
client?: QueryClient;
|
|
20190
20937
|
}
|
|
20191
|
-
declare const useAppointments: (queryParams?: AppointmentsParams["query"], options?: Options$
|
|
20938
|
+
declare const useAppointments: (queryParams?: AppointmentsParams["query"], options?: Options$G) => _tanstack_react_query.UseQueryResult<{
|
|
20192
20939
|
data: {
|
|
20193
20940
|
add_to_calendar_url: string;
|
|
20194
20941
|
appointment_type: "in_person" | "virtual";
|
|
@@ -20807,10 +21554,10 @@ declare const useAppointments: (queryParams?: AppointmentsParams["query"], optio
|
|
|
20807
21554
|
}, `${string}/${string}`>>;
|
|
20808
21555
|
|
|
20809
21556
|
type BlockParams = paths["/v1/blocks/{block_id}"]["get"]["parameters"];
|
|
20810
|
-
interface Options$
|
|
21557
|
+
interface Options$F extends QueryOptionsFor<"get", "/v1/blocks/{block_id}"> {
|
|
20811
21558
|
client?: QueryClient;
|
|
20812
21559
|
}
|
|
20813
|
-
declare const useBlock: (block_id: BlockParams["path"]["block_id"], options?: Options$
|
|
21560
|
+
declare const useBlock: (block_id: BlockParams["path"]["block_id"], options?: Options$F) => _tanstack_react_query.UseQueryResult<{
|
|
20814
21561
|
data: {
|
|
20815
21562
|
all_day: boolean;
|
|
20816
21563
|
attachment_type: "location" | "service" | "provider" | "service_provider";
|
|
@@ -20897,10 +21644,10 @@ declare const useBlock: (block_id: BlockParams["path"]["block_id"], options?: Op
|
|
|
20897
21644
|
}, `${string}/${string}`>>;
|
|
20898
21645
|
|
|
20899
21646
|
type BlocksParams = paths["/v1/blocks"]["get"]["parameters"];
|
|
20900
|
-
interface Options$
|
|
21647
|
+
interface Options$E extends QueryOptionsFor<"get", "/v1/blocks"> {
|
|
20901
21648
|
client?: QueryClient;
|
|
20902
21649
|
}
|
|
20903
|
-
declare const useBlocks: (queryParams?: BlocksParams["query"], options?: Options$
|
|
21650
|
+
declare const useBlocks: (queryParams?: BlocksParams["query"], options?: Options$E) => _tanstack_react_query.UseQueryResult<{
|
|
20904
21651
|
data: {
|
|
20905
21652
|
all_day: boolean;
|
|
20906
21653
|
attachment_type: "location" | "service" | "provider" | "service_provider";
|
|
@@ -21003,10 +21750,10 @@ declare const useBlocks: (queryParams?: BlocksParams["query"], options?: Options
|
|
|
21003
21750
|
}, `${string}/${string}`>>;
|
|
21004
21751
|
|
|
21005
21752
|
type BookingIntentParams = paths["/v1/booking_intents/{booking_intent_id}"]["get"]["parameters"];
|
|
21006
|
-
interface Options$
|
|
21753
|
+
interface Options$D extends QueryOptionsFor<"get", "/v1/booking_intents/{booking_intent_id}"> {
|
|
21007
21754
|
client?: QueryClient;
|
|
21008
21755
|
}
|
|
21009
|
-
declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"]["booking_intent_id"], queryParams?: BookingIntentParams["query"], options?: Options$
|
|
21756
|
+
declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"]["booking_intent_id"], queryParams?: BookingIntentParams["query"], options?: Options$D) => _tanstack_react_query.UseQueryResult<{
|
|
21010
21757
|
data: {
|
|
21011
21758
|
abandoned_at?: string | null;
|
|
21012
21759
|
appointment?: {
|
|
@@ -22003,10 +22750,10 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
22003
22750
|
}, `${string}/${string}`>>;
|
|
22004
22751
|
|
|
22005
22752
|
type BookingIntentSlotsParams = paths["/v1/booking_intents/{booking_intent_id}/slots"]["get"]["parameters"];
|
|
22006
|
-
interface Options$
|
|
22753
|
+
interface Options$C extends QueryOptionsFor<"get", "/v1/booking_intents/{booking_intent_id}/slots"> {
|
|
22007
22754
|
client?: QueryClient;
|
|
22008
22755
|
}
|
|
22009
|
-
declare const useBookingIntentSlots: (booking_intent_id: BookingIntentSlotsParams["path"]["booking_intent_id"], queryParams?: BookingIntentSlotsParams["query"], options?: Options$
|
|
22756
|
+
declare const useBookingIntentSlots: (booking_intent_id: BookingIntentSlotsParams["path"]["booking_intent_id"], queryParams?: BookingIntentSlotsParams["query"], options?: Options$C) => _tanstack_react_query.UseQueryResult<{
|
|
22010
22757
|
data: {
|
|
22011
22758
|
end_at: string;
|
|
22012
22759
|
end_at_ts: number;
|
|
@@ -22080,10 +22827,10 @@ declare const useBookingIntentSlots: (booking_intent_id: BookingIntentSlotsParam
|
|
|
22080
22827
|
}, `${string}/${string}`>>;
|
|
22081
22828
|
|
|
22082
22829
|
type BookingIntentsParams = paths["/v1/booking_intents"]["get"]["parameters"];
|
|
22083
|
-
interface Options$
|
|
22830
|
+
interface Options$B extends QueryOptionsFor<"get", "/v1/booking_intents"> {
|
|
22084
22831
|
client?: QueryClient;
|
|
22085
22832
|
}
|
|
22086
|
-
declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], options?: Options$
|
|
22833
|
+
declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], options?: Options$B) => _tanstack_react_query.UseQueryResult<{
|
|
22087
22834
|
data: {
|
|
22088
22835
|
abandoned_at?: string | null;
|
|
22089
22836
|
appointment?: {
|
|
@@ -23096,10 +23843,10 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
23096
23843
|
}, `${string}/${string}`>>;
|
|
23097
23844
|
|
|
23098
23845
|
type BookingLinkParams = paths["/v1/booking_links/{booking_link_id}"]["get"]["parameters"];
|
|
23099
|
-
interface Options$
|
|
23846
|
+
interface Options$A extends QueryOptionsFor<"get", "/v1/booking_links/{booking_link_id}"> {
|
|
23100
23847
|
client?: QueryClient;
|
|
23101
23848
|
}
|
|
23102
|
-
declare const useBookingLink: (booking_link_id: BookingLinkParams["path"]["booking_link_id"], options?: Options$
|
|
23849
|
+
declare const useBookingLink: (booking_link_id: BookingLinkParams["path"]["booking_link_id"], options?: Options$A) => _tanstack_react_query.UseQueryResult<{
|
|
23103
23850
|
data: {
|
|
23104
23851
|
client?: {
|
|
23105
23852
|
created_at: string;
|
|
@@ -23242,10 +23989,10 @@ declare const useBookingLink: (booking_link_id: BookingLinkParams["path"]["booki
|
|
|
23242
23989
|
}, `${string}/${string}`>>;
|
|
23243
23990
|
|
|
23244
23991
|
type BookingLinksParams = paths["/v1/booking_links"]["get"]["parameters"];
|
|
23245
|
-
interface Options$
|
|
23992
|
+
interface Options$z extends QueryOptionsFor<"get", "/v1/booking_links"> {
|
|
23246
23993
|
client?: QueryClient;
|
|
23247
23994
|
}
|
|
23248
|
-
declare const useBookingLinks: (queryParams?: BookingLinksParams["query"], options?: Options$
|
|
23995
|
+
declare const useBookingLinks: (queryParams?: BookingLinksParams["query"], options?: Options$z) => _tanstack_react_query.UseQueryResult<{
|
|
23249
23996
|
data: {
|
|
23250
23997
|
client?: {
|
|
23251
23998
|
created_at: string;
|
|
@@ -23404,10 +24151,10 @@ declare const useBookingLinks: (queryParams?: BookingLinksParams["query"], optio
|
|
|
23404
24151
|
}, `${string}/${string}`>>;
|
|
23405
24152
|
|
|
23406
24153
|
type CancellationReasonParams = paths["/v1/cancellation_reasons/{cancellation_reason_id}"]["get"]["parameters"];
|
|
23407
|
-
interface Options$
|
|
24154
|
+
interface Options$y extends QueryOptionsFor<"get", "/v1/cancellation_reasons/{cancellation_reason_id}"> {
|
|
23408
24155
|
client?: QueryClient;
|
|
23409
24156
|
}
|
|
23410
|
-
declare const useCancellationReason: (cancellation_reason_id: CancellationReasonParams["path"]["cancellation_reason_id"], options?: Options$
|
|
24157
|
+
declare const useCancellationReason: (cancellation_reason_id: CancellationReasonParams["path"]["cancellation_reason_id"], options?: Options$y) => _tanstack_react_query.UseQueryResult<{
|
|
23411
24158
|
data: Record<string, never>;
|
|
23412
24159
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
23413
24160
|
200: {
|
|
@@ -23449,10 +24196,10 @@ declare const useCancellationReason: (cancellation_reason_id: CancellationReason
|
|
|
23449
24196
|
};
|
|
23450
24197
|
}, `${string}/${string}`>>;
|
|
23451
24198
|
|
|
23452
|
-
interface Options$
|
|
24199
|
+
interface Options$x extends QueryOptionsFor<"get", "/v1/cancellation_reasons"> {
|
|
23453
24200
|
client?: QueryClient;
|
|
23454
24201
|
}
|
|
23455
|
-
declare const useCancellationReasons: (options?: Options$
|
|
24202
|
+
declare const useCancellationReasons: (options?: Options$x) => _tanstack_react_query.UseQueryResult<{
|
|
23456
24203
|
data: {
|
|
23457
24204
|
id: string;
|
|
23458
24205
|
name: string;
|
|
@@ -23509,10 +24256,10 @@ declare const useCancellationReasons: (options?: Options$w) => _tanstack_react_q
|
|
|
23509
24256
|
}, `${string}/${string}`>>;
|
|
23510
24257
|
|
|
23511
24258
|
type ClientParams = paths["/v1/clients/{client_id}"]["get"]["parameters"];
|
|
23512
|
-
interface Options$
|
|
24259
|
+
interface Options$w extends QueryOptionsFor<"get", "/v1/clients/{client_id}"> {
|
|
23513
24260
|
client?: QueryClient;
|
|
23514
24261
|
}
|
|
23515
|
-
declare const useClient: (client_id: ClientParams["path"]["client_id"], queryParams?: ClientParams["query"], options?: Options$
|
|
24262
|
+
declare const useClient: (client_id: ClientParams["path"]["client_id"], queryParams?: ClientParams["query"], options?: Options$w) => _tanstack_react_query.UseQueryResult<{
|
|
23516
24263
|
data: {
|
|
23517
24264
|
created_at: string;
|
|
23518
24265
|
email?: string | null;
|
|
@@ -23591,10 +24338,10 @@ declare const useClient: (client_id: ClientParams["path"]["client_id"], queryPar
|
|
|
23591
24338
|
}, `${string}/${string}`>>;
|
|
23592
24339
|
|
|
23593
24340
|
type ClientFieldParams = paths["/v1/client_fields/{client_field_id}"]["get"]["parameters"];
|
|
23594
|
-
interface Options$
|
|
24341
|
+
interface Options$v extends QueryOptionsFor<"get", "/v1/client_fields/{client_field_id}"> {
|
|
23595
24342
|
client?: QueryClient;
|
|
23596
24343
|
}
|
|
23597
|
-
declare const useClientField: (client_field_id: ClientFieldParams["path"]["client_field_id"], options?: Options$
|
|
24344
|
+
declare const useClientField: (client_field_id: ClientFieldParams["path"]["client_field_id"], options?: Options$v) => _tanstack_react_query.UseQueryResult<{
|
|
23598
24345
|
data: Record<string, never>;
|
|
23599
24346
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
23600
24347
|
200: {
|
|
@@ -23636,10 +24383,10 @@ declare const useClientField: (client_field_id: ClientFieldParams["path"]["clien
|
|
|
23636
24383
|
};
|
|
23637
24384
|
}, `${string}/${string}`>>;
|
|
23638
24385
|
|
|
23639
|
-
interface Options$
|
|
24386
|
+
interface Options$u extends QueryOptionsFor<"get", "/v1/client_fields"> {
|
|
23640
24387
|
client?: QueryClient;
|
|
23641
24388
|
}
|
|
23642
|
-
declare const useClientFields: (options?: Options$
|
|
24389
|
+
declare const useClientFields: (options?: Options$u) => _tanstack_react_query.UseQueryResult<{
|
|
23643
24390
|
data: {
|
|
23644
24391
|
created_at: string;
|
|
23645
24392
|
description?: string | null;
|
|
@@ -23722,10 +24469,10 @@ declare const useClientFields: (options?: Options$t) => _tanstack_react_query.Us
|
|
|
23722
24469
|
}, `${string}/${string}`>>;
|
|
23723
24470
|
|
|
23724
24471
|
type ClientsParams = paths["/v1/clients"]["get"]["parameters"];
|
|
23725
|
-
interface Options$
|
|
24472
|
+
interface Options$t extends QueryOptionsFor<"get", "/v1/clients"> {
|
|
23726
24473
|
client?: QueryClient;
|
|
23727
24474
|
}
|
|
23728
|
-
declare const useClients: (queryParams?: ClientsParams["query"], options?: Options$
|
|
24475
|
+
declare const useClients: (queryParams?: ClientsParams["query"], options?: Options$t) => _tanstack_react_query.UseQueryResult<{
|
|
23729
24476
|
data: {
|
|
23730
24477
|
created_at: string;
|
|
23731
24478
|
email?: string | null;
|
|
@@ -23820,10 +24567,10 @@ declare const useClients: (queryParams?: ClientsParams["query"], options?: Optio
|
|
|
23820
24567
|
}, `${string}/${string}`>>;
|
|
23821
24568
|
|
|
23822
24569
|
type ConnectedAccountParams = paths["/v1/connected_accounts/{connected_account_id}"]["get"]["parameters"];
|
|
23823
|
-
interface Options$
|
|
24570
|
+
interface Options$s extends QueryOptionsFor<"get", "/v1/connected_accounts/{connected_account_id}"> {
|
|
23824
24571
|
client?: QueryClient;
|
|
23825
24572
|
}
|
|
23826
|
-
declare const useConnectedAccount: (connected_account_id: ConnectedAccountParams["path"]["connected_account_id"], options?: Options$
|
|
24573
|
+
declare const useConnectedAccount: (connected_account_id: ConnectedAccountParams["path"]["connected_account_id"], options?: Options$s) => _tanstack_react_query.UseQueryResult<{
|
|
23827
24574
|
data: {
|
|
23828
24575
|
connection_scope: "user" | "account";
|
|
23829
24576
|
created_at: string;
|
|
@@ -23892,10 +24639,10 @@ declare const useConnectedAccount: (connected_account_id: ConnectedAccountParams
|
|
|
23892
24639
|
}, `${string}/${string}`>>;
|
|
23893
24640
|
|
|
23894
24641
|
type ConnectedAccountExternalUsersParams = paths["/v1/connected_accounts/{connected_account_id}/external_users"]["get"]["parameters"];
|
|
23895
|
-
interface Options$
|
|
24642
|
+
interface Options$r extends QueryOptionsFor<"get", "/v1/connected_accounts/{connected_account_id}/external_users"> {
|
|
23896
24643
|
client?: QueryClient;
|
|
23897
24644
|
}
|
|
23898
|
-
declare const useConnectedAccountExternalUsers: (connected_account_id: ConnectedAccountExternalUsersParams["path"]["connected_account_id"], queryParams?: ConnectedAccountExternalUsersParams["query"], options?: Options$
|
|
24645
|
+
declare const useConnectedAccountExternalUsers: (connected_account_id: ConnectedAccountExternalUsersParams["path"]["connected_account_id"], queryParams?: ConnectedAccountExternalUsersParams["query"], options?: Options$r) => _tanstack_react_query.UseQueryResult<{
|
|
23899
24646
|
data: {
|
|
23900
24647
|
email: string | null;
|
|
23901
24648
|
first_name: string | null;
|
|
@@ -23981,10 +24728,10 @@ declare const useConnectedAccountExternalUsers: (connected_account_id: Connected
|
|
|
23981
24728
|
}, `${string}/${string}`>>;
|
|
23982
24729
|
|
|
23983
24730
|
type ConnectedAccountsParams = paths["/v1/connected_accounts"]["get"]["parameters"];
|
|
23984
|
-
interface Options$
|
|
24731
|
+
interface Options$q extends QueryOptionsFor<"get", "/v1/connected_accounts"> {
|
|
23985
24732
|
client?: QueryClient;
|
|
23986
24733
|
}
|
|
23987
|
-
declare const useConnectedAccounts: (queryParams?: ConnectedAccountsParams["query"], options?: Options$
|
|
24734
|
+
declare const useConnectedAccounts: (queryParams?: ConnectedAccountsParams["query"], options?: Options$q) => _tanstack_react_query.UseQueryResult<{
|
|
23988
24735
|
data: {
|
|
23989
24736
|
connection_scope: "user" | "account";
|
|
23990
24737
|
created_at: string;
|
|
@@ -24068,10 +24815,10 @@ declare const useConnectedAccounts: (queryParams?: ConnectedAccountsParams["quer
|
|
|
24068
24815
|
};
|
|
24069
24816
|
}, `${string}/${string}`>>;
|
|
24070
24817
|
|
|
24071
|
-
interface Options$
|
|
24818
|
+
interface Options$p extends QueryOptionsFor<"get", "/v1/account"> {
|
|
24072
24819
|
client?: QueryClient;
|
|
24073
24820
|
}
|
|
24074
|
-
declare const useCurrentAccount: (options?: Options$
|
|
24821
|
+
declare const useCurrentAccount: (options?: Options$p) => _tanstack_react_query.UseQueryResult<{
|
|
24075
24822
|
data?: {
|
|
24076
24823
|
created_at: string;
|
|
24077
24824
|
id: string;
|
|
@@ -24127,10 +24874,10 @@ declare const useCurrentAccount: (options?: Options$o) => _tanstack_react_query.
|
|
|
24127
24874
|
};
|
|
24128
24875
|
}, `${string}/${string}`>>;
|
|
24129
24876
|
|
|
24130
|
-
interface Options$
|
|
24877
|
+
interface Options$o extends QueryOptionsFor<"get", "/v1/user"> {
|
|
24131
24878
|
client?: QueryClient;
|
|
24132
24879
|
}
|
|
24133
|
-
declare const useCurrentAccountUser: (options?: Options$
|
|
24880
|
+
declare const useCurrentAccountUser: (options?: Options$o) => _tanstack_react_query.UseQueryResult<{
|
|
24134
24881
|
object: "account_user";
|
|
24135
24882
|
passive: boolean;
|
|
24136
24883
|
roles: {
|
|
@@ -24206,10 +24953,10 @@ declare const useCurrentAccountUser: (options?: Options$n) => _tanstack_react_qu
|
|
|
24206
24953
|
};
|
|
24207
24954
|
}, `${string}/${string}`>>;
|
|
24208
24955
|
|
|
24209
|
-
interface Options$
|
|
24956
|
+
interface Options$n extends QueryOptionsFor<"get", "/v1/platform"> {
|
|
24210
24957
|
client?: QueryClient;
|
|
24211
24958
|
}
|
|
24212
|
-
declare const useCurrentPlatform: (options?: Options$
|
|
24959
|
+
declare const useCurrentPlatform: (options?: Options$n) => _tanstack_react_query.UseQueryResult<{
|
|
24213
24960
|
data?: {
|
|
24214
24961
|
created_at: string;
|
|
24215
24962
|
id: string;
|
|
@@ -24266,10 +25013,10 @@ declare const useCurrentPlatform: (options?: Options$m) => _tanstack_react_query
|
|
|
24266
25013
|
}, `${string}/${string}`>>;
|
|
24267
25014
|
|
|
24268
25015
|
type EarliestPublicServiceSlotParams = paths["/v1/public/services/{service_id}/earliest_slot"]["get"]["parameters"];
|
|
24269
|
-
interface Options$
|
|
25016
|
+
interface Options$m extends QueryOptionsFor<"get", "/v1/public/services/{service_id}/earliest_slot"> {
|
|
24270
25017
|
client?: QueryClient;
|
|
24271
25018
|
}
|
|
24272
|
-
declare const useEarliestPublicServiceSlot: (service_id: EarliestPublicServiceSlotParams["path"]["service_id"], queryParams?: EarliestPublicServiceSlotParams["query"], options?: Options$
|
|
25019
|
+
declare const useEarliestPublicServiceSlot: (service_id: EarliestPublicServiceSlotParams["path"]["service_id"], queryParams?: EarliestPublicServiceSlotParams["query"], options?: Options$m) => _tanstack_react_query.UseQueryResult<{
|
|
24273
25020
|
data: {
|
|
24274
25021
|
end_at: string;
|
|
24275
25022
|
end_at_ts: number;
|
|
@@ -24343,10 +25090,10 @@ declare const useEarliestPublicServiceSlot: (service_id: EarliestPublicServiceSl
|
|
|
24343
25090
|
}, `${string}/${string}`>>;
|
|
24344
25091
|
|
|
24345
25092
|
type FormParams = paths["/v1/forms/{form_id}"]["get"]["parameters"];
|
|
24346
|
-
interface Options$
|
|
25093
|
+
interface Options$l extends QueryOptionsFor<"get", "/v1/forms/{form_id}"> {
|
|
24347
25094
|
client?: QueryClient;
|
|
24348
25095
|
}
|
|
24349
|
-
declare const useForm: (form_id: FormParams["path"]["form_id"], options?: Options$
|
|
25096
|
+
declare const useForm: (form_id: FormParams["path"]["form_id"], options?: Options$l) => _tanstack_react_query.UseQueryResult<{
|
|
24350
25097
|
data: {
|
|
24351
25098
|
created_at: string;
|
|
24352
25099
|
field_count: number;
|
|
@@ -24439,10 +25186,10 @@ declare const useForm: (form_id: FormParams["path"]["form_id"], options?: Option
|
|
|
24439
25186
|
}, `${string}/${string}`>>;
|
|
24440
25187
|
|
|
24441
25188
|
type FormsParams = paths["/v1/forms"]["get"]["parameters"];
|
|
24442
|
-
interface Options$
|
|
25189
|
+
interface Options$k extends QueryOptionsFor<"get", "/v1/forms"> {
|
|
24443
25190
|
client?: QueryClient;
|
|
24444
25191
|
}
|
|
24445
|
-
declare const useForms: (queryParams?: FormsParams["query"], options?: Options$
|
|
25192
|
+
declare const useForms: (queryParams?: FormsParams["query"], options?: Options$k) => _tanstack_react_query.UseQueryResult<{
|
|
24446
25193
|
data: {
|
|
24447
25194
|
created_at: string;
|
|
24448
25195
|
field_count: number;
|
|
@@ -24551,10 +25298,10 @@ declare const useForms: (queryParams?: FormsParams["query"], options?: Options$j
|
|
|
24551
25298
|
}, `${string}/${string}`>>;
|
|
24552
25299
|
|
|
24553
25300
|
type OpeningParams = paths["/v1/openings/{opening_id}"]["get"]["parameters"];
|
|
24554
|
-
interface Options$
|
|
25301
|
+
interface Options$j extends QueryOptionsFor<"get", "/v1/openings/{opening_id}"> {
|
|
24555
25302
|
client?: QueryClient;
|
|
24556
25303
|
}
|
|
24557
|
-
declare const useOpening: (opening_id: OpeningParams["path"]["opening_id"], options?: Options$
|
|
25304
|
+
declare const useOpening: (opening_id: OpeningParams["path"]["opening_id"], options?: Options$j) => _tanstack_react_query.UseQueryResult<{
|
|
24558
25305
|
data: {
|
|
24559
25306
|
created_at: string;
|
|
24560
25307
|
date: string;
|
|
@@ -24619,10 +25366,10 @@ declare const useOpening: (opening_id: OpeningParams["path"]["opening_id"], opti
|
|
|
24619
25366
|
}, `${string}/${string}`>>;
|
|
24620
25367
|
|
|
24621
25368
|
type OpeningsParams = paths["/v1/openings"]["get"]["parameters"];
|
|
24622
|
-
interface Options$
|
|
25369
|
+
interface Options$i extends QueryOptionsFor<"get", "/v1/openings"> {
|
|
24623
25370
|
client?: QueryClient;
|
|
24624
25371
|
}
|
|
24625
|
-
declare const useOpenings: (queryParams?: OpeningsParams["query"], options?: Options$
|
|
25372
|
+
declare const useOpenings: (queryParams?: OpeningsParams["query"], options?: Options$i) => _tanstack_react_query.UseQueryResult<{
|
|
24626
25373
|
data: {
|
|
24627
25374
|
created_at: string;
|
|
24628
25375
|
date: string;
|
|
@@ -24717,10 +25464,10 @@ declare const useOpenings: (queryParams?: OpeningsParams["query"], options?: Opt
|
|
|
24717
25464
|
}, `${string}/${string}`>>;
|
|
24718
25465
|
|
|
24719
25466
|
type ProviderParams = paths["/v1/providers/{provider_id}"]["get"]["parameters"];
|
|
24720
|
-
interface Options$
|
|
25467
|
+
interface Options$h extends QueryOptionsFor<"get", "/v1/providers/{provider_id}"> {
|
|
24721
25468
|
client?: QueryClient;
|
|
24722
25469
|
}
|
|
24723
|
-
declare const useProvider: (provider_id: ProviderParams["path"]["provider_id"], options?: Options$
|
|
25470
|
+
declare const useProvider: (provider_id: ProviderParams["path"]["provider_id"], options?: Options$h) => _tanstack_react_query.UseQueryResult<{
|
|
24724
25471
|
data: {
|
|
24725
25472
|
created_at: string;
|
|
24726
25473
|
display_name: string;
|
|
@@ -24789,10 +25536,10 @@ declare const useProvider: (provider_id: ProviderParams["path"]["provider_id"],
|
|
|
24789
25536
|
}, `${string}/${string}`>>;
|
|
24790
25537
|
|
|
24791
25538
|
type ProviderScheduleParams = paths["/v1/provider_schedules/{provider_schedule_id}"]["get"]["parameters"];
|
|
24792
|
-
interface Options$
|
|
25539
|
+
interface Options$g extends QueryOptionsFor<"get", "/v1/provider_schedules/{provider_schedule_id}"> {
|
|
24793
25540
|
client?: QueryClient;
|
|
24794
25541
|
}
|
|
24795
|
-
declare const useProviderSchedule: (provider_schedule_id: ProviderScheduleParams["path"]["provider_schedule_id"], options?: Options$
|
|
25542
|
+
declare const useProviderSchedule: (provider_schedule_id: ProviderScheduleParams["path"]["provider_schedule_id"], options?: Options$g) => _tanstack_react_query.UseQueryResult<{
|
|
24796
25543
|
data: {
|
|
24797
25544
|
created_at: string;
|
|
24798
25545
|
effective_from: string;
|
|
@@ -24867,10 +25614,10 @@ declare const useProviderSchedule: (provider_schedule_id: ProviderScheduleParams
|
|
|
24867
25614
|
}, `${string}/${string}`>>;
|
|
24868
25615
|
|
|
24869
25616
|
type ProviderSchedulesParams = paths["/v1/provider_schedules"]["get"]["parameters"];
|
|
24870
|
-
interface Options$
|
|
25617
|
+
interface Options$f extends QueryOptionsFor<"get", "/v1/provider_schedules"> {
|
|
24871
25618
|
client?: QueryClient;
|
|
24872
25619
|
}
|
|
24873
|
-
declare const useProviderSchedules: (queryParams?: ProviderSchedulesParams["query"], options?: Options$
|
|
25620
|
+
declare const useProviderSchedules: (queryParams?: ProviderSchedulesParams["query"], options?: Options$f) => _tanstack_react_query.UseQueryResult<{
|
|
24874
25621
|
data: {
|
|
24875
25622
|
created_at: string;
|
|
24876
25623
|
effective_from: string;
|
|
@@ -24941,6 +25688,20 @@ declare const useProviderSchedules: (queryParams?: ProviderSchedulesParams["quer
|
|
|
24941
25688
|
};
|
|
24942
25689
|
};
|
|
24943
25690
|
};
|
|
25691
|
+
403: {
|
|
25692
|
+
headers: {
|
|
25693
|
+
[name: string]: unknown;
|
|
25694
|
+
};
|
|
25695
|
+
content: {
|
|
25696
|
+
"application/json": {
|
|
25697
|
+
errors: {
|
|
25698
|
+
detail: string;
|
|
25699
|
+
status?: string;
|
|
25700
|
+
title?: string;
|
|
25701
|
+
}[];
|
|
25702
|
+
};
|
|
25703
|
+
};
|
|
25704
|
+
};
|
|
24944
25705
|
422: {
|
|
24945
25706
|
headers: {
|
|
24946
25707
|
[name: string]: unknown;
|
|
@@ -24961,10 +25722,10 @@ declare const useProviderSchedules: (queryParams?: ProviderSchedulesParams["quer
|
|
|
24961
25722
|
}, `${string}/${string}`>>;
|
|
24962
25723
|
|
|
24963
25724
|
type ProvidersParams = paths["/v1/providers"]["get"]["parameters"];
|
|
24964
|
-
interface Options$
|
|
25725
|
+
interface Options$e extends QueryOptionsFor<"get", "/v1/providers"> {
|
|
24965
25726
|
client?: QueryClient;
|
|
24966
25727
|
}
|
|
24967
|
-
declare const useProviders: (queryParams?: ProvidersParams["query"], options?: Options$
|
|
25728
|
+
declare const useProviders: (queryParams?: ProvidersParams["query"], options?: Options$e) => _tanstack_react_query.UseQueryResult<{
|
|
24968
25729
|
data: {
|
|
24969
25730
|
created_at: string;
|
|
24970
25731
|
display_name: string;
|
|
@@ -25049,10 +25810,10 @@ declare const useProviders: (queryParams?: ProvidersParams["query"], options?: O
|
|
|
25049
25810
|
}, `${string}/${string}`>>;
|
|
25050
25811
|
|
|
25051
25812
|
type PublicAppointmentParams = paths["/v1/public/appointments/{appointment_id}"]["get"]["parameters"];
|
|
25052
|
-
interface Options$
|
|
25813
|
+
interface Options$d extends QueryOptionsFor<"get", "/v1/public/appointments/{appointment_id}"> {
|
|
25053
25814
|
client?: QueryClient;
|
|
25054
25815
|
}
|
|
25055
|
-
declare const usePublicAppointment: (appointment_id: PublicAppointmentParams["path"]["appointment_id"], options?: Options$
|
|
25816
|
+
declare const usePublicAppointment: (appointment_id: PublicAppointmentParams["path"]["appointment_id"], options?: Options$d) => _tanstack_react_query.UseQueryResult<{
|
|
25056
25817
|
data: {
|
|
25057
25818
|
add_to_calendar_url: string;
|
|
25058
25819
|
cancel_url: string;
|
|
@@ -25104,10 +25865,10 @@ declare const usePublicAppointment: (appointment_id: PublicAppointmentParams["pa
|
|
|
25104
25865
|
}>;
|
|
25105
25866
|
|
|
25106
25867
|
type PublicBookingIntentParams = paths["/v1/public/booking_intents/{booking_intent_id}"]["get"]["parameters"];
|
|
25107
|
-
interface Options$
|
|
25868
|
+
interface Options$c extends QueryOptionsFor<"get", "/v1/public/booking_intents/{booking_intent_id}"> {
|
|
25108
25869
|
client?: QueryClient;
|
|
25109
25870
|
}
|
|
25110
|
-
declare const usePublicBookingIntent: (booking_intent_id: PublicBookingIntentParams["path"]["booking_intent_id"], options?: Options$
|
|
25871
|
+
declare const usePublicBookingIntent: (booking_intent_id: PublicBookingIntentParams["path"]["booking_intent_id"], options?: Options$c) => _tanstack_react_query.UseQueryResult<{
|
|
25111
25872
|
data: {
|
|
25112
25873
|
appointment?: {
|
|
25113
25874
|
add_to_calendar_url: string;
|
|
@@ -25204,10 +25965,10 @@ declare const usePublicBookingIntent: (booking_intent_id: PublicBookingIntentPar
|
|
|
25204
25965
|
}>;
|
|
25205
25966
|
|
|
25206
25967
|
type PublicBookingIntentSlotsParams = paths["/v1/public/booking_intents/{booking_intent_id}/slots"]["get"]["parameters"];
|
|
25207
|
-
interface Options$
|
|
25968
|
+
interface Options$b extends QueryOptionsFor<"get", "/v1/public/booking_intents/{booking_intent_id}/slots"> {
|
|
25208
25969
|
client?: QueryClient;
|
|
25209
25970
|
}
|
|
25210
|
-
declare const usePublicBookingIntentSlots: (booking_intent_id: PublicBookingIntentSlotsParams["path"]["booking_intent_id"], queryParams?: PublicBookingIntentSlotsParams["query"], options?: Options$
|
|
25971
|
+
declare const usePublicBookingIntentSlots: (booking_intent_id: PublicBookingIntentSlotsParams["path"]["booking_intent_id"], queryParams?: PublicBookingIntentSlotsParams["query"], options?: Options$b) => _tanstack_react_query.UseQueryResult<{
|
|
25211
25972
|
data: {
|
|
25212
25973
|
end_at: string;
|
|
25213
25974
|
end_at_ts: number;
|
|
@@ -25267,10 +26028,10 @@ declare const usePublicBookingIntentSlots: (booking_intent_id: PublicBookingInte
|
|
|
25267
26028
|
}, `${string}/${string}`>>;
|
|
25268
26029
|
|
|
25269
26030
|
type PublicCancellationReasonsParams = paths["/v1/public/appointments/{appointment_id}/cancellation_reasons"]["get"]["parameters"];
|
|
25270
|
-
interface Options$
|
|
26031
|
+
interface Options$a extends QueryOptionsFor<"get", "/v1/public/appointments/{appointment_id}/cancellation_reasons"> {
|
|
25271
26032
|
client?: QueryClient;
|
|
25272
26033
|
}
|
|
25273
|
-
declare const usePublicCancellationReasons: (appointment_id: PublicCancellationReasonsParams["path"]["appointment_id"], options?: Options$
|
|
26034
|
+
declare const usePublicCancellationReasons: (appointment_id: PublicCancellationReasonsParams["path"]["appointment_id"], options?: Options$a) => _tanstack_react_query.UseQueryResult<{
|
|
25274
26035
|
data: {
|
|
25275
26036
|
id: string;
|
|
25276
26037
|
name: string;
|
|
@@ -25289,10 +26050,10 @@ declare const usePublicCancellationReasons: (appointment_id: PublicCancellationR
|
|
|
25289
26050
|
}>;
|
|
25290
26051
|
|
|
25291
26052
|
type PublicServiceSlotsParams = paths["/v1/public/services/{service_id}/slots"]["get"]["parameters"];
|
|
25292
|
-
interface Options$
|
|
26053
|
+
interface Options$9 extends QueryOptionsFor<"get", "/v1/public/services/{service_id}/slots"> {
|
|
25293
26054
|
client?: QueryClient;
|
|
25294
26055
|
}
|
|
25295
|
-
declare const usePublicServiceSlots: (service_id: PublicServiceSlotsParams["path"]["service_id"], queryParams?: PublicServiceSlotsParams["query"], options?: Options$
|
|
26056
|
+
declare const usePublicServiceSlots: (service_id: PublicServiceSlotsParams["path"]["service_id"], queryParams?: PublicServiceSlotsParams["query"], options?: Options$9) => _tanstack_react_query.UseQueryResult<{
|
|
25296
26057
|
data: {
|
|
25297
26058
|
end_at: string;
|
|
25298
26059
|
end_at_ts: number;
|
|
@@ -25365,10 +26126,10 @@ declare const usePublicServiceSlots: (service_id: PublicServiceSlotsParams["path
|
|
|
25365
26126
|
};
|
|
25366
26127
|
}, `${string}/${string}`>>;
|
|
25367
26128
|
|
|
25368
|
-
interface Options$
|
|
26129
|
+
interface Options$8 extends QueryOptionsFor<"get", "/v1/roles"> {
|
|
25369
26130
|
client?: QueryClient;
|
|
25370
26131
|
}
|
|
25371
|
-
declare const useRoles: (options?: Options$
|
|
26132
|
+
declare const useRoles: (options?: Options$8) => _tanstack_react_query.UseQueryResult<{
|
|
25372
26133
|
data: {
|
|
25373
26134
|
id: string;
|
|
25374
26135
|
name: string;
|
|
@@ -25425,10 +26186,10 @@ declare const useRoles: (options?: Options$7) => _tanstack_react_query.UseQueryR
|
|
|
25425
26186
|
}, `${string}/${string}`>>;
|
|
25426
26187
|
|
|
25427
26188
|
type ServiceParams = paths["/v1/services/{service_id}"]["get"]["parameters"];
|
|
25428
|
-
interface Options$
|
|
26189
|
+
interface Options$7 extends QueryOptionsFor<"get", "/v1/services/{service_id}"> {
|
|
25429
26190
|
client?: QueryClient;
|
|
25430
26191
|
}
|
|
25431
|
-
declare const useService: (service_id: ServiceParams["path"]["service_id"], options?: Options$
|
|
26192
|
+
declare const useService: (service_id: ServiceParams["path"]["service_id"], options?: Options$7) => _tanstack_react_query.UseQueryResult<{
|
|
25432
26193
|
data: {
|
|
25433
26194
|
appointment_type: "in_person" | "virtual";
|
|
25434
26195
|
booking_policy: {
|
|
@@ -25621,10 +26382,10 @@ declare const useService: (service_id: ServiceParams["path"]["service_id"], opti
|
|
|
25621
26382
|
}, `${string}/${string}`>>;
|
|
25622
26383
|
|
|
25623
26384
|
type ServiceFormsParams = paths["/v1/services/{service_id}/forms"]["get"]["parameters"];
|
|
25624
|
-
interface Options$
|
|
26385
|
+
interface Options$6 extends QueryOptionsFor<"get", "/v1/services/{service_id}/forms"> {
|
|
25625
26386
|
client?: QueryClient;
|
|
25626
26387
|
}
|
|
25627
|
-
declare const useServiceForms: (service_id: ServiceFormsParams["path"]["service_id"], options?: Options$
|
|
26388
|
+
declare const useServiceForms: (service_id: ServiceFormsParams["path"]["service_id"], options?: Options$6) => _tanstack_react_query.UseQueryResult<{
|
|
25628
26389
|
data: {
|
|
25629
26390
|
created_at: string;
|
|
25630
26391
|
form_id: string;
|
|
@@ -25682,6 +26443,106 @@ declare const useServiceForms: (service_id: ServiceFormsParams["path"]["service_
|
|
|
25682
26443
|
};
|
|
25683
26444
|
}, `${string}/${string}`>>;
|
|
25684
26445
|
|
|
26446
|
+
type ServiceProviderConferencingParams = paths["/v1/services/{service_id}/providers/{provider_id}/conferencing"]["get"]["parameters"];
|
|
26447
|
+
interface Options$5 extends QueryOptionsFor<"get", "/v1/services/{service_id}/providers/{provider_id}/conferencing"> {
|
|
26448
|
+
client?: QueryClient;
|
|
26449
|
+
}
|
|
26450
|
+
declare const useServiceProviderConferencing: (service_id: ServiceProviderConferencingParams["path"]["service_id"], provider_id: ServiceProviderConferencingParams["path"]["provider_id"], options?: Options$5) => _tanstack_react_query.UseQueryResult<{
|
|
26451
|
+
data: {
|
|
26452
|
+
conferencing_provider: "zoom_admin";
|
|
26453
|
+
connected_account: {
|
|
26454
|
+
connection_scope: "user" | "account";
|
|
26455
|
+
created_at: string;
|
|
26456
|
+
display_name: string | null;
|
|
26457
|
+
email: string;
|
|
26458
|
+
external_account_id: string | null;
|
|
26459
|
+
external_subject: string;
|
|
26460
|
+
id: string;
|
|
26461
|
+
object: "connected_account";
|
|
26462
|
+
provider: "google" | "microsoft" | "zoom_admin";
|
|
26463
|
+
status: "active" | "reconnect_required" | "insufficient_permissions";
|
|
26464
|
+
updated_at: string;
|
|
26465
|
+
user_id: string | null;
|
|
26466
|
+
};
|
|
26467
|
+
external_user: {
|
|
26468
|
+
email: string | null;
|
|
26469
|
+
first_name: string | null;
|
|
26470
|
+
id: string;
|
|
26471
|
+
last_name: string | null;
|
|
26472
|
+
object: "external_user";
|
|
26473
|
+
status: "active" | "inactive" | "pending" | null;
|
|
26474
|
+
};
|
|
26475
|
+
object: "service_provider_conferencing";
|
|
26476
|
+
provider_id: string;
|
|
26477
|
+
service_id: string;
|
|
26478
|
+
};
|
|
26479
|
+
}, openapi_typescript_helpers.ErrorResponse<{
|
|
26480
|
+
200: {
|
|
26481
|
+
headers: {
|
|
26482
|
+
[name: string]: unknown;
|
|
26483
|
+
};
|
|
26484
|
+
content: {
|
|
26485
|
+
"application/json": {
|
|
26486
|
+
data: {
|
|
26487
|
+
conferencing_provider: "zoom_admin";
|
|
26488
|
+
connected_account: {
|
|
26489
|
+
connection_scope: "user" | "account";
|
|
26490
|
+
created_at: string;
|
|
26491
|
+
display_name: string | null;
|
|
26492
|
+
email: string;
|
|
26493
|
+
external_account_id: string | null;
|
|
26494
|
+
external_subject: string;
|
|
26495
|
+
id: string;
|
|
26496
|
+
object: "connected_account";
|
|
26497
|
+
provider: "google" | "microsoft" | "zoom_admin";
|
|
26498
|
+
status: "active" | "reconnect_required" | "insufficient_permissions";
|
|
26499
|
+
updated_at: string;
|
|
26500
|
+
user_id: string | null;
|
|
26501
|
+
};
|
|
26502
|
+
external_user: {
|
|
26503
|
+
email: string | null;
|
|
26504
|
+
first_name: string | null;
|
|
26505
|
+
id: string;
|
|
26506
|
+
last_name: string | null;
|
|
26507
|
+
object: "external_user";
|
|
26508
|
+
status: "active" | "inactive" | "pending" | null;
|
|
26509
|
+
};
|
|
26510
|
+
object: "service_provider_conferencing";
|
|
26511
|
+
provider_id: string;
|
|
26512
|
+
service_id: string;
|
|
26513
|
+
};
|
|
26514
|
+
};
|
|
26515
|
+
};
|
|
26516
|
+
};
|
|
26517
|
+
401: {
|
|
26518
|
+
headers: {
|
|
26519
|
+
[name: string]: unknown;
|
|
26520
|
+
};
|
|
26521
|
+
content: {
|
|
26522
|
+
"application/json": {
|
|
26523
|
+
errors: {
|
|
26524
|
+
detail: string;
|
|
26525
|
+
status?: string;
|
|
26526
|
+
title?: string;
|
|
26527
|
+
}[];
|
|
26528
|
+
};
|
|
26529
|
+
};
|
|
26530
|
+
};
|
|
26531
|
+
404: {
|
|
26532
|
+
headers: {
|
|
26533
|
+
[name: string]: unknown;
|
|
26534
|
+
};
|
|
26535
|
+
content: {
|
|
26536
|
+
"application/json": {
|
|
26537
|
+
errors: {
|
|
26538
|
+
detail: "Not Found";
|
|
26539
|
+
status: "404";
|
|
26540
|
+
}[];
|
|
26541
|
+
};
|
|
26542
|
+
};
|
|
26543
|
+
};
|
|
26544
|
+
}, `${string}/${string}`>>;
|
|
26545
|
+
|
|
25685
26546
|
type ServiceProvidersParams = paths["/v1/services/{service_id}/providers"]["get"]["parameters"];
|
|
25686
26547
|
interface Options$4 extends QueryOptionsFor<"get", "/v1/services/{service_id}/providers"> {
|
|
25687
26548
|
client?: QueryClient;
|
|
@@ -26346,4 +27207,4 @@ declare const useUserMappings: (connected_account_id: UserMappingsParams["path"]
|
|
|
26346
27207
|
};
|
|
26347
27208
|
}, `${string}/${string}`>>;
|
|
26348
27209
|
|
|
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 };
|
|
27210
|
+
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 };
|