@tennac-booking/sdk 1.0.79 → 1.0.80

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/esm/api.d.ts CHANGED
@@ -137,6 +137,64 @@ export interface BookingAnalyticsResponse {
137
137
  */
138
138
  'paymentByPlayersStatus': Array<any>;
139
139
  }
140
+ /**
141
+ *
142
+ * @export
143
+ * @interface BookingClubInfo
144
+ */
145
+ export interface BookingClubInfo {
146
+ /**
147
+ *
148
+ * @type {string}
149
+ * @memberof BookingClubInfo
150
+ */
151
+ 'id': string;
152
+ /**
153
+ *
154
+ * @type {string}
155
+ * @memberof BookingClubInfo
156
+ */
157
+ 'name'?: string | null;
158
+ /**
159
+ *
160
+ * @type {string}
161
+ * @memberof BookingClubInfo
162
+ */
163
+ 'picture'?: string | null;
164
+ /**
165
+ *
166
+ * @type {string}
167
+ * @memberof BookingClubInfo
168
+ */
169
+ 'address'?: string | null;
170
+ /**
171
+ * Construct a type with a set of properties K of type T
172
+ * @type {{ [key: string]: any; }}
173
+ * @memberof BookingClubInfo
174
+ */
175
+ 'location'?: {
176
+ [key: string]: any;
177
+ } | null;
178
+ }
179
+ /**
180
+ *
181
+ * @export
182
+ * @interface BookingCourtInfo
183
+ */
184
+ export interface BookingCourtInfo {
185
+ /**
186
+ *
187
+ * @type {string}
188
+ * @memberof BookingCourtInfo
189
+ */
190
+ 'id'?: string | null;
191
+ /**
192
+ *
193
+ * @type {string}
194
+ * @memberof BookingCourtInfo
195
+ */
196
+ 'name'?: string | null;
197
+ }
140
198
  /**
141
199
  *
142
200
  * @export
@@ -149,6 +207,132 @@ export interface BookingDetailResponse {
149
207
  * @memberof BookingDetailResponse
150
208
  */
151
209
  'id': string;
210
+ /**
211
+ *
212
+ * @type {string}
213
+ * @memberof BookingDetailResponse
214
+ */
215
+ 'clubId': string;
216
+ /**
217
+ *
218
+ * @type {string}
219
+ * @memberof BookingDetailResponse
220
+ */
221
+ 'userId': string;
222
+ /**
223
+ *
224
+ * @type {Array<string>}
225
+ * @memberof BookingDetailResponse
226
+ */
227
+ 'playersIds': Array<string>;
228
+ /**
229
+ *
230
+ * @type {BookingStatus}
231
+ * @memberof BookingDetailResponse
232
+ */
233
+ 'status': BookingStatus;
234
+ /**
235
+ *
236
+ * @type {Array<BookingPaymentStatus>}
237
+ * @memberof BookingDetailResponse
238
+ */
239
+ 'paymentByPlayersStatus': Array<BookingPaymentStatus>;
240
+ /**
241
+ *
242
+ * @type {boolean}
243
+ * @memberof BookingDetailResponse
244
+ */
245
+ 'isCreatorPayingAll': boolean;
246
+ /**
247
+ *
248
+ * @type {number}
249
+ * @memberof BookingDetailResponse
250
+ */
251
+ 'totalPrice': number;
252
+ /**
253
+ *
254
+ * @type {Array<string>}
255
+ * @memberof BookingDetailResponse
256
+ */
257
+ 'slotIds': Array<string>;
258
+ /**
259
+ *
260
+ * @type {boolean}
261
+ * @memberof BookingDetailResponse
262
+ */
263
+ 'isPublic': boolean;
264
+ /**
265
+ *
266
+ * @type {string}
267
+ * @memberof BookingDetailResponse
268
+ */
269
+ 'creatorPaymentMethodId'?: string | null;
270
+ /**
271
+ *
272
+ * @type {boolean}
273
+ * @memberof BookingDetailResponse
274
+ */
275
+ 'paymentMethodSetupCompleted': boolean;
276
+ /**
277
+ *
278
+ * @type {number}
279
+ * @memberof BookingDetailResponse
280
+ */
281
+ 'noShowChargeAmount'?: number | null;
282
+ /**
283
+ *
284
+ * @type {boolean}
285
+ * @memberof BookingDetailResponse
286
+ */
287
+ 'noShowChargeApplied'?: boolean;
288
+ /**
289
+ *
290
+ * @type {string}
291
+ * @memberof BookingDetailResponse
292
+ */
293
+ 'noShowChargeIntentId'?: string | null;
294
+ /**
295
+ *
296
+ * @type {string}
297
+ * @memberof BookingDetailResponse
298
+ */
299
+ 'cancellationReason'?: string | null;
300
+ /**
301
+ *
302
+ * @type {string}
303
+ * @memberof BookingDetailResponse
304
+ */
305
+ 'cancelledBy'?: string | null;
306
+ /**
307
+ *
308
+ * @type {string}
309
+ * @memberof BookingDetailResponse
310
+ */
311
+ 'cancelledAt'?: string | null;
312
+ /**
313
+ *
314
+ * @type {boolean}
315
+ * @memberof BookingDetailResponse
316
+ */
317
+ 'cancelledByManager'?: boolean;
318
+ /**
319
+ *
320
+ * @type {string}
321
+ * @memberof BookingDetailResponse
322
+ */
323
+ 'createdAt': string | null;
324
+ /**
325
+ *
326
+ * @type {string}
327
+ * @memberof BookingDetailResponse
328
+ */
329
+ 'updatedAt': string | null;
330
+ /**
331
+ *
332
+ * @type {number}
333
+ * @memberof BookingDetailResponse
334
+ */
335
+ 'playersCount'?: number | null;
152
336
  /**
153
337
  *
154
338
  * @type {string}
@@ -175,10 +359,10 @@ export interface BookingDetailResponse {
175
359
  'startDate'?: string;
176
360
  /**
177
361
  *
178
- * @type {string}
362
+ * @type {InvoiceStatus}
179
363
  * @memberof BookingDetailResponse
180
364
  */
181
- 'myPaymentStatus'?: string;
365
+ 'myPaymentStatus'?: InvoiceStatus | null;
182
366
  /**
183
367
  *
184
368
  * @type {string}
@@ -221,6 +405,36 @@ export interface BookingDetailResponse {
221
405
  * @memberof BookingDetailResponse
222
406
  */
223
407
  'bookingHistory'?: BookingHistoryPopulated;
408
+ /**
409
+ *
410
+ * @type {BookingClubInfo}
411
+ * @memberof BookingDetailResponse
412
+ */
413
+ 'club'?: BookingClubInfo | null;
414
+ /**
415
+ *
416
+ * @type {Array<BookingSlotInfo>}
417
+ * @memberof BookingDetailResponse
418
+ */
419
+ 'slots': Array<BookingSlotInfo>;
420
+ /**
421
+ *
422
+ * @type {BookingCourtInfo}
423
+ * @memberof BookingDetailResponse
424
+ */
425
+ 'court'?: BookingCourtInfo | null;
426
+ /**
427
+ *
428
+ * @type {BookingSportInfo}
429
+ * @memberof BookingDetailResponse
430
+ */
431
+ 'sport'?: BookingSportInfo | null;
432
+ /**
433
+ *
434
+ * @type {Array<BookingPlayerPaymentSummary>}
435
+ * @memberof BookingDetailResponse
436
+ */
437
+ 'players': Array<BookingPlayerPaymentSummary>;
224
438
  /**
225
439
  *
226
440
  * @type {Array<{ [key: string]: any; }>}
@@ -394,6 +608,31 @@ export interface BookingInfo {
394
608
  */
395
609
  'noShowChargeAmount'?: number;
396
610
  }
611
+ /**
612
+ *
613
+ * @export
614
+ * @interface BookingPaymentStatus
615
+ */
616
+ export interface BookingPaymentStatus {
617
+ /**
618
+ *
619
+ * @type {string}
620
+ * @memberof BookingPaymentStatus
621
+ */
622
+ 'playerId': string;
623
+ /**
624
+ *
625
+ * @type {string}
626
+ * @memberof BookingPaymentStatus
627
+ */
628
+ 'invoiceId'?: string | null;
629
+ /**
630
+ *
631
+ * @type {InvoiceStatus}
632
+ * @memberof BookingPaymentStatus
633
+ */
634
+ 'invoiceStatus'?: InvoiceStatus | null;
635
+ }
397
636
  /**
398
637
  *
399
638
  * @export
@@ -487,6 +726,61 @@ export interface BookingPaymentStatusResponseSummary {
487
726
  */
488
727
  'totalPlayers': number;
489
728
  }
729
+ /**
730
+ *
731
+ * @export
732
+ * @interface BookingPlayerPaymentSummary
733
+ */
734
+ export interface BookingPlayerPaymentSummary {
735
+ /**
736
+ *
737
+ * @type {string}
738
+ * @memberof BookingPlayerPaymentSummary
739
+ */
740
+ 'id': string;
741
+ /**
742
+ *
743
+ * @type {string}
744
+ * @memberof BookingPlayerPaymentSummary
745
+ */
746
+ 'firstName'?: string | null;
747
+ /**
748
+ *
749
+ * @type {string}
750
+ * @memberof BookingPlayerPaymentSummary
751
+ */
752
+ 'lastName'?: string | null;
753
+ /**
754
+ *
755
+ * @type {string}
756
+ * @memberof BookingPlayerPaymentSummary
757
+ */
758
+ 'profilePicture'?: string | null;
759
+ /**
760
+ *
761
+ * @type {number}
762
+ * @memberof BookingPlayerPaymentSummary
763
+ */
764
+ 'amountToPay': number;
765
+ /**
766
+ *
767
+ * @type {string}
768
+ * @memberof BookingPlayerPaymentSummary
769
+ */
770
+ 'invoiceId'?: string | null;
771
+ /**
772
+ *
773
+ * @type {InvoiceStatus}
774
+ * @memberof BookingPlayerPaymentSummary
775
+ */
776
+ 'invoiceStatus'?: InvoiceStatus | null;
777
+ /**
778
+ *
779
+ * @type {boolean}
780
+ * @memberof BookingPlayerPaymentSummary
781
+ */
782
+ 'isCreator': boolean;
783
+ }
490
784
  /**
491
785
  *
492
786
  * @export
@@ -667,6 +961,68 @@ export interface BookingResponseOnsitePaymentsInner {
667
961
  */
668
962
  'playerId': string;
669
963
  }
964
+ /**
965
+ *
966
+ * @export
967
+ * @interface BookingSlotInfo
968
+ */
969
+ export interface BookingSlotInfo {
970
+ /**
971
+ *
972
+ * @type {string}
973
+ * @memberof BookingSlotInfo
974
+ */
975
+ 'id': string;
976
+ /**
977
+ *
978
+ * @type {string}
979
+ * @memberof BookingSlotInfo
980
+ */
981
+ 'startDate'?: string | null;
982
+ /**
983
+ *
984
+ * @type {string}
985
+ * @memberof BookingSlotInfo
986
+ */
987
+ 'endDate'?: string | null;
988
+ /**
989
+ *
990
+ * @type {number}
991
+ * @memberof BookingSlotInfo
992
+ */
993
+ 'durationMinutes'?: number | null;
994
+ /**
995
+ *
996
+ * @type {BookingCourtInfo}
997
+ * @memberof BookingSlotInfo
998
+ */
999
+ 'court'?: BookingCourtInfo | null;
1000
+ /**
1001
+ *
1002
+ * @type {BookingSportInfo}
1003
+ * @memberof BookingSlotInfo
1004
+ */
1005
+ 'sport'?: BookingSportInfo | null;
1006
+ }
1007
+ /**
1008
+ *
1009
+ * @export
1010
+ * @interface BookingSportInfo
1011
+ */
1012
+ export interface BookingSportInfo {
1013
+ /**
1014
+ *
1015
+ * @type {string}
1016
+ * @memberof BookingSportInfo
1017
+ */
1018
+ 'id'?: string | null;
1019
+ /**
1020
+ *
1021
+ * @type {string}
1022
+ * @memberof BookingSportInfo
1023
+ */
1024
+ 'key'?: string | null;
1025
+ }
670
1026
  /**
671
1027
  *
672
1028
  * @export
@@ -694,6 +1050,132 @@ export interface BookingSummary {
694
1050
  * @memberof BookingSummary
695
1051
  */
696
1052
  'id': string;
1053
+ /**
1054
+ *
1055
+ * @type {string}
1056
+ * @memberof BookingSummary
1057
+ */
1058
+ 'clubId': string;
1059
+ /**
1060
+ *
1061
+ * @type {string}
1062
+ * @memberof BookingSummary
1063
+ */
1064
+ 'userId': string;
1065
+ /**
1066
+ *
1067
+ * @type {Array<string>}
1068
+ * @memberof BookingSummary
1069
+ */
1070
+ 'playersIds': Array<string>;
1071
+ /**
1072
+ *
1073
+ * @type {BookingStatus}
1074
+ * @memberof BookingSummary
1075
+ */
1076
+ 'status': BookingStatus;
1077
+ /**
1078
+ *
1079
+ * @type {Array<BookingPaymentStatus>}
1080
+ * @memberof BookingSummary
1081
+ */
1082
+ 'paymentByPlayersStatus': Array<BookingPaymentStatus>;
1083
+ /**
1084
+ *
1085
+ * @type {boolean}
1086
+ * @memberof BookingSummary
1087
+ */
1088
+ 'isCreatorPayingAll': boolean;
1089
+ /**
1090
+ *
1091
+ * @type {number}
1092
+ * @memberof BookingSummary
1093
+ */
1094
+ 'totalPrice': number;
1095
+ /**
1096
+ *
1097
+ * @type {Array<string>}
1098
+ * @memberof BookingSummary
1099
+ */
1100
+ 'slotIds': Array<string>;
1101
+ /**
1102
+ *
1103
+ * @type {boolean}
1104
+ * @memberof BookingSummary
1105
+ */
1106
+ 'isPublic': boolean;
1107
+ /**
1108
+ *
1109
+ * @type {string}
1110
+ * @memberof BookingSummary
1111
+ */
1112
+ 'creatorPaymentMethodId'?: string | null;
1113
+ /**
1114
+ *
1115
+ * @type {boolean}
1116
+ * @memberof BookingSummary
1117
+ */
1118
+ 'paymentMethodSetupCompleted': boolean;
1119
+ /**
1120
+ *
1121
+ * @type {number}
1122
+ * @memberof BookingSummary
1123
+ */
1124
+ 'noShowChargeAmount'?: number | null;
1125
+ /**
1126
+ *
1127
+ * @type {boolean}
1128
+ * @memberof BookingSummary
1129
+ */
1130
+ 'noShowChargeApplied'?: boolean;
1131
+ /**
1132
+ *
1133
+ * @type {string}
1134
+ * @memberof BookingSummary
1135
+ */
1136
+ 'noShowChargeIntentId'?: string | null;
1137
+ /**
1138
+ *
1139
+ * @type {string}
1140
+ * @memberof BookingSummary
1141
+ */
1142
+ 'cancellationReason'?: string | null;
1143
+ /**
1144
+ *
1145
+ * @type {string}
1146
+ * @memberof BookingSummary
1147
+ */
1148
+ 'cancelledBy'?: string | null;
1149
+ /**
1150
+ *
1151
+ * @type {string}
1152
+ * @memberof BookingSummary
1153
+ */
1154
+ 'cancelledAt'?: string | null;
1155
+ /**
1156
+ *
1157
+ * @type {boolean}
1158
+ * @memberof BookingSummary
1159
+ */
1160
+ 'cancelledByManager'?: boolean;
1161
+ /**
1162
+ *
1163
+ * @type {string}
1164
+ * @memberof BookingSummary
1165
+ */
1166
+ 'createdAt': string | null;
1167
+ /**
1168
+ *
1169
+ * @type {string}
1170
+ * @memberof BookingSummary
1171
+ */
1172
+ 'updatedAt': string | null;
1173
+ /**
1174
+ *
1175
+ * @type {number}
1176
+ * @memberof BookingSummary
1177
+ */
1178
+ 'playersCount'?: number | null;
697
1179
  /**
698
1180
  *
699
1181
  * @type {string}
@@ -720,10 +1202,10 @@ export interface BookingSummary {
720
1202
  'startDate'?: string;
721
1203
  /**
722
1204
  *
723
- * @type {string}
1205
+ * @type {InvoiceStatus}
724
1206
  * @memberof BookingSummary
725
1207
  */
726
- 'myPaymentStatus'?: string;
1208
+ 'myPaymentStatus'?: InvoiceStatus | null;
727
1209
  /**
728
1210
  *
729
1211
  * @type {string}
@@ -766,6 +1248,36 @@ export interface BookingSummary {
766
1248
  * @memberof BookingSummary
767
1249
  */
768
1250
  'bookingHistory'?: BookingHistoryPopulated;
1251
+ /**
1252
+ *
1253
+ * @type {BookingClubInfo}
1254
+ * @memberof BookingSummary
1255
+ */
1256
+ 'club'?: BookingClubInfo | null;
1257
+ /**
1258
+ *
1259
+ * @type {Array<BookingSlotInfo>}
1260
+ * @memberof BookingSummary
1261
+ */
1262
+ 'slots': Array<BookingSlotInfo>;
1263
+ /**
1264
+ *
1265
+ * @type {BookingCourtInfo}
1266
+ * @memberof BookingSummary
1267
+ */
1268
+ 'court'?: BookingCourtInfo | null;
1269
+ /**
1270
+ *
1271
+ * @type {BookingSportInfo}
1272
+ * @memberof BookingSummary
1273
+ */
1274
+ 'sport'?: BookingSportInfo | null;
1275
+ /**
1276
+ *
1277
+ * @type {Array<BookingPlayerPaymentSummary>}
1278
+ * @memberof BookingSummary
1279
+ */
1280
+ 'players': Array<BookingPlayerPaymentSummary>;
769
1281
  }
770
1282
  /**
771
1283
  *
@@ -3338,6 +3850,22 @@ export interface InvoiceInfo {
3338
3850
  */
3339
3851
  'status': string;
3340
3852
  }
3853
+ /**
3854
+ *
3855
+ * @export
3856
+ * @enum {string}
3857
+ */
3858
+ export declare const InvoiceStatus: {
3859
+ readonly SetupPending: "setup_pending";
3860
+ readonly SetupSuccess: "setup_success";
3861
+ readonly Pending: "pending";
3862
+ readonly Paid: "paid";
3863
+ readonly Failed: "failed";
3864
+ readonly Authorized: "authorized";
3865
+ readonly Canceled: "canceled";
3866
+ readonly Expired: "expired";
3867
+ };
3868
+ export type InvoiceStatus = typeof InvoiceStatus[keyof typeof InvoiceStatus];
3341
3869
  /**
3342
3870
  *
3343
3871
  * @export
@@ -7135,6 +7663,43 @@ export interface UpdateUserRequestBodyLevelBySportsInner {
7135
7663
  */
7136
7664
  'sport': string;
7137
7665
  }
7666
+ /**
7667
+ *
7668
+ * @export
7669
+ * @interface UserBookingsResponse
7670
+ */
7671
+ export interface UserBookingsResponse {
7672
+ /**
7673
+ *
7674
+ * @type {number}
7675
+ * @memberof UserBookingsResponse
7676
+ */
7677
+ 'total': number;
7678
+ /**
7679
+ *
7680
+ * @type {number}
7681
+ * @memberof UserBookingsResponse
7682
+ */
7683
+ 'limit': number;
7684
+ /**
7685
+ *
7686
+ * @type {number}
7687
+ * @memberof UserBookingsResponse
7688
+ */
7689
+ 'skip': number;
7690
+ /**
7691
+ *
7692
+ * @type {boolean}
7693
+ * @memberof UserBookingsResponse
7694
+ */
7695
+ 'hasMore': boolean;
7696
+ /**
7697
+ *
7698
+ * @type {Array<BookingSummary>}
7699
+ * @memberof UserBookingsResponse
7700
+ */
7701
+ 'bookings': Array<BookingSummary>;
7702
+ }
7138
7703
  /**
7139
7704
  *
7140
7705
  * @export
@@ -7660,12 +8225,13 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
7660
8225
  * @param {string} [startTime]
7661
8226
  * @param {number} [priceMax]
7662
8227
  * @param {string} [courtTypes]
8228
+ * @param {string} [surfaceTypes]
7663
8229
  * @param {number} [limitPerClub]
7664
8230
  * @param {number} [maxClubs]
7665
8231
  * @param {*} [options] Override http request option.
7666
8232
  * @throws {RequiredError}
7667
8233
  */
7668
- getQuickReservationSlots: (latitude?: number, longitude?: number, radiusInKm?: number, date?: string, sportId?: string, startTime?: string, priceMax?: number, courtTypes?: string, limitPerClub?: number, maxClubs?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8234
+ getQuickReservationSlots: (latitude?: number, longitude?: number, radiusInKm?: number, date?: string, sportId?: string, startTime?: string, priceMax?: number, courtTypes?: string, surfaceTypes?: string, limitPerClub?: number, maxClubs?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7669
8235
  };
7670
8236
  /**
7671
8237
  * BookingsApi - functional programming interface
@@ -7696,12 +8262,13 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
7696
8262
  * @param {string} [startTime]
7697
8263
  * @param {number} [priceMax]
7698
8264
  * @param {string} [courtTypes]
8265
+ * @param {string} [surfaceTypes]
7699
8266
  * @param {number} [limitPerClub]
7700
8267
  * @param {number} [maxClubs]
7701
8268
  * @param {*} [options] Override http request option.
7702
8269
  * @throws {RequiredError}
7703
8270
  */
7704
- getQuickReservationSlots(latitude?: number, longitude?: number, radiusInKm?: number, date?: string, sportId?: string, startTime?: string, priceMax?: number, courtTypes?: string, limitPerClub?: number, maxClubs?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuickReservationResponse>>;
8271
+ getQuickReservationSlots(latitude?: number, longitude?: number, radiusInKm?: number, date?: string, sportId?: string, startTime?: string, priceMax?: number, courtTypes?: string, surfaceTypes?: string, limitPerClub?: number, maxClubs?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuickReservationResponse>>;
7705
8272
  };
7706
8273
  /**
7707
8274
  * BookingsApi - factory interface
@@ -7810,6 +8377,12 @@ export interface BookingsApiGetQuickReservationSlotsRequest {
7810
8377
  * @memberof BookingsApiGetQuickReservationSlots
7811
8378
  */
7812
8379
  readonly courtTypes?: string;
8380
+ /**
8381
+ *
8382
+ * @type {string}
8383
+ * @memberof BookingsApiGetQuickReservationSlots
8384
+ */
8385
+ readonly surfaceTypes?: string;
7813
8386
  /**
7814
8387
  *
7815
8388
  * @type {number}
@@ -12503,7 +13076,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
12503
13076
  * @param {*} [options] Override http request option.
12504
13077
  * @throws {RequiredError}
12505
13078
  */
12506
- getUserBookings(limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BookingSummary>>>;
13079
+ getUserBookings(limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserBookingsResponse>>;
12507
13080
  /**
12508
13081
  *
12509
13082
  * @param {string} id
@@ -12763,7 +13336,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
12763
13336
  * @param {*} [options] Override http request option.
12764
13337
  * @throws {RequiredError}
12765
13338
  */
12766
- getUserBookings(requestParameters?: UsersApiGetUserBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<BookingSummary>>;
13339
+ getUserBookings(requestParameters?: UsersApiGetUserBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserBookingsResponse>;
12767
13340
  /**
12768
13341
  *
12769
13342
  * @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
@@ -13492,7 +14065,7 @@ export declare class UsersApi extends BaseAPI {
13492
14065
  * @throws {RequiredError}
13493
14066
  * @memberof UsersApi
13494
14067
  */
13495
- getUserBookings(requestParameters?: UsersApiGetUserBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingSummary[], any, {}>>;
14068
+ getUserBookings(requestParameters?: UsersApiGetUserBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserBookingsResponse, any, {}>>;
13496
14069
  /**
13497
14070
  *
13498
14071
  * @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.