@savvycal/appointments-react-query 1.2.0 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +527 -27
- package/dist/index.d.ts +527 -27
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -323,7 +323,7 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
323
323
|
}[] | null;
|
|
324
324
|
hold_until?: string | null;
|
|
325
325
|
id: string;
|
|
326
|
-
locked_fields?:
|
|
326
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
327
327
|
metadata?: {
|
|
328
328
|
[key: string]: unknown;
|
|
329
329
|
};
|
|
@@ -340,6 +340,18 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
340
340
|
object: "provider";
|
|
341
341
|
updated_at: string;
|
|
342
342
|
} | null;
|
|
343
|
+
requirements?: {
|
|
344
|
+
booking: {
|
|
345
|
+
complete: boolean;
|
|
346
|
+
};
|
|
347
|
+
info: {
|
|
348
|
+
complete: boolean;
|
|
349
|
+
};
|
|
350
|
+
submissions: {
|
|
351
|
+
complete: boolean;
|
|
352
|
+
form_id: string;
|
|
353
|
+
}[];
|
|
354
|
+
} | null;
|
|
343
355
|
service?: {
|
|
344
356
|
appointment_type: "in_person" | "virtual";
|
|
345
357
|
booking_policy: {
|
|
@@ -427,6 +439,14 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
427
439
|
};
|
|
428
440
|
}[];
|
|
429
441
|
updated_at: string;
|
|
442
|
+
workflow?: {
|
|
443
|
+
available_steps: string[];
|
|
444
|
+
can_change_slot: boolean;
|
|
445
|
+
can_complete: boolean;
|
|
446
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
447
|
+
is_defunct: boolean;
|
|
448
|
+
resume_step: string;
|
|
449
|
+
} | null;
|
|
430
450
|
};
|
|
431
451
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
432
452
|
200: {
|
|
@@ -703,7 +723,7 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
703
723
|
}[] | null;
|
|
704
724
|
hold_until?: string | null;
|
|
705
725
|
id: string;
|
|
706
|
-
locked_fields?:
|
|
726
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
707
727
|
metadata?: {
|
|
708
728
|
[key: string]: unknown;
|
|
709
729
|
};
|
|
@@ -720,6 +740,18 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
720
740
|
object: "provider";
|
|
721
741
|
updated_at: string;
|
|
722
742
|
} | null;
|
|
743
|
+
requirements?: {
|
|
744
|
+
booking: {
|
|
745
|
+
complete: boolean;
|
|
746
|
+
};
|
|
747
|
+
info: {
|
|
748
|
+
complete: boolean;
|
|
749
|
+
};
|
|
750
|
+
submissions: {
|
|
751
|
+
complete: boolean;
|
|
752
|
+
form_id: string;
|
|
753
|
+
}[];
|
|
754
|
+
} | null;
|
|
723
755
|
service?: {
|
|
724
756
|
appointment_type: "in_person" | "virtual";
|
|
725
757
|
booking_policy: {
|
|
@@ -807,6 +839,14 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
807
839
|
};
|
|
808
840
|
}[];
|
|
809
841
|
updated_at: string;
|
|
842
|
+
workflow?: {
|
|
843
|
+
available_steps: string[];
|
|
844
|
+
can_change_slot: boolean;
|
|
845
|
+
can_complete: boolean;
|
|
846
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
847
|
+
is_defunct: boolean;
|
|
848
|
+
resume_step: string;
|
|
849
|
+
} | null;
|
|
810
850
|
};
|
|
811
851
|
};
|
|
812
852
|
};
|
|
@@ -1142,7 +1182,7 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
1142
1182
|
}[] | null;
|
|
1143
1183
|
hold_until?: string | null;
|
|
1144
1184
|
id: string;
|
|
1145
|
-
locked_fields?:
|
|
1185
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
1146
1186
|
metadata?: {
|
|
1147
1187
|
[key: string]: unknown;
|
|
1148
1188
|
};
|
|
@@ -1159,6 +1199,18 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
1159
1199
|
object: "provider";
|
|
1160
1200
|
updated_at: string;
|
|
1161
1201
|
} | null;
|
|
1202
|
+
requirements?: {
|
|
1203
|
+
booking: {
|
|
1204
|
+
complete: boolean;
|
|
1205
|
+
};
|
|
1206
|
+
info: {
|
|
1207
|
+
complete: boolean;
|
|
1208
|
+
};
|
|
1209
|
+
submissions: {
|
|
1210
|
+
complete: boolean;
|
|
1211
|
+
form_id: string;
|
|
1212
|
+
}[];
|
|
1213
|
+
} | null;
|
|
1162
1214
|
service?: {
|
|
1163
1215
|
appointment_type: "in_person" | "virtual";
|
|
1164
1216
|
booking_policy: {
|
|
@@ -1246,6 +1298,14 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
1246
1298
|
};
|
|
1247
1299
|
}[];
|
|
1248
1300
|
updated_at: string;
|
|
1301
|
+
workflow?: {
|
|
1302
|
+
available_steps: string[];
|
|
1303
|
+
can_change_slot: boolean;
|
|
1304
|
+
can_complete: boolean;
|
|
1305
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
1306
|
+
is_defunct: boolean;
|
|
1307
|
+
resume_step: string;
|
|
1308
|
+
} | null;
|
|
1249
1309
|
};
|
|
1250
1310
|
};
|
|
1251
1311
|
};
|
|
@@ -1354,8 +1414,20 @@ declare const useAbandonPublicBookingIntent: (options?: Options$1m) => _tanstack
|
|
|
1354
1414
|
}[] | null;
|
|
1355
1415
|
hold_until?: string | null;
|
|
1356
1416
|
id: string;
|
|
1357
|
-
locked_fields?:
|
|
1417
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
1358
1418
|
object: "public_booking_intent";
|
|
1419
|
+
requirements?: {
|
|
1420
|
+
booking: {
|
|
1421
|
+
complete: boolean;
|
|
1422
|
+
};
|
|
1423
|
+
info: {
|
|
1424
|
+
complete: boolean;
|
|
1425
|
+
};
|
|
1426
|
+
submissions: {
|
|
1427
|
+
complete: boolean;
|
|
1428
|
+
form_id: string;
|
|
1429
|
+
}[];
|
|
1430
|
+
};
|
|
1359
1431
|
start_at?: {
|
|
1360
1432
|
local: string;
|
|
1361
1433
|
object: "zoned_date_time";
|
|
@@ -1364,6 +1436,14 @@ declare const useAbandonPublicBookingIntent: (options?: Options$1m) => _tanstack
|
|
|
1364
1436
|
utc: string;
|
|
1365
1437
|
} | null;
|
|
1366
1438
|
status: "pending" | "slot_selected" | "completed" | "abandoned";
|
|
1439
|
+
workflow?: {
|
|
1440
|
+
available_steps: string[];
|
|
1441
|
+
can_change_slot: boolean;
|
|
1442
|
+
can_complete: boolean;
|
|
1443
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
1444
|
+
is_defunct: boolean;
|
|
1445
|
+
resume_step: string;
|
|
1446
|
+
};
|
|
1367
1447
|
};
|
|
1368
1448
|
}, {
|
|
1369
1449
|
errors: {
|
|
@@ -1444,8 +1524,20 @@ declare const useAbandonPublicBookingIntent: (options?: Options$1m) => _tanstack
|
|
|
1444
1524
|
}[] | null;
|
|
1445
1525
|
hold_until?: string | null;
|
|
1446
1526
|
id: string;
|
|
1447
|
-
locked_fields?:
|
|
1527
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
1448
1528
|
object: "public_booking_intent";
|
|
1529
|
+
requirements?: {
|
|
1530
|
+
booking: {
|
|
1531
|
+
complete: boolean;
|
|
1532
|
+
};
|
|
1533
|
+
info: {
|
|
1534
|
+
complete: boolean;
|
|
1535
|
+
};
|
|
1536
|
+
submissions: {
|
|
1537
|
+
complete: boolean;
|
|
1538
|
+
form_id: string;
|
|
1539
|
+
}[];
|
|
1540
|
+
};
|
|
1449
1541
|
start_at?: {
|
|
1450
1542
|
local: string;
|
|
1451
1543
|
object: "zoned_date_time";
|
|
@@ -1454,6 +1546,14 @@ declare const useAbandonPublicBookingIntent: (options?: Options$1m) => _tanstack
|
|
|
1454
1546
|
utc: string;
|
|
1455
1547
|
} | null;
|
|
1456
1548
|
status: "pending" | "slot_selected" | "completed" | "abandoned";
|
|
1549
|
+
workflow?: {
|
|
1550
|
+
available_steps: string[];
|
|
1551
|
+
can_change_slot: boolean;
|
|
1552
|
+
can_complete: boolean;
|
|
1553
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
1554
|
+
is_defunct: boolean;
|
|
1555
|
+
resume_step: string;
|
|
1556
|
+
};
|
|
1457
1557
|
};
|
|
1458
1558
|
};
|
|
1459
1559
|
};
|
|
@@ -2839,7 +2939,7 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
2839
2939
|
}[] | null;
|
|
2840
2940
|
hold_until?: string | null;
|
|
2841
2941
|
id: string;
|
|
2842
|
-
locked_fields?:
|
|
2942
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
2843
2943
|
metadata?: {
|
|
2844
2944
|
[key: string]: unknown;
|
|
2845
2945
|
};
|
|
@@ -2856,6 +2956,18 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
2856
2956
|
object: "provider";
|
|
2857
2957
|
updated_at: string;
|
|
2858
2958
|
} | null;
|
|
2959
|
+
requirements?: {
|
|
2960
|
+
booking: {
|
|
2961
|
+
complete: boolean;
|
|
2962
|
+
};
|
|
2963
|
+
info: {
|
|
2964
|
+
complete: boolean;
|
|
2965
|
+
};
|
|
2966
|
+
submissions: {
|
|
2967
|
+
complete: boolean;
|
|
2968
|
+
form_id: string;
|
|
2969
|
+
}[];
|
|
2970
|
+
} | null;
|
|
2859
2971
|
service?: {
|
|
2860
2972
|
appointment_type: "in_person" | "virtual";
|
|
2861
2973
|
booking_policy: {
|
|
@@ -2943,6 +3055,14 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
2943
3055
|
};
|
|
2944
3056
|
}[];
|
|
2945
3057
|
updated_at: string;
|
|
3058
|
+
workflow?: {
|
|
3059
|
+
available_steps: string[];
|
|
3060
|
+
can_change_slot: boolean;
|
|
3061
|
+
can_complete: boolean;
|
|
3062
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
3063
|
+
is_defunct: boolean;
|
|
3064
|
+
resume_step: string;
|
|
3065
|
+
} | null;
|
|
2946
3066
|
};
|
|
2947
3067
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
2948
3068
|
200: {
|
|
@@ -3219,7 +3339,7 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3219
3339
|
}[] | null;
|
|
3220
3340
|
hold_until?: string | null;
|
|
3221
3341
|
id: string;
|
|
3222
|
-
locked_fields?:
|
|
3342
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
3223
3343
|
metadata?: {
|
|
3224
3344
|
[key: string]: unknown;
|
|
3225
3345
|
};
|
|
@@ -3236,6 +3356,18 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3236
3356
|
object: "provider";
|
|
3237
3357
|
updated_at: string;
|
|
3238
3358
|
} | null;
|
|
3359
|
+
requirements?: {
|
|
3360
|
+
booking: {
|
|
3361
|
+
complete: boolean;
|
|
3362
|
+
};
|
|
3363
|
+
info: {
|
|
3364
|
+
complete: boolean;
|
|
3365
|
+
};
|
|
3366
|
+
submissions: {
|
|
3367
|
+
complete: boolean;
|
|
3368
|
+
form_id: string;
|
|
3369
|
+
}[];
|
|
3370
|
+
} | null;
|
|
3239
3371
|
service?: {
|
|
3240
3372
|
appointment_type: "in_person" | "virtual";
|
|
3241
3373
|
booking_policy: {
|
|
@@ -3323,6 +3455,14 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3323
3455
|
};
|
|
3324
3456
|
}[];
|
|
3325
3457
|
updated_at: string;
|
|
3458
|
+
workflow?: {
|
|
3459
|
+
available_steps: string[];
|
|
3460
|
+
can_change_slot: boolean;
|
|
3461
|
+
can_complete: boolean;
|
|
3462
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
3463
|
+
is_defunct: boolean;
|
|
3464
|
+
resume_step: string;
|
|
3465
|
+
} | null;
|
|
3326
3466
|
};
|
|
3327
3467
|
};
|
|
3328
3468
|
};
|
|
@@ -3691,7 +3831,7 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3691
3831
|
}[] | null;
|
|
3692
3832
|
hold_until?: string | null;
|
|
3693
3833
|
id: string;
|
|
3694
|
-
locked_fields?:
|
|
3834
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
3695
3835
|
metadata?: {
|
|
3696
3836
|
[key: string]: unknown;
|
|
3697
3837
|
};
|
|
@@ -3708,6 +3848,18 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3708
3848
|
object: "provider";
|
|
3709
3849
|
updated_at: string;
|
|
3710
3850
|
} | null;
|
|
3851
|
+
requirements?: {
|
|
3852
|
+
booking: {
|
|
3853
|
+
complete: boolean;
|
|
3854
|
+
};
|
|
3855
|
+
info: {
|
|
3856
|
+
complete: boolean;
|
|
3857
|
+
};
|
|
3858
|
+
submissions: {
|
|
3859
|
+
complete: boolean;
|
|
3860
|
+
form_id: string;
|
|
3861
|
+
}[];
|
|
3862
|
+
} | null;
|
|
3711
3863
|
service?: {
|
|
3712
3864
|
appointment_type: "in_person" | "virtual";
|
|
3713
3865
|
booking_policy: {
|
|
@@ -3795,6 +3947,14 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3795
3947
|
};
|
|
3796
3948
|
}[];
|
|
3797
3949
|
updated_at: string;
|
|
3950
|
+
workflow?: {
|
|
3951
|
+
available_steps: string[];
|
|
3952
|
+
can_change_slot: boolean;
|
|
3953
|
+
can_complete: boolean;
|
|
3954
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
3955
|
+
is_defunct: boolean;
|
|
3956
|
+
resume_step: string;
|
|
3957
|
+
} | null;
|
|
3798
3958
|
};
|
|
3799
3959
|
};
|
|
3800
3960
|
};
|
|
@@ -3903,8 +4063,20 @@ declare const useCompletePublicBookingIntent: (options?: Options$1h) => _tanstac
|
|
|
3903
4063
|
}[] | null;
|
|
3904
4064
|
hold_until?: string | null;
|
|
3905
4065
|
id: string;
|
|
3906
|
-
locked_fields?:
|
|
4066
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
3907
4067
|
object: "public_booking_intent";
|
|
4068
|
+
requirements?: {
|
|
4069
|
+
booking: {
|
|
4070
|
+
complete: boolean;
|
|
4071
|
+
};
|
|
4072
|
+
info: {
|
|
4073
|
+
complete: boolean;
|
|
4074
|
+
};
|
|
4075
|
+
submissions: {
|
|
4076
|
+
complete: boolean;
|
|
4077
|
+
form_id: string;
|
|
4078
|
+
}[];
|
|
4079
|
+
};
|
|
3908
4080
|
start_at?: {
|
|
3909
4081
|
local: string;
|
|
3910
4082
|
object: "zoned_date_time";
|
|
@@ -3913,6 +4085,14 @@ declare const useCompletePublicBookingIntent: (options?: Options$1h) => _tanstac
|
|
|
3913
4085
|
utc: string;
|
|
3914
4086
|
} | null;
|
|
3915
4087
|
status: "pending" | "slot_selected" | "completed" | "abandoned";
|
|
4088
|
+
workflow?: {
|
|
4089
|
+
available_steps: string[];
|
|
4090
|
+
can_change_slot: boolean;
|
|
4091
|
+
can_complete: boolean;
|
|
4092
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
4093
|
+
is_defunct: boolean;
|
|
4094
|
+
resume_step: string;
|
|
4095
|
+
};
|
|
3916
4096
|
};
|
|
3917
4097
|
}, {
|
|
3918
4098
|
errors: {
|
|
@@ -4022,8 +4202,20 @@ declare const useCompletePublicBookingIntent: (options?: Options$1h) => _tanstac
|
|
|
4022
4202
|
}[] | null;
|
|
4023
4203
|
hold_until?: string | null;
|
|
4024
4204
|
id: string;
|
|
4025
|
-
locked_fields?:
|
|
4205
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
4026
4206
|
object: "public_booking_intent";
|
|
4207
|
+
requirements?: {
|
|
4208
|
+
booking: {
|
|
4209
|
+
complete: boolean;
|
|
4210
|
+
};
|
|
4211
|
+
info: {
|
|
4212
|
+
complete: boolean;
|
|
4213
|
+
};
|
|
4214
|
+
submissions: {
|
|
4215
|
+
complete: boolean;
|
|
4216
|
+
form_id: string;
|
|
4217
|
+
}[];
|
|
4218
|
+
};
|
|
4027
4219
|
start_at?: {
|
|
4028
4220
|
local: string;
|
|
4029
4221
|
object: "zoned_date_time";
|
|
@@ -4032,6 +4224,14 @@ declare const useCompletePublicBookingIntent: (options?: Options$1h) => _tanstac
|
|
|
4032
4224
|
utc: string;
|
|
4033
4225
|
} | null;
|
|
4034
4226
|
status: "pending" | "slot_selected" | "completed" | "abandoned";
|
|
4227
|
+
workflow?: {
|
|
4228
|
+
available_steps: string[];
|
|
4229
|
+
can_change_slot: boolean;
|
|
4230
|
+
can_complete: boolean;
|
|
4231
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
4232
|
+
is_defunct: boolean;
|
|
4233
|
+
resume_step: string;
|
|
4234
|
+
};
|
|
4035
4235
|
};
|
|
4036
4236
|
};
|
|
4037
4237
|
};
|
|
@@ -6366,7 +6566,7 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6366
6566
|
}[] | null;
|
|
6367
6567
|
hold_until?: string | null;
|
|
6368
6568
|
id: string;
|
|
6369
|
-
locked_fields?:
|
|
6569
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
6370
6570
|
metadata?: {
|
|
6371
6571
|
[key: string]: unknown;
|
|
6372
6572
|
};
|
|
@@ -6383,6 +6583,18 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6383
6583
|
object: "provider";
|
|
6384
6584
|
updated_at: string;
|
|
6385
6585
|
} | null;
|
|
6586
|
+
requirements?: {
|
|
6587
|
+
booking: {
|
|
6588
|
+
complete: boolean;
|
|
6589
|
+
};
|
|
6590
|
+
info: {
|
|
6591
|
+
complete: boolean;
|
|
6592
|
+
};
|
|
6593
|
+
submissions: {
|
|
6594
|
+
complete: boolean;
|
|
6595
|
+
form_id: string;
|
|
6596
|
+
}[];
|
|
6597
|
+
} | null;
|
|
6386
6598
|
service?: {
|
|
6387
6599
|
appointment_type: "in_person" | "virtual";
|
|
6388
6600
|
booking_policy: {
|
|
@@ -6470,6 +6682,14 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6470
6682
|
};
|
|
6471
6683
|
}[];
|
|
6472
6684
|
updated_at: string;
|
|
6685
|
+
workflow?: {
|
|
6686
|
+
available_steps: string[];
|
|
6687
|
+
can_change_slot: boolean;
|
|
6688
|
+
can_complete: boolean;
|
|
6689
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
6690
|
+
is_defunct: boolean;
|
|
6691
|
+
resume_step: string;
|
|
6692
|
+
} | null;
|
|
6473
6693
|
};
|
|
6474
6694
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
6475
6695
|
201: {
|
|
@@ -6746,7 +6966,7 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6746
6966
|
}[] | null;
|
|
6747
6967
|
hold_until?: string | null;
|
|
6748
6968
|
id: string;
|
|
6749
|
-
locked_fields?:
|
|
6969
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
6750
6970
|
metadata?: {
|
|
6751
6971
|
[key: string]: unknown;
|
|
6752
6972
|
};
|
|
@@ -6763,6 +6983,18 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6763
6983
|
object: "provider";
|
|
6764
6984
|
updated_at: string;
|
|
6765
6985
|
} | null;
|
|
6986
|
+
requirements?: {
|
|
6987
|
+
booking: {
|
|
6988
|
+
complete: boolean;
|
|
6989
|
+
};
|
|
6990
|
+
info: {
|
|
6991
|
+
complete: boolean;
|
|
6992
|
+
};
|
|
6993
|
+
submissions: {
|
|
6994
|
+
complete: boolean;
|
|
6995
|
+
form_id: string;
|
|
6996
|
+
}[];
|
|
6997
|
+
} | null;
|
|
6766
6998
|
service?: {
|
|
6767
6999
|
appointment_type: "in_person" | "virtual";
|
|
6768
7000
|
booking_policy: {
|
|
@@ -6850,6 +7082,14 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6850
7082
|
};
|
|
6851
7083
|
}[];
|
|
6852
7084
|
updated_at: string;
|
|
7085
|
+
workflow?: {
|
|
7086
|
+
available_steps: string[];
|
|
7087
|
+
can_change_slot: boolean;
|
|
7088
|
+
can_complete: boolean;
|
|
7089
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
7090
|
+
is_defunct: boolean;
|
|
7091
|
+
resume_step: string;
|
|
7092
|
+
} | null;
|
|
6853
7093
|
};
|
|
6854
7094
|
};
|
|
6855
7095
|
};
|
|
@@ -6931,7 +7171,7 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6931
7171
|
} | null;
|
|
6932
7172
|
client_id?: string | null;
|
|
6933
7173
|
end_at?: string | null;
|
|
6934
|
-
locked_fields?:
|
|
7174
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[] | null;
|
|
6935
7175
|
metadata?: {
|
|
6936
7176
|
[key: string]: unknown;
|
|
6937
7177
|
} | null;
|
|
@@ -7224,7 +7464,7 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
7224
7464
|
}[] | null;
|
|
7225
7465
|
hold_until?: string | null;
|
|
7226
7466
|
id: string;
|
|
7227
|
-
locked_fields?:
|
|
7467
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
7228
7468
|
metadata?: {
|
|
7229
7469
|
[key: string]: unknown;
|
|
7230
7470
|
};
|
|
@@ -7241,6 +7481,18 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
7241
7481
|
object: "provider";
|
|
7242
7482
|
updated_at: string;
|
|
7243
7483
|
} | null;
|
|
7484
|
+
requirements?: {
|
|
7485
|
+
booking: {
|
|
7486
|
+
complete: boolean;
|
|
7487
|
+
};
|
|
7488
|
+
info: {
|
|
7489
|
+
complete: boolean;
|
|
7490
|
+
};
|
|
7491
|
+
submissions: {
|
|
7492
|
+
complete: boolean;
|
|
7493
|
+
form_id: string;
|
|
7494
|
+
}[];
|
|
7495
|
+
} | null;
|
|
7244
7496
|
service?: {
|
|
7245
7497
|
appointment_type: "in_person" | "virtual";
|
|
7246
7498
|
booking_policy: {
|
|
@@ -7328,6 +7580,14 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
7328
7580
|
};
|
|
7329
7581
|
}[];
|
|
7330
7582
|
updated_at: string;
|
|
7583
|
+
workflow?: {
|
|
7584
|
+
available_steps: string[];
|
|
7585
|
+
can_change_slot: boolean;
|
|
7586
|
+
can_complete: boolean;
|
|
7587
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
7588
|
+
is_defunct: boolean;
|
|
7589
|
+
resume_step: string;
|
|
7590
|
+
} | null;
|
|
7331
7591
|
};
|
|
7332
7592
|
};
|
|
7333
7593
|
};
|
|
@@ -8621,8 +8881,20 @@ declare const useCreatePublicBookingIntent: (options?: Options$12) => _tanstack_
|
|
|
8621
8881
|
}[] | null;
|
|
8622
8882
|
hold_until?: string | null;
|
|
8623
8883
|
id: string;
|
|
8624
|
-
locked_fields?:
|
|
8884
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
8625
8885
|
object: "public_booking_intent";
|
|
8886
|
+
requirements?: {
|
|
8887
|
+
booking: {
|
|
8888
|
+
complete: boolean;
|
|
8889
|
+
};
|
|
8890
|
+
info: {
|
|
8891
|
+
complete: boolean;
|
|
8892
|
+
};
|
|
8893
|
+
submissions: {
|
|
8894
|
+
complete: boolean;
|
|
8895
|
+
form_id: string;
|
|
8896
|
+
}[];
|
|
8897
|
+
};
|
|
8626
8898
|
start_at?: {
|
|
8627
8899
|
local: string;
|
|
8628
8900
|
object: "zoned_date_time";
|
|
@@ -8631,6 +8903,14 @@ declare const useCreatePublicBookingIntent: (options?: Options$12) => _tanstack_
|
|
|
8631
8903
|
utc: string;
|
|
8632
8904
|
} | null;
|
|
8633
8905
|
status: "pending" | "slot_selected" | "completed" | "abandoned";
|
|
8906
|
+
workflow?: {
|
|
8907
|
+
available_steps: string[];
|
|
8908
|
+
can_change_slot: boolean;
|
|
8909
|
+
can_complete: boolean;
|
|
8910
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
8911
|
+
is_defunct: boolean;
|
|
8912
|
+
resume_step: string;
|
|
8913
|
+
};
|
|
8634
8914
|
};
|
|
8635
8915
|
}, {
|
|
8636
8916
|
errors: {
|
|
@@ -8739,8 +9019,20 @@ declare const useCreatePublicBookingIntent: (options?: Options$12) => _tanstack_
|
|
|
8739
9019
|
}[] | null;
|
|
8740
9020
|
hold_until?: string | null;
|
|
8741
9021
|
id: string;
|
|
8742
|
-
locked_fields?:
|
|
9022
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
8743
9023
|
object: "public_booking_intent";
|
|
9024
|
+
requirements?: {
|
|
9025
|
+
booking: {
|
|
9026
|
+
complete: boolean;
|
|
9027
|
+
};
|
|
9028
|
+
info: {
|
|
9029
|
+
complete: boolean;
|
|
9030
|
+
};
|
|
9031
|
+
submissions: {
|
|
9032
|
+
complete: boolean;
|
|
9033
|
+
form_id: string;
|
|
9034
|
+
}[];
|
|
9035
|
+
};
|
|
8744
9036
|
start_at?: {
|
|
8745
9037
|
local: string;
|
|
8746
9038
|
object: "zoned_date_time";
|
|
@@ -8749,6 +9041,14 @@ declare const useCreatePublicBookingIntent: (options?: Options$12) => _tanstack_
|
|
|
8749
9041
|
utc: string;
|
|
8750
9042
|
} | null;
|
|
8751
9043
|
status: "pending" | "slot_selected" | "completed" | "abandoned";
|
|
9044
|
+
workflow?: {
|
|
9045
|
+
available_steps: string[];
|
|
9046
|
+
can_change_slot: boolean;
|
|
9047
|
+
can_complete: boolean;
|
|
9048
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
9049
|
+
is_defunct: boolean;
|
|
9050
|
+
resume_step: string;
|
|
9051
|
+
};
|
|
8752
9052
|
};
|
|
8753
9053
|
};
|
|
8754
9054
|
};
|
|
@@ -12231,7 +12531,7 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12231
12531
|
}[] | null;
|
|
12232
12532
|
hold_until?: string | null;
|
|
12233
12533
|
id: string;
|
|
12234
|
-
locked_fields?:
|
|
12534
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
12235
12535
|
metadata?: {
|
|
12236
12536
|
[key: string]: unknown;
|
|
12237
12537
|
};
|
|
@@ -12248,6 +12548,18 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12248
12548
|
object: "provider";
|
|
12249
12549
|
updated_at: string;
|
|
12250
12550
|
} | null;
|
|
12551
|
+
requirements?: {
|
|
12552
|
+
booking: {
|
|
12553
|
+
complete: boolean;
|
|
12554
|
+
};
|
|
12555
|
+
info: {
|
|
12556
|
+
complete: boolean;
|
|
12557
|
+
};
|
|
12558
|
+
submissions: {
|
|
12559
|
+
complete: boolean;
|
|
12560
|
+
form_id: string;
|
|
12561
|
+
}[];
|
|
12562
|
+
} | null;
|
|
12251
12563
|
service?: {
|
|
12252
12564
|
appointment_type: "in_person" | "virtual";
|
|
12253
12565
|
booking_policy: {
|
|
@@ -12335,6 +12647,14 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12335
12647
|
};
|
|
12336
12648
|
}[];
|
|
12337
12649
|
updated_at: string;
|
|
12650
|
+
workflow?: {
|
|
12651
|
+
available_steps: string[];
|
|
12652
|
+
can_change_slot: boolean;
|
|
12653
|
+
can_complete: boolean;
|
|
12654
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
12655
|
+
is_defunct: boolean;
|
|
12656
|
+
resume_step: string;
|
|
12657
|
+
} | null;
|
|
12338
12658
|
};
|
|
12339
12659
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
12340
12660
|
200: {
|
|
@@ -12611,7 +12931,7 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12611
12931
|
}[] | null;
|
|
12612
12932
|
hold_until?: string | null;
|
|
12613
12933
|
id: string;
|
|
12614
|
-
locked_fields?:
|
|
12934
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
12615
12935
|
metadata?: {
|
|
12616
12936
|
[key: string]: unknown;
|
|
12617
12937
|
};
|
|
@@ -12628,6 +12948,18 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12628
12948
|
object: "provider";
|
|
12629
12949
|
updated_at: string;
|
|
12630
12950
|
} | null;
|
|
12951
|
+
requirements?: {
|
|
12952
|
+
booking: {
|
|
12953
|
+
complete: boolean;
|
|
12954
|
+
};
|
|
12955
|
+
info: {
|
|
12956
|
+
complete: boolean;
|
|
12957
|
+
};
|
|
12958
|
+
submissions: {
|
|
12959
|
+
complete: boolean;
|
|
12960
|
+
form_id: string;
|
|
12961
|
+
}[];
|
|
12962
|
+
} | null;
|
|
12631
12963
|
service?: {
|
|
12632
12964
|
appointment_type: "in_person" | "virtual";
|
|
12633
12965
|
booking_policy: {
|
|
@@ -12715,6 +13047,14 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12715
13047
|
};
|
|
12716
13048
|
}[];
|
|
12717
13049
|
updated_at: string;
|
|
13050
|
+
workflow?: {
|
|
13051
|
+
available_steps: string[];
|
|
13052
|
+
can_change_slot: boolean;
|
|
13053
|
+
can_complete: boolean;
|
|
13054
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
13055
|
+
is_defunct: boolean;
|
|
13056
|
+
resume_step: string;
|
|
13057
|
+
} | null;
|
|
12718
13058
|
};
|
|
12719
13059
|
};
|
|
12720
13060
|
};
|
|
@@ -12798,7 +13138,7 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12798
13138
|
} | null;
|
|
12799
13139
|
client_id?: string | null;
|
|
12800
13140
|
end_at?: string | null;
|
|
12801
|
-
locked_fields?:
|
|
13141
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[] | null;
|
|
12802
13142
|
metadata?: {
|
|
12803
13143
|
[key: string]: unknown;
|
|
12804
13144
|
} | null;
|
|
@@ -13091,7 +13431,7 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
13091
13431
|
}[] | null;
|
|
13092
13432
|
hold_until?: string | null;
|
|
13093
13433
|
id: string;
|
|
13094
|
-
locked_fields?:
|
|
13434
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
13095
13435
|
metadata?: {
|
|
13096
13436
|
[key: string]: unknown;
|
|
13097
13437
|
};
|
|
@@ -13108,6 +13448,18 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
13108
13448
|
object: "provider";
|
|
13109
13449
|
updated_at: string;
|
|
13110
13450
|
} | null;
|
|
13451
|
+
requirements?: {
|
|
13452
|
+
booking: {
|
|
13453
|
+
complete: boolean;
|
|
13454
|
+
};
|
|
13455
|
+
info: {
|
|
13456
|
+
complete: boolean;
|
|
13457
|
+
};
|
|
13458
|
+
submissions: {
|
|
13459
|
+
complete: boolean;
|
|
13460
|
+
form_id: string;
|
|
13461
|
+
}[];
|
|
13462
|
+
} | null;
|
|
13111
13463
|
service?: {
|
|
13112
13464
|
appointment_type: "in_person" | "virtual";
|
|
13113
13465
|
booking_policy: {
|
|
@@ -13195,6 +13547,14 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
13195
13547
|
};
|
|
13196
13548
|
}[];
|
|
13197
13549
|
updated_at: string;
|
|
13550
|
+
workflow?: {
|
|
13551
|
+
available_steps: string[];
|
|
13552
|
+
can_change_slot: boolean;
|
|
13553
|
+
can_complete: boolean;
|
|
13554
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
13555
|
+
is_defunct: boolean;
|
|
13556
|
+
resume_step: string;
|
|
13557
|
+
} | null;
|
|
13198
13558
|
};
|
|
13199
13559
|
};
|
|
13200
13560
|
};
|
|
@@ -14526,8 +14886,20 @@ declare const useUpdatePublicBookingIntent: (options?: Options$C) => _tanstack_r
|
|
|
14526
14886
|
}[] | null;
|
|
14527
14887
|
hold_until?: string | null;
|
|
14528
14888
|
id: string;
|
|
14529
|
-
locked_fields?:
|
|
14889
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
14530
14890
|
object: "public_booking_intent";
|
|
14891
|
+
requirements?: {
|
|
14892
|
+
booking: {
|
|
14893
|
+
complete: boolean;
|
|
14894
|
+
};
|
|
14895
|
+
info: {
|
|
14896
|
+
complete: boolean;
|
|
14897
|
+
};
|
|
14898
|
+
submissions: {
|
|
14899
|
+
complete: boolean;
|
|
14900
|
+
form_id: string;
|
|
14901
|
+
}[];
|
|
14902
|
+
};
|
|
14531
14903
|
start_at?: {
|
|
14532
14904
|
local: string;
|
|
14533
14905
|
object: "zoned_date_time";
|
|
@@ -14536,6 +14908,14 @@ declare const useUpdatePublicBookingIntent: (options?: Options$C) => _tanstack_r
|
|
|
14536
14908
|
utc: string;
|
|
14537
14909
|
} | null;
|
|
14538
14910
|
status: "pending" | "slot_selected" | "completed" | "abandoned";
|
|
14911
|
+
workflow?: {
|
|
14912
|
+
available_steps: string[];
|
|
14913
|
+
can_change_slot: boolean;
|
|
14914
|
+
can_complete: boolean;
|
|
14915
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
14916
|
+
is_defunct: boolean;
|
|
14917
|
+
resume_step: string;
|
|
14918
|
+
};
|
|
14539
14919
|
};
|
|
14540
14920
|
}, {
|
|
14541
14921
|
errors: {
|
|
@@ -14645,8 +15025,20 @@ declare const useUpdatePublicBookingIntent: (options?: Options$C) => _tanstack_r
|
|
|
14645
15025
|
}[] | null;
|
|
14646
15026
|
hold_until?: string | null;
|
|
14647
15027
|
id: string;
|
|
14648
|
-
locked_fields?:
|
|
15028
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
14649
15029
|
object: "public_booking_intent";
|
|
15030
|
+
requirements?: {
|
|
15031
|
+
booking: {
|
|
15032
|
+
complete: boolean;
|
|
15033
|
+
};
|
|
15034
|
+
info: {
|
|
15035
|
+
complete: boolean;
|
|
15036
|
+
};
|
|
15037
|
+
submissions: {
|
|
15038
|
+
complete: boolean;
|
|
15039
|
+
form_id: string;
|
|
15040
|
+
}[];
|
|
15041
|
+
};
|
|
14650
15042
|
start_at?: {
|
|
14651
15043
|
local: string;
|
|
14652
15044
|
object: "zoned_date_time";
|
|
@@ -14655,6 +15047,14 @@ declare const useUpdatePublicBookingIntent: (options?: Options$C) => _tanstack_r
|
|
|
14655
15047
|
utc: string;
|
|
14656
15048
|
} | null;
|
|
14657
15049
|
status: "pending" | "slot_selected" | "completed" | "abandoned";
|
|
15050
|
+
workflow?: {
|
|
15051
|
+
available_steps: string[];
|
|
15052
|
+
can_change_slot: boolean;
|
|
15053
|
+
can_complete: boolean;
|
|
15054
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
15055
|
+
is_defunct: boolean;
|
|
15056
|
+
resume_step: string;
|
|
15057
|
+
};
|
|
14658
15058
|
};
|
|
14659
15059
|
};
|
|
14660
15060
|
};
|
|
@@ -16801,7 +17201,7 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
16801
17201
|
}[] | null;
|
|
16802
17202
|
hold_until?: string | null;
|
|
16803
17203
|
id: string;
|
|
16804
|
-
locked_fields?:
|
|
17204
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
16805
17205
|
metadata?: {
|
|
16806
17206
|
[key: string]: unknown;
|
|
16807
17207
|
};
|
|
@@ -16818,6 +17218,18 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
16818
17218
|
object: "provider";
|
|
16819
17219
|
updated_at: string;
|
|
16820
17220
|
} | null;
|
|
17221
|
+
requirements?: {
|
|
17222
|
+
booking: {
|
|
17223
|
+
complete: boolean;
|
|
17224
|
+
};
|
|
17225
|
+
info: {
|
|
17226
|
+
complete: boolean;
|
|
17227
|
+
};
|
|
17228
|
+
submissions: {
|
|
17229
|
+
complete: boolean;
|
|
17230
|
+
form_id: string;
|
|
17231
|
+
}[];
|
|
17232
|
+
} | null;
|
|
16821
17233
|
service?: {
|
|
16822
17234
|
appointment_type: "in_person" | "virtual";
|
|
16823
17235
|
booking_policy: {
|
|
@@ -16905,6 +17317,14 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
16905
17317
|
};
|
|
16906
17318
|
}[];
|
|
16907
17319
|
updated_at: string;
|
|
17320
|
+
workflow?: {
|
|
17321
|
+
available_steps: string[];
|
|
17322
|
+
can_change_slot: boolean;
|
|
17323
|
+
can_complete: boolean;
|
|
17324
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
17325
|
+
is_defunct: boolean;
|
|
17326
|
+
resume_step: string;
|
|
17327
|
+
} | null;
|
|
16908
17328
|
};
|
|
16909
17329
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
16910
17330
|
200: {
|
|
@@ -17181,7 +17601,7 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
17181
17601
|
}[] | null;
|
|
17182
17602
|
hold_until?: string | null;
|
|
17183
17603
|
id: string;
|
|
17184
|
-
locked_fields?:
|
|
17604
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
17185
17605
|
metadata?: {
|
|
17186
17606
|
[key: string]: unknown;
|
|
17187
17607
|
};
|
|
@@ -17198,6 +17618,18 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
17198
17618
|
object: "provider";
|
|
17199
17619
|
updated_at: string;
|
|
17200
17620
|
} | null;
|
|
17621
|
+
requirements?: {
|
|
17622
|
+
booking: {
|
|
17623
|
+
complete: boolean;
|
|
17624
|
+
};
|
|
17625
|
+
info: {
|
|
17626
|
+
complete: boolean;
|
|
17627
|
+
};
|
|
17628
|
+
submissions: {
|
|
17629
|
+
complete: boolean;
|
|
17630
|
+
form_id: string;
|
|
17631
|
+
}[];
|
|
17632
|
+
} | null;
|
|
17201
17633
|
service?: {
|
|
17202
17634
|
appointment_type: "in_person" | "virtual";
|
|
17203
17635
|
booking_policy: {
|
|
@@ -17285,6 +17717,14 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
17285
17717
|
};
|
|
17286
17718
|
}[];
|
|
17287
17719
|
updated_at: string;
|
|
17720
|
+
workflow?: {
|
|
17721
|
+
available_steps: string[];
|
|
17722
|
+
can_change_slot: boolean;
|
|
17723
|
+
can_complete: boolean;
|
|
17724
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
17725
|
+
is_defunct: boolean;
|
|
17726
|
+
resume_step: string;
|
|
17727
|
+
} | null;
|
|
17288
17728
|
};
|
|
17289
17729
|
};
|
|
17290
17730
|
};
|
|
@@ -17591,7 +18031,7 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
17591
18031
|
}[] | null;
|
|
17592
18032
|
hold_until?: string | null;
|
|
17593
18033
|
id: string;
|
|
17594
|
-
locked_fields?:
|
|
18034
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
17595
18035
|
metadata?: {
|
|
17596
18036
|
[key: string]: unknown;
|
|
17597
18037
|
};
|
|
@@ -17608,6 +18048,18 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
17608
18048
|
object: "provider";
|
|
17609
18049
|
updated_at: string;
|
|
17610
18050
|
} | null;
|
|
18051
|
+
requirements?: {
|
|
18052
|
+
booking: {
|
|
18053
|
+
complete: boolean;
|
|
18054
|
+
};
|
|
18055
|
+
info: {
|
|
18056
|
+
complete: boolean;
|
|
18057
|
+
};
|
|
18058
|
+
submissions: {
|
|
18059
|
+
complete: boolean;
|
|
18060
|
+
form_id: string;
|
|
18061
|
+
}[];
|
|
18062
|
+
} | null;
|
|
17611
18063
|
service?: {
|
|
17612
18064
|
appointment_type: "in_person" | "virtual";
|
|
17613
18065
|
booking_policy: {
|
|
@@ -17695,6 +18147,14 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
17695
18147
|
};
|
|
17696
18148
|
}[];
|
|
17697
18149
|
updated_at: string;
|
|
18150
|
+
workflow?: {
|
|
18151
|
+
available_steps: string[];
|
|
18152
|
+
can_change_slot: boolean;
|
|
18153
|
+
can_complete: boolean;
|
|
18154
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
18155
|
+
is_defunct: boolean;
|
|
18156
|
+
resume_step: string;
|
|
18157
|
+
} | null;
|
|
17698
18158
|
}[];
|
|
17699
18159
|
meta: {
|
|
17700
18160
|
current_page: number;
|
|
@@ -17977,7 +18437,7 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
17977
18437
|
}[] | null;
|
|
17978
18438
|
hold_until?: string | null;
|
|
17979
18439
|
id: string;
|
|
17980
|
-
locked_fields?:
|
|
18440
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
17981
18441
|
metadata?: {
|
|
17982
18442
|
[key: string]: unknown;
|
|
17983
18443
|
};
|
|
@@ -17994,6 +18454,18 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
17994
18454
|
object: "provider";
|
|
17995
18455
|
updated_at: string;
|
|
17996
18456
|
} | null;
|
|
18457
|
+
requirements?: {
|
|
18458
|
+
booking: {
|
|
18459
|
+
complete: boolean;
|
|
18460
|
+
};
|
|
18461
|
+
info: {
|
|
18462
|
+
complete: boolean;
|
|
18463
|
+
};
|
|
18464
|
+
submissions: {
|
|
18465
|
+
complete: boolean;
|
|
18466
|
+
form_id: string;
|
|
18467
|
+
}[];
|
|
18468
|
+
} | null;
|
|
17997
18469
|
service?: {
|
|
17998
18470
|
appointment_type: "in_person" | "virtual";
|
|
17999
18471
|
booking_policy: {
|
|
@@ -18081,6 +18553,14 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
18081
18553
|
};
|
|
18082
18554
|
}[];
|
|
18083
18555
|
updated_at: string;
|
|
18556
|
+
workflow?: {
|
|
18557
|
+
available_steps: string[];
|
|
18558
|
+
can_change_slot: boolean;
|
|
18559
|
+
can_complete: boolean;
|
|
18560
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
18561
|
+
is_defunct: boolean;
|
|
18562
|
+
resume_step: string;
|
|
18563
|
+
} | null;
|
|
18084
18564
|
}[];
|
|
18085
18565
|
meta: {
|
|
18086
18566
|
current_page: number;
|
|
@@ -19611,8 +20091,20 @@ declare const usePublicBookingIntent: (booking_intent_id: PublicBookingIntentPar
|
|
|
19611
20091
|
}[] | null;
|
|
19612
20092
|
hold_until?: string | null;
|
|
19613
20093
|
id: string;
|
|
19614
|
-
locked_fields?:
|
|
20094
|
+
locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
|
|
19615
20095
|
object: "public_booking_intent";
|
|
20096
|
+
requirements?: {
|
|
20097
|
+
booking: {
|
|
20098
|
+
complete: boolean;
|
|
20099
|
+
};
|
|
20100
|
+
info: {
|
|
20101
|
+
complete: boolean;
|
|
20102
|
+
};
|
|
20103
|
+
submissions: {
|
|
20104
|
+
complete: boolean;
|
|
20105
|
+
form_id: string;
|
|
20106
|
+
}[];
|
|
20107
|
+
};
|
|
19616
20108
|
start_at?: {
|
|
19617
20109
|
local: string;
|
|
19618
20110
|
object: "zoned_date_time";
|
|
@@ -19621,6 +20113,14 @@ declare const usePublicBookingIntent: (booking_intent_id: PublicBookingIntentPar
|
|
|
19621
20113
|
utc: string;
|
|
19622
20114
|
} | null;
|
|
19623
20115
|
status: "pending" | "slot_selected" | "completed" | "abandoned";
|
|
20116
|
+
workflow?: {
|
|
20117
|
+
available_steps: string[];
|
|
20118
|
+
can_change_slot: boolean;
|
|
20119
|
+
can_complete: boolean;
|
|
20120
|
+
defunct_reason?: "abandoned" | "no_available_steps" | "status_invalid" | null;
|
|
20121
|
+
is_defunct: boolean;
|
|
20122
|
+
resume_step: string;
|
|
20123
|
+
};
|
|
19624
20124
|
};
|
|
19625
20125
|
}, {
|
|
19626
20126
|
errors: {
|