@tennac-booking/sdk 1.0.168 → 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 +118 -19
- package/dist/api.d.ts +121 -22
- package/dist/esm/api.d.ts +121 -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/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
|
|
@@ -7744,6 +7744,43 @@ export interface OffPeakRule {
|
|
|
7744
7744
|
*/
|
|
7745
7745
|
'dayOfWeek': number;
|
|
7746
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
|
+
}
|
|
7747
7784
|
/**
|
|
7748
7785
|
* Make all properties in T optional
|
|
7749
7786
|
* @export
|
|
@@ -9827,6 +9864,37 @@ export interface SportWithLevels {
|
|
|
9827
9864
|
*/
|
|
9828
9865
|
'logos'?: Array<string>;
|
|
9829
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
|
+
}
|
|
9830
9898
|
/**
|
|
9831
9899
|
*
|
|
9832
9900
|
* @export
|
|
@@ -10219,6 +10287,37 @@ export interface StaffCreateBookingRequest {
|
|
|
10219
10287
|
}
|
|
10220
10288
|
|
|
10221
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
|
+
}
|
|
10222
10321
|
/**
|
|
10223
10322
|
*
|
|
10224
10323
|
* @export
|
|
@@ -20072,7 +20171,7 @@ export const ClubsApiFp = function(configuration?: Configuration) {
|
|
|
20072
20171
|
* @param {*} [options] Override http request option.
|
|
20073
20172
|
* @throws {RequiredError}
|
|
20074
20173
|
*/
|
|
20075
|
-
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>> {
|
|
20076
20175
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPublishedActualities(id, options);
|
|
20077
20176
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20078
20177
|
const localVarOperationServerBasePath = operationServerMap['ClubsApi.getPublishedActualities']?.[localVarOperationServerIndex]?.url;
|
|
@@ -20231,7 +20330,7 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
|
|
|
20231
20330
|
* @param {*} [options] Override http request option.
|
|
20232
20331
|
* @throws {RequiredError}
|
|
20233
20332
|
*/
|
|
20234
|
-
getPublishedActualities(requestParameters: ClubsApiGetPublishedActualitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
20333
|
+
getPublishedActualities(requestParameters: ClubsApiGetPublishedActualitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetPublishedActualities200Response> {
|
|
20235
20334
|
return localVarFp.getPublishedActualities(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
20236
20335
|
},
|
|
20237
20336
|
/**
|
|
@@ -22948,7 +23047,7 @@ export const ClubsStaffApiFp = function(configuration?: Configuration) {
|
|
|
22948
23047
|
* @param {*} [options] Override http request option.
|
|
22949
23048
|
* @throws {RequiredError}
|
|
22950
23049
|
*/
|
|
22951
|
-
async getActualities(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
23050
|
+
async getActualities(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffActualitiesPaginatedResponse>> {
|
|
22952
23051
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getActualities(options);
|
|
22953
23052
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22954
23053
|
const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.getActualities']?.[localVarOperationServerIndex]?.url;
|
|
@@ -23087,7 +23186,7 @@ export const ClubsStaffApiFactory = function (configuration?: Configuration, bas
|
|
|
23087
23186
|
* @param {*} [options] Override http request option.
|
|
23088
23187
|
* @throws {RequiredError}
|
|
23089
23188
|
*/
|
|
23090
|
-
getActualities(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
23189
|
+
getActualities(options?: RawAxiosRequestConfig): AxiosPromise<StaffActualitiesPaginatedResponse> {
|
|
23091
23190
|
return localVarFp.getActualities(options).then((request) => request(axios, basePath));
|
|
23092
23191
|
},
|
|
23093
23192
|
/**
|
|
@@ -25861,7 +25960,7 @@ export const EventsStaffApiFp = function(configuration?: Configuration) {
|
|
|
25861
25960
|
* @param {*} [options] Override http request option.
|
|
25862
25961
|
* @throws {RequiredError}
|
|
25863
25962
|
*/
|
|
25864
|
-
async getEventsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
25963
|
+
async getEventsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffEventsPaginatedResponse>> {
|
|
25865
25964
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventsByClub(options);
|
|
25866
25965
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
25867
25966
|
const localVarOperationServerBasePath = operationServerMap['EventsStaffApi.getEventsByClub']?.[localVarOperationServerIndex]?.url;
|
|
@@ -25932,7 +26031,7 @@ export const EventsStaffApiFactory = function (configuration?: Configuration, ba
|
|
|
25932
26031
|
* @param {*} [options] Override http request option.
|
|
25933
26032
|
* @throws {RequiredError}
|
|
25934
26033
|
*/
|
|
25935
|
-
getEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
26034
|
+
getEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<StaffEventsPaginatedResponse> {
|
|
25936
26035
|
return localVarFp.getEventsByClub(options).then((request) => request(axios, basePath));
|
|
25937
26036
|
},
|
|
25938
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
|
|
@@ -7614,6 +7614,43 @@ export interface OffPeakRule {
|
|
|
7614
7614
|
*/
|
|
7615
7615
|
'dayOfWeek': number;
|
|
7616
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
|
+
}
|
|
7617
7654
|
/**
|
|
7618
7655
|
* Make all properties in T optional
|
|
7619
7656
|
* @export
|
|
@@ -9653,6 +9690,37 @@ export interface SportWithLevels {
|
|
|
9653
9690
|
*/
|
|
9654
9691
|
'logos'?: Array<string>;
|
|
9655
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
|
+
}
|
|
9656
9724
|
/**
|
|
9657
9725
|
*
|
|
9658
9726
|
* @export
|
|
@@ -10035,6 +10103,37 @@ export interface StaffCreateBookingRequest {
|
|
|
10035
10103
|
*/
|
|
10036
10104
|
'paymentMethod'?: PaymentMethod;
|
|
10037
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
|
+
}
|
|
10038
10137
|
/**
|
|
10039
10138
|
*
|
|
10040
10139
|
* @export
|
|
@@ -16055,7 +16154,7 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
16055
16154
|
* @param {*} [options] Override http request option.
|
|
16056
16155
|
* @throws {RequiredError}
|
|
16057
16156
|
*/
|
|
16058
|
-
getPublishedActualities(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
16157
|
+
getPublishedActualities(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPublishedActualities200Response>>;
|
|
16059
16158
|
/**
|
|
16060
16159
|
*
|
|
16061
16160
|
* @param {string} id
|
|
@@ -16169,7 +16268,7 @@ export declare const ClubsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
16169
16268
|
* @param {*} [options] Override http request option.
|
|
16170
16269
|
* @throws {RequiredError}
|
|
16171
16270
|
*/
|
|
16172
|
-
getPublishedActualities(requestParameters: ClubsApiGetPublishedActualitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
16271
|
+
getPublishedActualities(requestParameters: ClubsApiGetPublishedActualitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetPublishedActualities200Response>;
|
|
16173
16272
|
/**
|
|
16174
16273
|
*
|
|
16175
16274
|
* @param {ClubsApiGetSlotsByClubByIdRequest} requestParameters Request parameters.
|
|
@@ -16491,7 +16590,7 @@ export declare class ClubsApi extends BaseAPI {
|
|
|
16491
16590
|
* @throws {RequiredError}
|
|
16492
16591
|
* @memberof ClubsApi
|
|
16493
16592
|
*/
|
|
16494
|
-
getPublishedActualities(requestParameters: ClubsApiGetPublishedActualitiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
16593
|
+
getPublishedActualities(requestParameters: ClubsApiGetPublishedActualitiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPublishedActualities200Response, any, {}>>;
|
|
16495
16594
|
/**
|
|
16496
16595
|
*
|
|
16497
16596
|
* @param {ClubsApiGetSlotsByClubByIdRequest} requestParameters Request parameters.
|
|
@@ -17542,7 +17641,7 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
|
|
|
17542
17641
|
* @param {*} [options] Override http request option.
|
|
17543
17642
|
* @throws {RequiredError}
|
|
17544
17643
|
*/
|
|
17545
|
-
getActualities(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
17644
|
+
getActualities(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffActualitiesPaginatedResponse>>;
|
|
17546
17645
|
/**
|
|
17547
17646
|
*
|
|
17548
17647
|
* @param {*} [options] Override http request option.
|
|
@@ -17625,7 +17724,7 @@ export declare const ClubsStaffApiFactory: (configuration?: Configuration, baseP
|
|
|
17625
17724
|
* @param {*} [options] Override http request option.
|
|
17626
17725
|
* @throws {RequiredError}
|
|
17627
17726
|
*/
|
|
17628
|
-
getActualities(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
17727
|
+
getActualities(options?: RawAxiosRequestConfig): AxiosPromise<StaffActualitiesPaginatedResponse>;
|
|
17629
17728
|
/**
|
|
17630
17729
|
*
|
|
17631
17730
|
* @param {*} [options] Override http request option.
|
|
@@ -17805,7 +17904,7 @@ export declare class ClubsStaffApi extends BaseAPI {
|
|
|
17805
17904
|
* @throws {RequiredError}
|
|
17806
17905
|
* @memberof ClubsStaffApi
|
|
17807
17906
|
*/
|
|
17808
|
-
getActualities(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
17907
|
+
getActualities(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffActualitiesPaginatedResponse, any, {}>>;
|
|
17809
17908
|
/**
|
|
17810
17909
|
*
|
|
17811
17910
|
* @param {*} [options] Override http request option.
|
|
@@ -19104,7 +19203,7 @@ export declare const EventsStaffApiFp: (configuration?: Configuration) => {
|
|
|
19104
19203
|
* @param {*} [options] Override http request option.
|
|
19105
19204
|
* @throws {RequiredError}
|
|
19106
19205
|
*/
|
|
19107
|
-
getEventsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
19206
|
+
getEventsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffEventsPaginatedResponse>>;
|
|
19108
19207
|
/**
|
|
19109
19208
|
* Get events for the entire month view (including recurring occurrences)
|
|
19110
19209
|
* @param {string} [clubId]
|
|
@@ -19152,7 +19251,7 @@ export declare const EventsStaffApiFactory: (configuration?: Configuration, base
|
|
|
19152
19251
|
* @param {*} [options] Override http request option.
|
|
19153
19252
|
* @throws {RequiredError}
|
|
19154
19253
|
*/
|
|
19155
|
-
getEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
19254
|
+
getEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<StaffEventsPaginatedResponse>;
|
|
19156
19255
|
/**
|
|
19157
19256
|
* Get events for the entire month view (including recurring occurrences)
|
|
19158
19257
|
* @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
|
|
@@ -19327,7 +19426,7 @@ export declare class EventsStaffApi extends BaseAPI {
|
|
|
19327
19426
|
* @throws {RequiredError}
|
|
19328
19427
|
* @memberof EventsStaffApi
|
|
19329
19428
|
*/
|
|
19330
|
-
getEventsByClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
19429
|
+
getEventsByClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffEventsPaginatedResponse, any, {}>>;
|
|
19331
19430
|
/**
|
|
19332
19431
|
* Get events for the entire month view (including recurring occurrences)
|
|
19333
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
|
|
@@ -7614,6 +7614,43 @@ export interface OffPeakRule {
|
|
|
7614
7614
|
*/
|
|
7615
7615
|
'dayOfWeek': number;
|
|
7616
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
|
+
}
|
|
7617
7654
|
/**
|
|
7618
7655
|
* Make all properties in T optional
|
|
7619
7656
|
* @export
|
|
@@ -9653,6 +9690,37 @@ export interface SportWithLevels {
|
|
|
9653
9690
|
*/
|
|
9654
9691
|
'logos'?: Array<string>;
|
|
9655
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
|
+
}
|
|
9656
9724
|
/**
|
|
9657
9725
|
*
|
|
9658
9726
|
* @export
|
|
@@ -10035,6 +10103,37 @@ export interface StaffCreateBookingRequest {
|
|
|
10035
10103
|
*/
|
|
10036
10104
|
'paymentMethod'?: PaymentMethod;
|
|
10037
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
|
+
}
|
|
10038
10137
|
/**
|
|
10039
10138
|
*
|
|
10040
10139
|
* @export
|
|
@@ -16055,7 +16154,7 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
16055
16154
|
* @param {*} [options] Override http request option.
|
|
16056
16155
|
* @throws {RequiredError}
|
|
16057
16156
|
*/
|
|
16058
|
-
getPublishedActualities(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
16157
|
+
getPublishedActualities(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPublishedActualities200Response>>;
|
|
16059
16158
|
/**
|
|
16060
16159
|
*
|
|
16061
16160
|
* @param {string} id
|
|
@@ -16169,7 +16268,7 @@ export declare const ClubsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
16169
16268
|
* @param {*} [options] Override http request option.
|
|
16170
16269
|
* @throws {RequiredError}
|
|
16171
16270
|
*/
|
|
16172
|
-
getPublishedActualities(requestParameters: ClubsApiGetPublishedActualitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
16271
|
+
getPublishedActualities(requestParameters: ClubsApiGetPublishedActualitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetPublishedActualities200Response>;
|
|
16173
16272
|
/**
|
|
16174
16273
|
*
|
|
16175
16274
|
* @param {ClubsApiGetSlotsByClubByIdRequest} requestParameters Request parameters.
|
|
@@ -16491,7 +16590,7 @@ export declare class ClubsApi extends BaseAPI {
|
|
|
16491
16590
|
* @throws {RequiredError}
|
|
16492
16591
|
* @memberof ClubsApi
|
|
16493
16592
|
*/
|
|
16494
|
-
getPublishedActualities(requestParameters: ClubsApiGetPublishedActualitiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
16593
|
+
getPublishedActualities(requestParameters: ClubsApiGetPublishedActualitiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPublishedActualities200Response, any, {}>>;
|
|
16495
16594
|
/**
|
|
16496
16595
|
*
|
|
16497
16596
|
* @param {ClubsApiGetSlotsByClubByIdRequest} requestParameters Request parameters.
|
|
@@ -17542,7 +17641,7 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
|
|
|
17542
17641
|
* @param {*} [options] Override http request option.
|
|
17543
17642
|
* @throws {RequiredError}
|
|
17544
17643
|
*/
|
|
17545
|
-
getActualities(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
17644
|
+
getActualities(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffActualitiesPaginatedResponse>>;
|
|
17546
17645
|
/**
|
|
17547
17646
|
*
|
|
17548
17647
|
* @param {*} [options] Override http request option.
|
|
@@ -17625,7 +17724,7 @@ export declare const ClubsStaffApiFactory: (configuration?: Configuration, baseP
|
|
|
17625
17724
|
* @param {*} [options] Override http request option.
|
|
17626
17725
|
* @throws {RequiredError}
|
|
17627
17726
|
*/
|
|
17628
|
-
getActualities(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
17727
|
+
getActualities(options?: RawAxiosRequestConfig): AxiosPromise<StaffActualitiesPaginatedResponse>;
|
|
17629
17728
|
/**
|
|
17630
17729
|
*
|
|
17631
17730
|
* @param {*} [options] Override http request option.
|
|
@@ -17805,7 +17904,7 @@ export declare class ClubsStaffApi extends BaseAPI {
|
|
|
17805
17904
|
* @throws {RequiredError}
|
|
17806
17905
|
* @memberof ClubsStaffApi
|
|
17807
17906
|
*/
|
|
17808
|
-
getActualities(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
17907
|
+
getActualities(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffActualitiesPaginatedResponse, any, {}>>;
|
|
17809
17908
|
/**
|
|
17810
17909
|
*
|
|
17811
17910
|
* @param {*} [options] Override http request option.
|
|
@@ -19104,7 +19203,7 @@ export declare const EventsStaffApiFp: (configuration?: Configuration) => {
|
|
|
19104
19203
|
* @param {*} [options] Override http request option.
|
|
19105
19204
|
* @throws {RequiredError}
|
|
19106
19205
|
*/
|
|
19107
|
-
getEventsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
19206
|
+
getEventsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffEventsPaginatedResponse>>;
|
|
19108
19207
|
/**
|
|
19109
19208
|
* Get events for the entire month view (including recurring occurrences)
|
|
19110
19209
|
* @param {string} [clubId]
|
|
@@ -19152,7 +19251,7 @@ export declare const EventsStaffApiFactory: (configuration?: Configuration, base
|
|
|
19152
19251
|
* @param {*} [options] Override http request option.
|
|
19153
19252
|
* @throws {RequiredError}
|
|
19154
19253
|
*/
|
|
19155
|
-
getEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
19254
|
+
getEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<StaffEventsPaginatedResponse>;
|
|
19156
19255
|
/**
|
|
19157
19256
|
* Get events for the entire month view (including recurring occurrences)
|
|
19158
19257
|
* @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
|
|
@@ -19327,7 +19426,7 @@ export declare class EventsStaffApi extends BaseAPI {
|
|
|
19327
19426
|
* @throws {RequiredError}
|
|
19328
19427
|
* @memberof EventsStaffApi
|
|
19329
19428
|
*/
|
|
19330
|
-
getEventsByClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
19429
|
+
getEventsByClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffEventsPaginatedResponse, any, {}>>;
|
|
19331
19430
|
/**
|
|
19332
19431
|
* Get events for the entire month view (including recurring occurrences)
|
|
19333
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
|
```
|
|
@@ -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)
|