@tennac-booking/sdk 1.0.279 → 1.0.280

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.
@@ -379,6 +379,7 @@ docs/QuickReservationResponse.md
379
379
  docs/QuickReservationSlotSummary.md
380
380
  docs/RecordWeekdayKeyClubDaySchedule.md
381
381
  docs/RecurringDefinitionResponse.md
382
+ docs/RefreshOnboardingLink303Response.md
382
383
  docs/RefreshTokenRequestBody.md
383
384
  docs/RefreshTokenResponse.md
384
385
  docs/RegisterRequestBody.md
@@ -420,6 +421,8 @@ docs/StaffCreateBookingRequest.md
420
421
  docs/StaffEventBookingInvoiceResponse.md
421
422
  docs/StaffEventBookingResponse.md
422
423
  docs/StaffEventDetailResponse.md
424
+ docs/StaffEventSeriesContext.md
425
+ docs/StaffEventSeriesResponse.md
423
426
  docs/StaffEventsPageResponse.md
424
427
  docs/StaffUserProfileResponse.md
425
428
  docs/SubscribeRequestBody.md
package/README.md CHANGED
@@ -153,6 +153,7 @@ Class | Method | HTTP request | Description
153
153
  *ClubsApi* | [**getPublishedActualities**](docs/ClubsApi.md#getpublishedactualities) | **GET** /api/clubs/{id}/actualities |
154
154
  *ClubsApi* | [**getSlotsByClubById**](docs/ClubsApi.md#getslotsbyclubbyid) | **GET** /api/clubs/{id}/slots |
155
155
  *ClubsApi* | [**getSportsByClubById**](docs/ClubsApi.md#getsportsbyclubbyid) | **GET** /api/clubs/{id}/sports |
156
+ *ClubsApi* | [**refreshOnboardingLink**](docs/ClubsApi.md#refreshonboardinglink) | **GET** /api/clubs/onboarding/refresh |
156
157
  *ClubsManagerApi* | [**addClubMember**](docs/ClubsManagerApi.md#addclubmember) | **POST** /api/clubs/members |
157
158
  *ClubsManagerApi* | [**archivePriceForSubscriptionPlan**](docs/ClubsManagerApi.md#archivepriceforsubscriptionplan) | **DELETE** /api/clubs/subscription-plans/{priceId}/archive-price |
158
159
  *ClubsManagerApi* | [**createActuality**](docs/ClubsManagerApi.md#createactuality) | **POST** /api/clubs/actualities |
@@ -217,6 +218,7 @@ Class | Method | HTTP request | Description
217
218
  *EventsStaffApi* | [**getDailyEvents**](docs/EventsStaffApi.md#getdailyevents) | **GET** /api/events/calendar/daily |
218
219
  *EventsStaffApi* | [**getDraftEventsByClub**](docs/EventsStaffApi.md#getdrafteventsbyclub) | **GET** /api/events/staff/getEvents/drafts |
219
220
  *EventsStaffApi* | [**getEventByIdForStaff**](docs/EventsStaffApi.md#geteventbyidforstaff) | **GET** /api/events/staff/{eventId} |
221
+ *EventsStaffApi* | [**getEventSeriesForStaff**](docs/EventsStaffApi.md#geteventseriesforstaff) | **GET** /api/events/staff/series/{seriesId} |
220
222
  *EventsStaffApi* | [**getMonthlyEvents**](docs/EventsStaffApi.md#getmonthlyevents) | **GET** /api/events/calendar/monthly |
221
223
  *EventsStaffApi* | [**getPastEventsByClub**](docs/EventsStaffApi.md#getpasteventsbyclub) | **GET** /api/events/staff/getEvents/past |
222
224
  *EventsStaffApi* | [**getUpcomingEventsByClub**](docs/EventsStaffApi.md#getupcomingeventsbyclub) | **GET** /api/events/staff/getEvents/upcoming |
@@ -687,6 +689,7 @@ Class | Method | HTTP request | Description
687
689
  - [QuickReservationSlotSummary](docs/QuickReservationSlotSummary.md)
688
690
  - [RecordWeekdayKeyClubDaySchedule](docs/RecordWeekdayKeyClubDaySchedule.md)
689
691
  - [RecurringDefinitionResponse](docs/RecurringDefinitionResponse.md)
692
+ - [RefreshOnboardingLink303Response](docs/RefreshOnboardingLink303Response.md)
690
693
  - [RefreshTokenRequestBody](docs/RefreshTokenRequestBody.md)
691
694
  - [RefreshTokenResponse](docs/RefreshTokenResponse.md)
692
695
  - [RegisterRequestBody](docs/RegisterRequestBody.md)
@@ -726,6 +729,8 @@ Class | Method | HTTP request | Description
726
729
  - [StaffEventBookingInvoiceResponse](docs/StaffEventBookingInvoiceResponse.md)
727
730
  - [StaffEventBookingResponse](docs/StaffEventBookingResponse.md)
728
731
  - [StaffEventDetailResponse](docs/StaffEventDetailResponse.md)
732
+ - [StaffEventSeriesContext](docs/StaffEventSeriesContext.md)
733
+ - [StaffEventSeriesResponse](docs/StaffEventSeriesResponse.md)
729
734
  - [StaffEventsPageResponse](docs/StaffEventsPageResponse.md)
730
735
  - [StaffUserProfileResponse](docs/StaffUserProfileResponse.md)
731
736
  - [SubscribeRequestBody](docs/SubscribeRequestBody.md)
package/api.ts CHANGED
@@ -323,6 +323,12 @@ export interface AgendaBookingPlayer {
323
323
  * @memberof AgendaBookingPlayer
324
324
  */
325
325
  'profilePictureUrl'?: string;
326
+ /**
327
+ * Présent pour la vue hebdomadaire staff: true si le joueur a au moins un abonnement actif dans le club
328
+ * @type {boolean}
329
+ * @memberof AgendaBookingPlayer
330
+ */
331
+ 'isSubscribed'?: boolean;
326
332
  }
327
333
  /**
328
334
  *
@@ -540,6 +546,12 @@ export interface BookingHistoryPopulated {
540
546
  * @memberof BookingHistoryPopulated
541
547
  */
542
548
  'action': string;
549
+ /**
550
+ *
551
+ * @type {string}
552
+ * @memberof BookingHistoryPopulated
553
+ */
554
+ 'actionKey'?: string;
543
555
  /**
544
556
  *
545
557
  * @type {UserInfo}
@@ -7572,6 +7584,24 @@ export interface EventResponse {
7572
7584
  * @memberof EventResponse
7573
7585
  */
7574
7586
  'id': string;
7587
+ /**
7588
+ *
7589
+ * @type {string}
7590
+ * @memberof EventResponse
7591
+ */
7592
+ 'seriesId'?: string;
7593
+ /**
7594
+ *
7595
+ * @type {boolean}
7596
+ * @memberof EventResponse
7597
+ */
7598
+ 'isRecurringSeries'?: boolean;
7599
+ /**
7600
+ *
7601
+ * @type {number}
7602
+ * @memberof EventResponse
7603
+ */
7604
+ 'seriesOccurrencesCount'?: number;
7575
7605
  /**
7576
7606
  *
7577
7607
  * @type {string}
@@ -13308,6 +13338,19 @@ export const RecurringDefinitionResponseRecurringTypeEnum = {
13308
13338
 
13309
13339
  export type RecurringDefinitionResponseRecurringTypeEnum = typeof RecurringDefinitionResponseRecurringTypeEnum[keyof typeof RecurringDefinitionResponseRecurringTypeEnum];
13310
13340
 
13341
+ /**
13342
+ *
13343
+ * @export
13344
+ * @interface RefreshOnboardingLink303Response
13345
+ */
13346
+ export interface RefreshOnboardingLink303Response {
13347
+ /**
13348
+ *
13349
+ * @type {string}
13350
+ * @memberof RefreshOnboardingLink303Response
13351
+ */
13352
+ 'redirectUrl': string;
13353
+ }
13311
13354
  /**
13312
13355
  *
13313
13356
  * @export
@@ -14699,6 +14742,96 @@ export interface StaffEventDetailResponse {
14699
14742
  * @memberof StaffEventDetailResponse
14700
14743
  */
14701
14744
  'bookings': Array<StaffEventBookingResponse>;
14745
+ /**
14746
+ *
14747
+ * @type {StaffEventSeriesContext}
14748
+ * @memberof StaffEventDetailResponse
14749
+ */
14750
+ 'series'?: StaffEventSeriesContext;
14751
+ }
14752
+ /**
14753
+ *
14754
+ * @export
14755
+ * @interface StaffEventSeriesContext
14756
+ */
14757
+ export interface StaffEventSeriesContext {
14758
+ /**
14759
+ *
14760
+ * @type {string}
14761
+ * @memberof StaffEventSeriesContext
14762
+ */
14763
+ 'seriesId': string;
14764
+ /**
14765
+ *
14766
+ * @type {boolean}
14767
+ * @memberof StaffEventSeriesContext
14768
+ */
14769
+ 'isRecurring': boolean;
14770
+ /**
14771
+ *
14772
+ * @type {string}
14773
+ * @memberof StaffEventSeriesContext
14774
+ */
14775
+ 'recurringType': StaffEventSeriesContextRecurringTypeEnum;
14776
+ /**
14777
+ *
14778
+ * @type {string}
14779
+ * @memberof StaffEventSeriesContext
14780
+ */
14781
+ 'recurrenceEndDate'?: string;
14782
+ /**
14783
+ *
14784
+ * @type {number}
14785
+ * @memberof StaffEventSeriesContext
14786
+ */
14787
+ 'totalOccurrences': number;
14788
+ /**
14789
+ *
14790
+ * @type {string}
14791
+ * @memberof StaffEventSeriesContext
14792
+ */
14793
+ 'previousOccurrenceId'?: string;
14794
+ /**
14795
+ *
14796
+ * @type {string}
14797
+ * @memberof StaffEventSeriesContext
14798
+ */
14799
+ 'nextOccurrenceId'?: string;
14800
+ }
14801
+
14802
+ export const StaffEventSeriesContextRecurringTypeEnum = {
14803
+ Unique: 'unique',
14804
+ Daily: 'daily',
14805
+ Weekly: 'weekly',
14806
+ Monthly: 'monthly'
14807
+ } as const;
14808
+
14809
+ export type StaffEventSeriesContextRecurringTypeEnum = typeof StaffEventSeriesContextRecurringTypeEnum[keyof typeof StaffEventSeriesContextRecurringTypeEnum];
14810
+
14811
+ /**
14812
+ *
14813
+ * @export
14814
+ * @interface StaffEventSeriesResponse
14815
+ */
14816
+ export interface StaffEventSeriesResponse {
14817
+ /**
14818
+ *
14819
+ * @type {StaffEventSeriesContext}
14820
+ * @memberof StaffEventSeriesResponse
14821
+ */
14822
+ 'series': StaffEventSeriesContext;
14823
+ /**
14824
+ *
14825
+ * @type {Array<EventResponse>}
14826
+ * @memberof StaffEventSeriesResponse
14827
+ */
14828
+ 'occurrences': Array<EventResponse>;
14829
+ /**
14830
+ *
14831
+ * @type {PaginationInfo}
14832
+ * @memberof StaffEventSeriesResponse
14833
+ */
14834
+ 'pagination': PaginationInfo;
14702
14835
  }
14703
14836
  /**
14704
14837
  *
@@ -26774,6 +26907,40 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
26774
26907
 
26775
26908
 
26776
26909
 
26910
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26911
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26912
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26913
+
26914
+ return {
26915
+ url: toPathString(localVarUrlObj),
26916
+ options: localVarRequestOptions,
26917
+ };
26918
+ },
26919
+ /**
26920
+ * Rafraîchit le lien d\'onboarding Stripe Connect pour un club Cet endpoint est appelé automatiquement par Stripe lorsque le lien d\'onboarding expire
26921
+ * @param {string} [account]
26922
+ * @param {*} [options] Override http request option.
26923
+ * @throws {RequiredError}
26924
+ */
26925
+ refreshOnboardingLink: async (account?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26926
+ const localVarPath = `/api/clubs/onboarding/refresh`;
26927
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26928
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26929
+ let baseOptions;
26930
+ if (configuration) {
26931
+ baseOptions = configuration.baseOptions;
26932
+ }
26933
+
26934
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
26935
+ const localVarHeaderParameter = {} as any;
26936
+ const localVarQueryParameter = {} as any;
26937
+
26938
+ if (account !== undefined) {
26939
+ localVarQueryParameter['account'] = account;
26940
+ }
26941
+
26942
+
26943
+
26777
26944
  setSearchParams(localVarUrlObj, localVarQueryParameter);
26778
26945
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26779
26946
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -27001,6 +27168,18 @@ export const ClubsApiFp = function(configuration?: Configuration) {
27001
27168
  const localVarOperationServerBasePath = operationServerMap['ClubsApi.getSportsByClubById']?.[localVarOperationServerIndex]?.url;
27002
27169
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27003
27170
  },
27171
+ /**
27172
+ * Rafraîchit le lien d\'onboarding Stripe Connect pour un club Cet endpoint est appelé automatiquement par Stripe lorsque le lien d\'onboarding expire
27173
+ * @param {string} [account]
27174
+ * @param {*} [options] Override http request option.
27175
+ * @throws {RequiredError}
27176
+ */
27177
+ async refreshOnboardingLink(account?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
27178
+ const localVarAxiosArgs = await localVarAxiosParamCreator.refreshOnboardingLink(account, options);
27179
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
27180
+ const localVarOperationServerBasePath = operationServerMap['ClubsApi.refreshOnboardingLink']?.[localVarOperationServerIndex]?.url;
27181
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27182
+ },
27004
27183
  }
27005
27184
  };
27006
27185
 
@@ -27160,6 +27339,15 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
27160
27339
  getSportsByClubById(requestParameters: ClubsApiGetSportsByClubByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<SportResponse>> {
27161
27340
  return localVarFp.getSportsByClubById(requestParameters.id, options).then((request) => request(axios, basePath));
27162
27341
  },
27342
+ /**
27343
+ * Rafraîchit le lien d\'onboarding Stripe Connect pour un club Cet endpoint est appelé automatiquement par Stripe lorsque le lien d\'onboarding expire
27344
+ * @param {ClubsApiRefreshOnboardingLinkRequest} requestParameters Request parameters.
27345
+ * @param {*} [options] Override http request option.
27346
+ * @throws {RequiredError}
27347
+ */
27348
+ refreshOnboardingLink(requestParameters: ClubsApiRefreshOnboardingLinkRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<void> {
27349
+ return localVarFp.refreshOnboardingLink(requestParameters.account, options).then((request) => request(axios, basePath));
27350
+ },
27163
27351
  };
27164
27352
  };
27165
27353
 
@@ -27401,6 +27589,20 @@ export interface ClubsApiGetSportsByClubByIdRequest {
27401
27589
  readonly id: string
27402
27590
  }
27403
27591
 
27592
+ /**
27593
+ * Request parameters for refreshOnboardingLink operation in ClubsApi.
27594
+ * @export
27595
+ * @interface ClubsApiRefreshOnboardingLinkRequest
27596
+ */
27597
+ export interface ClubsApiRefreshOnboardingLinkRequest {
27598
+ /**
27599
+ *
27600
+ * @type {string}
27601
+ * @memberof ClubsApiRefreshOnboardingLink
27602
+ */
27603
+ readonly account?: string
27604
+ }
27605
+
27404
27606
  /**
27405
27607
  * ClubsApi - object-oriented interface
27406
27608
  * @export
@@ -27590,6 +27792,17 @@ export class ClubsApi extends BaseAPI {
27590
27792
  public getSportsByClubById(requestParameters: ClubsApiGetSportsByClubByIdRequest, options?: RawAxiosRequestConfig) {
27591
27793
  return ClubsApiFp(this.configuration).getSportsByClubById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
27592
27794
  }
27795
+
27796
+ /**
27797
+ * Rafraîchit le lien d\'onboarding Stripe Connect pour un club Cet endpoint est appelé automatiquement par Stripe lorsque le lien d\'onboarding expire
27798
+ * @param {ClubsApiRefreshOnboardingLinkRequest} requestParameters Request parameters.
27799
+ * @param {*} [options] Override http request option.
27800
+ * @throws {RequiredError}
27801
+ * @memberof ClubsApi
27802
+ */
27803
+ public refreshOnboardingLink(requestParameters: ClubsApiRefreshOnboardingLinkRequest = {}, options?: RawAxiosRequestConfig) {
27804
+ return ClubsApiFp(this.configuration).refreshOnboardingLink(requestParameters.account, options).then((request) => request(this.axios, this.basePath));
27805
+ }
27593
27806
  }
27594
27807
 
27595
27808
 
@@ -33191,6 +33404,58 @@ export const EventsStaffApiAxiosParamCreator = function (configuration?: Configu
33191
33404
 
33192
33405
 
33193
33406
 
33407
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33408
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33409
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33410
+
33411
+ return {
33412
+ url: toPathString(localVarUrlObj),
33413
+ options: localVarRequestOptions,
33414
+ };
33415
+ },
33416
+ /**
33417
+ * Get all occurrences for a staff event series
33418
+ * @param {string} seriesId
33419
+ * @param {number} [page]
33420
+ * @param {number} [limit]
33421
+ * @param {GetEventSeriesForStaffStatusEnum} [status]
33422
+ * @param {*} [options] Override http request option.
33423
+ * @throws {RequiredError}
33424
+ */
33425
+ getEventSeriesForStaff: async (seriesId: string, page?: number, limit?: number, status?: GetEventSeriesForStaffStatusEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
33426
+ // verify required parameter 'seriesId' is not null or undefined
33427
+ assertParamExists('getEventSeriesForStaff', 'seriesId', seriesId)
33428
+ const localVarPath = `/api/events/staff/series/{seriesId}`
33429
+ .replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)));
33430
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33431
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33432
+ let baseOptions;
33433
+ if (configuration) {
33434
+ baseOptions = configuration.baseOptions;
33435
+ }
33436
+
33437
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
33438
+ const localVarHeaderParameter = {} as any;
33439
+ const localVarQueryParameter = {} as any;
33440
+
33441
+ // authentication bearerAuth required
33442
+ // http bearer authentication required
33443
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
33444
+
33445
+ if (page !== undefined) {
33446
+ localVarQueryParameter['page'] = page;
33447
+ }
33448
+
33449
+ if (limit !== undefined) {
33450
+ localVarQueryParameter['limit'] = limit;
33451
+ }
33452
+
33453
+ if (status !== undefined) {
33454
+ localVarQueryParameter['status'] = status;
33455
+ }
33456
+
33457
+
33458
+
33194
33459
  setSearchParams(localVarUrlObj, localVarQueryParameter);
33195
33460
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33196
33461
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -33444,6 +33709,21 @@ export const EventsStaffApiFp = function(configuration?: Configuration) {
33444
33709
  const localVarOperationServerBasePath = operationServerMap['EventsStaffApi.getEventByIdForStaff']?.[localVarOperationServerIndex]?.url;
33445
33710
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
33446
33711
  },
33712
+ /**
33713
+ * Get all occurrences for a staff event series
33714
+ * @param {string} seriesId
33715
+ * @param {number} [page]
33716
+ * @param {number} [limit]
33717
+ * @param {GetEventSeriesForStaffStatusEnum} [status]
33718
+ * @param {*} [options] Override http request option.
33719
+ * @throws {RequiredError}
33720
+ */
33721
+ async getEventSeriesForStaff(seriesId: string, page?: number, limit?: number, status?: GetEventSeriesForStaffStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffEventSeriesResponse>> {
33722
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventSeriesForStaff(seriesId, page, limit, status, options);
33723
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
33724
+ const localVarOperationServerBasePath = operationServerMap['EventsStaffApi.getEventSeriesForStaff']?.[localVarOperationServerIndex]?.url;
33725
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
33726
+ },
33447
33727
  /**
33448
33728
  * Get events for the entire month view (including recurring occurrences)
33449
33729
  * @param {string} [clubId]
@@ -33543,6 +33823,15 @@ export const EventsStaffApiFactory = function (configuration?: Configuration, ba
33543
33823
  getEventByIdForStaff(requestParameters: EventsStaffApiGetEventByIdForStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffEventDetailResponse> {
33544
33824
  return localVarFp.getEventByIdForStaff(requestParameters.eventId, options).then((request) => request(axios, basePath));
33545
33825
  },
33826
+ /**
33827
+ * Get all occurrences for a staff event series
33828
+ * @param {EventsStaffApiGetEventSeriesForStaffRequest} requestParameters Request parameters.
33829
+ * @param {*} [options] Override http request option.
33830
+ * @throws {RequiredError}
33831
+ */
33832
+ getEventSeriesForStaff(requestParameters: EventsStaffApiGetEventSeriesForStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffEventSeriesResponse> {
33833
+ return localVarFp.getEventSeriesForStaff(requestParameters.seriesId, requestParameters.page, requestParameters.limit, requestParameters.status, options).then((request) => request(axios, basePath));
33834
+ },
33546
33835
  /**
33547
33836
  * Get events for the entire month view (including recurring occurrences)
33548
33837
  * @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
@@ -33657,6 +33946,41 @@ export interface EventsStaffApiGetEventByIdForStaffRequest {
33657
33946
  readonly eventId: string
33658
33947
  }
33659
33948
 
33949
+ /**
33950
+ * Request parameters for getEventSeriesForStaff operation in EventsStaffApi.
33951
+ * @export
33952
+ * @interface EventsStaffApiGetEventSeriesForStaffRequest
33953
+ */
33954
+ export interface EventsStaffApiGetEventSeriesForStaffRequest {
33955
+ /**
33956
+ *
33957
+ * @type {string}
33958
+ * @memberof EventsStaffApiGetEventSeriesForStaff
33959
+ */
33960
+ readonly seriesId: string
33961
+
33962
+ /**
33963
+ *
33964
+ * @type {number}
33965
+ * @memberof EventsStaffApiGetEventSeriesForStaff
33966
+ */
33967
+ readonly page?: number
33968
+
33969
+ /**
33970
+ *
33971
+ * @type {number}
33972
+ * @memberof EventsStaffApiGetEventSeriesForStaff
33973
+ */
33974
+ readonly limit?: number
33975
+
33976
+ /**
33977
+ *
33978
+ * @type {'all' | 'upcoming' | 'past' | 'drafts'}
33979
+ * @memberof EventsStaffApiGetEventSeriesForStaff
33980
+ */
33981
+ readonly status?: GetEventSeriesForStaffStatusEnum
33982
+ }
33983
+
33660
33984
  /**
33661
33985
  * Request parameters for getMonthlyEvents operation in EventsStaffApi.
33662
33986
  * @export
@@ -33791,6 +34115,17 @@ export class EventsStaffApi extends BaseAPI {
33791
34115
  return EventsStaffApiFp(this.configuration).getEventByIdForStaff(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
33792
34116
  }
33793
34117
 
34118
+ /**
34119
+ * Get all occurrences for a staff event series
34120
+ * @param {EventsStaffApiGetEventSeriesForStaffRequest} requestParameters Request parameters.
34121
+ * @param {*} [options] Override http request option.
34122
+ * @throws {RequiredError}
34123
+ * @memberof EventsStaffApi
34124
+ */
34125
+ public getEventSeriesForStaff(requestParameters: EventsStaffApiGetEventSeriesForStaffRequest, options?: RawAxiosRequestConfig) {
34126
+ return EventsStaffApiFp(this.configuration).getEventSeriesForStaff(requestParameters.seriesId, requestParameters.page, requestParameters.limit, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
34127
+ }
34128
+
33794
34129
  /**
33795
34130
  * Get events for the entire month view (including recurring occurrences)
33796
34131
  * @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
@@ -33851,6 +34186,16 @@ export const GetDailyEventsTypeEnum = {
33851
34186
  Closure: 'closure'
33852
34187
  } as const;
33853
34188
  export type GetDailyEventsTypeEnum = typeof GetDailyEventsTypeEnum[keyof typeof GetDailyEventsTypeEnum];
34189
+ /**
34190
+ * @export
34191
+ */
34192
+ export const GetEventSeriesForStaffStatusEnum = {
34193
+ All: 'all',
34194
+ Upcoming: 'upcoming',
34195
+ Past: 'past',
34196
+ Drafts: 'drafts'
34197
+ } as const;
34198
+ export type GetEventSeriesForStaffStatusEnum = typeof GetEventSeriesForStaffStatusEnum[keyof typeof GetEventSeriesForStaffStatusEnum];
33854
34199
  /**
33855
34200
  * @export
33856
34201
  */