@tennac-booking/sdk 1.0.25 → 1.0.26
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 +12 -0
- package/README.md +18 -2
- package/api.ts +1096 -108
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +653 -1
- package/dist/api.js +608 -4
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +653 -1
- package/dist/esm/api.js +593 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/CreateEventRequest.md +30 -0
- package/docs/DeleteEvent200Response.md +20 -0
- package/docs/Event.md +40 -0
- package/docs/EventBooking.md +32 -0
- package/docs/EventRegistrationRequest.md +22 -0
- package/docs/EventsApi.md +119 -0
- package/docs/GetPublishedEventsByClubId200Response.md +20 -0
- package/docs/ManagerEventResponse.md +22 -0
- package/docs/ManagerEventsApi.md +227 -0
- package/docs/RegisterForEvent201Response.md +20 -0
- package/docs/StaffEventResponse.md +20 -0
- package/docs/StaffEventsApi.md +54 -0
- package/index.ts +1 -1
- package/package.json +5 -4
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pandook API
|
|
3
3
|
* API for managing pickle ball games and players
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.26
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1811,6 +1811,49 @@ export interface CreateCourtRequest {
|
|
|
1811
1811
|
*/
|
|
1812
1812
|
'isIndoor': boolean;
|
|
1813
1813
|
}
|
|
1814
|
+
/**
|
|
1815
|
+
*
|
|
1816
|
+
* @export
|
|
1817
|
+
* @interface CreateEventRequest
|
|
1818
|
+
*/
|
|
1819
|
+
export interface CreateEventRequest {
|
|
1820
|
+
/**
|
|
1821
|
+
*
|
|
1822
|
+
* @type {string}
|
|
1823
|
+
* @memberof CreateEventRequest
|
|
1824
|
+
*/
|
|
1825
|
+
'title': string;
|
|
1826
|
+
/**
|
|
1827
|
+
*
|
|
1828
|
+
* @type {string}
|
|
1829
|
+
* @memberof CreateEventRequest
|
|
1830
|
+
*/
|
|
1831
|
+
'description'?: string;
|
|
1832
|
+
/**
|
|
1833
|
+
*
|
|
1834
|
+
* @type {string}
|
|
1835
|
+
* @memberof CreateEventRequest
|
|
1836
|
+
*/
|
|
1837
|
+
'startDate': string;
|
|
1838
|
+
/**
|
|
1839
|
+
*
|
|
1840
|
+
* @type {string}
|
|
1841
|
+
* @memberof CreateEventRequest
|
|
1842
|
+
*/
|
|
1843
|
+
'endDate': string;
|
|
1844
|
+
/**
|
|
1845
|
+
*
|
|
1846
|
+
* @type {Array<number>}
|
|
1847
|
+
* @memberof CreateEventRequest
|
|
1848
|
+
*/
|
|
1849
|
+
'courts': Array<number>;
|
|
1850
|
+
/**
|
|
1851
|
+
*
|
|
1852
|
+
* @type {boolean}
|
|
1853
|
+
* @memberof CreateEventRequest
|
|
1854
|
+
*/
|
|
1855
|
+
'isActive'?: boolean;
|
|
1856
|
+
}
|
|
1814
1857
|
/**
|
|
1815
1858
|
*
|
|
1816
1859
|
* @export
|
|
@@ -1969,6 +2012,19 @@ export interface DeleteClubSettingsRequest {
|
|
|
1969
2012
|
*/
|
|
1970
2013
|
'clubId': string;
|
|
1971
2014
|
}
|
|
2015
|
+
/**
|
|
2016
|
+
*
|
|
2017
|
+
* @export
|
|
2018
|
+
* @interface DeleteEvent200Response
|
|
2019
|
+
*/
|
|
2020
|
+
export interface DeleteEvent200Response {
|
|
2021
|
+
/**
|
|
2022
|
+
*
|
|
2023
|
+
* @type {string}
|
|
2024
|
+
* @memberof DeleteEvent200Response
|
|
2025
|
+
*/
|
|
2026
|
+
'message'?: string;
|
|
2027
|
+
}
|
|
1972
2028
|
/**
|
|
1973
2029
|
*
|
|
1974
2030
|
* @export
|
|
@@ -2008,6 +2064,153 @@ export interface DeleteSport200Response {
|
|
|
2008
2064
|
*/
|
|
2009
2065
|
'message'?: string;
|
|
2010
2066
|
}
|
|
2067
|
+
/**
|
|
2068
|
+
*
|
|
2069
|
+
* @export
|
|
2070
|
+
* @interface Event
|
|
2071
|
+
*/
|
|
2072
|
+
export interface Event {
|
|
2073
|
+
/**
|
|
2074
|
+
*
|
|
2075
|
+
* @type {string}
|
|
2076
|
+
* @memberof Event
|
|
2077
|
+
*/
|
|
2078
|
+
'_id'?: string;
|
|
2079
|
+
/**
|
|
2080
|
+
*
|
|
2081
|
+
* @type {string}
|
|
2082
|
+
* @memberof Event
|
|
2083
|
+
*/
|
|
2084
|
+
'clubId'?: string;
|
|
2085
|
+
/**
|
|
2086
|
+
*
|
|
2087
|
+
* @type {string}
|
|
2088
|
+
* @memberof Event
|
|
2089
|
+
*/
|
|
2090
|
+
'title'?: string;
|
|
2091
|
+
/**
|
|
2092
|
+
*
|
|
2093
|
+
* @type {string}
|
|
2094
|
+
* @memberof Event
|
|
2095
|
+
*/
|
|
2096
|
+
'description'?: string;
|
|
2097
|
+
/**
|
|
2098
|
+
*
|
|
2099
|
+
* @type {string}
|
|
2100
|
+
* @memberof Event
|
|
2101
|
+
*/
|
|
2102
|
+
'startDate'?: string;
|
|
2103
|
+
/**
|
|
2104
|
+
*
|
|
2105
|
+
* @type {string}
|
|
2106
|
+
* @memberof Event
|
|
2107
|
+
*/
|
|
2108
|
+
'endDate'?: string;
|
|
2109
|
+
/**
|
|
2110
|
+
*
|
|
2111
|
+
* @type {Array<string>}
|
|
2112
|
+
* @memberof Event
|
|
2113
|
+
*/
|
|
2114
|
+
'courts'?: Array<string>;
|
|
2115
|
+
/**
|
|
2116
|
+
*
|
|
2117
|
+
* @type {boolean}
|
|
2118
|
+
* @memberof Event
|
|
2119
|
+
*/
|
|
2120
|
+
'isActive'?: boolean;
|
|
2121
|
+
/**
|
|
2122
|
+
*
|
|
2123
|
+
* @type {string}
|
|
2124
|
+
* @memberof Event
|
|
2125
|
+
*/
|
|
2126
|
+
'createdBy'?: string;
|
|
2127
|
+
/**
|
|
2128
|
+
*
|
|
2129
|
+
* @type {string}
|
|
2130
|
+
* @memberof Event
|
|
2131
|
+
*/
|
|
2132
|
+
'createdAt'?: string;
|
|
2133
|
+
/**
|
|
2134
|
+
*
|
|
2135
|
+
* @type {string}
|
|
2136
|
+
* @memberof Event
|
|
2137
|
+
*/
|
|
2138
|
+
'updatedAt'?: string;
|
|
2139
|
+
}
|
|
2140
|
+
/**
|
|
2141
|
+
*
|
|
2142
|
+
* @export
|
|
2143
|
+
* @interface EventBooking
|
|
2144
|
+
*/
|
|
2145
|
+
export interface EventBooking {
|
|
2146
|
+
/**
|
|
2147
|
+
*
|
|
2148
|
+
* @type {string}
|
|
2149
|
+
* @memberof EventBooking
|
|
2150
|
+
*/
|
|
2151
|
+
'_id'?: string;
|
|
2152
|
+
/**
|
|
2153
|
+
*
|
|
2154
|
+
* @type {string}
|
|
2155
|
+
* @memberof EventBooking
|
|
2156
|
+
*/
|
|
2157
|
+
'eventId'?: string;
|
|
2158
|
+
/**
|
|
2159
|
+
*
|
|
2160
|
+
* @type {string}
|
|
2161
|
+
* @memberof EventBooking
|
|
2162
|
+
*/
|
|
2163
|
+
'teamName'?: string;
|
|
2164
|
+
/**
|
|
2165
|
+
*
|
|
2166
|
+
* @type {Array<string>}
|
|
2167
|
+
* @memberof EventBooking
|
|
2168
|
+
*/
|
|
2169
|
+
'players'?: Array<string>;
|
|
2170
|
+
/**
|
|
2171
|
+
*
|
|
2172
|
+
* @type {string}
|
|
2173
|
+
* @memberof EventBooking
|
|
2174
|
+
*/
|
|
2175
|
+
'status'?: EventBookingStatusEnum;
|
|
2176
|
+
/**
|
|
2177
|
+
*
|
|
2178
|
+
* @type {string}
|
|
2179
|
+
* @memberof EventBooking
|
|
2180
|
+
*/
|
|
2181
|
+
'createdAt'?: string;
|
|
2182
|
+
/**
|
|
2183
|
+
*
|
|
2184
|
+
* @type {string}
|
|
2185
|
+
* @memberof EventBooking
|
|
2186
|
+
*/
|
|
2187
|
+
'updatedAt'?: string;
|
|
2188
|
+
}
|
|
2189
|
+
export declare const EventBookingStatusEnum: {
|
|
2190
|
+
readonly Pending: "pending";
|
|
2191
|
+
readonly Confirmed: "confirmed";
|
|
2192
|
+
readonly Cancelled: "cancelled";
|
|
2193
|
+
};
|
|
2194
|
+
export type EventBookingStatusEnum = typeof EventBookingStatusEnum[keyof typeof EventBookingStatusEnum];
|
|
2195
|
+
/**
|
|
2196
|
+
*
|
|
2197
|
+
* @export
|
|
2198
|
+
* @interface EventRegistrationRequest
|
|
2199
|
+
*/
|
|
2200
|
+
export interface EventRegistrationRequest {
|
|
2201
|
+
/**
|
|
2202
|
+
*
|
|
2203
|
+
* @type {string}
|
|
2204
|
+
* @memberof EventRegistrationRequest
|
|
2205
|
+
*/
|
|
2206
|
+
'teamName': string;
|
|
2207
|
+
/**
|
|
2208
|
+
*
|
|
2209
|
+
* @type {Array<string>}
|
|
2210
|
+
* @memberof EventRegistrationRequest
|
|
2211
|
+
*/
|
|
2212
|
+
'players': Array<string>;
|
|
2213
|
+
}
|
|
2011
2214
|
/**
|
|
2012
2215
|
*
|
|
2013
2216
|
* @export
|
|
@@ -2234,6 +2437,19 @@ export interface GetNumberOfClubUsers200Response {
|
|
|
2234
2437
|
*/
|
|
2235
2438
|
'count'?: number;
|
|
2236
2439
|
}
|
|
2440
|
+
/**
|
|
2441
|
+
*
|
|
2442
|
+
* @export
|
|
2443
|
+
* @interface GetPublishedEventsByClubId200Response
|
|
2444
|
+
*/
|
|
2445
|
+
export interface GetPublishedEventsByClubId200Response {
|
|
2446
|
+
/**
|
|
2447
|
+
*
|
|
2448
|
+
* @type {Array<Event>}
|
|
2449
|
+
* @memberof GetPublishedEventsByClubId200Response
|
|
2450
|
+
*/
|
|
2451
|
+
'events'?: Array<Event>;
|
|
2452
|
+
}
|
|
2237
2453
|
/**
|
|
2238
2454
|
*
|
|
2239
2455
|
* @export
|
|
@@ -2647,6 +2863,25 @@ export declare const ManagerCancelBookingResponseBookingStatusEnum: {
|
|
|
2647
2863
|
readonly Cancelled: "cancelled";
|
|
2648
2864
|
};
|
|
2649
2865
|
export type ManagerCancelBookingResponseBookingStatusEnum = typeof ManagerCancelBookingResponseBookingStatusEnum[keyof typeof ManagerCancelBookingResponseBookingStatusEnum];
|
|
2866
|
+
/**
|
|
2867
|
+
*
|
|
2868
|
+
* @export
|
|
2869
|
+
* @interface ManagerEventResponse
|
|
2870
|
+
*/
|
|
2871
|
+
export interface ManagerEventResponse {
|
|
2872
|
+
/**
|
|
2873
|
+
*
|
|
2874
|
+
* @type {Event}
|
|
2875
|
+
* @memberof ManagerEventResponse
|
|
2876
|
+
*/
|
|
2877
|
+
'event'?: Event;
|
|
2878
|
+
/**
|
|
2879
|
+
*
|
|
2880
|
+
* @type {string}
|
|
2881
|
+
* @memberof ManagerEventResponse
|
|
2882
|
+
*/
|
|
2883
|
+
'message'?: string;
|
|
2884
|
+
}
|
|
2650
2885
|
/**
|
|
2651
2886
|
*
|
|
2652
2887
|
* @export
|
|
@@ -2947,6 +3182,19 @@ export interface RefreshTokenResponse {
|
|
|
2947
3182
|
*/
|
|
2948
3183
|
'refreshToken'?: string;
|
|
2949
3184
|
}
|
|
3185
|
+
/**
|
|
3186
|
+
*
|
|
3187
|
+
* @export
|
|
3188
|
+
* @interface RegisterForEvent201Response
|
|
3189
|
+
*/
|
|
3190
|
+
export interface RegisterForEvent201Response {
|
|
3191
|
+
/**
|
|
3192
|
+
*
|
|
3193
|
+
* @type {EventBooking}
|
|
3194
|
+
* @memberof RegisterForEvent201Response
|
|
3195
|
+
*/
|
|
3196
|
+
'booking'?: EventBooking;
|
|
3197
|
+
}
|
|
2950
3198
|
/**
|
|
2951
3199
|
*
|
|
2952
3200
|
* @export
|
|
@@ -3282,6 +3530,19 @@ export interface SportsResponse {
|
|
|
3282
3530
|
*/
|
|
3283
3531
|
'total'?: number;
|
|
3284
3532
|
}
|
|
3533
|
+
/**
|
|
3534
|
+
*
|
|
3535
|
+
* @export
|
|
3536
|
+
* @interface StaffEventResponse
|
|
3537
|
+
*/
|
|
3538
|
+
export interface StaffEventResponse {
|
|
3539
|
+
/**
|
|
3540
|
+
*
|
|
3541
|
+
* @type {Array<Event>}
|
|
3542
|
+
* @memberof StaffEventResponse
|
|
3543
|
+
*/
|
|
3544
|
+
'events'?: Array<Event>;
|
|
3545
|
+
}
|
|
3285
3546
|
/**
|
|
3286
3547
|
*
|
|
3287
3548
|
* @export
|
|
@@ -5528,6 +5789,132 @@ export declare const GetInvoicesStatusEnum: {
|
|
|
5528
5789
|
readonly Expired: "expired";
|
|
5529
5790
|
};
|
|
5530
5791
|
export type GetInvoicesStatusEnum = typeof GetInvoicesStatusEnum[keyof typeof GetInvoicesStatusEnum];
|
|
5792
|
+
/**
|
|
5793
|
+
* EventsApi - axios parameter creator
|
|
5794
|
+
* @export
|
|
5795
|
+
*/
|
|
5796
|
+
export declare const EventsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5797
|
+
/**
|
|
5798
|
+
*
|
|
5799
|
+
* @summary Get all published events for a club
|
|
5800
|
+
* @param {string} clubId
|
|
5801
|
+
* @param {*} [options] Override http request option.
|
|
5802
|
+
* @throws {RequiredError}
|
|
5803
|
+
*/
|
|
5804
|
+
getPublishedEventsByClubId: (clubId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5805
|
+
/**
|
|
5806
|
+
*
|
|
5807
|
+
* @summary Register for an event
|
|
5808
|
+
* @param {string} eventId
|
|
5809
|
+
* @param {EventRegistrationRequest} eventRegistrationRequest
|
|
5810
|
+
* @param {*} [options] Override http request option.
|
|
5811
|
+
* @throws {RequiredError}
|
|
5812
|
+
*/
|
|
5813
|
+
registerForEvent: (eventId: string, eventRegistrationRequest: EventRegistrationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5814
|
+
};
|
|
5815
|
+
/**
|
|
5816
|
+
* EventsApi - functional programming interface
|
|
5817
|
+
* @export
|
|
5818
|
+
*/
|
|
5819
|
+
export declare const EventsApiFp: (configuration?: Configuration) => {
|
|
5820
|
+
/**
|
|
5821
|
+
*
|
|
5822
|
+
* @summary Get all published events for a club
|
|
5823
|
+
* @param {string} clubId
|
|
5824
|
+
* @param {*} [options] Override http request option.
|
|
5825
|
+
* @throws {RequiredError}
|
|
5826
|
+
*/
|
|
5827
|
+
getPublishedEventsByClubId(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPublishedEventsByClubId200Response>>;
|
|
5828
|
+
/**
|
|
5829
|
+
*
|
|
5830
|
+
* @summary Register for an event
|
|
5831
|
+
* @param {string} eventId
|
|
5832
|
+
* @param {EventRegistrationRequest} eventRegistrationRequest
|
|
5833
|
+
* @param {*} [options] Override http request option.
|
|
5834
|
+
* @throws {RequiredError}
|
|
5835
|
+
*/
|
|
5836
|
+
registerForEvent(eventId: string, eventRegistrationRequest: EventRegistrationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisterForEvent201Response>>;
|
|
5837
|
+
};
|
|
5838
|
+
/**
|
|
5839
|
+
* EventsApi - factory interface
|
|
5840
|
+
* @export
|
|
5841
|
+
*/
|
|
5842
|
+
export declare const EventsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5843
|
+
/**
|
|
5844
|
+
*
|
|
5845
|
+
* @summary Get all published events for a club
|
|
5846
|
+
* @param {EventsApiGetPublishedEventsByClubIdRequest} requestParameters Request parameters.
|
|
5847
|
+
* @param {*} [options] Override http request option.
|
|
5848
|
+
* @throws {RequiredError}
|
|
5849
|
+
*/
|
|
5850
|
+
getPublishedEventsByClubId(requestParameters: EventsApiGetPublishedEventsByClubIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetPublishedEventsByClubId200Response>;
|
|
5851
|
+
/**
|
|
5852
|
+
*
|
|
5853
|
+
* @summary Register for an event
|
|
5854
|
+
* @param {EventsApiRegisterForEventRequest} requestParameters Request parameters.
|
|
5855
|
+
* @param {*} [options] Override http request option.
|
|
5856
|
+
* @throws {RequiredError}
|
|
5857
|
+
*/
|
|
5858
|
+
registerForEvent(requestParameters: EventsApiRegisterForEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<RegisterForEvent201Response>;
|
|
5859
|
+
};
|
|
5860
|
+
/**
|
|
5861
|
+
* Request parameters for getPublishedEventsByClubId operation in EventsApi.
|
|
5862
|
+
* @export
|
|
5863
|
+
* @interface EventsApiGetPublishedEventsByClubIdRequest
|
|
5864
|
+
*/
|
|
5865
|
+
export interface EventsApiGetPublishedEventsByClubIdRequest {
|
|
5866
|
+
/**
|
|
5867
|
+
*
|
|
5868
|
+
* @type {string}
|
|
5869
|
+
* @memberof EventsApiGetPublishedEventsByClubId
|
|
5870
|
+
*/
|
|
5871
|
+
readonly clubId: string;
|
|
5872
|
+
}
|
|
5873
|
+
/**
|
|
5874
|
+
* Request parameters for registerForEvent operation in EventsApi.
|
|
5875
|
+
* @export
|
|
5876
|
+
* @interface EventsApiRegisterForEventRequest
|
|
5877
|
+
*/
|
|
5878
|
+
export interface EventsApiRegisterForEventRequest {
|
|
5879
|
+
/**
|
|
5880
|
+
*
|
|
5881
|
+
* @type {string}
|
|
5882
|
+
* @memberof EventsApiRegisterForEvent
|
|
5883
|
+
*/
|
|
5884
|
+
readonly eventId: string;
|
|
5885
|
+
/**
|
|
5886
|
+
*
|
|
5887
|
+
* @type {EventRegistrationRequest}
|
|
5888
|
+
* @memberof EventsApiRegisterForEvent
|
|
5889
|
+
*/
|
|
5890
|
+
readonly eventRegistrationRequest: EventRegistrationRequest;
|
|
5891
|
+
}
|
|
5892
|
+
/**
|
|
5893
|
+
* EventsApi - object-oriented interface
|
|
5894
|
+
* @export
|
|
5895
|
+
* @class EventsApi
|
|
5896
|
+
* @extends {BaseAPI}
|
|
5897
|
+
*/
|
|
5898
|
+
export declare class EventsApi extends BaseAPI {
|
|
5899
|
+
/**
|
|
5900
|
+
*
|
|
5901
|
+
* @summary Get all published events for a club
|
|
5902
|
+
* @param {EventsApiGetPublishedEventsByClubIdRequest} requestParameters Request parameters.
|
|
5903
|
+
* @param {*} [options] Override http request option.
|
|
5904
|
+
* @throws {RequiredError}
|
|
5905
|
+
* @memberof EventsApi
|
|
5906
|
+
*/
|
|
5907
|
+
getPublishedEventsByClubId(requestParameters: EventsApiGetPublishedEventsByClubIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPublishedEventsByClubId200Response, any>>;
|
|
5908
|
+
/**
|
|
5909
|
+
*
|
|
5910
|
+
* @summary Register for an event
|
|
5911
|
+
* @param {EventsApiRegisterForEventRequest} requestParameters Request parameters.
|
|
5912
|
+
* @param {*} [options] Override http request option.
|
|
5913
|
+
* @throws {RequiredError}
|
|
5914
|
+
* @memberof EventsApi
|
|
5915
|
+
*/
|
|
5916
|
+
registerForEvent(requestParameters: EventsApiRegisterForEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RegisterForEvent201Response, any>>;
|
|
5917
|
+
}
|
|
5531
5918
|
/**
|
|
5532
5919
|
* ManagerBookingsApi - axios parameter creator
|
|
5533
5920
|
* @export
|
|
@@ -6705,6 +7092,216 @@ export declare class ManagerClubsApi extends BaseAPI {
|
|
|
6705
7092
|
*/
|
|
6706
7093
|
updateClubNoId(requestParameters: ManagerClubsApiUpdateClubNoIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubResponse, any>>;
|
|
6707
7094
|
}
|
|
7095
|
+
/**
|
|
7096
|
+
* ManagerEventsApi - axios parameter creator
|
|
7097
|
+
* @export
|
|
7098
|
+
*/
|
|
7099
|
+
export declare const ManagerEventsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
7100
|
+
/**
|
|
7101
|
+
*
|
|
7102
|
+
* @summary Create a new event
|
|
7103
|
+
* @param {CreateEventRequest} createEventRequest
|
|
7104
|
+
* @param {*} [options] Override http request option.
|
|
7105
|
+
* @throws {RequiredError}
|
|
7106
|
+
*/
|
|
7107
|
+
createEvent: (createEventRequest: CreateEventRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7108
|
+
/**
|
|
7109
|
+
*
|
|
7110
|
+
* @summary Delete an event
|
|
7111
|
+
* @param {string} eventId
|
|
7112
|
+
* @param {*} [options] Override http request option.
|
|
7113
|
+
* @throws {RequiredError}
|
|
7114
|
+
*/
|
|
7115
|
+
deleteEvent: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7116
|
+
/**
|
|
7117
|
+
*
|
|
7118
|
+
* @summary Publish an event
|
|
7119
|
+
* @param {string} eventId
|
|
7120
|
+
* @param {*} [options] Override http request option.
|
|
7121
|
+
* @throws {RequiredError}
|
|
7122
|
+
*/
|
|
7123
|
+
publishEvent: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7124
|
+
/**
|
|
7125
|
+
*
|
|
7126
|
+
* @summary Unpublish an event
|
|
7127
|
+
* @param {string} eventId
|
|
7128
|
+
* @param {*} [options] Override http request option.
|
|
7129
|
+
* @throws {RequiredError}
|
|
7130
|
+
*/
|
|
7131
|
+
unpublishEvent: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7132
|
+
};
|
|
7133
|
+
/**
|
|
7134
|
+
* ManagerEventsApi - functional programming interface
|
|
7135
|
+
* @export
|
|
7136
|
+
*/
|
|
7137
|
+
export declare const ManagerEventsApiFp: (configuration?: Configuration) => {
|
|
7138
|
+
/**
|
|
7139
|
+
*
|
|
7140
|
+
* @summary Create a new event
|
|
7141
|
+
* @param {CreateEventRequest} createEventRequest
|
|
7142
|
+
* @param {*} [options] Override http request option.
|
|
7143
|
+
* @throws {RequiredError}
|
|
7144
|
+
*/
|
|
7145
|
+
createEvent(createEventRequest: CreateEventRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagerEventResponse>>;
|
|
7146
|
+
/**
|
|
7147
|
+
*
|
|
7148
|
+
* @summary Delete an event
|
|
7149
|
+
* @param {string} eventId
|
|
7150
|
+
* @param {*} [options] Override http request option.
|
|
7151
|
+
* @throws {RequiredError}
|
|
7152
|
+
*/
|
|
7153
|
+
deleteEvent(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteEvent200Response>>;
|
|
7154
|
+
/**
|
|
7155
|
+
*
|
|
7156
|
+
* @summary Publish an event
|
|
7157
|
+
* @param {string} eventId
|
|
7158
|
+
* @param {*} [options] Override http request option.
|
|
7159
|
+
* @throws {RequiredError}
|
|
7160
|
+
*/
|
|
7161
|
+
publishEvent(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagerEventResponse>>;
|
|
7162
|
+
/**
|
|
7163
|
+
*
|
|
7164
|
+
* @summary Unpublish an event
|
|
7165
|
+
* @param {string} eventId
|
|
7166
|
+
* @param {*} [options] Override http request option.
|
|
7167
|
+
* @throws {RequiredError}
|
|
7168
|
+
*/
|
|
7169
|
+
unpublishEvent(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagerEventResponse>>;
|
|
7170
|
+
};
|
|
7171
|
+
/**
|
|
7172
|
+
* ManagerEventsApi - factory interface
|
|
7173
|
+
* @export
|
|
7174
|
+
*/
|
|
7175
|
+
export declare const ManagerEventsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
7176
|
+
/**
|
|
7177
|
+
*
|
|
7178
|
+
* @summary Create a new event
|
|
7179
|
+
* @param {ManagerEventsApiCreateEventRequest} requestParameters Request parameters.
|
|
7180
|
+
* @param {*} [options] Override http request option.
|
|
7181
|
+
* @throws {RequiredError}
|
|
7182
|
+
*/
|
|
7183
|
+
createEvent(requestParameters: ManagerEventsApiCreateEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<ManagerEventResponse>;
|
|
7184
|
+
/**
|
|
7185
|
+
*
|
|
7186
|
+
* @summary Delete an event
|
|
7187
|
+
* @param {ManagerEventsApiDeleteEventRequest} requestParameters Request parameters.
|
|
7188
|
+
* @param {*} [options] Override http request option.
|
|
7189
|
+
* @throws {RequiredError}
|
|
7190
|
+
*/
|
|
7191
|
+
deleteEvent(requestParameters: ManagerEventsApiDeleteEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteEvent200Response>;
|
|
7192
|
+
/**
|
|
7193
|
+
*
|
|
7194
|
+
* @summary Publish an event
|
|
7195
|
+
* @param {ManagerEventsApiPublishEventRequest} requestParameters Request parameters.
|
|
7196
|
+
* @param {*} [options] Override http request option.
|
|
7197
|
+
* @throws {RequiredError}
|
|
7198
|
+
*/
|
|
7199
|
+
publishEvent(requestParameters: ManagerEventsApiPublishEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<ManagerEventResponse>;
|
|
7200
|
+
/**
|
|
7201
|
+
*
|
|
7202
|
+
* @summary Unpublish an event
|
|
7203
|
+
* @param {ManagerEventsApiUnpublishEventRequest} requestParameters Request parameters.
|
|
7204
|
+
* @param {*} [options] Override http request option.
|
|
7205
|
+
* @throws {RequiredError}
|
|
7206
|
+
*/
|
|
7207
|
+
unpublishEvent(requestParameters: ManagerEventsApiUnpublishEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<ManagerEventResponse>;
|
|
7208
|
+
};
|
|
7209
|
+
/**
|
|
7210
|
+
* Request parameters for createEvent operation in ManagerEventsApi.
|
|
7211
|
+
* @export
|
|
7212
|
+
* @interface ManagerEventsApiCreateEventRequest
|
|
7213
|
+
*/
|
|
7214
|
+
export interface ManagerEventsApiCreateEventRequest {
|
|
7215
|
+
/**
|
|
7216
|
+
*
|
|
7217
|
+
* @type {CreateEventRequest}
|
|
7218
|
+
* @memberof ManagerEventsApiCreateEvent
|
|
7219
|
+
*/
|
|
7220
|
+
readonly createEventRequest: CreateEventRequest;
|
|
7221
|
+
}
|
|
7222
|
+
/**
|
|
7223
|
+
* Request parameters for deleteEvent operation in ManagerEventsApi.
|
|
7224
|
+
* @export
|
|
7225
|
+
* @interface ManagerEventsApiDeleteEventRequest
|
|
7226
|
+
*/
|
|
7227
|
+
export interface ManagerEventsApiDeleteEventRequest {
|
|
7228
|
+
/**
|
|
7229
|
+
*
|
|
7230
|
+
* @type {string}
|
|
7231
|
+
* @memberof ManagerEventsApiDeleteEvent
|
|
7232
|
+
*/
|
|
7233
|
+
readonly eventId: string;
|
|
7234
|
+
}
|
|
7235
|
+
/**
|
|
7236
|
+
* Request parameters for publishEvent operation in ManagerEventsApi.
|
|
7237
|
+
* @export
|
|
7238
|
+
* @interface ManagerEventsApiPublishEventRequest
|
|
7239
|
+
*/
|
|
7240
|
+
export interface ManagerEventsApiPublishEventRequest {
|
|
7241
|
+
/**
|
|
7242
|
+
*
|
|
7243
|
+
* @type {string}
|
|
7244
|
+
* @memberof ManagerEventsApiPublishEvent
|
|
7245
|
+
*/
|
|
7246
|
+
readonly eventId: string;
|
|
7247
|
+
}
|
|
7248
|
+
/**
|
|
7249
|
+
* Request parameters for unpublishEvent operation in ManagerEventsApi.
|
|
7250
|
+
* @export
|
|
7251
|
+
* @interface ManagerEventsApiUnpublishEventRequest
|
|
7252
|
+
*/
|
|
7253
|
+
export interface ManagerEventsApiUnpublishEventRequest {
|
|
7254
|
+
/**
|
|
7255
|
+
*
|
|
7256
|
+
* @type {string}
|
|
7257
|
+
* @memberof ManagerEventsApiUnpublishEvent
|
|
7258
|
+
*/
|
|
7259
|
+
readonly eventId: string;
|
|
7260
|
+
}
|
|
7261
|
+
/**
|
|
7262
|
+
* ManagerEventsApi - object-oriented interface
|
|
7263
|
+
* @export
|
|
7264
|
+
* @class ManagerEventsApi
|
|
7265
|
+
* @extends {BaseAPI}
|
|
7266
|
+
*/
|
|
7267
|
+
export declare class ManagerEventsApi extends BaseAPI {
|
|
7268
|
+
/**
|
|
7269
|
+
*
|
|
7270
|
+
* @summary Create a new event
|
|
7271
|
+
* @param {ManagerEventsApiCreateEventRequest} requestParameters Request parameters.
|
|
7272
|
+
* @param {*} [options] Override http request option.
|
|
7273
|
+
* @throws {RequiredError}
|
|
7274
|
+
* @memberof ManagerEventsApi
|
|
7275
|
+
*/
|
|
7276
|
+
createEvent(requestParameters: ManagerEventsApiCreateEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagerEventResponse, any>>;
|
|
7277
|
+
/**
|
|
7278
|
+
*
|
|
7279
|
+
* @summary Delete an event
|
|
7280
|
+
* @param {ManagerEventsApiDeleteEventRequest} requestParameters Request parameters.
|
|
7281
|
+
* @param {*} [options] Override http request option.
|
|
7282
|
+
* @throws {RequiredError}
|
|
7283
|
+
* @memberof ManagerEventsApi
|
|
7284
|
+
*/
|
|
7285
|
+
deleteEvent(requestParameters: ManagerEventsApiDeleteEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteEvent200Response, any>>;
|
|
7286
|
+
/**
|
|
7287
|
+
*
|
|
7288
|
+
* @summary Publish an event
|
|
7289
|
+
* @param {ManagerEventsApiPublishEventRequest} requestParameters Request parameters.
|
|
7290
|
+
* @param {*} [options] Override http request option.
|
|
7291
|
+
* @throws {RequiredError}
|
|
7292
|
+
* @memberof ManagerEventsApi
|
|
7293
|
+
*/
|
|
7294
|
+
publishEvent(requestParameters: ManagerEventsApiPublishEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagerEventResponse, any>>;
|
|
7295
|
+
/**
|
|
7296
|
+
*
|
|
7297
|
+
* @summary Unpublish an event
|
|
7298
|
+
* @param {ManagerEventsApiUnpublishEventRequest} requestParameters Request parameters.
|
|
7299
|
+
* @param {*} [options] Override http request option.
|
|
7300
|
+
* @throws {RequiredError}
|
|
7301
|
+
* @memberof ManagerEventsApi
|
|
7302
|
+
*/
|
|
7303
|
+
unpublishEvent(requestParameters: ManagerEventsApiUnpublishEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagerEventResponse, any>>;
|
|
7304
|
+
}
|
|
6708
7305
|
/**
|
|
6709
7306
|
* ManagerSportsApi - axios parameter creator
|
|
6710
7307
|
* @export
|
|
@@ -7134,6 +7731,61 @@ export declare class StaffClubsApi extends BaseAPI {
|
|
|
7134
7731
|
*/
|
|
7135
7732
|
getClubSettings(requestParameters: StaffClubsApiGetClubSettingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubSettings, any>>;
|
|
7136
7733
|
}
|
|
7734
|
+
/**
|
|
7735
|
+
* StaffEventsApi - axios parameter creator
|
|
7736
|
+
* @export
|
|
7737
|
+
*/
|
|
7738
|
+
export declare const StaffEventsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
7739
|
+
/**
|
|
7740
|
+
*
|
|
7741
|
+
* @summary Get all events for current club (including unpublished)
|
|
7742
|
+
* @param {*} [options] Override http request option.
|
|
7743
|
+
* @throws {RequiredError}
|
|
7744
|
+
*/
|
|
7745
|
+
getEventsByClub: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7746
|
+
};
|
|
7747
|
+
/**
|
|
7748
|
+
* StaffEventsApi - functional programming interface
|
|
7749
|
+
* @export
|
|
7750
|
+
*/
|
|
7751
|
+
export declare const StaffEventsApiFp: (configuration?: Configuration) => {
|
|
7752
|
+
/**
|
|
7753
|
+
*
|
|
7754
|
+
* @summary Get all events for current club (including unpublished)
|
|
7755
|
+
* @param {*} [options] Override http request option.
|
|
7756
|
+
* @throws {RequiredError}
|
|
7757
|
+
*/
|
|
7758
|
+
getEventsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffEventResponse>>;
|
|
7759
|
+
};
|
|
7760
|
+
/**
|
|
7761
|
+
* StaffEventsApi - factory interface
|
|
7762
|
+
* @export
|
|
7763
|
+
*/
|
|
7764
|
+
export declare const StaffEventsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
7765
|
+
/**
|
|
7766
|
+
*
|
|
7767
|
+
* @summary Get all events for current club (including unpublished)
|
|
7768
|
+
* @param {*} [options] Override http request option.
|
|
7769
|
+
* @throws {RequiredError}
|
|
7770
|
+
*/
|
|
7771
|
+
getEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<StaffEventResponse>;
|
|
7772
|
+
};
|
|
7773
|
+
/**
|
|
7774
|
+
* StaffEventsApi - object-oriented interface
|
|
7775
|
+
* @export
|
|
7776
|
+
* @class StaffEventsApi
|
|
7777
|
+
* @extends {BaseAPI}
|
|
7778
|
+
*/
|
|
7779
|
+
export declare class StaffEventsApi extends BaseAPI {
|
|
7780
|
+
/**
|
|
7781
|
+
*
|
|
7782
|
+
* @summary Get all events for current club (including unpublished)
|
|
7783
|
+
* @param {*} [options] Override http request option.
|
|
7784
|
+
* @throws {RequiredError}
|
|
7785
|
+
* @memberof StaffEventsApi
|
|
7786
|
+
*/
|
|
7787
|
+
getEventsByClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffEventResponse, any>>;
|
|
7788
|
+
}
|
|
7137
7789
|
/**
|
|
7138
7790
|
* StaffProfileApi - axios parameter creator
|
|
7139
7791
|
* @export
|