@tennac-booking/sdk 1.0.103 → 1.0.105

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.
@@ -34,6 +34,7 @@ docs/BookingsApi.md
34
34
  docs/BookingsManagerApi.md
35
35
  docs/BookingsStaffApi.md
36
36
  docs/BookingsUserApi.md
37
+ docs/BookingsWithTimeBoundsResponse.md
37
38
  docs/CancelBookingResponse.md
38
39
  docs/CaptureResult.md
39
40
  docs/ChangePasswordRequestBody.md
@@ -246,9 +247,11 @@ docs/SubscriptionsStaffApi.md
246
247
  docs/SubscriptionsUserApi.md
247
248
  docs/SurfaceType.md
248
249
  docs/Team.md
250
+ docs/TimeBounds.md
249
251
  docs/UpdateActuality200Response.md
250
252
  docs/UpdateClubGeneralSettingsRequest.md
251
253
  docs/UpdateClubHoursSettingsRequest.md
254
+ docs/UpdateClubMemberRequest.md
252
255
  docs/UpdateClubPresentationSettingsRequest.md
253
256
  docs/UpdateClubRequest.md
254
257
  docs/UpdateClubRequestLocation.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @tennac-booking/sdk@1.0.100
1
+ ## @tennac-booking/sdk@1.0.104
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @tennac-booking/sdk@1.0.100 --save
39
+ npm install @tennac-booking/sdk@1.0.104 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -134,6 +134,7 @@ Class | Method | HTTP request | Description
134
134
  *ClubsManagerApi* | [**updateActuality**](docs/ClubsManagerApi.md#updateactuality) | **PUT** /api/clubs/actualities/{actualityId} |
135
135
  *ClubsManagerApi* | [**updateClub**](docs/ClubsManagerApi.md#updateclub) | **PUT** /api/clubs |
136
136
  *ClubsManagerApi* | [**updateClubInfos**](docs/ClubsManagerApi.md#updateclubinfos) | **PUT** /api/clubs/infos |
137
+ *ClubsManagerApi* | [**updateClubMember**](docs/ClubsManagerApi.md#updateclubmember) | **PATCH** /api/clubs/members/{userId} |
137
138
  *ClubsManagerApi* | [**updateClubPresentationSettings**](docs/ClubsManagerApi.md#updateclubpresentationsettings) | **PUT** /api/clubs/settings/presentation |
138
139
  *ClubsManagerApi* | [**updateCourt**](docs/ClubsManagerApi.md#updatecourt) | **PUT** /api/clubs/courts/{courtId} |
139
140
  *ClubsManagerApi* | [**updateSubscriptionPlanForClub**](docs/ClubsManagerApi.md#updatesubscriptionplanforclub) | **PUT** /api/clubs/subscription-plans/{priceId} |
@@ -234,6 +235,7 @@ Class | Method | HTTP request | Description
234
235
  - [BookingStatus](docs/BookingStatus.md)
235
236
  - [BookingSummary](docs/BookingSummary.md)
236
237
  - [BookingSummaryClubAddress](docs/BookingSummaryClubAddress.md)
238
+ - [BookingsWithTimeBoundsResponse](docs/BookingsWithTimeBoundsResponse.md)
237
239
  - [CancelBookingResponse](docs/CancelBookingResponse.md)
238
240
  - [CaptureResult](docs/CaptureResult.md)
239
241
  - [ChangePasswordRequestBody](docs/ChangePasswordRequestBody.md)
@@ -425,9 +427,11 @@ Class | Method | HTTP request | Description
425
427
  - [SubscriptionPlanResponse](docs/SubscriptionPlanResponse.md)
426
428
  - [SurfaceType](docs/SurfaceType.md)
427
429
  - [Team](docs/Team.md)
430
+ - [TimeBounds](docs/TimeBounds.md)
428
431
  - [UpdateActuality200Response](docs/UpdateActuality200Response.md)
429
432
  - [UpdateClubGeneralSettingsRequest](docs/UpdateClubGeneralSettingsRequest.md)
430
433
  - [UpdateClubHoursSettingsRequest](docs/UpdateClubHoursSettingsRequest.md)
434
+ - [UpdateClubMemberRequest](docs/UpdateClubMemberRequest.md)
431
435
  - [UpdateClubPresentationSettingsRequest](docs/UpdateClubPresentationSettingsRequest.md)
432
436
  - [UpdateClubRequest](docs/UpdateClubRequest.md)
433
437
  - [UpdateClubRequestLocation](docs/UpdateClubRequestLocation.md)
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.100
7
+ * The version of the OpenAPI document: 1.0.104
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1142,6 +1142,25 @@ export interface BookingSummary {
1142
1142
  */
1143
1143
  export interface BookingSummaryClubAddress {
1144
1144
  }
1145
+ /**
1146
+ *
1147
+ * @export
1148
+ * @interface BookingsWithTimeBoundsResponse
1149
+ */
1150
+ export interface BookingsWithTimeBoundsResponse {
1151
+ /**
1152
+ *
1153
+ * @type {Array<BookingPopulated>}
1154
+ * @memberof BookingsWithTimeBoundsResponse
1155
+ */
1156
+ 'bookings': Array<BookingPopulated>;
1157
+ /**
1158
+ *
1159
+ * @type {TimeBounds}
1160
+ * @memberof BookingsWithTimeBoundsResponse
1161
+ */
1162
+ 'timeBounds': TimeBounds;
1163
+ }
1145
1164
  /**
1146
1165
  *
1147
1166
  * @export
@@ -2583,6 +2602,24 @@ export interface ClubResponse {
2583
2602
  * @memberof ClubResponse
2584
2603
  */
2585
2604
  'picture'?: string;
2605
+ /**
2606
+ *
2607
+ * @type {Array<string>}
2608
+ * @memberof ClubResponse
2609
+ */
2610
+ 'bannerPictures'?: Array<string>;
2611
+ /**
2612
+ *
2613
+ * @type {Array<string>}
2614
+ * @memberof ClubResponse
2615
+ */
2616
+ 'galleryPictures'?: Array<string>;
2617
+ /**
2618
+ *
2619
+ * @type {Array<string>}
2620
+ * @memberof ClubResponse
2621
+ */
2622
+ 'tags'?: Array<string>;
2586
2623
  /**
2587
2624
  *
2588
2625
  * @type {ClubResponseLocation}
@@ -5231,6 +5268,24 @@ export interface PartialClubResponse {
5231
5268
  * @memberof PartialClubResponse
5232
5269
  */
5233
5270
  'picture'?: string;
5271
+ /**
5272
+ *
5273
+ * @type {Array<string>}
5274
+ * @memberof PartialClubResponse
5275
+ */
5276
+ 'bannerPictures'?: Array<string>;
5277
+ /**
5278
+ *
5279
+ * @type {Array<string>}
5280
+ * @memberof PartialClubResponse
5281
+ */
5282
+ 'galleryPictures'?: Array<string>;
5283
+ /**
5284
+ *
5285
+ * @type {Array<string>}
5286
+ * @memberof PartialClubResponse
5287
+ */
5288
+ 'tags'?: Array<string>;
5234
5289
  /**
5235
5290
  *
5236
5291
  * @type {ClubResponseLocation}
@@ -8359,6 +8414,25 @@ export interface Team {
8359
8414
  */
8360
8415
  'players': Array<string>;
8361
8416
  }
8417
+ /**
8418
+ *
8419
+ * @export
8420
+ * @interface TimeBounds
8421
+ */
8422
+ export interface TimeBounds {
8423
+ /**
8424
+ * Heure de début au format HH:mm
8425
+ * @type {string}
8426
+ * @memberof TimeBounds
8427
+ */
8428
+ 'start': string;
8429
+ /**
8430
+ * Heure de fin au format HH:mm
8431
+ * @type {string}
8432
+ * @memberof TimeBounds
8433
+ */
8434
+ 'end': string;
8435
+ }
8362
8436
  /**
8363
8437
  *
8364
8438
  * @export
@@ -8446,6 +8520,34 @@ export interface UpdateClubHoursSettingsRequest {
8446
8520
  */
8447
8521
  'pricingPeriods'?: Array<ClubPricingPeriodResponse>;
8448
8522
  }
8523
+ /**
8524
+ *
8525
+ * @export
8526
+ * @interface UpdateClubMemberRequest
8527
+ */
8528
+ export interface UpdateClubMemberRequest {
8529
+ /**
8530
+ * Rôle du membre dans le club
8531
+ * @type {string}
8532
+ * @memberof UpdateClubMemberRequest
8533
+ */
8534
+ 'role'?: UpdateClubMemberRequestRoleEnum;
8535
+ /**
8536
+ * Droits du membre dans le club
8537
+ * @type {Array<string>}
8538
+ * @memberof UpdateClubMemberRequest
8539
+ */
8540
+ 'rights'?: Array<string>;
8541
+ }
8542
+
8543
+ export const UpdateClubMemberRequestRoleEnum = {
8544
+ Admin: 'admin',
8545
+ Manager: 'manager',
8546
+ Staff: 'staff'
8547
+ } as const;
8548
+
8549
+ export type UpdateClubMemberRequestRoleEnum = typeof UpdateClubMemberRequestRoleEnum[keyof typeof UpdateClubMemberRequestRoleEnum];
8550
+
8449
8551
  /**
8450
8552
  *
8451
8553
  * @export
@@ -10563,7 +10665,7 @@ export const BookingsStaffApiFp = function(configuration?: Configuration) {
10563
10665
  * @param {*} [options] Override http request option.
10564
10666
  * @throws {RequiredError}
10565
10667
  */
10566
- async getDailyBookings(date: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BookingPopulated>>> {
10668
+ async getDailyBookings(date: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingsWithTimeBoundsResponse>> {
10567
10669
  const localVarAxiosArgs = await localVarAxiosParamCreator.getDailyBookings(date, options);
10568
10670
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10569
10671
  const localVarOperationServerBasePath = operationServerMap['BookingsStaffApi.getDailyBookings']?.[localVarOperationServerIndex]?.url;
@@ -10575,7 +10677,7 @@ export const BookingsStaffApiFp = function(configuration?: Configuration) {
10575
10677
  * @param {*} [options] Override http request option.
10576
10678
  * @throws {RequiredError}
10577
10679
  */
10578
- async getWeeklyBookings(weekId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BookingPopulated>>> {
10680
+ async getWeeklyBookings(weekId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingsWithTimeBoundsResponse>> {
10579
10681
  const localVarAxiosArgs = await localVarAxiosParamCreator.getWeeklyBookings(weekId, options);
10580
10682
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10581
10683
  const localVarOperationServerBasePath = operationServerMap['BookingsStaffApi.getWeeklyBookings']?.[localVarOperationServerIndex]?.url;
@@ -10633,7 +10735,7 @@ export const BookingsStaffApiFactory = function (configuration?: Configuration,
10633
10735
  * @param {*} [options] Override http request option.
10634
10736
  * @throws {RequiredError}
10635
10737
  */
10636
- getDailyBookings(requestParameters: BookingsStaffApiGetDailyBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<BookingPopulated>> {
10738
+ getDailyBookings(requestParameters: BookingsStaffApiGetDailyBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingsWithTimeBoundsResponse> {
10637
10739
  return localVarFp.getDailyBookings(requestParameters.date, options).then((request) => request(axios, basePath));
10638
10740
  },
10639
10741
  /**
@@ -10642,7 +10744,7 @@ export const BookingsStaffApiFactory = function (configuration?: Configuration,
10642
10744
  * @param {*} [options] Override http request option.
10643
10745
  * @throws {RequiredError}
10644
10746
  */
10645
- getWeeklyBookings(requestParameters: BookingsStaffApiGetWeeklyBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<BookingPopulated>> {
10747
+ getWeeklyBookings(requestParameters: BookingsStaffApiGetWeeklyBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingsWithTimeBoundsResponse> {
10646
10748
  return localVarFp.getWeeklyBookings(requestParameters.weekId, options).then((request) => request(axios, basePath));
10647
10749
  },
10648
10750
  };
@@ -16017,6 +16119,49 @@ export const ClubsManagerApiAxiosParamCreator = function (configuration?: Config
16017
16119
  options: localVarRequestOptions,
16018
16120
  };
16019
16121
  },
16122
+ /**
16123
+ * Met à jour un membre d\'un club
16124
+ * @param {string} userId
16125
+ * @param {UpdateClubMemberRequest} updateClubMemberRequest
16126
+ * @param {*} [options] Override http request option.
16127
+ * @throws {RequiredError}
16128
+ */
16129
+ updateClubMember: async (userId: string, updateClubMemberRequest: UpdateClubMemberRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16130
+ // verify required parameter 'userId' is not null or undefined
16131
+ assertParamExists('updateClubMember', 'userId', userId)
16132
+ // verify required parameter 'updateClubMemberRequest' is not null or undefined
16133
+ assertParamExists('updateClubMember', 'updateClubMemberRequest', updateClubMemberRequest)
16134
+ const localVarPath = `/api/clubs/members/{userId}`
16135
+ .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
16136
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16137
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16138
+ let baseOptions;
16139
+ if (configuration) {
16140
+ baseOptions = configuration.baseOptions;
16141
+ }
16142
+
16143
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
16144
+ const localVarHeaderParameter = {} as any;
16145
+ const localVarQueryParameter = {} as any;
16146
+
16147
+ // authentication bearerAuth required
16148
+ // http bearer authentication required
16149
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
16150
+
16151
+
16152
+
16153
+ localVarHeaderParameter['Content-Type'] = 'application/json';
16154
+
16155
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16156
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16157
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16158
+ localVarRequestOptions.data = serializeDataIfNeeded(updateClubMemberRequest, localVarRequestOptions, configuration)
16159
+
16160
+ return {
16161
+ url: toPathString(localVarUrlObj),
16162
+ options: localVarRequestOptions,
16163
+ };
16164
+ },
16020
16165
  /**
16021
16166
  *
16022
16167
  * @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
@@ -16345,6 +16490,19 @@ export const ClubsManagerApiFp = function(configuration?: Configuration) {
16345
16490
  const localVarOperationServerBasePath = operationServerMap['ClubsManagerApi.updateClubInfos']?.[localVarOperationServerIndex]?.url;
16346
16491
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16347
16492
  },
16493
+ /**
16494
+ * Met à jour un membre d\'un club
16495
+ * @param {string} userId
16496
+ * @param {UpdateClubMemberRequest} updateClubMemberRequest
16497
+ * @param {*} [options] Override http request option.
16498
+ * @throws {RequiredError}
16499
+ */
16500
+ async updateClubMember(userId: string, updateClubMemberRequest: UpdateClubMemberRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddClubMember201Response>> {
16501
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateClubMember(userId, updateClubMemberRequest, options);
16502
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16503
+ const localVarOperationServerBasePath = operationServerMap['ClubsManagerApi.updateClubMember']?.[localVarOperationServerIndex]?.url;
16504
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16505
+ },
16348
16506
  /**
16349
16507
  *
16350
16508
  * @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
@@ -16536,6 +16694,15 @@ export const ClubsManagerApiFactory = function (configuration?: Configuration, b
16536
16694
  updateClubInfos(requestParameters: ClubsManagerApiUpdateClubInfosRequest, options?: RawAxiosRequestConfig): AxiosPromise<any> {
16537
16695
  return localVarFp.updateClubInfos(requestParameters.body, options).then((request) => request(axios, basePath));
16538
16696
  },
16697
+ /**
16698
+ * Met à jour un membre d\'un club
16699
+ * @param {ClubsManagerApiUpdateClubMemberRequest} requestParameters Request parameters.
16700
+ * @param {*} [options] Override http request option.
16701
+ * @throws {RequiredError}
16702
+ */
16703
+ updateClubMember(requestParameters: ClubsManagerApiUpdateClubMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddClubMember201Response> {
16704
+ return localVarFp.updateClubMember(requestParameters.userId, requestParameters.updateClubMemberRequest, options).then((request) => request(axios, basePath));
16705
+ },
16539
16706
  /**
16540
16707
  *
16541
16708
  * @param {ClubsManagerApiUpdateClubPresentationSettingsRequest} requestParameters Request parameters.
@@ -16790,6 +16957,27 @@ export interface ClubsManagerApiUpdateClubInfosRequest {
16790
16957
  readonly body: any
16791
16958
  }
16792
16959
 
16960
+ /**
16961
+ * Request parameters for updateClubMember operation in ClubsManagerApi.
16962
+ * @export
16963
+ * @interface ClubsManagerApiUpdateClubMemberRequest
16964
+ */
16965
+ export interface ClubsManagerApiUpdateClubMemberRequest {
16966
+ /**
16967
+ *
16968
+ * @type {string}
16969
+ * @memberof ClubsManagerApiUpdateClubMember
16970
+ */
16971
+ readonly userId: string
16972
+
16973
+ /**
16974
+ *
16975
+ * @type {UpdateClubMemberRequest}
16976
+ * @memberof ClubsManagerApiUpdateClubMember
16977
+ */
16978
+ readonly updateClubMemberRequest: UpdateClubMemberRequest
16979
+ }
16980
+
16793
16981
  /**
16794
16982
  * Request parameters for updateClubPresentationSettings operation in ClubsManagerApi.
16795
16983
  * @export
@@ -17028,6 +17216,17 @@ export class ClubsManagerApi extends BaseAPI {
17028
17216
  return ClubsManagerApiFp(this.configuration).updateClubInfos(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
17029
17217
  }
17030
17218
 
17219
+ /**
17220
+ * Met à jour un membre d\'un club
17221
+ * @param {ClubsManagerApiUpdateClubMemberRequest} requestParameters Request parameters.
17222
+ * @param {*} [options] Override http request option.
17223
+ * @throws {RequiredError}
17224
+ * @memberof ClubsManagerApi
17225
+ */
17226
+ public updateClubMember(requestParameters: ClubsManagerApiUpdateClubMemberRequest, options?: RawAxiosRequestConfig) {
17227
+ return ClubsManagerApiFp(this.configuration).updateClubMember(requestParameters.userId, requestParameters.updateClubMemberRequest, options).then((request) => request(this.axios, this.basePath));
17228
+ }
17229
+
17031
17230
  /**
17032
17231
  *
17033
17232
  * @param {ClubsManagerApiUpdateClubPresentationSettingsRequest} requestParameters Request parameters.
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.100
7
+ * The version of the OpenAPI document: 1.0.104
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.100
7
+ * The version of the OpenAPI document: 1.0.104
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.100
7
+ * The version of the OpenAPI document: 1.0.104
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.100
5
+ * The version of the OpenAPI document: 1.0.104
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1117,6 +1117,25 @@ export interface BookingSummary {
1117
1117
  */
1118
1118
  export interface BookingSummaryClubAddress {
1119
1119
  }
1120
+ /**
1121
+ *
1122
+ * @export
1123
+ * @interface BookingsWithTimeBoundsResponse
1124
+ */
1125
+ export interface BookingsWithTimeBoundsResponse {
1126
+ /**
1127
+ *
1128
+ * @type {Array<BookingPopulated>}
1129
+ * @memberof BookingsWithTimeBoundsResponse
1130
+ */
1131
+ 'bookings': Array<BookingPopulated>;
1132
+ /**
1133
+ *
1134
+ * @type {TimeBounds}
1135
+ * @memberof BookingsWithTimeBoundsResponse
1136
+ */
1137
+ 'timeBounds': TimeBounds;
1138
+ }
1120
1139
  /**
1121
1140
  *
1122
1141
  * @export
@@ -2548,6 +2567,24 @@ export interface ClubResponse {
2548
2567
  * @memberof ClubResponse
2549
2568
  */
2550
2569
  'picture'?: string;
2570
+ /**
2571
+ *
2572
+ * @type {Array<string>}
2573
+ * @memberof ClubResponse
2574
+ */
2575
+ 'bannerPictures'?: Array<string>;
2576
+ /**
2577
+ *
2578
+ * @type {Array<string>}
2579
+ * @memberof ClubResponse
2580
+ */
2581
+ 'galleryPictures'?: Array<string>;
2582
+ /**
2583
+ *
2584
+ * @type {Array<string>}
2585
+ * @memberof ClubResponse
2586
+ */
2587
+ 'tags'?: Array<string>;
2551
2588
  /**
2552
2589
  *
2553
2590
  * @type {ClubResponseLocation}
@@ -5151,6 +5188,24 @@ export interface PartialClubResponse {
5151
5188
  * @memberof PartialClubResponse
5152
5189
  */
5153
5190
  'picture'?: string;
5191
+ /**
5192
+ *
5193
+ * @type {Array<string>}
5194
+ * @memberof PartialClubResponse
5195
+ */
5196
+ 'bannerPictures'?: Array<string>;
5197
+ /**
5198
+ *
5199
+ * @type {Array<string>}
5200
+ * @memberof PartialClubResponse
5201
+ */
5202
+ 'galleryPictures'?: Array<string>;
5203
+ /**
5204
+ *
5205
+ * @type {Array<string>}
5206
+ * @memberof PartialClubResponse
5207
+ */
5208
+ 'tags'?: Array<string>;
5154
5209
  /**
5155
5210
  *
5156
5211
  * @type {ClubResponseLocation}
@@ -8204,6 +8259,25 @@ export interface Team {
8204
8259
  */
8205
8260
  'players': Array<string>;
8206
8261
  }
8262
+ /**
8263
+ *
8264
+ * @export
8265
+ * @interface TimeBounds
8266
+ */
8267
+ export interface TimeBounds {
8268
+ /**
8269
+ * Heure de début au format HH:mm
8270
+ * @type {string}
8271
+ * @memberof TimeBounds
8272
+ */
8273
+ 'start': string;
8274
+ /**
8275
+ * Heure de fin au format HH:mm
8276
+ * @type {string}
8277
+ * @memberof TimeBounds
8278
+ */
8279
+ 'end': string;
8280
+ }
8207
8281
  /**
8208
8282
  *
8209
8283
  * @export
@@ -8291,6 +8365,31 @@ export interface UpdateClubHoursSettingsRequest {
8291
8365
  */
8292
8366
  'pricingPeriods'?: Array<ClubPricingPeriodResponse>;
8293
8367
  }
8368
+ /**
8369
+ *
8370
+ * @export
8371
+ * @interface UpdateClubMemberRequest
8372
+ */
8373
+ export interface UpdateClubMemberRequest {
8374
+ /**
8375
+ * Rôle du membre dans le club
8376
+ * @type {string}
8377
+ * @memberof UpdateClubMemberRequest
8378
+ */
8379
+ 'role'?: UpdateClubMemberRequestRoleEnum;
8380
+ /**
8381
+ * Droits du membre dans le club
8382
+ * @type {Array<string>}
8383
+ * @memberof UpdateClubMemberRequest
8384
+ */
8385
+ 'rights'?: Array<string>;
8386
+ }
8387
+ export declare const UpdateClubMemberRequestRoleEnum: {
8388
+ readonly Admin: "admin";
8389
+ readonly Manager: "manager";
8390
+ readonly Staff: "staff";
8391
+ };
8392
+ export type UpdateClubMemberRequestRoleEnum = typeof UpdateClubMemberRequestRoleEnum[keyof typeof UpdateClubMemberRequestRoleEnum];
8294
8393
  /**
8295
8394
  *
8296
8395
  * @export
@@ -9905,14 +10004,14 @@ export declare const BookingsStaffApiFp: (configuration?: Configuration) => {
9905
10004
  * @param {*} [options] Override http request option.
9906
10005
  * @throws {RequiredError}
9907
10006
  */
9908
- getDailyBookings(date: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BookingPopulated>>>;
10007
+ getDailyBookings(date: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingsWithTimeBoundsResponse>>;
9909
10008
  /**
9910
10009
  * Obtenir les réservations hebdomadaires
9911
10010
  * @param {string} weekId
9912
10011
  * @param {*} [options] Override http request option.
9913
10012
  * @throws {RequiredError}
9914
10013
  */
9915
- getWeeklyBookings(weekId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BookingPopulated>>>;
10014
+ getWeeklyBookings(weekId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingsWithTimeBoundsResponse>>;
9916
10015
  };
9917
10016
  /**
9918
10017
  * BookingsStaffApi - factory interface
@@ -9953,14 +10052,14 @@ export declare const BookingsStaffApiFactory: (configuration?: Configuration, ba
9953
10052
  * @param {*} [options] Override http request option.
9954
10053
  * @throws {RequiredError}
9955
10054
  */
9956
- getDailyBookings(requestParameters: BookingsStaffApiGetDailyBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<BookingPopulated>>;
10055
+ getDailyBookings(requestParameters: BookingsStaffApiGetDailyBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingsWithTimeBoundsResponse>;
9957
10056
  /**
9958
10057
  * Obtenir les réservations hebdomadaires
9959
10058
  * @param {BookingsStaffApiGetWeeklyBookingsRequest} requestParameters Request parameters.
9960
10059
  * @param {*} [options] Override http request option.
9961
10060
  * @throws {RequiredError}
9962
10061
  */
9963
- getWeeklyBookings(requestParameters: BookingsStaffApiGetWeeklyBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<BookingPopulated>>;
10062
+ getWeeklyBookings(requestParameters: BookingsStaffApiGetWeeklyBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingsWithTimeBoundsResponse>;
9964
10063
  };
9965
10064
  /**
9966
10065
  * Request parameters for checkInPlayers operation in BookingsStaffApi.
@@ -10092,7 +10191,7 @@ export declare class BookingsStaffApi extends BaseAPI {
10092
10191
  * @throws {RequiredError}
10093
10192
  * @memberof BookingsStaffApi
10094
10193
  */
10095
- getDailyBookings(requestParameters: BookingsStaffApiGetDailyBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingPopulated[], any, {}>>;
10194
+ getDailyBookings(requestParameters: BookingsStaffApiGetDailyBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingsWithTimeBoundsResponse, any, {}>>;
10096
10195
  /**
10097
10196
  * Obtenir les réservations hebdomadaires
10098
10197
  * @param {BookingsStaffApiGetWeeklyBookingsRequest} requestParameters Request parameters.
@@ -10100,7 +10199,7 @@ export declare class BookingsStaffApi extends BaseAPI {
10100
10199
  * @throws {RequiredError}
10101
10200
  * @memberof BookingsStaffApi
10102
10201
  */
10103
- getWeeklyBookings(requestParameters: BookingsStaffApiGetWeeklyBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingPopulated[], any, {}>>;
10202
+ getWeeklyBookings(requestParameters: BookingsStaffApiGetWeeklyBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingsWithTimeBoundsResponse, any, {}>>;
10104
10203
  }
10105
10204
  /**
10106
10205
  * BookingsUserApi - axios parameter creator
@@ -12462,6 +12561,14 @@ export declare const ClubsManagerApiAxiosParamCreator: (configuration?: Configur
12462
12561
  * @throws {RequiredError}
12463
12562
  */
12464
12563
  updateClubInfos: (body: any, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12564
+ /**
12565
+ * Met à jour un membre d\'un club
12566
+ * @param {string} userId
12567
+ * @param {UpdateClubMemberRequest} updateClubMemberRequest
12568
+ * @param {*} [options] Override http request option.
12569
+ * @throws {RequiredError}
12570
+ */
12571
+ updateClubMember: (userId: string, updateClubMemberRequest: UpdateClubMemberRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12465
12572
  /**
12466
12573
  *
12467
12574
  * @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
@@ -12604,6 +12711,14 @@ export declare const ClubsManagerApiFp: (configuration?: Configuration) => {
12604
12711
  * @throws {RequiredError}
12605
12712
  */
12606
12713
  updateClubInfos(body: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
12714
+ /**
12715
+ * Met à jour un membre d\'un club
12716
+ * @param {string} userId
12717
+ * @param {UpdateClubMemberRequest} updateClubMemberRequest
12718
+ * @param {*} [options] Override http request option.
12719
+ * @throws {RequiredError}
12720
+ */
12721
+ updateClubMember(userId: string, updateClubMemberRequest: UpdateClubMemberRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddClubMember201Response>>;
12607
12722
  /**
12608
12723
  *
12609
12724
  * @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
@@ -12744,6 +12859,13 @@ export declare const ClubsManagerApiFactory: (configuration?: Configuration, bas
12744
12859
  * @throws {RequiredError}
12745
12860
  */
12746
12861
  updateClubInfos(requestParameters: ClubsManagerApiUpdateClubInfosRequest, options?: RawAxiosRequestConfig): AxiosPromise<any>;
12862
+ /**
12863
+ * Met à jour un membre d\'un club
12864
+ * @param {ClubsManagerApiUpdateClubMemberRequest} requestParameters Request parameters.
12865
+ * @param {*} [options] Override http request option.
12866
+ * @throws {RequiredError}
12867
+ */
12868
+ updateClubMember(requestParameters: ClubsManagerApiUpdateClubMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddClubMember201Response>;
12747
12869
  /**
12748
12870
  *
12749
12871
  * @param {ClubsManagerApiUpdateClubPresentationSettingsRequest} requestParameters Request parameters.
@@ -12973,6 +13095,25 @@ export interface ClubsManagerApiUpdateClubInfosRequest {
12973
13095
  */
12974
13096
  readonly body: any;
12975
13097
  }
13098
+ /**
13099
+ * Request parameters for updateClubMember operation in ClubsManagerApi.
13100
+ * @export
13101
+ * @interface ClubsManagerApiUpdateClubMemberRequest
13102
+ */
13103
+ export interface ClubsManagerApiUpdateClubMemberRequest {
13104
+ /**
13105
+ *
13106
+ * @type {string}
13107
+ * @memberof ClubsManagerApiUpdateClubMember
13108
+ */
13109
+ readonly userId: string;
13110
+ /**
13111
+ *
13112
+ * @type {UpdateClubMemberRequest}
13113
+ * @memberof ClubsManagerApiUpdateClubMember
13114
+ */
13115
+ readonly updateClubMemberRequest: UpdateClubMemberRequest;
13116
+ }
12976
13117
  /**
12977
13118
  * Request parameters for updateClubPresentationSettings operation in ClubsManagerApi.
12978
13119
  * @export
@@ -13158,6 +13299,14 @@ export declare class ClubsManagerApi extends BaseAPI {
13158
13299
  * @memberof ClubsManagerApi
13159
13300
  */
13160
13301
  updateClubInfos(requestParameters: ClubsManagerApiUpdateClubInfosRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
13302
+ /**
13303
+ * Met à jour un membre d\'un club
13304
+ * @param {ClubsManagerApiUpdateClubMemberRequest} requestParameters Request parameters.
13305
+ * @param {*} [options] Override http request option.
13306
+ * @throws {RequiredError}
13307
+ * @memberof ClubsManagerApi
13308
+ */
13309
+ updateClubMember(requestParameters: ClubsManagerApiUpdateClubMemberRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AddClubMember201Response, any, {}>>;
13161
13310
  /**
13162
13311
  *
13163
13312
  * @param {ClubsManagerApiUpdateClubPresentationSettingsRequest} requestParameters Request parameters.