@tennac-booking/sdk 1.0.157 → 1.0.159

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @tennac-booking/sdk@1.0.154
1
+ ## @tennac-booking/sdk@1.0.159
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.154 --save
39
+ npm install @tennac-booking/sdk@1.0.159 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -414,6 +414,7 @@ Class | Method | HTTP request | Description
414
414
  - [GetClubUsersById200Response](docs/GetClubUsersById200Response.md)
415
415
  - [GetClubsWithVerificationDomains200ResponseInner](docs/GetClubsWithVerificationDomains200ResponseInner.md)
416
416
  - [GetCourtsByClubAndSportById200Response](docs/GetCourtsByClubAndSportById200Response.md)
417
+ - [GetCourtsByClubAndSportById200ResponseCourtsInner](docs/GetCourtsByClubAndSportById200ResponseCourtsInner.md)
417
418
  - [GetGuestBookingPrice200Response](docs/GetGuestBookingPrice200Response.md)
418
419
  - [GetGuestBookingPriceRequest](docs/GetGuestBookingPriceRequest.md)
419
420
  - [GetInfillPercentagePerPeriod200Response](docs/GetInfillPercentagePerPeriod200Response.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.154
7
+ * The version of the OpenAPI document: 1.0.159
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2190,6 +2190,12 @@ export interface ClubLocationSettings {
2190
2190
  * @memberof ClubLocationSettings
2191
2191
  */
2192
2192
  'country'?: string;
2193
+ /**
2194
+ *
2195
+ * @type {Array<number>}
2196
+ * @memberof ClubLocationSettings
2197
+ */
2198
+ 'coordinates'?: Array<number>;
2193
2199
  }
2194
2200
  /**
2195
2201
  *
@@ -5871,11 +5877,116 @@ export interface GetCourtsByClubAndSportById200Response {
5871
5877
  'total': number;
5872
5878
  /**
5873
5879
  *
5874
- * @type {Array<ICourtData>}
5880
+ * @type {Array<GetCourtsByClubAndSportById200ResponseCourtsInner>}
5875
5881
  * @memberof GetCourtsByClubAndSportById200Response
5876
5882
  */
5877
- 'courts': Array<ICourtData>;
5883
+ 'courts': Array<GetCourtsByClubAndSportById200ResponseCourtsInner>;
5884
+ }
5885
+ /**
5886
+ *
5887
+ * @export
5888
+ * @interface GetCourtsByClubAndSportById200ResponseCourtsInner
5889
+ */
5890
+ export interface GetCourtsByClubAndSportById200ResponseCourtsInner {
5891
+ /**
5892
+ *
5893
+ * @type {string}
5894
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5895
+ */
5896
+ 'clubId': string;
5897
+ /**
5898
+ *
5899
+ * @type {string}
5900
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5901
+ */
5902
+ 'name': string;
5903
+ /**
5904
+ *
5905
+ * @type {CourtStatus}
5906
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5907
+ */
5908
+ 'status': CourtStatus;
5909
+ /**
5910
+ *
5911
+ * @type {string}
5912
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5913
+ */
5914
+ 'comments': string;
5915
+ /**
5916
+ *
5917
+ * @type {number}
5918
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5919
+ */
5920
+ 'slotDefaultDuration': number;
5921
+ /**
5922
+ *
5923
+ * @type {number}
5924
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5925
+ */
5926
+ 'startTimeInTheDayInMinutes': number;
5927
+ /**
5928
+ *
5929
+ * @type {number}
5930
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5931
+ */
5932
+ 'endTimeInTheDayInMinutes': number;
5933
+ /**
5934
+ *
5935
+ * @type {number}
5936
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5937
+ */
5938
+ 'pricePerHour'?: number;
5939
+ /**
5940
+ *
5941
+ * @type {string}
5942
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5943
+ */
5944
+ 'sportId': string;
5945
+ /**
5946
+ *
5947
+ * @type {SurfaceType}
5948
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5949
+ */
5950
+ 'surface'?: SurfaceType;
5951
+ /**
5952
+ *
5953
+ * @type {boolean}
5954
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5955
+ */
5956
+ 'isIndoor': boolean;
5957
+ /**
5958
+ *
5959
+ * @type {string}
5960
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5961
+ */
5962
+ 'createdAt'?: string;
5963
+ /**
5964
+ *
5965
+ * @type {string}
5966
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5967
+ */
5968
+ 'updatedAt'?: string;
5969
+ /**
5970
+ *
5971
+ * @type {number}
5972
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5973
+ */
5974
+ 'variationPercentage'?: number;
5975
+ /**
5976
+ *
5977
+ * @type {boolean}
5978
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5979
+ */
5980
+ 'isReducedPrice'?: boolean;
5981
+ /**
5982
+ *
5983
+ * @type {number}
5984
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5985
+ */
5986
+ 'estimatedPrice'?: number;
5878
5987
  }
5988
+
5989
+
5879
5990
  /**
5880
5991
  *
5881
5992
  * @export
@@ -6667,7 +6778,8 @@ export const ImageContextType = {
6667
6778
  ClubPreview: 'club-preview',
6668
6779
  ClubCarousel: 'club-carousel',
6669
6780
  ClubSportImage: 'club-sport-image',
6670
- ClubEventImage: 'club-event-image'
6781
+ ClubEventImage: 'club-event-image',
6782
+ ClubEventSponsorImage: 'club-event-sponsor-image'
6671
6783
  } as const;
6672
6784
 
6673
6785
  export type ImageContextType = typeof ImageContextType[keyof typeof ImageContextType];
@@ -10593,12 +10705,6 @@ export interface UpdateClubGeneralSettingsRequest {
10593
10705
  * @memberof UpdateClubGeneralSettingsRequest
10594
10706
  */
10595
10707
  'description'?: string;
10596
- /**
10597
- *
10598
- * @type {string}
10599
- * @memberof UpdateClubGeneralSettingsRequest
10600
- */
10601
- 'rib'?: string | null;
10602
10708
  /**
10603
10709
  *
10604
10710
  * @type {UpdateClubGeneralSettingsRequestLogo}
@@ -19367,10 +19473,12 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
19367
19473
  *
19368
19474
  * @param {string} id
19369
19475
  * @param {string} sportId
19476
+ * @param {string} [startDate]
19477
+ * @param {string} [endDate]
19370
19478
  * @param {*} [options] Override http request option.
19371
19479
  * @throws {RequiredError}
19372
19480
  */
19373
- getCourtsByClubAndSportById: async (id: string, sportId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
19481
+ getCourtsByClubAndSportById: async (id: string, sportId: string, startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
19374
19482
  // verify required parameter 'id' is not null or undefined
19375
19483
  assertParamExists('getCourtsByClubAndSportById', 'id', id)
19376
19484
  // verify required parameter 'sportId' is not null or undefined
@@ -19389,6 +19497,14 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
19389
19497
  const localVarHeaderParameter = {} as any;
19390
19498
  const localVarQueryParameter = {} as any;
19391
19499
 
19500
+ if (startDate !== undefined) {
19501
+ localVarQueryParameter['startDate'] = startDate;
19502
+ }
19503
+
19504
+ if (endDate !== undefined) {
19505
+ localVarQueryParameter['endDate'] = endDate;
19506
+ }
19507
+
19392
19508
 
19393
19509
 
19394
19510
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -19665,11 +19781,13 @@ export const ClubsApiFp = function(configuration?: Configuration) {
19665
19781
  *
19666
19782
  * @param {string} id
19667
19783
  * @param {string} sportId
19784
+ * @param {string} [startDate]
19785
+ * @param {string} [endDate]
19668
19786
  * @param {*} [options] Override http request option.
19669
19787
  * @throws {RequiredError}
19670
19788
  */
19671
- async getCourtsByClubAndSportById(id: string, sportId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCourtsByClubAndSportById200Response>> {
19672
- const localVarAxiosArgs = await localVarAxiosParamCreator.getCourtsByClubAndSportById(id, sportId, options);
19789
+ async getCourtsByClubAndSportById(id: string, sportId: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCourtsByClubAndSportById200Response>> {
19790
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCourtsByClubAndSportById(id, sportId, startDate, endDate, options);
19673
19791
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19674
19792
  const localVarOperationServerBasePath = operationServerMap['ClubsApi.getCourtsByClubAndSportById']?.[localVarOperationServerIndex]?.url;
19675
19793
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -19825,7 +19943,7 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
19825
19943
  * @throws {RequiredError}
19826
19944
  */
19827
19945
  getCourtsByClubAndSportById(requestParameters: ClubsApiGetCourtsByClubAndSportByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetCourtsByClubAndSportById200Response> {
19828
- return localVarFp.getCourtsByClubAndSportById(requestParameters.id, requestParameters.sportId, options).then((request) => request(axios, basePath));
19946
+ return localVarFp.getCourtsByClubAndSportById(requestParameters.id, requestParameters.sportId, requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
19829
19947
  },
19830
19948
  /**
19831
19949
  * Récupère les informations publiques d\'un club en fonction de son ID
@@ -19990,6 +20108,20 @@ export interface ClubsApiGetCourtsByClubAndSportByIdRequest {
19990
20108
  * @memberof ClubsApiGetCourtsByClubAndSportById
19991
20109
  */
19992
20110
  readonly sportId: string
20111
+
20112
+ /**
20113
+ *
20114
+ * @type {string}
20115
+ * @memberof ClubsApiGetCourtsByClubAndSportById
20116
+ */
20117
+ readonly startDate?: string
20118
+
20119
+ /**
20120
+ *
20121
+ * @type {string}
20122
+ * @memberof ClubsApiGetCourtsByClubAndSportById
20123
+ */
20124
+ readonly endDate?: string
19993
20125
  }
19994
20126
 
19995
20127
  /**
@@ -20169,7 +20301,7 @@ export class ClubsApi extends BaseAPI {
20169
20301
  * @memberof ClubsApi
20170
20302
  */
20171
20303
  public getCourtsByClubAndSportById(requestParameters: ClubsApiGetCourtsByClubAndSportByIdRequest, options?: RawAxiosRequestConfig) {
20172
- return ClubsApiFp(this.configuration).getCourtsByClubAndSportById(requestParameters.id, requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
20304
+ return ClubsApiFp(this.configuration).getCourtsByClubAndSportById(requestParameters.id, requestParameters.sportId, requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
20173
20305
  }
20174
20306
 
20175
20307
  /**
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.154
7
+ * The version of the OpenAPI document: 1.0.159
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.154
7
+ * The version of the OpenAPI document: 1.0.159
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.154
7
+ * The version of the OpenAPI document: 1.0.159
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.154
5
+ * The version of the OpenAPI document: 1.0.159
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2146,6 +2146,12 @@ export interface ClubLocationSettings {
2146
2146
  * @memberof ClubLocationSettings
2147
2147
  */
2148
2148
  'country'?: string;
2149
+ /**
2150
+ *
2151
+ * @type {Array<number>}
2152
+ * @memberof ClubLocationSettings
2153
+ */
2154
+ 'coordinates'?: Array<number>;
2149
2155
  }
2150
2156
  /**
2151
2157
  *
@@ -5764,10 +5770,113 @@ export interface GetCourtsByClubAndSportById200Response {
5764
5770
  'total': number;
5765
5771
  /**
5766
5772
  *
5767
- * @type {Array<ICourtData>}
5773
+ * @type {Array<GetCourtsByClubAndSportById200ResponseCourtsInner>}
5768
5774
  * @memberof GetCourtsByClubAndSportById200Response
5769
5775
  */
5770
- 'courts': Array<ICourtData>;
5776
+ 'courts': Array<GetCourtsByClubAndSportById200ResponseCourtsInner>;
5777
+ }
5778
+ /**
5779
+ *
5780
+ * @export
5781
+ * @interface GetCourtsByClubAndSportById200ResponseCourtsInner
5782
+ */
5783
+ export interface GetCourtsByClubAndSportById200ResponseCourtsInner {
5784
+ /**
5785
+ *
5786
+ * @type {string}
5787
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5788
+ */
5789
+ 'clubId': string;
5790
+ /**
5791
+ *
5792
+ * @type {string}
5793
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5794
+ */
5795
+ 'name': string;
5796
+ /**
5797
+ *
5798
+ * @type {CourtStatus}
5799
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5800
+ */
5801
+ 'status': CourtStatus;
5802
+ /**
5803
+ *
5804
+ * @type {string}
5805
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5806
+ */
5807
+ 'comments': string;
5808
+ /**
5809
+ *
5810
+ * @type {number}
5811
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5812
+ */
5813
+ 'slotDefaultDuration': number;
5814
+ /**
5815
+ *
5816
+ * @type {number}
5817
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5818
+ */
5819
+ 'startTimeInTheDayInMinutes': number;
5820
+ /**
5821
+ *
5822
+ * @type {number}
5823
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5824
+ */
5825
+ 'endTimeInTheDayInMinutes': number;
5826
+ /**
5827
+ *
5828
+ * @type {number}
5829
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5830
+ */
5831
+ 'pricePerHour'?: number;
5832
+ /**
5833
+ *
5834
+ * @type {string}
5835
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5836
+ */
5837
+ 'sportId': string;
5838
+ /**
5839
+ *
5840
+ * @type {SurfaceType}
5841
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5842
+ */
5843
+ 'surface'?: SurfaceType;
5844
+ /**
5845
+ *
5846
+ * @type {boolean}
5847
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5848
+ */
5849
+ 'isIndoor': boolean;
5850
+ /**
5851
+ *
5852
+ * @type {string}
5853
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5854
+ */
5855
+ 'createdAt'?: string;
5856
+ /**
5857
+ *
5858
+ * @type {string}
5859
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5860
+ */
5861
+ 'updatedAt'?: string;
5862
+ /**
5863
+ *
5864
+ * @type {number}
5865
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5866
+ */
5867
+ 'variationPercentage'?: number;
5868
+ /**
5869
+ *
5870
+ * @type {boolean}
5871
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5872
+ */
5873
+ 'isReducedPrice'?: boolean;
5874
+ /**
5875
+ *
5876
+ * @type {number}
5877
+ * @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
5878
+ */
5879
+ 'estimatedPrice'?: number;
5771
5880
  }
5772
5881
  /**
5773
5882
  *
@@ -6557,6 +6666,7 @@ export declare const ImageContextType: {
6557
6666
  readonly ClubCarousel: "club-carousel";
6558
6667
  readonly ClubSportImage: "club-sport-image";
6559
6668
  readonly ClubEventImage: "club-event-image";
6669
+ readonly ClubEventSponsorImage: "club-event-sponsor-image";
6560
6670
  };
6561
6671
  export type ImageContextType = typeof ImageContextType[keyof typeof ImageContextType];
6562
6672
  /**
@@ -10399,12 +10509,6 @@ export interface UpdateClubGeneralSettingsRequest {
10399
10509
  * @memberof UpdateClubGeneralSettingsRequest
10400
10510
  */
10401
10511
  'description'?: string;
10402
- /**
10403
- *
10404
- * @type {string}
10405
- * @memberof UpdateClubGeneralSettingsRequest
10406
- */
10407
- 'rib'?: string | null;
10408
10512
  /**
10409
10513
  *
10410
10514
  * @type {UpdateClubGeneralSettingsRequestLogo}
@@ -15588,10 +15692,12 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
15588
15692
  *
15589
15693
  * @param {string} id
15590
15694
  * @param {string} sportId
15695
+ * @param {string} [startDate]
15696
+ * @param {string} [endDate]
15591
15697
  * @param {*} [options] Override http request option.
15592
15698
  * @throws {RequiredError}
15593
15699
  */
15594
- getCourtsByClubAndSportById: (id: string, sportId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15700
+ getCourtsByClubAndSportById: (id: string, sportId: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15595
15701
  /**
15596
15702
  * Récupère les informations publiques d\'un club en fonction de son ID
15597
15703
  * @param {string} clubId
@@ -15699,10 +15805,12 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
15699
15805
  *
15700
15806
  * @param {string} id
15701
15807
  * @param {string} sportId
15808
+ * @param {string} [startDate]
15809
+ * @param {string} [endDate]
15702
15810
  * @param {*} [options] Override http request option.
15703
15811
  * @throws {RequiredError}
15704
15812
  */
15705
- getCourtsByClubAndSportById(id: string, sportId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCourtsByClubAndSportById200Response>>;
15813
+ getCourtsByClubAndSportById(id: string, sportId: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCourtsByClubAndSportById200Response>>;
15706
15814
  /**
15707
15815
  * Récupère les informations publiques d\'un club en fonction de son ID
15708
15816
  * @param {string} clubId
@@ -15953,6 +16061,18 @@ export interface ClubsApiGetCourtsByClubAndSportByIdRequest {
15953
16061
  * @memberof ClubsApiGetCourtsByClubAndSportById
15954
16062
  */
15955
16063
  readonly sportId: string;
16064
+ /**
16065
+ *
16066
+ * @type {string}
16067
+ * @memberof ClubsApiGetCourtsByClubAndSportById
16068
+ */
16069
+ readonly startDate?: string;
16070
+ /**
16071
+ *
16072
+ * @type {string}
16073
+ * @memberof ClubsApiGetCourtsByClubAndSportById
16074
+ */
16075
+ readonly endDate?: string;
15956
16076
  }
15957
16077
  /**
15958
16078
  * Request parameters for getPublicClubInfo operation in ClubsApi.
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.154
8
+ * The version of the OpenAPI document: 1.0.159
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -185,7 +185,8 @@ exports.ImageContextType = {
185
185
  ClubPreview: 'club-preview',
186
186
  ClubCarousel: 'club-carousel',
187
187
  ClubSportImage: 'club-sport-image',
188
- ClubEventImage: 'club-event-image'
188
+ ClubEventImage: 'club-event-image',
189
+ ClubEventSponsorImage: 'club-event-sponsor-image'
189
190
  };
190
191
  /**
191
192
  *
@@ -5980,10 +5981,12 @@ const ClubsApiAxiosParamCreator = function (configuration) {
5980
5981
  *
5981
5982
  * @param {string} id
5982
5983
  * @param {string} sportId
5984
+ * @param {string} [startDate]
5985
+ * @param {string} [endDate]
5983
5986
  * @param {*} [options] Override http request option.
5984
5987
  * @throws {RequiredError}
5985
5988
  */
5986
- getCourtsByClubAndSportById: (id_1, sportId_1, ...args_1) => __awaiter(this, [id_1, sportId_1, ...args_1], void 0, function* (id, sportId, options = {}) {
5989
+ getCourtsByClubAndSportById: (id_1, sportId_1, startDate_1, endDate_1, ...args_1) => __awaiter(this, [id_1, sportId_1, startDate_1, endDate_1, ...args_1], void 0, function* (id, sportId, startDate, endDate, options = {}) {
5987
5990
  // verify required parameter 'id' is not null or undefined
5988
5991
  (0, common_1.assertParamExists)('getCourtsByClubAndSportById', 'id', id);
5989
5992
  // verify required parameter 'sportId' is not null or undefined
@@ -6000,6 +6003,12 @@ const ClubsApiAxiosParamCreator = function (configuration) {
6000
6003
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6001
6004
  const localVarHeaderParameter = {};
6002
6005
  const localVarQueryParameter = {};
6006
+ if (startDate !== undefined) {
6007
+ localVarQueryParameter['startDate'] = startDate;
6008
+ }
6009
+ if (endDate !== undefined) {
6010
+ localVarQueryParameter['endDate'] = endDate;
6011
+ }
6003
6012
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6004
6013
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6005
6014
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -6283,13 +6292,15 @@ const ClubsApiFp = function (configuration) {
6283
6292
  *
6284
6293
  * @param {string} id
6285
6294
  * @param {string} sportId
6295
+ * @param {string} [startDate]
6296
+ * @param {string} [endDate]
6286
6297
  * @param {*} [options] Override http request option.
6287
6298
  * @throws {RequiredError}
6288
6299
  */
6289
- getCourtsByClubAndSportById(id, sportId, options) {
6300
+ getCourtsByClubAndSportById(id, sportId, startDate, endDate, options) {
6290
6301
  return __awaiter(this, void 0, void 0, function* () {
6291
6302
  var _a, _b, _c;
6292
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getCourtsByClubAndSportById(id, sportId, options);
6303
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getCourtsByClubAndSportById(id, sportId, startDate, endDate, options);
6293
6304
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6294
6305
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubsApi.getCourtsByClubAndSportById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6295
6306
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -6458,7 +6469,7 @@ const ClubsApiFactory = function (configuration, basePath, axios) {
6458
6469
  * @throws {RequiredError}
6459
6470
  */
6460
6471
  getCourtsByClubAndSportById(requestParameters, options) {
6461
- return localVarFp.getCourtsByClubAndSportById(requestParameters.id, requestParameters.sportId, options).then((request) => request(axios, basePath));
6472
+ return localVarFp.getCourtsByClubAndSportById(requestParameters.id, requestParameters.sportId, requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
6462
6473
  },
6463
6474
  /**
6464
6475
  * Récupère les informations publiques d\'un club en fonction de son ID
@@ -6610,7 +6621,7 @@ class ClubsApi extends base_1.BaseAPI {
6610
6621
  * @memberof ClubsApi
6611
6622
  */
6612
6623
  getCourtsByClubAndSportById(requestParameters, options) {
6613
- return (0, exports.ClubsApiFp)(this.configuration).getCourtsByClubAndSportById(requestParameters.id, requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
6624
+ return (0, exports.ClubsApiFp)(this.configuration).getCourtsByClubAndSportById(requestParameters.id, requestParameters.sportId, requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
6614
6625
  }
6615
6626
  /**
6616
6627
  * Récupère les informations publiques d\'un club en fonction de son ID
package/dist/base.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.154
5
+ * The version of the OpenAPI document: 1.0.159
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.154
8
+ * The version of the OpenAPI document: 1.0.159
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.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.154
5
+ * The version of the OpenAPI document: 1.0.159
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.154
8
+ * The version of the OpenAPI document: 1.0.159
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.154
5
+ * The version of the OpenAPI document: 1.0.159
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.154
8
+ * The version of the OpenAPI document: 1.0.159
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).