@savvycal/appointments-react-query 2.0.1 → 2.1.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 +90 -1
- package/dist/index.d.cts +1220 -246
- package/dist/index.d.ts +1220 -246
- package/dist/index.js +83 -1
- package/package.json +3 -3
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$1S 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$1S) => _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$1L) => _tanstack_react
|
|
|
1610
1610
|
};
|
|
1611
1611
|
}>>;
|
|
1612
1612
|
|
|
1613
|
-
interface Options$
|
|
1613
|
+
interface Options$1R extends MutationOptionsFor<"post", "/v1/public/booking_intents/{booking_intent_id}/abandon"> {
|
|
1614
1614
|
client?: QueryClient;
|
|
1615
1615
|
}
|
|
1616
|
-
declare const useAbandonPublicBookingIntent: (options?: Options$
|
|
1616
|
+
declare const useAbandonPublicBookingIntent: (options?: Options$1R) => _tanstack_react_query.UseMutationResult<{
|
|
1617
1617
|
data: {
|
|
1618
1618
|
appointment?: {
|
|
1619
1619
|
add_to_calendar_url: string;
|
|
@@ -1971,10 +1971,10 @@ declare const useAbandonPublicBookingIntent: (options?: Options$1K) => _tanstack
|
|
|
1971
1971
|
};
|
|
1972
1972
|
}>>;
|
|
1973
1973
|
|
|
1974
|
-
interface Options$
|
|
1974
|
+
interface Options$1Q 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$1Q) => _tanstack_react_query.UseMutationResult<{
|
|
1978
1978
|
data: {
|
|
1979
1979
|
created_at: string;
|
|
1980
1980
|
form_id: string;
|
|
@@ -2129,10 +2129,10 @@ declare const useAttachServiceForm: (options?: Options$1J) => _tanstack_react_qu
|
|
|
2129
2129
|
};
|
|
2130
2130
|
}>>;
|
|
2131
2131
|
|
|
2132
|
-
interface Options$
|
|
2132
|
+
interface Options$1P 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$1P) => _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$1I) => _tanstack_react_qu
|
|
|
3058
3058
|
};
|
|
3059
3059
|
}>>;
|
|
3060
3060
|
|
|
3061
|
-
interface Options$
|
|
3061
|
+
interface Options$1O extends MutationOptionsFor<"post", "/v1/public/appointments/{appointment_id}/cancel"> {
|
|
3062
3062
|
client?: QueryClient;
|
|
3063
3063
|
}
|
|
3064
|
-
declare const useCancelPublicAppointment: (options?: Options$
|
|
3064
|
+
declare const useCancelPublicAppointment: (options?: Options$1O) => _tanstack_react_query.UseMutationResult<{
|
|
3065
3065
|
data: {
|
|
3066
3066
|
add_to_calendar_url: string;
|
|
3067
3067
|
cancel_url: string;
|
|
@@ -3230,10 +3230,10 @@ declare const useCancelPublicAppointment: (options?: Options$1H) => _tanstack_re
|
|
|
3230
3230
|
};
|
|
3231
3231
|
}>>;
|
|
3232
3232
|
|
|
3233
|
-
interface Options$
|
|
3233
|
+
interface Options$1N extends MutationOptionsFor<"delete", "/v1/services/{service_id}/conferencing"> {
|
|
3234
3234
|
client?: QueryClient;
|
|
3235
3235
|
}
|
|
3236
|
-
declare const useClearServiceConferencing: (options?: Options$
|
|
3236
|
+
declare const useClearServiceConferencing: (options?: Options$1N) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
3237
3237
|
204: {
|
|
3238
3238
|
headers: {
|
|
3239
3239
|
[name: string]: unknown;
|
|
@@ -3318,10 +3318,10 @@ declare const useClearServiceConferencing: (options?: Options$1G) => _tanstack_r
|
|
|
3318
3318
|
};
|
|
3319
3319
|
}>>;
|
|
3320
3320
|
|
|
3321
|
-
interface Options$
|
|
3321
|
+
interface Options$1M extends MutationOptionsFor<"delete", "/v1/services/{service_id}/providers/{provider_id}/conferencing"> {
|
|
3322
3322
|
client?: QueryClient;
|
|
3323
3323
|
}
|
|
3324
|
-
declare const useClearServiceProviderConferencing: (options?: Options$
|
|
3324
|
+
declare const useClearServiceProviderConferencing: (options?: Options$1M) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
3325
3325
|
204: {
|
|
3326
3326
|
headers: {
|
|
3327
3327
|
[name: string]: unknown;
|
|
@@ -3407,10 +3407,10 @@ declare const useClearServiceProviderConferencing: (options?: Options$1F) => _ta
|
|
|
3407
3407
|
};
|
|
3408
3408
|
}>>;
|
|
3409
3409
|
|
|
3410
|
-
interface Options$
|
|
3410
|
+
interface Options$1L extends MutationOptionsFor<"post", "/v1/booking_intents/{booking_intent_id}/complete"> {
|
|
3411
3411
|
client?: QueryClient;
|
|
3412
3412
|
}
|
|
3413
|
-
declare const useCompleteBookingIntent: (options?: Options$
|
|
3413
|
+
declare const useCompleteBookingIntent: (options?: Options$1L) => _tanstack_react_query.UseMutationResult<{
|
|
3414
3414
|
data: {
|
|
3415
3415
|
abandoned_at?: string | null;
|
|
3416
3416
|
appointment?: {
|
|
@@ -4999,10 +4999,10 @@ declare const useCompleteBookingIntent: (options?: Options$1E) => _tanstack_reac
|
|
|
4999
4999
|
};
|
|
5000
5000
|
}>>;
|
|
5001
5001
|
|
|
5002
|
-
interface Options$
|
|
5002
|
+
interface Options$1K extends MutationOptionsFor<"post", "/v1/public/booking_intents/{booking_intent_id}/complete"> {
|
|
5003
5003
|
client?: QueryClient;
|
|
5004
5004
|
}
|
|
5005
|
-
declare const useCompletePublicBookingIntent: (options?: Options$
|
|
5005
|
+
declare const useCompletePublicBookingIntent: (options?: Options$1K) => _tanstack_react_query.UseMutationResult<{
|
|
5006
5006
|
data: {
|
|
5007
5007
|
appointment?: {
|
|
5008
5008
|
add_to_calendar_url: string;
|
|
@@ -5389,10 +5389,10 @@ declare const useCompletePublicBookingIntent: (options?: Options$1D) => _tanstac
|
|
|
5389
5389
|
};
|
|
5390
5390
|
}>>;
|
|
5391
5391
|
|
|
5392
|
-
interface Options$
|
|
5392
|
+
interface Options$1J extends MutationOptionsFor<"post", "/v1/appointments/{appointment_id}/confirm"> {
|
|
5393
5393
|
client?: QueryClient;
|
|
5394
5394
|
}
|
|
5395
|
-
declare const useConfirmAppointment: (options?: Options$
|
|
5395
|
+
declare const useConfirmAppointment: (options?: Options$1J) => _tanstack_react_query.UseMutationResult<{
|
|
5396
5396
|
data: {
|
|
5397
5397
|
add_to_calendar_url: string;
|
|
5398
5398
|
appointment_type: "in_person" | "virtual";
|
|
@@ -6316,10 +6316,10 @@ declare const useConfirmAppointment: (options?: Options$1C) => _tanstack_react_q
|
|
|
6316
6316
|
};
|
|
6317
6317
|
}>>;
|
|
6318
6318
|
|
|
6319
|
-
interface Options$
|
|
6319
|
+
interface Options$1I extends MutationOptionsFor<"post", "/v1/accounts"> {
|
|
6320
6320
|
client?: QueryClient;
|
|
6321
6321
|
}
|
|
6322
|
-
declare const useCreateAccount: (options?: Options$
|
|
6322
|
+
declare const useCreateAccount: (options?: Options$1I) => _tanstack_react_query.UseMutationResult<{
|
|
6323
6323
|
data?: {
|
|
6324
6324
|
created_at: string;
|
|
6325
6325
|
id: string;
|
|
@@ -6471,10 +6471,10 @@ declare const useCreateAccount: (options?: Options$1B) => _tanstack_react_query.
|
|
|
6471
6471
|
};
|
|
6472
6472
|
}> | undefined>;
|
|
6473
6473
|
|
|
6474
|
-
interface Options$
|
|
6474
|
+
interface Options$1H extends MutationOptionsFor<"post", "/v1/users"> {
|
|
6475
6475
|
client?: QueryClient;
|
|
6476
6476
|
}
|
|
6477
|
-
declare const useCreateAccountUser: (options?: Options$
|
|
6477
|
+
declare const useCreateAccountUser: (options?: Options$1H) => _tanstack_react_query.UseMutationResult<{
|
|
6478
6478
|
object: "account_user";
|
|
6479
6479
|
passive: boolean;
|
|
6480
6480
|
roles: {
|
|
@@ -6639,10 +6639,10 @@ declare const useCreateAccountUser: (options?: Options$1A) => _tanstack_react_qu
|
|
|
6639
6639
|
};
|
|
6640
6640
|
}> | undefined>;
|
|
6641
6641
|
|
|
6642
|
-
interface Options$
|
|
6642
|
+
interface Options$1G extends MutationOptionsFor<"post", "/v1/appointments"> {
|
|
6643
6643
|
client?: QueryClient;
|
|
6644
6644
|
}
|
|
6645
|
-
declare const useCreateAppointment: (options?: Options$
|
|
6645
|
+
declare const useCreateAppointment: (options?: Options$1G) => _tanstack_react_query.UseMutationResult<{
|
|
6646
6646
|
data: {
|
|
6647
6647
|
add_to_calendar_url: string;
|
|
6648
6648
|
appointment_type: "in_person" | "virtual";
|
|
@@ -7582,10 +7582,10 @@ declare const useCreateAppointment: (options?: Options$1z) => _tanstack_react_qu
|
|
|
7582
7582
|
};
|
|
7583
7583
|
}> | undefined>;
|
|
7584
7584
|
|
|
7585
|
-
interface Options$
|
|
7585
|
+
interface Options$1F extends MutationOptionsFor<"post", "/v1/blocks"> {
|
|
7586
7586
|
client?: QueryClient;
|
|
7587
7587
|
}
|
|
7588
|
-
declare const useCreateBlock: (options?: Options$
|
|
7588
|
+
declare const useCreateBlock: (options?: Options$1F) => _tanstack_react_query.UseMutationResult<{
|
|
7589
7589
|
data: {
|
|
7590
7590
|
all_day: boolean;
|
|
7591
7591
|
attachment_type: "location" | "service" | "provider" | "service_provider";
|
|
@@ -7770,10 +7770,10 @@ declare const useCreateBlock: (options?: Options$1y) => _tanstack_react_query.Us
|
|
|
7770
7770
|
};
|
|
7771
7771
|
}> | undefined>;
|
|
7772
7772
|
|
|
7773
|
-
interface Options$
|
|
7773
|
+
interface Options$1E extends MutationOptionsFor<"post", "/v1/booking_intents"> {
|
|
7774
7774
|
client?: QueryClient;
|
|
7775
7775
|
}
|
|
7776
|
-
declare const useCreateBookingIntent: (options?: Options$
|
|
7776
|
+
declare const useCreateBookingIntent: (options?: Options$1E) => _tanstack_react_query.UseMutationResult<{
|
|
7777
7777
|
data: {
|
|
7778
7778
|
abandoned_at?: string | null;
|
|
7779
7779
|
appointment?: {
|
|
@@ -9371,10 +9371,10 @@ declare const useCreateBookingIntent: (options?: Options$1x) => _tanstack_react_
|
|
|
9371
9371
|
};
|
|
9372
9372
|
}> | undefined>;
|
|
9373
9373
|
|
|
9374
|
-
interface Options$
|
|
9374
|
+
interface Options$1D extends MutationOptionsFor<"post", "/v1/booking_links"> {
|
|
9375
9375
|
client?: QueryClient;
|
|
9376
9376
|
}
|
|
9377
|
-
declare const useCreateBookingLink: (options?: Options$
|
|
9377
|
+
declare const useCreateBookingLink: (options?: Options$1D) => _tanstack_react_query.UseMutationResult<{
|
|
9378
9378
|
data: {
|
|
9379
9379
|
client?: {
|
|
9380
9380
|
created_at: string;
|
|
@@ -9662,11 +9662,16 @@ declare const useCreateBookingLink: (options?: Options$1w) => _tanstack_react_qu
|
|
|
9662
9662
|
};
|
|
9663
9663
|
}> | undefined>;
|
|
9664
9664
|
|
|
9665
|
-
interface Options$
|
|
9665
|
+
interface Options$1C extends MutationOptionsFor<"post", "/v1/cancellation_reasons"> {
|
|
9666
9666
|
client?: QueryClient;
|
|
9667
9667
|
}
|
|
9668
|
-
declare const useCreateCancellationReason: (options?: Options$
|
|
9669
|
-
data:
|
|
9668
|
+
declare const useCreateCancellationReason: (options?: Options$1C) => _tanstack_react_query.UseMutationResult<{
|
|
9669
|
+
data: {
|
|
9670
|
+
id: string;
|
|
9671
|
+
name: string;
|
|
9672
|
+
object: "cancellation_reason";
|
|
9673
|
+
sort_order: number;
|
|
9674
|
+
};
|
|
9670
9675
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
9671
9676
|
201: {
|
|
9672
9677
|
headers: {
|
|
@@ -9674,7 +9679,12 @@ declare const useCreateCancellationReason: (options?: Options$1v) => _tanstack_r
|
|
|
9674
9679
|
};
|
|
9675
9680
|
content: {
|
|
9676
9681
|
"application/json": {
|
|
9677
|
-
data:
|
|
9682
|
+
data: {
|
|
9683
|
+
id: string;
|
|
9684
|
+
name: string;
|
|
9685
|
+
object: "cancellation_reason";
|
|
9686
|
+
sort_order: number;
|
|
9687
|
+
};
|
|
9678
9688
|
};
|
|
9679
9689
|
};
|
|
9680
9690
|
};
|
|
@@ -9730,7 +9740,12 @@ declare const useCreateCancellationReason: (options?: Options$1v) => _tanstack_r
|
|
|
9730
9740
|
};
|
|
9731
9741
|
content: {
|
|
9732
9742
|
"application/json": {
|
|
9733
|
-
data:
|
|
9743
|
+
data: {
|
|
9744
|
+
id: string;
|
|
9745
|
+
name: string;
|
|
9746
|
+
object: "cancellation_reason";
|
|
9747
|
+
sort_order: number;
|
|
9748
|
+
};
|
|
9734
9749
|
};
|
|
9735
9750
|
};
|
|
9736
9751
|
};
|
|
@@ -9768,10 +9783,10 @@ declare const useCreateCancellationReason: (options?: Options$1v) => _tanstack_r
|
|
|
9768
9783
|
};
|
|
9769
9784
|
}> | undefined>;
|
|
9770
9785
|
|
|
9771
|
-
interface Options$
|
|
9786
|
+
interface Options$1B extends MutationOptionsFor<"post", "/v1/clients"> {
|
|
9772
9787
|
client?: QueryClient;
|
|
9773
9788
|
}
|
|
9774
|
-
declare const useCreateClient: (options?: Options$
|
|
9789
|
+
declare const useCreateClient: (options?: Options$1B) => _tanstack_react_query.UseMutationResult<{
|
|
9775
9790
|
data: {
|
|
9776
9791
|
created_at: string;
|
|
9777
9792
|
email?: string | null;
|
|
@@ -9940,11 +9955,29 @@ declare const useCreateClient: (options?: Options$1u) => _tanstack_react_query.U
|
|
|
9940
9955
|
};
|
|
9941
9956
|
}> | undefined>;
|
|
9942
9957
|
|
|
9943
|
-
interface Options$
|
|
9958
|
+
interface Options$1A extends MutationOptionsFor<"post", "/v1/client_fields"> {
|
|
9944
9959
|
client?: QueryClient;
|
|
9945
9960
|
}
|
|
9946
|
-
declare const useCreateClientField: (options?: Options$
|
|
9947
|
-
data:
|
|
9961
|
+
declare const useCreateClientField: (options?: Options$1A) => _tanstack_react_query.UseMutationResult<{
|
|
9962
|
+
data: {
|
|
9963
|
+
created_at: string;
|
|
9964
|
+
description?: string | null;
|
|
9965
|
+
id: string;
|
|
9966
|
+
key: string;
|
|
9967
|
+
label: string;
|
|
9968
|
+
object: "client_field";
|
|
9969
|
+
options?: ({
|
|
9970
|
+
allow_other?: boolean;
|
|
9971
|
+
choices?: {
|
|
9972
|
+
id?: string;
|
|
9973
|
+
label: string;
|
|
9974
|
+
}[];
|
|
9975
|
+
} | (Record<string, never> | null)) | null;
|
|
9976
|
+
sensitive: boolean;
|
|
9977
|
+
sort_order: number;
|
|
9978
|
+
type: "short_text" | "long_text" | "email" | "phone" | "boolean" | "radio" | "select" | "checkbox";
|
|
9979
|
+
updated_at: string;
|
|
9980
|
+
};
|
|
9948
9981
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
9949
9982
|
201: {
|
|
9950
9983
|
headers: {
|
|
@@ -9952,7 +9985,25 @@ declare const useCreateClientField: (options?: Options$1t) => _tanstack_react_qu
|
|
|
9952
9985
|
};
|
|
9953
9986
|
content: {
|
|
9954
9987
|
"application/json": {
|
|
9955
|
-
data:
|
|
9988
|
+
data: {
|
|
9989
|
+
created_at: string;
|
|
9990
|
+
description?: string | null;
|
|
9991
|
+
id: string;
|
|
9992
|
+
key: string;
|
|
9993
|
+
label: string;
|
|
9994
|
+
object: "client_field";
|
|
9995
|
+
options?: ({
|
|
9996
|
+
allow_other?: boolean;
|
|
9997
|
+
choices?: {
|
|
9998
|
+
id?: string;
|
|
9999
|
+
label: string;
|
|
10000
|
+
}[];
|
|
10001
|
+
} | (Record<string, never> | null)) | null;
|
|
10002
|
+
sensitive: boolean;
|
|
10003
|
+
sort_order: number;
|
|
10004
|
+
type: "short_text" | "long_text" | "email" | "phone" | "boolean" | "radio" | "select" | "checkbox";
|
|
10005
|
+
updated_at: string;
|
|
10006
|
+
};
|
|
9956
10007
|
};
|
|
9957
10008
|
};
|
|
9958
10009
|
};
|
|
@@ -10019,7 +10070,25 @@ declare const useCreateClientField: (options?: Options$1t) => _tanstack_react_qu
|
|
|
10019
10070
|
};
|
|
10020
10071
|
content: {
|
|
10021
10072
|
"application/json": {
|
|
10022
|
-
data:
|
|
10073
|
+
data: {
|
|
10074
|
+
created_at: string;
|
|
10075
|
+
description?: string | null;
|
|
10076
|
+
id: string;
|
|
10077
|
+
key: string;
|
|
10078
|
+
label: string;
|
|
10079
|
+
object: "client_field";
|
|
10080
|
+
options?: ({
|
|
10081
|
+
allow_other?: boolean;
|
|
10082
|
+
choices?: {
|
|
10083
|
+
id?: string;
|
|
10084
|
+
label: string;
|
|
10085
|
+
}[];
|
|
10086
|
+
} | (Record<string, never> | null)) | null;
|
|
10087
|
+
sensitive: boolean;
|
|
10088
|
+
sort_order: number;
|
|
10089
|
+
type: "short_text" | "long_text" | "email" | "phone" | "boolean" | "radio" | "select" | "checkbox";
|
|
10090
|
+
updated_at: string;
|
|
10091
|
+
};
|
|
10023
10092
|
};
|
|
10024
10093
|
};
|
|
10025
10094
|
};
|
|
@@ -10057,10 +10126,10 @@ declare const useCreateClientField: (options?: Options$1t) => _tanstack_react_qu
|
|
|
10057
10126
|
};
|
|
10058
10127
|
}> | undefined>;
|
|
10059
10128
|
|
|
10060
|
-
interface Options$
|
|
10129
|
+
interface Options$1z extends MutationOptionsFor<"post", "/v1/dashboard_sessions"> {
|
|
10061
10130
|
client?: QueryClient;
|
|
10062
10131
|
}
|
|
10063
|
-
declare const useCreateDashboardSession: (options?: Options$
|
|
10132
|
+
declare const useCreateDashboardSession: (options?: Options$1z) => _tanstack_react_query.UseMutationResult<{
|
|
10064
10133
|
data: {
|
|
10065
10134
|
created_at: string;
|
|
10066
10135
|
id: string;
|
|
@@ -10189,10 +10258,10 @@ declare const useCreateDashboardSession: (options?: Options$1s) => _tanstack_rea
|
|
|
10189
10258
|
};
|
|
10190
10259
|
}> | undefined>;
|
|
10191
10260
|
|
|
10192
|
-
interface Options$
|
|
10261
|
+
interface Options$1y extends MutationOptionsFor<"post", "/v1/forms"> {
|
|
10193
10262
|
client?: QueryClient;
|
|
10194
10263
|
}
|
|
10195
|
-
declare const useCreateForm: (options?: Options$
|
|
10264
|
+
declare const useCreateForm: (options?: Options$1y) => _tanstack_react_query.UseMutationResult<{
|
|
10196
10265
|
data: {
|
|
10197
10266
|
created_at: string;
|
|
10198
10267
|
field_count: number;
|
|
@@ -10208,7 +10277,7 @@ declare const useCreateForm: (options?: Options$1r) => _tanstack_react_query.Use
|
|
|
10208
10277
|
id: string;
|
|
10209
10278
|
label: string;
|
|
10210
10279
|
}[];
|
|
10211
|
-
} | (string | null)) | null;
|
|
10280
|
+
} | (Record<string, never> | null)) | null;
|
|
10212
10281
|
position: number;
|
|
10213
10282
|
required?: boolean;
|
|
10214
10283
|
sensitive?: boolean;
|
|
@@ -10241,7 +10310,7 @@ declare const useCreateForm: (options?: Options$1r) => _tanstack_react_query.Use
|
|
|
10241
10310
|
id: string;
|
|
10242
10311
|
label: string;
|
|
10243
10312
|
}[];
|
|
10244
|
-
} | (string | null)) | null;
|
|
10313
|
+
} | (Record<string, never> | null)) | null;
|
|
10245
10314
|
position: number;
|
|
10246
10315
|
required?: boolean;
|
|
10247
10316
|
sensitive?: boolean;
|
|
@@ -10302,13 +10371,13 @@ declare const useCreateForm: (options?: Options$1r) => _tanstack_react_query.Use
|
|
|
10302
10371
|
key: string;
|
|
10303
10372
|
label: string;
|
|
10304
10373
|
must_be_true?: boolean;
|
|
10305
|
-
options?:
|
|
10374
|
+
options?: {
|
|
10306
10375
|
allow_other: boolean;
|
|
10307
10376
|
choices: {
|
|
10308
10377
|
id?: string;
|
|
10309
10378
|
label: string;
|
|
10310
10379
|
}[];
|
|
10311
|
-
} |
|
|
10380
|
+
} | null;
|
|
10312
10381
|
position: number;
|
|
10313
10382
|
required?: boolean;
|
|
10314
10383
|
sensitive?: boolean;
|
|
@@ -10340,7 +10409,7 @@ declare const useCreateForm: (options?: Options$1r) => _tanstack_react_query.Use
|
|
|
10340
10409
|
id: string;
|
|
10341
10410
|
label: string;
|
|
10342
10411
|
}[];
|
|
10343
|
-
} | (string | null)) | null;
|
|
10412
|
+
} | (Record<string, never> | null)) | null;
|
|
10344
10413
|
position: number;
|
|
10345
10414
|
required?: boolean;
|
|
10346
10415
|
sensitive?: boolean;
|
|
@@ -10388,10 +10457,10 @@ declare const useCreateForm: (options?: Options$1r) => _tanstack_react_query.Use
|
|
|
10388
10457
|
};
|
|
10389
10458
|
}> | undefined>;
|
|
10390
10459
|
|
|
10391
|
-
interface Options$
|
|
10460
|
+
interface Options$1x extends MutationOptionsFor<"post", "/v1/providers/{provider_id}/openings"> {
|
|
10392
10461
|
client?: QueryClient;
|
|
10393
10462
|
}
|
|
10394
|
-
declare const useCreateOpening: (options?: Options$
|
|
10463
|
+
declare const useCreateOpening: (options?: Options$1x) => _tanstack_react_query.UseMutationResult<{
|
|
10395
10464
|
data: {
|
|
10396
10465
|
created_at: string;
|
|
10397
10466
|
date: string;
|
|
@@ -10559,10 +10628,10 @@ declare const useCreateOpening: (options?: Options$1q) => _tanstack_react_query.
|
|
|
10559
10628
|
};
|
|
10560
10629
|
}>>;
|
|
10561
10630
|
|
|
10562
|
-
interface Options$
|
|
10631
|
+
interface Options$1w extends MutationOptionsFor<"post", "/v1/providers"> {
|
|
10563
10632
|
client?: QueryClient;
|
|
10564
10633
|
}
|
|
10565
|
-
declare const useCreateProvider: (options?: Options$
|
|
10634
|
+
declare const useCreateProvider: (options?: Options$1w) => _tanstack_react_query.UseMutationResult<{
|
|
10566
10635
|
data: {
|
|
10567
10636
|
created_at: string;
|
|
10568
10637
|
display_name: string;
|
|
@@ -10727,10 +10796,10 @@ declare const useCreateProvider: (options?: Options$1p) => _tanstack_react_query
|
|
|
10727
10796
|
};
|
|
10728
10797
|
}> | undefined>;
|
|
10729
10798
|
|
|
10730
|
-
interface Options$
|
|
10799
|
+
interface Options$1v extends MutationOptionsFor<"post", "/v1/providers/{provider_id}/schedules"> {
|
|
10731
10800
|
client?: QueryClient;
|
|
10732
10801
|
}
|
|
10733
|
-
declare const useCreateProviderSchedule: (options?: Options$
|
|
10802
|
+
declare const useCreateProviderSchedule: (options?: Options$1v) => _tanstack_react_query.UseMutationResult<{
|
|
10734
10803
|
data: {
|
|
10735
10804
|
created_at: string;
|
|
10736
10805
|
effective_from: string;
|
|
@@ -10891,10 +10960,10 @@ declare const useCreateProviderSchedule: (options?: Options$1o) => _tanstack_rea
|
|
|
10891
10960
|
};
|
|
10892
10961
|
}> | undefined>;
|
|
10893
10962
|
|
|
10894
|
-
interface Options$
|
|
10963
|
+
interface Options$1u extends MutationOptionsFor<"post", "/v1/public/appointments"> {
|
|
10895
10964
|
client?: QueryClient;
|
|
10896
10965
|
}
|
|
10897
|
-
declare const useCreatePublicAppointment: (options?: Options$
|
|
10966
|
+
declare const useCreatePublicAppointment: (options?: Options$1u) => _tanstack_react_query.UseMutationResult<{
|
|
10898
10967
|
data: {
|
|
10899
10968
|
add_to_calendar_url: string;
|
|
10900
10969
|
cancel_url: string;
|
|
@@ -11043,10 +11112,10 @@ declare const useCreatePublicAppointment: (options?: Options$1n) => _tanstack_re
|
|
|
11043
11112
|
};
|
|
11044
11113
|
}> | undefined>;
|
|
11045
11114
|
|
|
11046
|
-
interface Options$
|
|
11115
|
+
interface Options$1t extends MutationOptionsFor<"post", "/v1/public/booking_intents"> {
|
|
11047
11116
|
client?: QueryClient;
|
|
11048
11117
|
}
|
|
11049
|
-
declare const useCreatePublicBookingIntent: (options?: Options$
|
|
11118
|
+
declare const useCreatePublicBookingIntent: (options?: Options$1t) => _tanstack_react_query.UseMutationResult<{
|
|
11050
11119
|
data: {
|
|
11051
11120
|
appointment?: {
|
|
11052
11121
|
add_to_calendar_url: string;
|
|
@@ -11432,10 +11501,156 @@ declare const useCreatePublicBookingIntent: (options?: Options$1m) => _tanstack_
|
|
|
11432
11501
|
};
|
|
11433
11502
|
}> | undefined>;
|
|
11434
11503
|
|
|
11435
|
-
interface Options$
|
|
11504
|
+
interface Options$1s extends MutationOptionsFor<"post", "/v1/schedule_groups"> {
|
|
11505
|
+
client?: QueryClient;
|
|
11506
|
+
}
|
|
11507
|
+
declare const useCreateScheduleGroup: (options?: Options$1s) => _tanstack_react_query.UseMutationResult<{
|
|
11508
|
+
data: {
|
|
11509
|
+
id: string;
|
|
11510
|
+
name: string;
|
|
11511
|
+
object: "schedule_group";
|
|
11512
|
+
};
|
|
11513
|
+
}, openapi_typescript_helpers.ErrorResponse<{
|
|
11514
|
+
201: {
|
|
11515
|
+
headers: {
|
|
11516
|
+
[name: string]: unknown;
|
|
11517
|
+
};
|
|
11518
|
+
content: {
|
|
11519
|
+
"application/json": {
|
|
11520
|
+
data: {
|
|
11521
|
+
id: string;
|
|
11522
|
+
name: string;
|
|
11523
|
+
object: "schedule_group";
|
|
11524
|
+
};
|
|
11525
|
+
};
|
|
11526
|
+
};
|
|
11527
|
+
};
|
|
11528
|
+
401: {
|
|
11529
|
+
headers: {
|
|
11530
|
+
[name: string]: unknown;
|
|
11531
|
+
};
|
|
11532
|
+
content: {
|
|
11533
|
+
"application/json": {
|
|
11534
|
+
errors: {
|
|
11535
|
+
detail: string;
|
|
11536
|
+
status?: string;
|
|
11537
|
+
title?: string;
|
|
11538
|
+
}[];
|
|
11539
|
+
};
|
|
11540
|
+
};
|
|
11541
|
+
};
|
|
11542
|
+
403: {
|
|
11543
|
+
headers: {
|
|
11544
|
+
[name: string]: unknown;
|
|
11545
|
+
};
|
|
11546
|
+
content: {
|
|
11547
|
+
"application/json": {
|
|
11548
|
+
errors: {
|
|
11549
|
+
detail: string;
|
|
11550
|
+
status?: string;
|
|
11551
|
+
title?: string;
|
|
11552
|
+
}[];
|
|
11553
|
+
};
|
|
11554
|
+
};
|
|
11555
|
+
};
|
|
11556
|
+
422: {
|
|
11557
|
+
headers: {
|
|
11558
|
+
[name: string]: unknown;
|
|
11559
|
+
};
|
|
11560
|
+
content: {
|
|
11561
|
+
"application/json": {
|
|
11562
|
+
errors: {
|
|
11563
|
+
code?: string | null;
|
|
11564
|
+
detail: string;
|
|
11565
|
+
source: {
|
|
11566
|
+
pointer: string;
|
|
11567
|
+
};
|
|
11568
|
+
title: string;
|
|
11569
|
+
}[];
|
|
11570
|
+
};
|
|
11571
|
+
};
|
|
11572
|
+
};
|
|
11573
|
+
}, `${string}/${string}`>, openapi_fetch.FetchOptions<{
|
|
11574
|
+
parameters: {
|
|
11575
|
+
query?: never;
|
|
11576
|
+
header?: never;
|
|
11577
|
+
path?: never;
|
|
11578
|
+
cookie?: never;
|
|
11579
|
+
};
|
|
11580
|
+
requestBody?: {
|
|
11581
|
+
content: {
|
|
11582
|
+
"application/json": {
|
|
11583
|
+
name: string;
|
|
11584
|
+
};
|
|
11585
|
+
};
|
|
11586
|
+
};
|
|
11587
|
+
responses: {
|
|
11588
|
+
201: {
|
|
11589
|
+
headers: {
|
|
11590
|
+
[name: string]: unknown;
|
|
11591
|
+
};
|
|
11592
|
+
content: {
|
|
11593
|
+
"application/json": {
|
|
11594
|
+
data: {
|
|
11595
|
+
id: string;
|
|
11596
|
+
name: string;
|
|
11597
|
+
object: "schedule_group";
|
|
11598
|
+
};
|
|
11599
|
+
};
|
|
11600
|
+
};
|
|
11601
|
+
};
|
|
11602
|
+
401: {
|
|
11603
|
+
headers: {
|
|
11604
|
+
[name: string]: unknown;
|
|
11605
|
+
};
|
|
11606
|
+
content: {
|
|
11607
|
+
"application/json": {
|
|
11608
|
+
errors: {
|
|
11609
|
+
detail: string;
|
|
11610
|
+
status?: string;
|
|
11611
|
+
title?: string;
|
|
11612
|
+
}[];
|
|
11613
|
+
};
|
|
11614
|
+
};
|
|
11615
|
+
};
|
|
11616
|
+
403: {
|
|
11617
|
+
headers: {
|
|
11618
|
+
[name: string]: unknown;
|
|
11619
|
+
};
|
|
11620
|
+
content: {
|
|
11621
|
+
"application/json": {
|
|
11622
|
+
errors: {
|
|
11623
|
+
detail: string;
|
|
11624
|
+
status?: string;
|
|
11625
|
+
title?: string;
|
|
11626
|
+
}[];
|
|
11627
|
+
};
|
|
11628
|
+
};
|
|
11629
|
+
};
|
|
11630
|
+
422: {
|
|
11631
|
+
headers: {
|
|
11632
|
+
[name: string]: unknown;
|
|
11633
|
+
};
|
|
11634
|
+
content: {
|
|
11635
|
+
"application/json": {
|
|
11636
|
+
errors: {
|
|
11637
|
+
code?: string | null;
|
|
11638
|
+
detail: string;
|
|
11639
|
+
source: {
|
|
11640
|
+
pointer: string;
|
|
11641
|
+
};
|
|
11642
|
+
title: string;
|
|
11643
|
+
}[];
|
|
11644
|
+
};
|
|
11645
|
+
};
|
|
11646
|
+
};
|
|
11647
|
+
};
|
|
11648
|
+
}> | undefined>;
|
|
11649
|
+
|
|
11650
|
+
interface Options$1r extends MutationOptionsFor<"post", "/v1/services"> {
|
|
11436
11651
|
client?: QueryClient;
|
|
11437
11652
|
}
|
|
11438
|
-
declare const useCreateService: (options?: Options$
|
|
11653
|
+
declare const useCreateService: (options?: Options$1r) => _tanstack_react_query.UseMutationResult<{
|
|
11439
11654
|
data: {
|
|
11440
11655
|
appointment_type: "in_person" | "virtual";
|
|
11441
11656
|
booking_policy: {
|
|
@@ -11824,10 +12039,10 @@ declare const useCreateService: (options?: Options$1l) => _tanstack_react_query.
|
|
|
11824
12039
|
};
|
|
11825
12040
|
}> | undefined>;
|
|
11826
12041
|
|
|
11827
|
-
interface Options$
|
|
12042
|
+
interface Options$1q extends MutationOptionsFor<"post", "/v1/services/{service_id}/providers"> {
|
|
11828
12043
|
client?: QueryClient;
|
|
11829
12044
|
}
|
|
11830
|
-
declare const useCreateServiceProvider: (options?: Options$
|
|
12045
|
+
declare const useCreateServiceProvider: (options?: Options$1q) => _tanstack_react_query.UseMutationResult<{
|
|
11831
12046
|
data: {
|
|
11832
12047
|
created_at: string;
|
|
11833
12048
|
id: string;
|
|
@@ -12018,10 +12233,10 @@ declare const useCreateServiceProvider: (options?: Options$1k) => _tanstack_reac
|
|
|
12018
12233
|
};
|
|
12019
12234
|
}>>;
|
|
12020
12235
|
|
|
12021
|
-
interface Options$
|
|
12236
|
+
interface Options$1p extends MutationOptionsFor<"delete", "/v1/providers/{provider_id}"> {
|
|
12022
12237
|
client?: QueryClient;
|
|
12023
12238
|
}
|
|
12024
|
-
declare const useDeactivateProvider: (options?: Options$
|
|
12239
|
+
declare const useDeactivateProvider: (options?: Options$1p) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12025
12240
|
204: {
|
|
12026
12241
|
headers: {
|
|
12027
12242
|
[name: string]: unknown;
|
|
@@ -12106,10 +12321,10 @@ declare const useDeactivateProvider: (options?: Options$1j) => _tanstack_react_q
|
|
|
12106
12321
|
};
|
|
12107
12322
|
}>>;
|
|
12108
12323
|
|
|
12109
|
-
interface Options$
|
|
12324
|
+
interface Options$1o extends MutationOptionsFor<"delete", "/v1/blocks/{block_id}"> {
|
|
12110
12325
|
client?: QueryClient;
|
|
12111
12326
|
}
|
|
12112
|
-
declare const useDeleteBlock: (options?: Options$
|
|
12327
|
+
declare const useDeleteBlock: (options?: Options$1o) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12113
12328
|
204: {
|
|
12114
12329
|
headers: {
|
|
12115
12330
|
[name: string]: unknown;
|
|
@@ -12194,10 +12409,10 @@ declare const useDeleteBlock: (options?: Options$1i) => _tanstack_react_query.Us
|
|
|
12194
12409
|
};
|
|
12195
12410
|
}>>;
|
|
12196
12411
|
|
|
12197
|
-
interface Options$
|
|
12412
|
+
interface Options$1n extends MutationOptionsFor<"delete", "/v1/booking_links/{booking_link_id}"> {
|
|
12198
12413
|
client?: QueryClient;
|
|
12199
12414
|
}
|
|
12200
|
-
declare const useDeleteBookingLink: (options?: Options$
|
|
12415
|
+
declare const useDeleteBookingLink: (options?: Options$1n) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12201
12416
|
204: {
|
|
12202
12417
|
headers: {
|
|
12203
12418
|
[name: string]: unknown;
|
|
@@ -12282,10 +12497,10 @@ declare const useDeleteBookingLink: (options?: Options$1h) => _tanstack_react_qu
|
|
|
12282
12497
|
};
|
|
12283
12498
|
}>>;
|
|
12284
12499
|
|
|
12285
|
-
interface Options$
|
|
12500
|
+
interface Options$1m extends MutationOptionsFor<"delete", "/v1/cancellation_reasons/{cancellation_reason_id}"> {
|
|
12286
12501
|
client?: QueryClient;
|
|
12287
12502
|
}
|
|
12288
|
-
declare const useDeleteCancellationReason: (options?: Options$
|
|
12503
|
+
declare const useDeleteCancellationReason: (options?: Options$1m) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12289
12504
|
204: {
|
|
12290
12505
|
headers: {
|
|
12291
12506
|
[name: string]: unknown;
|
|
@@ -12370,10 +12585,10 @@ declare const useDeleteCancellationReason: (options?: Options$1g) => _tanstack_r
|
|
|
12370
12585
|
};
|
|
12371
12586
|
}>>;
|
|
12372
12587
|
|
|
12373
|
-
interface Options$
|
|
12588
|
+
interface Options$1l extends MutationOptionsFor<"delete", "/v1/clients/{client_id}"> {
|
|
12374
12589
|
client?: QueryClient;
|
|
12375
12590
|
}
|
|
12376
|
-
declare const useDeleteClient: (options?: Options$
|
|
12591
|
+
declare const useDeleteClient: (options?: Options$1l) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12377
12592
|
204: {
|
|
12378
12593
|
headers: {
|
|
12379
12594
|
[name: string]: unknown;
|
|
@@ -12458,10 +12673,10 @@ declare const useDeleteClient: (options?: Options$1f) => _tanstack_react_query.U
|
|
|
12458
12673
|
};
|
|
12459
12674
|
}>>;
|
|
12460
12675
|
|
|
12461
|
-
interface Options$
|
|
12676
|
+
interface Options$1k extends MutationOptionsFor<"delete", "/v1/client_fields/{client_field_id}"> {
|
|
12462
12677
|
client?: QueryClient;
|
|
12463
12678
|
}
|
|
12464
|
-
declare const useDeleteClientField: (options?: Options$
|
|
12679
|
+
declare const useDeleteClientField: (options?: Options$1k) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12465
12680
|
204: {
|
|
12466
12681
|
headers: {
|
|
12467
12682
|
[name: string]: unknown;
|
|
@@ -12546,10 +12761,10 @@ declare const useDeleteClientField: (options?: Options$1e) => _tanstack_react_qu
|
|
|
12546
12761
|
};
|
|
12547
12762
|
}>>;
|
|
12548
12763
|
|
|
12549
|
-
interface Options$
|
|
12764
|
+
interface Options$1j extends MutationOptionsFor<"delete", "/v1/connected_accounts/{connected_account_id}"> {
|
|
12550
12765
|
client?: QueryClient;
|
|
12551
12766
|
}
|
|
12552
|
-
declare const useDeleteConnectedAccount: (options?: Options$
|
|
12767
|
+
declare const useDeleteConnectedAccount: (options?: Options$1j) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12553
12768
|
204: {
|
|
12554
12769
|
headers: {
|
|
12555
12770
|
[name: string]: unknown;
|
|
@@ -12634,10 +12849,10 @@ declare const useDeleteConnectedAccount: (options?: Options$1d) => _tanstack_rea
|
|
|
12634
12849
|
};
|
|
12635
12850
|
}>>;
|
|
12636
12851
|
|
|
12637
|
-
interface Options$
|
|
12852
|
+
interface Options$1i extends MutationOptionsFor<"delete", "/v1/forms/{form_id}"> {
|
|
12638
12853
|
client?: QueryClient;
|
|
12639
12854
|
}
|
|
12640
|
-
declare const useDeleteForm: (options?: Options$
|
|
12855
|
+
declare const useDeleteForm: (options?: Options$1i) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12641
12856
|
204: {
|
|
12642
12857
|
headers: {
|
|
12643
12858
|
[name: string]: unknown;
|
|
@@ -12722,10 +12937,10 @@ declare const useDeleteForm: (options?: Options$1c) => _tanstack_react_query.Use
|
|
|
12722
12937
|
};
|
|
12723
12938
|
}>>;
|
|
12724
12939
|
|
|
12725
|
-
interface Options$
|
|
12940
|
+
interface Options$1h extends MutationOptionsFor<"delete", "/v1/openings/{opening_id}"> {
|
|
12726
12941
|
client?: QueryClient;
|
|
12727
12942
|
}
|
|
12728
|
-
declare const useDeleteOpening: (options?: Options$
|
|
12943
|
+
declare const useDeleteOpening: (options?: Options$1h) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12729
12944
|
204: {
|
|
12730
12945
|
headers: {
|
|
12731
12946
|
[name: string]: unknown;
|
|
@@ -12810,10 +13025,10 @@ declare const useDeleteOpening: (options?: Options$1b) => _tanstack_react_query.
|
|
|
12810
13025
|
};
|
|
12811
13026
|
}>>;
|
|
12812
13027
|
|
|
12813
|
-
interface Options$
|
|
13028
|
+
interface Options$1g extends MutationOptionsFor<"delete", "/v1/provider_schedules/{provider_schedule_id}"> {
|
|
12814
13029
|
client?: QueryClient;
|
|
12815
13030
|
}
|
|
12816
|
-
declare const useDeleteProviderSchedule: (options?: Options$
|
|
13031
|
+
declare const useDeleteProviderSchedule: (options?: Options$1g) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12817
13032
|
204: {
|
|
12818
13033
|
headers: {
|
|
12819
13034
|
[name: string]: unknown;
|
|
@@ -12898,10 +13113,10 @@ declare const useDeleteProviderSchedule: (options?: Options$1a) => _tanstack_rea
|
|
|
12898
13113
|
};
|
|
12899
13114
|
}>>;
|
|
12900
13115
|
|
|
12901
|
-
interface Options$
|
|
13116
|
+
interface Options$1f extends MutationOptionsFor<"delete", "/v1/schedule_groups/{schedule_group_id}"> {
|
|
12902
13117
|
client?: QueryClient;
|
|
12903
13118
|
}
|
|
12904
|
-
declare const
|
|
13119
|
+
declare const useDeleteScheduleGroup: (options?: Options$1f) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12905
13120
|
204: {
|
|
12906
13121
|
headers: {
|
|
12907
13122
|
[name: string]: unknown;
|
|
@@ -12924,6 +13139,20 @@ declare const useDeleteService: (options?: Options$19) => _tanstack_react_query.
|
|
|
12924
13139
|
};
|
|
12925
13140
|
};
|
|
12926
13141
|
};
|
|
13142
|
+
403: {
|
|
13143
|
+
headers: {
|
|
13144
|
+
[name: string]: unknown;
|
|
13145
|
+
};
|
|
13146
|
+
content: {
|
|
13147
|
+
"application/json": {
|
|
13148
|
+
errors: {
|
|
13149
|
+
detail: string;
|
|
13150
|
+
status?: string;
|
|
13151
|
+
title?: string;
|
|
13152
|
+
}[];
|
|
13153
|
+
};
|
|
13154
|
+
};
|
|
13155
|
+
};
|
|
12927
13156
|
404: {
|
|
12928
13157
|
headers: {
|
|
12929
13158
|
[name: string]: unknown;
|
|
@@ -12937,12 +13166,25 @@ declare const useDeleteService: (options?: Options$19) => _tanstack_react_query.
|
|
|
12937
13166
|
};
|
|
12938
13167
|
};
|
|
12939
13168
|
};
|
|
13169
|
+
409: {
|
|
13170
|
+
headers: {
|
|
13171
|
+
[name: string]: unknown;
|
|
13172
|
+
};
|
|
13173
|
+
content: {
|
|
13174
|
+
"application/json": {
|
|
13175
|
+
errors: {
|
|
13176
|
+
detail: "Conflict";
|
|
13177
|
+
status: "409";
|
|
13178
|
+
}[];
|
|
13179
|
+
};
|
|
13180
|
+
};
|
|
13181
|
+
};
|
|
12940
13182
|
}, `${string}/${string}`>, openapi_fetch.FetchOptions<{
|
|
12941
13183
|
parameters: {
|
|
12942
13184
|
query?: never;
|
|
12943
13185
|
header?: never;
|
|
12944
13186
|
path: {
|
|
12945
|
-
|
|
13187
|
+
schedule_group_id: string;
|
|
12946
13188
|
};
|
|
12947
13189
|
cookie?: never;
|
|
12948
13190
|
};
|
|
@@ -12970,6 +13212,20 @@ declare const useDeleteService: (options?: Options$19) => _tanstack_react_query.
|
|
|
12970
13212
|
};
|
|
12971
13213
|
};
|
|
12972
13214
|
};
|
|
13215
|
+
403: {
|
|
13216
|
+
headers: {
|
|
13217
|
+
[name: string]: unknown;
|
|
13218
|
+
};
|
|
13219
|
+
content: {
|
|
13220
|
+
"application/json": {
|
|
13221
|
+
errors: {
|
|
13222
|
+
detail: string;
|
|
13223
|
+
status?: string;
|
|
13224
|
+
title?: string;
|
|
13225
|
+
}[];
|
|
13226
|
+
};
|
|
13227
|
+
};
|
|
13228
|
+
};
|
|
12973
13229
|
404: {
|
|
12974
13230
|
headers: {
|
|
12975
13231
|
[name: string]: unknown;
|
|
@@ -12983,14 +13239,115 @@ declare const useDeleteService: (options?: Options$19) => _tanstack_react_query.
|
|
|
12983
13239
|
};
|
|
12984
13240
|
};
|
|
12985
13241
|
};
|
|
12986
|
-
|
|
12987
|
-
|
|
12988
|
-
|
|
12989
|
-
|
|
12990
|
-
|
|
12991
|
-
|
|
12992
|
-
|
|
12993
|
-
|
|
13242
|
+
409: {
|
|
13243
|
+
headers: {
|
|
13244
|
+
[name: string]: unknown;
|
|
13245
|
+
};
|
|
13246
|
+
content: {
|
|
13247
|
+
"application/json": {
|
|
13248
|
+
errors: {
|
|
13249
|
+
detail: "Conflict";
|
|
13250
|
+
status: "409";
|
|
13251
|
+
}[];
|
|
13252
|
+
};
|
|
13253
|
+
};
|
|
13254
|
+
};
|
|
13255
|
+
};
|
|
13256
|
+
}>>;
|
|
13257
|
+
|
|
13258
|
+
interface Options$1e extends MutationOptionsFor<"delete", "/v1/services/{service_id}"> {
|
|
13259
|
+
client?: QueryClient;
|
|
13260
|
+
}
|
|
13261
|
+
declare const useDeleteService: (options?: Options$1e) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
13262
|
+
204: {
|
|
13263
|
+
headers: {
|
|
13264
|
+
[name: string]: unknown;
|
|
13265
|
+
};
|
|
13266
|
+
content: {
|
|
13267
|
+
"text/plain": string;
|
|
13268
|
+
};
|
|
13269
|
+
};
|
|
13270
|
+
401: {
|
|
13271
|
+
headers: {
|
|
13272
|
+
[name: string]: unknown;
|
|
13273
|
+
};
|
|
13274
|
+
content: {
|
|
13275
|
+
"application/json": {
|
|
13276
|
+
errors: {
|
|
13277
|
+
detail: string;
|
|
13278
|
+
status?: string;
|
|
13279
|
+
title?: string;
|
|
13280
|
+
}[];
|
|
13281
|
+
};
|
|
13282
|
+
};
|
|
13283
|
+
};
|
|
13284
|
+
404: {
|
|
13285
|
+
headers: {
|
|
13286
|
+
[name: string]: unknown;
|
|
13287
|
+
};
|
|
13288
|
+
content: {
|
|
13289
|
+
"application/json": {
|
|
13290
|
+
errors: {
|
|
13291
|
+
detail: "Not Found";
|
|
13292
|
+
status: "404";
|
|
13293
|
+
}[];
|
|
13294
|
+
};
|
|
13295
|
+
};
|
|
13296
|
+
};
|
|
13297
|
+
}, `${string}/${string}`>, openapi_fetch.FetchOptions<{
|
|
13298
|
+
parameters: {
|
|
13299
|
+
query?: never;
|
|
13300
|
+
header?: never;
|
|
13301
|
+
path: {
|
|
13302
|
+
service_id: string;
|
|
13303
|
+
};
|
|
13304
|
+
cookie?: never;
|
|
13305
|
+
};
|
|
13306
|
+
requestBody?: never;
|
|
13307
|
+
responses: {
|
|
13308
|
+
204: {
|
|
13309
|
+
headers: {
|
|
13310
|
+
[name: string]: unknown;
|
|
13311
|
+
};
|
|
13312
|
+
content: {
|
|
13313
|
+
"text/plain": string;
|
|
13314
|
+
};
|
|
13315
|
+
};
|
|
13316
|
+
401: {
|
|
13317
|
+
headers: {
|
|
13318
|
+
[name: string]: unknown;
|
|
13319
|
+
};
|
|
13320
|
+
content: {
|
|
13321
|
+
"application/json": {
|
|
13322
|
+
errors: {
|
|
13323
|
+
detail: string;
|
|
13324
|
+
status?: string;
|
|
13325
|
+
title?: string;
|
|
13326
|
+
}[];
|
|
13327
|
+
};
|
|
13328
|
+
};
|
|
13329
|
+
};
|
|
13330
|
+
404: {
|
|
13331
|
+
headers: {
|
|
13332
|
+
[name: string]: unknown;
|
|
13333
|
+
};
|
|
13334
|
+
content: {
|
|
13335
|
+
"application/json": {
|
|
13336
|
+
errors: {
|
|
13337
|
+
detail: "Not Found";
|
|
13338
|
+
status: "404";
|
|
13339
|
+
}[];
|
|
13340
|
+
};
|
|
13341
|
+
};
|
|
13342
|
+
};
|
|
13343
|
+
};
|
|
13344
|
+
}>>;
|
|
13345
|
+
|
|
13346
|
+
interface Options$1d extends MutationOptionsFor<"delete", "/v1/services/{service_id}/providers/{provider_id}"> {
|
|
13347
|
+
client?: QueryClient;
|
|
13348
|
+
}
|
|
13349
|
+
declare const useDeleteServiceProvider: (options?: Options$1d) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
13350
|
+
204: {
|
|
12994
13351
|
headers: {
|
|
12995
13352
|
[name: string]: unknown;
|
|
12996
13353
|
};
|
|
@@ -13075,10 +13432,10 @@ declare const useDeleteServiceProvider: (options?: Options$18) => _tanstack_reac
|
|
|
13075
13432
|
};
|
|
13076
13433
|
}>>;
|
|
13077
13434
|
|
|
13078
|
-
interface Options$
|
|
13435
|
+
interface Options$1c extends MutationOptionsFor<"delete", "/v1/connected_accounts/{connected_account_id}/user_mappings/{provider_id}"> {
|
|
13079
13436
|
client?: QueryClient;
|
|
13080
13437
|
}
|
|
13081
|
-
declare const useDeleteUserMapping: (options?: Options$
|
|
13438
|
+
declare const useDeleteUserMapping: (options?: Options$1c) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
13082
13439
|
204: {
|
|
13083
13440
|
headers: {
|
|
13084
13441
|
[name: string]: unknown;
|
|
@@ -13164,10 +13521,10 @@ declare const useDeleteUserMapping: (options?: Options$17) => _tanstack_react_qu
|
|
|
13164
13521
|
};
|
|
13165
13522
|
}>>;
|
|
13166
13523
|
|
|
13167
|
-
interface Options$
|
|
13524
|
+
interface Options$1b extends MutationOptionsFor<"delete", "/v1/service_forms/{service_form_id}"> {
|
|
13168
13525
|
client?: QueryClient;
|
|
13169
13526
|
}
|
|
13170
|
-
declare const useDetachServiceForm: (options?: Options$
|
|
13527
|
+
declare const useDetachServiceForm: (options?: Options$1b) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
13171
13528
|
204: {
|
|
13172
13529
|
headers: {
|
|
13173
13530
|
[name: string]: unknown;
|
|
@@ -13252,10 +13609,10 @@ declare const useDetachServiceForm: (options?: Options$16) => _tanstack_react_qu
|
|
|
13252
13609
|
};
|
|
13253
13610
|
}>>;
|
|
13254
13611
|
|
|
13255
|
-
interface Options$
|
|
13612
|
+
interface Options$1a extends MutationOptionsFor<"post", "/v1/appointments/{appointment_id}/reschedule"> {
|
|
13256
13613
|
client?: QueryClient;
|
|
13257
13614
|
}
|
|
13258
|
-
declare const useRescheduleAppointment: (options?: Options$
|
|
13615
|
+
declare const useRescheduleAppointment: (options?: Options$1a) => _tanstack_react_query.UseMutationResult<{
|
|
13259
13616
|
data: {
|
|
13260
13617
|
add_to_calendar_url: string;
|
|
13261
13618
|
appointment_type: "in_person" | "virtual";
|
|
@@ -14183,10 +14540,10 @@ declare const useRescheduleAppointment: (options?: Options$15) => _tanstack_reac
|
|
|
14183
14540
|
};
|
|
14184
14541
|
}>>;
|
|
14185
14542
|
|
|
14186
|
-
interface Options$
|
|
14543
|
+
interface Options$19 extends MutationOptionsFor<"post", "/v1/public/appointments/{appointment_id}/reschedule"> {
|
|
14187
14544
|
client?: QueryClient;
|
|
14188
14545
|
}
|
|
14189
|
-
declare const useReschedulePublicAppointment: (options?: Options$
|
|
14546
|
+
declare const useReschedulePublicAppointment: (options?: Options$19) => _tanstack_react_query.UseMutationResult<{
|
|
14190
14547
|
data: {
|
|
14191
14548
|
add_to_calendar_url: string;
|
|
14192
14549
|
cancel_url: string;
|
|
@@ -14357,10 +14714,10 @@ declare const useReschedulePublicAppointment: (options?: Options$14) => _tanstac
|
|
|
14357
14714
|
};
|
|
14358
14715
|
}>>;
|
|
14359
14716
|
|
|
14360
|
-
interface Options$
|
|
14717
|
+
interface Options$18 extends MutationOptionsFor<"put", "/v1/services/{service_id}/conferencing"> {
|
|
14361
14718
|
client?: QueryClient;
|
|
14362
14719
|
}
|
|
14363
|
-
declare const useSetServiceConferencing: (options?: Options$
|
|
14720
|
+
declare const useSetServiceConferencing: (options?: Options$18) => _tanstack_react_query.UseMutationResult<{
|
|
14364
14721
|
data: {
|
|
14365
14722
|
configured: {
|
|
14366
14723
|
provider_id: string;
|
|
@@ -14515,10 +14872,10 @@ declare const useSetServiceConferencing: (options?: Options$13) => _tanstack_rea
|
|
|
14515
14872
|
};
|
|
14516
14873
|
}>>;
|
|
14517
14874
|
|
|
14518
|
-
interface Options$
|
|
14875
|
+
interface Options$17 extends MutationOptionsFor<"put", "/v1/services/{service_id}/providers/{provider_id}/conferencing"> {
|
|
14519
14876
|
client?: QueryClient;
|
|
14520
14877
|
}
|
|
14521
|
-
declare const useSetServiceProviderConferencing: (options?: Options$
|
|
14878
|
+
declare const useSetServiceProviderConferencing: (options?: Options$17) => _tanstack_react_query.UseMutationResult<{
|
|
14522
14879
|
data: {
|
|
14523
14880
|
conferencing_provider: "zoom_admin";
|
|
14524
14881
|
connected_account: {
|
|
@@ -14765,10 +15122,10 @@ declare const useSetServiceProviderConferencing: (options?: Options$12) => _tans
|
|
|
14765
15122
|
};
|
|
14766
15123
|
}>>;
|
|
14767
15124
|
|
|
14768
|
-
interface Options$
|
|
15125
|
+
interface Options$16 extends MutationOptionsFor<"put", "/v1/connected_accounts/{connected_account_id}/user_mappings/{provider_id}"> {
|
|
14769
15126
|
client?: QueryClient;
|
|
14770
15127
|
}
|
|
14771
|
-
declare const useSetUserMapping: (options?: Options$
|
|
15128
|
+
declare const useSetUserMapping: (options?: Options$16) => _tanstack_react_query.UseMutationResult<{
|
|
14772
15129
|
data: {
|
|
14773
15130
|
external_user: {
|
|
14774
15131
|
email: string | null;
|
|
@@ -15007,10 +15364,10 @@ declare const useSetUserMapping: (options?: Options$11) => _tanstack_react_query
|
|
|
15007
15364
|
};
|
|
15008
15365
|
}>>;
|
|
15009
15366
|
|
|
15010
|
-
interface Options$
|
|
15367
|
+
interface Options$15 extends MutationOptionsFor<"post", "/v1/services/{service_id}/forms/sort"> {
|
|
15011
15368
|
client?: QueryClient;
|
|
15012
15369
|
}
|
|
15013
|
-
declare const useSortServiceForms: (options?: Options$
|
|
15370
|
+
declare const useSortServiceForms: (options?: Options$15) => _tanstack_react_query.UseMutationResult<{
|
|
15014
15371
|
data: {
|
|
15015
15372
|
created_at: string;
|
|
15016
15373
|
form_id: string;
|
|
@@ -15165,10 +15522,10 @@ declare const useSortServiceForms: (options?: Options$10) => _tanstack_react_que
|
|
|
15165
15522
|
};
|
|
15166
15523
|
}>>;
|
|
15167
15524
|
|
|
15168
|
-
interface Options
|
|
15525
|
+
interface Options$14 extends MutationOptionsFor<"post", "/v1/connected_accounts/{connected_account_id}/external_users/sync"> {
|
|
15169
15526
|
client?: QueryClient;
|
|
15170
15527
|
}
|
|
15171
|
-
declare const useSyncConnectedAccountExternalUsers: (options?: Options
|
|
15528
|
+
declare const useSyncConnectedAccountExternalUsers: (options?: Options$14) => _tanstack_react_query.UseMutationResult<{
|
|
15172
15529
|
data: {
|
|
15173
15530
|
email: string | null;
|
|
15174
15531
|
first_name: string | null;
|
|
@@ -15310,10 +15667,10 @@ declare const useSyncConnectedAccountExternalUsers: (options?: Options$$) => _ta
|
|
|
15310
15667
|
};
|
|
15311
15668
|
}>>;
|
|
15312
15669
|
|
|
15313
|
-
interface Options$
|
|
15670
|
+
interface Options$13 extends MutationOptionsFor<"post", "/v1/services/{service_id}/conferencing/sync"> {
|
|
15314
15671
|
client?: QueryClient;
|
|
15315
15672
|
}
|
|
15316
|
-
declare const useSyncServiceConferencing: (options?: Options$
|
|
15673
|
+
declare const useSyncServiceConferencing: (options?: Options$13) => _tanstack_react_query.UseMutationResult<{
|
|
15317
15674
|
data: {
|
|
15318
15675
|
configured: {
|
|
15319
15676
|
provider_id: string;
|
|
@@ -15458,10 +15815,10 @@ declare const useSyncServiceConferencing: (options?: Options$_) => _tanstack_rea
|
|
|
15458
15815
|
};
|
|
15459
15816
|
}>>;
|
|
15460
15817
|
|
|
15461
|
-
interface Options$
|
|
15818
|
+
interface Options$12 extends MutationOptionsFor<"patch", "/v1/accounts/{account_id}"> {
|
|
15462
15819
|
client?: QueryClient;
|
|
15463
15820
|
}
|
|
15464
|
-
declare const useUpdateAccount: (options?: Options$
|
|
15821
|
+
declare const useUpdateAccount: (options?: Options$12) => _tanstack_react_query.UseMutationResult<{
|
|
15465
15822
|
data?: {
|
|
15466
15823
|
created_at: string;
|
|
15467
15824
|
id: string;
|
|
@@ -15610,10 +15967,10 @@ declare const useUpdateAccount: (options?: Options$Z) => _tanstack_react_query.U
|
|
|
15610
15967
|
};
|
|
15611
15968
|
}>>;
|
|
15612
15969
|
|
|
15613
|
-
interface Options$
|
|
15970
|
+
interface Options$11 extends MutationOptionsFor<"patch", "/v1/users/{user_id}"> {
|
|
15614
15971
|
client?: QueryClient;
|
|
15615
15972
|
}
|
|
15616
|
-
declare const useUpdateAccountUser: (options?: Options$
|
|
15973
|
+
declare const useUpdateAccountUser: (options?: Options$11) => _tanstack_react_query.UseMutationResult<{
|
|
15617
15974
|
object: "account_user";
|
|
15618
15975
|
passive: boolean;
|
|
15619
15976
|
roles: {
|
|
@@ -15807,10 +16164,10 @@ declare const useUpdateAccountUser: (options?: Options$Y) => _tanstack_react_que
|
|
|
15807
16164
|
};
|
|
15808
16165
|
}>>;
|
|
15809
16166
|
|
|
15810
|
-
interface Options$
|
|
16167
|
+
interface Options$10 extends MutationOptionsFor<"patch", "/v1/blocks/{block_id}"> {
|
|
15811
16168
|
client?: QueryClient;
|
|
15812
16169
|
}
|
|
15813
|
-
declare const useUpdateBlock: (options?: Options$
|
|
16170
|
+
declare const useUpdateBlock: (options?: Options$10) => _tanstack_react_query.UseMutationResult<{
|
|
15814
16171
|
data: {
|
|
15815
16172
|
all_day: boolean;
|
|
15816
16173
|
attachment_type: "location" | "service" | "provider" | "service_provider";
|
|
@@ -15995,10 +16352,10 @@ declare const useUpdateBlock: (options?: Options$X) => _tanstack_react_query.Use
|
|
|
15995
16352
|
};
|
|
15996
16353
|
}> | undefined>;
|
|
15997
16354
|
|
|
15998
|
-
interface Options
|
|
16355
|
+
interface Options$$ extends MutationOptionsFor<"patch", "/v1/booking_intents/{booking_intent_id}"> {
|
|
15999
16356
|
client?: QueryClient;
|
|
16000
16357
|
}
|
|
16001
|
-
declare const useUpdateBookingIntent: (options?: Options
|
|
16358
|
+
declare const useUpdateBookingIntent: (options?: Options$$) => _tanstack_react_query.UseMutationResult<{
|
|
16002
16359
|
data: {
|
|
16003
16360
|
abandoned_at?: string | null;
|
|
16004
16361
|
appointment?: {
|
|
@@ -17598,10 +17955,10 @@ declare const useUpdateBookingIntent: (options?: Options$W) => _tanstack_react_q
|
|
|
17598
17955
|
};
|
|
17599
17956
|
}>>;
|
|
17600
17957
|
|
|
17601
|
-
interface Options$
|
|
17958
|
+
interface Options$_ extends MutationOptionsFor<"patch", "/v1/booking_links/{booking_link_id}"> {
|
|
17602
17959
|
client?: QueryClient;
|
|
17603
17960
|
}
|
|
17604
|
-
declare const useUpdateBookingLink: (options?: Options$
|
|
17961
|
+
declare const useUpdateBookingLink: (options?: Options$_) => _tanstack_react_query.UseMutationResult<{
|
|
17605
17962
|
data: {
|
|
17606
17963
|
client?: {
|
|
17607
17964
|
created_at: string;
|
|
@@ -17890,11 +18247,16 @@ declare const useUpdateBookingLink: (options?: Options$V) => _tanstack_react_que
|
|
|
17890
18247
|
};
|
|
17891
18248
|
}>>;
|
|
17892
18249
|
|
|
17893
|
-
interface Options$
|
|
18250
|
+
interface Options$Z extends MutationOptionsFor<"patch", "/v1/cancellation_reasons/{cancellation_reason_id}"> {
|
|
17894
18251
|
client?: QueryClient;
|
|
17895
18252
|
}
|
|
17896
|
-
declare const useUpdateCancellationReason: (options?: Options$
|
|
17897
|
-
data:
|
|
18253
|
+
declare const useUpdateCancellationReason: (options?: Options$Z) => _tanstack_react_query.UseMutationResult<{
|
|
18254
|
+
data: {
|
|
18255
|
+
id: string;
|
|
18256
|
+
name: string;
|
|
18257
|
+
object: "cancellation_reason";
|
|
18258
|
+
sort_order: number;
|
|
18259
|
+
};
|
|
17898
18260
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
17899
18261
|
200: {
|
|
17900
18262
|
headers: {
|
|
@@ -17902,7 +18264,12 @@ declare const useUpdateCancellationReason: (options?: Options$U) => _tanstack_re
|
|
|
17902
18264
|
};
|
|
17903
18265
|
content: {
|
|
17904
18266
|
"application/json": {
|
|
17905
|
-
data:
|
|
18267
|
+
data: {
|
|
18268
|
+
id: string;
|
|
18269
|
+
name: string;
|
|
18270
|
+
object: "cancellation_reason";
|
|
18271
|
+
sort_order: number;
|
|
18272
|
+
};
|
|
17906
18273
|
};
|
|
17907
18274
|
};
|
|
17908
18275
|
};
|
|
@@ -17973,7 +18340,12 @@ declare const useUpdateCancellationReason: (options?: Options$U) => _tanstack_re
|
|
|
17973
18340
|
};
|
|
17974
18341
|
content: {
|
|
17975
18342
|
"application/json": {
|
|
17976
|
-
data:
|
|
18343
|
+
data: {
|
|
18344
|
+
id: string;
|
|
18345
|
+
name: string;
|
|
18346
|
+
object: "cancellation_reason";
|
|
18347
|
+
sort_order: number;
|
|
18348
|
+
};
|
|
17977
18349
|
};
|
|
17978
18350
|
};
|
|
17979
18351
|
};
|
|
@@ -18024,10 +18396,10 @@ declare const useUpdateCancellationReason: (options?: Options$U) => _tanstack_re
|
|
|
18024
18396
|
};
|
|
18025
18397
|
}>>;
|
|
18026
18398
|
|
|
18027
|
-
interface Options$
|
|
18399
|
+
interface Options$Y extends MutationOptionsFor<"patch", "/v1/clients/{client_id}"> {
|
|
18028
18400
|
client?: QueryClient;
|
|
18029
18401
|
}
|
|
18030
|
-
declare const useUpdateClient: (options?: Options$
|
|
18402
|
+
declare const useUpdateClient: (options?: Options$Y) => _tanstack_react_query.UseMutationResult<{
|
|
18031
18403
|
data: {
|
|
18032
18404
|
created_at: string;
|
|
18033
18405
|
email?: string | null;
|
|
@@ -18224,11 +18596,29 @@ declare const useUpdateClient: (options?: Options$T) => _tanstack_react_query.Us
|
|
|
18224
18596
|
};
|
|
18225
18597
|
}>>;
|
|
18226
18598
|
|
|
18227
|
-
interface Options$
|
|
18599
|
+
interface Options$X extends MutationOptionsFor<"patch", "/v1/client_fields/{client_field_id}"> {
|
|
18228
18600
|
client?: QueryClient;
|
|
18229
18601
|
}
|
|
18230
|
-
declare const useUpdateClientField: (options?: Options$
|
|
18231
|
-
data:
|
|
18602
|
+
declare const useUpdateClientField: (options?: Options$X) => _tanstack_react_query.UseMutationResult<{
|
|
18603
|
+
data: {
|
|
18604
|
+
created_at: string;
|
|
18605
|
+
description?: string | null;
|
|
18606
|
+
id: string;
|
|
18607
|
+
key: string;
|
|
18608
|
+
label: string;
|
|
18609
|
+
object: "client_field";
|
|
18610
|
+
options?: ({
|
|
18611
|
+
allow_other?: boolean;
|
|
18612
|
+
choices?: {
|
|
18613
|
+
id?: string;
|
|
18614
|
+
label: string;
|
|
18615
|
+
}[];
|
|
18616
|
+
} | (Record<string, never> | null)) | null;
|
|
18617
|
+
sensitive: boolean;
|
|
18618
|
+
sort_order: number;
|
|
18619
|
+
type: "short_text" | "long_text" | "email" | "phone" | "boolean" | "radio" | "select" | "checkbox";
|
|
18620
|
+
updated_at: string;
|
|
18621
|
+
};
|
|
18232
18622
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
18233
18623
|
200: {
|
|
18234
18624
|
headers: {
|
|
@@ -18236,7 +18626,25 @@ declare const useUpdateClientField: (options?: Options$S) => _tanstack_react_que
|
|
|
18236
18626
|
};
|
|
18237
18627
|
content: {
|
|
18238
18628
|
"application/json": {
|
|
18239
|
-
data:
|
|
18629
|
+
data: {
|
|
18630
|
+
created_at: string;
|
|
18631
|
+
description?: string | null;
|
|
18632
|
+
id: string;
|
|
18633
|
+
key: string;
|
|
18634
|
+
label: string;
|
|
18635
|
+
object: "client_field";
|
|
18636
|
+
options?: ({
|
|
18637
|
+
allow_other?: boolean;
|
|
18638
|
+
choices?: {
|
|
18639
|
+
id?: string;
|
|
18640
|
+
label: string;
|
|
18641
|
+
}[];
|
|
18642
|
+
} | (Record<string, never> | null)) | null;
|
|
18643
|
+
sensitive: boolean;
|
|
18644
|
+
sort_order: number;
|
|
18645
|
+
type: "short_text" | "long_text" | "email" | "phone" | "boolean" | "radio" | "select" | "checkbox";
|
|
18646
|
+
updated_at: string;
|
|
18647
|
+
};
|
|
18240
18648
|
};
|
|
18241
18649
|
};
|
|
18242
18650
|
};
|
|
@@ -18316,7 +18724,25 @@ declare const useUpdateClientField: (options?: Options$S) => _tanstack_react_que
|
|
|
18316
18724
|
};
|
|
18317
18725
|
content: {
|
|
18318
18726
|
"application/json": {
|
|
18319
|
-
data:
|
|
18727
|
+
data: {
|
|
18728
|
+
created_at: string;
|
|
18729
|
+
description?: string | null;
|
|
18730
|
+
id: string;
|
|
18731
|
+
key: string;
|
|
18732
|
+
label: string;
|
|
18733
|
+
object: "client_field";
|
|
18734
|
+
options?: ({
|
|
18735
|
+
allow_other?: boolean;
|
|
18736
|
+
choices?: {
|
|
18737
|
+
id?: string;
|
|
18738
|
+
label: string;
|
|
18739
|
+
}[];
|
|
18740
|
+
} | (Record<string, never> | null)) | null;
|
|
18741
|
+
sensitive: boolean;
|
|
18742
|
+
sort_order: number;
|
|
18743
|
+
type: "short_text" | "long_text" | "email" | "phone" | "boolean" | "radio" | "select" | "checkbox";
|
|
18744
|
+
updated_at: string;
|
|
18745
|
+
};
|
|
18320
18746
|
};
|
|
18321
18747
|
};
|
|
18322
18748
|
};
|
|
@@ -18367,10 +18793,10 @@ declare const useUpdateClientField: (options?: Options$S) => _tanstack_react_que
|
|
|
18367
18793
|
};
|
|
18368
18794
|
}>>;
|
|
18369
18795
|
|
|
18370
|
-
interface Options$
|
|
18796
|
+
interface Options$W extends MutationOptionsFor<"patch", "/v1/connected_accounts/{connected_account_id}"> {
|
|
18371
18797
|
client?: QueryClient;
|
|
18372
18798
|
}
|
|
18373
|
-
declare const useUpdateConnectedAccount: (options?: Options$
|
|
18799
|
+
declare const useUpdateConnectedAccount: (options?: Options$W) => _tanstack_react_query.UseMutationResult<{
|
|
18374
18800
|
data: {
|
|
18375
18801
|
connection_scope: "user" | "account";
|
|
18376
18802
|
created_at: string;
|
|
@@ -18540,10 +18966,10 @@ declare const useUpdateConnectedAccount: (options?: Options$R) => _tanstack_reac
|
|
|
18540
18966
|
};
|
|
18541
18967
|
}>>;
|
|
18542
18968
|
|
|
18543
|
-
interface Options$
|
|
18969
|
+
interface Options$V extends MutationOptionsFor<"patch", "/v1/forms/{form_id}"> {
|
|
18544
18970
|
client?: QueryClient;
|
|
18545
18971
|
}
|
|
18546
|
-
declare const useUpdateForm: (options?: Options$
|
|
18972
|
+
declare const useUpdateForm: (options?: Options$V) => _tanstack_react_query.UseMutationResult<{
|
|
18547
18973
|
data: {
|
|
18548
18974
|
created_at: string;
|
|
18549
18975
|
field_count: number;
|
|
@@ -18559,7 +18985,7 @@ declare const useUpdateForm: (options?: Options$Q) => _tanstack_react_query.UseM
|
|
|
18559
18985
|
id: string;
|
|
18560
18986
|
label: string;
|
|
18561
18987
|
}[];
|
|
18562
|
-
} | (string | null)) | null;
|
|
18988
|
+
} | (Record<string, never> | null)) | null;
|
|
18563
18989
|
position: number;
|
|
18564
18990
|
required?: boolean;
|
|
18565
18991
|
sensitive?: boolean;
|
|
@@ -18592,7 +19018,7 @@ declare const useUpdateForm: (options?: Options$Q) => _tanstack_react_query.UseM
|
|
|
18592
19018
|
id: string;
|
|
18593
19019
|
label: string;
|
|
18594
19020
|
}[];
|
|
18595
|
-
} | (string | null)) | null;
|
|
19021
|
+
} | (Record<string, never> | null)) | null;
|
|
18596
19022
|
position: number;
|
|
18597
19023
|
required?: boolean;
|
|
18598
19024
|
sensitive?: boolean;
|
|
@@ -18668,13 +19094,13 @@ declare const useUpdateForm: (options?: Options$Q) => _tanstack_react_query.UseM
|
|
|
18668
19094
|
key: string;
|
|
18669
19095
|
label: string;
|
|
18670
19096
|
must_be_true?: boolean;
|
|
18671
|
-
options?:
|
|
19097
|
+
options?: {
|
|
18672
19098
|
allow_other: boolean;
|
|
18673
19099
|
choices: {
|
|
18674
19100
|
id?: string;
|
|
18675
19101
|
label: string;
|
|
18676
19102
|
}[];
|
|
18677
|
-
} |
|
|
19103
|
+
} | null;
|
|
18678
19104
|
position: number;
|
|
18679
19105
|
required?: boolean;
|
|
18680
19106
|
sensitive?: boolean;
|
|
@@ -18706,7 +19132,7 @@ declare const useUpdateForm: (options?: Options$Q) => _tanstack_react_query.UseM
|
|
|
18706
19132
|
id: string;
|
|
18707
19133
|
label: string;
|
|
18708
19134
|
}[];
|
|
18709
|
-
} | (string | null)) | null;
|
|
19135
|
+
} | (Record<string, never> | null)) | null;
|
|
18710
19136
|
position: number;
|
|
18711
19137
|
required?: boolean;
|
|
18712
19138
|
sensitive?: boolean;
|
|
@@ -18767,10 +19193,10 @@ declare const useUpdateForm: (options?: Options$Q) => _tanstack_react_query.UseM
|
|
|
18767
19193
|
};
|
|
18768
19194
|
}>>;
|
|
18769
19195
|
|
|
18770
|
-
interface Options$
|
|
19196
|
+
interface Options$U extends MutationOptionsFor<"patch", "/v1/openings/{opening_id}"> {
|
|
18771
19197
|
client?: QueryClient;
|
|
18772
19198
|
}
|
|
18773
|
-
declare const useUpdateOpening: (options?: Options$
|
|
19199
|
+
declare const useUpdateOpening: (options?: Options$U) => _tanstack_react_query.UseMutationResult<{
|
|
18774
19200
|
data: {
|
|
18775
19201
|
created_at: string;
|
|
18776
19202
|
date: string;
|
|
@@ -18938,10 +19364,10 @@ declare const useUpdateOpening: (options?: Options$P) => _tanstack_react_query.U
|
|
|
18938
19364
|
};
|
|
18939
19365
|
}>>;
|
|
18940
19366
|
|
|
18941
|
-
interface Options$
|
|
19367
|
+
interface Options$T extends MutationOptionsFor<"patch", "/v1/providers/{provider_id}"> {
|
|
18942
19368
|
client?: QueryClient;
|
|
18943
19369
|
}
|
|
18944
|
-
declare const useUpdateProvider: (options?: Options$
|
|
19370
|
+
declare const useUpdateProvider: (options?: Options$T) => _tanstack_react_query.UseMutationResult<{
|
|
18945
19371
|
data: {
|
|
18946
19372
|
created_at: string;
|
|
18947
19373
|
display_name: string;
|
|
@@ -19117,10 +19543,10 @@ declare const useUpdateProvider: (options?: Options$O) => _tanstack_react_query.
|
|
|
19117
19543
|
};
|
|
19118
19544
|
}>>;
|
|
19119
19545
|
|
|
19120
|
-
interface Options$
|
|
19546
|
+
interface Options$S extends MutationOptionsFor<"patch", "/v1/provider_schedules/{provider_schedule_id}"> {
|
|
19121
19547
|
client?: QueryClient;
|
|
19122
19548
|
}
|
|
19123
|
-
declare const useUpdateProviderSchedule: (options?: Options$
|
|
19549
|
+
declare const useUpdateProviderSchedule: (options?: Options$S) => _tanstack_react_query.UseMutationResult<{
|
|
19124
19550
|
data: {
|
|
19125
19551
|
created_at: string;
|
|
19126
19552
|
effective_from: string;
|
|
@@ -19281,10 +19707,10 @@ declare const useUpdateProviderSchedule: (options?: Options$N) => _tanstack_reac
|
|
|
19281
19707
|
};
|
|
19282
19708
|
}> | undefined>;
|
|
19283
19709
|
|
|
19284
|
-
interface Options$
|
|
19710
|
+
interface Options$R extends MutationOptionsFor<"patch", "/v1/public/booking_intents/{booking_intent_id}"> {
|
|
19285
19711
|
client?: QueryClient;
|
|
19286
19712
|
}
|
|
19287
|
-
declare const useUpdatePublicBookingIntent: (options?: Options$
|
|
19713
|
+
declare const useUpdatePublicBookingIntent: (options?: Options$R) => _tanstack_react_query.UseMutationResult<{
|
|
19288
19714
|
data: {
|
|
19289
19715
|
appointment?: {
|
|
19290
19716
|
add_to_calendar_url: string;
|
|
@@ -19671,10 +20097,341 @@ declare const useUpdatePublicBookingIntent: (options?: Options$M) => _tanstack_r
|
|
|
19671
20097
|
};
|
|
19672
20098
|
}>>;
|
|
19673
20099
|
|
|
19674
|
-
interface Options$
|
|
20100
|
+
interface Options$Q extends MutationOptionsFor<"patch", "/v1/roles/{role_id}"> {
|
|
20101
|
+
client?: QueryClient;
|
|
20102
|
+
}
|
|
20103
|
+
declare const useUpdateRole: (options?: Options$Q) => _tanstack_react_query.UseMutationResult<{
|
|
20104
|
+
data: {
|
|
20105
|
+
denied_permissions: string[];
|
|
20106
|
+
id: string;
|
|
20107
|
+
name: string;
|
|
20108
|
+
object: "role";
|
|
20109
|
+
permissions: string[];
|
|
20110
|
+
type: "admin" | "staff" | "superuser" | "custom";
|
|
20111
|
+
};
|
|
20112
|
+
}, openapi_typescript_helpers.ErrorResponse<{
|
|
20113
|
+
200: {
|
|
20114
|
+
headers: {
|
|
20115
|
+
[name: string]: unknown;
|
|
20116
|
+
};
|
|
20117
|
+
content: {
|
|
20118
|
+
"application/json": {
|
|
20119
|
+
data: {
|
|
20120
|
+
denied_permissions: string[];
|
|
20121
|
+
id: string;
|
|
20122
|
+
name: string;
|
|
20123
|
+
object: "role";
|
|
20124
|
+
permissions: string[];
|
|
20125
|
+
type: "admin" | "staff" | "superuser" | "custom";
|
|
20126
|
+
};
|
|
20127
|
+
};
|
|
20128
|
+
};
|
|
20129
|
+
};
|
|
20130
|
+
401: {
|
|
20131
|
+
headers: {
|
|
20132
|
+
[name: string]: unknown;
|
|
20133
|
+
};
|
|
20134
|
+
content: {
|
|
20135
|
+
"application/json": {
|
|
20136
|
+
errors: {
|
|
20137
|
+
detail: string;
|
|
20138
|
+
status?: string;
|
|
20139
|
+
title?: string;
|
|
20140
|
+
}[];
|
|
20141
|
+
};
|
|
20142
|
+
};
|
|
20143
|
+
};
|
|
20144
|
+
404: {
|
|
20145
|
+
headers: {
|
|
20146
|
+
[name: string]: unknown;
|
|
20147
|
+
};
|
|
20148
|
+
content: {
|
|
20149
|
+
"application/json": {
|
|
20150
|
+
errors: {
|
|
20151
|
+
detail: "Not Found";
|
|
20152
|
+
status: "404";
|
|
20153
|
+
}[];
|
|
20154
|
+
};
|
|
20155
|
+
};
|
|
20156
|
+
};
|
|
20157
|
+
422: {
|
|
20158
|
+
headers: {
|
|
20159
|
+
[name: string]: unknown;
|
|
20160
|
+
};
|
|
20161
|
+
content: {
|
|
20162
|
+
"application/json": {
|
|
20163
|
+
errors: {
|
|
20164
|
+
code?: string | null;
|
|
20165
|
+
detail: string;
|
|
20166
|
+
source: {
|
|
20167
|
+
pointer: string;
|
|
20168
|
+
};
|
|
20169
|
+
title: string;
|
|
20170
|
+
}[];
|
|
20171
|
+
};
|
|
20172
|
+
};
|
|
20173
|
+
};
|
|
20174
|
+
}, `${string}/${string}`>, openapi_fetch.FetchOptions<{
|
|
20175
|
+
parameters: {
|
|
20176
|
+
query?: never;
|
|
20177
|
+
header?: never;
|
|
20178
|
+
path: {
|
|
20179
|
+
role_id: string;
|
|
20180
|
+
};
|
|
20181
|
+
cookie?: never;
|
|
20182
|
+
};
|
|
20183
|
+
requestBody?: {
|
|
20184
|
+
content: {
|
|
20185
|
+
"application/json": {
|
|
20186
|
+
denied_permissions?: string[];
|
|
20187
|
+
name?: string;
|
|
20188
|
+
permissions?: string[];
|
|
20189
|
+
};
|
|
20190
|
+
};
|
|
20191
|
+
};
|
|
20192
|
+
responses: {
|
|
20193
|
+
200: {
|
|
20194
|
+
headers: {
|
|
20195
|
+
[name: string]: unknown;
|
|
20196
|
+
};
|
|
20197
|
+
content: {
|
|
20198
|
+
"application/json": {
|
|
20199
|
+
data: {
|
|
20200
|
+
denied_permissions: string[];
|
|
20201
|
+
id: string;
|
|
20202
|
+
name: string;
|
|
20203
|
+
object: "role";
|
|
20204
|
+
permissions: string[];
|
|
20205
|
+
type: "admin" | "staff" | "superuser" | "custom";
|
|
20206
|
+
};
|
|
20207
|
+
};
|
|
20208
|
+
};
|
|
20209
|
+
};
|
|
20210
|
+
401: {
|
|
20211
|
+
headers: {
|
|
20212
|
+
[name: string]: unknown;
|
|
20213
|
+
};
|
|
20214
|
+
content: {
|
|
20215
|
+
"application/json": {
|
|
20216
|
+
errors: {
|
|
20217
|
+
detail: string;
|
|
20218
|
+
status?: string;
|
|
20219
|
+
title?: string;
|
|
20220
|
+
}[];
|
|
20221
|
+
};
|
|
20222
|
+
};
|
|
20223
|
+
};
|
|
20224
|
+
404: {
|
|
20225
|
+
headers: {
|
|
20226
|
+
[name: string]: unknown;
|
|
20227
|
+
};
|
|
20228
|
+
content: {
|
|
20229
|
+
"application/json": {
|
|
20230
|
+
errors: {
|
|
20231
|
+
detail: "Not Found";
|
|
20232
|
+
status: "404";
|
|
20233
|
+
}[];
|
|
20234
|
+
};
|
|
20235
|
+
};
|
|
20236
|
+
};
|
|
20237
|
+
422: {
|
|
20238
|
+
headers: {
|
|
20239
|
+
[name: string]: unknown;
|
|
20240
|
+
};
|
|
20241
|
+
content: {
|
|
20242
|
+
"application/json": {
|
|
20243
|
+
errors: {
|
|
20244
|
+
code?: string | null;
|
|
20245
|
+
detail: string;
|
|
20246
|
+
source: {
|
|
20247
|
+
pointer: string;
|
|
20248
|
+
};
|
|
20249
|
+
title: string;
|
|
20250
|
+
}[];
|
|
20251
|
+
};
|
|
20252
|
+
};
|
|
20253
|
+
};
|
|
20254
|
+
};
|
|
20255
|
+
}>>;
|
|
20256
|
+
|
|
20257
|
+
interface Options$P extends MutationOptionsFor<"patch", "/v1/schedule_groups/{schedule_group_id}"> {
|
|
20258
|
+
client?: QueryClient;
|
|
20259
|
+
}
|
|
20260
|
+
declare const useUpdateScheduleGroup: (options?: Options$P) => _tanstack_react_query.UseMutationResult<{
|
|
20261
|
+
data: {
|
|
20262
|
+
id: string;
|
|
20263
|
+
name: string;
|
|
20264
|
+
object: "schedule_group";
|
|
20265
|
+
};
|
|
20266
|
+
}, openapi_typescript_helpers.ErrorResponse<{
|
|
20267
|
+
200: {
|
|
20268
|
+
headers: {
|
|
20269
|
+
[name: string]: unknown;
|
|
20270
|
+
};
|
|
20271
|
+
content: {
|
|
20272
|
+
"application/json": {
|
|
20273
|
+
data: {
|
|
20274
|
+
id: string;
|
|
20275
|
+
name: string;
|
|
20276
|
+
object: "schedule_group";
|
|
20277
|
+
};
|
|
20278
|
+
};
|
|
20279
|
+
};
|
|
20280
|
+
};
|
|
20281
|
+
401: {
|
|
20282
|
+
headers: {
|
|
20283
|
+
[name: string]: unknown;
|
|
20284
|
+
};
|
|
20285
|
+
content: {
|
|
20286
|
+
"application/json": {
|
|
20287
|
+
errors: {
|
|
20288
|
+
detail: string;
|
|
20289
|
+
status?: string;
|
|
20290
|
+
title?: string;
|
|
20291
|
+
}[];
|
|
20292
|
+
};
|
|
20293
|
+
};
|
|
20294
|
+
};
|
|
20295
|
+
403: {
|
|
20296
|
+
headers: {
|
|
20297
|
+
[name: string]: unknown;
|
|
20298
|
+
};
|
|
20299
|
+
content: {
|
|
20300
|
+
"application/json": {
|
|
20301
|
+
errors: {
|
|
20302
|
+
detail: string;
|
|
20303
|
+
status?: string;
|
|
20304
|
+
title?: string;
|
|
20305
|
+
}[];
|
|
20306
|
+
};
|
|
20307
|
+
};
|
|
20308
|
+
};
|
|
20309
|
+
404: {
|
|
20310
|
+
headers: {
|
|
20311
|
+
[name: string]: unknown;
|
|
20312
|
+
};
|
|
20313
|
+
content: {
|
|
20314
|
+
"application/json": {
|
|
20315
|
+
errors: {
|
|
20316
|
+
detail: "Not Found";
|
|
20317
|
+
status: "404";
|
|
20318
|
+
}[];
|
|
20319
|
+
};
|
|
20320
|
+
};
|
|
20321
|
+
};
|
|
20322
|
+
422: {
|
|
20323
|
+
headers: {
|
|
20324
|
+
[name: string]: unknown;
|
|
20325
|
+
};
|
|
20326
|
+
content: {
|
|
20327
|
+
"application/json": {
|
|
20328
|
+
errors: {
|
|
20329
|
+
code?: string | null;
|
|
20330
|
+
detail: string;
|
|
20331
|
+
source: {
|
|
20332
|
+
pointer: string;
|
|
20333
|
+
};
|
|
20334
|
+
title: string;
|
|
20335
|
+
}[];
|
|
20336
|
+
};
|
|
20337
|
+
};
|
|
20338
|
+
};
|
|
20339
|
+
}, `${string}/${string}`>, openapi_fetch.FetchOptions<{
|
|
20340
|
+
parameters: {
|
|
20341
|
+
query?: never;
|
|
20342
|
+
header?: never;
|
|
20343
|
+
path: {
|
|
20344
|
+
schedule_group_id: string;
|
|
20345
|
+
};
|
|
20346
|
+
cookie?: never;
|
|
20347
|
+
};
|
|
20348
|
+
requestBody?: {
|
|
20349
|
+
content: {
|
|
20350
|
+
"application/json": {
|
|
20351
|
+
name: string;
|
|
20352
|
+
};
|
|
20353
|
+
};
|
|
20354
|
+
};
|
|
20355
|
+
responses: {
|
|
20356
|
+
200: {
|
|
20357
|
+
headers: {
|
|
20358
|
+
[name: string]: unknown;
|
|
20359
|
+
};
|
|
20360
|
+
content: {
|
|
20361
|
+
"application/json": {
|
|
20362
|
+
data: {
|
|
20363
|
+
id: string;
|
|
20364
|
+
name: string;
|
|
20365
|
+
object: "schedule_group";
|
|
20366
|
+
};
|
|
20367
|
+
};
|
|
20368
|
+
};
|
|
20369
|
+
};
|
|
20370
|
+
401: {
|
|
20371
|
+
headers: {
|
|
20372
|
+
[name: string]: unknown;
|
|
20373
|
+
};
|
|
20374
|
+
content: {
|
|
20375
|
+
"application/json": {
|
|
20376
|
+
errors: {
|
|
20377
|
+
detail: string;
|
|
20378
|
+
status?: string;
|
|
20379
|
+
title?: string;
|
|
20380
|
+
}[];
|
|
20381
|
+
};
|
|
20382
|
+
};
|
|
20383
|
+
};
|
|
20384
|
+
403: {
|
|
20385
|
+
headers: {
|
|
20386
|
+
[name: string]: unknown;
|
|
20387
|
+
};
|
|
20388
|
+
content: {
|
|
20389
|
+
"application/json": {
|
|
20390
|
+
errors: {
|
|
20391
|
+
detail: string;
|
|
20392
|
+
status?: string;
|
|
20393
|
+
title?: string;
|
|
20394
|
+
}[];
|
|
20395
|
+
};
|
|
20396
|
+
};
|
|
20397
|
+
};
|
|
20398
|
+
404: {
|
|
20399
|
+
headers: {
|
|
20400
|
+
[name: string]: unknown;
|
|
20401
|
+
};
|
|
20402
|
+
content: {
|
|
20403
|
+
"application/json": {
|
|
20404
|
+
errors: {
|
|
20405
|
+
detail: "Not Found";
|
|
20406
|
+
status: "404";
|
|
20407
|
+
}[];
|
|
20408
|
+
};
|
|
20409
|
+
};
|
|
20410
|
+
};
|
|
20411
|
+
422: {
|
|
20412
|
+
headers: {
|
|
20413
|
+
[name: string]: unknown;
|
|
20414
|
+
};
|
|
20415
|
+
content: {
|
|
20416
|
+
"application/json": {
|
|
20417
|
+
errors: {
|
|
20418
|
+
code?: string | null;
|
|
20419
|
+
detail: string;
|
|
20420
|
+
source: {
|
|
20421
|
+
pointer: string;
|
|
20422
|
+
};
|
|
20423
|
+
title: string;
|
|
20424
|
+
}[];
|
|
20425
|
+
};
|
|
20426
|
+
};
|
|
20427
|
+
};
|
|
20428
|
+
};
|
|
20429
|
+
}>>;
|
|
20430
|
+
|
|
20431
|
+
interface Options$O extends MutationOptionsFor<"patch", "/v1/services/{service_id}"> {
|
|
19675
20432
|
client?: QueryClient;
|
|
19676
20433
|
}
|
|
19677
|
-
declare const useUpdateService: (options?: Options$
|
|
20434
|
+
declare const useUpdateService: (options?: Options$O) => _tanstack_react_query.UseMutationResult<{
|
|
19678
20435
|
data: {
|
|
19679
20436
|
appointment_type: "in_person" | "virtual";
|
|
19680
20437
|
booking_policy: {
|
|
@@ -20116,10 +20873,10 @@ declare const useSavvyCalQueryClient: (overrideClient?: QueryClient) => openapi_
|
|
|
20116
20873
|
declare const useSavvyCalFetchClient: (overrideClient?: FetchClient) => openapi_fetch.Client<_savvycal_appointments_core.paths, `${string}/${string}`>;
|
|
20117
20874
|
|
|
20118
20875
|
type AccountByIdParams = paths["/v1/accounts/{account_id}"]["get"]["parameters"];
|
|
20119
|
-
interface Options$
|
|
20876
|
+
interface Options$N extends QueryOptionsFor<"get", "/v1/accounts/{account_id}"> {
|
|
20120
20877
|
client?: QueryClient;
|
|
20121
20878
|
}
|
|
20122
|
-
declare const useAccountById: (account_id: AccountByIdParams["path"]["account_id"], options?: Options$
|
|
20879
|
+
declare const useAccountById: (account_id: AccountByIdParams["path"]["account_id"], options?: Options$N) => _tanstack_react_query.UseQueryResult<{
|
|
20123
20880
|
data?: {
|
|
20124
20881
|
created_at: string;
|
|
20125
20882
|
id: string;
|
|
@@ -20173,10 +20930,10 @@ declare const useAccountById: (account_id: AccountByIdParams["path"]["account_id
|
|
|
20173
20930
|
};
|
|
20174
20931
|
}, `${string}/${string}`>>;
|
|
20175
20932
|
|
|
20176
|
-
interface Options$
|
|
20933
|
+
interface Options$M extends QueryOptionsFor<"get", "/v1/users"> {
|
|
20177
20934
|
client?: QueryClient;
|
|
20178
20935
|
}
|
|
20179
|
-
declare const useAccountUsers: (options?: Options$
|
|
20936
|
+
declare const useAccountUsers: (options?: Options$M) => _tanstack_react_query.UseQueryResult<{
|
|
20180
20937
|
data?: {
|
|
20181
20938
|
object: "account_user";
|
|
20182
20939
|
passive: boolean;
|
|
@@ -20263,10 +21020,10 @@ declare const useAccountUsers: (options?: Options$J) => _tanstack_react_query.Us
|
|
|
20263
21020
|
}, `${string}/${string}`>>;
|
|
20264
21021
|
|
|
20265
21022
|
type AccountsParams = paths["/v1/accounts"]["get"]["parameters"];
|
|
20266
|
-
interface Options$
|
|
21023
|
+
interface Options$L extends QueryOptionsFor<"get", "/v1/accounts"> {
|
|
20267
21024
|
client?: QueryClient;
|
|
20268
21025
|
}
|
|
20269
|
-
declare const useAccounts: (queryParams?: AccountsParams["query"], options?: Options$
|
|
21026
|
+
declare const useAccounts: (queryParams?: AccountsParams["query"], options?: Options$L) => _tanstack_react_query.UseQueryResult<{
|
|
20270
21027
|
data: {
|
|
20271
21028
|
created_at: string;
|
|
20272
21029
|
id: string;
|
|
@@ -20352,10 +21109,10 @@ declare const useAccounts: (queryParams?: AccountsParams["query"], options?: Opt
|
|
|
20352
21109
|
}, `${string}/${string}`>>;
|
|
20353
21110
|
|
|
20354
21111
|
type AppointmentParams = paths["/v1/appointments/{appointment_id}"]["get"]["parameters"];
|
|
20355
|
-
interface Options$
|
|
21112
|
+
interface Options$K extends QueryOptionsFor<"get", "/v1/appointments/{appointment_id}"> {
|
|
20356
21113
|
client?: QueryClient;
|
|
20357
21114
|
}
|
|
20358
|
-
declare const useAppointment: (appointment_id: AppointmentParams["path"]["appointment_id"], queryParams?: AppointmentParams["query"], options?: Options$
|
|
21115
|
+
declare const useAppointment: (appointment_id: AppointmentParams["path"]["appointment_id"], queryParams?: AppointmentParams["query"], options?: Options$K) => _tanstack_react_query.UseQueryResult<{
|
|
20359
21116
|
data: {
|
|
20360
21117
|
add_to_calendar_url: string;
|
|
20361
21118
|
appointment_type: "in_person" | "virtual";
|
|
@@ -20948,10 +21705,10 @@ declare const useAppointment: (appointment_id: AppointmentParams["path"]["appoin
|
|
|
20948
21705
|
}, `${string}/${string}`>>;
|
|
20949
21706
|
|
|
20950
21707
|
type AppointmentsParams = paths["/v1/appointments"]["get"]["parameters"];
|
|
20951
|
-
interface Options$
|
|
21708
|
+
interface Options$J extends QueryOptionsFor<"get", "/v1/appointments"> {
|
|
20952
21709
|
client?: QueryClient;
|
|
20953
21710
|
}
|
|
20954
|
-
declare const useAppointments: (queryParams?: AppointmentsParams["query"], options?: Options$
|
|
21711
|
+
declare const useAppointments: (queryParams?: AppointmentsParams["query"], options?: Options$J) => _tanstack_react_query.UseQueryResult<{
|
|
20955
21712
|
data: {
|
|
20956
21713
|
add_to_calendar_url: string;
|
|
20957
21714
|
appointment_type: "in_person" | "virtual";
|
|
@@ -21570,10 +22327,10 @@ declare const useAppointments: (queryParams?: AppointmentsParams["query"], optio
|
|
|
21570
22327
|
}, `${string}/${string}`>>;
|
|
21571
22328
|
|
|
21572
22329
|
type BlockParams = paths["/v1/blocks/{block_id}"]["get"]["parameters"];
|
|
21573
|
-
interface Options$
|
|
22330
|
+
interface Options$I extends QueryOptionsFor<"get", "/v1/blocks/{block_id}"> {
|
|
21574
22331
|
client?: QueryClient;
|
|
21575
22332
|
}
|
|
21576
|
-
declare const useBlock: (block_id: BlockParams["path"]["block_id"], options?: Options$
|
|
22333
|
+
declare const useBlock: (block_id: BlockParams["path"]["block_id"], options?: Options$I) => _tanstack_react_query.UseQueryResult<{
|
|
21577
22334
|
data: {
|
|
21578
22335
|
all_day: boolean;
|
|
21579
22336
|
attachment_type: "location" | "service" | "provider" | "service_provider";
|
|
@@ -21660,10 +22417,10 @@ declare const useBlock: (block_id: BlockParams["path"]["block_id"], options?: Op
|
|
|
21660
22417
|
}, `${string}/${string}`>>;
|
|
21661
22418
|
|
|
21662
22419
|
type BlocksParams = paths["/v1/blocks"]["get"]["parameters"];
|
|
21663
|
-
interface Options$
|
|
22420
|
+
interface Options$H extends QueryOptionsFor<"get", "/v1/blocks"> {
|
|
21664
22421
|
client?: QueryClient;
|
|
21665
22422
|
}
|
|
21666
|
-
declare const useBlocks: (queryParams?: BlocksParams["query"], options?: Options$
|
|
22423
|
+
declare const useBlocks: (queryParams?: BlocksParams["query"], options?: Options$H) => _tanstack_react_query.UseQueryResult<{
|
|
21667
22424
|
data: {
|
|
21668
22425
|
all_day: boolean;
|
|
21669
22426
|
attachment_type: "location" | "service" | "provider" | "service_provider";
|
|
@@ -21766,10 +22523,10 @@ declare const useBlocks: (queryParams?: BlocksParams["query"], options?: Options
|
|
|
21766
22523
|
}, `${string}/${string}`>>;
|
|
21767
22524
|
|
|
21768
22525
|
type BookingIntentParams = paths["/v1/booking_intents/{booking_intent_id}"]["get"]["parameters"];
|
|
21769
|
-
interface Options$
|
|
22526
|
+
interface Options$G extends QueryOptionsFor<"get", "/v1/booking_intents/{booking_intent_id}"> {
|
|
21770
22527
|
client?: QueryClient;
|
|
21771
22528
|
}
|
|
21772
|
-
declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"]["booking_intent_id"], queryParams?: BookingIntentParams["query"], options?: Options$
|
|
22529
|
+
declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"]["booking_intent_id"], queryParams?: BookingIntentParams["query"], options?: Options$G) => _tanstack_react_query.UseQueryResult<{
|
|
21773
22530
|
data: {
|
|
21774
22531
|
abandoned_at?: string | null;
|
|
21775
22532
|
appointment?: {
|
|
@@ -22766,10 +23523,10 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
22766
23523
|
}, `${string}/${string}`>>;
|
|
22767
23524
|
|
|
22768
23525
|
type BookingIntentSlotsParams = paths["/v1/booking_intents/{booking_intent_id}/slots"]["get"]["parameters"];
|
|
22769
|
-
interface Options$
|
|
23526
|
+
interface Options$F extends QueryOptionsFor<"get", "/v1/booking_intents/{booking_intent_id}/slots"> {
|
|
22770
23527
|
client?: QueryClient;
|
|
22771
23528
|
}
|
|
22772
|
-
declare const useBookingIntentSlots: (booking_intent_id: BookingIntentSlotsParams["path"]["booking_intent_id"], queryParams?: BookingIntentSlotsParams["query"], options?: Options$
|
|
23529
|
+
declare const useBookingIntentSlots: (booking_intent_id: BookingIntentSlotsParams["path"]["booking_intent_id"], queryParams?: BookingIntentSlotsParams["query"], options?: Options$F) => _tanstack_react_query.UseQueryResult<{
|
|
22773
23530
|
data: {
|
|
22774
23531
|
end_at: string;
|
|
22775
23532
|
end_at_ts: number;
|
|
@@ -22843,10 +23600,10 @@ declare const useBookingIntentSlots: (booking_intent_id: BookingIntentSlotsParam
|
|
|
22843
23600
|
}, `${string}/${string}`>>;
|
|
22844
23601
|
|
|
22845
23602
|
type BookingIntentsParams = paths["/v1/booking_intents"]["get"]["parameters"];
|
|
22846
|
-
interface Options$
|
|
23603
|
+
interface Options$E extends QueryOptionsFor<"get", "/v1/booking_intents"> {
|
|
22847
23604
|
client?: QueryClient;
|
|
22848
23605
|
}
|
|
22849
|
-
declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], options?: Options$
|
|
23606
|
+
declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], options?: Options$E) => _tanstack_react_query.UseQueryResult<{
|
|
22850
23607
|
data: {
|
|
22851
23608
|
abandoned_at?: string | null;
|
|
22852
23609
|
appointment?: {
|
|
@@ -23859,10 +24616,10 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
23859
24616
|
}, `${string}/${string}`>>;
|
|
23860
24617
|
|
|
23861
24618
|
type BookingLinkParams = paths["/v1/booking_links/{booking_link_id}"]["get"]["parameters"];
|
|
23862
|
-
interface Options$
|
|
24619
|
+
interface Options$D extends QueryOptionsFor<"get", "/v1/booking_links/{booking_link_id}"> {
|
|
23863
24620
|
client?: QueryClient;
|
|
23864
24621
|
}
|
|
23865
|
-
declare const useBookingLink: (booking_link_id: BookingLinkParams["path"]["booking_link_id"], options?: Options$
|
|
24622
|
+
declare const useBookingLink: (booking_link_id: BookingLinkParams["path"]["booking_link_id"], options?: Options$D) => _tanstack_react_query.UseQueryResult<{
|
|
23866
24623
|
data: {
|
|
23867
24624
|
client?: {
|
|
23868
24625
|
created_at: string;
|
|
@@ -24005,10 +24762,10 @@ declare const useBookingLink: (booking_link_id: BookingLinkParams["path"]["booki
|
|
|
24005
24762
|
}, `${string}/${string}`>>;
|
|
24006
24763
|
|
|
24007
24764
|
type BookingLinksParams = paths["/v1/booking_links"]["get"]["parameters"];
|
|
24008
|
-
interface Options$
|
|
24765
|
+
interface Options$C extends QueryOptionsFor<"get", "/v1/booking_links"> {
|
|
24009
24766
|
client?: QueryClient;
|
|
24010
24767
|
}
|
|
24011
|
-
declare const useBookingLinks: (queryParams?: BookingLinksParams["query"], options?: Options$
|
|
24768
|
+
declare const useBookingLinks: (queryParams?: BookingLinksParams["query"], options?: Options$C) => _tanstack_react_query.UseQueryResult<{
|
|
24012
24769
|
data: {
|
|
24013
24770
|
client?: {
|
|
24014
24771
|
created_at: string;
|
|
@@ -24167,11 +24924,16 @@ declare const useBookingLinks: (queryParams?: BookingLinksParams["query"], optio
|
|
|
24167
24924
|
}, `${string}/${string}`>>;
|
|
24168
24925
|
|
|
24169
24926
|
type CancellationReasonParams = paths["/v1/cancellation_reasons/{cancellation_reason_id}"]["get"]["parameters"];
|
|
24170
|
-
interface Options$
|
|
24927
|
+
interface Options$B extends QueryOptionsFor<"get", "/v1/cancellation_reasons/{cancellation_reason_id}"> {
|
|
24171
24928
|
client?: QueryClient;
|
|
24172
24929
|
}
|
|
24173
|
-
declare const useCancellationReason: (cancellation_reason_id: CancellationReasonParams["path"]["cancellation_reason_id"], options?: Options$
|
|
24174
|
-
data:
|
|
24930
|
+
declare const useCancellationReason: (cancellation_reason_id: CancellationReasonParams["path"]["cancellation_reason_id"], options?: Options$B) => _tanstack_react_query.UseQueryResult<{
|
|
24931
|
+
data: {
|
|
24932
|
+
id: string;
|
|
24933
|
+
name: string;
|
|
24934
|
+
object: "cancellation_reason";
|
|
24935
|
+
sort_order: number;
|
|
24936
|
+
};
|
|
24175
24937
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
24176
24938
|
200: {
|
|
24177
24939
|
headers: {
|
|
@@ -24179,7 +24941,12 @@ declare const useCancellationReason: (cancellation_reason_id: CancellationReason
|
|
|
24179
24941
|
};
|
|
24180
24942
|
content: {
|
|
24181
24943
|
"application/json": {
|
|
24182
|
-
data:
|
|
24944
|
+
data: {
|
|
24945
|
+
id: string;
|
|
24946
|
+
name: string;
|
|
24947
|
+
object: "cancellation_reason";
|
|
24948
|
+
sort_order: number;
|
|
24949
|
+
};
|
|
24183
24950
|
};
|
|
24184
24951
|
};
|
|
24185
24952
|
};
|
|
@@ -24212,10 +24979,10 @@ declare const useCancellationReason: (cancellation_reason_id: CancellationReason
|
|
|
24212
24979
|
};
|
|
24213
24980
|
}, `${string}/${string}`>>;
|
|
24214
24981
|
|
|
24215
|
-
interface Options$
|
|
24982
|
+
interface Options$A extends QueryOptionsFor<"get", "/v1/cancellation_reasons"> {
|
|
24216
24983
|
client?: QueryClient;
|
|
24217
24984
|
}
|
|
24218
|
-
declare const useCancellationReasons: (options?: Options$
|
|
24985
|
+
declare const useCancellationReasons: (options?: Options$A) => _tanstack_react_query.UseQueryResult<{
|
|
24219
24986
|
data: {
|
|
24220
24987
|
id: string;
|
|
24221
24988
|
name: string;
|
|
@@ -24272,10 +25039,10 @@ declare const useCancellationReasons: (options?: Options$x) => _tanstack_react_q
|
|
|
24272
25039
|
}, `${string}/${string}`>>;
|
|
24273
25040
|
|
|
24274
25041
|
type ClientParams = paths["/v1/clients/{client_id}"]["get"]["parameters"];
|
|
24275
|
-
interface Options$
|
|
25042
|
+
interface Options$z extends QueryOptionsFor<"get", "/v1/clients/{client_id}"> {
|
|
24276
25043
|
client?: QueryClient;
|
|
24277
25044
|
}
|
|
24278
|
-
declare const useClient: (client_id: ClientParams["path"]["client_id"], queryParams?: ClientParams["query"], options?: Options$
|
|
25045
|
+
declare const useClient: (client_id: ClientParams["path"]["client_id"], queryParams?: ClientParams["query"], options?: Options$z) => _tanstack_react_query.UseQueryResult<{
|
|
24279
25046
|
data: {
|
|
24280
25047
|
created_at: string;
|
|
24281
25048
|
email?: string | null;
|
|
@@ -24354,11 +25121,29 @@ declare const useClient: (client_id: ClientParams["path"]["client_id"], queryPar
|
|
|
24354
25121
|
}, `${string}/${string}`>>;
|
|
24355
25122
|
|
|
24356
25123
|
type ClientFieldParams = paths["/v1/client_fields/{client_field_id}"]["get"]["parameters"];
|
|
24357
|
-
interface Options$
|
|
25124
|
+
interface Options$y extends QueryOptionsFor<"get", "/v1/client_fields/{client_field_id}"> {
|
|
24358
25125
|
client?: QueryClient;
|
|
24359
25126
|
}
|
|
24360
|
-
declare const useClientField: (client_field_id: ClientFieldParams["path"]["client_field_id"], options?: Options$
|
|
24361
|
-
data:
|
|
25127
|
+
declare const useClientField: (client_field_id: ClientFieldParams["path"]["client_field_id"], options?: Options$y) => _tanstack_react_query.UseQueryResult<{
|
|
25128
|
+
data: {
|
|
25129
|
+
created_at: string;
|
|
25130
|
+
description?: string | null;
|
|
25131
|
+
id: string;
|
|
25132
|
+
key: string;
|
|
25133
|
+
label: string;
|
|
25134
|
+
object: "client_field";
|
|
25135
|
+
options?: ({
|
|
25136
|
+
allow_other?: boolean;
|
|
25137
|
+
choices?: {
|
|
25138
|
+
id?: string;
|
|
25139
|
+
label: string;
|
|
25140
|
+
}[];
|
|
25141
|
+
} | (Record<string, never> | null)) | null;
|
|
25142
|
+
sensitive: boolean;
|
|
25143
|
+
sort_order: number;
|
|
25144
|
+
type: "short_text" | "long_text" | "email" | "phone" | "boolean" | "radio" | "select" | "checkbox";
|
|
25145
|
+
updated_at: string;
|
|
25146
|
+
};
|
|
24362
25147
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
24363
25148
|
200: {
|
|
24364
25149
|
headers: {
|
|
@@ -24366,7 +25151,25 @@ declare const useClientField: (client_field_id: ClientFieldParams["path"]["clien
|
|
|
24366
25151
|
};
|
|
24367
25152
|
content: {
|
|
24368
25153
|
"application/json": {
|
|
24369
|
-
data:
|
|
25154
|
+
data: {
|
|
25155
|
+
created_at: string;
|
|
25156
|
+
description?: string | null;
|
|
25157
|
+
id: string;
|
|
25158
|
+
key: string;
|
|
25159
|
+
label: string;
|
|
25160
|
+
object: "client_field";
|
|
25161
|
+
options?: ({
|
|
25162
|
+
allow_other?: boolean;
|
|
25163
|
+
choices?: {
|
|
25164
|
+
id?: string;
|
|
25165
|
+
label: string;
|
|
25166
|
+
}[];
|
|
25167
|
+
} | (Record<string, never> | null)) | null;
|
|
25168
|
+
sensitive: boolean;
|
|
25169
|
+
sort_order: number;
|
|
25170
|
+
type: "short_text" | "long_text" | "email" | "phone" | "boolean" | "radio" | "select" | "checkbox";
|
|
25171
|
+
updated_at: string;
|
|
25172
|
+
};
|
|
24370
25173
|
};
|
|
24371
25174
|
};
|
|
24372
25175
|
};
|
|
@@ -24399,10 +25202,10 @@ declare const useClientField: (client_field_id: ClientFieldParams["path"]["clien
|
|
|
24399
25202
|
};
|
|
24400
25203
|
}, `${string}/${string}`>>;
|
|
24401
25204
|
|
|
24402
|
-
interface Options$
|
|
25205
|
+
interface Options$x extends QueryOptionsFor<"get", "/v1/client_fields"> {
|
|
24403
25206
|
client?: QueryClient;
|
|
24404
25207
|
}
|
|
24405
|
-
declare const useClientFields: (options?: Options$
|
|
25208
|
+
declare const useClientFields: (options?: Options$x) => _tanstack_react_query.UseQueryResult<{
|
|
24406
25209
|
data: {
|
|
24407
25210
|
created_at: string;
|
|
24408
25211
|
description?: string | null;
|
|
@@ -24485,10 +25288,10 @@ declare const useClientFields: (options?: Options$u) => _tanstack_react_query.Us
|
|
|
24485
25288
|
}, `${string}/${string}`>>;
|
|
24486
25289
|
|
|
24487
25290
|
type ClientsParams = paths["/v1/clients"]["get"]["parameters"];
|
|
24488
|
-
interface Options$
|
|
25291
|
+
interface Options$w extends QueryOptionsFor<"get", "/v1/clients"> {
|
|
24489
25292
|
client?: QueryClient;
|
|
24490
25293
|
}
|
|
24491
|
-
declare const useClients: (queryParams?: ClientsParams["query"], options?: Options$
|
|
25294
|
+
declare const useClients: (queryParams?: ClientsParams["query"], options?: Options$w) => _tanstack_react_query.UseQueryResult<{
|
|
24492
25295
|
data: {
|
|
24493
25296
|
created_at: string;
|
|
24494
25297
|
email?: string | null;
|
|
@@ -24583,10 +25386,10 @@ declare const useClients: (queryParams?: ClientsParams["query"], options?: Optio
|
|
|
24583
25386
|
}, `${string}/${string}`>>;
|
|
24584
25387
|
|
|
24585
25388
|
type ConnectedAccountParams = paths["/v1/connected_accounts/{connected_account_id}"]["get"]["parameters"];
|
|
24586
|
-
interface Options$
|
|
25389
|
+
interface Options$v extends QueryOptionsFor<"get", "/v1/connected_accounts/{connected_account_id}"> {
|
|
24587
25390
|
client?: QueryClient;
|
|
24588
25391
|
}
|
|
24589
|
-
declare const useConnectedAccount: (connected_account_id: ConnectedAccountParams["path"]["connected_account_id"], options?: Options$
|
|
25392
|
+
declare const useConnectedAccount: (connected_account_id: ConnectedAccountParams["path"]["connected_account_id"], options?: Options$v) => _tanstack_react_query.UseQueryResult<{
|
|
24590
25393
|
data: {
|
|
24591
25394
|
connection_scope: "user" | "account";
|
|
24592
25395
|
created_at: string;
|
|
@@ -24655,10 +25458,10 @@ declare const useConnectedAccount: (connected_account_id: ConnectedAccountParams
|
|
|
24655
25458
|
}, `${string}/${string}`>>;
|
|
24656
25459
|
|
|
24657
25460
|
type ConnectedAccountExternalUsersParams = paths["/v1/connected_accounts/{connected_account_id}/external_users"]["get"]["parameters"];
|
|
24658
|
-
interface Options$
|
|
25461
|
+
interface Options$u extends QueryOptionsFor<"get", "/v1/connected_accounts/{connected_account_id}/external_users"> {
|
|
24659
25462
|
client?: QueryClient;
|
|
24660
25463
|
}
|
|
24661
|
-
declare const useConnectedAccountExternalUsers: (connected_account_id: ConnectedAccountExternalUsersParams["path"]["connected_account_id"], queryParams?: ConnectedAccountExternalUsersParams["query"], options?: Options$
|
|
25464
|
+
declare const useConnectedAccountExternalUsers: (connected_account_id: ConnectedAccountExternalUsersParams["path"]["connected_account_id"], queryParams?: ConnectedAccountExternalUsersParams["query"], options?: Options$u) => _tanstack_react_query.UseQueryResult<{
|
|
24662
25465
|
data: {
|
|
24663
25466
|
email: string | null;
|
|
24664
25467
|
first_name: string | null;
|
|
@@ -24744,10 +25547,10 @@ declare const useConnectedAccountExternalUsers: (connected_account_id: Connected
|
|
|
24744
25547
|
}, `${string}/${string}`>>;
|
|
24745
25548
|
|
|
24746
25549
|
type ConnectedAccountsParams = paths["/v1/connected_accounts"]["get"]["parameters"];
|
|
24747
|
-
interface Options$
|
|
25550
|
+
interface Options$t extends QueryOptionsFor<"get", "/v1/connected_accounts"> {
|
|
24748
25551
|
client?: QueryClient;
|
|
24749
25552
|
}
|
|
24750
|
-
declare const useConnectedAccounts: (queryParams?: ConnectedAccountsParams["query"], options?: Options$
|
|
25553
|
+
declare const useConnectedAccounts: (queryParams?: ConnectedAccountsParams["query"], options?: Options$t) => _tanstack_react_query.UseQueryResult<{
|
|
24751
25554
|
data: {
|
|
24752
25555
|
connection_scope: "user" | "account";
|
|
24753
25556
|
created_at: string;
|
|
@@ -24831,10 +25634,10 @@ declare const useConnectedAccounts: (queryParams?: ConnectedAccountsParams["quer
|
|
|
24831
25634
|
};
|
|
24832
25635
|
}, `${string}/${string}`>>;
|
|
24833
25636
|
|
|
24834
|
-
interface Options$
|
|
25637
|
+
interface Options$s extends QueryOptionsFor<"get", "/v1/account"> {
|
|
24835
25638
|
client?: QueryClient;
|
|
24836
25639
|
}
|
|
24837
|
-
declare const useCurrentAccount: (options?: Options$
|
|
25640
|
+
declare const useCurrentAccount: (options?: Options$s) => _tanstack_react_query.UseQueryResult<{
|
|
24838
25641
|
data?: {
|
|
24839
25642
|
created_at: string;
|
|
24840
25643
|
id: string;
|
|
@@ -24890,10 +25693,10 @@ declare const useCurrentAccount: (options?: Options$p) => _tanstack_react_query.
|
|
|
24890
25693
|
};
|
|
24891
25694
|
}, `${string}/${string}`>>;
|
|
24892
25695
|
|
|
24893
|
-
interface Options$
|
|
25696
|
+
interface Options$r extends QueryOptionsFor<"get", "/v1/user"> {
|
|
24894
25697
|
client?: QueryClient;
|
|
24895
25698
|
}
|
|
24896
|
-
declare const useCurrentAccountUser: (options?: Options$
|
|
25699
|
+
declare const useCurrentAccountUser: (options?: Options$r) => _tanstack_react_query.UseQueryResult<{
|
|
24897
25700
|
object: "account_user";
|
|
24898
25701
|
passive: boolean;
|
|
24899
25702
|
roles: {
|
|
@@ -24973,10 +25776,10 @@ declare const useCurrentAccountUser: (options?: Options$o) => _tanstack_react_qu
|
|
|
24973
25776
|
};
|
|
24974
25777
|
}, `${string}/${string}`>>;
|
|
24975
25778
|
|
|
24976
|
-
interface Options$
|
|
25779
|
+
interface Options$q extends QueryOptionsFor<"get", "/v1/platform"> {
|
|
24977
25780
|
client?: QueryClient;
|
|
24978
25781
|
}
|
|
24979
|
-
declare const useCurrentPlatform: (options?: Options$
|
|
25782
|
+
declare const useCurrentPlatform: (options?: Options$q) => _tanstack_react_query.UseQueryResult<{
|
|
24980
25783
|
data?: {
|
|
24981
25784
|
created_at: string;
|
|
24982
25785
|
id: string;
|
|
@@ -25033,10 +25836,10 @@ declare const useCurrentPlatform: (options?: Options$n) => _tanstack_react_query
|
|
|
25033
25836
|
}, `${string}/${string}`>>;
|
|
25034
25837
|
|
|
25035
25838
|
type EarliestPublicServiceSlotParams = paths["/v1/public/services/{service_id}/earliest_slot"]["get"]["parameters"];
|
|
25036
|
-
interface Options$
|
|
25839
|
+
interface Options$p extends QueryOptionsFor<"get", "/v1/public/services/{service_id}/earliest_slot"> {
|
|
25037
25840
|
client?: QueryClient;
|
|
25038
25841
|
}
|
|
25039
|
-
declare const useEarliestPublicServiceSlot: (service_id: EarliestPublicServiceSlotParams["path"]["service_id"], queryParams?: EarliestPublicServiceSlotParams["query"], options?: Options$
|
|
25842
|
+
declare const useEarliestPublicServiceSlot: (service_id: EarliestPublicServiceSlotParams["path"]["service_id"], queryParams?: EarliestPublicServiceSlotParams["query"], options?: Options$p) => _tanstack_react_query.UseQueryResult<{
|
|
25040
25843
|
data: {
|
|
25041
25844
|
end_at: string;
|
|
25042
25845
|
end_at_ts: number;
|
|
@@ -25110,10 +25913,10 @@ declare const useEarliestPublicServiceSlot: (service_id: EarliestPublicServiceSl
|
|
|
25110
25913
|
}, `${string}/${string}`>>;
|
|
25111
25914
|
|
|
25112
25915
|
type FormParams = paths["/v1/forms/{form_id}"]["get"]["parameters"];
|
|
25113
|
-
interface Options$
|
|
25916
|
+
interface Options$o extends QueryOptionsFor<"get", "/v1/forms/{form_id}"> {
|
|
25114
25917
|
client?: QueryClient;
|
|
25115
25918
|
}
|
|
25116
|
-
declare const useForm: (form_id: FormParams["path"]["form_id"], options?: Options$
|
|
25919
|
+
declare const useForm: (form_id: FormParams["path"]["form_id"], options?: Options$o) => _tanstack_react_query.UseQueryResult<{
|
|
25117
25920
|
data: {
|
|
25118
25921
|
created_at: string;
|
|
25119
25922
|
field_count: number;
|
|
@@ -25129,7 +25932,7 @@ declare const useForm: (form_id: FormParams["path"]["form_id"], options?: Option
|
|
|
25129
25932
|
id: string;
|
|
25130
25933
|
label: string;
|
|
25131
25934
|
}[];
|
|
25132
|
-
} | (string | null)) | null;
|
|
25935
|
+
} | (Record<string, never> | null)) | null;
|
|
25133
25936
|
position: number;
|
|
25134
25937
|
required?: boolean;
|
|
25135
25938
|
sensitive?: boolean;
|
|
@@ -25162,7 +25965,7 @@ declare const useForm: (form_id: FormParams["path"]["form_id"], options?: Option
|
|
|
25162
25965
|
id: string;
|
|
25163
25966
|
label: string;
|
|
25164
25967
|
}[];
|
|
25165
|
-
} | (string | null)) | null;
|
|
25968
|
+
} | (Record<string, never> | null)) | null;
|
|
25166
25969
|
position: number;
|
|
25167
25970
|
required?: boolean;
|
|
25168
25971
|
sensitive?: boolean;
|
|
@@ -25206,10 +26009,10 @@ declare const useForm: (form_id: FormParams["path"]["form_id"], options?: Option
|
|
|
25206
26009
|
}, `${string}/${string}`>>;
|
|
25207
26010
|
|
|
25208
26011
|
type FormsParams = paths["/v1/forms"]["get"]["parameters"];
|
|
25209
|
-
interface Options$
|
|
26012
|
+
interface Options$n extends QueryOptionsFor<"get", "/v1/forms"> {
|
|
25210
26013
|
client?: QueryClient;
|
|
25211
26014
|
}
|
|
25212
|
-
declare const useForms: (queryParams?: FormsParams["query"], options?: Options$
|
|
26015
|
+
declare const useForms: (queryParams?: FormsParams["query"], options?: Options$n) => _tanstack_react_query.UseQueryResult<{
|
|
25213
26016
|
data: {
|
|
25214
26017
|
created_at: string;
|
|
25215
26018
|
field_count: number;
|
|
@@ -25225,7 +26028,7 @@ declare const useForms: (queryParams?: FormsParams["query"], options?: Options$k
|
|
|
25225
26028
|
id: string;
|
|
25226
26029
|
label: string;
|
|
25227
26030
|
}[];
|
|
25228
|
-
} | (string | null)) | null;
|
|
26031
|
+
} | (Record<string, never> | null)) | null;
|
|
25229
26032
|
position: number;
|
|
25230
26033
|
required?: boolean;
|
|
25231
26034
|
sensitive?: boolean;
|
|
@@ -25264,7 +26067,7 @@ declare const useForms: (queryParams?: FormsParams["query"], options?: Options$k
|
|
|
25264
26067
|
id: string;
|
|
25265
26068
|
label: string;
|
|
25266
26069
|
}[];
|
|
25267
|
-
} | (string | null)) | null;
|
|
26070
|
+
} | (Record<string, never> | null)) | null;
|
|
25268
26071
|
position: number;
|
|
25269
26072
|
required?: boolean;
|
|
25270
26073
|
sensitive?: boolean;
|
|
@@ -25318,10 +26121,10 @@ declare const useForms: (queryParams?: FormsParams["query"], options?: Options$k
|
|
|
25318
26121
|
}, `${string}/${string}`>>;
|
|
25319
26122
|
|
|
25320
26123
|
type OpeningParams = paths["/v1/openings/{opening_id}"]["get"]["parameters"];
|
|
25321
|
-
interface Options$
|
|
26124
|
+
interface Options$m extends QueryOptionsFor<"get", "/v1/openings/{opening_id}"> {
|
|
25322
26125
|
client?: QueryClient;
|
|
25323
26126
|
}
|
|
25324
|
-
declare const useOpening: (opening_id: OpeningParams["path"]["opening_id"], options?: Options$
|
|
26127
|
+
declare const useOpening: (opening_id: OpeningParams["path"]["opening_id"], options?: Options$m) => _tanstack_react_query.UseQueryResult<{
|
|
25325
26128
|
data: {
|
|
25326
26129
|
created_at: string;
|
|
25327
26130
|
date: string;
|
|
@@ -25386,10 +26189,10 @@ declare const useOpening: (opening_id: OpeningParams["path"]["opening_id"], opti
|
|
|
25386
26189
|
}, `${string}/${string}`>>;
|
|
25387
26190
|
|
|
25388
26191
|
type OpeningsParams = paths["/v1/openings"]["get"]["parameters"];
|
|
25389
|
-
interface Options$
|
|
26192
|
+
interface Options$l extends QueryOptionsFor<"get", "/v1/openings"> {
|
|
25390
26193
|
client?: QueryClient;
|
|
25391
26194
|
}
|
|
25392
|
-
declare const useOpenings: (queryParams?: OpeningsParams["query"], options?: Options$
|
|
26195
|
+
declare const useOpenings: (queryParams?: OpeningsParams["query"], options?: Options$l) => _tanstack_react_query.UseQueryResult<{
|
|
25393
26196
|
data: {
|
|
25394
26197
|
created_at: string;
|
|
25395
26198
|
date: string;
|
|
@@ -25484,10 +26287,10 @@ declare const useOpenings: (queryParams?: OpeningsParams["query"], options?: Opt
|
|
|
25484
26287
|
}, `${string}/${string}`>>;
|
|
25485
26288
|
|
|
25486
26289
|
type ProviderParams = paths["/v1/providers/{provider_id}"]["get"]["parameters"];
|
|
25487
|
-
interface Options$
|
|
26290
|
+
interface Options$k extends QueryOptionsFor<"get", "/v1/providers/{provider_id}"> {
|
|
25488
26291
|
client?: QueryClient;
|
|
25489
26292
|
}
|
|
25490
|
-
declare const useProvider: (provider_id: ProviderParams["path"]["provider_id"], options?: Options$
|
|
26293
|
+
declare const useProvider: (provider_id: ProviderParams["path"]["provider_id"], options?: Options$k) => _tanstack_react_query.UseQueryResult<{
|
|
25491
26294
|
data: {
|
|
25492
26295
|
created_at: string;
|
|
25493
26296
|
display_name: string;
|
|
@@ -25556,10 +26359,10 @@ declare const useProvider: (provider_id: ProviderParams["path"]["provider_id"],
|
|
|
25556
26359
|
}, `${string}/${string}`>>;
|
|
25557
26360
|
|
|
25558
26361
|
type ProviderScheduleParams = paths["/v1/provider_schedules/{provider_schedule_id}"]["get"]["parameters"];
|
|
25559
|
-
interface Options$
|
|
26362
|
+
interface Options$j extends QueryOptionsFor<"get", "/v1/provider_schedules/{provider_schedule_id}"> {
|
|
25560
26363
|
client?: QueryClient;
|
|
25561
26364
|
}
|
|
25562
|
-
declare const useProviderSchedule: (provider_schedule_id: ProviderScheduleParams["path"]["provider_schedule_id"], options?: Options$
|
|
26365
|
+
declare const useProviderSchedule: (provider_schedule_id: ProviderScheduleParams["path"]["provider_schedule_id"], options?: Options$j) => _tanstack_react_query.UseQueryResult<{
|
|
25563
26366
|
data: {
|
|
25564
26367
|
created_at: string;
|
|
25565
26368
|
effective_from: string;
|
|
@@ -25634,10 +26437,10 @@ declare const useProviderSchedule: (provider_schedule_id: ProviderScheduleParams
|
|
|
25634
26437
|
}, `${string}/${string}`>>;
|
|
25635
26438
|
|
|
25636
26439
|
type ProviderSchedulesParams = paths["/v1/provider_schedules"]["get"]["parameters"];
|
|
25637
|
-
interface Options$
|
|
26440
|
+
interface Options$i extends QueryOptionsFor<"get", "/v1/provider_schedules"> {
|
|
25638
26441
|
client?: QueryClient;
|
|
25639
26442
|
}
|
|
25640
|
-
declare const useProviderSchedules: (queryParams?: ProviderSchedulesParams["query"], options?: Options$
|
|
26443
|
+
declare const useProviderSchedules: (queryParams?: ProviderSchedulesParams["query"], options?: Options$i) => _tanstack_react_query.UseQueryResult<{
|
|
25641
26444
|
data: {
|
|
25642
26445
|
created_at: string;
|
|
25643
26446
|
effective_from: string;
|
|
@@ -25742,10 +26545,10 @@ declare const useProviderSchedules: (queryParams?: ProviderSchedulesParams["quer
|
|
|
25742
26545
|
}, `${string}/${string}`>>;
|
|
25743
26546
|
|
|
25744
26547
|
type ProvidersParams = paths["/v1/providers"]["get"]["parameters"];
|
|
25745
|
-
interface Options$
|
|
26548
|
+
interface Options$h extends QueryOptionsFor<"get", "/v1/providers"> {
|
|
25746
26549
|
client?: QueryClient;
|
|
25747
26550
|
}
|
|
25748
|
-
declare const useProviders: (queryParams?: ProvidersParams["query"], options?: Options$
|
|
26551
|
+
declare const useProviders: (queryParams?: ProvidersParams["query"], options?: Options$h) => _tanstack_react_query.UseQueryResult<{
|
|
25749
26552
|
data: {
|
|
25750
26553
|
created_at: string;
|
|
25751
26554
|
display_name: string;
|
|
@@ -25830,10 +26633,10 @@ declare const useProviders: (queryParams?: ProvidersParams["query"], options?: O
|
|
|
25830
26633
|
}, `${string}/${string}`>>;
|
|
25831
26634
|
|
|
25832
26635
|
type PublicAppointmentParams = paths["/v1/public/appointments/{appointment_id}"]["get"]["parameters"];
|
|
25833
|
-
interface Options$
|
|
26636
|
+
interface Options$g extends QueryOptionsFor<"get", "/v1/public/appointments/{appointment_id}"> {
|
|
25834
26637
|
client?: QueryClient;
|
|
25835
26638
|
}
|
|
25836
|
-
declare const usePublicAppointment: (appointment_id: PublicAppointmentParams["path"]["appointment_id"], options?: Options$
|
|
26639
|
+
declare const usePublicAppointment: (appointment_id: PublicAppointmentParams["path"]["appointment_id"], options?: Options$g) => _tanstack_react_query.UseQueryResult<{
|
|
25837
26640
|
data: {
|
|
25838
26641
|
add_to_calendar_url: string;
|
|
25839
26642
|
cancel_url: string;
|
|
@@ -25885,10 +26688,10 @@ declare const usePublicAppointment: (appointment_id: PublicAppointmentParams["pa
|
|
|
25885
26688
|
}>;
|
|
25886
26689
|
|
|
25887
26690
|
type PublicBookingIntentParams = paths["/v1/public/booking_intents/{booking_intent_id}"]["get"]["parameters"];
|
|
25888
|
-
interface Options$
|
|
26691
|
+
interface Options$f extends QueryOptionsFor<"get", "/v1/public/booking_intents/{booking_intent_id}"> {
|
|
25889
26692
|
client?: QueryClient;
|
|
25890
26693
|
}
|
|
25891
|
-
declare const usePublicBookingIntent: (booking_intent_id: PublicBookingIntentParams["path"]["booking_intent_id"], options?: Options$
|
|
26694
|
+
declare const usePublicBookingIntent: (booking_intent_id: PublicBookingIntentParams["path"]["booking_intent_id"], options?: Options$f) => _tanstack_react_query.UseQueryResult<{
|
|
25892
26695
|
data: {
|
|
25893
26696
|
appointment?: {
|
|
25894
26697
|
add_to_calendar_url: string;
|
|
@@ -25985,10 +26788,10 @@ declare const usePublicBookingIntent: (booking_intent_id: PublicBookingIntentPar
|
|
|
25985
26788
|
}>;
|
|
25986
26789
|
|
|
25987
26790
|
type PublicBookingIntentSlotsParams = paths["/v1/public/booking_intents/{booking_intent_id}/slots"]["get"]["parameters"];
|
|
25988
|
-
interface Options$
|
|
26791
|
+
interface Options$e extends QueryOptionsFor<"get", "/v1/public/booking_intents/{booking_intent_id}/slots"> {
|
|
25989
26792
|
client?: QueryClient;
|
|
25990
26793
|
}
|
|
25991
|
-
declare const usePublicBookingIntentSlots: (booking_intent_id: PublicBookingIntentSlotsParams["path"]["booking_intent_id"], queryParams?: PublicBookingIntentSlotsParams["query"], options?: Options$
|
|
26794
|
+
declare const usePublicBookingIntentSlots: (booking_intent_id: PublicBookingIntentSlotsParams["path"]["booking_intent_id"], queryParams?: PublicBookingIntentSlotsParams["query"], options?: Options$e) => _tanstack_react_query.UseQueryResult<{
|
|
25992
26795
|
data: {
|
|
25993
26796
|
end_at: string;
|
|
25994
26797
|
end_at_ts: number;
|
|
@@ -26048,10 +26851,10 @@ declare const usePublicBookingIntentSlots: (booking_intent_id: PublicBookingInte
|
|
|
26048
26851
|
}, `${string}/${string}`>>;
|
|
26049
26852
|
|
|
26050
26853
|
type PublicCancellationReasonsParams = paths["/v1/public/appointments/{appointment_id}/cancellation_reasons"]["get"]["parameters"];
|
|
26051
|
-
interface Options$
|
|
26854
|
+
interface Options$d extends QueryOptionsFor<"get", "/v1/public/appointments/{appointment_id}/cancellation_reasons"> {
|
|
26052
26855
|
client?: QueryClient;
|
|
26053
26856
|
}
|
|
26054
|
-
declare const usePublicCancellationReasons: (appointment_id: PublicCancellationReasonsParams["path"]["appointment_id"], options?: Options$
|
|
26857
|
+
declare const usePublicCancellationReasons: (appointment_id: PublicCancellationReasonsParams["path"]["appointment_id"], options?: Options$d) => _tanstack_react_query.UseQueryResult<{
|
|
26055
26858
|
data: {
|
|
26056
26859
|
id: string;
|
|
26057
26860
|
name: string;
|
|
@@ -26070,10 +26873,10 @@ declare const usePublicCancellationReasons: (appointment_id: PublicCancellationR
|
|
|
26070
26873
|
}>;
|
|
26071
26874
|
|
|
26072
26875
|
type PublicServiceSlotsParams = paths["/v1/public/services/{service_id}/slots"]["get"]["parameters"];
|
|
26073
|
-
interface Options$
|
|
26876
|
+
interface Options$c extends QueryOptionsFor<"get", "/v1/public/services/{service_id}/slots"> {
|
|
26074
26877
|
client?: QueryClient;
|
|
26075
26878
|
}
|
|
26076
|
-
declare const usePublicServiceSlots: (service_id: PublicServiceSlotsParams["path"]["service_id"], queryParams?: PublicServiceSlotsParams["query"], options?: Options$
|
|
26879
|
+
declare const usePublicServiceSlots: (service_id: PublicServiceSlotsParams["path"]["service_id"], queryParams?: PublicServiceSlotsParams["query"], options?: Options$c) => _tanstack_react_query.UseQueryResult<{
|
|
26077
26880
|
data: {
|
|
26078
26881
|
end_at: string;
|
|
26079
26882
|
end_at_ts: number;
|
|
@@ -26146,10 +26949,70 @@ declare const usePublicServiceSlots: (service_id: PublicServiceSlotsParams["path
|
|
|
26146
26949
|
};
|
|
26147
26950
|
}, `${string}/${string}`>>;
|
|
26148
26951
|
|
|
26149
|
-
|
|
26952
|
+
type RoleParams = paths["/v1/roles/{role_id}"]["get"]["parameters"];
|
|
26953
|
+
interface Options$b extends QueryOptionsFor<"get", "/v1/roles/{role_id}"> {
|
|
26954
|
+
client?: QueryClient;
|
|
26955
|
+
}
|
|
26956
|
+
declare const useRole: (role_id: RoleParams["path"]["role_id"], options?: Options$b) => _tanstack_react_query.UseQueryResult<{
|
|
26957
|
+
data: {
|
|
26958
|
+
denied_permissions: string[];
|
|
26959
|
+
id: string;
|
|
26960
|
+
name: string;
|
|
26961
|
+
object: "role";
|
|
26962
|
+
permissions: string[];
|
|
26963
|
+
type: "admin" | "staff" | "superuser" | "custom";
|
|
26964
|
+
};
|
|
26965
|
+
}, openapi_typescript_helpers.ErrorResponse<{
|
|
26966
|
+
200: {
|
|
26967
|
+
headers: {
|
|
26968
|
+
[name: string]: unknown;
|
|
26969
|
+
};
|
|
26970
|
+
content: {
|
|
26971
|
+
"application/json": {
|
|
26972
|
+
data: {
|
|
26973
|
+
denied_permissions: string[];
|
|
26974
|
+
id: string;
|
|
26975
|
+
name: string;
|
|
26976
|
+
object: "role";
|
|
26977
|
+
permissions: string[];
|
|
26978
|
+
type: "admin" | "staff" | "superuser" | "custom";
|
|
26979
|
+
};
|
|
26980
|
+
};
|
|
26981
|
+
};
|
|
26982
|
+
};
|
|
26983
|
+
401: {
|
|
26984
|
+
headers: {
|
|
26985
|
+
[name: string]: unknown;
|
|
26986
|
+
};
|
|
26987
|
+
content: {
|
|
26988
|
+
"application/json": {
|
|
26989
|
+
errors: {
|
|
26990
|
+
detail: string;
|
|
26991
|
+
status?: string;
|
|
26992
|
+
title?: string;
|
|
26993
|
+
}[];
|
|
26994
|
+
};
|
|
26995
|
+
};
|
|
26996
|
+
};
|
|
26997
|
+
404: {
|
|
26998
|
+
headers: {
|
|
26999
|
+
[name: string]: unknown;
|
|
27000
|
+
};
|
|
27001
|
+
content: {
|
|
27002
|
+
"application/json": {
|
|
27003
|
+
errors: {
|
|
27004
|
+
detail: "Not Found";
|
|
27005
|
+
status: "404";
|
|
27006
|
+
}[];
|
|
27007
|
+
};
|
|
27008
|
+
};
|
|
27009
|
+
};
|
|
27010
|
+
}, `${string}/${string}`>>;
|
|
27011
|
+
|
|
27012
|
+
interface Options$a extends QueryOptionsFor<"get", "/v1/roles"> {
|
|
26150
27013
|
client?: QueryClient;
|
|
26151
27014
|
}
|
|
26152
|
-
declare const useRoles: (options?: Options$
|
|
27015
|
+
declare const useRoles: (options?: Options$a) => _tanstack_react_query.UseQueryResult<{
|
|
26153
27016
|
data: {
|
|
26154
27017
|
denied_permissions: string[];
|
|
26155
27018
|
id: string;
|
|
@@ -26209,6 +27072,117 @@ declare const useRoles: (options?: Options$8) => _tanstack_react_query.UseQueryR
|
|
|
26209
27072
|
};
|
|
26210
27073
|
}, `${string}/${string}`>>;
|
|
26211
27074
|
|
|
27075
|
+
type ScheduleGroupParams = paths["/v1/schedule_groups/{schedule_group_id}"]["get"]["parameters"];
|
|
27076
|
+
interface Options$9 extends QueryOptionsFor<"get", "/v1/schedule_groups/{schedule_group_id}"> {
|
|
27077
|
+
client?: QueryClient;
|
|
27078
|
+
}
|
|
27079
|
+
declare const useScheduleGroup: (schedule_group_id: ScheduleGroupParams["path"]["schedule_group_id"], options?: Options$9) => _tanstack_react_query.UseQueryResult<{
|
|
27080
|
+
data: {
|
|
27081
|
+
id: string;
|
|
27082
|
+
name: string;
|
|
27083
|
+
object: "schedule_group";
|
|
27084
|
+
};
|
|
27085
|
+
}, openapi_typescript_helpers.ErrorResponse<{
|
|
27086
|
+
200: {
|
|
27087
|
+
headers: {
|
|
27088
|
+
[name: string]: unknown;
|
|
27089
|
+
};
|
|
27090
|
+
content: {
|
|
27091
|
+
"application/json": {
|
|
27092
|
+
data: {
|
|
27093
|
+
id: string;
|
|
27094
|
+
name: string;
|
|
27095
|
+
object: "schedule_group";
|
|
27096
|
+
};
|
|
27097
|
+
};
|
|
27098
|
+
};
|
|
27099
|
+
};
|
|
27100
|
+
401: {
|
|
27101
|
+
headers: {
|
|
27102
|
+
[name: string]: unknown;
|
|
27103
|
+
};
|
|
27104
|
+
content: {
|
|
27105
|
+
"application/json": {
|
|
27106
|
+
errors: {
|
|
27107
|
+
detail: string;
|
|
27108
|
+
status?: string;
|
|
27109
|
+
title?: string;
|
|
27110
|
+
}[];
|
|
27111
|
+
};
|
|
27112
|
+
};
|
|
27113
|
+
};
|
|
27114
|
+
404: {
|
|
27115
|
+
headers: {
|
|
27116
|
+
[name: string]: unknown;
|
|
27117
|
+
};
|
|
27118
|
+
content: {
|
|
27119
|
+
"application/json": {
|
|
27120
|
+
errors: {
|
|
27121
|
+
detail: "Not Found";
|
|
27122
|
+
status: "404";
|
|
27123
|
+
}[];
|
|
27124
|
+
};
|
|
27125
|
+
};
|
|
27126
|
+
};
|
|
27127
|
+
}, `${string}/${string}`>>;
|
|
27128
|
+
|
|
27129
|
+
interface Options$8 extends QueryOptionsFor<"get", "/v1/schedule_groups"> {
|
|
27130
|
+
client?: QueryClient;
|
|
27131
|
+
}
|
|
27132
|
+
declare const useScheduleGroups: (options?: Options$8) => _tanstack_react_query.UseQueryResult<{
|
|
27133
|
+
data: {
|
|
27134
|
+
id: string;
|
|
27135
|
+
name: string;
|
|
27136
|
+
object: "schedule_group";
|
|
27137
|
+
}[];
|
|
27138
|
+
}, openapi_typescript_helpers.ErrorResponse<{
|
|
27139
|
+
200: {
|
|
27140
|
+
headers: {
|
|
27141
|
+
[name: string]: unknown;
|
|
27142
|
+
};
|
|
27143
|
+
content: {
|
|
27144
|
+
"application/json": {
|
|
27145
|
+
data: {
|
|
27146
|
+
id: string;
|
|
27147
|
+
name: string;
|
|
27148
|
+
object: "schedule_group";
|
|
27149
|
+
}[];
|
|
27150
|
+
};
|
|
27151
|
+
};
|
|
27152
|
+
};
|
|
27153
|
+
401: {
|
|
27154
|
+
headers: {
|
|
27155
|
+
[name: string]: unknown;
|
|
27156
|
+
};
|
|
27157
|
+
content: {
|
|
27158
|
+
"application/json": {
|
|
27159
|
+
errors: {
|
|
27160
|
+
detail: string;
|
|
27161
|
+
status?: string;
|
|
27162
|
+
title?: string;
|
|
27163
|
+
}[];
|
|
27164
|
+
};
|
|
27165
|
+
};
|
|
27166
|
+
};
|
|
27167
|
+
422: {
|
|
27168
|
+
headers: {
|
|
27169
|
+
[name: string]: unknown;
|
|
27170
|
+
};
|
|
27171
|
+
content: {
|
|
27172
|
+
"application/json": {
|
|
27173
|
+
errors: {
|
|
27174
|
+
code?: string | null;
|
|
27175
|
+
detail: string;
|
|
27176
|
+
source: {
|
|
27177
|
+
pointer: string;
|
|
27178
|
+
};
|
|
27179
|
+
title: string;
|
|
27180
|
+
}[];
|
|
27181
|
+
};
|
|
27182
|
+
};
|
|
27183
|
+
};
|
|
27184
|
+
}, `${string}/${string}`>>;
|
|
27185
|
+
|
|
26212
27186
|
type ServiceParams = paths["/v1/services/{service_id}"]["get"]["parameters"];
|
|
26213
27187
|
interface Options$7 extends QueryOptionsFor<"get", "/v1/services/{service_id}"> {
|
|
26214
27188
|
client?: QueryClient;
|
|
@@ -27231,4 +28205,4 @@ declare const useUserMappings: (connected_account_id: UserMappingsParams["path"]
|
|
|
27231
28205
|
};
|
|
27232
28206
|
}, `${string}/${string}`>>;
|
|
27233
28207
|
|
|
27234
|
-
export { type MutationOptionsFor, type QueryClient, type QueryOptionsFor, SavvyCalProvider, type SavvyCalProviderProps, createQueryClient, useAbandonBookingIntent, useAbandonPublicBookingIntent, useAccountById, useAccountUsers, useAccounts, useAppointment, useAppointments, useAttachServiceForm, useBlock, useBlocks, useBookingIntent, useBookingIntentSlots, useBookingIntents, useBookingLink, useBookingLinks, useCancelAppointment, useCancelPublicAppointment, useCancellationReason, useCancellationReasons, useClearServiceConferencing, useClearServiceProviderConferencing, useClient, useClientField, useClientFields, useClients, useCompleteBookingIntent, useCompletePublicBookingIntent, useConfirmAppointment, useConnectedAccount, useConnectedAccountExternalUsers, useConnectedAccounts, useCreateAccount, useCreateAccountUser, useCreateAppointment, useCreateBlock, useCreateBookingIntent, useCreateBookingLink, useCreateCancellationReason, useCreateClient, useCreateClientField, useCreateDashboardSession, useCreateForm, useCreateOpening, useCreateProvider, useCreateProviderSchedule, useCreatePublicAppointment, useCreatePublicBookingIntent, useCreateService, useCreateServiceProvider, useCurrentAccount, useCurrentAccountUser, useCurrentPlatform, useDeactivateProvider, useDeleteBlock, useDeleteBookingLink, useDeleteCancellationReason, useDeleteClient, useDeleteClientField, useDeleteConnectedAccount, useDeleteForm, useDeleteOpening, useDeleteProviderSchedule, useDeleteService, useDeleteServiceProvider, useDeleteUserMapping, useDetachServiceForm, useEarliestPublicServiceSlot, useForm, useForms, useOpening, useOpenings, useProvider, useProviderSchedule, useProviderSchedules, useProviders, usePublicAppointment, usePublicBookingIntent, usePublicBookingIntentSlots, usePublicCancellationReasons, usePublicServiceSlots, useRescheduleAppointment, useReschedulePublicAppointment, useRoles, useSavvyCalFetchClient, useSavvyCalQueryClient, useService, useServiceForms, useServiceProviderConferencing, useServiceProviders, useServiceSlots, useServices, useSetServiceConferencing, useSetServiceProviderConferencing, useSetUserMapping, useSortServiceForms, useSyncConnectedAccountExternalUsers, useSyncServiceConferencing, useUpdateAccount, useUpdateAccountUser, useUpdateBlock, useUpdateBookingIntent, useUpdateBookingLink, useUpdateCancellationReason, useUpdateClient, useUpdateClientField, useUpdateConnectedAccount, useUpdateForm, useUpdateOpening, useUpdateProvider, useUpdateProviderSchedule, useUpdatePublicBookingIntent, useUpdateService, useUserMapping, useUserMappings };
|
|
28208
|
+
export { type MutationOptionsFor, type QueryClient, type QueryOptionsFor, SavvyCalProvider, type SavvyCalProviderProps, createQueryClient, useAbandonBookingIntent, useAbandonPublicBookingIntent, useAccountById, useAccountUsers, useAccounts, useAppointment, useAppointments, useAttachServiceForm, useBlock, useBlocks, useBookingIntent, useBookingIntentSlots, useBookingIntents, useBookingLink, useBookingLinks, useCancelAppointment, useCancelPublicAppointment, useCancellationReason, useCancellationReasons, useClearServiceConferencing, useClearServiceProviderConferencing, useClient, useClientField, useClientFields, useClients, useCompleteBookingIntent, useCompletePublicBookingIntent, useConfirmAppointment, useConnectedAccount, useConnectedAccountExternalUsers, useConnectedAccounts, useCreateAccount, useCreateAccountUser, useCreateAppointment, useCreateBlock, useCreateBookingIntent, useCreateBookingLink, useCreateCancellationReason, useCreateClient, useCreateClientField, useCreateDashboardSession, useCreateForm, useCreateOpening, useCreateProvider, useCreateProviderSchedule, useCreatePublicAppointment, useCreatePublicBookingIntent, useCreateScheduleGroup, useCreateService, useCreateServiceProvider, useCurrentAccount, useCurrentAccountUser, useCurrentPlatform, useDeactivateProvider, useDeleteBlock, useDeleteBookingLink, useDeleteCancellationReason, useDeleteClient, useDeleteClientField, useDeleteConnectedAccount, useDeleteForm, useDeleteOpening, useDeleteProviderSchedule, useDeleteScheduleGroup, useDeleteService, useDeleteServiceProvider, useDeleteUserMapping, useDetachServiceForm, useEarliestPublicServiceSlot, useForm, useForms, useOpening, useOpenings, useProvider, useProviderSchedule, useProviderSchedules, useProviders, usePublicAppointment, usePublicBookingIntent, usePublicBookingIntentSlots, usePublicCancellationReasons, usePublicServiceSlots, useRescheduleAppointment, useReschedulePublicAppointment, useRole, useRoles, useSavvyCalFetchClient, useSavvyCalQueryClient, useScheduleGroup, useScheduleGroups, useService, useServiceForms, useServiceProviderConferencing, useServiceProviders, useServiceSlots, useServices, useSetServiceConferencing, useSetServiceProviderConferencing, useSetUserMapping, useSortServiceForms, useSyncConnectedAccountExternalUsers, useSyncServiceConferencing, useUpdateAccount, useUpdateAccountUser, useUpdateBlock, useUpdateBookingIntent, useUpdateBookingLink, useUpdateCancellationReason, useUpdateClient, useUpdateClientField, useUpdateConnectedAccount, useUpdateForm, useUpdateOpening, useUpdateProvider, useUpdateProviderSchedule, useUpdatePublicBookingIntent, useUpdateRole, useUpdateScheduleGroup, useUpdateService, useUserMapping, useUserMappings };
|