@tennac-booking/sdk 1.0.65 → 1.0.67

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.63
1
+ ## @tennac-booking/sdk@1.0.66
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.63 --save
39
+ npm install @tennac-booking/sdk@1.0.66 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -166,6 +166,7 @@ Class | Method | HTTP request | Description
166
166
  *UsersApi* | [**register**](docs/UsersApi.md#register) | **POST** /api/users |
167
167
  *UsersApi* | [**removeFavoriteClub**](docs/UsersApi.md#removefavoriteclub) | **DELETE** /api/users/me/favorite-clubs/{clubId} |
168
168
  *UsersApi* | [**removeFavoritePlayer**](docs/UsersApi.md#removefavoriteplayer) | **DELETE** /api/users/me/favoritesPlayers/{favoritePlayerId} |
169
+ *UsersApi* | [**removeOrganization**](docs/UsersApi.md#removeorganization) | **POST** /api/users/me/remove-organization |
169
170
  *UsersApi* | [**requestEmailVerification**](docs/UsersApi.md#requestemailverification) | **POST** /api/users/me/request-email-verification |
170
171
  *UsersApi* | [**requestPasswordReset**](docs/UsersApi.md#requestpasswordreset) | **POST** /api/users/request-password-reset |
171
172
  *UsersApi* | [**resetPassword**](docs/UsersApi.md#resetpassword) | **POST** /api/users/reset-password |
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.63
7
+ * The version of the OpenAPI document: 1.0.66
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -15931,6 +15931,45 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
15931
15931
  options: localVarRequestOptions,
15932
15932
  };
15933
15933
  },
15934
+ /**
15935
+ *
15936
+ * @param {AddOrganizationRequest} addOrganizationRequest
15937
+ * @param {*} [options] Override http request option.
15938
+ * @throws {RequiredError}
15939
+ */
15940
+ removeOrganization: async (addOrganizationRequest: AddOrganizationRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15941
+ // verify required parameter 'addOrganizationRequest' is not null or undefined
15942
+ assertParamExists('removeOrganization', 'addOrganizationRequest', addOrganizationRequest)
15943
+ const localVarPath = `/api/users/me/remove-organization`;
15944
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15945
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15946
+ let baseOptions;
15947
+ if (configuration) {
15948
+ baseOptions = configuration.baseOptions;
15949
+ }
15950
+
15951
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15952
+ const localVarHeaderParameter = {} as any;
15953
+ const localVarQueryParameter = {} as any;
15954
+
15955
+ // authentication bearerAuth required
15956
+ // http bearer authentication required
15957
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
15958
+
15959
+
15960
+
15961
+ localVarHeaderParameter['Content-Type'] = 'application/json';
15962
+
15963
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15964
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15965
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15966
+ localVarRequestOptions.data = serializeDataIfNeeded(addOrganizationRequest, localVarRequestOptions, configuration)
15967
+
15968
+ return {
15969
+ url: toPathString(localVarUrlObj),
15970
+ options: localVarRequestOptions,
15971
+ };
15972
+ },
15934
15973
  /**
15935
15974
  *
15936
15975
  * @param {*} [options] Override http request option.
@@ -16635,6 +16674,18 @@ export const UsersApiFp = function(configuration?: Configuration) {
16635
16674
  const localVarOperationServerBasePath = operationServerMap['UsersApi.removeFavoritePlayer']?.[localVarOperationServerIndex]?.url;
16636
16675
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16637
16676
  },
16677
+ /**
16678
+ *
16679
+ * @param {AddOrganizationRequest} addOrganizationRequest
16680
+ * @param {*} [options] Override http request option.
16681
+ * @throws {RequiredError}
16682
+ */
16683
+ async removeOrganization(addOrganizationRequest: AddOrganizationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>> {
16684
+ const localVarAxiosArgs = await localVarAxiosParamCreator.removeOrganization(addOrganizationRequest, options);
16685
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16686
+ const localVarOperationServerBasePath = operationServerMap['UsersApi.removeOrganization']?.[localVarOperationServerIndex]?.url;
16687
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16688
+ },
16638
16689
  /**
16639
16690
  *
16640
16691
  * @param {*} [options] Override http request option.
@@ -16986,6 +17037,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
16986
17037
  removeFavoritePlayer(requestParameters: UsersApiRemoveFavoritePlayerRequest, options?: RawAxiosRequestConfig): AxiosPromise<FavoritePlayerMutationResponse> {
16987
17038
  return localVarFp.removeFavoritePlayer(requestParameters.favoritePlayerId, options).then((request) => request(axios, basePath));
16988
17039
  },
17040
+ /**
17041
+ *
17042
+ * @param {UsersApiRemoveOrganizationRequest} requestParameters Request parameters.
17043
+ * @param {*} [options] Override http request option.
17044
+ * @throws {RequiredError}
17045
+ */
17046
+ removeOrganization(requestParameters: UsersApiRemoveOrganizationRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response> {
17047
+ return localVarFp.removeOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(axios, basePath));
17048
+ },
16989
17049
  /**
16990
17050
  *
16991
17051
  * @param {*} [options] Override http request option.
@@ -17402,6 +17462,20 @@ export interface UsersApiRemoveFavoritePlayerRequest {
17402
17462
  readonly favoritePlayerId: string
17403
17463
  }
17404
17464
 
17465
+ /**
17466
+ * Request parameters for removeOrganization operation in UsersApi.
17467
+ * @export
17468
+ * @interface UsersApiRemoveOrganizationRequest
17469
+ */
17470
+ export interface UsersApiRemoveOrganizationRequest {
17471
+ /**
17472
+ *
17473
+ * @type {AddOrganizationRequest}
17474
+ * @memberof UsersApiRemoveOrganization
17475
+ */
17476
+ readonly addOrganizationRequest: AddOrganizationRequest
17477
+ }
17478
+
17405
17479
  /**
17406
17480
  * Request parameters for requestPasswordReset operation in UsersApi.
17407
17481
  * @export
@@ -17807,6 +17881,17 @@ export class UsersApi extends BaseAPI {
17807
17881
  return UsersApiFp(this.configuration).removeFavoritePlayer(requestParameters.favoritePlayerId, options).then((request) => request(this.axios, this.basePath));
17808
17882
  }
17809
17883
 
17884
+ /**
17885
+ *
17886
+ * @param {UsersApiRemoveOrganizationRequest} requestParameters Request parameters.
17887
+ * @param {*} [options] Override http request option.
17888
+ * @throws {RequiredError}
17889
+ * @memberof UsersApi
17890
+ */
17891
+ public removeOrganization(requestParameters: UsersApiRemoveOrganizationRequest, options?: RawAxiosRequestConfig) {
17892
+ return UsersApiFp(this.configuration).removeOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(this.axios, this.basePath));
17893
+ }
17894
+
17810
17895
  /**
17811
17896
  *
17812
17897
  * @param {*} [options] Override http request option.
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.63
7
+ * The version of the OpenAPI document: 1.0.66
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.63
7
+ * The version of the OpenAPI document: 1.0.66
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.63
7
+ * The version of the OpenAPI document: 1.0.66
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.63
5
+ * The version of the OpenAPI document: 1.0.66
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -11085,6 +11085,13 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
11085
11085
  * @throws {RequiredError}
11086
11086
  */
11087
11087
  removeFavoritePlayer: (favoritePlayerId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11088
+ /**
11089
+ *
11090
+ * @param {AddOrganizationRequest} addOrganizationRequest
11091
+ * @param {*} [options] Override http request option.
11092
+ * @throws {RequiredError}
11093
+ */
11094
+ removeOrganization: (addOrganizationRequest: AddOrganizationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11088
11095
  /**
11089
11096
  *
11090
11097
  * @param {*} [options] Override http request option.
@@ -11346,6 +11353,13 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
11346
11353
  * @throws {RequiredError}
11347
11354
  */
11348
11355
  removeFavoritePlayer(favoritePlayerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FavoritePlayerMutationResponse>>;
11356
+ /**
11357
+ *
11358
+ * @param {AddOrganizationRequest} addOrganizationRequest
11359
+ * @param {*} [options] Override http request option.
11360
+ * @throws {RequiredError}
11361
+ */
11362
+ removeOrganization(addOrganizationRequest: AddOrganizationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>>;
11349
11363
  /**
11350
11364
  *
11351
11365
  * @param {*} [options] Override http request option.
@@ -11598,6 +11612,13 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
11598
11612
  * @throws {RequiredError}
11599
11613
  */
11600
11614
  removeFavoritePlayer(requestParameters: UsersApiRemoveFavoritePlayerRequest, options?: RawAxiosRequestConfig): AxiosPromise<FavoritePlayerMutationResponse>;
11615
+ /**
11616
+ *
11617
+ * @param {UsersApiRemoveOrganizationRequest} requestParameters Request parameters.
11618
+ * @param {*} [options] Override http request option.
11619
+ * @throws {RequiredError}
11620
+ */
11621
+ removeOrganization(requestParameters: UsersApiRemoveOrganizationRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response>;
11601
11622
  /**
11602
11623
  *
11603
11624
  * @param {*} [options] Override http request option.
@@ -11963,6 +11984,19 @@ export interface UsersApiRemoveFavoritePlayerRequest {
11963
11984
  */
11964
11985
  readonly favoritePlayerId: string;
11965
11986
  }
11987
+ /**
11988
+ * Request parameters for removeOrganization operation in UsersApi.
11989
+ * @export
11990
+ * @interface UsersApiRemoveOrganizationRequest
11991
+ */
11992
+ export interface UsersApiRemoveOrganizationRequest {
11993
+ /**
11994
+ *
11995
+ * @type {AddOrganizationRequest}
11996
+ * @memberof UsersApiRemoveOrganization
11997
+ */
11998
+ readonly addOrganizationRequest: AddOrganizationRequest;
11999
+ }
11966
12000
  /**
11967
12001
  * Request parameters for requestPasswordReset operation in UsersApi.
11968
12002
  * @export
@@ -12294,6 +12328,14 @@ export declare class UsersApi extends BaseAPI {
12294
12328
  * @memberof UsersApi
12295
12329
  */
12296
12330
  removeFavoritePlayer(requestParameters: UsersApiRemoveFavoritePlayerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FavoritePlayerMutationResponse, any, {}>>;
12331
+ /**
12332
+ *
12333
+ * @param {UsersApiRemoveOrganizationRequest} requestParameters Request parameters.
12334
+ * @param {*} [options] Override http request option.
12335
+ * @throws {RequiredError}
12336
+ * @memberof UsersApi
12337
+ */
12338
+ removeOrganization(requestParameters: UsersApiRemoveOrganizationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestPasswordReset200Response, any, {}>>;
12297
12339
  /**
12298
12340
  *
12299
12341
  * @param {*} [options] Override http request option.
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.63
8
+ * The version of the OpenAPI document: 1.0.66
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7657,6 +7657,38 @@ const UsersApiAxiosParamCreator = function (configuration) {
7657
7657
  options: localVarRequestOptions,
7658
7658
  };
7659
7659
  }),
7660
+ /**
7661
+ *
7662
+ * @param {AddOrganizationRequest} addOrganizationRequest
7663
+ * @param {*} [options] Override http request option.
7664
+ * @throws {RequiredError}
7665
+ */
7666
+ removeOrganization: (addOrganizationRequest_1, ...args_1) => __awaiter(this, [addOrganizationRequest_1, ...args_1], void 0, function* (addOrganizationRequest, options = {}) {
7667
+ // verify required parameter 'addOrganizationRequest' is not null or undefined
7668
+ (0, common_1.assertParamExists)('removeOrganization', 'addOrganizationRequest', addOrganizationRequest);
7669
+ const localVarPath = `/api/users/me/remove-organization`;
7670
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7671
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7672
+ let baseOptions;
7673
+ if (configuration) {
7674
+ baseOptions = configuration.baseOptions;
7675
+ }
7676
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
7677
+ const localVarHeaderParameter = {};
7678
+ const localVarQueryParameter = {};
7679
+ // authentication bearerAuth required
7680
+ // http bearer authentication required
7681
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
7682
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7683
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7684
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7685
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7686
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(addOrganizationRequest, localVarRequestOptions, configuration);
7687
+ return {
7688
+ url: (0, common_1.toPathString)(localVarUrlObj),
7689
+ options: localVarRequestOptions,
7690
+ };
7691
+ }),
7660
7692
  /**
7661
7693
  *
7662
7694
  * @param {*} [options] Override http request option.
@@ -8362,6 +8394,21 @@ const UsersApiFp = function (configuration) {
8362
8394
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8363
8395
  });
8364
8396
  },
8397
+ /**
8398
+ *
8399
+ * @param {AddOrganizationRequest} addOrganizationRequest
8400
+ * @param {*} [options] Override http request option.
8401
+ * @throws {RequiredError}
8402
+ */
8403
+ removeOrganization(addOrganizationRequest, options) {
8404
+ return __awaiter(this, void 0, void 0, function* () {
8405
+ var _a, _b, _c;
8406
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.removeOrganization(addOrganizationRequest, options);
8407
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8408
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UsersApi.removeOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8409
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8410
+ });
8411
+ },
8365
8412
  /**
8366
8413
  *
8367
8414
  * @param {*} [options] Override http request option.
@@ -8746,6 +8793,15 @@ const UsersApiFactory = function (configuration, basePath, axios) {
8746
8793
  removeFavoritePlayer(requestParameters, options) {
8747
8794
  return localVarFp.removeFavoritePlayer(requestParameters.favoritePlayerId, options).then((request) => request(axios, basePath));
8748
8795
  },
8796
+ /**
8797
+ *
8798
+ * @param {UsersApiRemoveOrganizationRequest} requestParameters Request parameters.
8799
+ * @param {*} [options] Override http request option.
8800
+ * @throws {RequiredError}
8801
+ */
8802
+ removeOrganization(requestParameters, options) {
8803
+ return localVarFp.removeOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(axios, basePath));
8804
+ },
8749
8805
  /**
8750
8806
  *
8751
8807
  * @param {*} [options] Override http request option.
@@ -9088,6 +9144,16 @@ class UsersApi extends base_1.BaseAPI {
9088
9144
  removeFavoritePlayer(requestParameters, options) {
9089
9145
  return (0, exports.UsersApiFp)(this.configuration).removeFavoritePlayer(requestParameters.favoritePlayerId, options).then((request) => request(this.axios, this.basePath));
9090
9146
  }
9147
+ /**
9148
+ *
9149
+ * @param {UsersApiRemoveOrganizationRequest} requestParameters Request parameters.
9150
+ * @param {*} [options] Override http request option.
9151
+ * @throws {RequiredError}
9152
+ * @memberof UsersApi
9153
+ */
9154
+ removeOrganization(requestParameters, options) {
9155
+ return (0, exports.UsersApiFp)(this.configuration).removeOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(this.axios, this.basePath));
9156
+ }
9091
9157
  /**
9092
9158
  *
9093
9159
  * @param {*} [options] Override http request option.
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.63
5
+ * The version of the OpenAPI document: 1.0.66
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.63
8
+ * The version of the OpenAPI document: 1.0.66
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.63
5
+ * The version of the OpenAPI document: 1.0.66
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.63
8
+ * The version of the OpenAPI document: 1.0.66
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.63
5
+ * The version of the OpenAPI document: 1.0.66
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.63
8
+ * The version of the OpenAPI document: 1.0.66
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.63
5
+ * The version of the OpenAPI document: 1.0.66
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -11085,6 +11085,13 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
11085
11085
  * @throws {RequiredError}
11086
11086
  */
11087
11087
  removeFavoritePlayer: (favoritePlayerId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11088
+ /**
11089
+ *
11090
+ * @param {AddOrganizationRequest} addOrganizationRequest
11091
+ * @param {*} [options] Override http request option.
11092
+ * @throws {RequiredError}
11093
+ */
11094
+ removeOrganization: (addOrganizationRequest: AddOrganizationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11088
11095
  /**
11089
11096
  *
11090
11097
  * @param {*} [options] Override http request option.
@@ -11346,6 +11353,13 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
11346
11353
  * @throws {RequiredError}
11347
11354
  */
11348
11355
  removeFavoritePlayer(favoritePlayerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FavoritePlayerMutationResponse>>;
11356
+ /**
11357
+ *
11358
+ * @param {AddOrganizationRequest} addOrganizationRequest
11359
+ * @param {*} [options] Override http request option.
11360
+ * @throws {RequiredError}
11361
+ */
11362
+ removeOrganization(addOrganizationRequest: AddOrganizationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>>;
11349
11363
  /**
11350
11364
  *
11351
11365
  * @param {*} [options] Override http request option.
@@ -11598,6 +11612,13 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
11598
11612
  * @throws {RequiredError}
11599
11613
  */
11600
11614
  removeFavoritePlayer(requestParameters: UsersApiRemoveFavoritePlayerRequest, options?: RawAxiosRequestConfig): AxiosPromise<FavoritePlayerMutationResponse>;
11615
+ /**
11616
+ *
11617
+ * @param {UsersApiRemoveOrganizationRequest} requestParameters Request parameters.
11618
+ * @param {*} [options] Override http request option.
11619
+ * @throws {RequiredError}
11620
+ */
11621
+ removeOrganization(requestParameters: UsersApiRemoveOrganizationRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response>;
11601
11622
  /**
11602
11623
  *
11603
11624
  * @param {*} [options] Override http request option.
@@ -11963,6 +11984,19 @@ export interface UsersApiRemoveFavoritePlayerRequest {
11963
11984
  */
11964
11985
  readonly favoritePlayerId: string;
11965
11986
  }
11987
+ /**
11988
+ * Request parameters for removeOrganization operation in UsersApi.
11989
+ * @export
11990
+ * @interface UsersApiRemoveOrganizationRequest
11991
+ */
11992
+ export interface UsersApiRemoveOrganizationRequest {
11993
+ /**
11994
+ *
11995
+ * @type {AddOrganizationRequest}
11996
+ * @memberof UsersApiRemoveOrganization
11997
+ */
11998
+ readonly addOrganizationRequest: AddOrganizationRequest;
11999
+ }
11966
12000
  /**
11967
12001
  * Request parameters for requestPasswordReset operation in UsersApi.
11968
12002
  * @export
@@ -12294,6 +12328,14 @@ export declare class UsersApi extends BaseAPI {
12294
12328
  * @memberof UsersApi
12295
12329
  */
12296
12330
  removeFavoritePlayer(requestParameters: UsersApiRemoveFavoritePlayerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FavoritePlayerMutationResponse, any, {}>>;
12331
+ /**
12332
+ *
12333
+ * @param {UsersApiRemoveOrganizationRequest} requestParameters Request parameters.
12334
+ * @param {*} [options] Override http request option.
12335
+ * @throws {RequiredError}
12336
+ * @memberof UsersApi
12337
+ */
12338
+ removeOrganization(requestParameters: UsersApiRemoveOrganizationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestPasswordReset200Response, any, {}>>;
12297
12339
  /**
12298
12340
  *
12299
12341
  * @param {*} [options] Override http request option.
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.63
7
+ * The version of the OpenAPI document: 1.0.66
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7564,6 +7564,38 @@ export const UsersApiAxiosParamCreator = function (configuration) {
7564
7564
  options: localVarRequestOptions,
7565
7565
  };
7566
7566
  }),
7567
+ /**
7568
+ *
7569
+ * @param {AddOrganizationRequest} addOrganizationRequest
7570
+ * @param {*} [options] Override http request option.
7571
+ * @throws {RequiredError}
7572
+ */
7573
+ removeOrganization: (addOrganizationRequest_1, ...args_1) => __awaiter(this, [addOrganizationRequest_1, ...args_1], void 0, function* (addOrganizationRequest, options = {}) {
7574
+ // verify required parameter 'addOrganizationRequest' is not null or undefined
7575
+ assertParamExists('removeOrganization', 'addOrganizationRequest', addOrganizationRequest);
7576
+ const localVarPath = `/api/users/me/remove-organization`;
7577
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7578
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7579
+ let baseOptions;
7580
+ if (configuration) {
7581
+ baseOptions = configuration.baseOptions;
7582
+ }
7583
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
7584
+ const localVarHeaderParameter = {};
7585
+ const localVarQueryParameter = {};
7586
+ // authentication bearerAuth required
7587
+ // http bearer authentication required
7588
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
7589
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7590
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7591
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7592
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7593
+ localVarRequestOptions.data = serializeDataIfNeeded(addOrganizationRequest, localVarRequestOptions, configuration);
7594
+ return {
7595
+ url: toPathString(localVarUrlObj),
7596
+ options: localVarRequestOptions,
7597
+ };
7598
+ }),
7567
7599
  /**
7568
7600
  *
7569
7601
  * @param {*} [options] Override http request option.
@@ -8268,6 +8300,21 @@ export const UsersApiFp = function (configuration) {
8268
8300
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8269
8301
  });
8270
8302
  },
8303
+ /**
8304
+ *
8305
+ * @param {AddOrganizationRequest} addOrganizationRequest
8306
+ * @param {*} [options] Override http request option.
8307
+ * @throws {RequiredError}
8308
+ */
8309
+ removeOrganization(addOrganizationRequest, options) {
8310
+ return __awaiter(this, void 0, void 0, function* () {
8311
+ var _a, _b, _c;
8312
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.removeOrganization(addOrganizationRequest, options);
8313
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8314
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.removeOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8315
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8316
+ });
8317
+ },
8271
8318
  /**
8272
8319
  *
8273
8320
  * @param {*} [options] Override http request option.
@@ -8651,6 +8698,15 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
8651
8698
  removeFavoritePlayer(requestParameters, options) {
8652
8699
  return localVarFp.removeFavoritePlayer(requestParameters.favoritePlayerId, options).then((request) => request(axios, basePath));
8653
8700
  },
8701
+ /**
8702
+ *
8703
+ * @param {UsersApiRemoveOrganizationRequest} requestParameters Request parameters.
8704
+ * @param {*} [options] Override http request option.
8705
+ * @throws {RequiredError}
8706
+ */
8707
+ removeOrganization(requestParameters, options) {
8708
+ return localVarFp.removeOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(axios, basePath));
8709
+ },
8654
8710
  /**
8655
8711
  *
8656
8712
  * @param {*} [options] Override http request option.
@@ -8992,6 +9048,16 @@ export class UsersApi extends BaseAPI {
8992
9048
  removeFavoritePlayer(requestParameters, options) {
8993
9049
  return UsersApiFp(this.configuration).removeFavoritePlayer(requestParameters.favoritePlayerId, options).then((request) => request(this.axios, this.basePath));
8994
9050
  }
9051
+ /**
9052
+ *
9053
+ * @param {UsersApiRemoveOrganizationRequest} requestParameters Request parameters.
9054
+ * @param {*} [options] Override http request option.
9055
+ * @throws {RequiredError}
9056
+ * @memberof UsersApi
9057
+ */
9058
+ removeOrganization(requestParameters, options) {
9059
+ return UsersApiFp(this.configuration).removeOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(this.axios, this.basePath));
9060
+ }
8995
9061
  /**
8996
9062
  *
8997
9063
  * @param {*} [options] Override http request option.
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.63
5
+ * The version of the OpenAPI document: 1.0.66
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.63
7
+ * The version of the OpenAPI document: 1.0.66
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.63
5
+ * The version of the OpenAPI document: 1.0.66
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.63
7
+ * The version of the OpenAPI document: 1.0.66
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.63
5
+ * The version of the OpenAPI document: 1.0.66
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.63
7
+ * The version of the OpenAPI document: 1.0.66
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.63
5
+ * The version of the OpenAPI document: 1.0.66
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.63
7
+ * The version of the OpenAPI document: 1.0.66
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.63
5
+ * The version of the OpenAPI document: 1.0.66
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.63
8
+ * The version of the OpenAPI document: 1.0.66
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/docs/UsersApi.md CHANGED
@@ -28,6 +28,7 @@ All URIs are relative to *http://localhost*
28
28
  |[**register**](#register) | **POST** /api/users | |
29
29
  |[**removeFavoriteClub**](#removefavoriteclub) | **DELETE** /api/users/me/favorite-clubs/{clubId} | |
30
30
  |[**removeFavoritePlayer**](#removefavoriteplayer) | **DELETE** /api/users/me/favoritesPlayers/{favoritePlayerId} | |
31
+ |[**removeOrganization**](#removeorganization) | **POST** /api/users/me/remove-organization | |
31
32
  |[**requestEmailVerification**](#requestemailverification) | **POST** /api/users/me/request-email-verification | |
32
33
  |[**requestPasswordReset**](#requestpasswordreset) | **POST** /api/users/request-password-reset | |
33
34
  |[**resetPassword**](#resetpassword) | **POST** /api/users/reset-password | |
@@ -1227,6 +1228,57 @@ const { status, data } = await apiInstance.removeFavoritePlayer(
1227
1228
  - **Accept**: application/json
1228
1229
 
1229
1230
 
1231
+ ### HTTP response details
1232
+ | Status code | Description | Response headers |
1233
+ |-------------|-------------|------------------|
1234
+ |**200** | Ok | - |
1235
+
1236
+ [[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)
1237
+
1238
+ # **removeOrganization**
1239
+ > RequestPasswordReset200Response removeOrganization(addOrganizationRequest)
1240
+
1241
+
1242
+ ### Example
1243
+
1244
+ ```typescript
1245
+ import {
1246
+ UsersApi,
1247
+ Configuration,
1248
+ AddOrganizationRequest
1249
+ } from '@tennac-booking/sdk';
1250
+
1251
+ const configuration = new Configuration();
1252
+ const apiInstance = new UsersApi(configuration);
1253
+
1254
+ let addOrganizationRequest: AddOrganizationRequest; //
1255
+
1256
+ const { status, data } = await apiInstance.removeOrganization(
1257
+ addOrganizationRequest
1258
+ );
1259
+ ```
1260
+
1261
+ ### Parameters
1262
+
1263
+ |Name | Type | Description | Notes|
1264
+ |------------- | ------------- | ------------- | -------------|
1265
+ | **addOrganizationRequest** | **AddOrganizationRequest**| | |
1266
+
1267
+
1268
+ ### Return type
1269
+
1270
+ **RequestPasswordReset200Response**
1271
+
1272
+ ### Authorization
1273
+
1274
+ [bearerAuth](../README.md#bearerAuth)
1275
+
1276
+ ### HTTP request headers
1277
+
1278
+ - **Content-Type**: application/json
1279
+ - **Accept**: application/json
1280
+
1281
+
1230
1282
  ### HTTP response details
1231
1283
  | Status code | Description | Response headers |
1232
1284
  |-------------|-------------|------------------|
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.63
7
+ * The version of the OpenAPI document: 1.0.66
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.65",
3
+ "version": "1.0.67",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {