@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/dist/esm/api.d.ts
CHANGED
|
@@ -4785,6 +4785,32 @@ export interface DuplicateClubDayScheduleRequest {
|
|
|
4785
4785
|
*/
|
|
4786
4786
|
'toDay': WeekdayKey;
|
|
4787
4787
|
}
|
|
4788
|
+
/**
|
|
4789
|
+
*
|
|
4790
|
+
* @export
|
|
4791
|
+
* @interface EmailExistsRequestBody
|
|
4792
|
+
*/
|
|
4793
|
+
export interface EmailExistsRequestBody {
|
|
4794
|
+
/**
|
|
4795
|
+
*
|
|
4796
|
+
* @type {string}
|
|
4797
|
+
* @memberof EmailExistsRequestBody
|
|
4798
|
+
*/
|
|
4799
|
+
'email': string;
|
|
4800
|
+
}
|
|
4801
|
+
/**
|
|
4802
|
+
*
|
|
4803
|
+
* @export
|
|
4804
|
+
* @interface EmailExistsResponse
|
|
4805
|
+
*/
|
|
4806
|
+
export interface EmailExistsResponse {
|
|
4807
|
+
/**
|
|
4808
|
+
*
|
|
4809
|
+
* @type {boolean}
|
|
4810
|
+
* @memberof EmailExistsResponse
|
|
4811
|
+
*/
|
|
4812
|
+
'exists': boolean;
|
|
4813
|
+
}
|
|
4788
4814
|
/**
|
|
4789
4815
|
*
|
|
4790
4816
|
* @export
|
|
@@ -9262,6 +9288,38 @@ export declare const RegisterRequestBodyLocationTypeEnum: {
|
|
|
9262
9288
|
readonly Point: "Point";
|
|
9263
9289
|
};
|
|
9264
9290
|
export type RegisterRequestBodyLocationTypeEnum = typeof RegisterRequestBodyLocationTypeEnum[keyof typeof RegisterRequestBodyLocationTypeEnum];
|
|
9291
|
+
/**
|
|
9292
|
+
*
|
|
9293
|
+
* @export
|
|
9294
|
+
* @interface RequestEmailCodeBody
|
|
9295
|
+
*/
|
|
9296
|
+
export interface RequestEmailCodeBody {
|
|
9297
|
+
/**
|
|
9298
|
+
*
|
|
9299
|
+
* @type {string}
|
|
9300
|
+
* @memberof RequestEmailCodeBody
|
|
9301
|
+
*/
|
|
9302
|
+
'email': string;
|
|
9303
|
+
}
|
|
9304
|
+
/**
|
|
9305
|
+
*
|
|
9306
|
+
* @export
|
|
9307
|
+
* @interface RequestEmailCodeResponse
|
|
9308
|
+
*/
|
|
9309
|
+
export interface RequestEmailCodeResponse {
|
|
9310
|
+
/**
|
|
9311
|
+
*
|
|
9312
|
+
* @type {boolean}
|
|
9313
|
+
* @memberof RequestEmailCodeResponse
|
|
9314
|
+
*/
|
|
9315
|
+
'sent': boolean;
|
|
9316
|
+
/**
|
|
9317
|
+
*
|
|
9318
|
+
* @type {boolean}
|
|
9319
|
+
* @memberof RequestEmailCodeResponse
|
|
9320
|
+
*/
|
|
9321
|
+
'alreadyVerified'?: boolean;
|
|
9322
|
+
}
|
|
9265
9323
|
/**
|
|
9266
9324
|
*
|
|
9267
9325
|
* @export
|
|
@@ -12478,6 +12536,44 @@ export interface UserSubscriptionsResponse {
|
|
|
12478
12536
|
*/
|
|
12479
12537
|
'subscriptions': Array<ClubSubscriptions>;
|
|
12480
12538
|
}
|
|
12539
|
+
/**
|
|
12540
|
+
*
|
|
12541
|
+
* @export
|
|
12542
|
+
* @interface VerifyEmailCodeBody
|
|
12543
|
+
*/
|
|
12544
|
+
export interface VerifyEmailCodeBody {
|
|
12545
|
+
/**
|
|
12546
|
+
*
|
|
12547
|
+
* @type {string}
|
|
12548
|
+
* @memberof VerifyEmailCodeBody
|
|
12549
|
+
*/
|
|
12550
|
+
'email': string;
|
|
12551
|
+
/**
|
|
12552
|
+
*
|
|
12553
|
+
* @type {string}
|
|
12554
|
+
* @memberof VerifyEmailCodeBody
|
|
12555
|
+
*/
|
|
12556
|
+
'code': string;
|
|
12557
|
+
}
|
|
12558
|
+
/**
|
|
12559
|
+
*
|
|
12560
|
+
* @export
|
|
12561
|
+
* @interface VerifyEmailCodeResponse
|
|
12562
|
+
*/
|
|
12563
|
+
export interface VerifyEmailCodeResponse {
|
|
12564
|
+
/**
|
|
12565
|
+
*
|
|
12566
|
+
* @type {boolean}
|
|
12567
|
+
* @memberof VerifyEmailCodeResponse
|
|
12568
|
+
*/
|
|
12569
|
+
'verified': boolean;
|
|
12570
|
+
/**
|
|
12571
|
+
*
|
|
12572
|
+
* @type {boolean}
|
|
12573
|
+
* @memberof VerifyEmailCodeResponse
|
|
12574
|
+
*/
|
|
12575
|
+
'alreadyVerified'?: boolean;
|
|
12576
|
+
}
|
|
12481
12577
|
/**
|
|
12482
12578
|
*
|
|
12483
12579
|
* @export
|
|
@@ -19563,6 +19659,158 @@ export declare class ImagesApi extends BaseAPI {
|
|
|
19563
19659
|
*/
|
|
19564
19660
|
cleanupImages(requestParameters: ImagesApiCleanupImagesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ImageCleanupResponse, any, {}>>;
|
|
19565
19661
|
}
|
|
19662
|
+
/**
|
|
19663
|
+
* PublicEmailApi - axios parameter creator
|
|
19664
|
+
* @export
|
|
19665
|
+
*/
|
|
19666
|
+
export declare const PublicEmailApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
19667
|
+
/**
|
|
19668
|
+
*
|
|
19669
|
+
* @param {EmailExistsRequestBody} emailExistsRequestBody
|
|
19670
|
+
* @param {*} [options] Override http request option.
|
|
19671
|
+
* @throws {RequiredError}
|
|
19672
|
+
*/
|
|
19673
|
+
authEmailExists: (emailExistsRequestBody: EmailExistsRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19674
|
+
/**
|
|
19675
|
+
*
|
|
19676
|
+
* @param {RequestEmailCodeBody} requestEmailCodeBody
|
|
19677
|
+
* @param {*} [options] Override http request option.
|
|
19678
|
+
* @throws {RequiredError}
|
|
19679
|
+
*/
|
|
19680
|
+
requestVerificationCode: (requestEmailCodeBody: RequestEmailCodeBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19681
|
+
/**
|
|
19682
|
+
*
|
|
19683
|
+
* @param {VerifyEmailCodeBody} verifyEmailCodeBody
|
|
19684
|
+
* @param {*} [options] Override http request option.
|
|
19685
|
+
* @throws {RequiredError}
|
|
19686
|
+
*/
|
|
19687
|
+
verifyCode: (verifyEmailCodeBody: VerifyEmailCodeBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19688
|
+
};
|
|
19689
|
+
/**
|
|
19690
|
+
* PublicEmailApi - functional programming interface
|
|
19691
|
+
* @export
|
|
19692
|
+
*/
|
|
19693
|
+
export declare const PublicEmailApiFp: (configuration?: Configuration) => {
|
|
19694
|
+
/**
|
|
19695
|
+
*
|
|
19696
|
+
* @param {EmailExistsRequestBody} emailExistsRequestBody
|
|
19697
|
+
* @param {*} [options] Override http request option.
|
|
19698
|
+
* @throws {RequiredError}
|
|
19699
|
+
*/
|
|
19700
|
+
authEmailExists(emailExistsRequestBody: EmailExistsRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmailExistsResponse>>;
|
|
19701
|
+
/**
|
|
19702
|
+
*
|
|
19703
|
+
* @param {RequestEmailCodeBody} requestEmailCodeBody
|
|
19704
|
+
* @param {*} [options] Override http request option.
|
|
19705
|
+
* @throws {RequiredError}
|
|
19706
|
+
*/
|
|
19707
|
+
requestVerificationCode(requestEmailCodeBody: RequestEmailCodeBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestEmailCodeResponse>>;
|
|
19708
|
+
/**
|
|
19709
|
+
*
|
|
19710
|
+
* @param {VerifyEmailCodeBody} verifyEmailCodeBody
|
|
19711
|
+
* @param {*} [options] Override http request option.
|
|
19712
|
+
* @throws {RequiredError}
|
|
19713
|
+
*/
|
|
19714
|
+
verifyCode(verifyEmailCodeBody: VerifyEmailCodeBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VerifyEmailCodeResponse>>;
|
|
19715
|
+
};
|
|
19716
|
+
/**
|
|
19717
|
+
* PublicEmailApi - factory interface
|
|
19718
|
+
* @export
|
|
19719
|
+
*/
|
|
19720
|
+
export declare const PublicEmailApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
19721
|
+
/**
|
|
19722
|
+
*
|
|
19723
|
+
* @param {PublicEmailApiAuthEmailExistsRequest} requestParameters Request parameters.
|
|
19724
|
+
* @param {*} [options] Override http request option.
|
|
19725
|
+
* @throws {RequiredError}
|
|
19726
|
+
*/
|
|
19727
|
+
authEmailExists(requestParameters: PublicEmailApiAuthEmailExistsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EmailExistsResponse>;
|
|
19728
|
+
/**
|
|
19729
|
+
*
|
|
19730
|
+
* @param {PublicEmailApiRequestVerificationCodeRequest} requestParameters Request parameters.
|
|
19731
|
+
* @param {*} [options] Override http request option.
|
|
19732
|
+
* @throws {RequiredError}
|
|
19733
|
+
*/
|
|
19734
|
+
requestVerificationCode(requestParameters: PublicEmailApiRequestVerificationCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestEmailCodeResponse>;
|
|
19735
|
+
/**
|
|
19736
|
+
*
|
|
19737
|
+
* @param {PublicEmailApiVerifyCodeRequest} requestParameters Request parameters.
|
|
19738
|
+
* @param {*} [options] Override http request option.
|
|
19739
|
+
* @throws {RequiredError}
|
|
19740
|
+
*/
|
|
19741
|
+
verifyCode(requestParameters: PublicEmailApiVerifyCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<VerifyEmailCodeResponse>;
|
|
19742
|
+
};
|
|
19743
|
+
/**
|
|
19744
|
+
* Request parameters for authEmailExists operation in PublicEmailApi.
|
|
19745
|
+
* @export
|
|
19746
|
+
* @interface PublicEmailApiAuthEmailExistsRequest
|
|
19747
|
+
*/
|
|
19748
|
+
export interface PublicEmailApiAuthEmailExistsRequest {
|
|
19749
|
+
/**
|
|
19750
|
+
*
|
|
19751
|
+
* @type {EmailExistsRequestBody}
|
|
19752
|
+
* @memberof PublicEmailApiAuthEmailExists
|
|
19753
|
+
*/
|
|
19754
|
+
readonly emailExistsRequestBody: EmailExistsRequestBody;
|
|
19755
|
+
}
|
|
19756
|
+
/**
|
|
19757
|
+
* Request parameters for requestVerificationCode operation in PublicEmailApi.
|
|
19758
|
+
* @export
|
|
19759
|
+
* @interface PublicEmailApiRequestVerificationCodeRequest
|
|
19760
|
+
*/
|
|
19761
|
+
export interface PublicEmailApiRequestVerificationCodeRequest {
|
|
19762
|
+
/**
|
|
19763
|
+
*
|
|
19764
|
+
* @type {RequestEmailCodeBody}
|
|
19765
|
+
* @memberof PublicEmailApiRequestVerificationCode
|
|
19766
|
+
*/
|
|
19767
|
+
readonly requestEmailCodeBody: RequestEmailCodeBody;
|
|
19768
|
+
}
|
|
19769
|
+
/**
|
|
19770
|
+
* Request parameters for verifyCode operation in PublicEmailApi.
|
|
19771
|
+
* @export
|
|
19772
|
+
* @interface PublicEmailApiVerifyCodeRequest
|
|
19773
|
+
*/
|
|
19774
|
+
export interface PublicEmailApiVerifyCodeRequest {
|
|
19775
|
+
/**
|
|
19776
|
+
*
|
|
19777
|
+
* @type {VerifyEmailCodeBody}
|
|
19778
|
+
* @memberof PublicEmailApiVerifyCode
|
|
19779
|
+
*/
|
|
19780
|
+
readonly verifyEmailCodeBody: VerifyEmailCodeBody;
|
|
19781
|
+
}
|
|
19782
|
+
/**
|
|
19783
|
+
* PublicEmailApi - object-oriented interface
|
|
19784
|
+
* @export
|
|
19785
|
+
* @class PublicEmailApi
|
|
19786
|
+
* @extends {BaseAPI}
|
|
19787
|
+
*/
|
|
19788
|
+
export declare class PublicEmailApi extends BaseAPI {
|
|
19789
|
+
/**
|
|
19790
|
+
*
|
|
19791
|
+
* @param {PublicEmailApiAuthEmailExistsRequest} requestParameters Request parameters.
|
|
19792
|
+
* @param {*} [options] Override http request option.
|
|
19793
|
+
* @throws {RequiredError}
|
|
19794
|
+
* @memberof PublicEmailApi
|
|
19795
|
+
*/
|
|
19796
|
+
authEmailExists(requestParameters: PublicEmailApiAuthEmailExistsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EmailExistsResponse, any, {}>>;
|
|
19797
|
+
/**
|
|
19798
|
+
*
|
|
19799
|
+
* @param {PublicEmailApiRequestVerificationCodeRequest} requestParameters Request parameters.
|
|
19800
|
+
* @param {*} [options] Override http request option.
|
|
19801
|
+
* @throws {RequiredError}
|
|
19802
|
+
* @memberof PublicEmailApi
|
|
19803
|
+
*/
|
|
19804
|
+
requestVerificationCode(requestParameters: PublicEmailApiRequestVerificationCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestEmailCodeResponse, any, {}>>;
|
|
19805
|
+
/**
|
|
19806
|
+
*
|
|
19807
|
+
* @param {PublicEmailApiVerifyCodeRequest} requestParameters Request parameters.
|
|
19808
|
+
* @param {*} [options] Override http request option.
|
|
19809
|
+
* @throws {RequiredError}
|
|
19810
|
+
* @memberof PublicEmailApi
|
|
19811
|
+
*/
|
|
19812
|
+
verifyCode(requestParameters: PublicEmailApiVerifyCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifyEmailCodeResponse, any, {}>>;
|
|
19813
|
+
}
|
|
19566
19814
|
/**
|
|
19567
19815
|
* SportsManagerApi - axios parameter creator
|
|
19568
19816
|
* @export
|
package/dist/esm/api.js
CHANGED
|
@@ -11043,6 +11043,229 @@ export class ImagesApi extends BaseAPI {
|
|
|
11043
11043
|
return ImagesApiFp(this.configuration).cleanupImages(requestParameters.imageCleanupRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
11044
11044
|
}
|
|
11045
11045
|
}
|
|
11046
|
+
/**
|
|
11047
|
+
* PublicEmailApi - axios parameter creator
|
|
11048
|
+
* @export
|
|
11049
|
+
*/
|
|
11050
|
+
export const PublicEmailApiAxiosParamCreator = function (configuration) {
|
|
11051
|
+
return {
|
|
11052
|
+
/**
|
|
11053
|
+
*
|
|
11054
|
+
* @param {EmailExistsRequestBody} emailExistsRequestBody
|
|
11055
|
+
* @param {*} [options] Override http request option.
|
|
11056
|
+
* @throws {RequiredError}
|
|
11057
|
+
*/
|
|
11058
|
+
authEmailExists: (emailExistsRequestBody_1, ...args_1) => __awaiter(this, [emailExistsRequestBody_1, ...args_1], void 0, function* (emailExistsRequestBody, options = {}) {
|
|
11059
|
+
// verify required parameter 'emailExistsRequestBody' is not null or undefined
|
|
11060
|
+
assertParamExists('authEmailExists', 'emailExistsRequestBody', emailExistsRequestBody);
|
|
11061
|
+
const localVarPath = `/api/public-email/auth-email-exists`;
|
|
11062
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11063
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11064
|
+
let baseOptions;
|
|
11065
|
+
if (configuration) {
|
|
11066
|
+
baseOptions = configuration.baseOptions;
|
|
11067
|
+
}
|
|
11068
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
11069
|
+
const localVarHeaderParameter = {};
|
|
11070
|
+
const localVarQueryParameter = {};
|
|
11071
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11072
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11073
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11074
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11075
|
+
localVarRequestOptions.data = serializeDataIfNeeded(emailExistsRequestBody, localVarRequestOptions, configuration);
|
|
11076
|
+
return {
|
|
11077
|
+
url: toPathString(localVarUrlObj),
|
|
11078
|
+
options: localVarRequestOptions,
|
|
11079
|
+
};
|
|
11080
|
+
}),
|
|
11081
|
+
/**
|
|
11082
|
+
*
|
|
11083
|
+
* @param {RequestEmailCodeBody} requestEmailCodeBody
|
|
11084
|
+
* @param {*} [options] Override http request option.
|
|
11085
|
+
* @throws {RequiredError}
|
|
11086
|
+
*/
|
|
11087
|
+
requestVerificationCode: (requestEmailCodeBody_1, ...args_1) => __awaiter(this, [requestEmailCodeBody_1, ...args_1], void 0, function* (requestEmailCodeBody, options = {}) {
|
|
11088
|
+
// verify required parameter 'requestEmailCodeBody' is not null or undefined
|
|
11089
|
+
assertParamExists('requestVerificationCode', 'requestEmailCodeBody', requestEmailCodeBody);
|
|
11090
|
+
const localVarPath = `/api/public-email/request-verification-code`;
|
|
11091
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11092
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11093
|
+
let baseOptions;
|
|
11094
|
+
if (configuration) {
|
|
11095
|
+
baseOptions = configuration.baseOptions;
|
|
11096
|
+
}
|
|
11097
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
11098
|
+
const localVarHeaderParameter = {};
|
|
11099
|
+
const localVarQueryParameter = {};
|
|
11100
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11101
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11102
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11103
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11104
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestEmailCodeBody, localVarRequestOptions, configuration);
|
|
11105
|
+
return {
|
|
11106
|
+
url: toPathString(localVarUrlObj),
|
|
11107
|
+
options: localVarRequestOptions,
|
|
11108
|
+
};
|
|
11109
|
+
}),
|
|
11110
|
+
/**
|
|
11111
|
+
*
|
|
11112
|
+
* @param {VerifyEmailCodeBody} verifyEmailCodeBody
|
|
11113
|
+
* @param {*} [options] Override http request option.
|
|
11114
|
+
* @throws {RequiredError}
|
|
11115
|
+
*/
|
|
11116
|
+
verifyCode: (verifyEmailCodeBody_1, ...args_1) => __awaiter(this, [verifyEmailCodeBody_1, ...args_1], void 0, function* (verifyEmailCodeBody, options = {}) {
|
|
11117
|
+
// verify required parameter 'verifyEmailCodeBody' is not null or undefined
|
|
11118
|
+
assertParamExists('verifyCode', 'verifyEmailCodeBody', verifyEmailCodeBody);
|
|
11119
|
+
const localVarPath = `/api/public-email/verify-code`;
|
|
11120
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11121
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11122
|
+
let baseOptions;
|
|
11123
|
+
if (configuration) {
|
|
11124
|
+
baseOptions = configuration.baseOptions;
|
|
11125
|
+
}
|
|
11126
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
11127
|
+
const localVarHeaderParameter = {};
|
|
11128
|
+
const localVarQueryParameter = {};
|
|
11129
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11130
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11131
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11132
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11133
|
+
localVarRequestOptions.data = serializeDataIfNeeded(verifyEmailCodeBody, localVarRequestOptions, configuration);
|
|
11134
|
+
return {
|
|
11135
|
+
url: toPathString(localVarUrlObj),
|
|
11136
|
+
options: localVarRequestOptions,
|
|
11137
|
+
};
|
|
11138
|
+
}),
|
|
11139
|
+
};
|
|
11140
|
+
};
|
|
11141
|
+
/**
|
|
11142
|
+
* PublicEmailApi - functional programming interface
|
|
11143
|
+
* @export
|
|
11144
|
+
*/
|
|
11145
|
+
export const PublicEmailApiFp = function (configuration) {
|
|
11146
|
+
const localVarAxiosParamCreator = PublicEmailApiAxiosParamCreator(configuration);
|
|
11147
|
+
return {
|
|
11148
|
+
/**
|
|
11149
|
+
*
|
|
11150
|
+
* @param {EmailExistsRequestBody} emailExistsRequestBody
|
|
11151
|
+
* @param {*} [options] Override http request option.
|
|
11152
|
+
* @throws {RequiredError}
|
|
11153
|
+
*/
|
|
11154
|
+
authEmailExists(emailExistsRequestBody, options) {
|
|
11155
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11156
|
+
var _a, _b, _c;
|
|
11157
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.authEmailExists(emailExistsRequestBody, options);
|
|
11158
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11159
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PublicEmailApi.authEmailExists']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11160
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11161
|
+
});
|
|
11162
|
+
},
|
|
11163
|
+
/**
|
|
11164
|
+
*
|
|
11165
|
+
* @param {RequestEmailCodeBody} requestEmailCodeBody
|
|
11166
|
+
* @param {*} [options] Override http request option.
|
|
11167
|
+
* @throws {RequiredError}
|
|
11168
|
+
*/
|
|
11169
|
+
requestVerificationCode(requestEmailCodeBody, options) {
|
|
11170
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11171
|
+
var _a, _b, _c;
|
|
11172
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.requestVerificationCode(requestEmailCodeBody, options);
|
|
11173
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11174
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PublicEmailApi.requestVerificationCode']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11175
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11176
|
+
});
|
|
11177
|
+
},
|
|
11178
|
+
/**
|
|
11179
|
+
*
|
|
11180
|
+
* @param {VerifyEmailCodeBody} verifyEmailCodeBody
|
|
11181
|
+
* @param {*} [options] Override http request option.
|
|
11182
|
+
* @throws {RequiredError}
|
|
11183
|
+
*/
|
|
11184
|
+
verifyCode(verifyEmailCodeBody, options) {
|
|
11185
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11186
|
+
var _a, _b, _c;
|
|
11187
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.verifyCode(verifyEmailCodeBody, options);
|
|
11188
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11189
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PublicEmailApi.verifyCode']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11190
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11191
|
+
});
|
|
11192
|
+
},
|
|
11193
|
+
};
|
|
11194
|
+
};
|
|
11195
|
+
/**
|
|
11196
|
+
* PublicEmailApi - factory interface
|
|
11197
|
+
* @export
|
|
11198
|
+
*/
|
|
11199
|
+
export const PublicEmailApiFactory = function (configuration, basePath, axios) {
|
|
11200
|
+
const localVarFp = PublicEmailApiFp(configuration);
|
|
11201
|
+
return {
|
|
11202
|
+
/**
|
|
11203
|
+
*
|
|
11204
|
+
* @param {PublicEmailApiAuthEmailExistsRequest} requestParameters Request parameters.
|
|
11205
|
+
* @param {*} [options] Override http request option.
|
|
11206
|
+
* @throws {RequiredError}
|
|
11207
|
+
*/
|
|
11208
|
+
authEmailExists(requestParameters, options) {
|
|
11209
|
+
return localVarFp.authEmailExists(requestParameters.emailExistsRequestBody, options).then((request) => request(axios, basePath));
|
|
11210
|
+
},
|
|
11211
|
+
/**
|
|
11212
|
+
*
|
|
11213
|
+
* @param {PublicEmailApiRequestVerificationCodeRequest} requestParameters Request parameters.
|
|
11214
|
+
* @param {*} [options] Override http request option.
|
|
11215
|
+
* @throws {RequiredError}
|
|
11216
|
+
*/
|
|
11217
|
+
requestVerificationCode(requestParameters, options) {
|
|
11218
|
+
return localVarFp.requestVerificationCode(requestParameters.requestEmailCodeBody, options).then((request) => request(axios, basePath));
|
|
11219
|
+
},
|
|
11220
|
+
/**
|
|
11221
|
+
*
|
|
11222
|
+
* @param {PublicEmailApiVerifyCodeRequest} requestParameters Request parameters.
|
|
11223
|
+
* @param {*} [options] Override http request option.
|
|
11224
|
+
* @throws {RequiredError}
|
|
11225
|
+
*/
|
|
11226
|
+
verifyCode(requestParameters, options) {
|
|
11227
|
+
return localVarFp.verifyCode(requestParameters.verifyEmailCodeBody, options).then((request) => request(axios, basePath));
|
|
11228
|
+
},
|
|
11229
|
+
};
|
|
11230
|
+
};
|
|
11231
|
+
/**
|
|
11232
|
+
* PublicEmailApi - object-oriented interface
|
|
11233
|
+
* @export
|
|
11234
|
+
* @class PublicEmailApi
|
|
11235
|
+
* @extends {BaseAPI}
|
|
11236
|
+
*/
|
|
11237
|
+
export class PublicEmailApi extends BaseAPI {
|
|
11238
|
+
/**
|
|
11239
|
+
*
|
|
11240
|
+
* @param {PublicEmailApiAuthEmailExistsRequest} requestParameters Request parameters.
|
|
11241
|
+
* @param {*} [options] Override http request option.
|
|
11242
|
+
* @throws {RequiredError}
|
|
11243
|
+
* @memberof PublicEmailApi
|
|
11244
|
+
*/
|
|
11245
|
+
authEmailExists(requestParameters, options) {
|
|
11246
|
+
return PublicEmailApiFp(this.configuration).authEmailExists(requestParameters.emailExistsRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
11247
|
+
}
|
|
11248
|
+
/**
|
|
11249
|
+
*
|
|
11250
|
+
* @param {PublicEmailApiRequestVerificationCodeRequest} requestParameters Request parameters.
|
|
11251
|
+
* @param {*} [options] Override http request option.
|
|
11252
|
+
* @throws {RequiredError}
|
|
11253
|
+
* @memberof PublicEmailApi
|
|
11254
|
+
*/
|
|
11255
|
+
requestVerificationCode(requestParameters, options) {
|
|
11256
|
+
return PublicEmailApiFp(this.configuration).requestVerificationCode(requestParameters.requestEmailCodeBody, options).then((request) => request(this.axios, this.basePath));
|
|
11257
|
+
}
|
|
11258
|
+
/**
|
|
11259
|
+
*
|
|
11260
|
+
* @param {PublicEmailApiVerifyCodeRequest} requestParameters Request parameters.
|
|
11261
|
+
* @param {*} [options] Override http request option.
|
|
11262
|
+
* @throws {RequiredError}
|
|
11263
|
+
* @memberof PublicEmailApi
|
|
11264
|
+
*/
|
|
11265
|
+
verifyCode(requestParameters, options) {
|
|
11266
|
+
return PublicEmailApiFp(this.configuration).verifyCode(requestParameters.verifyEmailCodeBody, options).then((request) => request(this.axios, this.basePath));
|
|
11267
|
+
}
|
|
11268
|
+
}
|
|
11046
11269
|
/**
|
|
11047
11270
|
* SportsManagerApi - axios parameter creator
|
|
11048
11271
|
* @export
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# EmailExistsRequestBody
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**email** | **string** | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { EmailExistsRequestBody } from '@tennac-booking/sdk';
|
|
14
|
+
|
|
15
|
+
const instance: EmailExistsRequestBody = {
|
|
16
|
+
email,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# EmailExistsResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**exists** | **boolean** | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { EmailExistsResponse } from '@tennac-booking/sdk';
|
|
14
|
+
|
|
15
|
+
const instance: EmailExistsResponse = {
|
|
16
|
+
exists,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|