@tennac-booking/sdk 1.0.169 → 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 +7 -0
- package/README.md +9 -0
- package/api.ts +378 -0
- package/dist/api.d.ts +248 -0
- package/dist/api.js +229 -2
- package/dist/esm/api.d.ts +248 -0
- package/dist/esm/api.js +223 -0
- package/docs/EmailExistsRequestBody.md +20 -0
- package/docs/EmailExistsResponse.md +20 -0
- package/docs/PublicEmailApi.md +167 -0
- package/docs/RequestEmailCodeBody.md +20 -0
- package/docs/RequestEmailCodeResponse.md +22 -0
- package/docs/VerifyEmailCodeBody.md +22 -0
- package/docs/VerifyEmailCodeResponse.md +22 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -149,6 +149,8 @@ docs/DeleteSportResponse.md
|
|
|
149
149
|
docs/DeleteSubscriptionPlanResponse.md
|
|
150
150
|
docs/DiscountType.md
|
|
151
151
|
docs/DuplicateClubDayScheduleRequest.md
|
|
152
|
+
docs/EmailExistsRequestBody.md
|
|
153
|
+
docs/EmailExistsResponse.md
|
|
152
154
|
docs/EstimateEventPrice200Response.md
|
|
153
155
|
docs/EstimateEventPriceRequest.md
|
|
154
156
|
docs/EstimateEventPriceRequestSharesInner.md
|
|
@@ -269,6 +271,7 @@ docs/PlayerWithPaymentMethod.md
|
|
|
269
271
|
docs/ProfilePictureResponse.md
|
|
270
272
|
docs/ProfilePictureUpdateRequestBody.md
|
|
271
273
|
docs/PublicAccessSettings.md
|
|
274
|
+
docs/PublicEmailApi.md
|
|
272
275
|
docs/PublicSubscriptionPlanResponse.md
|
|
273
276
|
docs/PublicUserProfileResponse.md
|
|
274
277
|
docs/PublishEventResponse.md
|
|
@@ -283,6 +286,8 @@ docs/RefreshTokenRequestBody.md
|
|
|
283
286
|
docs/RefreshTokenResponse.md
|
|
284
287
|
docs/RegisterRequestBody.md
|
|
285
288
|
docs/RegisterRequestBodyLocation.md
|
|
289
|
+
docs/RequestEmailCodeBody.md
|
|
290
|
+
docs/RequestEmailCodeResponse.md
|
|
286
291
|
docs/RequestPasswordReset200Response.md
|
|
287
292
|
docs/ResetPasswordRequest.md
|
|
288
293
|
docs/RetentionRateResponse.md
|
|
@@ -368,6 +373,8 @@ docs/UserProfileResponse.md
|
|
|
368
373
|
docs/UserRolesResponse.md
|
|
369
374
|
docs/UserSubscriptionsResponse.md
|
|
370
375
|
docs/UsersApi.md
|
|
376
|
+
docs/VerifyEmailCodeBody.md
|
|
377
|
+
docs/VerifyEmailCodeResponse.md
|
|
371
378
|
docs/VerifyEmailRequest.md
|
|
372
379
|
docs/VisibilityType.md
|
|
373
380
|
docs/WeekdayAverageItem.md
|
package/README.md
CHANGED
|
@@ -200,6 +200,9 @@ Class | Method | HTTP request | Description
|
|
|
200
200
|
*EventsStaffApi* | [**getMonthlyEvents**](docs/EventsStaffApi.md#getmonthlyevents) | **GET** /api/events/calendar/monthly |
|
|
201
201
|
*EventsStaffApi* | [**getWeeklyEvents**](docs/EventsStaffApi.md#getweeklyevents) | **GET** /api/events/calendar/weekly |
|
|
202
202
|
*ImagesApi* | [**cleanupImages**](docs/ImagesApi.md#cleanupimages) | **POST** /api/images/cleanup |
|
|
203
|
+
*PublicEmailApi* | [**authEmailExists**](docs/PublicEmailApi.md#authemailexists) | **POST** /api/public-email/auth-email-exists |
|
|
204
|
+
*PublicEmailApi* | [**requestVerificationCode**](docs/PublicEmailApi.md#requestverificationcode) | **POST** /api/public-email/request-verification-code |
|
|
205
|
+
*PublicEmailApi* | [**verifyCode**](docs/PublicEmailApi.md#verifycode) | **POST** /api/public-email/verify-code |
|
|
203
206
|
*SportsManagerApi* | [**createSport**](docs/SportsManagerApi.md#createsport) | **POST** /api/sports |
|
|
204
207
|
*SportsManagerApi* | [**deleteSport**](docs/SportsManagerApi.md#deletesport) | **DELETE** /api/sports/{id} |
|
|
205
208
|
*SportsManagerApi* | [**updateSport**](docs/SportsManagerApi.md#updatesport) | **PUT** /api/sports/{id} |
|
|
@@ -383,6 +386,8 @@ Class | Method | HTTP request | Description
|
|
|
383
386
|
- [DeleteSubscriptionPlanResponse](docs/DeleteSubscriptionPlanResponse.md)
|
|
384
387
|
- [DiscountType](docs/DiscountType.md)
|
|
385
388
|
- [DuplicateClubDayScheduleRequest](docs/DuplicateClubDayScheduleRequest.md)
|
|
389
|
+
- [EmailExistsRequestBody](docs/EmailExistsRequestBody.md)
|
|
390
|
+
- [EmailExistsResponse](docs/EmailExistsResponse.md)
|
|
386
391
|
- [EstimateEventPrice200Response](docs/EstimateEventPrice200Response.md)
|
|
387
392
|
- [EstimateEventPriceRequest](docs/EstimateEventPriceRequest.md)
|
|
388
393
|
- [EstimateEventPriceRequestSharesInner](docs/EstimateEventPriceRequestSharesInner.md)
|
|
@@ -513,6 +518,8 @@ Class | Method | HTTP request | Description
|
|
|
513
518
|
- [RefreshTokenResponse](docs/RefreshTokenResponse.md)
|
|
514
519
|
- [RegisterRequestBody](docs/RegisterRequestBody.md)
|
|
515
520
|
- [RegisterRequestBodyLocation](docs/RegisterRequestBodyLocation.md)
|
|
521
|
+
- [RequestEmailCodeBody](docs/RequestEmailCodeBody.md)
|
|
522
|
+
- [RequestEmailCodeResponse](docs/RequestEmailCodeResponse.md)
|
|
516
523
|
- [RequestPasswordReset200Response](docs/RequestPasswordReset200Response.md)
|
|
517
524
|
- [ResetPasswordRequest](docs/ResetPasswordRequest.md)
|
|
518
525
|
- [RetentionRateResponse](docs/RetentionRateResponse.md)
|
|
@@ -590,6 +597,8 @@ Class | Method | HTTP request | Description
|
|
|
590
597
|
- [UserProfileResponse](docs/UserProfileResponse.md)
|
|
591
598
|
- [UserRolesResponse](docs/UserRolesResponse.md)
|
|
592
599
|
- [UserSubscriptionsResponse](docs/UserSubscriptionsResponse.md)
|
|
600
|
+
- [VerifyEmailCodeBody](docs/VerifyEmailCodeBody.md)
|
|
601
|
+
- [VerifyEmailCodeResponse](docs/VerifyEmailCodeResponse.md)
|
|
593
602
|
- [VerifyEmailRequest](docs/VerifyEmailRequest.md)
|
|
594
603
|
- [VisibilityType](docs/VisibilityType.md)
|
|
595
604
|
- [WeekdayAverageItem](docs/WeekdayAverageItem.md)
|
package/api.ts
CHANGED
|
@@ -4876,6 +4876,32 @@ export interface DuplicateClubDayScheduleRequest {
|
|
|
4876
4876
|
}
|
|
4877
4877
|
|
|
4878
4878
|
|
|
4879
|
+
/**
|
|
4880
|
+
*
|
|
4881
|
+
* @export
|
|
4882
|
+
* @interface EmailExistsRequestBody
|
|
4883
|
+
*/
|
|
4884
|
+
export interface EmailExistsRequestBody {
|
|
4885
|
+
/**
|
|
4886
|
+
*
|
|
4887
|
+
* @type {string}
|
|
4888
|
+
* @memberof EmailExistsRequestBody
|
|
4889
|
+
*/
|
|
4890
|
+
'email': string;
|
|
4891
|
+
}
|
|
4892
|
+
/**
|
|
4893
|
+
*
|
|
4894
|
+
* @export
|
|
4895
|
+
* @interface EmailExistsResponse
|
|
4896
|
+
*/
|
|
4897
|
+
export interface EmailExistsResponse {
|
|
4898
|
+
/**
|
|
4899
|
+
*
|
|
4900
|
+
* @type {boolean}
|
|
4901
|
+
* @memberof EmailExistsResponse
|
|
4902
|
+
*/
|
|
4903
|
+
'exists': boolean;
|
|
4904
|
+
}
|
|
4879
4905
|
/**
|
|
4880
4906
|
*
|
|
4881
4907
|
* @export
|
|
@@ -9428,6 +9454,38 @@ export const RegisterRequestBodyLocationTypeEnum = {
|
|
|
9428
9454
|
|
|
9429
9455
|
export type RegisterRequestBodyLocationTypeEnum = typeof RegisterRequestBodyLocationTypeEnum[keyof typeof RegisterRequestBodyLocationTypeEnum];
|
|
9430
9456
|
|
|
9457
|
+
/**
|
|
9458
|
+
*
|
|
9459
|
+
* @export
|
|
9460
|
+
* @interface RequestEmailCodeBody
|
|
9461
|
+
*/
|
|
9462
|
+
export interface RequestEmailCodeBody {
|
|
9463
|
+
/**
|
|
9464
|
+
*
|
|
9465
|
+
* @type {string}
|
|
9466
|
+
* @memberof RequestEmailCodeBody
|
|
9467
|
+
*/
|
|
9468
|
+
'email': string;
|
|
9469
|
+
}
|
|
9470
|
+
/**
|
|
9471
|
+
*
|
|
9472
|
+
* @export
|
|
9473
|
+
* @interface RequestEmailCodeResponse
|
|
9474
|
+
*/
|
|
9475
|
+
export interface RequestEmailCodeResponse {
|
|
9476
|
+
/**
|
|
9477
|
+
*
|
|
9478
|
+
* @type {boolean}
|
|
9479
|
+
* @memberof RequestEmailCodeResponse
|
|
9480
|
+
*/
|
|
9481
|
+
'sent': boolean;
|
|
9482
|
+
/**
|
|
9483
|
+
*
|
|
9484
|
+
* @type {boolean}
|
|
9485
|
+
* @memberof RequestEmailCodeResponse
|
|
9486
|
+
*/
|
|
9487
|
+
'alreadyVerified'?: boolean;
|
|
9488
|
+
}
|
|
9431
9489
|
/**
|
|
9432
9490
|
*
|
|
9433
9491
|
* @export
|
|
@@ -12695,6 +12753,44 @@ export interface UserSubscriptionsResponse {
|
|
|
12695
12753
|
*/
|
|
12696
12754
|
'subscriptions': Array<ClubSubscriptions>;
|
|
12697
12755
|
}
|
|
12756
|
+
/**
|
|
12757
|
+
*
|
|
12758
|
+
* @export
|
|
12759
|
+
* @interface VerifyEmailCodeBody
|
|
12760
|
+
*/
|
|
12761
|
+
export interface VerifyEmailCodeBody {
|
|
12762
|
+
/**
|
|
12763
|
+
*
|
|
12764
|
+
* @type {string}
|
|
12765
|
+
* @memberof VerifyEmailCodeBody
|
|
12766
|
+
*/
|
|
12767
|
+
'email': string;
|
|
12768
|
+
/**
|
|
12769
|
+
*
|
|
12770
|
+
* @type {string}
|
|
12771
|
+
* @memberof VerifyEmailCodeBody
|
|
12772
|
+
*/
|
|
12773
|
+
'code': string;
|
|
12774
|
+
}
|
|
12775
|
+
/**
|
|
12776
|
+
*
|
|
12777
|
+
* @export
|
|
12778
|
+
* @interface VerifyEmailCodeResponse
|
|
12779
|
+
*/
|
|
12780
|
+
export interface VerifyEmailCodeResponse {
|
|
12781
|
+
/**
|
|
12782
|
+
*
|
|
12783
|
+
* @type {boolean}
|
|
12784
|
+
* @memberof VerifyEmailCodeResponse
|
|
12785
|
+
*/
|
|
12786
|
+
'verified': boolean;
|
|
12787
|
+
/**
|
|
12788
|
+
*
|
|
12789
|
+
* @type {boolean}
|
|
12790
|
+
* @memberof VerifyEmailCodeResponse
|
|
12791
|
+
*/
|
|
12792
|
+
'alreadyVerified'?: boolean;
|
|
12793
|
+
}
|
|
12698
12794
|
/**
|
|
12699
12795
|
*
|
|
12700
12796
|
* @export
|
|
@@ -26441,6 +26537,288 @@ export class ImagesApi extends BaseAPI {
|
|
|
26441
26537
|
|
|
26442
26538
|
|
|
26443
26539
|
|
|
26540
|
+
/**
|
|
26541
|
+
* PublicEmailApi - axios parameter creator
|
|
26542
|
+
* @export
|
|
26543
|
+
*/
|
|
26544
|
+
export const PublicEmailApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
26545
|
+
return {
|
|
26546
|
+
/**
|
|
26547
|
+
*
|
|
26548
|
+
* @param {EmailExistsRequestBody} emailExistsRequestBody
|
|
26549
|
+
* @param {*} [options] Override http request option.
|
|
26550
|
+
* @throws {RequiredError}
|
|
26551
|
+
*/
|
|
26552
|
+
authEmailExists: async (emailExistsRequestBody: EmailExistsRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26553
|
+
// verify required parameter 'emailExistsRequestBody' is not null or undefined
|
|
26554
|
+
assertParamExists('authEmailExists', 'emailExistsRequestBody', emailExistsRequestBody)
|
|
26555
|
+
const localVarPath = `/api/public-email/auth-email-exists`;
|
|
26556
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26557
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26558
|
+
let baseOptions;
|
|
26559
|
+
if (configuration) {
|
|
26560
|
+
baseOptions = configuration.baseOptions;
|
|
26561
|
+
}
|
|
26562
|
+
|
|
26563
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
26564
|
+
const localVarHeaderParameter = {} as any;
|
|
26565
|
+
const localVarQueryParameter = {} as any;
|
|
26566
|
+
|
|
26567
|
+
|
|
26568
|
+
|
|
26569
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26570
|
+
|
|
26571
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26572
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26573
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26574
|
+
localVarRequestOptions.data = serializeDataIfNeeded(emailExistsRequestBody, localVarRequestOptions, configuration)
|
|
26575
|
+
|
|
26576
|
+
return {
|
|
26577
|
+
url: toPathString(localVarUrlObj),
|
|
26578
|
+
options: localVarRequestOptions,
|
|
26579
|
+
};
|
|
26580
|
+
},
|
|
26581
|
+
/**
|
|
26582
|
+
*
|
|
26583
|
+
* @param {RequestEmailCodeBody} requestEmailCodeBody
|
|
26584
|
+
* @param {*} [options] Override http request option.
|
|
26585
|
+
* @throws {RequiredError}
|
|
26586
|
+
*/
|
|
26587
|
+
requestVerificationCode: async (requestEmailCodeBody: RequestEmailCodeBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26588
|
+
// verify required parameter 'requestEmailCodeBody' is not null or undefined
|
|
26589
|
+
assertParamExists('requestVerificationCode', 'requestEmailCodeBody', requestEmailCodeBody)
|
|
26590
|
+
const localVarPath = `/api/public-email/request-verification-code`;
|
|
26591
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26592
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26593
|
+
let baseOptions;
|
|
26594
|
+
if (configuration) {
|
|
26595
|
+
baseOptions = configuration.baseOptions;
|
|
26596
|
+
}
|
|
26597
|
+
|
|
26598
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
26599
|
+
const localVarHeaderParameter = {} as any;
|
|
26600
|
+
const localVarQueryParameter = {} as any;
|
|
26601
|
+
|
|
26602
|
+
|
|
26603
|
+
|
|
26604
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26605
|
+
|
|
26606
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26607
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26608
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26609
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestEmailCodeBody, localVarRequestOptions, configuration)
|
|
26610
|
+
|
|
26611
|
+
return {
|
|
26612
|
+
url: toPathString(localVarUrlObj),
|
|
26613
|
+
options: localVarRequestOptions,
|
|
26614
|
+
};
|
|
26615
|
+
},
|
|
26616
|
+
/**
|
|
26617
|
+
*
|
|
26618
|
+
* @param {VerifyEmailCodeBody} verifyEmailCodeBody
|
|
26619
|
+
* @param {*} [options] Override http request option.
|
|
26620
|
+
* @throws {RequiredError}
|
|
26621
|
+
*/
|
|
26622
|
+
verifyCode: async (verifyEmailCodeBody: VerifyEmailCodeBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26623
|
+
// verify required parameter 'verifyEmailCodeBody' is not null or undefined
|
|
26624
|
+
assertParamExists('verifyCode', 'verifyEmailCodeBody', verifyEmailCodeBody)
|
|
26625
|
+
const localVarPath = `/api/public-email/verify-code`;
|
|
26626
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26627
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26628
|
+
let baseOptions;
|
|
26629
|
+
if (configuration) {
|
|
26630
|
+
baseOptions = configuration.baseOptions;
|
|
26631
|
+
}
|
|
26632
|
+
|
|
26633
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
26634
|
+
const localVarHeaderParameter = {} as any;
|
|
26635
|
+
const localVarQueryParameter = {} as any;
|
|
26636
|
+
|
|
26637
|
+
|
|
26638
|
+
|
|
26639
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26640
|
+
|
|
26641
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26642
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26643
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26644
|
+
localVarRequestOptions.data = serializeDataIfNeeded(verifyEmailCodeBody, localVarRequestOptions, configuration)
|
|
26645
|
+
|
|
26646
|
+
return {
|
|
26647
|
+
url: toPathString(localVarUrlObj),
|
|
26648
|
+
options: localVarRequestOptions,
|
|
26649
|
+
};
|
|
26650
|
+
},
|
|
26651
|
+
}
|
|
26652
|
+
};
|
|
26653
|
+
|
|
26654
|
+
/**
|
|
26655
|
+
* PublicEmailApi - functional programming interface
|
|
26656
|
+
* @export
|
|
26657
|
+
*/
|
|
26658
|
+
export const PublicEmailApiFp = function(configuration?: Configuration) {
|
|
26659
|
+
const localVarAxiosParamCreator = PublicEmailApiAxiosParamCreator(configuration)
|
|
26660
|
+
return {
|
|
26661
|
+
/**
|
|
26662
|
+
*
|
|
26663
|
+
* @param {EmailExistsRequestBody} emailExistsRequestBody
|
|
26664
|
+
* @param {*} [options] Override http request option.
|
|
26665
|
+
* @throws {RequiredError}
|
|
26666
|
+
*/
|
|
26667
|
+
async authEmailExists(emailExistsRequestBody: EmailExistsRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmailExistsResponse>> {
|
|
26668
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authEmailExists(emailExistsRequestBody, options);
|
|
26669
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
26670
|
+
const localVarOperationServerBasePath = operationServerMap['PublicEmailApi.authEmailExists']?.[localVarOperationServerIndex]?.url;
|
|
26671
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26672
|
+
},
|
|
26673
|
+
/**
|
|
26674
|
+
*
|
|
26675
|
+
* @param {RequestEmailCodeBody} requestEmailCodeBody
|
|
26676
|
+
* @param {*} [options] Override http request option.
|
|
26677
|
+
* @throws {RequiredError}
|
|
26678
|
+
*/
|
|
26679
|
+
async requestVerificationCode(requestEmailCodeBody: RequestEmailCodeBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestEmailCodeResponse>> {
|
|
26680
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.requestVerificationCode(requestEmailCodeBody, options);
|
|
26681
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
26682
|
+
const localVarOperationServerBasePath = operationServerMap['PublicEmailApi.requestVerificationCode']?.[localVarOperationServerIndex]?.url;
|
|
26683
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26684
|
+
},
|
|
26685
|
+
/**
|
|
26686
|
+
*
|
|
26687
|
+
* @param {VerifyEmailCodeBody} verifyEmailCodeBody
|
|
26688
|
+
* @param {*} [options] Override http request option.
|
|
26689
|
+
* @throws {RequiredError}
|
|
26690
|
+
*/
|
|
26691
|
+
async verifyCode(verifyEmailCodeBody: VerifyEmailCodeBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VerifyEmailCodeResponse>> {
|
|
26692
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.verifyCode(verifyEmailCodeBody, options);
|
|
26693
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
26694
|
+
const localVarOperationServerBasePath = operationServerMap['PublicEmailApi.verifyCode']?.[localVarOperationServerIndex]?.url;
|
|
26695
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26696
|
+
},
|
|
26697
|
+
}
|
|
26698
|
+
};
|
|
26699
|
+
|
|
26700
|
+
/**
|
|
26701
|
+
* PublicEmailApi - factory interface
|
|
26702
|
+
* @export
|
|
26703
|
+
*/
|
|
26704
|
+
export const PublicEmailApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
26705
|
+
const localVarFp = PublicEmailApiFp(configuration)
|
|
26706
|
+
return {
|
|
26707
|
+
/**
|
|
26708
|
+
*
|
|
26709
|
+
* @param {PublicEmailApiAuthEmailExistsRequest} requestParameters Request parameters.
|
|
26710
|
+
* @param {*} [options] Override http request option.
|
|
26711
|
+
* @throws {RequiredError}
|
|
26712
|
+
*/
|
|
26713
|
+
authEmailExists(requestParameters: PublicEmailApiAuthEmailExistsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EmailExistsResponse> {
|
|
26714
|
+
return localVarFp.authEmailExists(requestParameters.emailExistsRequestBody, options).then((request) => request(axios, basePath));
|
|
26715
|
+
},
|
|
26716
|
+
/**
|
|
26717
|
+
*
|
|
26718
|
+
* @param {PublicEmailApiRequestVerificationCodeRequest} requestParameters Request parameters.
|
|
26719
|
+
* @param {*} [options] Override http request option.
|
|
26720
|
+
* @throws {RequiredError}
|
|
26721
|
+
*/
|
|
26722
|
+
requestVerificationCode(requestParameters: PublicEmailApiRequestVerificationCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestEmailCodeResponse> {
|
|
26723
|
+
return localVarFp.requestVerificationCode(requestParameters.requestEmailCodeBody, options).then((request) => request(axios, basePath));
|
|
26724
|
+
},
|
|
26725
|
+
/**
|
|
26726
|
+
*
|
|
26727
|
+
* @param {PublicEmailApiVerifyCodeRequest} requestParameters Request parameters.
|
|
26728
|
+
* @param {*} [options] Override http request option.
|
|
26729
|
+
* @throws {RequiredError}
|
|
26730
|
+
*/
|
|
26731
|
+
verifyCode(requestParameters: PublicEmailApiVerifyCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<VerifyEmailCodeResponse> {
|
|
26732
|
+
return localVarFp.verifyCode(requestParameters.verifyEmailCodeBody, options).then((request) => request(axios, basePath));
|
|
26733
|
+
},
|
|
26734
|
+
};
|
|
26735
|
+
};
|
|
26736
|
+
|
|
26737
|
+
/**
|
|
26738
|
+
* Request parameters for authEmailExists operation in PublicEmailApi.
|
|
26739
|
+
* @export
|
|
26740
|
+
* @interface PublicEmailApiAuthEmailExistsRequest
|
|
26741
|
+
*/
|
|
26742
|
+
export interface PublicEmailApiAuthEmailExistsRequest {
|
|
26743
|
+
/**
|
|
26744
|
+
*
|
|
26745
|
+
* @type {EmailExistsRequestBody}
|
|
26746
|
+
* @memberof PublicEmailApiAuthEmailExists
|
|
26747
|
+
*/
|
|
26748
|
+
readonly emailExistsRequestBody: EmailExistsRequestBody
|
|
26749
|
+
}
|
|
26750
|
+
|
|
26751
|
+
/**
|
|
26752
|
+
* Request parameters for requestVerificationCode operation in PublicEmailApi.
|
|
26753
|
+
* @export
|
|
26754
|
+
* @interface PublicEmailApiRequestVerificationCodeRequest
|
|
26755
|
+
*/
|
|
26756
|
+
export interface PublicEmailApiRequestVerificationCodeRequest {
|
|
26757
|
+
/**
|
|
26758
|
+
*
|
|
26759
|
+
* @type {RequestEmailCodeBody}
|
|
26760
|
+
* @memberof PublicEmailApiRequestVerificationCode
|
|
26761
|
+
*/
|
|
26762
|
+
readonly requestEmailCodeBody: RequestEmailCodeBody
|
|
26763
|
+
}
|
|
26764
|
+
|
|
26765
|
+
/**
|
|
26766
|
+
* Request parameters for verifyCode operation in PublicEmailApi.
|
|
26767
|
+
* @export
|
|
26768
|
+
* @interface PublicEmailApiVerifyCodeRequest
|
|
26769
|
+
*/
|
|
26770
|
+
export interface PublicEmailApiVerifyCodeRequest {
|
|
26771
|
+
/**
|
|
26772
|
+
*
|
|
26773
|
+
* @type {VerifyEmailCodeBody}
|
|
26774
|
+
* @memberof PublicEmailApiVerifyCode
|
|
26775
|
+
*/
|
|
26776
|
+
readonly verifyEmailCodeBody: VerifyEmailCodeBody
|
|
26777
|
+
}
|
|
26778
|
+
|
|
26779
|
+
/**
|
|
26780
|
+
* PublicEmailApi - object-oriented interface
|
|
26781
|
+
* @export
|
|
26782
|
+
* @class PublicEmailApi
|
|
26783
|
+
* @extends {BaseAPI}
|
|
26784
|
+
*/
|
|
26785
|
+
export class PublicEmailApi extends BaseAPI {
|
|
26786
|
+
/**
|
|
26787
|
+
*
|
|
26788
|
+
* @param {PublicEmailApiAuthEmailExistsRequest} requestParameters Request parameters.
|
|
26789
|
+
* @param {*} [options] Override http request option.
|
|
26790
|
+
* @throws {RequiredError}
|
|
26791
|
+
* @memberof PublicEmailApi
|
|
26792
|
+
*/
|
|
26793
|
+
public authEmailExists(requestParameters: PublicEmailApiAuthEmailExistsRequest, options?: RawAxiosRequestConfig) {
|
|
26794
|
+
return PublicEmailApiFp(this.configuration).authEmailExists(requestParameters.emailExistsRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
26795
|
+
}
|
|
26796
|
+
|
|
26797
|
+
/**
|
|
26798
|
+
*
|
|
26799
|
+
* @param {PublicEmailApiRequestVerificationCodeRequest} requestParameters Request parameters.
|
|
26800
|
+
* @param {*} [options] Override http request option.
|
|
26801
|
+
* @throws {RequiredError}
|
|
26802
|
+
* @memberof PublicEmailApi
|
|
26803
|
+
*/
|
|
26804
|
+
public requestVerificationCode(requestParameters: PublicEmailApiRequestVerificationCodeRequest, options?: RawAxiosRequestConfig) {
|
|
26805
|
+
return PublicEmailApiFp(this.configuration).requestVerificationCode(requestParameters.requestEmailCodeBody, options).then((request) => request(this.axios, this.basePath));
|
|
26806
|
+
}
|
|
26807
|
+
|
|
26808
|
+
/**
|
|
26809
|
+
*
|
|
26810
|
+
* @param {PublicEmailApiVerifyCodeRequest} requestParameters Request parameters.
|
|
26811
|
+
* @param {*} [options] Override http request option.
|
|
26812
|
+
* @throws {RequiredError}
|
|
26813
|
+
* @memberof PublicEmailApi
|
|
26814
|
+
*/
|
|
26815
|
+
public verifyCode(requestParameters: PublicEmailApiVerifyCodeRequest, options?: RawAxiosRequestConfig) {
|
|
26816
|
+
return PublicEmailApiFp(this.configuration).verifyCode(requestParameters.verifyEmailCodeBody, options).then((request) => request(this.axios, this.basePath));
|
|
26817
|
+
}
|
|
26818
|
+
}
|
|
26819
|
+
|
|
26820
|
+
|
|
26821
|
+
|
|
26444
26822
|
/**
|
|
26445
26823
|
* SportsManagerApi - axios parameter creator
|
|
26446
26824
|
* @export
|