@tennac-booking/sdk 1.0.127 → 1.0.129

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 (65) hide show
  1. package/.openapi-generator/FILES +346 -334
  2. package/README.md +24 -11
  3. package/api.ts +1006 -422
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +853 -357
  8. package/dist/api.js +317 -164
  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 +853 -357
  16. package/dist/esm/api.js +313 -160
  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/BookingsStaffApi.md +10 -10
  28. package/docs/{PlanPriceInput.md → CheckInPlayersRequest.md} +5 -7
  29. package/docs/{CheckInPlayerResponse.md → CheckInPlayersResponse.md} +5 -5
  30. package/docs/ClubPlayerSubscriptionSummary.md +3 -3
  31. package/docs/ClubsStaffApi.md +0 -54
  32. package/docs/CreatePlan201Response.md +0 -2
  33. package/docs/CreateSubscriptionPlanRequest.md +2 -2
  34. package/docs/CreateSubscriptionPlanRequestDiscount.md +0 -2
  35. package/docs/DeleteSubscriptionPlanResponse.md +0 -2
  36. package/docs/EventBookingDetailSummary.md +40 -0
  37. package/docs/EventBookingResponse.md +36 -0
  38. package/docs/EventBookingResponsePlayersInner.md +28 -0
  39. package/docs/{CheckInPlayerRequest.md → EventBookingResponsePlayersInnerInvoiceStatus.md} +3 -5
  40. package/docs/{GetClubType200Response.md → EventBookingResponseSetupStatus.md} +3 -5
  41. package/docs/EventBookingStatus.md +16 -0
  42. package/docs/EventsApi.md +4 -1
  43. package/docs/EventsManagerApi.md +110 -0
  44. package/docs/InvoiceStatusSETUPPENDING.md +8 -0
  45. package/docs/InvoiceStatusSETUPSUCCESS.md +8 -0
  46. package/docs/MonthlyTurnoverResponse.md +1 -0
  47. package/docs/OffPeakRule.md +0 -2
  48. package/docs/ParticipationType.md +10 -0
  49. package/docs/PublicSubscriptionPlanResponse.md +1 -5
  50. package/docs/PublishEventResponse.md +4 -0
  51. package/docs/RecurringDefinitionResponse.md +34 -0
  52. package/docs/SendSubscriptionInvitationRequest.md +0 -2
  53. package/docs/SubscriptionPlanResponse.md +1 -7
  54. package/docs/SubscriptionsManagerApi.md +1 -55
  55. package/docs/UpdateRecurringDefinition200Response.md +20 -0
  56. package/docs/UpdateRecurringDefinitionRequest.md +56 -0
  57. package/docs/UserEventParticipation.md +22 -0
  58. package/docs/UserEventSummary.md +44 -0
  59. package/docs/UserEventsResponse.md +28 -0
  60. package/docs/UsersApi.md +54 -0
  61. package/docs/VisibilityType.md +12 -0
  62. package/index.ts +1 -1
  63. package/package.json +1 -1
  64. package/docs/PlanPrice.md +0 -26
  65. package/docs/SubscriptionPlanDiscountResponse.md +0 -34
package/dist/esm/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.121
5
+ * The version of the OpenAPI document: 1.0.129
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1421,34 +1421,34 @@ export interface CheckInEventParticipantsRequest {
1421
1421
  /**
1422
1422
  *
1423
1423
  * @export
1424
- * @interface CheckInPlayerRequest
1424
+ * @interface CheckInPlayersRequest
1425
1425
  */
1426
- export interface CheckInPlayerRequest {
1426
+ export interface CheckInPlayersRequest {
1427
1427
  /**
1428
- * ID du joueur qui a payé/est arrivé
1429
- * @type {string}
1430
- * @memberof CheckInPlayerRequest
1428
+ * Liste des IDs des joueurs qui ont payé/sont arrivés
1429
+ * @type {Array<string>}
1430
+ * @memberof CheckInPlayersRequest
1431
1431
  */
1432
- 'playerId': string;
1432
+ 'playerIds': Array<string>;
1433
1433
  }
1434
1434
  /**
1435
1435
  *
1436
1436
  * @export
1437
- * @interface CheckInPlayerResponse
1437
+ * @interface CheckInPlayersResponse
1438
1438
  */
1439
- export interface CheckInPlayerResponse {
1439
+ export interface CheckInPlayersResponse {
1440
1440
  /**
1441
1441
  * Message de confirmation
1442
1442
  * @type {string}
1443
- * @memberof CheckInPlayerResponse
1443
+ * @memberof CheckInPlayersResponse
1444
1444
  */
1445
1445
  'message': string;
1446
1446
  /**
1447
- *
1448
- * @type {CheckedInPlayer}
1449
- * @memberof CheckInPlayerResponse
1447
+ * Joueurs ayant effectué le check-in
1448
+ * @type {Array<CheckedInPlayer>}
1449
+ * @memberof CheckInPlayersResponse
1450
1450
  */
1451
- 'invoice': CheckedInPlayer;
1451
+ 'invoices': Array<CheckedInPlayer>;
1452
1452
  }
1453
1453
  /**
1454
1454
  *
@@ -2705,11 +2705,11 @@ export interface ClubPlayerSubscriptionSummary {
2705
2705
  */
2706
2706
  'name': string | null;
2707
2707
  /**
2708
- * Tarifications disponibles
2709
- * @type {Array<PlanPrice>}
2708
+ * Montant en centimes
2709
+ * @type {number}
2710
2710
  * @memberof ClubPlayerSubscriptionSummary
2711
2711
  */
2712
- 'prices': Array<PlanPrice>;
2712
+ 'amountInCents': number | null;
2713
2713
  /**
2714
2714
  * Devise
2715
2715
  * @type {string}
@@ -2717,7 +2717,7 @@ export interface ClubPlayerSubscriptionSummary {
2717
2717
  */
2718
2718
  'currency': string | null;
2719
2719
  /**
2720
- * Intervalle par défaut
2720
+ * Intervalle de facturation
2721
2721
  * @type {string}
2722
2722
  * @memberof ClubPlayerSubscriptionSummary
2723
2723
  */
@@ -3917,12 +3917,6 @@ export interface CreateOnsiteInvoiceResponseInvoice {
3917
3917
  * @interface CreatePlan201Response
3918
3918
  */
3919
3919
  export interface CreatePlan201Response {
3920
- /**
3921
- *
3922
- * @type {Array<string>}
3923
- * @memberof CreatePlan201Response
3924
- */
3925
- 'priceIds': Array<string>;
3926
3920
  /**
3927
3921
  *
3928
3922
  * @type {string}
@@ -4037,10 +4031,10 @@ export interface CreateSubscriptionPlanRequest {
4037
4031
  'description'?: string;
4038
4032
  /**
4039
4033
  *
4040
- * @type {Array<PlanPriceInput>}
4034
+ * @type {number}
4041
4035
  * @memberof CreateSubscriptionPlanRequest
4042
4036
  */
4043
- 'prices': Array<PlanPriceInput>;
4037
+ 'amountInCents': number;
4044
4038
  /**
4045
4039
  *
4046
4040
  * @type {string}
@@ -4076,15 +4070,8 @@ export interface CreateSubscriptionPlanRequestDiscount {
4076
4070
  *
4077
4071
  * @type {Array<OffPeakRule>}
4078
4072
  * @memberof CreateSubscriptionPlanRequestDiscount
4079
- * @deprecated
4080
4073
  */
4081
4074
  'offPeakRules'?: Array<OffPeakRule>;
4082
- /**
4083
- * Liste optionnelle des noms de périodes tarifaires sur lesquelles appliquer la remise. Laisser vide pour appliquer la remise à toutes les heures d\'ouverture du club.
4084
- * @type {Array<string>}
4085
- * @memberof CreateSubscriptionPlanRequestDiscount
4086
- */
4087
- 'offPeakRuleNames'?: Array<string>;
4088
4075
  /**
4089
4076
  *
4090
4077
  * @type {string}
@@ -4236,12 +4223,6 @@ export interface DeleteSubscriptionPlanResponse {
4236
4223
  * @memberof DeleteSubscriptionPlanResponse
4237
4224
  */
4238
4225
  'message': string;
4239
- /**
4240
- *
4241
- * @type {boolean}
4242
- * @memberof DeleteSubscriptionPlanResponse
4243
- */
4244
- 'archivedInstead'?: boolean;
4245
4226
  }
4246
4227
  /**
4247
4228
  *
@@ -4360,6 +4341,204 @@ export interface EstimateEventPriceRequestSharesInner {
4360
4341
  */
4361
4342
  'playerId': string;
4362
4343
  }
4344
+ /**
4345
+ *
4346
+ * @export
4347
+ * @interface EventBookingDetailSummary
4348
+ */
4349
+ export interface EventBookingDetailSummary {
4350
+ /**
4351
+ *
4352
+ * @type {string}
4353
+ * @memberof EventBookingDetailSummary
4354
+ */
4355
+ 'id': string;
4356
+ /**
4357
+ *
4358
+ * @type {EventBookingStatus}
4359
+ * @memberof EventBookingDetailSummary
4360
+ */
4361
+ 'status': EventBookingStatus;
4362
+ /**
4363
+ *
4364
+ * @type {string}
4365
+ * @memberof EventBookingDetailSummary
4366
+ */
4367
+ 'teamName'?: string | null;
4368
+ /**
4369
+ *
4370
+ * @type {Array<string>}
4371
+ * @memberof EventBookingDetailSummary
4372
+ */
4373
+ 'players': Array<string>;
4374
+ /**
4375
+ *
4376
+ * @type {Array<string>}
4377
+ * @memberof EventBookingDetailSummary
4378
+ */
4379
+ 'invoices': Array<string>;
4380
+ /**
4381
+ *
4382
+ * @type {string}
4383
+ * @memberof EventBookingDetailSummary
4384
+ */
4385
+ 'creatorPaymentMethodId'?: string | null;
4386
+ /**
4387
+ *
4388
+ * @type {boolean}
4389
+ * @memberof EventBookingDetailSummary
4390
+ */
4391
+ 'paymentMethodSetupCompleted': boolean;
4392
+ /**
4393
+ *
4394
+ * @type {string}
4395
+ * @memberof EventBookingDetailSummary
4396
+ */
4397
+ 'limitSetupDate'?: string | null;
4398
+ /**
4399
+ *
4400
+ * @type {string}
4401
+ * @memberof EventBookingDetailSummary
4402
+ */
4403
+ 'limitCancellationDate'?: string | null;
4404
+ /**
4405
+ *
4406
+ * @type {string}
4407
+ * @memberof EventBookingDetailSummary
4408
+ */
4409
+ 'createdAt': string;
4410
+ /**
4411
+ *
4412
+ * @type {string}
4413
+ * @memberof EventBookingDetailSummary
4414
+ */
4415
+ 'updatedAt': string;
4416
+ }
4417
+ /**
4418
+ *
4419
+ * @export
4420
+ * @interface EventBookingResponse
4421
+ */
4422
+ export interface EventBookingResponse {
4423
+ /**
4424
+ *
4425
+ * @type {string}
4426
+ * @memberof EventBookingResponse
4427
+ */
4428
+ 'id': string;
4429
+ /**
4430
+ *
4431
+ * @type {EventBookingStatus}
4432
+ * @memberof EventBookingResponse
4433
+ */
4434
+ 'status': EventBookingStatus;
4435
+ /**
4436
+ *
4437
+ * @type {string}
4438
+ * @memberof EventBookingResponse
4439
+ */
4440
+ 'teamName'?: string | null;
4441
+ /**
4442
+ *
4443
+ * @type {Array<EventBookingResponsePlayersInner>}
4444
+ * @memberof EventBookingResponse
4445
+ */
4446
+ 'players': Array<EventBookingResponsePlayersInner>;
4447
+ /**
4448
+ *
4449
+ * @type {string}
4450
+ * @memberof EventBookingResponse
4451
+ */
4452
+ 'setupLimitDate'?: string | null;
4453
+ /**
4454
+ *
4455
+ * @type {string}
4456
+ * @memberof EventBookingResponse
4457
+ */
4458
+ 'cancellationLimitDate'?: string | null;
4459
+ /**
4460
+ *
4461
+ * @type {EventBookingResponseSetupStatus}
4462
+ * @memberof EventBookingResponse
4463
+ */
4464
+ 'setupStatus'?: EventBookingResponseSetupStatus | null;
4465
+ /**
4466
+ *
4467
+ * @type {string}
4468
+ * @memberof EventBookingResponse
4469
+ */
4470
+ 'createdAt': string;
4471
+ /**
4472
+ *
4473
+ * @type {string}
4474
+ * @memberof EventBookingResponse
4475
+ */
4476
+ 'updatedAt': string;
4477
+ }
4478
+ /**
4479
+ *
4480
+ * @export
4481
+ * @interface EventBookingResponsePlayersInner
4482
+ */
4483
+ export interface EventBookingResponsePlayersInner {
4484
+ /**
4485
+ *
4486
+ * @type {EventBookingResponsePlayersInnerInvoiceStatus}
4487
+ * @memberof EventBookingResponsePlayersInner
4488
+ */
4489
+ 'invoiceStatus'?: EventBookingResponsePlayersInnerInvoiceStatus | null;
4490
+ /**
4491
+ *
4492
+ * @type {string}
4493
+ * @memberof EventBookingResponsePlayersInner
4494
+ */
4495
+ 'profilePicture'?: string | null;
4496
+ /**
4497
+ *
4498
+ * @type {string}
4499
+ * @memberof EventBookingResponsePlayersInner
4500
+ */
4501
+ 'lastName'?: string | null;
4502
+ /**
4503
+ *
4504
+ * @type {string}
4505
+ * @memberof EventBookingResponsePlayersInner
4506
+ */
4507
+ 'firstName'?: string | null;
4508
+ /**
4509
+ *
4510
+ * @type {string}
4511
+ * @memberof EventBookingResponsePlayersInner
4512
+ */
4513
+ 'id': string;
4514
+ }
4515
+ /**
4516
+ *
4517
+ * @export
4518
+ * @interface EventBookingResponsePlayersInnerInvoiceStatus
4519
+ */
4520
+ export interface EventBookingResponsePlayersInnerInvoiceStatus {
4521
+ }
4522
+ /**
4523
+ *
4524
+ * @export
4525
+ * @interface EventBookingResponseSetupStatus
4526
+ */
4527
+ export interface EventBookingResponseSetupStatus {
4528
+ }
4529
+ /**
4530
+ *
4531
+ * @export
4532
+ * @enum {string}
4533
+ */
4534
+ export declare const EventBookingStatus: {
4535
+ readonly Pending: "pending";
4536
+ readonly Active: "active";
4537
+ readonly Paid: "paid";
4538
+ readonly Cancelled: "cancelled";
4539
+ readonly Expired: "expired";
4540
+ };
4541
+ export type EventBookingStatus = typeof EventBookingStatus[keyof typeof EventBookingStatus];
4363
4542
  /**
4364
4543
  *
4365
4544
  * @export
@@ -4885,19 +5064,6 @@ export interface GetClubRoles200Response {
4885
5064
  */
4886
5065
  'roles': Array<any>;
4887
5066
  }
4888
- /**
4889
- *
4890
- * @export
4891
- * @interface GetClubType200Response
4892
- */
4893
- export interface GetClubType200Response {
4894
- /**
4895
- *
4896
- * @type {string}
4897
- * @memberof GetClubType200Response
4898
- */
4899
- 'clubType': string;
4900
- }
4901
5067
  /**
4902
5068
  *
4903
5069
  * @export
@@ -5692,6 +5858,24 @@ export declare const InvoiceStatus: {
5692
5858
  readonly Expired: "expired";
5693
5859
  };
5694
5860
  export type InvoiceStatus = typeof InvoiceStatus[keyof typeof InvoiceStatus];
5861
+ /**
5862
+ *
5863
+ * @export
5864
+ * @enum {string}
5865
+ */
5866
+ export declare const InvoiceStatusSETUPPENDING: {
5867
+ readonly SetupPending: "setup_pending";
5868
+ };
5869
+ export type InvoiceStatusSETUPPENDING = typeof InvoiceStatusSETUPPENDING[keyof typeof InvoiceStatusSETUPPENDING];
5870
+ /**
5871
+ *
5872
+ * @export
5873
+ * @enum {string}
5874
+ */
5875
+ export declare const InvoiceStatusSETUPSUCCESS: {
5876
+ readonly SetupSuccess: "setup_success";
5877
+ };
5878
+ export type InvoiceStatusSETUPSUCCESS = typeof InvoiceStatusSETUPSUCCESS[keyof typeof InvoiceStatusSETUPSUCCESS];
5695
5879
  /**
5696
5880
  *
5697
5881
  * @export
@@ -6027,7 +6211,7 @@ export interface MonthlyBreakdown {
6027
6211
  'invoiceCount': number;
6028
6212
  }
6029
6213
  /**
6030
- *
6214
+ * Types TSOA pour les analytics du club
6031
6215
  * @export
6032
6216
  * @interface MonthlyTurnoverResponse
6033
6217
  */
@@ -6143,12 +6327,6 @@ export interface NoShowFeeResponse {
6143
6327
  * @interface OffPeakRule
6144
6328
  */
6145
6329
  export interface OffPeakRule {
6146
- /**
6147
- *
6148
- * @type {string}
6149
- * @memberof OffPeakRule
6150
- */
6151
- 'pricingPeriodName'?: string;
6152
6330
  /**
6153
6331
  *
6154
6332
  * @type {number}
@@ -6327,6 +6505,16 @@ export interface PartialClubWeeklySchedule {
6327
6505
  */
6328
6506
  'sunday'?: ClubDaySchedule;
6329
6507
  }
6508
+ /**
6509
+ *
6510
+ * @export
6511
+ * @enum {string}
6512
+ */
6513
+ export declare const ParticipationType: {
6514
+ readonly Solo: "solo";
6515
+ readonly Team: "team";
6516
+ };
6517
+ export type ParticipationType = typeof ParticipationType[keyof typeof ParticipationType];
6330
6518
  /**
6331
6519
  *
6332
6520
  * @export
@@ -6467,56 +6655,6 @@ export declare const PlanInterval: {
6467
6655
  readonly Semester: "semester";
6468
6656
  };
6469
6657
  export type PlanInterval = typeof PlanInterval[keyof typeof PlanInterval];
6470
- /**
6471
- *
6472
- * @export
6473
- * @interface PlanPrice
6474
- */
6475
- export interface PlanPrice {
6476
- /**
6477
- *
6478
- * @type {number}
6479
- * @memberof PlanPrice
6480
- */
6481
- 'amountInCents': number;
6482
- /**
6483
- *
6484
- * @type {PlanInterval}
6485
- * @memberof PlanPrice
6486
- */
6487
- 'interval': PlanInterval;
6488
- /**
6489
- *
6490
- * @type {boolean}
6491
- * @memberof PlanPrice
6492
- */
6493
- 'active'?: boolean;
6494
- /**
6495
- *
6496
- * @type {string}
6497
- * @memberof PlanPrice
6498
- */
6499
- 'stripePriceId'?: string;
6500
- }
6501
- /**
6502
- *
6503
- * @export
6504
- * @interface PlanPriceInput
6505
- */
6506
- export interface PlanPriceInput {
6507
- /**
6508
- *
6509
- * @type {number}
6510
- * @memberof PlanPriceInput
6511
- */
6512
- 'amountInCents': number;
6513
- /**
6514
- *
6515
- * @type {PlanInterval}
6516
- * @memberof PlanPriceInput
6517
- */
6518
- 'interval': PlanInterval;
6519
- }
6520
6658
  /**
6521
6659
  *
6522
6660
  * @export
@@ -6887,19 +7025,13 @@ export interface PublicSubscriptionPlanResponse {
6887
7025
  * @type {number}
6888
7026
  * @memberof PublicSubscriptionPlanResponse
6889
7027
  */
6890
- 'amountInCents'?: number;
7028
+ 'amountInCents': number;
6891
7029
  /**
6892
7030
  *
6893
7031
  * @type {string}
6894
7032
  * @memberof PublicSubscriptionPlanResponse
6895
7033
  */
6896
7034
  'currency': string;
6897
- /**
6898
- *
6899
- * @type {Array<PlanPrice>}
6900
- * @memberof PublicSubscriptionPlanResponse
6901
- */
6902
- 'prices': Array<PlanPrice>;
6903
7035
  /**
6904
7036
  *
6905
7037
  * @type {PlanInterval}
@@ -6912,12 +7044,6 @@ export interface PublicSubscriptionPlanResponse {
6912
7044
  * @memberof PublicSubscriptionPlanResponse
6913
7045
  */
6914
7046
  'description'?: string;
6915
- /**
6916
- *
6917
- * @type {SubscriptionPlanDiscountResponse}
6918
- * @memberof PublicSubscriptionPlanResponse
6919
- */
6920
- 'discount'?: SubscriptionPlanDiscountResponse;
6921
7047
  }
6922
7048
  /**
6923
7049
  *
@@ -7022,13 +7148,25 @@ export interface PublishEventResponse {
7022
7148
  * @memberof PublishEventResponse
7023
7149
  */
7024
7150
  'refundedBookingIds'?: Array<string>;
7025
- }
7026
- /**
7027
- *
7028
- * @export
7029
- * @interface QuickReservationClubSport
7030
- */
7031
- export interface QuickReservationClubSport {
7151
+ /**
7152
+ *
7153
+ * @type {EventBookingResponse}
7154
+ * @memberof PublishEventResponse
7155
+ */
7156
+ 'userBooking'?: EventBookingResponse;
7157
+ /**
7158
+ *
7159
+ * @type {boolean}
7160
+ * @memberof PublishEventResponse
7161
+ */
7162
+ 'needsToSetupPaymentMethod'?: boolean;
7163
+ }
7164
+ /**
7165
+ *
7166
+ * @export
7167
+ * @interface QuickReservationClubSport
7168
+ */
7169
+ export interface QuickReservationClubSport {
7032
7170
  /**
7033
7171
  * ID du sport
7034
7172
  * @type {string}
@@ -7232,6 +7370,68 @@ export interface QuickReservationSlotSummary {
7232
7370
  */
7233
7371
  'sportKey'?: string;
7234
7372
  }
7373
+ /**
7374
+ *
7375
+ * @export
7376
+ * @interface RecurringDefinitionResponse
7377
+ */
7378
+ export interface RecurringDefinitionResponse {
7379
+ /**
7380
+ *
7381
+ * @type {string}
7382
+ * @memberof RecurringDefinitionResponse
7383
+ */
7384
+ 'id': string;
7385
+ /**
7386
+ *
7387
+ * @type {string}
7388
+ * @memberof RecurringDefinitionResponse
7389
+ */
7390
+ 'clubId'?: string;
7391
+ /**
7392
+ *
7393
+ * @type {string}
7394
+ * @memberof RecurringDefinitionResponse
7395
+ */
7396
+ 'title': string;
7397
+ /**
7398
+ *
7399
+ * @type {string}
7400
+ * @memberof RecurringDefinitionResponse
7401
+ */
7402
+ 'baseStartDate': string;
7403
+ /**
7404
+ *
7405
+ * @type {string}
7406
+ * @memberof RecurringDefinitionResponse
7407
+ */
7408
+ 'baseEndDate': string;
7409
+ /**
7410
+ *
7411
+ * @type {string}
7412
+ * @memberof RecurringDefinitionResponse
7413
+ */
7414
+ 'recurringType': RecurringDefinitionResponseRecurringTypeEnum;
7415
+ /**
7416
+ *
7417
+ * @type {string}
7418
+ * @memberof RecurringDefinitionResponse
7419
+ */
7420
+ 'recurrenceEndDate'?: string;
7421
+ /**
7422
+ *
7423
+ * @type {boolean}
7424
+ * @memberof RecurringDefinitionResponse
7425
+ */
7426
+ 'isActive'?: boolean;
7427
+ }
7428
+ export declare const RecurringDefinitionResponseRecurringTypeEnum: {
7429
+ readonly Daily: "daily";
7430
+ readonly Weekly: "weekly";
7431
+ readonly Monthly: "monthly";
7432
+ readonly Unique: "unique";
7433
+ };
7434
+ export type RecurringDefinitionResponseRecurringTypeEnum = typeof RecurringDefinitionResponseRecurringTypeEnum[keyof typeof RecurringDefinitionResponseRecurringTypeEnum];
7235
7435
  /**
7236
7436
  *
7237
7437
  * @export
@@ -7548,12 +7748,6 @@ export interface SendSubscriptionInvitationRequest {
7548
7748
  * @memberof SendSubscriptionInvitationRequest
7549
7749
  */
7550
7750
  'productId': string;
7551
- /**
7552
- * Price spécifique proposé dans l\'invitation (facultatif).
7553
- * @type {string}
7554
- * @memberof SendSubscriptionInvitationRequest
7555
- */
7556
- 'priceId'?: string;
7557
7751
  }
7558
7752
  /**
7559
7753
  *
@@ -9657,61 +9851,6 @@ export interface SubscriptionMutationResponse {
9657
9851
  [key: string]: any;
9658
9852
  };
9659
9853
  }
9660
- /**
9661
- *
9662
- * @export
9663
- * @interface SubscriptionPlanDiscountResponse
9664
- */
9665
- export interface SubscriptionPlanDiscountResponse {
9666
- /**
9667
- *
9668
- * @type {DiscountType}
9669
- * @memberof SubscriptionPlanDiscountResponse
9670
- */
9671
- 'type': DiscountType;
9672
- /**
9673
- *
9674
- * @type {number}
9675
- * @memberof SubscriptionPlanDiscountResponse
9676
- */
9677
- 'percentage'?: number;
9678
- /**
9679
- *
9680
- * @type {number}
9681
- * @memberof SubscriptionPlanDiscountResponse
9682
- */
9683
- 'maxDiscountAmountInCents'?: number;
9684
- /**
9685
- *
9686
- * @type {string}
9687
- * @memberof SubscriptionPlanDiscountResponse
9688
- */
9689
- 'validFrom'?: string;
9690
- /**
9691
- *
9692
- * @type {string}
9693
- * @memberof SubscriptionPlanDiscountResponse
9694
- */
9695
- 'validTo'?: string;
9696
- /**
9697
- *
9698
- * @type {Array<string>}
9699
- * @memberof SubscriptionPlanDiscountResponse
9700
- */
9701
- 'offPeakRuleNames'?: Array<string>;
9702
- /**
9703
- *
9704
- * @type {Array<OffPeakRule>}
9705
- * @memberof SubscriptionPlanDiscountResponse
9706
- */
9707
- 'offPeakRules'?: Array<OffPeakRule>;
9708
- /**
9709
- *
9710
- * @type {boolean}
9711
- * @memberof SubscriptionPlanDiscountResponse
9712
- */
9713
- 'bookingFree'?: boolean;
9714
- }
9715
9854
  /**
9716
9855
  *
9717
9856
  * @export
@@ -9747,19 +9886,13 @@ export interface SubscriptionPlanResponse {
9747
9886
  * @type {number}
9748
9887
  * @memberof SubscriptionPlanResponse
9749
9888
  */
9750
- 'amountInCents'?: number;
9889
+ 'amountInCents': number;
9751
9890
  /**
9752
9891
  *
9753
9892
  * @type {string}
9754
9893
  * @memberof SubscriptionPlanResponse
9755
9894
  */
9756
9895
  'currency': string;
9757
- /**
9758
- *
9759
- * @type {Array<PlanPrice>}
9760
- * @memberof SubscriptionPlanResponse
9761
- */
9762
- 'prices': Array<PlanPrice>;
9763
9896
  /**
9764
9897
  *
9765
9898
  * @type {PlanInterval}
@@ -9772,18 +9905,6 @@ export interface SubscriptionPlanResponse {
9772
9905
  * @memberof SubscriptionPlanResponse
9773
9906
  */
9774
9907
  'priceActive': boolean;
9775
- /**
9776
- *
9777
- * @type {string}
9778
- * @memberof SubscriptionPlanResponse
9779
- */
9780
- 'description'?: string;
9781
- /**
9782
- *
9783
- * @type {SubscriptionPlanDiscountResponse}
9784
- * @memberof SubscriptionPlanResponse
9785
- */
9786
- 'discount'?: SubscriptionPlanDiscountResponse;
9787
9908
  }
9788
9909
  /**
9789
9910
  *
@@ -10399,6 +10520,163 @@ export interface UpdatePlanRequest {
10399
10520
  */
10400
10521
  'oldPriceId': string;
10401
10522
  }
10523
+ /**
10524
+ *
10525
+ * @export
10526
+ * @interface UpdateRecurringDefinition200Response
10527
+ */
10528
+ export interface UpdateRecurringDefinition200Response {
10529
+ /**
10530
+ *
10531
+ * @type {boolean}
10532
+ * @memberof UpdateRecurringDefinition200Response
10533
+ */
10534
+ 'ok': boolean;
10535
+ }
10536
+ /**
10537
+ *
10538
+ * @export
10539
+ * @interface UpdateRecurringDefinitionRequest
10540
+ */
10541
+ export interface UpdateRecurringDefinitionRequest {
10542
+ /**
10543
+ *
10544
+ * @type {string}
10545
+ * @memberof UpdateRecurringDefinitionRequest
10546
+ */
10547
+ 'title'?: string;
10548
+ /**
10549
+ *
10550
+ * @type {string}
10551
+ * @memberof UpdateRecurringDefinitionRequest
10552
+ */
10553
+ 'description'?: string;
10554
+ /**
10555
+ *
10556
+ * @type {string}
10557
+ * @memberof UpdateRecurringDefinitionRequest
10558
+ */
10559
+ 'photoUrl'?: string;
10560
+ /**
10561
+ *
10562
+ * @type {string}
10563
+ * @memberof UpdateRecurringDefinitionRequest
10564
+ */
10565
+ 'sportId'?: string;
10566
+ /**
10567
+ *
10568
+ * @type {Array<string>}
10569
+ * @memberof UpdateRecurringDefinitionRequest
10570
+ */
10571
+ 'courts'?: Array<string>;
10572
+ /**
10573
+ *
10574
+ * @type {Array<string | null>}
10575
+ * @memberof UpdateRecurringDefinitionRequest
10576
+ */
10577
+ 'levels'?: Array<string | null>;
10578
+ /**
10579
+ *
10580
+ * @type {Array<EventSponsor>}
10581
+ * @memberof UpdateRecurringDefinitionRequest
10582
+ */
10583
+ 'sponsors'?: Array<EventSponsor>;
10584
+ /**
10585
+ *
10586
+ * @type {string}
10587
+ * @memberof UpdateRecurringDefinitionRequest
10588
+ */
10589
+ 'visibilityType'?: UpdateRecurringDefinitionRequestVisibilityTypeEnum;
10590
+ /**
10591
+ *
10592
+ * @type {string}
10593
+ * @memberof UpdateRecurringDefinitionRequest
10594
+ */
10595
+ 'type'?: UpdateRecurringDefinitionRequestTypeEnum;
10596
+ /**
10597
+ *
10598
+ * @type {string}
10599
+ * @memberof UpdateRecurringDefinitionRequest
10600
+ */
10601
+ 'participationType'?: UpdateRecurringDefinitionRequestParticipationTypeEnum;
10602
+ /**
10603
+ *
10604
+ * @type {number}
10605
+ * @memberof UpdateRecurringDefinitionRequest
10606
+ */
10607
+ 'playerLimit'?: number;
10608
+ /**
10609
+ *
10610
+ * @type {number}
10611
+ * @memberof UpdateRecurringDefinitionRequest
10612
+ */
10613
+ 'teamLimit'?: number;
10614
+ /**
10615
+ *
10616
+ * @type {number}
10617
+ * @memberof UpdateRecurringDefinitionRequest
10618
+ */
10619
+ 'playersPerTeam'?: number;
10620
+ /**
10621
+ *
10622
+ * @type {number}
10623
+ * @memberof UpdateRecurringDefinitionRequest
10624
+ */
10625
+ 'price'?: number;
10626
+ /**
10627
+ *
10628
+ * @type {Array<SubscriberPrice>}
10629
+ * @memberof UpdateRecurringDefinitionRequest
10630
+ */
10631
+ 'subscriberPrices'?: Array<SubscriberPrice>;
10632
+ /**
10633
+ *
10634
+ * @type {string}
10635
+ * @memberof UpdateRecurringDefinitionRequest
10636
+ */
10637
+ 'baseStartDate'?: string;
10638
+ /**
10639
+ *
10640
+ * @type {string}
10641
+ * @memberof UpdateRecurringDefinitionRequest
10642
+ */
10643
+ 'baseEndDate'?: string;
10644
+ /**
10645
+ *
10646
+ * @type {string}
10647
+ * @memberof UpdateRecurringDefinitionRequest
10648
+ */
10649
+ 'recurringType'?: UpdateRecurringDefinitionRequestRecurringTypeEnum;
10650
+ /**
10651
+ *
10652
+ * @type {string}
10653
+ * @memberof UpdateRecurringDefinitionRequest
10654
+ */
10655
+ 'recurrenceEndDate'?: string;
10656
+ }
10657
+ export declare const UpdateRecurringDefinitionRequestVisibilityTypeEnum: {
10658
+ readonly Public: "public";
10659
+ readonly Private: "private";
10660
+ readonly Invitation: "invitation";
10661
+ };
10662
+ export type UpdateRecurringDefinitionRequestVisibilityTypeEnum = typeof UpdateRecurringDefinitionRequestVisibilityTypeEnum[keyof typeof UpdateRecurringDefinitionRequestVisibilityTypeEnum];
10663
+ export declare const UpdateRecurringDefinitionRequestTypeEnum: {
10664
+ readonly Event: "event";
10665
+ readonly Closure: "closure";
10666
+ };
10667
+ export type UpdateRecurringDefinitionRequestTypeEnum = typeof UpdateRecurringDefinitionRequestTypeEnum[keyof typeof UpdateRecurringDefinitionRequestTypeEnum];
10668
+ export declare const UpdateRecurringDefinitionRequestParticipationTypeEnum: {
10669
+ readonly Solo: "solo";
10670
+ readonly Team: "team";
10671
+ };
10672
+ export type UpdateRecurringDefinitionRequestParticipationTypeEnum = typeof UpdateRecurringDefinitionRequestParticipationTypeEnum[keyof typeof UpdateRecurringDefinitionRequestParticipationTypeEnum];
10673
+ export declare const UpdateRecurringDefinitionRequestRecurringTypeEnum: {
10674
+ readonly Daily: "daily";
10675
+ readonly Weekly: "weekly";
10676
+ readonly Monthly: "monthly";
10677
+ readonly Unique: "unique";
10678
+ };
10679
+ export type UpdateRecurringDefinitionRequestRecurringTypeEnum = typeof UpdateRecurringDefinitionRequestRecurringTypeEnum[keyof typeof UpdateRecurringDefinitionRequestRecurringTypeEnum];
10402
10680
  /**
10403
10681
  *
10404
10682
  * @export
@@ -10660,95 +10938,236 @@ export interface UserClubMembership {
10660
10938
  export interface UserClubMembershipsResponse {
10661
10939
  /**
10662
10940
  *
10663
- * @type {Array<UserClubMembership>}
10664
- * @memberof UserClubMembershipsResponse
10941
+ * @type {Array<UserClubMembership>}
10942
+ * @memberof UserClubMembershipsResponse
10943
+ */
10944
+ 'clubs': Array<UserClubMembership>;
10945
+ }
10946
+ /**
10947
+ *
10948
+ * @export
10949
+ * @interface UserClubSubscription
10950
+ */
10951
+ export interface UserClubSubscription {
10952
+ /**
10953
+ *
10954
+ * @type {string}
10955
+ * @memberof UserClubSubscription
10956
+ */
10957
+ 'id': string;
10958
+ /**
10959
+ *
10960
+ * @type {string}
10961
+ * @memberof UserClubSubscription
10962
+ */
10963
+ 'status': string;
10964
+ /**
10965
+ *
10966
+ * @type {number}
10967
+ * @memberof UserClubSubscription
10968
+ */
10969
+ 'currentPeriodStart': number | null;
10970
+ /**
10971
+ *
10972
+ * @type {number}
10973
+ * @memberof UserClubSubscription
10974
+ */
10975
+ 'currentPeriodEnd': number | null;
10976
+ /**
10977
+ *
10978
+ * @type {number}
10979
+ * @memberof UserClubSubscription
10980
+ */
10981
+ 'cancelAt': number | null;
10982
+ /**
10983
+ *
10984
+ * @type {number}
10985
+ * @memberof UserClubSubscription
10986
+ */
10987
+ 'canceledAt': number | null;
10988
+ /**
10989
+ *
10990
+ * @type {string}
10991
+ * @memberof UserClubSubscription
10992
+ */
10993
+ 'priceId': string | null;
10994
+ /**
10995
+ *
10996
+ * @type {string}
10997
+ * @memberof UserClubSubscription
10998
+ */
10999
+ 'planId': string | null;
11000
+ /**
11001
+ *
11002
+ * @type {string}
11003
+ * @memberof UserClubSubscription
11004
+ */
11005
+ 'planName': string | null;
11006
+ /**
11007
+ *
11008
+ * @type {string}
11009
+ * @memberof UserClubSubscription
11010
+ */
11011
+ 'planDescription': string | null;
11012
+ /**
11013
+ *
11014
+ * @type {number}
11015
+ * @memberof UserClubSubscription
11016
+ */
11017
+ 'amountInCents': number | null;
11018
+ /**
11019
+ *
11020
+ * @type {string}
11021
+ * @memberof UserClubSubscription
11022
+ */
11023
+ 'currency': string | null;
11024
+ /**
11025
+ *
11026
+ * @type {PlanInterval}
11027
+ * @memberof UserClubSubscription
11028
+ */
11029
+ 'interval': PlanInterval | null;
11030
+ }
11031
+ /**
11032
+ *
11033
+ * @export
11034
+ * @interface UserEventParticipation
11035
+ */
11036
+ export interface UserEventParticipation {
11037
+ /**
11038
+ *
11039
+ * @type {UserEventSummary}
11040
+ * @memberof UserEventParticipation
11041
+ */
11042
+ 'event': UserEventSummary;
11043
+ /**
11044
+ *
11045
+ * @type {EventBookingDetailSummary}
11046
+ * @memberof UserEventParticipation
10665
11047
  */
10666
- 'clubs': Array<UserClubMembership>;
11048
+ 'booking': EventBookingDetailSummary;
10667
11049
  }
10668
11050
  /**
10669
11051
  *
10670
11052
  * @export
10671
- * @interface UserClubSubscription
11053
+ * @interface UserEventSummary
10672
11054
  */
10673
- export interface UserClubSubscription {
11055
+ export interface UserEventSummary {
10674
11056
  /**
10675
11057
  *
10676
11058
  * @type {string}
10677
- * @memberof UserClubSubscription
11059
+ * @memberof UserEventSummary
10678
11060
  */
10679
11061
  'id': string;
10680
11062
  /**
10681
11063
  *
10682
11064
  * @type {string}
10683
- * @memberof UserClubSubscription
11065
+ * @memberof UserEventSummary
10684
11066
  */
10685
- 'status': string;
11067
+ 'clubId': string;
10686
11068
  /**
10687
11069
  *
10688
- * @type {number}
10689
- * @memberof UserClubSubscription
11070
+ * @type {string}
11071
+ * @memberof UserEventSummary
10690
11072
  */
10691
- 'currentPeriodStart': number | null;
11073
+ 'title': string;
10692
11074
  /**
10693
11075
  *
10694
- * @type {number}
10695
- * @memberof UserClubSubscription
11076
+ * @type {string}
11077
+ * @memberof UserEventSummary
10696
11078
  */
10697
- 'currentPeriodEnd': number | null;
11079
+ 'description'?: string | null;
10698
11080
  /**
10699
11081
  *
10700
- * @type {number}
10701
- * @memberof UserClubSubscription
11082
+ * @type {string}
11083
+ * @memberof UserEventSummary
10702
11084
  */
10703
- 'cancelAt': number | null;
11085
+ 'photoUrl'?: string | null;
10704
11086
  /**
10705
11087
  *
10706
- * @type {number}
10707
- * @memberof UserClubSubscription
11088
+ * @type {string}
11089
+ * @memberof UserEventSummary
10708
11090
  */
10709
- 'canceledAt': number | null;
11091
+ 'startDate': string;
10710
11092
  /**
10711
11093
  *
10712
11094
  * @type {string}
10713
- * @memberof UserClubSubscription
11095
+ * @memberof UserEventSummary
10714
11096
  */
10715
- 'priceId': string | null;
11097
+ 'endDate': string;
10716
11098
  /**
10717
11099
  *
10718
- * @type {string}
10719
- * @memberof UserClubSubscription
11100
+ * @type {ParticipationType}
11101
+ * @memberof UserEventSummary
10720
11102
  */
10721
- 'planId': string | null;
11103
+ 'participationType': ParticipationType;
10722
11104
  /**
10723
11105
  *
10724
- * @type {string}
10725
- * @memberof UserClubSubscription
11106
+ * @type {VisibilityType}
11107
+ * @memberof UserEventSummary
10726
11108
  */
10727
- 'planName': string | null;
11109
+ 'visibilityType': VisibilityType;
10728
11110
  /**
10729
11111
  *
10730
- * @type {string}
10731
- * @memberof UserClubSubscription
11112
+ * @type {boolean}
11113
+ * @memberof UserEventSummary
10732
11114
  */
10733
- 'planDescription': string | null;
11115
+ 'isActive': boolean;
10734
11116
  /**
10735
11117
  *
10736
11118
  * @type {number}
10737
- * @memberof UserClubSubscription
11119
+ * @memberof UserEventSummary
10738
11120
  */
10739
- 'amountInCents': number | null;
11121
+ 'price'?: number | null;
10740
11122
  /**
10741
11123
  *
10742
- * @type {string}
10743
- * @memberof UserClubSubscription
11124
+ * @type {Array<string>}
11125
+ * @memberof UserEventSummary
10744
11126
  */
10745
- 'currency': string | null;
11127
+ 'sports'?: Array<string>;
10746
11128
  /**
10747
11129
  *
10748
- * @type {PlanInterval}
10749
- * @memberof UserClubSubscription
11130
+ * @type {Array<string>}
11131
+ * @memberof UserEventSummary
10750
11132
  */
10751
- 'interval': PlanInterval | null;
11133
+ 'courts'?: Array<string>;
11134
+ }
11135
+ /**
11136
+ *
11137
+ * @export
11138
+ * @interface UserEventsResponse
11139
+ */
11140
+ export interface UserEventsResponse {
11141
+ /**
11142
+ *
11143
+ * @type {number}
11144
+ * @memberof UserEventsResponse
11145
+ */
11146
+ 'total': number;
11147
+ /**
11148
+ *
11149
+ * @type {number}
11150
+ * @memberof UserEventsResponse
11151
+ */
11152
+ 'limit': number;
11153
+ /**
11154
+ *
11155
+ * @type {number}
11156
+ * @memberof UserEventsResponse
11157
+ */
11158
+ 'skip': number;
11159
+ /**
11160
+ *
11161
+ * @type {boolean}
11162
+ * @memberof UserEventsResponse
11163
+ */
11164
+ 'hasMore': boolean;
11165
+ /**
11166
+ *
11167
+ * @type {Array<UserEventParticipation>}
11168
+ * @memberof UserEventsResponse
11169
+ */
11170
+ 'participations': Array<UserEventParticipation>;
10752
11171
  }
10753
11172
  /**
10754
11173
  *
@@ -11154,6 +11573,17 @@ export interface VerifyEmailRequest {
11154
11573
  */
11155
11574
  'token'?: string;
11156
11575
  }
11576
+ /**
11577
+ *
11578
+ * @export
11579
+ * @enum {string}
11580
+ */
11581
+ export declare const VisibilityType: {
11582
+ readonly Public: "public";
11583
+ readonly Private: "private";
11584
+ readonly Invitation: "invitation";
11585
+ };
11586
+ export type VisibilityType = typeof VisibilityType[keyof typeof VisibilityType];
11157
11587
  /**
11158
11588
  *
11159
11589
  * @export
@@ -11541,13 +11971,13 @@ export declare class BookingsManagerApi extends BaseAPI {
11541
11971
  */
11542
11972
  export declare const BookingsStaffApiAxiosParamCreator: (configuration?: Configuration) => {
11543
11973
  /**
11544
- * Check-in d\'un joueur (paiement en ligne ou sur place)
11974
+ * Check-in des joueurs only for club with payment features
11545
11975
  * @param {string} bookingId
11546
- * @param {CheckInPlayerRequest} checkInPlayerRequest
11976
+ * @param {CheckInPlayersRequest} checkInPlayersRequest
11547
11977
  * @param {*} [options] Override http request option.
11548
11978
  * @throws {RequiredError}
11549
11979
  */
11550
- checkInPlayer: (bookingId: string, checkInPlayerRequest: CheckInPlayerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11980
+ checkInPlayers: (bookingId: string, checkInPlayersRequest: CheckInPlayersRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11551
11981
  /**
11552
11982
  * Créer une réservation pour un joueur depuis l\'espace staff
11553
11983
  * @param {StaffCreateBookingRequest} staffCreateBookingRequest
@@ -11608,13 +12038,13 @@ export declare const BookingsStaffApiAxiosParamCreator: (configuration?: Configu
11608
12038
  */
11609
12039
  export declare const BookingsStaffApiFp: (configuration?: Configuration) => {
11610
12040
  /**
11611
- * Check-in d\'un joueur (paiement en ligne ou sur place)
12041
+ * Check-in des joueurs only for club with payment features
11612
12042
  * @param {string} bookingId
11613
- * @param {CheckInPlayerRequest} checkInPlayerRequest
12043
+ * @param {CheckInPlayersRequest} checkInPlayersRequest
11614
12044
  * @param {*} [options] Override http request option.
11615
12045
  * @throws {RequiredError}
11616
12046
  */
11617
- checkInPlayer(bookingId: string, checkInPlayerRequest: CheckInPlayerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInPlayerResponse>>;
12047
+ checkInPlayers(bookingId: string, checkInPlayersRequest: CheckInPlayersRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInPlayersResponse>>;
11618
12048
  /**
11619
12049
  * Créer une réservation pour un joueur depuis l\'espace staff
11620
12050
  * @param {StaffCreateBookingRequest} staffCreateBookingRequest
@@ -11675,12 +12105,12 @@ export declare const BookingsStaffApiFp: (configuration?: Configuration) => {
11675
12105
  */
11676
12106
  export declare const BookingsStaffApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
11677
12107
  /**
11678
- * Check-in d\'un joueur (paiement en ligne ou sur place)
11679
- * @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
12108
+ * Check-in des joueurs only for club with payment features
12109
+ * @param {BookingsStaffApiCheckInPlayersRequest} requestParameters Request parameters.
11680
12110
  * @param {*} [options] Override http request option.
11681
12111
  * @throws {RequiredError}
11682
12112
  */
11683
- checkInPlayer(requestParameters: BookingsStaffApiCheckInPlayerRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInPlayerResponse>;
12113
+ checkInPlayers(requestParameters: BookingsStaffApiCheckInPlayersRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInPlayersResponse>;
11684
12114
  /**
11685
12115
  * Créer une réservation pour un joueur depuis l\'espace staff
11686
12116
  * @param {BookingsStaffApiCreateStaffBookingRequest} requestParameters Request parameters.
@@ -11732,23 +12162,23 @@ export declare const BookingsStaffApiFactory: (configuration?: Configuration, ba
11732
12162
  listClubBookings(requestParameters?: BookingsStaffApiListClubBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffBookingsPaginatedResponse>;
11733
12163
  };
11734
12164
  /**
11735
- * Request parameters for checkInPlayer operation in BookingsStaffApi.
12165
+ * Request parameters for checkInPlayers operation in BookingsStaffApi.
11736
12166
  * @export
11737
- * @interface BookingsStaffApiCheckInPlayerRequest
12167
+ * @interface BookingsStaffApiCheckInPlayersRequest
11738
12168
  */
11739
- export interface BookingsStaffApiCheckInPlayerRequest {
12169
+ export interface BookingsStaffApiCheckInPlayersRequest {
11740
12170
  /**
11741
12171
  *
11742
12172
  * @type {string}
11743
- * @memberof BookingsStaffApiCheckInPlayer
12173
+ * @memberof BookingsStaffApiCheckInPlayers
11744
12174
  */
11745
12175
  readonly bookingId: string;
11746
12176
  /**
11747
12177
  *
11748
- * @type {CheckInPlayerRequest}
11749
- * @memberof BookingsStaffApiCheckInPlayer
12178
+ * @type {CheckInPlayersRequest}
12179
+ * @memberof BookingsStaffApiCheckInPlayers
11750
12180
  */
11751
- readonly checkInPlayerRequest: CheckInPlayerRequest;
12181
+ readonly checkInPlayersRequest: CheckInPlayersRequest;
11752
12182
  }
11753
12183
  /**
11754
12184
  * Request parameters for createStaffBooking operation in BookingsStaffApi.
@@ -11873,13 +12303,13 @@ export interface BookingsStaffApiListClubBookingsRequest {
11873
12303
  */
11874
12304
  export declare class BookingsStaffApi extends BaseAPI {
11875
12305
  /**
11876
- * Check-in d\'un joueur (paiement en ligne ou sur place)
11877
- * @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
12306
+ * Check-in des joueurs only for club with payment features
12307
+ * @param {BookingsStaffApiCheckInPlayersRequest} requestParameters Request parameters.
11878
12308
  * @param {*} [options] Override http request option.
11879
12309
  * @throws {RequiredError}
11880
12310
  * @memberof BookingsStaffApi
11881
12311
  */
11882
- checkInPlayer(requestParameters: BookingsStaffApiCheckInPlayerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckInPlayerResponse, any, {}>>;
12312
+ checkInPlayers(requestParameters: BookingsStaffApiCheckInPlayersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckInPlayersResponse, any, {}>>;
11883
12313
  /**
11884
12314
  * Créer une réservation pour un joueur depuis l\'espace staff
11885
12315
  * @param {BookingsStaffApiCreateStaffBookingRequest} requestParameters Request parameters.
@@ -15068,13 +15498,6 @@ export declare const ClubsStaffApiAxiosParamCreator: (configuration?: Configurat
15068
15498
  * @throws {RequiredError}
15069
15499
  */
15070
15500
  getClubRoles: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15071
- /**
15072
- *
15073
- * @param {string} clubId
15074
- * @param {*} [options] Override http request option.
15075
- * @throws {RequiredError}
15076
- */
15077
- getClubType: (clubId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15078
15501
  /**
15079
15502
  * Récupère les terrains d\'un club
15080
15503
  * @param {*} [options] Override http request option.
@@ -15153,13 +15576,6 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
15153
15576
  * @throws {RequiredError}
15154
15577
  */
15155
15578
  getClubRoles(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubRoles200Response>>;
15156
- /**
15157
- *
15158
- * @param {string} clubId
15159
- * @param {*} [options] Override http request option.
15160
- * @throws {RequiredError}
15161
- */
15162
- getClubType(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubType200Response>>;
15163
15579
  /**
15164
15580
  * Récupère les terrains d\'un club
15165
15581
  * @param {*} [options] Override http request option.
@@ -15237,13 +15653,6 @@ export declare const ClubsStaffApiFactory: (configuration?: Configuration, baseP
15237
15653
  * @throws {RequiredError}
15238
15654
  */
15239
15655
  getClubRoles(options?: RawAxiosRequestConfig): AxiosPromise<GetClubRoles200Response>;
15240
- /**
15241
- *
15242
- * @param {ClubsStaffApiGetClubTypeRequest} requestParameters Request parameters.
15243
- * @param {*} [options] Override http request option.
15244
- * @throws {RequiredError}
15245
- */
15246
- getClubType(requestParameters: ClubsStaffApiGetClubTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetClubType200Response>;
15247
15656
  /**
15248
15657
  * Récupère les terrains d\'un club
15249
15658
  * @param {*} [options] Override http request option.
@@ -15291,19 +15700,6 @@ export interface ClubsStaffApiCreateOnsiteInvoiceForBookingRequest {
15291
15700
  */
15292
15701
  readonly createOnsiteInvoiceRequest: CreateOnsiteInvoiceRequest;
15293
15702
  }
15294
- /**
15295
- * Request parameters for getClubType operation in ClubsStaffApi.
15296
- * @export
15297
- * @interface ClubsStaffApiGetClubTypeRequest
15298
- */
15299
- export interface ClubsStaffApiGetClubTypeRequest {
15300
- /**
15301
- *
15302
- * @type {string}
15303
- * @memberof ClubsStaffApiGetClubType
15304
- */
15305
- readonly clubId: string;
15306
- }
15307
15703
  /**
15308
15704
  * Request parameters for getInvoices operation in ClubsStaffApi.
15309
15705
  * @export
@@ -15435,14 +15831,6 @@ export declare class ClubsStaffApi extends BaseAPI {
15435
15831
  * @memberof ClubsStaffApi
15436
15832
  */
15437
15833
  getClubRoles(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubRoles200Response, any, {}>>;
15438
- /**
15439
- *
15440
- * @param {ClubsStaffApiGetClubTypeRequest} requestParameters Request parameters.
15441
- * @param {*} [options] Override http request option.
15442
- * @throws {RequiredError}
15443
- * @memberof ClubsStaffApi
15444
- */
15445
- getClubType(requestParameters: ClubsStaffApiGetClubTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubType200Response, any, {}>>;
15446
15834
  /**
15447
15835
  * Récupère les terrains d\'un club
15448
15836
  * @param {*} [options] Override http request option.
@@ -15567,10 +15955,11 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
15567
15955
  /**
15568
15956
  * Get a specific event by ID
15569
15957
  * @param {string} eventId
15958
+ * @param {string} [userId]
15570
15959
  * @param {*} [options] Override http request option.
15571
15960
  * @throws {RequiredError}
15572
15961
  */
15573
- getEventById: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15962
+ getEventById: (eventId: string, userId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15574
15963
  /**
15575
15964
  * Get all published events for a club
15576
15965
  * @param {string} [clubId]
@@ -15621,10 +16010,11 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
15621
16010
  /**
15622
16011
  * Get a specific event by ID
15623
16012
  * @param {string} eventId
16013
+ * @param {string} [userId]
15624
16014
  * @param {*} [options] Override http request option.
15625
16015
  * @throws {RequiredError}
15626
16016
  */
15627
- getEventById(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>>;
16017
+ getEventById(eventId: string, userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>>;
15628
16018
  /**
15629
16019
  * Get all published events for a club
15630
16020
  * @param {string} [clubId]
@@ -15749,6 +16139,12 @@ export interface EventsApiGetEventByIdRequest {
15749
16139
  * @memberof EventsApiGetEventById
15750
16140
  */
15751
16141
  readonly eventId: string;
16142
+ /**
16143
+ *
16144
+ * @type {string}
16145
+ * @memberof EventsApiGetEventById
16146
+ */
16147
+ readonly userId?: string;
15752
16148
  }
15753
16149
  /**
15754
16150
  * Request parameters for getPublishedEventsByClubId operation in EventsApi.
@@ -15912,6 +16308,13 @@ export declare const EventsManagerApiAxiosParamCreator: (configuration?: Configu
15912
16308
  * @throws {RequiredError}
15913
16309
  */
15914
16310
  deleteEvent: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16311
+ /**
16312
+ * List recurring definitions about to expire within `days` (manager)
16313
+ * @param {number} [days]
16314
+ * @param {*} [options] Override http request option.
16315
+ * @throws {RequiredError}
16316
+ */
16317
+ getExpiringRecurringDefinitions: (days?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15915
16318
  /**
15916
16319
  * Publish an event (manager)
15917
16320
  * @param {string} eventId
@@ -15942,6 +16345,14 @@ export declare const EventsManagerApiAxiosParamCreator: (configuration?: Configu
15942
16345
  * @throws {RequiredError}
15943
16346
  */
15944
16347
  updatePublishedEvent: (eventId: string, updateEventRequest: UpdateEventRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16348
+ /**
16349
+ * Update a recurring event definition (manager) and propagate changes to generated Events
16350
+ * @param {string} definitionId
16351
+ * @param {UpdateRecurringDefinitionRequest} updateRecurringDefinitionRequest
16352
+ * @param {*} [options] Override http request option.
16353
+ * @throws {RequiredError}
16354
+ */
16355
+ updateRecurringDefinition: (definitionId: string, updateRecurringDefinitionRequest: UpdateRecurringDefinitionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15945
16356
  };
15946
16357
  /**
15947
16358
  * EventsManagerApi - functional programming interface
@@ -15969,6 +16380,13 @@ export declare const EventsManagerApiFp: (configuration?: Configuration) => {
15969
16380
  * @throws {RequiredError}
15970
16381
  */
15971
16382
  deleteEvent(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteEventResponse>>;
16383
+ /**
16384
+ * List recurring definitions about to expire within `days` (manager)
16385
+ * @param {number} [days]
16386
+ * @param {*} [options] Override http request option.
16387
+ * @throws {RequiredError}
16388
+ */
16389
+ getExpiringRecurringDefinitions(days?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RecurringDefinitionResponse>>>;
15972
16390
  /**
15973
16391
  * Publish an event (manager)
15974
16392
  * @param {string} eventId
@@ -15999,6 +16417,14 @@ export declare const EventsManagerApiFp: (configuration?: Configuration) => {
15999
16417
  * @throws {RequiredError}
16000
16418
  */
16001
16419
  updatePublishedEvent(eventId: string, updateEventRequest: UpdateEventRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>>;
16420
+ /**
16421
+ * Update a recurring event definition (manager) and propagate changes to generated Events
16422
+ * @param {string} definitionId
16423
+ * @param {UpdateRecurringDefinitionRequest} updateRecurringDefinitionRequest
16424
+ * @param {*} [options] Override http request option.
16425
+ * @throws {RequiredError}
16426
+ */
16427
+ updateRecurringDefinition(definitionId: string, updateRecurringDefinitionRequest: UpdateRecurringDefinitionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateRecurringDefinition200Response>>;
16002
16428
  };
16003
16429
  /**
16004
16430
  * EventsManagerApi - factory interface
@@ -16026,6 +16452,13 @@ export declare const EventsManagerApiFactory: (configuration?: Configuration, ba
16026
16452
  * @throws {RequiredError}
16027
16453
  */
16028
16454
  deleteEvent(requestParameters: EventsManagerApiDeleteEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteEventResponse>;
16455
+ /**
16456
+ * List recurring definitions about to expire within `days` (manager)
16457
+ * @param {EventsManagerApiGetExpiringRecurringDefinitionsRequest} requestParameters Request parameters.
16458
+ * @param {*} [options] Override http request option.
16459
+ * @throws {RequiredError}
16460
+ */
16461
+ getExpiringRecurringDefinitions(requestParameters?: EventsManagerApiGetExpiringRecurringDefinitionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<RecurringDefinitionResponse>>;
16029
16462
  /**
16030
16463
  * Publish an event (manager)
16031
16464
  * @param {EventsManagerApiPublishEventRequest} requestParameters Request parameters.
@@ -16054,6 +16487,13 @@ export declare const EventsManagerApiFactory: (configuration?: Configuration, ba
16054
16487
  * @throws {RequiredError}
16055
16488
  */
16056
16489
  updatePublishedEvent(requestParameters: EventsManagerApiUpdatePublishedEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublishEventResponse>;
16490
+ /**
16491
+ * Update a recurring event definition (manager) and propagate changes to generated Events
16492
+ * @param {EventsManagerApiUpdateRecurringDefinitionRequest} requestParameters Request parameters.
16493
+ * @param {*} [options] Override http request option.
16494
+ * @throws {RequiredError}
16495
+ */
16496
+ updateRecurringDefinition(requestParameters: EventsManagerApiUpdateRecurringDefinitionRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateRecurringDefinition200Response>;
16057
16497
  };
16058
16498
  /**
16059
16499
  * Request parameters for checkEventConflicts operation in EventsManagerApi.
@@ -16094,6 +16534,19 @@ export interface EventsManagerApiDeleteEventRequest {
16094
16534
  */
16095
16535
  readonly eventId: string;
16096
16536
  }
16537
+ /**
16538
+ * Request parameters for getExpiringRecurringDefinitions operation in EventsManagerApi.
16539
+ * @export
16540
+ * @interface EventsManagerApiGetExpiringRecurringDefinitionsRequest
16541
+ */
16542
+ export interface EventsManagerApiGetExpiringRecurringDefinitionsRequest {
16543
+ /**
16544
+ *
16545
+ * @type {number}
16546
+ * @memberof EventsManagerApiGetExpiringRecurringDefinitions
16547
+ */
16548
+ readonly days?: number;
16549
+ }
16097
16550
  /**
16098
16551
  * Request parameters for publishEvent operation in EventsManagerApi.
16099
16552
  * @export
@@ -16158,6 +16611,25 @@ export interface EventsManagerApiUpdatePublishedEventRequest {
16158
16611
  */
16159
16612
  readonly updateEventRequest: UpdateEventRequest;
16160
16613
  }
16614
+ /**
16615
+ * Request parameters for updateRecurringDefinition operation in EventsManagerApi.
16616
+ * @export
16617
+ * @interface EventsManagerApiUpdateRecurringDefinitionRequest
16618
+ */
16619
+ export interface EventsManagerApiUpdateRecurringDefinitionRequest {
16620
+ /**
16621
+ *
16622
+ * @type {string}
16623
+ * @memberof EventsManagerApiUpdateRecurringDefinition
16624
+ */
16625
+ readonly definitionId: string;
16626
+ /**
16627
+ *
16628
+ * @type {UpdateRecurringDefinitionRequest}
16629
+ * @memberof EventsManagerApiUpdateRecurringDefinition
16630
+ */
16631
+ readonly updateRecurringDefinitionRequest: UpdateRecurringDefinitionRequest;
16632
+ }
16161
16633
  /**
16162
16634
  * EventsManagerApi - object-oriented interface
16163
16635
  * @export
@@ -16189,6 +16661,14 @@ export declare class EventsManagerApi extends BaseAPI {
16189
16661
  * @memberof EventsManagerApi
16190
16662
  */
16191
16663
  deleteEvent(requestParameters: EventsManagerApiDeleteEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteEventResponse, any, {}>>;
16664
+ /**
16665
+ * List recurring definitions about to expire within `days` (manager)
16666
+ * @param {EventsManagerApiGetExpiringRecurringDefinitionsRequest} requestParameters Request parameters.
16667
+ * @param {*} [options] Override http request option.
16668
+ * @throws {RequiredError}
16669
+ * @memberof EventsManagerApi
16670
+ */
16671
+ getExpiringRecurringDefinitions(requestParameters?: EventsManagerApiGetExpiringRecurringDefinitionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RecurringDefinitionResponse[], any, {}>>;
16192
16672
  /**
16193
16673
  * Publish an event (manager)
16194
16674
  * @param {EventsManagerApiPublishEventRequest} requestParameters Request parameters.
@@ -16221,6 +16701,14 @@ export declare class EventsManagerApi extends BaseAPI {
16221
16701
  * @memberof EventsManagerApi
16222
16702
  */
16223
16703
  updatePublishedEvent(requestParameters: EventsManagerApiUpdatePublishedEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublishEventResponse, any, {}>>;
16704
+ /**
16705
+ * Update a recurring event definition (manager) and propagate changes to generated Events
16706
+ * @param {EventsManagerApiUpdateRecurringDefinitionRequest} requestParameters Request parameters.
16707
+ * @param {*} [options] Override http request option.
16708
+ * @throws {RequiredError}
16709
+ * @memberof EventsManagerApi
16710
+ */
16711
+ updateRecurringDefinition(requestParameters: EventsManagerApiUpdateRecurringDefinitionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateRecurringDefinition200Response, any, {}>>;
16224
16712
  }
16225
16713
  /**
16226
16714
  * EventsStaffApi - axios parameter creator
@@ -16880,13 +17368,6 @@ export declare class SportsPublicApi extends BaseAPI {
16880
17368
  * @export
16881
17369
  */
16882
17370
  export declare const SubscriptionsManagerApiAxiosParamCreator: (configuration?: Configuration) => {
16883
- /**
16884
- * Supprime (archive) un plan par productId (manager)
16885
- * @param {string} productId
16886
- * @param {*} [options] Override http request option.
16887
- * @throws {RequiredError}
16888
- */
16889
- archivePlan: (productId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16890
17371
  /**
16891
17372
  * Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
16892
17373
  * @param {CreateSubscriptionPlanRequest} createSubscriptionPlanRequest
@@ -16895,7 +17376,7 @@ export declare const SubscriptionsManagerApiAxiosParamCreator: (configuration?:
16895
17376
  */
16896
17377
  createPlan: (createSubscriptionPlanRequest: CreateSubscriptionPlanRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16897
17378
  /**
16898
- * Supprime un plan par productId (manager)
17379
+ * Supprime (archive) un plan par productId (manager)
16899
17380
  * @param {string} productId
16900
17381
  * @param {*} [options] Override http request option.
16901
17382
  * @throws {RequiredError}
@@ -16914,13 +17395,6 @@ export declare const SubscriptionsManagerApiAxiosParamCreator: (configuration?:
16914
17395
  * @export
16915
17396
  */
16916
17397
  export declare const SubscriptionsManagerApiFp: (configuration?: Configuration) => {
16917
- /**
16918
- * Supprime (archive) un plan par productId (manager)
16919
- * @param {string} productId
16920
- * @param {*} [options] Override http request option.
16921
- * @throws {RequiredError}
16922
- */
16923
- archivePlan(productId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteSubscriptionPlanResponse>>;
16924
17398
  /**
16925
17399
  * Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
16926
17400
  * @param {CreateSubscriptionPlanRequest} createSubscriptionPlanRequest
@@ -16929,7 +17403,7 @@ export declare const SubscriptionsManagerApiFp: (configuration?: Configuration)
16929
17403
  */
16930
17404
  createPlan(createSubscriptionPlanRequest: CreateSubscriptionPlanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePlan201Response>>;
16931
17405
  /**
16932
- * Supprime un plan par productId (manager)
17406
+ * Supprime (archive) un plan par productId (manager)
16933
17407
  * @param {string} productId
16934
17408
  * @param {*} [options] Override http request option.
16935
17409
  * @throws {RequiredError}
@@ -16948,13 +17422,6 @@ export declare const SubscriptionsManagerApiFp: (configuration?: Configuration)
16948
17422
  * @export
16949
17423
  */
16950
17424
  export declare const SubscriptionsManagerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
16951
- /**
16952
- * Supprime (archive) un plan par productId (manager)
16953
- * @param {SubscriptionsManagerApiArchivePlanRequest} requestParameters Request parameters.
16954
- * @param {*} [options] Override http request option.
16955
- * @throws {RequiredError}
16956
- */
16957
- archivePlan(requestParameters: SubscriptionsManagerApiArchivePlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteSubscriptionPlanResponse>;
16958
17425
  /**
16959
17426
  * Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
16960
17427
  * @param {SubscriptionsManagerApiCreatePlanRequest} requestParameters Request parameters.
@@ -16963,7 +17430,7 @@ export declare const SubscriptionsManagerApiFactory: (configuration?: Configurat
16963
17430
  */
16964
17431
  createPlan(requestParameters: SubscriptionsManagerApiCreatePlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreatePlan201Response>;
16965
17432
  /**
16966
- * Supprime un plan par productId (manager)
17433
+ * Supprime (archive) un plan par productId (manager)
16967
17434
  * @param {SubscriptionsManagerApiDeletePlanRequest} requestParameters Request parameters.
16968
17435
  * @param {*} [options] Override http request option.
16969
17436
  * @throws {RequiredError}
@@ -16977,19 +17444,6 @@ export declare const SubscriptionsManagerApiFactory: (configuration?: Configurat
16977
17444
  */
16978
17445
  updatePlan(requestParameters: SubscriptionsManagerApiUpdatePlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<StripeStripeResponseStripeStripePrice>;
16979
17446
  };
16980
- /**
16981
- * Request parameters for archivePlan operation in SubscriptionsManagerApi.
16982
- * @export
16983
- * @interface SubscriptionsManagerApiArchivePlanRequest
16984
- */
16985
- export interface SubscriptionsManagerApiArchivePlanRequest {
16986
- /**
16987
- *
16988
- * @type {string}
16989
- * @memberof SubscriptionsManagerApiArchivePlan
16990
- */
16991
- readonly productId: string;
16992
- }
16993
17447
  /**
16994
17448
  * Request parameters for createPlan operation in SubscriptionsManagerApi.
16995
17449
  * @export
@@ -17036,14 +17490,6 @@ export interface SubscriptionsManagerApiUpdatePlanRequest {
17036
17490
  * @extends {BaseAPI}
17037
17491
  */
17038
17492
  export declare class SubscriptionsManagerApi extends BaseAPI {
17039
- /**
17040
- * Supprime (archive) un plan par productId (manager)
17041
- * @param {SubscriptionsManagerApiArchivePlanRequest} requestParameters Request parameters.
17042
- * @param {*} [options] Override http request option.
17043
- * @throws {RequiredError}
17044
- * @memberof SubscriptionsManagerApi
17045
- */
17046
- archivePlan(requestParameters: SubscriptionsManagerApiArchivePlanRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteSubscriptionPlanResponse, any, {}>>;
17047
17493
  /**
17048
17494
  * Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
17049
17495
  * @param {SubscriptionsManagerApiCreatePlanRequest} requestParameters Request parameters.
@@ -17053,7 +17499,7 @@ export declare class SubscriptionsManagerApi extends BaseAPI {
17053
17499
  */
17054
17500
  createPlan(requestParameters: SubscriptionsManagerApiCreatePlanRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePlan201Response, any, {}>>;
17055
17501
  /**
17056
- * Supprime un plan par productId (manager)
17502
+ * Supprime (archive) un plan par productId (manager)
17057
17503
  * @param {SubscriptionsManagerApiDeletePlanRequest} requestParameters Request parameters.
17058
17504
  * @param {*} [options] Override http request option.
17059
17505
  * @throws {RequiredError}
@@ -17623,6 +18069,14 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
17623
18069
  * @throws {RequiredError}
17624
18070
  */
17625
18071
  getUserBookings: (limit?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18072
+ /**
18073
+ *
18074
+ * @param {number} [limit]
18075
+ * @param {number} [skip]
18076
+ * @param {*} [options] Override http request option.
18077
+ * @throws {RequiredError}
18078
+ */
18079
+ getUserEvents: (limit?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17626
18080
  /**
17627
18081
  *
17628
18082
  * @param {string} id
@@ -17898,6 +18352,14 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
17898
18352
  * @throws {RequiredError}
17899
18353
  */
17900
18354
  getUserBookings(limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserBookingsResponse>>;
18355
+ /**
18356
+ *
18357
+ * @param {number} [limit]
18358
+ * @param {number} [skip]
18359
+ * @param {*} [options] Override http request option.
18360
+ * @throws {RequiredError}
18361
+ */
18362
+ getUserEvents(limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserEventsResponse>>;
17901
18363
  /**
17902
18364
  *
17903
18365
  * @param {string} id
@@ -18164,6 +18626,13 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
18164
18626
  * @throws {RequiredError}
18165
18627
  */
18166
18628
  getUserBookings(requestParameters?: UsersApiGetUserBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserBookingsResponse>;
18629
+ /**
18630
+ *
18631
+ * @param {UsersApiGetUserEventsRequest} requestParameters Request parameters.
18632
+ * @param {*} [options] Override http request option.
18633
+ * @throws {RequiredError}
18634
+ */
18635
+ getUserEvents(requestParameters?: UsersApiGetUserEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserEventsResponse>;
18167
18636
  /**
18168
18637
  *
18169
18638
  * @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
@@ -18474,6 +18943,25 @@ export interface UsersApiGetUserBookingsRequest {
18474
18943
  */
18475
18944
  readonly skip?: number;
18476
18945
  }
18946
+ /**
18947
+ * Request parameters for getUserEvents operation in UsersApi.
18948
+ * @export
18949
+ * @interface UsersApiGetUserEventsRequest
18950
+ */
18951
+ export interface UsersApiGetUserEventsRequest {
18952
+ /**
18953
+ *
18954
+ * @type {number}
18955
+ * @memberof UsersApiGetUserEvents
18956
+ */
18957
+ readonly limit?: number;
18958
+ /**
18959
+ *
18960
+ * @type {number}
18961
+ * @memberof UsersApiGetUserEvents
18962
+ */
18963
+ readonly skip?: number;
18964
+ }
18477
18965
  /**
18478
18966
  * Request parameters for getUserProfileById operation in UsersApi.
18479
18967
  * @export
@@ -18900,6 +19388,14 @@ export declare class UsersApi extends BaseAPI {
18900
19388
  * @memberof UsersApi
18901
19389
  */
18902
19390
  getUserBookings(requestParameters?: UsersApiGetUserBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserBookingsResponse, any, {}>>;
19391
+ /**
19392
+ *
19393
+ * @param {UsersApiGetUserEventsRequest} requestParameters Request parameters.
19394
+ * @param {*} [options] Override http request option.
19395
+ * @throws {RequiredError}
19396
+ * @memberof UsersApi
19397
+ */
19398
+ getUserEvents(requestParameters?: UsersApiGetUserEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserEventsResponse, any, {}>>;
18903
19399
  /**
18904
19400
  *
18905
19401
  * @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.