@tennac-booking/sdk 1.0.168 → 1.0.170
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 +11 -1
- package/README.md +13 -1
- package/api.ts +496 -19
- package/dist/api.d.ts +369 -22
- package/dist/api.js +229 -2
- package/dist/esm/api.d.ts +369 -22
- package/dist/esm/api.js +223 -0
- package/docs/ClubsApi.md +2 -2
- package/docs/ClubsStaffApi.md +2 -2
- package/docs/EmailExistsRequestBody.md +20 -0
- package/docs/EmailExistsResponse.md +20 -0
- package/docs/EventsStaffApi.md +2 -2
- package/docs/{GetActualities200Response.md → GetPublishedActualities200Response.md} +3 -3
- package/docs/PaginationInfo.md +28 -0
- package/docs/PublicEmailApi.md +167 -0
- package/docs/RequestEmailCodeBody.md +20 -0
- package/docs/RequestEmailCodeResponse.md +22 -0
- package/docs/StaffActualitiesPaginatedResponse.md +26 -0
- package/docs/StaffEventsPaginatedResponse.md +26 -0
- package/docs/VerifyEmailCodeBody.md +22 -0
- package/docs/VerifyEmailCodeResponse.md +22 -0
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -24,8 +24,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.VisibilityType = exports.UserLocationSummaryTypeEnum = exports.UpdateRecurringDefinitionRequestRecurringTypeEnum = exports.UpdateRecurringDefinitionRequestParticipationTypeEnum = exports.UpdateRecurringDefinitionRequestTypeEnum = exports.UpdateRecurringDefinitionRequestVisibilityTypeEnum = exports.UpdateEventRequestVisibilityTypeEnum = exports.UpdateEventRequestParticipationTypeEnum = exports.UpdateEventRequestRecurringTypeEnum = exports.UpdateEventRequestTypeEnum = exports.UpdateClubRoleRequestRoleEnum = exports.UpdateClubMemberRequestRoleEnum = exports.TrendDirection = exports.SurfaceType = exports.StaffBookingPaymentState = exports.SportKey = exports.RegisterRequestBodyLocationTypeEnum = exports.RecurringDefinitionResponseRecurringTypeEnum = exports.PublicAccessSettingsPaymentModeEnum = exports.PlayerCategoryId = exports.PlanInterval = exports.PaymentMethod = exports.ParticipationType = exports.PartialPublicAccessSettingsPaymentModeEnum = exports.InvoiceStatusSETUPSUCCESS = exports.InvoiceStatusSETUPPENDING = exports.InvoiceStatus = exports.ImageContextType = exports.IUserLocationTypeEnum = exports.Gender = exports.EventResponseVisibilityTypeEnum = exports.EventResponseParticipationTypeEnum = exports.EventResponseRecurringTypeEnum = exports.EventResponseTypeEnum = exports.EventBookingStatus = exports.DiscountType = exports.CreateEventRequestVisibilityTypeEnum = exports.CreateEventRequestParticipationTypeEnum = exports.CreateEventRequestRecurringTypeEnum = exports.CreateEventRequestTypeEnum = exports.CreateClubRoleRequestRoleEnum = exports.CreateActualityRequestDiffusionModeEnum = exports.CourtStatus = exports.ClubRoleResponseRoleEnum = exports.ClientOnboardingRequestBodyClubTypeEnum = exports.CaptureResultStatusEnum = exports.CaptureResultTypeEnum = exports.BookingStatus = exports.BookingInvoicePaymentStatus = exports.BookingHistoryPopulatedPerformedByTypeEnum = void 0;
|
|
26
26
|
exports.ClubSettingsStaffApiAxiosParamCreator = exports.ClubSettingsManagerApi = exports.ClubSettingsManagerApiFactory = exports.ClubSettingsManagerApiFp = exports.ClubSettingsManagerApiAxiosParamCreator = exports.ClubRolesStaffApi = exports.ClubRolesStaffApiFactory = exports.ClubRolesStaffApiFp = exports.ClubRolesStaffApiAxiosParamCreator = exports.ClubRolesManagerApi = exports.ClubRolesManagerApiFactory = exports.ClubRolesManagerApiFp = exports.ClubRolesManagerApiAxiosParamCreator = exports.ClubCustomerStaffApi = exports.ClubCustomerStaffApiFactory = exports.ClubCustomerStaffApiFp = exports.ClubCustomerStaffApiAxiosParamCreator = exports.ClubCustomerMeApi = exports.ClubCustomerMeApiFactory = exports.ClubCustomerMeApiFp = exports.ClubCustomerMeApiAxiosParamCreator = exports.ClubAnalyticsStaffApi = exports.ClubAnalyticsStaffApiFactory = exports.ClubAnalyticsStaffApiFp = exports.ClubAnalyticsStaffApiAxiosParamCreator = exports.ClubAnalyticsApi = exports.ClubAnalyticsApiFactory = exports.ClubAnalyticsApiFp = exports.ClubAnalyticsApiAxiosParamCreator = exports.ClientApi = exports.ClientApiFactory = exports.ClientApiFp = exports.ClientApiAxiosParamCreator = exports.BookingsUserApi = exports.BookingsUserApiFactory = exports.BookingsUserApiFp = exports.BookingsUserApiAxiosParamCreator = exports.BookingsStaffApi = exports.BookingsStaffApiFactory = exports.BookingsStaffApiFp = exports.BookingsStaffApiAxiosParamCreator = exports.BookingsManagerApi = exports.BookingsManagerApiFactory = exports.BookingsManagerApiFp = exports.BookingsManagerApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.WeekdayKey = void 0;
|
|
27
|
-
exports.
|
|
28
|
-
exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SubscriptionsUserApi = exports.SubscriptionsUserApiFactory = exports.SubscriptionsUserApiFp = exports.SubscriptionsUserApiAxiosParamCreator = exports.SubscriptionsStaffApi = exports.SubscriptionsStaffApiFactory = exports.SubscriptionsStaffApiFp = exports.SubscriptionsStaffApiAxiosParamCreator = exports.SubscriptionsPublicApi = exports.SubscriptionsPublicApiFactory = exports.SubscriptionsPublicApiFp = exports.SubscriptionsPublicApiAxiosParamCreator = exports.SubscriptionsManagerApi = exports.SubscriptionsManagerApiFactory = exports.SubscriptionsManagerApiFp = exports.SubscriptionsManagerApiAxiosParamCreator = exports.SportsPublicApi = exports.SportsPublicApiFactory = exports.SportsPublicApiFp = exports.SportsPublicApiAxiosParamCreator = exports.SportsManagerApi = void 0;
|
|
27
|
+
exports.PublicEmailApiFactory = exports.PublicEmailApiFp = exports.PublicEmailApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.GetWeeklyEventsTypeEnum = exports.GetWeeklyEventsVisibilityTypeEnum = exports.GetMonthlyEventsTypeEnum = exports.GetMonthlyEventsVisibilityTypeEnum = exports.GetDailyEventsTypeEnum = exports.GetDailyEventsVisibilityTypeEnum = exports.EventsStaffApi = exports.EventsStaffApiFactory = exports.EventsStaffApiFp = exports.EventsStaffApiAxiosParamCreator = exports.EventsManagerApi = exports.EventsManagerApiFactory = exports.EventsManagerApiFp = exports.EventsManagerApiAxiosParamCreator = exports.GetPublishedEventsByClubIdTypeEnum = exports.GetPublishedEventsByClubIdVisibilityTypeEnum = exports.EventsApi = exports.EventsApiFactory = exports.EventsApiFp = exports.EventsApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.ContactApi = exports.ContactApiFactory = exports.ContactApiFp = exports.ContactApiAxiosParamCreator = exports.ClubsStaffApi = exports.ClubsStaffApiFactory = exports.ClubsStaffApiFp = exports.ClubsStaffApiAxiosParamCreator = exports.ClubsManagerApi = exports.ClubsManagerApiFactory = exports.ClubsManagerApiFp = exports.ClubsManagerApiAxiosParamCreator = exports.ClubsApi = exports.ClubsApiFactory = exports.ClubsApiFp = exports.ClubsApiAxiosParamCreator = exports.ClubSettingsStaffApi = exports.ClubSettingsStaffApiFactory = exports.ClubSettingsStaffApiFp = void 0;
|
|
28
|
+
exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SubscriptionsUserApi = exports.SubscriptionsUserApiFactory = exports.SubscriptionsUserApiFp = exports.SubscriptionsUserApiAxiosParamCreator = exports.SubscriptionsStaffApi = exports.SubscriptionsStaffApiFactory = exports.SubscriptionsStaffApiFp = exports.SubscriptionsStaffApiAxiosParamCreator = exports.SubscriptionsPublicApi = exports.SubscriptionsPublicApiFactory = exports.SubscriptionsPublicApiFp = exports.SubscriptionsPublicApiAxiosParamCreator = exports.SubscriptionsManagerApi = exports.SubscriptionsManagerApiFactory = exports.SubscriptionsManagerApiFp = exports.SubscriptionsManagerApiAxiosParamCreator = exports.SportsPublicApi = exports.SportsPublicApiFactory = exports.SportsPublicApiFp = exports.SportsPublicApiAxiosParamCreator = exports.SportsManagerApi = exports.SportsManagerApiFactory = exports.SportsManagerApiFp = exports.SportsManagerApiAxiosParamCreator = exports.PublicEmailApi = void 0;
|
|
29
29
|
const axios_1 = require("axios");
|
|
30
30
|
// Some imports not used depending on template conditions
|
|
31
31
|
// @ts-ignore
|
|
@@ -11137,6 +11137,233 @@ class ImagesApi extends base_1.BaseAPI {
|
|
|
11137
11137
|
}
|
|
11138
11138
|
}
|
|
11139
11139
|
exports.ImagesApi = ImagesApi;
|
|
11140
|
+
/**
|
|
11141
|
+
* PublicEmailApi - axios parameter creator
|
|
11142
|
+
* @export
|
|
11143
|
+
*/
|
|
11144
|
+
const PublicEmailApiAxiosParamCreator = function (configuration) {
|
|
11145
|
+
return {
|
|
11146
|
+
/**
|
|
11147
|
+
*
|
|
11148
|
+
* @param {EmailExistsRequestBody} emailExistsRequestBody
|
|
11149
|
+
* @param {*} [options] Override http request option.
|
|
11150
|
+
* @throws {RequiredError}
|
|
11151
|
+
*/
|
|
11152
|
+
authEmailExists: (emailExistsRequestBody_1, ...args_1) => __awaiter(this, [emailExistsRequestBody_1, ...args_1], void 0, function* (emailExistsRequestBody, options = {}) {
|
|
11153
|
+
// verify required parameter 'emailExistsRequestBody' is not null or undefined
|
|
11154
|
+
(0, common_1.assertParamExists)('authEmailExists', 'emailExistsRequestBody', emailExistsRequestBody);
|
|
11155
|
+
const localVarPath = `/api/public-email/auth-email-exists`;
|
|
11156
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11157
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11158
|
+
let baseOptions;
|
|
11159
|
+
if (configuration) {
|
|
11160
|
+
baseOptions = configuration.baseOptions;
|
|
11161
|
+
}
|
|
11162
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
11163
|
+
const localVarHeaderParameter = {};
|
|
11164
|
+
const localVarQueryParameter = {};
|
|
11165
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11166
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11167
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11168
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11169
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(emailExistsRequestBody, localVarRequestOptions, configuration);
|
|
11170
|
+
return {
|
|
11171
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11172
|
+
options: localVarRequestOptions,
|
|
11173
|
+
};
|
|
11174
|
+
}),
|
|
11175
|
+
/**
|
|
11176
|
+
*
|
|
11177
|
+
* @param {RequestEmailCodeBody} requestEmailCodeBody
|
|
11178
|
+
* @param {*} [options] Override http request option.
|
|
11179
|
+
* @throws {RequiredError}
|
|
11180
|
+
*/
|
|
11181
|
+
requestVerificationCode: (requestEmailCodeBody_1, ...args_1) => __awaiter(this, [requestEmailCodeBody_1, ...args_1], void 0, function* (requestEmailCodeBody, options = {}) {
|
|
11182
|
+
// verify required parameter 'requestEmailCodeBody' is not null or undefined
|
|
11183
|
+
(0, common_1.assertParamExists)('requestVerificationCode', 'requestEmailCodeBody', requestEmailCodeBody);
|
|
11184
|
+
const localVarPath = `/api/public-email/request-verification-code`;
|
|
11185
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11186
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11187
|
+
let baseOptions;
|
|
11188
|
+
if (configuration) {
|
|
11189
|
+
baseOptions = configuration.baseOptions;
|
|
11190
|
+
}
|
|
11191
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
11192
|
+
const localVarHeaderParameter = {};
|
|
11193
|
+
const localVarQueryParameter = {};
|
|
11194
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11195
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11196
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11197
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11198
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestEmailCodeBody, localVarRequestOptions, configuration);
|
|
11199
|
+
return {
|
|
11200
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11201
|
+
options: localVarRequestOptions,
|
|
11202
|
+
};
|
|
11203
|
+
}),
|
|
11204
|
+
/**
|
|
11205
|
+
*
|
|
11206
|
+
* @param {VerifyEmailCodeBody} verifyEmailCodeBody
|
|
11207
|
+
* @param {*} [options] Override http request option.
|
|
11208
|
+
* @throws {RequiredError}
|
|
11209
|
+
*/
|
|
11210
|
+
verifyCode: (verifyEmailCodeBody_1, ...args_1) => __awaiter(this, [verifyEmailCodeBody_1, ...args_1], void 0, function* (verifyEmailCodeBody, options = {}) {
|
|
11211
|
+
// verify required parameter 'verifyEmailCodeBody' is not null or undefined
|
|
11212
|
+
(0, common_1.assertParamExists)('verifyCode', 'verifyEmailCodeBody', verifyEmailCodeBody);
|
|
11213
|
+
const localVarPath = `/api/public-email/verify-code`;
|
|
11214
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11215
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11216
|
+
let baseOptions;
|
|
11217
|
+
if (configuration) {
|
|
11218
|
+
baseOptions = configuration.baseOptions;
|
|
11219
|
+
}
|
|
11220
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
11221
|
+
const localVarHeaderParameter = {};
|
|
11222
|
+
const localVarQueryParameter = {};
|
|
11223
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11224
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11225
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11226
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11227
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(verifyEmailCodeBody, localVarRequestOptions, configuration);
|
|
11228
|
+
return {
|
|
11229
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11230
|
+
options: localVarRequestOptions,
|
|
11231
|
+
};
|
|
11232
|
+
}),
|
|
11233
|
+
};
|
|
11234
|
+
};
|
|
11235
|
+
exports.PublicEmailApiAxiosParamCreator = PublicEmailApiAxiosParamCreator;
|
|
11236
|
+
/**
|
|
11237
|
+
* PublicEmailApi - functional programming interface
|
|
11238
|
+
* @export
|
|
11239
|
+
*/
|
|
11240
|
+
const PublicEmailApiFp = function (configuration) {
|
|
11241
|
+
const localVarAxiosParamCreator = (0, exports.PublicEmailApiAxiosParamCreator)(configuration);
|
|
11242
|
+
return {
|
|
11243
|
+
/**
|
|
11244
|
+
*
|
|
11245
|
+
* @param {EmailExistsRequestBody} emailExistsRequestBody
|
|
11246
|
+
* @param {*} [options] Override http request option.
|
|
11247
|
+
* @throws {RequiredError}
|
|
11248
|
+
*/
|
|
11249
|
+
authEmailExists(emailExistsRequestBody, options) {
|
|
11250
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11251
|
+
var _a, _b, _c;
|
|
11252
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.authEmailExists(emailExistsRequestBody, options);
|
|
11253
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11254
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PublicEmailApi.authEmailExists']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11255
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11256
|
+
});
|
|
11257
|
+
},
|
|
11258
|
+
/**
|
|
11259
|
+
*
|
|
11260
|
+
* @param {RequestEmailCodeBody} requestEmailCodeBody
|
|
11261
|
+
* @param {*} [options] Override http request option.
|
|
11262
|
+
* @throws {RequiredError}
|
|
11263
|
+
*/
|
|
11264
|
+
requestVerificationCode(requestEmailCodeBody, options) {
|
|
11265
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11266
|
+
var _a, _b, _c;
|
|
11267
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.requestVerificationCode(requestEmailCodeBody, options);
|
|
11268
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11269
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PublicEmailApi.requestVerificationCode']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11270
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11271
|
+
});
|
|
11272
|
+
},
|
|
11273
|
+
/**
|
|
11274
|
+
*
|
|
11275
|
+
* @param {VerifyEmailCodeBody} verifyEmailCodeBody
|
|
11276
|
+
* @param {*} [options] Override http request option.
|
|
11277
|
+
* @throws {RequiredError}
|
|
11278
|
+
*/
|
|
11279
|
+
verifyCode(verifyEmailCodeBody, options) {
|
|
11280
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11281
|
+
var _a, _b, _c;
|
|
11282
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.verifyCode(verifyEmailCodeBody, options);
|
|
11283
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11284
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PublicEmailApi.verifyCode']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11285
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11286
|
+
});
|
|
11287
|
+
},
|
|
11288
|
+
};
|
|
11289
|
+
};
|
|
11290
|
+
exports.PublicEmailApiFp = PublicEmailApiFp;
|
|
11291
|
+
/**
|
|
11292
|
+
* PublicEmailApi - factory interface
|
|
11293
|
+
* @export
|
|
11294
|
+
*/
|
|
11295
|
+
const PublicEmailApiFactory = function (configuration, basePath, axios) {
|
|
11296
|
+
const localVarFp = (0, exports.PublicEmailApiFp)(configuration);
|
|
11297
|
+
return {
|
|
11298
|
+
/**
|
|
11299
|
+
*
|
|
11300
|
+
* @param {PublicEmailApiAuthEmailExistsRequest} requestParameters Request parameters.
|
|
11301
|
+
* @param {*} [options] Override http request option.
|
|
11302
|
+
* @throws {RequiredError}
|
|
11303
|
+
*/
|
|
11304
|
+
authEmailExists(requestParameters, options) {
|
|
11305
|
+
return localVarFp.authEmailExists(requestParameters.emailExistsRequestBody, options).then((request) => request(axios, basePath));
|
|
11306
|
+
},
|
|
11307
|
+
/**
|
|
11308
|
+
*
|
|
11309
|
+
* @param {PublicEmailApiRequestVerificationCodeRequest} requestParameters Request parameters.
|
|
11310
|
+
* @param {*} [options] Override http request option.
|
|
11311
|
+
* @throws {RequiredError}
|
|
11312
|
+
*/
|
|
11313
|
+
requestVerificationCode(requestParameters, options) {
|
|
11314
|
+
return localVarFp.requestVerificationCode(requestParameters.requestEmailCodeBody, options).then((request) => request(axios, basePath));
|
|
11315
|
+
},
|
|
11316
|
+
/**
|
|
11317
|
+
*
|
|
11318
|
+
* @param {PublicEmailApiVerifyCodeRequest} requestParameters Request parameters.
|
|
11319
|
+
* @param {*} [options] Override http request option.
|
|
11320
|
+
* @throws {RequiredError}
|
|
11321
|
+
*/
|
|
11322
|
+
verifyCode(requestParameters, options) {
|
|
11323
|
+
return localVarFp.verifyCode(requestParameters.verifyEmailCodeBody, options).then((request) => request(axios, basePath));
|
|
11324
|
+
},
|
|
11325
|
+
};
|
|
11326
|
+
};
|
|
11327
|
+
exports.PublicEmailApiFactory = PublicEmailApiFactory;
|
|
11328
|
+
/**
|
|
11329
|
+
* PublicEmailApi - object-oriented interface
|
|
11330
|
+
* @export
|
|
11331
|
+
* @class PublicEmailApi
|
|
11332
|
+
* @extends {BaseAPI}
|
|
11333
|
+
*/
|
|
11334
|
+
class PublicEmailApi extends base_1.BaseAPI {
|
|
11335
|
+
/**
|
|
11336
|
+
*
|
|
11337
|
+
* @param {PublicEmailApiAuthEmailExistsRequest} requestParameters Request parameters.
|
|
11338
|
+
* @param {*} [options] Override http request option.
|
|
11339
|
+
* @throws {RequiredError}
|
|
11340
|
+
* @memberof PublicEmailApi
|
|
11341
|
+
*/
|
|
11342
|
+
authEmailExists(requestParameters, options) {
|
|
11343
|
+
return (0, exports.PublicEmailApiFp)(this.configuration).authEmailExists(requestParameters.emailExistsRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
11344
|
+
}
|
|
11345
|
+
/**
|
|
11346
|
+
*
|
|
11347
|
+
* @param {PublicEmailApiRequestVerificationCodeRequest} requestParameters Request parameters.
|
|
11348
|
+
* @param {*} [options] Override http request option.
|
|
11349
|
+
* @throws {RequiredError}
|
|
11350
|
+
* @memberof PublicEmailApi
|
|
11351
|
+
*/
|
|
11352
|
+
requestVerificationCode(requestParameters, options) {
|
|
11353
|
+
return (0, exports.PublicEmailApiFp)(this.configuration).requestVerificationCode(requestParameters.requestEmailCodeBody, options).then((request) => request(this.axios, this.basePath));
|
|
11354
|
+
}
|
|
11355
|
+
/**
|
|
11356
|
+
*
|
|
11357
|
+
* @param {PublicEmailApiVerifyCodeRequest} requestParameters Request parameters.
|
|
11358
|
+
* @param {*} [options] Override http request option.
|
|
11359
|
+
* @throws {RequiredError}
|
|
11360
|
+
* @memberof PublicEmailApi
|
|
11361
|
+
*/
|
|
11362
|
+
verifyCode(requestParameters, options) {
|
|
11363
|
+
return (0, exports.PublicEmailApiFp)(this.configuration).verifyCode(requestParameters.verifyEmailCodeBody, options).then((request) => request(this.axios, this.basePath));
|
|
11364
|
+
}
|
|
11365
|
+
}
|
|
11366
|
+
exports.PublicEmailApi = PublicEmailApi;
|
|
11140
11367
|
/**
|
|
11141
11368
|
* SportsManagerApi - axios parameter creator
|
|
11142
11369
|
* @export
|