@tennac-booking/sdk 1.0.129 → 1.0.130

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 (77) hide show
  1. package/.openapi-generator/FILES +344 -346
  2. package/README.md +23 -24
  3. package/api.ts +857 -1035
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +686 -858
  8. package/dist/api.js +289 -315
  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 +686 -858
  16. package/dist/esm/api.js +285 -311
  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/{EventBookingResponsePlayersInnerInvoiceStatus.md → CheckInPlayerRequest.md} +5 -3
  29. package/docs/{CheckInPlayersResponse.md → CheckInPlayerResponse.md} +5 -5
  30. package/docs/ClubAccessSettingsResponse.md +26 -0
  31. package/docs/ClubPlayerSubscriptionSummary.md +3 -3
  32. package/docs/ClubSettingsManagerApi.md +52 -0
  33. package/docs/ClubSettingsStaffApi.md +44 -0
  34. package/docs/ClubsStaffApi.md +47 -0
  35. package/docs/CreatePlan201Response.md +2 -0
  36. package/docs/CreateSubscriptionPlanRequest.md +2 -2
  37. package/docs/CreateSubscriptionPlanRequestDiscount.md +2 -0
  38. package/docs/DeleteSubscriptionPlanResponse.md +2 -0
  39. package/docs/EventsApi.md +1 -4
  40. package/docs/EventsManagerApi.md +0 -110
  41. package/docs/{EventBookingResponseSetupStatus.md → GetClubType200Response.md} +5 -3
  42. package/docs/HotelAccessSettings.md +26 -0
  43. package/docs/MonthlyTurnoverResponse.md +0 -1
  44. package/docs/OffPeakRule.md +2 -0
  45. package/docs/PartialHotelAccessSettings.md +27 -0
  46. package/docs/PartialPaymentRequirementsSettings.md +23 -0
  47. package/docs/PartialPublicAccessSettings.md +25 -0
  48. package/docs/PartialSchoolAccessSettings.md +25 -0
  49. package/docs/PaymentRequirementsSettings.md +22 -0
  50. package/docs/PlanPrice.md +26 -0
  51. package/docs/{CheckInPlayersRequest.md → PlanPriceInput.md} +7 -5
  52. package/docs/PublicAccessSettings.md +24 -0
  53. package/docs/PublicSubscriptionPlanResponse.md +5 -1
  54. package/docs/PublishEventResponse.md +0 -4
  55. package/docs/SchoolAccessSettings.md +24 -0
  56. package/docs/SendSubscriptionInvitationRequest.md +2 -0
  57. package/docs/SubscriptionPlanDiscountResponse.md +34 -0
  58. package/docs/SubscriptionPlanResponse.md +7 -1
  59. package/docs/SubscriptionsManagerApi.md +55 -1
  60. package/docs/UpdateClubAccessSettingsRequest.md +26 -0
  61. package/docs/UsersApi.md +0 -54
  62. package/index.ts +1 -1
  63. package/package.json +1 -1
  64. package/docs/EventBookingDetailSummary.md +0 -40
  65. package/docs/EventBookingResponse.md +0 -36
  66. package/docs/EventBookingResponsePlayersInner.md +0 -28
  67. package/docs/EventBookingStatus.md +0 -16
  68. package/docs/InvoiceStatusSETUPPENDING.md +0 -8
  69. package/docs/InvoiceStatusSETUPSUCCESS.md +0 -8
  70. package/docs/ParticipationType.md +0 -10
  71. package/docs/RecurringDefinitionResponse.md +0 -34
  72. package/docs/UpdateRecurringDefinition200Response.md +0 -20
  73. package/docs/UpdateRecurringDefinitionRequest.md +0 -56
  74. package/docs/UserEventParticipation.md +0 -22
  75. package/docs/UserEventSummary.md +0 -44
  76. package/docs/UserEventsResponse.md +0 -28
  77. package/docs/VisibilityType.md +0 -12
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.129
5
+ * The version of the OpenAPI document: 1.0.121
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 CheckInPlayersRequest
1424
+ * @interface CheckInPlayerRequest
1425
1425
  */
1426
- export interface CheckInPlayersRequest {
1426
+ export interface CheckInPlayerRequest {
1427
1427
  /**
1428
- * Liste des IDs des joueurs qui ont payé/sont arrivés
1429
- * @type {Array<string>}
1430
- * @memberof CheckInPlayersRequest
1428
+ * ID du joueur qui a payé/est arrivé
1429
+ * @type {string}
1430
+ * @memberof CheckInPlayerRequest
1431
1431
  */
1432
- 'playerIds': Array<string>;
1432
+ 'playerId': string;
1433
1433
  }
1434
1434
  /**
1435
1435
  *
1436
1436
  * @export
1437
- * @interface CheckInPlayersResponse
1437
+ * @interface CheckInPlayerResponse
1438
1438
  */
1439
- export interface CheckInPlayersResponse {
1439
+ export interface CheckInPlayerResponse {
1440
1440
  /**
1441
1441
  * Message de confirmation
1442
1442
  * @type {string}
1443
- * @memberof CheckInPlayersResponse
1443
+ * @memberof CheckInPlayerResponse
1444
1444
  */
1445
1445
  'message': string;
1446
1446
  /**
1447
- * Joueurs ayant effectué le check-in
1448
- * @type {Array<CheckedInPlayer>}
1449
- * @memberof CheckInPlayersResponse
1447
+ *
1448
+ * @type {CheckedInPlayer}
1449
+ * @memberof CheckInPlayerResponse
1450
1450
  */
1451
- 'invoices': Array<CheckedInPlayer>;
1451
+ 'invoice': CheckedInPlayer;
1452
1452
  }
1453
1453
  /**
1454
1454
  *
@@ -1795,6 +1795,37 @@ export interface ClientSubscriptionsResponse {
1795
1795
  */
1796
1796
  'subscriptions': Array<ClientSubscription>;
1797
1797
  }
1798
+ /**
1799
+ *
1800
+ * @export
1801
+ * @interface ClubAccessSettingsResponse
1802
+ */
1803
+ export interface ClubAccessSettingsResponse {
1804
+ /**
1805
+ *
1806
+ * @type {PublicAccessSettings}
1807
+ * @memberof ClubAccessSettingsResponse
1808
+ */
1809
+ 'publicAccess': PublicAccessSettings | null;
1810
+ /**
1811
+ *
1812
+ * @type {SchoolAccessSettings}
1813
+ * @memberof ClubAccessSettingsResponse
1814
+ */
1815
+ 'schoolAccess': SchoolAccessSettings | null;
1816
+ /**
1817
+ *
1818
+ * @type {HotelAccessSettings}
1819
+ * @memberof ClubAccessSettingsResponse
1820
+ */
1821
+ 'hotelAccess': HotelAccessSettings | null;
1822
+ /**
1823
+ *
1824
+ * @type {PaymentRequirementsSettings}
1825
+ * @memberof ClubAccessSettingsResponse
1826
+ */
1827
+ 'paymentRequirements': PaymentRequirementsSettings | null;
1828
+ }
1798
1829
  /**
1799
1830
  *
1800
1831
  * @export
@@ -2705,11 +2736,11 @@ export interface ClubPlayerSubscriptionSummary {
2705
2736
  */
2706
2737
  'name': string | null;
2707
2738
  /**
2708
- * Montant en centimes
2709
- * @type {number}
2739
+ * Tarifications disponibles
2740
+ * @type {Array<PlanPrice>}
2710
2741
  * @memberof ClubPlayerSubscriptionSummary
2711
2742
  */
2712
- 'amountInCents': number | null;
2743
+ 'prices': Array<PlanPrice>;
2713
2744
  /**
2714
2745
  * Devise
2715
2746
  * @type {string}
@@ -2717,7 +2748,7 @@ export interface ClubPlayerSubscriptionSummary {
2717
2748
  */
2718
2749
  'currency': string | null;
2719
2750
  /**
2720
- * Intervalle de facturation
2751
+ * Intervalle par défaut
2721
2752
  * @type {string}
2722
2753
  * @memberof ClubPlayerSubscriptionSummary
2723
2754
  */
@@ -3917,6 +3948,12 @@ export interface CreateOnsiteInvoiceResponseInvoice {
3917
3948
  * @interface CreatePlan201Response
3918
3949
  */
3919
3950
  export interface CreatePlan201Response {
3951
+ /**
3952
+ *
3953
+ * @type {Array<string>}
3954
+ * @memberof CreatePlan201Response
3955
+ */
3956
+ 'priceIds': Array<string>;
3920
3957
  /**
3921
3958
  *
3922
3959
  * @type {string}
@@ -4031,10 +4068,10 @@ export interface CreateSubscriptionPlanRequest {
4031
4068
  'description'?: string;
4032
4069
  /**
4033
4070
  *
4034
- * @type {number}
4071
+ * @type {Array<PlanPriceInput>}
4035
4072
  * @memberof CreateSubscriptionPlanRequest
4036
4073
  */
4037
- 'amountInCents': number;
4074
+ 'prices': Array<PlanPriceInput>;
4038
4075
  /**
4039
4076
  *
4040
4077
  * @type {string}
@@ -4070,8 +4107,15 @@ export interface CreateSubscriptionPlanRequestDiscount {
4070
4107
  *
4071
4108
  * @type {Array<OffPeakRule>}
4072
4109
  * @memberof CreateSubscriptionPlanRequestDiscount
4110
+ * @deprecated
4073
4111
  */
4074
4112
  'offPeakRules'?: Array<OffPeakRule>;
4113
+ /**
4114
+ * 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.
4115
+ * @type {Array<string>}
4116
+ * @memberof CreateSubscriptionPlanRequestDiscount
4117
+ */
4118
+ 'offPeakRuleNames'?: Array<string>;
4075
4119
  /**
4076
4120
  *
4077
4121
  * @type {string}
@@ -4223,6 +4267,12 @@ export interface DeleteSubscriptionPlanResponse {
4223
4267
  * @memberof DeleteSubscriptionPlanResponse
4224
4268
  */
4225
4269
  'message': string;
4270
+ /**
4271
+ *
4272
+ * @type {boolean}
4273
+ * @memberof DeleteSubscriptionPlanResponse
4274
+ */
4275
+ 'archivedInstead'?: boolean;
4226
4276
  }
4227
4277
  /**
4228
4278
  *
@@ -4341,204 +4391,6 @@ export interface EstimateEventPriceRequestSharesInner {
4341
4391
  */
4342
4392
  'playerId': string;
4343
4393
  }
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];
4542
4394
  /**
4543
4395
  *
4544
4396
  * @export
@@ -5064,6 +4916,19 @@ export interface GetClubRoles200Response {
5064
4916
  */
5065
4917
  'roles': Array<any>;
5066
4918
  }
4919
+ /**
4920
+ *
4921
+ * @export
4922
+ * @interface GetClubType200Response
4923
+ */
4924
+ export interface GetClubType200Response {
4925
+ /**
4926
+ *
4927
+ * @type {string}
4928
+ * @memberof GetClubType200Response
4929
+ */
4930
+ 'clubType': string;
4931
+ }
5067
4932
  /**
5068
4933
  *
5069
4934
  * @export
@@ -5270,6 +5135,37 @@ export interface GoogleAuthResponseUser {
5270
5135
  */
5271
5136
  'id': string;
5272
5137
  }
5138
+ /**
5139
+ *
5140
+ * @export
5141
+ * @interface HotelAccessSettings
5142
+ */
5143
+ export interface HotelAccessSettings {
5144
+ /**
5145
+ *
5146
+ * @type {boolean}
5147
+ * @memberof HotelAccessSettings
5148
+ */
5149
+ 'enabled': boolean;
5150
+ /**
5151
+ *
5152
+ * @type {string}
5153
+ * @memberof HotelAccessSettings
5154
+ */
5155
+ 'accessCode'?: string | null;
5156
+ /**
5157
+ *
5158
+ * @type {string}
5159
+ * @memberof HotelAccessSettings
5160
+ */
5161
+ 'validFrom'?: string | null;
5162
+ /**
5163
+ *
5164
+ * @type {string}
5165
+ * @memberof HotelAccessSettings
5166
+ */
5167
+ 'validUntil'?: string | null;
5168
+ }
5273
5169
  /**
5274
5170
  *
5275
5171
  * @export
@@ -5858,24 +5754,6 @@ export declare const InvoiceStatus: {
5858
5754
  readonly Expired: "expired";
5859
5755
  };
5860
5756
  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];
5879
5757
  /**
5880
5758
  *
5881
5759
  * @export
@@ -6211,7 +6089,7 @@ export interface MonthlyBreakdown {
6211
6089
  'invoiceCount': number;
6212
6090
  }
6213
6091
  /**
6214
- * Types TSOA pour les analytics du club
6092
+ *
6215
6093
  * @export
6216
6094
  * @interface MonthlyTurnoverResponse
6217
6095
  */
@@ -6327,6 +6205,12 @@ export interface NoShowFeeResponse {
6327
6205
  * @interface OffPeakRule
6328
6206
  */
6329
6207
  export interface OffPeakRule {
6208
+ /**
6209
+ *
6210
+ * @type {string}
6211
+ * @memberof OffPeakRule
6212
+ */
6213
+ 'pricingPeriodName'?: string;
6330
6214
  /**
6331
6215
  *
6332
6216
  * @type {number}
@@ -6506,38 +6390,134 @@ export interface PartialClubWeeklySchedule {
6506
6390
  'sunday'?: ClubDaySchedule;
6507
6391
  }
6508
6392
  /**
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];
6518
- /**
6519
- *
6393
+ * Make all properties in T optional
6520
6394
  * @export
6521
- * @interface PasswordResetRequestBody
6395
+ * @interface PartialHotelAccessSettings
6522
6396
  */
6523
- export interface PasswordResetRequestBody {
6397
+ export interface PartialHotelAccessSettings {
6524
6398
  /**
6525
6399
  *
6526
6400
  * @type {string}
6527
- * @memberof PasswordResetRequestBody
6401
+ * @memberof PartialHotelAccessSettings
6528
6402
  */
6529
- 'email'?: string;
6530
- }
6531
- /**
6532
- *
6533
- * @export
6534
- * @interface PaymentByPlayerInfo
6535
- */
6536
- export interface PaymentByPlayerInfo {
6403
+ 'accessCode'?: string;
6537
6404
  /**
6538
6405
  *
6539
- * @type {UserInfo}
6540
- * @memberof PaymentByPlayerInfo
6406
+ * @type {string}
6407
+ * @memberof PartialHotelAccessSettings
6408
+ */
6409
+ 'validFrom'?: string;
6410
+ /**
6411
+ *
6412
+ * @type {string}
6413
+ * @memberof PartialHotelAccessSettings
6414
+ */
6415
+ 'validUntil'?: string;
6416
+ /**
6417
+ *
6418
+ * @type {boolean}
6419
+ * @memberof PartialHotelAccessSettings
6420
+ */
6421
+ 'enabled'?: boolean;
6422
+ }
6423
+ /**
6424
+ * Make all properties in T optional
6425
+ * @export
6426
+ * @interface PartialPaymentRequirementsSettings
6427
+ */
6428
+ export interface PartialPaymentRequirementsSettings {
6429
+ /**
6430
+ *
6431
+ * @type {boolean}
6432
+ * @memberof PartialPaymentRequirementsSettings
6433
+ */
6434
+ 'isNoShowEnabled'?: boolean;
6435
+ /**
6436
+ *
6437
+ * @type {boolean}
6438
+ * @memberof PartialPaymentRequirementsSettings
6439
+ */
6440
+ 'requireOnlinePayment'?: boolean;
6441
+ }
6442
+ /**
6443
+ * Make all properties in T optional
6444
+ * @export
6445
+ * @interface PartialPublicAccessSettings
6446
+ */
6447
+ export interface PartialPublicAccessSettings {
6448
+ /**
6449
+ *
6450
+ * @type {string}
6451
+ * @memberof PartialPublicAccessSettings
6452
+ */
6453
+ 'paymentMode'?: PartialPublicAccessSettingsPaymentModeEnum;
6454
+ /**
6455
+ *
6456
+ * @type {number}
6457
+ * @memberof PartialPublicAccessSettings
6458
+ */
6459
+ 'pricePerAccess'?: number;
6460
+ /**
6461
+ *
6462
+ * @type {boolean}
6463
+ * @memberof PartialPublicAccessSettings
6464
+ */
6465
+ 'enabled'?: boolean;
6466
+ }
6467
+ export declare const PartialPublicAccessSettingsPaymentModeEnum: {
6468
+ readonly Free: "free";
6469
+ readonly AccessFee: "access_fee";
6470
+ readonly PerCourt: "per_court";
6471
+ };
6472
+ export type PartialPublicAccessSettingsPaymentModeEnum = typeof PartialPublicAccessSettingsPaymentModeEnum[keyof typeof PartialPublicAccessSettingsPaymentModeEnum];
6473
+ /**
6474
+ * Make all properties in T optional
6475
+ * @export
6476
+ * @interface PartialSchoolAccessSettings
6477
+ */
6478
+ export interface PartialSchoolAccessSettings {
6479
+ /**
6480
+ *
6481
+ * @type {Array<string>}
6482
+ * @memberof PartialSchoolAccessSettings
6483
+ */
6484
+ 'emailSuffixes'?: Array<string>;
6485
+ /**
6486
+ *
6487
+ * @type {boolean}
6488
+ * @memberof PartialSchoolAccessSettings
6489
+ */
6490
+ 'requireCertification'?: boolean;
6491
+ /**
6492
+ *
6493
+ * @type {boolean}
6494
+ * @memberof PartialSchoolAccessSettings
6495
+ */
6496
+ 'enabled'?: boolean;
6497
+ }
6498
+ /**
6499
+ *
6500
+ * @export
6501
+ * @interface PasswordResetRequestBody
6502
+ */
6503
+ export interface PasswordResetRequestBody {
6504
+ /**
6505
+ *
6506
+ * @type {string}
6507
+ * @memberof PasswordResetRequestBody
6508
+ */
6509
+ 'email'?: string;
6510
+ }
6511
+ /**
6512
+ *
6513
+ * @export
6514
+ * @interface PaymentByPlayerInfo
6515
+ */
6516
+ export interface PaymentByPlayerInfo {
6517
+ /**
6518
+ *
6519
+ * @type {UserInfo}
6520
+ * @memberof PaymentByPlayerInfo
6541
6521
  */
6542
6522
  'user': UserInfo;
6543
6523
  /**
@@ -6560,6 +6540,25 @@ export declare const PaymentMethod: {
6560
6540
  readonly Free: "free";
6561
6541
  };
6562
6542
  export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
6543
+ /**
6544
+ *
6545
+ * @export
6546
+ * @interface PaymentRequirementsSettings
6547
+ */
6548
+ export interface PaymentRequirementsSettings {
6549
+ /**
6550
+ *
6551
+ * @type {boolean}
6552
+ * @memberof PaymentRequirementsSettings
6553
+ */
6554
+ 'isNoShowEnabled': boolean;
6555
+ /**
6556
+ *
6557
+ * @type {boolean}
6558
+ * @memberof PaymentRequirementsSettings
6559
+ */
6560
+ 'requireOnlinePayment': boolean;
6561
+ }
6563
6562
  /**
6564
6563
  * From T, pick a set of properties whose keys are in the union K
6565
6564
  * @export
@@ -6655,6 +6654,56 @@ export declare const PlanInterval: {
6655
6654
  readonly Semester: "semester";
6656
6655
  };
6657
6656
  export type PlanInterval = typeof PlanInterval[keyof typeof PlanInterval];
6657
+ /**
6658
+ *
6659
+ * @export
6660
+ * @interface PlanPrice
6661
+ */
6662
+ export interface PlanPrice {
6663
+ /**
6664
+ *
6665
+ * @type {number}
6666
+ * @memberof PlanPrice
6667
+ */
6668
+ 'amountInCents': number;
6669
+ /**
6670
+ *
6671
+ * @type {PlanInterval}
6672
+ * @memberof PlanPrice
6673
+ */
6674
+ 'interval': PlanInterval;
6675
+ /**
6676
+ *
6677
+ * @type {boolean}
6678
+ * @memberof PlanPrice
6679
+ */
6680
+ 'active'?: boolean;
6681
+ /**
6682
+ *
6683
+ * @type {string}
6684
+ * @memberof PlanPrice
6685
+ */
6686
+ 'stripePriceId'?: string;
6687
+ }
6688
+ /**
6689
+ *
6690
+ * @export
6691
+ * @interface PlanPriceInput
6692
+ */
6693
+ export interface PlanPriceInput {
6694
+ /**
6695
+ *
6696
+ * @type {number}
6697
+ * @memberof PlanPriceInput
6698
+ */
6699
+ 'amountInCents': number;
6700
+ /**
6701
+ *
6702
+ * @type {PlanInterval}
6703
+ * @memberof PlanPriceInput
6704
+ */
6705
+ 'interval': PlanInterval;
6706
+ }
6658
6707
  /**
6659
6708
  *
6660
6709
  * @export
@@ -7002,6 +7051,37 @@ export interface ProfilePictureUpdateRequestBody {
7002
7051
  */
7003
7052
  'profilePicture': string;
7004
7053
  }
7054
+ /**
7055
+ *
7056
+ * @export
7057
+ * @interface PublicAccessSettings
7058
+ */
7059
+ export interface PublicAccessSettings {
7060
+ /**
7061
+ *
7062
+ * @type {boolean}
7063
+ * @memberof PublicAccessSettings
7064
+ */
7065
+ 'enabled': boolean;
7066
+ /**
7067
+ *
7068
+ * @type {string}
7069
+ * @memberof PublicAccessSettings
7070
+ */
7071
+ 'paymentMode': PublicAccessSettingsPaymentModeEnum;
7072
+ /**
7073
+ *
7074
+ * @type {number}
7075
+ * @memberof PublicAccessSettings
7076
+ */
7077
+ 'pricePerAccess': number | null;
7078
+ }
7079
+ export declare const PublicAccessSettingsPaymentModeEnum: {
7080
+ readonly Free: "free";
7081
+ readonly AccessFee: "access_fee";
7082
+ readonly PerCourt: "per_court";
7083
+ };
7084
+ export type PublicAccessSettingsPaymentModeEnum = typeof PublicAccessSettingsPaymentModeEnum[keyof typeof PublicAccessSettingsPaymentModeEnum];
7005
7085
  /**
7006
7086
  *
7007
7087
  * @export
@@ -7025,13 +7105,19 @@ export interface PublicSubscriptionPlanResponse {
7025
7105
  * @type {number}
7026
7106
  * @memberof PublicSubscriptionPlanResponse
7027
7107
  */
7028
- 'amountInCents': number;
7108
+ 'amountInCents'?: number;
7029
7109
  /**
7030
7110
  *
7031
7111
  * @type {string}
7032
7112
  * @memberof PublicSubscriptionPlanResponse
7033
7113
  */
7034
7114
  'currency': string;
7115
+ /**
7116
+ *
7117
+ * @type {Array<PlanPrice>}
7118
+ * @memberof PublicSubscriptionPlanResponse
7119
+ */
7120
+ 'prices': Array<PlanPrice>;
7035
7121
  /**
7036
7122
  *
7037
7123
  * @type {PlanInterval}
@@ -7044,6 +7130,12 @@ export interface PublicSubscriptionPlanResponse {
7044
7130
  * @memberof PublicSubscriptionPlanResponse
7045
7131
  */
7046
7132
  'description'?: string;
7133
+ /**
7134
+ *
7135
+ * @type {SubscriptionPlanDiscountResponse}
7136
+ * @memberof PublicSubscriptionPlanResponse
7137
+ */
7138
+ 'discount'?: SubscriptionPlanDiscountResponse;
7047
7139
  }
7048
7140
  /**
7049
7141
  *
@@ -7148,18 +7240,6 @@ export interface PublishEventResponse {
7148
7240
  * @memberof PublishEventResponse
7149
7241
  */
7150
7242
  'refundedBookingIds'?: Array<string>;
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
7243
  }
7164
7244
  /**
7165
7245
  *
@@ -7370,68 +7450,6 @@ export interface QuickReservationSlotSummary {
7370
7450
  */
7371
7451
  'sportKey'?: string;
7372
7452
  }
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];
7435
7453
  /**
7436
7454
  *
7437
7455
  * @export
@@ -7730,6 +7748,31 @@ export interface RevenueBySportItem {
7730
7748
  */
7731
7749
  'totalTurnover': number;
7732
7750
  }
7751
+ /**
7752
+ *
7753
+ * @export
7754
+ * @interface SchoolAccessSettings
7755
+ */
7756
+ export interface SchoolAccessSettings {
7757
+ /**
7758
+ *
7759
+ * @type {boolean}
7760
+ * @memberof SchoolAccessSettings
7761
+ */
7762
+ 'enabled': boolean;
7763
+ /**
7764
+ *
7765
+ * @type {Array<string>}
7766
+ * @memberof SchoolAccessSettings
7767
+ */
7768
+ 'emailSuffixes': Array<string>;
7769
+ /**
7770
+ *
7771
+ * @type {boolean}
7772
+ * @memberof SchoolAccessSettings
7773
+ */
7774
+ 'requireCertification': boolean;
7775
+ }
7733
7776
  /**
7734
7777
  *
7735
7778
  * @export
@@ -7748,6 +7791,12 @@ export interface SendSubscriptionInvitationRequest {
7748
7791
  * @memberof SendSubscriptionInvitationRequest
7749
7792
  */
7750
7793
  'productId': string;
7794
+ /**
7795
+ * Price spécifique proposé dans l\'invitation (facultatif).
7796
+ * @type {string}
7797
+ * @memberof SendSubscriptionInvitationRequest
7798
+ */
7799
+ 'priceId'?: string;
7751
7800
  }
7752
7801
  /**
7753
7802
  *
@@ -9854,27 +9903,82 @@ export interface SubscriptionMutationResponse {
9854
9903
  /**
9855
9904
  *
9856
9905
  * @export
9857
- * @interface SubscriptionPlanResponse
9906
+ * @interface SubscriptionPlanDiscountResponse
9858
9907
  */
9859
- export interface SubscriptionPlanResponse {
9908
+ export interface SubscriptionPlanDiscountResponse {
9860
9909
  /**
9861
9910
  *
9862
- * @type {string}
9863
- * @memberof SubscriptionPlanResponse
9911
+ * @type {DiscountType}
9912
+ * @memberof SubscriptionPlanDiscountResponse
9864
9913
  */
9865
- 'productId': string;
9914
+ 'type': DiscountType;
9866
9915
  /**
9867
9916
  *
9868
- * @type {string}
9869
- * @memberof SubscriptionPlanResponse
9917
+ * @type {number}
9918
+ * @memberof SubscriptionPlanDiscountResponse
9870
9919
  */
9871
- 'productName': string;
9920
+ 'percentage'?: number;
9872
9921
  /**
9873
9922
  *
9874
- * @type {boolean}
9875
- * @memberof SubscriptionPlanResponse
9923
+ * @type {number}
9924
+ * @memberof SubscriptionPlanDiscountResponse
9876
9925
  */
9877
- 'productActive': boolean;
9926
+ 'maxDiscountAmountInCents'?: number;
9927
+ /**
9928
+ *
9929
+ * @type {string}
9930
+ * @memberof SubscriptionPlanDiscountResponse
9931
+ */
9932
+ 'validFrom'?: string;
9933
+ /**
9934
+ *
9935
+ * @type {string}
9936
+ * @memberof SubscriptionPlanDiscountResponse
9937
+ */
9938
+ 'validTo'?: string;
9939
+ /**
9940
+ *
9941
+ * @type {Array<string>}
9942
+ * @memberof SubscriptionPlanDiscountResponse
9943
+ */
9944
+ 'offPeakRuleNames'?: Array<string>;
9945
+ /**
9946
+ *
9947
+ * @type {Array<OffPeakRule>}
9948
+ * @memberof SubscriptionPlanDiscountResponse
9949
+ */
9950
+ 'offPeakRules'?: Array<OffPeakRule>;
9951
+ /**
9952
+ *
9953
+ * @type {boolean}
9954
+ * @memberof SubscriptionPlanDiscountResponse
9955
+ */
9956
+ 'bookingFree'?: boolean;
9957
+ }
9958
+ /**
9959
+ *
9960
+ * @export
9961
+ * @interface SubscriptionPlanResponse
9962
+ */
9963
+ export interface SubscriptionPlanResponse {
9964
+ /**
9965
+ *
9966
+ * @type {string}
9967
+ * @memberof SubscriptionPlanResponse
9968
+ */
9969
+ 'productId': string;
9970
+ /**
9971
+ *
9972
+ * @type {string}
9973
+ * @memberof SubscriptionPlanResponse
9974
+ */
9975
+ 'productName': string;
9976
+ /**
9977
+ *
9978
+ * @type {boolean}
9979
+ * @memberof SubscriptionPlanResponse
9980
+ */
9981
+ 'productActive': boolean;
9878
9982
  /**
9879
9983
  *
9880
9984
  * @type {string}
@@ -9886,13 +9990,19 @@ export interface SubscriptionPlanResponse {
9886
9990
  * @type {number}
9887
9991
  * @memberof SubscriptionPlanResponse
9888
9992
  */
9889
- 'amountInCents': number;
9993
+ 'amountInCents'?: number;
9890
9994
  /**
9891
9995
  *
9892
9996
  * @type {string}
9893
9997
  * @memberof SubscriptionPlanResponse
9894
9998
  */
9895
9999
  'currency': string;
10000
+ /**
10001
+ *
10002
+ * @type {Array<PlanPrice>}
10003
+ * @memberof SubscriptionPlanResponse
10004
+ */
10005
+ 'prices': Array<PlanPrice>;
9896
10006
  /**
9897
10007
  *
9898
10008
  * @type {PlanInterval}
@@ -9905,6 +10015,18 @@ export interface SubscriptionPlanResponse {
9905
10015
  * @memberof SubscriptionPlanResponse
9906
10016
  */
9907
10017
  'priceActive': boolean;
10018
+ /**
10019
+ *
10020
+ * @type {string}
10021
+ * @memberof SubscriptionPlanResponse
10022
+ */
10023
+ 'description'?: string;
10024
+ /**
10025
+ *
10026
+ * @type {SubscriptionPlanDiscountResponse}
10027
+ * @memberof SubscriptionPlanResponse
10028
+ */
10029
+ 'discount'?: SubscriptionPlanDiscountResponse;
9908
10030
  }
9909
10031
  /**
9910
10032
  *
@@ -9968,6 +10090,37 @@ export interface UpdateActuality200Response {
9968
10090
  */
9969
10091
  'actuality': any;
9970
10092
  }
10093
+ /**
10094
+ *
10095
+ * @export
10096
+ * @interface UpdateClubAccessSettingsRequest
10097
+ */
10098
+ export interface UpdateClubAccessSettingsRequest {
10099
+ /**
10100
+ *
10101
+ * @type {PartialPublicAccessSettings}
10102
+ * @memberof UpdateClubAccessSettingsRequest
10103
+ */
10104
+ 'publicAccess'?: PartialPublicAccessSettings;
10105
+ /**
10106
+ *
10107
+ * @type {PartialSchoolAccessSettings}
10108
+ * @memberof UpdateClubAccessSettingsRequest
10109
+ */
10110
+ 'schoolAccess'?: PartialSchoolAccessSettings;
10111
+ /**
10112
+ *
10113
+ * @type {PartialHotelAccessSettings}
10114
+ * @memberof UpdateClubAccessSettingsRequest
10115
+ */
10116
+ 'hotelAccess'?: PartialHotelAccessSettings;
10117
+ /**
10118
+ *
10119
+ * @type {PartialPaymentRequirementsSettings}
10120
+ * @memberof UpdateClubAccessSettingsRequest
10121
+ */
10122
+ 'paymentRequirements'?: PartialPaymentRequirementsSettings;
10123
+ }
9971
10124
  /**
9972
10125
  *
9973
10126
  * @export
@@ -10520,163 +10673,6 @@ export interface UpdatePlanRequest {
10520
10673
  */
10521
10674
  'oldPriceId': string;
10522
10675
  }
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];
10680
10676
  /**
10681
10677
  *
10682
10678
  * @export
@@ -10972,202 +10968,61 @@ export interface UserClubSubscription {
10972
10968
  * @type {number}
10973
10969
  * @memberof UserClubSubscription
10974
10970
  */
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
11047
- */
11048
- 'booking': EventBookingDetailSummary;
11049
- }
11050
- /**
11051
- *
11052
- * @export
11053
- * @interface UserEventSummary
11054
- */
11055
- export interface UserEventSummary {
11056
- /**
11057
- *
11058
- * @type {string}
11059
- * @memberof UserEventSummary
11060
- */
11061
- 'id': string;
11062
- /**
11063
- *
11064
- * @type {string}
11065
- * @memberof UserEventSummary
11066
- */
11067
- 'clubId': string;
11068
- /**
11069
- *
11070
- * @type {string}
11071
- * @memberof UserEventSummary
11072
- */
11073
- 'title': string;
11074
- /**
11075
- *
11076
- * @type {string}
11077
- * @memberof UserEventSummary
11078
- */
11079
- 'description'?: string | null;
11080
- /**
11081
- *
11082
- * @type {string}
11083
- * @memberof UserEventSummary
11084
- */
11085
- 'photoUrl'?: string | null;
11086
- /**
11087
- *
11088
- * @type {string}
11089
- * @memberof UserEventSummary
11090
- */
11091
- 'startDate': string;
11092
- /**
11093
- *
11094
- * @type {string}
11095
- * @memberof UserEventSummary
11096
- */
11097
- 'endDate': string;
11098
- /**
11099
- *
11100
- * @type {ParticipationType}
11101
- * @memberof UserEventSummary
11102
- */
11103
- 'participationType': ParticipationType;
11104
- /**
11105
- *
11106
- * @type {VisibilityType}
11107
- * @memberof UserEventSummary
11108
- */
11109
- 'visibilityType': VisibilityType;
10971
+ 'currentPeriodEnd': number | null;
11110
10972
  /**
11111
10973
  *
11112
- * @type {boolean}
11113
- * @memberof UserEventSummary
10974
+ * @type {number}
10975
+ * @memberof UserClubSubscription
11114
10976
  */
11115
- 'isActive': boolean;
10977
+ 'cancelAt': number | null;
11116
10978
  /**
11117
10979
  *
11118
10980
  * @type {number}
11119
- * @memberof UserEventSummary
10981
+ * @memberof UserClubSubscription
11120
10982
  */
11121
- 'price'?: number | null;
10983
+ 'canceledAt': number | null;
11122
10984
  /**
11123
10985
  *
11124
- * @type {Array<string>}
11125
- * @memberof UserEventSummary
10986
+ * @type {string}
10987
+ * @memberof UserClubSubscription
11126
10988
  */
11127
- 'sports'?: Array<string>;
10989
+ 'priceId': string | null;
11128
10990
  /**
11129
10991
  *
11130
- * @type {Array<string>}
11131
- * @memberof UserEventSummary
10992
+ * @type {string}
10993
+ * @memberof UserClubSubscription
11132
10994
  */
11133
- 'courts'?: Array<string>;
11134
- }
11135
- /**
11136
- *
11137
- * @export
11138
- * @interface UserEventsResponse
11139
- */
11140
- export interface UserEventsResponse {
10995
+ 'planId': string | null;
11141
10996
  /**
11142
10997
  *
11143
- * @type {number}
11144
- * @memberof UserEventsResponse
10998
+ * @type {string}
10999
+ * @memberof UserClubSubscription
11145
11000
  */
11146
- 'total': number;
11001
+ 'planName': string | null;
11147
11002
  /**
11148
11003
  *
11149
- * @type {number}
11150
- * @memberof UserEventsResponse
11004
+ * @type {string}
11005
+ * @memberof UserClubSubscription
11151
11006
  */
11152
- 'limit': number;
11007
+ 'planDescription': string | null;
11153
11008
  /**
11154
11009
  *
11155
11010
  * @type {number}
11156
- * @memberof UserEventsResponse
11011
+ * @memberof UserClubSubscription
11157
11012
  */
11158
- 'skip': number;
11013
+ 'amountInCents': number | null;
11159
11014
  /**
11160
11015
  *
11161
- * @type {boolean}
11162
- * @memberof UserEventsResponse
11016
+ * @type {string}
11017
+ * @memberof UserClubSubscription
11163
11018
  */
11164
- 'hasMore': boolean;
11019
+ 'currency': string | null;
11165
11020
  /**
11166
11021
  *
11167
- * @type {Array<UserEventParticipation>}
11168
- * @memberof UserEventsResponse
11022
+ * @type {PlanInterval}
11023
+ * @memberof UserClubSubscription
11169
11024
  */
11170
- 'participations': Array<UserEventParticipation>;
11025
+ 'interval': PlanInterval | null;
11171
11026
  }
11172
11027
  /**
11173
11028
  *
@@ -11573,17 +11428,6 @@ export interface VerifyEmailRequest {
11573
11428
  */
11574
11429
  'token'?: string;
11575
11430
  }
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];
11587
11431
  /**
11588
11432
  *
11589
11433
  * @export
@@ -11971,13 +11815,13 @@ export declare class BookingsManagerApi extends BaseAPI {
11971
11815
  */
11972
11816
  export declare const BookingsStaffApiAxiosParamCreator: (configuration?: Configuration) => {
11973
11817
  /**
11974
- * Check-in des joueurs only for club with payment features
11818
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
11975
11819
  * @param {string} bookingId
11976
- * @param {CheckInPlayersRequest} checkInPlayersRequest
11820
+ * @param {CheckInPlayerRequest} checkInPlayerRequest
11977
11821
  * @param {*} [options] Override http request option.
11978
11822
  * @throws {RequiredError}
11979
11823
  */
11980
- checkInPlayers: (bookingId: string, checkInPlayersRequest: CheckInPlayersRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11824
+ checkInPlayer: (bookingId: string, checkInPlayerRequest: CheckInPlayerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11981
11825
  /**
11982
11826
  * Créer une réservation pour un joueur depuis l\'espace staff
11983
11827
  * @param {StaffCreateBookingRequest} staffCreateBookingRequest
@@ -12038,13 +11882,13 @@ export declare const BookingsStaffApiAxiosParamCreator: (configuration?: Configu
12038
11882
  */
12039
11883
  export declare const BookingsStaffApiFp: (configuration?: Configuration) => {
12040
11884
  /**
12041
- * Check-in des joueurs only for club with payment features
11885
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
12042
11886
  * @param {string} bookingId
12043
- * @param {CheckInPlayersRequest} checkInPlayersRequest
11887
+ * @param {CheckInPlayerRequest} checkInPlayerRequest
12044
11888
  * @param {*} [options] Override http request option.
12045
11889
  * @throws {RequiredError}
12046
11890
  */
12047
- checkInPlayers(bookingId: string, checkInPlayersRequest: CheckInPlayersRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInPlayersResponse>>;
11891
+ checkInPlayer(bookingId: string, checkInPlayerRequest: CheckInPlayerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInPlayerResponse>>;
12048
11892
  /**
12049
11893
  * Créer une réservation pour un joueur depuis l\'espace staff
12050
11894
  * @param {StaffCreateBookingRequest} staffCreateBookingRequest
@@ -12105,12 +11949,12 @@ export declare const BookingsStaffApiFp: (configuration?: Configuration) => {
12105
11949
  */
12106
11950
  export declare const BookingsStaffApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
12107
11951
  /**
12108
- * Check-in des joueurs only for club with payment features
12109
- * @param {BookingsStaffApiCheckInPlayersRequest} requestParameters Request parameters.
11952
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
11953
+ * @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
12110
11954
  * @param {*} [options] Override http request option.
12111
11955
  * @throws {RequiredError}
12112
11956
  */
12113
- checkInPlayers(requestParameters: BookingsStaffApiCheckInPlayersRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInPlayersResponse>;
11957
+ checkInPlayer(requestParameters: BookingsStaffApiCheckInPlayerRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInPlayerResponse>;
12114
11958
  /**
12115
11959
  * Créer une réservation pour un joueur depuis l\'espace staff
12116
11960
  * @param {BookingsStaffApiCreateStaffBookingRequest} requestParameters Request parameters.
@@ -12162,23 +12006,23 @@ export declare const BookingsStaffApiFactory: (configuration?: Configuration, ba
12162
12006
  listClubBookings(requestParameters?: BookingsStaffApiListClubBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffBookingsPaginatedResponse>;
12163
12007
  };
12164
12008
  /**
12165
- * Request parameters for checkInPlayers operation in BookingsStaffApi.
12009
+ * Request parameters for checkInPlayer operation in BookingsStaffApi.
12166
12010
  * @export
12167
- * @interface BookingsStaffApiCheckInPlayersRequest
12011
+ * @interface BookingsStaffApiCheckInPlayerRequest
12168
12012
  */
12169
- export interface BookingsStaffApiCheckInPlayersRequest {
12013
+ export interface BookingsStaffApiCheckInPlayerRequest {
12170
12014
  /**
12171
12015
  *
12172
12016
  * @type {string}
12173
- * @memberof BookingsStaffApiCheckInPlayers
12017
+ * @memberof BookingsStaffApiCheckInPlayer
12174
12018
  */
12175
12019
  readonly bookingId: string;
12176
12020
  /**
12177
12021
  *
12178
- * @type {CheckInPlayersRequest}
12179
- * @memberof BookingsStaffApiCheckInPlayers
12022
+ * @type {CheckInPlayerRequest}
12023
+ * @memberof BookingsStaffApiCheckInPlayer
12180
12024
  */
12181
- readonly checkInPlayersRequest: CheckInPlayersRequest;
12025
+ readonly checkInPlayerRequest: CheckInPlayerRequest;
12182
12026
  }
12183
12027
  /**
12184
12028
  * Request parameters for createStaffBooking operation in BookingsStaffApi.
@@ -12303,13 +12147,13 @@ export interface BookingsStaffApiListClubBookingsRequest {
12303
12147
  */
12304
12148
  export declare class BookingsStaffApi extends BaseAPI {
12305
12149
  /**
12306
- * Check-in des joueurs only for club with payment features
12307
- * @param {BookingsStaffApiCheckInPlayersRequest} requestParameters Request parameters.
12150
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
12151
+ * @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
12308
12152
  * @param {*} [options] Override http request option.
12309
12153
  * @throws {RequiredError}
12310
12154
  * @memberof BookingsStaffApi
12311
12155
  */
12312
- checkInPlayers(requestParameters: BookingsStaffApiCheckInPlayersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckInPlayersResponse, any, {}>>;
12156
+ checkInPlayer(requestParameters: BookingsStaffApiCheckInPlayerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckInPlayerResponse, any, {}>>;
12313
12157
  /**
12314
12158
  * Créer une réservation pour un joueur depuis l\'espace staff
12315
12159
  * @param {BookingsStaffApiCreateStaffBookingRequest} requestParameters Request parameters.
@@ -13631,6 +13475,13 @@ export declare class ClubRolesStaffApi extends BaseAPI {
13631
13475
  * @export
13632
13476
  */
13633
13477
  export declare const ClubSettingsManagerApiAxiosParamCreator: (configuration?: Configuration) => {
13478
+ /**
13479
+ *
13480
+ * @param {UpdateClubAccessSettingsRequest} updateClubAccessSettingsRequest
13481
+ * @param {*} [options] Override http request option.
13482
+ * @throws {RequiredError}
13483
+ */
13484
+ updateAccessSettings: (updateClubAccessSettingsRequest: UpdateClubAccessSettingsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13634
13485
  /**
13635
13486
  *
13636
13487
  * @param {UpdateClubGeneralSettingsRequest} updateClubGeneralSettingsRequest
@@ -13665,6 +13516,13 @@ export declare const ClubSettingsManagerApiAxiosParamCreator: (configuration?: C
13665
13516
  * @export
13666
13517
  */
13667
13518
  export declare const ClubSettingsManagerApiFp: (configuration?: Configuration) => {
13519
+ /**
13520
+ *
13521
+ * @param {UpdateClubAccessSettingsRequest} updateClubAccessSettingsRequest
13522
+ * @param {*} [options] Override http request option.
13523
+ * @throws {RequiredError}
13524
+ */
13525
+ updateAccessSettings(updateClubAccessSettingsRequest: UpdateClubAccessSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubAccessSettingsResponse>>;
13668
13526
  /**
13669
13527
  *
13670
13528
  * @param {UpdateClubGeneralSettingsRequest} updateClubGeneralSettingsRequest
@@ -13699,6 +13557,13 @@ export declare const ClubSettingsManagerApiFp: (configuration?: Configuration) =
13699
13557
  * @export
13700
13558
  */
13701
13559
  export declare const ClubSettingsManagerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
13560
+ /**
13561
+ *
13562
+ * @param {ClubSettingsManagerApiUpdateAccessSettingsRequest} requestParameters Request parameters.
13563
+ * @param {*} [options] Override http request option.
13564
+ * @throws {RequiredError}
13565
+ */
13566
+ updateAccessSettings(requestParameters: ClubSettingsManagerApiUpdateAccessSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubAccessSettingsResponse>;
13702
13567
  /**
13703
13568
  *
13704
13569
  * @param {ClubSettingsManagerApiUpdateClubGeneralSettingsRequest} requestParameters Request parameters.
@@ -13728,6 +13593,19 @@ export declare const ClubSettingsManagerApiFactory: (configuration?: Configurati
13728
13593
  */
13729
13594
  updateReservationSettings(requestParameters: ClubSettingsManagerApiUpdateReservationSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubReservationSettingsResponse>;
13730
13595
  };
13596
+ /**
13597
+ * Request parameters for updateAccessSettings operation in ClubSettingsManagerApi.
13598
+ * @export
13599
+ * @interface ClubSettingsManagerApiUpdateAccessSettingsRequest
13600
+ */
13601
+ export interface ClubSettingsManagerApiUpdateAccessSettingsRequest {
13602
+ /**
13603
+ *
13604
+ * @type {UpdateClubAccessSettingsRequest}
13605
+ * @memberof ClubSettingsManagerApiUpdateAccessSettings
13606
+ */
13607
+ readonly updateClubAccessSettingsRequest: UpdateClubAccessSettingsRequest;
13608
+ }
13731
13609
  /**
13732
13610
  * Request parameters for updateClubGeneralSettings operation in ClubSettingsManagerApi.
13733
13611
  * @export
@@ -13787,6 +13665,14 @@ export interface ClubSettingsManagerApiUpdateReservationSettingsRequest {
13787
13665
  * @extends {BaseAPI}
13788
13666
  */
13789
13667
  export declare class ClubSettingsManagerApi extends BaseAPI {
13668
+ /**
13669
+ *
13670
+ * @param {ClubSettingsManagerApiUpdateAccessSettingsRequest} requestParameters Request parameters.
13671
+ * @param {*} [options] Override http request option.
13672
+ * @throws {RequiredError}
13673
+ * @memberof ClubSettingsManagerApi
13674
+ */
13675
+ updateAccessSettings(requestParameters: ClubSettingsManagerApiUpdateAccessSettingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubAccessSettingsResponse, any, {}>>;
13790
13676
  /**
13791
13677
  *
13792
13678
  * @param {ClubSettingsManagerApiUpdateClubGeneralSettingsRequest} requestParameters Request parameters.
@@ -13825,6 +13711,12 @@ export declare class ClubSettingsManagerApi extends BaseAPI {
13825
13711
  * @export
13826
13712
  */
13827
13713
  export declare const ClubSettingsStaffApiAxiosParamCreator: (configuration?: Configuration) => {
13714
+ /**
13715
+ *
13716
+ * @param {*} [options] Override http request option.
13717
+ * @throws {RequiredError}
13718
+ */
13719
+ getAccessSettings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13828
13720
  /**
13829
13721
  *
13830
13722
  * @param {*} [options] Override http request option.
@@ -13855,6 +13747,12 @@ export declare const ClubSettingsStaffApiAxiosParamCreator: (configuration?: Con
13855
13747
  * @export
13856
13748
  */
13857
13749
  export declare const ClubSettingsStaffApiFp: (configuration?: Configuration) => {
13750
+ /**
13751
+ *
13752
+ * @param {*} [options] Override http request option.
13753
+ * @throws {RequiredError}
13754
+ */
13755
+ getAccessSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubAccessSettingsResponse>>;
13858
13756
  /**
13859
13757
  *
13860
13758
  * @param {*} [options] Override http request option.
@@ -13885,6 +13783,12 @@ export declare const ClubSettingsStaffApiFp: (configuration?: Configuration) =>
13885
13783
  * @export
13886
13784
  */
13887
13785
  export declare const ClubSettingsStaffApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
13786
+ /**
13787
+ *
13788
+ * @param {*} [options] Override http request option.
13789
+ * @throws {RequiredError}
13790
+ */
13791
+ getAccessSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClubAccessSettingsResponse>;
13888
13792
  /**
13889
13793
  *
13890
13794
  * @param {*} [options] Override http request option.
@@ -13917,6 +13821,13 @@ export declare const ClubSettingsStaffApiFactory: (configuration?: Configuration
13917
13821
  * @extends {BaseAPI}
13918
13822
  */
13919
13823
  export declare class ClubSettingsStaffApi extends BaseAPI {
13824
+ /**
13825
+ *
13826
+ * @param {*} [options] Override http request option.
13827
+ * @throws {RequiredError}
13828
+ * @memberof ClubSettingsStaffApi
13829
+ */
13830
+ getAccessSettings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubAccessSettingsResponse, any, {}>>;
13920
13831
  /**
13921
13832
  *
13922
13833
  * @param {*} [options] Override http request option.
@@ -15498,6 +15409,12 @@ export declare const ClubsStaffApiAxiosParamCreator: (configuration?: Configurat
15498
15409
  * @throws {RequiredError}
15499
15410
  */
15500
15411
  getClubRoles: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15412
+ /**
15413
+ *
15414
+ * @param {*} [options] Override http request option.
15415
+ * @throws {RequiredError}
15416
+ */
15417
+ getClubType: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15501
15418
  /**
15502
15419
  * Récupère les terrains d\'un club
15503
15420
  * @param {*} [options] Override http request option.
@@ -15576,6 +15493,12 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
15576
15493
  * @throws {RequiredError}
15577
15494
  */
15578
15495
  getClubRoles(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubRoles200Response>>;
15496
+ /**
15497
+ *
15498
+ * @param {*} [options] Override http request option.
15499
+ * @throws {RequiredError}
15500
+ */
15501
+ getClubType(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubType200Response>>;
15579
15502
  /**
15580
15503
  * Récupère les terrains d\'un club
15581
15504
  * @param {*} [options] Override http request option.
@@ -15653,6 +15576,12 @@ export declare const ClubsStaffApiFactory: (configuration?: Configuration, baseP
15653
15576
  * @throws {RequiredError}
15654
15577
  */
15655
15578
  getClubRoles(options?: RawAxiosRequestConfig): AxiosPromise<GetClubRoles200Response>;
15579
+ /**
15580
+ *
15581
+ * @param {*} [options] Override http request option.
15582
+ * @throws {RequiredError}
15583
+ */
15584
+ getClubType(options?: RawAxiosRequestConfig): AxiosPromise<GetClubType200Response>;
15656
15585
  /**
15657
15586
  * Récupère les terrains d\'un club
15658
15587
  * @param {*} [options] Override http request option.
@@ -15831,6 +15760,13 @@ export declare class ClubsStaffApi extends BaseAPI {
15831
15760
  * @memberof ClubsStaffApi
15832
15761
  */
15833
15762
  getClubRoles(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubRoles200Response, any, {}>>;
15763
+ /**
15764
+ *
15765
+ * @param {*} [options] Override http request option.
15766
+ * @throws {RequiredError}
15767
+ * @memberof ClubsStaffApi
15768
+ */
15769
+ getClubType(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubType200Response, any, {}>>;
15834
15770
  /**
15835
15771
  * Récupère les terrains d\'un club
15836
15772
  * @param {*} [options] Override http request option.
@@ -15955,11 +15891,10 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
15955
15891
  /**
15956
15892
  * Get a specific event by ID
15957
15893
  * @param {string} eventId
15958
- * @param {string} [userId]
15959
15894
  * @param {*} [options] Override http request option.
15960
15895
  * @throws {RequiredError}
15961
15896
  */
15962
- getEventById: (eventId: string, userId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15897
+ getEventById: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15963
15898
  /**
15964
15899
  * Get all published events for a club
15965
15900
  * @param {string} [clubId]
@@ -16010,11 +15945,10 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
16010
15945
  /**
16011
15946
  * Get a specific event by ID
16012
15947
  * @param {string} eventId
16013
- * @param {string} [userId]
16014
15948
  * @param {*} [options] Override http request option.
16015
15949
  * @throws {RequiredError}
16016
15950
  */
16017
- getEventById(eventId: string, userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>>;
15951
+ getEventById(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>>;
16018
15952
  /**
16019
15953
  * Get all published events for a club
16020
15954
  * @param {string} [clubId]
@@ -16139,12 +16073,6 @@ export interface EventsApiGetEventByIdRequest {
16139
16073
  * @memberof EventsApiGetEventById
16140
16074
  */
16141
16075
  readonly eventId: string;
16142
- /**
16143
- *
16144
- * @type {string}
16145
- * @memberof EventsApiGetEventById
16146
- */
16147
- readonly userId?: string;
16148
16076
  }
16149
16077
  /**
16150
16078
  * Request parameters for getPublishedEventsByClubId operation in EventsApi.
@@ -16308,13 +16236,6 @@ export declare const EventsManagerApiAxiosParamCreator: (configuration?: Configu
16308
16236
  * @throws {RequiredError}
16309
16237
  */
16310
16238
  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>;
16318
16239
  /**
16319
16240
  * Publish an event (manager)
16320
16241
  * @param {string} eventId
@@ -16345,14 +16266,6 @@ export declare const EventsManagerApiAxiosParamCreator: (configuration?: Configu
16345
16266
  * @throws {RequiredError}
16346
16267
  */
16347
16268
  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>;
16356
16269
  };
16357
16270
  /**
16358
16271
  * EventsManagerApi - functional programming interface
@@ -16380,13 +16293,6 @@ export declare const EventsManagerApiFp: (configuration?: Configuration) => {
16380
16293
  * @throws {RequiredError}
16381
16294
  */
16382
16295
  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>>>;
16390
16296
  /**
16391
16297
  * Publish an event (manager)
16392
16298
  * @param {string} eventId
@@ -16417,14 +16323,6 @@ export declare const EventsManagerApiFp: (configuration?: Configuration) => {
16417
16323
  * @throws {RequiredError}
16418
16324
  */
16419
16325
  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>>;
16428
16326
  };
16429
16327
  /**
16430
16328
  * EventsManagerApi - factory interface
@@ -16452,13 +16350,6 @@ export declare const EventsManagerApiFactory: (configuration?: Configuration, ba
16452
16350
  * @throws {RequiredError}
16453
16351
  */
16454
16352
  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>>;
16462
16353
  /**
16463
16354
  * Publish an event (manager)
16464
16355
  * @param {EventsManagerApiPublishEventRequest} requestParameters Request parameters.
@@ -16487,13 +16378,6 @@ export declare const EventsManagerApiFactory: (configuration?: Configuration, ba
16487
16378
  * @throws {RequiredError}
16488
16379
  */
16489
16380
  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>;
16497
16381
  };
16498
16382
  /**
16499
16383
  * Request parameters for checkEventConflicts operation in EventsManagerApi.
@@ -16534,19 +16418,6 @@ export interface EventsManagerApiDeleteEventRequest {
16534
16418
  */
16535
16419
  readonly eventId: string;
16536
16420
  }
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
- }
16550
16421
  /**
16551
16422
  * Request parameters for publishEvent operation in EventsManagerApi.
16552
16423
  * @export
@@ -16611,25 +16482,6 @@ export interface EventsManagerApiUpdatePublishedEventRequest {
16611
16482
  */
16612
16483
  readonly updateEventRequest: UpdateEventRequest;
16613
16484
  }
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
- }
16633
16485
  /**
16634
16486
  * EventsManagerApi - object-oriented interface
16635
16487
  * @export
@@ -16661,14 +16513,6 @@ export declare class EventsManagerApi extends BaseAPI {
16661
16513
  * @memberof EventsManagerApi
16662
16514
  */
16663
16515
  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, {}>>;
16672
16516
  /**
16673
16517
  * Publish an event (manager)
16674
16518
  * @param {EventsManagerApiPublishEventRequest} requestParameters Request parameters.
@@ -16701,14 +16545,6 @@ export declare class EventsManagerApi extends BaseAPI {
16701
16545
  * @memberof EventsManagerApi
16702
16546
  */
16703
16547
  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, {}>>;
16712
16548
  }
16713
16549
  /**
16714
16550
  * EventsStaffApi - axios parameter creator
@@ -17368,6 +17204,13 @@ export declare class SportsPublicApi extends BaseAPI {
17368
17204
  * @export
17369
17205
  */
17370
17206
  export declare const SubscriptionsManagerApiAxiosParamCreator: (configuration?: Configuration) => {
17207
+ /**
17208
+ * Supprime (archive) un plan par productId (manager)
17209
+ * @param {string} productId
17210
+ * @param {*} [options] Override http request option.
17211
+ * @throws {RequiredError}
17212
+ */
17213
+ archivePlan: (productId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17371
17214
  /**
17372
17215
  * Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
17373
17216
  * @param {CreateSubscriptionPlanRequest} createSubscriptionPlanRequest
@@ -17376,7 +17219,7 @@ export declare const SubscriptionsManagerApiAxiosParamCreator: (configuration?:
17376
17219
  */
17377
17220
  createPlan: (createSubscriptionPlanRequest: CreateSubscriptionPlanRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17378
17221
  /**
17379
- * Supprime (archive) un plan par productId (manager)
17222
+ * Supprime un plan par productId (manager)
17380
17223
  * @param {string} productId
17381
17224
  * @param {*} [options] Override http request option.
17382
17225
  * @throws {RequiredError}
@@ -17395,6 +17238,13 @@ export declare const SubscriptionsManagerApiAxiosParamCreator: (configuration?:
17395
17238
  * @export
17396
17239
  */
17397
17240
  export declare const SubscriptionsManagerApiFp: (configuration?: Configuration) => {
17241
+ /**
17242
+ * Supprime (archive) un plan par productId (manager)
17243
+ * @param {string} productId
17244
+ * @param {*} [options] Override http request option.
17245
+ * @throws {RequiredError}
17246
+ */
17247
+ archivePlan(productId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteSubscriptionPlanResponse>>;
17398
17248
  /**
17399
17249
  * Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
17400
17250
  * @param {CreateSubscriptionPlanRequest} createSubscriptionPlanRequest
@@ -17403,7 +17253,7 @@ export declare const SubscriptionsManagerApiFp: (configuration?: Configuration)
17403
17253
  */
17404
17254
  createPlan(createSubscriptionPlanRequest: CreateSubscriptionPlanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePlan201Response>>;
17405
17255
  /**
17406
- * Supprime (archive) un plan par productId (manager)
17256
+ * Supprime un plan par productId (manager)
17407
17257
  * @param {string} productId
17408
17258
  * @param {*} [options] Override http request option.
17409
17259
  * @throws {RequiredError}
@@ -17422,6 +17272,13 @@ export declare const SubscriptionsManagerApiFp: (configuration?: Configuration)
17422
17272
  * @export
17423
17273
  */
17424
17274
  export declare const SubscriptionsManagerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
17275
+ /**
17276
+ * Supprime (archive) un plan par productId (manager)
17277
+ * @param {SubscriptionsManagerApiArchivePlanRequest} requestParameters Request parameters.
17278
+ * @param {*} [options] Override http request option.
17279
+ * @throws {RequiredError}
17280
+ */
17281
+ archivePlan(requestParameters: SubscriptionsManagerApiArchivePlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteSubscriptionPlanResponse>;
17425
17282
  /**
17426
17283
  * Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
17427
17284
  * @param {SubscriptionsManagerApiCreatePlanRequest} requestParameters Request parameters.
@@ -17430,7 +17287,7 @@ export declare const SubscriptionsManagerApiFactory: (configuration?: Configurat
17430
17287
  */
17431
17288
  createPlan(requestParameters: SubscriptionsManagerApiCreatePlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreatePlan201Response>;
17432
17289
  /**
17433
- * Supprime (archive) un plan par productId (manager)
17290
+ * Supprime un plan par productId (manager)
17434
17291
  * @param {SubscriptionsManagerApiDeletePlanRequest} requestParameters Request parameters.
17435
17292
  * @param {*} [options] Override http request option.
17436
17293
  * @throws {RequiredError}
@@ -17444,6 +17301,19 @@ export declare const SubscriptionsManagerApiFactory: (configuration?: Configurat
17444
17301
  */
17445
17302
  updatePlan(requestParameters: SubscriptionsManagerApiUpdatePlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<StripeStripeResponseStripeStripePrice>;
17446
17303
  };
17304
+ /**
17305
+ * Request parameters for archivePlan operation in SubscriptionsManagerApi.
17306
+ * @export
17307
+ * @interface SubscriptionsManagerApiArchivePlanRequest
17308
+ */
17309
+ export interface SubscriptionsManagerApiArchivePlanRequest {
17310
+ /**
17311
+ *
17312
+ * @type {string}
17313
+ * @memberof SubscriptionsManagerApiArchivePlan
17314
+ */
17315
+ readonly productId: string;
17316
+ }
17447
17317
  /**
17448
17318
  * Request parameters for createPlan operation in SubscriptionsManagerApi.
17449
17319
  * @export
@@ -17490,6 +17360,14 @@ export interface SubscriptionsManagerApiUpdatePlanRequest {
17490
17360
  * @extends {BaseAPI}
17491
17361
  */
17492
17362
  export declare class SubscriptionsManagerApi extends BaseAPI {
17363
+ /**
17364
+ * Supprime (archive) un plan par productId (manager)
17365
+ * @param {SubscriptionsManagerApiArchivePlanRequest} requestParameters Request parameters.
17366
+ * @param {*} [options] Override http request option.
17367
+ * @throws {RequiredError}
17368
+ * @memberof SubscriptionsManagerApi
17369
+ */
17370
+ archivePlan(requestParameters: SubscriptionsManagerApiArchivePlanRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteSubscriptionPlanResponse, any, {}>>;
17493
17371
  /**
17494
17372
  * Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
17495
17373
  * @param {SubscriptionsManagerApiCreatePlanRequest} requestParameters Request parameters.
@@ -17499,7 +17377,7 @@ export declare class SubscriptionsManagerApi extends BaseAPI {
17499
17377
  */
17500
17378
  createPlan(requestParameters: SubscriptionsManagerApiCreatePlanRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePlan201Response, any, {}>>;
17501
17379
  /**
17502
- * Supprime (archive) un plan par productId (manager)
17380
+ * Supprime un plan par productId (manager)
17503
17381
  * @param {SubscriptionsManagerApiDeletePlanRequest} requestParameters Request parameters.
17504
17382
  * @param {*} [options] Override http request option.
17505
17383
  * @throws {RequiredError}
@@ -18069,14 +17947,6 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
18069
17947
  * @throws {RequiredError}
18070
17948
  */
18071
17949
  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>;
18080
17950
  /**
18081
17951
  *
18082
17952
  * @param {string} id
@@ -18352,14 +18222,6 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
18352
18222
  * @throws {RequiredError}
18353
18223
  */
18354
18224
  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>>;
18363
18225
  /**
18364
18226
  *
18365
18227
  * @param {string} id
@@ -18626,13 +18488,6 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
18626
18488
  * @throws {RequiredError}
18627
18489
  */
18628
18490
  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>;
18636
18491
  /**
18637
18492
  *
18638
18493
  * @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
@@ -18943,25 +18798,6 @@ export interface UsersApiGetUserBookingsRequest {
18943
18798
  */
18944
18799
  readonly skip?: number;
18945
18800
  }
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
- }
18965
18801
  /**
18966
18802
  * Request parameters for getUserProfileById operation in UsersApi.
18967
18803
  * @export
@@ -19388,14 +19224,6 @@ export declare class UsersApi extends BaseAPI {
19388
19224
  * @memberof UsersApi
19389
19225
  */
19390
19226
  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, {}>>;
19399
19227
  /**
19400
19228
  *
19401
19229
  * @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.