@tennac-booking/sdk 1.0.108 → 1.0.110

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.
Files changed (42) hide show
  1. package/.openapi-generator/FILES +9 -1
  2. package/README.md +15 -2
  3. package/api.ts +672 -1
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +478 -1
  8. package/dist/api.js +280 -1
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +478 -1
  16. package/dist/esm/api.js +280 -1
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/CheckInEventParticipants200Response.md +22 -0
  28. package/docs/CheckInEventParticipants200ResponseInvoicesInner.md +28 -0
  29. package/docs/CheckInEventParticipantsRequest.md +20 -0
  30. package/docs/ClubsStaffApi.md +59 -0
  31. package/docs/CreateOnsiteInvoiceRequest.md +28 -0
  32. package/docs/CreateOnsiteInvoiceResponse.md +22 -0
  33. package/docs/CreateOnsiteInvoiceResponseInvoice.md +31 -0
  34. package/docs/EventConflictCheckRequest.md +28 -0
  35. package/docs/EventConflictCheckResponse.md +26 -0
  36. package/docs/EventsManagerApi.md +114 -0
  37. package/docs/EventsStaffApi.md +59 -0
  38. package/docs/JoinEventRequest.md +8 -0
  39. package/docs/JoinEventRequestPlayersPaymentMethodsInner.md +22 -0
  40. package/docs/PublishEventResponse.md +2 -0
  41. package/index.ts +1 -1
  42. package/package.json +1 -1
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.108
7
+ * The version of the OpenAPI document: 1.0.110
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.108
7
+ * The version of the OpenAPI document: 1.0.110
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.108
7
+ * The version of the OpenAPI document: 1.0.110
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.108
5
+ * The version of the OpenAPI document: 1.0.110
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1221,6 +1221,75 @@ export interface ChangePasswordResponse {
1221
1221
  */
1222
1222
  'message': string;
1223
1223
  }
1224
+ /**
1225
+ *
1226
+ * @export
1227
+ * @interface CheckInEventParticipants200Response
1228
+ */
1229
+ export interface CheckInEventParticipants200Response {
1230
+ /**
1231
+ *
1232
+ * @type {Array<CheckInEventParticipants200ResponseInvoicesInner>}
1233
+ * @memberof CheckInEventParticipants200Response
1234
+ */
1235
+ 'invoices': Array<CheckInEventParticipants200ResponseInvoicesInner>;
1236
+ /**
1237
+ *
1238
+ * @type {string}
1239
+ * @memberof CheckInEventParticipants200Response
1240
+ */
1241
+ 'message': string;
1242
+ }
1243
+ /**
1244
+ *
1245
+ * @export
1246
+ * @interface CheckInEventParticipants200ResponseInvoicesInner
1247
+ */
1248
+ export interface CheckInEventParticipants200ResponseInvoicesInner {
1249
+ /**
1250
+ *
1251
+ * @type {PaymentMethod}
1252
+ * @memberof CheckInEventParticipants200ResponseInvoicesInner
1253
+ */
1254
+ 'paymentMethod': PaymentMethod;
1255
+ /**
1256
+ *
1257
+ * @type {string}
1258
+ * @memberof CheckInEventParticipants200ResponseInvoicesInner
1259
+ */
1260
+ 'status': string;
1261
+ /**
1262
+ *
1263
+ * @type {number}
1264
+ * @memberof CheckInEventParticipants200ResponseInvoicesInner
1265
+ */
1266
+ 'amount': number;
1267
+ /**
1268
+ *
1269
+ * @type {string}
1270
+ * @memberof CheckInEventParticipants200ResponseInvoicesInner
1271
+ */
1272
+ 'invoiceId': string;
1273
+ /**
1274
+ *
1275
+ * @type {string}
1276
+ * @memberof CheckInEventParticipants200ResponseInvoicesInner
1277
+ */
1278
+ 'playerId': string;
1279
+ }
1280
+ /**
1281
+ *
1282
+ * @export
1283
+ * @interface CheckInEventParticipantsRequest
1284
+ */
1285
+ export interface CheckInEventParticipantsRequest {
1286
+ /**
1287
+ *
1288
+ * @type {Array<string>}
1289
+ * @memberof CheckInEventParticipantsRequest
1290
+ */
1291
+ 'playerIds': Array<string>;
1292
+ }
1224
1293
  /**
1225
1294
  *
1226
1295
  * @export
@@ -3345,6 +3414,105 @@ export declare const CreateEventRequestVisibilityTypeEnum: {
3345
3414
  readonly Invitation: "invitation";
3346
3415
  };
3347
3416
  export type CreateEventRequestVisibilityTypeEnum = typeof CreateEventRequestVisibilityTypeEnum[keyof typeof CreateEventRequestVisibilityTypeEnum];
3417
+ /**
3418
+ *
3419
+ * @export
3420
+ * @interface CreateOnsiteInvoiceRequest
3421
+ */
3422
+ export interface CreateOnsiteInvoiceRequest {
3423
+ /**
3424
+ * Payer user id (creator or player)
3425
+ * @type {string}
3426
+ * @memberof CreateOnsiteInvoiceRequest
3427
+ */
3428
+ 'userId': string;
3429
+ /**
3430
+ * Amount in cents
3431
+ * @type {number}
3432
+ * @memberof CreateOnsiteInvoiceRequest
3433
+ */
3434
+ 'amount': number;
3435
+ /**
3436
+ *
3437
+ * @type {PaymentMethod}
3438
+ * @memberof CreateOnsiteInvoiceRequest
3439
+ */
3440
+ 'paymentMethod': PaymentMethod;
3441
+ /**
3442
+ *
3443
+ * @type {InvoiceStatus}
3444
+ * @memberof CreateOnsiteInvoiceRequest
3445
+ */
3446
+ 'status': InvoiceStatus;
3447
+ /**
3448
+ * Optional note/reason about the invoice
3449
+ * @type {string}
3450
+ * @memberof CreateOnsiteInvoiceRequest
3451
+ */
3452
+ 'reason'?: string;
3453
+ }
3454
+ /**
3455
+ *
3456
+ * @export
3457
+ * @interface CreateOnsiteInvoiceResponse
3458
+ */
3459
+ export interface CreateOnsiteInvoiceResponse {
3460
+ /**
3461
+ * Confirmation message
3462
+ * @type {string}
3463
+ * @memberof CreateOnsiteInvoiceResponse
3464
+ */
3465
+ 'message': string;
3466
+ /**
3467
+ *
3468
+ * @type {CreateOnsiteInvoiceResponseInvoice}
3469
+ * @memberof CreateOnsiteInvoiceResponse
3470
+ */
3471
+ 'invoice': CreateOnsiteInvoiceResponseInvoice;
3472
+ }
3473
+ /**
3474
+ * Created invoice summary
3475
+ * @export
3476
+ * @interface CreateOnsiteInvoiceResponseInvoice
3477
+ */
3478
+ export interface CreateOnsiteInvoiceResponseInvoice {
3479
+ /**
3480
+ *
3481
+ * @type {string}
3482
+ * @memberof CreateOnsiteInvoiceResponseInvoice
3483
+ */
3484
+ 'reason'?: string;
3485
+ /**
3486
+ *
3487
+ * @type {PaymentMethod}
3488
+ * @memberof CreateOnsiteInvoiceResponseInvoice
3489
+ */
3490
+ 'paymentMethod': PaymentMethod;
3491
+ /**
3492
+ *
3493
+ * @type {InvoiceStatus}
3494
+ * @memberof CreateOnsiteInvoiceResponseInvoice
3495
+ */
3496
+ 'status': InvoiceStatus;
3497
+ /**
3498
+ *
3499
+ * @type {number}
3500
+ * @memberof CreateOnsiteInvoiceResponseInvoice
3501
+ */
3502
+ 'amount': number;
3503
+ /**
3504
+ *
3505
+ * @type {string}
3506
+ * @memberof CreateOnsiteInvoiceResponseInvoice
3507
+ */
3508
+ 'userId': string;
3509
+ /**
3510
+ *
3511
+ * @type {string}
3512
+ * @memberof CreateOnsiteInvoiceResponseInvoice
3513
+ */
3514
+ 'id': string;
3515
+ }
3348
3516
  /**
3349
3517
  *
3350
3518
  * @export
@@ -3670,6 +3838,74 @@ export declare const DiscountType: {
3670
3838
  readonly OffPeak: "off_peak";
3671
3839
  };
3672
3840
  export type DiscountType = typeof DiscountType[keyof typeof DiscountType];
3841
+ /**
3842
+ *
3843
+ * @export
3844
+ * @interface EventConflictCheckRequest
3845
+ */
3846
+ export interface EventConflictCheckRequest {
3847
+ /**
3848
+ *
3849
+ * @type {string}
3850
+ * @memberof EventConflictCheckRequest
3851
+ */
3852
+ 'eventId'?: string;
3853
+ /**
3854
+ *
3855
+ * @type {string}
3856
+ * @memberof EventConflictCheckRequest
3857
+ */
3858
+ 'clubId'?: string;
3859
+ /**
3860
+ *
3861
+ * @type {string}
3862
+ * @memberof EventConflictCheckRequest
3863
+ */
3864
+ 'startDate'?: string;
3865
+ /**
3866
+ *
3867
+ * @type {string}
3868
+ * @memberof EventConflictCheckRequest
3869
+ */
3870
+ 'endDate'?: string;
3871
+ /**
3872
+ *
3873
+ * @type {Array<string>}
3874
+ * @memberof EventConflictCheckRequest
3875
+ */
3876
+ 'courts'?: Array<string>;
3877
+ }
3878
+ /**
3879
+ *
3880
+ * @export
3881
+ * @interface EventConflictCheckResponse
3882
+ */
3883
+ export interface EventConflictCheckResponse {
3884
+ /**
3885
+ *
3886
+ * @type {boolean}
3887
+ * @memberof EventConflictCheckResponse
3888
+ */
3889
+ 'hasRegularBookings': boolean;
3890
+ /**
3891
+ *
3892
+ * @type {number}
3893
+ * @memberof EventConflictCheckResponse
3894
+ */
3895
+ 'regularBookingsCount': number;
3896
+ /**
3897
+ *
3898
+ * @type {boolean}
3899
+ * @memberof EventConflictCheckResponse
3900
+ */
3901
+ 'hasEventBookings': boolean;
3902
+ /**
3903
+ *
3904
+ * @type {number}
3905
+ * @memberof EventConflictCheckResponse
3906
+ */
3907
+ 'eventBookingsCount': number;
3908
+ }
3673
3909
  /**
3674
3910
  *
3675
3911
  * @export
@@ -4723,6 +4959,49 @@ export interface JoinEventRequest {
4723
4959
  * @memberof JoinEventRequest
4724
4960
  */
4725
4961
  'players'?: Array<string>;
4962
+ /**
4963
+ *
4964
+ * @type {boolean}
4965
+ * @memberof JoinEventRequest
4966
+ */
4967
+ 'isCreatorPayingAll'?: boolean;
4968
+ /**
4969
+ *
4970
+ * @type {PaymentMethod}
4971
+ * @memberof JoinEventRequest
4972
+ */
4973
+ 'paymentMethod'?: PaymentMethod;
4974
+ /**
4975
+ *
4976
+ * @type {Array<JoinEventRequestPlayersPaymentMethodsInner>}
4977
+ * @memberof JoinEventRequest
4978
+ */
4979
+ 'playersPaymentMethods'?: Array<JoinEventRequestPlayersPaymentMethodsInner>;
4980
+ /**
4981
+ *
4982
+ * @type {boolean}
4983
+ * @memberof JoinEventRequest
4984
+ */
4985
+ 'useDefaultPaymentMethod'?: boolean;
4986
+ }
4987
+ /**
4988
+ *
4989
+ * @export
4990
+ * @interface JoinEventRequestPlayersPaymentMethodsInner
4991
+ */
4992
+ export interface JoinEventRequestPlayersPaymentMethodsInner {
4993
+ /**
4994
+ *
4995
+ * @type {PaymentMethod}
4996
+ * @memberof JoinEventRequestPlayersPaymentMethodsInner
4997
+ */
4998
+ 'paymentMethod': PaymentMethod;
4999
+ /**
5000
+ *
5001
+ * @type {string}
5002
+ * @memberof JoinEventRequestPlayersPaymentMethodsInner
5003
+ */
5004
+ 'id': string;
4726
5005
  }
4727
5006
  /**
4728
5007
  *
@@ -5835,6 +6114,12 @@ export interface PublishEventResponse {
5835
6114
  * @memberof PublishEventResponse
5836
6115
  */
5837
6116
  'event': EventResponse;
6117
+ /**
6118
+ *
6119
+ * @type {Array<string>}
6120
+ * @memberof PublishEventResponse
6121
+ */
6122
+ 'refundedBookingIds'?: Array<string>;
5838
6123
  }
5839
6124
  /**
5840
6125
  *
@@ -13014,6 +13299,14 @@ export declare class ClubsManagerApi extends BaseAPI {
13014
13299
  * @export
13015
13300
  */
13016
13301
  export declare const ClubsStaffApiAxiosParamCreator: (configuration?: Configuration) => {
13302
+ /**
13303
+ * Crée une facture manuelle (on-site) et l\'associe à une réservation
13304
+ * @param {string} bookingId
13305
+ * @param {CreateOnsiteInvoiceRequest} createOnsiteInvoiceRequest
13306
+ * @param {*} [options] Override http request option.
13307
+ * @throws {RequiredError}
13308
+ */
13309
+ createOnsiteInvoiceForBooking: (bookingId: string, createOnsiteInvoiceRequest: CreateOnsiteInvoiceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13017
13310
  /**
13018
13311
  *
13019
13312
  * @param {*} [options] Override http request option.
@@ -13069,6 +13362,14 @@ export declare const ClubsStaffApiAxiosParamCreator: (configuration?: Configurat
13069
13362
  * @export
13070
13363
  */
13071
13364
  export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
13365
+ /**
13366
+ * Crée une facture manuelle (on-site) et l\'associe à une réservation
13367
+ * @param {string} bookingId
13368
+ * @param {CreateOnsiteInvoiceRequest} createOnsiteInvoiceRequest
13369
+ * @param {*} [options] Override http request option.
13370
+ * @throws {RequiredError}
13371
+ */
13372
+ createOnsiteInvoiceForBooking(bookingId: string, createOnsiteInvoiceRequest: CreateOnsiteInvoiceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateOnsiteInvoiceResponse>>;
13072
13373
  /**
13073
13374
  *
13074
13375
  * @param {*} [options] Override http request option.
@@ -13124,6 +13425,13 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
13124
13425
  * @export
13125
13426
  */
13126
13427
  export declare const ClubsStaffApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
13428
+ /**
13429
+ * Crée une facture manuelle (on-site) et l\'associe à une réservation
13430
+ * @param {ClubsStaffApiCreateOnsiteInvoiceForBookingRequest} requestParameters Request parameters.
13431
+ * @param {*} [options] Override http request option.
13432
+ * @throws {RequiredError}
13433
+ */
13434
+ createOnsiteInvoiceForBooking(requestParameters: ClubsStaffApiCreateOnsiteInvoiceForBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateOnsiteInvoiceResponse>;
13127
13435
  /**
13128
13436
  *
13129
13437
  * @param {*} [options] Override http request option.
@@ -13174,6 +13482,25 @@ export declare const ClubsStaffApiFactory: (configuration?: Configuration, baseP
13174
13482
  */
13175
13483
  getUserProfileStaff(requestParameters: ClubsStaffApiGetUserProfileStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffUserProfileResponse>;
13176
13484
  };
13485
+ /**
13486
+ * Request parameters for createOnsiteInvoiceForBooking operation in ClubsStaffApi.
13487
+ * @export
13488
+ * @interface ClubsStaffApiCreateOnsiteInvoiceForBookingRequest
13489
+ */
13490
+ export interface ClubsStaffApiCreateOnsiteInvoiceForBookingRequest {
13491
+ /**
13492
+ *
13493
+ * @type {string}
13494
+ * @memberof ClubsStaffApiCreateOnsiteInvoiceForBooking
13495
+ */
13496
+ readonly bookingId: string;
13497
+ /**
13498
+ *
13499
+ * @type {CreateOnsiteInvoiceRequest}
13500
+ * @memberof ClubsStaffApiCreateOnsiteInvoiceForBooking
13501
+ */
13502
+ readonly createOnsiteInvoiceRequest: CreateOnsiteInvoiceRequest;
13503
+ }
13177
13504
  /**
13178
13505
  * Request parameters for getUserProfileStaff operation in ClubsStaffApi.
13179
13506
  * @export
@@ -13194,6 +13521,14 @@ export interface ClubsStaffApiGetUserProfileStaffRequest {
13194
13521
  * @extends {BaseAPI}
13195
13522
  */
13196
13523
  export declare class ClubsStaffApi extends BaseAPI {
13524
+ /**
13525
+ * Crée une facture manuelle (on-site) et l\'associe à une réservation
13526
+ * @param {ClubsStaffApiCreateOnsiteInvoiceForBookingRequest} requestParameters Request parameters.
13527
+ * @param {*} [options] Override http request option.
13528
+ * @throws {RequiredError}
13529
+ * @memberof ClubsStaffApi
13530
+ */
13531
+ createOnsiteInvoiceForBooking(requestParameters: ClubsStaffApiCreateOnsiteInvoiceForBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateOnsiteInvoiceResponse, any, {}>>;
13197
13532
  /**
13198
13533
  *
13199
13534
  * @param {*} [options] Override http request option.
@@ -13568,6 +13903,13 @@ export type GetPublishedEventsByClubIdTypeEnum = typeof GetPublishedEventsByClub
13568
13903
  * @export
13569
13904
  */
13570
13905
  export declare const EventsManagerApiAxiosParamCreator: (configuration?: Configuration) => {
13906
+ /**
13907
+ * Check if there are bookings overlapping an event window (for create/update/delete)
13908
+ * @param {EventConflictCheckRequest} eventConflictCheckRequest
13909
+ * @param {*} [options] Override http request option.
13910
+ * @throws {RequiredError}
13911
+ */
13912
+ checkEventConflicts: (eventConflictCheckRequest: EventConflictCheckRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13571
13913
  /**
13572
13914
  * Create a new event (manager)
13573
13915
  * @param {CreateEventRequest} createEventRequest
@@ -13604,12 +13946,27 @@ export declare const EventsManagerApiAxiosParamCreator: (configuration?: Configu
13604
13946
  * @throws {RequiredError}
13605
13947
  */
13606
13948
  updateEvent: (eventId: string, updateEventRequest: UpdateEventRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13949
+ /**
13950
+ * Update a published event (manager) and propagate slot changes and conflicts
13951
+ * @param {string} eventId
13952
+ * @param {UpdateEventRequest} updateEventRequest
13953
+ * @param {*} [options] Override http request option.
13954
+ * @throws {RequiredError}
13955
+ */
13956
+ updatePublishedEvent: (eventId: string, updateEventRequest: UpdateEventRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13607
13957
  };
13608
13958
  /**
13609
13959
  * EventsManagerApi - functional programming interface
13610
13960
  * @export
13611
13961
  */
13612
13962
  export declare const EventsManagerApiFp: (configuration?: Configuration) => {
13963
+ /**
13964
+ * Check if there are bookings overlapping an event window (for create/update/delete)
13965
+ * @param {EventConflictCheckRequest} eventConflictCheckRequest
13966
+ * @param {*} [options] Override http request option.
13967
+ * @throws {RequiredError}
13968
+ */
13969
+ checkEventConflicts(eventConflictCheckRequest: EventConflictCheckRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventConflictCheckResponse>>;
13613
13970
  /**
13614
13971
  * Create a new event (manager)
13615
13972
  * @param {CreateEventRequest} createEventRequest
@@ -13646,12 +14003,27 @@ export declare const EventsManagerApiFp: (configuration?: Configuration) => {
13646
14003
  * @throws {RequiredError}
13647
14004
  */
13648
14005
  updateEvent(eventId: string, updateEventRequest: UpdateEventRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>>;
14006
+ /**
14007
+ * Update a published event (manager) and propagate slot changes and conflicts
14008
+ * @param {string} eventId
14009
+ * @param {UpdateEventRequest} updateEventRequest
14010
+ * @param {*} [options] Override http request option.
14011
+ * @throws {RequiredError}
14012
+ */
14013
+ updatePublishedEvent(eventId: string, updateEventRequest: UpdateEventRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>>;
13649
14014
  };
13650
14015
  /**
13651
14016
  * EventsManagerApi - factory interface
13652
14017
  * @export
13653
14018
  */
13654
14019
  export declare const EventsManagerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
14020
+ /**
14021
+ * Check if there are bookings overlapping an event window (for create/update/delete)
14022
+ * @param {EventsManagerApiCheckEventConflictsRequest} requestParameters Request parameters.
14023
+ * @param {*} [options] Override http request option.
14024
+ * @throws {RequiredError}
14025
+ */
14026
+ checkEventConflicts(requestParameters: EventsManagerApiCheckEventConflictsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventConflictCheckResponse>;
13655
14027
  /**
13656
14028
  * Create a new event (manager)
13657
14029
  * @param {EventsManagerApiCreateEventRequest} requestParameters Request parameters.
@@ -13687,7 +14059,27 @@ export declare const EventsManagerApiFactory: (configuration?: Configuration, ba
13687
14059
  * @throws {RequiredError}
13688
14060
  */
13689
14061
  updateEvent(requestParameters: EventsManagerApiUpdateEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublishEventResponse>;
14062
+ /**
14063
+ * Update a published event (manager) and propagate slot changes and conflicts
14064
+ * @param {EventsManagerApiUpdatePublishedEventRequest} requestParameters Request parameters.
14065
+ * @param {*} [options] Override http request option.
14066
+ * @throws {RequiredError}
14067
+ */
14068
+ updatePublishedEvent(requestParameters: EventsManagerApiUpdatePublishedEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublishEventResponse>;
13690
14069
  };
14070
+ /**
14071
+ * Request parameters for checkEventConflicts operation in EventsManagerApi.
14072
+ * @export
14073
+ * @interface EventsManagerApiCheckEventConflictsRequest
14074
+ */
14075
+ export interface EventsManagerApiCheckEventConflictsRequest {
14076
+ /**
14077
+ *
14078
+ * @type {EventConflictCheckRequest}
14079
+ * @memberof EventsManagerApiCheckEventConflicts
14080
+ */
14081
+ readonly eventConflictCheckRequest: EventConflictCheckRequest;
14082
+ }
13691
14083
  /**
13692
14084
  * Request parameters for createEvent operation in EventsManagerApi.
13693
14085
  * @export
@@ -13759,6 +14151,25 @@ export interface EventsManagerApiUpdateEventRequest {
13759
14151
  */
13760
14152
  readonly updateEventRequest: UpdateEventRequest;
13761
14153
  }
14154
+ /**
14155
+ * Request parameters for updatePublishedEvent operation in EventsManagerApi.
14156
+ * @export
14157
+ * @interface EventsManagerApiUpdatePublishedEventRequest
14158
+ */
14159
+ export interface EventsManagerApiUpdatePublishedEventRequest {
14160
+ /**
14161
+ *
14162
+ * @type {string}
14163
+ * @memberof EventsManagerApiUpdatePublishedEvent
14164
+ */
14165
+ readonly eventId: string;
14166
+ /**
14167
+ *
14168
+ * @type {UpdateEventRequest}
14169
+ * @memberof EventsManagerApiUpdatePublishedEvent
14170
+ */
14171
+ readonly updateEventRequest: UpdateEventRequest;
14172
+ }
13762
14173
  /**
13763
14174
  * EventsManagerApi - object-oriented interface
13764
14175
  * @export
@@ -13766,6 +14177,14 @@ export interface EventsManagerApiUpdateEventRequest {
13766
14177
  * @extends {BaseAPI}
13767
14178
  */
13768
14179
  export declare class EventsManagerApi extends BaseAPI {
14180
+ /**
14181
+ * Check if there are bookings overlapping an event window (for create/update/delete)
14182
+ * @param {EventsManagerApiCheckEventConflictsRequest} requestParameters Request parameters.
14183
+ * @param {*} [options] Override http request option.
14184
+ * @throws {RequiredError}
14185
+ * @memberof EventsManagerApi
14186
+ */
14187
+ checkEventConflicts(requestParameters: EventsManagerApiCheckEventConflictsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventConflictCheckResponse, any, {}>>;
13769
14188
  /**
13770
14189
  * Create a new event (manager)
13771
14190
  * @param {EventsManagerApiCreateEventRequest} requestParameters Request parameters.
@@ -13806,12 +14225,28 @@ export declare class EventsManagerApi extends BaseAPI {
13806
14225
  * @memberof EventsManagerApi
13807
14226
  */
13808
14227
  updateEvent(requestParameters: EventsManagerApiUpdateEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublishEventResponse, any, {}>>;
14228
+ /**
14229
+ * Update a published event (manager) and propagate slot changes and conflicts
14230
+ * @param {EventsManagerApiUpdatePublishedEventRequest} requestParameters Request parameters.
14231
+ * @param {*} [options] Override http request option.
14232
+ * @throws {RequiredError}
14233
+ * @memberof EventsManagerApi
14234
+ */
14235
+ updatePublishedEvent(requestParameters: EventsManagerApiUpdatePublishedEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublishEventResponse, any, {}>>;
13809
14236
  }
13810
14237
  /**
13811
14238
  * EventsStaffApi - axios parameter creator
13812
14239
  * @export
13813
14240
  */
13814
14241
  export declare const EventsStaffApiAxiosParamCreator: (configuration?: Configuration) => {
14242
+ /**
14243
+ * Check-in des participants d\'un EventBooking (clubs avec paiements)
14244
+ * @param {string} eventBookingId
14245
+ * @param {CheckInEventParticipantsRequest} checkInEventParticipantsRequest
14246
+ * @param {*} [options] Override http request option.
14247
+ * @throws {RequiredError}
14248
+ */
14249
+ checkInEventParticipants: (eventBookingId: string, checkInEventParticipantsRequest: CheckInEventParticipantsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13815
14250
  /**
13816
14251
  * Get all events for a club (staff only)
13817
14252
  * @param {*} [options] Override http request option.
@@ -13824,6 +14259,14 @@ export declare const EventsStaffApiAxiosParamCreator: (configuration?: Configura
13824
14259
  * @export
13825
14260
  */
13826
14261
  export declare const EventsStaffApiFp: (configuration?: Configuration) => {
14262
+ /**
14263
+ * Check-in des participants d\'un EventBooking (clubs avec paiements)
14264
+ * @param {string} eventBookingId
14265
+ * @param {CheckInEventParticipantsRequest} checkInEventParticipantsRequest
14266
+ * @param {*} [options] Override http request option.
14267
+ * @throws {RequiredError}
14268
+ */
14269
+ checkInEventParticipants(eventBookingId: string, checkInEventParticipantsRequest: CheckInEventParticipantsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInEventParticipants200Response>>;
13827
14270
  /**
13828
14271
  * Get all events for a club (staff only)
13829
14272
  * @param {*} [options] Override http request option.
@@ -13836,6 +14279,13 @@ export declare const EventsStaffApiFp: (configuration?: Configuration) => {
13836
14279
  * @export
13837
14280
  */
13838
14281
  export declare const EventsStaffApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
14282
+ /**
14283
+ * Check-in des participants d\'un EventBooking (clubs avec paiements)
14284
+ * @param {EventsStaffApiCheckInEventParticipantsRequest} requestParameters Request parameters.
14285
+ * @param {*} [options] Override http request option.
14286
+ * @throws {RequiredError}
14287
+ */
14288
+ checkInEventParticipants(requestParameters: EventsStaffApiCheckInEventParticipantsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInEventParticipants200Response>;
13839
14289
  /**
13840
14290
  * Get all events for a club (staff only)
13841
14291
  * @param {*} [options] Override http request option.
@@ -13843,6 +14293,25 @@ export declare const EventsStaffApiFactory: (configuration?: Configuration, base
13843
14293
  */
13844
14294
  getEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
13845
14295
  };
14296
+ /**
14297
+ * Request parameters for checkInEventParticipants operation in EventsStaffApi.
14298
+ * @export
14299
+ * @interface EventsStaffApiCheckInEventParticipantsRequest
14300
+ */
14301
+ export interface EventsStaffApiCheckInEventParticipantsRequest {
14302
+ /**
14303
+ *
14304
+ * @type {string}
14305
+ * @memberof EventsStaffApiCheckInEventParticipants
14306
+ */
14307
+ readonly eventBookingId: string;
14308
+ /**
14309
+ *
14310
+ * @type {CheckInEventParticipantsRequest}
14311
+ * @memberof EventsStaffApiCheckInEventParticipants
14312
+ */
14313
+ readonly checkInEventParticipantsRequest: CheckInEventParticipantsRequest;
14314
+ }
13846
14315
  /**
13847
14316
  * EventsStaffApi - object-oriented interface
13848
14317
  * @export
@@ -13850,6 +14319,14 @@ export declare const EventsStaffApiFactory: (configuration?: Configuration, base
13850
14319
  * @extends {BaseAPI}
13851
14320
  */
13852
14321
  export declare class EventsStaffApi extends BaseAPI {
14322
+ /**
14323
+ * Check-in des participants d\'un EventBooking (clubs avec paiements)
14324
+ * @param {EventsStaffApiCheckInEventParticipantsRequest} requestParameters Request parameters.
14325
+ * @param {*} [options] Override http request option.
14326
+ * @throws {RequiredError}
14327
+ * @memberof EventsStaffApi
14328
+ */
14329
+ checkInEventParticipants(requestParameters: EventsStaffApiCheckInEventParticipantsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckInEventParticipants200Response, any, {}>>;
13853
14330
  /**
13854
14331
  * Get all events for a club (staff only)
13855
14332
  * @param {*} [options] Override http request option.