@tennac-booking/sdk 1.0.167 → 1.0.169
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 +4 -1
- package/README.md +4 -1
- package/api.ts +124 -19
- package/dist/api.d.ts +127 -22
- package/dist/esm/api.d.ts +127 -22
- package/docs/ClubsApi.md +2 -2
- package/docs/ClubsStaffApi.md +2 -2
- package/docs/EventsStaffApi.md +2 -2
- package/docs/{GetActualities200Response.md → GetPublishedActualities200Response.md} +3 -3
- package/docs/ImageContext.md +2 -0
- package/docs/PaginationInfo.md +28 -0
- package/docs/StaffActualitiesPaginatedResponse.md +26 -0
- package/docs/StaffEventsPaginatedResponse.md +26 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -179,7 +179,6 @@ docs/FavoritePlayerRequestBody.md
|
|
|
179
179
|
docs/FavoritePlayersResponse.md
|
|
180
180
|
docs/Gender.md
|
|
181
181
|
docs/GenderPercentageResponse.md
|
|
182
|
-
docs/GetActualities200Response.md
|
|
183
182
|
docs/GetAvailableSlotsBySports200Response.md
|
|
184
183
|
docs/GetClubMembers200Response.md
|
|
185
184
|
docs/GetClubRoles200Response.md
|
|
@@ -195,6 +194,7 @@ docs/GetInfillPercentagePerPeriod200Response.md
|
|
|
195
194
|
docs/GetOpenBookings200Response.md
|
|
196
195
|
docs/GetOpenEventBookingJoinPrice200Response.md
|
|
197
196
|
docs/GetOpenEventBookings200Response.md
|
|
197
|
+
docs/GetPublishedActualities200Response.md
|
|
198
198
|
docs/GetSlotsByClubById200Response.md
|
|
199
199
|
docs/GoogleAuthRequestBody.md
|
|
200
200
|
docs/GoogleAuthResponse.md
|
|
@@ -240,6 +240,7 @@ docs/MyClubInfosResponse.md
|
|
|
240
240
|
docs/NoShowFeeResponse.md
|
|
241
241
|
docs/NoShowRateResponse.md
|
|
242
242
|
docs/OffPeakRule.md
|
|
243
|
+
docs/PaginationInfo.md
|
|
243
244
|
docs/PartialClubActiveResponse.md
|
|
244
245
|
docs/PartialClubActiveResponseLocation.md
|
|
245
246
|
docs/PartialHotelAccessSettings.md
|
|
@@ -299,6 +300,7 @@ docs/SportResponse.md
|
|
|
299
300
|
docs/SportWithLevels.md
|
|
300
301
|
docs/SportsManagerApi.md
|
|
301
302
|
docs/SportsPublicApi.md
|
|
303
|
+
docs/StaffActualitiesPaginatedResponse.md
|
|
302
304
|
docs/StaffBookingCourtSummary.md
|
|
303
305
|
docs/StaffBookingCustomerPayload.md
|
|
304
306
|
docs/StaffBookingListItem.md
|
|
@@ -308,6 +310,7 @@ docs/StaffBookingSportSummary.md
|
|
|
308
310
|
docs/StaffBookingUserSummary.md
|
|
309
311
|
docs/StaffBookingsPaginatedResponse.md
|
|
310
312
|
docs/StaffCreateBookingRequest.md
|
|
313
|
+
docs/StaffEventsPaginatedResponse.md
|
|
311
314
|
docs/StaffUserProfileResponse.md
|
|
312
315
|
docs/SubscribeRequestBody.md
|
|
313
316
|
docs/SubscriberPrice.md
|
package/README.md
CHANGED
|
@@ -410,7 +410,6 @@ Class | Method | HTTP request | Description
|
|
|
410
410
|
- [FavoritePlayersResponse](docs/FavoritePlayersResponse.md)
|
|
411
411
|
- [Gender](docs/Gender.md)
|
|
412
412
|
- [GenderPercentageResponse](docs/GenderPercentageResponse.md)
|
|
413
|
-
- [GetActualities200Response](docs/GetActualities200Response.md)
|
|
414
413
|
- [GetAvailableSlotsBySports200Response](docs/GetAvailableSlotsBySports200Response.md)
|
|
415
414
|
- [GetClubMembers200Response](docs/GetClubMembers200Response.md)
|
|
416
415
|
- [GetClubRoles200Response](docs/GetClubRoles200Response.md)
|
|
@@ -426,6 +425,7 @@ Class | Method | HTTP request | Description
|
|
|
426
425
|
- [GetOpenBookings200Response](docs/GetOpenBookings200Response.md)
|
|
427
426
|
- [GetOpenEventBookingJoinPrice200Response](docs/GetOpenEventBookingJoinPrice200Response.md)
|
|
428
427
|
- [GetOpenEventBookings200Response](docs/GetOpenEventBookings200Response.md)
|
|
428
|
+
- [GetPublishedActualities200Response](docs/GetPublishedActualities200Response.md)
|
|
429
429
|
- [GetSlotsByClubById200Response](docs/GetSlotsByClubById200Response.md)
|
|
430
430
|
- [GoogleAuthRequestBody](docs/GoogleAuthRequestBody.md)
|
|
431
431
|
- [GoogleAuthResponse](docs/GoogleAuthResponse.md)
|
|
@@ -470,6 +470,7 @@ Class | Method | HTTP request | Description
|
|
|
470
470
|
- [NoShowFeeResponse](docs/NoShowFeeResponse.md)
|
|
471
471
|
- [NoShowRateResponse](docs/NoShowRateResponse.md)
|
|
472
472
|
- [OffPeakRule](docs/OffPeakRule.md)
|
|
473
|
+
- [PaginationInfo](docs/PaginationInfo.md)
|
|
473
474
|
- [PartialClubActiveResponse](docs/PartialClubActiveResponse.md)
|
|
474
475
|
- [PartialClubActiveResponseLocation](docs/PartialClubActiveResponseLocation.md)
|
|
475
476
|
- [PartialHotelAccessSettings](docs/PartialHotelAccessSettings.md)
|
|
@@ -527,6 +528,7 @@ Class | Method | HTTP request | Description
|
|
|
527
528
|
- [SportLevel](docs/SportLevel.md)
|
|
528
529
|
- [SportResponse](docs/SportResponse.md)
|
|
529
530
|
- [SportWithLevels](docs/SportWithLevels.md)
|
|
531
|
+
- [StaffActualitiesPaginatedResponse](docs/StaffActualitiesPaginatedResponse.md)
|
|
530
532
|
- [StaffBookingCourtSummary](docs/StaffBookingCourtSummary.md)
|
|
531
533
|
- [StaffBookingCustomerPayload](docs/StaffBookingCustomerPayload.md)
|
|
532
534
|
- [StaffBookingListItem](docs/StaffBookingListItem.md)
|
|
@@ -536,6 +538,7 @@ Class | Method | HTTP request | Description
|
|
|
536
538
|
- [StaffBookingUserSummary](docs/StaffBookingUserSummary.md)
|
|
537
539
|
- [StaffBookingsPaginatedResponse](docs/StaffBookingsPaginatedResponse.md)
|
|
538
540
|
- [StaffCreateBookingRequest](docs/StaffCreateBookingRequest.md)
|
|
541
|
+
- [StaffEventsPaginatedResponse](docs/StaffEventsPaginatedResponse.md)
|
|
539
542
|
- [StaffUserProfileResponse](docs/StaffUserProfileResponse.md)
|
|
540
543
|
- [SubscribeRequestBody](docs/SubscribeRequestBody.md)
|
|
541
544
|
- [SubscriberPrice](docs/SubscriberPrice.md)
|
package/api.ts
CHANGED
|
@@ -5840,19 +5840,6 @@ export interface GenderPercentageResponse {
|
|
|
5840
5840
|
*/
|
|
5841
5841
|
'totalPlayers': number;
|
|
5842
5842
|
}
|
|
5843
|
-
/**
|
|
5844
|
-
*
|
|
5845
|
-
* @export
|
|
5846
|
-
* @interface GetActualities200Response
|
|
5847
|
-
*/
|
|
5848
|
-
export interface GetActualities200Response {
|
|
5849
|
-
/**
|
|
5850
|
-
*
|
|
5851
|
-
* @type {Array<any>}
|
|
5852
|
-
* @memberof GetActualities200Response
|
|
5853
|
-
*/
|
|
5854
|
-
'actualities': Array<any>;
|
|
5855
|
-
}
|
|
5856
5843
|
/**
|
|
5857
5844
|
*
|
|
5858
5845
|
* @export
|
|
@@ -6200,6 +6187,19 @@ export interface GetOpenEventBookings200Response {
|
|
|
6200
6187
|
*/
|
|
6201
6188
|
'eventBookings': Array<EventBookingResponse>;
|
|
6202
6189
|
}
|
|
6190
|
+
/**
|
|
6191
|
+
*
|
|
6192
|
+
* @export
|
|
6193
|
+
* @interface GetPublishedActualities200Response
|
|
6194
|
+
*/
|
|
6195
|
+
export interface GetPublishedActualities200Response {
|
|
6196
|
+
/**
|
|
6197
|
+
*
|
|
6198
|
+
* @type {Array<any>}
|
|
6199
|
+
* @memberof GetPublishedActualities200Response
|
|
6200
|
+
*/
|
|
6201
|
+
'actualities': Array<any>;
|
|
6202
|
+
}
|
|
6203
6203
|
/**
|
|
6204
6204
|
*
|
|
6205
6205
|
* @export
|
|
@@ -6867,6 +6867,12 @@ export interface ImageContext {
|
|
|
6867
6867
|
* @memberof ImageContext
|
|
6868
6868
|
*/
|
|
6869
6869
|
'clubId'?: string;
|
|
6870
|
+
/**
|
|
6871
|
+
*
|
|
6872
|
+
* @type {string}
|
|
6873
|
+
* @memberof ImageContext
|
|
6874
|
+
*/
|
|
6875
|
+
'sponsorName'?: string;
|
|
6870
6876
|
/**
|
|
6871
6877
|
*
|
|
6872
6878
|
* @type {string}
|
|
@@ -7738,6 +7744,43 @@ export interface OffPeakRule {
|
|
|
7738
7744
|
*/
|
|
7739
7745
|
'dayOfWeek': number;
|
|
7740
7746
|
}
|
|
7747
|
+
/**
|
|
7748
|
+
*
|
|
7749
|
+
* @export
|
|
7750
|
+
* @interface PaginationInfo
|
|
7751
|
+
*/
|
|
7752
|
+
export interface PaginationInfo {
|
|
7753
|
+
/**
|
|
7754
|
+
*
|
|
7755
|
+
* @type {number}
|
|
7756
|
+
* @memberof PaginationInfo
|
|
7757
|
+
*/
|
|
7758
|
+
'page': number;
|
|
7759
|
+
/**
|
|
7760
|
+
*
|
|
7761
|
+
* @type {number}
|
|
7762
|
+
* @memberof PaginationInfo
|
|
7763
|
+
*/
|
|
7764
|
+
'pageSize': number;
|
|
7765
|
+
/**
|
|
7766
|
+
*
|
|
7767
|
+
* @type {number}
|
|
7768
|
+
* @memberof PaginationInfo
|
|
7769
|
+
*/
|
|
7770
|
+
'totalItems': number;
|
|
7771
|
+
/**
|
|
7772
|
+
*
|
|
7773
|
+
* @type {number}
|
|
7774
|
+
* @memberof PaginationInfo
|
|
7775
|
+
*/
|
|
7776
|
+
'totalPages': number;
|
|
7777
|
+
/**
|
|
7778
|
+
*
|
|
7779
|
+
* @type {boolean}
|
|
7780
|
+
* @memberof PaginationInfo
|
|
7781
|
+
*/
|
|
7782
|
+
'hasMore': boolean;
|
|
7783
|
+
}
|
|
7741
7784
|
/**
|
|
7742
7785
|
* Make all properties in T optional
|
|
7743
7786
|
* @export
|
|
@@ -9821,6 +9864,37 @@ export interface SportWithLevels {
|
|
|
9821
9864
|
*/
|
|
9822
9865
|
'logos'?: Array<string>;
|
|
9823
9866
|
}
|
|
9867
|
+
/**
|
|
9868
|
+
*
|
|
9869
|
+
* @export
|
|
9870
|
+
* @interface StaffActualitiesPaginatedResponse
|
|
9871
|
+
*/
|
|
9872
|
+
export interface StaffActualitiesPaginatedResponse {
|
|
9873
|
+
/**
|
|
9874
|
+
*
|
|
9875
|
+
* @type {Array<any>}
|
|
9876
|
+
* @memberof StaffActualitiesPaginatedResponse
|
|
9877
|
+
*/
|
|
9878
|
+
'upcoming': Array<any>;
|
|
9879
|
+
/**
|
|
9880
|
+
*
|
|
9881
|
+
* @type {Array<any>}
|
|
9882
|
+
* @memberof StaffActualitiesPaginatedResponse
|
|
9883
|
+
*/
|
|
9884
|
+
'past': Array<any>;
|
|
9885
|
+
/**
|
|
9886
|
+
*
|
|
9887
|
+
* @type {PaginationInfo}
|
|
9888
|
+
* @memberof StaffActualitiesPaginatedResponse
|
|
9889
|
+
*/
|
|
9890
|
+
'upcomingPagination': PaginationInfo;
|
|
9891
|
+
/**
|
|
9892
|
+
*
|
|
9893
|
+
* @type {PaginationInfo}
|
|
9894
|
+
* @memberof StaffActualitiesPaginatedResponse
|
|
9895
|
+
*/
|
|
9896
|
+
'pastPagination': PaginationInfo;
|
|
9897
|
+
}
|
|
9824
9898
|
/**
|
|
9825
9899
|
*
|
|
9826
9900
|
* @export
|
|
@@ -10213,6 +10287,37 @@ export interface StaffCreateBookingRequest {
|
|
|
10213
10287
|
}
|
|
10214
10288
|
|
|
10215
10289
|
|
|
10290
|
+
/**
|
|
10291
|
+
*
|
|
10292
|
+
* @export
|
|
10293
|
+
* @interface StaffEventsPaginatedResponse
|
|
10294
|
+
*/
|
|
10295
|
+
export interface StaffEventsPaginatedResponse {
|
|
10296
|
+
/**
|
|
10297
|
+
*
|
|
10298
|
+
* @type {Array<EventResponse>}
|
|
10299
|
+
* @memberof StaffEventsPaginatedResponse
|
|
10300
|
+
*/
|
|
10301
|
+
'upcoming': Array<EventResponse>;
|
|
10302
|
+
/**
|
|
10303
|
+
*
|
|
10304
|
+
* @type {Array<EventResponse>}
|
|
10305
|
+
* @memberof StaffEventsPaginatedResponse
|
|
10306
|
+
*/
|
|
10307
|
+
'past': Array<EventResponse>;
|
|
10308
|
+
/**
|
|
10309
|
+
*
|
|
10310
|
+
* @type {PaginationInfo}
|
|
10311
|
+
* @memberof StaffEventsPaginatedResponse
|
|
10312
|
+
*/
|
|
10313
|
+
'upcomingPagination': PaginationInfo;
|
|
10314
|
+
/**
|
|
10315
|
+
*
|
|
10316
|
+
* @type {PaginationInfo}
|
|
10317
|
+
* @memberof StaffEventsPaginatedResponse
|
|
10318
|
+
*/
|
|
10319
|
+
'pastPagination': PaginationInfo;
|
|
10320
|
+
}
|
|
10216
10321
|
/**
|
|
10217
10322
|
*
|
|
10218
10323
|
* @export
|
|
@@ -20066,7 +20171,7 @@ export const ClubsApiFp = function(configuration?: Configuration) {
|
|
|
20066
20171
|
* @param {*} [options] Override http request option.
|
|
20067
20172
|
* @throws {RequiredError}
|
|
20068
20173
|
*/
|
|
20069
|
-
async getPublishedActualities(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
20174
|
+
async getPublishedActualities(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPublishedActualities200Response>> {
|
|
20070
20175
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPublishedActualities(id, options);
|
|
20071
20176
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20072
20177
|
const localVarOperationServerBasePath = operationServerMap['ClubsApi.getPublishedActualities']?.[localVarOperationServerIndex]?.url;
|
|
@@ -20225,7 +20330,7 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
|
|
|
20225
20330
|
* @param {*} [options] Override http request option.
|
|
20226
20331
|
* @throws {RequiredError}
|
|
20227
20332
|
*/
|
|
20228
|
-
getPublishedActualities(requestParameters: ClubsApiGetPublishedActualitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
20333
|
+
getPublishedActualities(requestParameters: ClubsApiGetPublishedActualitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetPublishedActualities200Response> {
|
|
20229
20334
|
return localVarFp.getPublishedActualities(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
20230
20335
|
},
|
|
20231
20336
|
/**
|
|
@@ -22942,7 +23047,7 @@ export const ClubsStaffApiFp = function(configuration?: Configuration) {
|
|
|
22942
23047
|
* @param {*} [options] Override http request option.
|
|
22943
23048
|
* @throws {RequiredError}
|
|
22944
23049
|
*/
|
|
22945
|
-
async getActualities(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
23050
|
+
async getActualities(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffActualitiesPaginatedResponse>> {
|
|
22946
23051
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getActualities(options);
|
|
22947
23052
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22948
23053
|
const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.getActualities']?.[localVarOperationServerIndex]?.url;
|
|
@@ -23081,7 +23186,7 @@ export const ClubsStaffApiFactory = function (configuration?: Configuration, bas
|
|
|
23081
23186
|
* @param {*} [options] Override http request option.
|
|
23082
23187
|
* @throws {RequiredError}
|
|
23083
23188
|
*/
|
|
23084
|
-
getActualities(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
23189
|
+
getActualities(options?: RawAxiosRequestConfig): AxiosPromise<StaffActualitiesPaginatedResponse> {
|
|
23085
23190
|
return localVarFp.getActualities(options).then((request) => request(axios, basePath));
|
|
23086
23191
|
},
|
|
23087
23192
|
/**
|
|
@@ -25855,7 +25960,7 @@ export const EventsStaffApiFp = function(configuration?: Configuration) {
|
|
|
25855
25960
|
* @param {*} [options] Override http request option.
|
|
25856
25961
|
* @throws {RequiredError}
|
|
25857
25962
|
*/
|
|
25858
|
-
async getEventsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
25963
|
+
async getEventsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffEventsPaginatedResponse>> {
|
|
25859
25964
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventsByClub(options);
|
|
25860
25965
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
25861
25966
|
const localVarOperationServerBasePath = operationServerMap['EventsStaffApi.getEventsByClub']?.[localVarOperationServerIndex]?.url;
|
|
@@ -25926,7 +26031,7 @@ export const EventsStaffApiFactory = function (configuration?: Configuration, ba
|
|
|
25926
26031
|
* @param {*} [options] Override http request option.
|
|
25927
26032
|
* @throws {RequiredError}
|
|
25928
26033
|
*/
|
|
25929
|
-
getEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
26034
|
+
getEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<StaffEventsPaginatedResponse> {
|
|
25930
26035
|
return localVarFp.getEventsByClub(options).then((request) => request(axios, basePath));
|
|
25931
26036
|
},
|
|
25932
26037
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -5733,19 +5733,6 @@ export interface GenderPercentageResponse {
|
|
|
5733
5733
|
*/
|
|
5734
5734
|
'totalPlayers': number;
|
|
5735
5735
|
}
|
|
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
5736
|
/**
|
|
5750
5737
|
*
|
|
5751
5738
|
* @export
|
|
@@ -6091,6 +6078,19 @@ export interface GetOpenEventBookings200Response {
|
|
|
6091
6078
|
*/
|
|
6092
6079
|
'eventBookings': Array<EventBookingResponse>;
|
|
6093
6080
|
}
|
|
6081
|
+
/**
|
|
6082
|
+
*
|
|
6083
|
+
* @export
|
|
6084
|
+
* @interface GetPublishedActualities200Response
|
|
6085
|
+
*/
|
|
6086
|
+
export interface GetPublishedActualities200Response {
|
|
6087
|
+
/**
|
|
6088
|
+
*
|
|
6089
|
+
* @type {Array<any>}
|
|
6090
|
+
* @memberof GetPublishedActualities200Response
|
|
6091
|
+
*/
|
|
6092
|
+
'actualities': Array<any>;
|
|
6093
|
+
}
|
|
6094
6094
|
/**
|
|
6095
6095
|
*
|
|
6096
6096
|
* @export
|
|
@@ -6757,6 +6757,12 @@ export interface ImageContext {
|
|
|
6757
6757
|
* @memberof ImageContext
|
|
6758
6758
|
*/
|
|
6759
6759
|
'clubId'?: string;
|
|
6760
|
+
/**
|
|
6761
|
+
*
|
|
6762
|
+
* @type {string}
|
|
6763
|
+
* @memberof ImageContext
|
|
6764
|
+
*/
|
|
6765
|
+
'sponsorName'?: string;
|
|
6760
6766
|
/**
|
|
6761
6767
|
*
|
|
6762
6768
|
* @type {string}
|
|
@@ -7608,6 +7614,43 @@ export interface OffPeakRule {
|
|
|
7608
7614
|
*/
|
|
7609
7615
|
'dayOfWeek': number;
|
|
7610
7616
|
}
|
|
7617
|
+
/**
|
|
7618
|
+
*
|
|
7619
|
+
* @export
|
|
7620
|
+
* @interface PaginationInfo
|
|
7621
|
+
*/
|
|
7622
|
+
export interface PaginationInfo {
|
|
7623
|
+
/**
|
|
7624
|
+
*
|
|
7625
|
+
* @type {number}
|
|
7626
|
+
* @memberof PaginationInfo
|
|
7627
|
+
*/
|
|
7628
|
+
'page': number;
|
|
7629
|
+
/**
|
|
7630
|
+
*
|
|
7631
|
+
* @type {number}
|
|
7632
|
+
* @memberof PaginationInfo
|
|
7633
|
+
*/
|
|
7634
|
+
'pageSize': number;
|
|
7635
|
+
/**
|
|
7636
|
+
*
|
|
7637
|
+
* @type {number}
|
|
7638
|
+
* @memberof PaginationInfo
|
|
7639
|
+
*/
|
|
7640
|
+
'totalItems': number;
|
|
7641
|
+
/**
|
|
7642
|
+
*
|
|
7643
|
+
* @type {number}
|
|
7644
|
+
* @memberof PaginationInfo
|
|
7645
|
+
*/
|
|
7646
|
+
'totalPages': number;
|
|
7647
|
+
/**
|
|
7648
|
+
*
|
|
7649
|
+
* @type {boolean}
|
|
7650
|
+
* @memberof PaginationInfo
|
|
7651
|
+
*/
|
|
7652
|
+
'hasMore': boolean;
|
|
7653
|
+
}
|
|
7611
7654
|
/**
|
|
7612
7655
|
* Make all properties in T optional
|
|
7613
7656
|
* @export
|
|
@@ -9647,6 +9690,37 @@ export interface SportWithLevels {
|
|
|
9647
9690
|
*/
|
|
9648
9691
|
'logos'?: Array<string>;
|
|
9649
9692
|
}
|
|
9693
|
+
/**
|
|
9694
|
+
*
|
|
9695
|
+
* @export
|
|
9696
|
+
* @interface StaffActualitiesPaginatedResponse
|
|
9697
|
+
*/
|
|
9698
|
+
export interface StaffActualitiesPaginatedResponse {
|
|
9699
|
+
/**
|
|
9700
|
+
*
|
|
9701
|
+
* @type {Array<any>}
|
|
9702
|
+
* @memberof StaffActualitiesPaginatedResponse
|
|
9703
|
+
*/
|
|
9704
|
+
'upcoming': Array<any>;
|
|
9705
|
+
/**
|
|
9706
|
+
*
|
|
9707
|
+
* @type {Array<any>}
|
|
9708
|
+
* @memberof StaffActualitiesPaginatedResponse
|
|
9709
|
+
*/
|
|
9710
|
+
'past': Array<any>;
|
|
9711
|
+
/**
|
|
9712
|
+
*
|
|
9713
|
+
* @type {PaginationInfo}
|
|
9714
|
+
* @memberof StaffActualitiesPaginatedResponse
|
|
9715
|
+
*/
|
|
9716
|
+
'upcomingPagination': PaginationInfo;
|
|
9717
|
+
/**
|
|
9718
|
+
*
|
|
9719
|
+
* @type {PaginationInfo}
|
|
9720
|
+
* @memberof StaffActualitiesPaginatedResponse
|
|
9721
|
+
*/
|
|
9722
|
+
'pastPagination': PaginationInfo;
|
|
9723
|
+
}
|
|
9650
9724
|
/**
|
|
9651
9725
|
*
|
|
9652
9726
|
* @export
|
|
@@ -10029,6 +10103,37 @@ export interface StaffCreateBookingRequest {
|
|
|
10029
10103
|
*/
|
|
10030
10104
|
'paymentMethod'?: PaymentMethod;
|
|
10031
10105
|
}
|
|
10106
|
+
/**
|
|
10107
|
+
*
|
|
10108
|
+
* @export
|
|
10109
|
+
* @interface StaffEventsPaginatedResponse
|
|
10110
|
+
*/
|
|
10111
|
+
export interface StaffEventsPaginatedResponse {
|
|
10112
|
+
/**
|
|
10113
|
+
*
|
|
10114
|
+
* @type {Array<EventResponse>}
|
|
10115
|
+
* @memberof StaffEventsPaginatedResponse
|
|
10116
|
+
*/
|
|
10117
|
+
'upcoming': Array<EventResponse>;
|
|
10118
|
+
/**
|
|
10119
|
+
*
|
|
10120
|
+
* @type {Array<EventResponse>}
|
|
10121
|
+
* @memberof StaffEventsPaginatedResponse
|
|
10122
|
+
*/
|
|
10123
|
+
'past': Array<EventResponse>;
|
|
10124
|
+
/**
|
|
10125
|
+
*
|
|
10126
|
+
* @type {PaginationInfo}
|
|
10127
|
+
* @memberof StaffEventsPaginatedResponse
|
|
10128
|
+
*/
|
|
10129
|
+
'upcomingPagination': PaginationInfo;
|
|
10130
|
+
/**
|
|
10131
|
+
*
|
|
10132
|
+
* @type {PaginationInfo}
|
|
10133
|
+
* @memberof StaffEventsPaginatedResponse
|
|
10134
|
+
*/
|
|
10135
|
+
'pastPagination': PaginationInfo;
|
|
10136
|
+
}
|
|
10032
10137
|
/**
|
|
10033
10138
|
*
|
|
10034
10139
|
* @export
|
|
@@ -16049,7 +16154,7 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
16049
16154
|
* @param {*} [options] Override http request option.
|
|
16050
16155
|
* @throws {RequiredError}
|
|
16051
16156
|
*/
|
|
16052
|
-
getPublishedActualities(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
16157
|
+
getPublishedActualities(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPublishedActualities200Response>>;
|
|
16053
16158
|
/**
|
|
16054
16159
|
*
|
|
16055
16160
|
* @param {string} id
|
|
@@ -16163,7 +16268,7 @@ export declare const ClubsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
16163
16268
|
* @param {*} [options] Override http request option.
|
|
16164
16269
|
* @throws {RequiredError}
|
|
16165
16270
|
*/
|
|
16166
|
-
getPublishedActualities(requestParameters: ClubsApiGetPublishedActualitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
16271
|
+
getPublishedActualities(requestParameters: ClubsApiGetPublishedActualitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetPublishedActualities200Response>;
|
|
16167
16272
|
/**
|
|
16168
16273
|
*
|
|
16169
16274
|
* @param {ClubsApiGetSlotsByClubByIdRequest} requestParameters Request parameters.
|
|
@@ -16485,7 +16590,7 @@ export declare class ClubsApi extends BaseAPI {
|
|
|
16485
16590
|
* @throws {RequiredError}
|
|
16486
16591
|
* @memberof ClubsApi
|
|
16487
16592
|
*/
|
|
16488
|
-
getPublishedActualities(requestParameters: ClubsApiGetPublishedActualitiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
16593
|
+
getPublishedActualities(requestParameters: ClubsApiGetPublishedActualitiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPublishedActualities200Response, any, {}>>;
|
|
16489
16594
|
/**
|
|
16490
16595
|
*
|
|
16491
16596
|
* @param {ClubsApiGetSlotsByClubByIdRequest} requestParameters Request parameters.
|
|
@@ -17536,7 +17641,7 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
|
|
|
17536
17641
|
* @param {*} [options] Override http request option.
|
|
17537
17642
|
* @throws {RequiredError}
|
|
17538
17643
|
*/
|
|
17539
|
-
getActualities(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
17644
|
+
getActualities(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffActualitiesPaginatedResponse>>;
|
|
17540
17645
|
/**
|
|
17541
17646
|
*
|
|
17542
17647
|
* @param {*} [options] Override http request option.
|
|
@@ -17619,7 +17724,7 @@ export declare const ClubsStaffApiFactory: (configuration?: Configuration, baseP
|
|
|
17619
17724
|
* @param {*} [options] Override http request option.
|
|
17620
17725
|
* @throws {RequiredError}
|
|
17621
17726
|
*/
|
|
17622
|
-
getActualities(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
17727
|
+
getActualities(options?: RawAxiosRequestConfig): AxiosPromise<StaffActualitiesPaginatedResponse>;
|
|
17623
17728
|
/**
|
|
17624
17729
|
*
|
|
17625
17730
|
* @param {*} [options] Override http request option.
|
|
@@ -17799,7 +17904,7 @@ export declare class ClubsStaffApi extends BaseAPI {
|
|
|
17799
17904
|
* @throws {RequiredError}
|
|
17800
17905
|
* @memberof ClubsStaffApi
|
|
17801
17906
|
*/
|
|
17802
|
-
getActualities(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
17907
|
+
getActualities(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffActualitiesPaginatedResponse, any, {}>>;
|
|
17803
17908
|
/**
|
|
17804
17909
|
*
|
|
17805
17910
|
* @param {*} [options] Override http request option.
|
|
@@ -19098,7 +19203,7 @@ export declare const EventsStaffApiFp: (configuration?: Configuration) => {
|
|
|
19098
19203
|
* @param {*} [options] Override http request option.
|
|
19099
19204
|
* @throws {RequiredError}
|
|
19100
19205
|
*/
|
|
19101
|
-
getEventsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
19206
|
+
getEventsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffEventsPaginatedResponse>>;
|
|
19102
19207
|
/**
|
|
19103
19208
|
* Get events for the entire month view (including recurring occurrences)
|
|
19104
19209
|
* @param {string} [clubId]
|
|
@@ -19146,7 +19251,7 @@ export declare const EventsStaffApiFactory: (configuration?: Configuration, base
|
|
|
19146
19251
|
* @param {*} [options] Override http request option.
|
|
19147
19252
|
* @throws {RequiredError}
|
|
19148
19253
|
*/
|
|
19149
|
-
getEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
19254
|
+
getEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<StaffEventsPaginatedResponse>;
|
|
19150
19255
|
/**
|
|
19151
19256
|
* Get events for the entire month view (including recurring occurrences)
|
|
19152
19257
|
* @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
|
|
@@ -19321,7 +19426,7 @@ export declare class EventsStaffApi extends BaseAPI {
|
|
|
19321
19426
|
* @throws {RequiredError}
|
|
19322
19427
|
* @memberof EventsStaffApi
|
|
19323
19428
|
*/
|
|
19324
|
-
getEventsByClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
19429
|
+
getEventsByClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffEventsPaginatedResponse, any, {}>>;
|
|
19325
19430
|
/**
|
|
19326
19431
|
* Get events for the entire month view (including recurring occurrences)
|
|
19327
19432
|
* @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -5733,19 +5733,6 @@ export interface GenderPercentageResponse {
|
|
|
5733
5733
|
*/
|
|
5734
5734
|
'totalPlayers': number;
|
|
5735
5735
|
}
|
|
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
5736
|
/**
|
|
5750
5737
|
*
|
|
5751
5738
|
* @export
|
|
@@ -6091,6 +6078,19 @@ export interface GetOpenEventBookings200Response {
|
|
|
6091
6078
|
*/
|
|
6092
6079
|
'eventBookings': Array<EventBookingResponse>;
|
|
6093
6080
|
}
|
|
6081
|
+
/**
|
|
6082
|
+
*
|
|
6083
|
+
* @export
|
|
6084
|
+
* @interface GetPublishedActualities200Response
|
|
6085
|
+
*/
|
|
6086
|
+
export interface GetPublishedActualities200Response {
|
|
6087
|
+
/**
|
|
6088
|
+
*
|
|
6089
|
+
* @type {Array<any>}
|
|
6090
|
+
* @memberof GetPublishedActualities200Response
|
|
6091
|
+
*/
|
|
6092
|
+
'actualities': Array<any>;
|
|
6093
|
+
}
|
|
6094
6094
|
/**
|
|
6095
6095
|
*
|
|
6096
6096
|
* @export
|
|
@@ -6757,6 +6757,12 @@ export interface ImageContext {
|
|
|
6757
6757
|
* @memberof ImageContext
|
|
6758
6758
|
*/
|
|
6759
6759
|
'clubId'?: string;
|
|
6760
|
+
/**
|
|
6761
|
+
*
|
|
6762
|
+
* @type {string}
|
|
6763
|
+
* @memberof ImageContext
|
|
6764
|
+
*/
|
|
6765
|
+
'sponsorName'?: string;
|
|
6760
6766
|
/**
|
|
6761
6767
|
*
|
|
6762
6768
|
* @type {string}
|
|
@@ -7608,6 +7614,43 @@ export interface OffPeakRule {
|
|
|
7608
7614
|
*/
|
|
7609
7615
|
'dayOfWeek': number;
|
|
7610
7616
|
}
|
|
7617
|
+
/**
|
|
7618
|
+
*
|
|
7619
|
+
* @export
|
|
7620
|
+
* @interface PaginationInfo
|
|
7621
|
+
*/
|
|
7622
|
+
export interface PaginationInfo {
|
|
7623
|
+
/**
|
|
7624
|
+
*
|
|
7625
|
+
* @type {number}
|
|
7626
|
+
* @memberof PaginationInfo
|
|
7627
|
+
*/
|
|
7628
|
+
'page': number;
|
|
7629
|
+
/**
|
|
7630
|
+
*
|
|
7631
|
+
* @type {number}
|
|
7632
|
+
* @memberof PaginationInfo
|
|
7633
|
+
*/
|
|
7634
|
+
'pageSize': number;
|
|
7635
|
+
/**
|
|
7636
|
+
*
|
|
7637
|
+
* @type {number}
|
|
7638
|
+
* @memberof PaginationInfo
|
|
7639
|
+
*/
|
|
7640
|
+
'totalItems': number;
|
|
7641
|
+
/**
|
|
7642
|
+
*
|
|
7643
|
+
* @type {number}
|
|
7644
|
+
* @memberof PaginationInfo
|
|
7645
|
+
*/
|
|
7646
|
+
'totalPages': number;
|
|
7647
|
+
/**
|
|
7648
|
+
*
|
|
7649
|
+
* @type {boolean}
|
|
7650
|
+
* @memberof PaginationInfo
|
|
7651
|
+
*/
|
|
7652
|
+
'hasMore': boolean;
|
|
7653
|
+
}
|
|
7611
7654
|
/**
|
|
7612
7655
|
* Make all properties in T optional
|
|
7613
7656
|
* @export
|
|
@@ -9647,6 +9690,37 @@ export interface SportWithLevels {
|
|
|
9647
9690
|
*/
|
|
9648
9691
|
'logos'?: Array<string>;
|
|
9649
9692
|
}
|
|
9693
|
+
/**
|
|
9694
|
+
*
|
|
9695
|
+
* @export
|
|
9696
|
+
* @interface StaffActualitiesPaginatedResponse
|
|
9697
|
+
*/
|
|
9698
|
+
export interface StaffActualitiesPaginatedResponse {
|
|
9699
|
+
/**
|
|
9700
|
+
*
|
|
9701
|
+
* @type {Array<any>}
|
|
9702
|
+
* @memberof StaffActualitiesPaginatedResponse
|
|
9703
|
+
*/
|
|
9704
|
+
'upcoming': Array<any>;
|
|
9705
|
+
/**
|
|
9706
|
+
*
|
|
9707
|
+
* @type {Array<any>}
|
|
9708
|
+
* @memberof StaffActualitiesPaginatedResponse
|
|
9709
|
+
*/
|
|
9710
|
+
'past': Array<any>;
|
|
9711
|
+
/**
|
|
9712
|
+
*
|
|
9713
|
+
* @type {PaginationInfo}
|
|
9714
|
+
* @memberof StaffActualitiesPaginatedResponse
|
|
9715
|
+
*/
|
|
9716
|
+
'upcomingPagination': PaginationInfo;
|
|
9717
|
+
/**
|
|
9718
|
+
*
|
|
9719
|
+
* @type {PaginationInfo}
|
|
9720
|
+
* @memberof StaffActualitiesPaginatedResponse
|
|
9721
|
+
*/
|
|
9722
|
+
'pastPagination': PaginationInfo;
|
|
9723
|
+
}
|
|
9650
9724
|
/**
|
|
9651
9725
|
*
|
|
9652
9726
|
* @export
|
|
@@ -10029,6 +10103,37 @@ export interface StaffCreateBookingRequest {
|
|
|
10029
10103
|
*/
|
|
10030
10104
|
'paymentMethod'?: PaymentMethod;
|
|
10031
10105
|
}
|
|
10106
|
+
/**
|
|
10107
|
+
*
|
|
10108
|
+
* @export
|
|
10109
|
+
* @interface StaffEventsPaginatedResponse
|
|
10110
|
+
*/
|
|
10111
|
+
export interface StaffEventsPaginatedResponse {
|
|
10112
|
+
/**
|
|
10113
|
+
*
|
|
10114
|
+
* @type {Array<EventResponse>}
|
|
10115
|
+
* @memberof StaffEventsPaginatedResponse
|
|
10116
|
+
*/
|
|
10117
|
+
'upcoming': Array<EventResponse>;
|
|
10118
|
+
/**
|
|
10119
|
+
*
|
|
10120
|
+
* @type {Array<EventResponse>}
|
|
10121
|
+
* @memberof StaffEventsPaginatedResponse
|
|
10122
|
+
*/
|
|
10123
|
+
'past': Array<EventResponse>;
|
|
10124
|
+
/**
|
|
10125
|
+
*
|
|
10126
|
+
* @type {PaginationInfo}
|
|
10127
|
+
* @memberof StaffEventsPaginatedResponse
|
|
10128
|
+
*/
|
|
10129
|
+
'upcomingPagination': PaginationInfo;
|
|
10130
|
+
/**
|
|
10131
|
+
*
|
|
10132
|
+
* @type {PaginationInfo}
|
|
10133
|
+
* @memberof StaffEventsPaginatedResponse
|
|
10134
|
+
*/
|
|
10135
|
+
'pastPagination': PaginationInfo;
|
|
10136
|
+
}
|
|
10032
10137
|
/**
|
|
10033
10138
|
*
|
|
10034
10139
|
* @export
|
|
@@ -16049,7 +16154,7 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
16049
16154
|
* @param {*} [options] Override http request option.
|
|
16050
16155
|
* @throws {RequiredError}
|
|
16051
16156
|
*/
|
|
16052
|
-
getPublishedActualities(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
16157
|
+
getPublishedActualities(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPublishedActualities200Response>>;
|
|
16053
16158
|
/**
|
|
16054
16159
|
*
|
|
16055
16160
|
* @param {string} id
|
|
@@ -16163,7 +16268,7 @@ export declare const ClubsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
16163
16268
|
* @param {*} [options] Override http request option.
|
|
16164
16269
|
* @throws {RequiredError}
|
|
16165
16270
|
*/
|
|
16166
|
-
getPublishedActualities(requestParameters: ClubsApiGetPublishedActualitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
16271
|
+
getPublishedActualities(requestParameters: ClubsApiGetPublishedActualitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetPublishedActualities200Response>;
|
|
16167
16272
|
/**
|
|
16168
16273
|
*
|
|
16169
16274
|
* @param {ClubsApiGetSlotsByClubByIdRequest} requestParameters Request parameters.
|
|
@@ -16485,7 +16590,7 @@ export declare class ClubsApi extends BaseAPI {
|
|
|
16485
16590
|
* @throws {RequiredError}
|
|
16486
16591
|
* @memberof ClubsApi
|
|
16487
16592
|
*/
|
|
16488
|
-
getPublishedActualities(requestParameters: ClubsApiGetPublishedActualitiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
16593
|
+
getPublishedActualities(requestParameters: ClubsApiGetPublishedActualitiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPublishedActualities200Response, any, {}>>;
|
|
16489
16594
|
/**
|
|
16490
16595
|
*
|
|
16491
16596
|
* @param {ClubsApiGetSlotsByClubByIdRequest} requestParameters Request parameters.
|
|
@@ -17536,7 +17641,7 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
|
|
|
17536
17641
|
* @param {*} [options] Override http request option.
|
|
17537
17642
|
* @throws {RequiredError}
|
|
17538
17643
|
*/
|
|
17539
|
-
getActualities(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
17644
|
+
getActualities(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffActualitiesPaginatedResponse>>;
|
|
17540
17645
|
/**
|
|
17541
17646
|
*
|
|
17542
17647
|
* @param {*} [options] Override http request option.
|
|
@@ -17619,7 +17724,7 @@ export declare const ClubsStaffApiFactory: (configuration?: Configuration, baseP
|
|
|
17619
17724
|
* @param {*} [options] Override http request option.
|
|
17620
17725
|
* @throws {RequiredError}
|
|
17621
17726
|
*/
|
|
17622
|
-
getActualities(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
17727
|
+
getActualities(options?: RawAxiosRequestConfig): AxiosPromise<StaffActualitiesPaginatedResponse>;
|
|
17623
17728
|
/**
|
|
17624
17729
|
*
|
|
17625
17730
|
* @param {*} [options] Override http request option.
|
|
@@ -17799,7 +17904,7 @@ export declare class ClubsStaffApi extends BaseAPI {
|
|
|
17799
17904
|
* @throws {RequiredError}
|
|
17800
17905
|
* @memberof ClubsStaffApi
|
|
17801
17906
|
*/
|
|
17802
|
-
getActualities(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
17907
|
+
getActualities(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffActualitiesPaginatedResponse, any, {}>>;
|
|
17803
17908
|
/**
|
|
17804
17909
|
*
|
|
17805
17910
|
* @param {*} [options] Override http request option.
|
|
@@ -19098,7 +19203,7 @@ export declare const EventsStaffApiFp: (configuration?: Configuration) => {
|
|
|
19098
19203
|
* @param {*} [options] Override http request option.
|
|
19099
19204
|
* @throws {RequiredError}
|
|
19100
19205
|
*/
|
|
19101
|
-
getEventsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
19206
|
+
getEventsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffEventsPaginatedResponse>>;
|
|
19102
19207
|
/**
|
|
19103
19208
|
* Get events for the entire month view (including recurring occurrences)
|
|
19104
19209
|
* @param {string} [clubId]
|
|
@@ -19146,7 +19251,7 @@ export declare const EventsStaffApiFactory: (configuration?: Configuration, base
|
|
|
19146
19251
|
* @param {*} [options] Override http request option.
|
|
19147
19252
|
* @throws {RequiredError}
|
|
19148
19253
|
*/
|
|
19149
|
-
getEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
19254
|
+
getEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<StaffEventsPaginatedResponse>;
|
|
19150
19255
|
/**
|
|
19151
19256
|
* Get events for the entire month view (including recurring occurrences)
|
|
19152
19257
|
* @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
|
|
@@ -19321,7 +19426,7 @@ export declare class EventsStaffApi extends BaseAPI {
|
|
|
19321
19426
|
* @throws {RequiredError}
|
|
19322
19427
|
* @memberof EventsStaffApi
|
|
19323
19428
|
*/
|
|
19324
|
-
getEventsByClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
19429
|
+
getEventsByClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffEventsPaginatedResponse, any, {}>>;
|
|
19325
19430
|
/**
|
|
19326
19431
|
* Get events for the entire month view (including recurring occurrences)
|
|
19327
19432
|
* @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
|
package/docs/ClubsApi.md
CHANGED
|
@@ -687,7 +687,7 @@ No authorization required
|
|
|
687
687
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
688
688
|
|
|
689
689
|
# **getPublishedActualities**
|
|
690
|
-
>
|
|
690
|
+
> GetPublishedActualities200Response getPublishedActualities()
|
|
691
691
|
|
|
692
692
|
|
|
693
693
|
### Example
|
|
@@ -717,7 +717,7 @@ const { status, data } = await apiInstance.getPublishedActualities(
|
|
|
717
717
|
|
|
718
718
|
### Return type
|
|
719
719
|
|
|
720
|
-
**
|
|
720
|
+
**GetPublishedActualities200Response**
|
|
721
721
|
|
|
722
722
|
### Authorization
|
|
723
723
|
|
package/docs/ClubsStaffApi.md
CHANGED
|
@@ -75,7 +75,7 @@ const { status, data } = await apiInstance.createOnsiteInvoiceForBooking(
|
|
|
75
75
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
76
76
|
|
|
77
77
|
# **getActualities**
|
|
78
|
-
>
|
|
78
|
+
> StaffActualitiesPaginatedResponse getActualities()
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
### Example
|
|
@@ -98,7 +98,7 @@ This endpoint does not have any parameters.
|
|
|
98
98
|
|
|
99
99
|
### Return type
|
|
100
100
|
|
|
101
|
-
**
|
|
101
|
+
**StaffActualitiesPaginatedResponse**
|
|
102
102
|
|
|
103
103
|
### Authorization
|
|
104
104
|
|
package/docs/EventsStaffApi.md
CHANGED
|
@@ -134,7 +134,7 @@ const { status, data } = await apiInstance.getDailyEvents(
|
|
|
134
134
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
135
135
|
|
|
136
136
|
# **getEventsByClub**
|
|
137
|
-
>
|
|
137
|
+
> StaffEventsPaginatedResponse getEventsByClub()
|
|
138
138
|
|
|
139
139
|
// Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
|
|
140
140
|
|
|
@@ -158,7 +158,7 @@ This endpoint does not have any parameters.
|
|
|
158
158
|
|
|
159
159
|
### Return type
|
|
160
160
|
|
|
161
|
-
**
|
|
161
|
+
**StaffEventsPaginatedResponse**
|
|
162
162
|
|
|
163
163
|
### Authorization
|
|
164
164
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# GetPublishedActualities200Response
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
@@ -10,9 +10,9 @@ Name | Type | Description | Notes
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
13
|
-
import {
|
|
13
|
+
import { GetPublishedActualities200Response } from '@tennac-booking/sdk';
|
|
14
14
|
|
|
15
|
-
const instance:
|
|
15
|
+
const instance: GetPublishedActualities200Response = {
|
|
16
16
|
actualities,
|
|
17
17
|
};
|
|
18
18
|
```
|
package/docs/ImageContext.md
CHANGED
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**entityId** | **string** | | [default to undefined]
|
|
10
10
|
**userId** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**clubId** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**sponsorName** | **string** | | [optional] [default to undefined]
|
|
12
13
|
**sportId** | **string** | | [optional] [default to undefined]
|
|
13
14
|
**eventId** | **string** | | [optional] [default to undefined]
|
|
14
15
|
|
|
@@ -22,6 +23,7 @@ const instance: ImageContext = {
|
|
|
22
23
|
entityId,
|
|
23
24
|
userId,
|
|
24
25
|
clubId,
|
|
26
|
+
sponsorName,
|
|
25
27
|
sportId,
|
|
26
28
|
eventId,
|
|
27
29
|
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# PaginationInfo
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**page** | **number** | | [default to undefined]
|
|
9
|
+
**pageSize** | **number** | | [default to undefined]
|
|
10
|
+
**totalItems** | **number** | | [default to undefined]
|
|
11
|
+
**totalPages** | **number** | | [default to undefined]
|
|
12
|
+
**hasMore** | **boolean** | | [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { PaginationInfo } from '@tennac-booking/sdk';
|
|
18
|
+
|
|
19
|
+
const instance: PaginationInfo = {
|
|
20
|
+
page,
|
|
21
|
+
pageSize,
|
|
22
|
+
totalItems,
|
|
23
|
+
totalPages,
|
|
24
|
+
hasMore,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# StaffActualitiesPaginatedResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**upcoming** | **Array<any>** | | [default to undefined]
|
|
9
|
+
**past** | **Array<any>** | | [default to undefined]
|
|
10
|
+
**upcomingPagination** | [**PaginationInfo**](PaginationInfo.md) | | [default to undefined]
|
|
11
|
+
**pastPagination** | [**PaginationInfo**](PaginationInfo.md) | | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { StaffActualitiesPaginatedResponse } from '@tennac-booking/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: StaffActualitiesPaginatedResponse = {
|
|
19
|
+
upcoming,
|
|
20
|
+
past,
|
|
21
|
+
upcomingPagination,
|
|
22
|
+
pastPagination,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# StaffEventsPaginatedResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**upcoming** | [**Array<EventResponse>**](EventResponse.md) | | [default to undefined]
|
|
9
|
+
**past** | [**Array<EventResponse>**](EventResponse.md) | | [default to undefined]
|
|
10
|
+
**upcomingPagination** | [**PaginationInfo**](PaginationInfo.md) | | [default to undefined]
|
|
11
|
+
**pastPagination** | [**PaginationInfo**](PaginationInfo.md) | | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { StaffEventsPaginatedResponse } from '@tennac-booking/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: StaffEventsPaginatedResponse = {
|
|
19
|
+
upcoming,
|
|
20
|
+
past,
|
|
21
|
+
upcomingPagination,
|
|
22
|
+
pastPagination,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|