@tennac-booking/sdk 1.0.61 → 1.0.62
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/.openapi-generator/FILES +220 -217
- package/README.md +10 -4
- package/api.ts +415 -60
- package/dist/api.d.ts +410 -176
- package/dist/api.js +197 -13
- package/dist/esm/api.d.ts +410 -176
- package/dist/esm/api.js +197 -13
- package/docs/ClubSubscriptions.md +26 -0
- package/docs/ClubsManagerApi.md +6 -6
- package/docs/PlayerSummary.md +2 -0
- package/docs/{NotImplementedResponse.md → RequestPasswordReset200Response.md} +3 -3
- package/docs/ResetPasswordRequest.md +22 -0
- package/docs/UpdatePlanRequest.md +0 -2
- package/docs/UserClubSubscription.md +42 -0
- package/docs/UserSubscriptionsResponse.md +1 -1
- package/docs/UsersApi.md +156 -8
- package/docs/{DeleteSlotsByClubInRange200Response.md → VerifyEmailRequest.md} +5 -5
- package/package.json +1 -1
package/dist/esm/api.js
CHANGED
|
@@ -7477,6 +7477,33 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
7477
7477
|
options: localVarRequestOptions,
|
|
7478
7478
|
};
|
|
7479
7479
|
}),
|
|
7480
|
+
/**
|
|
7481
|
+
*
|
|
7482
|
+
* @param {*} [options] Override http request option.
|
|
7483
|
+
* @throws {RequiredError}
|
|
7484
|
+
*/
|
|
7485
|
+
requestEmailVerification: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
7486
|
+
const localVarPath = `/api/users/me/request-email-verification`;
|
|
7487
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7488
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7489
|
+
let baseOptions;
|
|
7490
|
+
if (configuration) {
|
|
7491
|
+
baseOptions = configuration.baseOptions;
|
|
7492
|
+
}
|
|
7493
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
7494
|
+
const localVarHeaderParameter = {};
|
|
7495
|
+
const localVarQueryParameter = {};
|
|
7496
|
+
// authentication bearerAuth required
|
|
7497
|
+
// http bearer authentication required
|
|
7498
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7499
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7500
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7501
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7502
|
+
return {
|
|
7503
|
+
url: toPathString(localVarUrlObj),
|
|
7504
|
+
options: localVarRequestOptions,
|
|
7505
|
+
};
|
|
7506
|
+
}),
|
|
7480
7507
|
/**
|
|
7481
7508
|
*
|
|
7482
7509
|
* @param {PasswordResetRequestBody} passwordResetRequestBody
|
|
@@ -7486,7 +7513,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
7486
7513
|
requestPasswordReset: (passwordResetRequestBody_1, ...args_1) => __awaiter(this, [passwordResetRequestBody_1, ...args_1], void 0, function* (passwordResetRequestBody, options = {}) {
|
|
7487
7514
|
// verify required parameter 'passwordResetRequestBody' is not null or undefined
|
|
7488
7515
|
assertParamExists('requestPasswordReset', 'passwordResetRequestBody', passwordResetRequestBody);
|
|
7489
|
-
const localVarPath = `/api/users/
|
|
7516
|
+
const localVarPath = `/api/users/request-password-reset`;
|
|
7490
7517
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7491
7518
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7492
7519
|
let baseOptions;
|
|
@@ -7506,16 +7533,45 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
7506
7533
|
options: localVarRequestOptions,
|
|
7507
7534
|
};
|
|
7508
7535
|
}),
|
|
7536
|
+
/**
|
|
7537
|
+
*
|
|
7538
|
+
* @param {ResetPasswordRequest} resetPasswordRequest
|
|
7539
|
+
* @param {*} [options] Override http request option.
|
|
7540
|
+
* @throws {RequiredError}
|
|
7541
|
+
*/
|
|
7542
|
+
resetPassword: (resetPasswordRequest_1, ...args_1) => __awaiter(this, [resetPasswordRequest_1, ...args_1], void 0, function* (resetPasswordRequest, options = {}) {
|
|
7543
|
+
// verify required parameter 'resetPasswordRequest' is not null or undefined
|
|
7544
|
+
assertParamExists('resetPassword', 'resetPasswordRequest', resetPasswordRequest);
|
|
7545
|
+
const localVarPath = `/api/users/reset-password`;
|
|
7546
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7547
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7548
|
+
let baseOptions;
|
|
7549
|
+
if (configuration) {
|
|
7550
|
+
baseOptions = configuration.baseOptions;
|
|
7551
|
+
}
|
|
7552
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
7553
|
+
const localVarHeaderParameter = {};
|
|
7554
|
+
const localVarQueryParameter = {};
|
|
7555
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7556
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7557
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7558
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7559
|
+
localVarRequestOptions.data = serializeDataIfNeeded(resetPasswordRequest, localVarRequestOptions, configuration);
|
|
7560
|
+
return {
|
|
7561
|
+
url: toPathString(localVarUrlObj),
|
|
7562
|
+
options: localVarRequestOptions,
|
|
7563
|
+
};
|
|
7564
|
+
}),
|
|
7509
7565
|
/**
|
|
7510
7566
|
*
|
|
7511
7567
|
* @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
|
|
7512
7568
|
* @param {*} [options] Override http request option.
|
|
7513
7569
|
* @throws {RequiredError}
|
|
7514
7570
|
*/
|
|
7515
|
-
|
|
7571
|
+
setupOffSessionPaymentMethod: (setupPaymentMethodRequestBody_1, ...args_1) => __awaiter(this, [setupPaymentMethodRequestBody_1, ...args_1], void 0, function* (setupPaymentMethodRequestBody, options = {}) {
|
|
7516
7572
|
// verify required parameter 'setupPaymentMethodRequestBody' is not null or undefined
|
|
7517
|
-
assertParamExists('
|
|
7518
|
-
const localVarPath = `/api/users/
|
|
7573
|
+
assertParamExists('setupOffSessionPaymentMethod', 'setupPaymentMethodRequestBody', setupPaymentMethodRequestBody);
|
|
7574
|
+
const localVarPath = `/api/users/setupOffSessionPaymentMethod`;
|
|
7519
7575
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7520
7576
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7521
7577
|
let baseOptions;
|
|
@@ -7695,6 +7751,35 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
7695
7751
|
options: localVarRequestOptions,
|
|
7696
7752
|
};
|
|
7697
7753
|
}),
|
|
7754
|
+
/**
|
|
7755
|
+
*
|
|
7756
|
+
* @param {VerifyEmailRequest} verifyEmailRequest
|
|
7757
|
+
* @param {*} [options] Override http request option.
|
|
7758
|
+
* @throws {RequiredError}
|
|
7759
|
+
*/
|
|
7760
|
+
verifyEmail: (verifyEmailRequest_1, ...args_1) => __awaiter(this, [verifyEmailRequest_1, ...args_1], void 0, function* (verifyEmailRequest, options = {}) {
|
|
7761
|
+
// verify required parameter 'verifyEmailRequest' is not null or undefined
|
|
7762
|
+
assertParamExists('verifyEmail', 'verifyEmailRequest', verifyEmailRequest);
|
|
7763
|
+
const localVarPath = `/api/users/verify-email`;
|
|
7764
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7765
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7766
|
+
let baseOptions;
|
|
7767
|
+
if (configuration) {
|
|
7768
|
+
baseOptions = configuration.baseOptions;
|
|
7769
|
+
}
|
|
7770
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
7771
|
+
const localVarHeaderParameter = {};
|
|
7772
|
+
const localVarQueryParameter = {};
|
|
7773
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7774
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7775
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7776
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7777
|
+
localVarRequestOptions.data = serializeDataIfNeeded(verifyEmailRequest, localVarRequestOptions, configuration);
|
|
7778
|
+
return {
|
|
7779
|
+
url: toPathString(localVarUrlObj),
|
|
7780
|
+
options: localVarRequestOptions,
|
|
7781
|
+
};
|
|
7782
|
+
}),
|
|
7698
7783
|
};
|
|
7699
7784
|
};
|
|
7700
7785
|
/**
|
|
@@ -8052,6 +8137,20 @@ export const UsersApiFp = function (configuration) {
|
|
|
8052
8137
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8053
8138
|
});
|
|
8054
8139
|
},
|
|
8140
|
+
/**
|
|
8141
|
+
*
|
|
8142
|
+
* @param {*} [options] Override http request option.
|
|
8143
|
+
* @throws {RequiredError}
|
|
8144
|
+
*/
|
|
8145
|
+
requestEmailVerification(options) {
|
|
8146
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8147
|
+
var _a, _b, _c;
|
|
8148
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.requestEmailVerification(options);
|
|
8149
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8150
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.requestEmailVerification']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8151
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8152
|
+
});
|
|
8153
|
+
},
|
|
8055
8154
|
/**
|
|
8056
8155
|
*
|
|
8057
8156
|
* @param {PasswordResetRequestBody} passwordResetRequestBody
|
|
@@ -8067,18 +8166,33 @@ export const UsersApiFp = function (configuration) {
|
|
|
8067
8166
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8068
8167
|
});
|
|
8069
8168
|
},
|
|
8169
|
+
/**
|
|
8170
|
+
*
|
|
8171
|
+
* @param {ResetPasswordRequest} resetPasswordRequest
|
|
8172
|
+
* @param {*} [options] Override http request option.
|
|
8173
|
+
* @throws {RequiredError}
|
|
8174
|
+
*/
|
|
8175
|
+
resetPassword(resetPasswordRequest, options) {
|
|
8176
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8177
|
+
var _a, _b, _c;
|
|
8178
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.resetPassword(resetPasswordRequest, options);
|
|
8179
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8180
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.resetPassword']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8181
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8182
|
+
});
|
|
8183
|
+
},
|
|
8070
8184
|
/**
|
|
8071
8185
|
*
|
|
8072
8186
|
* @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
|
|
8073
8187
|
* @param {*} [options] Override http request option.
|
|
8074
8188
|
* @throws {RequiredError}
|
|
8075
8189
|
*/
|
|
8076
|
-
|
|
8190
|
+
setupOffSessionPaymentMethod(setupPaymentMethodRequestBody, options) {
|
|
8077
8191
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8078
8192
|
var _a, _b, _c;
|
|
8079
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
8193
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.setupOffSessionPaymentMethod(setupPaymentMethodRequestBody, options);
|
|
8080
8194
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8081
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.
|
|
8195
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.setupOffSessionPaymentMethod']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8082
8196
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8083
8197
|
});
|
|
8084
8198
|
},
|
|
@@ -8157,6 +8271,21 @@ export const UsersApiFp = function (configuration) {
|
|
|
8157
8271
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8158
8272
|
});
|
|
8159
8273
|
},
|
|
8274
|
+
/**
|
|
8275
|
+
*
|
|
8276
|
+
* @param {VerifyEmailRequest} verifyEmailRequest
|
|
8277
|
+
* @param {*} [options] Override http request option.
|
|
8278
|
+
* @throws {RequiredError}
|
|
8279
|
+
*/
|
|
8280
|
+
verifyEmail(verifyEmailRequest, options) {
|
|
8281
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8282
|
+
var _a, _b, _c;
|
|
8283
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.verifyEmail(verifyEmailRequest, options);
|
|
8284
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8285
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.verifyEmail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8286
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8287
|
+
});
|
|
8288
|
+
},
|
|
8160
8289
|
};
|
|
8161
8290
|
};
|
|
8162
8291
|
/**
|
|
@@ -8367,6 +8496,14 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
8367
8496
|
removeFavoritePlayer(requestParameters, options) {
|
|
8368
8497
|
return localVarFp.removeFavoritePlayer(requestParameters.favoritePlayerId, options).then((request) => request(axios, basePath));
|
|
8369
8498
|
},
|
|
8499
|
+
/**
|
|
8500
|
+
*
|
|
8501
|
+
* @param {*} [options] Override http request option.
|
|
8502
|
+
* @throws {RequiredError}
|
|
8503
|
+
*/
|
|
8504
|
+
requestEmailVerification(options) {
|
|
8505
|
+
return localVarFp.requestEmailVerification(options).then((request) => request(axios, basePath));
|
|
8506
|
+
},
|
|
8370
8507
|
/**
|
|
8371
8508
|
*
|
|
8372
8509
|
* @param {UsersApiRequestPasswordResetRequest} requestParameters Request parameters.
|
|
@@ -8378,12 +8515,21 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
8378
8515
|
},
|
|
8379
8516
|
/**
|
|
8380
8517
|
*
|
|
8381
|
-
* @param {
|
|
8518
|
+
* @param {UsersApiResetPasswordRequest} requestParameters Request parameters.
|
|
8382
8519
|
* @param {*} [options] Override http request option.
|
|
8383
8520
|
* @throws {RequiredError}
|
|
8384
8521
|
*/
|
|
8385
|
-
|
|
8386
|
-
return localVarFp.
|
|
8522
|
+
resetPassword(requestParameters, options) {
|
|
8523
|
+
return localVarFp.resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(axios, basePath));
|
|
8524
|
+
},
|
|
8525
|
+
/**
|
|
8526
|
+
*
|
|
8527
|
+
* @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
|
|
8528
|
+
* @param {*} [options] Override http request option.
|
|
8529
|
+
* @throws {RequiredError}
|
|
8530
|
+
*/
|
|
8531
|
+
setupOffSessionPaymentMethod(requestParameters, options) {
|
|
8532
|
+
return localVarFp.setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
|
|
8387
8533
|
},
|
|
8388
8534
|
/**
|
|
8389
8535
|
*
|
|
@@ -8430,6 +8576,15 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
8430
8576
|
updateProfilePicture(requestParameters, options) {
|
|
8431
8577
|
return localVarFp.updateProfilePicture(requestParameters.profilePictureUpdateRequestBody, options).then((request) => request(axios, basePath));
|
|
8432
8578
|
},
|
|
8579
|
+
/**
|
|
8580
|
+
*
|
|
8581
|
+
* @param {UsersApiVerifyEmailRequest} requestParameters Request parameters.
|
|
8582
|
+
* @param {*} [options] Override http request option.
|
|
8583
|
+
* @throws {RequiredError}
|
|
8584
|
+
*/
|
|
8585
|
+
verifyEmail(requestParameters, options) {
|
|
8586
|
+
return localVarFp.verifyEmail(requestParameters.verifyEmailRequest, options).then((request) => request(axios, basePath));
|
|
8587
|
+
},
|
|
8433
8588
|
};
|
|
8434
8589
|
};
|
|
8435
8590
|
/**
|
|
@@ -8663,6 +8818,15 @@ export class UsersApi extends BaseAPI {
|
|
|
8663
8818
|
removeFavoritePlayer(requestParameters, options) {
|
|
8664
8819
|
return UsersApiFp(this.configuration).removeFavoritePlayer(requestParameters.favoritePlayerId, options).then((request) => request(this.axios, this.basePath));
|
|
8665
8820
|
}
|
|
8821
|
+
/**
|
|
8822
|
+
*
|
|
8823
|
+
* @param {*} [options] Override http request option.
|
|
8824
|
+
* @throws {RequiredError}
|
|
8825
|
+
* @memberof UsersApi
|
|
8826
|
+
*/
|
|
8827
|
+
requestEmailVerification(options) {
|
|
8828
|
+
return UsersApiFp(this.configuration).requestEmailVerification(options).then((request) => request(this.axios, this.basePath));
|
|
8829
|
+
}
|
|
8666
8830
|
/**
|
|
8667
8831
|
*
|
|
8668
8832
|
* @param {UsersApiRequestPasswordResetRequest} requestParameters Request parameters.
|
|
@@ -8675,13 +8839,23 @@ export class UsersApi extends BaseAPI {
|
|
|
8675
8839
|
}
|
|
8676
8840
|
/**
|
|
8677
8841
|
*
|
|
8678
|
-
* @param {
|
|
8842
|
+
* @param {UsersApiResetPasswordRequest} requestParameters Request parameters.
|
|
8679
8843
|
* @param {*} [options] Override http request option.
|
|
8680
8844
|
* @throws {RequiredError}
|
|
8681
8845
|
* @memberof UsersApi
|
|
8682
8846
|
*/
|
|
8683
|
-
|
|
8684
|
-
return UsersApiFp(this.configuration).
|
|
8847
|
+
resetPassword(requestParameters, options) {
|
|
8848
|
+
return UsersApiFp(this.configuration).resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8849
|
+
}
|
|
8850
|
+
/**
|
|
8851
|
+
*
|
|
8852
|
+
* @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
|
|
8853
|
+
* @param {*} [options] Override http request option.
|
|
8854
|
+
* @throws {RequiredError}
|
|
8855
|
+
* @memberof UsersApi
|
|
8856
|
+
*/
|
|
8857
|
+
setupOffSessionPaymentMethod(requestParameters, options) {
|
|
8858
|
+
return UsersApiFp(this.configuration).setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
8685
8859
|
}
|
|
8686
8860
|
/**
|
|
8687
8861
|
*
|
|
@@ -8733,4 +8907,14 @@ export class UsersApi extends BaseAPI {
|
|
|
8733
8907
|
updateProfilePicture(requestParameters, options) {
|
|
8734
8908
|
return UsersApiFp(this.configuration).updateProfilePicture(requestParameters.profilePictureUpdateRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
8735
8909
|
}
|
|
8910
|
+
/**
|
|
8911
|
+
*
|
|
8912
|
+
* @param {UsersApiVerifyEmailRequest} requestParameters Request parameters.
|
|
8913
|
+
* @param {*} [options] Override http request option.
|
|
8914
|
+
* @throws {RequiredError}
|
|
8915
|
+
* @memberof UsersApi
|
|
8916
|
+
*/
|
|
8917
|
+
verifyEmail(requestParameters, options) {
|
|
8918
|
+
return UsersApiFp(this.configuration).verifyEmail(requestParameters.verifyEmailRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8919
|
+
}
|
|
8736
8920
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# ClubSubscriptions
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**subscriptions** | [**Array<UserClubSubscription>**](UserClubSubscription.md) | | [default to undefined]
|
|
9
|
+
**picture** | **string** | | [default to undefined]
|
|
10
|
+
**clubName** | **string** | | [default to undefined]
|
|
11
|
+
**clubId** | **string** | | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { ClubSubscriptions } from '@tennac-booking/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: ClubSubscriptions = {
|
|
19
|
+
subscriptions,
|
|
20
|
+
picture,
|
|
21
|
+
clubName,
|
|
22
|
+
clubId,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[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/ClubsManagerApi.md
CHANGED
|
@@ -338,7 +338,7 @@ const { status, data } = await apiInstance.createSportForClub(
|
|
|
338
338
|
[[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)
|
|
339
339
|
|
|
340
340
|
# **deleteActuality**
|
|
341
|
-
>
|
|
341
|
+
> RequestPasswordReset200Response deleteActuality()
|
|
342
342
|
|
|
343
343
|
|
|
344
344
|
### Example
|
|
@@ -368,7 +368,7 @@ const { status, data } = await apiInstance.deleteActuality(
|
|
|
368
368
|
|
|
369
369
|
### Return type
|
|
370
370
|
|
|
371
|
-
**
|
|
371
|
+
**RequestPasswordReset200Response**
|
|
372
372
|
|
|
373
373
|
### Authorization
|
|
374
374
|
|
|
@@ -442,7 +442,7 @@ const { status, data } = await apiInstance.deleteCourt(
|
|
|
442
442
|
[[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)
|
|
443
443
|
|
|
444
444
|
# **deleteSlotsByClubInRange**
|
|
445
|
-
>
|
|
445
|
+
> RequestPasswordReset200Response deleteSlotsByClubInRange()
|
|
446
446
|
|
|
447
447
|
|
|
448
448
|
### Example
|
|
@@ -465,7 +465,7 @@ This endpoint does not have any parameters.
|
|
|
465
465
|
|
|
466
466
|
### Return type
|
|
467
467
|
|
|
468
|
-
**
|
|
468
|
+
**RequestPasswordReset200Response**
|
|
469
469
|
|
|
470
470
|
### Authorization
|
|
471
471
|
|
|
@@ -585,7 +585,7 @@ const { status, data } = await apiInstance.publishActuality(
|
|
|
585
585
|
[[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)
|
|
586
586
|
|
|
587
587
|
# **restoreSubscriptionPlanForClub**
|
|
588
|
-
>
|
|
588
|
+
> RequestPasswordReset200Response restoreSubscriptionPlanForClub()
|
|
589
589
|
|
|
590
590
|
|
|
591
591
|
### Example
|
|
@@ -615,7 +615,7 @@ const { status, data } = await apiInstance.restoreSubscriptionPlanForClub(
|
|
|
615
615
|
|
|
616
616
|
### Return type
|
|
617
617
|
|
|
618
|
-
**
|
|
618
|
+
**RequestPasswordReset200Response**
|
|
619
619
|
|
|
620
620
|
### Authorization
|
|
621
621
|
|
package/docs/PlayerSummary.md
CHANGED
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**username** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**firstName** | **string** | | [default to undefined]
|
|
11
11
|
**lastName** | **string** | | [default to undefined]
|
|
12
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
12
13
|
**profilePicture** | **string** | | [optional] [default to undefined]
|
|
13
14
|
**gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
|
|
14
15
|
**levelBySports** | [**Array<LevelBySportEntry>**](LevelBySportEntry.md) | | [optional] [default to undefined]
|
|
@@ -27,6 +28,7 @@ const instance: PlayerSummary = {
|
|
|
27
28
|
username,
|
|
28
29
|
firstName,
|
|
29
30
|
lastName,
|
|
31
|
+
description,
|
|
30
32
|
profilePicture,
|
|
31
33
|
gender,
|
|
32
34
|
levelBySports,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# RequestPasswordReset200Response
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
@@ -10,9 +10,9 @@ Name | Type | Description | Notes
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
13
|
-
import {
|
|
13
|
+
import { RequestPasswordReset200Response } from '@tennac-booking/sdk';
|
|
14
14
|
|
|
15
|
-
const instance:
|
|
15
|
+
const instance: RequestPasswordReset200Response = {
|
|
16
16
|
message,
|
|
17
17
|
};
|
|
18
18
|
```
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ResetPasswordRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**newPassword** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**token** | **string** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ResetPasswordRequest } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: ResetPasswordRequest = {
|
|
17
|
+
newPassword,
|
|
18
|
+
token,
|
|
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)
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**clubId** | **string** | | [optional] [default to undefined]
|
|
9
8
|
**newAmountInCents** | **number** | | [default to undefined]
|
|
10
9
|
**oldPriceId** | **string** | | [default to undefined]
|
|
11
10
|
|
|
@@ -15,7 +14,6 @@ Name | Type | Description | Notes
|
|
|
15
14
|
import { UpdatePlanRequest } from '@tennac-booking/sdk';
|
|
16
15
|
|
|
17
16
|
const instance: UpdatePlanRequest = {
|
|
18
|
-
clubId,
|
|
19
17
|
newAmountInCents,
|
|
20
18
|
oldPriceId,
|
|
21
19
|
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# UserClubSubscription
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**status** | **string** | | [default to undefined]
|
|
10
|
+
**currentPeriodStart** | **number** | | [default to undefined]
|
|
11
|
+
**currentPeriodEnd** | **number** | | [default to undefined]
|
|
12
|
+
**cancelAt** | **number** | | [default to undefined]
|
|
13
|
+
**canceledAt** | **number** | | [default to undefined]
|
|
14
|
+
**priceId** | **string** | | [default to undefined]
|
|
15
|
+
**planId** | **string** | | [default to undefined]
|
|
16
|
+
**planName** | **string** | | [default to undefined]
|
|
17
|
+
**amountInCents** | **number** | | [default to undefined]
|
|
18
|
+
**currency** | **string** | | [default to undefined]
|
|
19
|
+
**interval** | [**PlanInterval**](PlanInterval.md) | | [default to undefined]
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { UserClubSubscription } from '@tennac-booking/sdk';
|
|
25
|
+
|
|
26
|
+
const instance: UserClubSubscription = {
|
|
27
|
+
id,
|
|
28
|
+
status,
|
|
29
|
+
currentPeriodStart,
|
|
30
|
+
currentPeriodEnd,
|
|
31
|
+
cancelAt,
|
|
32
|
+
canceledAt,
|
|
33
|
+
priceId,
|
|
34
|
+
planId,
|
|
35
|
+
planName,
|
|
36
|
+
amountInCents,
|
|
37
|
+
currency,
|
|
38
|
+
interval,
|
|
39
|
+
};
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**subscriptions** | **
|
|
8
|
+
**subscriptions** | [**Array<ClubSubscriptions>**](ClubSubscriptions.md) | | [default to undefined]
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|