@tennac-booking/sdk 1.0.94 → 1.0.95

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.
@@ -232,6 +232,8 @@ docs/UpdateUserRequestBody.md
232
232
  docs/UpdateUserRequestBodyLevelBySportsInner.md
233
233
  docs/UserApi.md
234
234
  docs/UserBookingsResponse.md
235
+ docs/UserClubMembership.md
236
+ docs/UserClubMembershipsResponse.md
235
237
  docs/UserClubSubscription.md
236
238
  docs/UserInfo.md
237
239
  docs/UserLocationSummary.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @tennac-booking/sdk@1.0.94
1
+ ## @tennac-booking/sdk@1.0.95
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.94 --save
39
+ npm install @tennac-booking/sdk@1.0.95 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -161,6 +161,7 @@ Class | Method | HTTP request | Description
161
161
  *UsersApi* | [**getFrequentlyPlayedWith**](docs/UsersApi.md#getfrequentlyplayedwith) | **GET** /api/users/me/frequentlyPlayedWith |
162
162
  *UsersApi* | [**getFrequentlyVisitedClub**](docs/UsersApi.md#getfrequentlyvisitedclub) | **GET** /api/users/me/frequentlyVisitedClub |
163
163
  *UsersApi* | [**getMe**](docs/UsersApi.md#getme) | **GET** /api/users/me |
164
+ *UsersApi* | [**getMyClubMemberships**](docs/UsersApi.md#getmyclubmemberships) | **GET** /api/users/me/club-memberships |
164
165
  *UsersApi* | [**getNearestClubs**](docs/UsersApi.md#getnearestclubs) | **GET** /api/users/me/nearest-clubs |
165
166
  *UsersApi* | [**getNearestClubsFromCoordinates**](docs/UsersApi.md#getnearestclubsfromcoordinates) | **GET** /api/users/nearest-clubs/coordinates |
166
167
  *UsersApi* | [**getNearestUsers**](docs/UsersApi.md#getnearestusers) | **GET** /api/users/me/nearest-players |
@@ -391,6 +392,8 @@ Class | Method | HTTP request | Description
391
392
  - [UpdateUserRequestBody](docs/UpdateUserRequestBody.md)
392
393
  - [UpdateUserRequestBodyLevelBySportsInner](docs/UpdateUserRequestBodyLevelBySportsInner.md)
393
394
  - [UserBookingsResponse](docs/UserBookingsResponse.md)
395
+ - [UserClubMembership](docs/UserClubMembership.md)
396
+ - [UserClubMembershipsResponse](docs/UserClubMembershipsResponse.md)
394
397
  - [UserClubSubscription](docs/UserClubSubscription.md)
395
398
  - [UserInfo](docs/UserInfo.md)
396
399
  - [UserLocationSummary](docs/UserLocationSummary.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.94
7
+ * The version of the OpenAPI document: 1.0.95
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -929,6 +929,12 @@ export interface BookingSummary {
929
929
  * @memberof BookingSummary
930
930
  */
931
931
  'isPublic': boolean;
932
+ /**
933
+ *
934
+ * @type {string}
935
+ * @memberof BookingSummary
936
+ */
937
+ 'requestingUserId': string;
932
938
  /**
933
939
  *
934
940
  * @type {string}
@@ -1049,6 +1055,12 @@ export interface BookingSummary {
1049
1055
  * @memberof BookingSummary
1050
1056
  */
1051
1057
  'myAmountToPay': number;
1058
+ /**
1059
+ *
1060
+ * @type {string}
1061
+ * @memberof BookingSummary
1062
+ */
1063
+ 'paymentUrl'?: string | null;
1052
1064
  /**
1053
1065
  *
1054
1066
  * @type {number}
@@ -7726,6 +7738,74 @@ export interface UserBookingsResponse {
7726
7738
  */
7727
7739
  'bookings': Array<BookingSummary>;
7728
7740
  }
7741
+ /**
7742
+ *
7743
+ * @export
7744
+ * @interface UserClubMembership
7745
+ */
7746
+ export interface UserClubMembership {
7747
+ /**
7748
+ *
7749
+ * @type {string}
7750
+ * @memberof UserClubMembership
7751
+ */
7752
+ 'clubId': string;
7753
+ /**
7754
+ *
7755
+ * @type {string}
7756
+ * @memberof UserClubMembership
7757
+ */
7758
+ 'clubName': string | null;
7759
+ /**
7760
+ *
7761
+ * @type {string}
7762
+ * @memberof UserClubMembership
7763
+ */
7764
+ 'clubPicture': string | null;
7765
+ /**
7766
+ *
7767
+ * @type {number}
7768
+ * @memberof UserClubMembership
7769
+ */
7770
+ 'bookingCount': number;
7771
+ /**
7772
+ *
7773
+ * @type {number}
7774
+ * @memberof UserClubMembership
7775
+ */
7776
+ 'credits': number;
7777
+ /**
7778
+ *
7779
+ * @type {string}
7780
+ * @memberof UserClubMembership
7781
+ */
7782
+ 'billingPortalUrl': string | null;
7783
+ /**
7784
+ *
7785
+ * @type {boolean}
7786
+ * @memberof UserClubMembership
7787
+ */
7788
+ 'hasActiveSubscription': boolean;
7789
+ /**
7790
+ *
7791
+ * @type {Array<UserClubSubscription>}
7792
+ * @memberof UserClubMembership
7793
+ */
7794
+ 'subscriptions': Array<UserClubSubscription>;
7795
+ }
7796
+ /**
7797
+ *
7798
+ * @export
7799
+ * @interface UserClubMembershipsResponse
7800
+ */
7801
+ export interface UserClubMembershipsResponse {
7802
+ /**
7803
+ *
7804
+ * @type {Array<UserClubMembership>}
7805
+ * @memberof UserClubMembershipsResponse
7806
+ */
7807
+ 'clubs': Array<UserClubMembership>;
7808
+ }
7729
7809
  /**
7730
7810
  *
7731
7811
  * @export
@@ -17627,6 +17707,39 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
17627
17707
 
17628
17708
 
17629
17709
 
17710
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17711
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17712
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17713
+
17714
+ return {
17715
+ url: toPathString(localVarUrlObj),
17716
+ options: localVarRequestOptions,
17717
+ };
17718
+ },
17719
+ /**
17720
+ * Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
17721
+ * @param {*} [options] Override http request option.
17722
+ * @throws {RequiredError}
17723
+ */
17724
+ getMyClubMemberships: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17725
+ const localVarPath = `/api/users/me/club-memberships`;
17726
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17727
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17728
+ let baseOptions;
17729
+ if (configuration) {
17730
+ baseOptions = configuration.baseOptions;
17731
+ }
17732
+
17733
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17734
+ const localVarHeaderParameter = {} as any;
17735
+ const localVarQueryParameter = {} as any;
17736
+
17737
+ // authentication bearerAuth required
17738
+ // http bearer authentication required
17739
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
17740
+
17741
+
17742
+
17630
17743
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17631
17744
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17632
17745
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -18734,6 +18847,17 @@ export const UsersApiFp = function(configuration?: Configuration) {
18734
18847
  const localVarOperationServerBasePath = operationServerMap['UsersApi.getMe']?.[localVarOperationServerIndex]?.url;
18735
18848
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18736
18849
  },
18850
+ /**
18851
+ * Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
18852
+ * @param {*} [options] Override http request option.
18853
+ * @throws {RequiredError}
18854
+ */
18855
+ async getMyClubMemberships(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserClubMembershipsResponse>> {
18856
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getMyClubMemberships(options);
18857
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18858
+ const localVarOperationServerBasePath = operationServerMap['UsersApi.getMyClubMemberships']?.[localVarOperationServerIndex]?.url;
18859
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18860
+ },
18737
18861
  /**
18738
18862
  *
18739
18863
  * @param {number} [radiusInKm]
@@ -19141,6 +19265,14 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
19141
19265
  getMe(options?: RawAxiosRequestConfig): AxiosPromise<UserProfileResponse> {
19142
19266
  return localVarFp.getMe(options).then((request) => request(axios, basePath));
19143
19267
  },
19268
+ /**
19269
+ * Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
19270
+ * @param {*} [options] Override http request option.
19271
+ * @throws {RequiredError}
19272
+ */
19273
+ getMyClubMemberships(options?: RawAxiosRequestConfig): AxiosPromise<UserClubMembershipsResponse> {
19274
+ return localVarFp.getMyClubMemberships(options).then((request) => request(axios, basePath));
19275
+ },
19144
19276
  /**
19145
19277
  *
19146
19278
  * @param {UsersApiGetNearestClubsRequest} requestParameters Request parameters.
@@ -19984,6 +20116,16 @@ export class UsersApi extends BaseAPI {
19984
20116
  return UsersApiFp(this.configuration).getMe(options).then((request) => request(this.axios, this.basePath));
19985
20117
  }
19986
20118
 
20119
+ /**
20120
+ * Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
20121
+ * @param {*} [options] Override http request option.
20122
+ * @throws {RequiredError}
20123
+ * @memberof UsersApi
20124
+ */
20125
+ public getMyClubMemberships(options?: RawAxiosRequestConfig) {
20126
+ return UsersApiFp(this.configuration).getMyClubMemberships(options).then((request) => request(this.axios, this.basePath));
20127
+ }
20128
+
19987
20129
  /**
19988
20130
  *
19989
20131
  * @param {UsersApiGetNearestClubsRequest} 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.94
7
+ * The version of the OpenAPI document: 1.0.95
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.94
7
+ * The version of the OpenAPI document: 1.0.95
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.94
7
+ * The version of the OpenAPI document: 1.0.95
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.94
5
+ * The version of the OpenAPI document: 1.0.95
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -906,6 +906,12 @@ export interface BookingSummary {
906
906
  * @memberof BookingSummary
907
907
  */
908
908
  'isPublic': boolean;
909
+ /**
910
+ *
911
+ * @type {string}
912
+ * @memberof BookingSummary
913
+ */
914
+ 'requestingUserId': string;
909
915
  /**
910
916
  *
911
917
  * @type {string}
@@ -1026,6 +1032,12 @@ export interface BookingSummary {
1026
1032
  * @memberof BookingSummary
1027
1033
  */
1028
1034
  'myAmountToPay': number;
1035
+ /**
1036
+ *
1037
+ * @type {string}
1038
+ * @memberof BookingSummary
1039
+ */
1040
+ 'paymentUrl'?: string | null;
1029
1041
  /**
1030
1042
  *
1031
1043
  * @type {number}
@@ -7570,6 +7582,74 @@ export interface UserBookingsResponse {
7570
7582
  */
7571
7583
  'bookings': Array<BookingSummary>;
7572
7584
  }
7585
+ /**
7586
+ *
7587
+ * @export
7588
+ * @interface UserClubMembership
7589
+ */
7590
+ export interface UserClubMembership {
7591
+ /**
7592
+ *
7593
+ * @type {string}
7594
+ * @memberof UserClubMembership
7595
+ */
7596
+ 'clubId': string;
7597
+ /**
7598
+ *
7599
+ * @type {string}
7600
+ * @memberof UserClubMembership
7601
+ */
7602
+ 'clubName': string | null;
7603
+ /**
7604
+ *
7605
+ * @type {string}
7606
+ * @memberof UserClubMembership
7607
+ */
7608
+ 'clubPicture': string | null;
7609
+ /**
7610
+ *
7611
+ * @type {number}
7612
+ * @memberof UserClubMembership
7613
+ */
7614
+ 'bookingCount': number;
7615
+ /**
7616
+ *
7617
+ * @type {number}
7618
+ * @memberof UserClubMembership
7619
+ */
7620
+ 'credits': number;
7621
+ /**
7622
+ *
7623
+ * @type {string}
7624
+ * @memberof UserClubMembership
7625
+ */
7626
+ 'billingPortalUrl': string | null;
7627
+ /**
7628
+ *
7629
+ * @type {boolean}
7630
+ * @memberof UserClubMembership
7631
+ */
7632
+ 'hasActiveSubscription': boolean;
7633
+ /**
7634
+ *
7635
+ * @type {Array<UserClubSubscription>}
7636
+ * @memberof UserClubMembership
7637
+ */
7638
+ 'subscriptions': Array<UserClubSubscription>;
7639
+ }
7640
+ /**
7641
+ *
7642
+ * @export
7643
+ * @interface UserClubMembershipsResponse
7644
+ */
7645
+ export interface UserClubMembershipsResponse {
7646
+ /**
7647
+ *
7648
+ * @type {Array<UserClubMembership>}
7649
+ * @memberof UserClubMembershipsResponse
7650
+ */
7651
+ 'clubs': Array<UserClubMembership>;
7652
+ }
7573
7653
  /**
7574
7654
  *
7575
7655
  * @export
@@ -12746,6 +12826,12 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
12746
12826
  * @throws {RequiredError}
12747
12827
  */
12748
12828
  getMe: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12829
+ /**
12830
+ * Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
12831
+ * @param {*} [options] Override http request option.
12832
+ * @throws {RequiredError}
12833
+ */
12834
+ getMyClubMemberships: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12749
12835
  /**
12750
12836
  *
12751
12837
  * @param {number} [radiusInKm]
@@ -13007,6 +13093,12 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
13007
13093
  * @throws {RequiredError}
13008
13094
  */
13009
13095
  getMe(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserProfileResponse>>;
13096
+ /**
13097
+ * Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
13098
+ * @param {*} [options] Override http request option.
13099
+ * @throws {RequiredError}
13100
+ */
13101
+ getMyClubMemberships(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserClubMembershipsResponse>>;
13010
13102
  /**
13011
13103
  *
13012
13104
  * @param {number} [radiusInKm]
@@ -13276,6 +13368,12 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
13276
13368
  * @throws {RequiredError}
13277
13369
  */
13278
13370
  getMe(options?: RawAxiosRequestConfig): AxiosPromise<UserProfileResponse>;
13371
+ /**
13372
+ * Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
13373
+ * @param {*} [options] Override http request option.
13374
+ * @throws {RequiredError}
13375
+ */
13376
+ getMyClubMemberships(options?: RawAxiosRequestConfig): AxiosPromise<UserClubMembershipsResponse>;
13279
13377
  /**
13280
13378
  *
13281
13379
  * @param {UsersApiGetNearestClubsRequest} requestParameters Request parameters.
@@ -13999,6 +14097,13 @@ export declare class UsersApi extends BaseAPI {
13999
14097
  * @memberof UsersApi
14000
14098
  */
14001
14099
  getMe(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserProfileResponse, any>>;
14100
+ /**
14101
+ * Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
14102
+ * @param {*} [options] Override http request option.
14103
+ * @throws {RequiredError}
14104
+ * @memberof UsersApi
14105
+ */
14106
+ getMyClubMemberships(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserClubMembershipsResponse, any>>;
14002
14107
  /**
14003
14108
  *
14004
14109
  * @param {UsersApiGetNearestClubsRequest} requestParameters Request parameters.
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.94
8
+ * The version of the OpenAPI document: 1.0.95
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7999,6 +7999,33 @@ const UsersApiAxiosParamCreator = function (configuration) {
7999
7999
  options: localVarRequestOptions,
8000
8000
  };
8001
8001
  }),
8002
+ /**
8003
+ * Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
8004
+ * @param {*} [options] Override http request option.
8005
+ * @throws {RequiredError}
8006
+ */
8007
+ getMyClubMemberships: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
8008
+ const localVarPath = `/api/users/me/club-memberships`;
8009
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8010
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8011
+ let baseOptions;
8012
+ if (configuration) {
8013
+ baseOptions = configuration.baseOptions;
8014
+ }
8015
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
8016
+ const localVarHeaderParameter = {};
8017
+ const localVarQueryParameter = {};
8018
+ // authentication bearerAuth required
8019
+ // http bearer authentication required
8020
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
8021
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8022
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8023
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8024
+ return {
8025
+ url: (0, common_1.toPathString)(localVarUrlObj),
8026
+ options: localVarRequestOptions,
8027
+ };
8028
+ }),
8002
8029
  /**
8003
8030
  *
8004
8031
  * @param {number} [radiusInKm]
@@ -8959,6 +8986,20 @@ const UsersApiFp = function (configuration) {
8959
8986
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8960
8987
  });
8961
8988
  },
8989
+ /**
8990
+ * Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
8991
+ * @param {*} [options] Override http request option.
8992
+ * @throws {RequiredError}
8993
+ */
8994
+ getMyClubMemberships(options) {
8995
+ return __awaiter(this, void 0, void 0, function* () {
8996
+ var _a, _b, _c;
8997
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getMyClubMemberships(options);
8998
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8999
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UsersApi.getMyClubMemberships']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9000
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9001
+ });
9002
+ },
8962
9003
  /**
8963
9004
  *
8964
9005
  * @param {number} [radiusInKm]
@@ -9438,6 +9479,14 @@ const UsersApiFactory = function (configuration, basePath, axios) {
9438
9479
  getMe(options) {
9439
9480
  return localVarFp.getMe(options).then((request) => request(axios, basePath));
9440
9481
  },
9482
+ /**
9483
+ * Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
9484
+ * @param {*} [options] Override http request option.
9485
+ * @throws {RequiredError}
9486
+ */
9487
+ getMyClubMemberships(options) {
9488
+ return localVarFp.getMyClubMemberships(options).then((request) => request(axios, basePath));
9489
+ },
9441
9490
  /**
9442
9491
  *
9443
9492
  * @param {UsersApiGetNearestClubsRequest} requestParameters Request parameters.
@@ -9766,6 +9815,15 @@ class UsersApi extends base_1.BaseAPI {
9766
9815
  getMe(options) {
9767
9816
  return (0, exports.UsersApiFp)(this.configuration).getMe(options).then((request) => request(this.axios, this.basePath));
9768
9817
  }
9818
+ /**
9819
+ * Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
9820
+ * @param {*} [options] Override http request option.
9821
+ * @throws {RequiredError}
9822
+ * @memberof UsersApi
9823
+ */
9824
+ getMyClubMemberships(options) {
9825
+ return (0, exports.UsersApiFp)(this.configuration).getMyClubMemberships(options).then((request) => request(this.axios, this.basePath));
9826
+ }
9769
9827
  /**
9770
9828
  *
9771
9829
  * @param {UsersApiGetNearestClubsRequest} requestParameters Request parameters.
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.94
5
+ * The version of the OpenAPI document: 1.0.95
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.94
8
+ * The version of the OpenAPI document: 1.0.95
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.94
5
+ * The version of the OpenAPI document: 1.0.95
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.94
8
+ * The version of the OpenAPI document: 1.0.95
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.94
5
+ * The version of the OpenAPI document: 1.0.95
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.94
8
+ * The version of the OpenAPI document: 1.0.95
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/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.94
5
+ * The version of the OpenAPI document: 1.0.95
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -906,6 +906,12 @@ export interface BookingSummary {
906
906
  * @memberof BookingSummary
907
907
  */
908
908
  'isPublic': boolean;
909
+ /**
910
+ *
911
+ * @type {string}
912
+ * @memberof BookingSummary
913
+ */
914
+ 'requestingUserId': string;
909
915
  /**
910
916
  *
911
917
  * @type {string}
@@ -1026,6 +1032,12 @@ export interface BookingSummary {
1026
1032
  * @memberof BookingSummary
1027
1033
  */
1028
1034
  'myAmountToPay': number;
1035
+ /**
1036
+ *
1037
+ * @type {string}
1038
+ * @memberof BookingSummary
1039
+ */
1040
+ 'paymentUrl'?: string | null;
1029
1041
  /**
1030
1042
  *
1031
1043
  * @type {number}
@@ -7570,6 +7582,74 @@ export interface UserBookingsResponse {
7570
7582
  */
7571
7583
  'bookings': Array<BookingSummary>;
7572
7584
  }
7585
+ /**
7586
+ *
7587
+ * @export
7588
+ * @interface UserClubMembership
7589
+ */
7590
+ export interface UserClubMembership {
7591
+ /**
7592
+ *
7593
+ * @type {string}
7594
+ * @memberof UserClubMembership
7595
+ */
7596
+ 'clubId': string;
7597
+ /**
7598
+ *
7599
+ * @type {string}
7600
+ * @memberof UserClubMembership
7601
+ */
7602
+ 'clubName': string | null;
7603
+ /**
7604
+ *
7605
+ * @type {string}
7606
+ * @memberof UserClubMembership
7607
+ */
7608
+ 'clubPicture': string | null;
7609
+ /**
7610
+ *
7611
+ * @type {number}
7612
+ * @memberof UserClubMembership
7613
+ */
7614
+ 'bookingCount': number;
7615
+ /**
7616
+ *
7617
+ * @type {number}
7618
+ * @memberof UserClubMembership
7619
+ */
7620
+ 'credits': number;
7621
+ /**
7622
+ *
7623
+ * @type {string}
7624
+ * @memberof UserClubMembership
7625
+ */
7626
+ 'billingPortalUrl': string | null;
7627
+ /**
7628
+ *
7629
+ * @type {boolean}
7630
+ * @memberof UserClubMembership
7631
+ */
7632
+ 'hasActiveSubscription': boolean;
7633
+ /**
7634
+ *
7635
+ * @type {Array<UserClubSubscription>}
7636
+ * @memberof UserClubMembership
7637
+ */
7638
+ 'subscriptions': Array<UserClubSubscription>;
7639
+ }
7640
+ /**
7641
+ *
7642
+ * @export
7643
+ * @interface UserClubMembershipsResponse
7644
+ */
7645
+ export interface UserClubMembershipsResponse {
7646
+ /**
7647
+ *
7648
+ * @type {Array<UserClubMembership>}
7649
+ * @memberof UserClubMembershipsResponse
7650
+ */
7651
+ 'clubs': Array<UserClubMembership>;
7652
+ }
7573
7653
  /**
7574
7654
  *
7575
7655
  * @export
@@ -12746,6 +12826,12 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
12746
12826
  * @throws {RequiredError}
12747
12827
  */
12748
12828
  getMe: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12829
+ /**
12830
+ * Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
12831
+ * @param {*} [options] Override http request option.
12832
+ * @throws {RequiredError}
12833
+ */
12834
+ getMyClubMemberships: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12749
12835
  /**
12750
12836
  *
12751
12837
  * @param {number} [radiusInKm]
@@ -13007,6 +13093,12 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
13007
13093
  * @throws {RequiredError}
13008
13094
  */
13009
13095
  getMe(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserProfileResponse>>;
13096
+ /**
13097
+ * Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
13098
+ * @param {*} [options] Override http request option.
13099
+ * @throws {RequiredError}
13100
+ */
13101
+ getMyClubMemberships(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserClubMembershipsResponse>>;
13010
13102
  /**
13011
13103
  *
13012
13104
  * @param {number} [radiusInKm]
@@ -13276,6 +13368,12 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
13276
13368
  * @throws {RequiredError}
13277
13369
  */
13278
13370
  getMe(options?: RawAxiosRequestConfig): AxiosPromise<UserProfileResponse>;
13371
+ /**
13372
+ * Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
13373
+ * @param {*} [options] Override http request option.
13374
+ * @throws {RequiredError}
13375
+ */
13376
+ getMyClubMemberships(options?: RawAxiosRequestConfig): AxiosPromise<UserClubMembershipsResponse>;
13279
13377
  /**
13280
13378
  *
13281
13379
  * @param {UsersApiGetNearestClubsRequest} requestParameters Request parameters.
@@ -13999,6 +14097,13 @@ export declare class UsersApi extends BaseAPI {
13999
14097
  * @memberof UsersApi
14000
14098
  */
14001
14099
  getMe(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserProfileResponse, any>>;
14100
+ /**
14101
+ * Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
14102
+ * @param {*} [options] Override http request option.
14103
+ * @throws {RequiredError}
14104
+ * @memberof UsersApi
14105
+ */
14106
+ getMyClubMemberships(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserClubMembershipsResponse, any>>;
14002
14107
  /**
14003
14108
  *
14004
14109
  * @param {UsersApiGetNearestClubsRequest} requestParameters Request parameters.
package/dist/esm/api.js 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.94
7
+ * The version of the OpenAPI document: 1.0.95
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7898,6 +7898,33 @@ export const UsersApiAxiosParamCreator = function (configuration) {
7898
7898
  options: localVarRequestOptions,
7899
7899
  };
7900
7900
  }),
7901
+ /**
7902
+ * Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
7903
+ * @param {*} [options] Override http request option.
7904
+ * @throws {RequiredError}
7905
+ */
7906
+ getMyClubMemberships: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
7907
+ const localVarPath = `/api/users/me/club-memberships`;
7908
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7909
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7910
+ let baseOptions;
7911
+ if (configuration) {
7912
+ baseOptions = configuration.baseOptions;
7913
+ }
7914
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
7915
+ const localVarHeaderParameter = {};
7916
+ const localVarQueryParameter = {};
7917
+ // authentication bearerAuth required
7918
+ // http bearer authentication required
7919
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
7920
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7921
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7922
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7923
+ return {
7924
+ url: toPathString(localVarUrlObj),
7925
+ options: localVarRequestOptions,
7926
+ };
7927
+ }),
7901
7928
  /**
7902
7929
  *
7903
7930
  * @param {number} [radiusInKm]
@@ -8857,6 +8884,20 @@ export const UsersApiFp = function (configuration) {
8857
8884
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8858
8885
  });
8859
8886
  },
8887
+ /**
8888
+ * Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
8889
+ * @param {*} [options] Override http request option.
8890
+ * @throws {RequiredError}
8891
+ */
8892
+ getMyClubMemberships(options) {
8893
+ return __awaiter(this, void 0, void 0, function* () {
8894
+ var _a, _b, _c;
8895
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getMyClubMemberships(options);
8896
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8897
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.getMyClubMemberships']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8898
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8899
+ });
8900
+ },
8860
8901
  /**
8861
8902
  *
8862
8903
  * @param {number} [radiusInKm]
@@ -9335,6 +9376,14 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
9335
9376
  getMe(options) {
9336
9377
  return localVarFp.getMe(options).then((request) => request(axios, basePath));
9337
9378
  },
9379
+ /**
9380
+ * Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
9381
+ * @param {*} [options] Override http request option.
9382
+ * @throws {RequiredError}
9383
+ */
9384
+ getMyClubMemberships(options) {
9385
+ return localVarFp.getMyClubMemberships(options).then((request) => request(axios, basePath));
9386
+ },
9338
9387
  /**
9339
9388
  *
9340
9389
  * @param {UsersApiGetNearestClubsRequest} requestParameters Request parameters.
@@ -9662,6 +9711,15 @@ export class UsersApi extends BaseAPI {
9662
9711
  getMe(options) {
9663
9712
  return UsersApiFp(this.configuration).getMe(options).then((request) => request(this.axios, this.basePath));
9664
9713
  }
9714
+ /**
9715
+ * Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
9716
+ * @param {*} [options] Override http request option.
9717
+ * @throws {RequiredError}
9718
+ * @memberof UsersApi
9719
+ */
9720
+ getMyClubMemberships(options) {
9721
+ return UsersApiFp(this.configuration).getMyClubMemberships(options).then((request) => request(this.axios, this.basePath));
9722
+ }
9665
9723
  /**
9666
9724
  *
9667
9725
  * @param {UsersApiGetNearestClubsRequest} requestParameters Request parameters.
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.94
5
+ * The version of the OpenAPI document: 1.0.95
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js 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.94
7
+ * The version of the OpenAPI document: 1.0.95
8
8
  *
9
9
  *
10
10
  * 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.94
5
+ * The version of the OpenAPI document: 1.0.95
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.94
7
+ * The version of the OpenAPI document: 1.0.95
8
8
  *
9
9
  *
10
10
  * 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.94
5
+ * The version of the OpenAPI document: 1.0.95
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.94
7
+ * The version of the OpenAPI document: 1.0.95
8
8
  *
9
9
  *
10
10
  * 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.94
5
+ * The version of the OpenAPI document: 1.0.95
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js 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.94
7
+ * The version of the OpenAPI document: 1.0.95
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.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.94
5
+ * The version of the OpenAPI document: 1.0.95
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.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.94
8
+ * The version of the OpenAPI document: 1.0.95
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
15
15
  **totalPrice** | **number** | | [default to undefined]
16
16
  **slotIds** | **Array&lt;string&gt;** | | [default to undefined]
17
17
  **isPublic** | **boolean** | | [default to undefined]
18
+ **requestingUserId** | **string** | | [default to undefined]
18
19
  **creatorPaymentMethodId** | **string** | | [optional] [default to undefined]
19
20
  **paymentMethodSetupCompleted** | **boolean** | | [default to undefined]
20
21
  **noShowChargeAmount** | **number** | | [optional] [default to undefined]
@@ -35,6 +36,7 @@ Name | Type | Description | Notes
35
36
  **bookingStatus** | **string** | | [optional] [default to undefined]
36
37
  **playersName** | **Array&lt;string&gt;** | | [default to undefined]
37
38
  **myAmountToPay** | **number** | | [default to undefined]
39
+ **paymentUrl** | **string** | | [optional] [default to undefined]
38
40
  **totalAmount** | **number** | | [default to undefined]
39
41
  **timeBeforeCancel** | **string** | | [optional] [default to undefined]
40
42
  **clubAddress** | [**BookingSummaryClubAddress**](BookingSummaryClubAddress.md) | | [optional] [default to undefined]
@@ -61,6 +63,7 @@ const instance: BookingSummary = {
61
63
  totalPrice,
62
64
  slotIds,
63
65
  isPublic,
66
+ requestingUserId,
64
67
  creatorPaymentMethodId,
65
68
  paymentMethodSetupCompleted,
66
69
  noShowChargeAmount,
@@ -81,6 +84,7 @@ const instance: BookingSummary = {
81
84
  bookingStatus,
82
85
  playersName,
83
86
  myAmountToPay,
87
+ paymentUrl,
84
88
  totalAmount,
85
89
  timeBeforeCancel,
86
90
  clubAddress,
@@ -0,0 +1,34 @@
1
+ # UserClubMembership
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **clubId** | **string** | | [default to undefined]
9
+ **clubName** | **string** | | [default to undefined]
10
+ **clubPicture** | **string** | | [default to undefined]
11
+ **bookingCount** | **number** | | [default to undefined]
12
+ **credits** | **number** | | [default to undefined]
13
+ **billingPortalUrl** | **string** | | [default to undefined]
14
+ **hasActiveSubscription** | **boolean** | | [default to undefined]
15
+ **subscriptions** | [**Array&lt;UserClubSubscription&gt;**](UserClubSubscription.md) | | [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { UserClubMembership } from '@tennac-booking/sdk';
21
+
22
+ const instance: UserClubMembership = {
23
+ clubId,
24
+ clubName,
25
+ clubPicture,
26
+ bookingCount,
27
+ credits,
28
+ billingPortalUrl,
29
+ hasActiveSubscription,
30
+ subscriptions,
31
+ };
32
+ ```
33
+
34
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # UserClubMembershipsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **clubs** | [**Array&lt;UserClubMembership&gt;**](UserClubMembership.md) | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { UserClubMembershipsResponse } from '@tennac-booking/sdk';
14
+
15
+ const instance: UserClubMembershipsResponse = {
16
+ clubs,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/docs/UsersApi.md CHANGED
@@ -15,6 +15,7 @@ All URIs are relative to *http://localhost*
15
15
  |[**getFrequentlyPlayedWith**](#getfrequentlyplayedwith) | **GET** /api/users/me/frequentlyPlayedWith | |
16
16
  |[**getFrequentlyVisitedClub**](#getfrequentlyvisitedclub) | **GET** /api/users/me/frequentlyVisitedClub | |
17
17
  |[**getMe**](#getme) | **GET** /api/users/me | |
18
+ |[**getMyClubMemberships**](#getmyclubmemberships) | **GET** /api/users/me/club-memberships | |
18
19
  |[**getNearestClubs**](#getnearestclubs) | **GET** /api/users/me/nearest-clubs | |
19
20
  |[**getNearestClubsFromCoordinates**](#getnearestclubsfromcoordinates) | **GET** /api/users/nearest-clubs/coordinates | |
20
21
  |[**getNearestUsers**](#getnearestusers) | **GET** /api/users/me/nearest-players | |
@@ -552,6 +553,51 @@ This endpoint does not have any parameters.
552
553
 
553
554
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
554
555
 
556
+ # **getMyClubMemberships**
557
+ > UserClubMembershipsResponse getMyClubMemberships()
558
+
559
+ Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
560
+
561
+ ### Example
562
+
563
+ ```typescript
564
+ import {
565
+ UsersApi,
566
+ Configuration
567
+ } from '@tennac-booking/sdk';
568
+
569
+ const configuration = new Configuration();
570
+ const apiInstance = new UsersApi(configuration);
571
+
572
+ const { status, data } = await apiInstance.getMyClubMemberships();
573
+ ```
574
+
575
+ ### Parameters
576
+ This endpoint does not have any parameters.
577
+
578
+
579
+ ### Return type
580
+
581
+ **UserClubMembershipsResponse**
582
+
583
+ ### Authorization
584
+
585
+ [bearerAuth](../README.md#bearerAuth)
586
+
587
+ ### HTTP request headers
588
+
589
+ - **Content-Type**: Not defined
590
+ - **Accept**: application/json
591
+
592
+
593
+ ### HTTP response details
594
+ | Status code | Description | Response headers |
595
+ |-------------|-------------|------------------|
596
+ |**200** | Clubs de l\&#39;utilisateur | - |
597
+ |**500** | Server Error | - |
598
+
599
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
600
+
555
601
  # **getNearestClubs**
556
602
  > Array<{ [key: string]: any; }> getNearestClubs()
557
603
 
package/index.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.94
7
+ * The version of the OpenAPI document: 1.0.95
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.94",
3
+ "version": "1.0.95",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {