@savvycal/appointments-react-query 2.0.0 → 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 +1244 -246
- package/dist/index.d.ts +1244 -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,16 +6471,18 @@ 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: {
|
|
6481
|
+
denied_permissions: string[];
|
|
6481
6482
|
id: string;
|
|
6482
6483
|
name: string;
|
|
6483
6484
|
object: "role";
|
|
6485
|
+
permissions: string[];
|
|
6484
6486
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
6485
6487
|
}[];
|
|
6486
6488
|
user: {
|
|
@@ -6502,9 +6504,11 @@ declare const useCreateAccountUser: (options?: Options$1A) => _tanstack_react_qu
|
|
|
6502
6504
|
object: "account_user";
|
|
6503
6505
|
passive: boolean;
|
|
6504
6506
|
roles: {
|
|
6507
|
+
denied_permissions: string[];
|
|
6505
6508
|
id: string;
|
|
6506
6509
|
name: string;
|
|
6507
6510
|
object: "role";
|
|
6511
|
+
permissions: string[];
|
|
6508
6512
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
6509
6513
|
}[];
|
|
6510
6514
|
user: {
|
|
@@ -6582,9 +6586,11 @@ declare const useCreateAccountUser: (options?: Options$1A) => _tanstack_react_qu
|
|
|
6582
6586
|
object: "account_user";
|
|
6583
6587
|
passive: boolean;
|
|
6584
6588
|
roles: {
|
|
6589
|
+
denied_permissions: string[];
|
|
6585
6590
|
id: string;
|
|
6586
6591
|
name: string;
|
|
6587
6592
|
object: "role";
|
|
6593
|
+
permissions: string[];
|
|
6588
6594
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
6589
6595
|
}[];
|
|
6590
6596
|
user: {
|
|
@@ -6633,10 +6639,10 @@ declare const useCreateAccountUser: (options?: Options$1A) => _tanstack_react_qu
|
|
|
6633
6639
|
};
|
|
6634
6640
|
}> | undefined>;
|
|
6635
6641
|
|
|
6636
|
-
interface Options$
|
|
6642
|
+
interface Options$1G extends MutationOptionsFor<"post", "/v1/appointments"> {
|
|
6637
6643
|
client?: QueryClient;
|
|
6638
6644
|
}
|
|
6639
|
-
declare const useCreateAppointment: (options?: Options$
|
|
6645
|
+
declare const useCreateAppointment: (options?: Options$1G) => _tanstack_react_query.UseMutationResult<{
|
|
6640
6646
|
data: {
|
|
6641
6647
|
add_to_calendar_url: string;
|
|
6642
6648
|
appointment_type: "in_person" | "virtual";
|
|
@@ -7576,10 +7582,10 @@ declare const useCreateAppointment: (options?: Options$1z) => _tanstack_react_qu
|
|
|
7576
7582
|
};
|
|
7577
7583
|
}> | undefined>;
|
|
7578
7584
|
|
|
7579
|
-
interface Options$
|
|
7585
|
+
interface Options$1F extends MutationOptionsFor<"post", "/v1/blocks"> {
|
|
7580
7586
|
client?: QueryClient;
|
|
7581
7587
|
}
|
|
7582
|
-
declare const useCreateBlock: (options?: Options$
|
|
7588
|
+
declare const useCreateBlock: (options?: Options$1F) => _tanstack_react_query.UseMutationResult<{
|
|
7583
7589
|
data: {
|
|
7584
7590
|
all_day: boolean;
|
|
7585
7591
|
attachment_type: "location" | "service" | "provider" | "service_provider";
|
|
@@ -7764,10 +7770,10 @@ declare const useCreateBlock: (options?: Options$1y) => _tanstack_react_query.Us
|
|
|
7764
7770
|
};
|
|
7765
7771
|
}> | undefined>;
|
|
7766
7772
|
|
|
7767
|
-
interface Options$
|
|
7773
|
+
interface Options$1E extends MutationOptionsFor<"post", "/v1/booking_intents"> {
|
|
7768
7774
|
client?: QueryClient;
|
|
7769
7775
|
}
|
|
7770
|
-
declare const useCreateBookingIntent: (options?: Options$
|
|
7776
|
+
declare const useCreateBookingIntent: (options?: Options$1E) => _tanstack_react_query.UseMutationResult<{
|
|
7771
7777
|
data: {
|
|
7772
7778
|
abandoned_at?: string | null;
|
|
7773
7779
|
appointment?: {
|
|
@@ -9365,10 +9371,10 @@ declare const useCreateBookingIntent: (options?: Options$1x) => _tanstack_react_
|
|
|
9365
9371
|
};
|
|
9366
9372
|
}> | undefined>;
|
|
9367
9373
|
|
|
9368
|
-
interface Options$
|
|
9374
|
+
interface Options$1D extends MutationOptionsFor<"post", "/v1/booking_links"> {
|
|
9369
9375
|
client?: QueryClient;
|
|
9370
9376
|
}
|
|
9371
|
-
declare const useCreateBookingLink: (options?: Options$
|
|
9377
|
+
declare const useCreateBookingLink: (options?: Options$1D) => _tanstack_react_query.UseMutationResult<{
|
|
9372
9378
|
data: {
|
|
9373
9379
|
client?: {
|
|
9374
9380
|
created_at: string;
|
|
@@ -9656,11 +9662,16 @@ declare const useCreateBookingLink: (options?: Options$1w) => _tanstack_react_qu
|
|
|
9656
9662
|
};
|
|
9657
9663
|
}> | undefined>;
|
|
9658
9664
|
|
|
9659
|
-
interface Options$
|
|
9665
|
+
interface Options$1C extends MutationOptionsFor<"post", "/v1/cancellation_reasons"> {
|
|
9660
9666
|
client?: QueryClient;
|
|
9661
9667
|
}
|
|
9662
|
-
declare const useCreateCancellationReason: (options?: Options$
|
|
9663
|
-
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
|
+
};
|
|
9664
9675
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
9665
9676
|
201: {
|
|
9666
9677
|
headers: {
|
|
@@ -9668,7 +9679,12 @@ declare const useCreateCancellationReason: (options?: Options$1v) => _tanstack_r
|
|
|
9668
9679
|
};
|
|
9669
9680
|
content: {
|
|
9670
9681
|
"application/json": {
|
|
9671
|
-
data:
|
|
9682
|
+
data: {
|
|
9683
|
+
id: string;
|
|
9684
|
+
name: string;
|
|
9685
|
+
object: "cancellation_reason";
|
|
9686
|
+
sort_order: number;
|
|
9687
|
+
};
|
|
9672
9688
|
};
|
|
9673
9689
|
};
|
|
9674
9690
|
};
|
|
@@ -9724,7 +9740,12 @@ declare const useCreateCancellationReason: (options?: Options$1v) => _tanstack_r
|
|
|
9724
9740
|
};
|
|
9725
9741
|
content: {
|
|
9726
9742
|
"application/json": {
|
|
9727
|
-
data:
|
|
9743
|
+
data: {
|
|
9744
|
+
id: string;
|
|
9745
|
+
name: string;
|
|
9746
|
+
object: "cancellation_reason";
|
|
9747
|
+
sort_order: number;
|
|
9748
|
+
};
|
|
9728
9749
|
};
|
|
9729
9750
|
};
|
|
9730
9751
|
};
|
|
@@ -9762,10 +9783,10 @@ declare const useCreateCancellationReason: (options?: Options$1v) => _tanstack_r
|
|
|
9762
9783
|
};
|
|
9763
9784
|
}> | undefined>;
|
|
9764
9785
|
|
|
9765
|
-
interface Options$
|
|
9786
|
+
interface Options$1B extends MutationOptionsFor<"post", "/v1/clients"> {
|
|
9766
9787
|
client?: QueryClient;
|
|
9767
9788
|
}
|
|
9768
|
-
declare const useCreateClient: (options?: Options$
|
|
9789
|
+
declare const useCreateClient: (options?: Options$1B) => _tanstack_react_query.UseMutationResult<{
|
|
9769
9790
|
data: {
|
|
9770
9791
|
created_at: string;
|
|
9771
9792
|
email?: string | null;
|
|
@@ -9934,11 +9955,29 @@ declare const useCreateClient: (options?: Options$1u) => _tanstack_react_query.U
|
|
|
9934
9955
|
};
|
|
9935
9956
|
}> | undefined>;
|
|
9936
9957
|
|
|
9937
|
-
interface Options$
|
|
9958
|
+
interface Options$1A extends MutationOptionsFor<"post", "/v1/client_fields"> {
|
|
9938
9959
|
client?: QueryClient;
|
|
9939
9960
|
}
|
|
9940
|
-
declare const useCreateClientField: (options?: Options$
|
|
9941
|
-
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
|
+
};
|
|
9942
9981
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
9943
9982
|
201: {
|
|
9944
9983
|
headers: {
|
|
@@ -9946,7 +9985,25 @@ declare const useCreateClientField: (options?: Options$1t) => _tanstack_react_qu
|
|
|
9946
9985
|
};
|
|
9947
9986
|
content: {
|
|
9948
9987
|
"application/json": {
|
|
9949
|
-
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
|
+
};
|
|
9950
10007
|
};
|
|
9951
10008
|
};
|
|
9952
10009
|
};
|
|
@@ -10013,7 +10070,25 @@ declare const useCreateClientField: (options?: Options$1t) => _tanstack_react_qu
|
|
|
10013
10070
|
};
|
|
10014
10071
|
content: {
|
|
10015
10072
|
"application/json": {
|
|
10016
|
-
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
|
+
};
|
|
10017
10092
|
};
|
|
10018
10093
|
};
|
|
10019
10094
|
};
|
|
@@ -10051,10 +10126,10 @@ declare const useCreateClientField: (options?: Options$1t) => _tanstack_react_qu
|
|
|
10051
10126
|
};
|
|
10052
10127
|
}> | undefined>;
|
|
10053
10128
|
|
|
10054
|
-
interface Options$
|
|
10129
|
+
interface Options$1z extends MutationOptionsFor<"post", "/v1/dashboard_sessions"> {
|
|
10055
10130
|
client?: QueryClient;
|
|
10056
10131
|
}
|
|
10057
|
-
declare const useCreateDashboardSession: (options?: Options$
|
|
10132
|
+
declare const useCreateDashboardSession: (options?: Options$1z) => _tanstack_react_query.UseMutationResult<{
|
|
10058
10133
|
data: {
|
|
10059
10134
|
created_at: string;
|
|
10060
10135
|
id: string;
|
|
@@ -10183,10 +10258,10 @@ declare const useCreateDashboardSession: (options?: Options$1s) => _tanstack_rea
|
|
|
10183
10258
|
};
|
|
10184
10259
|
}> | undefined>;
|
|
10185
10260
|
|
|
10186
|
-
interface Options$
|
|
10261
|
+
interface Options$1y extends MutationOptionsFor<"post", "/v1/forms"> {
|
|
10187
10262
|
client?: QueryClient;
|
|
10188
10263
|
}
|
|
10189
|
-
declare const useCreateForm: (options?: Options$
|
|
10264
|
+
declare const useCreateForm: (options?: Options$1y) => _tanstack_react_query.UseMutationResult<{
|
|
10190
10265
|
data: {
|
|
10191
10266
|
created_at: string;
|
|
10192
10267
|
field_count: number;
|
|
@@ -10202,7 +10277,7 @@ declare const useCreateForm: (options?: Options$1r) => _tanstack_react_query.Use
|
|
|
10202
10277
|
id: string;
|
|
10203
10278
|
label: string;
|
|
10204
10279
|
}[];
|
|
10205
|
-
} | (string | null)) | null;
|
|
10280
|
+
} | (Record<string, never> | null)) | null;
|
|
10206
10281
|
position: number;
|
|
10207
10282
|
required?: boolean;
|
|
10208
10283
|
sensitive?: boolean;
|
|
@@ -10235,7 +10310,7 @@ declare const useCreateForm: (options?: Options$1r) => _tanstack_react_query.Use
|
|
|
10235
10310
|
id: string;
|
|
10236
10311
|
label: string;
|
|
10237
10312
|
}[];
|
|
10238
|
-
} | (string | null)) | null;
|
|
10313
|
+
} | (Record<string, never> | null)) | null;
|
|
10239
10314
|
position: number;
|
|
10240
10315
|
required?: boolean;
|
|
10241
10316
|
sensitive?: boolean;
|
|
@@ -10296,13 +10371,13 @@ declare const useCreateForm: (options?: Options$1r) => _tanstack_react_query.Use
|
|
|
10296
10371
|
key: string;
|
|
10297
10372
|
label: string;
|
|
10298
10373
|
must_be_true?: boolean;
|
|
10299
|
-
options?:
|
|
10374
|
+
options?: {
|
|
10300
10375
|
allow_other: boolean;
|
|
10301
10376
|
choices: {
|
|
10302
10377
|
id?: string;
|
|
10303
10378
|
label: string;
|
|
10304
10379
|
}[];
|
|
10305
|
-
} |
|
|
10380
|
+
} | null;
|
|
10306
10381
|
position: number;
|
|
10307
10382
|
required?: boolean;
|
|
10308
10383
|
sensitive?: boolean;
|
|
@@ -10334,7 +10409,7 @@ declare const useCreateForm: (options?: Options$1r) => _tanstack_react_query.Use
|
|
|
10334
10409
|
id: string;
|
|
10335
10410
|
label: string;
|
|
10336
10411
|
}[];
|
|
10337
|
-
} | (string | null)) | null;
|
|
10412
|
+
} | (Record<string, never> | null)) | null;
|
|
10338
10413
|
position: number;
|
|
10339
10414
|
required?: boolean;
|
|
10340
10415
|
sensitive?: boolean;
|
|
@@ -10382,10 +10457,10 @@ declare const useCreateForm: (options?: Options$1r) => _tanstack_react_query.Use
|
|
|
10382
10457
|
};
|
|
10383
10458
|
}> | undefined>;
|
|
10384
10459
|
|
|
10385
|
-
interface Options$
|
|
10460
|
+
interface Options$1x extends MutationOptionsFor<"post", "/v1/providers/{provider_id}/openings"> {
|
|
10386
10461
|
client?: QueryClient;
|
|
10387
10462
|
}
|
|
10388
|
-
declare const useCreateOpening: (options?: Options$
|
|
10463
|
+
declare const useCreateOpening: (options?: Options$1x) => _tanstack_react_query.UseMutationResult<{
|
|
10389
10464
|
data: {
|
|
10390
10465
|
created_at: string;
|
|
10391
10466
|
date: string;
|
|
@@ -10553,10 +10628,10 @@ declare const useCreateOpening: (options?: Options$1q) => _tanstack_react_query.
|
|
|
10553
10628
|
};
|
|
10554
10629
|
}>>;
|
|
10555
10630
|
|
|
10556
|
-
interface Options$
|
|
10631
|
+
interface Options$1w extends MutationOptionsFor<"post", "/v1/providers"> {
|
|
10557
10632
|
client?: QueryClient;
|
|
10558
10633
|
}
|
|
10559
|
-
declare const useCreateProvider: (options?: Options$
|
|
10634
|
+
declare const useCreateProvider: (options?: Options$1w) => _tanstack_react_query.UseMutationResult<{
|
|
10560
10635
|
data: {
|
|
10561
10636
|
created_at: string;
|
|
10562
10637
|
display_name: string;
|
|
@@ -10721,10 +10796,10 @@ declare const useCreateProvider: (options?: Options$1p) => _tanstack_react_query
|
|
|
10721
10796
|
};
|
|
10722
10797
|
}> | undefined>;
|
|
10723
10798
|
|
|
10724
|
-
interface Options$
|
|
10799
|
+
interface Options$1v extends MutationOptionsFor<"post", "/v1/providers/{provider_id}/schedules"> {
|
|
10725
10800
|
client?: QueryClient;
|
|
10726
10801
|
}
|
|
10727
|
-
declare const useCreateProviderSchedule: (options?: Options$
|
|
10802
|
+
declare const useCreateProviderSchedule: (options?: Options$1v) => _tanstack_react_query.UseMutationResult<{
|
|
10728
10803
|
data: {
|
|
10729
10804
|
created_at: string;
|
|
10730
10805
|
effective_from: string;
|
|
@@ -10885,10 +10960,10 @@ declare const useCreateProviderSchedule: (options?: Options$1o) => _tanstack_rea
|
|
|
10885
10960
|
};
|
|
10886
10961
|
}> | undefined>;
|
|
10887
10962
|
|
|
10888
|
-
interface Options$
|
|
10963
|
+
interface Options$1u extends MutationOptionsFor<"post", "/v1/public/appointments"> {
|
|
10889
10964
|
client?: QueryClient;
|
|
10890
10965
|
}
|
|
10891
|
-
declare const useCreatePublicAppointment: (options?: Options$
|
|
10966
|
+
declare const useCreatePublicAppointment: (options?: Options$1u) => _tanstack_react_query.UseMutationResult<{
|
|
10892
10967
|
data: {
|
|
10893
10968
|
add_to_calendar_url: string;
|
|
10894
10969
|
cancel_url: string;
|
|
@@ -11037,10 +11112,10 @@ declare const useCreatePublicAppointment: (options?: Options$1n) => _tanstack_re
|
|
|
11037
11112
|
};
|
|
11038
11113
|
}> | undefined>;
|
|
11039
11114
|
|
|
11040
|
-
interface Options$
|
|
11115
|
+
interface Options$1t extends MutationOptionsFor<"post", "/v1/public/booking_intents"> {
|
|
11041
11116
|
client?: QueryClient;
|
|
11042
11117
|
}
|
|
11043
|
-
declare const useCreatePublicBookingIntent: (options?: Options$
|
|
11118
|
+
declare const useCreatePublicBookingIntent: (options?: Options$1t) => _tanstack_react_query.UseMutationResult<{
|
|
11044
11119
|
data: {
|
|
11045
11120
|
appointment?: {
|
|
11046
11121
|
add_to_calendar_url: string;
|
|
@@ -11426,10 +11501,156 @@ declare const useCreatePublicBookingIntent: (options?: Options$1m) => _tanstack_
|
|
|
11426
11501
|
};
|
|
11427
11502
|
}> | undefined>;
|
|
11428
11503
|
|
|
11429
|
-
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"> {
|
|
11430
11651
|
client?: QueryClient;
|
|
11431
11652
|
}
|
|
11432
|
-
declare const useCreateService: (options?: Options$
|
|
11653
|
+
declare const useCreateService: (options?: Options$1r) => _tanstack_react_query.UseMutationResult<{
|
|
11433
11654
|
data: {
|
|
11434
11655
|
appointment_type: "in_person" | "virtual";
|
|
11435
11656
|
booking_policy: {
|
|
@@ -11818,10 +12039,10 @@ declare const useCreateService: (options?: Options$1l) => _tanstack_react_query.
|
|
|
11818
12039
|
};
|
|
11819
12040
|
}> | undefined>;
|
|
11820
12041
|
|
|
11821
|
-
interface Options$
|
|
12042
|
+
interface Options$1q extends MutationOptionsFor<"post", "/v1/services/{service_id}/providers"> {
|
|
11822
12043
|
client?: QueryClient;
|
|
11823
12044
|
}
|
|
11824
|
-
declare const useCreateServiceProvider: (options?: Options$
|
|
12045
|
+
declare const useCreateServiceProvider: (options?: Options$1q) => _tanstack_react_query.UseMutationResult<{
|
|
11825
12046
|
data: {
|
|
11826
12047
|
created_at: string;
|
|
11827
12048
|
id: string;
|
|
@@ -12012,10 +12233,10 @@ declare const useCreateServiceProvider: (options?: Options$1k) => _tanstack_reac
|
|
|
12012
12233
|
};
|
|
12013
12234
|
}>>;
|
|
12014
12235
|
|
|
12015
|
-
interface Options$
|
|
12236
|
+
interface Options$1p extends MutationOptionsFor<"delete", "/v1/providers/{provider_id}"> {
|
|
12016
12237
|
client?: QueryClient;
|
|
12017
12238
|
}
|
|
12018
|
-
declare const useDeactivateProvider: (options?: Options$
|
|
12239
|
+
declare const useDeactivateProvider: (options?: Options$1p) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12019
12240
|
204: {
|
|
12020
12241
|
headers: {
|
|
12021
12242
|
[name: string]: unknown;
|
|
@@ -12100,10 +12321,10 @@ declare const useDeactivateProvider: (options?: Options$1j) => _tanstack_react_q
|
|
|
12100
12321
|
};
|
|
12101
12322
|
}>>;
|
|
12102
12323
|
|
|
12103
|
-
interface Options$
|
|
12324
|
+
interface Options$1o extends MutationOptionsFor<"delete", "/v1/blocks/{block_id}"> {
|
|
12104
12325
|
client?: QueryClient;
|
|
12105
12326
|
}
|
|
12106
|
-
declare const useDeleteBlock: (options?: Options$
|
|
12327
|
+
declare const useDeleteBlock: (options?: Options$1o) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12107
12328
|
204: {
|
|
12108
12329
|
headers: {
|
|
12109
12330
|
[name: string]: unknown;
|
|
@@ -12188,10 +12409,10 @@ declare const useDeleteBlock: (options?: Options$1i) => _tanstack_react_query.Us
|
|
|
12188
12409
|
};
|
|
12189
12410
|
}>>;
|
|
12190
12411
|
|
|
12191
|
-
interface Options$
|
|
12412
|
+
interface Options$1n extends MutationOptionsFor<"delete", "/v1/booking_links/{booking_link_id}"> {
|
|
12192
12413
|
client?: QueryClient;
|
|
12193
12414
|
}
|
|
12194
|
-
declare const useDeleteBookingLink: (options?: Options$
|
|
12415
|
+
declare const useDeleteBookingLink: (options?: Options$1n) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12195
12416
|
204: {
|
|
12196
12417
|
headers: {
|
|
12197
12418
|
[name: string]: unknown;
|
|
@@ -12276,10 +12497,10 @@ declare const useDeleteBookingLink: (options?: Options$1h) => _tanstack_react_qu
|
|
|
12276
12497
|
};
|
|
12277
12498
|
}>>;
|
|
12278
12499
|
|
|
12279
|
-
interface Options$
|
|
12500
|
+
interface Options$1m extends MutationOptionsFor<"delete", "/v1/cancellation_reasons/{cancellation_reason_id}"> {
|
|
12280
12501
|
client?: QueryClient;
|
|
12281
12502
|
}
|
|
12282
|
-
declare const useDeleteCancellationReason: (options?: Options$
|
|
12503
|
+
declare const useDeleteCancellationReason: (options?: Options$1m) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12283
12504
|
204: {
|
|
12284
12505
|
headers: {
|
|
12285
12506
|
[name: string]: unknown;
|
|
@@ -12364,10 +12585,10 @@ declare const useDeleteCancellationReason: (options?: Options$1g) => _tanstack_r
|
|
|
12364
12585
|
};
|
|
12365
12586
|
}>>;
|
|
12366
12587
|
|
|
12367
|
-
interface Options$
|
|
12588
|
+
interface Options$1l extends MutationOptionsFor<"delete", "/v1/clients/{client_id}"> {
|
|
12368
12589
|
client?: QueryClient;
|
|
12369
12590
|
}
|
|
12370
|
-
declare const useDeleteClient: (options?: Options$
|
|
12591
|
+
declare const useDeleteClient: (options?: Options$1l) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12371
12592
|
204: {
|
|
12372
12593
|
headers: {
|
|
12373
12594
|
[name: string]: unknown;
|
|
@@ -12452,10 +12673,10 @@ declare const useDeleteClient: (options?: Options$1f) => _tanstack_react_query.U
|
|
|
12452
12673
|
};
|
|
12453
12674
|
}>>;
|
|
12454
12675
|
|
|
12455
|
-
interface Options$
|
|
12676
|
+
interface Options$1k extends MutationOptionsFor<"delete", "/v1/client_fields/{client_field_id}"> {
|
|
12456
12677
|
client?: QueryClient;
|
|
12457
12678
|
}
|
|
12458
|
-
declare const useDeleteClientField: (options?: Options$
|
|
12679
|
+
declare const useDeleteClientField: (options?: Options$1k) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12459
12680
|
204: {
|
|
12460
12681
|
headers: {
|
|
12461
12682
|
[name: string]: unknown;
|
|
@@ -12540,10 +12761,10 @@ declare const useDeleteClientField: (options?: Options$1e) => _tanstack_react_qu
|
|
|
12540
12761
|
};
|
|
12541
12762
|
}>>;
|
|
12542
12763
|
|
|
12543
|
-
interface Options$
|
|
12764
|
+
interface Options$1j extends MutationOptionsFor<"delete", "/v1/connected_accounts/{connected_account_id}"> {
|
|
12544
12765
|
client?: QueryClient;
|
|
12545
12766
|
}
|
|
12546
|
-
declare const useDeleteConnectedAccount: (options?: Options$
|
|
12767
|
+
declare const useDeleteConnectedAccount: (options?: Options$1j) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12547
12768
|
204: {
|
|
12548
12769
|
headers: {
|
|
12549
12770
|
[name: string]: unknown;
|
|
@@ -12628,10 +12849,10 @@ declare const useDeleteConnectedAccount: (options?: Options$1d) => _tanstack_rea
|
|
|
12628
12849
|
};
|
|
12629
12850
|
}>>;
|
|
12630
12851
|
|
|
12631
|
-
interface Options$
|
|
12852
|
+
interface Options$1i extends MutationOptionsFor<"delete", "/v1/forms/{form_id}"> {
|
|
12632
12853
|
client?: QueryClient;
|
|
12633
12854
|
}
|
|
12634
|
-
declare const useDeleteForm: (options?: Options$
|
|
12855
|
+
declare const useDeleteForm: (options?: Options$1i) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12635
12856
|
204: {
|
|
12636
12857
|
headers: {
|
|
12637
12858
|
[name: string]: unknown;
|
|
@@ -12716,10 +12937,10 @@ declare const useDeleteForm: (options?: Options$1c) => _tanstack_react_query.Use
|
|
|
12716
12937
|
};
|
|
12717
12938
|
}>>;
|
|
12718
12939
|
|
|
12719
|
-
interface Options$
|
|
12940
|
+
interface Options$1h extends MutationOptionsFor<"delete", "/v1/openings/{opening_id}"> {
|
|
12720
12941
|
client?: QueryClient;
|
|
12721
12942
|
}
|
|
12722
|
-
declare const useDeleteOpening: (options?: Options$
|
|
12943
|
+
declare const useDeleteOpening: (options?: Options$1h) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12723
12944
|
204: {
|
|
12724
12945
|
headers: {
|
|
12725
12946
|
[name: string]: unknown;
|
|
@@ -12804,10 +13025,10 @@ declare const useDeleteOpening: (options?: Options$1b) => _tanstack_react_query.
|
|
|
12804
13025
|
};
|
|
12805
13026
|
}>>;
|
|
12806
13027
|
|
|
12807
|
-
interface Options$
|
|
13028
|
+
interface Options$1g extends MutationOptionsFor<"delete", "/v1/provider_schedules/{provider_schedule_id}"> {
|
|
12808
13029
|
client?: QueryClient;
|
|
12809
13030
|
}
|
|
12810
|
-
declare const useDeleteProviderSchedule: (options?: Options$
|
|
13031
|
+
declare const useDeleteProviderSchedule: (options?: Options$1g) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12811
13032
|
204: {
|
|
12812
13033
|
headers: {
|
|
12813
13034
|
[name: string]: unknown;
|
|
@@ -12892,10 +13113,10 @@ declare const useDeleteProviderSchedule: (options?: Options$1a) => _tanstack_rea
|
|
|
12892
13113
|
};
|
|
12893
13114
|
}>>;
|
|
12894
13115
|
|
|
12895
|
-
interface Options$
|
|
13116
|
+
interface Options$1f extends MutationOptionsFor<"delete", "/v1/schedule_groups/{schedule_group_id}"> {
|
|
12896
13117
|
client?: QueryClient;
|
|
12897
13118
|
}
|
|
12898
|
-
declare const
|
|
13119
|
+
declare const useDeleteScheduleGroup: (options?: Options$1f) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
12899
13120
|
204: {
|
|
12900
13121
|
headers: {
|
|
12901
13122
|
[name: string]: unknown;
|
|
@@ -12918,6 +13139,20 @@ declare const useDeleteService: (options?: Options$19) => _tanstack_react_query.
|
|
|
12918
13139
|
};
|
|
12919
13140
|
};
|
|
12920
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
|
+
};
|
|
12921
13156
|
404: {
|
|
12922
13157
|
headers: {
|
|
12923
13158
|
[name: string]: unknown;
|
|
@@ -12931,12 +13166,25 @@ declare const useDeleteService: (options?: Options$19) => _tanstack_react_query.
|
|
|
12931
13166
|
};
|
|
12932
13167
|
};
|
|
12933
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
|
+
};
|
|
12934
13182
|
}, `${string}/${string}`>, openapi_fetch.FetchOptions<{
|
|
12935
13183
|
parameters: {
|
|
12936
13184
|
query?: never;
|
|
12937
13185
|
header?: never;
|
|
12938
13186
|
path: {
|
|
12939
|
-
|
|
13187
|
+
schedule_group_id: string;
|
|
12940
13188
|
};
|
|
12941
13189
|
cookie?: never;
|
|
12942
13190
|
};
|
|
@@ -12964,6 +13212,20 @@ declare const useDeleteService: (options?: Options$19) => _tanstack_react_query.
|
|
|
12964
13212
|
};
|
|
12965
13213
|
};
|
|
12966
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
|
+
};
|
|
12967
13229
|
404: {
|
|
12968
13230
|
headers: {
|
|
12969
13231
|
[name: string]: unknown;
|
|
@@ -12977,14 +13239,115 @@ declare const useDeleteService: (options?: Options$19) => _tanstack_react_query.
|
|
|
12977
13239
|
};
|
|
12978
13240
|
};
|
|
12979
13241
|
};
|
|
12980
|
-
|
|
12981
|
-
|
|
12982
|
-
|
|
12983
|
-
|
|
12984
|
-
|
|
12985
|
-
|
|
12986
|
-
|
|
12987
|
-
|
|
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: {
|
|
12988
13351
|
headers: {
|
|
12989
13352
|
[name: string]: unknown;
|
|
12990
13353
|
};
|
|
@@ -13069,10 +13432,10 @@ declare const useDeleteServiceProvider: (options?: Options$18) => _tanstack_reac
|
|
|
13069
13432
|
};
|
|
13070
13433
|
}>>;
|
|
13071
13434
|
|
|
13072
|
-
interface Options$
|
|
13435
|
+
interface Options$1c extends MutationOptionsFor<"delete", "/v1/connected_accounts/{connected_account_id}/user_mappings/{provider_id}"> {
|
|
13073
13436
|
client?: QueryClient;
|
|
13074
13437
|
}
|
|
13075
|
-
declare const useDeleteUserMapping: (options?: Options$
|
|
13438
|
+
declare const useDeleteUserMapping: (options?: Options$1c) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
13076
13439
|
204: {
|
|
13077
13440
|
headers: {
|
|
13078
13441
|
[name: string]: unknown;
|
|
@@ -13158,10 +13521,10 @@ declare const useDeleteUserMapping: (options?: Options$17) => _tanstack_react_qu
|
|
|
13158
13521
|
};
|
|
13159
13522
|
}>>;
|
|
13160
13523
|
|
|
13161
|
-
interface Options$
|
|
13524
|
+
interface Options$1b extends MutationOptionsFor<"delete", "/v1/service_forms/{service_form_id}"> {
|
|
13162
13525
|
client?: QueryClient;
|
|
13163
13526
|
}
|
|
13164
|
-
declare const useDetachServiceForm: (options?: Options$
|
|
13527
|
+
declare const useDetachServiceForm: (options?: Options$1b) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
13165
13528
|
204: {
|
|
13166
13529
|
headers: {
|
|
13167
13530
|
[name: string]: unknown;
|
|
@@ -13246,10 +13609,10 @@ declare const useDetachServiceForm: (options?: Options$16) => _tanstack_react_qu
|
|
|
13246
13609
|
};
|
|
13247
13610
|
}>>;
|
|
13248
13611
|
|
|
13249
|
-
interface Options$
|
|
13612
|
+
interface Options$1a extends MutationOptionsFor<"post", "/v1/appointments/{appointment_id}/reschedule"> {
|
|
13250
13613
|
client?: QueryClient;
|
|
13251
13614
|
}
|
|
13252
|
-
declare const useRescheduleAppointment: (options?: Options$
|
|
13615
|
+
declare const useRescheduleAppointment: (options?: Options$1a) => _tanstack_react_query.UseMutationResult<{
|
|
13253
13616
|
data: {
|
|
13254
13617
|
add_to_calendar_url: string;
|
|
13255
13618
|
appointment_type: "in_person" | "virtual";
|
|
@@ -14177,10 +14540,10 @@ declare const useRescheduleAppointment: (options?: Options$15) => _tanstack_reac
|
|
|
14177
14540
|
};
|
|
14178
14541
|
}>>;
|
|
14179
14542
|
|
|
14180
|
-
interface Options$
|
|
14543
|
+
interface Options$19 extends MutationOptionsFor<"post", "/v1/public/appointments/{appointment_id}/reschedule"> {
|
|
14181
14544
|
client?: QueryClient;
|
|
14182
14545
|
}
|
|
14183
|
-
declare const useReschedulePublicAppointment: (options?: Options$
|
|
14546
|
+
declare const useReschedulePublicAppointment: (options?: Options$19) => _tanstack_react_query.UseMutationResult<{
|
|
14184
14547
|
data: {
|
|
14185
14548
|
add_to_calendar_url: string;
|
|
14186
14549
|
cancel_url: string;
|
|
@@ -14351,10 +14714,10 @@ declare const useReschedulePublicAppointment: (options?: Options$14) => _tanstac
|
|
|
14351
14714
|
};
|
|
14352
14715
|
}>>;
|
|
14353
14716
|
|
|
14354
|
-
interface Options$
|
|
14717
|
+
interface Options$18 extends MutationOptionsFor<"put", "/v1/services/{service_id}/conferencing"> {
|
|
14355
14718
|
client?: QueryClient;
|
|
14356
14719
|
}
|
|
14357
|
-
declare const useSetServiceConferencing: (options?: Options$
|
|
14720
|
+
declare const useSetServiceConferencing: (options?: Options$18) => _tanstack_react_query.UseMutationResult<{
|
|
14358
14721
|
data: {
|
|
14359
14722
|
configured: {
|
|
14360
14723
|
provider_id: string;
|
|
@@ -14509,10 +14872,10 @@ declare const useSetServiceConferencing: (options?: Options$13) => _tanstack_rea
|
|
|
14509
14872
|
};
|
|
14510
14873
|
}>>;
|
|
14511
14874
|
|
|
14512
|
-
interface Options$
|
|
14875
|
+
interface Options$17 extends MutationOptionsFor<"put", "/v1/services/{service_id}/providers/{provider_id}/conferencing"> {
|
|
14513
14876
|
client?: QueryClient;
|
|
14514
14877
|
}
|
|
14515
|
-
declare const useSetServiceProviderConferencing: (options?: Options$
|
|
14878
|
+
declare const useSetServiceProviderConferencing: (options?: Options$17) => _tanstack_react_query.UseMutationResult<{
|
|
14516
14879
|
data: {
|
|
14517
14880
|
conferencing_provider: "zoom_admin";
|
|
14518
14881
|
connected_account: {
|
|
@@ -14759,10 +15122,10 @@ declare const useSetServiceProviderConferencing: (options?: Options$12) => _tans
|
|
|
14759
15122
|
};
|
|
14760
15123
|
}>>;
|
|
14761
15124
|
|
|
14762
|
-
interface Options$
|
|
15125
|
+
interface Options$16 extends MutationOptionsFor<"put", "/v1/connected_accounts/{connected_account_id}/user_mappings/{provider_id}"> {
|
|
14763
15126
|
client?: QueryClient;
|
|
14764
15127
|
}
|
|
14765
|
-
declare const useSetUserMapping: (options?: Options$
|
|
15128
|
+
declare const useSetUserMapping: (options?: Options$16) => _tanstack_react_query.UseMutationResult<{
|
|
14766
15129
|
data: {
|
|
14767
15130
|
external_user: {
|
|
14768
15131
|
email: string | null;
|
|
@@ -15001,10 +15364,10 @@ declare const useSetUserMapping: (options?: Options$11) => _tanstack_react_query
|
|
|
15001
15364
|
};
|
|
15002
15365
|
}>>;
|
|
15003
15366
|
|
|
15004
|
-
interface Options$
|
|
15367
|
+
interface Options$15 extends MutationOptionsFor<"post", "/v1/services/{service_id}/forms/sort"> {
|
|
15005
15368
|
client?: QueryClient;
|
|
15006
15369
|
}
|
|
15007
|
-
declare const useSortServiceForms: (options?: Options$
|
|
15370
|
+
declare const useSortServiceForms: (options?: Options$15) => _tanstack_react_query.UseMutationResult<{
|
|
15008
15371
|
data: {
|
|
15009
15372
|
created_at: string;
|
|
15010
15373
|
form_id: string;
|
|
@@ -15159,10 +15522,10 @@ declare const useSortServiceForms: (options?: Options$10) => _tanstack_react_que
|
|
|
15159
15522
|
};
|
|
15160
15523
|
}>>;
|
|
15161
15524
|
|
|
15162
|
-
interface Options
|
|
15525
|
+
interface Options$14 extends MutationOptionsFor<"post", "/v1/connected_accounts/{connected_account_id}/external_users/sync"> {
|
|
15163
15526
|
client?: QueryClient;
|
|
15164
15527
|
}
|
|
15165
|
-
declare const useSyncConnectedAccountExternalUsers: (options?: Options
|
|
15528
|
+
declare const useSyncConnectedAccountExternalUsers: (options?: Options$14) => _tanstack_react_query.UseMutationResult<{
|
|
15166
15529
|
data: {
|
|
15167
15530
|
email: string | null;
|
|
15168
15531
|
first_name: string | null;
|
|
@@ -15304,10 +15667,10 @@ declare const useSyncConnectedAccountExternalUsers: (options?: Options$$) => _ta
|
|
|
15304
15667
|
};
|
|
15305
15668
|
}>>;
|
|
15306
15669
|
|
|
15307
|
-
interface Options$
|
|
15670
|
+
interface Options$13 extends MutationOptionsFor<"post", "/v1/services/{service_id}/conferencing/sync"> {
|
|
15308
15671
|
client?: QueryClient;
|
|
15309
15672
|
}
|
|
15310
|
-
declare const useSyncServiceConferencing: (options?: Options$
|
|
15673
|
+
declare const useSyncServiceConferencing: (options?: Options$13) => _tanstack_react_query.UseMutationResult<{
|
|
15311
15674
|
data: {
|
|
15312
15675
|
configured: {
|
|
15313
15676
|
provider_id: string;
|
|
@@ -15452,10 +15815,10 @@ declare const useSyncServiceConferencing: (options?: Options$_) => _tanstack_rea
|
|
|
15452
15815
|
};
|
|
15453
15816
|
}>>;
|
|
15454
15817
|
|
|
15455
|
-
interface Options$
|
|
15818
|
+
interface Options$12 extends MutationOptionsFor<"patch", "/v1/accounts/{account_id}"> {
|
|
15456
15819
|
client?: QueryClient;
|
|
15457
15820
|
}
|
|
15458
|
-
declare const useUpdateAccount: (options?: Options$
|
|
15821
|
+
declare const useUpdateAccount: (options?: Options$12) => _tanstack_react_query.UseMutationResult<{
|
|
15459
15822
|
data?: {
|
|
15460
15823
|
created_at: string;
|
|
15461
15824
|
id: string;
|
|
@@ -15604,16 +15967,18 @@ declare const useUpdateAccount: (options?: Options$Z) => _tanstack_react_query.U
|
|
|
15604
15967
|
};
|
|
15605
15968
|
}>>;
|
|
15606
15969
|
|
|
15607
|
-
interface Options$
|
|
15970
|
+
interface Options$11 extends MutationOptionsFor<"patch", "/v1/users/{user_id}"> {
|
|
15608
15971
|
client?: QueryClient;
|
|
15609
15972
|
}
|
|
15610
|
-
declare const useUpdateAccountUser: (options?: Options$
|
|
15973
|
+
declare const useUpdateAccountUser: (options?: Options$11) => _tanstack_react_query.UseMutationResult<{
|
|
15611
15974
|
object: "account_user";
|
|
15612
15975
|
passive: boolean;
|
|
15613
15976
|
roles: {
|
|
15977
|
+
denied_permissions: string[];
|
|
15614
15978
|
id: string;
|
|
15615
15979
|
name: string;
|
|
15616
15980
|
object: "role";
|
|
15981
|
+
permissions: string[];
|
|
15617
15982
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
15618
15983
|
}[];
|
|
15619
15984
|
user: {
|
|
@@ -15635,9 +16000,11 @@ declare const useUpdateAccountUser: (options?: Options$Y) => _tanstack_react_que
|
|
|
15635
16000
|
object: "account_user";
|
|
15636
16001
|
passive: boolean;
|
|
15637
16002
|
roles: {
|
|
16003
|
+
denied_permissions: string[];
|
|
15638
16004
|
id: string;
|
|
15639
16005
|
name: string;
|
|
15640
16006
|
object: "role";
|
|
16007
|
+
permissions: string[];
|
|
15641
16008
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
15642
16009
|
}[];
|
|
15643
16010
|
user: {
|
|
@@ -15729,9 +16096,11 @@ declare const useUpdateAccountUser: (options?: Options$Y) => _tanstack_react_que
|
|
|
15729
16096
|
object: "account_user";
|
|
15730
16097
|
passive: boolean;
|
|
15731
16098
|
roles: {
|
|
16099
|
+
denied_permissions: string[];
|
|
15732
16100
|
id: string;
|
|
15733
16101
|
name: string;
|
|
15734
16102
|
object: "role";
|
|
16103
|
+
permissions: string[];
|
|
15735
16104
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
15736
16105
|
}[];
|
|
15737
16106
|
user: {
|
|
@@ -15795,10 +16164,10 @@ declare const useUpdateAccountUser: (options?: Options$Y) => _tanstack_react_que
|
|
|
15795
16164
|
};
|
|
15796
16165
|
}>>;
|
|
15797
16166
|
|
|
15798
|
-
interface Options$
|
|
16167
|
+
interface Options$10 extends MutationOptionsFor<"patch", "/v1/blocks/{block_id}"> {
|
|
15799
16168
|
client?: QueryClient;
|
|
15800
16169
|
}
|
|
15801
|
-
declare const useUpdateBlock: (options?: Options$
|
|
16170
|
+
declare const useUpdateBlock: (options?: Options$10) => _tanstack_react_query.UseMutationResult<{
|
|
15802
16171
|
data: {
|
|
15803
16172
|
all_day: boolean;
|
|
15804
16173
|
attachment_type: "location" | "service" | "provider" | "service_provider";
|
|
@@ -15983,10 +16352,10 @@ declare const useUpdateBlock: (options?: Options$X) => _tanstack_react_query.Use
|
|
|
15983
16352
|
};
|
|
15984
16353
|
}> | undefined>;
|
|
15985
16354
|
|
|
15986
|
-
interface Options
|
|
16355
|
+
interface Options$$ extends MutationOptionsFor<"patch", "/v1/booking_intents/{booking_intent_id}"> {
|
|
15987
16356
|
client?: QueryClient;
|
|
15988
16357
|
}
|
|
15989
|
-
declare const useUpdateBookingIntent: (options?: Options
|
|
16358
|
+
declare const useUpdateBookingIntent: (options?: Options$$) => _tanstack_react_query.UseMutationResult<{
|
|
15990
16359
|
data: {
|
|
15991
16360
|
abandoned_at?: string | null;
|
|
15992
16361
|
appointment?: {
|
|
@@ -17586,10 +17955,10 @@ declare const useUpdateBookingIntent: (options?: Options$W) => _tanstack_react_q
|
|
|
17586
17955
|
};
|
|
17587
17956
|
}>>;
|
|
17588
17957
|
|
|
17589
|
-
interface Options$
|
|
17958
|
+
interface Options$_ extends MutationOptionsFor<"patch", "/v1/booking_links/{booking_link_id}"> {
|
|
17590
17959
|
client?: QueryClient;
|
|
17591
17960
|
}
|
|
17592
|
-
declare const useUpdateBookingLink: (options?: Options$
|
|
17961
|
+
declare const useUpdateBookingLink: (options?: Options$_) => _tanstack_react_query.UseMutationResult<{
|
|
17593
17962
|
data: {
|
|
17594
17963
|
client?: {
|
|
17595
17964
|
created_at: string;
|
|
@@ -17878,11 +18247,16 @@ declare const useUpdateBookingLink: (options?: Options$V) => _tanstack_react_que
|
|
|
17878
18247
|
};
|
|
17879
18248
|
}>>;
|
|
17880
18249
|
|
|
17881
|
-
interface Options$
|
|
18250
|
+
interface Options$Z extends MutationOptionsFor<"patch", "/v1/cancellation_reasons/{cancellation_reason_id}"> {
|
|
17882
18251
|
client?: QueryClient;
|
|
17883
18252
|
}
|
|
17884
|
-
declare const useUpdateCancellationReason: (options?: Options$
|
|
17885
|
-
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
|
+
};
|
|
17886
18260
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
17887
18261
|
200: {
|
|
17888
18262
|
headers: {
|
|
@@ -17890,7 +18264,12 @@ declare const useUpdateCancellationReason: (options?: Options$U) => _tanstack_re
|
|
|
17890
18264
|
};
|
|
17891
18265
|
content: {
|
|
17892
18266
|
"application/json": {
|
|
17893
|
-
data:
|
|
18267
|
+
data: {
|
|
18268
|
+
id: string;
|
|
18269
|
+
name: string;
|
|
18270
|
+
object: "cancellation_reason";
|
|
18271
|
+
sort_order: number;
|
|
18272
|
+
};
|
|
17894
18273
|
};
|
|
17895
18274
|
};
|
|
17896
18275
|
};
|
|
@@ -17961,7 +18340,12 @@ declare const useUpdateCancellationReason: (options?: Options$U) => _tanstack_re
|
|
|
17961
18340
|
};
|
|
17962
18341
|
content: {
|
|
17963
18342
|
"application/json": {
|
|
17964
|
-
data:
|
|
18343
|
+
data: {
|
|
18344
|
+
id: string;
|
|
18345
|
+
name: string;
|
|
18346
|
+
object: "cancellation_reason";
|
|
18347
|
+
sort_order: number;
|
|
18348
|
+
};
|
|
17965
18349
|
};
|
|
17966
18350
|
};
|
|
17967
18351
|
};
|
|
@@ -18012,10 +18396,10 @@ declare const useUpdateCancellationReason: (options?: Options$U) => _tanstack_re
|
|
|
18012
18396
|
};
|
|
18013
18397
|
}>>;
|
|
18014
18398
|
|
|
18015
|
-
interface Options$
|
|
18399
|
+
interface Options$Y extends MutationOptionsFor<"patch", "/v1/clients/{client_id}"> {
|
|
18016
18400
|
client?: QueryClient;
|
|
18017
18401
|
}
|
|
18018
|
-
declare const useUpdateClient: (options?: Options$
|
|
18402
|
+
declare const useUpdateClient: (options?: Options$Y) => _tanstack_react_query.UseMutationResult<{
|
|
18019
18403
|
data: {
|
|
18020
18404
|
created_at: string;
|
|
18021
18405
|
email?: string | null;
|
|
@@ -18212,11 +18596,29 @@ declare const useUpdateClient: (options?: Options$T) => _tanstack_react_query.Us
|
|
|
18212
18596
|
};
|
|
18213
18597
|
}>>;
|
|
18214
18598
|
|
|
18215
|
-
interface Options$
|
|
18599
|
+
interface Options$X extends MutationOptionsFor<"patch", "/v1/client_fields/{client_field_id}"> {
|
|
18216
18600
|
client?: QueryClient;
|
|
18217
18601
|
}
|
|
18218
|
-
declare const useUpdateClientField: (options?: Options$
|
|
18219
|
-
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
|
+
};
|
|
18220
18622
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
18221
18623
|
200: {
|
|
18222
18624
|
headers: {
|
|
@@ -18224,7 +18626,25 @@ declare const useUpdateClientField: (options?: Options$S) => _tanstack_react_que
|
|
|
18224
18626
|
};
|
|
18225
18627
|
content: {
|
|
18226
18628
|
"application/json": {
|
|
18227
|
-
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
|
+
};
|
|
18228
18648
|
};
|
|
18229
18649
|
};
|
|
18230
18650
|
};
|
|
@@ -18304,7 +18724,25 @@ declare const useUpdateClientField: (options?: Options$S) => _tanstack_react_que
|
|
|
18304
18724
|
};
|
|
18305
18725
|
content: {
|
|
18306
18726
|
"application/json": {
|
|
18307
|
-
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
|
+
};
|
|
18308
18746
|
};
|
|
18309
18747
|
};
|
|
18310
18748
|
};
|
|
@@ -18355,10 +18793,10 @@ declare const useUpdateClientField: (options?: Options$S) => _tanstack_react_que
|
|
|
18355
18793
|
};
|
|
18356
18794
|
}>>;
|
|
18357
18795
|
|
|
18358
|
-
interface Options$
|
|
18796
|
+
interface Options$W extends MutationOptionsFor<"patch", "/v1/connected_accounts/{connected_account_id}"> {
|
|
18359
18797
|
client?: QueryClient;
|
|
18360
18798
|
}
|
|
18361
|
-
declare const useUpdateConnectedAccount: (options?: Options$
|
|
18799
|
+
declare const useUpdateConnectedAccount: (options?: Options$W) => _tanstack_react_query.UseMutationResult<{
|
|
18362
18800
|
data: {
|
|
18363
18801
|
connection_scope: "user" | "account";
|
|
18364
18802
|
created_at: string;
|
|
@@ -18528,10 +18966,10 @@ declare const useUpdateConnectedAccount: (options?: Options$R) => _tanstack_reac
|
|
|
18528
18966
|
};
|
|
18529
18967
|
}>>;
|
|
18530
18968
|
|
|
18531
|
-
interface Options$
|
|
18969
|
+
interface Options$V extends MutationOptionsFor<"patch", "/v1/forms/{form_id}"> {
|
|
18532
18970
|
client?: QueryClient;
|
|
18533
18971
|
}
|
|
18534
|
-
declare const useUpdateForm: (options?: Options$
|
|
18972
|
+
declare const useUpdateForm: (options?: Options$V) => _tanstack_react_query.UseMutationResult<{
|
|
18535
18973
|
data: {
|
|
18536
18974
|
created_at: string;
|
|
18537
18975
|
field_count: number;
|
|
@@ -18547,7 +18985,7 @@ declare const useUpdateForm: (options?: Options$Q) => _tanstack_react_query.UseM
|
|
|
18547
18985
|
id: string;
|
|
18548
18986
|
label: string;
|
|
18549
18987
|
}[];
|
|
18550
|
-
} | (string | null)) | null;
|
|
18988
|
+
} | (Record<string, never> | null)) | null;
|
|
18551
18989
|
position: number;
|
|
18552
18990
|
required?: boolean;
|
|
18553
18991
|
sensitive?: boolean;
|
|
@@ -18580,7 +19018,7 @@ declare const useUpdateForm: (options?: Options$Q) => _tanstack_react_query.UseM
|
|
|
18580
19018
|
id: string;
|
|
18581
19019
|
label: string;
|
|
18582
19020
|
}[];
|
|
18583
|
-
} | (string | null)) | null;
|
|
19021
|
+
} | (Record<string, never> | null)) | null;
|
|
18584
19022
|
position: number;
|
|
18585
19023
|
required?: boolean;
|
|
18586
19024
|
sensitive?: boolean;
|
|
@@ -18656,13 +19094,13 @@ declare const useUpdateForm: (options?: Options$Q) => _tanstack_react_query.UseM
|
|
|
18656
19094
|
key: string;
|
|
18657
19095
|
label: string;
|
|
18658
19096
|
must_be_true?: boolean;
|
|
18659
|
-
options?:
|
|
19097
|
+
options?: {
|
|
18660
19098
|
allow_other: boolean;
|
|
18661
19099
|
choices: {
|
|
18662
19100
|
id?: string;
|
|
18663
19101
|
label: string;
|
|
18664
19102
|
}[];
|
|
18665
|
-
} |
|
|
19103
|
+
} | null;
|
|
18666
19104
|
position: number;
|
|
18667
19105
|
required?: boolean;
|
|
18668
19106
|
sensitive?: boolean;
|
|
@@ -18694,7 +19132,7 @@ declare const useUpdateForm: (options?: Options$Q) => _tanstack_react_query.UseM
|
|
|
18694
19132
|
id: string;
|
|
18695
19133
|
label: string;
|
|
18696
19134
|
}[];
|
|
18697
|
-
} | (string | null)) | null;
|
|
19135
|
+
} | (Record<string, never> | null)) | null;
|
|
18698
19136
|
position: number;
|
|
18699
19137
|
required?: boolean;
|
|
18700
19138
|
sensitive?: boolean;
|
|
@@ -18755,10 +19193,10 @@ declare const useUpdateForm: (options?: Options$Q) => _tanstack_react_query.UseM
|
|
|
18755
19193
|
};
|
|
18756
19194
|
}>>;
|
|
18757
19195
|
|
|
18758
|
-
interface Options$
|
|
19196
|
+
interface Options$U extends MutationOptionsFor<"patch", "/v1/openings/{opening_id}"> {
|
|
18759
19197
|
client?: QueryClient;
|
|
18760
19198
|
}
|
|
18761
|
-
declare const useUpdateOpening: (options?: Options$
|
|
19199
|
+
declare const useUpdateOpening: (options?: Options$U) => _tanstack_react_query.UseMutationResult<{
|
|
18762
19200
|
data: {
|
|
18763
19201
|
created_at: string;
|
|
18764
19202
|
date: string;
|
|
@@ -18926,10 +19364,10 @@ declare const useUpdateOpening: (options?: Options$P) => _tanstack_react_query.U
|
|
|
18926
19364
|
};
|
|
18927
19365
|
}>>;
|
|
18928
19366
|
|
|
18929
|
-
interface Options$
|
|
19367
|
+
interface Options$T extends MutationOptionsFor<"patch", "/v1/providers/{provider_id}"> {
|
|
18930
19368
|
client?: QueryClient;
|
|
18931
19369
|
}
|
|
18932
|
-
declare const useUpdateProvider: (options?: Options$
|
|
19370
|
+
declare const useUpdateProvider: (options?: Options$T) => _tanstack_react_query.UseMutationResult<{
|
|
18933
19371
|
data: {
|
|
18934
19372
|
created_at: string;
|
|
18935
19373
|
display_name: string;
|
|
@@ -19105,10 +19543,10 @@ declare const useUpdateProvider: (options?: Options$O) => _tanstack_react_query.
|
|
|
19105
19543
|
};
|
|
19106
19544
|
}>>;
|
|
19107
19545
|
|
|
19108
|
-
interface Options$
|
|
19546
|
+
interface Options$S extends MutationOptionsFor<"patch", "/v1/provider_schedules/{provider_schedule_id}"> {
|
|
19109
19547
|
client?: QueryClient;
|
|
19110
19548
|
}
|
|
19111
|
-
declare const useUpdateProviderSchedule: (options?: Options$
|
|
19549
|
+
declare const useUpdateProviderSchedule: (options?: Options$S) => _tanstack_react_query.UseMutationResult<{
|
|
19112
19550
|
data: {
|
|
19113
19551
|
created_at: string;
|
|
19114
19552
|
effective_from: string;
|
|
@@ -19269,10 +19707,10 @@ declare const useUpdateProviderSchedule: (options?: Options$N) => _tanstack_reac
|
|
|
19269
19707
|
};
|
|
19270
19708
|
}> | undefined>;
|
|
19271
19709
|
|
|
19272
|
-
interface Options$
|
|
19710
|
+
interface Options$R extends MutationOptionsFor<"patch", "/v1/public/booking_intents/{booking_intent_id}"> {
|
|
19273
19711
|
client?: QueryClient;
|
|
19274
19712
|
}
|
|
19275
|
-
declare const useUpdatePublicBookingIntent: (options?: Options$
|
|
19713
|
+
declare const useUpdatePublicBookingIntent: (options?: Options$R) => _tanstack_react_query.UseMutationResult<{
|
|
19276
19714
|
data: {
|
|
19277
19715
|
appointment?: {
|
|
19278
19716
|
add_to_calendar_url: string;
|
|
@@ -19659,10 +20097,341 @@ declare const useUpdatePublicBookingIntent: (options?: Options$M) => _tanstack_r
|
|
|
19659
20097
|
};
|
|
19660
20098
|
}>>;
|
|
19661
20099
|
|
|
19662
|
-
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}"> {
|
|
19663
20432
|
client?: QueryClient;
|
|
19664
20433
|
}
|
|
19665
|
-
declare const useUpdateService: (options?: Options$
|
|
20434
|
+
declare const useUpdateService: (options?: Options$O) => _tanstack_react_query.UseMutationResult<{
|
|
19666
20435
|
data: {
|
|
19667
20436
|
appointment_type: "in_person" | "virtual";
|
|
19668
20437
|
booking_policy: {
|
|
@@ -20104,10 +20873,10 @@ declare const useSavvyCalQueryClient: (overrideClient?: QueryClient) => openapi_
|
|
|
20104
20873
|
declare const useSavvyCalFetchClient: (overrideClient?: FetchClient) => openapi_fetch.Client<_savvycal_appointments_core.paths, `${string}/${string}`>;
|
|
20105
20874
|
|
|
20106
20875
|
type AccountByIdParams = paths["/v1/accounts/{account_id}"]["get"]["parameters"];
|
|
20107
|
-
interface Options$
|
|
20876
|
+
interface Options$N extends QueryOptionsFor<"get", "/v1/accounts/{account_id}"> {
|
|
20108
20877
|
client?: QueryClient;
|
|
20109
20878
|
}
|
|
20110
|
-
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<{
|
|
20111
20880
|
data?: {
|
|
20112
20881
|
created_at: string;
|
|
20113
20882
|
id: string;
|
|
@@ -20161,17 +20930,19 @@ declare const useAccountById: (account_id: AccountByIdParams["path"]["account_id
|
|
|
20161
20930
|
};
|
|
20162
20931
|
}, `${string}/${string}`>>;
|
|
20163
20932
|
|
|
20164
|
-
interface Options$
|
|
20933
|
+
interface Options$M extends QueryOptionsFor<"get", "/v1/users"> {
|
|
20165
20934
|
client?: QueryClient;
|
|
20166
20935
|
}
|
|
20167
|
-
declare const useAccountUsers: (options?: Options$
|
|
20936
|
+
declare const useAccountUsers: (options?: Options$M) => _tanstack_react_query.UseQueryResult<{
|
|
20168
20937
|
data?: {
|
|
20169
20938
|
object: "account_user";
|
|
20170
20939
|
passive: boolean;
|
|
20171
20940
|
roles: {
|
|
20941
|
+
denied_permissions: string[];
|
|
20172
20942
|
id: string;
|
|
20173
20943
|
name: string;
|
|
20174
20944
|
object: "role";
|
|
20945
|
+
permissions: string[];
|
|
20175
20946
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
20176
20947
|
}[];
|
|
20177
20948
|
user: {
|
|
@@ -20195,9 +20966,11 @@ declare const useAccountUsers: (options?: Options$J) => _tanstack_react_query.Us
|
|
|
20195
20966
|
object: "account_user";
|
|
20196
20967
|
passive: boolean;
|
|
20197
20968
|
roles: {
|
|
20969
|
+
denied_permissions: string[];
|
|
20198
20970
|
id: string;
|
|
20199
20971
|
name: string;
|
|
20200
20972
|
object: "role";
|
|
20973
|
+
permissions: string[];
|
|
20201
20974
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
20202
20975
|
}[];
|
|
20203
20976
|
user: {
|
|
@@ -20247,10 +21020,10 @@ declare const useAccountUsers: (options?: Options$J) => _tanstack_react_query.Us
|
|
|
20247
21020
|
}, `${string}/${string}`>>;
|
|
20248
21021
|
|
|
20249
21022
|
type AccountsParams = paths["/v1/accounts"]["get"]["parameters"];
|
|
20250
|
-
interface Options$
|
|
21023
|
+
interface Options$L extends QueryOptionsFor<"get", "/v1/accounts"> {
|
|
20251
21024
|
client?: QueryClient;
|
|
20252
21025
|
}
|
|
20253
|
-
declare const useAccounts: (queryParams?: AccountsParams["query"], options?: Options$
|
|
21026
|
+
declare const useAccounts: (queryParams?: AccountsParams["query"], options?: Options$L) => _tanstack_react_query.UseQueryResult<{
|
|
20254
21027
|
data: {
|
|
20255
21028
|
created_at: string;
|
|
20256
21029
|
id: string;
|
|
@@ -20336,10 +21109,10 @@ declare const useAccounts: (queryParams?: AccountsParams["query"], options?: Opt
|
|
|
20336
21109
|
}, `${string}/${string}`>>;
|
|
20337
21110
|
|
|
20338
21111
|
type AppointmentParams = paths["/v1/appointments/{appointment_id}"]["get"]["parameters"];
|
|
20339
|
-
interface Options$
|
|
21112
|
+
interface Options$K extends QueryOptionsFor<"get", "/v1/appointments/{appointment_id}"> {
|
|
20340
21113
|
client?: QueryClient;
|
|
20341
21114
|
}
|
|
20342
|
-
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<{
|
|
20343
21116
|
data: {
|
|
20344
21117
|
add_to_calendar_url: string;
|
|
20345
21118
|
appointment_type: "in_person" | "virtual";
|
|
@@ -20932,10 +21705,10 @@ declare const useAppointment: (appointment_id: AppointmentParams["path"]["appoin
|
|
|
20932
21705
|
}, `${string}/${string}`>>;
|
|
20933
21706
|
|
|
20934
21707
|
type AppointmentsParams = paths["/v1/appointments"]["get"]["parameters"];
|
|
20935
|
-
interface Options$
|
|
21708
|
+
interface Options$J extends QueryOptionsFor<"get", "/v1/appointments"> {
|
|
20936
21709
|
client?: QueryClient;
|
|
20937
21710
|
}
|
|
20938
|
-
declare const useAppointments: (queryParams?: AppointmentsParams["query"], options?: Options$
|
|
21711
|
+
declare const useAppointments: (queryParams?: AppointmentsParams["query"], options?: Options$J) => _tanstack_react_query.UseQueryResult<{
|
|
20939
21712
|
data: {
|
|
20940
21713
|
add_to_calendar_url: string;
|
|
20941
21714
|
appointment_type: "in_person" | "virtual";
|
|
@@ -21554,10 +22327,10 @@ declare const useAppointments: (queryParams?: AppointmentsParams["query"], optio
|
|
|
21554
22327
|
}, `${string}/${string}`>>;
|
|
21555
22328
|
|
|
21556
22329
|
type BlockParams = paths["/v1/blocks/{block_id}"]["get"]["parameters"];
|
|
21557
|
-
interface Options$
|
|
22330
|
+
interface Options$I extends QueryOptionsFor<"get", "/v1/blocks/{block_id}"> {
|
|
21558
22331
|
client?: QueryClient;
|
|
21559
22332
|
}
|
|
21560
|
-
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<{
|
|
21561
22334
|
data: {
|
|
21562
22335
|
all_day: boolean;
|
|
21563
22336
|
attachment_type: "location" | "service" | "provider" | "service_provider";
|
|
@@ -21644,10 +22417,10 @@ declare const useBlock: (block_id: BlockParams["path"]["block_id"], options?: Op
|
|
|
21644
22417
|
}, `${string}/${string}`>>;
|
|
21645
22418
|
|
|
21646
22419
|
type BlocksParams = paths["/v1/blocks"]["get"]["parameters"];
|
|
21647
|
-
interface Options$
|
|
22420
|
+
interface Options$H extends QueryOptionsFor<"get", "/v1/blocks"> {
|
|
21648
22421
|
client?: QueryClient;
|
|
21649
22422
|
}
|
|
21650
|
-
declare const useBlocks: (queryParams?: BlocksParams["query"], options?: Options$
|
|
22423
|
+
declare const useBlocks: (queryParams?: BlocksParams["query"], options?: Options$H) => _tanstack_react_query.UseQueryResult<{
|
|
21651
22424
|
data: {
|
|
21652
22425
|
all_day: boolean;
|
|
21653
22426
|
attachment_type: "location" | "service" | "provider" | "service_provider";
|
|
@@ -21750,10 +22523,10 @@ declare const useBlocks: (queryParams?: BlocksParams["query"], options?: Options
|
|
|
21750
22523
|
}, `${string}/${string}`>>;
|
|
21751
22524
|
|
|
21752
22525
|
type BookingIntentParams = paths["/v1/booking_intents/{booking_intent_id}"]["get"]["parameters"];
|
|
21753
|
-
interface Options$
|
|
22526
|
+
interface Options$G extends QueryOptionsFor<"get", "/v1/booking_intents/{booking_intent_id}"> {
|
|
21754
22527
|
client?: QueryClient;
|
|
21755
22528
|
}
|
|
21756
|
-
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<{
|
|
21757
22530
|
data: {
|
|
21758
22531
|
abandoned_at?: string | null;
|
|
21759
22532
|
appointment?: {
|
|
@@ -22750,10 +23523,10 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
22750
23523
|
}, `${string}/${string}`>>;
|
|
22751
23524
|
|
|
22752
23525
|
type BookingIntentSlotsParams = paths["/v1/booking_intents/{booking_intent_id}/slots"]["get"]["parameters"];
|
|
22753
|
-
interface Options$
|
|
23526
|
+
interface Options$F extends QueryOptionsFor<"get", "/v1/booking_intents/{booking_intent_id}/slots"> {
|
|
22754
23527
|
client?: QueryClient;
|
|
22755
23528
|
}
|
|
22756
|
-
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<{
|
|
22757
23530
|
data: {
|
|
22758
23531
|
end_at: string;
|
|
22759
23532
|
end_at_ts: number;
|
|
@@ -22827,10 +23600,10 @@ declare const useBookingIntentSlots: (booking_intent_id: BookingIntentSlotsParam
|
|
|
22827
23600
|
}, `${string}/${string}`>>;
|
|
22828
23601
|
|
|
22829
23602
|
type BookingIntentsParams = paths["/v1/booking_intents"]["get"]["parameters"];
|
|
22830
|
-
interface Options$
|
|
23603
|
+
interface Options$E extends QueryOptionsFor<"get", "/v1/booking_intents"> {
|
|
22831
23604
|
client?: QueryClient;
|
|
22832
23605
|
}
|
|
22833
|
-
declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], options?: Options$
|
|
23606
|
+
declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], options?: Options$E) => _tanstack_react_query.UseQueryResult<{
|
|
22834
23607
|
data: {
|
|
22835
23608
|
abandoned_at?: string | null;
|
|
22836
23609
|
appointment?: {
|
|
@@ -23843,10 +24616,10 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
23843
24616
|
}, `${string}/${string}`>>;
|
|
23844
24617
|
|
|
23845
24618
|
type BookingLinkParams = paths["/v1/booking_links/{booking_link_id}"]["get"]["parameters"];
|
|
23846
|
-
interface Options$
|
|
24619
|
+
interface Options$D extends QueryOptionsFor<"get", "/v1/booking_links/{booking_link_id}"> {
|
|
23847
24620
|
client?: QueryClient;
|
|
23848
24621
|
}
|
|
23849
|
-
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<{
|
|
23850
24623
|
data: {
|
|
23851
24624
|
client?: {
|
|
23852
24625
|
created_at: string;
|
|
@@ -23989,10 +24762,10 @@ declare const useBookingLink: (booking_link_id: BookingLinkParams["path"]["booki
|
|
|
23989
24762
|
}, `${string}/${string}`>>;
|
|
23990
24763
|
|
|
23991
24764
|
type BookingLinksParams = paths["/v1/booking_links"]["get"]["parameters"];
|
|
23992
|
-
interface Options$
|
|
24765
|
+
interface Options$C extends QueryOptionsFor<"get", "/v1/booking_links"> {
|
|
23993
24766
|
client?: QueryClient;
|
|
23994
24767
|
}
|
|
23995
|
-
declare const useBookingLinks: (queryParams?: BookingLinksParams["query"], options?: Options$
|
|
24768
|
+
declare const useBookingLinks: (queryParams?: BookingLinksParams["query"], options?: Options$C) => _tanstack_react_query.UseQueryResult<{
|
|
23996
24769
|
data: {
|
|
23997
24770
|
client?: {
|
|
23998
24771
|
created_at: string;
|
|
@@ -24151,11 +24924,16 @@ declare const useBookingLinks: (queryParams?: BookingLinksParams["query"], optio
|
|
|
24151
24924
|
}, `${string}/${string}`>>;
|
|
24152
24925
|
|
|
24153
24926
|
type CancellationReasonParams = paths["/v1/cancellation_reasons/{cancellation_reason_id}"]["get"]["parameters"];
|
|
24154
|
-
interface Options$
|
|
24927
|
+
interface Options$B extends QueryOptionsFor<"get", "/v1/cancellation_reasons/{cancellation_reason_id}"> {
|
|
24155
24928
|
client?: QueryClient;
|
|
24156
24929
|
}
|
|
24157
|
-
declare const useCancellationReason: (cancellation_reason_id: CancellationReasonParams["path"]["cancellation_reason_id"], options?: Options$
|
|
24158
|
-
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
|
+
};
|
|
24159
24937
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
24160
24938
|
200: {
|
|
24161
24939
|
headers: {
|
|
@@ -24163,7 +24941,12 @@ declare const useCancellationReason: (cancellation_reason_id: CancellationReason
|
|
|
24163
24941
|
};
|
|
24164
24942
|
content: {
|
|
24165
24943
|
"application/json": {
|
|
24166
|
-
data:
|
|
24944
|
+
data: {
|
|
24945
|
+
id: string;
|
|
24946
|
+
name: string;
|
|
24947
|
+
object: "cancellation_reason";
|
|
24948
|
+
sort_order: number;
|
|
24949
|
+
};
|
|
24167
24950
|
};
|
|
24168
24951
|
};
|
|
24169
24952
|
};
|
|
@@ -24196,10 +24979,10 @@ declare const useCancellationReason: (cancellation_reason_id: CancellationReason
|
|
|
24196
24979
|
};
|
|
24197
24980
|
}, `${string}/${string}`>>;
|
|
24198
24981
|
|
|
24199
|
-
interface Options$
|
|
24982
|
+
interface Options$A extends QueryOptionsFor<"get", "/v1/cancellation_reasons"> {
|
|
24200
24983
|
client?: QueryClient;
|
|
24201
24984
|
}
|
|
24202
|
-
declare const useCancellationReasons: (options?: Options$
|
|
24985
|
+
declare const useCancellationReasons: (options?: Options$A) => _tanstack_react_query.UseQueryResult<{
|
|
24203
24986
|
data: {
|
|
24204
24987
|
id: string;
|
|
24205
24988
|
name: string;
|
|
@@ -24256,10 +25039,10 @@ declare const useCancellationReasons: (options?: Options$x) => _tanstack_react_q
|
|
|
24256
25039
|
}, `${string}/${string}`>>;
|
|
24257
25040
|
|
|
24258
25041
|
type ClientParams = paths["/v1/clients/{client_id}"]["get"]["parameters"];
|
|
24259
|
-
interface Options$
|
|
25042
|
+
interface Options$z extends QueryOptionsFor<"get", "/v1/clients/{client_id}"> {
|
|
24260
25043
|
client?: QueryClient;
|
|
24261
25044
|
}
|
|
24262
|
-
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<{
|
|
24263
25046
|
data: {
|
|
24264
25047
|
created_at: string;
|
|
24265
25048
|
email?: string | null;
|
|
@@ -24338,11 +25121,29 @@ declare const useClient: (client_id: ClientParams["path"]["client_id"], queryPar
|
|
|
24338
25121
|
}, `${string}/${string}`>>;
|
|
24339
25122
|
|
|
24340
25123
|
type ClientFieldParams = paths["/v1/client_fields/{client_field_id}"]["get"]["parameters"];
|
|
24341
|
-
interface Options$
|
|
25124
|
+
interface Options$y extends QueryOptionsFor<"get", "/v1/client_fields/{client_field_id}"> {
|
|
24342
25125
|
client?: QueryClient;
|
|
24343
25126
|
}
|
|
24344
|
-
declare const useClientField: (client_field_id: ClientFieldParams["path"]["client_field_id"], options?: Options$
|
|
24345
|
-
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
|
+
};
|
|
24346
25147
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
24347
25148
|
200: {
|
|
24348
25149
|
headers: {
|
|
@@ -24350,7 +25151,25 @@ declare const useClientField: (client_field_id: ClientFieldParams["path"]["clien
|
|
|
24350
25151
|
};
|
|
24351
25152
|
content: {
|
|
24352
25153
|
"application/json": {
|
|
24353
|
-
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
|
+
};
|
|
24354
25173
|
};
|
|
24355
25174
|
};
|
|
24356
25175
|
};
|
|
@@ -24383,10 +25202,10 @@ declare const useClientField: (client_field_id: ClientFieldParams["path"]["clien
|
|
|
24383
25202
|
};
|
|
24384
25203
|
}, `${string}/${string}`>>;
|
|
24385
25204
|
|
|
24386
|
-
interface Options$
|
|
25205
|
+
interface Options$x extends QueryOptionsFor<"get", "/v1/client_fields"> {
|
|
24387
25206
|
client?: QueryClient;
|
|
24388
25207
|
}
|
|
24389
|
-
declare const useClientFields: (options?: Options$
|
|
25208
|
+
declare const useClientFields: (options?: Options$x) => _tanstack_react_query.UseQueryResult<{
|
|
24390
25209
|
data: {
|
|
24391
25210
|
created_at: string;
|
|
24392
25211
|
description?: string | null;
|
|
@@ -24469,10 +25288,10 @@ declare const useClientFields: (options?: Options$u) => _tanstack_react_query.Us
|
|
|
24469
25288
|
}, `${string}/${string}`>>;
|
|
24470
25289
|
|
|
24471
25290
|
type ClientsParams = paths["/v1/clients"]["get"]["parameters"];
|
|
24472
|
-
interface Options$
|
|
25291
|
+
interface Options$w extends QueryOptionsFor<"get", "/v1/clients"> {
|
|
24473
25292
|
client?: QueryClient;
|
|
24474
25293
|
}
|
|
24475
|
-
declare const useClients: (queryParams?: ClientsParams["query"], options?: Options$
|
|
25294
|
+
declare const useClients: (queryParams?: ClientsParams["query"], options?: Options$w) => _tanstack_react_query.UseQueryResult<{
|
|
24476
25295
|
data: {
|
|
24477
25296
|
created_at: string;
|
|
24478
25297
|
email?: string | null;
|
|
@@ -24567,10 +25386,10 @@ declare const useClients: (queryParams?: ClientsParams["query"], options?: Optio
|
|
|
24567
25386
|
}, `${string}/${string}`>>;
|
|
24568
25387
|
|
|
24569
25388
|
type ConnectedAccountParams = paths["/v1/connected_accounts/{connected_account_id}"]["get"]["parameters"];
|
|
24570
|
-
interface Options$
|
|
25389
|
+
interface Options$v extends QueryOptionsFor<"get", "/v1/connected_accounts/{connected_account_id}"> {
|
|
24571
25390
|
client?: QueryClient;
|
|
24572
25391
|
}
|
|
24573
|
-
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<{
|
|
24574
25393
|
data: {
|
|
24575
25394
|
connection_scope: "user" | "account";
|
|
24576
25395
|
created_at: string;
|
|
@@ -24639,10 +25458,10 @@ declare const useConnectedAccount: (connected_account_id: ConnectedAccountParams
|
|
|
24639
25458
|
}, `${string}/${string}`>>;
|
|
24640
25459
|
|
|
24641
25460
|
type ConnectedAccountExternalUsersParams = paths["/v1/connected_accounts/{connected_account_id}/external_users"]["get"]["parameters"];
|
|
24642
|
-
interface Options$
|
|
25461
|
+
interface Options$u extends QueryOptionsFor<"get", "/v1/connected_accounts/{connected_account_id}/external_users"> {
|
|
24643
25462
|
client?: QueryClient;
|
|
24644
25463
|
}
|
|
24645
|
-
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<{
|
|
24646
25465
|
data: {
|
|
24647
25466
|
email: string | null;
|
|
24648
25467
|
first_name: string | null;
|
|
@@ -24728,10 +25547,10 @@ declare const useConnectedAccountExternalUsers: (connected_account_id: Connected
|
|
|
24728
25547
|
}, `${string}/${string}`>>;
|
|
24729
25548
|
|
|
24730
25549
|
type ConnectedAccountsParams = paths["/v1/connected_accounts"]["get"]["parameters"];
|
|
24731
|
-
interface Options$
|
|
25550
|
+
interface Options$t extends QueryOptionsFor<"get", "/v1/connected_accounts"> {
|
|
24732
25551
|
client?: QueryClient;
|
|
24733
25552
|
}
|
|
24734
|
-
declare const useConnectedAccounts: (queryParams?: ConnectedAccountsParams["query"], options?: Options$
|
|
25553
|
+
declare const useConnectedAccounts: (queryParams?: ConnectedAccountsParams["query"], options?: Options$t) => _tanstack_react_query.UseQueryResult<{
|
|
24735
25554
|
data: {
|
|
24736
25555
|
connection_scope: "user" | "account";
|
|
24737
25556
|
created_at: string;
|
|
@@ -24815,10 +25634,10 @@ declare const useConnectedAccounts: (queryParams?: ConnectedAccountsParams["quer
|
|
|
24815
25634
|
};
|
|
24816
25635
|
}, `${string}/${string}`>>;
|
|
24817
25636
|
|
|
24818
|
-
interface Options$
|
|
25637
|
+
interface Options$s extends QueryOptionsFor<"get", "/v1/account"> {
|
|
24819
25638
|
client?: QueryClient;
|
|
24820
25639
|
}
|
|
24821
|
-
declare const useCurrentAccount: (options?: Options$
|
|
25640
|
+
declare const useCurrentAccount: (options?: Options$s) => _tanstack_react_query.UseQueryResult<{
|
|
24822
25641
|
data?: {
|
|
24823
25642
|
created_at: string;
|
|
24824
25643
|
id: string;
|
|
@@ -24874,16 +25693,18 @@ declare const useCurrentAccount: (options?: Options$p) => _tanstack_react_query.
|
|
|
24874
25693
|
};
|
|
24875
25694
|
}, `${string}/${string}`>>;
|
|
24876
25695
|
|
|
24877
|
-
interface Options$
|
|
25696
|
+
interface Options$r extends QueryOptionsFor<"get", "/v1/user"> {
|
|
24878
25697
|
client?: QueryClient;
|
|
24879
25698
|
}
|
|
24880
|
-
declare const useCurrentAccountUser: (options?: Options$
|
|
25699
|
+
declare const useCurrentAccountUser: (options?: Options$r) => _tanstack_react_query.UseQueryResult<{
|
|
24881
25700
|
object: "account_user";
|
|
24882
25701
|
passive: boolean;
|
|
24883
25702
|
roles: {
|
|
25703
|
+
denied_permissions: string[];
|
|
24884
25704
|
id: string;
|
|
24885
25705
|
name: string;
|
|
24886
25706
|
object: "role";
|
|
25707
|
+
permissions: string[];
|
|
24887
25708
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
24888
25709
|
}[];
|
|
24889
25710
|
user: {
|
|
@@ -24905,9 +25726,11 @@ declare const useCurrentAccountUser: (options?: Options$o) => _tanstack_react_qu
|
|
|
24905
25726
|
object: "account_user";
|
|
24906
25727
|
passive: boolean;
|
|
24907
25728
|
roles: {
|
|
25729
|
+
denied_permissions: string[];
|
|
24908
25730
|
id: string;
|
|
24909
25731
|
name: string;
|
|
24910
25732
|
object: "role";
|
|
25733
|
+
permissions: string[];
|
|
24911
25734
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
24912
25735
|
}[];
|
|
24913
25736
|
user: {
|
|
@@ -24953,10 +25776,10 @@ declare const useCurrentAccountUser: (options?: Options$o) => _tanstack_react_qu
|
|
|
24953
25776
|
};
|
|
24954
25777
|
}, `${string}/${string}`>>;
|
|
24955
25778
|
|
|
24956
|
-
interface Options$
|
|
25779
|
+
interface Options$q extends QueryOptionsFor<"get", "/v1/platform"> {
|
|
24957
25780
|
client?: QueryClient;
|
|
24958
25781
|
}
|
|
24959
|
-
declare const useCurrentPlatform: (options?: Options$
|
|
25782
|
+
declare const useCurrentPlatform: (options?: Options$q) => _tanstack_react_query.UseQueryResult<{
|
|
24960
25783
|
data?: {
|
|
24961
25784
|
created_at: string;
|
|
24962
25785
|
id: string;
|
|
@@ -25013,10 +25836,10 @@ declare const useCurrentPlatform: (options?: Options$n) => _tanstack_react_query
|
|
|
25013
25836
|
}, `${string}/${string}`>>;
|
|
25014
25837
|
|
|
25015
25838
|
type EarliestPublicServiceSlotParams = paths["/v1/public/services/{service_id}/earliest_slot"]["get"]["parameters"];
|
|
25016
|
-
interface Options$
|
|
25839
|
+
interface Options$p extends QueryOptionsFor<"get", "/v1/public/services/{service_id}/earliest_slot"> {
|
|
25017
25840
|
client?: QueryClient;
|
|
25018
25841
|
}
|
|
25019
|
-
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<{
|
|
25020
25843
|
data: {
|
|
25021
25844
|
end_at: string;
|
|
25022
25845
|
end_at_ts: number;
|
|
@@ -25090,10 +25913,10 @@ declare const useEarliestPublicServiceSlot: (service_id: EarliestPublicServiceSl
|
|
|
25090
25913
|
}, `${string}/${string}`>>;
|
|
25091
25914
|
|
|
25092
25915
|
type FormParams = paths["/v1/forms/{form_id}"]["get"]["parameters"];
|
|
25093
|
-
interface Options$
|
|
25916
|
+
interface Options$o extends QueryOptionsFor<"get", "/v1/forms/{form_id}"> {
|
|
25094
25917
|
client?: QueryClient;
|
|
25095
25918
|
}
|
|
25096
|
-
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<{
|
|
25097
25920
|
data: {
|
|
25098
25921
|
created_at: string;
|
|
25099
25922
|
field_count: number;
|
|
@@ -25109,7 +25932,7 @@ declare const useForm: (form_id: FormParams["path"]["form_id"], options?: Option
|
|
|
25109
25932
|
id: string;
|
|
25110
25933
|
label: string;
|
|
25111
25934
|
}[];
|
|
25112
|
-
} | (string | null)) | null;
|
|
25935
|
+
} | (Record<string, never> | null)) | null;
|
|
25113
25936
|
position: number;
|
|
25114
25937
|
required?: boolean;
|
|
25115
25938
|
sensitive?: boolean;
|
|
@@ -25142,7 +25965,7 @@ declare const useForm: (form_id: FormParams["path"]["form_id"], options?: Option
|
|
|
25142
25965
|
id: string;
|
|
25143
25966
|
label: string;
|
|
25144
25967
|
}[];
|
|
25145
|
-
} | (string | null)) | null;
|
|
25968
|
+
} | (Record<string, never> | null)) | null;
|
|
25146
25969
|
position: number;
|
|
25147
25970
|
required?: boolean;
|
|
25148
25971
|
sensitive?: boolean;
|
|
@@ -25186,10 +26009,10 @@ declare const useForm: (form_id: FormParams["path"]["form_id"], options?: Option
|
|
|
25186
26009
|
}, `${string}/${string}`>>;
|
|
25187
26010
|
|
|
25188
26011
|
type FormsParams = paths["/v1/forms"]["get"]["parameters"];
|
|
25189
|
-
interface Options$
|
|
26012
|
+
interface Options$n extends QueryOptionsFor<"get", "/v1/forms"> {
|
|
25190
26013
|
client?: QueryClient;
|
|
25191
26014
|
}
|
|
25192
|
-
declare const useForms: (queryParams?: FormsParams["query"], options?: Options$
|
|
26015
|
+
declare const useForms: (queryParams?: FormsParams["query"], options?: Options$n) => _tanstack_react_query.UseQueryResult<{
|
|
25193
26016
|
data: {
|
|
25194
26017
|
created_at: string;
|
|
25195
26018
|
field_count: number;
|
|
@@ -25205,7 +26028,7 @@ declare const useForms: (queryParams?: FormsParams["query"], options?: Options$k
|
|
|
25205
26028
|
id: string;
|
|
25206
26029
|
label: string;
|
|
25207
26030
|
}[];
|
|
25208
|
-
} | (string | null)) | null;
|
|
26031
|
+
} | (Record<string, never> | null)) | null;
|
|
25209
26032
|
position: number;
|
|
25210
26033
|
required?: boolean;
|
|
25211
26034
|
sensitive?: boolean;
|
|
@@ -25244,7 +26067,7 @@ declare const useForms: (queryParams?: FormsParams["query"], options?: Options$k
|
|
|
25244
26067
|
id: string;
|
|
25245
26068
|
label: string;
|
|
25246
26069
|
}[];
|
|
25247
|
-
} | (string | null)) | null;
|
|
26070
|
+
} | (Record<string, never> | null)) | null;
|
|
25248
26071
|
position: number;
|
|
25249
26072
|
required?: boolean;
|
|
25250
26073
|
sensitive?: boolean;
|
|
@@ -25298,10 +26121,10 @@ declare const useForms: (queryParams?: FormsParams["query"], options?: Options$k
|
|
|
25298
26121
|
}, `${string}/${string}`>>;
|
|
25299
26122
|
|
|
25300
26123
|
type OpeningParams = paths["/v1/openings/{opening_id}"]["get"]["parameters"];
|
|
25301
|
-
interface Options$
|
|
26124
|
+
interface Options$m extends QueryOptionsFor<"get", "/v1/openings/{opening_id}"> {
|
|
25302
26125
|
client?: QueryClient;
|
|
25303
26126
|
}
|
|
25304
|
-
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<{
|
|
25305
26128
|
data: {
|
|
25306
26129
|
created_at: string;
|
|
25307
26130
|
date: string;
|
|
@@ -25366,10 +26189,10 @@ declare const useOpening: (opening_id: OpeningParams["path"]["opening_id"], opti
|
|
|
25366
26189
|
}, `${string}/${string}`>>;
|
|
25367
26190
|
|
|
25368
26191
|
type OpeningsParams = paths["/v1/openings"]["get"]["parameters"];
|
|
25369
|
-
interface Options$
|
|
26192
|
+
interface Options$l extends QueryOptionsFor<"get", "/v1/openings"> {
|
|
25370
26193
|
client?: QueryClient;
|
|
25371
26194
|
}
|
|
25372
|
-
declare const useOpenings: (queryParams?: OpeningsParams["query"], options?: Options$
|
|
26195
|
+
declare const useOpenings: (queryParams?: OpeningsParams["query"], options?: Options$l) => _tanstack_react_query.UseQueryResult<{
|
|
25373
26196
|
data: {
|
|
25374
26197
|
created_at: string;
|
|
25375
26198
|
date: string;
|
|
@@ -25464,10 +26287,10 @@ declare const useOpenings: (queryParams?: OpeningsParams["query"], options?: Opt
|
|
|
25464
26287
|
}, `${string}/${string}`>>;
|
|
25465
26288
|
|
|
25466
26289
|
type ProviderParams = paths["/v1/providers/{provider_id}"]["get"]["parameters"];
|
|
25467
|
-
interface Options$
|
|
26290
|
+
interface Options$k extends QueryOptionsFor<"get", "/v1/providers/{provider_id}"> {
|
|
25468
26291
|
client?: QueryClient;
|
|
25469
26292
|
}
|
|
25470
|
-
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<{
|
|
25471
26294
|
data: {
|
|
25472
26295
|
created_at: string;
|
|
25473
26296
|
display_name: string;
|
|
@@ -25536,10 +26359,10 @@ declare const useProvider: (provider_id: ProviderParams["path"]["provider_id"],
|
|
|
25536
26359
|
}, `${string}/${string}`>>;
|
|
25537
26360
|
|
|
25538
26361
|
type ProviderScheduleParams = paths["/v1/provider_schedules/{provider_schedule_id}"]["get"]["parameters"];
|
|
25539
|
-
interface Options$
|
|
26362
|
+
interface Options$j extends QueryOptionsFor<"get", "/v1/provider_schedules/{provider_schedule_id}"> {
|
|
25540
26363
|
client?: QueryClient;
|
|
25541
26364
|
}
|
|
25542
|
-
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<{
|
|
25543
26366
|
data: {
|
|
25544
26367
|
created_at: string;
|
|
25545
26368
|
effective_from: string;
|
|
@@ -25614,10 +26437,10 @@ declare const useProviderSchedule: (provider_schedule_id: ProviderScheduleParams
|
|
|
25614
26437
|
}, `${string}/${string}`>>;
|
|
25615
26438
|
|
|
25616
26439
|
type ProviderSchedulesParams = paths["/v1/provider_schedules"]["get"]["parameters"];
|
|
25617
|
-
interface Options$
|
|
26440
|
+
interface Options$i extends QueryOptionsFor<"get", "/v1/provider_schedules"> {
|
|
25618
26441
|
client?: QueryClient;
|
|
25619
26442
|
}
|
|
25620
|
-
declare const useProviderSchedules: (queryParams?: ProviderSchedulesParams["query"], options?: Options$
|
|
26443
|
+
declare const useProviderSchedules: (queryParams?: ProviderSchedulesParams["query"], options?: Options$i) => _tanstack_react_query.UseQueryResult<{
|
|
25621
26444
|
data: {
|
|
25622
26445
|
created_at: string;
|
|
25623
26446
|
effective_from: string;
|
|
@@ -25722,10 +26545,10 @@ declare const useProviderSchedules: (queryParams?: ProviderSchedulesParams["quer
|
|
|
25722
26545
|
}, `${string}/${string}`>>;
|
|
25723
26546
|
|
|
25724
26547
|
type ProvidersParams = paths["/v1/providers"]["get"]["parameters"];
|
|
25725
|
-
interface Options$
|
|
26548
|
+
interface Options$h extends QueryOptionsFor<"get", "/v1/providers"> {
|
|
25726
26549
|
client?: QueryClient;
|
|
25727
26550
|
}
|
|
25728
|
-
declare const useProviders: (queryParams?: ProvidersParams["query"], options?: Options$
|
|
26551
|
+
declare const useProviders: (queryParams?: ProvidersParams["query"], options?: Options$h) => _tanstack_react_query.UseQueryResult<{
|
|
25729
26552
|
data: {
|
|
25730
26553
|
created_at: string;
|
|
25731
26554
|
display_name: string;
|
|
@@ -25810,10 +26633,10 @@ declare const useProviders: (queryParams?: ProvidersParams["query"], options?: O
|
|
|
25810
26633
|
}, `${string}/${string}`>>;
|
|
25811
26634
|
|
|
25812
26635
|
type PublicAppointmentParams = paths["/v1/public/appointments/{appointment_id}"]["get"]["parameters"];
|
|
25813
|
-
interface Options$
|
|
26636
|
+
interface Options$g extends QueryOptionsFor<"get", "/v1/public/appointments/{appointment_id}"> {
|
|
25814
26637
|
client?: QueryClient;
|
|
25815
26638
|
}
|
|
25816
|
-
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<{
|
|
25817
26640
|
data: {
|
|
25818
26641
|
add_to_calendar_url: string;
|
|
25819
26642
|
cancel_url: string;
|
|
@@ -25865,10 +26688,10 @@ declare const usePublicAppointment: (appointment_id: PublicAppointmentParams["pa
|
|
|
25865
26688
|
}>;
|
|
25866
26689
|
|
|
25867
26690
|
type PublicBookingIntentParams = paths["/v1/public/booking_intents/{booking_intent_id}"]["get"]["parameters"];
|
|
25868
|
-
interface Options$
|
|
26691
|
+
interface Options$f extends QueryOptionsFor<"get", "/v1/public/booking_intents/{booking_intent_id}"> {
|
|
25869
26692
|
client?: QueryClient;
|
|
25870
26693
|
}
|
|
25871
|
-
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<{
|
|
25872
26695
|
data: {
|
|
25873
26696
|
appointment?: {
|
|
25874
26697
|
add_to_calendar_url: string;
|
|
@@ -25965,10 +26788,10 @@ declare const usePublicBookingIntent: (booking_intent_id: PublicBookingIntentPar
|
|
|
25965
26788
|
}>;
|
|
25966
26789
|
|
|
25967
26790
|
type PublicBookingIntentSlotsParams = paths["/v1/public/booking_intents/{booking_intent_id}/slots"]["get"]["parameters"];
|
|
25968
|
-
interface Options$
|
|
26791
|
+
interface Options$e extends QueryOptionsFor<"get", "/v1/public/booking_intents/{booking_intent_id}/slots"> {
|
|
25969
26792
|
client?: QueryClient;
|
|
25970
26793
|
}
|
|
25971
|
-
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<{
|
|
25972
26795
|
data: {
|
|
25973
26796
|
end_at: string;
|
|
25974
26797
|
end_at_ts: number;
|
|
@@ -26028,10 +26851,10 @@ declare const usePublicBookingIntentSlots: (booking_intent_id: PublicBookingInte
|
|
|
26028
26851
|
}, `${string}/${string}`>>;
|
|
26029
26852
|
|
|
26030
26853
|
type PublicCancellationReasonsParams = paths["/v1/public/appointments/{appointment_id}/cancellation_reasons"]["get"]["parameters"];
|
|
26031
|
-
interface Options$
|
|
26854
|
+
interface Options$d extends QueryOptionsFor<"get", "/v1/public/appointments/{appointment_id}/cancellation_reasons"> {
|
|
26032
26855
|
client?: QueryClient;
|
|
26033
26856
|
}
|
|
26034
|
-
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<{
|
|
26035
26858
|
data: {
|
|
26036
26859
|
id: string;
|
|
26037
26860
|
name: string;
|
|
@@ -26050,10 +26873,10 @@ declare const usePublicCancellationReasons: (appointment_id: PublicCancellationR
|
|
|
26050
26873
|
}>;
|
|
26051
26874
|
|
|
26052
26875
|
type PublicServiceSlotsParams = paths["/v1/public/services/{service_id}/slots"]["get"]["parameters"];
|
|
26053
|
-
interface Options$
|
|
26876
|
+
interface Options$c extends QueryOptionsFor<"get", "/v1/public/services/{service_id}/slots"> {
|
|
26054
26877
|
client?: QueryClient;
|
|
26055
26878
|
}
|
|
26056
|
-
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<{
|
|
26057
26880
|
data: {
|
|
26058
26881
|
end_at: string;
|
|
26059
26882
|
end_at_ts: number;
|
|
@@ -26126,14 +26949,76 @@ declare const usePublicServiceSlots: (service_id: PublicServiceSlotsParams["path
|
|
|
26126
26949
|
};
|
|
26127
26950
|
}, `${string}/${string}`>>;
|
|
26128
26951
|
|
|
26129
|
-
|
|
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"> {
|
|
26130
27013
|
client?: QueryClient;
|
|
26131
27014
|
}
|
|
26132
|
-
declare const useRoles: (options?: Options$
|
|
27015
|
+
declare const useRoles: (options?: Options$a) => _tanstack_react_query.UseQueryResult<{
|
|
26133
27016
|
data: {
|
|
27017
|
+
denied_permissions: string[];
|
|
26134
27018
|
id: string;
|
|
26135
27019
|
name: string;
|
|
26136
27020
|
object: "role";
|
|
27021
|
+
permissions: string[];
|
|
26137
27022
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
26138
27023
|
}[];
|
|
26139
27024
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
@@ -26144,9 +27029,11 @@ declare const useRoles: (options?: Options$8) => _tanstack_react_query.UseQueryR
|
|
|
26144
27029
|
content: {
|
|
26145
27030
|
"application/json": {
|
|
26146
27031
|
data: {
|
|
27032
|
+
denied_permissions: string[];
|
|
26147
27033
|
id: string;
|
|
26148
27034
|
name: string;
|
|
26149
27035
|
object: "role";
|
|
27036
|
+
permissions: string[];
|
|
26150
27037
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
26151
27038
|
}[];
|
|
26152
27039
|
};
|
|
@@ -26185,6 +27072,117 @@ declare const useRoles: (options?: Options$8) => _tanstack_react_query.UseQueryR
|
|
|
26185
27072
|
};
|
|
26186
27073
|
}, `${string}/${string}`>>;
|
|
26187
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
|
+
|
|
26188
27186
|
type ServiceParams = paths["/v1/services/{service_id}"]["get"]["parameters"];
|
|
26189
27187
|
interface Options$7 extends QueryOptionsFor<"get", "/v1/services/{service_id}"> {
|
|
26190
27188
|
client?: QueryClient;
|
|
@@ -27207,4 +28205,4 @@ declare const useUserMappings: (connected_account_id: UserMappingsParams["path"]
|
|
|
27207
28205
|
};
|
|
27208
28206
|
}, `${string}/${string}`>>;
|
|
27209
28207
|
|
|
27210
|
-
export { type MutationOptionsFor, type QueryClient, type QueryOptionsFor, SavvyCalProvider, type SavvyCalProviderProps, createQueryClient, useAbandonBookingIntent, useAbandonPublicBookingIntent, useAccountById, useAccountUsers, useAccounts, useAppointment, useAppointments, useAttachServiceForm, useBlock, useBlocks, useBookingIntent, useBookingIntentSlots, useBookingIntents, useBookingLink, useBookingLinks, useCancelAppointment, useCancelPublicAppointment, useCancellationReason, useCancellationReasons, useClearServiceConferencing, useClearServiceProviderConferencing, useClient, useClientField, useClientFields, useClients, useCompleteBookingIntent, useCompletePublicBookingIntent, useConfirmAppointment, useConnectedAccount, useConnectedAccountExternalUsers, useConnectedAccounts, useCreateAccount, useCreateAccountUser, useCreateAppointment, useCreateBlock, useCreateBookingIntent, useCreateBookingLink, useCreateCancellationReason, useCreateClient, useCreateClientField, useCreateDashboardSession, useCreateForm, useCreateOpening, useCreateProvider, useCreateProviderSchedule, useCreatePublicAppointment, useCreatePublicBookingIntent, useCreateService, useCreateServiceProvider, useCurrentAccount, useCurrentAccountUser, useCurrentPlatform, useDeactivateProvider, useDeleteBlock, useDeleteBookingLink, useDeleteCancellationReason, useDeleteClient, useDeleteClientField, useDeleteConnectedAccount, useDeleteForm, useDeleteOpening, useDeleteProviderSchedule, useDeleteService, useDeleteServiceProvider, useDeleteUserMapping, useDetachServiceForm, useEarliestPublicServiceSlot, useForm, useForms, useOpening, useOpenings, useProvider, useProviderSchedule, useProviderSchedules, useProviders, usePublicAppointment, usePublicBookingIntent, usePublicBookingIntentSlots, usePublicCancellationReasons, usePublicServiceSlots, useRescheduleAppointment, useReschedulePublicAppointment, useRoles, useSavvyCalFetchClient, useSavvyCalQueryClient, useService, useServiceForms, useServiceProviderConferencing, useServiceProviders, useServiceSlots, useServices, useSetServiceConferencing, useSetServiceProviderConferencing, useSetUserMapping, useSortServiceForms, useSyncConnectedAccountExternalUsers, useSyncServiceConferencing, useUpdateAccount, useUpdateAccountUser, useUpdateBlock, useUpdateBookingIntent, useUpdateBookingLink, useUpdateCancellationReason, useUpdateClient, useUpdateClientField, useUpdateConnectedAccount, useUpdateForm, useUpdateOpening, useUpdateProvider, useUpdateProviderSchedule, useUpdatePublicBookingIntent, useUpdateService, useUserMapping, useUserMappings };
|
|
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 };
|