@tennac-booking/sdk 1.0.25 → 1.0.27

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.
Files changed (44) hide show
  1. package/.openapi-generator/FILES +16 -0
  2. package/README.md +22 -2
  3. package/api.ts +1208 -7
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +816 -5
  8. package/dist/api.js +715 -4
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +816 -5
  16. package/dist/esm/api.js +696 -1
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/ClubsApi.md +61 -0
  28. package/docs/CreateEventRequest.md +30 -0
  29. package/docs/DeleteEvent200Response.md +20 -0
  30. package/docs/Event.md +40 -0
  31. package/docs/EventBooking.md +32 -0
  32. package/docs/EventRegistrationRequest.md +22 -0
  33. package/docs/EventsApi.md +119 -0
  34. package/docs/GetClubUsersById200Response.md +20 -0
  35. package/docs/GetPublishedEventsByClubId200Response.md +20 -0
  36. package/docs/ManagerEventResponse.md +22 -0
  37. package/docs/ManagerEventsApi.md +227 -0
  38. package/docs/PublicClubUser.md +34 -0
  39. package/docs/PublicClubUserLevelBySportsInner.md +22 -0
  40. package/docs/RegisterForEvent201Response.md +20 -0
  41. package/docs/StaffEventResponse.md +20 -0
  42. package/docs/StaffEventsApi.md +54 -0
  43. package/index.ts +1 -1
  44. package/package.json +5 -4
package/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Pandook API
3
3
  * API for managing pickle ball games and players
4
4
  *
5
- * The version of the OpenAPI document: 1.0.25
5
+ * The version of the OpenAPI document: 1.0.27
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1811,6 +1811,49 @@ export interface CreateCourtRequest {
1811
1811
  */
1812
1812
  'isIndoor': boolean;
1813
1813
  }
1814
+ /**
1815
+ *
1816
+ * @export
1817
+ * @interface CreateEventRequest
1818
+ */
1819
+ export interface CreateEventRequest {
1820
+ /**
1821
+ *
1822
+ * @type {string}
1823
+ * @memberof CreateEventRequest
1824
+ */
1825
+ 'title': string;
1826
+ /**
1827
+ *
1828
+ * @type {string}
1829
+ * @memberof CreateEventRequest
1830
+ */
1831
+ 'description'?: string;
1832
+ /**
1833
+ *
1834
+ * @type {string}
1835
+ * @memberof CreateEventRequest
1836
+ */
1837
+ 'startDate': string;
1838
+ /**
1839
+ *
1840
+ * @type {string}
1841
+ * @memberof CreateEventRequest
1842
+ */
1843
+ 'endDate': string;
1844
+ /**
1845
+ *
1846
+ * @type {Array<number>}
1847
+ * @memberof CreateEventRequest
1848
+ */
1849
+ 'courts': Array<number>;
1850
+ /**
1851
+ *
1852
+ * @type {boolean}
1853
+ * @memberof CreateEventRequest
1854
+ */
1855
+ 'isActive'?: boolean;
1856
+ }
1814
1857
  /**
1815
1858
  *
1816
1859
  * @export
@@ -1969,6 +2012,19 @@ export interface DeleteClubSettingsRequest {
1969
2012
  */
1970
2013
  'clubId': string;
1971
2014
  }
2015
+ /**
2016
+ *
2017
+ * @export
2018
+ * @interface DeleteEvent200Response
2019
+ */
2020
+ export interface DeleteEvent200Response {
2021
+ /**
2022
+ *
2023
+ * @type {string}
2024
+ * @memberof DeleteEvent200Response
2025
+ */
2026
+ 'message'?: string;
2027
+ }
1972
2028
  /**
1973
2029
  *
1974
2030
  * @export
@@ -2008,6 +2064,153 @@ export interface DeleteSport200Response {
2008
2064
  */
2009
2065
  'message'?: string;
2010
2066
  }
2067
+ /**
2068
+ *
2069
+ * @export
2070
+ * @interface Event
2071
+ */
2072
+ export interface Event {
2073
+ /**
2074
+ *
2075
+ * @type {string}
2076
+ * @memberof Event
2077
+ */
2078
+ '_id'?: string;
2079
+ /**
2080
+ *
2081
+ * @type {string}
2082
+ * @memberof Event
2083
+ */
2084
+ 'clubId'?: string;
2085
+ /**
2086
+ *
2087
+ * @type {string}
2088
+ * @memberof Event
2089
+ */
2090
+ 'title'?: string;
2091
+ /**
2092
+ *
2093
+ * @type {string}
2094
+ * @memberof Event
2095
+ */
2096
+ 'description'?: string;
2097
+ /**
2098
+ *
2099
+ * @type {string}
2100
+ * @memberof Event
2101
+ */
2102
+ 'startDate'?: string;
2103
+ /**
2104
+ *
2105
+ * @type {string}
2106
+ * @memberof Event
2107
+ */
2108
+ 'endDate'?: string;
2109
+ /**
2110
+ *
2111
+ * @type {Array<string>}
2112
+ * @memberof Event
2113
+ */
2114
+ 'courts'?: Array<string>;
2115
+ /**
2116
+ *
2117
+ * @type {boolean}
2118
+ * @memberof Event
2119
+ */
2120
+ 'isActive'?: boolean;
2121
+ /**
2122
+ *
2123
+ * @type {string}
2124
+ * @memberof Event
2125
+ */
2126
+ 'createdBy'?: string;
2127
+ /**
2128
+ *
2129
+ * @type {string}
2130
+ * @memberof Event
2131
+ */
2132
+ 'createdAt'?: string;
2133
+ /**
2134
+ *
2135
+ * @type {string}
2136
+ * @memberof Event
2137
+ */
2138
+ 'updatedAt'?: string;
2139
+ }
2140
+ /**
2141
+ *
2142
+ * @export
2143
+ * @interface EventBooking
2144
+ */
2145
+ export interface EventBooking {
2146
+ /**
2147
+ *
2148
+ * @type {string}
2149
+ * @memberof EventBooking
2150
+ */
2151
+ '_id'?: string;
2152
+ /**
2153
+ *
2154
+ * @type {string}
2155
+ * @memberof EventBooking
2156
+ */
2157
+ 'eventId'?: string;
2158
+ /**
2159
+ *
2160
+ * @type {string}
2161
+ * @memberof EventBooking
2162
+ */
2163
+ 'teamName'?: string;
2164
+ /**
2165
+ *
2166
+ * @type {Array<string>}
2167
+ * @memberof EventBooking
2168
+ */
2169
+ 'players'?: Array<string>;
2170
+ /**
2171
+ *
2172
+ * @type {string}
2173
+ * @memberof EventBooking
2174
+ */
2175
+ 'status'?: EventBookingStatusEnum;
2176
+ /**
2177
+ *
2178
+ * @type {string}
2179
+ * @memberof EventBooking
2180
+ */
2181
+ 'createdAt'?: string;
2182
+ /**
2183
+ *
2184
+ * @type {string}
2185
+ * @memberof EventBooking
2186
+ */
2187
+ 'updatedAt'?: string;
2188
+ }
2189
+ export declare const EventBookingStatusEnum: {
2190
+ readonly Pending: "pending";
2191
+ readonly Confirmed: "confirmed";
2192
+ readonly Cancelled: "cancelled";
2193
+ };
2194
+ export type EventBookingStatusEnum = typeof EventBookingStatusEnum[keyof typeof EventBookingStatusEnum];
2195
+ /**
2196
+ *
2197
+ * @export
2198
+ * @interface EventRegistrationRequest
2199
+ */
2200
+ export interface EventRegistrationRequest {
2201
+ /**
2202
+ *
2203
+ * @type {string}
2204
+ * @memberof EventRegistrationRequest
2205
+ */
2206
+ 'teamName': string;
2207
+ /**
2208
+ *
2209
+ * @type {Array<string>}
2210
+ * @memberof EventRegistrationRequest
2211
+ */
2212
+ 'players': Array<string>;
2213
+ }
2011
2214
  /**
2012
2215
  *
2013
2216
  * @export
@@ -2171,6 +2374,19 @@ export interface GetClubSettingsRequest {
2171
2374
  */
2172
2375
  'clubId': string;
2173
2376
  }
2377
+ /**
2378
+ *
2379
+ * @export
2380
+ * @interface GetClubUsersById200Response
2381
+ */
2382
+ export interface GetClubUsersById200Response {
2383
+ /**
2384
+ *
2385
+ * @type {Array<PublicClubUser>}
2386
+ * @memberof GetClubUsersById200Response
2387
+ */
2388
+ 'users'?: Array<PublicClubUser>;
2389
+ }
2174
2390
  /**
2175
2391
  *
2176
2392
  * @export
@@ -2234,6 +2450,19 @@ export interface GetNumberOfClubUsers200Response {
2234
2450
  */
2235
2451
  'count'?: number;
2236
2452
  }
2453
+ /**
2454
+ *
2455
+ * @export
2456
+ * @interface GetPublishedEventsByClubId200Response
2457
+ */
2458
+ export interface GetPublishedEventsByClubId200Response {
2459
+ /**
2460
+ *
2461
+ * @type {Array<Event>}
2462
+ * @memberof GetPublishedEventsByClubId200Response
2463
+ */
2464
+ 'events'?: Array<Event>;
2465
+ }
2237
2466
  /**
2238
2467
  *
2239
2468
  * @export
@@ -2647,6 +2876,25 @@ export declare const ManagerCancelBookingResponseBookingStatusEnum: {
2647
2876
  readonly Cancelled: "cancelled";
2648
2877
  };
2649
2878
  export type ManagerCancelBookingResponseBookingStatusEnum = typeof ManagerCancelBookingResponseBookingStatusEnum[keyof typeof ManagerCancelBookingResponseBookingStatusEnum];
2879
+ /**
2880
+ *
2881
+ * @export
2882
+ * @interface ManagerEventResponse
2883
+ */
2884
+ export interface ManagerEventResponse {
2885
+ /**
2886
+ *
2887
+ * @type {Event}
2888
+ * @memberof ManagerEventResponse
2889
+ */
2890
+ 'event'?: Event;
2891
+ /**
2892
+ *
2893
+ * @type {string}
2894
+ * @memberof ManagerEventResponse
2895
+ */
2896
+ 'message'?: string;
2897
+ }
2650
2898
  /**
2651
2899
  *
2652
2900
  * @export
@@ -2915,6 +3163,80 @@ export interface ProfileVisibilityResponse {
2915
3163
  */
2916
3164
  'isProfileVisible'?: boolean;
2917
3165
  }
3166
+ /**
3167
+ *
3168
+ * @export
3169
+ * @interface PublicClubUser
3170
+ */
3171
+ export interface PublicClubUser {
3172
+ /**
3173
+ *
3174
+ * @type {string}
3175
+ * @memberof PublicClubUser
3176
+ */
3177
+ '_id'?: string;
3178
+ /**
3179
+ *
3180
+ * @type {string}
3181
+ * @memberof PublicClubUser
3182
+ */
3183
+ 'firstName'?: string;
3184
+ /**
3185
+ *
3186
+ * @type {string}
3187
+ * @memberof PublicClubUser
3188
+ */
3189
+ 'lastName'?: string;
3190
+ /**
3191
+ *
3192
+ * @type {string}
3193
+ * @memberof PublicClubUser
3194
+ */
3195
+ 'email'?: string;
3196
+ /**
3197
+ *
3198
+ * @type {Array<PublicClubUserLevelBySportsInner>}
3199
+ * @memberof PublicClubUser
3200
+ */
3201
+ 'levelBySports'?: Array<PublicClubUserLevelBySportsInner>;
3202
+ /**
3203
+ *
3204
+ * @type {string}
3205
+ * @memberof PublicClubUser
3206
+ */
3207
+ 'profilePicture'?: string | null;
3208
+ /**
3209
+ *
3210
+ * @type {string}
3211
+ * @memberof PublicClubUser
3212
+ */
3213
+ 'description'?: string | null;
3214
+ /**
3215
+ *
3216
+ * @type {string}
3217
+ * @memberof PublicClubUser
3218
+ */
3219
+ 'city'?: string | null;
3220
+ }
3221
+ /**
3222
+ *
3223
+ * @export
3224
+ * @interface PublicClubUserLevelBySportsInner
3225
+ */
3226
+ export interface PublicClubUserLevelBySportsInner {
3227
+ /**
3228
+ *
3229
+ * @type {string}
3230
+ * @memberof PublicClubUserLevelBySportsInner
3231
+ */
3232
+ 'sport'?: string;
3233
+ /**
3234
+ *
3235
+ * @type {string}
3236
+ * @memberof PublicClubUserLevelBySportsInner
3237
+ */
3238
+ 'level'?: string;
3239
+ }
2918
3240
  /**
2919
3241
  *
2920
3242
  * @export
@@ -2947,6 +3269,19 @@ export interface RefreshTokenResponse {
2947
3269
  */
2948
3270
  'refreshToken'?: string;
2949
3271
  }
3272
+ /**
3273
+ *
3274
+ * @export
3275
+ * @interface RegisterForEvent201Response
3276
+ */
3277
+ export interface RegisterForEvent201Response {
3278
+ /**
3279
+ *
3280
+ * @type {EventBooking}
3281
+ * @memberof RegisterForEvent201Response
3282
+ */
3283
+ 'booking'?: EventBooking;
3284
+ }
2950
3285
  /**
2951
3286
  *
2952
3287
  * @export
@@ -3282,6 +3617,19 @@ export interface SportsResponse {
3282
3617
  */
3283
3618
  'total'?: number;
3284
3619
  }
3620
+ /**
3621
+ *
3622
+ * @export
3623
+ * @interface StaffEventResponse
3624
+ */
3625
+ export interface StaffEventResponse {
3626
+ /**
3627
+ *
3628
+ * @type {Array<Event>}
3629
+ * @memberof StaffEventResponse
3630
+ */
3631
+ 'events'?: Array<Event>;
3632
+ }
3285
3633
  /**
3286
3634
  *
3287
3635
  * @export
@@ -5529,13 +5877,211 @@ export declare const GetInvoicesStatusEnum: {
5529
5877
  };
5530
5878
  export type GetInvoicesStatusEnum = typeof GetInvoicesStatusEnum[keyof typeof GetInvoicesStatusEnum];
5531
5879
  /**
5532
- * ManagerBookingsApi - axios parameter creator
5880
+ * ClubsApi - axios parameter creator
5533
5881
  * @export
5534
5882
  */
5535
- export declare const ManagerBookingsApiAxiosParamCreator: (configuration?: Configuration) => {
5883
+ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration) => {
5536
5884
  /**
5537
- * Applique les frais de no-show à une réservation. Capture automatiquement les paiements autorisés et charge le créateur pour le montant manquant.
5538
- * @summary Appliquer les frais de no-show
5885
+ * Retourne les utilisateurs liés au club via ClubCustomer et dont le profil est public (isProfileVisible = true).
5886
+ * @summary Récupérer la liste publique des utilisateurs d\'un club
5887
+ * @param {string} id ID du club
5888
+ * @param {*} [options] Override http request option.
5889
+ * @throws {RequiredError}
5890
+ */
5891
+ getClubUsersById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5892
+ };
5893
+ /**
5894
+ * ClubsApi - functional programming interface
5895
+ * @export
5896
+ */
5897
+ export declare const ClubsApiFp: (configuration?: Configuration) => {
5898
+ /**
5899
+ * Retourne les utilisateurs liés au club via ClubCustomer et dont le profil est public (isProfileVisible = true).
5900
+ * @summary Récupérer la liste publique des utilisateurs d\'un club
5901
+ * @param {string} id ID du club
5902
+ * @param {*} [options] Override http request option.
5903
+ * @throws {RequiredError}
5904
+ */
5905
+ getClubUsersById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubUsersById200Response>>;
5906
+ };
5907
+ /**
5908
+ * ClubsApi - factory interface
5909
+ * @export
5910
+ */
5911
+ export declare const ClubsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
5912
+ /**
5913
+ * Retourne les utilisateurs liés au club via ClubCustomer et dont le profil est public (isProfileVisible = true).
5914
+ * @summary Récupérer la liste publique des utilisateurs d\'un club
5915
+ * @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
5916
+ * @param {*} [options] Override http request option.
5917
+ * @throws {RequiredError}
5918
+ */
5919
+ getClubUsersById(requestParameters: ClubsApiGetClubUsersByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetClubUsersById200Response>;
5920
+ };
5921
+ /**
5922
+ * Request parameters for getClubUsersById operation in ClubsApi.
5923
+ * @export
5924
+ * @interface ClubsApiGetClubUsersByIdRequest
5925
+ */
5926
+ export interface ClubsApiGetClubUsersByIdRequest {
5927
+ /**
5928
+ * ID du club
5929
+ * @type {string}
5930
+ * @memberof ClubsApiGetClubUsersById
5931
+ */
5932
+ readonly id: string;
5933
+ }
5934
+ /**
5935
+ * ClubsApi - object-oriented interface
5936
+ * @export
5937
+ * @class ClubsApi
5938
+ * @extends {BaseAPI}
5939
+ */
5940
+ export declare class ClubsApi extends BaseAPI {
5941
+ /**
5942
+ * Retourne les utilisateurs liés au club via ClubCustomer et dont le profil est public (isProfileVisible = true).
5943
+ * @summary Récupérer la liste publique des utilisateurs d\'un club
5944
+ * @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
5945
+ * @param {*} [options] Override http request option.
5946
+ * @throws {RequiredError}
5947
+ * @memberof ClubsApi
5948
+ */
5949
+ getClubUsersById(requestParameters: ClubsApiGetClubUsersByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubUsersById200Response, any>>;
5950
+ }
5951
+ /**
5952
+ * EventsApi - axios parameter creator
5953
+ * @export
5954
+ */
5955
+ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration) => {
5956
+ /**
5957
+ *
5958
+ * @summary Get all published events for a club
5959
+ * @param {string} clubId
5960
+ * @param {*} [options] Override http request option.
5961
+ * @throws {RequiredError}
5962
+ */
5963
+ getPublishedEventsByClubId: (clubId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5964
+ /**
5965
+ *
5966
+ * @summary Register for an event
5967
+ * @param {string} eventId
5968
+ * @param {EventRegistrationRequest} eventRegistrationRequest
5969
+ * @param {*} [options] Override http request option.
5970
+ * @throws {RequiredError}
5971
+ */
5972
+ registerForEvent: (eventId: string, eventRegistrationRequest: EventRegistrationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5973
+ };
5974
+ /**
5975
+ * EventsApi - functional programming interface
5976
+ * @export
5977
+ */
5978
+ export declare const EventsApiFp: (configuration?: Configuration) => {
5979
+ /**
5980
+ *
5981
+ * @summary Get all published events for a club
5982
+ * @param {string} clubId
5983
+ * @param {*} [options] Override http request option.
5984
+ * @throws {RequiredError}
5985
+ */
5986
+ getPublishedEventsByClubId(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPublishedEventsByClubId200Response>>;
5987
+ /**
5988
+ *
5989
+ * @summary Register for an event
5990
+ * @param {string} eventId
5991
+ * @param {EventRegistrationRequest} eventRegistrationRequest
5992
+ * @param {*} [options] Override http request option.
5993
+ * @throws {RequiredError}
5994
+ */
5995
+ registerForEvent(eventId: string, eventRegistrationRequest: EventRegistrationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisterForEvent201Response>>;
5996
+ };
5997
+ /**
5998
+ * EventsApi - factory interface
5999
+ * @export
6000
+ */
6001
+ export declare const EventsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
6002
+ /**
6003
+ *
6004
+ * @summary Get all published events for a club
6005
+ * @param {EventsApiGetPublishedEventsByClubIdRequest} requestParameters Request parameters.
6006
+ * @param {*} [options] Override http request option.
6007
+ * @throws {RequiredError}
6008
+ */
6009
+ getPublishedEventsByClubId(requestParameters: EventsApiGetPublishedEventsByClubIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetPublishedEventsByClubId200Response>;
6010
+ /**
6011
+ *
6012
+ * @summary Register for an event
6013
+ * @param {EventsApiRegisterForEventRequest} requestParameters Request parameters.
6014
+ * @param {*} [options] Override http request option.
6015
+ * @throws {RequiredError}
6016
+ */
6017
+ registerForEvent(requestParameters: EventsApiRegisterForEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<RegisterForEvent201Response>;
6018
+ };
6019
+ /**
6020
+ * Request parameters for getPublishedEventsByClubId operation in EventsApi.
6021
+ * @export
6022
+ * @interface EventsApiGetPublishedEventsByClubIdRequest
6023
+ */
6024
+ export interface EventsApiGetPublishedEventsByClubIdRequest {
6025
+ /**
6026
+ *
6027
+ * @type {string}
6028
+ * @memberof EventsApiGetPublishedEventsByClubId
6029
+ */
6030
+ readonly clubId: string;
6031
+ }
6032
+ /**
6033
+ * Request parameters for registerForEvent operation in EventsApi.
6034
+ * @export
6035
+ * @interface EventsApiRegisterForEventRequest
6036
+ */
6037
+ export interface EventsApiRegisterForEventRequest {
6038
+ /**
6039
+ *
6040
+ * @type {string}
6041
+ * @memberof EventsApiRegisterForEvent
6042
+ */
6043
+ readonly eventId: string;
6044
+ /**
6045
+ *
6046
+ * @type {EventRegistrationRequest}
6047
+ * @memberof EventsApiRegisterForEvent
6048
+ */
6049
+ readonly eventRegistrationRequest: EventRegistrationRequest;
6050
+ }
6051
+ /**
6052
+ * EventsApi - object-oriented interface
6053
+ * @export
6054
+ * @class EventsApi
6055
+ * @extends {BaseAPI}
6056
+ */
6057
+ export declare class EventsApi extends BaseAPI {
6058
+ /**
6059
+ *
6060
+ * @summary Get all published events for a club
6061
+ * @param {EventsApiGetPublishedEventsByClubIdRequest} requestParameters Request parameters.
6062
+ * @param {*} [options] Override http request option.
6063
+ * @throws {RequiredError}
6064
+ * @memberof EventsApi
6065
+ */
6066
+ getPublishedEventsByClubId(requestParameters: EventsApiGetPublishedEventsByClubIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPublishedEventsByClubId200Response, any>>;
6067
+ /**
6068
+ *
6069
+ * @summary Register for an event
6070
+ * @param {EventsApiRegisterForEventRequest} requestParameters Request parameters.
6071
+ * @param {*} [options] Override http request option.
6072
+ * @throws {RequiredError}
6073
+ * @memberof EventsApi
6074
+ */
6075
+ registerForEvent(requestParameters: EventsApiRegisterForEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RegisterForEvent201Response, any>>;
6076
+ }
6077
+ /**
6078
+ * ManagerBookingsApi - axios parameter creator
6079
+ * @export
6080
+ */
6081
+ export declare const ManagerBookingsApiAxiosParamCreator: (configuration?: Configuration) => {
6082
+ /**
6083
+ * Applique les frais de no-show à une réservation. Capture automatiquement les paiements autorisés et charge le créateur pour le montant manquant.
6084
+ * @summary Appliquer les frais de no-show
5539
6085
  * @param {string} bookingId ID MongoDB de la réservation
5540
6086
  * @param {*} [options] Override http request option.
5541
6087
  * @throws {RequiredError}
@@ -6705,6 +7251,216 @@ export declare class ManagerClubsApi extends BaseAPI {
6705
7251
  */
6706
7252
  updateClubNoId(requestParameters: ManagerClubsApiUpdateClubNoIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubResponse, any>>;
6707
7253
  }
7254
+ /**
7255
+ * ManagerEventsApi - axios parameter creator
7256
+ * @export
7257
+ */
7258
+ export declare const ManagerEventsApiAxiosParamCreator: (configuration?: Configuration) => {
7259
+ /**
7260
+ *
7261
+ * @summary Create a new event
7262
+ * @param {CreateEventRequest} createEventRequest
7263
+ * @param {*} [options] Override http request option.
7264
+ * @throws {RequiredError}
7265
+ */
7266
+ createEvent: (createEventRequest: CreateEventRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7267
+ /**
7268
+ *
7269
+ * @summary Delete an event
7270
+ * @param {string} eventId
7271
+ * @param {*} [options] Override http request option.
7272
+ * @throws {RequiredError}
7273
+ */
7274
+ deleteEvent: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7275
+ /**
7276
+ *
7277
+ * @summary Publish an event
7278
+ * @param {string} eventId
7279
+ * @param {*} [options] Override http request option.
7280
+ * @throws {RequiredError}
7281
+ */
7282
+ publishEvent: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7283
+ /**
7284
+ *
7285
+ * @summary Unpublish an event
7286
+ * @param {string} eventId
7287
+ * @param {*} [options] Override http request option.
7288
+ * @throws {RequiredError}
7289
+ */
7290
+ unpublishEvent: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7291
+ };
7292
+ /**
7293
+ * ManagerEventsApi - functional programming interface
7294
+ * @export
7295
+ */
7296
+ export declare const ManagerEventsApiFp: (configuration?: Configuration) => {
7297
+ /**
7298
+ *
7299
+ * @summary Create a new event
7300
+ * @param {CreateEventRequest} createEventRequest
7301
+ * @param {*} [options] Override http request option.
7302
+ * @throws {RequiredError}
7303
+ */
7304
+ createEvent(createEventRequest: CreateEventRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagerEventResponse>>;
7305
+ /**
7306
+ *
7307
+ * @summary Delete an event
7308
+ * @param {string} eventId
7309
+ * @param {*} [options] Override http request option.
7310
+ * @throws {RequiredError}
7311
+ */
7312
+ deleteEvent(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteEvent200Response>>;
7313
+ /**
7314
+ *
7315
+ * @summary Publish an event
7316
+ * @param {string} eventId
7317
+ * @param {*} [options] Override http request option.
7318
+ * @throws {RequiredError}
7319
+ */
7320
+ publishEvent(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagerEventResponse>>;
7321
+ /**
7322
+ *
7323
+ * @summary Unpublish an event
7324
+ * @param {string} eventId
7325
+ * @param {*} [options] Override http request option.
7326
+ * @throws {RequiredError}
7327
+ */
7328
+ unpublishEvent(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagerEventResponse>>;
7329
+ };
7330
+ /**
7331
+ * ManagerEventsApi - factory interface
7332
+ * @export
7333
+ */
7334
+ export declare const ManagerEventsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
7335
+ /**
7336
+ *
7337
+ * @summary Create a new event
7338
+ * @param {ManagerEventsApiCreateEventRequest} requestParameters Request parameters.
7339
+ * @param {*} [options] Override http request option.
7340
+ * @throws {RequiredError}
7341
+ */
7342
+ createEvent(requestParameters: ManagerEventsApiCreateEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<ManagerEventResponse>;
7343
+ /**
7344
+ *
7345
+ * @summary Delete an event
7346
+ * @param {ManagerEventsApiDeleteEventRequest} requestParameters Request parameters.
7347
+ * @param {*} [options] Override http request option.
7348
+ * @throws {RequiredError}
7349
+ */
7350
+ deleteEvent(requestParameters: ManagerEventsApiDeleteEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteEvent200Response>;
7351
+ /**
7352
+ *
7353
+ * @summary Publish an event
7354
+ * @param {ManagerEventsApiPublishEventRequest} requestParameters Request parameters.
7355
+ * @param {*} [options] Override http request option.
7356
+ * @throws {RequiredError}
7357
+ */
7358
+ publishEvent(requestParameters: ManagerEventsApiPublishEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<ManagerEventResponse>;
7359
+ /**
7360
+ *
7361
+ * @summary Unpublish an event
7362
+ * @param {ManagerEventsApiUnpublishEventRequest} requestParameters Request parameters.
7363
+ * @param {*} [options] Override http request option.
7364
+ * @throws {RequiredError}
7365
+ */
7366
+ unpublishEvent(requestParameters: ManagerEventsApiUnpublishEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<ManagerEventResponse>;
7367
+ };
7368
+ /**
7369
+ * Request parameters for createEvent operation in ManagerEventsApi.
7370
+ * @export
7371
+ * @interface ManagerEventsApiCreateEventRequest
7372
+ */
7373
+ export interface ManagerEventsApiCreateEventRequest {
7374
+ /**
7375
+ *
7376
+ * @type {CreateEventRequest}
7377
+ * @memberof ManagerEventsApiCreateEvent
7378
+ */
7379
+ readonly createEventRequest: CreateEventRequest;
7380
+ }
7381
+ /**
7382
+ * Request parameters for deleteEvent operation in ManagerEventsApi.
7383
+ * @export
7384
+ * @interface ManagerEventsApiDeleteEventRequest
7385
+ */
7386
+ export interface ManagerEventsApiDeleteEventRequest {
7387
+ /**
7388
+ *
7389
+ * @type {string}
7390
+ * @memberof ManagerEventsApiDeleteEvent
7391
+ */
7392
+ readonly eventId: string;
7393
+ }
7394
+ /**
7395
+ * Request parameters for publishEvent operation in ManagerEventsApi.
7396
+ * @export
7397
+ * @interface ManagerEventsApiPublishEventRequest
7398
+ */
7399
+ export interface ManagerEventsApiPublishEventRequest {
7400
+ /**
7401
+ *
7402
+ * @type {string}
7403
+ * @memberof ManagerEventsApiPublishEvent
7404
+ */
7405
+ readonly eventId: string;
7406
+ }
7407
+ /**
7408
+ * Request parameters for unpublishEvent operation in ManagerEventsApi.
7409
+ * @export
7410
+ * @interface ManagerEventsApiUnpublishEventRequest
7411
+ */
7412
+ export interface ManagerEventsApiUnpublishEventRequest {
7413
+ /**
7414
+ *
7415
+ * @type {string}
7416
+ * @memberof ManagerEventsApiUnpublishEvent
7417
+ */
7418
+ readonly eventId: string;
7419
+ }
7420
+ /**
7421
+ * ManagerEventsApi - object-oriented interface
7422
+ * @export
7423
+ * @class ManagerEventsApi
7424
+ * @extends {BaseAPI}
7425
+ */
7426
+ export declare class ManagerEventsApi extends BaseAPI {
7427
+ /**
7428
+ *
7429
+ * @summary Create a new event
7430
+ * @param {ManagerEventsApiCreateEventRequest} requestParameters Request parameters.
7431
+ * @param {*} [options] Override http request option.
7432
+ * @throws {RequiredError}
7433
+ * @memberof ManagerEventsApi
7434
+ */
7435
+ createEvent(requestParameters: ManagerEventsApiCreateEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagerEventResponse, any>>;
7436
+ /**
7437
+ *
7438
+ * @summary Delete an event
7439
+ * @param {ManagerEventsApiDeleteEventRequest} requestParameters Request parameters.
7440
+ * @param {*} [options] Override http request option.
7441
+ * @throws {RequiredError}
7442
+ * @memberof ManagerEventsApi
7443
+ */
7444
+ deleteEvent(requestParameters: ManagerEventsApiDeleteEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteEvent200Response, any>>;
7445
+ /**
7446
+ *
7447
+ * @summary Publish an event
7448
+ * @param {ManagerEventsApiPublishEventRequest} requestParameters Request parameters.
7449
+ * @param {*} [options] Override http request option.
7450
+ * @throws {RequiredError}
7451
+ * @memberof ManagerEventsApi
7452
+ */
7453
+ publishEvent(requestParameters: ManagerEventsApiPublishEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagerEventResponse, any>>;
7454
+ /**
7455
+ *
7456
+ * @summary Unpublish an event
7457
+ * @param {ManagerEventsApiUnpublishEventRequest} requestParameters Request parameters.
7458
+ * @param {*} [options] Override http request option.
7459
+ * @throws {RequiredError}
7460
+ * @memberof ManagerEventsApi
7461
+ */
7462
+ unpublishEvent(requestParameters: ManagerEventsApiUnpublishEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagerEventResponse, any>>;
7463
+ }
6708
7464
  /**
6709
7465
  * ManagerSportsApi - axios parameter creator
6710
7466
  * @export
@@ -7134,6 +7890,61 @@ export declare class StaffClubsApi extends BaseAPI {
7134
7890
  */
7135
7891
  getClubSettings(requestParameters: StaffClubsApiGetClubSettingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubSettings, any>>;
7136
7892
  }
7893
+ /**
7894
+ * StaffEventsApi - axios parameter creator
7895
+ * @export
7896
+ */
7897
+ export declare const StaffEventsApiAxiosParamCreator: (configuration?: Configuration) => {
7898
+ /**
7899
+ *
7900
+ * @summary Get all events for current club (including unpublished)
7901
+ * @param {*} [options] Override http request option.
7902
+ * @throws {RequiredError}
7903
+ */
7904
+ getEventsByClub: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7905
+ };
7906
+ /**
7907
+ * StaffEventsApi - functional programming interface
7908
+ * @export
7909
+ */
7910
+ export declare const StaffEventsApiFp: (configuration?: Configuration) => {
7911
+ /**
7912
+ *
7913
+ * @summary Get all events for current club (including unpublished)
7914
+ * @param {*} [options] Override http request option.
7915
+ * @throws {RequiredError}
7916
+ */
7917
+ getEventsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffEventResponse>>;
7918
+ };
7919
+ /**
7920
+ * StaffEventsApi - factory interface
7921
+ * @export
7922
+ */
7923
+ export declare const StaffEventsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
7924
+ /**
7925
+ *
7926
+ * @summary Get all events for current club (including unpublished)
7927
+ * @param {*} [options] Override http request option.
7928
+ * @throws {RequiredError}
7929
+ */
7930
+ getEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<StaffEventResponse>;
7931
+ };
7932
+ /**
7933
+ * StaffEventsApi - object-oriented interface
7934
+ * @export
7935
+ * @class StaffEventsApi
7936
+ * @extends {BaseAPI}
7937
+ */
7938
+ export declare class StaffEventsApi extends BaseAPI {
7939
+ /**
7940
+ *
7941
+ * @summary Get all events for current club (including unpublished)
7942
+ * @param {*} [options] Override http request option.
7943
+ * @throws {RequiredError}
7944
+ * @memberof StaffEventsApi
7945
+ */
7946
+ getEventsByClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffEventResponse, any>>;
7947
+ }
7137
7948
  /**
7138
7949
  * StaffProfileApi - axios parameter creator
7139
7950
  * @export