@savvycal/appointments-react-query 1.1.1 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +108 -36
- package/dist/index.d.ts +108 -36
- package/package.json +2 -2
package/dist/index.d.cts
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,8 +321,6 @@ 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
326
|
locked_fields?: string[];
|
|
@@ -646,6 +650,12 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
646
650
|
reschedule: string[];
|
|
647
651
|
};
|
|
648
652
|
} | null;
|
|
653
|
+
booking_policy: {
|
|
654
|
+
hold: {
|
|
655
|
+
duration: string | null;
|
|
656
|
+
enabled: boolean;
|
|
657
|
+
};
|
|
658
|
+
};
|
|
649
659
|
client?: {
|
|
650
660
|
created_at: string;
|
|
651
661
|
email?: string | null;
|
|
@@ -691,8 +701,6 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
691
701
|
};
|
|
692
702
|
title: string;
|
|
693
703
|
}[] | null;
|
|
694
|
-
hold_duration?: string | null;
|
|
695
|
-
hold_enabled: boolean;
|
|
696
704
|
hold_until?: string | null;
|
|
697
705
|
id: string;
|
|
698
706
|
locked_fields?: string[];
|
|
@@ -1081,6 +1089,12 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
1081
1089
|
reschedule: string[];
|
|
1082
1090
|
};
|
|
1083
1091
|
} | null;
|
|
1092
|
+
booking_policy: {
|
|
1093
|
+
hold: {
|
|
1094
|
+
duration: string | null;
|
|
1095
|
+
enabled: boolean;
|
|
1096
|
+
};
|
|
1097
|
+
};
|
|
1084
1098
|
client?: {
|
|
1085
1099
|
created_at: string;
|
|
1086
1100
|
email?: string | null;
|
|
@@ -1126,8 +1140,6 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
1126
1140
|
};
|
|
1127
1141
|
title: string;
|
|
1128
1142
|
}[] | null;
|
|
1129
|
-
hold_duration?: string | null;
|
|
1130
|
-
hold_enabled: boolean;
|
|
1131
1143
|
hold_until?: string | null;
|
|
1132
1144
|
id: string;
|
|
1133
1145
|
locked_fields?: string[];
|
|
@@ -2774,6 +2786,12 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
2774
2786
|
reschedule: string[];
|
|
2775
2787
|
};
|
|
2776
2788
|
} | null;
|
|
2789
|
+
booking_policy: {
|
|
2790
|
+
hold: {
|
|
2791
|
+
duration: string | null;
|
|
2792
|
+
enabled: boolean;
|
|
2793
|
+
};
|
|
2794
|
+
};
|
|
2777
2795
|
client?: {
|
|
2778
2796
|
created_at: string;
|
|
2779
2797
|
email?: string | null;
|
|
@@ -2819,8 +2837,6 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
2819
2837
|
};
|
|
2820
2838
|
title: string;
|
|
2821
2839
|
}[] | null;
|
|
2822
|
-
hold_duration?: string | null;
|
|
2823
|
-
hold_enabled: boolean;
|
|
2824
2840
|
hold_until?: string | null;
|
|
2825
2841
|
id: string;
|
|
2826
2842
|
locked_fields?: string[];
|
|
@@ -3150,6 +3166,12 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3150
3166
|
reschedule: string[];
|
|
3151
3167
|
};
|
|
3152
3168
|
} | null;
|
|
3169
|
+
booking_policy: {
|
|
3170
|
+
hold: {
|
|
3171
|
+
duration: string | null;
|
|
3172
|
+
enabled: boolean;
|
|
3173
|
+
};
|
|
3174
|
+
};
|
|
3153
3175
|
client?: {
|
|
3154
3176
|
created_at: string;
|
|
3155
3177
|
email?: string | null;
|
|
@@ -3195,8 +3217,6 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3195
3217
|
};
|
|
3196
3218
|
title: string;
|
|
3197
3219
|
}[] | null;
|
|
3198
|
-
hold_duration?: string | null;
|
|
3199
|
-
hold_enabled: boolean;
|
|
3200
3220
|
hold_until?: string | null;
|
|
3201
3221
|
id: string;
|
|
3202
3222
|
locked_fields?: string[];
|
|
@@ -3618,6 +3638,12 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3618
3638
|
reschedule: string[];
|
|
3619
3639
|
};
|
|
3620
3640
|
} | null;
|
|
3641
|
+
booking_policy: {
|
|
3642
|
+
hold: {
|
|
3643
|
+
duration: string | null;
|
|
3644
|
+
enabled: boolean;
|
|
3645
|
+
};
|
|
3646
|
+
};
|
|
3621
3647
|
client?: {
|
|
3622
3648
|
created_at: string;
|
|
3623
3649
|
email?: string | null;
|
|
@@ -3663,8 +3689,6 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3663
3689
|
};
|
|
3664
3690
|
title: string;
|
|
3665
3691
|
}[] | null;
|
|
3666
|
-
hold_duration?: string | null;
|
|
3667
|
-
hold_enabled: boolean;
|
|
3668
3692
|
hold_until?: string | null;
|
|
3669
3693
|
id: string;
|
|
3670
3694
|
locked_fields?: string[];
|
|
@@ -6289,6 +6313,12 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6289
6313
|
reschedule: string[];
|
|
6290
6314
|
};
|
|
6291
6315
|
} | null;
|
|
6316
|
+
booking_policy: {
|
|
6317
|
+
hold: {
|
|
6318
|
+
duration: string | null;
|
|
6319
|
+
enabled: boolean;
|
|
6320
|
+
};
|
|
6321
|
+
};
|
|
6292
6322
|
client?: {
|
|
6293
6323
|
created_at: string;
|
|
6294
6324
|
email?: string | null;
|
|
@@ -6334,8 +6364,6 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6334
6364
|
};
|
|
6335
6365
|
title: string;
|
|
6336
6366
|
}[] | null;
|
|
6337
|
-
hold_duration?: string | null;
|
|
6338
|
-
hold_enabled: boolean;
|
|
6339
6367
|
hold_until?: string | null;
|
|
6340
6368
|
id: string;
|
|
6341
6369
|
locked_fields?: string[];
|
|
@@ -6665,6 +6693,12 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6665
6693
|
reschedule: string[];
|
|
6666
6694
|
};
|
|
6667
6695
|
} | null;
|
|
6696
|
+
booking_policy: {
|
|
6697
|
+
hold: {
|
|
6698
|
+
duration: string | null;
|
|
6699
|
+
enabled: boolean;
|
|
6700
|
+
};
|
|
6701
|
+
};
|
|
6668
6702
|
client?: {
|
|
6669
6703
|
created_at: string;
|
|
6670
6704
|
email?: string | null;
|
|
@@ -6710,8 +6744,6 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6710
6744
|
};
|
|
6711
6745
|
title: string;
|
|
6712
6746
|
}[] | null;
|
|
6713
|
-
hold_duration?: string | null;
|
|
6714
|
-
hold_enabled: boolean;
|
|
6715
6747
|
hold_until?: string | null;
|
|
6716
6748
|
id: string;
|
|
6717
6749
|
locked_fields?: string[];
|
|
@@ -6879,6 +6911,12 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6879
6911
|
content: {
|
|
6880
6912
|
"application/json": {
|
|
6881
6913
|
auto_assign_provider?: boolean | null;
|
|
6914
|
+
booking_policy?: {
|
|
6915
|
+
hold?: {
|
|
6916
|
+
duration?: string | null;
|
|
6917
|
+
enabled?: boolean;
|
|
6918
|
+
} | null;
|
|
6919
|
+
} | null;
|
|
6882
6920
|
client_data?: {
|
|
6883
6921
|
email?: string | null;
|
|
6884
6922
|
fields?: {
|
|
@@ -6893,8 +6931,6 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6893
6931
|
} | null;
|
|
6894
6932
|
client_id?: string | null;
|
|
6895
6933
|
end_at?: string | null;
|
|
6896
|
-
hold_duration?: string | null;
|
|
6897
|
-
hold_enabled?: boolean | null;
|
|
6898
6934
|
locked_fields?: string[] | null;
|
|
6899
6935
|
metadata?: {
|
|
6900
6936
|
[key: string]: unknown;
|
|
@@ -7135,6 +7171,12 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
7135
7171
|
reschedule: string[];
|
|
7136
7172
|
};
|
|
7137
7173
|
} | null;
|
|
7174
|
+
booking_policy: {
|
|
7175
|
+
hold: {
|
|
7176
|
+
duration: string | null;
|
|
7177
|
+
enabled: boolean;
|
|
7178
|
+
};
|
|
7179
|
+
};
|
|
7138
7180
|
client?: {
|
|
7139
7181
|
created_at: string;
|
|
7140
7182
|
email?: string | null;
|
|
@@ -7180,8 +7222,6 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
7180
7222
|
};
|
|
7181
7223
|
title: string;
|
|
7182
7224
|
}[] | null;
|
|
7183
|
-
hold_duration?: string | null;
|
|
7184
|
-
hold_enabled: boolean;
|
|
7185
7225
|
hold_until?: string | null;
|
|
7186
7226
|
id: string;
|
|
7187
7227
|
locked_fields?: string[];
|
|
@@ -12138,6 +12178,12 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12138
12178
|
reschedule: string[];
|
|
12139
12179
|
};
|
|
12140
12180
|
} | null;
|
|
12181
|
+
booking_policy: {
|
|
12182
|
+
hold: {
|
|
12183
|
+
duration: string | null;
|
|
12184
|
+
enabled: boolean;
|
|
12185
|
+
};
|
|
12186
|
+
};
|
|
12141
12187
|
client?: {
|
|
12142
12188
|
created_at: string;
|
|
12143
12189
|
email?: string | null;
|
|
@@ -12183,8 +12229,6 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12183
12229
|
};
|
|
12184
12230
|
title: string;
|
|
12185
12231
|
}[] | null;
|
|
12186
|
-
hold_duration?: string | null;
|
|
12187
|
-
hold_enabled: boolean;
|
|
12188
12232
|
hold_until?: string | null;
|
|
12189
12233
|
id: string;
|
|
12190
12234
|
locked_fields?: string[];
|
|
@@ -12514,6 +12558,12 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12514
12558
|
reschedule: string[];
|
|
12515
12559
|
};
|
|
12516
12560
|
} | null;
|
|
12561
|
+
booking_policy: {
|
|
12562
|
+
hold: {
|
|
12563
|
+
duration: string | null;
|
|
12564
|
+
enabled: boolean;
|
|
12565
|
+
};
|
|
12566
|
+
};
|
|
12517
12567
|
client?: {
|
|
12518
12568
|
created_at: string;
|
|
12519
12569
|
email?: string | null;
|
|
@@ -12559,8 +12609,6 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12559
12609
|
};
|
|
12560
12610
|
title: string;
|
|
12561
12611
|
}[] | null;
|
|
12562
|
-
hold_duration?: string | null;
|
|
12563
|
-
hold_enabled: boolean;
|
|
12564
12612
|
hold_until?: string | null;
|
|
12565
12613
|
id: string;
|
|
12566
12614
|
locked_fields?: string[];
|
|
@@ -12730,6 +12778,12 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12730
12778
|
content: {
|
|
12731
12779
|
"application/json": {
|
|
12732
12780
|
auto_assign_provider?: boolean | null;
|
|
12781
|
+
booking_policy?: {
|
|
12782
|
+
hold?: {
|
|
12783
|
+
duration?: string | null;
|
|
12784
|
+
enabled?: boolean;
|
|
12785
|
+
} | null;
|
|
12786
|
+
} | null;
|
|
12733
12787
|
client_data?: {
|
|
12734
12788
|
email?: string | null;
|
|
12735
12789
|
fields?: {
|
|
@@ -12744,8 +12798,6 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12744
12798
|
} | null;
|
|
12745
12799
|
client_id?: string | null;
|
|
12746
12800
|
end_at?: string | null;
|
|
12747
|
-
hold_duration?: string | null;
|
|
12748
|
-
hold_enabled?: boolean | null;
|
|
12749
12801
|
locked_fields?: string[] | null;
|
|
12750
12802
|
metadata?: {
|
|
12751
12803
|
[key: string]: unknown;
|
|
@@ -12986,6 +13038,12 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12986
13038
|
reschedule: string[];
|
|
12987
13039
|
};
|
|
12988
13040
|
} | null;
|
|
13041
|
+
booking_policy: {
|
|
13042
|
+
hold: {
|
|
13043
|
+
duration: string | null;
|
|
13044
|
+
enabled: boolean;
|
|
13045
|
+
};
|
|
13046
|
+
};
|
|
12989
13047
|
client?: {
|
|
12990
13048
|
created_at: string;
|
|
12991
13049
|
email?: string | null;
|
|
@@ -13031,8 +13089,6 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
13031
13089
|
};
|
|
13032
13090
|
title: string;
|
|
13033
13091
|
}[] | null;
|
|
13034
|
-
hold_duration?: string | null;
|
|
13035
|
-
hold_enabled: boolean;
|
|
13036
13092
|
hold_until?: string | null;
|
|
13037
13093
|
id: string;
|
|
13038
13094
|
locked_fields?: string[];
|
|
@@ -16692,6 +16748,12 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
16692
16748
|
reschedule: string[];
|
|
16693
16749
|
};
|
|
16694
16750
|
} | null;
|
|
16751
|
+
booking_policy: {
|
|
16752
|
+
hold: {
|
|
16753
|
+
duration: string | null;
|
|
16754
|
+
enabled: boolean;
|
|
16755
|
+
};
|
|
16756
|
+
};
|
|
16695
16757
|
client?: {
|
|
16696
16758
|
created_at: string;
|
|
16697
16759
|
email?: string | null;
|
|
@@ -16737,8 +16799,6 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
16737
16799
|
};
|
|
16738
16800
|
title: string;
|
|
16739
16801
|
}[] | null;
|
|
16740
|
-
hold_duration?: string | null;
|
|
16741
|
-
hold_enabled: boolean;
|
|
16742
16802
|
hold_until?: string | null;
|
|
16743
16803
|
id: string;
|
|
16744
16804
|
locked_fields?: string[];
|
|
@@ -17068,6 +17128,12 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
17068
17128
|
reschedule: string[];
|
|
17069
17129
|
};
|
|
17070
17130
|
} | null;
|
|
17131
|
+
booking_policy: {
|
|
17132
|
+
hold: {
|
|
17133
|
+
duration: string | null;
|
|
17134
|
+
enabled: boolean;
|
|
17135
|
+
};
|
|
17136
|
+
};
|
|
17071
17137
|
client?: {
|
|
17072
17138
|
created_at: string;
|
|
17073
17139
|
email?: string | null;
|
|
@@ -17113,8 +17179,6 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
17113
17179
|
};
|
|
17114
17180
|
title: string;
|
|
17115
17181
|
}[] | null;
|
|
17116
|
-
hold_duration?: string | null;
|
|
17117
|
-
hold_enabled: boolean;
|
|
17118
17182
|
hold_until?: string | null;
|
|
17119
17183
|
id: string;
|
|
17120
17184
|
locked_fields?: string[];
|
|
@@ -17474,6 +17538,12 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
17474
17538
|
reschedule: string[];
|
|
17475
17539
|
};
|
|
17476
17540
|
} | null;
|
|
17541
|
+
booking_policy: {
|
|
17542
|
+
hold: {
|
|
17543
|
+
duration: string | null;
|
|
17544
|
+
enabled: boolean;
|
|
17545
|
+
};
|
|
17546
|
+
};
|
|
17477
17547
|
client?: {
|
|
17478
17548
|
created_at: string;
|
|
17479
17549
|
email?: string | null;
|
|
@@ -17519,8 +17589,6 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
17519
17589
|
};
|
|
17520
17590
|
title: string;
|
|
17521
17591
|
}[] | null;
|
|
17522
|
-
hold_duration?: string | null;
|
|
17523
|
-
hold_enabled: boolean;
|
|
17524
17592
|
hold_until?: string | null;
|
|
17525
17593
|
id: string;
|
|
17526
17594
|
locked_fields?: string[];
|
|
@@ -17856,6 +17924,12 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
17856
17924
|
reschedule: string[];
|
|
17857
17925
|
};
|
|
17858
17926
|
} | null;
|
|
17927
|
+
booking_policy: {
|
|
17928
|
+
hold: {
|
|
17929
|
+
duration: string | null;
|
|
17930
|
+
enabled: boolean;
|
|
17931
|
+
};
|
|
17932
|
+
};
|
|
17859
17933
|
client?: {
|
|
17860
17934
|
created_at: string;
|
|
17861
17935
|
email?: string | null;
|
|
@@ -17901,8 +17975,6 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
17901
17975
|
};
|
|
17902
17976
|
title: string;
|
|
17903
17977
|
}[] | null;
|
|
17904
|
-
hold_duration?: string | null;
|
|
17905
|
-
hold_enabled: boolean;
|
|
17906
17978
|
hold_until?: string | null;
|
|
17907
17979
|
id: string;
|
|
17908
17980
|
locked_fields?: string[];
|
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,8 +321,6 @@ 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
326
|
locked_fields?: string[];
|
|
@@ -646,6 +650,12 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
646
650
|
reschedule: string[];
|
|
647
651
|
};
|
|
648
652
|
} | null;
|
|
653
|
+
booking_policy: {
|
|
654
|
+
hold: {
|
|
655
|
+
duration: string | null;
|
|
656
|
+
enabled: boolean;
|
|
657
|
+
};
|
|
658
|
+
};
|
|
649
659
|
client?: {
|
|
650
660
|
created_at: string;
|
|
651
661
|
email?: string | null;
|
|
@@ -691,8 +701,6 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
691
701
|
};
|
|
692
702
|
title: string;
|
|
693
703
|
}[] | null;
|
|
694
|
-
hold_duration?: string | null;
|
|
695
|
-
hold_enabled: boolean;
|
|
696
704
|
hold_until?: string | null;
|
|
697
705
|
id: string;
|
|
698
706
|
locked_fields?: string[];
|
|
@@ -1081,6 +1089,12 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
1081
1089
|
reschedule: string[];
|
|
1082
1090
|
};
|
|
1083
1091
|
} | null;
|
|
1092
|
+
booking_policy: {
|
|
1093
|
+
hold: {
|
|
1094
|
+
duration: string | null;
|
|
1095
|
+
enabled: boolean;
|
|
1096
|
+
};
|
|
1097
|
+
};
|
|
1084
1098
|
client?: {
|
|
1085
1099
|
created_at: string;
|
|
1086
1100
|
email?: string | null;
|
|
@@ -1126,8 +1140,6 @@ declare const useAbandonBookingIntent: (options?: Options$1n) => _tanstack_react
|
|
|
1126
1140
|
};
|
|
1127
1141
|
title: string;
|
|
1128
1142
|
}[] | null;
|
|
1129
|
-
hold_duration?: string | null;
|
|
1130
|
-
hold_enabled: boolean;
|
|
1131
1143
|
hold_until?: string | null;
|
|
1132
1144
|
id: string;
|
|
1133
1145
|
locked_fields?: string[];
|
|
@@ -2774,6 +2786,12 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
2774
2786
|
reschedule: string[];
|
|
2775
2787
|
};
|
|
2776
2788
|
} | null;
|
|
2789
|
+
booking_policy: {
|
|
2790
|
+
hold: {
|
|
2791
|
+
duration: string | null;
|
|
2792
|
+
enabled: boolean;
|
|
2793
|
+
};
|
|
2794
|
+
};
|
|
2777
2795
|
client?: {
|
|
2778
2796
|
created_at: string;
|
|
2779
2797
|
email?: string | null;
|
|
@@ -2819,8 +2837,6 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
2819
2837
|
};
|
|
2820
2838
|
title: string;
|
|
2821
2839
|
}[] | null;
|
|
2822
|
-
hold_duration?: string | null;
|
|
2823
|
-
hold_enabled: boolean;
|
|
2824
2840
|
hold_until?: string | null;
|
|
2825
2841
|
id: string;
|
|
2826
2842
|
locked_fields?: string[];
|
|
@@ -3150,6 +3166,12 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3150
3166
|
reschedule: string[];
|
|
3151
3167
|
};
|
|
3152
3168
|
} | null;
|
|
3169
|
+
booking_policy: {
|
|
3170
|
+
hold: {
|
|
3171
|
+
duration: string | null;
|
|
3172
|
+
enabled: boolean;
|
|
3173
|
+
};
|
|
3174
|
+
};
|
|
3153
3175
|
client?: {
|
|
3154
3176
|
created_at: string;
|
|
3155
3177
|
email?: string | null;
|
|
@@ -3195,8 +3217,6 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3195
3217
|
};
|
|
3196
3218
|
title: string;
|
|
3197
3219
|
}[] | null;
|
|
3198
|
-
hold_duration?: string | null;
|
|
3199
|
-
hold_enabled: boolean;
|
|
3200
3220
|
hold_until?: string | null;
|
|
3201
3221
|
id: string;
|
|
3202
3222
|
locked_fields?: string[];
|
|
@@ -3618,6 +3638,12 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3618
3638
|
reschedule: string[];
|
|
3619
3639
|
};
|
|
3620
3640
|
} | null;
|
|
3641
|
+
booking_policy: {
|
|
3642
|
+
hold: {
|
|
3643
|
+
duration: string | null;
|
|
3644
|
+
enabled: boolean;
|
|
3645
|
+
};
|
|
3646
|
+
};
|
|
3621
3647
|
client?: {
|
|
3622
3648
|
created_at: string;
|
|
3623
3649
|
email?: string | null;
|
|
@@ -3663,8 +3689,6 @@ declare const useCompleteBookingIntent: (options?: Options$1i) => _tanstack_reac
|
|
|
3663
3689
|
};
|
|
3664
3690
|
title: string;
|
|
3665
3691
|
}[] | null;
|
|
3666
|
-
hold_duration?: string | null;
|
|
3667
|
-
hold_enabled: boolean;
|
|
3668
3692
|
hold_until?: string | null;
|
|
3669
3693
|
id: string;
|
|
3670
3694
|
locked_fields?: string[];
|
|
@@ -6289,6 +6313,12 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6289
6313
|
reschedule: string[];
|
|
6290
6314
|
};
|
|
6291
6315
|
} | null;
|
|
6316
|
+
booking_policy: {
|
|
6317
|
+
hold: {
|
|
6318
|
+
duration: string | null;
|
|
6319
|
+
enabled: boolean;
|
|
6320
|
+
};
|
|
6321
|
+
};
|
|
6292
6322
|
client?: {
|
|
6293
6323
|
created_at: string;
|
|
6294
6324
|
email?: string | null;
|
|
@@ -6334,8 +6364,6 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6334
6364
|
};
|
|
6335
6365
|
title: string;
|
|
6336
6366
|
}[] | null;
|
|
6337
|
-
hold_duration?: string | null;
|
|
6338
|
-
hold_enabled: boolean;
|
|
6339
6367
|
hold_until?: string | null;
|
|
6340
6368
|
id: string;
|
|
6341
6369
|
locked_fields?: string[];
|
|
@@ -6665,6 +6693,12 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6665
6693
|
reschedule: string[];
|
|
6666
6694
|
};
|
|
6667
6695
|
} | null;
|
|
6696
|
+
booking_policy: {
|
|
6697
|
+
hold: {
|
|
6698
|
+
duration: string | null;
|
|
6699
|
+
enabled: boolean;
|
|
6700
|
+
};
|
|
6701
|
+
};
|
|
6668
6702
|
client?: {
|
|
6669
6703
|
created_at: string;
|
|
6670
6704
|
email?: string | null;
|
|
@@ -6710,8 +6744,6 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6710
6744
|
};
|
|
6711
6745
|
title: string;
|
|
6712
6746
|
}[] | null;
|
|
6713
|
-
hold_duration?: string | null;
|
|
6714
|
-
hold_enabled: boolean;
|
|
6715
6747
|
hold_until?: string | null;
|
|
6716
6748
|
id: string;
|
|
6717
6749
|
locked_fields?: string[];
|
|
@@ -6879,6 +6911,12 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6879
6911
|
content: {
|
|
6880
6912
|
"application/json": {
|
|
6881
6913
|
auto_assign_provider?: boolean | null;
|
|
6914
|
+
booking_policy?: {
|
|
6915
|
+
hold?: {
|
|
6916
|
+
duration?: string | null;
|
|
6917
|
+
enabled?: boolean;
|
|
6918
|
+
} | null;
|
|
6919
|
+
} | null;
|
|
6882
6920
|
client_data?: {
|
|
6883
6921
|
email?: string | null;
|
|
6884
6922
|
fields?: {
|
|
@@ -6893,8 +6931,6 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
6893
6931
|
} | null;
|
|
6894
6932
|
client_id?: string | null;
|
|
6895
6933
|
end_at?: string | null;
|
|
6896
|
-
hold_duration?: string | null;
|
|
6897
|
-
hold_enabled?: boolean | null;
|
|
6898
6934
|
locked_fields?: string[] | null;
|
|
6899
6935
|
metadata?: {
|
|
6900
6936
|
[key: string]: unknown;
|
|
@@ -7135,6 +7171,12 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
7135
7171
|
reschedule: string[];
|
|
7136
7172
|
};
|
|
7137
7173
|
} | null;
|
|
7174
|
+
booking_policy: {
|
|
7175
|
+
hold: {
|
|
7176
|
+
duration: string | null;
|
|
7177
|
+
enabled: boolean;
|
|
7178
|
+
};
|
|
7179
|
+
};
|
|
7138
7180
|
client?: {
|
|
7139
7181
|
created_at: string;
|
|
7140
7182
|
email?: string | null;
|
|
@@ -7180,8 +7222,6 @@ declare const useCreateBookingIntent: (options?: Options$1b) => _tanstack_react_
|
|
|
7180
7222
|
};
|
|
7181
7223
|
title: string;
|
|
7182
7224
|
}[] | null;
|
|
7183
|
-
hold_duration?: string | null;
|
|
7184
|
-
hold_enabled: boolean;
|
|
7185
7225
|
hold_until?: string | null;
|
|
7186
7226
|
id: string;
|
|
7187
7227
|
locked_fields?: string[];
|
|
@@ -12138,6 +12178,12 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12138
12178
|
reschedule: string[];
|
|
12139
12179
|
};
|
|
12140
12180
|
} | null;
|
|
12181
|
+
booking_policy: {
|
|
12182
|
+
hold: {
|
|
12183
|
+
duration: string | null;
|
|
12184
|
+
enabled: boolean;
|
|
12185
|
+
};
|
|
12186
|
+
};
|
|
12141
12187
|
client?: {
|
|
12142
12188
|
created_at: string;
|
|
12143
12189
|
email?: string | null;
|
|
@@ -12183,8 +12229,6 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12183
12229
|
};
|
|
12184
12230
|
title: string;
|
|
12185
12231
|
}[] | null;
|
|
12186
|
-
hold_duration?: string | null;
|
|
12187
|
-
hold_enabled: boolean;
|
|
12188
12232
|
hold_until?: string | null;
|
|
12189
12233
|
id: string;
|
|
12190
12234
|
locked_fields?: string[];
|
|
@@ -12514,6 +12558,12 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12514
12558
|
reschedule: string[];
|
|
12515
12559
|
};
|
|
12516
12560
|
} | null;
|
|
12561
|
+
booking_policy: {
|
|
12562
|
+
hold: {
|
|
12563
|
+
duration: string | null;
|
|
12564
|
+
enabled: boolean;
|
|
12565
|
+
};
|
|
12566
|
+
};
|
|
12517
12567
|
client?: {
|
|
12518
12568
|
created_at: string;
|
|
12519
12569
|
email?: string | null;
|
|
@@ -12559,8 +12609,6 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12559
12609
|
};
|
|
12560
12610
|
title: string;
|
|
12561
12611
|
}[] | null;
|
|
12562
|
-
hold_duration?: string | null;
|
|
12563
|
-
hold_enabled: boolean;
|
|
12564
12612
|
hold_until?: string | null;
|
|
12565
12613
|
id: string;
|
|
12566
12614
|
locked_fields?: string[];
|
|
@@ -12730,6 +12778,12 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12730
12778
|
content: {
|
|
12731
12779
|
"application/json": {
|
|
12732
12780
|
auto_assign_provider?: boolean | null;
|
|
12781
|
+
booking_policy?: {
|
|
12782
|
+
hold?: {
|
|
12783
|
+
duration?: string | null;
|
|
12784
|
+
enabled?: boolean;
|
|
12785
|
+
} | null;
|
|
12786
|
+
} | null;
|
|
12733
12787
|
client_data?: {
|
|
12734
12788
|
email?: string | null;
|
|
12735
12789
|
fields?: {
|
|
@@ -12744,8 +12798,6 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12744
12798
|
} | null;
|
|
12745
12799
|
client_id?: string | null;
|
|
12746
12800
|
end_at?: string | null;
|
|
12747
|
-
hold_duration?: string | null;
|
|
12748
|
-
hold_enabled?: boolean | null;
|
|
12749
12801
|
locked_fields?: string[] | null;
|
|
12750
12802
|
metadata?: {
|
|
12751
12803
|
[key: string]: unknown;
|
|
@@ -12986,6 +13038,12 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
12986
13038
|
reschedule: string[];
|
|
12987
13039
|
};
|
|
12988
13040
|
} | null;
|
|
13041
|
+
booking_policy: {
|
|
13042
|
+
hold: {
|
|
13043
|
+
duration: string | null;
|
|
13044
|
+
enabled: boolean;
|
|
13045
|
+
};
|
|
13046
|
+
};
|
|
12989
13047
|
client?: {
|
|
12990
13048
|
created_at: string;
|
|
12991
13049
|
email?: string | null;
|
|
@@ -13031,8 +13089,6 @@ declare const useUpdateBookingIntent: (options?: Options$K) => _tanstack_react_q
|
|
|
13031
13089
|
};
|
|
13032
13090
|
title: string;
|
|
13033
13091
|
}[] | null;
|
|
13034
|
-
hold_duration?: string | null;
|
|
13035
|
-
hold_enabled: boolean;
|
|
13036
13092
|
hold_until?: string | null;
|
|
13037
13093
|
id: string;
|
|
13038
13094
|
locked_fields?: string[];
|
|
@@ -16692,6 +16748,12 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
16692
16748
|
reschedule: string[];
|
|
16693
16749
|
};
|
|
16694
16750
|
} | null;
|
|
16751
|
+
booking_policy: {
|
|
16752
|
+
hold: {
|
|
16753
|
+
duration: string | null;
|
|
16754
|
+
enabled: boolean;
|
|
16755
|
+
};
|
|
16756
|
+
};
|
|
16695
16757
|
client?: {
|
|
16696
16758
|
created_at: string;
|
|
16697
16759
|
email?: string | null;
|
|
@@ -16737,8 +16799,6 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
16737
16799
|
};
|
|
16738
16800
|
title: string;
|
|
16739
16801
|
}[] | null;
|
|
16740
|
-
hold_duration?: string | null;
|
|
16741
|
-
hold_enabled: boolean;
|
|
16742
16802
|
hold_until?: string | null;
|
|
16743
16803
|
id: string;
|
|
16744
16804
|
locked_fields?: string[];
|
|
@@ -17068,6 +17128,12 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
17068
17128
|
reschedule: string[];
|
|
17069
17129
|
};
|
|
17070
17130
|
} | null;
|
|
17131
|
+
booking_policy: {
|
|
17132
|
+
hold: {
|
|
17133
|
+
duration: string | null;
|
|
17134
|
+
enabled: boolean;
|
|
17135
|
+
};
|
|
17136
|
+
};
|
|
17071
17137
|
client?: {
|
|
17072
17138
|
created_at: string;
|
|
17073
17139
|
email?: string | null;
|
|
@@ -17113,8 +17179,6 @@ declare const useBookingIntent: (booking_intent_id: BookingIntentParams["path"][
|
|
|
17113
17179
|
};
|
|
17114
17180
|
title: string;
|
|
17115
17181
|
}[] | null;
|
|
17116
|
-
hold_duration?: string | null;
|
|
17117
|
-
hold_enabled: boolean;
|
|
17118
17182
|
hold_until?: string | null;
|
|
17119
17183
|
id: string;
|
|
17120
17184
|
locked_fields?: string[];
|
|
@@ -17474,6 +17538,12 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
17474
17538
|
reschedule: string[];
|
|
17475
17539
|
};
|
|
17476
17540
|
} | null;
|
|
17541
|
+
booking_policy: {
|
|
17542
|
+
hold: {
|
|
17543
|
+
duration: string | null;
|
|
17544
|
+
enabled: boolean;
|
|
17545
|
+
};
|
|
17546
|
+
};
|
|
17477
17547
|
client?: {
|
|
17478
17548
|
created_at: string;
|
|
17479
17549
|
email?: string | null;
|
|
@@ -17519,8 +17589,6 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
17519
17589
|
};
|
|
17520
17590
|
title: string;
|
|
17521
17591
|
}[] | null;
|
|
17522
|
-
hold_duration?: string | null;
|
|
17523
|
-
hold_enabled: boolean;
|
|
17524
17592
|
hold_until?: string | null;
|
|
17525
17593
|
id: string;
|
|
17526
17594
|
locked_fields?: string[];
|
|
@@ -17856,6 +17924,12 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
17856
17924
|
reschedule: string[];
|
|
17857
17925
|
};
|
|
17858
17926
|
} | null;
|
|
17927
|
+
booking_policy: {
|
|
17928
|
+
hold: {
|
|
17929
|
+
duration: string | null;
|
|
17930
|
+
enabled: boolean;
|
|
17931
|
+
};
|
|
17932
|
+
};
|
|
17859
17933
|
client?: {
|
|
17860
17934
|
created_at: string;
|
|
17861
17935
|
email?: string | null;
|
|
@@ -17901,8 +17975,6 @@ declare const useBookingIntents: (queryParams?: BookingIntentsParams["query"], o
|
|
|
17901
17975
|
};
|
|
17902
17976
|
title: string;
|
|
17903
17977
|
}[] | null;
|
|
17904
|
-
hold_duration?: string | null;
|
|
17905
|
-
hold_enabled: boolean;
|
|
17906
17978
|
hold_until?: string | null;
|
|
17907
17979
|
id: string;
|
|
17908
17980
|
locked_fields?: string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@savvycal/appointments-react-query",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A tiny wrapper around @tanstack/react-query for the SavvyCal Appointments API",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"openapi-typescript-helpers": "^0.0.15",
|
|
46
|
-
"@savvycal/appointments-core": "1.
|
|
46
|
+
"@savvycal/appointments-core": "1.2.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"@tanstack/react-query": "^5.0.0",
|