@tennac-booking/sdk 1.0.143 → 1.0.145

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/api.d.ts CHANGED
@@ -1913,6 +1913,73 @@ export interface ClubAccessSettingsResponse {
1913
1913
  */
1914
1914
  'paymentRequirements': PaymentRequirementsSettings | null;
1915
1915
  }
1916
+ /**
1917
+ *
1918
+ * @export
1919
+ * @interface ClubCustomerSettingsResponse
1920
+ */
1921
+ export interface ClubCustomerSettingsResponse {
1922
+ /**
1923
+ *
1924
+ * @type {string}
1925
+ * @memberof ClubCustomerSettingsResponse
1926
+ */
1927
+ 'userId': string;
1928
+ /**
1929
+ *
1930
+ * @type {string}
1931
+ * @memberof ClubCustomerSettingsResponse
1932
+ */
1933
+ 'clubId': string;
1934
+ /**
1935
+ *
1936
+ * @type {number}
1937
+ * @memberof ClubCustomerSettingsResponse
1938
+ */
1939
+ 'credits': number;
1940
+ /**
1941
+ *
1942
+ * @type {boolean}
1943
+ * @memberof ClubCustomerSettingsResponse
1944
+ */
1945
+ 'isBanned': boolean;
1946
+ /**
1947
+ *
1948
+ * @type {boolean}
1949
+ * @memberof ClubCustomerSettingsResponse
1950
+ */
1951
+ 'isIllimited': boolean;
1952
+ /**
1953
+ *
1954
+ * @type {boolean}
1955
+ * @memberof ClubCustomerSettingsResponse
1956
+ */
1957
+ 'isFree': boolean;
1958
+ /**
1959
+ *
1960
+ * @type {boolean}
1961
+ * @memberof ClubCustomerSettingsResponse
1962
+ */
1963
+ 'isNoShowForced': boolean;
1964
+ /**
1965
+ *
1966
+ * @type {boolean}
1967
+ * @memberof ClubCustomerSettingsResponse
1968
+ */
1969
+ 'paymentMethodSetupCompleted': boolean;
1970
+ /**
1971
+ *
1972
+ * @type {string}
1973
+ * @memberof ClubCustomerSettingsResponse
1974
+ */
1975
+ 'defaultPaymentMethodId': string | null;
1976
+ /**
1977
+ *
1978
+ * @type {Array<string>}
1979
+ * @memberof ClubCustomerSettingsResponse
1980
+ */
1981
+ 'subscriptions': Array<string>;
1982
+ }
1916
1983
  /**
1917
1984
  *
1918
1985
  * @export
@@ -3730,6 +3797,18 @@ export interface CreateBookingRequest {
3730
3797
  * @memberof CreateBookingRequest
3731
3798
  */
3732
3799
  'creditToUseInCents'?: number;
3800
+ /**
3801
+ * Pour créneau ouvert: nombre maximal de joueurs souhaités (incluant le créateur)
3802
+ * @type {number}
3803
+ * @memberof CreateBookingRequest
3804
+ */
3805
+ 'maxPlayersDesired'?: number;
3806
+ /**
3807
+ * Pour créneau ouvert: nombre maximal de joueurs total (incluant le créateur) - alias de maxPlayersDesired
3808
+ * @type {number}
3809
+ * @memberof CreateBookingRequest
3810
+ */
3811
+ 'maxPlayers'?: number;
3733
3812
  }
3734
3813
  /**
3735
3814
  *
@@ -3987,6 +4066,12 @@ export interface CreateEventRequest {
3987
4066
  * @memberof CreateEventRequest
3988
4067
  */
3989
4068
  'sponsors'?: Array<EventSponsor>;
4069
+ /**
4070
+ *
4071
+ * @type {string}
4072
+ * @memberof CreateEventRequest
4073
+ */
4074
+ 'registrationOpeningDate': string;
3990
4075
  /**
3991
4076
  *
3992
4077
  * @type {string}
@@ -4116,6 +4201,43 @@ export interface CreateOnsiteInvoiceResponseInvoice {
4116
4201
  */
4117
4202
  'id': string;
4118
4203
  }
4204
+ /**
4205
+ *
4206
+ * @export
4207
+ * @interface CreateOpenBookingRequest
4208
+ */
4209
+ export interface CreateOpenBookingRequest {
4210
+ /**
4211
+ * ID du créneau à réserver
4212
+ * @type {Array<string>}
4213
+ * @memberof CreateOpenBookingRequest
4214
+ */
4215
+ 'slotIds': Array<string>;
4216
+ /**
4217
+ *
4218
+ * @type {PaymentMethod}
4219
+ * @memberof CreateOpenBookingRequest
4220
+ */
4221
+ 'paymentMethod'?: PaymentMethod;
4222
+ /**
4223
+ * Indique si l\'utilisateur veut utiliser sa méthode de paiement par défaut
4224
+ * @type {boolean}
4225
+ * @memberof CreateOpenBookingRequest
4226
+ */
4227
+ 'useDefaultPaymentMethod'?: boolean;
4228
+ /**
4229
+ * Crédit à utiliser en centimes
4230
+ * @type {number}
4231
+ * @memberof CreateOpenBookingRequest
4232
+ */
4233
+ 'creditToUseInCents'?: number;
4234
+ /**
4235
+ * Nombre maximal de joueurs souhaités (incluant le créateur)
4236
+ * @type {number}
4237
+ * @memberof CreateOpenBookingRequest
4238
+ */
4239
+ 'maxPlayers': number;
4240
+ }
4119
4241
  /**
4120
4242
  *
4121
4243
  * @export
@@ -5078,6 +5200,12 @@ export interface EventResponse {
5078
5200
  * @memberof EventResponse
5079
5201
  */
5080
5202
  'sponsors'?: Array<EventSponsor>;
5203
+ /**
5204
+ *
5205
+ * @type {string}
5206
+ * @memberof EventResponse
5207
+ */
5208
+ 'registrationOpeningDate': string;
5081
5209
  /**
5082
5210
  *
5083
5211
  * @type {string}
@@ -5504,6 +5632,32 @@ export interface GetInfillPercentagePerPeriod200Response {
5504
5632
  */
5505
5633
  'infillPercentage': number;
5506
5634
  }
5635
+ /**
5636
+ *
5637
+ * @export
5638
+ * @interface GetOpenBookings200Response
5639
+ */
5640
+ export interface GetOpenBookings200Response {
5641
+ /**
5642
+ *
5643
+ * @type {Array<BookingInfo>}
5644
+ * @memberof GetOpenBookings200Response
5645
+ */
5646
+ 'bookings': Array<BookingInfo>;
5647
+ }
5648
+ /**
5649
+ *
5650
+ * @export
5651
+ * @interface GetOpenEventBookings200Response
5652
+ */
5653
+ export interface GetOpenEventBookings200Response {
5654
+ /**
5655
+ *
5656
+ * @type {Array<EventBookingResponse>}
5657
+ * @memberof GetOpenEventBookings200Response
5658
+ */
5659
+ 'eventBookings': Array<EventBookingResponse>;
5660
+ }
5507
5661
  /**
5508
5662
  *
5509
5663
  * @export
@@ -6290,6 +6444,12 @@ export interface JoinEventRequest {
6290
6444
  * @memberof JoinEventRequest
6291
6445
  */
6292
6446
  'players'?: Array<string>;
6447
+ /**
6448
+ *
6449
+ * @type {boolean}
6450
+ * @memberof JoinEventRequest
6451
+ */
6452
+ 'isOpen'?: boolean;
6293
6453
  /**
6294
6454
  *
6295
6455
  * @type {boolean}
@@ -6436,6 +6596,103 @@ export interface JoinEventResponseOnsitePaymentsInner {
6436
6596
  */
6437
6597
  'playerId': string;
6438
6598
  }
6599
+ /**
6600
+ *
6601
+ * @export
6602
+ * @interface JoinOpenBookingResponse
6603
+ */
6604
+ export interface JoinOpenBookingResponse {
6605
+ /**
6606
+ *
6607
+ * @type {string}
6608
+ * @memberof JoinOpenBookingResponse
6609
+ */
6610
+ 'message': string;
6611
+ /**
6612
+ *
6613
+ * @type {string}
6614
+ * @memberof JoinOpenBookingResponse
6615
+ */
6616
+ 'invoiceUrl'?: string;
6617
+ /**
6618
+ * Construct a type with a set of properties K of type T
6619
+ * @type {{ [key: string]: string; }}
6620
+ * @memberof JoinOpenBookingResponse
6621
+ */
6622
+ 'paymentLinks'?: {
6623
+ [key: string]: string;
6624
+ };
6625
+ /**
6626
+ *
6627
+ * @type {Array<BookingResponseOnsitePaymentsInner>}
6628
+ * @memberof JoinOpenBookingResponse
6629
+ */
6630
+ 'onsitePayments'?: Array<BookingResponseOnsitePaymentsInner>;
6631
+ /**
6632
+ *
6633
+ * @type {Array<CheckInEventParticipants200ResponseInvoicesInner>}
6634
+ * @memberof JoinOpenBookingResponse
6635
+ */
6636
+ 'invoices'?: Array<CheckInEventParticipants200ResponseInvoicesInner>;
6637
+ }
6638
+ /**
6639
+ *
6640
+ * @export
6641
+ * @interface JoinOpenEventBookingRequest
6642
+ */
6643
+ export interface JoinOpenEventBookingRequest {
6644
+ /**
6645
+ *
6646
+ * @type {number}
6647
+ * @memberof JoinOpenEventBookingRequest
6648
+ */
6649
+ 'creditToUseInCents'?: number;
6650
+ /**
6651
+ *
6652
+ * @type {boolean}
6653
+ * @memberof JoinOpenEventBookingRequest
6654
+ */
6655
+ 'useDefaultPaymentMethod'?: boolean;
6656
+ /**
6657
+ *
6658
+ * @type {PaymentMethod}
6659
+ * @memberof JoinOpenEventBookingRequest
6660
+ */
6661
+ 'paymentMethod'?: PaymentMethod;
6662
+ }
6663
+ /**
6664
+ *
6665
+ * @export
6666
+ * @interface JoinOpenEventResponse
6667
+ */
6668
+ export interface JoinOpenEventResponse {
6669
+ /**
6670
+ *
6671
+ * @type {string}
6672
+ * @memberof JoinOpenEventResponse
6673
+ */
6674
+ 'message': string;
6675
+ /**
6676
+ *
6677
+ * @type {EventResponse}
6678
+ * @memberof JoinOpenEventResponse
6679
+ */
6680
+ 'event': EventResponse;
6681
+ /**
6682
+ * Construct a type with a set of properties K of type T
6683
+ * @type {{ [key: string]: string; }}
6684
+ * @memberof JoinOpenEventResponse
6685
+ */
6686
+ 'paymentLinks'?: {
6687
+ [key: string]: string;
6688
+ };
6689
+ /**
6690
+ *
6691
+ * @type {Array<CheckInEventParticipants200ResponseInvoicesInner>}
6692
+ * @memberof JoinOpenEventResponse
6693
+ */
6694
+ 'invoices'?: Array<CheckInEventParticipants200ResponseInvoicesInner>;
6695
+ }
6439
6696
  /**
6440
6697
  *
6441
6698
  * @export
@@ -10353,6 +10610,12 @@ export interface UpdateEventRequest {
10353
10610
  * @memberof UpdateEventRequest
10354
10611
  */
10355
10612
  'levels'?: Array<string | null>;
10613
+ /**
10614
+ *
10615
+ * @type {string}
10616
+ * @memberof UpdateEventRequest
10617
+ */
10618
+ 'registrationOpeningDate'?: string;
10356
10619
  /**
10357
10620
  *
10358
10621
  * @type {Array<EventSponsor>}
@@ -11654,6 +11917,13 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
11654
11917
  * @throws {RequiredError}
11655
11918
  */
11656
11919
  getBookingPrice: (bookingPriceBody: BookingPriceBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11920
+ /**
11921
+ *
11922
+ * @param {string} [clubId]
11923
+ * @param {*} [options] Override http request option.
11924
+ * @throws {RequiredError}
11925
+ */
11926
+ getOpenBookings: (clubId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11657
11927
  /**
11658
11928
  * Recherche des créneaux disponibles pour une réservation rapide
11659
11929
  * @param {number} [latitude]
@@ -11671,6 +11941,21 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
11671
11941
  * @throws {RequiredError}
11672
11942
  */
11673
11943
  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>;
11944
+ /**
11945
+ *
11946
+ * @param {string} bookingId
11947
+ * @param {JoinOpenEventBookingRequest} joinOpenEventBookingRequest
11948
+ * @param {*} [options] Override http request option.
11949
+ * @throws {RequiredError}
11950
+ */
11951
+ joinOpenBooking: (bookingId: string, joinOpenEventBookingRequest: JoinOpenEventBookingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11952
+ /**
11953
+ *
11954
+ * @param {string} bookingId
11955
+ * @param {*} [options] Override http request option.
11956
+ * @throws {RequiredError}
11957
+ */
11958
+ leaveOpenBooking: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11674
11959
  };
11675
11960
  /**
11676
11961
  * BookingsApi - functional programming interface
@@ -11691,6 +11976,13 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
11691
11976
  * @throws {RequiredError}
11692
11977
  */
11693
11978
  getBookingPrice(bookingPriceBody: BookingPriceBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingPriceResponse>>;
11979
+ /**
11980
+ *
11981
+ * @param {string} [clubId]
11982
+ * @param {*} [options] Override http request option.
11983
+ * @throws {RequiredError}
11984
+ */
11985
+ getOpenBookings(clubId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOpenBookings200Response>>;
11694
11986
  /**
11695
11987
  * Recherche des créneaux disponibles pour une réservation rapide
11696
11988
  * @param {number} [latitude]
@@ -11708,6 +12000,21 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
11708
12000
  * @throws {RequiredError}
11709
12001
  */
11710
12002
  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>>;
12003
+ /**
12004
+ *
12005
+ * @param {string} bookingId
12006
+ * @param {JoinOpenEventBookingRequest} joinOpenEventBookingRequest
12007
+ * @param {*} [options] Override http request option.
12008
+ * @throws {RequiredError}
12009
+ */
12010
+ joinOpenBooking(bookingId: string, joinOpenEventBookingRequest: JoinOpenEventBookingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinOpenBookingResponse>>;
12011
+ /**
12012
+ *
12013
+ * @param {string} bookingId
12014
+ * @param {*} [options] Override http request option.
12015
+ * @throws {RequiredError}
12016
+ */
12017
+ leaveOpenBooking(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>>;
11711
12018
  };
11712
12019
  /**
11713
12020
  * BookingsApi - factory interface
@@ -11728,6 +12035,13 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
11728
12035
  * @throws {RequiredError}
11729
12036
  */
11730
12037
  getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingPriceResponse>;
12038
+ /**
12039
+ *
12040
+ * @param {BookingsApiGetOpenBookingsRequest} requestParameters Request parameters.
12041
+ * @param {*} [options] Override http request option.
12042
+ * @throws {RequiredError}
12043
+ */
12044
+ getOpenBookings(requestParameters?: BookingsApiGetOpenBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetOpenBookings200Response>;
11731
12045
  /**
11732
12046
  * Recherche des créneaux disponibles pour une réservation rapide
11733
12047
  * @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
@@ -11735,6 +12049,20 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
11735
12049
  * @throws {RequiredError}
11736
12050
  */
11737
12051
  getQuickReservationSlots(requestParameters?: BookingsApiGetQuickReservationSlotsRequest, options?: RawAxiosRequestConfig): AxiosPromise<QuickReservationResponse>;
12052
+ /**
12053
+ *
12054
+ * @param {BookingsApiJoinOpenBookingRequest} requestParameters Request parameters.
12055
+ * @param {*} [options] Override http request option.
12056
+ * @throws {RequiredError}
12057
+ */
12058
+ joinOpenBooking(requestParameters: BookingsApiJoinOpenBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinOpenBookingResponse>;
12059
+ /**
12060
+ *
12061
+ * @param {BookingsApiLeaveOpenBookingRequest} requestParameters Request parameters.
12062
+ * @param {*} [options] Override http request option.
12063
+ * @throws {RequiredError}
12064
+ */
12065
+ leaveOpenBooking(requestParameters: BookingsApiLeaveOpenBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response>;
11738
12066
  };
11739
12067
  /**
11740
12068
  * Request parameters for getBookingHistory operation in BookingsApi.
@@ -11763,15 +12091,28 @@ export interface BookingsApiGetBookingPriceRequest {
11763
12091
  readonly bookingPriceBody: BookingPriceBody;
11764
12092
  }
11765
12093
  /**
11766
- * Request parameters for getQuickReservationSlots operation in BookingsApi.
12094
+ * Request parameters for getOpenBookings operation in BookingsApi.
11767
12095
  * @export
11768
- * @interface BookingsApiGetQuickReservationSlotsRequest
12096
+ * @interface BookingsApiGetOpenBookingsRequest
11769
12097
  */
11770
- export interface BookingsApiGetQuickReservationSlotsRequest {
12098
+ export interface BookingsApiGetOpenBookingsRequest {
11771
12099
  /**
11772
12100
  *
11773
- * @type {number}
11774
- * @memberof BookingsApiGetQuickReservationSlots
12101
+ * @type {string}
12102
+ * @memberof BookingsApiGetOpenBookings
12103
+ */
12104
+ readonly clubId?: string;
12105
+ }
12106
+ /**
12107
+ * Request parameters for getQuickReservationSlots operation in BookingsApi.
12108
+ * @export
12109
+ * @interface BookingsApiGetQuickReservationSlotsRequest
12110
+ */
12111
+ export interface BookingsApiGetQuickReservationSlotsRequest {
12112
+ /**
12113
+ *
12114
+ * @type {number}
12115
+ * @memberof BookingsApiGetQuickReservationSlots
11775
12116
  */
11776
12117
  readonly latitude?: number;
11777
12118
  /**
@@ -11835,6 +12176,38 @@ export interface BookingsApiGetQuickReservationSlotsRequest {
11835
12176
  */
11836
12177
  readonly maxClubs?: number;
11837
12178
  }
12179
+ /**
12180
+ * Request parameters for joinOpenBooking operation in BookingsApi.
12181
+ * @export
12182
+ * @interface BookingsApiJoinOpenBookingRequest
12183
+ */
12184
+ export interface BookingsApiJoinOpenBookingRequest {
12185
+ /**
12186
+ *
12187
+ * @type {string}
12188
+ * @memberof BookingsApiJoinOpenBooking
12189
+ */
12190
+ readonly bookingId: string;
12191
+ /**
12192
+ *
12193
+ * @type {JoinOpenEventBookingRequest}
12194
+ * @memberof BookingsApiJoinOpenBooking
12195
+ */
12196
+ readonly joinOpenEventBookingRequest: JoinOpenEventBookingRequest;
12197
+ }
12198
+ /**
12199
+ * Request parameters for leaveOpenBooking operation in BookingsApi.
12200
+ * @export
12201
+ * @interface BookingsApiLeaveOpenBookingRequest
12202
+ */
12203
+ export interface BookingsApiLeaveOpenBookingRequest {
12204
+ /**
12205
+ *
12206
+ * @type {string}
12207
+ * @memberof BookingsApiLeaveOpenBooking
12208
+ */
12209
+ readonly bookingId: string;
12210
+ }
11838
12211
  /**
11839
12212
  * BookingsApi - object-oriented interface
11840
12213
  * @export
@@ -11858,6 +12231,14 @@ export declare class BookingsApi extends BaseAPI {
11858
12231
  * @memberof BookingsApi
11859
12232
  */
11860
12233
  getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingPriceResponse, any, {}>>;
12234
+ /**
12235
+ *
12236
+ * @param {BookingsApiGetOpenBookingsRequest} requestParameters Request parameters.
12237
+ * @param {*} [options] Override http request option.
12238
+ * @throws {RequiredError}
12239
+ * @memberof BookingsApi
12240
+ */
12241
+ getOpenBookings(requestParameters?: BookingsApiGetOpenBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOpenBookings200Response, any, {}>>;
11861
12242
  /**
11862
12243
  * Recherche des créneaux disponibles pour une réservation rapide
11863
12244
  * @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
@@ -11866,6 +12247,22 @@ export declare class BookingsApi extends BaseAPI {
11866
12247
  * @memberof BookingsApi
11867
12248
  */
11868
12249
  getQuickReservationSlots(requestParameters?: BookingsApiGetQuickReservationSlotsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<QuickReservationResponse, any, {}>>;
12250
+ /**
12251
+ *
12252
+ * @param {BookingsApiJoinOpenBookingRequest} requestParameters Request parameters.
12253
+ * @param {*} [options] Override http request option.
12254
+ * @throws {RequiredError}
12255
+ * @memberof BookingsApi
12256
+ */
12257
+ joinOpenBooking(requestParameters: BookingsApiJoinOpenBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JoinOpenBookingResponse, any, {}>>;
12258
+ /**
12259
+ *
12260
+ * @param {BookingsApiLeaveOpenBookingRequest} requestParameters Request parameters.
12261
+ * @param {*} [options] Override http request option.
12262
+ * @throws {RequiredError}
12263
+ * @memberof BookingsApi
12264
+ */
12265
+ leaveOpenBooking(requestParameters: BookingsApiLeaveOpenBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestPasswordReset200Response, any, {}>>;
11869
12266
  }
11870
12267
  /**
11871
12268
  * BookingsManagerApi - axios parameter creator
@@ -12406,6 +12803,13 @@ export declare const BookingsUserApiAxiosParamCreator: (configuration?: Configur
12406
12803
  * @throws {RequiredError}
12407
12804
  */
12408
12805
  createBooking: (createBookingRequest: CreateBookingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12806
+ /**
12807
+ * Créer une réservation ouverte (open slot)
12808
+ * @param {CreateOpenBookingRequest} createOpenBookingRequest
12809
+ * @param {*} [options] Override http request option.
12810
+ * @throws {RequiredError}
12811
+ */
12812
+ createOpenBooking: (createOpenBookingRequest: CreateOpenBookingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12409
12813
  };
12410
12814
  /**
12411
12815
  * BookingsUserApi - functional programming interface
@@ -12426,6 +12830,13 @@ export declare const BookingsUserApiFp: (configuration?: Configuration) => {
12426
12830
  * @throws {RequiredError}
12427
12831
  */
12428
12832
  createBooking(createBookingRequest: CreateBookingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponse>>;
12833
+ /**
12834
+ * Créer une réservation ouverte (open slot)
12835
+ * @param {CreateOpenBookingRequest} createOpenBookingRequest
12836
+ * @param {*} [options] Override http request option.
12837
+ * @throws {RequiredError}
12838
+ */
12839
+ createOpenBooking(createOpenBookingRequest: CreateOpenBookingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponse>>;
12429
12840
  };
12430
12841
  /**
12431
12842
  * BookingsUserApi - factory interface
@@ -12446,6 +12857,13 @@ export declare const BookingsUserApiFactory: (configuration?: Configuration, bas
12446
12857
  * @throws {RequiredError}
12447
12858
  */
12448
12859
  createBooking(requestParameters: BookingsUserApiCreateBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponse>;
12860
+ /**
12861
+ * Créer une réservation ouverte (open slot)
12862
+ * @param {BookingsUserApiCreateOpenBookingRequest} requestParameters Request parameters.
12863
+ * @param {*} [options] Override http request option.
12864
+ * @throws {RequiredError}
12865
+ */
12866
+ createOpenBooking(requestParameters: BookingsUserApiCreateOpenBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponse>;
12449
12867
  };
12450
12868
  /**
12451
12869
  * Request parameters for cancelBooking operation in BookingsUserApi.
@@ -12473,6 +12891,19 @@ export interface BookingsUserApiCreateBookingRequest {
12473
12891
  */
12474
12892
  readonly createBookingRequest: CreateBookingRequest;
12475
12893
  }
12894
+ /**
12895
+ * Request parameters for createOpenBooking operation in BookingsUserApi.
12896
+ * @export
12897
+ * @interface BookingsUserApiCreateOpenBookingRequest
12898
+ */
12899
+ export interface BookingsUserApiCreateOpenBookingRequest {
12900
+ /**
12901
+ *
12902
+ * @type {CreateOpenBookingRequest}
12903
+ * @memberof BookingsUserApiCreateOpenBooking
12904
+ */
12905
+ readonly createOpenBookingRequest: CreateOpenBookingRequest;
12906
+ }
12476
12907
  /**
12477
12908
  * BookingsUserApi - object-oriented interface
12478
12909
  * @export
@@ -12496,6 +12927,14 @@ export declare class BookingsUserApi extends BaseAPI {
12496
12927
  * @memberof BookingsUserApi
12497
12928
  */
12498
12929
  createBooking(requestParameters: BookingsUserApiCreateBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingResponse, any, {}>>;
12930
+ /**
12931
+ * Créer une réservation ouverte (open slot)
12932
+ * @param {BookingsUserApiCreateOpenBookingRequest} requestParameters Request parameters.
12933
+ * @param {*} [options] Override http request option.
12934
+ * @throws {RequiredError}
12935
+ * @memberof BookingsUserApi
12936
+ */
12937
+ createOpenBooking(requestParameters: BookingsUserApiCreateOpenBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingResponse, any, {}>>;
12499
12938
  }
12500
12939
  /**
12501
12940
  * ClientApi - axios parameter creator
@@ -13685,6 +14124,175 @@ export declare class ClubAnalyticsStaffApi extends BaseAPI {
13685
14124
  */
13686
14125
  getYearlyTurnOver(requestParameters: ClubAnalyticsStaffApiGetYearlyTurnOverRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<YearlyTurnoverResponse, any, {}>>;
13687
14126
  }
14127
+ /**
14128
+ * ClubCustomerMeApi - axios parameter creator
14129
+ * @export
14130
+ */
14131
+ export declare const ClubCustomerMeApiAxiosParamCreator: (configuration?: Configuration) => {
14132
+ /**
14133
+ *
14134
+ * @param {*} [options] Override http request option.
14135
+ * @throws {RequiredError}
14136
+ */
14137
+ getClubCustomerSettingsByPlayerId: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14138
+ };
14139
+ /**
14140
+ * ClubCustomerMeApi - functional programming interface
14141
+ * @export
14142
+ */
14143
+ export declare const ClubCustomerMeApiFp: (configuration?: Configuration) => {
14144
+ /**
14145
+ *
14146
+ * @param {*} [options] Override http request option.
14147
+ * @throws {RequiredError}
14148
+ */
14149
+ getClubCustomerSettingsByPlayerId(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubCustomerSettingsResponse>>;
14150
+ };
14151
+ /**
14152
+ * ClubCustomerMeApi - factory interface
14153
+ * @export
14154
+ */
14155
+ export declare const ClubCustomerMeApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
14156
+ /**
14157
+ *
14158
+ * @param {*} [options] Override http request option.
14159
+ * @throws {RequiredError}
14160
+ */
14161
+ getClubCustomerSettingsByPlayerId(options?: RawAxiosRequestConfig): AxiosPromise<ClubCustomerSettingsResponse>;
14162
+ };
14163
+ /**
14164
+ * ClubCustomerMeApi - object-oriented interface
14165
+ * @export
14166
+ * @class ClubCustomerMeApi
14167
+ * @extends {BaseAPI}
14168
+ */
14169
+ export declare class ClubCustomerMeApi extends BaseAPI {
14170
+ /**
14171
+ *
14172
+ * @param {*} [options] Override http request option.
14173
+ * @throws {RequiredError}
14174
+ * @memberof ClubCustomerMeApi
14175
+ */
14176
+ getClubCustomerSettingsByPlayerId(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubCustomerSettingsResponse, any, {}>>;
14177
+ }
14178
+ /**
14179
+ * ClubCustomerStaffApi - axios parameter creator
14180
+ * @export
14181
+ */
14182
+ export declare const ClubCustomerStaffApiAxiosParamCreator: (configuration?: Configuration) => {
14183
+ /**
14184
+ *
14185
+ * @param {string} userId
14186
+ * @param {*} [options] Override http request option.
14187
+ * @throws {RequiredError}
14188
+ */
14189
+ getClubCustomerSettings: (userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14190
+ /**
14191
+ *
14192
+ * @param {string} userId
14193
+ * @param {ClubCustomerSettingsResponse} clubCustomerSettingsResponse
14194
+ * @param {*} [options] Override http request option.
14195
+ * @throws {RequiredError}
14196
+ */
14197
+ updateClubCustomerSettings: (userId: string, clubCustomerSettingsResponse: ClubCustomerSettingsResponse, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14198
+ };
14199
+ /**
14200
+ * ClubCustomerStaffApi - functional programming interface
14201
+ * @export
14202
+ */
14203
+ export declare const ClubCustomerStaffApiFp: (configuration?: Configuration) => {
14204
+ /**
14205
+ *
14206
+ * @param {string} userId
14207
+ * @param {*} [options] Override http request option.
14208
+ * @throws {RequiredError}
14209
+ */
14210
+ getClubCustomerSettings(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubCustomerSettingsResponse>>;
14211
+ /**
14212
+ *
14213
+ * @param {string} userId
14214
+ * @param {ClubCustomerSettingsResponse} clubCustomerSettingsResponse
14215
+ * @param {*} [options] Override http request option.
14216
+ * @throws {RequiredError}
14217
+ */
14218
+ updateClubCustomerSettings(userId: string, clubCustomerSettingsResponse: ClubCustomerSettingsResponse, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubCustomerSettingsResponse>>;
14219
+ };
14220
+ /**
14221
+ * ClubCustomerStaffApi - factory interface
14222
+ * @export
14223
+ */
14224
+ export declare const ClubCustomerStaffApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
14225
+ /**
14226
+ *
14227
+ * @param {ClubCustomerStaffApiGetClubCustomerSettingsRequest} requestParameters Request parameters.
14228
+ * @param {*} [options] Override http request option.
14229
+ * @throws {RequiredError}
14230
+ */
14231
+ getClubCustomerSettings(requestParameters: ClubCustomerStaffApiGetClubCustomerSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubCustomerSettingsResponse>;
14232
+ /**
14233
+ *
14234
+ * @param {ClubCustomerStaffApiUpdateClubCustomerSettingsRequest} requestParameters Request parameters.
14235
+ * @param {*} [options] Override http request option.
14236
+ * @throws {RequiredError}
14237
+ */
14238
+ updateClubCustomerSettings(requestParameters: ClubCustomerStaffApiUpdateClubCustomerSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubCustomerSettingsResponse>;
14239
+ };
14240
+ /**
14241
+ * Request parameters for getClubCustomerSettings operation in ClubCustomerStaffApi.
14242
+ * @export
14243
+ * @interface ClubCustomerStaffApiGetClubCustomerSettingsRequest
14244
+ */
14245
+ export interface ClubCustomerStaffApiGetClubCustomerSettingsRequest {
14246
+ /**
14247
+ *
14248
+ * @type {string}
14249
+ * @memberof ClubCustomerStaffApiGetClubCustomerSettings
14250
+ */
14251
+ readonly userId: string;
14252
+ }
14253
+ /**
14254
+ * Request parameters for updateClubCustomerSettings operation in ClubCustomerStaffApi.
14255
+ * @export
14256
+ * @interface ClubCustomerStaffApiUpdateClubCustomerSettingsRequest
14257
+ */
14258
+ export interface ClubCustomerStaffApiUpdateClubCustomerSettingsRequest {
14259
+ /**
14260
+ *
14261
+ * @type {string}
14262
+ * @memberof ClubCustomerStaffApiUpdateClubCustomerSettings
14263
+ */
14264
+ readonly userId: string;
14265
+ /**
14266
+ *
14267
+ * @type {ClubCustomerSettingsResponse}
14268
+ * @memberof ClubCustomerStaffApiUpdateClubCustomerSettings
14269
+ */
14270
+ readonly clubCustomerSettingsResponse: ClubCustomerSettingsResponse;
14271
+ }
14272
+ /**
14273
+ * ClubCustomerStaffApi - object-oriented interface
14274
+ * @export
14275
+ * @class ClubCustomerStaffApi
14276
+ * @extends {BaseAPI}
14277
+ */
14278
+ export declare class ClubCustomerStaffApi extends BaseAPI {
14279
+ /**
14280
+ *
14281
+ * @param {ClubCustomerStaffApiGetClubCustomerSettingsRequest} requestParameters Request parameters.
14282
+ * @param {*} [options] Override http request option.
14283
+ * @throws {RequiredError}
14284
+ * @memberof ClubCustomerStaffApi
14285
+ */
14286
+ getClubCustomerSettings(requestParameters: ClubCustomerStaffApiGetClubCustomerSettingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubCustomerSettingsResponse, any, {}>>;
14287
+ /**
14288
+ *
14289
+ * @param {ClubCustomerStaffApiUpdateClubCustomerSettingsRequest} requestParameters Request parameters.
14290
+ * @param {*} [options] Override http request option.
14291
+ * @throws {RequiredError}
14292
+ * @memberof ClubCustomerStaffApi
14293
+ */
14294
+ updateClubCustomerSettings(requestParameters: ClubCustomerStaffApiUpdateClubCustomerSettingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubCustomerSettingsResponse, any, {}>>;
14295
+ }
13688
14296
  /**
13689
14297
  * ClubRolesManagerApi - axios parameter creator
13690
14298
  * @export
@@ -14524,6 +15132,13 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
14524
15132
  * @throws {RequiredError}
14525
15133
  */
14526
15134
  getCourtsByClubAndSportById: (id: string, sportId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15135
+ /**
15136
+ * Récupère les informations publiques d\'un club en fonction de son ID
15137
+ * @param {string} clubId
15138
+ * @param {*} [options] Override http request option.
15139
+ * @throws {RequiredError}
15140
+ */
15141
+ getPublicClubInfo: (clubId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14527
15142
  /**
14528
15143
  *
14529
15144
  * @param {string} id
@@ -14628,6 +15243,13 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
14628
15243
  * @throws {RequiredError}
14629
15244
  */
14630
15245
  getCourtsByClubAndSportById(id: string, sportId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCourtsByClubAndSportById200Response>>;
15246
+ /**
15247
+ * Récupère les informations publiques d\'un club en fonction de son ID
15248
+ * @param {string} clubId
15249
+ * @param {*} [options] Override http request option.
15250
+ * @throws {RequiredError}
15251
+ */
15252
+ getPublicClubInfo(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubResponse>>;
14631
15253
  /**
14632
15254
  *
14633
15255
  * @param {string} id
@@ -14728,6 +15350,13 @@ export declare const ClubsApiFactory: (configuration?: Configuration, basePath?:
14728
15350
  * @throws {RequiredError}
14729
15351
  */
14730
15352
  getCourtsByClubAndSportById(requestParameters: ClubsApiGetCourtsByClubAndSportByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetCourtsByClubAndSportById200Response>;
15353
+ /**
15354
+ * Récupère les informations publiques d\'un club en fonction de son ID
15355
+ * @param {ClubsApiGetPublicClubInfoRequest} requestParameters Request parameters.
15356
+ * @param {*} [options] Override http request option.
15357
+ * @throws {RequiredError}
15358
+ */
15359
+ getPublicClubInfo(requestParameters: ClubsApiGetPublicClubInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubResponse>;
14731
15360
  /**
14732
15361
  *
14733
15362
  * @param {ClubsApiGetPublishedActualitiesRequest} requestParameters Request parameters.
@@ -14865,6 +15494,19 @@ export interface ClubsApiGetCourtsByClubAndSportByIdRequest {
14865
15494
  */
14866
15495
  readonly sportId: string;
14867
15496
  }
15497
+ /**
15498
+ * Request parameters for getPublicClubInfo operation in ClubsApi.
15499
+ * @export
15500
+ * @interface ClubsApiGetPublicClubInfoRequest
15501
+ */
15502
+ export interface ClubsApiGetPublicClubInfoRequest {
15503
+ /**
15504
+ *
15505
+ * @type {string}
15506
+ * @memberof ClubsApiGetPublicClubInfo
15507
+ */
15508
+ readonly clubId: string;
15509
+ }
14868
15510
  /**
14869
15511
  * Request parameters for getPublishedActualities operation in ClubsApi.
14870
15512
  * @export
@@ -14995,6 +15637,14 @@ export declare class ClubsApi extends BaseAPI {
14995
15637
  * @memberof ClubsApi
14996
15638
  */
14997
15639
  getCourtsByClubAndSportById(requestParameters: ClubsApiGetCourtsByClubAndSportByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCourtsByClubAndSportById200Response, any, {}>>;
15640
+ /**
15641
+ * Récupère les informations publiques d\'un club en fonction de son ID
15642
+ * @param {ClubsApiGetPublicClubInfoRequest} requestParameters Request parameters.
15643
+ * @param {*} [options] Override http request option.
15644
+ * @throws {RequiredError}
15645
+ * @memberof ClubsApi
15646
+ */
15647
+ getPublicClubInfo(requestParameters: ClubsApiGetPublicClubInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubResponse, any, {}>>;
14998
15648
  /**
14999
15649
  *
15000
15650
  * @param {ClubsApiGetPublishedActualitiesRequest} requestParameters Request parameters.
@@ -16481,6 +17131,14 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
16481
17131
  * @throws {RequiredError}
16482
17132
  */
16483
17133
  getEventById: (eventId: string, userId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17134
+ /**
17135
+ *
17136
+ * @param {string} [clubId]
17137
+ * @param {string} [eventId]
17138
+ * @param {*} [options] Override http request option.
17139
+ * @throws {RequiredError}
17140
+ */
17141
+ getOpenEventBookings: (clubId?: string, eventId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16484
17142
  /**
16485
17143
  * Get all published events for a club
16486
17144
  * @param {string} [clubId]
@@ -16499,6 +17157,14 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
16499
17157
  * @throws {RequiredError}
16500
17158
  */
16501
17159
  joinEvent: (eventId: string, joinEventRequest: JoinEventRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17160
+ /**
17161
+ *
17162
+ * @param {string} eventBookingId
17163
+ * @param {JoinOpenEventBookingRequest} joinOpenEventBookingRequest
17164
+ * @param {*} [options] Override http request option.
17165
+ * @throws {RequiredError}
17166
+ */
17167
+ joinOpenEventBooking: (eventBookingId: string, joinOpenEventBookingRequest: JoinOpenEventBookingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16502
17168
  /**
16503
17169
  * Leave an event (user)
16504
17170
  * @param {string} eventId
@@ -16506,6 +17172,13 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
16506
17172
  * @throws {RequiredError}
16507
17173
  */
16508
17174
  leaveEvent: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17175
+ /**
17176
+ *
17177
+ * @param {string} eventBookingId
17178
+ * @param {*} [options] Override http request option.
17179
+ * @throws {RequiredError}
17180
+ */
17181
+ leaveOpenEventBooking: (eventBookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16509
17182
  };
16510
17183
  /**
16511
17184
  * EventsApi - functional programming interface
@@ -16536,6 +17209,14 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
16536
17209
  * @throws {RequiredError}
16537
17210
  */
16538
17211
  getEventById(eventId: string, userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>>;
17212
+ /**
17213
+ *
17214
+ * @param {string} [clubId]
17215
+ * @param {string} [eventId]
17216
+ * @param {*} [options] Override http request option.
17217
+ * @throws {RequiredError}
17218
+ */
17219
+ getOpenEventBookings(clubId?: string, eventId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOpenEventBookings200Response>>;
16539
17220
  /**
16540
17221
  * Get all published events for a club
16541
17222
  * @param {string} [clubId]
@@ -16554,6 +17235,14 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
16554
17235
  * @throws {RequiredError}
16555
17236
  */
16556
17237
  joinEvent(eventId: string, joinEventRequest: JoinEventRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinEventResponse>>;
17238
+ /**
17239
+ *
17240
+ * @param {string} eventBookingId
17241
+ * @param {JoinOpenEventBookingRequest} joinOpenEventBookingRequest
17242
+ * @param {*} [options] Override http request option.
17243
+ * @throws {RequiredError}
17244
+ */
17245
+ joinOpenEventBooking(eventBookingId: string, joinOpenEventBookingRequest: JoinOpenEventBookingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinOpenEventResponse>>;
16557
17246
  /**
16558
17247
  * Leave an event (user)
16559
17248
  * @param {string} eventId
@@ -16561,6 +17250,13 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
16561
17250
  * @throws {RequiredError}
16562
17251
  */
16563
17252
  leaveEvent(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinEventResponse>>;
17253
+ /**
17254
+ *
17255
+ * @param {string} eventBookingId
17256
+ * @param {*} [options] Override http request option.
17257
+ * @throws {RequiredError}
17258
+ */
17259
+ leaveOpenEventBooking(eventBookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>>;
16564
17260
  };
16565
17261
  /**
16566
17262
  * EventsApi - factory interface
@@ -16588,6 +17284,13 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
16588
17284
  * @throws {RequiredError}
16589
17285
  */
16590
17286
  getEventById(requestParameters: EventsApiGetEventByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublishEventResponse>;
17287
+ /**
17288
+ *
17289
+ * @param {EventsApiGetOpenEventBookingsRequest} requestParameters Request parameters.
17290
+ * @param {*} [options] Override http request option.
17291
+ * @throws {RequiredError}
17292
+ */
17293
+ getOpenEventBookings(requestParameters?: EventsApiGetOpenEventBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetOpenEventBookings200Response>;
16591
17294
  /**
16592
17295
  * Get all published events for a club
16593
17296
  * @param {EventsApiGetPublishedEventsByClubIdRequest} requestParameters Request parameters.
@@ -16602,6 +17305,13 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
16602
17305
  * @throws {RequiredError}
16603
17306
  */
16604
17307
  joinEvent(requestParameters: EventsApiJoinEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinEventResponse>;
17308
+ /**
17309
+ *
17310
+ * @param {EventsApiJoinOpenEventBookingRequest} requestParameters Request parameters.
17311
+ * @param {*} [options] Override http request option.
17312
+ * @throws {RequiredError}
17313
+ */
17314
+ joinOpenEventBooking(requestParameters: EventsApiJoinOpenEventBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinOpenEventResponse>;
16605
17315
  /**
16606
17316
  * Leave an event (user)
16607
17317
  * @param {EventsApiLeaveEventRequest} requestParameters Request parameters.
@@ -16609,6 +17319,13 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
16609
17319
  * @throws {RequiredError}
16610
17320
  */
16611
17321
  leaveEvent(requestParameters: EventsApiLeaveEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinEventResponse>;
17322
+ /**
17323
+ *
17324
+ * @param {EventsApiLeaveOpenEventBookingRequest} requestParameters Request parameters.
17325
+ * @param {*} [options] Override http request option.
17326
+ * @throws {RequiredError}
17327
+ */
17328
+ leaveOpenEventBooking(requestParameters: EventsApiLeaveOpenEventBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response>;
16612
17329
  };
16613
17330
  /**
16614
17331
  * Request parameters for checkTeamNameAvailability operation in EventsApi.
@@ -16667,6 +17384,25 @@ export interface EventsApiGetEventByIdRequest {
16667
17384
  */
16668
17385
  readonly userId?: string;
16669
17386
  }
17387
+ /**
17388
+ * Request parameters for getOpenEventBookings operation in EventsApi.
17389
+ * @export
17390
+ * @interface EventsApiGetOpenEventBookingsRequest
17391
+ */
17392
+ export interface EventsApiGetOpenEventBookingsRequest {
17393
+ /**
17394
+ *
17395
+ * @type {string}
17396
+ * @memberof EventsApiGetOpenEventBookings
17397
+ */
17398
+ readonly clubId?: string;
17399
+ /**
17400
+ *
17401
+ * @type {string}
17402
+ * @memberof EventsApiGetOpenEventBookings
17403
+ */
17404
+ readonly eventId?: string;
17405
+ }
16670
17406
  /**
16671
17407
  * Request parameters for getPublishedEventsByClubId operation in EventsApi.
16672
17408
  * @export
@@ -16717,6 +17453,25 @@ export interface EventsApiJoinEventRequest {
16717
17453
  */
16718
17454
  readonly joinEventRequest: JoinEventRequest;
16719
17455
  }
17456
+ /**
17457
+ * Request parameters for joinOpenEventBooking operation in EventsApi.
17458
+ * @export
17459
+ * @interface EventsApiJoinOpenEventBookingRequest
17460
+ */
17461
+ export interface EventsApiJoinOpenEventBookingRequest {
17462
+ /**
17463
+ *
17464
+ * @type {string}
17465
+ * @memberof EventsApiJoinOpenEventBooking
17466
+ */
17467
+ readonly eventBookingId: string;
17468
+ /**
17469
+ *
17470
+ * @type {JoinOpenEventBookingRequest}
17471
+ * @memberof EventsApiJoinOpenEventBooking
17472
+ */
17473
+ readonly joinOpenEventBookingRequest: JoinOpenEventBookingRequest;
17474
+ }
16720
17475
  /**
16721
17476
  * Request parameters for leaveEvent operation in EventsApi.
16722
17477
  * @export
@@ -16730,6 +17485,19 @@ export interface EventsApiLeaveEventRequest {
16730
17485
  */
16731
17486
  readonly eventId: string;
16732
17487
  }
17488
+ /**
17489
+ * Request parameters for leaveOpenEventBooking operation in EventsApi.
17490
+ * @export
17491
+ * @interface EventsApiLeaveOpenEventBookingRequest
17492
+ */
17493
+ export interface EventsApiLeaveOpenEventBookingRequest {
17494
+ /**
17495
+ *
17496
+ * @type {string}
17497
+ * @memberof EventsApiLeaveOpenEventBooking
17498
+ */
17499
+ readonly eventBookingId: string;
17500
+ }
16733
17501
  /**
16734
17502
  * EventsApi - object-oriented interface
16735
17503
  * @export
@@ -16761,6 +17529,14 @@ export declare class EventsApi extends BaseAPI {
16761
17529
  * @memberof EventsApi
16762
17530
  */
16763
17531
  getEventById(requestParameters: EventsApiGetEventByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublishEventResponse, any, {}>>;
17532
+ /**
17533
+ *
17534
+ * @param {EventsApiGetOpenEventBookingsRequest} requestParameters Request parameters.
17535
+ * @param {*} [options] Override http request option.
17536
+ * @throws {RequiredError}
17537
+ * @memberof EventsApi
17538
+ */
17539
+ getOpenEventBookings(requestParameters?: EventsApiGetOpenEventBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOpenEventBookings200Response, any, {}>>;
16764
17540
  /**
16765
17541
  * Get all published events for a club
16766
17542
  * @param {EventsApiGetPublishedEventsByClubIdRequest} requestParameters Request parameters.
@@ -16777,6 +17553,14 @@ export declare class EventsApi extends BaseAPI {
16777
17553
  * @memberof EventsApi
16778
17554
  */
16779
17555
  joinEvent(requestParameters: EventsApiJoinEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JoinEventResponse, any, {}>>;
17556
+ /**
17557
+ *
17558
+ * @param {EventsApiJoinOpenEventBookingRequest} requestParameters Request parameters.
17559
+ * @param {*} [options] Override http request option.
17560
+ * @throws {RequiredError}
17561
+ * @memberof EventsApi
17562
+ */
17563
+ joinOpenEventBooking(requestParameters: EventsApiJoinOpenEventBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JoinOpenEventResponse, any, {}>>;
16780
17564
  /**
16781
17565
  * Leave an event (user)
16782
17566
  * @param {EventsApiLeaveEventRequest} requestParameters Request parameters.
@@ -16785,6 +17569,14 @@ export declare class EventsApi extends BaseAPI {
16785
17569
  * @memberof EventsApi
16786
17570
  */
16787
17571
  leaveEvent(requestParameters: EventsApiLeaveEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JoinEventResponse, any, {}>>;
17572
+ /**
17573
+ *
17574
+ * @param {EventsApiLeaveOpenEventBookingRequest} requestParameters Request parameters.
17575
+ * @param {*} [options] Override http request option.
17576
+ * @throws {RequiredError}
17577
+ * @memberof EventsApi
17578
+ */
17579
+ leaveOpenEventBooking(requestParameters: EventsApiLeaveOpenEventBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestPasswordReset200Response, any, {}>>;
16788
17580
  }
16789
17581
  /**
16790
17582
  * @export
@@ -17256,7 +18048,7 @@ export declare const EventsStaffApiAxiosParamCreator: (configuration?: Configura
17256
18048
  */
17257
18049
  getDailyEvents: (clubId?: string, date?: string, visibilityType?: GetDailyEventsVisibilityTypeEnum, type?: GetDailyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17258
18050
  /**
17259
- * Get all events for a club (staff only)
18051
+ * // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
17260
18052
  * @param {*} [options] Override http request option.
17261
18053
  * @throws {RequiredError}
17262
18054
  */
@@ -17309,7 +18101,7 @@ export declare const EventsStaffApiFp: (configuration?: Configuration) => {
17309
18101
  */
17310
18102
  getDailyEvents(clubId?: string, date?: string, visibilityType?: GetDailyEventsVisibilityTypeEnum, type?: GetDailyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
17311
18103
  /**
17312
- * Get all events for a club (staff only)
18104
+ * // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
17313
18105
  * @param {*} [options] Override http request option.
17314
18106
  * @throws {RequiredError}
17315
18107
  */
@@ -17357,7 +18149,7 @@ export declare const EventsStaffApiFactory: (configuration?: Configuration, base
17357
18149
  */
17358
18150
  getDailyEvents(requestParameters?: EventsStaffApiGetDailyEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
17359
18151
  /**
17360
- * Get all events for a club (staff only)
18152
+ * // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
17361
18153
  * @param {*} [options] Override http request option.
17362
18154
  * @throws {RequiredError}
17363
18155
  */
@@ -17531,7 +18323,7 @@ export declare class EventsStaffApi extends BaseAPI {
17531
18323
  */
17532
18324
  getDailyEvents(requestParameters?: EventsStaffApiGetDailyEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
17533
18325
  /**
17534
- * Get all events for a club (staff only)
18326
+ * // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
17535
18327
  * @param {*} [options] Override http request option.
17536
18328
  * @throws {RequiredError}
17537
18329
  * @memberof EventsStaffApi