@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/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
@@ -5840,19 +5866,6 @@ export interface GenderPercentageResponse {
5840
5866
  */
5841
5867
  'totalPlayers': number;
5842
5868
  }
5843
- /**
5844
- *
5845
- * @export
5846
- * @interface GetActualities200Response
5847
- */
5848
- export interface GetActualities200Response {
5849
- /**
5850
- *
5851
- * @type {Array<any>}
5852
- * @memberof GetActualities200Response
5853
- */
5854
- 'actualities': Array<any>;
5855
- }
5856
5869
  /**
5857
5870
  *
5858
5871
  * @export
@@ -6200,6 +6213,19 @@ export interface GetOpenEventBookings200Response {
6200
6213
  */
6201
6214
  'eventBookings': Array<EventBookingResponse>;
6202
6215
  }
6216
+ /**
6217
+ *
6218
+ * @export
6219
+ * @interface GetPublishedActualities200Response
6220
+ */
6221
+ export interface GetPublishedActualities200Response {
6222
+ /**
6223
+ *
6224
+ * @type {Array<any>}
6225
+ * @memberof GetPublishedActualities200Response
6226
+ */
6227
+ 'actualities': Array<any>;
6228
+ }
6203
6229
  /**
6204
6230
  *
6205
6231
  * @export
@@ -7744,6 +7770,43 @@ export interface OffPeakRule {
7744
7770
  */
7745
7771
  'dayOfWeek': number;
7746
7772
  }
7773
+ /**
7774
+ *
7775
+ * @export
7776
+ * @interface PaginationInfo
7777
+ */
7778
+ export interface PaginationInfo {
7779
+ /**
7780
+ *
7781
+ * @type {number}
7782
+ * @memberof PaginationInfo
7783
+ */
7784
+ 'page': number;
7785
+ /**
7786
+ *
7787
+ * @type {number}
7788
+ * @memberof PaginationInfo
7789
+ */
7790
+ 'pageSize': number;
7791
+ /**
7792
+ *
7793
+ * @type {number}
7794
+ * @memberof PaginationInfo
7795
+ */
7796
+ 'totalItems': number;
7797
+ /**
7798
+ *
7799
+ * @type {number}
7800
+ * @memberof PaginationInfo
7801
+ */
7802
+ 'totalPages': number;
7803
+ /**
7804
+ *
7805
+ * @type {boolean}
7806
+ * @memberof PaginationInfo
7807
+ */
7808
+ 'hasMore': boolean;
7809
+ }
7747
7810
  /**
7748
7811
  * Make all properties in T optional
7749
7812
  * @export
@@ -9391,6 +9454,38 @@ export const RegisterRequestBodyLocationTypeEnum = {
9391
9454
 
9392
9455
  export type RegisterRequestBodyLocationTypeEnum = typeof RegisterRequestBodyLocationTypeEnum[keyof typeof RegisterRequestBodyLocationTypeEnum];
9393
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
+ }
9394
9489
  /**
9395
9490
  *
9396
9491
  * @export
@@ -9827,6 +9922,37 @@ export interface SportWithLevels {
9827
9922
  */
9828
9923
  'logos'?: Array<string>;
9829
9924
  }
9925
+ /**
9926
+ *
9927
+ * @export
9928
+ * @interface StaffActualitiesPaginatedResponse
9929
+ */
9930
+ export interface StaffActualitiesPaginatedResponse {
9931
+ /**
9932
+ *
9933
+ * @type {Array<any>}
9934
+ * @memberof StaffActualitiesPaginatedResponse
9935
+ */
9936
+ 'upcoming': Array<any>;
9937
+ /**
9938
+ *
9939
+ * @type {Array<any>}
9940
+ * @memberof StaffActualitiesPaginatedResponse
9941
+ */
9942
+ 'past': Array<any>;
9943
+ /**
9944
+ *
9945
+ * @type {PaginationInfo}
9946
+ * @memberof StaffActualitiesPaginatedResponse
9947
+ */
9948
+ 'upcomingPagination': PaginationInfo;
9949
+ /**
9950
+ *
9951
+ * @type {PaginationInfo}
9952
+ * @memberof StaffActualitiesPaginatedResponse
9953
+ */
9954
+ 'pastPagination': PaginationInfo;
9955
+ }
9830
9956
  /**
9831
9957
  *
9832
9958
  * @export
@@ -10219,6 +10345,37 @@ export interface StaffCreateBookingRequest {
10219
10345
  }
10220
10346
 
10221
10347
 
10348
+ /**
10349
+ *
10350
+ * @export
10351
+ * @interface StaffEventsPaginatedResponse
10352
+ */
10353
+ export interface StaffEventsPaginatedResponse {
10354
+ /**
10355
+ *
10356
+ * @type {Array<EventResponse>}
10357
+ * @memberof StaffEventsPaginatedResponse
10358
+ */
10359
+ 'upcoming': Array<EventResponse>;
10360
+ /**
10361
+ *
10362
+ * @type {Array<EventResponse>}
10363
+ * @memberof StaffEventsPaginatedResponse
10364
+ */
10365
+ 'past': Array<EventResponse>;
10366
+ /**
10367
+ *
10368
+ * @type {PaginationInfo}
10369
+ * @memberof StaffEventsPaginatedResponse
10370
+ */
10371
+ 'upcomingPagination': PaginationInfo;
10372
+ /**
10373
+ *
10374
+ * @type {PaginationInfo}
10375
+ * @memberof StaffEventsPaginatedResponse
10376
+ */
10377
+ 'pastPagination': PaginationInfo;
10378
+ }
10222
10379
  /**
10223
10380
  *
10224
10381
  * @export
@@ -12596,6 +12753,44 @@ export interface UserSubscriptionsResponse {
12596
12753
  */
12597
12754
  'subscriptions': Array<ClubSubscriptions>;
12598
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
+ }
12599
12794
  /**
12600
12795
  *
12601
12796
  * @export
@@ -20072,7 +20267,7 @@ export const ClubsApiFp = function(configuration?: Configuration) {
20072
20267
  * @param {*} [options] Override http request option.
20073
20268
  * @throws {RequiredError}
20074
20269
  */
20075
- async getPublishedActualities(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActualities200Response>> {
20270
+ async getPublishedActualities(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPublishedActualities200Response>> {
20076
20271
  const localVarAxiosArgs = await localVarAxiosParamCreator.getPublishedActualities(id, options);
20077
20272
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20078
20273
  const localVarOperationServerBasePath = operationServerMap['ClubsApi.getPublishedActualities']?.[localVarOperationServerIndex]?.url;
@@ -20231,7 +20426,7 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
20231
20426
  * @param {*} [options] Override http request option.
20232
20427
  * @throws {RequiredError}
20233
20428
  */
20234
- getPublishedActualities(requestParameters: ClubsApiGetPublishedActualitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetActualities200Response> {
20429
+ getPublishedActualities(requestParameters: ClubsApiGetPublishedActualitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetPublishedActualities200Response> {
20235
20430
  return localVarFp.getPublishedActualities(requestParameters.id, options).then((request) => request(axios, basePath));
20236
20431
  },
20237
20432
  /**
@@ -22948,7 +23143,7 @@ export const ClubsStaffApiFp = function(configuration?: Configuration) {
22948
23143
  * @param {*} [options] Override http request option.
22949
23144
  * @throws {RequiredError}
22950
23145
  */
22951
- async getActualities(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActualities200Response>> {
23146
+ async getActualities(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffActualitiesPaginatedResponse>> {
22952
23147
  const localVarAxiosArgs = await localVarAxiosParamCreator.getActualities(options);
22953
23148
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22954
23149
  const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.getActualities']?.[localVarOperationServerIndex]?.url;
@@ -23087,7 +23282,7 @@ export const ClubsStaffApiFactory = function (configuration?: Configuration, bas
23087
23282
  * @param {*} [options] Override http request option.
23088
23283
  * @throws {RequiredError}
23089
23284
  */
23090
- getActualities(options?: RawAxiosRequestConfig): AxiosPromise<GetActualities200Response> {
23285
+ getActualities(options?: RawAxiosRequestConfig): AxiosPromise<StaffActualitiesPaginatedResponse> {
23091
23286
  return localVarFp.getActualities(options).then((request) => request(axios, basePath));
23092
23287
  },
23093
23288
  /**
@@ -25861,7 +26056,7 @@ export const EventsStaffApiFp = function(configuration?: Configuration) {
25861
26056
  * @param {*} [options] Override http request option.
25862
26057
  * @throws {RequiredError}
25863
26058
  */
25864
- async getEventsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>> {
26059
+ async getEventsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffEventsPaginatedResponse>> {
25865
26060
  const localVarAxiosArgs = await localVarAxiosParamCreator.getEventsByClub(options);
25866
26061
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
25867
26062
  const localVarOperationServerBasePath = operationServerMap['EventsStaffApi.getEventsByClub']?.[localVarOperationServerIndex]?.url;
@@ -25932,7 +26127,7 @@ export const EventsStaffApiFactory = function (configuration?: Configuration, ba
25932
26127
  * @param {*} [options] Override http request option.
25933
26128
  * @throws {RequiredError}
25934
26129
  */
25935
- getEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse> {
26130
+ getEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<StaffEventsPaginatedResponse> {
25936
26131
  return localVarFp.getEventsByClub(options).then((request) => request(axios, basePath));
25937
26132
  },
25938
26133
  /**
@@ -26342,6 +26537,288 @@ export class ImagesApi extends BaseAPI {
26342
26537
 
26343
26538
 
26344
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
+
26345
26822
  /**
26346
26823
  * SportsManagerApi - axios parameter creator
26347
26824
  * @export