@tennac-booking/sdk 1.0.112 → 1.0.114

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/api.d.ts CHANGED
@@ -100,6 +100,134 @@ export interface AddOrganizationRequest {
100
100
  */
101
101
  'organizationId'?: string;
102
102
  }
103
+ /**
104
+ *
105
+ * @export
106
+ * @interface AgendaBooking
107
+ */
108
+ export interface AgendaBooking {
109
+ /**
110
+ *
111
+ * @type {string}
112
+ * @memberof AgendaBooking
113
+ */
114
+ 'id': string;
115
+ /**
116
+ *
117
+ * @type {BookingStatus}
118
+ * @memberof AgendaBooking
119
+ */
120
+ 'status': BookingStatus;
121
+ /**
122
+ *
123
+ * @type {string}
124
+ * @memberof AgendaBooking
125
+ */
126
+ 'creatorName': string;
127
+ /**
128
+ *
129
+ * @type {Array<AgendaBookingPlayer>}
130
+ * @memberof AgendaBooking
131
+ */
132
+ 'players': Array<AgendaBookingPlayer>;
133
+ /**
134
+ *
135
+ * @type {AgendaPaymentStatus}
136
+ * @memberof AgendaBooking
137
+ */
138
+ 'paymentStatus': AgendaPaymentStatus;
139
+ /**
140
+ *
141
+ * @type {Array<AgendaBookingSlot>}
142
+ * @memberof AgendaBooking
143
+ */
144
+ 'slots': Array<AgendaBookingSlot>;
145
+ }
146
+ /**
147
+ *
148
+ * @export
149
+ * @interface AgendaBookingPlayer
150
+ */
151
+ export interface AgendaBookingPlayer {
152
+ /**
153
+ *
154
+ * @type {string}
155
+ * @memberof AgendaBookingPlayer
156
+ */
157
+ 'id': string;
158
+ /**
159
+ *
160
+ * @type {string}
161
+ * @memberof AgendaBookingPlayer
162
+ */
163
+ 'firstName': string;
164
+ /**
165
+ *
166
+ * @type {string}
167
+ * @memberof AgendaBookingPlayer
168
+ */
169
+ 'lastName': string;
170
+ /**
171
+ *
172
+ * @type {string}
173
+ * @memberof AgendaBookingPlayer
174
+ */
175
+ 'profilePictureUrl'?: string;
176
+ }
177
+ /**
178
+ *
179
+ * @export
180
+ * @interface AgendaBookingSlot
181
+ */
182
+ export interface AgendaBookingSlot {
183
+ /**
184
+ *
185
+ * @type {string}
186
+ * @memberof AgendaBookingSlot
187
+ */
188
+ 'start': string;
189
+ /**
190
+ *
191
+ * @type {string}
192
+ * @memberof AgendaBookingSlot
193
+ */
194
+ 'end': string;
195
+ /**
196
+ *
197
+ * @type {string}
198
+ * @memberof AgendaBookingSlot
199
+ */
200
+ 'courtName': string;
201
+ /**
202
+ *
203
+ * @type {string}
204
+ * @memberof AgendaBookingSlot
205
+ */
206
+ 'sportKey': string;
207
+ /**
208
+ *
209
+ * @type {string}
210
+ * @memberof AgendaBookingSlot
211
+ */
212
+ 'surface'?: string;
213
+ /**
214
+ *
215
+ * @type {boolean}
216
+ * @memberof AgendaBookingSlot
217
+ */
218
+ 'isIndoor'?: boolean;
219
+ }
220
+ /**
221
+ *
222
+ * @export
223
+ * @enum {string}
224
+ */
225
+ export declare const AgendaPaymentStatus: {
226
+ readonly Pay: "payé";
227
+ readonly NonPay: "non payé";
228
+ readonly EnAttente: "en attente";
229
+ };
230
+ export type AgendaPaymentStatus = typeof AgendaPaymentStatus[keyof typeof AgendaPaymentStatus];
103
231
  /**
104
232
  *
105
233
  * @export
@@ -1106,10 +1234,10 @@ export interface BookingSummaryClubAddress {
1106
1234
  export interface BookingsWithTimeBoundsResponse {
1107
1235
  /**
1108
1236
  *
1109
- * @type {Array<BookingPopulated>}
1237
+ * @type {Array<AgendaBooking>}
1110
1238
  * @memberof BookingsWithTimeBoundsResponse
1111
1239
  */
1112
- 'bookings': Array<BookingPopulated>;
1240
+ 'bookings': Array<AgendaBooking>;
1113
1241
  /**
1114
1242
  *
1115
1243
  * @type {TimeBounds}
@@ -1779,6 +1907,80 @@ export interface ClubMemberResponseUser {
1779
1907
  */
1780
1908
  'id': string;
1781
1909
  }
1910
+ /**
1911
+ *
1912
+ * @export
1913
+ * @interface ClubMetadataResponse
1914
+ */
1915
+ export interface ClubMetadataResponse {
1916
+ /**
1917
+ * ID unique du club
1918
+ * @type {string}
1919
+ * @memberof ClubMetadataResponse
1920
+ */
1921
+ 'id': string;
1922
+ /**
1923
+ * Nom du club
1924
+ * @type {string}
1925
+ * @memberof ClubMetadataResponse
1926
+ */
1927
+ 'name': string;
1928
+ /**
1929
+ * Description du club
1930
+ * @type {string}
1931
+ * @memberof ClubMetadataResponse
1932
+ */
1933
+ 'description'?: string;
1934
+ /**
1935
+ * URL de la photo de profil (pdp)
1936
+ * @type {string}
1937
+ * @memberof ClubMetadataResponse
1938
+ */
1939
+ 'picture'?: string;
1940
+ /**
1941
+ * URL de la bannière principale
1942
+ * @type {string}
1943
+ * @memberof ClubMetadataResponse
1944
+ */
1945
+ 'primaryBannerPicture'?: string;
1946
+ /**
1947
+ *
1948
+ * @type {ClubMetadataResponseLocation}
1949
+ * @memberof ClubMetadataResponse
1950
+ */
1951
+ 'location'?: ClubMetadataResponseLocation;
1952
+ }
1953
+ /**
1954
+ * Localisation du club
1955
+ * @export
1956
+ * @interface ClubMetadataResponseLocation
1957
+ */
1958
+ export interface ClubMetadataResponseLocation {
1959
+ /**
1960
+ *
1961
+ * @type {string}
1962
+ * @memberof ClubMetadataResponseLocation
1963
+ */
1964
+ 'country'?: string;
1965
+ /**
1966
+ *
1967
+ * @type {string}
1968
+ * @memberof ClubMetadataResponseLocation
1969
+ */
1970
+ 'zipCode'?: string;
1971
+ /**
1972
+ *
1973
+ * @type {string}
1974
+ * @memberof ClubMetadataResponseLocation
1975
+ */
1976
+ 'city'?: string;
1977
+ /**
1978
+ *
1979
+ * @type {string}
1980
+ * @memberof ClubMetadataResponseLocation
1981
+ */
1982
+ 'address'?: string;
1983
+ }
1782
1984
  /**
1783
1985
  *
1784
1986
  * @export
@@ -2113,6 +2315,12 @@ export interface ClubPlayerDetailResponse {
2113
2315
  * @memberof ClubPlayerDetailResponse
2114
2316
  */
2115
2317
  'birthDate': string | null;
2318
+ /**
2319
+ *
2320
+ * @type {number}
2321
+ * @memberof ClubPlayerDetailResponse
2322
+ */
2323
+ 'credits': number | null;
2116
2324
  }
2117
2325
  /**
2118
2326
  *
@@ -2852,7 +3060,19 @@ export interface ClubSummary {
2852
3060
  * @type {string}
2853
3061
  * @memberof ClubSummary
2854
3062
  */
2855
- 'address'?: string | null;
3063
+ 'picture'?: string;
3064
+ /**
3065
+ *
3066
+ * @type {Array<string>}
3067
+ * @memberof ClubSummary
3068
+ */
3069
+ 'bannerPictures'?: Array<string>;
3070
+ /**
3071
+ *
3072
+ * @type {Array<string>}
3073
+ * @memberof ClubSummary
3074
+ */
3075
+ 'galleryPictures'?: Array<string>;
2856
3076
  /**
2857
3077
  *
2858
3078
  * @type {UserLocationSummary}
@@ -2865,6 +3085,12 @@ export interface ClubSummary {
2865
3085
  * @memberof ClubSummary
2866
3086
  */
2867
3087
  'visitCount'?: number;
3088
+ /**
3089
+ *
3090
+ * @type {Array<string>}
3091
+ * @memberof ClubSummary
3092
+ */
3093
+ 'tags'?: Array<string>;
2868
3094
  }
2869
3095
  /**
2870
3096
  *
@@ -3329,13 +3555,19 @@ export interface CreateEventRequest {
3329
3555
  * @type {string}
3330
3556
  * @memberof CreateEventRequest
3331
3557
  */
3332
- 'recurringType': CreateEventRequestRecurringTypeEnum;
3558
+ 'recurringType'?: CreateEventRequestRecurringTypeEnum | null;
3333
3559
  /**
3334
3560
  *
3335
3561
  * @type {string}
3336
3562
  * @memberof CreateEventRequest
3337
3563
  */
3338
3564
  'recurrenceEndDate'?: string;
3565
+ /**
3566
+ *
3567
+ * @type {number}
3568
+ * @memberof CreateEventRequest
3569
+ */
3570
+ 'occurrences'?: number;
3339
3571
  /**
3340
3572
  *
3341
3573
  * @type {string}
@@ -9003,6 +9235,19 @@ export interface UpdateSubscriptionPlanForClub200Response {
9003
9235
  */
9004
9236
  'price': any;
9005
9237
  }
9238
+ /**
9239
+ *
9240
+ * @export
9241
+ * @interface UpdateUserCreditsRequest
9242
+ */
9243
+ export interface UpdateUserCreditsRequest {
9244
+ /**
9245
+ * Variation du crédit à appliquer, exprimée en centimes. Peut être négative pour retirer du crédit.
9246
+ * @type {number}
9247
+ * @memberof UpdateUserCreditsRequest
9248
+ */
9249
+ 'deltaInCents': number;
9250
+ }
9006
9251
  /**
9007
9252
  *
9008
9253
  * @export
@@ -11916,6 +12161,13 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
11916
12161
  * @throws {RequiredError}
11917
12162
  */
11918
12163
  getClubInfo: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12164
+ /**
12165
+ * Récupère les métadonnées publiques d\'un club
12166
+ * @param {string} clubId
12167
+ * @param {*} [options] Override http request option.
12168
+ * @throws {RequiredError}
12169
+ */
12170
+ getClubMetadata: (clubId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11919
12171
  /**
11920
12172
  *
11921
12173
  * @param {string} clubId
@@ -12013,6 +12265,13 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
12013
12265
  * @throws {RequiredError}
12014
12266
  */
12015
12267
  getClubInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubResponse>>;
12268
+ /**
12269
+ * Récupère les métadonnées publiques d\'un club
12270
+ * @param {string} clubId
12271
+ * @param {*} [options] Override http request option.
12272
+ * @throws {RequiredError}
12273
+ */
12274
+ getClubMetadata(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubMetadataResponse>>;
12016
12275
  /**
12017
12276
  *
12018
12277
  * @param {string} clubId
@@ -12107,6 +12366,13 @@ export declare const ClubsApiFactory: (configuration?: Configuration, basePath?:
12107
12366
  * @throws {RequiredError}
12108
12367
  */
12109
12368
  getClubInfo(options?: RawAxiosRequestConfig): AxiosPromise<ClubResponse>;
12369
+ /**
12370
+ * Récupère les métadonnées publiques d\'un club
12371
+ * @param {ClubsApiGetClubMetadataRequest} requestParameters Request parameters.
12372
+ * @param {*} [options] Override http request option.
12373
+ * @throws {RequiredError}
12374
+ */
12375
+ getClubMetadata(requestParameters: ClubsApiGetClubMetadataRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubMetadataResponse>;
12110
12376
  /**
12111
12377
  *
12112
12378
  * @param {ClubsApiGetClubPageInfoRequest} requestParameters Request parameters.
@@ -12213,6 +12479,19 @@ export interface ClubsApiGetAvailableSlotsBySportsAndDayRequest {
12213
12479
  */
12214
12480
  readonly day: string;
12215
12481
  }
12482
+ /**
12483
+ * Request parameters for getClubMetadata operation in ClubsApi.
12484
+ * @export
12485
+ * @interface ClubsApiGetClubMetadataRequest
12486
+ */
12487
+ export interface ClubsApiGetClubMetadataRequest {
12488
+ /**
12489
+ *
12490
+ * @type {string}
12491
+ * @memberof ClubsApiGetClubMetadata
12492
+ */
12493
+ readonly clubId: string;
12494
+ }
12216
12495
  /**
12217
12496
  * Request parameters for getClubPageInfo operation in ClubsApi.
12218
12497
  * @export
@@ -12349,6 +12628,14 @@ export declare class ClubsApi extends BaseAPI {
12349
12628
  * @memberof ClubsApi
12350
12629
  */
12351
12630
  getClubInfo(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubResponse, any, {}>>;
12631
+ /**
12632
+ * Récupère les métadonnées publiques d\'un club
12633
+ * @param {ClubsApiGetClubMetadataRequest} requestParameters Request parameters.
12634
+ * @param {*} [options] Override http request option.
12635
+ * @throws {RequiredError}
12636
+ * @memberof ClubsApi
12637
+ */
12638
+ getClubMetadata(requestParameters: ClubsApiGetClubMetadataRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubMetadataResponse, any, {}>>;
12352
12639
  /**
12353
12640
  *
12354
12641
  * @param {ClubsApiGetClubPageInfoRequest} requestParameters Request parameters.
@@ -12460,6 +12747,13 @@ export declare const ClubsManagerApiAxiosParamCreator: (configuration?: Configur
12460
12747
  * @throws {RequiredError}
12461
12748
  */
12462
12749
  deleteActuality: (actualityId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12750
+ /**
12751
+ * Supprime un membre d\'un club
12752
+ * @param {string} userId
12753
+ * @param {*} [options] Override http request option.
12754
+ * @throws {RequiredError}
12755
+ */
12756
+ deleteClubMember: (userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12463
12757
  /**
12464
12758
  * Supprime un terrain et ses créneaux futurs
12465
12759
  * @param {string} courtId
@@ -12610,6 +12904,13 @@ export declare const ClubsManagerApiFp: (configuration?: Configuration) => {
12610
12904
  * @throws {RequiredError}
12611
12905
  */
12612
12906
  deleteActuality(actualityId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>>;
12907
+ /**
12908
+ * Supprime un membre d\'un club
12909
+ * @param {string} userId
12910
+ * @param {*} [options] Override http request option.
12911
+ * @throws {RequiredError}
12912
+ */
12913
+ deleteClubMember(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddClubMember201Response>>;
12613
12914
  /**
12614
12915
  * Supprime un terrain et ses créneaux futurs
12615
12916
  * @param {string} courtId
@@ -12759,6 +13060,13 @@ export declare const ClubsManagerApiFactory: (configuration?: Configuration, bas
12759
13060
  * @throws {RequiredError}
12760
13061
  */
12761
13062
  deleteActuality(requestParameters: ClubsManagerApiDeleteActualityRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response>;
13063
+ /**
13064
+ * Supprime un membre d\'un club
13065
+ * @param {ClubsManagerApiDeleteClubMemberRequest} requestParameters Request parameters.
13066
+ * @param {*} [options] Override http request option.
13067
+ * @throws {RequiredError}
13068
+ */
13069
+ deleteClubMember(requestParameters: ClubsManagerApiDeleteClubMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddClubMember201Response>;
12762
13070
  /**
12763
13071
  * Supprime un terrain et ses créneaux futurs
12764
13072
  * @param {ClubsManagerApiDeleteCourtRequest} requestParameters Request parameters.
@@ -12947,6 +13255,19 @@ export interface ClubsManagerApiDeleteActualityRequest {
12947
13255
  */
12948
13256
  readonly actualityId: string;
12949
13257
  }
13258
+ /**
13259
+ * Request parameters for deleteClubMember operation in ClubsManagerApi.
13260
+ * @export
13261
+ * @interface ClubsManagerApiDeleteClubMemberRequest
13262
+ */
13263
+ export interface ClubsManagerApiDeleteClubMemberRequest {
13264
+ /**
13265
+ *
13266
+ * @type {string}
13267
+ * @memberof ClubsManagerApiDeleteClubMember
13268
+ */
13269
+ readonly userId: string;
13270
+ }
12950
13271
  /**
12951
13272
  * Request parameters for deleteCourt operation in ClubsManagerApi.
12952
13273
  * @export
@@ -13190,6 +13511,14 @@ export declare class ClubsManagerApi extends BaseAPI {
13190
13511
  * @memberof ClubsManagerApi
13191
13512
  */
13192
13513
  deleteActuality(requestParameters: ClubsManagerApiDeleteActualityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestPasswordReset200Response, any, {}>>;
13514
+ /**
13515
+ * Supprime un membre d\'un club
13516
+ * @param {ClubsManagerApiDeleteClubMemberRequest} requestParameters Request parameters.
13517
+ * @param {*} [options] Override http request option.
13518
+ * @throws {RequiredError}
13519
+ * @memberof ClubsManagerApi
13520
+ */
13521
+ deleteClubMember(requestParameters: ClubsManagerApiDeleteClubMemberRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AddClubMember201Response, any, {}>>;
13193
13522
  /**
13194
13523
  * Supprime un terrain et ses créneaux futurs
13195
13524
  * @param {ClubsManagerApiDeleteCourtRequest} requestParameters Request parameters.
@@ -13356,6 +13685,14 @@ export declare const ClubsStaffApiAxiosParamCreator: (configuration?: Configurat
13356
13685
  * @throws {RequiredError}
13357
13686
  */
13358
13687
  getUserProfileStaff: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13688
+ /**
13689
+ *
13690
+ * @param {string} id
13691
+ * @param {UpdateUserCreditsRequest} updateUserCreditsRequest
13692
+ * @param {*} [options] Override http request option.
13693
+ * @throws {RequiredError}
13694
+ */
13695
+ updateUserCreditsStaff: (id: string, updateUserCreditsRequest: UpdateUserCreditsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13359
13696
  };
13360
13697
  /**
13361
13698
  * ClubsStaffApi - functional programming interface
@@ -13419,6 +13756,14 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
13419
13756
  * @throws {RequiredError}
13420
13757
  */
13421
13758
  getUserProfileStaff(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffUserProfileResponse>>;
13759
+ /**
13760
+ *
13761
+ * @param {string} id
13762
+ * @param {UpdateUserCreditsRequest} updateUserCreditsRequest
13763
+ * @param {*} [options] Override http request option.
13764
+ * @throws {RequiredError}
13765
+ */
13766
+ updateUserCreditsStaff(id: string, updateUserCreditsRequest: UpdateUserCreditsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffUserProfileResponse>>;
13422
13767
  };
13423
13768
  /**
13424
13769
  * ClubsStaffApi - factory interface
@@ -13481,6 +13826,13 @@ export declare const ClubsStaffApiFactory: (configuration?: Configuration, baseP
13481
13826
  * @throws {RequiredError}
13482
13827
  */
13483
13828
  getUserProfileStaff(requestParameters: ClubsStaffApiGetUserProfileStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffUserProfileResponse>;
13829
+ /**
13830
+ *
13831
+ * @param {ClubsStaffApiUpdateUserCreditsStaffRequest} requestParameters Request parameters.
13832
+ * @param {*} [options] Override http request option.
13833
+ * @throws {RequiredError}
13834
+ */
13835
+ updateUserCreditsStaff(requestParameters: ClubsStaffApiUpdateUserCreditsStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffUserProfileResponse>;
13484
13836
  };
13485
13837
  /**
13486
13838
  * Request parameters for createOnsiteInvoiceForBooking operation in ClubsStaffApi.
@@ -13514,6 +13866,25 @@ export interface ClubsStaffApiGetUserProfileStaffRequest {
13514
13866
  */
13515
13867
  readonly id: string;
13516
13868
  }
13869
+ /**
13870
+ * Request parameters for updateUserCreditsStaff operation in ClubsStaffApi.
13871
+ * @export
13872
+ * @interface ClubsStaffApiUpdateUserCreditsStaffRequest
13873
+ */
13874
+ export interface ClubsStaffApiUpdateUserCreditsStaffRequest {
13875
+ /**
13876
+ *
13877
+ * @type {string}
13878
+ * @memberof ClubsStaffApiUpdateUserCreditsStaff
13879
+ */
13880
+ readonly id: string;
13881
+ /**
13882
+ *
13883
+ * @type {UpdateUserCreditsRequest}
13884
+ * @memberof ClubsStaffApiUpdateUserCreditsStaff
13885
+ */
13886
+ readonly updateUserCreditsRequest: UpdateUserCreditsRequest;
13887
+ }
13517
13888
  /**
13518
13889
  * ClubsStaffApi - object-oriented interface
13519
13890
  * @export
@@ -13586,6 +13957,14 @@ export declare class ClubsStaffApi extends BaseAPI {
13586
13957
  * @memberof ClubsStaffApi
13587
13958
  */
13588
13959
  getUserProfileStaff(requestParameters: ClubsStaffApiGetUserProfileStaffRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffUserProfileResponse, any, {}>>;
13960
+ /**
13961
+ *
13962
+ * @param {ClubsStaffApiUpdateUserCreditsStaffRequest} requestParameters Request parameters.
13963
+ * @param {*} [options] Override http request option.
13964
+ * @throws {RequiredError}
13965
+ * @memberof ClubsStaffApi
13966
+ */
13967
+ updateUserCreditsStaff(requestParameters: ClubsStaffApiUpdateUserCreditsStaffRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffUserProfileResponse, any, {}>>;
13589
13968
  }
13590
13969
  /**
13591
13970
  * DefaultApi - axios parameter creator
@@ -14247,12 +14626,45 @@ export declare const EventsStaffApiAxiosParamCreator: (configuration?: Configura
14247
14626
  * @throws {RequiredError}
14248
14627
  */
14249
14628
  checkInEventParticipants: (eventBookingId: string, checkInEventParticipantsRequest: CheckInEventParticipantsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14629
+ /**
14630
+ * Get events for the day view (entire week)
14631
+ * @param {string} [clubId]
14632
+ * @param {string} [date]
14633
+ * @param {GetDailyEventsVisibilityTypeEnum} [visibilityType]
14634
+ * @param {GetDailyEventsTypeEnum} [type]
14635
+ * @param {string} [sportId]
14636
+ * @param {*} [options] Override http request option.
14637
+ * @throws {RequiredError}
14638
+ */
14639
+ getDailyEvents: (clubId?: string, date?: string, visibilityType?: GetDailyEventsVisibilityTypeEnum, type?: GetDailyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14250
14640
  /**
14251
14641
  * Get all events for a club (staff only)
14252
14642
  * @param {*} [options] Override http request option.
14253
14643
  * @throws {RequiredError}
14254
14644
  */
14255
14645
  getEventsByClub: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14646
+ /**
14647
+ * Get events for the entire month view (including recurring occurrences)
14648
+ * @param {string} [clubId]
14649
+ * @param {string} [date]
14650
+ * @param {GetMonthlyEventsVisibilityTypeEnum} [visibilityType]
14651
+ * @param {GetMonthlyEventsTypeEnum} [type]
14652
+ * @param {string} [sportId]
14653
+ * @param {*} [options] Override http request option.
14654
+ * @throws {RequiredError}
14655
+ */
14656
+ getMonthlyEvents: (clubId?: string, date?: string, visibilityType?: GetMonthlyEventsVisibilityTypeEnum, type?: GetMonthlyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14657
+ /**
14658
+ * Get events for the week view (30 day sliding window)
14659
+ * @param {string} [clubId]
14660
+ * @param {string} [date]
14661
+ * @param {GetWeeklyEventsVisibilityTypeEnum} [visibilityType]
14662
+ * @param {GetWeeklyEventsTypeEnum} [type]
14663
+ * @param {string} [sportId]
14664
+ * @param {*} [options] Override http request option.
14665
+ * @throws {RequiredError}
14666
+ */
14667
+ getWeeklyEvents: (clubId?: string, date?: string, visibilityType?: GetWeeklyEventsVisibilityTypeEnum, type?: GetWeeklyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14256
14668
  };
14257
14669
  /**
14258
14670
  * EventsStaffApi - functional programming interface
@@ -14267,12 +14679,45 @@ export declare const EventsStaffApiFp: (configuration?: Configuration) => {
14267
14679
  * @throws {RequiredError}
14268
14680
  */
14269
14681
  checkInEventParticipants(eventBookingId: string, checkInEventParticipantsRequest: CheckInEventParticipantsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInEventParticipants200Response>>;
14682
+ /**
14683
+ * Get events for the day view (entire week)
14684
+ * @param {string} [clubId]
14685
+ * @param {string} [date]
14686
+ * @param {GetDailyEventsVisibilityTypeEnum} [visibilityType]
14687
+ * @param {GetDailyEventsTypeEnum} [type]
14688
+ * @param {string} [sportId]
14689
+ * @param {*} [options] Override http request option.
14690
+ * @throws {RequiredError}
14691
+ */
14692
+ getDailyEvents(clubId?: string, date?: string, visibilityType?: GetDailyEventsVisibilityTypeEnum, type?: GetDailyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
14270
14693
  /**
14271
14694
  * Get all events for a club (staff only)
14272
14695
  * @param {*} [options] Override http request option.
14273
14696
  * @throws {RequiredError}
14274
14697
  */
14275
14698
  getEventsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
14699
+ /**
14700
+ * Get events for the entire month view (including recurring occurrences)
14701
+ * @param {string} [clubId]
14702
+ * @param {string} [date]
14703
+ * @param {GetMonthlyEventsVisibilityTypeEnum} [visibilityType]
14704
+ * @param {GetMonthlyEventsTypeEnum} [type]
14705
+ * @param {string} [sportId]
14706
+ * @param {*} [options] Override http request option.
14707
+ * @throws {RequiredError}
14708
+ */
14709
+ getMonthlyEvents(clubId?: string, date?: string, visibilityType?: GetMonthlyEventsVisibilityTypeEnum, type?: GetMonthlyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
14710
+ /**
14711
+ * Get events for the week view (30 day sliding window)
14712
+ * @param {string} [clubId]
14713
+ * @param {string} [date]
14714
+ * @param {GetWeeklyEventsVisibilityTypeEnum} [visibilityType]
14715
+ * @param {GetWeeklyEventsTypeEnum} [type]
14716
+ * @param {string} [sportId]
14717
+ * @param {*} [options] Override http request option.
14718
+ * @throws {RequiredError}
14719
+ */
14720
+ getWeeklyEvents(clubId?: string, date?: string, visibilityType?: GetWeeklyEventsVisibilityTypeEnum, type?: GetWeeklyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
14276
14721
  };
14277
14722
  /**
14278
14723
  * EventsStaffApi - factory interface
@@ -14286,12 +14731,33 @@ export declare const EventsStaffApiFactory: (configuration?: Configuration, base
14286
14731
  * @throws {RequiredError}
14287
14732
  */
14288
14733
  checkInEventParticipants(requestParameters: EventsStaffApiCheckInEventParticipantsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInEventParticipants200Response>;
14734
+ /**
14735
+ * Get events for the day view (entire week)
14736
+ * @param {EventsStaffApiGetDailyEventsRequest} requestParameters Request parameters.
14737
+ * @param {*} [options] Override http request option.
14738
+ * @throws {RequiredError}
14739
+ */
14740
+ getDailyEvents(requestParameters?: EventsStaffApiGetDailyEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
14289
14741
  /**
14290
14742
  * Get all events for a club (staff only)
14291
14743
  * @param {*} [options] Override http request option.
14292
14744
  * @throws {RequiredError}
14293
14745
  */
14294
14746
  getEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
14747
+ /**
14748
+ * Get events for the entire month view (including recurring occurrences)
14749
+ * @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
14750
+ * @param {*} [options] Override http request option.
14751
+ * @throws {RequiredError}
14752
+ */
14753
+ getMonthlyEvents(requestParameters?: EventsStaffApiGetMonthlyEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
14754
+ /**
14755
+ * Get events for the week view (30 day sliding window)
14756
+ * @param {EventsStaffApiGetWeeklyEventsRequest} requestParameters Request parameters.
14757
+ * @param {*} [options] Override http request option.
14758
+ * @throws {RequiredError}
14759
+ */
14760
+ getWeeklyEvents(requestParameters?: EventsStaffApiGetWeeklyEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
14295
14761
  };
14296
14762
  /**
14297
14763
  * Request parameters for checkInEventParticipants operation in EventsStaffApi.
@@ -14312,6 +14778,117 @@ export interface EventsStaffApiCheckInEventParticipantsRequest {
14312
14778
  */
14313
14779
  readonly checkInEventParticipantsRequest: CheckInEventParticipantsRequest;
14314
14780
  }
14781
+ /**
14782
+ * Request parameters for getDailyEvents operation in EventsStaffApi.
14783
+ * @export
14784
+ * @interface EventsStaffApiGetDailyEventsRequest
14785
+ */
14786
+ export interface EventsStaffApiGetDailyEventsRequest {
14787
+ /**
14788
+ *
14789
+ * @type {string}
14790
+ * @memberof EventsStaffApiGetDailyEvents
14791
+ */
14792
+ readonly clubId?: string;
14793
+ /**
14794
+ *
14795
+ * @type {string}
14796
+ * @memberof EventsStaffApiGetDailyEvents
14797
+ */
14798
+ readonly date?: string;
14799
+ /**
14800
+ *
14801
+ * @type {'public' | 'private' | 'invitation'}
14802
+ * @memberof EventsStaffApiGetDailyEvents
14803
+ */
14804
+ readonly visibilityType?: GetDailyEventsVisibilityTypeEnum;
14805
+ /**
14806
+ *
14807
+ * @type {'event' | 'closure'}
14808
+ * @memberof EventsStaffApiGetDailyEvents
14809
+ */
14810
+ readonly type?: GetDailyEventsTypeEnum;
14811
+ /**
14812
+ *
14813
+ * @type {string}
14814
+ * @memberof EventsStaffApiGetDailyEvents
14815
+ */
14816
+ readonly sportId?: string;
14817
+ }
14818
+ /**
14819
+ * Request parameters for getMonthlyEvents operation in EventsStaffApi.
14820
+ * @export
14821
+ * @interface EventsStaffApiGetMonthlyEventsRequest
14822
+ */
14823
+ export interface EventsStaffApiGetMonthlyEventsRequest {
14824
+ /**
14825
+ *
14826
+ * @type {string}
14827
+ * @memberof EventsStaffApiGetMonthlyEvents
14828
+ */
14829
+ readonly clubId?: string;
14830
+ /**
14831
+ *
14832
+ * @type {string}
14833
+ * @memberof EventsStaffApiGetMonthlyEvents
14834
+ */
14835
+ readonly date?: string;
14836
+ /**
14837
+ *
14838
+ * @type {'public' | 'private' | 'invitation'}
14839
+ * @memberof EventsStaffApiGetMonthlyEvents
14840
+ */
14841
+ readonly visibilityType?: GetMonthlyEventsVisibilityTypeEnum;
14842
+ /**
14843
+ *
14844
+ * @type {'event' | 'closure'}
14845
+ * @memberof EventsStaffApiGetMonthlyEvents
14846
+ */
14847
+ readonly type?: GetMonthlyEventsTypeEnum;
14848
+ /**
14849
+ *
14850
+ * @type {string}
14851
+ * @memberof EventsStaffApiGetMonthlyEvents
14852
+ */
14853
+ readonly sportId?: string;
14854
+ }
14855
+ /**
14856
+ * Request parameters for getWeeklyEvents operation in EventsStaffApi.
14857
+ * @export
14858
+ * @interface EventsStaffApiGetWeeklyEventsRequest
14859
+ */
14860
+ export interface EventsStaffApiGetWeeklyEventsRequest {
14861
+ /**
14862
+ *
14863
+ * @type {string}
14864
+ * @memberof EventsStaffApiGetWeeklyEvents
14865
+ */
14866
+ readonly clubId?: string;
14867
+ /**
14868
+ *
14869
+ * @type {string}
14870
+ * @memberof EventsStaffApiGetWeeklyEvents
14871
+ */
14872
+ readonly date?: string;
14873
+ /**
14874
+ *
14875
+ * @type {'public' | 'private' | 'invitation'}
14876
+ * @memberof EventsStaffApiGetWeeklyEvents
14877
+ */
14878
+ readonly visibilityType?: GetWeeklyEventsVisibilityTypeEnum;
14879
+ /**
14880
+ *
14881
+ * @type {'event' | 'closure'}
14882
+ * @memberof EventsStaffApiGetWeeklyEvents
14883
+ */
14884
+ readonly type?: GetWeeklyEventsTypeEnum;
14885
+ /**
14886
+ *
14887
+ * @type {string}
14888
+ * @memberof EventsStaffApiGetWeeklyEvents
14889
+ */
14890
+ readonly sportId?: string;
14891
+ }
14315
14892
  /**
14316
14893
  * EventsStaffApi - object-oriented interface
14317
14894
  * @export
@@ -14327,6 +14904,14 @@ export declare class EventsStaffApi extends BaseAPI {
14327
14904
  * @memberof EventsStaffApi
14328
14905
  */
14329
14906
  checkInEventParticipants(requestParameters: EventsStaffApiCheckInEventParticipantsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckInEventParticipants200Response, any, {}>>;
14907
+ /**
14908
+ * Get events for the day view (entire week)
14909
+ * @param {EventsStaffApiGetDailyEventsRequest} requestParameters Request parameters.
14910
+ * @param {*} [options] Override http request option.
14911
+ * @throws {RequiredError}
14912
+ * @memberof EventsStaffApi
14913
+ */
14914
+ getDailyEvents(requestParameters?: EventsStaffApiGetDailyEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
14330
14915
  /**
14331
14916
  * Get all events for a club (staff only)
14332
14917
  * @param {*} [options] Override http request option.
@@ -14334,7 +14919,74 @@ export declare class EventsStaffApi extends BaseAPI {
14334
14919
  * @memberof EventsStaffApi
14335
14920
  */
14336
14921
  getEventsByClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
14922
+ /**
14923
+ * Get events for the entire month view (including recurring occurrences)
14924
+ * @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
14925
+ * @param {*} [options] Override http request option.
14926
+ * @throws {RequiredError}
14927
+ * @memberof EventsStaffApi
14928
+ */
14929
+ getMonthlyEvents(requestParameters?: EventsStaffApiGetMonthlyEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
14930
+ /**
14931
+ * Get events for the week view (30 day sliding window)
14932
+ * @param {EventsStaffApiGetWeeklyEventsRequest} requestParameters Request parameters.
14933
+ * @param {*} [options] Override http request option.
14934
+ * @throws {RequiredError}
14935
+ * @memberof EventsStaffApi
14936
+ */
14937
+ getWeeklyEvents(requestParameters?: EventsStaffApiGetWeeklyEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
14337
14938
  }
14939
+ /**
14940
+ * @export
14941
+ */
14942
+ export declare const GetDailyEventsVisibilityTypeEnum: {
14943
+ readonly Public: "public";
14944
+ readonly Private: "private";
14945
+ readonly Invitation: "invitation";
14946
+ };
14947
+ export type GetDailyEventsVisibilityTypeEnum = typeof GetDailyEventsVisibilityTypeEnum[keyof typeof GetDailyEventsVisibilityTypeEnum];
14948
+ /**
14949
+ * @export
14950
+ */
14951
+ export declare const GetDailyEventsTypeEnum: {
14952
+ readonly Event: "event";
14953
+ readonly Closure: "closure";
14954
+ };
14955
+ export type GetDailyEventsTypeEnum = typeof GetDailyEventsTypeEnum[keyof typeof GetDailyEventsTypeEnum];
14956
+ /**
14957
+ * @export
14958
+ */
14959
+ export declare const GetMonthlyEventsVisibilityTypeEnum: {
14960
+ readonly Public: "public";
14961
+ readonly Private: "private";
14962
+ readonly Invitation: "invitation";
14963
+ };
14964
+ export type GetMonthlyEventsVisibilityTypeEnum = typeof GetMonthlyEventsVisibilityTypeEnum[keyof typeof GetMonthlyEventsVisibilityTypeEnum];
14965
+ /**
14966
+ * @export
14967
+ */
14968
+ export declare const GetMonthlyEventsTypeEnum: {
14969
+ readonly Event: "event";
14970
+ readonly Closure: "closure";
14971
+ };
14972
+ export type GetMonthlyEventsTypeEnum = typeof GetMonthlyEventsTypeEnum[keyof typeof GetMonthlyEventsTypeEnum];
14973
+ /**
14974
+ * @export
14975
+ */
14976
+ export declare const GetWeeklyEventsVisibilityTypeEnum: {
14977
+ readonly Public: "public";
14978
+ readonly Private: "private";
14979
+ readonly Invitation: "invitation";
14980
+ };
14981
+ export type GetWeeklyEventsVisibilityTypeEnum = typeof GetWeeklyEventsVisibilityTypeEnum[keyof typeof GetWeeklyEventsVisibilityTypeEnum];
14982
+ /**
14983
+ * @export
14984
+ */
14985
+ export declare const GetWeeklyEventsTypeEnum: {
14986
+ readonly Event: "event";
14987
+ readonly Closure: "closure";
14988
+ };
14989
+ export type GetWeeklyEventsTypeEnum = typeof GetWeeklyEventsTypeEnum[keyof typeof GetWeeklyEventsTypeEnum];
14338
14990
  /**
14339
14991
  * SportsManagerApi - axios parameter creator
14340
14992
  * @export