@savvycal/appointments-react-query 1.2.1 → 1.2.3
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 +38 -0
- package/dist/index.d.cts +1915 -397
- package/dist/index.d.ts +1915 -397
- package/dist/index.js +36 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -51,10 +51,10 @@ type GetResponseData<Path extends keyof paths, Method extends HttpMethod, Media
|
|
|
51
51
|
type GetResponseError<Path extends keyof paths, Method extends HttpMethod, Media extends MediaType> = Path extends keyof paths ? Method extends keyof paths[Path] ? paths[Path][Method] extends infer Operation ? Operation extends Record<string, any> ? Required<FetchResponse<Operation, MaybeOptionalInit<paths[Path], Method>, Media>>["error"] : never : never : never : never;
|
|
52
52
|
type QueryKey<Path extends keyof paths, Method extends HttpMethod, Init = MaybeOptionalInit<paths[Path], Method>> = Init extends undefined ? readonly [Method, Path] : readonly [Method, Path, Init];
|
|
53
53
|
|
|
54
|
-
interface Options$
|
|
54
|
+
interface Options$1p 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$1p) => _tanstack_react_query.UseMutationResult<{
|
|
58
58
|
data: {
|
|
59
59
|
abandoned_at?: string | null;
|
|
60
60
|
appointment?: {
|
|
@@ -71,7 +71,7 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
71
71
|
initiated_by: "user" | "client";
|
|
72
72
|
object: "cancellation_event";
|
|
73
73
|
occurred_at: string;
|
|
74
|
-
source: "client_ui" | "dashboard" | "api";
|
|
74
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
75
75
|
}[];
|
|
76
76
|
client: {
|
|
77
77
|
created_at: string;
|
|
@@ -113,7 +113,7 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
113
113
|
initiated_by: "user" | "client";
|
|
114
114
|
object: "confirmation_event";
|
|
115
115
|
occurred_at: string;
|
|
116
|
-
source: "client_ui" | "dashboard" | "api";
|
|
116
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
117
117
|
start_at: {
|
|
118
118
|
local: string;
|
|
119
119
|
object: "zoned_date_time";
|
|
@@ -132,6 +132,16 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
132
132
|
utc: string;
|
|
133
133
|
};
|
|
134
134
|
id: string;
|
|
135
|
+
meeting: {
|
|
136
|
+
conferencing_provider: string | null;
|
|
137
|
+
error_message: string | null;
|
|
138
|
+
external_meeting_id: string | null;
|
|
139
|
+
id: string;
|
|
140
|
+
join_url: string | null;
|
|
141
|
+
object: "appointment_meeting";
|
|
142
|
+
password: string | null;
|
|
143
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
144
|
+
} | null;
|
|
135
145
|
object: "appointment";
|
|
136
146
|
provider: {
|
|
137
147
|
created_at: string;
|
|
@@ -145,6 +155,19 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
145
155
|
object: "provider";
|
|
146
156
|
updated_at: string;
|
|
147
157
|
};
|
|
158
|
+
providers: {
|
|
159
|
+
created_at: string;
|
|
160
|
+
display_name: string;
|
|
161
|
+
first_name: string;
|
|
162
|
+
id: string;
|
|
163
|
+
last_name: string;
|
|
164
|
+
metadata?: {
|
|
165
|
+
[key: string]: unknown;
|
|
166
|
+
};
|
|
167
|
+
object: "provider";
|
|
168
|
+
role: "primary" | "secondary";
|
|
169
|
+
updated_at: string;
|
|
170
|
+
}[];
|
|
148
171
|
reschedule_events: {
|
|
149
172
|
actor: string | null;
|
|
150
173
|
initiated_by: "user" | "client";
|
|
@@ -178,7 +201,7 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
178
201
|
unix_ts: number;
|
|
179
202
|
utc: string;
|
|
180
203
|
};
|
|
181
|
-
source: "client_ui" | "dashboard" | "api";
|
|
204
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
182
205
|
}[];
|
|
183
206
|
service: {
|
|
184
207
|
appointment_type: "in_person" | "virtual";
|
|
@@ -323,7 +346,7 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
323
346
|
}[] | null;
|
|
324
347
|
hold_until?: string | null;
|
|
325
348
|
id: string;
|
|
326
|
-
locked_fields?: ("service_id" | "provider_id" | "
|
|
349
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
327
350
|
metadata?: {
|
|
328
351
|
[key: string]: unknown;
|
|
329
352
|
};
|
|
@@ -352,6 +375,18 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
352
375
|
form_id: string;
|
|
353
376
|
}[];
|
|
354
377
|
} | null;
|
|
378
|
+
secondary_providers?: {
|
|
379
|
+
created_at: string;
|
|
380
|
+
display_name: string;
|
|
381
|
+
first_name: string;
|
|
382
|
+
id: string;
|
|
383
|
+
last_name: string;
|
|
384
|
+
metadata?: {
|
|
385
|
+
[key: string]: unknown;
|
|
386
|
+
};
|
|
387
|
+
object: "provider";
|
|
388
|
+
updated_at: string;
|
|
389
|
+
}[] | null;
|
|
355
390
|
service?: {
|
|
356
391
|
appointment_type: "in_person" | "virtual";
|
|
357
392
|
booking_policy: {
|
|
@@ -443,7 +478,7 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
443
478
|
available_steps: string[];
|
|
444
479
|
can_change_slot: boolean;
|
|
445
480
|
can_complete: boolean;
|
|
446
|
-
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
481
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
447
482
|
is_defunct: boolean;
|
|
448
483
|
resume_step: string;
|
|
449
484
|
} | null;
|
|
@@ -471,7 +506,7 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
471
506
|
initiated_by: "user" | "client";
|
|
472
507
|
object: "cancellation_event";
|
|
473
508
|
occurred_at: string;
|
|
474
|
-
source: "client_ui" | "dashboard" | "api";
|
|
509
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
475
510
|
}[];
|
|
476
511
|
client: {
|
|
477
512
|
created_at: string;
|
|
@@ -513,7 +548,7 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
513
548
|
initiated_by: "user" | "client";
|
|
514
549
|
object: "confirmation_event";
|
|
515
550
|
occurred_at: string;
|
|
516
|
-
source: "client_ui" | "dashboard" | "api";
|
|
551
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
517
552
|
start_at: {
|
|
518
553
|
local: string;
|
|
519
554
|
object: "zoned_date_time";
|
|
@@ -532,6 +567,16 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
532
567
|
utc: string;
|
|
533
568
|
};
|
|
534
569
|
id: string;
|
|
570
|
+
meeting: {
|
|
571
|
+
conferencing_provider: string | null;
|
|
572
|
+
error_message: string | null;
|
|
573
|
+
external_meeting_id: string | null;
|
|
574
|
+
id: string;
|
|
575
|
+
join_url: string | null;
|
|
576
|
+
object: "appointment_meeting";
|
|
577
|
+
password: string | null;
|
|
578
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
579
|
+
} | null;
|
|
535
580
|
object: "appointment";
|
|
536
581
|
provider: {
|
|
537
582
|
created_at: string;
|
|
@@ -545,6 +590,19 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
545
590
|
object: "provider";
|
|
546
591
|
updated_at: string;
|
|
547
592
|
};
|
|
593
|
+
providers: {
|
|
594
|
+
created_at: string;
|
|
595
|
+
display_name: string;
|
|
596
|
+
first_name: string;
|
|
597
|
+
id: string;
|
|
598
|
+
last_name: string;
|
|
599
|
+
metadata?: {
|
|
600
|
+
[key: string]: unknown;
|
|
601
|
+
};
|
|
602
|
+
object: "provider";
|
|
603
|
+
role: "primary" | "secondary";
|
|
604
|
+
updated_at: string;
|
|
605
|
+
}[];
|
|
548
606
|
reschedule_events: {
|
|
549
607
|
actor: string | null;
|
|
550
608
|
initiated_by: "user" | "client";
|
|
@@ -578,7 +636,7 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
578
636
|
unix_ts: number;
|
|
579
637
|
utc: string;
|
|
580
638
|
};
|
|
581
|
-
source: "client_ui" | "dashboard" | "api";
|
|
639
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
582
640
|
}[];
|
|
583
641
|
service: {
|
|
584
642
|
appointment_type: "in_person" | "virtual";
|
|
@@ -723,7 +781,7 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
723
781
|
}[] | null;
|
|
724
782
|
hold_until?: string | null;
|
|
725
783
|
id: string;
|
|
726
|
-
locked_fields?: ("service_id" | "provider_id" | "
|
|
784
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
727
785
|
metadata?: {
|
|
728
786
|
[key: string]: unknown;
|
|
729
787
|
};
|
|
@@ -752,6 +810,18 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
752
810
|
form_id: string;
|
|
753
811
|
}[];
|
|
754
812
|
} | null;
|
|
813
|
+
secondary_providers?: {
|
|
814
|
+
created_at: string;
|
|
815
|
+
display_name: string;
|
|
816
|
+
first_name: string;
|
|
817
|
+
id: string;
|
|
818
|
+
last_name: string;
|
|
819
|
+
metadata?: {
|
|
820
|
+
[key: string]: unknown;
|
|
821
|
+
};
|
|
822
|
+
object: "provider";
|
|
823
|
+
updated_at: string;
|
|
824
|
+
}[] | null;
|
|
755
825
|
service?: {
|
|
756
826
|
appointment_type: "in_person" | "virtual";
|
|
757
827
|
booking_policy: {
|
|
@@ -843,7 +913,7 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
843
913
|
available_steps: string[];
|
|
844
914
|
can_change_slot: boolean;
|
|
845
915
|
can_complete: boolean;
|
|
846
|
-
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
916
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
847
917
|
is_defunct: boolean;
|
|
848
918
|
resume_step: string;
|
|
849
919
|
} | null;
|
|
@@ -930,7 +1000,7 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
930
1000
|
initiated_by: "user" | "client";
|
|
931
1001
|
object: "cancellation_event";
|
|
932
1002
|
occurred_at: string;
|
|
933
|
-
source: "client_ui" | "dashboard" | "api";
|
|
1003
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
934
1004
|
}[];
|
|
935
1005
|
client: {
|
|
936
1006
|
created_at: string;
|
|
@@ -972,7 +1042,7 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
972
1042
|
initiated_by: "user" | "client";
|
|
973
1043
|
object: "confirmation_event";
|
|
974
1044
|
occurred_at: string;
|
|
975
|
-
source: "client_ui" | "dashboard" | "api";
|
|
1045
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
976
1046
|
start_at: {
|
|
977
1047
|
local: string;
|
|
978
1048
|
object: "zoned_date_time";
|
|
@@ -991,6 +1061,16 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
991
1061
|
utc: string;
|
|
992
1062
|
};
|
|
993
1063
|
id: string;
|
|
1064
|
+
meeting: {
|
|
1065
|
+
conferencing_provider: string | null;
|
|
1066
|
+
error_message: string | null;
|
|
1067
|
+
external_meeting_id: string | null;
|
|
1068
|
+
id: string;
|
|
1069
|
+
join_url: string | null;
|
|
1070
|
+
object: "appointment_meeting";
|
|
1071
|
+
password: string | null;
|
|
1072
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
1073
|
+
} | null;
|
|
994
1074
|
object: "appointment";
|
|
995
1075
|
provider: {
|
|
996
1076
|
created_at: string;
|
|
@@ -1004,6 +1084,19 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
1004
1084
|
object: "provider";
|
|
1005
1085
|
updated_at: string;
|
|
1006
1086
|
};
|
|
1087
|
+
providers: {
|
|
1088
|
+
created_at: string;
|
|
1089
|
+
display_name: string;
|
|
1090
|
+
first_name: string;
|
|
1091
|
+
id: string;
|
|
1092
|
+
last_name: string;
|
|
1093
|
+
metadata?: {
|
|
1094
|
+
[key: string]: unknown;
|
|
1095
|
+
};
|
|
1096
|
+
object: "provider";
|
|
1097
|
+
role: "primary" | "secondary";
|
|
1098
|
+
updated_at: string;
|
|
1099
|
+
}[];
|
|
1007
1100
|
reschedule_events: {
|
|
1008
1101
|
actor: string | null;
|
|
1009
1102
|
initiated_by: "user" | "client";
|
|
@@ -1037,7 +1130,7 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
1037
1130
|
unix_ts: number;
|
|
1038
1131
|
utc: string;
|
|
1039
1132
|
};
|
|
1040
|
-
source: "client_ui" | "dashboard" | "api";
|
|
1133
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
1041
1134
|
}[];
|
|
1042
1135
|
service: {
|
|
1043
1136
|
appointment_type: "in_person" | "virtual";
|
|
@@ -1182,7 +1275,7 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
1182
1275
|
}[] | null;
|
|
1183
1276
|
hold_until?: string | null;
|
|
1184
1277
|
id: string;
|
|
1185
|
-
locked_fields?: ("service_id" | "provider_id" | "
|
|
1278
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
1186
1279
|
metadata?: {
|
|
1187
1280
|
[key: string]: unknown;
|
|
1188
1281
|
};
|
|
@@ -1211,6 +1304,18 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
1211
1304
|
form_id: string;
|
|
1212
1305
|
}[];
|
|
1213
1306
|
} | null;
|
|
1307
|
+
secondary_providers?: {
|
|
1308
|
+
created_at: string;
|
|
1309
|
+
display_name: string;
|
|
1310
|
+
first_name: string;
|
|
1311
|
+
id: string;
|
|
1312
|
+
last_name: string;
|
|
1313
|
+
metadata?: {
|
|
1314
|
+
[key: string]: unknown;
|
|
1315
|
+
};
|
|
1316
|
+
object: "provider";
|
|
1317
|
+
updated_at: string;
|
|
1318
|
+
}[] | null;
|
|
1214
1319
|
service?: {
|
|
1215
1320
|
appointment_type: "in_person" | "virtual";
|
|
1216
1321
|
booking_policy: {
|
|
@@ -1302,7 +1407,7 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
1302
1407
|
available_steps: string[];
|
|
1303
1408
|
can_change_slot: boolean;
|
|
1304
1409
|
can_complete: boolean;
|
|
1305
|
-
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
1410
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
1306
1411
|
is_defunct: boolean;
|
|
1307
1412
|
resume_step: string;
|
|
1308
1413
|
} | null;
|
|
@@ -1357,10 +1462,10 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
1357
1462
|
};
|
|
1358
1463
|
}>>;
|
|
1359
1464
|
|
|
1360
|
-
interface Options$
|
|
1465
|
+
interface Options$1o extends MutationOptionsFor<"post", "/v1/public/booking_intents/{booking_intent_id}/abandon"> {
|
|
1361
1466
|
client?: QueryClient;
|
|
1362
1467
|
}
|
|
1363
|
-
declare const useAbandonPublicBookingIntent: (options?: Options$
|
|
1468
|
+
declare const useAbandonPublicBookingIntent: (options?: Options$1o) => _tanstack_react_query.UseMutationResult<{
|
|
1364
1469
|
data: {
|
|
1365
1470
|
appointment?: {
|
|
1366
1471
|
cancellation: {
|
|
@@ -1414,7 +1519,7 @@ declare const useAbandonPublicBookingIntent: (options?: Options$1m) => _tanstack
|
|
|
1414
1519
|
}[] | null;
|
|
1415
1520
|
hold_until?: string | null;
|
|
1416
1521
|
id: string;
|
|
1417
|
-
locked_fields?: ("service_id" | "provider_id" | "
|
|
1522
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
1418
1523
|
object: "public_booking_intent";
|
|
1419
1524
|
requirements?: {
|
|
1420
1525
|
booking: {
|
|
@@ -1440,21 +1545,136 @@ declare const useAbandonPublicBookingIntent: (options?: Options$1m) => _tanstack
|
|
|
1440
1545
|
available_steps: string[];
|
|
1441
1546
|
can_change_slot: boolean;
|
|
1442
1547
|
can_complete: boolean;
|
|
1443
|
-
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
1548
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
1444
1549
|
is_defunct: boolean;
|
|
1445
1550
|
resume_step: string;
|
|
1446
1551
|
};
|
|
1447
1552
|
};
|
|
1448
|
-
}, {
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
source: {
|
|
1453
|
-
pointer: string;
|
|
1553
|
+
}, openapi_typescript_helpers.ErrorResponse<{
|
|
1554
|
+
200: {
|
|
1555
|
+
headers: {
|
|
1556
|
+
[name: string]: unknown;
|
|
1454
1557
|
};
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1558
|
+
content: {
|
|
1559
|
+
"application/json": {
|
|
1560
|
+
data: {
|
|
1561
|
+
appointment?: {
|
|
1562
|
+
cancellation: {
|
|
1563
|
+
allowed: boolean;
|
|
1564
|
+
disabled_message: string | null;
|
|
1565
|
+
};
|
|
1566
|
+
confirmed_at: string | null;
|
|
1567
|
+
end_at: {
|
|
1568
|
+
local: string;
|
|
1569
|
+
object: "zoned_date_time";
|
|
1570
|
+
time_zone: string;
|
|
1571
|
+
unix_ts: number;
|
|
1572
|
+
utc: string;
|
|
1573
|
+
};
|
|
1574
|
+
id: string;
|
|
1575
|
+
object: "public_appointment";
|
|
1576
|
+
rescheduling: {
|
|
1577
|
+
allowed: boolean;
|
|
1578
|
+
disabled_message: string | null;
|
|
1579
|
+
};
|
|
1580
|
+
start_at: {
|
|
1581
|
+
local: string;
|
|
1582
|
+
object: "zoned_date_time";
|
|
1583
|
+
time_zone: string;
|
|
1584
|
+
unix_ts: number;
|
|
1585
|
+
utc: string;
|
|
1586
|
+
};
|
|
1587
|
+
status: "scheduled" | "canceled";
|
|
1588
|
+
urls: {
|
|
1589
|
+
add_to_calendar: string[];
|
|
1590
|
+
add_to_google_calendar: string[];
|
|
1591
|
+
cancel: string[];
|
|
1592
|
+
ics: string[];
|
|
1593
|
+
reschedule: string[];
|
|
1594
|
+
};
|
|
1595
|
+
} | null;
|
|
1596
|
+
end_at?: {
|
|
1597
|
+
local: string;
|
|
1598
|
+
object: "zoned_date_time";
|
|
1599
|
+
time_zone: string;
|
|
1600
|
+
unix_ts: number;
|
|
1601
|
+
utc: string;
|
|
1602
|
+
} | null;
|
|
1603
|
+
errors?: {
|
|
1604
|
+
code?: string | null;
|
|
1605
|
+
detail: string;
|
|
1606
|
+
source: {
|
|
1607
|
+
pointer: string;
|
|
1608
|
+
};
|
|
1609
|
+
title: string;
|
|
1610
|
+
}[] | null;
|
|
1611
|
+
hold_until?: string | null;
|
|
1612
|
+
id: string;
|
|
1613
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
1614
|
+
object: "public_booking_intent";
|
|
1615
|
+
requirements?: {
|
|
1616
|
+
booking: {
|
|
1617
|
+
complete: boolean;
|
|
1618
|
+
};
|
|
1619
|
+
info: {
|
|
1620
|
+
complete: boolean;
|
|
1621
|
+
};
|
|
1622
|
+
submissions: {
|
|
1623
|
+
complete: boolean;
|
|
1624
|
+
form_id: string;
|
|
1625
|
+
}[];
|
|
1626
|
+
};
|
|
1627
|
+
start_at?: {
|
|
1628
|
+
local: string;
|
|
1629
|
+
object: "zoned_date_time";
|
|
1630
|
+
time_zone: string;
|
|
1631
|
+
unix_ts: number;
|
|
1632
|
+
utc: string;
|
|
1633
|
+
} | null;
|
|
1634
|
+
status: "pending" | "slot_selected" | "completed" | "abandoned";
|
|
1635
|
+
workflow?: {
|
|
1636
|
+
available_steps: string[];
|
|
1637
|
+
can_change_slot: boolean;
|
|
1638
|
+
can_complete: boolean;
|
|
1639
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
1640
|
+
is_defunct: boolean;
|
|
1641
|
+
resume_step: string;
|
|
1642
|
+
};
|
|
1643
|
+
};
|
|
1644
|
+
};
|
|
1645
|
+
};
|
|
1646
|
+
};
|
|
1647
|
+
404: {
|
|
1648
|
+
headers: {
|
|
1649
|
+
[name: string]: unknown;
|
|
1650
|
+
};
|
|
1651
|
+
content: {
|
|
1652
|
+
"application/json": {
|
|
1653
|
+
errors: {
|
|
1654
|
+
detail: "Not Found";
|
|
1655
|
+
status: "404";
|
|
1656
|
+
}[];
|
|
1657
|
+
};
|
|
1658
|
+
};
|
|
1659
|
+
};
|
|
1660
|
+
422: {
|
|
1661
|
+
headers: {
|
|
1662
|
+
[name: string]: unknown;
|
|
1663
|
+
};
|
|
1664
|
+
content: {
|
|
1665
|
+
"application/json": {
|
|
1666
|
+
errors: {
|
|
1667
|
+
code?: string | null;
|
|
1668
|
+
detail: string;
|
|
1669
|
+
source: {
|
|
1670
|
+
pointer: string;
|
|
1671
|
+
};
|
|
1672
|
+
title: string;
|
|
1673
|
+
}[];
|
|
1674
|
+
};
|
|
1675
|
+
};
|
|
1676
|
+
};
|
|
1677
|
+
}, `${string}/${string}`>, openapi_fetch.FetchOptions<{
|
|
1458
1678
|
parameters: {
|
|
1459
1679
|
query?: never;
|
|
1460
1680
|
header?: never;
|
|
@@ -1524,7 +1744,7 @@ declare const useAbandonPublicBookingIntent: (options?: Options$1m) => _tanstack
|
|
|
1524
1744
|
}[] | null;
|
|
1525
1745
|
hold_until?: string | null;
|
|
1526
1746
|
id: string;
|
|
1527
|
-
locked_fields?: ("service_id" | "provider_id" | "
|
|
1747
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
1528
1748
|
object: "public_booking_intent";
|
|
1529
1749
|
requirements?: {
|
|
1530
1750
|
booking: {
|
|
@@ -1550,7 +1770,7 @@ declare const useAbandonPublicBookingIntent: (options?: Options$1m) => _tanstack
|
|
|
1550
1770
|
available_steps: string[];
|
|
1551
1771
|
can_change_slot: boolean;
|
|
1552
1772
|
can_complete: boolean;
|
|
1553
|
-
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
1773
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
1554
1774
|
is_defunct: boolean;
|
|
1555
1775
|
resume_step: string;
|
|
1556
1776
|
};
|
|
@@ -1565,12 +1785,8 @@ declare const useAbandonPublicBookingIntent: (options?: Options$1m) => _tanstack
|
|
|
1565
1785
|
content: {
|
|
1566
1786
|
"application/json": {
|
|
1567
1787
|
errors: {
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
source: {
|
|
1571
|
-
pointer: string;
|
|
1572
|
-
};
|
|
1573
|
-
title: string;
|
|
1788
|
+
detail: "Not Found";
|
|
1789
|
+
status: "404";
|
|
1574
1790
|
}[];
|
|
1575
1791
|
};
|
|
1576
1792
|
};
|
|
@@ -1595,10 +1811,10 @@ declare const useAbandonPublicBookingIntent: (options?: Options$1m) => _tanstack
|
|
|
1595
1811
|
};
|
|
1596
1812
|
}>>;
|
|
1597
1813
|
|
|
1598
|
-
interface Options$
|
|
1814
|
+
interface Options$1n extends MutationOptionsFor<"post", "/v1/services/{service_id}/forms"> {
|
|
1599
1815
|
client?: QueryClient;
|
|
1600
1816
|
}
|
|
1601
|
-
declare const useAttachServiceForm: (options?: Options$
|
|
1817
|
+
declare const useAttachServiceForm: (options?: Options$1n) => _tanstack_react_query.UseMutationResult<{
|
|
1602
1818
|
data: {
|
|
1603
1819
|
created_at: string;
|
|
1604
1820
|
form_id: string;
|
|
@@ -1755,10 +1971,10 @@ declare const useAttachServiceForm: (options?: Options$1l) => _tanstack_react_qu
|
|
|
1755
1971
|
};
|
|
1756
1972
|
}>>;
|
|
1757
1973
|
|
|
1758
|
-
interface Options$
|
|
1974
|
+
interface Options$1m extends MutationOptionsFor<"post", "/v1/appointments/{appointment_id}/cancel"> {
|
|
1759
1975
|
client?: QueryClient;
|
|
1760
1976
|
}
|
|
1761
|
-
declare const useCancelAppointment: (options?: Options$
|
|
1977
|
+
declare const useCancelAppointment: (options?: Options$1m) => _tanstack_react_query.UseMutationResult<{
|
|
1762
1978
|
data: {
|
|
1763
1979
|
appointment_type: "in_person" | "virtual";
|
|
1764
1980
|
cancellation_events: {
|
|
@@ -1773,7 +1989,7 @@ declare const useCancelAppointment: (options?: Options$1k) => _tanstack_react_qu
|
|
|
1773
1989
|
initiated_by: "user" | "client";
|
|
1774
1990
|
object: "cancellation_event";
|
|
1775
1991
|
occurred_at: string;
|
|
1776
|
-
source: "client_ui" | "dashboard" | "api";
|
|
1992
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
1777
1993
|
}[];
|
|
1778
1994
|
client: {
|
|
1779
1995
|
created_at: string;
|
|
@@ -1815,7 +2031,7 @@ declare const useCancelAppointment: (options?: Options$1k) => _tanstack_react_qu
|
|
|
1815
2031
|
initiated_by: "user" | "client";
|
|
1816
2032
|
object: "confirmation_event";
|
|
1817
2033
|
occurred_at: string;
|
|
1818
|
-
source: "client_ui" | "dashboard" | "api";
|
|
2034
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
1819
2035
|
start_at: {
|
|
1820
2036
|
local: string;
|
|
1821
2037
|
object: "zoned_date_time";
|
|
@@ -1834,6 +2050,16 @@ declare const useCancelAppointment: (options?: Options$1k) => _tanstack_react_qu
|
|
|
1834
2050
|
utc: string;
|
|
1835
2051
|
};
|
|
1836
2052
|
id: string;
|
|
2053
|
+
meeting: {
|
|
2054
|
+
conferencing_provider: string | null;
|
|
2055
|
+
error_message: string | null;
|
|
2056
|
+
external_meeting_id: string | null;
|
|
2057
|
+
id: string;
|
|
2058
|
+
join_url: string | null;
|
|
2059
|
+
object: "appointment_meeting";
|
|
2060
|
+
password: string | null;
|
|
2061
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
2062
|
+
} | null;
|
|
1837
2063
|
object: "appointment";
|
|
1838
2064
|
provider: {
|
|
1839
2065
|
created_at: string;
|
|
@@ -1847,6 +2073,19 @@ declare const useCancelAppointment: (options?: Options$1k) => _tanstack_react_qu
|
|
|
1847
2073
|
object: "provider";
|
|
1848
2074
|
updated_at: string;
|
|
1849
2075
|
};
|
|
2076
|
+
providers: {
|
|
2077
|
+
created_at: string;
|
|
2078
|
+
display_name: string;
|
|
2079
|
+
first_name: string;
|
|
2080
|
+
id: string;
|
|
2081
|
+
last_name: string;
|
|
2082
|
+
metadata?: {
|
|
2083
|
+
[key: string]: unknown;
|
|
2084
|
+
};
|
|
2085
|
+
object: "provider";
|
|
2086
|
+
role: "primary" | "secondary";
|
|
2087
|
+
updated_at: string;
|
|
2088
|
+
}[];
|
|
1850
2089
|
reschedule_events: {
|
|
1851
2090
|
actor: string | null;
|
|
1852
2091
|
initiated_by: "user" | "client";
|
|
@@ -1880,7 +2119,7 @@ declare const useCancelAppointment: (options?: Options$1k) => _tanstack_react_qu
|
|
|
1880
2119
|
unix_ts: number;
|
|
1881
2120
|
utc: string;
|
|
1882
2121
|
};
|
|
1883
|
-
source: "client_ui" | "dashboard" | "api";
|
|
2122
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
1884
2123
|
}[];
|
|
1885
2124
|
service: {
|
|
1886
2125
|
appointment_type: "in_person" | "virtual";
|
|
@@ -1993,7 +2232,7 @@ declare const useCancelAppointment: (options?: Options$1k) => _tanstack_react_qu
|
|
|
1993
2232
|
initiated_by: "user" | "client";
|
|
1994
2233
|
object: "cancellation_event";
|
|
1995
2234
|
occurred_at: string;
|
|
1996
|
-
source: "client_ui" | "dashboard" | "api";
|
|
2235
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
1997
2236
|
}[];
|
|
1998
2237
|
client: {
|
|
1999
2238
|
created_at: string;
|
|
@@ -2035,7 +2274,7 @@ declare const useCancelAppointment: (options?: Options$1k) => _tanstack_react_qu
|
|
|
2035
2274
|
initiated_by: "user" | "client";
|
|
2036
2275
|
object: "confirmation_event";
|
|
2037
2276
|
occurred_at: string;
|
|
2038
|
-
source: "client_ui" | "dashboard" | "api";
|
|
2277
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
2039
2278
|
start_at: {
|
|
2040
2279
|
local: string;
|
|
2041
2280
|
object: "zoned_date_time";
|
|
@@ -2054,6 +2293,16 @@ declare const useCancelAppointment: (options?: Options$1k) => _tanstack_react_qu
|
|
|
2054
2293
|
utc: string;
|
|
2055
2294
|
};
|
|
2056
2295
|
id: string;
|
|
2296
|
+
meeting: {
|
|
2297
|
+
conferencing_provider: string | null;
|
|
2298
|
+
error_message: string | null;
|
|
2299
|
+
external_meeting_id: string | null;
|
|
2300
|
+
id: string;
|
|
2301
|
+
join_url: string | null;
|
|
2302
|
+
object: "appointment_meeting";
|
|
2303
|
+
password: string | null;
|
|
2304
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
2305
|
+
} | null;
|
|
2057
2306
|
object: "appointment";
|
|
2058
2307
|
provider: {
|
|
2059
2308
|
created_at: string;
|
|
@@ -2067,6 +2316,19 @@ declare const useCancelAppointment: (options?: Options$1k) => _tanstack_react_qu
|
|
|
2067
2316
|
object: "provider";
|
|
2068
2317
|
updated_at: string;
|
|
2069
2318
|
};
|
|
2319
|
+
providers: {
|
|
2320
|
+
created_at: string;
|
|
2321
|
+
display_name: string;
|
|
2322
|
+
first_name: string;
|
|
2323
|
+
id: string;
|
|
2324
|
+
last_name: string;
|
|
2325
|
+
metadata?: {
|
|
2326
|
+
[key: string]: unknown;
|
|
2327
|
+
};
|
|
2328
|
+
object: "provider";
|
|
2329
|
+
role: "primary" | "secondary";
|
|
2330
|
+
updated_at: string;
|
|
2331
|
+
}[];
|
|
2070
2332
|
reschedule_events: {
|
|
2071
2333
|
actor: string | null;
|
|
2072
2334
|
initiated_by: "user" | "client";
|
|
@@ -2100,7 +2362,7 @@ declare const useCancelAppointment: (options?: Options$1k) => _tanstack_react_qu
|
|
|
2100
2362
|
unix_ts: number;
|
|
2101
2363
|
utc: string;
|
|
2102
2364
|
};
|
|
2103
|
-
source: "client_ui" | "dashboard" | "api";
|
|
2365
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
2104
2366
|
}[];
|
|
2105
2367
|
service: {
|
|
2106
2368
|
appointment_type: "in_person" | "virtual";
|
|
@@ -2267,7 +2529,7 @@ declare const useCancelAppointment: (options?: Options$1k) => _tanstack_react_qu
|
|
|
2267
2529
|
initiated_by: "user" | "client";
|
|
2268
2530
|
object: "cancellation_event";
|
|
2269
2531
|
occurred_at: string;
|
|
2270
|
-
source: "client_ui" | "dashboard" | "api";
|
|
2532
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
2271
2533
|
}[];
|
|
2272
2534
|
client: {
|
|
2273
2535
|
created_at: string;
|
|
@@ -2309,7 +2571,7 @@ declare const useCancelAppointment: (options?: Options$1k) => _tanstack_react_qu
|
|
|
2309
2571
|
initiated_by: "user" | "client";
|
|
2310
2572
|
object: "confirmation_event";
|
|
2311
2573
|
occurred_at: string;
|
|
2312
|
-
source: "client_ui" | "dashboard" | "api";
|
|
2574
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
2313
2575
|
start_at: {
|
|
2314
2576
|
local: string;
|
|
2315
2577
|
object: "zoned_date_time";
|
|
@@ -2328,6 +2590,16 @@ declare const useCancelAppointment: (options?: Options$1k) => _tanstack_react_qu
|
|
|
2328
2590
|
utc: string;
|
|
2329
2591
|
};
|
|
2330
2592
|
id: string;
|
|
2593
|
+
meeting: {
|
|
2594
|
+
conferencing_provider: string | null;
|
|
2595
|
+
error_message: string | null;
|
|
2596
|
+
external_meeting_id: string | null;
|
|
2597
|
+
id: string;
|
|
2598
|
+
join_url: string | null;
|
|
2599
|
+
object: "appointment_meeting";
|
|
2600
|
+
password: string | null;
|
|
2601
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
2602
|
+
} | null;
|
|
2331
2603
|
object: "appointment";
|
|
2332
2604
|
provider: {
|
|
2333
2605
|
created_at: string;
|
|
@@ -2341,6 +2613,19 @@ declare const useCancelAppointment: (options?: Options$1k) => _tanstack_react_qu
|
|
|
2341
2613
|
object: "provider";
|
|
2342
2614
|
updated_at: string;
|
|
2343
2615
|
};
|
|
2616
|
+
providers: {
|
|
2617
|
+
created_at: string;
|
|
2618
|
+
display_name: string;
|
|
2619
|
+
first_name: string;
|
|
2620
|
+
id: string;
|
|
2621
|
+
last_name: string;
|
|
2622
|
+
metadata?: {
|
|
2623
|
+
[key: string]: unknown;
|
|
2624
|
+
};
|
|
2625
|
+
object: "provider";
|
|
2626
|
+
role: "primary" | "secondary";
|
|
2627
|
+
updated_at: string;
|
|
2628
|
+
}[];
|
|
2344
2629
|
reschedule_events: {
|
|
2345
2630
|
actor: string | null;
|
|
2346
2631
|
initiated_by: "user" | "client";
|
|
@@ -2374,7 +2659,7 @@ declare const useCancelAppointment: (options?: Options$1k) => _tanstack_react_qu
|
|
|
2374
2659
|
unix_ts: number;
|
|
2375
2660
|
utc: string;
|
|
2376
2661
|
};
|
|
2377
|
-
source: "client_ui" | "dashboard" | "api";
|
|
2662
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
2378
2663
|
}[];
|
|
2379
2664
|
service: {
|
|
2380
2665
|
appointment_type: "in_person" | "virtual";
|
|
@@ -2503,10 +2788,10 @@ declare const useCancelAppointment: (options?: Options$1k) => _tanstack_react_qu
|
|
|
2503
2788
|
};
|
|
2504
2789
|
}>>;
|
|
2505
2790
|
|
|
2506
|
-
interface Options$
|
|
2791
|
+
interface Options$1l extends MutationOptionsFor<"post", "/v1/public/appointments/{appointment_id}/cancel"> {
|
|
2507
2792
|
client?: QueryClient;
|
|
2508
2793
|
}
|
|
2509
|
-
declare const useCancelPublicAppointment: (options?: Options$
|
|
2794
|
+
declare const useCancelPublicAppointment: (options?: Options$1l) => _tanstack_react_query.UseMutationResult<{
|
|
2510
2795
|
data: {
|
|
2511
2796
|
cancellation: {
|
|
2512
2797
|
allowed: boolean;
|
|
@@ -2667,10 +2952,10 @@ declare const useCancelPublicAppointment: (options?: Options$1j) => _tanstack_re
|
|
|
2667
2952
|
};
|
|
2668
2953
|
}>>;
|
|
2669
2954
|
|
|
2670
|
-
interface Options$
|
|
2955
|
+
interface Options$1k extends MutationOptionsFor<"post", "/v1/booking_intents/{booking_intent_id}/complete"> {
|
|
2671
2956
|
client?: QueryClient;
|
|
2672
2957
|
}
|
|
2673
|
-
declare const useCompleteBookingIntent: (options?: Options$
|
|
2958
|
+
declare const useCompleteBookingIntent: (options?: Options$1k) => _tanstack_react_query.UseMutationResult<{
|
|
2674
2959
|
data: {
|
|
2675
2960
|
abandoned_at?: string | null;
|
|
2676
2961
|
appointment?: {
|
|
@@ -2687,7 +2972,7 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
2687
2972
|
initiated_by: "user" | "client";
|
|
2688
2973
|
object: "cancellation_event";
|
|
2689
2974
|
occurred_at: string;
|
|
2690
|
-
source: "client_ui" | "dashboard" | "api";
|
|
2975
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
2691
2976
|
}[];
|
|
2692
2977
|
client: {
|
|
2693
2978
|
created_at: string;
|
|
@@ -2729,7 +3014,7 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
2729
3014
|
initiated_by: "user" | "client";
|
|
2730
3015
|
object: "confirmation_event";
|
|
2731
3016
|
occurred_at: string;
|
|
2732
|
-
source: "client_ui" | "dashboard" | "api";
|
|
3017
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
2733
3018
|
start_at: {
|
|
2734
3019
|
local: string;
|
|
2735
3020
|
object: "zoned_date_time";
|
|
@@ -2748,6 +3033,16 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
2748
3033
|
utc: string;
|
|
2749
3034
|
};
|
|
2750
3035
|
id: string;
|
|
3036
|
+
meeting: {
|
|
3037
|
+
conferencing_provider: string | null;
|
|
3038
|
+
error_message: string | null;
|
|
3039
|
+
external_meeting_id: string | null;
|
|
3040
|
+
id: string;
|
|
3041
|
+
join_url: string | null;
|
|
3042
|
+
object: "appointment_meeting";
|
|
3043
|
+
password: string | null;
|
|
3044
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
3045
|
+
} | null;
|
|
2751
3046
|
object: "appointment";
|
|
2752
3047
|
provider: {
|
|
2753
3048
|
created_at: string;
|
|
@@ -2761,6 +3056,19 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
2761
3056
|
object: "provider";
|
|
2762
3057
|
updated_at: string;
|
|
2763
3058
|
};
|
|
3059
|
+
providers: {
|
|
3060
|
+
created_at: string;
|
|
3061
|
+
display_name: string;
|
|
3062
|
+
first_name: string;
|
|
3063
|
+
id: string;
|
|
3064
|
+
last_name: string;
|
|
3065
|
+
metadata?: {
|
|
3066
|
+
[key: string]: unknown;
|
|
3067
|
+
};
|
|
3068
|
+
object: "provider";
|
|
3069
|
+
role: "primary" | "secondary";
|
|
3070
|
+
updated_at: string;
|
|
3071
|
+
}[];
|
|
2764
3072
|
reschedule_events: {
|
|
2765
3073
|
actor: string | null;
|
|
2766
3074
|
initiated_by: "user" | "client";
|
|
@@ -2794,7 +3102,7 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
2794
3102
|
unix_ts: number;
|
|
2795
3103
|
utc: string;
|
|
2796
3104
|
};
|
|
2797
|
-
source: "client_ui" | "dashboard" | "api";
|
|
3105
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
2798
3106
|
}[];
|
|
2799
3107
|
service: {
|
|
2800
3108
|
appointment_type: "in_person" | "virtual";
|
|
@@ -2939,7 +3247,7 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
2939
3247
|
}[] | null;
|
|
2940
3248
|
hold_until?: string | null;
|
|
2941
3249
|
id: string;
|
|
2942
|
-
locked_fields?: ("service_id" | "provider_id" | "
|
|
3250
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
2943
3251
|
metadata?: {
|
|
2944
3252
|
[key: string]: unknown;
|
|
2945
3253
|
};
|
|
@@ -2968,6 +3276,18 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
2968
3276
|
form_id: string;
|
|
2969
3277
|
}[];
|
|
2970
3278
|
} | null;
|
|
3279
|
+
secondary_providers?: {
|
|
3280
|
+
created_at: string;
|
|
3281
|
+
display_name: string;
|
|
3282
|
+
first_name: string;
|
|
3283
|
+
id: string;
|
|
3284
|
+
last_name: string;
|
|
3285
|
+
metadata?: {
|
|
3286
|
+
[key: string]: unknown;
|
|
3287
|
+
};
|
|
3288
|
+
object: "provider";
|
|
3289
|
+
updated_at: string;
|
|
3290
|
+
}[] | null;
|
|
2971
3291
|
service?: {
|
|
2972
3292
|
appointment_type: "in_person" | "virtual";
|
|
2973
3293
|
booking_policy: {
|
|
@@ -3059,7 +3379,7 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3059
3379
|
available_steps: string[];
|
|
3060
3380
|
can_change_slot: boolean;
|
|
3061
3381
|
can_complete: boolean;
|
|
3062
|
-
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
3382
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
3063
3383
|
is_defunct: boolean;
|
|
3064
3384
|
resume_step: string;
|
|
3065
3385
|
} | null;
|
|
@@ -3087,7 +3407,7 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3087
3407
|
initiated_by: "user" | "client";
|
|
3088
3408
|
object: "cancellation_event";
|
|
3089
3409
|
occurred_at: string;
|
|
3090
|
-
source: "client_ui" | "dashboard" | "api";
|
|
3410
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
3091
3411
|
}[];
|
|
3092
3412
|
client: {
|
|
3093
3413
|
created_at: string;
|
|
@@ -3129,7 +3449,7 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3129
3449
|
initiated_by: "user" | "client";
|
|
3130
3450
|
object: "confirmation_event";
|
|
3131
3451
|
occurred_at: string;
|
|
3132
|
-
source: "client_ui" | "dashboard" | "api";
|
|
3452
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
3133
3453
|
start_at: {
|
|
3134
3454
|
local: string;
|
|
3135
3455
|
object: "zoned_date_time";
|
|
@@ -3148,6 +3468,16 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3148
3468
|
utc: string;
|
|
3149
3469
|
};
|
|
3150
3470
|
id: string;
|
|
3471
|
+
meeting: {
|
|
3472
|
+
conferencing_provider: string | null;
|
|
3473
|
+
error_message: string | null;
|
|
3474
|
+
external_meeting_id: string | null;
|
|
3475
|
+
id: string;
|
|
3476
|
+
join_url: string | null;
|
|
3477
|
+
object: "appointment_meeting";
|
|
3478
|
+
password: string | null;
|
|
3479
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
3480
|
+
} | null;
|
|
3151
3481
|
object: "appointment";
|
|
3152
3482
|
provider: {
|
|
3153
3483
|
created_at: string;
|
|
@@ -3160,7 +3490,20 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3160
3490
|
};
|
|
3161
3491
|
object: "provider";
|
|
3162
3492
|
updated_at: string;
|
|
3163
|
-
};
|
|
3493
|
+
};
|
|
3494
|
+
providers: {
|
|
3495
|
+
created_at: string;
|
|
3496
|
+
display_name: string;
|
|
3497
|
+
first_name: string;
|
|
3498
|
+
id: string;
|
|
3499
|
+
last_name: string;
|
|
3500
|
+
metadata?: {
|
|
3501
|
+
[key: string]: unknown;
|
|
3502
|
+
};
|
|
3503
|
+
object: "provider";
|
|
3504
|
+
role: "primary" | "secondary";
|
|
3505
|
+
updated_at: string;
|
|
3506
|
+
}[];
|
|
3164
3507
|
reschedule_events: {
|
|
3165
3508
|
actor: string | null;
|
|
3166
3509
|
initiated_by: "user" | "client";
|
|
@@ -3194,7 +3537,7 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3194
3537
|
unix_ts: number;
|
|
3195
3538
|
utc: string;
|
|
3196
3539
|
};
|
|
3197
|
-
source: "client_ui" | "dashboard" | "api";
|
|
3540
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
3198
3541
|
}[];
|
|
3199
3542
|
service: {
|
|
3200
3543
|
appointment_type: "in_person" | "virtual";
|
|
@@ -3339,7 +3682,7 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3339
3682
|
}[] | null;
|
|
3340
3683
|
hold_until?: string | null;
|
|
3341
3684
|
id: string;
|
|
3342
|
-
locked_fields?: ("service_id" | "provider_id" | "
|
|
3685
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
3343
3686
|
metadata?: {
|
|
3344
3687
|
[key: string]: unknown;
|
|
3345
3688
|
};
|
|
@@ -3368,6 +3711,18 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3368
3711
|
form_id: string;
|
|
3369
3712
|
}[];
|
|
3370
3713
|
} | null;
|
|
3714
|
+
secondary_providers?: {
|
|
3715
|
+
created_at: string;
|
|
3716
|
+
display_name: string;
|
|
3717
|
+
first_name: string;
|
|
3718
|
+
id: string;
|
|
3719
|
+
last_name: string;
|
|
3720
|
+
metadata?: {
|
|
3721
|
+
[key: string]: unknown;
|
|
3722
|
+
};
|
|
3723
|
+
object: "provider";
|
|
3724
|
+
updated_at: string;
|
|
3725
|
+
}[] | null;
|
|
3371
3726
|
service?: {
|
|
3372
3727
|
appointment_type: "in_person" | "virtual";
|
|
3373
3728
|
booking_policy: {
|
|
@@ -3459,7 +3814,7 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3459
3814
|
available_steps: string[];
|
|
3460
3815
|
can_change_slot: boolean;
|
|
3461
3816
|
can_complete: boolean;
|
|
3462
|
-
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
3817
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
3463
3818
|
is_defunct: boolean;
|
|
3464
3819
|
resume_step: string;
|
|
3465
3820
|
} | null;
|
|
@@ -3579,7 +3934,7 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3579
3934
|
initiated_by: "user" | "client";
|
|
3580
3935
|
object: "cancellation_event";
|
|
3581
3936
|
occurred_at: string;
|
|
3582
|
-
source: "client_ui" | "dashboard" | "api";
|
|
3937
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
3583
3938
|
}[];
|
|
3584
3939
|
client: {
|
|
3585
3940
|
created_at: string;
|
|
@@ -3621,7 +3976,7 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3621
3976
|
initiated_by: "user" | "client";
|
|
3622
3977
|
object: "confirmation_event";
|
|
3623
3978
|
occurred_at: string;
|
|
3624
|
-
source: "client_ui" | "dashboard" | "api";
|
|
3979
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
3625
3980
|
start_at: {
|
|
3626
3981
|
local: string;
|
|
3627
3982
|
object: "zoned_date_time";
|
|
@@ -3640,6 +3995,16 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3640
3995
|
utc: string;
|
|
3641
3996
|
};
|
|
3642
3997
|
id: string;
|
|
3998
|
+
meeting: {
|
|
3999
|
+
conferencing_provider: string | null;
|
|
4000
|
+
error_message: string | null;
|
|
4001
|
+
external_meeting_id: string | null;
|
|
4002
|
+
id: string;
|
|
4003
|
+
join_url: string | null;
|
|
4004
|
+
object: "appointment_meeting";
|
|
4005
|
+
password: string | null;
|
|
4006
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
4007
|
+
} | null;
|
|
3643
4008
|
object: "appointment";
|
|
3644
4009
|
provider: {
|
|
3645
4010
|
created_at: string;
|
|
@@ -3653,6 +4018,19 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3653
4018
|
object: "provider";
|
|
3654
4019
|
updated_at: string;
|
|
3655
4020
|
};
|
|
4021
|
+
providers: {
|
|
4022
|
+
created_at: string;
|
|
4023
|
+
display_name: string;
|
|
4024
|
+
first_name: string;
|
|
4025
|
+
id: string;
|
|
4026
|
+
last_name: string;
|
|
4027
|
+
metadata?: {
|
|
4028
|
+
[key: string]: unknown;
|
|
4029
|
+
};
|
|
4030
|
+
object: "provider";
|
|
4031
|
+
role: "primary" | "secondary";
|
|
4032
|
+
updated_at: string;
|
|
4033
|
+
}[];
|
|
3656
4034
|
reschedule_events: {
|
|
3657
4035
|
actor: string | null;
|
|
3658
4036
|
initiated_by: "user" | "client";
|
|
@@ -3686,7 +4064,7 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3686
4064
|
unix_ts: number;
|
|
3687
4065
|
utc: string;
|
|
3688
4066
|
};
|
|
3689
|
-
source: "client_ui" | "dashboard" | "api";
|
|
4067
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
3690
4068
|
}[];
|
|
3691
4069
|
service: {
|
|
3692
4070
|
appointment_type: "in_person" | "virtual";
|
|
@@ -3831,7 +4209,7 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3831
4209
|
}[] | null;
|
|
3832
4210
|
hold_until?: string | null;
|
|
3833
4211
|
id: string;
|
|
3834
|
-
locked_fields?: ("service_id" | "provider_id" | "
|
|
4212
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
3835
4213
|
metadata?: {
|
|
3836
4214
|
[key: string]: unknown;
|
|
3837
4215
|
};
|
|
@@ -3860,6 +4238,18 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3860
4238
|
form_id: string;
|
|
3861
4239
|
}[];
|
|
3862
4240
|
} | null;
|
|
4241
|
+
secondary_providers?: {
|
|
4242
|
+
created_at: string;
|
|
4243
|
+
display_name: string;
|
|
4244
|
+
first_name: string;
|
|
4245
|
+
id: string;
|
|
4246
|
+
last_name: string;
|
|
4247
|
+
metadata?: {
|
|
4248
|
+
[key: string]: unknown;
|
|
4249
|
+
};
|
|
4250
|
+
object: "provider";
|
|
4251
|
+
updated_at: string;
|
|
4252
|
+
}[] | null;
|
|
3863
4253
|
service?: {
|
|
3864
4254
|
appointment_type: "in_person" | "virtual";
|
|
3865
4255
|
booking_policy: {
|
|
@@ -3951,7 +4341,7 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3951
4341
|
available_steps: string[];
|
|
3952
4342
|
can_change_slot: boolean;
|
|
3953
4343
|
can_complete: boolean;
|
|
3954
|
-
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
4344
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
3955
4345
|
is_defunct: boolean;
|
|
3956
4346
|
resume_step: string;
|
|
3957
4347
|
} | null;
|
|
@@ -4006,10 +4396,10 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
4006
4396
|
};
|
|
4007
4397
|
}>>;
|
|
4008
4398
|
|
|
4009
|
-
interface Options$
|
|
4399
|
+
interface Options$1j extends MutationOptionsFor<"post", "/v1/public/booking_intents/{booking_intent_id}/complete"> {
|
|
4010
4400
|
client?: QueryClient;
|
|
4011
4401
|
}
|
|
4012
|
-
declare const useCompletePublicBookingIntent: (options?: Options$
|
|
4402
|
+
declare const useCompletePublicBookingIntent: (options?: Options$1j) => _tanstack_react_query.UseMutationResult<{
|
|
4013
4403
|
data: {
|
|
4014
4404
|
appointment?: {
|
|
4015
4405
|
cancellation: {
|
|
@@ -4063,7 +4453,7 @@ declare const useCompletePublicBookingIntent: (options?: Options$1h) => _tanstac
|
|
|
4063
4453
|
}[] | null;
|
|
4064
4454
|
hold_until?: string | null;
|
|
4065
4455
|
id: string;
|
|
4066
|
-
locked_fields?: ("service_id" | "provider_id" | "
|
|
4456
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
4067
4457
|
object: "public_booking_intent";
|
|
4068
4458
|
requirements?: {
|
|
4069
4459
|
booking: {
|
|
@@ -4089,21 +4479,136 @@ declare const useCompletePublicBookingIntent: (options?: Options$1h) => _tanstac
|
|
|
4089
4479
|
available_steps: string[];
|
|
4090
4480
|
can_change_slot: boolean;
|
|
4091
4481
|
can_complete: boolean;
|
|
4092
|
-
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
4482
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
4093
4483
|
is_defunct: boolean;
|
|
4094
4484
|
resume_step: string;
|
|
4095
4485
|
};
|
|
4096
4486
|
};
|
|
4097
|
-
}, {
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
source: {
|
|
4102
|
-
pointer: string;
|
|
4487
|
+
}, openapi_typescript_helpers.ErrorResponse<{
|
|
4488
|
+
200: {
|
|
4489
|
+
headers: {
|
|
4490
|
+
[name: string]: unknown;
|
|
4103
4491
|
};
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4492
|
+
content: {
|
|
4493
|
+
"application/json": {
|
|
4494
|
+
data: {
|
|
4495
|
+
appointment?: {
|
|
4496
|
+
cancellation: {
|
|
4497
|
+
allowed: boolean;
|
|
4498
|
+
disabled_message: string | null;
|
|
4499
|
+
};
|
|
4500
|
+
confirmed_at: string | null;
|
|
4501
|
+
end_at: {
|
|
4502
|
+
local: string;
|
|
4503
|
+
object: "zoned_date_time";
|
|
4504
|
+
time_zone: string;
|
|
4505
|
+
unix_ts: number;
|
|
4506
|
+
utc: string;
|
|
4507
|
+
};
|
|
4508
|
+
id: string;
|
|
4509
|
+
object: "public_appointment";
|
|
4510
|
+
rescheduling: {
|
|
4511
|
+
allowed: boolean;
|
|
4512
|
+
disabled_message: string | null;
|
|
4513
|
+
};
|
|
4514
|
+
start_at: {
|
|
4515
|
+
local: string;
|
|
4516
|
+
object: "zoned_date_time";
|
|
4517
|
+
time_zone: string;
|
|
4518
|
+
unix_ts: number;
|
|
4519
|
+
utc: string;
|
|
4520
|
+
};
|
|
4521
|
+
status: "scheduled" | "canceled";
|
|
4522
|
+
urls: {
|
|
4523
|
+
add_to_calendar: string[];
|
|
4524
|
+
add_to_google_calendar: string[];
|
|
4525
|
+
cancel: string[];
|
|
4526
|
+
ics: string[];
|
|
4527
|
+
reschedule: string[];
|
|
4528
|
+
};
|
|
4529
|
+
} | null;
|
|
4530
|
+
end_at?: {
|
|
4531
|
+
local: string;
|
|
4532
|
+
object: "zoned_date_time";
|
|
4533
|
+
time_zone: string;
|
|
4534
|
+
unix_ts: number;
|
|
4535
|
+
utc: string;
|
|
4536
|
+
} | null;
|
|
4537
|
+
errors?: {
|
|
4538
|
+
code?: string | null;
|
|
4539
|
+
detail: string;
|
|
4540
|
+
source: {
|
|
4541
|
+
pointer: string;
|
|
4542
|
+
};
|
|
4543
|
+
title: string;
|
|
4544
|
+
}[] | null;
|
|
4545
|
+
hold_until?: string | null;
|
|
4546
|
+
id: string;
|
|
4547
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
4548
|
+
object: "public_booking_intent";
|
|
4549
|
+
requirements?: {
|
|
4550
|
+
booking: {
|
|
4551
|
+
complete: boolean;
|
|
4552
|
+
};
|
|
4553
|
+
info: {
|
|
4554
|
+
complete: boolean;
|
|
4555
|
+
};
|
|
4556
|
+
submissions: {
|
|
4557
|
+
complete: boolean;
|
|
4558
|
+
form_id: string;
|
|
4559
|
+
}[];
|
|
4560
|
+
};
|
|
4561
|
+
start_at?: {
|
|
4562
|
+
local: string;
|
|
4563
|
+
object: "zoned_date_time";
|
|
4564
|
+
time_zone: string;
|
|
4565
|
+
unix_ts: number;
|
|
4566
|
+
utc: string;
|
|
4567
|
+
} | null;
|
|
4568
|
+
status: "pending" | "slot_selected" | "completed" | "abandoned";
|
|
4569
|
+
workflow?: {
|
|
4570
|
+
available_steps: string[];
|
|
4571
|
+
can_change_slot: boolean;
|
|
4572
|
+
can_complete: boolean;
|
|
4573
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
4574
|
+
is_defunct: boolean;
|
|
4575
|
+
resume_step: string;
|
|
4576
|
+
};
|
|
4577
|
+
};
|
|
4578
|
+
};
|
|
4579
|
+
};
|
|
4580
|
+
};
|
|
4581
|
+
404: {
|
|
4582
|
+
headers: {
|
|
4583
|
+
[name: string]: unknown;
|
|
4584
|
+
};
|
|
4585
|
+
content: {
|
|
4586
|
+
"application/json": {
|
|
4587
|
+
errors: {
|
|
4588
|
+
detail: "Not Found";
|
|
4589
|
+
status: "404";
|
|
4590
|
+
}[];
|
|
4591
|
+
};
|
|
4592
|
+
};
|
|
4593
|
+
};
|
|
4594
|
+
422: {
|
|
4595
|
+
headers: {
|
|
4596
|
+
[name: string]: unknown;
|
|
4597
|
+
};
|
|
4598
|
+
content: {
|
|
4599
|
+
"application/json": {
|
|
4600
|
+
errors: {
|
|
4601
|
+
code?: string | null;
|
|
4602
|
+
detail: string;
|
|
4603
|
+
source: {
|
|
4604
|
+
pointer: string;
|
|
4605
|
+
};
|
|
4606
|
+
title: string;
|
|
4607
|
+
}[];
|
|
4608
|
+
};
|
|
4609
|
+
};
|
|
4610
|
+
};
|
|
4611
|
+
}, `${string}/${string}`>, openapi_fetch.FetchOptions<{
|
|
4107
4612
|
parameters: {
|
|
4108
4613
|
query?: never;
|
|
4109
4614
|
header?: never;
|
|
@@ -4202,7 +4707,7 @@ declare const useCompletePublicBookingIntent: (options?: Options$1h) => _tanstac
|
|
|
4202
4707
|
}[] | null;
|
|
4203
4708
|
hold_until?: string | null;
|
|
4204
4709
|
id: string;
|
|
4205
|
-
locked_fields?: ("service_id" | "provider_id" | "
|
|
4710
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
4206
4711
|
object: "public_booking_intent";
|
|
4207
4712
|
requirements?: {
|
|
4208
4713
|
booking: {
|
|
@@ -4228,7 +4733,7 @@ declare const useCompletePublicBookingIntent: (options?: Options$1h) => _tanstac
|
|
|
4228
4733
|
available_steps: string[];
|
|
4229
4734
|
can_change_slot: boolean;
|
|
4230
4735
|
can_complete: boolean;
|
|
4231
|
-
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
4736
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
4232
4737
|
is_defunct: boolean;
|
|
4233
4738
|
resume_step: string;
|
|
4234
4739
|
};
|
|
@@ -4243,12 +4748,8 @@ declare const useCompletePublicBookingIntent: (options?: Options$1h) => _tanstac
|
|
|
4243
4748
|
content: {
|
|
4244
4749
|
"application/json": {
|
|
4245
4750
|
errors: {
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
source: {
|
|
4249
|
-
pointer: string;
|
|
4250
|
-
};
|
|
4251
|
-
title: string;
|
|
4751
|
+
detail: "Not Found";
|
|
4752
|
+
status: "404";
|
|
4252
4753
|
}[];
|
|
4253
4754
|
};
|
|
4254
4755
|
};
|
|
@@ -4273,10 +4774,10 @@ declare const useCompletePublicBookingIntent: (options?: Options$1h) => _tanstac
|
|
|
4273
4774
|
};
|
|
4274
4775
|
}>>;
|
|
4275
4776
|
|
|
4276
|
-
interface Options$
|
|
4777
|
+
interface Options$1i extends MutationOptionsFor<"post", "/v1/appointments/{appointment_id}/confirm"> {
|
|
4277
4778
|
client?: QueryClient;
|
|
4278
4779
|
}
|
|
4279
|
-
declare const useConfirmAppointment: (options?: Options$
|
|
4780
|
+
declare const useConfirmAppointment: (options?: Options$1i) => _tanstack_react_query.UseMutationResult<{
|
|
4280
4781
|
data: {
|
|
4281
4782
|
appointment_type: "in_person" | "virtual";
|
|
4282
4783
|
cancellation_events: {
|
|
@@ -4291,7 +4792,7 @@ declare const useConfirmAppointment: (options?: Options$1g) => _tanstack_react_q
|
|
|
4291
4792
|
initiated_by: "user" | "client";
|
|
4292
4793
|
object: "cancellation_event";
|
|
4293
4794
|
occurred_at: string;
|
|
4294
|
-
source: "client_ui" | "dashboard" | "api";
|
|
4795
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
4295
4796
|
}[];
|
|
4296
4797
|
client: {
|
|
4297
4798
|
created_at: string;
|
|
@@ -4333,7 +4834,7 @@ declare const useConfirmAppointment: (options?: Options$1g) => _tanstack_react_q
|
|
|
4333
4834
|
initiated_by: "user" | "client";
|
|
4334
4835
|
object: "confirmation_event";
|
|
4335
4836
|
occurred_at: string;
|
|
4336
|
-
source: "client_ui" | "dashboard" | "api";
|
|
4837
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
4337
4838
|
start_at: {
|
|
4338
4839
|
local: string;
|
|
4339
4840
|
object: "zoned_date_time";
|
|
@@ -4352,6 +4853,16 @@ declare const useConfirmAppointment: (options?: Options$1g) => _tanstack_react_q
|
|
|
4352
4853
|
utc: string;
|
|
4353
4854
|
};
|
|
4354
4855
|
id: string;
|
|
4856
|
+
meeting: {
|
|
4857
|
+
conferencing_provider: string | null;
|
|
4858
|
+
error_message: string | null;
|
|
4859
|
+
external_meeting_id: string | null;
|
|
4860
|
+
id: string;
|
|
4861
|
+
join_url: string | null;
|
|
4862
|
+
object: "appointment_meeting";
|
|
4863
|
+
password: string | null;
|
|
4864
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
4865
|
+
} | null;
|
|
4355
4866
|
object: "appointment";
|
|
4356
4867
|
provider: {
|
|
4357
4868
|
created_at: string;
|
|
@@ -4365,6 +4876,19 @@ declare const useConfirmAppointment: (options?: Options$1g) => _tanstack_react_q
|
|
|
4365
4876
|
object: "provider";
|
|
4366
4877
|
updated_at: string;
|
|
4367
4878
|
};
|
|
4879
|
+
providers: {
|
|
4880
|
+
created_at: string;
|
|
4881
|
+
display_name: string;
|
|
4882
|
+
first_name: string;
|
|
4883
|
+
id: string;
|
|
4884
|
+
last_name: string;
|
|
4885
|
+
metadata?: {
|
|
4886
|
+
[key: string]: unknown;
|
|
4887
|
+
};
|
|
4888
|
+
object: "provider";
|
|
4889
|
+
role: "primary" | "secondary";
|
|
4890
|
+
updated_at: string;
|
|
4891
|
+
}[];
|
|
4368
4892
|
reschedule_events: {
|
|
4369
4893
|
actor: string | null;
|
|
4370
4894
|
initiated_by: "user" | "client";
|
|
@@ -4398,7 +4922,7 @@ declare const useConfirmAppointment: (options?: Options$1g) => _tanstack_react_q
|
|
|
4398
4922
|
unix_ts: number;
|
|
4399
4923
|
utc: string;
|
|
4400
4924
|
};
|
|
4401
|
-
source: "client_ui" | "dashboard" | "api";
|
|
4925
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
4402
4926
|
}[];
|
|
4403
4927
|
service: {
|
|
4404
4928
|
appointment_type: "in_person" | "virtual";
|
|
@@ -4511,7 +5035,7 @@ declare const useConfirmAppointment: (options?: Options$1g) => _tanstack_react_q
|
|
|
4511
5035
|
initiated_by: "user" | "client";
|
|
4512
5036
|
object: "cancellation_event";
|
|
4513
5037
|
occurred_at: string;
|
|
4514
|
-
source: "client_ui" | "dashboard" | "api";
|
|
5038
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
4515
5039
|
}[];
|
|
4516
5040
|
client: {
|
|
4517
5041
|
created_at: string;
|
|
@@ -4553,7 +5077,7 @@ declare const useConfirmAppointment: (options?: Options$1g) => _tanstack_react_q
|
|
|
4553
5077
|
initiated_by: "user" | "client";
|
|
4554
5078
|
object: "confirmation_event";
|
|
4555
5079
|
occurred_at: string;
|
|
4556
|
-
source: "client_ui" | "dashboard" | "api";
|
|
5080
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
4557
5081
|
start_at: {
|
|
4558
5082
|
local: string;
|
|
4559
5083
|
object: "zoned_date_time";
|
|
@@ -4572,6 +5096,16 @@ declare const useConfirmAppointment: (options?: Options$1g) => _tanstack_react_q
|
|
|
4572
5096
|
utc: string;
|
|
4573
5097
|
};
|
|
4574
5098
|
id: string;
|
|
5099
|
+
meeting: {
|
|
5100
|
+
conferencing_provider: string | null;
|
|
5101
|
+
error_message: string | null;
|
|
5102
|
+
external_meeting_id: string | null;
|
|
5103
|
+
id: string;
|
|
5104
|
+
join_url: string | null;
|
|
5105
|
+
object: "appointment_meeting";
|
|
5106
|
+
password: string | null;
|
|
5107
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
5108
|
+
} | null;
|
|
4575
5109
|
object: "appointment";
|
|
4576
5110
|
provider: {
|
|
4577
5111
|
created_at: string;
|
|
@@ -4585,6 +5119,19 @@ declare const useConfirmAppointment: (options?: Options$1g) => _tanstack_react_q
|
|
|
4585
5119
|
object: "provider";
|
|
4586
5120
|
updated_at: string;
|
|
4587
5121
|
};
|
|
5122
|
+
providers: {
|
|
5123
|
+
created_at: string;
|
|
5124
|
+
display_name: string;
|
|
5125
|
+
first_name: string;
|
|
5126
|
+
id: string;
|
|
5127
|
+
last_name: string;
|
|
5128
|
+
metadata?: {
|
|
5129
|
+
[key: string]: unknown;
|
|
5130
|
+
};
|
|
5131
|
+
object: "provider";
|
|
5132
|
+
role: "primary" | "secondary";
|
|
5133
|
+
updated_at: string;
|
|
5134
|
+
}[];
|
|
4588
5135
|
reschedule_events: {
|
|
4589
5136
|
actor: string | null;
|
|
4590
5137
|
initiated_by: "user" | "client";
|
|
@@ -4618,7 +5165,7 @@ declare const useConfirmAppointment: (options?: Options$1g) => _tanstack_react_q
|
|
|
4618
5165
|
unix_ts: number;
|
|
4619
5166
|
utc: string;
|
|
4620
5167
|
};
|
|
4621
|
-
source: "client_ui" | "dashboard" | "api";
|
|
5168
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
4622
5169
|
}[];
|
|
4623
5170
|
service: {
|
|
4624
5171
|
appointment_type: "in_person" | "virtual";
|
|
@@ -4783,7 +5330,7 @@ declare const useConfirmAppointment: (options?: Options$1g) => _tanstack_react_q
|
|
|
4783
5330
|
initiated_by: "user" | "client";
|
|
4784
5331
|
object: "cancellation_event";
|
|
4785
5332
|
occurred_at: string;
|
|
4786
|
-
source: "client_ui" | "dashboard" | "api";
|
|
5333
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
4787
5334
|
}[];
|
|
4788
5335
|
client: {
|
|
4789
5336
|
created_at: string;
|
|
@@ -4825,7 +5372,7 @@ declare const useConfirmAppointment: (options?: Options$1g) => _tanstack_react_q
|
|
|
4825
5372
|
initiated_by: "user" | "client";
|
|
4826
5373
|
object: "confirmation_event";
|
|
4827
5374
|
occurred_at: string;
|
|
4828
|
-
source: "client_ui" | "dashboard" | "api";
|
|
5375
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
4829
5376
|
start_at: {
|
|
4830
5377
|
local: string;
|
|
4831
5378
|
object: "zoned_date_time";
|
|
@@ -4844,6 +5391,16 @@ declare const useConfirmAppointment: (options?: Options$1g) => _tanstack_react_q
|
|
|
4844
5391
|
utc: string;
|
|
4845
5392
|
};
|
|
4846
5393
|
id: string;
|
|
5394
|
+
meeting: {
|
|
5395
|
+
conferencing_provider: string | null;
|
|
5396
|
+
error_message: string | null;
|
|
5397
|
+
external_meeting_id: string | null;
|
|
5398
|
+
id: string;
|
|
5399
|
+
join_url: string | null;
|
|
5400
|
+
object: "appointment_meeting";
|
|
5401
|
+
password: string | null;
|
|
5402
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
5403
|
+
} | null;
|
|
4847
5404
|
object: "appointment";
|
|
4848
5405
|
provider: {
|
|
4849
5406
|
created_at: string;
|
|
@@ -4857,6 +5414,19 @@ declare const useConfirmAppointment: (options?: Options$1g) => _tanstack_react_q
|
|
|
4857
5414
|
object: "provider";
|
|
4858
5415
|
updated_at: string;
|
|
4859
5416
|
};
|
|
5417
|
+
providers: {
|
|
5418
|
+
created_at: string;
|
|
5419
|
+
display_name: string;
|
|
5420
|
+
first_name: string;
|
|
5421
|
+
id: string;
|
|
5422
|
+
last_name: string;
|
|
5423
|
+
metadata?: {
|
|
5424
|
+
[key: string]: unknown;
|
|
5425
|
+
};
|
|
5426
|
+
object: "provider";
|
|
5427
|
+
role: "primary" | "secondary";
|
|
5428
|
+
updated_at: string;
|
|
5429
|
+
}[];
|
|
4860
5430
|
reschedule_events: {
|
|
4861
5431
|
actor: string | null;
|
|
4862
5432
|
initiated_by: "user" | "client";
|
|
@@ -4890,7 +5460,7 @@ declare const useConfirmAppointment: (options?: Options$1g) => _tanstack_react_q
|
|
|
4890
5460
|
unix_ts: number;
|
|
4891
5461
|
utc: string;
|
|
4892
5462
|
};
|
|
4893
|
-
source: "client_ui" | "dashboard" | "api";
|
|
5463
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
4894
5464
|
}[];
|
|
4895
5465
|
service: {
|
|
4896
5466
|
appointment_type: "in_person" | "virtual";
|
|
@@ -5019,10 +5589,10 @@ declare const useConfirmAppointment: (options?: Options$1g) => _tanstack_react_q
|
|
|
5019
5589
|
};
|
|
5020
5590
|
}>>;
|
|
5021
5591
|
|
|
5022
|
-
interface Options$
|
|
5592
|
+
interface Options$1h extends MutationOptionsFor<"post", "/v1/accounts"> {
|
|
5023
5593
|
client?: QueryClient;
|
|
5024
5594
|
}
|
|
5025
|
-
declare const useCreateAccount: (options?: Options$
|
|
5595
|
+
declare const useCreateAccount: (options?: Options$1h) => _tanstack_react_query.UseMutationResult<{
|
|
5026
5596
|
data?: {
|
|
5027
5597
|
created_at: string;
|
|
5028
5598
|
id: string;
|
|
@@ -5174,17 +5744,17 @@ declare const useCreateAccount: (options?: Options$1f) => _tanstack_react_query.
|
|
|
5174
5744
|
};
|
|
5175
5745
|
}> | undefined>;
|
|
5176
5746
|
|
|
5177
|
-
interface Options$
|
|
5747
|
+
interface Options$1g extends MutationOptionsFor<"post", "/v1/users"> {
|
|
5178
5748
|
client?: QueryClient;
|
|
5179
5749
|
}
|
|
5180
|
-
declare const useCreateAccountUser: (options?: Options$
|
|
5750
|
+
declare const useCreateAccountUser: (options?: Options$1g) => _tanstack_react_query.UseMutationResult<{
|
|
5181
5751
|
object: "account_user";
|
|
5182
5752
|
passive: boolean;
|
|
5183
5753
|
roles: {
|
|
5184
5754
|
id: string;
|
|
5185
5755
|
name: string;
|
|
5186
5756
|
object: "role";
|
|
5187
|
-
type: "admin" | "staff" | "
|
|
5757
|
+
type: "admin" | "staff" | "superuser" | "custom";
|
|
5188
5758
|
}[];
|
|
5189
5759
|
user: {
|
|
5190
5760
|
created_at: string;
|
|
@@ -5208,7 +5778,7 @@ declare const useCreateAccountUser: (options?: Options$1e) => _tanstack_react_qu
|
|
|
5208
5778
|
id: string;
|
|
5209
5779
|
name: string;
|
|
5210
5780
|
object: "role";
|
|
5211
|
-
type: "admin" | "staff" | "
|
|
5781
|
+
type: "admin" | "staff" | "superuser" | "custom";
|
|
5212
5782
|
}[];
|
|
5213
5783
|
user: {
|
|
5214
5784
|
created_at: string;
|
|
@@ -5290,7 +5860,7 @@ declare const useCreateAccountUser: (options?: Options$1e) => _tanstack_react_qu
|
|
|
5290
5860
|
id: string;
|
|
5291
5861
|
name: string;
|
|
5292
5862
|
object: "role";
|
|
5293
|
-
type: "admin" | "staff" | "
|
|
5863
|
+
type: "admin" | "staff" | "superuser" | "custom";
|
|
5294
5864
|
}[];
|
|
5295
5865
|
user: {
|
|
5296
5866
|
created_at: string;
|
|
@@ -5338,10 +5908,10 @@ declare const useCreateAccountUser: (options?: Options$1e) => _tanstack_react_qu
|
|
|
5338
5908
|
};
|
|
5339
5909
|
}> | undefined>;
|
|
5340
5910
|
|
|
5341
|
-
interface Options$
|
|
5911
|
+
interface Options$1f extends MutationOptionsFor<"post", "/v1/appointments"> {
|
|
5342
5912
|
client?: QueryClient;
|
|
5343
5913
|
}
|
|
5344
|
-
declare const useCreateAppointment: (options?: Options$
|
|
5914
|
+
declare const useCreateAppointment: (options?: Options$1f) => _tanstack_react_query.UseMutationResult<{
|
|
5345
5915
|
data: {
|
|
5346
5916
|
appointment_type: "in_person" | "virtual";
|
|
5347
5917
|
cancellation_events: {
|
|
@@ -5356,7 +5926,7 @@ declare const useCreateAppointment: (options?: Options$1d) => _tanstack_react_qu
|
|
|
5356
5926
|
initiated_by: "user" | "client";
|
|
5357
5927
|
object: "cancellation_event";
|
|
5358
5928
|
occurred_at: string;
|
|
5359
|
-
source: "client_ui" | "dashboard" | "api";
|
|
5929
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
5360
5930
|
}[];
|
|
5361
5931
|
client: {
|
|
5362
5932
|
created_at: string;
|
|
@@ -5398,7 +5968,7 @@ declare const useCreateAppointment: (options?: Options$1d) => _tanstack_react_qu
|
|
|
5398
5968
|
initiated_by: "user" | "client";
|
|
5399
5969
|
object: "confirmation_event";
|
|
5400
5970
|
occurred_at: string;
|
|
5401
|
-
source: "client_ui" | "dashboard" | "api";
|
|
5971
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
5402
5972
|
start_at: {
|
|
5403
5973
|
local: string;
|
|
5404
5974
|
object: "zoned_date_time";
|
|
@@ -5417,6 +5987,16 @@ declare const useCreateAppointment: (options?: Options$1d) => _tanstack_react_qu
|
|
|
5417
5987
|
utc: string;
|
|
5418
5988
|
};
|
|
5419
5989
|
id: string;
|
|
5990
|
+
meeting: {
|
|
5991
|
+
conferencing_provider: string | null;
|
|
5992
|
+
error_message: string | null;
|
|
5993
|
+
external_meeting_id: string | null;
|
|
5994
|
+
id: string;
|
|
5995
|
+
join_url: string | null;
|
|
5996
|
+
object: "appointment_meeting";
|
|
5997
|
+
password: string | null;
|
|
5998
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
5999
|
+
} | null;
|
|
5420
6000
|
object: "appointment";
|
|
5421
6001
|
provider: {
|
|
5422
6002
|
created_at: string;
|
|
@@ -5430,6 +6010,19 @@ declare const useCreateAppointment: (options?: Options$1d) => _tanstack_react_qu
|
|
|
5430
6010
|
object: "provider";
|
|
5431
6011
|
updated_at: string;
|
|
5432
6012
|
};
|
|
6013
|
+
providers: {
|
|
6014
|
+
created_at: string;
|
|
6015
|
+
display_name: string;
|
|
6016
|
+
first_name: string;
|
|
6017
|
+
id: string;
|
|
6018
|
+
last_name: string;
|
|
6019
|
+
metadata?: {
|
|
6020
|
+
[key: string]: unknown;
|
|
6021
|
+
};
|
|
6022
|
+
object: "provider";
|
|
6023
|
+
role: "primary" | "secondary";
|
|
6024
|
+
updated_at: string;
|
|
6025
|
+
}[];
|
|
5433
6026
|
reschedule_events: {
|
|
5434
6027
|
actor: string | null;
|
|
5435
6028
|
initiated_by: "user" | "client";
|
|
@@ -5463,7 +6056,7 @@ declare const useCreateAppointment: (options?: Options$1d) => _tanstack_react_qu
|
|
|
5463
6056
|
unix_ts: number;
|
|
5464
6057
|
utc: string;
|
|
5465
6058
|
};
|
|
5466
|
-
source: "client_ui" | "dashboard" | "api";
|
|
6059
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
5467
6060
|
}[];
|
|
5468
6061
|
service: {
|
|
5469
6062
|
appointment_type: "in_person" | "virtual";
|
|
@@ -5576,7 +6169,7 @@ declare const useCreateAppointment: (options?: Options$1d) => _tanstack_react_qu
|
|
|
5576
6169
|
initiated_by: "user" | "client";
|
|
5577
6170
|
object: "cancellation_event";
|
|
5578
6171
|
occurred_at: string;
|
|
5579
|
-
source: "client_ui" | "dashboard" | "api";
|
|
6172
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
5580
6173
|
}[];
|
|
5581
6174
|
client: {
|
|
5582
6175
|
created_at: string;
|
|
@@ -5618,7 +6211,7 @@ declare const useCreateAppointment: (options?: Options$1d) => _tanstack_react_qu
|
|
|
5618
6211
|
initiated_by: "user" | "client";
|
|
5619
6212
|
object: "confirmation_event";
|
|
5620
6213
|
occurred_at: string;
|
|
5621
|
-
source: "client_ui" | "dashboard" | "api";
|
|
6214
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
5622
6215
|
start_at: {
|
|
5623
6216
|
local: string;
|
|
5624
6217
|
object: "zoned_date_time";
|
|
@@ -5637,6 +6230,16 @@ declare const useCreateAppointment: (options?: Options$1d) => _tanstack_react_qu
|
|
|
5637
6230
|
utc: string;
|
|
5638
6231
|
};
|
|
5639
6232
|
id: string;
|
|
6233
|
+
meeting: {
|
|
6234
|
+
conferencing_provider: string | null;
|
|
6235
|
+
error_message: string | null;
|
|
6236
|
+
external_meeting_id: string | null;
|
|
6237
|
+
id: string;
|
|
6238
|
+
join_url: string | null;
|
|
6239
|
+
object: "appointment_meeting";
|
|
6240
|
+
password: string | null;
|
|
6241
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
6242
|
+
} | null;
|
|
5640
6243
|
object: "appointment";
|
|
5641
6244
|
provider: {
|
|
5642
6245
|
created_at: string;
|
|
@@ -5650,6 +6253,19 @@ declare const useCreateAppointment: (options?: Options$1d) => _tanstack_react_qu
|
|
|
5650
6253
|
object: "provider";
|
|
5651
6254
|
updated_at: string;
|
|
5652
6255
|
};
|
|
6256
|
+
providers: {
|
|
6257
|
+
created_at: string;
|
|
6258
|
+
display_name: string;
|
|
6259
|
+
first_name: string;
|
|
6260
|
+
id: string;
|
|
6261
|
+
last_name: string;
|
|
6262
|
+
metadata?: {
|
|
6263
|
+
[key: string]: unknown;
|
|
6264
|
+
};
|
|
6265
|
+
object: "provider";
|
|
6266
|
+
role: "primary" | "secondary";
|
|
6267
|
+
updated_at: string;
|
|
6268
|
+
}[];
|
|
5653
6269
|
reschedule_events: {
|
|
5654
6270
|
actor: string | null;
|
|
5655
6271
|
initiated_by: "user" | "client";
|
|
@@ -5683,7 +6299,7 @@ declare const useCreateAppointment: (options?: Options$1d) => _tanstack_react_qu
|
|
|
5683
6299
|
unix_ts: number;
|
|
5684
6300
|
utc: string;
|
|
5685
6301
|
};
|
|
5686
|
-
source: "client_ui" | "dashboard" | "api";
|
|
6302
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
5687
6303
|
}[];
|
|
5688
6304
|
service: {
|
|
5689
6305
|
appointment_type: "in_person" | "virtual";
|
|
@@ -5864,7 +6480,7 @@ declare const useCreateAppointment: (options?: Options$1d) => _tanstack_react_qu
|
|
|
5864
6480
|
initiated_by: "user" | "client";
|
|
5865
6481
|
object: "cancellation_event";
|
|
5866
6482
|
occurred_at: string;
|
|
5867
|
-
source: "client_ui" | "dashboard" | "api";
|
|
6483
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
5868
6484
|
}[];
|
|
5869
6485
|
client: {
|
|
5870
6486
|
created_at: string;
|
|
@@ -5906,7 +6522,7 @@ declare const useCreateAppointment: (options?: Options$1d) => _tanstack_react_qu
|
|
|
5906
6522
|
initiated_by: "user" | "client";
|
|
5907
6523
|
object: "confirmation_event";
|
|
5908
6524
|
occurred_at: string;
|
|
5909
|
-
source: "client_ui" | "dashboard" | "api";
|
|
6525
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
5910
6526
|
start_at: {
|
|
5911
6527
|
local: string;
|
|
5912
6528
|
object: "zoned_date_time";
|
|
@@ -5924,9 +6540,31 @@ declare const useCreateAppointment: (options?: Options$1d) => _tanstack_react_qu
|
|
|
5924
6540
|
unix_ts: number;
|
|
5925
6541
|
utc: string;
|
|
5926
6542
|
};
|
|
5927
|
-
id: string;
|
|
5928
|
-
|
|
5929
|
-
|
|
6543
|
+
id: string;
|
|
6544
|
+
meeting: {
|
|
6545
|
+
conferencing_provider: string | null;
|
|
6546
|
+
error_message: string | null;
|
|
6547
|
+
external_meeting_id: string | null;
|
|
6548
|
+
id: string;
|
|
6549
|
+
join_url: string | null;
|
|
6550
|
+
object: "appointment_meeting";
|
|
6551
|
+
password: string | null;
|
|
6552
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
6553
|
+
} | null;
|
|
6554
|
+
object: "appointment";
|
|
6555
|
+
provider: {
|
|
6556
|
+
created_at: string;
|
|
6557
|
+
display_name: string;
|
|
6558
|
+
first_name: string;
|
|
6559
|
+
id: string;
|
|
6560
|
+
last_name: string;
|
|
6561
|
+
metadata?: {
|
|
6562
|
+
[key: string]: unknown;
|
|
6563
|
+
};
|
|
6564
|
+
object: "provider";
|
|
6565
|
+
updated_at: string;
|
|
6566
|
+
};
|
|
6567
|
+
providers: {
|
|
5930
6568
|
created_at: string;
|
|
5931
6569
|
display_name: string;
|
|
5932
6570
|
first_name: string;
|
|
@@ -5936,8 +6574,9 @@ declare const useCreateAppointment: (options?: Options$1d) => _tanstack_react_qu
|
|
|
5936
6574
|
[key: string]: unknown;
|
|
5937
6575
|
};
|
|
5938
6576
|
object: "provider";
|
|
6577
|
+
role: "primary" | "secondary";
|
|
5939
6578
|
updated_at: string;
|
|
5940
|
-
};
|
|
6579
|
+
}[];
|
|
5941
6580
|
reschedule_events: {
|
|
5942
6581
|
actor: string | null;
|
|
5943
6582
|
initiated_by: "user" | "client";
|
|
@@ -5971,7 +6610,7 @@ declare const useCreateAppointment: (options?: Options$1d) => _tanstack_react_qu
|
|
|
5971
6610
|
unix_ts: number;
|
|
5972
6611
|
utc: string;
|
|
5973
6612
|
};
|
|
5974
|
-
source: "client_ui" | "dashboard" | "api";
|
|
6613
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
5975
6614
|
}[];
|
|
5976
6615
|
service: {
|
|
5977
6616
|
appointment_type: "in_person" | "virtual";
|
|
@@ -6100,10 +6739,10 @@ declare const useCreateAppointment: (options?: Options$1d) => _tanstack_react_qu
|
|
|
6100
6739
|
};
|
|
6101
6740
|
}> | undefined>;
|
|
6102
6741
|
|
|
6103
|
-
interface Options$
|
|
6742
|
+
interface Options$1e extends MutationOptionsFor<"post", "/v1/blocks"> {
|
|
6104
6743
|
client?: QueryClient;
|
|
6105
6744
|
}
|
|
6106
|
-
declare const useCreateBlock: (options?: Options$
|
|
6745
|
+
declare const useCreateBlock: (options?: Options$1e) => _tanstack_react_query.UseMutationResult<{
|
|
6107
6746
|
data: {
|
|
6108
6747
|
all_day: boolean;
|
|
6109
6748
|
attachment_type: "location" | "service" | "provider" | "service_provider";
|
|
@@ -6294,10 +6933,10 @@ declare const useCreateBlock: (options?: Options$1c) => _tanstack_react_query.Us
|
|
|
6294
6933
|
};
|
|
6295
6934
|
}> | undefined>;
|
|
6296
6935
|
|
|
6297
|
-
interface Options$
|
|
6936
|
+
interface Options$1d extends MutationOptionsFor<"post", "/v1/booking_intents"> {
|
|
6298
6937
|
client?: QueryClient;
|
|
6299
6938
|
}
|
|
6300
|
-
declare const useCreateBookingIntent: (options?: Options$
|
|
6939
|
+
declare const useCreateBookingIntent: (options?: Options$1d) => _tanstack_react_query.UseMutationResult<{
|
|
6301
6940
|
data: {
|
|
6302
6941
|
abandoned_at?: string | null;
|
|
6303
6942
|
appointment?: {
|
|
@@ -6314,7 +6953,7 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6314
6953
|
initiated_by: "user" | "client";
|
|
6315
6954
|
object: "cancellation_event";
|
|
6316
6955
|
occurred_at: string;
|
|
6317
|
-
source: "client_ui" | "dashboard" | "api";
|
|
6956
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
6318
6957
|
}[];
|
|
6319
6958
|
client: {
|
|
6320
6959
|
created_at: string;
|
|
@@ -6356,7 +6995,7 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6356
6995
|
initiated_by: "user" | "client";
|
|
6357
6996
|
object: "confirmation_event";
|
|
6358
6997
|
occurred_at: string;
|
|
6359
|
-
source: "client_ui" | "dashboard" | "api";
|
|
6998
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
6360
6999
|
start_at: {
|
|
6361
7000
|
local: string;
|
|
6362
7001
|
object: "zoned_date_time";
|
|
@@ -6375,6 +7014,16 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6375
7014
|
utc: string;
|
|
6376
7015
|
};
|
|
6377
7016
|
id: string;
|
|
7017
|
+
meeting: {
|
|
7018
|
+
conferencing_provider: string | null;
|
|
7019
|
+
error_message: string | null;
|
|
7020
|
+
external_meeting_id: string | null;
|
|
7021
|
+
id: string;
|
|
7022
|
+
join_url: string | null;
|
|
7023
|
+
object: "appointment_meeting";
|
|
7024
|
+
password: string | null;
|
|
7025
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
7026
|
+
} | null;
|
|
6378
7027
|
object: "appointment";
|
|
6379
7028
|
provider: {
|
|
6380
7029
|
created_at: string;
|
|
@@ -6388,6 +7037,19 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6388
7037
|
object: "provider";
|
|
6389
7038
|
updated_at: string;
|
|
6390
7039
|
};
|
|
7040
|
+
providers: {
|
|
7041
|
+
created_at: string;
|
|
7042
|
+
display_name: string;
|
|
7043
|
+
first_name: string;
|
|
7044
|
+
id: string;
|
|
7045
|
+
last_name: string;
|
|
7046
|
+
metadata?: {
|
|
7047
|
+
[key: string]: unknown;
|
|
7048
|
+
};
|
|
7049
|
+
object: "provider";
|
|
7050
|
+
role: "primary" | "secondary";
|
|
7051
|
+
updated_at: string;
|
|
7052
|
+
}[];
|
|
6391
7053
|
reschedule_events: {
|
|
6392
7054
|
actor: string | null;
|
|
6393
7055
|
initiated_by: "user" | "client";
|
|
@@ -6421,7 +7083,7 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6421
7083
|
unix_ts: number;
|
|
6422
7084
|
utc: string;
|
|
6423
7085
|
};
|
|
6424
|
-
source: "client_ui" | "dashboard" | "api";
|
|
7086
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
6425
7087
|
}[];
|
|
6426
7088
|
service: {
|
|
6427
7089
|
appointment_type: "in_person" | "virtual";
|
|
@@ -6566,7 +7228,7 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6566
7228
|
}[] | null;
|
|
6567
7229
|
hold_until?: string | null;
|
|
6568
7230
|
id: string;
|
|
6569
|
-
locked_fields?: ("service_id" | "provider_id" | "
|
|
7231
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
6570
7232
|
metadata?: {
|
|
6571
7233
|
[key: string]: unknown;
|
|
6572
7234
|
};
|
|
@@ -6595,6 +7257,18 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6595
7257
|
form_id: string;
|
|
6596
7258
|
}[];
|
|
6597
7259
|
} | null;
|
|
7260
|
+
secondary_providers?: {
|
|
7261
|
+
created_at: string;
|
|
7262
|
+
display_name: string;
|
|
7263
|
+
first_name: string;
|
|
7264
|
+
id: string;
|
|
7265
|
+
last_name: string;
|
|
7266
|
+
metadata?: {
|
|
7267
|
+
[key: string]: unknown;
|
|
7268
|
+
};
|
|
7269
|
+
object: "provider";
|
|
7270
|
+
updated_at: string;
|
|
7271
|
+
}[] | null;
|
|
6598
7272
|
service?: {
|
|
6599
7273
|
appointment_type: "in_person" | "virtual";
|
|
6600
7274
|
booking_policy: {
|
|
@@ -6686,7 +7360,7 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6686
7360
|
available_steps: string[];
|
|
6687
7361
|
can_change_slot: boolean;
|
|
6688
7362
|
can_complete: boolean;
|
|
6689
|
-
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
7363
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
6690
7364
|
is_defunct: boolean;
|
|
6691
7365
|
resume_step: string;
|
|
6692
7366
|
} | null;
|
|
@@ -6714,7 +7388,7 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6714
7388
|
initiated_by: "user" | "client";
|
|
6715
7389
|
object: "cancellation_event";
|
|
6716
7390
|
occurred_at: string;
|
|
6717
|
-
source: "client_ui" | "dashboard" | "api";
|
|
7391
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
6718
7392
|
}[];
|
|
6719
7393
|
client: {
|
|
6720
7394
|
created_at: string;
|
|
@@ -6756,7 +7430,7 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6756
7430
|
initiated_by: "user" | "client";
|
|
6757
7431
|
object: "confirmation_event";
|
|
6758
7432
|
occurred_at: string;
|
|
6759
|
-
source: "client_ui" | "dashboard" | "api";
|
|
7433
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
6760
7434
|
start_at: {
|
|
6761
7435
|
local: string;
|
|
6762
7436
|
object: "zoned_date_time";
|
|
@@ -6775,6 +7449,16 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6775
7449
|
utc: string;
|
|
6776
7450
|
};
|
|
6777
7451
|
id: string;
|
|
7452
|
+
meeting: {
|
|
7453
|
+
conferencing_provider: string | null;
|
|
7454
|
+
error_message: string | null;
|
|
7455
|
+
external_meeting_id: string | null;
|
|
7456
|
+
id: string;
|
|
7457
|
+
join_url: string | null;
|
|
7458
|
+
object: "appointment_meeting";
|
|
7459
|
+
password: string | null;
|
|
7460
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
7461
|
+
} | null;
|
|
6778
7462
|
object: "appointment";
|
|
6779
7463
|
provider: {
|
|
6780
7464
|
created_at: string;
|
|
@@ -6788,6 +7472,19 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6788
7472
|
object: "provider";
|
|
6789
7473
|
updated_at: string;
|
|
6790
7474
|
};
|
|
7475
|
+
providers: {
|
|
7476
|
+
created_at: string;
|
|
7477
|
+
display_name: string;
|
|
7478
|
+
first_name: string;
|
|
7479
|
+
id: string;
|
|
7480
|
+
last_name: string;
|
|
7481
|
+
metadata?: {
|
|
7482
|
+
[key: string]: unknown;
|
|
7483
|
+
};
|
|
7484
|
+
object: "provider";
|
|
7485
|
+
role: "primary" | "secondary";
|
|
7486
|
+
updated_at: string;
|
|
7487
|
+
}[];
|
|
6791
7488
|
reschedule_events: {
|
|
6792
7489
|
actor: string | null;
|
|
6793
7490
|
initiated_by: "user" | "client";
|
|
@@ -6821,7 +7518,7 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6821
7518
|
unix_ts: number;
|
|
6822
7519
|
utc: string;
|
|
6823
7520
|
};
|
|
6824
|
-
source: "client_ui" | "dashboard" | "api";
|
|
7521
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
6825
7522
|
}[];
|
|
6826
7523
|
service: {
|
|
6827
7524
|
appointment_type: "in_person" | "virtual";
|
|
@@ -6966,7 +7663,7 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6966
7663
|
}[] | null;
|
|
6967
7664
|
hold_until?: string | null;
|
|
6968
7665
|
id: string;
|
|
6969
|
-
locked_fields?: ("service_id" | "provider_id" | "
|
|
7666
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
6970
7667
|
metadata?: {
|
|
6971
7668
|
[key: string]: unknown;
|
|
6972
7669
|
};
|
|
@@ -6995,6 +7692,18 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6995
7692
|
form_id: string;
|
|
6996
7693
|
}[];
|
|
6997
7694
|
} | null;
|
|
7695
|
+
secondary_providers?: {
|
|
7696
|
+
created_at: string;
|
|
7697
|
+
display_name: string;
|
|
7698
|
+
first_name: string;
|
|
7699
|
+
id: string;
|
|
7700
|
+
last_name: string;
|
|
7701
|
+
metadata?: {
|
|
7702
|
+
[key: string]: unknown;
|
|
7703
|
+
};
|
|
7704
|
+
object: "provider";
|
|
7705
|
+
updated_at: string;
|
|
7706
|
+
}[] | null;
|
|
6998
7707
|
service?: {
|
|
6999
7708
|
appointment_type: "in_person" | "virtual";
|
|
7000
7709
|
booking_policy: {
|
|
@@ -7086,7 +7795,7 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
7086
7795
|
available_steps: string[];
|
|
7087
7796
|
can_change_slot: boolean;
|
|
7088
7797
|
can_complete: boolean;
|
|
7089
|
-
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
7798
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
7090
7799
|
is_defunct: boolean;
|
|
7091
7800
|
resume_step: string;
|
|
7092
7801
|
} | null;
|
|
@@ -7171,11 +7880,14 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
7171
7880
|
} | null;
|
|
7172
7881
|
client_id?: string | null;
|
|
7173
7882
|
end_at?: string | null;
|
|
7174
|
-
locked_fields?: ("service_id" | "provider_id" | "
|
|
7883
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[] | null;
|
|
7175
7884
|
metadata?: {
|
|
7176
7885
|
[key: string]: unknown;
|
|
7177
7886
|
} | null;
|
|
7178
7887
|
provider_id?: string | null;
|
|
7888
|
+
secondary_providers?: {
|
|
7889
|
+
id: string;
|
|
7890
|
+
}[] | null;
|
|
7179
7891
|
service_id?: string | null;
|
|
7180
7892
|
slot_prevalidated: boolean;
|
|
7181
7893
|
start_at?: string | null;
|
|
@@ -7212,7 +7924,7 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
7212
7924
|
initiated_by: "user" | "client";
|
|
7213
7925
|
object: "cancellation_event";
|
|
7214
7926
|
occurred_at: string;
|
|
7215
|
-
source: "client_ui" | "dashboard" | "api";
|
|
7927
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
7216
7928
|
}[];
|
|
7217
7929
|
client: {
|
|
7218
7930
|
created_at: string;
|
|
@@ -7254,7 +7966,7 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
7254
7966
|
initiated_by: "user" | "client";
|
|
7255
7967
|
object: "confirmation_event";
|
|
7256
7968
|
occurred_at: string;
|
|
7257
|
-
source: "client_ui" | "dashboard" | "api";
|
|
7969
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
7258
7970
|
start_at: {
|
|
7259
7971
|
local: string;
|
|
7260
7972
|
object: "zoned_date_time";
|
|
@@ -7273,6 +7985,16 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
7273
7985
|
utc: string;
|
|
7274
7986
|
};
|
|
7275
7987
|
id: string;
|
|
7988
|
+
meeting: {
|
|
7989
|
+
conferencing_provider: string | null;
|
|
7990
|
+
error_message: string | null;
|
|
7991
|
+
external_meeting_id: string | null;
|
|
7992
|
+
id: string;
|
|
7993
|
+
join_url: string | null;
|
|
7994
|
+
object: "appointment_meeting";
|
|
7995
|
+
password: string | null;
|
|
7996
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
7997
|
+
} | null;
|
|
7276
7998
|
object: "appointment";
|
|
7277
7999
|
provider: {
|
|
7278
8000
|
created_at: string;
|
|
@@ -7286,6 +8008,19 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
7286
8008
|
object: "provider";
|
|
7287
8009
|
updated_at: string;
|
|
7288
8010
|
};
|
|
8011
|
+
providers: {
|
|
8012
|
+
created_at: string;
|
|
8013
|
+
display_name: string;
|
|
8014
|
+
first_name: string;
|
|
8015
|
+
id: string;
|
|
8016
|
+
last_name: string;
|
|
8017
|
+
metadata?: {
|
|
8018
|
+
[key: string]: unknown;
|
|
8019
|
+
};
|
|
8020
|
+
object: "provider";
|
|
8021
|
+
role: "primary" | "secondary";
|
|
8022
|
+
updated_at: string;
|
|
8023
|
+
}[];
|
|
7289
8024
|
reschedule_events: {
|
|
7290
8025
|
actor: string | null;
|
|
7291
8026
|
initiated_by: "user" | "client";
|
|
@@ -7319,7 +8054,7 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
7319
8054
|
unix_ts: number;
|
|
7320
8055
|
utc: string;
|
|
7321
8056
|
};
|
|
7322
|
-
source: "client_ui" | "dashboard" | "api";
|
|
8057
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
7323
8058
|
}[];
|
|
7324
8059
|
service: {
|
|
7325
8060
|
appointment_type: "in_person" | "virtual";
|
|
@@ -7464,7 +8199,7 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
7464
8199
|
}[] | null;
|
|
7465
8200
|
hold_until?: string | null;
|
|
7466
8201
|
id: string;
|
|
7467
|
-
locked_fields?: ("service_id" | "provider_id" | "
|
|
8202
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
7468
8203
|
metadata?: {
|
|
7469
8204
|
[key: string]: unknown;
|
|
7470
8205
|
};
|
|
@@ -7493,6 +8228,18 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
7493
8228
|
form_id: string;
|
|
7494
8229
|
}[];
|
|
7495
8230
|
} | null;
|
|
8231
|
+
secondary_providers?: {
|
|
8232
|
+
created_at: string;
|
|
8233
|
+
display_name: string;
|
|
8234
|
+
first_name: string;
|
|
8235
|
+
id: string;
|
|
8236
|
+
last_name: string;
|
|
8237
|
+
metadata?: {
|
|
8238
|
+
[key: string]: unknown;
|
|
8239
|
+
};
|
|
8240
|
+
object: "provider";
|
|
8241
|
+
updated_at: string;
|
|
8242
|
+
}[] | null;
|
|
7496
8243
|
service?: {
|
|
7497
8244
|
appointment_type: "in_person" | "virtual";
|
|
7498
8245
|
booking_policy: {
|
|
@@ -7584,7 +8331,7 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
7584
8331
|
available_steps: string[];
|
|
7585
8332
|
can_change_slot: boolean;
|
|
7586
8333
|
can_complete: boolean;
|
|
7587
|
-
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
8334
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
7588
8335
|
is_defunct: boolean;
|
|
7589
8336
|
resume_step: string;
|
|
7590
8337
|
} | null;
|
|
@@ -7639,10 +8386,10 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
7639
8386
|
};
|
|
7640
8387
|
}> | undefined>;
|
|
7641
8388
|
|
|
7642
|
-
interface Options$
|
|
8389
|
+
interface Options$1c extends MutationOptionsFor<"post", "/v1/cancellation_reasons"> {
|
|
7643
8390
|
client?: QueryClient;
|
|
7644
8391
|
}
|
|
7645
|
-
declare const useCreateCancellationReason: (options?: Options$
|
|
8392
|
+
declare const useCreateCancellationReason: (options?: Options$1c) => _tanstack_react_query.UseMutationResult<{
|
|
7646
8393
|
data: Record<string, never>;
|
|
7647
8394
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
7648
8395
|
201: {
|
|
@@ -7747,10 +8494,10 @@ declare const useCreateCancellationReason: (options?: Options$1a) => _tanstack_r
|
|
|
7747
8494
|
};
|
|
7748
8495
|
}> | undefined>;
|
|
7749
8496
|
|
|
7750
|
-
interface Options$
|
|
8497
|
+
interface Options$1b extends MutationOptionsFor<"post", "/v1/clients"> {
|
|
7751
8498
|
client?: QueryClient;
|
|
7752
8499
|
}
|
|
7753
|
-
declare const useCreateClient: (options?: Options$
|
|
8500
|
+
declare const useCreateClient: (options?: Options$1b) => _tanstack_react_query.UseMutationResult<{
|
|
7754
8501
|
data: {
|
|
7755
8502
|
created_at: string;
|
|
7756
8503
|
email?: string | null;
|
|
@@ -7921,10 +8668,10 @@ declare const useCreateClient: (options?: Options$19) => _tanstack_react_query.U
|
|
|
7921
8668
|
};
|
|
7922
8669
|
}> | undefined>;
|
|
7923
8670
|
|
|
7924
|
-
interface Options$
|
|
8671
|
+
interface Options$1a extends MutationOptionsFor<"post", "/v1/client_fields"> {
|
|
7925
8672
|
client?: QueryClient;
|
|
7926
8673
|
}
|
|
7927
|
-
declare const useCreateClientField: (options?: Options$
|
|
8674
|
+
declare const useCreateClientField: (options?: Options$1a) => _tanstack_react_query.UseMutationResult<{
|
|
7928
8675
|
data: Record<string, never>;
|
|
7929
8676
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
7930
8677
|
201: {
|
|
@@ -8040,13 +8787,14 @@ declare const useCreateClientField: (options?: Options$18) => _tanstack_react_qu
|
|
|
8040
8787
|
};
|
|
8041
8788
|
}> | undefined>;
|
|
8042
8789
|
|
|
8043
|
-
interface Options$
|
|
8790
|
+
interface Options$19 extends MutationOptionsFor<"post", "/v1/dashboard_sessions"> {
|
|
8044
8791
|
client?: QueryClient;
|
|
8045
8792
|
}
|
|
8046
|
-
declare const useCreateDashboardSession: (options?: Options$
|
|
8793
|
+
declare const useCreateDashboardSession: (options?: Options$19) => _tanstack_react_query.UseMutationResult<{
|
|
8047
8794
|
data: {
|
|
8048
8795
|
created_at: string;
|
|
8049
8796
|
id: string;
|
|
8797
|
+
idle_timeout_minutes: number | null;
|
|
8050
8798
|
object: "dashboard_session";
|
|
8051
8799
|
return_url: string | null;
|
|
8052
8800
|
url: string;
|
|
@@ -8062,6 +8810,7 @@ declare const useCreateDashboardSession: (options?: Options$17) => _tanstack_rea
|
|
|
8062
8810
|
data: {
|
|
8063
8811
|
created_at: string;
|
|
8064
8812
|
id: string;
|
|
8813
|
+
idle_timeout_minutes: number | null;
|
|
8065
8814
|
object: "dashboard_session";
|
|
8066
8815
|
return_url: string | null;
|
|
8067
8816
|
url: string;
|
|
@@ -8113,6 +8862,7 @@ declare const useCreateDashboardSession: (options?: Options$17) => _tanstack_rea
|
|
|
8113
8862
|
requestBody?: {
|
|
8114
8863
|
content: {
|
|
8115
8864
|
"application/json": {
|
|
8865
|
+
idle_timeout_minutes?: 15 | 30 | 60 | 120 | null;
|
|
8116
8866
|
return_url?: string | null;
|
|
8117
8867
|
user_id: string;
|
|
8118
8868
|
};
|
|
@@ -8128,6 +8878,7 @@ declare const useCreateDashboardSession: (options?: Options$17) => _tanstack_rea
|
|
|
8128
8878
|
data: {
|
|
8129
8879
|
created_at: string;
|
|
8130
8880
|
id: string;
|
|
8881
|
+
idle_timeout_minutes: number | null;
|
|
8131
8882
|
object: "dashboard_session";
|
|
8132
8883
|
return_url: string | null;
|
|
8133
8884
|
url: string;
|
|
@@ -8170,10 +8921,10 @@ declare const useCreateDashboardSession: (options?: Options$17) => _tanstack_rea
|
|
|
8170
8921
|
};
|
|
8171
8922
|
}> | undefined>;
|
|
8172
8923
|
|
|
8173
|
-
interface Options$
|
|
8924
|
+
interface Options$18 extends MutationOptionsFor<"post", "/v1/forms"> {
|
|
8174
8925
|
client?: QueryClient;
|
|
8175
8926
|
}
|
|
8176
|
-
declare const useCreateForm: (options?: Options$
|
|
8927
|
+
declare const useCreateForm: (options?: Options$18) => _tanstack_react_query.UseMutationResult<{
|
|
8177
8928
|
data: {
|
|
8178
8929
|
created_at: string;
|
|
8179
8930
|
field_count: number;
|
|
@@ -8371,10 +9122,10 @@ declare const useCreateForm: (options?: Options$16) => _tanstack_react_query.Use
|
|
|
8371
9122
|
};
|
|
8372
9123
|
}> | undefined>;
|
|
8373
9124
|
|
|
8374
|
-
interface Options$
|
|
9125
|
+
interface Options$17 extends MutationOptionsFor<"post", "/v1/providers"> {
|
|
8375
9126
|
client?: QueryClient;
|
|
8376
9127
|
}
|
|
8377
|
-
declare const useCreateProvider: (options?: Options$
|
|
9128
|
+
declare const useCreateProvider: (options?: Options$17) => _tanstack_react_query.UseMutationResult<{
|
|
8378
9129
|
data: {
|
|
8379
9130
|
created_at: string;
|
|
8380
9131
|
display_name: string;
|
|
@@ -8521,10 +9272,10 @@ declare const useCreateProvider: (options?: Options$15) => _tanstack_react_query
|
|
|
8521
9272
|
};
|
|
8522
9273
|
}> | undefined>;
|
|
8523
9274
|
|
|
8524
|
-
interface Options$
|
|
9275
|
+
interface Options$16 extends MutationOptionsFor<"post", "/v1/providers/{provider_id}/schedules"> {
|
|
8525
9276
|
client?: QueryClient;
|
|
8526
9277
|
}
|
|
8527
|
-
declare const useCreateProviderSchedule: (options?: Options$
|
|
9278
|
+
declare const useCreateProviderSchedule: (options?: Options$16) => _tanstack_react_query.UseMutationResult<{
|
|
8528
9279
|
data: {
|
|
8529
9280
|
created_at: string;
|
|
8530
9281
|
effective_from: string;
|
|
@@ -8683,10 +9434,10 @@ declare const useCreateProviderSchedule: (options?: Options$14) => _tanstack_rea
|
|
|
8683
9434
|
};
|
|
8684
9435
|
}> | undefined>;
|
|
8685
9436
|
|
|
8686
|
-
interface Options$
|
|
9437
|
+
interface Options$15 extends MutationOptionsFor<"post", "/v1/public/appointments"> {
|
|
8687
9438
|
client?: QueryClient;
|
|
8688
9439
|
}
|
|
8689
|
-
declare const useCreatePublicAppointment: (options?: Options$
|
|
9440
|
+
declare const useCreatePublicAppointment: (options?: Options$15) => _tanstack_react_query.UseMutationResult<{
|
|
8690
9441
|
data: {
|
|
8691
9442
|
cancellation: {
|
|
8692
9443
|
allowed: boolean;
|
|
@@ -8824,10 +9575,10 @@ declare const useCreatePublicAppointment: (options?: Options$13) => _tanstack_re
|
|
|
8824
9575
|
};
|
|
8825
9576
|
}> | undefined>;
|
|
8826
9577
|
|
|
8827
|
-
interface Options$
|
|
9578
|
+
interface Options$14 extends MutationOptionsFor<"post", "/v1/public/booking_intents"> {
|
|
8828
9579
|
client?: QueryClient;
|
|
8829
9580
|
}
|
|
8830
|
-
declare const useCreatePublicBookingIntent: (options?: Options$
|
|
9581
|
+
declare const useCreatePublicBookingIntent: (options?: Options$14) => _tanstack_react_query.UseMutationResult<{
|
|
8831
9582
|
data: {
|
|
8832
9583
|
appointment?: {
|
|
8833
9584
|
cancellation: {
|
|
@@ -8881,7 +9632,7 @@ declare const useCreatePublicBookingIntent: (options?: Options$12) => _tanstack_
|
|
|
8881
9632
|
}[] | null;
|
|
8882
9633
|
hold_until?: string | null;
|
|
8883
9634
|
id: string;
|
|
8884
|
-
locked_fields?: ("service_id" | "provider_id" | "
|
|
9635
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
8885
9636
|
object: "public_booking_intent";
|
|
8886
9637
|
requirements?: {
|
|
8887
9638
|
booking: {
|
|
@@ -8907,21 +9658,136 @@ declare const useCreatePublicBookingIntent: (options?: Options$12) => _tanstack_
|
|
|
8907
9658
|
available_steps: string[];
|
|
8908
9659
|
can_change_slot: boolean;
|
|
8909
9660
|
can_complete: boolean;
|
|
8910
|
-
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
9661
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
8911
9662
|
is_defunct: boolean;
|
|
8912
9663
|
resume_step: string;
|
|
8913
9664
|
};
|
|
8914
9665
|
};
|
|
8915
|
-
}, {
|
|
8916
|
-
|
|
8917
|
-
|
|
8918
|
-
|
|
8919
|
-
source: {
|
|
8920
|
-
pointer: string;
|
|
9666
|
+
}, openapi_typescript_helpers.ErrorResponse<{
|
|
9667
|
+
201: {
|
|
9668
|
+
headers: {
|
|
9669
|
+
[name: string]: unknown;
|
|
8921
9670
|
};
|
|
8922
|
-
|
|
8923
|
-
|
|
8924
|
-
|
|
9671
|
+
content: {
|
|
9672
|
+
"application/json": {
|
|
9673
|
+
data: {
|
|
9674
|
+
appointment?: {
|
|
9675
|
+
cancellation: {
|
|
9676
|
+
allowed: boolean;
|
|
9677
|
+
disabled_message: string | null;
|
|
9678
|
+
};
|
|
9679
|
+
confirmed_at: string | null;
|
|
9680
|
+
end_at: {
|
|
9681
|
+
local: string;
|
|
9682
|
+
object: "zoned_date_time";
|
|
9683
|
+
time_zone: string;
|
|
9684
|
+
unix_ts: number;
|
|
9685
|
+
utc: string;
|
|
9686
|
+
};
|
|
9687
|
+
id: string;
|
|
9688
|
+
object: "public_appointment";
|
|
9689
|
+
rescheduling: {
|
|
9690
|
+
allowed: boolean;
|
|
9691
|
+
disabled_message: string | null;
|
|
9692
|
+
};
|
|
9693
|
+
start_at: {
|
|
9694
|
+
local: string;
|
|
9695
|
+
object: "zoned_date_time";
|
|
9696
|
+
time_zone: string;
|
|
9697
|
+
unix_ts: number;
|
|
9698
|
+
utc: string;
|
|
9699
|
+
};
|
|
9700
|
+
status: "scheduled" | "canceled";
|
|
9701
|
+
urls: {
|
|
9702
|
+
add_to_calendar: string[];
|
|
9703
|
+
add_to_google_calendar: string[];
|
|
9704
|
+
cancel: string[];
|
|
9705
|
+
ics: string[];
|
|
9706
|
+
reschedule: string[];
|
|
9707
|
+
};
|
|
9708
|
+
} | null;
|
|
9709
|
+
end_at?: {
|
|
9710
|
+
local: string;
|
|
9711
|
+
object: "zoned_date_time";
|
|
9712
|
+
time_zone: string;
|
|
9713
|
+
unix_ts: number;
|
|
9714
|
+
utc: string;
|
|
9715
|
+
} | null;
|
|
9716
|
+
errors?: {
|
|
9717
|
+
code?: string | null;
|
|
9718
|
+
detail: string;
|
|
9719
|
+
source: {
|
|
9720
|
+
pointer: string;
|
|
9721
|
+
};
|
|
9722
|
+
title: string;
|
|
9723
|
+
}[] | null;
|
|
9724
|
+
hold_until?: string | null;
|
|
9725
|
+
id: string;
|
|
9726
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
9727
|
+
object: "public_booking_intent";
|
|
9728
|
+
requirements?: {
|
|
9729
|
+
booking: {
|
|
9730
|
+
complete: boolean;
|
|
9731
|
+
};
|
|
9732
|
+
info: {
|
|
9733
|
+
complete: boolean;
|
|
9734
|
+
};
|
|
9735
|
+
submissions: {
|
|
9736
|
+
complete: boolean;
|
|
9737
|
+
form_id: string;
|
|
9738
|
+
}[];
|
|
9739
|
+
};
|
|
9740
|
+
start_at?: {
|
|
9741
|
+
local: string;
|
|
9742
|
+
object: "zoned_date_time";
|
|
9743
|
+
time_zone: string;
|
|
9744
|
+
unix_ts: number;
|
|
9745
|
+
utc: string;
|
|
9746
|
+
} | null;
|
|
9747
|
+
status: "pending" | "slot_selected" | "completed" | "abandoned";
|
|
9748
|
+
workflow?: {
|
|
9749
|
+
available_steps: string[];
|
|
9750
|
+
can_change_slot: boolean;
|
|
9751
|
+
can_complete: boolean;
|
|
9752
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
9753
|
+
is_defunct: boolean;
|
|
9754
|
+
resume_step: string;
|
|
9755
|
+
};
|
|
9756
|
+
};
|
|
9757
|
+
};
|
|
9758
|
+
};
|
|
9759
|
+
};
|
|
9760
|
+
404: {
|
|
9761
|
+
headers: {
|
|
9762
|
+
[name: string]: unknown;
|
|
9763
|
+
};
|
|
9764
|
+
content: {
|
|
9765
|
+
"application/json": {
|
|
9766
|
+
errors: {
|
|
9767
|
+
detail: "Not Found";
|
|
9768
|
+
status: "404";
|
|
9769
|
+
}[];
|
|
9770
|
+
};
|
|
9771
|
+
};
|
|
9772
|
+
};
|
|
9773
|
+
422: {
|
|
9774
|
+
headers: {
|
|
9775
|
+
[name: string]: unknown;
|
|
9776
|
+
};
|
|
9777
|
+
content: {
|
|
9778
|
+
"application/json": {
|
|
9779
|
+
errors: {
|
|
9780
|
+
code?: string | null;
|
|
9781
|
+
detail: string;
|
|
9782
|
+
source: {
|
|
9783
|
+
pointer: string;
|
|
9784
|
+
};
|
|
9785
|
+
title: string;
|
|
9786
|
+
}[];
|
|
9787
|
+
};
|
|
9788
|
+
};
|
|
9789
|
+
};
|
|
9790
|
+
}, `${string}/${string}`>, openapi_fetch.FetchOptions<{
|
|
8925
9791
|
parameters: {
|
|
8926
9792
|
query?: never;
|
|
8927
9793
|
header?: never;
|
|
@@ -9019,7 +9885,7 @@ declare const useCreatePublicBookingIntent: (options?: Options$12) => _tanstack_
|
|
|
9019
9885
|
}[] | null;
|
|
9020
9886
|
hold_until?: string | null;
|
|
9021
9887
|
id: string;
|
|
9022
|
-
locked_fields?: ("service_id" | "provider_id" | "
|
|
9888
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
9023
9889
|
object: "public_booking_intent";
|
|
9024
9890
|
requirements?: {
|
|
9025
9891
|
booking: {
|
|
@@ -9045,7 +9911,7 @@ declare const useCreatePublicBookingIntent: (options?: Options$12) => _tanstack_
|
|
|
9045
9911
|
available_steps: string[];
|
|
9046
9912
|
can_change_slot: boolean;
|
|
9047
9913
|
can_complete: boolean;
|
|
9048
|
-
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
9914
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
9049
9915
|
is_defunct: boolean;
|
|
9050
9916
|
resume_step: string;
|
|
9051
9917
|
};
|
|
@@ -9060,12 +9926,8 @@ declare const useCreatePublicBookingIntent: (options?: Options$12) => _tanstack_
|
|
|
9060
9926
|
content: {
|
|
9061
9927
|
"application/json": {
|
|
9062
9928
|
errors: {
|
|
9063
|
-
|
|
9064
|
-
|
|
9065
|
-
source: {
|
|
9066
|
-
pointer: string;
|
|
9067
|
-
};
|
|
9068
|
-
title: string;
|
|
9929
|
+
detail: "Not Found";
|
|
9930
|
+
status: "404";
|
|
9069
9931
|
}[];
|
|
9070
9932
|
};
|
|
9071
9933
|
};
|
|
@@ -9090,10 +9952,10 @@ declare const useCreatePublicBookingIntent: (options?: Options$12) => _tanstack_
|
|
|
9090
9952
|
};
|
|
9091
9953
|
}> | undefined>;
|
|
9092
9954
|
|
|
9093
|
-
interface Options$
|
|
9955
|
+
interface Options$13 extends MutationOptionsFor<"post", "/v1/services"> {
|
|
9094
9956
|
client?: QueryClient;
|
|
9095
9957
|
}
|
|
9096
|
-
declare const useCreateService: (options?: Options$
|
|
9958
|
+
declare const useCreateService: (options?: Options$13) => _tanstack_react_query.UseMutationResult<{
|
|
9097
9959
|
data: {
|
|
9098
9960
|
appointment_type: "in_person" | "virtual";
|
|
9099
9961
|
booking_policy: {
|
|
@@ -9464,10 +10326,10 @@ declare const useCreateService: (options?: Options$11) => _tanstack_react_query.
|
|
|
9464
10326
|
};
|
|
9465
10327
|
}> | undefined>;
|
|
9466
10328
|
|
|
9467
|
-
interface Options$
|
|
10329
|
+
interface Options$12 extends MutationOptionsFor<"post", "/v1/services/{service_id}/providers"> {
|
|
9468
10330
|
client?: QueryClient;
|
|
9469
10331
|
}
|
|
9470
|
-
declare const useCreateServiceProvider: (options?: Options$
|
|
10332
|
+
declare const useCreateServiceProvider: (options?: Options$12) => _tanstack_react_query.UseMutationResult<{
|
|
9471
10333
|
data: {
|
|
9472
10334
|
created_at: string;
|
|
9473
10335
|
id: string;
|
|
@@ -9654,10 +10516,10 @@ declare const useCreateServiceProvider: (options?: Options$10) => _tanstack_reac
|
|
|
9654
10516
|
};
|
|
9655
10517
|
}>>;
|
|
9656
10518
|
|
|
9657
|
-
interface Options
|
|
10519
|
+
interface Options$11 extends MutationOptionsFor<"delete", "/v1/providers/{provider_id}"> {
|
|
9658
10520
|
client?: QueryClient;
|
|
9659
10521
|
}
|
|
9660
|
-
declare const useDeactivateProvider: (options?: Options
|
|
10522
|
+
declare const useDeactivateProvider: (options?: Options$11) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
9661
10523
|
204: {
|
|
9662
10524
|
headers: {
|
|
9663
10525
|
[name: string]: unknown;
|
|
@@ -9744,10 +10606,10 @@ declare const useDeactivateProvider: (options?: Options$$) => _tanstack_react_qu
|
|
|
9744
10606
|
};
|
|
9745
10607
|
}>>;
|
|
9746
10608
|
|
|
9747
|
-
interface Options$
|
|
10609
|
+
interface Options$10 extends MutationOptionsFor<"delete", "/v1/blocks/{block_id}"> {
|
|
9748
10610
|
client?: QueryClient;
|
|
9749
10611
|
}
|
|
9750
|
-
declare const useDeleteBlock: (options?: Options$
|
|
10612
|
+
declare const useDeleteBlock: (options?: Options$10) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
9751
10613
|
204: {
|
|
9752
10614
|
headers: {
|
|
9753
10615
|
[name: string]: unknown;
|
|
@@ -9834,10 +10696,10 @@ declare const useDeleteBlock: (options?: Options$_) => _tanstack_react_query.Use
|
|
|
9834
10696
|
};
|
|
9835
10697
|
}>>;
|
|
9836
10698
|
|
|
9837
|
-
interface Options
|
|
10699
|
+
interface Options$$ extends MutationOptionsFor<"delete", "/v1/cancellation_reasons/{cancellation_reason_id}"> {
|
|
9838
10700
|
client?: QueryClient;
|
|
9839
10701
|
}
|
|
9840
|
-
declare const useDeleteCancellationReason: (options?: Options
|
|
10702
|
+
declare const useDeleteCancellationReason: (options?: Options$$) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
9841
10703
|
204: {
|
|
9842
10704
|
headers: {
|
|
9843
10705
|
[name: string]: unknown;
|
|
@@ -9924,10 +10786,10 @@ declare const useDeleteCancellationReason: (options?: Options$Z) => _tanstack_re
|
|
|
9924
10786
|
};
|
|
9925
10787
|
}>>;
|
|
9926
10788
|
|
|
9927
|
-
interface Options$
|
|
10789
|
+
interface Options$_ extends MutationOptionsFor<"delete", "/v1/clients/{client_id}"> {
|
|
9928
10790
|
client?: QueryClient;
|
|
9929
10791
|
}
|
|
9930
|
-
declare const useDeleteClient: (options?: Options$
|
|
10792
|
+
declare const useDeleteClient: (options?: Options$_) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
9931
10793
|
204: {
|
|
9932
10794
|
headers: {
|
|
9933
10795
|
[name: string]: unknown;
|
|
@@ -10014,10 +10876,10 @@ declare const useDeleteClient: (options?: Options$Y) => _tanstack_react_query.Us
|
|
|
10014
10876
|
};
|
|
10015
10877
|
}>>;
|
|
10016
10878
|
|
|
10017
|
-
interface Options$
|
|
10879
|
+
interface Options$Z extends MutationOptionsFor<"delete", "/v1/client_fields/{client_field_id}"> {
|
|
10018
10880
|
client?: QueryClient;
|
|
10019
10881
|
}
|
|
10020
|
-
declare const useDeleteClientField: (options?: Options$
|
|
10882
|
+
declare const useDeleteClientField: (options?: Options$Z) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
10021
10883
|
204: {
|
|
10022
10884
|
headers: {
|
|
10023
10885
|
[name: string]: unknown;
|
|
@@ -10104,10 +10966,10 @@ declare const useDeleteClientField: (options?: Options$X) => _tanstack_react_que
|
|
|
10104
10966
|
};
|
|
10105
10967
|
}>>;
|
|
10106
10968
|
|
|
10107
|
-
interface Options$
|
|
10969
|
+
interface Options$Y extends MutationOptionsFor<"delete", "/v1/connected_accounts/{connected_account_id}"> {
|
|
10108
10970
|
client?: QueryClient;
|
|
10109
10971
|
}
|
|
10110
|
-
declare const useDeleteConnectedAccount: (options?: Options$
|
|
10972
|
+
declare const useDeleteConnectedAccount: (options?: Options$Y) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
10111
10973
|
204: {
|
|
10112
10974
|
headers: {
|
|
10113
10975
|
[name: string]: unknown;
|
|
@@ -10194,10 +11056,10 @@ declare const useDeleteConnectedAccount: (options?: Options$W) => _tanstack_reac
|
|
|
10194
11056
|
};
|
|
10195
11057
|
}>>;
|
|
10196
11058
|
|
|
10197
|
-
interface Options$
|
|
11059
|
+
interface Options$X extends MutationOptionsFor<"delete", "/v1/forms/{form_id}"> {
|
|
10198
11060
|
client?: QueryClient;
|
|
10199
11061
|
}
|
|
10200
|
-
declare const useDeleteForm: (options?: Options$
|
|
11062
|
+
declare const useDeleteForm: (options?: Options$X) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
10201
11063
|
204: {
|
|
10202
11064
|
headers: {
|
|
10203
11065
|
[name: string]: unknown;
|
|
@@ -10284,10 +11146,10 @@ declare const useDeleteForm: (options?: Options$V) => _tanstack_react_query.UseM
|
|
|
10284
11146
|
};
|
|
10285
11147
|
}>>;
|
|
10286
11148
|
|
|
10287
|
-
interface Options$
|
|
11149
|
+
interface Options$W extends MutationOptionsFor<"delete", "/v1/provider_schedules/{provider_schedule_id}"> {
|
|
10288
11150
|
client?: QueryClient;
|
|
10289
11151
|
}
|
|
10290
|
-
declare const useDeleteProviderSchedule: (options?: Options$
|
|
11152
|
+
declare const useDeleteProviderSchedule: (options?: Options$W) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
10291
11153
|
204: {
|
|
10292
11154
|
headers: {
|
|
10293
11155
|
[name: string]: unknown;
|
|
@@ -10374,10 +11236,10 @@ declare const useDeleteProviderSchedule: (options?: Options$U) => _tanstack_reac
|
|
|
10374
11236
|
};
|
|
10375
11237
|
}>>;
|
|
10376
11238
|
|
|
10377
|
-
interface Options$
|
|
11239
|
+
interface Options$V extends MutationOptionsFor<"delete", "/v1/services/{service_id}"> {
|
|
10378
11240
|
client?: QueryClient;
|
|
10379
11241
|
}
|
|
10380
|
-
declare const useDeleteService: (options?: Options$
|
|
11242
|
+
declare const useDeleteService: (options?: Options$V) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
10381
11243
|
204: {
|
|
10382
11244
|
headers: {
|
|
10383
11245
|
[name: string]: unknown;
|
|
@@ -10464,10 +11326,10 @@ declare const useDeleteService: (options?: Options$T) => _tanstack_react_query.U
|
|
|
10464
11326
|
};
|
|
10465
11327
|
}>>;
|
|
10466
11328
|
|
|
10467
|
-
interface Options$
|
|
11329
|
+
interface Options$U extends MutationOptionsFor<"delete", "/v1/service_providers/{service_provider_id}"> {
|
|
10468
11330
|
client?: QueryClient;
|
|
10469
11331
|
}
|
|
10470
|
-
declare const useDeleteServiceProvider: (options?: Options$
|
|
11332
|
+
declare const useDeleteServiceProvider: (options?: Options$U) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
10471
11333
|
204: {
|
|
10472
11334
|
headers: {
|
|
10473
11335
|
[name: string]: unknown;
|
|
@@ -10554,10 +11416,10 @@ declare const useDeleteServiceProvider: (options?: Options$S) => _tanstack_react
|
|
|
10554
11416
|
};
|
|
10555
11417
|
}>>;
|
|
10556
11418
|
|
|
10557
|
-
interface Options$
|
|
11419
|
+
interface Options$T extends MutationOptionsFor<"delete", "/v1/service_forms/{service_form_id}"> {
|
|
10558
11420
|
client?: QueryClient;
|
|
10559
11421
|
}
|
|
10560
|
-
declare const useDetachServiceForm: (options?: Options$
|
|
11422
|
+
declare const useDetachServiceForm: (options?: Options$T) => _tanstack_react_query.UseMutationResult<string, openapi_typescript_helpers.ErrorResponse<{
|
|
10561
11423
|
204: {
|
|
10562
11424
|
headers: {
|
|
10563
11425
|
[name: string]: unknown;
|
|
@@ -10644,10 +11506,10 @@ declare const useDetachServiceForm: (options?: Options$R) => _tanstack_react_que
|
|
|
10644
11506
|
};
|
|
10645
11507
|
}>>;
|
|
10646
11508
|
|
|
10647
|
-
interface Options$
|
|
11509
|
+
interface Options$S extends MutationOptionsFor<"post", "/v1/appointments/{appointment_id}/reschedule"> {
|
|
10648
11510
|
client?: QueryClient;
|
|
10649
11511
|
}
|
|
10650
|
-
declare const useRescheduleAppointment: (options?: Options$
|
|
11512
|
+
declare const useRescheduleAppointment: (options?: Options$S) => _tanstack_react_query.UseMutationResult<{
|
|
10651
11513
|
data: {
|
|
10652
11514
|
appointment_type: "in_person" | "virtual";
|
|
10653
11515
|
cancellation_events: {
|
|
@@ -10662,7 +11524,7 @@ declare const useRescheduleAppointment: (options?: Options$Q) => _tanstack_react
|
|
|
10662
11524
|
initiated_by: "user" | "client";
|
|
10663
11525
|
object: "cancellation_event";
|
|
10664
11526
|
occurred_at: string;
|
|
10665
|
-
source: "client_ui" | "dashboard" | "api";
|
|
11527
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
10666
11528
|
}[];
|
|
10667
11529
|
client: {
|
|
10668
11530
|
created_at: string;
|
|
@@ -10704,7 +11566,7 @@ declare const useRescheduleAppointment: (options?: Options$Q) => _tanstack_react
|
|
|
10704
11566
|
initiated_by: "user" | "client";
|
|
10705
11567
|
object: "confirmation_event";
|
|
10706
11568
|
occurred_at: string;
|
|
10707
|
-
source: "client_ui" | "dashboard" | "api";
|
|
11569
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
10708
11570
|
start_at: {
|
|
10709
11571
|
local: string;
|
|
10710
11572
|
object: "zoned_date_time";
|
|
@@ -10723,6 +11585,16 @@ declare const useRescheduleAppointment: (options?: Options$Q) => _tanstack_react
|
|
|
10723
11585
|
utc: string;
|
|
10724
11586
|
};
|
|
10725
11587
|
id: string;
|
|
11588
|
+
meeting: {
|
|
11589
|
+
conferencing_provider: string | null;
|
|
11590
|
+
error_message: string | null;
|
|
11591
|
+
external_meeting_id: string | null;
|
|
11592
|
+
id: string;
|
|
11593
|
+
join_url: string | null;
|
|
11594
|
+
object: "appointment_meeting";
|
|
11595
|
+
password: string | null;
|
|
11596
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
11597
|
+
} | null;
|
|
10726
11598
|
object: "appointment";
|
|
10727
11599
|
provider: {
|
|
10728
11600
|
created_at: string;
|
|
@@ -10736,6 +11608,19 @@ declare const useRescheduleAppointment: (options?: Options$Q) => _tanstack_react
|
|
|
10736
11608
|
object: "provider";
|
|
10737
11609
|
updated_at: string;
|
|
10738
11610
|
};
|
|
11611
|
+
providers: {
|
|
11612
|
+
created_at: string;
|
|
11613
|
+
display_name: string;
|
|
11614
|
+
first_name: string;
|
|
11615
|
+
id: string;
|
|
11616
|
+
last_name: string;
|
|
11617
|
+
metadata?: {
|
|
11618
|
+
[key: string]: unknown;
|
|
11619
|
+
};
|
|
11620
|
+
object: "provider";
|
|
11621
|
+
role: "primary" | "secondary";
|
|
11622
|
+
updated_at: string;
|
|
11623
|
+
}[];
|
|
10739
11624
|
reschedule_events: {
|
|
10740
11625
|
actor: string | null;
|
|
10741
11626
|
initiated_by: "user" | "client";
|
|
@@ -10769,7 +11654,7 @@ declare const useRescheduleAppointment: (options?: Options$Q) => _tanstack_react
|
|
|
10769
11654
|
unix_ts: number;
|
|
10770
11655
|
utc: string;
|
|
10771
11656
|
};
|
|
10772
|
-
source: "client_ui" | "dashboard" | "api";
|
|
11657
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
10773
11658
|
}[];
|
|
10774
11659
|
service: {
|
|
10775
11660
|
appointment_type: "in_person" | "virtual";
|
|
@@ -10882,7 +11767,7 @@ declare const useRescheduleAppointment: (options?: Options$Q) => _tanstack_react
|
|
|
10882
11767
|
initiated_by: "user" | "client";
|
|
10883
11768
|
object: "cancellation_event";
|
|
10884
11769
|
occurred_at: string;
|
|
10885
|
-
source: "client_ui" | "dashboard" | "api";
|
|
11770
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
10886
11771
|
}[];
|
|
10887
11772
|
client: {
|
|
10888
11773
|
created_at: string;
|
|
@@ -10924,7 +11809,7 @@ declare const useRescheduleAppointment: (options?: Options$Q) => _tanstack_react
|
|
|
10924
11809
|
initiated_by: "user" | "client";
|
|
10925
11810
|
object: "confirmation_event";
|
|
10926
11811
|
occurred_at: string;
|
|
10927
|
-
source: "client_ui" | "dashboard" | "api";
|
|
11812
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
10928
11813
|
start_at: {
|
|
10929
11814
|
local: string;
|
|
10930
11815
|
object: "zoned_date_time";
|
|
@@ -10943,6 +11828,16 @@ declare const useRescheduleAppointment: (options?: Options$Q) => _tanstack_react
|
|
|
10943
11828
|
utc: string;
|
|
10944
11829
|
};
|
|
10945
11830
|
id: string;
|
|
11831
|
+
meeting: {
|
|
11832
|
+
conferencing_provider: string | null;
|
|
11833
|
+
error_message: string | null;
|
|
11834
|
+
external_meeting_id: string | null;
|
|
11835
|
+
id: string;
|
|
11836
|
+
join_url: string | null;
|
|
11837
|
+
object: "appointment_meeting";
|
|
11838
|
+
password: string | null;
|
|
11839
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
11840
|
+
} | null;
|
|
10946
11841
|
object: "appointment";
|
|
10947
11842
|
provider: {
|
|
10948
11843
|
created_at: string;
|
|
@@ -10956,6 +11851,19 @@ declare const useRescheduleAppointment: (options?: Options$Q) => _tanstack_react
|
|
|
10956
11851
|
object: "provider";
|
|
10957
11852
|
updated_at: string;
|
|
10958
11853
|
};
|
|
11854
|
+
providers: {
|
|
11855
|
+
created_at: string;
|
|
11856
|
+
display_name: string;
|
|
11857
|
+
first_name: string;
|
|
11858
|
+
id: string;
|
|
11859
|
+
last_name: string;
|
|
11860
|
+
metadata?: {
|
|
11861
|
+
[key: string]: unknown;
|
|
11862
|
+
};
|
|
11863
|
+
object: "provider";
|
|
11864
|
+
role: "primary" | "secondary";
|
|
11865
|
+
updated_at: string;
|
|
11866
|
+
}[];
|
|
10959
11867
|
reschedule_events: {
|
|
10960
11868
|
actor: string | null;
|
|
10961
11869
|
initiated_by: "user" | "client";
|
|
@@ -10989,7 +11897,7 @@ declare const useRescheduleAppointment: (options?: Options$Q) => _tanstack_react
|
|
|
10989
11897
|
unix_ts: number;
|
|
10990
11898
|
utc: string;
|
|
10991
11899
|
};
|
|
10992
|
-
source: "client_ui" | "dashboard" | "api";
|
|
11900
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
10993
11901
|
}[];
|
|
10994
11902
|
service: {
|
|
10995
11903
|
appointment_type: "in_person" | "virtual";
|
|
@@ -11158,7 +12066,7 @@ declare const useRescheduleAppointment: (options?: Options$Q) => _tanstack_react
|
|
|
11158
12066
|
initiated_by: "user" | "client";
|
|
11159
12067
|
object: "cancellation_event";
|
|
11160
12068
|
occurred_at: string;
|
|
11161
|
-
source: "client_ui" | "dashboard" | "api";
|
|
12069
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
11162
12070
|
}[];
|
|
11163
12071
|
client: {
|
|
11164
12072
|
created_at: string;
|
|
@@ -11200,7 +12108,7 @@ declare const useRescheduleAppointment: (options?: Options$Q) => _tanstack_react
|
|
|
11200
12108
|
initiated_by: "user" | "client";
|
|
11201
12109
|
object: "confirmation_event";
|
|
11202
12110
|
occurred_at: string;
|
|
11203
|
-
source: "client_ui" | "dashboard" | "api";
|
|
12111
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
11204
12112
|
start_at: {
|
|
11205
12113
|
local: string;
|
|
11206
12114
|
object: "zoned_date_time";
|
|
@@ -11219,6 +12127,16 @@ declare const useRescheduleAppointment: (options?: Options$Q) => _tanstack_react
|
|
|
11219
12127
|
utc: string;
|
|
11220
12128
|
};
|
|
11221
12129
|
id: string;
|
|
12130
|
+
meeting: {
|
|
12131
|
+
conferencing_provider: string | null;
|
|
12132
|
+
error_message: string | null;
|
|
12133
|
+
external_meeting_id: string | null;
|
|
12134
|
+
id: string;
|
|
12135
|
+
join_url: string | null;
|
|
12136
|
+
object: "appointment_meeting";
|
|
12137
|
+
password: string | null;
|
|
12138
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
12139
|
+
} | null;
|
|
11222
12140
|
object: "appointment";
|
|
11223
12141
|
provider: {
|
|
11224
12142
|
created_at: string;
|
|
@@ -11231,7 +12149,20 @@ declare const useRescheduleAppointment: (options?: Options$Q) => _tanstack_react
|
|
|
11231
12149
|
};
|
|
11232
12150
|
object: "provider";
|
|
11233
12151
|
updated_at: string;
|
|
11234
|
-
};
|
|
12152
|
+
};
|
|
12153
|
+
providers: {
|
|
12154
|
+
created_at: string;
|
|
12155
|
+
display_name: string;
|
|
12156
|
+
first_name: string;
|
|
12157
|
+
id: string;
|
|
12158
|
+
last_name: string;
|
|
12159
|
+
metadata?: {
|
|
12160
|
+
[key: string]: unknown;
|
|
12161
|
+
};
|
|
12162
|
+
object: "provider";
|
|
12163
|
+
role: "primary" | "secondary";
|
|
12164
|
+
updated_at: string;
|
|
12165
|
+
}[];
|
|
11235
12166
|
reschedule_events: {
|
|
11236
12167
|
actor: string | null;
|
|
11237
12168
|
initiated_by: "user" | "client";
|
|
@@ -11265,7 +12196,7 @@ declare const useRescheduleAppointment: (options?: Options$Q) => _tanstack_react
|
|
|
11265
12196
|
unix_ts: number;
|
|
11266
12197
|
utc: string;
|
|
11267
12198
|
};
|
|
11268
|
-
source: "client_ui" | "dashboard" | "api";
|
|
12199
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
11269
12200
|
}[];
|
|
11270
12201
|
service: {
|
|
11271
12202
|
appointment_type: "in_person" | "virtual";
|
|
@@ -11394,10 +12325,10 @@ declare const useRescheduleAppointment: (options?: Options$Q) => _tanstack_react
|
|
|
11394
12325
|
};
|
|
11395
12326
|
}>>;
|
|
11396
12327
|
|
|
11397
|
-
interface Options$
|
|
12328
|
+
interface Options$R extends MutationOptionsFor<"post", "/v1/public/appointments/{appointment_id}/reschedule"> {
|
|
11398
12329
|
client?: QueryClient;
|
|
11399
12330
|
}
|
|
11400
|
-
declare const useReschedulePublicAppointment: (options?: Options$
|
|
12331
|
+
declare const useReschedulePublicAppointment: (options?: Options$R) => _tanstack_react_query.UseMutationResult<{
|
|
11401
12332
|
data: {
|
|
11402
12333
|
cancellation: {
|
|
11403
12334
|
allowed: boolean;
|
|
@@ -11560,10 +12491,10 @@ declare const useReschedulePublicAppointment: (options?: Options$P) => _tanstack
|
|
|
11560
12491
|
};
|
|
11561
12492
|
}>>;
|
|
11562
12493
|
|
|
11563
|
-
interface Options$
|
|
12494
|
+
interface Options$Q extends MutationOptionsFor<"post", "/v1/services/{service_id}/forms/sort"> {
|
|
11564
12495
|
client?: QueryClient;
|
|
11565
12496
|
}
|
|
11566
|
-
declare const useSortServiceForms: (options?: Options$
|
|
12497
|
+
declare const useSortServiceForms: (options?: Options$Q) => _tanstack_react_query.UseMutationResult<{
|
|
11567
12498
|
data: {
|
|
11568
12499
|
created_at: string;
|
|
11569
12500
|
form_id: string;
|
|
@@ -11720,10 +12651,10 @@ declare const useSortServiceForms: (options?: Options$O) => _tanstack_react_quer
|
|
|
11720
12651
|
};
|
|
11721
12652
|
}>>;
|
|
11722
12653
|
|
|
11723
|
-
interface Options$
|
|
12654
|
+
interface Options$P extends MutationOptionsFor<"patch", "/v1/accounts/{account_id}"> {
|
|
11724
12655
|
client?: QueryClient;
|
|
11725
12656
|
}
|
|
11726
|
-
declare const useUpdateAccount: (options?: Options$
|
|
12657
|
+
declare const useUpdateAccount: (options?: Options$P) => _tanstack_react_query.UseMutationResult<{
|
|
11727
12658
|
data?: {
|
|
11728
12659
|
created_at: string;
|
|
11729
12660
|
id: string;
|
|
@@ -11872,17 +12803,17 @@ declare const useUpdateAccount: (options?: Options$N) => _tanstack_react_query.U
|
|
|
11872
12803
|
};
|
|
11873
12804
|
}>>;
|
|
11874
12805
|
|
|
11875
|
-
interface Options$
|
|
12806
|
+
interface Options$O extends MutationOptionsFor<"patch", "/v1/users/{user_id}"> {
|
|
11876
12807
|
client?: QueryClient;
|
|
11877
12808
|
}
|
|
11878
|
-
declare const useUpdateAccountUser: (options?: Options$
|
|
12809
|
+
declare const useUpdateAccountUser: (options?: Options$O) => _tanstack_react_query.UseMutationResult<{
|
|
11879
12810
|
object: "account_user";
|
|
11880
12811
|
passive: boolean;
|
|
11881
12812
|
roles: {
|
|
11882
12813
|
id: string;
|
|
11883
12814
|
name: string;
|
|
11884
12815
|
object: "role";
|
|
11885
|
-
type: "admin" | "staff" | "
|
|
12816
|
+
type: "admin" | "staff" | "superuser" | "custom";
|
|
11886
12817
|
}[];
|
|
11887
12818
|
user: {
|
|
11888
12819
|
created_at: string;
|
|
@@ -11906,7 +12837,7 @@ declare const useUpdateAccountUser: (options?: Options$M) => _tanstack_react_que
|
|
|
11906
12837
|
id: string;
|
|
11907
12838
|
name: string;
|
|
11908
12839
|
object: "role";
|
|
11909
|
-
type: "admin" | "staff" | "
|
|
12840
|
+
type: "admin" | "staff" | "superuser" | "custom";
|
|
11910
12841
|
}[];
|
|
11911
12842
|
user: {
|
|
11912
12843
|
created_at: string;
|
|
@@ -12002,7 +12933,7 @@ declare const useUpdateAccountUser: (options?: Options$M) => _tanstack_react_que
|
|
|
12002
12933
|
id: string;
|
|
12003
12934
|
name: string;
|
|
12004
12935
|
object: "role";
|
|
12005
|
-
type: "admin" | "staff" | "
|
|
12936
|
+
type: "admin" | "staff" | "superuser" | "custom";
|
|
12006
12937
|
}[];
|
|
12007
12938
|
user: {
|
|
12008
12939
|
created_at: string;
|
|
@@ -12065,10 +12996,10 @@ declare const useUpdateAccountUser: (options?: Options$M) => _tanstack_react_que
|
|
|
12065
12996
|
};
|
|
12066
12997
|
}>>;
|
|
12067
12998
|
|
|
12068
|
-
interface Options$
|
|
12999
|
+
interface Options$N extends MutationOptionsFor<"patch", "/v1/blocks/{block_id}"> {
|
|
12069
13000
|
client?: QueryClient;
|
|
12070
13001
|
}
|
|
12071
|
-
declare const useUpdateBlock: (options?: Options$
|
|
13002
|
+
declare const useUpdateBlock: (options?: Options$N) => _tanstack_react_query.UseMutationResult<{
|
|
12072
13003
|
data: {
|
|
12073
13004
|
all_day: boolean;
|
|
12074
13005
|
attachment_type: "location" | "service" | "provider" | "service_provider";
|
|
@@ -12259,10 +13190,10 @@ declare const useUpdateBlock: (options?: Options$L) => _tanstack_react_query.Use
|
|
|
12259
13190
|
};
|
|
12260
13191
|
}> | undefined>;
|
|
12261
13192
|
|
|
12262
|
-
interface Options$
|
|
13193
|
+
interface Options$M extends MutationOptionsFor<"patch", "/v1/booking_intents/{booking_intent_id}"> {
|
|
12263
13194
|
client?: QueryClient;
|
|
12264
13195
|
}
|
|
12265
|
-
declare const useUpdateBookingIntent: (options?: Options$
|
|
13196
|
+
declare const useUpdateBookingIntent: (options?: Options$M) => _tanstack_react_query.UseMutationResult<{
|
|
12266
13197
|
data: {
|
|
12267
13198
|
abandoned_at?: string | null;
|
|
12268
13199
|
appointment?: {
|
|
@@ -12279,7 +13210,7 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12279
13210
|
initiated_by: "user" | "client";
|
|
12280
13211
|
object: "cancellation_event";
|
|
12281
13212
|
occurred_at: string;
|
|
12282
|
-
source: "client_ui" | "dashboard" | "api";
|
|
13213
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
12283
13214
|
}[];
|
|
12284
13215
|
client: {
|
|
12285
13216
|
created_at: string;
|
|
@@ -12321,7 +13252,7 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12321
13252
|
initiated_by: "user" | "client";
|
|
12322
13253
|
object: "confirmation_event";
|
|
12323
13254
|
occurred_at: string;
|
|
12324
|
-
source: "client_ui" | "dashboard" | "api";
|
|
13255
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
12325
13256
|
start_at: {
|
|
12326
13257
|
local: string;
|
|
12327
13258
|
object: "zoned_date_time";
|
|
@@ -12340,6 +13271,16 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12340
13271
|
utc: string;
|
|
12341
13272
|
};
|
|
12342
13273
|
id: string;
|
|
13274
|
+
meeting: {
|
|
13275
|
+
conferencing_provider: string | null;
|
|
13276
|
+
error_message: string | null;
|
|
13277
|
+
external_meeting_id: string | null;
|
|
13278
|
+
id: string;
|
|
13279
|
+
join_url: string | null;
|
|
13280
|
+
object: "appointment_meeting";
|
|
13281
|
+
password: string | null;
|
|
13282
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
13283
|
+
} | null;
|
|
12343
13284
|
object: "appointment";
|
|
12344
13285
|
provider: {
|
|
12345
13286
|
created_at: string;
|
|
@@ -12353,6 +13294,19 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12353
13294
|
object: "provider";
|
|
12354
13295
|
updated_at: string;
|
|
12355
13296
|
};
|
|
13297
|
+
providers: {
|
|
13298
|
+
created_at: string;
|
|
13299
|
+
display_name: string;
|
|
13300
|
+
first_name: string;
|
|
13301
|
+
id: string;
|
|
13302
|
+
last_name: string;
|
|
13303
|
+
metadata?: {
|
|
13304
|
+
[key: string]: unknown;
|
|
13305
|
+
};
|
|
13306
|
+
object: "provider";
|
|
13307
|
+
role: "primary" | "secondary";
|
|
13308
|
+
updated_at: string;
|
|
13309
|
+
}[];
|
|
12356
13310
|
reschedule_events: {
|
|
12357
13311
|
actor: string | null;
|
|
12358
13312
|
initiated_by: "user" | "client";
|
|
@@ -12386,7 +13340,7 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12386
13340
|
unix_ts: number;
|
|
12387
13341
|
utc: string;
|
|
12388
13342
|
};
|
|
12389
|
-
source: "client_ui" | "dashboard" | "api";
|
|
13343
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
12390
13344
|
}[];
|
|
12391
13345
|
service: {
|
|
12392
13346
|
appointment_type: "in_person" | "virtual";
|
|
@@ -12531,7 +13485,7 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12531
13485
|
}[] | null;
|
|
12532
13486
|
hold_until?: string | null;
|
|
12533
13487
|
id: string;
|
|
12534
|
-
locked_fields?: ("service_id" | "provider_id" | "
|
|
13488
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
12535
13489
|
metadata?: {
|
|
12536
13490
|
[key: string]: unknown;
|
|
12537
13491
|
};
|
|
@@ -12560,6 +13514,18 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12560
13514
|
form_id: string;
|
|
12561
13515
|
}[];
|
|
12562
13516
|
} | null;
|
|
13517
|
+
secondary_providers?: {
|
|
13518
|
+
created_at: string;
|
|
13519
|
+
display_name: string;
|
|
13520
|
+
first_name: string;
|
|
13521
|
+
id: string;
|
|
13522
|
+
last_name: string;
|
|
13523
|
+
metadata?: {
|
|
13524
|
+
[key: string]: unknown;
|
|
13525
|
+
};
|
|
13526
|
+
object: "provider";
|
|
13527
|
+
updated_at: string;
|
|
13528
|
+
}[] | null;
|
|
12563
13529
|
service?: {
|
|
12564
13530
|
appointment_type: "in_person" | "virtual";
|
|
12565
13531
|
booking_policy: {
|
|
@@ -12651,7 +13617,7 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12651
13617
|
available_steps: string[];
|
|
12652
13618
|
can_change_slot: boolean;
|
|
12653
13619
|
can_complete: boolean;
|
|
12654
|
-
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
13620
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
12655
13621
|
is_defunct: boolean;
|
|
12656
13622
|
resume_step: string;
|
|
12657
13623
|
} | null;
|
|
@@ -12679,7 +13645,7 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12679
13645
|
initiated_by: "user" | "client";
|
|
12680
13646
|
object: "cancellation_event";
|
|
12681
13647
|
occurred_at: string;
|
|
12682
|
-
source: "client_ui" | "dashboard" | "api";
|
|
13648
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
12683
13649
|
}[];
|
|
12684
13650
|
client: {
|
|
12685
13651
|
created_at: string;
|
|
@@ -12721,7 +13687,7 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12721
13687
|
initiated_by: "user" | "client";
|
|
12722
13688
|
object: "confirmation_event";
|
|
12723
13689
|
occurred_at: string;
|
|
12724
|
-
source: "client_ui" | "dashboard" | "api";
|
|
13690
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
12725
13691
|
start_at: {
|
|
12726
13692
|
local: string;
|
|
12727
13693
|
object: "zoned_date_time";
|
|
@@ -12740,6 +13706,16 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12740
13706
|
utc: string;
|
|
12741
13707
|
};
|
|
12742
13708
|
id: string;
|
|
13709
|
+
meeting: {
|
|
13710
|
+
conferencing_provider: string | null;
|
|
13711
|
+
error_message: string | null;
|
|
13712
|
+
external_meeting_id: string | null;
|
|
13713
|
+
id: string;
|
|
13714
|
+
join_url: string | null;
|
|
13715
|
+
object: "appointment_meeting";
|
|
13716
|
+
password: string | null;
|
|
13717
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
13718
|
+
} | null;
|
|
12743
13719
|
object: "appointment";
|
|
12744
13720
|
provider: {
|
|
12745
13721
|
created_at: string;
|
|
@@ -12753,6 +13729,19 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12753
13729
|
object: "provider";
|
|
12754
13730
|
updated_at: string;
|
|
12755
13731
|
};
|
|
13732
|
+
providers: {
|
|
13733
|
+
created_at: string;
|
|
13734
|
+
display_name: string;
|
|
13735
|
+
first_name: string;
|
|
13736
|
+
id: string;
|
|
13737
|
+
last_name: string;
|
|
13738
|
+
metadata?: {
|
|
13739
|
+
[key: string]: unknown;
|
|
13740
|
+
};
|
|
13741
|
+
object: "provider";
|
|
13742
|
+
role: "primary" | "secondary";
|
|
13743
|
+
updated_at: string;
|
|
13744
|
+
}[];
|
|
12756
13745
|
reschedule_events: {
|
|
12757
13746
|
actor: string | null;
|
|
12758
13747
|
initiated_by: "user" | "client";
|
|
@@ -12786,7 +13775,7 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12786
13775
|
unix_ts: number;
|
|
12787
13776
|
utc: string;
|
|
12788
13777
|
};
|
|
12789
|
-
source: "client_ui" | "dashboard" | "api";
|
|
13778
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
12790
13779
|
}[];
|
|
12791
13780
|
service: {
|
|
12792
13781
|
appointment_type: "in_person" | "virtual";
|
|
@@ -12931,7 +13920,7 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12931
13920
|
}[] | null;
|
|
12932
13921
|
hold_until?: string | null;
|
|
12933
13922
|
id: string;
|
|
12934
|
-
locked_fields?: ("service_id" | "provider_id" | "
|
|
13923
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
12935
13924
|
metadata?: {
|
|
12936
13925
|
[key: string]: unknown;
|
|
12937
13926
|
};
|
|
@@ -12960,6 +13949,18 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12960
13949
|
form_id: string;
|
|
12961
13950
|
}[];
|
|
12962
13951
|
} | null;
|
|
13952
|
+
secondary_providers?: {
|
|
13953
|
+
created_at: string;
|
|
13954
|
+
display_name: string;
|
|
13955
|
+
first_name: string;
|
|
13956
|
+
id: string;
|
|
13957
|
+
last_name: string;
|
|
13958
|
+
metadata?: {
|
|
13959
|
+
[key: string]: unknown;
|
|
13960
|
+
};
|
|
13961
|
+
object: "provider";
|
|
13962
|
+
updated_at: string;
|
|
13963
|
+
}[] | null;
|
|
12963
13964
|
service?: {
|
|
12964
13965
|
appointment_type: "in_person" | "virtual";
|
|
12965
13966
|
booking_policy: {
|
|
@@ -13051,7 +14052,7 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
13051
14052
|
available_steps: string[];
|
|
13052
14053
|
can_change_slot: boolean;
|
|
13053
14054
|
can_complete: boolean;
|
|
13054
|
-
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
14055
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
13055
14056
|
is_defunct: boolean;
|
|
13056
14057
|
resume_step: string;
|
|
13057
14058
|
} | null;
|
|
@@ -13138,11 +14139,14 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
13138
14139
|
} | null;
|
|
13139
14140
|
client_id?: string | null;
|
|
13140
14141
|
end_at?: string | null;
|
|
13141
|
-
locked_fields?: ("service_id" | "provider_id" | "
|
|
14142
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[] | null;
|
|
13142
14143
|
metadata?: {
|
|
13143
14144
|
[key: string]: unknown;
|
|
13144
14145
|
} | null;
|
|
13145
14146
|
provider_id?: string | null;
|
|
14147
|
+
secondary_providers?: {
|
|
14148
|
+
id: string;
|
|
14149
|
+
}[] | null;
|
|
13146
14150
|
service_id?: string | null;
|
|
13147
14151
|
slot_prevalidated?: boolean | null;
|
|
13148
14152
|
start_at?: string | null;
|
|
@@ -13179,7 +14183,7 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
13179
14183
|
initiated_by: "user" | "client";
|
|
13180
14184
|
object: "cancellation_event";
|
|
13181
14185
|
occurred_at: string;
|
|
13182
|
-
source: "client_ui" | "dashboard" | "api";
|
|
14186
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
13183
14187
|
}[];
|
|
13184
14188
|
client: {
|
|
13185
14189
|
created_at: string;
|
|
@@ -13221,7 +14225,7 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
13221
14225
|
initiated_by: "user" | "client";
|
|
13222
14226
|
object: "confirmation_event";
|
|
13223
14227
|
occurred_at: string;
|
|
13224
|
-
source: "client_ui" | "dashboard" | "api";
|
|
14228
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
13225
14229
|
start_at: {
|
|
13226
14230
|
local: string;
|
|
13227
14231
|
object: "zoned_date_time";
|
|
@@ -13240,6 +14244,16 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
13240
14244
|
utc: string;
|
|
13241
14245
|
};
|
|
13242
14246
|
id: string;
|
|
14247
|
+
meeting: {
|
|
14248
|
+
conferencing_provider: string | null;
|
|
14249
|
+
error_message: string | null;
|
|
14250
|
+
external_meeting_id: string | null;
|
|
14251
|
+
id: string;
|
|
14252
|
+
join_url: string | null;
|
|
14253
|
+
object: "appointment_meeting";
|
|
14254
|
+
password: string | null;
|
|
14255
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
14256
|
+
} | null;
|
|
13243
14257
|
object: "appointment";
|
|
13244
14258
|
provider: {
|
|
13245
14259
|
created_at: string;
|
|
@@ -13253,6 +14267,19 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
13253
14267
|
object: "provider";
|
|
13254
14268
|
updated_at: string;
|
|
13255
14269
|
};
|
|
14270
|
+
providers: {
|
|
14271
|
+
created_at: string;
|
|
14272
|
+
display_name: string;
|
|
14273
|
+
first_name: string;
|
|
14274
|
+
id: string;
|
|
14275
|
+
last_name: string;
|
|
14276
|
+
metadata?: {
|
|
14277
|
+
[key: string]: unknown;
|
|
14278
|
+
};
|
|
14279
|
+
object: "provider";
|
|
14280
|
+
role: "primary" | "secondary";
|
|
14281
|
+
updated_at: string;
|
|
14282
|
+
}[];
|
|
13256
14283
|
reschedule_events: {
|
|
13257
14284
|
actor: string | null;
|
|
13258
14285
|
initiated_by: "user" | "client";
|
|
@@ -13286,7 +14313,7 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
13286
14313
|
unix_ts: number;
|
|
13287
14314
|
utc: string;
|
|
13288
14315
|
};
|
|
13289
|
-
source: "client_ui" | "dashboard" | "api";
|
|
14316
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
13290
14317
|
}[];
|
|
13291
14318
|
service: {
|
|
13292
14319
|
appointment_type: "in_person" | "virtual";
|
|
@@ -13431,7 +14458,7 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
13431
14458
|
}[] | null;
|
|
13432
14459
|
hold_until?: string | null;
|
|
13433
14460
|
id: string;
|
|
13434
|
-
locked_fields?: ("service_id" | "provider_id" | "
|
|
14461
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
13435
14462
|
metadata?: {
|
|
13436
14463
|
[key: string]: unknown;
|
|
13437
14464
|
};
|
|
@@ -13460,6 +14487,18 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
13460
14487
|
form_id: string;
|
|
13461
14488
|
}[];
|
|
13462
14489
|
} | null;
|
|
14490
|
+
secondary_providers?: {
|
|
14491
|
+
created_at: string;
|
|
14492
|
+
display_name: string;
|
|
14493
|
+
first_name: string;
|
|
14494
|
+
id: string;
|
|
14495
|
+
last_name: string;
|
|
14496
|
+
metadata?: {
|
|
14497
|
+
[key: string]: unknown;
|
|
14498
|
+
};
|
|
14499
|
+
object: "provider";
|
|
14500
|
+
updated_at: string;
|
|
14501
|
+
}[] | null;
|
|
13463
14502
|
service?: {
|
|
13464
14503
|
appointment_type: "in_person" | "virtual";
|
|
13465
14504
|
booking_policy: {
|
|
@@ -13551,7 +14590,7 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
13551
14590
|
available_steps: string[];
|
|
13552
14591
|
can_change_slot: boolean;
|
|
13553
14592
|
can_complete: boolean;
|
|
13554
|
-
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
14593
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
13555
14594
|
is_defunct: boolean;
|
|
13556
14595
|
resume_step: string;
|
|
13557
14596
|
} | null;
|
|
@@ -13606,10 +14645,10 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
13606
14645
|
};
|
|
13607
14646
|
}>>;
|
|
13608
14647
|
|
|
13609
|
-
interface Options$
|
|
14648
|
+
interface Options$L extends MutationOptionsFor<"patch", "/v1/cancellation_reasons/{cancellation_reason_id}"> {
|
|
13610
14649
|
client?: QueryClient;
|
|
13611
14650
|
}
|
|
13612
|
-
declare const useUpdateCancellationReason: (options?: Options$
|
|
14651
|
+
declare const useUpdateCancellationReason: (options?: Options$L) => _tanstack_react_query.UseMutationResult<{
|
|
13613
14652
|
data: Record<string, never>;
|
|
13614
14653
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
13615
14654
|
200: {
|
|
@@ -13742,10 +14781,10 @@ declare const useUpdateCancellationReason: (options?: Options$J) => _tanstack_re
|
|
|
13742
14781
|
};
|
|
13743
14782
|
}>>;
|
|
13744
14783
|
|
|
13745
|
-
interface Options$
|
|
14784
|
+
interface Options$K extends MutationOptionsFor<"patch", "/v1/clients/{client_id}"> {
|
|
13746
14785
|
client?: QueryClient;
|
|
13747
14786
|
}
|
|
13748
|
-
declare const useUpdateClient: (options?: Options$
|
|
14787
|
+
declare const useUpdateClient: (options?: Options$K) => _tanstack_react_query.UseMutationResult<{
|
|
13749
14788
|
data: {
|
|
13750
14789
|
created_at: string;
|
|
13751
14790
|
email?: string | null;
|
|
@@ -13944,10 +14983,10 @@ declare const useUpdateClient: (options?: Options$I) => _tanstack_react_query.Us
|
|
|
13944
14983
|
};
|
|
13945
14984
|
}>>;
|
|
13946
14985
|
|
|
13947
|
-
interface Options$
|
|
14986
|
+
interface Options$J extends MutationOptionsFor<"patch", "/v1/client_fields/{client_field_id}"> {
|
|
13948
14987
|
client?: QueryClient;
|
|
13949
14988
|
}
|
|
13950
|
-
declare const useUpdateClientField: (options?: Options$
|
|
14989
|
+
declare const useUpdateClientField: (options?: Options$J) => _tanstack_react_query.UseMutationResult<{
|
|
13951
14990
|
data: Record<string, never>;
|
|
13952
14991
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
13953
14992
|
200: {
|
|
@@ -14089,10 +15128,10 @@ declare const useUpdateClientField: (options?: Options$H) => _tanstack_react_que
|
|
|
14089
15128
|
};
|
|
14090
15129
|
}>>;
|
|
14091
15130
|
|
|
14092
|
-
interface Options$
|
|
15131
|
+
interface Options$I extends MutationOptionsFor<"patch", "/v1/connected_accounts/{connected_account_id}"> {
|
|
14093
15132
|
client?: QueryClient;
|
|
14094
15133
|
}
|
|
14095
|
-
declare const useUpdateConnectedAccount: (options?: Options$
|
|
15134
|
+
declare const useUpdateConnectedAccount: (options?: Options$I) => _tanstack_react_query.UseMutationResult<{
|
|
14096
15135
|
data: {
|
|
14097
15136
|
connection_scope: "user" | "account";
|
|
14098
15137
|
created_at: string;
|
|
@@ -14264,10 +15303,10 @@ declare const useUpdateConnectedAccount: (options?: Options$G) => _tanstack_reac
|
|
|
14264
15303
|
};
|
|
14265
15304
|
}>>;
|
|
14266
15305
|
|
|
14267
|
-
interface Options$
|
|
15306
|
+
interface Options$H extends MutationOptionsFor<"patch", "/v1/forms/{form_id}"> {
|
|
14268
15307
|
client?: QueryClient;
|
|
14269
15308
|
}
|
|
14270
|
-
declare const useUpdateForm: (options?: Options$
|
|
15309
|
+
declare const useUpdateForm: (options?: Options$H) => _tanstack_react_query.UseMutationResult<{
|
|
14271
15310
|
data: {
|
|
14272
15311
|
created_at: string;
|
|
14273
15312
|
field_count: number;
|
|
@@ -14493,10 +15532,10 @@ declare const useUpdateForm: (options?: Options$F) => _tanstack_react_query.UseM
|
|
|
14493
15532
|
};
|
|
14494
15533
|
}>>;
|
|
14495
15534
|
|
|
14496
|
-
interface Options$
|
|
15535
|
+
interface Options$G extends MutationOptionsFor<"patch", "/v1/providers/{provider_id}"> {
|
|
14497
15536
|
client?: QueryClient;
|
|
14498
15537
|
}
|
|
14499
|
-
declare const useUpdateProvider: (options?: Options$
|
|
15538
|
+
declare const useUpdateProvider: (options?: Options$G) => _tanstack_react_query.UseMutationResult<{
|
|
14500
15539
|
data: {
|
|
14501
15540
|
created_at: string;
|
|
14502
15541
|
display_name: string;
|
|
@@ -14667,10 +15706,10 @@ declare const useUpdateProvider: (options?: Options$E) => _tanstack_react_query.
|
|
|
14667
15706
|
};
|
|
14668
15707
|
}>>;
|
|
14669
15708
|
|
|
14670
|
-
interface Options$
|
|
15709
|
+
interface Options$F extends MutationOptionsFor<"patch", "/v1/provider_schedules/{provider_schedule_id}"> {
|
|
14671
15710
|
client?: QueryClient;
|
|
14672
15711
|
}
|
|
14673
|
-
declare const useUpdateProviderSchedule: (options?: Options$
|
|
15712
|
+
declare const useUpdateProviderSchedule: (options?: Options$F) => _tanstack_react_query.UseMutationResult<{
|
|
14674
15713
|
data: {
|
|
14675
15714
|
created_at: string;
|
|
14676
15715
|
effective_from: string;
|
|
@@ -14829,10 +15868,10 @@ declare const useUpdateProviderSchedule: (options?: Options$D) => _tanstack_reac
|
|
|
14829
15868
|
};
|
|
14830
15869
|
}> | undefined>;
|
|
14831
15870
|
|
|
14832
|
-
interface Options$
|
|
15871
|
+
interface Options$E extends MutationOptionsFor<"patch", "/v1/public/booking_intents/{booking_intent_id}"> {
|
|
14833
15872
|
client?: QueryClient;
|
|
14834
15873
|
}
|
|
14835
|
-
declare const useUpdatePublicBookingIntent: (options?: Options$
|
|
15874
|
+
declare const useUpdatePublicBookingIntent: (options?: Options$E) => _tanstack_react_query.UseMutationResult<{
|
|
14836
15875
|
data: {
|
|
14837
15876
|
appointment?: {
|
|
14838
15877
|
cancellation: {
|
|
@@ -14886,7 +15925,7 @@ declare const useUpdatePublicBookingIntent: (options?: Options$C) => _tanstack_r
|
|
|
14886
15925
|
}[] | null;
|
|
14887
15926
|
hold_until?: string | null;
|
|
14888
15927
|
id: string;
|
|
14889
|
-
locked_fields?: ("service_id" | "provider_id" | "
|
|
15928
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
14890
15929
|
object: "public_booking_intent";
|
|
14891
15930
|
requirements?: {
|
|
14892
15931
|
booking: {
|
|
@@ -14912,21 +15951,136 @@ declare const useUpdatePublicBookingIntent: (options?: Options$C) => _tanstack_r
|
|
|
14912
15951
|
available_steps: string[];
|
|
14913
15952
|
can_change_slot: boolean;
|
|
14914
15953
|
can_complete: boolean;
|
|
14915
|
-
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
15954
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
14916
15955
|
is_defunct: boolean;
|
|
14917
15956
|
resume_step: string;
|
|
14918
15957
|
};
|
|
14919
15958
|
};
|
|
14920
|
-
}, {
|
|
14921
|
-
|
|
14922
|
-
|
|
14923
|
-
|
|
14924
|
-
source: {
|
|
14925
|
-
pointer: string;
|
|
15959
|
+
}, openapi_typescript_helpers.ErrorResponse<{
|
|
15960
|
+
200: {
|
|
15961
|
+
headers: {
|
|
15962
|
+
[name: string]: unknown;
|
|
14926
15963
|
};
|
|
14927
|
-
|
|
14928
|
-
|
|
14929
|
-
|
|
15964
|
+
content: {
|
|
15965
|
+
"application/json": {
|
|
15966
|
+
data: {
|
|
15967
|
+
appointment?: {
|
|
15968
|
+
cancellation: {
|
|
15969
|
+
allowed: boolean;
|
|
15970
|
+
disabled_message: string | null;
|
|
15971
|
+
};
|
|
15972
|
+
confirmed_at: string | null;
|
|
15973
|
+
end_at: {
|
|
15974
|
+
local: string;
|
|
15975
|
+
object: "zoned_date_time";
|
|
15976
|
+
time_zone: string;
|
|
15977
|
+
unix_ts: number;
|
|
15978
|
+
utc: string;
|
|
15979
|
+
};
|
|
15980
|
+
id: string;
|
|
15981
|
+
object: "public_appointment";
|
|
15982
|
+
rescheduling: {
|
|
15983
|
+
allowed: boolean;
|
|
15984
|
+
disabled_message: string | null;
|
|
15985
|
+
};
|
|
15986
|
+
start_at: {
|
|
15987
|
+
local: string;
|
|
15988
|
+
object: "zoned_date_time";
|
|
15989
|
+
time_zone: string;
|
|
15990
|
+
unix_ts: number;
|
|
15991
|
+
utc: string;
|
|
15992
|
+
};
|
|
15993
|
+
status: "scheduled" | "canceled";
|
|
15994
|
+
urls: {
|
|
15995
|
+
add_to_calendar: string[];
|
|
15996
|
+
add_to_google_calendar: string[];
|
|
15997
|
+
cancel: string[];
|
|
15998
|
+
ics: string[];
|
|
15999
|
+
reschedule: string[];
|
|
16000
|
+
};
|
|
16001
|
+
} | null;
|
|
16002
|
+
end_at?: {
|
|
16003
|
+
local: string;
|
|
16004
|
+
object: "zoned_date_time";
|
|
16005
|
+
time_zone: string;
|
|
16006
|
+
unix_ts: number;
|
|
16007
|
+
utc: string;
|
|
16008
|
+
} | null;
|
|
16009
|
+
errors?: {
|
|
16010
|
+
code?: string | null;
|
|
16011
|
+
detail: string;
|
|
16012
|
+
source: {
|
|
16013
|
+
pointer: string;
|
|
16014
|
+
};
|
|
16015
|
+
title: string;
|
|
16016
|
+
}[] | null;
|
|
16017
|
+
hold_until?: string | null;
|
|
16018
|
+
id: string;
|
|
16019
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
16020
|
+
object: "public_booking_intent";
|
|
16021
|
+
requirements?: {
|
|
16022
|
+
booking: {
|
|
16023
|
+
complete: boolean;
|
|
16024
|
+
};
|
|
16025
|
+
info: {
|
|
16026
|
+
complete: boolean;
|
|
16027
|
+
};
|
|
16028
|
+
submissions: {
|
|
16029
|
+
complete: boolean;
|
|
16030
|
+
form_id: string;
|
|
16031
|
+
}[];
|
|
16032
|
+
};
|
|
16033
|
+
start_at?: {
|
|
16034
|
+
local: string;
|
|
16035
|
+
object: "zoned_date_time";
|
|
16036
|
+
time_zone: string;
|
|
16037
|
+
unix_ts: number;
|
|
16038
|
+
utc: string;
|
|
16039
|
+
} | null;
|
|
16040
|
+
status: "pending" | "slot_selected" | "completed" | "abandoned";
|
|
16041
|
+
workflow?: {
|
|
16042
|
+
available_steps: string[];
|
|
16043
|
+
can_change_slot: boolean;
|
|
16044
|
+
can_complete: boolean;
|
|
16045
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
16046
|
+
is_defunct: boolean;
|
|
16047
|
+
resume_step: string;
|
|
16048
|
+
};
|
|
16049
|
+
};
|
|
16050
|
+
};
|
|
16051
|
+
};
|
|
16052
|
+
};
|
|
16053
|
+
404: {
|
|
16054
|
+
headers: {
|
|
16055
|
+
[name: string]: unknown;
|
|
16056
|
+
};
|
|
16057
|
+
content: {
|
|
16058
|
+
"application/json": {
|
|
16059
|
+
errors: {
|
|
16060
|
+
detail: "Not Found";
|
|
16061
|
+
status: "404";
|
|
16062
|
+
}[];
|
|
16063
|
+
};
|
|
16064
|
+
};
|
|
16065
|
+
};
|
|
16066
|
+
422: {
|
|
16067
|
+
headers: {
|
|
16068
|
+
[name: string]: unknown;
|
|
16069
|
+
};
|
|
16070
|
+
content: {
|
|
16071
|
+
"application/json": {
|
|
16072
|
+
errors: {
|
|
16073
|
+
code?: string | null;
|
|
16074
|
+
detail: string;
|
|
16075
|
+
source: {
|
|
16076
|
+
pointer: string;
|
|
16077
|
+
};
|
|
16078
|
+
title: string;
|
|
16079
|
+
}[];
|
|
16080
|
+
};
|
|
16081
|
+
};
|
|
16082
|
+
};
|
|
16083
|
+
}, `${string}/${string}`>, openapi_fetch.FetchOptions<{
|
|
14930
16084
|
parameters: {
|
|
14931
16085
|
query?: never;
|
|
14932
16086
|
header?: never;
|
|
@@ -15025,7 +16179,7 @@ declare const useUpdatePublicBookingIntent: (options?: Options$C) => _tanstack_r
|
|
|
15025
16179
|
}[] | null;
|
|
15026
16180
|
hold_until?: string | null;
|
|
15027
16181
|
id: string;
|
|
15028
|
-
locked_fields?: ("service_id" | "provider_id" | "
|
|
16182
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
15029
16183
|
object: "public_booking_intent";
|
|
15030
16184
|
requirements?: {
|
|
15031
16185
|
booking: {
|
|
@@ -15051,7 +16205,7 @@ declare const useUpdatePublicBookingIntent: (options?: Options$C) => _tanstack_r
|
|
|
15051
16205
|
available_steps: string[];
|
|
15052
16206
|
can_change_slot: boolean;
|
|
15053
16207
|
can_complete: boolean;
|
|
15054
|
-
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
16208
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
15055
16209
|
is_defunct: boolean;
|
|
15056
16210
|
resume_step: string;
|
|
15057
16211
|
};
|
|
@@ -15066,12 +16220,8 @@ declare const useUpdatePublicBookingIntent: (options?: Options$C) => _tanstack_r
|
|
|
15066
16220
|
content: {
|
|
15067
16221
|
"application/json": {
|
|
15068
16222
|
errors: {
|
|
15069
|
-
|
|
15070
|
-
|
|
15071
|
-
source: {
|
|
15072
|
-
pointer: string;
|
|
15073
|
-
};
|
|
15074
|
-
title: string;
|
|
16223
|
+
detail: "Not Found";
|
|
16224
|
+
status: "404";
|
|
15075
16225
|
}[];
|
|
15076
16226
|
};
|
|
15077
16227
|
};
|
|
@@ -15096,10 +16246,10 @@ declare const useUpdatePublicBookingIntent: (options?: Options$C) => _tanstack_r
|
|
|
15096
16246
|
};
|
|
15097
16247
|
}>>;
|
|
15098
16248
|
|
|
15099
|
-
interface Options$
|
|
16249
|
+
interface Options$D extends MutationOptionsFor<"patch", "/v1/services/{service_id}"> {
|
|
15100
16250
|
client?: QueryClient;
|
|
15101
16251
|
}
|
|
15102
|
-
declare const useUpdateService: (options?: Options$
|
|
16252
|
+
declare const useUpdateService: (options?: Options$D) => _tanstack_react_query.UseMutationResult<{
|
|
15103
16253
|
data: {
|
|
15104
16254
|
appointment_type: "in_person" | "virtual";
|
|
15105
16255
|
booking_policy: {
|
|
@@ -15523,10 +16673,10 @@ declare const useSavvyCalQueryClient: (overrideClient?: QueryClient) => openapi_
|
|
|
15523
16673
|
declare const useSavvyCalFetchClient: (overrideClient?: FetchClient) => openapi_fetch.Client<_savvycal_appointments_core.paths, `${string}/${string}`>;
|
|
15524
16674
|
|
|
15525
16675
|
type AccountByIdParams = paths["/v1/accounts/{account_id}"]["get"]["parameters"];
|
|
15526
|
-
interface Options$
|
|
16676
|
+
interface Options$C extends QueryOptionsFor<"get", "/v1/accounts/{account_id}"> {
|
|
15527
16677
|
client?: QueryClient;
|
|
15528
16678
|
}
|
|
15529
|
-
declare const useAccountById: (account_id: AccountByIdParams["path"]["account_id"], options?: Options$
|
|
16679
|
+
declare const useAccountById: (account_id: AccountByIdParams["path"]["account_id"], options?: Options$C) => _tanstack_react_query.UseQueryResult<{
|
|
15530
16680
|
data?: {
|
|
15531
16681
|
created_at: string;
|
|
15532
16682
|
id: string;
|
|
@@ -15580,10 +16730,10 @@ declare const useAccountById: (account_id: AccountByIdParams["path"]["account_id
|
|
|
15580
16730
|
};
|
|
15581
16731
|
}, `${string}/${string}`>>;
|
|
15582
16732
|
|
|
15583
|
-
interface Options$
|
|
16733
|
+
interface Options$B extends QueryOptionsFor<"get", "/v1/users"> {
|
|
15584
16734
|
client?: QueryClient;
|
|
15585
16735
|
}
|
|
15586
|
-
declare const useAccountUsers: (options?: Options$
|
|
16736
|
+
declare const useAccountUsers: (options?: Options$B) => _tanstack_react_query.UseQueryResult<{
|
|
15587
16737
|
data?: {
|
|
15588
16738
|
object: "account_user";
|
|
15589
16739
|
passive: boolean;
|
|
@@ -15591,7 +16741,7 @@ declare const useAccountUsers: (options?: Options$z) => _tanstack_react_query.Us
|
|
|
15591
16741
|
id: string;
|
|
15592
16742
|
name: string;
|
|
15593
16743
|
object: "role";
|
|
15594
|
-
type: "admin" | "staff" | "
|
|
16744
|
+
type: "admin" | "staff" | "superuser" | "custom";
|
|
15595
16745
|
}[];
|
|
15596
16746
|
user: {
|
|
15597
16747
|
created_at: string;
|
|
@@ -15617,7 +16767,7 @@ declare const useAccountUsers: (options?: Options$z) => _tanstack_react_query.Us
|
|
|
15617
16767
|
id: string;
|
|
15618
16768
|
name: string;
|
|
15619
16769
|
object: "role";
|
|
15620
|
-
type: "admin" | "staff" | "
|
|
16770
|
+
type: "admin" | "staff" | "superuser" | "custom";
|
|
15621
16771
|
}[];
|
|
15622
16772
|
user: {
|
|
15623
16773
|
created_at: string;
|
|
@@ -15666,10 +16816,10 @@ declare const useAccountUsers: (options?: Options$z) => _tanstack_react_query.Us
|
|
|
15666
16816
|
}, `${string}/${string}`>>;
|
|
15667
16817
|
|
|
15668
16818
|
type AccountsParams = paths["/v1/accounts"]["get"]["parameters"];
|
|
15669
|
-
interface Options$
|
|
16819
|
+
interface Options$A extends QueryOptionsFor<"get", "/v1/accounts"> {
|
|
15670
16820
|
client?: QueryClient;
|
|
15671
16821
|
}
|
|
15672
|
-
declare const useAccounts: (queryParams?: AccountsParams["query"], options?: Options$
|
|
16822
|
+
declare const useAccounts: (queryParams?: AccountsParams["query"], options?: Options$A) => _tanstack_react_query.UseQueryResult<{
|
|
15673
16823
|
data: {
|
|
15674
16824
|
created_at: string;
|
|
15675
16825
|
id: string;
|
|
@@ -15755,10 +16905,10 @@ declare const useAccounts: (queryParams?: AccountsParams["query"], options?: Opt
|
|
|
15755
16905
|
}, `${string}/${string}`>>;
|
|
15756
16906
|
|
|
15757
16907
|
type AppointmentParams = paths["/v1/appointments/{appointment_id}"]["get"]["parameters"];
|
|
15758
|
-
interface Options$
|
|
16908
|
+
interface Options$z extends QueryOptionsFor<"get", "/v1/appointments/{appointment_id}"> {
|
|
15759
16909
|
client?: QueryClient;
|
|
15760
16910
|
}
|
|
15761
|
-
declare const useAppointment: (appointment_id: AppointmentParams["path"]["appointment_id"], queryParams?: AppointmentParams["query"], options?: Options$
|
|
16911
|
+
declare const useAppointment: (appointment_id: AppointmentParams["path"]["appointment_id"], queryParams?: AppointmentParams["query"], options?: Options$z) => _tanstack_react_query.UseQueryResult<{
|
|
15762
16912
|
data: {
|
|
15763
16913
|
appointment_type: "in_person" | "virtual";
|
|
15764
16914
|
cancellation_events: {
|
|
@@ -15773,7 +16923,7 @@ declare const useAppointment: (appointment_id: AppointmentParams["path"]["appoin
|
|
|
15773
16923
|
initiated_by: "user" | "client";
|
|
15774
16924
|
object: "cancellation_event";
|
|
15775
16925
|
occurred_at: string;
|
|
15776
|
-
source: "client_ui" | "dashboard" | "api";
|
|
16926
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
15777
16927
|
}[];
|
|
15778
16928
|
client: {
|
|
15779
16929
|
created_at: string;
|
|
@@ -15815,7 +16965,7 @@ declare const useAppointment: (appointment_id: AppointmentParams["path"]["appoin
|
|
|
15815
16965
|
initiated_by: "user" | "client";
|
|
15816
16966
|
object: "confirmation_event";
|
|
15817
16967
|
occurred_at: string;
|
|
15818
|
-
source: "client_ui" | "dashboard" | "api";
|
|
16968
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
15819
16969
|
start_at: {
|
|
15820
16970
|
local: string;
|
|
15821
16971
|
object: "zoned_date_time";
|
|
@@ -15834,6 +16984,16 @@ declare const useAppointment: (appointment_id: AppointmentParams["path"]["appoin
|
|
|
15834
16984
|
utc: string;
|
|
15835
16985
|
};
|
|
15836
16986
|
id: string;
|
|
16987
|
+
meeting: {
|
|
16988
|
+
conferencing_provider: string | null;
|
|
16989
|
+
error_message: string | null;
|
|
16990
|
+
external_meeting_id: string | null;
|
|
16991
|
+
id: string;
|
|
16992
|
+
join_url: string | null;
|
|
16993
|
+
object: "appointment_meeting";
|
|
16994
|
+
password: string | null;
|
|
16995
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
16996
|
+
} | null;
|
|
15837
16997
|
object: "appointment";
|
|
15838
16998
|
provider: {
|
|
15839
16999
|
created_at: string;
|
|
@@ -15847,6 +17007,19 @@ declare const useAppointment: (appointment_id: AppointmentParams["path"]["appoin
|
|
|
15847
17007
|
object: "provider";
|
|
15848
17008
|
updated_at: string;
|
|
15849
17009
|
};
|
|
17010
|
+
providers: {
|
|
17011
|
+
created_at: string;
|
|
17012
|
+
display_name: string;
|
|
17013
|
+
first_name: string;
|
|
17014
|
+
id: string;
|
|
17015
|
+
last_name: string;
|
|
17016
|
+
metadata?: {
|
|
17017
|
+
[key: string]: unknown;
|
|
17018
|
+
};
|
|
17019
|
+
object: "provider";
|
|
17020
|
+
role: "primary" | "secondary";
|
|
17021
|
+
updated_at: string;
|
|
17022
|
+
}[];
|
|
15850
17023
|
reschedule_events: {
|
|
15851
17024
|
actor: string | null;
|
|
15852
17025
|
initiated_by: "user" | "client";
|
|
@@ -15880,7 +17053,7 @@ declare const useAppointment: (appointment_id: AppointmentParams["path"]["appoin
|
|
|
15880
17053
|
unix_ts: number;
|
|
15881
17054
|
utc: string;
|
|
15882
17055
|
};
|
|
15883
|
-
source: "client_ui" | "dashboard" | "api";
|
|
17056
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
15884
17057
|
}[];
|
|
15885
17058
|
service: {
|
|
15886
17059
|
appointment_type: "in_person" | "virtual";
|
|
@@ -15993,7 +17166,7 @@ declare const useAppointment: (appointment_id: AppointmentParams["path"]["appoin
|
|
|
15993
17166
|
initiated_by: "user" | "client";
|
|
15994
17167
|
object: "cancellation_event";
|
|
15995
17168
|
occurred_at: string;
|
|
15996
|
-
source: "client_ui" | "dashboard" | "api";
|
|
17169
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
15997
17170
|
}[];
|
|
15998
17171
|
client: {
|
|
15999
17172
|
created_at: string;
|
|
@@ -16035,7 +17208,7 @@ declare const useAppointment: (appointment_id: AppointmentParams["path"]["appoin
|
|
|
16035
17208
|
initiated_by: "user" | "client";
|
|
16036
17209
|
object: "confirmation_event";
|
|
16037
17210
|
occurred_at: string;
|
|
16038
|
-
source: "client_ui" | "dashboard" | "api";
|
|
17211
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
16039
17212
|
start_at: {
|
|
16040
17213
|
local: string;
|
|
16041
17214
|
object: "zoned_date_time";
|
|
@@ -16054,6 +17227,16 @@ declare const useAppointment: (appointment_id: AppointmentParams["path"]["appoin
|
|
|
16054
17227
|
utc: string;
|
|
16055
17228
|
};
|
|
16056
17229
|
id: string;
|
|
17230
|
+
meeting: {
|
|
17231
|
+
conferencing_provider: string | null;
|
|
17232
|
+
error_message: string | null;
|
|
17233
|
+
external_meeting_id: string | null;
|
|
17234
|
+
id: string;
|
|
17235
|
+
join_url: string | null;
|
|
17236
|
+
object: "appointment_meeting";
|
|
17237
|
+
password: string | null;
|
|
17238
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
17239
|
+
} | null;
|
|
16057
17240
|
object: "appointment";
|
|
16058
17241
|
provider: {
|
|
16059
17242
|
created_at: string;
|
|
@@ -16067,6 +17250,19 @@ declare const useAppointment: (appointment_id: AppointmentParams["path"]["appoin
|
|
|
16067
17250
|
object: "provider";
|
|
16068
17251
|
updated_at: string;
|
|
16069
17252
|
};
|
|
17253
|
+
providers: {
|
|
17254
|
+
created_at: string;
|
|
17255
|
+
display_name: string;
|
|
17256
|
+
first_name: string;
|
|
17257
|
+
id: string;
|
|
17258
|
+
last_name: string;
|
|
17259
|
+
metadata?: {
|
|
17260
|
+
[key: string]: unknown;
|
|
17261
|
+
};
|
|
17262
|
+
object: "provider";
|
|
17263
|
+
role: "primary" | "secondary";
|
|
17264
|
+
updated_at: string;
|
|
17265
|
+
}[];
|
|
16070
17266
|
reschedule_events: {
|
|
16071
17267
|
actor: string | null;
|
|
16072
17268
|
initiated_by: "user" | "client";
|
|
@@ -16100,7 +17296,7 @@ declare const useAppointment: (appointment_id: AppointmentParams["path"]["appoin
|
|
|
16100
17296
|
unix_ts: number;
|
|
16101
17297
|
utc: string;
|
|
16102
17298
|
};
|
|
16103
|
-
source: "client_ui" | "dashboard" | "api";
|
|
17299
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
16104
17300
|
}[];
|
|
16105
17301
|
service: {
|
|
16106
17302
|
appointment_type: "in_person" | "virtual";
|
|
@@ -16229,10 +17425,10 @@ declare const useAppointment: (appointment_id: AppointmentParams["path"]["appoin
|
|
|
16229
17425
|
}, `${string}/${string}`>>;
|
|
16230
17426
|
|
|
16231
17427
|
type AppointmentsParams = paths["/v1/appointments"]["get"]["parameters"];
|
|
16232
|
-
interface Options$
|
|
17428
|
+
interface Options$y extends QueryOptionsFor<"get", "/v1/appointments"> {
|
|
16233
17429
|
client?: QueryClient;
|
|
16234
17430
|
}
|
|
16235
|
-
declare const useAppointments: (queryParams?: AppointmentsParams["query"], options?: Options$
|
|
17431
|
+
declare const useAppointments: (queryParams?: AppointmentsParams["query"], options?: Options$y) => _tanstack_react_query.UseQueryResult<{
|
|
16236
17432
|
data: {
|
|
16237
17433
|
appointment_type: "in_person" | "virtual";
|
|
16238
17434
|
cancellation_events: {
|
|
@@ -16247,7 +17443,7 @@ declare const useAppointments: (queryParams?: AppointmentsParams["query"], optio
|
|
|
16247
17443
|
initiated_by: "user" | "client";
|
|
16248
17444
|
object: "cancellation_event";
|
|
16249
17445
|
occurred_at: string;
|
|
16250
|
-
source: "client_ui" | "dashboard" | "api";
|
|
17446
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
16251
17447
|
}[];
|
|
16252
17448
|
client: {
|
|
16253
17449
|
created_at: string;
|
|
@@ -16289,7 +17485,7 @@ declare const useAppointments: (queryParams?: AppointmentsParams["query"], optio
|
|
|
16289
17485
|
initiated_by: "user" | "client";
|
|
16290
17486
|
object: "confirmation_event";
|
|
16291
17487
|
occurred_at: string;
|
|
16292
|
-
source: "client_ui" | "dashboard" | "api";
|
|
17488
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
16293
17489
|
start_at: {
|
|
16294
17490
|
local: string;
|
|
16295
17491
|
object: "zoned_date_time";
|
|
@@ -16307,9 +17503,31 @@ declare const useAppointments: (queryParams?: AppointmentsParams["query"], optio
|
|
|
16307
17503
|
unix_ts: number;
|
|
16308
17504
|
utc: string;
|
|
16309
17505
|
};
|
|
16310
|
-
id: string;
|
|
16311
|
-
|
|
16312
|
-
|
|
17506
|
+
id: string;
|
|
17507
|
+
meeting: {
|
|
17508
|
+
conferencing_provider: string | null;
|
|
17509
|
+
error_message: string | null;
|
|
17510
|
+
external_meeting_id: string | null;
|
|
17511
|
+
id: string;
|
|
17512
|
+
join_url: string | null;
|
|
17513
|
+
object: "appointment_meeting";
|
|
17514
|
+
password: string | null;
|
|
17515
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
17516
|
+
} | null;
|
|
17517
|
+
object: "appointment";
|
|
17518
|
+
provider: {
|
|
17519
|
+
created_at: string;
|
|
17520
|
+
display_name: string;
|
|
17521
|
+
first_name: string;
|
|
17522
|
+
id: string;
|
|
17523
|
+
last_name: string;
|
|
17524
|
+
metadata?: {
|
|
17525
|
+
[key: string]: unknown;
|
|
17526
|
+
};
|
|
17527
|
+
object: "provider";
|
|
17528
|
+
updated_at: string;
|
|
17529
|
+
};
|
|
17530
|
+
providers: {
|
|
16313
17531
|
created_at: string;
|
|
16314
17532
|
display_name: string;
|
|
16315
17533
|
first_name: string;
|
|
@@ -16319,8 +17537,9 @@ declare const useAppointments: (queryParams?: AppointmentsParams["query"], optio
|
|
|
16319
17537
|
[key: string]: unknown;
|
|
16320
17538
|
};
|
|
16321
17539
|
object: "provider";
|
|
17540
|
+
role: "primary" | "secondary";
|
|
16322
17541
|
updated_at: string;
|
|
16323
|
-
};
|
|
17542
|
+
}[];
|
|
16324
17543
|
reschedule_events: {
|
|
16325
17544
|
actor: string | null;
|
|
16326
17545
|
initiated_by: "user" | "client";
|
|
@@ -16354,7 +17573,7 @@ declare const useAppointments: (queryParams?: AppointmentsParams["query"], optio
|
|
|
16354
17573
|
unix_ts: number;
|
|
16355
17574
|
utc: string;
|
|
16356
17575
|
};
|
|
16357
|
-
source: "client_ui" | "dashboard" | "api";
|
|
17576
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
16358
17577
|
}[];
|
|
16359
17578
|
service: {
|
|
16360
17579
|
appointment_type: "in_person" | "virtual";
|
|
@@ -16473,7 +17692,7 @@ declare const useAppointments: (queryParams?: AppointmentsParams["query"], optio
|
|
|
16473
17692
|
initiated_by: "user" | "client";
|
|
16474
17693
|
object: "cancellation_event";
|
|
16475
17694
|
occurred_at: string;
|
|
16476
|
-
source: "client_ui" | "dashboard" | "api";
|
|
17695
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
16477
17696
|
}[];
|
|
16478
17697
|
client: {
|
|
16479
17698
|
created_at: string;
|
|
@@ -16515,7 +17734,7 @@ declare const useAppointments: (queryParams?: AppointmentsParams["query"], optio
|
|
|
16515
17734
|
initiated_by: "user" | "client";
|
|
16516
17735
|
object: "confirmation_event";
|
|
16517
17736
|
occurred_at: string;
|
|
16518
|
-
source: "client_ui" | "dashboard" | "api";
|
|
17737
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
16519
17738
|
start_at: {
|
|
16520
17739
|
local: string;
|
|
16521
17740
|
object: "zoned_date_time";
|
|
@@ -16534,6 +17753,16 @@ declare const useAppointments: (queryParams?: AppointmentsParams["query"], optio
|
|
|
16534
17753
|
utc: string;
|
|
16535
17754
|
};
|
|
16536
17755
|
id: string;
|
|
17756
|
+
meeting: {
|
|
17757
|
+
conferencing_provider: string | null;
|
|
17758
|
+
error_message: string | null;
|
|
17759
|
+
external_meeting_id: string | null;
|
|
17760
|
+
id: string;
|
|
17761
|
+
join_url: string | null;
|
|
17762
|
+
object: "appointment_meeting";
|
|
17763
|
+
password: string | null;
|
|
17764
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
17765
|
+
} | null;
|
|
16537
17766
|
object: "appointment";
|
|
16538
17767
|
provider: {
|
|
16539
17768
|
created_at: string;
|
|
@@ -16547,6 +17776,19 @@ declare const useAppointments: (queryParams?: AppointmentsParams["query"], optio
|
|
|
16547
17776
|
object: "provider";
|
|
16548
17777
|
updated_at: string;
|
|
16549
17778
|
};
|
|
17779
|
+
providers: {
|
|
17780
|
+
created_at: string;
|
|
17781
|
+
display_name: string;
|
|
17782
|
+
first_name: string;
|
|
17783
|
+
id: string;
|
|
17784
|
+
last_name: string;
|
|
17785
|
+
metadata?: {
|
|
17786
|
+
[key: string]: unknown;
|
|
17787
|
+
};
|
|
17788
|
+
object: "provider";
|
|
17789
|
+
role: "primary" | "secondary";
|
|
17790
|
+
updated_at: string;
|
|
17791
|
+
}[];
|
|
16550
17792
|
reschedule_events: {
|
|
16551
17793
|
actor: string | null;
|
|
16552
17794
|
initiated_by: "user" | "client";
|
|
@@ -16580,7 +17822,7 @@ declare const useAppointments: (queryParams?: AppointmentsParams["query"], optio
|
|
|
16580
17822
|
unix_ts: number;
|
|
16581
17823
|
utc: string;
|
|
16582
17824
|
};
|
|
16583
|
-
source: "client_ui" | "dashboard" | "api";
|
|
17825
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
16584
17826
|
}[];
|
|
16585
17827
|
service: {
|
|
16586
17828
|
appointment_type: "in_person" | "virtual";
|
|
@@ -16729,10 +17971,10 @@ declare const useAppointments: (queryParams?: AppointmentsParams["query"], optio
|
|
|
16729
17971
|
}, `${string}/${string}`>>;
|
|
16730
17972
|
|
|
16731
17973
|
type BlockParams = paths["/v1/blocks/{block_id}"]["get"]["parameters"];
|
|
16732
|
-
interface Options$
|
|
17974
|
+
interface Options$x extends QueryOptionsFor<"get", "/v1/blocks/{block_id}"> {
|
|
16733
17975
|
client?: QueryClient;
|
|
16734
17976
|
}
|
|
16735
|
-
declare const useBlock: (block_id: BlockParams["path"]["block_id"], options?: Options$
|
|
17977
|
+
declare const useBlock: (block_id: BlockParams["path"]["block_id"], options?: Options$x) => _tanstack_react_query.UseQueryResult<{
|
|
16736
17978
|
data: {
|
|
16737
17979
|
all_day: boolean;
|
|
16738
17980
|
attachment_type: "location" | "service" | "provider" | "service_provider";
|
|
@@ -16821,10 +18063,10 @@ declare const useBlock: (block_id: BlockParams["path"]["block_id"], options?: Op
|
|
|
16821
18063
|
}, `${string}/${string}`>>;
|
|
16822
18064
|
|
|
16823
18065
|
type BlocksParams = paths["/v1/blocks"]["get"]["parameters"];
|
|
16824
|
-
interface Options$
|
|
18066
|
+
interface Options$w extends QueryOptionsFor<"get", "/v1/blocks"> {
|
|
16825
18067
|
client?: QueryClient;
|
|
16826
18068
|
}
|
|
16827
|
-
declare const useBlocks: (queryParams?: BlocksParams["query"], options?: Options$
|
|
18069
|
+
declare const useBlocks: (queryParams?: BlocksParams["query"], options?: Options$w) => _tanstack_react_query.UseQueryResult<{
|
|
16828
18070
|
data: {
|
|
16829
18071
|
all_day: boolean;
|
|
16830
18072
|
attachment_type: "location" | "service" | "provider" | "service_provider";
|
|
@@ -16929,10 +18171,10 @@ declare const useBlocks: (queryParams?: BlocksParams["query"], options?: Options
|
|
|
16929
18171
|
}, `${string}/${string}`>>;
|
|
16930
18172
|
|
|
16931
18173
|
type BookingIntentParams = paths["/v1/booking_intents/{booking_intent_id}"]["get"]["parameters"];
|
|
16932
|
-
interface Options$
|
|
18174
|
+
interface Options$v extends QueryOptionsFor<"get", "/v1/booking_intents/{booking_intent_id}"> {
|
|
16933
18175
|
client?: QueryClient;
|
|
16934
18176
|
}
|
|
16935
|
-
declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"]["booking_intent_id"], queryParams?: BookingIntentParams["query"], options?: Options$
|
|
18177
|
+
declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"]["booking_intent_id"], queryParams?: BookingIntentParams["query"], options?: Options$v) => _tanstack_react_query.UseQueryResult<{
|
|
16936
18178
|
data: {
|
|
16937
18179
|
abandoned_at?: string | null;
|
|
16938
18180
|
appointment?: {
|
|
@@ -16949,7 +18191,7 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
16949
18191
|
initiated_by: "user" | "client";
|
|
16950
18192
|
object: "cancellation_event";
|
|
16951
18193
|
occurred_at: string;
|
|
16952
|
-
source: "client_ui" | "dashboard" | "api";
|
|
18194
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
16953
18195
|
}[];
|
|
16954
18196
|
client: {
|
|
16955
18197
|
created_at: string;
|
|
@@ -16991,7 +18233,7 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
16991
18233
|
initiated_by: "user" | "client";
|
|
16992
18234
|
object: "confirmation_event";
|
|
16993
18235
|
occurred_at: string;
|
|
16994
|
-
source: "client_ui" | "dashboard" | "api";
|
|
18236
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
16995
18237
|
start_at: {
|
|
16996
18238
|
local: string;
|
|
16997
18239
|
object: "zoned_date_time";
|
|
@@ -17010,6 +18252,16 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
17010
18252
|
utc: string;
|
|
17011
18253
|
};
|
|
17012
18254
|
id: string;
|
|
18255
|
+
meeting: {
|
|
18256
|
+
conferencing_provider: string | null;
|
|
18257
|
+
error_message: string | null;
|
|
18258
|
+
external_meeting_id: string | null;
|
|
18259
|
+
id: string;
|
|
18260
|
+
join_url: string | null;
|
|
18261
|
+
object: "appointment_meeting";
|
|
18262
|
+
password: string | null;
|
|
18263
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
18264
|
+
} | null;
|
|
17013
18265
|
object: "appointment";
|
|
17014
18266
|
provider: {
|
|
17015
18267
|
created_at: string;
|
|
@@ -17023,6 +18275,19 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
17023
18275
|
object: "provider";
|
|
17024
18276
|
updated_at: string;
|
|
17025
18277
|
};
|
|
18278
|
+
providers: {
|
|
18279
|
+
created_at: string;
|
|
18280
|
+
display_name: string;
|
|
18281
|
+
first_name: string;
|
|
18282
|
+
id: string;
|
|
18283
|
+
last_name: string;
|
|
18284
|
+
metadata?: {
|
|
18285
|
+
[key: string]: unknown;
|
|
18286
|
+
};
|
|
18287
|
+
object: "provider";
|
|
18288
|
+
role: "primary" | "secondary";
|
|
18289
|
+
updated_at: string;
|
|
18290
|
+
}[];
|
|
17026
18291
|
reschedule_events: {
|
|
17027
18292
|
actor: string | null;
|
|
17028
18293
|
initiated_by: "user" | "client";
|
|
@@ -17056,7 +18321,7 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
17056
18321
|
unix_ts: number;
|
|
17057
18322
|
utc: string;
|
|
17058
18323
|
};
|
|
17059
|
-
source: "client_ui" | "dashboard" | "api";
|
|
18324
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
17060
18325
|
}[];
|
|
17061
18326
|
service: {
|
|
17062
18327
|
appointment_type: "in_person" | "virtual";
|
|
@@ -17201,7 +18466,7 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
17201
18466
|
}[] | null;
|
|
17202
18467
|
hold_until?: string | null;
|
|
17203
18468
|
id: string;
|
|
17204
|
-
locked_fields?: ("service_id" | "provider_id" | "
|
|
18469
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
17205
18470
|
metadata?: {
|
|
17206
18471
|
[key: string]: unknown;
|
|
17207
18472
|
};
|
|
@@ -17230,6 +18495,18 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
17230
18495
|
form_id: string;
|
|
17231
18496
|
}[];
|
|
17232
18497
|
} | null;
|
|
18498
|
+
secondary_providers?: {
|
|
18499
|
+
created_at: string;
|
|
18500
|
+
display_name: string;
|
|
18501
|
+
first_name: string;
|
|
18502
|
+
id: string;
|
|
18503
|
+
last_name: string;
|
|
18504
|
+
metadata?: {
|
|
18505
|
+
[key: string]: unknown;
|
|
18506
|
+
};
|
|
18507
|
+
object: "provider";
|
|
18508
|
+
updated_at: string;
|
|
18509
|
+
}[] | null;
|
|
17233
18510
|
service?: {
|
|
17234
18511
|
appointment_type: "in_person" | "virtual";
|
|
17235
18512
|
booking_policy: {
|
|
@@ -17321,7 +18598,7 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
17321
18598
|
available_steps: string[];
|
|
17322
18599
|
can_change_slot: boolean;
|
|
17323
18600
|
can_complete: boolean;
|
|
17324
|
-
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
18601
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
17325
18602
|
is_defunct: boolean;
|
|
17326
18603
|
resume_step: string;
|
|
17327
18604
|
} | null;
|
|
@@ -17349,7 +18626,7 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
17349
18626
|
initiated_by: "user" | "client";
|
|
17350
18627
|
object: "cancellation_event";
|
|
17351
18628
|
occurred_at: string;
|
|
17352
|
-
source: "client_ui" | "dashboard" | "api";
|
|
18629
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
17353
18630
|
}[];
|
|
17354
18631
|
client: {
|
|
17355
18632
|
created_at: string;
|
|
@@ -17391,7 +18668,7 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
17391
18668
|
initiated_by: "user" | "client";
|
|
17392
18669
|
object: "confirmation_event";
|
|
17393
18670
|
occurred_at: string;
|
|
17394
|
-
source: "client_ui" | "dashboard" | "api";
|
|
18671
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
17395
18672
|
start_at: {
|
|
17396
18673
|
local: string;
|
|
17397
18674
|
object: "zoned_date_time";
|
|
@@ -17410,6 +18687,16 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
17410
18687
|
utc: string;
|
|
17411
18688
|
};
|
|
17412
18689
|
id: string;
|
|
18690
|
+
meeting: {
|
|
18691
|
+
conferencing_provider: string | null;
|
|
18692
|
+
error_message: string | null;
|
|
18693
|
+
external_meeting_id: string | null;
|
|
18694
|
+
id: string;
|
|
18695
|
+
join_url: string | null;
|
|
18696
|
+
object: "appointment_meeting";
|
|
18697
|
+
password: string | null;
|
|
18698
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
18699
|
+
} | null;
|
|
17413
18700
|
object: "appointment";
|
|
17414
18701
|
provider: {
|
|
17415
18702
|
created_at: string;
|
|
@@ -17423,6 +18710,19 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
17423
18710
|
object: "provider";
|
|
17424
18711
|
updated_at: string;
|
|
17425
18712
|
};
|
|
18713
|
+
providers: {
|
|
18714
|
+
created_at: string;
|
|
18715
|
+
display_name: string;
|
|
18716
|
+
first_name: string;
|
|
18717
|
+
id: string;
|
|
18718
|
+
last_name: string;
|
|
18719
|
+
metadata?: {
|
|
18720
|
+
[key: string]: unknown;
|
|
18721
|
+
};
|
|
18722
|
+
object: "provider";
|
|
18723
|
+
role: "primary" | "secondary";
|
|
18724
|
+
updated_at: string;
|
|
18725
|
+
}[];
|
|
17426
18726
|
reschedule_events: {
|
|
17427
18727
|
actor: string | null;
|
|
17428
18728
|
initiated_by: "user" | "client";
|
|
@@ -17456,7 +18756,7 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
17456
18756
|
unix_ts: number;
|
|
17457
18757
|
utc: string;
|
|
17458
18758
|
};
|
|
17459
|
-
source: "client_ui" | "dashboard" | "api";
|
|
18759
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
17460
18760
|
}[];
|
|
17461
18761
|
service: {
|
|
17462
18762
|
appointment_type: "in_person" | "virtual";
|
|
@@ -17601,7 +18901,7 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
17601
18901
|
}[] | null;
|
|
17602
18902
|
hold_until?: string | null;
|
|
17603
18903
|
id: string;
|
|
17604
|
-
locked_fields?: ("service_id" | "provider_id" | "
|
|
18904
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
17605
18905
|
metadata?: {
|
|
17606
18906
|
[key: string]: unknown;
|
|
17607
18907
|
};
|
|
@@ -17630,6 +18930,18 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
17630
18930
|
form_id: string;
|
|
17631
18931
|
}[];
|
|
17632
18932
|
} | null;
|
|
18933
|
+
secondary_providers?: {
|
|
18934
|
+
created_at: string;
|
|
18935
|
+
display_name: string;
|
|
18936
|
+
first_name: string;
|
|
18937
|
+
id: string;
|
|
18938
|
+
last_name: string;
|
|
18939
|
+
metadata?: {
|
|
18940
|
+
[key: string]: unknown;
|
|
18941
|
+
};
|
|
18942
|
+
object: "provider";
|
|
18943
|
+
updated_at: string;
|
|
18944
|
+
}[] | null;
|
|
17633
18945
|
service?: {
|
|
17634
18946
|
appointment_type: "in_person" | "virtual";
|
|
17635
18947
|
booking_policy: {
|
|
@@ -17721,7 +19033,7 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
17721
19033
|
available_steps: string[];
|
|
17722
19034
|
can_change_slot: boolean;
|
|
17723
19035
|
can_complete: boolean;
|
|
17724
|
-
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
19036
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
17725
19037
|
is_defunct: boolean;
|
|
17726
19038
|
resume_step: string;
|
|
17727
19039
|
} | null;
|
|
@@ -17758,11 +19070,88 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
17758
19070
|
};
|
|
17759
19071
|
}, `${string}/${string}`>>;
|
|
17760
19072
|
|
|
19073
|
+
type BookingIntentSlotsParams = paths["/v1/booking_intents/{booking_intent_id}/slots"]["get"]["parameters"];
|
|
19074
|
+
interface Options$u extends QueryOptionsFor<"get", "/v1/booking_intents/{booking_intent_id}/slots"> {
|
|
19075
|
+
client?: QueryClient;
|
|
19076
|
+
}
|
|
19077
|
+
declare const useBookingIntentSlots: (booking_intent_id: BookingIntentSlotsParams["path"]["booking_intent_id"], queryParams?: BookingIntentSlotsParams["query"], options?: Options$u) => _tanstack_react_query.UseQueryResult<{
|
|
19078
|
+
data: {
|
|
19079
|
+
end_at: string;
|
|
19080
|
+
end_at_ts: number;
|
|
19081
|
+
object: "slot";
|
|
19082
|
+
start_at: string;
|
|
19083
|
+
start_at_ts: number;
|
|
19084
|
+
time_zone: string;
|
|
19085
|
+
}[];
|
|
19086
|
+
}, openapi_typescript_helpers.ErrorResponse<{
|
|
19087
|
+
200: {
|
|
19088
|
+
headers: {
|
|
19089
|
+
[name: string]: unknown;
|
|
19090
|
+
};
|
|
19091
|
+
content: {
|
|
19092
|
+
"application/json": {
|
|
19093
|
+
data: {
|
|
19094
|
+
end_at: string;
|
|
19095
|
+
end_at_ts: number;
|
|
19096
|
+
object: "slot";
|
|
19097
|
+
start_at: string;
|
|
19098
|
+
start_at_ts: number;
|
|
19099
|
+
time_zone: string;
|
|
19100
|
+
}[];
|
|
19101
|
+
};
|
|
19102
|
+
};
|
|
19103
|
+
};
|
|
19104
|
+
401: {
|
|
19105
|
+
headers: {
|
|
19106
|
+
[name: string]: unknown;
|
|
19107
|
+
};
|
|
19108
|
+
content: {
|
|
19109
|
+
"application/json": {
|
|
19110
|
+
errors: {
|
|
19111
|
+
detail: string;
|
|
19112
|
+
status?: string;
|
|
19113
|
+
title?: string;
|
|
19114
|
+
}[];
|
|
19115
|
+
};
|
|
19116
|
+
};
|
|
19117
|
+
};
|
|
19118
|
+
404: {
|
|
19119
|
+
headers: {
|
|
19120
|
+
[name: string]: unknown;
|
|
19121
|
+
};
|
|
19122
|
+
content: {
|
|
19123
|
+
"application/json": {
|
|
19124
|
+
errors: {
|
|
19125
|
+
detail: "Not Found";
|
|
19126
|
+
status: "404";
|
|
19127
|
+
}[];
|
|
19128
|
+
};
|
|
19129
|
+
};
|
|
19130
|
+
};
|
|
19131
|
+
422: {
|
|
19132
|
+
headers: {
|
|
19133
|
+
[name: string]: unknown;
|
|
19134
|
+
};
|
|
19135
|
+
content: {
|
|
19136
|
+
"application/json": {
|
|
19137
|
+
errors: {
|
|
19138
|
+
code?: string | null;
|
|
19139
|
+
detail: string;
|
|
19140
|
+
source: {
|
|
19141
|
+
pointer: string;
|
|
19142
|
+
};
|
|
19143
|
+
title: string;
|
|
19144
|
+
}[];
|
|
19145
|
+
};
|
|
19146
|
+
};
|
|
19147
|
+
};
|
|
19148
|
+
}, `${string}/${string}`>>;
|
|
19149
|
+
|
|
17761
19150
|
type BookingIntentsParams = paths["/v1/booking_intents"]["get"]["parameters"];
|
|
17762
|
-
interface Options$
|
|
19151
|
+
interface Options$t extends QueryOptionsFor<"get", "/v1/booking_intents"> {
|
|
17763
19152
|
client?: QueryClient;
|
|
17764
19153
|
}
|
|
17765
|
-
declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], options?: Options$
|
|
19154
|
+
declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], options?: Options$t) => _tanstack_react_query.UseQueryResult<{
|
|
17766
19155
|
data: {
|
|
17767
19156
|
abandoned_at?: string | null;
|
|
17768
19157
|
appointment?: {
|
|
@@ -17779,7 +19168,7 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
17779
19168
|
initiated_by: "user" | "client";
|
|
17780
19169
|
object: "cancellation_event";
|
|
17781
19170
|
occurred_at: string;
|
|
17782
|
-
source: "client_ui" | "dashboard" | "api";
|
|
19171
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
17783
19172
|
}[];
|
|
17784
19173
|
client: {
|
|
17785
19174
|
created_at: string;
|
|
@@ -17821,7 +19210,7 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
17821
19210
|
initiated_by: "user" | "client";
|
|
17822
19211
|
object: "confirmation_event";
|
|
17823
19212
|
occurred_at: string;
|
|
17824
|
-
source: "client_ui" | "dashboard" | "api";
|
|
19213
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
17825
19214
|
start_at: {
|
|
17826
19215
|
local: string;
|
|
17827
19216
|
object: "zoned_date_time";
|
|
@@ -17840,6 +19229,16 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
17840
19229
|
utc: string;
|
|
17841
19230
|
};
|
|
17842
19231
|
id: string;
|
|
19232
|
+
meeting: {
|
|
19233
|
+
conferencing_provider: string | null;
|
|
19234
|
+
error_message: string | null;
|
|
19235
|
+
external_meeting_id: string | null;
|
|
19236
|
+
id: string;
|
|
19237
|
+
join_url: string | null;
|
|
19238
|
+
object: "appointment_meeting";
|
|
19239
|
+
password: string | null;
|
|
19240
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
19241
|
+
} | null;
|
|
17843
19242
|
object: "appointment";
|
|
17844
19243
|
provider: {
|
|
17845
19244
|
created_at: string;
|
|
@@ -17853,6 +19252,19 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
17853
19252
|
object: "provider";
|
|
17854
19253
|
updated_at: string;
|
|
17855
19254
|
};
|
|
19255
|
+
providers: {
|
|
19256
|
+
created_at: string;
|
|
19257
|
+
display_name: string;
|
|
19258
|
+
first_name: string;
|
|
19259
|
+
id: string;
|
|
19260
|
+
last_name: string;
|
|
19261
|
+
metadata?: {
|
|
19262
|
+
[key: string]: unknown;
|
|
19263
|
+
};
|
|
19264
|
+
object: "provider";
|
|
19265
|
+
role: "primary" | "secondary";
|
|
19266
|
+
updated_at: string;
|
|
19267
|
+
}[];
|
|
17856
19268
|
reschedule_events: {
|
|
17857
19269
|
actor: string | null;
|
|
17858
19270
|
initiated_by: "user" | "client";
|
|
@@ -17886,7 +19298,7 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
17886
19298
|
unix_ts: number;
|
|
17887
19299
|
utc: string;
|
|
17888
19300
|
};
|
|
17889
|
-
source: "client_ui" | "dashboard" | "api";
|
|
19301
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
17890
19302
|
}[];
|
|
17891
19303
|
service: {
|
|
17892
19304
|
appointment_type: "in_person" | "virtual";
|
|
@@ -18031,7 +19443,7 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
18031
19443
|
}[] | null;
|
|
18032
19444
|
hold_until?: string | null;
|
|
18033
19445
|
id: string;
|
|
18034
|
-
locked_fields?: ("service_id" | "provider_id" | "
|
|
19446
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
18035
19447
|
metadata?: {
|
|
18036
19448
|
[key: string]: unknown;
|
|
18037
19449
|
};
|
|
@@ -18060,6 +19472,18 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
18060
19472
|
form_id: string;
|
|
18061
19473
|
}[];
|
|
18062
19474
|
} | null;
|
|
19475
|
+
secondary_providers?: {
|
|
19476
|
+
created_at: string;
|
|
19477
|
+
display_name: string;
|
|
19478
|
+
first_name: string;
|
|
19479
|
+
id: string;
|
|
19480
|
+
last_name: string;
|
|
19481
|
+
metadata?: {
|
|
19482
|
+
[key: string]: unknown;
|
|
19483
|
+
};
|
|
19484
|
+
object: "provider";
|
|
19485
|
+
updated_at: string;
|
|
19486
|
+
}[] | null;
|
|
18063
19487
|
service?: {
|
|
18064
19488
|
appointment_type: "in_person" | "virtual";
|
|
18065
19489
|
booking_policy: {
|
|
@@ -18151,7 +19575,7 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
18151
19575
|
available_steps: string[];
|
|
18152
19576
|
can_change_slot: boolean;
|
|
18153
19577
|
can_complete: boolean;
|
|
18154
|
-
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
19578
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
18155
19579
|
is_defunct: boolean;
|
|
18156
19580
|
resume_step: string;
|
|
18157
19581
|
} | null;
|
|
@@ -18185,7 +19609,7 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
18185
19609
|
initiated_by: "user" | "client";
|
|
18186
19610
|
object: "cancellation_event";
|
|
18187
19611
|
occurred_at: string;
|
|
18188
|
-
source: "client_ui" | "dashboard" | "api";
|
|
19612
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
18189
19613
|
}[];
|
|
18190
19614
|
client: {
|
|
18191
19615
|
created_at: string;
|
|
@@ -18227,7 +19651,7 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
18227
19651
|
initiated_by: "user" | "client";
|
|
18228
19652
|
object: "confirmation_event";
|
|
18229
19653
|
occurred_at: string;
|
|
18230
|
-
source: "client_ui" | "dashboard" | "api";
|
|
19654
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
18231
19655
|
start_at: {
|
|
18232
19656
|
local: string;
|
|
18233
19657
|
object: "zoned_date_time";
|
|
@@ -18246,6 +19670,16 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
18246
19670
|
utc: string;
|
|
18247
19671
|
};
|
|
18248
19672
|
id: string;
|
|
19673
|
+
meeting: {
|
|
19674
|
+
conferencing_provider: string | null;
|
|
19675
|
+
error_message: string | null;
|
|
19676
|
+
external_meeting_id: string | null;
|
|
19677
|
+
id: string;
|
|
19678
|
+
join_url: string | null;
|
|
19679
|
+
object: "appointment_meeting";
|
|
19680
|
+
password: string | null;
|
|
19681
|
+
status: "pending" | "created" | "failed" | "skipped" | "update_pending" | "cancel_pending" | "canceled";
|
|
19682
|
+
} | null;
|
|
18249
19683
|
object: "appointment";
|
|
18250
19684
|
provider: {
|
|
18251
19685
|
created_at: string;
|
|
@@ -18259,6 +19693,19 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
18259
19693
|
object: "provider";
|
|
18260
19694
|
updated_at: string;
|
|
18261
19695
|
};
|
|
19696
|
+
providers: {
|
|
19697
|
+
created_at: string;
|
|
19698
|
+
display_name: string;
|
|
19699
|
+
first_name: string;
|
|
19700
|
+
id: string;
|
|
19701
|
+
last_name: string;
|
|
19702
|
+
metadata?: {
|
|
19703
|
+
[key: string]: unknown;
|
|
19704
|
+
};
|
|
19705
|
+
object: "provider";
|
|
19706
|
+
role: "primary" | "secondary";
|
|
19707
|
+
updated_at: string;
|
|
19708
|
+
}[];
|
|
18262
19709
|
reschedule_events: {
|
|
18263
19710
|
actor: string | null;
|
|
18264
19711
|
initiated_by: "user" | "client";
|
|
@@ -18292,7 +19739,7 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
18292
19739
|
unix_ts: number;
|
|
18293
19740
|
utc: string;
|
|
18294
19741
|
};
|
|
18295
|
-
source: "client_ui" | "dashboard" | "api";
|
|
19742
|
+
source: "client_ui" | "dashboard" | "api" | "public_api";
|
|
18296
19743
|
}[];
|
|
18297
19744
|
service: {
|
|
18298
19745
|
appointment_type: "in_person" | "virtual";
|
|
@@ -18437,7 +19884,7 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
18437
19884
|
}[] | null;
|
|
18438
19885
|
hold_until?: string | null;
|
|
18439
19886
|
id: string;
|
|
18440
|
-
locked_fields?: ("service_id" | "provider_id" | "
|
|
19887
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
18441
19888
|
metadata?: {
|
|
18442
19889
|
[key: string]: unknown;
|
|
18443
19890
|
};
|
|
@@ -18466,6 +19913,18 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
18466
19913
|
form_id: string;
|
|
18467
19914
|
}[];
|
|
18468
19915
|
} | null;
|
|
19916
|
+
secondary_providers?: {
|
|
19917
|
+
created_at: string;
|
|
19918
|
+
display_name: string;
|
|
19919
|
+
first_name: string;
|
|
19920
|
+
id: string;
|
|
19921
|
+
last_name: string;
|
|
19922
|
+
metadata?: {
|
|
19923
|
+
[key: string]: unknown;
|
|
19924
|
+
};
|
|
19925
|
+
object: "provider";
|
|
19926
|
+
updated_at: string;
|
|
19927
|
+
}[] | null;
|
|
18469
19928
|
service?: {
|
|
18470
19929
|
appointment_type: "in_person" | "virtual";
|
|
18471
19930
|
booking_policy: {
|
|
@@ -18557,7 +20016,7 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
18557
20016
|
available_steps: string[];
|
|
18558
20017
|
can_change_slot: boolean;
|
|
18559
20018
|
can_complete: boolean;
|
|
18560
|
-
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
20019
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
18561
20020
|
is_defunct: boolean;
|
|
18562
20021
|
resume_step: string;
|
|
18563
20022
|
} | null;
|
|
@@ -18605,10 +20064,10 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
18605
20064
|
}, `${string}/${string}`>>;
|
|
18606
20065
|
|
|
18607
20066
|
type CancellationReasonParams = paths["/v1/cancellation_reasons/{cancellation_reason_id}"]["get"]["parameters"];
|
|
18608
|
-
interface Options$
|
|
20067
|
+
interface Options$s extends QueryOptionsFor<"get", "/v1/cancellation_reasons/{cancellation_reason_id}"> {
|
|
18609
20068
|
client?: QueryClient;
|
|
18610
20069
|
}
|
|
18611
|
-
declare const useCancellationReason: (cancellation_reason_id: CancellationReasonParams["path"]["cancellation_reason_id"], options?: Options$
|
|
20070
|
+
declare const useCancellationReason: (cancellation_reason_id: CancellationReasonParams["path"]["cancellation_reason_id"], options?: Options$s) => _tanstack_react_query.UseQueryResult<{
|
|
18612
20071
|
data: Record<string, never>;
|
|
18613
20072
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
18614
20073
|
200: {
|
|
@@ -18650,10 +20109,10 @@ declare const useCancellationReason: (cancellation_reason_id: CancellationReason
|
|
|
18650
20109
|
};
|
|
18651
20110
|
}, `${string}/${string}`>>;
|
|
18652
20111
|
|
|
18653
|
-
interface Options$
|
|
20112
|
+
interface Options$r extends QueryOptionsFor<"get", "/v1/cancellation_reasons"> {
|
|
18654
20113
|
client?: QueryClient;
|
|
18655
20114
|
}
|
|
18656
|
-
declare const useCancellationReasons: (options?: Options$
|
|
20115
|
+
declare const useCancellationReasons: (options?: Options$r) => _tanstack_react_query.UseQueryResult<{
|
|
18657
20116
|
data: {
|
|
18658
20117
|
id: string;
|
|
18659
20118
|
name: string;
|
|
@@ -18710,10 +20169,10 @@ declare const useCancellationReasons: (options?: Options$q) => _tanstack_react_q
|
|
|
18710
20169
|
}, `${string}/${string}`>>;
|
|
18711
20170
|
|
|
18712
20171
|
type ClientParams = paths["/v1/clients/{client_id}"]["get"]["parameters"];
|
|
18713
|
-
interface Options$
|
|
20172
|
+
interface Options$q extends QueryOptionsFor<"get", "/v1/clients/{client_id}"> {
|
|
18714
20173
|
client?: QueryClient;
|
|
18715
20174
|
}
|
|
18716
|
-
declare const useClient: (client_id: ClientParams["path"]["client_id"], queryParams?: ClientParams["query"], options?: Options$
|
|
20175
|
+
declare const useClient: (client_id: ClientParams["path"]["client_id"], queryParams?: ClientParams["query"], options?: Options$q) => _tanstack_react_query.UseQueryResult<{
|
|
18717
20176
|
data: {
|
|
18718
20177
|
created_at: string;
|
|
18719
20178
|
email?: string | null;
|
|
@@ -18792,10 +20251,10 @@ declare const useClient: (client_id: ClientParams["path"]["client_id"], queryPar
|
|
|
18792
20251
|
}, `${string}/${string}`>>;
|
|
18793
20252
|
|
|
18794
20253
|
type ClientFieldParams = paths["/v1/client_fields/{client_field_id}"]["get"]["parameters"];
|
|
18795
|
-
interface Options$
|
|
20254
|
+
interface Options$p extends QueryOptionsFor<"get", "/v1/client_fields/{client_field_id}"> {
|
|
18796
20255
|
client?: QueryClient;
|
|
18797
20256
|
}
|
|
18798
|
-
declare const useClientField: (client_field_id: ClientFieldParams["path"]["client_field_id"], options?: Options$
|
|
20257
|
+
declare const useClientField: (client_field_id: ClientFieldParams["path"]["client_field_id"], options?: Options$p) => _tanstack_react_query.UseQueryResult<{
|
|
18799
20258
|
data: Record<string, never>;
|
|
18800
20259
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
18801
20260
|
200: {
|
|
@@ -18837,10 +20296,10 @@ declare const useClientField: (client_field_id: ClientFieldParams["path"]["clien
|
|
|
18837
20296
|
};
|
|
18838
20297
|
}, `${string}/${string}`>>;
|
|
18839
20298
|
|
|
18840
|
-
interface Options$
|
|
20299
|
+
interface Options$o extends QueryOptionsFor<"get", "/v1/client_fields"> {
|
|
18841
20300
|
client?: QueryClient;
|
|
18842
20301
|
}
|
|
18843
|
-
declare const useClientFields: (options?: Options$
|
|
20302
|
+
declare const useClientFields: (options?: Options$o) => _tanstack_react_query.UseQueryResult<{
|
|
18844
20303
|
data: {
|
|
18845
20304
|
created_at: string;
|
|
18846
20305
|
description?: string | null;
|
|
@@ -18923,10 +20382,10 @@ declare const useClientFields: (options?: Options$n) => _tanstack_react_query.Us
|
|
|
18923
20382
|
}, `${string}/${string}`>>;
|
|
18924
20383
|
|
|
18925
20384
|
type ClientsParams = paths["/v1/clients"]["get"]["parameters"];
|
|
18926
|
-
interface Options$
|
|
20385
|
+
interface Options$n extends QueryOptionsFor<"get", "/v1/clients"> {
|
|
18927
20386
|
client?: QueryClient;
|
|
18928
20387
|
}
|
|
18929
|
-
declare const useClients: (queryParams?: ClientsParams["query"], options?: Options$
|
|
20388
|
+
declare const useClients: (queryParams?: ClientsParams["query"], options?: Options$n) => _tanstack_react_query.UseQueryResult<{
|
|
18930
20389
|
data: {
|
|
18931
20390
|
created_at: string;
|
|
18932
20391
|
email?: string | null;
|
|
@@ -19021,10 +20480,10 @@ declare const useClients: (queryParams?: ClientsParams["query"], options?: Optio
|
|
|
19021
20480
|
}, `${string}/${string}`>>;
|
|
19022
20481
|
|
|
19023
20482
|
type ConnectedAccountParams = paths["/v1/connected_accounts/{connected_account_id}"]["get"]["parameters"];
|
|
19024
|
-
interface Options$
|
|
20483
|
+
interface Options$m extends QueryOptionsFor<"get", "/v1/connected_accounts/{connected_account_id}"> {
|
|
19025
20484
|
client?: QueryClient;
|
|
19026
20485
|
}
|
|
19027
|
-
declare const useConnectedAccount: (connected_account_id: ConnectedAccountParams["path"]["connected_account_id"], options?: Options$
|
|
20486
|
+
declare const useConnectedAccount: (connected_account_id: ConnectedAccountParams["path"]["connected_account_id"], options?: Options$m) => _tanstack_react_query.UseQueryResult<{
|
|
19028
20487
|
data: {
|
|
19029
20488
|
connection_scope: "user" | "account";
|
|
19030
20489
|
created_at: string;
|
|
@@ -19093,10 +20552,10 @@ declare const useConnectedAccount: (connected_account_id: ConnectedAccountParams
|
|
|
19093
20552
|
}, `${string}/${string}`>>;
|
|
19094
20553
|
|
|
19095
20554
|
type ConnectedAccountsParams = paths["/v1/connected_accounts"]["get"]["parameters"];
|
|
19096
|
-
interface Options$
|
|
20555
|
+
interface Options$l extends QueryOptionsFor<"get", "/v1/connected_accounts"> {
|
|
19097
20556
|
client?: QueryClient;
|
|
19098
20557
|
}
|
|
19099
|
-
declare const useConnectedAccounts: (queryParams?: ConnectedAccountsParams["query"], options?: Options$
|
|
20558
|
+
declare const useConnectedAccounts: (queryParams?: ConnectedAccountsParams["query"], options?: Options$l) => _tanstack_react_query.UseQueryResult<{
|
|
19100
20559
|
data: {
|
|
19101
20560
|
connection_scope: "user" | "account";
|
|
19102
20561
|
created_at: string;
|
|
@@ -19180,10 +20639,10 @@ declare const useConnectedAccounts: (queryParams?: ConnectedAccountsParams["quer
|
|
|
19180
20639
|
};
|
|
19181
20640
|
}, `${string}/${string}`>>;
|
|
19182
20641
|
|
|
19183
|
-
interface Options$
|
|
20642
|
+
interface Options$k extends QueryOptionsFor<"get", "/v1/account"> {
|
|
19184
20643
|
client?: QueryClient;
|
|
19185
20644
|
}
|
|
19186
|
-
declare const useCurrentAccount: (options?: Options$
|
|
20645
|
+
declare const useCurrentAccount: (options?: Options$k) => _tanstack_react_query.UseQueryResult<{
|
|
19187
20646
|
data?: {
|
|
19188
20647
|
created_at: string;
|
|
19189
20648
|
id: string;
|
|
@@ -19239,17 +20698,17 @@ declare const useCurrentAccount: (options?: Options$j) => _tanstack_react_query.
|
|
|
19239
20698
|
};
|
|
19240
20699
|
}, `${string}/${string}`>>;
|
|
19241
20700
|
|
|
19242
|
-
interface Options$
|
|
20701
|
+
interface Options$j extends QueryOptionsFor<"get", "/v1/user"> {
|
|
19243
20702
|
client?: QueryClient;
|
|
19244
20703
|
}
|
|
19245
|
-
declare const useCurrentAccountUser: (options?: Options$
|
|
20704
|
+
declare const useCurrentAccountUser: (options?: Options$j) => _tanstack_react_query.UseQueryResult<{
|
|
19246
20705
|
object: "account_user";
|
|
19247
20706
|
passive: boolean;
|
|
19248
20707
|
roles: {
|
|
19249
20708
|
id: string;
|
|
19250
20709
|
name: string;
|
|
19251
20710
|
object: "role";
|
|
19252
|
-
type: "admin" | "staff" | "
|
|
20711
|
+
type: "admin" | "staff" | "superuser" | "custom";
|
|
19253
20712
|
}[];
|
|
19254
20713
|
user: {
|
|
19255
20714
|
created_at: string;
|
|
@@ -19273,7 +20732,7 @@ declare const useCurrentAccountUser: (options?: Options$i) => _tanstack_react_qu
|
|
|
19273
20732
|
id: string;
|
|
19274
20733
|
name: string;
|
|
19275
20734
|
object: "role";
|
|
19276
|
-
type: "admin" | "staff" | "
|
|
20735
|
+
type: "admin" | "staff" | "superuser" | "custom";
|
|
19277
20736
|
}[];
|
|
19278
20737
|
user: {
|
|
19279
20738
|
created_at: string;
|
|
@@ -19318,10 +20777,10 @@ declare const useCurrentAccountUser: (options?: Options$i) => _tanstack_react_qu
|
|
|
19318
20777
|
};
|
|
19319
20778
|
}, `${string}/${string}`>>;
|
|
19320
20779
|
|
|
19321
|
-
interface Options$
|
|
20780
|
+
interface Options$i extends QueryOptionsFor<"get", "/v1/platform"> {
|
|
19322
20781
|
client?: QueryClient;
|
|
19323
20782
|
}
|
|
19324
|
-
declare const useCurrentPlatform: (options?: Options$
|
|
20783
|
+
declare const useCurrentPlatform: (options?: Options$i) => _tanstack_react_query.UseQueryResult<{
|
|
19325
20784
|
data?: {
|
|
19326
20785
|
created_at: string;
|
|
19327
20786
|
id: string;
|
|
@@ -19378,10 +20837,10 @@ declare const useCurrentPlatform: (options?: Options$h) => _tanstack_react_query
|
|
|
19378
20837
|
}, `${string}/${string}`>>;
|
|
19379
20838
|
|
|
19380
20839
|
type EarliestPublicServiceSlotParams = paths["/v1/public/services/{service_id}/earliest_slot"]["get"]["parameters"];
|
|
19381
|
-
interface Options$
|
|
20840
|
+
interface Options$h extends QueryOptionsFor<"get", "/v1/public/services/{service_id}/earliest_slot"> {
|
|
19382
20841
|
client?: QueryClient;
|
|
19383
20842
|
}
|
|
19384
|
-
declare const useEarliestPublicServiceSlot: (service_id: EarliestPublicServiceSlotParams["path"]["service_id"], queryParams?: EarliestPublicServiceSlotParams["query"], options?: Options$
|
|
20843
|
+
declare const useEarliestPublicServiceSlot: (service_id: EarliestPublicServiceSlotParams["path"]["service_id"], queryParams?: EarliestPublicServiceSlotParams["query"], options?: Options$h) => _tanstack_react_query.UseQueryResult<{
|
|
19385
20844
|
data: {
|
|
19386
20845
|
end_at: string;
|
|
19387
20846
|
end_at_ts: number;
|
|
@@ -19455,10 +20914,10 @@ declare const useEarliestPublicServiceSlot: (service_id: EarliestPublicServiceSl
|
|
|
19455
20914
|
}, `${string}/${string}`>>;
|
|
19456
20915
|
|
|
19457
20916
|
type FormParams = paths["/v1/forms/{form_id}"]["get"]["parameters"];
|
|
19458
|
-
interface Options$
|
|
20917
|
+
interface Options$g extends QueryOptionsFor<"get", "/v1/forms/{form_id}"> {
|
|
19459
20918
|
client?: QueryClient;
|
|
19460
20919
|
}
|
|
19461
|
-
declare const useForm: (form_id: FormParams["path"]["form_id"], options?: Options$
|
|
20920
|
+
declare const useForm: (form_id: FormParams["path"]["form_id"], options?: Options$g) => _tanstack_react_query.UseQueryResult<{
|
|
19462
20921
|
data: {
|
|
19463
20922
|
created_at: string;
|
|
19464
20923
|
field_count: number;
|
|
@@ -19551,10 +21010,10 @@ declare const useForm: (form_id: FormParams["path"]["form_id"], options?: Option
|
|
|
19551
21010
|
}, `${string}/${string}`>>;
|
|
19552
21011
|
|
|
19553
21012
|
type FormsParams = paths["/v1/forms"]["get"]["parameters"];
|
|
19554
|
-
interface Options$
|
|
21013
|
+
interface Options$f extends QueryOptionsFor<"get", "/v1/forms"> {
|
|
19555
21014
|
client?: QueryClient;
|
|
19556
21015
|
}
|
|
19557
|
-
declare const useForms: (queryParams?: FormsParams["query"], options?: Options$
|
|
21016
|
+
declare const useForms: (queryParams?: FormsParams["query"], options?: Options$f) => _tanstack_react_query.UseQueryResult<{
|
|
19558
21017
|
data: {
|
|
19559
21018
|
created_at: string;
|
|
19560
21019
|
field_count: number;
|
|
@@ -19663,10 +21122,10 @@ declare const useForms: (queryParams?: FormsParams["query"], options?: Options$e
|
|
|
19663
21122
|
}, `${string}/${string}`>>;
|
|
19664
21123
|
|
|
19665
21124
|
type ProviderParams = paths["/v1/providers/{provider_id}"]["get"]["parameters"];
|
|
19666
|
-
interface Options$
|
|
21125
|
+
interface Options$e extends QueryOptionsFor<"get", "/v1/providers/{provider_id}"> {
|
|
19667
21126
|
client?: QueryClient;
|
|
19668
21127
|
}
|
|
19669
|
-
declare const useProvider: (provider_id: ProviderParams["path"]["provider_id"], options?: Options$
|
|
21128
|
+
declare const useProvider: (provider_id: ProviderParams["path"]["provider_id"], options?: Options$e) => _tanstack_react_query.UseQueryResult<{
|
|
19670
21129
|
data: {
|
|
19671
21130
|
created_at: string;
|
|
19672
21131
|
display_name: string;
|
|
@@ -19731,10 +21190,10 @@ declare const useProvider: (provider_id: ProviderParams["path"]["provider_id"],
|
|
|
19731
21190
|
}, `${string}/${string}`>>;
|
|
19732
21191
|
|
|
19733
21192
|
type ProviderScheduleParams = paths["/v1/provider_schedules/{provider_schedule_id}"]["get"]["parameters"];
|
|
19734
|
-
interface Options$
|
|
21193
|
+
interface Options$d extends QueryOptionsFor<"get", "/v1/provider_schedules/{provider_schedule_id}"> {
|
|
19735
21194
|
client?: QueryClient;
|
|
19736
21195
|
}
|
|
19737
|
-
declare const useProviderSchedule: (provider_schedule_id: ProviderScheduleParams["path"]["provider_schedule_id"], options?: Options$
|
|
21196
|
+
declare const useProviderSchedule: (provider_schedule_id: ProviderScheduleParams["path"]["provider_schedule_id"], options?: Options$d) => _tanstack_react_query.UseQueryResult<{
|
|
19738
21197
|
data: {
|
|
19739
21198
|
created_at: string;
|
|
19740
21199
|
effective_from: string;
|
|
@@ -19807,10 +21266,10 @@ declare const useProviderSchedule: (provider_schedule_id: ProviderScheduleParams
|
|
|
19807
21266
|
}, `${string}/${string}`>>;
|
|
19808
21267
|
|
|
19809
21268
|
type ProviderSchedulesParams = paths["/v1/provider_schedules"]["get"]["parameters"];
|
|
19810
|
-
interface Options$
|
|
21269
|
+
interface Options$c extends QueryOptionsFor<"get", "/v1/provider_schedules"> {
|
|
19811
21270
|
client?: QueryClient;
|
|
19812
21271
|
}
|
|
19813
|
-
declare const useProviderSchedules: (queryParams?: ProviderSchedulesParams["query"], options?: Options$
|
|
21272
|
+
declare const useProviderSchedules: (queryParams?: ProviderSchedulesParams["query"], options?: Options$c) => _tanstack_react_query.UseQueryResult<{
|
|
19814
21273
|
data: {
|
|
19815
21274
|
created_at: string;
|
|
19816
21275
|
effective_from: string;
|
|
@@ -19899,10 +21358,10 @@ declare const useProviderSchedules: (queryParams?: ProviderSchedulesParams["quer
|
|
|
19899
21358
|
}, `${string}/${string}`>>;
|
|
19900
21359
|
|
|
19901
21360
|
type ProvidersParams = paths["/v1/providers"]["get"]["parameters"];
|
|
19902
|
-
interface Options$
|
|
21361
|
+
interface Options$b extends QueryOptionsFor<"get", "/v1/providers"> {
|
|
19903
21362
|
client?: QueryClient;
|
|
19904
21363
|
}
|
|
19905
|
-
declare const useProviders: (queryParams?: ProvidersParams["query"], options?: Options$
|
|
21364
|
+
declare const useProviders: (queryParams?: ProvidersParams["query"], options?: Options$b) => _tanstack_react_query.UseQueryResult<{
|
|
19906
21365
|
data: {
|
|
19907
21366
|
created_at: string;
|
|
19908
21367
|
display_name: string;
|
|
@@ -19983,10 +21442,10 @@ declare const useProviders: (queryParams?: ProvidersParams["query"], options?: O
|
|
|
19983
21442
|
}, `${string}/${string}`>>;
|
|
19984
21443
|
|
|
19985
21444
|
type PublicAppointmentParams = paths["/v1/public/appointments/{appointment_id}"]["get"]["parameters"];
|
|
19986
|
-
interface Options$
|
|
21445
|
+
interface Options$a extends QueryOptionsFor<"get", "/v1/public/appointments/{appointment_id}"> {
|
|
19987
21446
|
client?: QueryClient;
|
|
19988
21447
|
}
|
|
19989
|
-
declare const usePublicAppointment: (appointment_id: PublicAppointmentParams["path"]["appointment_id"], options?: Options$
|
|
21448
|
+
declare const usePublicAppointment: (appointment_id: PublicAppointmentParams["path"]["appointment_id"], options?: Options$a) => _tanstack_react_query.UseQueryResult<{
|
|
19990
21449
|
data: {
|
|
19991
21450
|
cancellation: {
|
|
19992
21451
|
allowed: boolean;
|
|
@@ -20034,10 +21493,10 @@ declare const usePublicAppointment: (appointment_id: PublicAppointmentParams["pa
|
|
|
20034
21493
|
}>;
|
|
20035
21494
|
|
|
20036
21495
|
type PublicBookingIntentParams = paths["/v1/public/booking_intents/{booking_intent_id}"]["get"]["parameters"];
|
|
20037
|
-
interface Options$
|
|
21496
|
+
interface Options$9 extends QueryOptionsFor<"get", "/v1/public/booking_intents/{booking_intent_id}"> {
|
|
20038
21497
|
client?: QueryClient;
|
|
20039
21498
|
}
|
|
20040
|
-
declare const usePublicBookingIntent: (booking_intent_id: PublicBookingIntentParams["path"]["booking_intent_id"], options?: Options$
|
|
21499
|
+
declare const usePublicBookingIntent: (booking_intent_id: PublicBookingIntentParams["path"]["booking_intent_id"], options?: Options$9) => _tanstack_react_query.UseQueryResult<{
|
|
20041
21500
|
data: {
|
|
20042
21501
|
appointment?: {
|
|
20043
21502
|
cancellation: {
|
|
@@ -20091,7 +21550,7 @@ declare const usePublicBookingIntent: (booking_intent_id: PublicBookingIntentPar
|
|
|
20091
21550
|
}[] | null;
|
|
20092
21551
|
hold_until?: string | null;
|
|
20093
21552
|
id: string;
|
|
20094
|
-
locked_fields?: ("service_id" | "provider_id" | "
|
|
21553
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
20095
21554
|
object: "public_booking_intent";
|
|
20096
21555
|
requirements?: {
|
|
20097
21556
|
booking: {
|
|
@@ -20117,22 +21576,81 @@ declare const usePublicBookingIntent: (booking_intent_id: PublicBookingIntentPar
|
|
|
20117
21576
|
available_steps: string[];
|
|
20118
21577
|
can_change_slot: boolean;
|
|
20119
21578
|
can_complete: boolean;
|
|
20120
|
-
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
21579
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "slot_expired" | "status_invalid" | null;
|
|
20121
21580
|
is_defunct: boolean;
|
|
20122
21581
|
resume_step: string;
|
|
20123
21582
|
};
|
|
20124
21583
|
};
|
|
20125
21584
|
}, {
|
|
20126
21585
|
errors: {
|
|
20127
|
-
|
|
20128
|
-
|
|
20129
|
-
source: {
|
|
20130
|
-
pointer: string;
|
|
20131
|
-
};
|
|
20132
|
-
title: string;
|
|
21586
|
+
detail: "Not Found";
|
|
21587
|
+
status: "404";
|
|
20133
21588
|
}[];
|
|
20134
21589
|
}>;
|
|
20135
21590
|
|
|
21591
|
+
type PublicBookingIntentSlotsParams = paths["/v1/public/booking_intents/{booking_intent_id}/slots"]["get"]["parameters"];
|
|
21592
|
+
interface Options$8 extends QueryOptionsFor<"get", "/v1/public/booking_intents/{booking_intent_id}/slots"> {
|
|
21593
|
+
client?: QueryClient;
|
|
21594
|
+
}
|
|
21595
|
+
declare const usePublicBookingIntentSlots: (booking_intent_id: PublicBookingIntentSlotsParams["path"]["booking_intent_id"], queryParams?: PublicBookingIntentSlotsParams["query"], options?: Options$8) => _tanstack_react_query.UseQueryResult<{
|
|
21596
|
+
data: {
|
|
21597
|
+
end_at: string;
|
|
21598
|
+
end_at_ts: number;
|
|
21599
|
+
object: "slot";
|
|
21600
|
+
start_at: string;
|
|
21601
|
+
start_at_ts: number;
|
|
21602
|
+
time_zone: string;
|
|
21603
|
+
}[];
|
|
21604
|
+
}, openapi_typescript_helpers.ErrorResponse<{
|
|
21605
|
+
200: {
|
|
21606
|
+
headers: {
|
|
21607
|
+
[name: string]: unknown;
|
|
21608
|
+
};
|
|
21609
|
+
content: {
|
|
21610
|
+
"application/json": {
|
|
21611
|
+
data: {
|
|
21612
|
+
end_at: string;
|
|
21613
|
+
end_at_ts: number;
|
|
21614
|
+
object: "slot";
|
|
21615
|
+
start_at: string;
|
|
21616
|
+
start_at_ts: number;
|
|
21617
|
+
time_zone: string;
|
|
21618
|
+
}[];
|
|
21619
|
+
};
|
|
21620
|
+
};
|
|
21621
|
+
};
|
|
21622
|
+
404: {
|
|
21623
|
+
headers: {
|
|
21624
|
+
[name: string]: unknown;
|
|
21625
|
+
};
|
|
21626
|
+
content: {
|
|
21627
|
+
"application/json": {
|
|
21628
|
+
errors: {
|
|
21629
|
+
detail: "Not Found";
|
|
21630
|
+
status: "404";
|
|
21631
|
+
}[];
|
|
21632
|
+
};
|
|
21633
|
+
};
|
|
21634
|
+
};
|
|
21635
|
+
422: {
|
|
21636
|
+
headers: {
|
|
21637
|
+
[name: string]: unknown;
|
|
21638
|
+
};
|
|
21639
|
+
content: {
|
|
21640
|
+
"application/json": {
|
|
21641
|
+
errors: {
|
|
21642
|
+
code?: string | null;
|
|
21643
|
+
detail: string;
|
|
21644
|
+
source: {
|
|
21645
|
+
pointer: string;
|
|
21646
|
+
};
|
|
21647
|
+
title: string;
|
|
21648
|
+
}[];
|
|
21649
|
+
};
|
|
21650
|
+
};
|
|
21651
|
+
};
|
|
21652
|
+
}, `${string}/${string}`>>;
|
|
21653
|
+
|
|
20136
21654
|
type PublicCancellationReasonsParams = paths["/v1/public/appointments/{appointment_id}/cancellation_reasons"]["get"]["parameters"];
|
|
20137
21655
|
interface Options$7 extends QueryOptionsFor<"get", "/v1/public/appointments/{appointment_id}/cancellation_reasons"> {
|
|
20138
21656
|
client?: QueryClient;
|
|
@@ -20240,7 +21758,7 @@ declare const useRoles: (options?: Options$5) => _tanstack_react_query.UseQueryR
|
|
|
20240
21758
|
id: string;
|
|
20241
21759
|
name: string;
|
|
20242
21760
|
object: "role";
|
|
20243
|
-
type: "admin" | "staff" | "
|
|
21761
|
+
type: "admin" | "staff" | "superuser" | "custom";
|
|
20244
21762
|
}[];
|
|
20245
21763
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
20246
21764
|
200: {
|
|
@@ -20253,7 +21771,7 @@ declare const useRoles: (options?: Options$5) => _tanstack_react_query.UseQueryR
|
|
|
20253
21771
|
id: string;
|
|
20254
21772
|
name: string;
|
|
20255
21773
|
object: "role";
|
|
20256
|
-
type: "admin" | "staff" | "
|
|
21774
|
+
type: "admin" | "staff" | "superuser" | "custom";
|
|
20257
21775
|
}[];
|
|
20258
21776
|
};
|
|
20259
21777
|
};
|
|
@@ -20964,4 +22482,4 @@ declare const useServices: (queryParams?: ServicesParams["query"], options?: Opt
|
|
|
20964
22482
|
};
|
|
20965
22483
|
}, `${string}/${string}`>>;
|
|
20966
22484
|
|
|
20967
|
-
export { type MutationOptionsFor, type QueryClient, type QueryOptionsFor, SavvyCalProvider, type SavvyCalProviderProps, createQueryClient, useAbandonBookingIntent, useAbandonPublicBookingIntent, useAccountById, useAccountUsers, useAccounts, useAppointment, useAppointments, useAttachServiceForm, useBlock, useBlocks, useBookingIntent, useBookingIntents, useCancelAppointment, useCancelPublicAppointment, useCancellationReason, useCancellationReasons, useClient, useClientField, useClientFields, useClients, useCompleteBookingIntent, useCompletePublicBookingIntent, useConfirmAppointment, useConnectedAccount, useConnectedAccounts, useCreateAccount, useCreateAccountUser, useCreateAppointment, useCreateBlock, useCreateBookingIntent, useCreateCancellationReason, useCreateClient, useCreateClientField, useCreateDashboardSession, useCreateForm, useCreateProvider, useCreateProviderSchedule, useCreatePublicAppointment, useCreatePublicBookingIntent, useCreateService, useCreateServiceProvider, useCurrentAccount, useCurrentAccountUser, useCurrentPlatform, useDeactivateProvider, useDeleteBlock, useDeleteCancellationReason, useDeleteClient, useDeleteClientField, useDeleteConnectedAccount, useDeleteForm, useDeleteProviderSchedule, useDeleteService, useDeleteServiceProvider, useDetachServiceForm, useEarliestPublicServiceSlot, useForm, useForms, useProvider, useProviderSchedule, useProviderSchedules, useProviders, usePublicAppointment, usePublicBookingIntent, usePublicCancellationReasons, usePublicServiceSlots, useRescheduleAppointment, useReschedulePublicAppointment, useRoles, useSavvyCalFetchClient, useSavvyCalQueryClient, useService, useServiceForms, useServiceProviders, useServiceSlots, useServices, useSortServiceForms, useUpdateAccount, useUpdateAccountUser, useUpdateBlock, useUpdateBookingIntent, useUpdateCancellationReason, useUpdateClient, useUpdateClientField, useUpdateConnectedAccount, useUpdateForm, useUpdateProvider, useUpdateProviderSchedule, useUpdatePublicBookingIntent, useUpdateService };
|
|
22485
|
+
export { type MutationOptionsFor, type QueryClient, type QueryOptionsFor, SavvyCalProvider, type SavvyCalProviderProps, createQueryClient, useAbandonBookingIntent, useAbandonPublicBookingIntent, useAccountById, useAccountUsers, useAccounts, useAppointment, useAppointments, useAttachServiceForm, useBlock, useBlocks, useBookingIntent, useBookingIntentSlots, useBookingIntents, useCancelAppointment, useCancelPublicAppointment, useCancellationReason, useCancellationReasons, useClient, useClientField, useClientFields, useClients, useCompleteBookingIntent, useCompletePublicBookingIntent, useConfirmAppointment, useConnectedAccount, useConnectedAccounts, useCreateAccount, useCreateAccountUser, useCreateAppointment, useCreateBlock, useCreateBookingIntent, useCreateCancellationReason, useCreateClient, useCreateClientField, useCreateDashboardSession, useCreateForm, useCreateProvider, useCreateProviderSchedule, useCreatePublicAppointment, useCreatePublicBookingIntent, useCreateService, useCreateServiceProvider, useCurrentAccount, useCurrentAccountUser, useCurrentPlatform, useDeactivateProvider, useDeleteBlock, useDeleteCancellationReason, useDeleteClient, useDeleteClientField, useDeleteConnectedAccount, useDeleteForm, useDeleteProviderSchedule, useDeleteService, useDeleteServiceProvider, useDetachServiceForm, useEarliestPublicServiceSlot, useForm, useForms, useProvider, useProviderSchedule, useProviderSchedules, useProviders, usePublicAppointment, usePublicBookingIntent, usePublicBookingIntentSlots, usePublicCancellationReasons, usePublicServiceSlots, useRescheduleAppointment, useReschedulePublicAppointment, useRoles, useSavvyCalFetchClient, useSavvyCalQueryClient, useService, useServiceForms, useServiceProviders, useServiceSlots, useServices, useSortServiceForms, useUpdateAccount, useUpdateAccountUser, useUpdateBlock, useUpdateBookingIntent, useUpdateCancellationReason, useUpdateClient, useUpdateClientField, useUpdateConnectedAccount, useUpdateForm, useUpdateProvider, useUpdateProviderSchedule, useUpdatePublicBookingIntent, useUpdateService };
|