@savvycal/appointments-react-query 1.1.1 → 1.2.1
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 +635 -63
- package/dist/index.d.ts +635 -63
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -270,6 +270,12 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
270
270
|
reschedule: string[];
|
|
271
271
|
};
|
|
272
272
|
} | null;
|
|
273
|
+
booking_policy: {
|
|
274
|
+
hold: {
|
|
275
|
+
duration: string | null;
|
|
276
|
+
enabled: boolean;
|
|
277
|
+
};
|
|
278
|
+
};
|
|
273
279
|
client?: {
|
|
274
280
|
created_at: string;
|
|
275
281
|
email?: string | null;
|
|
@@ -315,11 +321,9 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
315
321
|
};
|
|
316
322
|
title: string;
|
|
317
323
|
}[] | null;
|
|
318
|
-
hold_duration?: string | null;
|
|
319
|
-
hold_enabled: boolean;
|
|
320
324
|
hold_until?: string | null;
|
|
321
325
|
id: string;
|
|
322
|
-
locked_fields?:
|
|
326
|
+
locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
|
|
323
327
|
metadata?: {
|
|
324
328
|
[key: string]: unknown;
|
|
325
329
|
};
|
|
@@ -336,6 +340,18 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
336
340
|
object: "provider";
|
|
337
341
|
updated_at: string;
|
|
338
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;
|
|
339
355
|
service?: {
|
|
340
356
|
appointment_type: "in_person" | "virtual";
|
|
341
357
|
booking_policy: {
|
|
@@ -423,6 +439,14 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
423
439
|
};
|
|
424
440
|
}[];
|
|
425
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;
|
|
426
450
|
};
|
|
427
451
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
428
452
|
200: {
|
|
@@ -646,6 +670,12 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
646
670
|
reschedule: string[];
|
|
647
671
|
};
|
|
648
672
|
} | null;
|
|
673
|
+
booking_policy: {
|
|
674
|
+
hold: {
|
|
675
|
+
duration: string | null;
|
|
676
|
+
enabled: boolean;
|
|
677
|
+
};
|
|
678
|
+
};
|
|
649
679
|
client?: {
|
|
650
680
|
created_at: string;
|
|
651
681
|
email?: string | null;
|
|
@@ -691,11 +721,9 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
691
721
|
};
|
|
692
722
|
title: string;
|
|
693
723
|
}[] | null;
|
|
694
|
-
hold_duration?: string | null;
|
|
695
|
-
hold_enabled: boolean;
|
|
696
724
|
hold_until?: string | null;
|
|
697
725
|
id: string;
|
|
698
|
-
locked_fields?:
|
|
726
|
+
locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
|
|
699
727
|
metadata?: {
|
|
700
728
|
[key: string]: unknown;
|
|
701
729
|
};
|
|
@@ -712,6 +740,18 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
712
740
|
object: "provider";
|
|
713
741
|
updated_at: string;
|
|
714
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;
|
|
715
755
|
service?: {
|
|
716
756
|
appointment_type: "in_person" | "virtual";
|
|
717
757
|
booking_policy: {
|
|
@@ -799,6 +839,14 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
799
839
|
};
|
|
800
840
|
}[];
|
|
801
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;
|
|
802
850
|
};
|
|
803
851
|
};
|
|
804
852
|
};
|
|
@@ -1081,6 +1129,12 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
1081
1129
|
reschedule: string[];
|
|
1082
1130
|
};
|
|
1083
1131
|
} | null;
|
|
1132
|
+
booking_policy: {
|
|
1133
|
+
hold: {
|
|
1134
|
+
duration: string | null;
|
|
1135
|
+
enabled: boolean;
|
|
1136
|
+
};
|
|
1137
|
+
};
|
|
1084
1138
|
client?: {
|
|
1085
1139
|
created_at: string;
|
|
1086
1140
|
email?: string | null;
|
|
@@ -1126,11 +1180,9 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
1126
1180
|
};
|
|
1127
1181
|
title: string;
|
|
1128
1182
|
}[] | null;
|
|
1129
|
-
hold_duration?: string | null;
|
|
1130
|
-
hold_enabled: boolean;
|
|
1131
1183
|
hold_until?: string | null;
|
|
1132
1184
|
id: string;
|
|
1133
|
-
locked_fields?:
|
|
1185
|
+
locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
|
|
1134
1186
|
metadata?: {
|
|
1135
1187
|
[key: string]: unknown;
|
|
1136
1188
|
};
|
|
@@ -1147,6 +1199,18 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
1147
1199
|
object: "provider";
|
|
1148
1200
|
updated_at: string;
|
|
1149
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;
|
|
1150
1214
|
service?: {
|
|
1151
1215
|
appointment_type: "in_person" | "virtual";
|
|
1152
1216
|
booking_policy: {
|
|
@@ -1234,6 +1298,14 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
1234
1298
|
};
|
|
1235
1299
|
}[];
|
|
1236
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;
|
|
1237
1309
|
};
|
|
1238
1310
|
};
|
|
1239
1311
|
};
|
|
@@ -1342,8 +1414,20 @@ declare const useAbandonPublicBookingIntent: (options?: Options$1m) => _tanstack
|
|
|
1342
1414
|
}[] | null;
|
|
1343
1415
|
hold_until?: string | null;
|
|
1344
1416
|
id: string;
|
|
1345
|
-
locked_fields?:
|
|
1417
|
+
locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
|
|
1346
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
|
+
};
|
|
1347
1431
|
start_at?: {
|
|
1348
1432
|
local: string;
|
|
1349
1433
|
object: "zoned_date_time";
|
|
@@ -1352,6 +1436,14 @@ declare const useAbandonPublicBookingIntent: (options?: Options$1m) => _tanstack
|
|
|
1352
1436
|
utc: string;
|
|
1353
1437
|
} | null;
|
|
1354
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
|
+
};
|
|
1355
1447
|
};
|
|
1356
1448
|
}, {
|
|
1357
1449
|
errors: {
|
|
@@ -1432,8 +1524,20 @@ declare const useAbandonPublicBookingIntent: (options?: Options$1m) => _tanstack
|
|
|
1432
1524
|
}[] | null;
|
|
1433
1525
|
hold_until?: string | null;
|
|
1434
1526
|
id: string;
|
|
1435
|
-
locked_fields?:
|
|
1527
|
+
locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
|
|
1436
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
|
+
};
|
|
1437
1541
|
start_at?: {
|
|
1438
1542
|
local: string;
|
|
1439
1543
|
object: "zoned_date_time";
|
|
@@ -1442,6 +1546,14 @@ declare const useAbandonPublicBookingIntent: (options?: Options$1m) => _tanstack
|
|
|
1442
1546
|
utc: string;
|
|
1443
1547
|
} | null;
|
|
1444
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
|
+
};
|
|
1445
1557
|
};
|
|
1446
1558
|
};
|
|
1447
1559
|
};
|
|
@@ -2774,6 +2886,12 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
2774
2886
|
reschedule: string[];
|
|
2775
2887
|
};
|
|
2776
2888
|
} | null;
|
|
2889
|
+
booking_policy: {
|
|
2890
|
+
hold: {
|
|
2891
|
+
duration: string | null;
|
|
2892
|
+
enabled: boolean;
|
|
2893
|
+
};
|
|
2894
|
+
};
|
|
2777
2895
|
client?: {
|
|
2778
2896
|
created_at: string;
|
|
2779
2897
|
email?: string | null;
|
|
@@ -2819,11 +2937,9 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
2819
2937
|
};
|
|
2820
2938
|
title: string;
|
|
2821
2939
|
}[] | null;
|
|
2822
|
-
hold_duration?: string | null;
|
|
2823
|
-
hold_enabled: boolean;
|
|
2824
2940
|
hold_until?: string | null;
|
|
2825
2941
|
id: string;
|
|
2826
|
-
locked_fields?:
|
|
2942
|
+
locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
|
|
2827
2943
|
metadata?: {
|
|
2828
2944
|
[key: string]: unknown;
|
|
2829
2945
|
};
|
|
@@ -2840,6 +2956,18 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
2840
2956
|
object: "provider";
|
|
2841
2957
|
updated_at: string;
|
|
2842
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;
|
|
2843
2971
|
service?: {
|
|
2844
2972
|
appointment_type: "in_person" | "virtual";
|
|
2845
2973
|
booking_policy: {
|
|
@@ -2927,6 +3055,14 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
2927
3055
|
};
|
|
2928
3056
|
}[];
|
|
2929
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;
|
|
2930
3066
|
};
|
|
2931
3067
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
2932
3068
|
200: {
|
|
@@ -3150,6 +3286,12 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3150
3286
|
reschedule: string[];
|
|
3151
3287
|
};
|
|
3152
3288
|
} | null;
|
|
3289
|
+
booking_policy: {
|
|
3290
|
+
hold: {
|
|
3291
|
+
duration: string | null;
|
|
3292
|
+
enabled: boolean;
|
|
3293
|
+
};
|
|
3294
|
+
};
|
|
3153
3295
|
client?: {
|
|
3154
3296
|
created_at: string;
|
|
3155
3297
|
email?: string | null;
|
|
@@ -3195,11 +3337,9 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3195
3337
|
};
|
|
3196
3338
|
title: string;
|
|
3197
3339
|
}[] | null;
|
|
3198
|
-
hold_duration?: string | null;
|
|
3199
|
-
hold_enabled: boolean;
|
|
3200
3340
|
hold_until?: string | null;
|
|
3201
3341
|
id: string;
|
|
3202
|
-
locked_fields?:
|
|
3342
|
+
locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
|
|
3203
3343
|
metadata?: {
|
|
3204
3344
|
[key: string]: unknown;
|
|
3205
3345
|
};
|
|
@@ -3216,6 +3356,18 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3216
3356
|
object: "provider";
|
|
3217
3357
|
updated_at: string;
|
|
3218
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;
|
|
3219
3371
|
service?: {
|
|
3220
3372
|
appointment_type: "in_person" | "virtual";
|
|
3221
3373
|
booking_policy: {
|
|
@@ -3303,6 +3455,14 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3303
3455
|
};
|
|
3304
3456
|
}[];
|
|
3305
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;
|
|
3306
3466
|
};
|
|
3307
3467
|
};
|
|
3308
3468
|
};
|
|
@@ -3618,6 +3778,12 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3618
3778
|
reschedule: string[];
|
|
3619
3779
|
};
|
|
3620
3780
|
} | null;
|
|
3781
|
+
booking_policy: {
|
|
3782
|
+
hold: {
|
|
3783
|
+
duration: string | null;
|
|
3784
|
+
enabled: boolean;
|
|
3785
|
+
};
|
|
3786
|
+
};
|
|
3621
3787
|
client?: {
|
|
3622
3788
|
created_at: string;
|
|
3623
3789
|
email?: string | null;
|
|
@@ -3663,11 +3829,9 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3663
3829
|
};
|
|
3664
3830
|
title: string;
|
|
3665
3831
|
}[] | null;
|
|
3666
|
-
hold_duration?: string | null;
|
|
3667
|
-
hold_enabled: boolean;
|
|
3668
3832
|
hold_until?: string | null;
|
|
3669
3833
|
id: string;
|
|
3670
|
-
locked_fields?:
|
|
3834
|
+
locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
|
|
3671
3835
|
metadata?: {
|
|
3672
3836
|
[key: string]: unknown;
|
|
3673
3837
|
};
|
|
@@ -3684,6 +3848,18 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3684
3848
|
object: "provider";
|
|
3685
3849
|
updated_at: string;
|
|
3686
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;
|
|
3687
3863
|
service?: {
|
|
3688
3864
|
appointment_type: "in_person" | "virtual";
|
|
3689
3865
|
booking_policy: {
|
|
@@ -3771,6 +3947,14 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3771
3947
|
};
|
|
3772
3948
|
}[];
|
|
3773
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;
|
|
3774
3958
|
};
|
|
3775
3959
|
};
|
|
3776
3960
|
};
|
|
@@ -3879,8 +4063,20 @@ declare const useCompletePublicBookingIntent: (options?: Options$1h) => _tanstac
|
|
|
3879
4063
|
}[] | null;
|
|
3880
4064
|
hold_until?: string | null;
|
|
3881
4065
|
id: string;
|
|
3882
|
-
locked_fields?:
|
|
4066
|
+
locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
|
|
3883
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
|
+
};
|
|
3884
4080
|
start_at?: {
|
|
3885
4081
|
local: string;
|
|
3886
4082
|
object: "zoned_date_time";
|
|
@@ -3889,6 +4085,14 @@ declare const useCompletePublicBookingIntent: (options?: Options$1h) => _tanstac
|
|
|
3889
4085
|
utc: string;
|
|
3890
4086
|
} | null;
|
|
3891
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
|
+
};
|
|
3892
4096
|
};
|
|
3893
4097
|
}, {
|
|
3894
4098
|
errors: {
|
|
@@ -3998,8 +4202,20 @@ declare const useCompletePublicBookingIntent: (options?: Options$1h) => _tanstac
|
|
|
3998
4202
|
}[] | null;
|
|
3999
4203
|
hold_until?: string | null;
|
|
4000
4204
|
id: string;
|
|
4001
|
-
locked_fields?:
|
|
4205
|
+
locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
|
|
4002
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
|
+
};
|
|
4003
4219
|
start_at?: {
|
|
4004
4220
|
local: string;
|
|
4005
4221
|
object: "zoned_date_time";
|
|
@@ -4008,6 +4224,14 @@ declare const useCompletePublicBookingIntent: (options?: Options$1h) => _tanstac
|
|
|
4008
4224
|
utc: string;
|
|
4009
4225
|
} | null;
|
|
4010
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
|
+
};
|
|
4011
4235
|
};
|
|
4012
4236
|
};
|
|
4013
4237
|
};
|
|
@@ -6289,6 +6513,12 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6289
6513
|
reschedule: string[];
|
|
6290
6514
|
};
|
|
6291
6515
|
} | null;
|
|
6516
|
+
booking_policy: {
|
|
6517
|
+
hold: {
|
|
6518
|
+
duration: string | null;
|
|
6519
|
+
enabled: boolean;
|
|
6520
|
+
};
|
|
6521
|
+
};
|
|
6292
6522
|
client?: {
|
|
6293
6523
|
created_at: string;
|
|
6294
6524
|
email?: string | null;
|
|
@@ -6334,11 +6564,9 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6334
6564
|
};
|
|
6335
6565
|
title: string;
|
|
6336
6566
|
}[] | null;
|
|
6337
|
-
hold_duration?: string | null;
|
|
6338
|
-
hold_enabled: boolean;
|
|
6339
6567
|
hold_until?: string | null;
|
|
6340
6568
|
id: string;
|
|
6341
|
-
locked_fields?:
|
|
6569
|
+
locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
|
|
6342
6570
|
metadata?: {
|
|
6343
6571
|
[key: string]: unknown;
|
|
6344
6572
|
};
|
|
@@ -6355,6 +6583,18 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6355
6583
|
object: "provider";
|
|
6356
6584
|
updated_at: string;
|
|
6357
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;
|
|
6358
6598
|
service?: {
|
|
6359
6599
|
appointment_type: "in_person" | "virtual";
|
|
6360
6600
|
booking_policy: {
|
|
@@ -6442,6 +6682,14 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6442
6682
|
};
|
|
6443
6683
|
}[];
|
|
6444
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;
|
|
6445
6693
|
};
|
|
6446
6694
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
6447
6695
|
201: {
|
|
@@ -6665,6 +6913,12 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6665
6913
|
reschedule: string[];
|
|
6666
6914
|
};
|
|
6667
6915
|
} | null;
|
|
6916
|
+
booking_policy: {
|
|
6917
|
+
hold: {
|
|
6918
|
+
duration: string | null;
|
|
6919
|
+
enabled: boolean;
|
|
6920
|
+
};
|
|
6921
|
+
};
|
|
6668
6922
|
client?: {
|
|
6669
6923
|
created_at: string;
|
|
6670
6924
|
email?: string | null;
|
|
@@ -6710,11 +6964,9 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6710
6964
|
};
|
|
6711
6965
|
title: string;
|
|
6712
6966
|
}[] | null;
|
|
6713
|
-
hold_duration?: string | null;
|
|
6714
|
-
hold_enabled: boolean;
|
|
6715
6967
|
hold_until?: string | null;
|
|
6716
6968
|
id: string;
|
|
6717
|
-
locked_fields?:
|
|
6969
|
+
locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
|
|
6718
6970
|
metadata?: {
|
|
6719
6971
|
[key: string]: unknown;
|
|
6720
6972
|
};
|
|
@@ -6731,6 +6983,18 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6731
6983
|
object: "provider";
|
|
6732
6984
|
updated_at: string;
|
|
6733
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;
|
|
6734
6998
|
service?: {
|
|
6735
6999
|
appointment_type: "in_person" | "virtual";
|
|
6736
7000
|
booking_policy: {
|
|
@@ -6818,6 +7082,14 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6818
7082
|
};
|
|
6819
7083
|
}[];
|
|
6820
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;
|
|
6821
7093
|
};
|
|
6822
7094
|
};
|
|
6823
7095
|
};
|
|
@@ -6879,6 +7151,12 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6879
7151
|
content: {
|
|
6880
7152
|
"application/json": {
|
|
6881
7153
|
auto_assign_provider?: boolean | null;
|
|
7154
|
+
booking_policy?: {
|
|
7155
|
+
hold?: {
|
|
7156
|
+
duration?: string | null;
|
|
7157
|
+
enabled?: boolean;
|
|
7158
|
+
} | null;
|
|
7159
|
+
} | null;
|
|
6882
7160
|
client_data?: {
|
|
6883
7161
|
email?: string | null;
|
|
6884
7162
|
fields?: {
|
|
@@ -6893,9 +7171,7 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6893
7171
|
} | null;
|
|
6894
7172
|
client_id?: string | null;
|
|
6895
7173
|
end_at?: string | null;
|
|
6896
|
-
|
|
6897
|
-
hold_enabled?: boolean | null;
|
|
6898
|
-
locked_fields?: string[] | null;
|
|
7174
|
+
locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[] | null;
|
|
6899
7175
|
metadata?: {
|
|
6900
7176
|
[key: string]: unknown;
|
|
6901
7177
|
} | null;
|
|
@@ -7135,6 +7411,12 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
7135
7411
|
reschedule: string[];
|
|
7136
7412
|
};
|
|
7137
7413
|
} | null;
|
|
7414
|
+
booking_policy: {
|
|
7415
|
+
hold: {
|
|
7416
|
+
duration: string | null;
|
|
7417
|
+
enabled: boolean;
|
|
7418
|
+
};
|
|
7419
|
+
};
|
|
7138
7420
|
client?: {
|
|
7139
7421
|
created_at: string;
|
|
7140
7422
|
email?: string | null;
|
|
@@ -7180,11 +7462,9 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
7180
7462
|
};
|
|
7181
7463
|
title: string;
|
|
7182
7464
|
}[] | null;
|
|
7183
|
-
hold_duration?: string | null;
|
|
7184
|
-
hold_enabled: boolean;
|
|
7185
7465
|
hold_until?: string | null;
|
|
7186
7466
|
id: string;
|
|
7187
|
-
locked_fields?:
|
|
7467
|
+
locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
|
|
7188
7468
|
metadata?: {
|
|
7189
7469
|
[key: string]: unknown;
|
|
7190
7470
|
};
|
|
@@ -7201,6 +7481,18 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
7201
7481
|
object: "provider";
|
|
7202
7482
|
updated_at: string;
|
|
7203
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;
|
|
7204
7496
|
service?: {
|
|
7205
7497
|
appointment_type: "in_person" | "virtual";
|
|
7206
7498
|
booking_policy: {
|
|
@@ -7288,6 +7580,14 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
7288
7580
|
};
|
|
7289
7581
|
}[];
|
|
7290
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;
|
|
7291
7591
|
};
|
|
7292
7592
|
};
|
|
7293
7593
|
};
|
|
@@ -8581,8 +8881,20 @@ declare const useCreatePublicBookingIntent: (options?: Options$12) => _tanstack_
|
|
|
8581
8881
|
}[] | null;
|
|
8582
8882
|
hold_until?: string | null;
|
|
8583
8883
|
id: string;
|
|
8584
|
-
locked_fields?:
|
|
8884
|
+
locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
|
|
8585
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
|
+
};
|
|
8586
8898
|
start_at?: {
|
|
8587
8899
|
local: string;
|
|
8588
8900
|
object: "zoned_date_time";
|
|
@@ -8591,6 +8903,14 @@ declare const useCreatePublicBookingIntent: (options?: Options$12) => _tanstack_
|
|
|
8591
8903
|
utc: string;
|
|
8592
8904
|
} | null;
|
|
8593
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
|
+
};
|
|
8594
8914
|
};
|
|
8595
8915
|
}, {
|
|
8596
8916
|
errors: {
|
|
@@ -8699,8 +9019,20 @@ declare const useCreatePublicBookingIntent: (options?: Options$12) => _tanstack_
|
|
|
8699
9019
|
}[] | null;
|
|
8700
9020
|
hold_until?: string | null;
|
|
8701
9021
|
id: string;
|
|
8702
|
-
locked_fields?:
|
|
9022
|
+
locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
|
|
8703
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
|
+
};
|
|
8704
9036
|
start_at?: {
|
|
8705
9037
|
local: string;
|
|
8706
9038
|
object: "zoned_date_time";
|
|
@@ -8709,6 +9041,14 @@ declare const useCreatePublicBookingIntent: (options?: Options$12) => _tanstack_
|
|
|
8709
9041
|
utc: string;
|
|
8710
9042
|
} | null;
|
|
8711
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
|
+
};
|
|
8712
9052
|
};
|
|
8713
9053
|
};
|
|
8714
9054
|
};
|
|
@@ -12138,6 +12478,12 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12138
12478
|
reschedule: string[];
|
|
12139
12479
|
};
|
|
12140
12480
|
} | null;
|
|
12481
|
+
booking_policy: {
|
|
12482
|
+
hold: {
|
|
12483
|
+
duration: string | null;
|
|
12484
|
+
enabled: boolean;
|
|
12485
|
+
};
|
|
12486
|
+
};
|
|
12141
12487
|
client?: {
|
|
12142
12488
|
created_at: string;
|
|
12143
12489
|
email?: string | null;
|
|
@@ -12183,11 +12529,9 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12183
12529
|
};
|
|
12184
12530
|
title: string;
|
|
12185
12531
|
}[] | null;
|
|
12186
|
-
hold_duration?: string | null;
|
|
12187
|
-
hold_enabled: boolean;
|
|
12188
12532
|
hold_until?: string | null;
|
|
12189
12533
|
id: string;
|
|
12190
|
-
locked_fields?:
|
|
12534
|
+
locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
|
|
12191
12535
|
metadata?: {
|
|
12192
12536
|
[key: string]: unknown;
|
|
12193
12537
|
};
|
|
@@ -12204,6 +12548,18 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12204
12548
|
object: "provider";
|
|
12205
12549
|
updated_at: string;
|
|
12206
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;
|
|
12207
12563
|
service?: {
|
|
12208
12564
|
appointment_type: "in_person" | "virtual";
|
|
12209
12565
|
booking_policy: {
|
|
@@ -12291,6 +12647,14 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12291
12647
|
};
|
|
12292
12648
|
}[];
|
|
12293
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;
|
|
12294
12658
|
};
|
|
12295
12659
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
12296
12660
|
200: {
|
|
@@ -12514,6 +12878,12 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12514
12878
|
reschedule: string[];
|
|
12515
12879
|
};
|
|
12516
12880
|
} | null;
|
|
12881
|
+
booking_policy: {
|
|
12882
|
+
hold: {
|
|
12883
|
+
duration: string | null;
|
|
12884
|
+
enabled: boolean;
|
|
12885
|
+
};
|
|
12886
|
+
};
|
|
12517
12887
|
client?: {
|
|
12518
12888
|
created_at: string;
|
|
12519
12889
|
email?: string | null;
|
|
@@ -12559,11 +12929,9 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12559
12929
|
};
|
|
12560
12930
|
title: string;
|
|
12561
12931
|
}[] | null;
|
|
12562
|
-
hold_duration?: string | null;
|
|
12563
|
-
hold_enabled: boolean;
|
|
12564
12932
|
hold_until?: string | null;
|
|
12565
12933
|
id: string;
|
|
12566
|
-
locked_fields?:
|
|
12934
|
+
locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
|
|
12567
12935
|
metadata?: {
|
|
12568
12936
|
[key: string]: unknown;
|
|
12569
12937
|
};
|
|
@@ -12580,6 +12948,18 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12580
12948
|
object: "provider";
|
|
12581
12949
|
updated_at: string;
|
|
12582
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;
|
|
12583
12963
|
service?: {
|
|
12584
12964
|
appointment_type: "in_person" | "virtual";
|
|
12585
12965
|
booking_policy: {
|
|
@@ -12667,6 +13047,14 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12667
13047
|
};
|
|
12668
13048
|
}[];
|
|
12669
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;
|
|
12670
13058
|
};
|
|
12671
13059
|
};
|
|
12672
13060
|
};
|
|
@@ -12730,6 +13118,12 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12730
13118
|
content: {
|
|
12731
13119
|
"application/json": {
|
|
12732
13120
|
auto_assign_provider?: boolean | null;
|
|
13121
|
+
booking_policy?: {
|
|
13122
|
+
hold?: {
|
|
13123
|
+
duration?: string | null;
|
|
13124
|
+
enabled?: boolean;
|
|
13125
|
+
} | null;
|
|
13126
|
+
} | null;
|
|
12733
13127
|
client_data?: {
|
|
12734
13128
|
email?: string | null;
|
|
12735
13129
|
fields?: {
|
|
@@ -12744,9 +13138,7 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12744
13138
|
} | null;
|
|
12745
13139
|
client_id?: string | null;
|
|
12746
13140
|
end_at?: string | null;
|
|
12747
|
-
|
|
12748
|
-
hold_enabled?: boolean | null;
|
|
12749
|
-
locked_fields?: string[] | null;
|
|
13141
|
+
locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[] | null;
|
|
12750
13142
|
metadata?: {
|
|
12751
13143
|
[key: string]: unknown;
|
|
12752
13144
|
} | null;
|
|
@@ -12986,6 +13378,12 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12986
13378
|
reschedule: string[];
|
|
12987
13379
|
};
|
|
12988
13380
|
} | null;
|
|
13381
|
+
booking_policy: {
|
|
13382
|
+
hold: {
|
|
13383
|
+
duration: string | null;
|
|
13384
|
+
enabled: boolean;
|
|
13385
|
+
};
|
|
13386
|
+
};
|
|
12989
13387
|
client?: {
|
|
12990
13388
|
created_at: string;
|
|
12991
13389
|
email?: string | null;
|
|
@@ -13031,11 +13429,9 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
13031
13429
|
};
|
|
13032
13430
|
title: string;
|
|
13033
13431
|
}[] | null;
|
|
13034
|
-
hold_duration?: string | null;
|
|
13035
|
-
hold_enabled: boolean;
|
|
13036
13432
|
hold_until?: string | null;
|
|
13037
13433
|
id: string;
|
|
13038
|
-
locked_fields?:
|
|
13434
|
+
locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
|
|
13039
13435
|
metadata?: {
|
|
13040
13436
|
[key: string]: unknown;
|
|
13041
13437
|
};
|
|
@@ -13052,6 +13448,18 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
13052
13448
|
object: "provider";
|
|
13053
13449
|
updated_at: string;
|
|
13054
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;
|
|
13055
13463
|
service?: {
|
|
13056
13464
|
appointment_type: "in_person" | "virtual";
|
|
13057
13465
|
booking_policy: {
|
|
@@ -13139,6 +13547,14 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
13139
13547
|
};
|
|
13140
13548
|
}[];
|
|
13141
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;
|
|
13142
13558
|
};
|
|
13143
13559
|
};
|
|
13144
13560
|
};
|
|
@@ -14470,8 +14886,20 @@ declare const useUpdatePublicBookingIntent: (options?: Options$C) => _tanstack_r
|
|
|
14470
14886
|
}[] | null;
|
|
14471
14887
|
hold_until?: string | null;
|
|
14472
14888
|
id: string;
|
|
14473
|
-
locked_fields?:
|
|
14889
|
+
locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
|
|
14474
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
|
+
};
|
|
14475
14903
|
start_at?: {
|
|
14476
14904
|
local: string;
|
|
14477
14905
|
object: "zoned_date_time";
|
|
@@ -14480,6 +14908,14 @@ declare const useUpdatePublicBookingIntent: (options?: Options$C) => _tanstack_r
|
|
|
14480
14908
|
utc: string;
|
|
14481
14909
|
} | null;
|
|
14482
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
|
+
};
|
|
14483
14919
|
};
|
|
14484
14920
|
}, {
|
|
14485
14921
|
errors: {
|
|
@@ -14589,8 +15025,20 @@ declare const useUpdatePublicBookingIntent: (options?: Options$C) => _tanstack_r
|
|
|
14589
15025
|
}[] | null;
|
|
14590
15026
|
hold_until?: string | null;
|
|
14591
15027
|
id: string;
|
|
14592
|
-
locked_fields?:
|
|
15028
|
+
locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
|
|
14593
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
|
+
};
|
|
14594
15042
|
start_at?: {
|
|
14595
15043
|
local: string;
|
|
14596
15044
|
object: "zoned_date_time";
|
|
@@ -14599,6 +15047,14 @@ declare const useUpdatePublicBookingIntent: (options?: Options$C) => _tanstack_r
|
|
|
14599
15047
|
utc: string;
|
|
14600
15048
|
} | null;
|
|
14601
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
|
+
};
|
|
14602
15058
|
};
|
|
14603
15059
|
};
|
|
14604
15060
|
};
|
|
@@ -16692,6 +17148,12 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
16692
17148
|
reschedule: string[];
|
|
16693
17149
|
};
|
|
16694
17150
|
} | null;
|
|
17151
|
+
booking_policy: {
|
|
17152
|
+
hold: {
|
|
17153
|
+
duration: string | null;
|
|
17154
|
+
enabled: boolean;
|
|
17155
|
+
};
|
|
17156
|
+
};
|
|
16695
17157
|
client?: {
|
|
16696
17158
|
created_at: string;
|
|
16697
17159
|
email?: string | null;
|
|
@@ -16737,11 +17199,9 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
16737
17199
|
};
|
|
16738
17200
|
title: string;
|
|
16739
17201
|
}[] | null;
|
|
16740
|
-
hold_duration?: string | null;
|
|
16741
|
-
hold_enabled: boolean;
|
|
16742
17202
|
hold_until?: string | null;
|
|
16743
17203
|
id: string;
|
|
16744
|
-
locked_fields?:
|
|
17204
|
+
locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
|
|
16745
17205
|
metadata?: {
|
|
16746
17206
|
[key: string]: unknown;
|
|
16747
17207
|
};
|
|
@@ -16758,6 +17218,18 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
16758
17218
|
object: "provider";
|
|
16759
17219
|
updated_at: string;
|
|
16760
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;
|
|
16761
17233
|
service?: {
|
|
16762
17234
|
appointment_type: "in_person" | "virtual";
|
|
16763
17235
|
booking_policy: {
|
|
@@ -16845,6 +17317,14 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
16845
17317
|
};
|
|
16846
17318
|
}[];
|
|
16847
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;
|
|
16848
17328
|
};
|
|
16849
17329
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
16850
17330
|
200: {
|
|
@@ -17068,6 +17548,12 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
17068
17548
|
reschedule: string[];
|
|
17069
17549
|
};
|
|
17070
17550
|
} | null;
|
|
17551
|
+
booking_policy: {
|
|
17552
|
+
hold: {
|
|
17553
|
+
duration: string | null;
|
|
17554
|
+
enabled: boolean;
|
|
17555
|
+
};
|
|
17556
|
+
};
|
|
17071
17557
|
client?: {
|
|
17072
17558
|
created_at: string;
|
|
17073
17559
|
email?: string | null;
|
|
@@ -17113,11 +17599,9 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
17113
17599
|
};
|
|
17114
17600
|
title: string;
|
|
17115
17601
|
}[] | null;
|
|
17116
|
-
hold_duration?: string | null;
|
|
17117
|
-
hold_enabled: boolean;
|
|
17118
17602
|
hold_until?: string | null;
|
|
17119
17603
|
id: string;
|
|
17120
|
-
locked_fields?:
|
|
17604
|
+
locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
|
|
17121
17605
|
metadata?: {
|
|
17122
17606
|
[key: string]: unknown;
|
|
17123
17607
|
};
|
|
@@ -17134,6 +17618,18 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
17134
17618
|
object: "provider";
|
|
17135
17619
|
updated_at: string;
|
|
17136
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;
|
|
17137
17633
|
service?: {
|
|
17138
17634
|
appointment_type: "in_person" | "virtual";
|
|
17139
17635
|
booking_policy: {
|
|
@@ -17221,6 +17717,14 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
17221
17717
|
};
|
|
17222
17718
|
}[];
|
|
17223
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;
|
|
17224
17728
|
};
|
|
17225
17729
|
};
|
|
17226
17730
|
};
|
|
@@ -17474,6 +17978,12 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
17474
17978
|
reschedule: string[];
|
|
17475
17979
|
};
|
|
17476
17980
|
} | null;
|
|
17981
|
+
booking_policy: {
|
|
17982
|
+
hold: {
|
|
17983
|
+
duration: string | null;
|
|
17984
|
+
enabled: boolean;
|
|
17985
|
+
};
|
|
17986
|
+
};
|
|
17477
17987
|
client?: {
|
|
17478
17988
|
created_at: string;
|
|
17479
17989
|
email?: string | null;
|
|
@@ -17519,11 +18029,9 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
17519
18029
|
};
|
|
17520
18030
|
title: string;
|
|
17521
18031
|
}[] | null;
|
|
17522
|
-
hold_duration?: string | null;
|
|
17523
|
-
hold_enabled: boolean;
|
|
17524
18032
|
hold_until?: string | null;
|
|
17525
18033
|
id: string;
|
|
17526
|
-
locked_fields?:
|
|
18034
|
+
locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
|
|
17527
18035
|
metadata?: {
|
|
17528
18036
|
[key: string]: unknown;
|
|
17529
18037
|
};
|
|
@@ -17540,6 +18048,18 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
17540
18048
|
object: "provider";
|
|
17541
18049
|
updated_at: string;
|
|
17542
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;
|
|
17543
18063
|
service?: {
|
|
17544
18064
|
appointment_type: "in_person" | "virtual";
|
|
17545
18065
|
booking_policy: {
|
|
@@ -17627,6 +18147,14 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
17627
18147
|
};
|
|
17628
18148
|
}[];
|
|
17629
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;
|
|
17630
18158
|
}[];
|
|
17631
18159
|
meta: {
|
|
17632
18160
|
current_page: number;
|
|
@@ -17856,6 +18384,12 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
17856
18384
|
reschedule: string[];
|
|
17857
18385
|
};
|
|
17858
18386
|
} | null;
|
|
18387
|
+
booking_policy: {
|
|
18388
|
+
hold: {
|
|
18389
|
+
duration: string | null;
|
|
18390
|
+
enabled: boolean;
|
|
18391
|
+
};
|
|
18392
|
+
};
|
|
17859
18393
|
client?: {
|
|
17860
18394
|
created_at: string;
|
|
17861
18395
|
email?: string | null;
|
|
@@ -17901,11 +18435,9 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
17901
18435
|
};
|
|
17902
18436
|
title: string;
|
|
17903
18437
|
}[] | null;
|
|
17904
|
-
hold_duration?: string | null;
|
|
17905
|
-
hold_enabled: boolean;
|
|
17906
18438
|
hold_until?: string | null;
|
|
17907
18439
|
id: string;
|
|
17908
|
-
locked_fields?:
|
|
18440
|
+
locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
|
|
17909
18441
|
metadata?: {
|
|
17910
18442
|
[key: string]: unknown;
|
|
17911
18443
|
};
|
|
@@ -17922,6 +18454,18 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
17922
18454
|
object: "provider";
|
|
17923
18455
|
updated_at: string;
|
|
17924
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;
|
|
17925
18469
|
service?: {
|
|
17926
18470
|
appointment_type: "in_person" | "virtual";
|
|
17927
18471
|
booking_policy: {
|
|
@@ -18009,6 +18553,14 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
18009
18553
|
};
|
|
18010
18554
|
}[];
|
|
18011
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;
|
|
18012
18564
|
}[];
|
|
18013
18565
|
meta: {
|
|
18014
18566
|
current_page: number;
|
|
@@ -19539,8 +20091,20 @@ declare const usePublicBookingIntent: (booking_intent_id: PublicBookingIntentPar
|
|
|
19539
20091
|
}[] | null;
|
|
19540
20092
|
hold_until?: string | null;
|
|
19541
20093
|
id: string;
|
|
19542
|
-
locked_fields?:
|
|
20094
|
+
locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
|
|
19543
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
|
+
};
|
|
19544
20108
|
start_at?: {
|
|
19545
20109
|
local: string;
|
|
19546
20110
|
object: "zoned_date_time";
|
|
@@ -19549,6 +20113,14 @@ declare const usePublicBookingIntent: (booking_intent_id: PublicBookingIntentPar
|
|
|
19549
20113
|
utc: string;
|
|
19550
20114
|
} | null;
|
|
19551
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
|
+
};
|
|
19552
20124
|
};
|
|
19553
20125
|
}, {
|
|
19554
20126
|
errors: {
|