@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/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
@@ -5733,19 +5759,6 @@ export interface GenderPercentageResponse {
5733
5759
  */
5734
5760
  'totalPlayers': number;
5735
5761
  }
5736
- /**
5737
- *
5738
- * @export
5739
- * @interface GetActualities200Response
5740
- */
5741
- export interface GetActualities200Response {
5742
- /**
5743
- *
5744
- * @type {Array<any>}
5745
- * @memberof GetActualities200Response
5746
- */
5747
- 'actualities': Array<any>;
5748
- }
5749
5762
  /**
5750
5763
  *
5751
5764
  * @export
@@ -6091,6 +6104,19 @@ export interface GetOpenEventBookings200Response {
6091
6104
  */
6092
6105
  'eventBookings': Array<EventBookingResponse>;
6093
6106
  }
6107
+ /**
6108
+ *
6109
+ * @export
6110
+ * @interface GetPublishedActualities200Response
6111
+ */
6112
+ export interface GetPublishedActualities200Response {
6113
+ /**
6114
+ *
6115
+ * @type {Array<any>}
6116
+ * @memberof GetPublishedActualities200Response
6117
+ */
6118
+ 'actualities': Array<any>;
6119
+ }
6094
6120
  /**
6095
6121
  *
6096
6122
  * @export
@@ -7614,6 +7640,43 @@ export interface OffPeakRule {
7614
7640
  */
7615
7641
  'dayOfWeek': number;
7616
7642
  }
7643
+ /**
7644
+ *
7645
+ * @export
7646
+ * @interface PaginationInfo
7647
+ */
7648
+ export interface PaginationInfo {
7649
+ /**
7650
+ *
7651
+ * @type {number}
7652
+ * @memberof PaginationInfo
7653
+ */
7654
+ 'page': number;
7655
+ /**
7656
+ *
7657
+ * @type {number}
7658
+ * @memberof PaginationInfo
7659
+ */
7660
+ 'pageSize': number;
7661
+ /**
7662
+ *
7663
+ * @type {number}
7664
+ * @memberof PaginationInfo
7665
+ */
7666
+ 'totalItems': number;
7667
+ /**
7668
+ *
7669
+ * @type {number}
7670
+ * @memberof PaginationInfo
7671
+ */
7672
+ 'totalPages': number;
7673
+ /**
7674
+ *
7675
+ * @type {boolean}
7676
+ * @memberof PaginationInfo
7677
+ */
7678
+ 'hasMore': boolean;
7679
+ }
7617
7680
  /**
7618
7681
  * Make all properties in T optional
7619
7682
  * @export
@@ -9225,6 +9288,38 @@ export declare const RegisterRequestBodyLocationTypeEnum: {
9225
9288
  readonly Point: "Point";
9226
9289
  };
9227
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
+ }
9228
9323
  /**
9229
9324
  *
9230
9325
  * @export
@@ -9653,6 +9748,37 @@ export interface SportWithLevels {
9653
9748
  */
9654
9749
  'logos'?: Array<string>;
9655
9750
  }
9751
+ /**
9752
+ *
9753
+ * @export
9754
+ * @interface StaffActualitiesPaginatedResponse
9755
+ */
9756
+ export interface StaffActualitiesPaginatedResponse {
9757
+ /**
9758
+ *
9759
+ * @type {Array<any>}
9760
+ * @memberof StaffActualitiesPaginatedResponse
9761
+ */
9762
+ 'upcoming': Array<any>;
9763
+ /**
9764
+ *
9765
+ * @type {Array<any>}
9766
+ * @memberof StaffActualitiesPaginatedResponse
9767
+ */
9768
+ 'past': Array<any>;
9769
+ /**
9770
+ *
9771
+ * @type {PaginationInfo}
9772
+ * @memberof StaffActualitiesPaginatedResponse
9773
+ */
9774
+ 'upcomingPagination': PaginationInfo;
9775
+ /**
9776
+ *
9777
+ * @type {PaginationInfo}
9778
+ * @memberof StaffActualitiesPaginatedResponse
9779
+ */
9780
+ 'pastPagination': PaginationInfo;
9781
+ }
9656
9782
  /**
9657
9783
  *
9658
9784
  * @export
@@ -10035,6 +10161,37 @@ export interface StaffCreateBookingRequest {
10035
10161
  */
10036
10162
  'paymentMethod'?: PaymentMethod;
10037
10163
  }
10164
+ /**
10165
+ *
10166
+ * @export
10167
+ * @interface StaffEventsPaginatedResponse
10168
+ */
10169
+ export interface StaffEventsPaginatedResponse {
10170
+ /**
10171
+ *
10172
+ * @type {Array<EventResponse>}
10173
+ * @memberof StaffEventsPaginatedResponse
10174
+ */
10175
+ 'upcoming': Array<EventResponse>;
10176
+ /**
10177
+ *
10178
+ * @type {Array<EventResponse>}
10179
+ * @memberof StaffEventsPaginatedResponse
10180
+ */
10181
+ 'past': Array<EventResponse>;
10182
+ /**
10183
+ *
10184
+ * @type {PaginationInfo}
10185
+ * @memberof StaffEventsPaginatedResponse
10186
+ */
10187
+ 'upcomingPagination': PaginationInfo;
10188
+ /**
10189
+ *
10190
+ * @type {PaginationInfo}
10191
+ * @memberof StaffEventsPaginatedResponse
10192
+ */
10193
+ 'pastPagination': PaginationInfo;
10194
+ }
10038
10195
  /**
10039
10196
  *
10040
10197
  * @export
@@ -12379,6 +12536,44 @@ export interface UserSubscriptionsResponse {
12379
12536
  */
12380
12537
  'subscriptions': Array<ClubSubscriptions>;
12381
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
+ }
12382
12577
  /**
12383
12578
  *
12384
12579
  * @export
@@ -16055,7 +16250,7 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
16055
16250
  * @param {*} [options] Override http request option.
16056
16251
  * @throws {RequiredError}
16057
16252
  */
16058
- getPublishedActualities(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActualities200Response>>;
16253
+ getPublishedActualities(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPublishedActualities200Response>>;
16059
16254
  /**
16060
16255
  *
16061
16256
  * @param {string} id
@@ -16169,7 +16364,7 @@ export declare const ClubsApiFactory: (configuration?: Configuration, basePath?:
16169
16364
  * @param {*} [options] Override http request option.
16170
16365
  * @throws {RequiredError}
16171
16366
  */
16172
- getPublishedActualities(requestParameters: ClubsApiGetPublishedActualitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetActualities200Response>;
16367
+ getPublishedActualities(requestParameters: ClubsApiGetPublishedActualitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetPublishedActualities200Response>;
16173
16368
  /**
16174
16369
  *
16175
16370
  * @param {ClubsApiGetSlotsByClubByIdRequest} requestParameters Request parameters.
@@ -16491,7 +16686,7 @@ export declare class ClubsApi extends BaseAPI {
16491
16686
  * @throws {RequiredError}
16492
16687
  * @memberof ClubsApi
16493
16688
  */
16494
- getPublishedActualities(requestParameters: ClubsApiGetPublishedActualitiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetActualities200Response, any, {}>>;
16689
+ getPublishedActualities(requestParameters: ClubsApiGetPublishedActualitiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPublishedActualities200Response, any, {}>>;
16495
16690
  /**
16496
16691
  *
16497
16692
  * @param {ClubsApiGetSlotsByClubByIdRequest} requestParameters Request parameters.
@@ -17542,7 +17737,7 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
17542
17737
  * @param {*} [options] Override http request option.
17543
17738
  * @throws {RequiredError}
17544
17739
  */
17545
- getActualities(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActualities200Response>>;
17740
+ getActualities(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffActualitiesPaginatedResponse>>;
17546
17741
  /**
17547
17742
  *
17548
17743
  * @param {*} [options] Override http request option.
@@ -17625,7 +17820,7 @@ export declare const ClubsStaffApiFactory: (configuration?: Configuration, baseP
17625
17820
  * @param {*} [options] Override http request option.
17626
17821
  * @throws {RequiredError}
17627
17822
  */
17628
- getActualities(options?: RawAxiosRequestConfig): AxiosPromise<GetActualities200Response>;
17823
+ getActualities(options?: RawAxiosRequestConfig): AxiosPromise<StaffActualitiesPaginatedResponse>;
17629
17824
  /**
17630
17825
  *
17631
17826
  * @param {*} [options] Override http request option.
@@ -17805,7 +18000,7 @@ export declare class ClubsStaffApi extends BaseAPI {
17805
18000
  * @throws {RequiredError}
17806
18001
  * @memberof ClubsStaffApi
17807
18002
  */
17808
- getActualities(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetActualities200Response, any, {}>>;
18003
+ getActualities(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffActualitiesPaginatedResponse, any, {}>>;
17809
18004
  /**
17810
18005
  *
17811
18006
  * @param {*} [options] Override http request option.
@@ -19104,7 +19299,7 @@ export declare const EventsStaffApiFp: (configuration?: Configuration) => {
19104
19299
  * @param {*} [options] Override http request option.
19105
19300
  * @throws {RequiredError}
19106
19301
  */
19107
- getEventsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
19302
+ getEventsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffEventsPaginatedResponse>>;
19108
19303
  /**
19109
19304
  * Get events for the entire month view (including recurring occurrences)
19110
19305
  * @param {string} [clubId]
@@ -19152,7 +19347,7 @@ export declare const EventsStaffApiFactory: (configuration?: Configuration, base
19152
19347
  * @param {*} [options] Override http request option.
19153
19348
  * @throws {RequiredError}
19154
19349
  */
19155
- getEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
19350
+ getEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<StaffEventsPaginatedResponse>;
19156
19351
  /**
19157
19352
  * Get events for the entire month view (including recurring occurrences)
19158
19353
  * @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
@@ -19327,7 +19522,7 @@ export declare class EventsStaffApi extends BaseAPI {
19327
19522
  * @throws {RequiredError}
19328
19523
  * @memberof EventsStaffApi
19329
19524
  */
19330
- getEventsByClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
19525
+ getEventsByClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffEventsPaginatedResponse, any, {}>>;
19331
19526
  /**
19332
19527
  * Get events for the entire month view (including recurring occurrences)
19333
19528
  * @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
@@ -19464,6 +19659,158 @@ export declare class ImagesApi extends BaseAPI {
19464
19659
  */
19465
19660
  cleanupImages(requestParameters: ImagesApiCleanupImagesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ImageCleanupResponse, any, {}>>;
19466
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
+ }
19467
19814
  /**
19468
19815
  * SportsManagerApi - axios parameter creator
19469
19816
  * @export