@tennac-booking/sdk 1.0.62 → 1.0.63

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/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.61
7
+ * The version of the OpenAPI document: 1.0.62
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -116,6 +116,9 @@ export const PlanInterval = {
116
116
  Trimester: 'trimester',
117
117
  Semester: 'semester'
118
118
  };
119
+ export const RegisterRequestBodyLocationTypeEnum = {
120
+ Point: 'Point'
121
+ };
119
122
  export const StripeStripeDeletedProductObjectEnum = {
120
123
  Product: 'product'
121
124
  };
@@ -240,9 +243,6 @@ export const UpdateClubRoleRequestRoleEnum = {
240
243
  Manager: 'manager',
241
244
  Staff: 'staff'
242
245
  };
243
- export const UpdateUserRequestBodyLocationTypeEnum = {
244
- Point: 'Point'
245
- };
246
246
  export const UserLocationSummaryTypeEnum = {
247
247
  Point: 'Point'
248
248
  };
@@ -6823,6 +6823,38 @@ export const UsersApiAxiosParamCreator = function (configuration) {
6823
6823
  options: localVarRequestOptions,
6824
6824
  };
6825
6825
  }),
6826
+ /**
6827
+ *
6828
+ * @param {AddOrganizationRequest} addOrganizationRequest
6829
+ * @param {*} [options] Override http request option.
6830
+ * @throws {RequiredError}
6831
+ */
6832
+ addOrganization: (addOrganizationRequest_1, ...args_1) => __awaiter(this, [addOrganizationRequest_1, ...args_1], void 0, function* (addOrganizationRequest, options = {}) {
6833
+ // verify required parameter 'addOrganizationRequest' is not null or undefined
6834
+ assertParamExists('addOrganization', 'addOrganizationRequest', addOrganizationRequest);
6835
+ const localVarPath = `/api/users/me/add-organization`;
6836
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6837
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6838
+ let baseOptions;
6839
+ if (configuration) {
6840
+ baseOptions = configuration.baseOptions;
6841
+ }
6842
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
6843
+ const localVarHeaderParameter = {};
6844
+ const localVarQueryParameter = {};
6845
+ // authentication bearerAuth required
6846
+ // http bearer authentication required
6847
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
6848
+ localVarHeaderParameter['Content-Type'] = 'application/json';
6849
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6850
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6851
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6852
+ localVarRequestOptions.data = serializeDataIfNeeded(addOrganizationRequest, localVarRequestOptions, configuration);
6853
+ return {
6854
+ url: toPathString(localVarUrlObj),
6855
+ options: localVarRequestOptions,
6856
+ };
6857
+ }),
6826
6858
  /**
6827
6859
  *
6828
6860
  * @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
@@ -7780,6 +7812,35 @@ export const UsersApiAxiosParamCreator = function (configuration) {
7780
7812
  options: localVarRequestOptions,
7781
7813
  };
7782
7814
  }),
7815
+ /**
7816
+ *
7817
+ * @param {VerifyEmailRequest} verifyEmailRequest
7818
+ * @param {*} [options] Override http request option.
7819
+ * @throws {RequiredError}
7820
+ */
7821
+ verifyOrganization: (verifyEmailRequest_1, ...args_1) => __awaiter(this, [verifyEmailRequest_1, ...args_1], void 0, function* (verifyEmailRequest, options = {}) {
7822
+ // verify required parameter 'verifyEmailRequest' is not null or undefined
7823
+ assertParamExists('verifyOrganization', 'verifyEmailRequest', verifyEmailRequest);
7824
+ const localVarPath = `/api/users/verify-organization`;
7825
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7826
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7827
+ let baseOptions;
7828
+ if (configuration) {
7829
+ baseOptions = configuration.baseOptions;
7830
+ }
7831
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
7832
+ const localVarHeaderParameter = {};
7833
+ const localVarQueryParameter = {};
7834
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7835
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7836
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7837
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7838
+ localVarRequestOptions.data = serializeDataIfNeeded(verifyEmailRequest, localVarRequestOptions, configuration);
7839
+ return {
7840
+ url: toPathString(localVarUrlObj),
7841
+ options: localVarRequestOptions,
7842
+ };
7843
+ }),
7783
7844
  };
7784
7845
  };
7785
7846
  /**
@@ -7819,6 +7880,21 @@ export const UsersApiFp = function (configuration) {
7819
7880
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7820
7881
  });
7821
7882
  },
7883
+ /**
7884
+ *
7885
+ * @param {AddOrganizationRequest} addOrganizationRequest
7886
+ * @param {*} [options] Override http request option.
7887
+ * @throws {RequiredError}
7888
+ */
7889
+ addOrganization(addOrganizationRequest, options) {
7890
+ return __awaiter(this, void 0, void 0, function* () {
7891
+ var _a, _b, _c;
7892
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addOrganization(addOrganizationRequest, options);
7893
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7894
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.addOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7895
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7896
+ });
7897
+ },
7822
7898
  /**
7823
7899
  *
7824
7900
  * @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
@@ -8286,6 +8362,21 @@ export const UsersApiFp = function (configuration) {
8286
8362
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8287
8363
  });
8288
8364
  },
8365
+ /**
8366
+ *
8367
+ * @param {VerifyEmailRequest} verifyEmailRequest
8368
+ * @param {*} [options] Override http request option.
8369
+ * @throws {RequiredError}
8370
+ */
8371
+ verifyOrganization(verifyEmailRequest, options) {
8372
+ return __awaiter(this, void 0, void 0, function* () {
8373
+ var _a, _b, _c;
8374
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.verifyOrganization(verifyEmailRequest, options);
8375
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8376
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.verifyOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8377
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8378
+ });
8379
+ },
8289
8380
  };
8290
8381
  };
8291
8382
  /**
@@ -8313,6 +8404,15 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
8313
8404
  addFavoritePlayer(requestParameters, options) {
8314
8405
  return localVarFp.addFavoritePlayer(requestParameters.favoritePlayerRequestBody, options).then((request) => request(axios, basePath));
8315
8406
  },
8407
+ /**
8408
+ *
8409
+ * @param {UsersApiAddOrganizationRequest} requestParameters Request parameters.
8410
+ * @param {*} [options] Override http request option.
8411
+ * @throws {RequiredError}
8412
+ */
8413
+ addOrganization(requestParameters, options) {
8414
+ return localVarFp.addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(axios, basePath));
8415
+ },
8316
8416
  /**
8317
8417
  *
8318
8418
  * @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
@@ -8585,6 +8685,15 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
8585
8685
  verifyEmail(requestParameters, options) {
8586
8686
  return localVarFp.verifyEmail(requestParameters.verifyEmailRequest, options).then((request) => request(axios, basePath));
8587
8687
  },
8688
+ /**
8689
+ *
8690
+ * @param {UsersApiVerifyOrganizationRequest} requestParameters Request parameters.
8691
+ * @param {*} [options] Override http request option.
8692
+ * @throws {RequiredError}
8693
+ */
8694
+ verifyOrganization(requestParameters, options) {
8695
+ return localVarFp.verifyOrganization(requestParameters.verifyEmailRequest, options).then((request) => request(axios, basePath));
8696
+ },
8588
8697
  };
8589
8698
  };
8590
8699
  /**
@@ -8614,6 +8723,16 @@ export class UsersApi extends BaseAPI {
8614
8723
  addFavoritePlayer(requestParameters, options) {
8615
8724
  return UsersApiFp(this.configuration).addFavoritePlayer(requestParameters.favoritePlayerRequestBody, options).then((request) => request(this.axios, this.basePath));
8616
8725
  }
8726
+ /**
8727
+ *
8728
+ * @param {UsersApiAddOrganizationRequest} requestParameters Request parameters.
8729
+ * @param {*} [options] Override http request option.
8730
+ * @throws {RequiredError}
8731
+ * @memberof UsersApi
8732
+ */
8733
+ addOrganization(requestParameters, options) {
8734
+ return UsersApiFp(this.configuration).addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(this.axios, this.basePath));
8735
+ }
8617
8736
  /**
8618
8737
  *
8619
8738
  * @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
@@ -8917,4 +9036,14 @@ export class UsersApi extends BaseAPI {
8917
9036
  verifyEmail(requestParameters, options) {
8918
9037
  return UsersApiFp(this.configuration).verifyEmail(requestParameters.verifyEmailRequest, options).then((request) => request(this.axios, this.basePath));
8919
9038
  }
9039
+ /**
9040
+ *
9041
+ * @param {UsersApiVerifyOrganizationRequest} requestParameters Request parameters.
9042
+ * @param {*} [options] Override http request option.
9043
+ * @throws {RequiredError}
9044
+ * @memberof UsersApi
9045
+ */
9046
+ verifyOrganization(requestParameters, options) {
9047
+ return UsersApiFp(this.configuration).verifyOrganization(requestParameters.verifyEmailRequest, options).then((request) => request(this.axios, this.basePath));
9048
+ }
8920
9049
  }
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.61
5
+ * The version of the OpenAPI document: 1.0.62
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.61
7
+ * The version of the OpenAPI document: 1.0.62
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.61
5
+ * The version of the OpenAPI document: 1.0.62
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.61
7
+ * The version of the OpenAPI document: 1.0.62
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.61
5
+ * The version of the OpenAPI document: 1.0.62
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.61
7
+ * The version of the OpenAPI document: 1.0.62
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.61
5
+ * The version of the OpenAPI document: 1.0.62
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.61
7
+ * The version of the OpenAPI document: 1.0.62
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.61
5
+ * The version of the OpenAPI document: 1.0.62
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.61
8
+ * The version of the OpenAPI document: 1.0.62
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,22 @@
1
+ # AddOrganizationRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **organizationEmail** | **string** | | [optional] [default to undefined]
9
+ **organizationId** | **string** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { AddOrganizationRequest } from '@tennac-booking/sdk';
15
+
16
+ const instance: AddOrganizationRequest = {
17
+ organizationEmail,
18
+ organizationId,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -19,6 +19,11 @@ Name | Type | Description | Notes
19
19
  **phone** | **string** | | [optional] [default to undefined]
20
20
  **password** | **string** | | [optional] [default to undefined]
21
21
  **profilePicture** | **string** | | [optional] [default to undefined]
22
+ **resetPasswordToken** | **string** | | [optional] [default to undefined]
23
+ **resetPasswordExpires** | **string** | | [optional] [default to undefined]
24
+ **emailVerificationToken** | **string** | | [optional] [default to undefined]
25
+ **emailVerificationExpires** | **string** | | [optional] [default to undefined]
26
+ **organizations** | [**Array<IUserAttributesOrganizationsInner>**](IUserAttributesOrganizationsInner.md) | | [optional] [default to undefined]
22
27
  **isAdmin** | **boolean** | | [default to undefined]
23
28
  **createdAt** | **string** | | [default to undefined]
24
29
  **updatedAt** | **string** | | [default to undefined]
@@ -53,6 +58,11 @@ const instance: IUserAttributes = {
53
58
  phone,
54
59
  password,
55
60
  profilePicture,
61
+ resetPasswordToken,
62
+ resetPasswordExpires,
63
+ emailVerificationToken,
64
+ emailVerificationExpires,
65
+ organizations,
56
66
  isAdmin,
57
67
  createdAt,
58
68
  updatedAt,
@@ -0,0 +1,28 @@
1
+ # IUserAttributesOrganizationsInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **verificationExpires** | **string** | | [optional] [default to undefined]
9
+ **verificationToken** | **string** | | [optional] [default to undefined]
10
+ **verified** | **boolean** | | [optional] [default to undefined]
11
+ **orgEmail** | **string** | | [default to undefined]
12
+ **clubId** | **string** | | [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { IUserAttributesOrganizationsInner } from '@tennac-booking/sdk';
18
+
19
+ const instance: IUserAttributesOrganizationsInner = {
20
+ verificationExpires,
21
+ verificationToken,
22
+ verified,
23
+ orgEmail,
24
+ clubId,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -14,6 +14,9 @@ Name | Type | Description | Notes
14
14
  **stripeCustomerId** | **string** | | [optional] [default to undefined]
15
15
  **phone** | **string** | | [optional] [default to undefined]
16
16
  **profilePicture** | **string** | | [optional] [default to undefined]
17
+ **location** | [**RegisterRequestBodyLocation**](RegisterRequestBodyLocation.md) | | [optional] [default to undefined]
18
+ **organizationId** | **string** | | [optional] [default to undefined]
19
+ **organizationEmail** | **string** | | [optional] [default to undefined]
17
20
 
18
21
  ## Example
19
22
 
@@ -30,6 +33,9 @@ const instance: RegisterRequestBody = {
30
33
  stripeCustomerId,
31
34
  phone,
32
35
  profilePicture,
36
+ location,
37
+ organizationId,
38
+ organizationEmail,
33
39
  };
34
40
  ```
35
41
 
@@ -1,4 +1,4 @@
1
- # UpdateUserRequestBodyLocation
1
+ # RegisterRequestBodyLocation
2
2
 
3
3
 
4
4
  ## Properties
@@ -22,9 +22,9 @@ Name | Type | Description | Notes
22
22
  ## Example
23
23
 
24
24
  ```typescript
25
- import { UpdateUserRequestBodyLocation } from '@tennac-booking/sdk';
25
+ import { RegisterRequestBodyLocation } from '@tennac-booking/sdk';
26
26
 
27
- const instance: UpdateUserRequestBodyLocation = {
27
+ const instance: RegisterRequestBodyLocation = {
28
28
  coordinates,
29
29
  mapboxId,
30
30
  mapboxPlaceType,
@@ -19,6 +19,11 @@ Name | Type | Description | Notes
19
19
  **phone** | **string** | | [optional] [default to undefined]
20
20
  **password** | **string** | | [optional] [default to undefined]
21
21
  **profilePicture** | **string** | | [optional] [default to undefined]
22
+ **resetPasswordToken** | **string** | | [optional] [default to undefined]
23
+ **resetPasswordExpires** | **string** | | [optional] [default to undefined]
24
+ **emailVerificationToken** | **string** | | [optional] [default to undefined]
25
+ **emailVerificationExpires** | **string** | | [optional] [default to undefined]
26
+ **organizations** | [**Array<IUserAttributesOrganizationsInner>**](IUserAttributesOrganizationsInner.md) | | [optional] [default to undefined]
22
27
  **isAdmin** | **boolean** | | [default to undefined]
23
28
  **createdAt** | **string** | | [default to undefined]
24
29
  **updatedAt** | **string** | | [default to undefined]
@@ -55,6 +60,11 @@ const instance: StaffUserProfileResponse = {
55
60
  phone,
56
61
  password,
57
62
  profilePicture,
63
+ resetPasswordToken,
64
+ resetPasswordExpires,
65
+ emailVerificationToken,
66
+ emailVerificationExpires,
67
+ organizations,
58
68
  isAdmin,
59
69
  createdAt,
60
70
  updatedAt,
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
14
14
  **levelBySports** | [**Array<UpdateUserRequestBodyLevelBySportsInner>**](UpdateUserRequestBodyLevelBySportsInner.md) | | [optional] [default to undefined]
15
15
  **isProfileVisible** | **boolean** | | [optional] [default to undefined]
16
16
  **description** | **string** | | [optional] [default to undefined]
17
- **location** | [**UpdateUserRequestBodyLocation**](UpdateUserRequestBodyLocation.md) | | [optional] [default to undefined]
17
+ **location** | [**RegisterRequestBodyLocation**](RegisterRequestBodyLocation.md) | | [optional] [default to undefined]
18
18
 
19
19
  ## Example
20
20
 
@@ -19,6 +19,11 @@ Name | Type | Description | Notes
19
19
  **phone** | **string** | | [optional] [default to undefined]
20
20
  **password** | **string** | | [optional] [default to undefined]
21
21
  **profilePicture** | **string** | | [optional] [default to undefined]
22
+ **resetPasswordToken** | **string** | | [optional] [default to undefined]
23
+ **resetPasswordExpires** | **string** | | [optional] [default to undefined]
24
+ **emailVerificationToken** | **string** | | [optional] [default to undefined]
25
+ **emailVerificationExpires** | **string** | | [optional] [default to undefined]
26
+ **organizations** | [**Array<IUserAttributesOrganizationsInner>**](IUserAttributesOrganizationsInner.md) | | [optional] [default to undefined]
22
27
  **isAdmin** | **boolean** | | [default to undefined]
23
28
  **createdAt** | **string** | | [default to undefined]
24
29
  **updatedAt** | **string** | | [default to undefined]
@@ -58,6 +63,11 @@ const instance: UserProfileResponse = {
58
63
  phone,
59
64
  password,
60
65
  profilePicture,
66
+ resetPasswordToken,
67
+ resetPasswordExpires,
68
+ emailVerificationToken,
69
+ emailVerificationExpires,
70
+ organizations,
61
71
  isAdmin,
62
72
  createdAt,
63
73
  updatedAt,
package/docs/UsersApi.md CHANGED
@@ -6,6 +6,7 @@ All URIs are relative to *http://localhost*
6
6
  |------------- | ------------- | -------------|
7
7
  |[**addFavoriteClub**](#addfavoriteclub) | **POST** /api/users/me/favorite-clubs | |
8
8
  |[**addFavoritePlayer**](#addfavoriteplayer) | **POST** /api/users/me/favoritesPlayers | |
9
+ |[**addOrganization**](#addorganization) | **POST** /api/users/me/add-organization | |
9
10
  |[**addPaymentMethodSetup**](#addpaymentmethodsetup) | **POST** /api/users/addPaymentMethodSetup | |
10
11
  |[**changePassword**](#changepassword) | **PUT** /api/users/me/password | |
11
12
  |[**confirmPaymentMethodSetup**](#confirmpaymentmethodsetup) | **POST** /api/users/confirmPaymentMethodSetup | |
@@ -37,6 +38,7 @@ All URIs are relative to *http://localhost*
37
38
  |[**updateMe**](#updateme) | **PUT** /api/users/me | |
38
39
  |[**updateProfilePicture**](#updateprofilepicture) | **PUT** /api/users/me/profile-picture | |
39
40
  |[**verifyEmail**](#verifyemail) | **POST** /api/users/verify-email | |
41
+ |[**verifyOrganization**](#verifyorganization) | **POST** /api/users/verify-organization | |
40
42
 
41
43
  # **addFavoriteClub**
42
44
  > FavoriteClubMutationResponse addFavoriteClub(favoriteClubRequestBody)
@@ -133,6 +135,57 @@ const { status, data } = await apiInstance.addFavoritePlayer(
133
135
  - **Accept**: application/json
134
136
 
135
137
 
138
+ ### HTTP response details
139
+ | Status code | Description | Response headers |
140
+ |-------------|-------------|------------------|
141
+ |**200** | Ok | - |
142
+
143
+ [[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)
144
+
145
+ # **addOrganization**
146
+ > RequestPasswordReset200Response addOrganization(addOrganizationRequest)
147
+
148
+
149
+ ### Example
150
+
151
+ ```typescript
152
+ import {
153
+ UsersApi,
154
+ Configuration,
155
+ AddOrganizationRequest
156
+ } from '@tennac-booking/sdk';
157
+
158
+ const configuration = new Configuration();
159
+ const apiInstance = new UsersApi(configuration);
160
+
161
+ let addOrganizationRequest: AddOrganizationRequest; //
162
+
163
+ const { status, data } = await apiInstance.addOrganization(
164
+ addOrganizationRequest
165
+ );
166
+ ```
167
+
168
+ ### Parameters
169
+
170
+ |Name | Type | Description | Notes|
171
+ |------------- | ------------- | ------------- | -------------|
172
+ | **addOrganizationRequest** | **AddOrganizationRequest**| | |
173
+
174
+
175
+ ### Return type
176
+
177
+ **RequestPasswordReset200Response**
178
+
179
+ ### Authorization
180
+
181
+ [bearerAuth](../README.md#bearerAuth)
182
+
183
+ ### HTTP request headers
184
+
185
+ - **Content-Type**: application/json
186
+ - **Accept**: application/json
187
+
188
+
136
189
  ### HTTP response details
137
190
  | Status code | Description | Response headers |
138
191
  |-------------|-------------|------------------|
@@ -1683,3 +1736,54 @@ No authorization required
1683
1736
 
1684
1737
  [[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)
1685
1738
 
1739
+ # **verifyOrganization**
1740
+ > RequestPasswordReset200Response verifyOrganization(verifyEmailRequest)
1741
+
1742
+
1743
+ ### Example
1744
+
1745
+ ```typescript
1746
+ import {
1747
+ UsersApi,
1748
+ Configuration,
1749
+ VerifyEmailRequest
1750
+ } from '@tennac-booking/sdk';
1751
+
1752
+ const configuration = new Configuration();
1753
+ const apiInstance = new UsersApi(configuration);
1754
+
1755
+ let verifyEmailRequest: VerifyEmailRequest; //
1756
+
1757
+ const { status, data } = await apiInstance.verifyOrganization(
1758
+ verifyEmailRequest
1759
+ );
1760
+ ```
1761
+
1762
+ ### Parameters
1763
+
1764
+ |Name | Type | Description | Notes|
1765
+ |------------- | ------------- | ------------- | -------------|
1766
+ | **verifyEmailRequest** | **VerifyEmailRequest**| | |
1767
+
1768
+
1769
+ ### Return type
1770
+
1771
+ **RequestPasswordReset200Response**
1772
+
1773
+ ### Authorization
1774
+
1775
+ No authorization required
1776
+
1777
+ ### HTTP request headers
1778
+
1779
+ - **Content-Type**: application/json
1780
+ - **Accept**: application/json
1781
+
1782
+
1783
+ ### HTTP response details
1784
+ | Status code | Description | Response headers |
1785
+ |-------------|-------------|------------------|
1786
+ |**200** | Ok | - |
1787
+
1788
+ [[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)
1789
+
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.61
7
+ * The version of the OpenAPI document: 1.0.62
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.62",
3
+ "version": "1.0.63",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {