@tennac-booking/sdk 1.0.185 → 1.0.187

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/api.d.ts CHANGED
@@ -10004,6 +10004,88 @@ export interface RequestEmailCodeResponse {
10004
10004
  */
10005
10005
  'alreadyVerified'?: boolean;
10006
10006
  }
10007
+ /**
10008
+ *
10009
+ * @export
10010
+ * @interface RequestOrganizationEmailCodeBody
10011
+ */
10012
+ export interface RequestOrganizationEmailCodeBody {
10013
+ /**
10014
+ *
10015
+ * @type {string}
10016
+ * @memberof RequestOrganizationEmailCodeBody
10017
+ */
10018
+ 'organizationId': string;
10019
+ /**
10020
+ *
10021
+ * @type {string}
10022
+ * @memberof RequestOrganizationEmailCodeBody
10023
+ */
10024
+ 'organizationEmail': string;
10025
+ }
10026
+ /**
10027
+ *
10028
+ * @export
10029
+ * @interface RequestOrganizationEmailCodeResponse
10030
+ */
10031
+ export interface RequestOrganizationEmailCodeResponse {
10032
+ /**
10033
+ *
10034
+ * @type {boolean}
10035
+ * @memberof RequestOrganizationEmailCodeResponse
10036
+ */
10037
+ 'sent': boolean;
10038
+ /**
10039
+ *
10040
+ * @type {boolean}
10041
+ * @memberof RequestOrganizationEmailCodeResponse
10042
+ */
10043
+ 'alreadyVerified'?: boolean;
10044
+ }
10045
+ /**
10046
+ *
10047
+ * @export
10048
+ * @interface RequestVerificationCodeBody
10049
+ */
10050
+ export interface RequestVerificationCodeBody {
10051
+ /**
10052
+ *
10053
+ * @type {string}
10054
+ * @memberof RequestVerificationCodeBody
10055
+ */
10056
+ 'email': string;
10057
+ /**
10058
+ *
10059
+ * @type {string}
10060
+ * @memberof RequestVerificationCodeBody
10061
+ */
10062
+ 'context'?: string;
10063
+ /**
10064
+ *
10065
+ * @type {SupportedLanguage}
10066
+ * @memberof RequestVerificationCodeBody
10067
+ */
10068
+ 'lang'?: SupportedLanguage;
10069
+ /**
10070
+ *
10071
+ * @type {string}
10072
+ * @memberof RequestVerificationCodeBody
10073
+ */
10074
+ 'requestId'?: string;
10075
+ }
10076
+ /**
10077
+ *
10078
+ * @export
10079
+ * @interface RequestVerificationCodeResponse
10080
+ */
10081
+ export interface RequestVerificationCodeResponse {
10082
+ /**
10083
+ *
10084
+ * @type {boolean}
10085
+ * @memberof RequestVerificationCodeResponse
10086
+ */
10087
+ 'sent': boolean;
10088
+ }
10007
10089
  /**
10008
10090
  *
10009
10091
  * @export
@@ -10976,33 +11058,21 @@ export interface StaffEventDetailResponse {
10976
11058
  /**
10977
11059
  *
10978
11060
  * @export
10979
- * @interface StaffEventsPaginatedResponse
11061
+ * @interface StaffEventsPageResponse
10980
11062
  */
10981
- export interface StaffEventsPaginatedResponse {
10982
- /**
10983
- *
10984
- * @type {Array<EventResponse>}
10985
- * @memberof StaffEventsPaginatedResponse
10986
- */
10987
- 'upcoming': Array<EventResponse>;
11063
+ export interface StaffEventsPageResponse {
10988
11064
  /**
10989
11065
  *
10990
11066
  * @type {Array<EventResponse>}
10991
- * @memberof StaffEventsPaginatedResponse
11067
+ * @memberof StaffEventsPageResponse
10992
11068
  */
10993
- 'past': Array<EventResponse>;
10994
- /**
10995
- *
10996
- * @type {PaginationInfo}
10997
- * @memberof StaffEventsPaginatedResponse
10998
- */
10999
- 'upcomingPagination': PaginationInfo;
11069
+ 'events': Array<EventResponse>;
11000
11070
  /**
11001
11071
  *
11002
11072
  * @type {PaginationInfo}
11003
- * @memberof StaffEventsPaginatedResponse
11073
+ * @memberof StaffEventsPageResponse
11004
11074
  */
11005
- 'pastPagination': PaginationInfo;
11075
+ 'pagination': PaginationInfo;
11006
11076
  }
11007
11077
  /**
11008
11078
  *
@@ -11514,6 +11584,16 @@ export interface SubscriptionPlanResponse {
11514
11584
  */
11515
11585
  'discount'?: SubscriptionPlanDiscountResponse;
11516
11586
  }
11587
+ /**
11588
+ *
11589
+ * @export
11590
+ * @enum {string}
11591
+ */
11592
+ export declare const SupportedLanguage: {
11593
+ readonly Fr: "fr";
11594
+ readonly En: "en";
11595
+ };
11596
+ export type SupportedLanguage = typeof SupportedLanguage[keyof typeof SupportedLanguage];
11517
11597
  /**
11518
11598
  *
11519
11599
  * @export
@@ -13141,6 +13221,37 @@ export declare const UserLocationSummaryTypeEnum: {
13141
13221
  readonly Point: "Point";
13142
13222
  };
13143
13223
  export type UserLocationSummaryTypeEnum = typeof UserLocationSummaryTypeEnum[keyof typeof UserLocationSummaryTypeEnum];
13224
+ /**
13225
+ *
13226
+ * @export
13227
+ * @interface UserNextBookingSummary
13228
+ */
13229
+ export interface UserNextBookingSummary {
13230
+ /**
13231
+ *
13232
+ * @type {string}
13233
+ * @memberof UserNextBookingSummary
13234
+ */
13235
+ 'id': string;
13236
+ /**
13237
+ *
13238
+ * @type {string}
13239
+ * @memberof UserNextBookingSummary
13240
+ */
13241
+ 'date': string | null;
13242
+ /**
13243
+ *
13244
+ * @type {Array<BookingSlotInfo>}
13245
+ * @memberof UserNextBookingSummary
13246
+ */
13247
+ 'slots': Array<BookingSlotInfo>;
13248
+ /**
13249
+ *
13250
+ * @type {BookingClubInfo}
13251
+ * @memberof UserNextBookingSummary
13252
+ */
13253
+ 'club': BookingClubInfo | null;
13254
+ }
13144
13255
  /**
13145
13256
  *
13146
13257
  * @export
@@ -13353,6 +13464,12 @@ export interface UserProfileResponse {
13353
13464
  * @memberof UserProfileResponse
13354
13465
  */
13355
13466
  'upcomingBookingsCount'?: number;
13467
+ /**
13468
+ *
13469
+ * @type {UserNextBookingSummary}
13470
+ * @memberof UserProfileResponse
13471
+ */
13472
+ 'nextBooking'?: UserNextBookingSummary | null;
13356
13473
  /**
13357
13474
  *
13358
13475
  * @type {number}
@@ -13494,6 +13611,88 @@ export interface VerifyEmailRequest {
13494
13611
  */
13495
13612
  'token'?: string;
13496
13613
  }
13614
+ /**
13615
+ *
13616
+ * @export
13617
+ * @interface VerifyOrganizationEmailCodeBody
13618
+ */
13619
+ export interface VerifyOrganizationEmailCodeBody {
13620
+ /**
13621
+ *
13622
+ * @type {string}
13623
+ * @memberof VerifyOrganizationEmailCodeBody
13624
+ */
13625
+ 'organizationId': string;
13626
+ /**
13627
+ *
13628
+ * @type {string}
13629
+ * @memberof VerifyOrganizationEmailCodeBody
13630
+ */
13631
+ 'organizationEmail': string;
13632
+ /**
13633
+ *
13634
+ * @type {string}
13635
+ * @memberof VerifyOrganizationEmailCodeBody
13636
+ */
13637
+ 'code': string;
13638
+ }
13639
+ /**
13640
+ *
13641
+ * @export
13642
+ * @interface VerifyOrganizationEmailCodeResponse
13643
+ */
13644
+ export interface VerifyOrganizationEmailCodeResponse {
13645
+ /**
13646
+ *
13647
+ * @type {boolean}
13648
+ * @memberof VerifyOrganizationEmailCodeResponse
13649
+ */
13650
+ 'verified': boolean;
13651
+ /**
13652
+ *
13653
+ * @type {boolean}
13654
+ * @memberof VerifyOrganizationEmailCodeResponse
13655
+ */
13656
+ 'alreadyVerified'?: boolean;
13657
+ }
13658
+ /**
13659
+ *
13660
+ * @export
13661
+ * @interface VerifyVerificationCodeBody
13662
+ */
13663
+ export interface VerifyVerificationCodeBody {
13664
+ /**
13665
+ *
13666
+ * @type {string}
13667
+ * @memberof VerifyVerificationCodeBody
13668
+ */
13669
+ 'email': string;
13670
+ /**
13671
+ *
13672
+ * @type {string}
13673
+ * @memberof VerifyVerificationCodeBody
13674
+ */
13675
+ 'code': string;
13676
+ /**
13677
+ *
13678
+ * @type {string}
13679
+ * @memberof VerifyVerificationCodeBody
13680
+ */
13681
+ 'context'?: string;
13682
+ }
13683
+ /**
13684
+ *
13685
+ * @export
13686
+ * @interface VerifyVerificationCodeResponse
13687
+ */
13688
+ export interface VerifyVerificationCodeResponse {
13689
+ /**
13690
+ *
13691
+ * @type {boolean}
13692
+ * @memberof VerifyVerificationCodeResponse
13693
+ */
13694
+ 'verified': boolean;
13695
+ }
13497
13696
  /**
13498
13697
  *
13499
13698
  * @export
@@ -13717,6 +13916,116 @@ export interface YearlyTurnoverResponse {
13717
13916
  */
13718
13917
  'monthlyBreakdown': Array<MonthlyBreakdown>;
13719
13918
  }
13919
+ /**
13920
+ * AuthApi - axios parameter creator
13921
+ * @export
13922
+ */
13923
+ export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) => {
13924
+ /**
13925
+ *
13926
+ * @param {RequestVerificationCodeBody} requestVerificationCodeBody
13927
+ * @param {*} [options] Override http request option.
13928
+ * @throws {RequiredError}
13929
+ */
13930
+ requestVerificationCode: (requestVerificationCodeBody: RequestVerificationCodeBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13931
+ /**
13932
+ *
13933
+ * @param {VerifyVerificationCodeBody} verifyVerificationCodeBody
13934
+ * @param {*} [options] Override http request option.
13935
+ * @throws {RequiredError}
13936
+ */
13937
+ verifyVerificationCode: (verifyVerificationCodeBody: VerifyVerificationCodeBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13938
+ };
13939
+ /**
13940
+ * AuthApi - functional programming interface
13941
+ * @export
13942
+ */
13943
+ export declare const AuthApiFp: (configuration?: Configuration) => {
13944
+ /**
13945
+ *
13946
+ * @param {RequestVerificationCodeBody} requestVerificationCodeBody
13947
+ * @param {*} [options] Override http request option.
13948
+ * @throws {RequiredError}
13949
+ */
13950
+ requestVerificationCode(requestVerificationCodeBody: RequestVerificationCodeBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestVerificationCodeResponse>>;
13951
+ /**
13952
+ *
13953
+ * @param {VerifyVerificationCodeBody} verifyVerificationCodeBody
13954
+ * @param {*} [options] Override http request option.
13955
+ * @throws {RequiredError}
13956
+ */
13957
+ verifyVerificationCode(verifyVerificationCodeBody: VerifyVerificationCodeBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VerifyVerificationCodeResponse>>;
13958
+ };
13959
+ /**
13960
+ * AuthApi - factory interface
13961
+ * @export
13962
+ */
13963
+ export declare const AuthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
13964
+ /**
13965
+ *
13966
+ * @param {AuthApiRequestVerificationCodeRequest} requestParameters Request parameters.
13967
+ * @param {*} [options] Override http request option.
13968
+ * @throws {RequiredError}
13969
+ */
13970
+ requestVerificationCode(requestParameters: AuthApiRequestVerificationCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestVerificationCodeResponse>;
13971
+ /**
13972
+ *
13973
+ * @param {AuthApiVerifyVerificationCodeRequest} requestParameters Request parameters.
13974
+ * @param {*} [options] Override http request option.
13975
+ * @throws {RequiredError}
13976
+ */
13977
+ verifyVerificationCode(requestParameters: AuthApiVerifyVerificationCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<VerifyVerificationCodeResponse>;
13978
+ };
13979
+ /**
13980
+ * Request parameters for requestVerificationCode operation in AuthApi.
13981
+ * @export
13982
+ * @interface AuthApiRequestVerificationCodeRequest
13983
+ */
13984
+ export interface AuthApiRequestVerificationCodeRequest {
13985
+ /**
13986
+ *
13987
+ * @type {RequestVerificationCodeBody}
13988
+ * @memberof AuthApiRequestVerificationCode
13989
+ */
13990
+ readonly requestVerificationCodeBody: RequestVerificationCodeBody;
13991
+ }
13992
+ /**
13993
+ * Request parameters for verifyVerificationCode operation in AuthApi.
13994
+ * @export
13995
+ * @interface AuthApiVerifyVerificationCodeRequest
13996
+ */
13997
+ export interface AuthApiVerifyVerificationCodeRequest {
13998
+ /**
13999
+ *
14000
+ * @type {VerifyVerificationCodeBody}
14001
+ * @memberof AuthApiVerifyVerificationCode
14002
+ */
14003
+ readonly verifyVerificationCodeBody: VerifyVerificationCodeBody;
14004
+ }
14005
+ /**
14006
+ * AuthApi - object-oriented interface
14007
+ * @export
14008
+ * @class AuthApi
14009
+ * @extends {BaseAPI}
14010
+ */
14011
+ export declare class AuthApi extends BaseAPI {
14012
+ /**
14013
+ *
14014
+ * @param {AuthApiRequestVerificationCodeRequest} requestParameters Request parameters.
14015
+ * @param {*} [options] Override http request option.
14016
+ * @throws {RequiredError}
14017
+ * @memberof AuthApi
14018
+ */
14019
+ requestVerificationCode(requestParameters: AuthApiRequestVerificationCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestVerificationCodeResponse, any, {}>>;
14020
+ /**
14021
+ *
14022
+ * @param {AuthApiVerifyVerificationCodeRequest} requestParameters Request parameters.
14023
+ * @param {*} [options] Override http request option.
14024
+ * @throws {RequiredError}
14025
+ * @memberof AuthApi
14026
+ */
14027
+ verifyVerificationCode(requestParameters: AuthApiVerifyVerificationCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifyVerificationCodeResponse, any, {}>>;
14028
+ }
13720
14029
  /**
13721
14030
  * BookingsApi - axios parameter creator
13722
14031
  * @export
@@ -20420,18 +20729,18 @@ export declare const EventsStaffApiAxiosParamCreator: (configuration?: Configura
20420
20729
  */
20421
20730
  getDailyEvents: (clubId?: string, date?: string, visibilityType?: GetDailyEventsVisibilityTypeEnum, type?: GetDailyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
20422
20731
  /**
20423
- * Get a specific event by ID (staff)
20424
- * @param {string} eventId
20732
+ *
20425
20733
  * @param {*} [options] Override http request option.
20426
20734
  * @throws {RequiredError}
20427
20735
  */
20428
- getEventByIdForStaff: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
20736
+ getDraftEventsByClub: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
20429
20737
  /**
20430
- * // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
20738
+ * Get a specific event by ID (staff)
20739
+ * @param {string} eventId
20431
20740
  * @param {*} [options] Override http request option.
20432
20741
  * @throws {RequiredError}
20433
20742
  */
20434
- getEventsByClub: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
20743
+ getEventByIdForStaff: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
20435
20744
  /**
20436
20745
  * Get events for the entire month view (including recurring occurrences)
20437
20746
  * @param {string} [clubId]
@@ -20443,6 +20752,18 @@ export declare const EventsStaffApiAxiosParamCreator: (configuration?: Configura
20443
20752
  * @throws {RequiredError}
20444
20753
  */
20445
20754
  getMonthlyEvents: (clubId?: string, date?: string, visibilityType?: GetMonthlyEventsVisibilityTypeEnum, type?: GetMonthlyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
20755
+ /**
20756
+ *
20757
+ * @param {*} [options] Override http request option.
20758
+ * @throws {RequiredError}
20759
+ */
20760
+ getPastEventsByClub: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
20761
+ /**
20762
+ * // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
20763
+ * @param {*} [options] Override http request option.
20764
+ * @throws {RequiredError}
20765
+ */
20766
+ getUpcomingEventsByClub: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
20446
20767
  /**
20447
20768
  * Get events for the week view (30 day sliding window)
20448
20769
  * @param {string} [clubId]
@@ -20480,18 +20801,18 @@ export declare const EventsStaffApiFp: (configuration?: Configuration) => {
20480
20801
  */
20481
20802
  getDailyEvents(clubId?: string, date?: string, visibilityType?: GetDailyEventsVisibilityTypeEnum, type?: GetDailyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
20482
20803
  /**
20483
- * Get a specific event by ID (staff)
20484
- * @param {string} eventId
20804
+ *
20485
20805
  * @param {*} [options] Override http request option.
20486
20806
  * @throws {RequiredError}
20487
20807
  */
20488
- getEventByIdForStaff(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffEventDetailResponse>>;
20808
+ getDraftEventsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffEventsPageResponse>>;
20489
20809
  /**
20490
- * // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
20810
+ * Get a specific event by ID (staff)
20811
+ * @param {string} eventId
20491
20812
  * @param {*} [options] Override http request option.
20492
20813
  * @throws {RequiredError}
20493
20814
  */
20494
- getEventsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffEventsPaginatedResponse>>;
20815
+ getEventByIdForStaff(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffEventDetailResponse>>;
20495
20816
  /**
20496
20817
  * Get events for the entire month view (including recurring occurrences)
20497
20818
  * @param {string} [clubId]
@@ -20503,6 +20824,18 @@ export declare const EventsStaffApiFp: (configuration?: Configuration) => {
20503
20824
  * @throws {RequiredError}
20504
20825
  */
20505
20826
  getMonthlyEvents(clubId?: string, date?: string, visibilityType?: GetMonthlyEventsVisibilityTypeEnum, type?: GetMonthlyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
20827
+ /**
20828
+ *
20829
+ * @param {*} [options] Override http request option.
20830
+ * @throws {RequiredError}
20831
+ */
20832
+ getPastEventsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffEventsPageResponse>>;
20833
+ /**
20834
+ * // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
20835
+ * @param {*} [options] Override http request option.
20836
+ * @throws {RequiredError}
20837
+ */
20838
+ getUpcomingEventsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffEventsPageResponse>>;
20506
20839
  /**
20507
20840
  * Get events for the week view (30 day sliding window)
20508
20841
  * @param {string} [clubId]
@@ -20535,18 +20868,18 @@ export declare const EventsStaffApiFactory: (configuration?: Configuration, base
20535
20868
  */
20536
20869
  getDailyEvents(requestParameters?: EventsStaffApiGetDailyEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
20537
20870
  /**
20538
- * Get a specific event by ID (staff)
20539
- * @param {EventsStaffApiGetEventByIdForStaffRequest} requestParameters Request parameters.
20871
+ *
20540
20872
  * @param {*} [options] Override http request option.
20541
20873
  * @throws {RequiredError}
20542
20874
  */
20543
- getEventByIdForStaff(requestParameters: EventsStaffApiGetEventByIdForStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffEventDetailResponse>;
20875
+ getDraftEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<StaffEventsPageResponse>;
20544
20876
  /**
20545
- * // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
20877
+ * Get a specific event by ID (staff)
20878
+ * @param {EventsStaffApiGetEventByIdForStaffRequest} requestParameters Request parameters.
20546
20879
  * @param {*} [options] Override http request option.
20547
20880
  * @throws {RequiredError}
20548
20881
  */
20549
- getEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<StaffEventsPaginatedResponse>;
20882
+ getEventByIdForStaff(requestParameters: EventsStaffApiGetEventByIdForStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffEventDetailResponse>;
20550
20883
  /**
20551
20884
  * Get events for the entire month view (including recurring occurrences)
20552
20885
  * @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
@@ -20554,6 +20887,18 @@ export declare const EventsStaffApiFactory: (configuration?: Configuration, base
20554
20887
  * @throws {RequiredError}
20555
20888
  */
20556
20889
  getMonthlyEvents(requestParameters?: EventsStaffApiGetMonthlyEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
20890
+ /**
20891
+ *
20892
+ * @param {*} [options] Override http request option.
20893
+ * @throws {RequiredError}
20894
+ */
20895
+ getPastEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<StaffEventsPageResponse>;
20896
+ /**
20897
+ * // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
20898
+ * @param {*} [options] Override http request option.
20899
+ * @throws {RequiredError}
20900
+ */
20901
+ getUpcomingEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<StaffEventsPageResponse>;
20557
20902
  /**
20558
20903
  * Get events for the week view (30 day sliding window)
20559
20904
  * @param {EventsStaffApiGetWeeklyEventsRequest} requestParameters Request parameters.
@@ -20729,20 +21074,20 @@ export declare class EventsStaffApi extends BaseAPI {
20729
21074
  */
20730
21075
  getDailyEvents(requestParameters?: EventsStaffApiGetDailyEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
20731
21076
  /**
20732
- * Get a specific event by ID (staff)
20733
- * @param {EventsStaffApiGetEventByIdForStaffRequest} requestParameters Request parameters.
21077
+ *
20734
21078
  * @param {*} [options] Override http request option.
20735
21079
  * @throws {RequiredError}
20736
21080
  * @memberof EventsStaffApi
20737
21081
  */
20738
- getEventByIdForStaff(requestParameters: EventsStaffApiGetEventByIdForStaffRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffEventDetailResponse, any, {}>>;
21082
+ getDraftEventsByClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffEventsPageResponse, any, {}>>;
20739
21083
  /**
20740
- * // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
21084
+ * Get a specific event by ID (staff)
21085
+ * @param {EventsStaffApiGetEventByIdForStaffRequest} requestParameters Request parameters.
20741
21086
  * @param {*} [options] Override http request option.
20742
21087
  * @throws {RequiredError}
20743
21088
  * @memberof EventsStaffApi
20744
21089
  */
20745
- getEventsByClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffEventsPaginatedResponse, any, {}>>;
21090
+ getEventByIdForStaff(requestParameters: EventsStaffApiGetEventByIdForStaffRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffEventDetailResponse, any, {}>>;
20746
21091
  /**
20747
21092
  * Get events for the entire month view (including recurring occurrences)
20748
21093
  * @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
@@ -20751,6 +21096,20 @@ export declare class EventsStaffApi extends BaseAPI {
20751
21096
  * @memberof EventsStaffApi
20752
21097
  */
20753
21098
  getMonthlyEvents(requestParameters?: EventsStaffApiGetMonthlyEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
21099
+ /**
21100
+ *
21101
+ * @param {*} [options] Override http request option.
21102
+ * @throws {RequiredError}
21103
+ * @memberof EventsStaffApi
21104
+ */
21105
+ getPastEventsByClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffEventsPageResponse, any, {}>>;
21106
+ /**
21107
+ * // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
21108
+ * @param {*} [options] Override http request option.
21109
+ * @throws {RequiredError}
21110
+ * @memberof EventsStaffApi
21111
+ */
21112
+ getUpcomingEventsByClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffEventsPageResponse, any, {}>>;
20754
21113
  /**
20755
21114
  * Get events for the week view (30 day sliding window)
20756
21115
  * @param {EventsStaffApiGetWeeklyEventsRequest} requestParameters Request parameters.
@@ -20897,7 +21256,7 @@ export declare const PublicEmailApiAxiosParamCreator: (configuration?: Configura
20897
21256
  * @param {*} [options] Override http request option.
20898
21257
  * @throws {RequiredError}
20899
21258
  */
20900
- requestVerificationCode: (requestEmailCodeBody: RequestEmailCodeBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
21259
+ requestPublicEmailVerificationCode: (requestEmailCodeBody: RequestEmailCodeBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
20901
21260
  /**
20902
21261
  *
20903
21262
  * @param {VerifyEmailCodeBody} verifyEmailCodeBody
@@ -20924,7 +21283,7 @@ export declare const PublicEmailApiFp: (configuration?: Configuration) => {
20924
21283
  * @param {*} [options] Override http request option.
20925
21284
  * @throws {RequiredError}
20926
21285
  */
20927
- requestVerificationCode(requestEmailCodeBody: RequestEmailCodeBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestEmailCodeResponse>>;
21286
+ requestPublicEmailVerificationCode(requestEmailCodeBody: RequestEmailCodeBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestEmailCodeResponse>>;
20928
21287
  /**
20929
21288
  *
20930
21289
  * @param {VerifyEmailCodeBody} verifyEmailCodeBody
@@ -20947,11 +21306,11 @@ export declare const PublicEmailApiFactory: (configuration?: Configuration, base
20947
21306
  authEmailExists(requestParameters: PublicEmailApiAuthEmailExistsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EmailExistsResponse>;
20948
21307
  /**
20949
21308
  *
20950
- * @param {PublicEmailApiRequestVerificationCodeRequest} requestParameters Request parameters.
21309
+ * @param {PublicEmailApiRequestPublicEmailVerificationCodeRequest} requestParameters Request parameters.
20951
21310
  * @param {*} [options] Override http request option.
20952
21311
  * @throws {RequiredError}
20953
21312
  */
20954
- requestVerificationCode(requestParameters: PublicEmailApiRequestVerificationCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestEmailCodeResponse>;
21313
+ requestPublicEmailVerificationCode(requestParameters: PublicEmailApiRequestPublicEmailVerificationCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestEmailCodeResponse>;
20955
21314
  /**
20956
21315
  *
20957
21316
  * @param {PublicEmailApiVerifyCodeRequest} requestParameters Request parameters.
@@ -20974,15 +21333,15 @@ export interface PublicEmailApiAuthEmailExistsRequest {
20974
21333
  readonly emailExistsRequestBody: EmailExistsRequestBody;
20975
21334
  }
20976
21335
  /**
20977
- * Request parameters for requestVerificationCode operation in PublicEmailApi.
21336
+ * Request parameters for requestPublicEmailVerificationCode operation in PublicEmailApi.
20978
21337
  * @export
20979
- * @interface PublicEmailApiRequestVerificationCodeRequest
21338
+ * @interface PublicEmailApiRequestPublicEmailVerificationCodeRequest
20980
21339
  */
20981
- export interface PublicEmailApiRequestVerificationCodeRequest {
21340
+ export interface PublicEmailApiRequestPublicEmailVerificationCodeRequest {
20982
21341
  /**
20983
21342
  *
20984
21343
  * @type {RequestEmailCodeBody}
20985
- * @memberof PublicEmailApiRequestVerificationCode
21344
+ * @memberof PublicEmailApiRequestPublicEmailVerificationCode
20986
21345
  */
20987
21346
  readonly requestEmailCodeBody: RequestEmailCodeBody;
20988
21347
  }
@@ -21016,12 +21375,12 @@ export declare class PublicEmailApi extends BaseAPI {
21016
21375
  authEmailExists(requestParameters: PublicEmailApiAuthEmailExistsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EmailExistsResponse, any, {}>>;
21017
21376
  /**
21018
21377
  *
21019
- * @param {PublicEmailApiRequestVerificationCodeRequest} requestParameters Request parameters.
21378
+ * @param {PublicEmailApiRequestPublicEmailVerificationCodeRequest} requestParameters Request parameters.
21020
21379
  * @param {*} [options] Override http request option.
21021
21380
  * @throws {RequiredError}
21022
21381
  * @memberof PublicEmailApi
21023
21382
  */
21024
- requestVerificationCode(requestParameters: PublicEmailApiRequestVerificationCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestEmailCodeResponse, any, {}>>;
21383
+ requestPublicEmailVerificationCode(requestParameters: PublicEmailApiRequestPublicEmailVerificationCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestEmailCodeResponse, any, {}>>;
21025
21384
  /**
21026
21385
  *
21027
21386
  * @param {PublicEmailApiVerifyCodeRequest} requestParameters Request parameters.
@@ -22097,6 +22456,13 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
22097
22456
  * @throws {RequiredError}
22098
22457
  */
22099
22458
  requestEmailVerification: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22459
+ /**
22460
+ *
22461
+ * @param {RequestOrganizationEmailCodeBody} requestOrganizationEmailCodeBody
22462
+ * @param {*} [options] Override http request option.
22463
+ * @throws {RequiredError}
22464
+ */
22465
+ requestOrganizationCode: (requestOrganizationEmailCodeBody: RequestOrganizationEmailCodeBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22100
22466
  /**
22101
22467
  *
22102
22468
  * @param {PasswordResetRequestBody} passwordResetRequestBody
@@ -22160,6 +22526,13 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
22160
22526
  * @throws {RequiredError}
22161
22527
  */
22162
22528
  verifyOrganization: (verifyEmailRequest: VerifyEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22529
+ /**
22530
+ *
22531
+ * @param {VerifyOrganizationEmailCodeBody} verifyOrganizationEmailCodeBody
22532
+ * @param {*} [options] Override http request option.
22533
+ * @throws {RequiredError}
22534
+ */
22535
+ verifyOrganizationCode: (verifyOrganizationEmailCodeBody: VerifyOrganizationEmailCodeBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22163
22536
  };
22164
22537
  /**
22165
22538
  * UsersApi - functional programming interface
@@ -22408,6 +22781,13 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
22408
22781
  * @throws {RequiredError}
22409
22782
  */
22410
22783
  requestEmailVerification(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeaveEventWaitList200Response>>;
22784
+ /**
22785
+ *
22786
+ * @param {RequestOrganizationEmailCodeBody} requestOrganizationEmailCodeBody
22787
+ * @param {*} [options] Override http request option.
22788
+ * @throws {RequiredError}
22789
+ */
22790
+ requestOrganizationCode(requestOrganizationEmailCodeBody: RequestOrganizationEmailCodeBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestOrganizationEmailCodeResponse>>;
22411
22791
  /**
22412
22792
  *
22413
22793
  * @param {PasswordResetRequestBody} passwordResetRequestBody
@@ -22471,6 +22851,13 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
22471
22851
  * @throws {RequiredError}
22472
22852
  */
22473
22853
  verifyOrganization(verifyEmailRequest: VerifyEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeaveEventWaitList200Response>>;
22854
+ /**
22855
+ *
22856
+ * @param {VerifyOrganizationEmailCodeBody} verifyOrganizationEmailCodeBody
22857
+ * @param {*} [options] Override http request option.
22858
+ * @throws {RequiredError}
22859
+ */
22860
+ verifyOrganizationCode(verifyOrganizationEmailCodeBody: VerifyOrganizationEmailCodeBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VerifyOrganizationEmailCodeResponse>>;
22474
22861
  };
22475
22862
  /**
22476
22863
  * UsersApi - factory interface
@@ -22700,6 +23087,13 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
22700
23087
  * @throws {RequiredError}
22701
23088
  */
22702
23089
  requestEmailVerification(options?: RawAxiosRequestConfig): AxiosPromise<LeaveEventWaitList200Response>;
23090
+ /**
23091
+ *
23092
+ * @param {UsersApiRequestOrganizationCodeRequest} requestParameters Request parameters.
23093
+ * @param {*} [options] Override http request option.
23094
+ * @throws {RequiredError}
23095
+ */
23096
+ requestOrganizationCode(requestParameters: UsersApiRequestOrganizationCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestOrganizationEmailCodeResponse>;
22703
23097
  /**
22704
23098
  *
22705
23099
  * @param {UsersApiRequestPasswordResetRequest} requestParameters Request parameters.
@@ -22763,6 +23157,13 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
22763
23157
  * @throws {RequiredError}
22764
23158
  */
22765
23159
  verifyOrganization(requestParameters: UsersApiVerifyOrganizationRequest, options?: RawAxiosRequestConfig): AxiosPromise<LeaveEventWaitList200Response>;
23160
+ /**
23161
+ *
23162
+ * @param {UsersApiVerifyOrganizationCodeRequest} requestParameters Request parameters.
23163
+ * @param {*} [options] Override http request option.
23164
+ * @throws {RequiredError}
23165
+ */
23166
+ verifyOrganizationCode(requestParameters: UsersApiVerifyOrganizationCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<VerifyOrganizationEmailCodeResponse>;
22766
23167
  };
22767
23168
  /**
22768
23169
  * Request parameters for addFavoriteClub operation in UsersApi.
@@ -23177,6 +23578,19 @@ export interface UsersApiRemoveOrganizationRequest {
23177
23578
  */
23178
23579
  readonly addOrganizationRequest: AddOrganizationRequest;
23179
23580
  }
23581
+ /**
23582
+ * Request parameters for requestOrganizationCode operation in UsersApi.
23583
+ * @export
23584
+ * @interface UsersApiRequestOrganizationCodeRequest
23585
+ */
23586
+ export interface UsersApiRequestOrganizationCodeRequest {
23587
+ /**
23588
+ *
23589
+ * @type {RequestOrganizationEmailCodeBody}
23590
+ * @memberof UsersApiRequestOrganizationCode
23591
+ */
23592
+ readonly requestOrganizationEmailCodeBody: RequestOrganizationEmailCodeBody;
23593
+ }
23180
23594
  /**
23181
23595
  * Request parameters for requestPasswordReset operation in UsersApi.
23182
23596
  * @export
@@ -23294,6 +23708,19 @@ export interface UsersApiVerifyOrganizationRequest {
23294
23708
  */
23295
23709
  readonly verifyEmailRequest: VerifyEmailRequest;
23296
23710
  }
23711
+ /**
23712
+ * Request parameters for verifyOrganizationCode operation in UsersApi.
23713
+ * @export
23714
+ * @interface UsersApiVerifyOrganizationCodeRequest
23715
+ */
23716
+ export interface UsersApiVerifyOrganizationCodeRequest {
23717
+ /**
23718
+ *
23719
+ * @type {VerifyOrganizationEmailCodeBody}
23720
+ * @memberof UsersApiVerifyOrganizationCode
23721
+ */
23722
+ readonly verifyOrganizationEmailCodeBody: VerifyOrganizationEmailCodeBody;
23723
+ }
23297
23724
  /**
23298
23725
  * UsersApi - object-oriented interface
23299
23726
  * @export
@@ -23556,6 +23983,14 @@ export declare class UsersApi extends BaseAPI {
23556
23983
  * @memberof UsersApi
23557
23984
  */
23558
23985
  requestEmailVerification(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LeaveEventWaitList200Response, any, {}>>;
23986
+ /**
23987
+ *
23988
+ * @param {UsersApiRequestOrganizationCodeRequest} requestParameters Request parameters.
23989
+ * @param {*} [options] Override http request option.
23990
+ * @throws {RequiredError}
23991
+ * @memberof UsersApi
23992
+ */
23993
+ requestOrganizationCode(requestParameters: UsersApiRequestOrganizationCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestOrganizationEmailCodeResponse, any, {}>>;
23559
23994
  /**
23560
23995
  *
23561
23996
  * @param {UsersApiRequestPasswordResetRequest} requestParameters Request parameters.
@@ -23628,6 +24063,14 @@ export declare class UsersApi extends BaseAPI {
23628
24063
  * @memberof UsersApi
23629
24064
  */
23630
24065
  verifyOrganization(requestParameters: UsersApiVerifyOrganizationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LeaveEventWaitList200Response, any, {}>>;
24066
+ /**
24067
+ *
24068
+ * @param {UsersApiVerifyOrganizationCodeRequest} requestParameters Request parameters.
24069
+ * @param {*} [options] Override http request option.
24070
+ * @throws {RequiredError}
24071
+ * @memberof UsersApi
24072
+ */
24073
+ verifyOrganizationCode(requestParameters: UsersApiVerifyOrganizationCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifyOrganizationEmailCodeResponse, any, {}>>;
23631
24074
  }
23632
24075
  /**
23633
24076
  * WaitListApi - axios parameter creator