@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/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/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
|