@tennac-booking/sdk 1.0.123 → 1.0.125

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 (51) hide show
  1. package/.openapi-generator/FILES +343 -331
  2. package/README.md +16 -4
  3. package/api.ts +569 -226
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +449 -141
  8. package/dist/api.js +136 -79
  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 +449 -141
  16. package/dist/esm/api.js +132 -75
  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/CreateSubscriptionPlanRequestDiscount.md +0 -2
  28. package/docs/DeleteSubscriptionPlanResponse.md +0 -2
  29. package/docs/EventBookingDetailSummary.md +40 -0
  30. package/docs/EventBookingResponse.md +36 -0
  31. package/docs/EventBookingResponsePlayersInner.md +28 -0
  32. package/docs/EventBookingResponsePlayersInnerInvoiceStatus.md +18 -0
  33. package/docs/EventBookingResponseSetupStatus.md +18 -0
  34. package/docs/EventBookingStatus.md +16 -0
  35. package/docs/EventsApi.md +4 -1
  36. package/docs/InvoiceStatusSETUPPENDING.md +8 -0
  37. package/docs/InvoiceStatusSETUPSUCCESS.md +8 -0
  38. package/docs/OffPeakRule.md +0 -2
  39. package/docs/ParticipationType.md +10 -0
  40. package/docs/PublicSubscriptionPlanResponse.md +0 -2
  41. package/docs/PublishEventResponse.md +2 -0
  42. package/docs/SubscriptionPlanResponse.md +0 -4
  43. package/docs/SubscriptionsManagerApi.md +1 -55
  44. package/docs/UserEventParticipation.md +22 -0
  45. package/docs/UserEventSummary.md +44 -0
  46. package/docs/UserEventsResponse.md +28 -0
  47. package/docs/UsersApi.md +54 -0
  48. package/docs/VisibilityType.md +12 -0
  49. package/index.ts +1 -1
  50. package/package.json +1 -1
  51. package/docs/SubscriptionPlanDiscountResponse.md +0 -34
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.121
5
+ * The version of the OpenAPI document: 1.0.125
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4070,15 +4070,8 @@ export interface CreateSubscriptionPlanRequestDiscount {
4070
4070
  *
4071
4071
  * @type {Array<OffPeakRule>}
4072
4072
  * @memberof CreateSubscriptionPlanRequestDiscount
4073
- * @deprecated
4074
4073
  */
4075
4074
  'offPeakRules'?: Array<OffPeakRule>;
4076
- /**
4077
- * 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.
4078
- * @type {Array<string>}
4079
- * @memberof CreateSubscriptionPlanRequestDiscount
4080
- */
4081
- 'offPeakRuleNames'?: Array<string>;
4082
4075
  /**
4083
4076
  *
4084
4077
  * @type {string}
@@ -4230,12 +4223,6 @@ export interface DeleteSubscriptionPlanResponse {
4230
4223
  * @memberof DeleteSubscriptionPlanResponse
4231
4224
  */
4232
4225
  'message': string;
4233
- /**
4234
- *
4235
- * @type {boolean}
4236
- * @memberof DeleteSubscriptionPlanResponse
4237
- */
4238
- 'archivedInstead'?: boolean;
4239
4226
  }
4240
4227
  /**
4241
4228
  *
@@ -4354,6 +4341,204 @@ export interface EstimateEventPriceRequestSharesInner {
4354
4341
  */
4355
4342
  'playerId': string;
4356
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 Paid: "paid";
4537
+ readonly Cancelled: "cancelled";
4538
+ readonly Expired: "expired";
4539
+ readonly Archived: "archived";
4540
+ };
4541
+ export type EventBookingStatus = typeof EventBookingStatus[keyof typeof EventBookingStatus];
4357
4542
  /**
4358
4543
  *
4359
4544
  * @export
@@ -5673,6 +5858,24 @@ export declare const InvoiceStatus: {
5673
5858
  readonly Expired: "expired";
5674
5859
  };
5675
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];
5676
5879
  /**
5677
5880
  *
5678
5881
  * @export
@@ -6124,12 +6327,6 @@ export interface NoShowFeeResponse {
6124
6327
  * @interface OffPeakRule
6125
6328
  */
6126
6329
  export interface OffPeakRule {
6127
- /**
6128
- *
6129
- * @type {string}
6130
- * @memberof OffPeakRule
6131
- */
6132
- 'pricingPeriodName'?: string;
6133
6330
  /**
6134
6331
  *
6135
6332
  * @type {number}
@@ -6308,6 +6505,16 @@ export interface PartialClubWeeklySchedule {
6308
6505
  */
6309
6506
  'sunday'?: ClubDaySchedule;
6310
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];
6311
6518
  /**
6312
6519
  *
6313
6520
  * @export
@@ -6837,12 +7044,6 @@ export interface PublicSubscriptionPlanResponse {
6837
7044
  * @memberof PublicSubscriptionPlanResponse
6838
7045
  */
6839
7046
  'description'?: string;
6840
- /**
6841
- *
6842
- * @type {SubscriptionPlanDiscountResponse}
6843
- * @memberof PublicSubscriptionPlanResponse
6844
- */
6845
- 'discount'?: SubscriptionPlanDiscountResponse;
6846
7047
  }
6847
7048
  /**
6848
7049
  *
@@ -6947,6 +7148,12 @@ export interface PublishEventResponse {
6947
7148
  * @memberof PublishEventResponse
6948
7149
  */
6949
7150
  'refundedBookingIds'?: Array<string>;
7151
+ /**
7152
+ *
7153
+ * @type {EventBookingResponse}
7154
+ * @memberof PublishEventResponse
7155
+ */
7156
+ 'userBooking'?: EventBookingResponse;
6950
7157
  }
6951
7158
  /**
6952
7159
  *
@@ -9576,61 +9783,6 @@ export interface SubscriptionMutationResponse {
9576
9783
  [key: string]: any;
9577
9784
  };
9578
9785
  }
9579
- /**
9580
- *
9581
- * @export
9582
- * @interface SubscriptionPlanDiscountResponse
9583
- */
9584
- export interface SubscriptionPlanDiscountResponse {
9585
- /**
9586
- *
9587
- * @type {DiscountType}
9588
- * @memberof SubscriptionPlanDiscountResponse
9589
- */
9590
- 'type': DiscountType;
9591
- /**
9592
- *
9593
- * @type {number}
9594
- * @memberof SubscriptionPlanDiscountResponse
9595
- */
9596
- 'percentage'?: number;
9597
- /**
9598
- *
9599
- * @type {number}
9600
- * @memberof SubscriptionPlanDiscountResponse
9601
- */
9602
- 'maxDiscountAmountInCents'?: number;
9603
- /**
9604
- *
9605
- * @type {string}
9606
- * @memberof SubscriptionPlanDiscountResponse
9607
- */
9608
- 'validFrom'?: string;
9609
- /**
9610
- *
9611
- * @type {string}
9612
- * @memberof SubscriptionPlanDiscountResponse
9613
- */
9614
- 'validTo'?: string;
9615
- /**
9616
- *
9617
- * @type {Array<string>}
9618
- * @memberof SubscriptionPlanDiscountResponse
9619
- */
9620
- 'offPeakRuleNames'?: Array<string>;
9621
- /**
9622
- *
9623
- * @type {Array<OffPeakRule>}
9624
- * @memberof SubscriptionPlanDiscountResponse
9625
- */
9626
- 'offPeakRules'?: Array<OffPeakRule>;
9627
- /**
9628
- *
9629
- * @type {boolean}
9630
- * @memberof SubscriptionPlanDiscountResponse
9631
- */
9632
- 'bookingFree'?: boolean;
9633
- }
9634
9786
  /**
9635
9787
  *
9636
9788
  * @export
@@ -9685,18 +9837,6 @@ export interface SubscriptionPlanResponse {
9685
9837
  * @memberof SubscriptionPlanResponse
9686
9838
  */
9687
9839
  'priceActive': boolean;
9688
- /**
9689
- *
9690
- * @type {string}
9691
- * @memberof SubscriptionPlanResponse
9692
- */
9693
- 'description'?: string;
9694
- /**
9695
- *
9696
- * @type {SubscriptionPlanDiscountResponse}
9697
- * @memberof SubscriptionPlanResponse
9698
- */
9699
- 'discount'?: SubscriptionPlanDiscountResponse;
9700
9840
  }
9701
9841
  /**
9702
9842
  *
@@ -10663,6 +10803,147 @@ export interface UserClubSubscription {
10663
10803
  */
10664
10804
  'interval': PlanInterval | null;
10665
10805
  }
10806
+ /**
10807
+ *
10808
+ * @export
10809
+ * @interface UserEventParticipation
10810
+ */
10811
+ export interface UserEventParticipation {
10812
+ /**
10813
+ *
10814
+ * @type {UserEventSummary}
10815
+ * @memberof UserEventParticipation
10816
+ */
10817
+ 'event': UserEventSummary;
10818
+ /**
10819
+ *
10820
+ * @type {EventBookingDetailSummary}
10821
+ * @memberof UserEventParticipation
10822
+ */
10823
+ 'booking': EventBookingDetailSummary;
10824
+ }
10825
+ /**
10826
+ *
10827
+ * @export
10828
+ * @interface UserEventSummary
10829
+ */
10830
+ export interface UserEventSummary {
10831
+ /**
10832
+ *
10833
+ * @type {string}
10834
+ * @memberof UserEventSummary
10835
+ */
10836
+ 'id': string;
10837
+ /**
10838
+ *
10839
+ * @type {string}
10840
+ * @memberof UserEventSummary
10841
+ */
10842
+ 'clubId': string;
10843
+ /**
10844
+ *
10845
+ * @type {string}
10846
+ * @memberof UserEventSummary
10847
+ */
10848
+ 'title': string;
10849
+ /**
10850
+ *
10851
+ * @type {string}
10852
+ * @memberof UserEventSummary
10853
+ */
10854
+ 'description'?: string | null;
10855
+ /**
10856
+ *
10857
+ * @type {string}
10858
+ * @memberof UserEventSummary
10859
+ */
10860
+ 'photoUrl'?: string | null;
10861
+ /**
10862
+ *
10863
+ * @type {string}
10864
+ * @memberof UserEventSummary
10865
+ */
10866
+ 'startDate': string;
10867
+ /**
10868
+ *
10869
+ * @type {string}
10870
+ * @memberof UserEventSummary
10871
+ */
10872
+ 'endDate': string;
10873
+ /**
10874
+ *
10875
+ * @type {ParticipationType}
10876
+ * @memberof UserEventSummary
10877
+ */
10878
+ 'participationType': ParticipationType;
10879
+ /**
10880
+ *
10881
+ * @type {VisibilityType}
10882
+ * @memberof UserEventSummary
10883
+ */
10884
+ 'visibilityType': VisibilityType;
10885
+ /**
10886
+ *
10887
+ * @type {boolean}
10888
+ * @memberof UserEventSummary
10889
+ */
10890
+ 'isActive': boolean;
10891
+ /**
10892
+ *
10893
+ * @type {number}
10894
+ * @memberof UserEventSummary
10895
+ */
10896
+ 'price'?: number | null;
10897
+ /**
10898
+ *
10899
+ * @type {Array<string>}
10900
+ * @memberof UserEventSummary
10901
+ */
10902
+ 'sports'?: Array<string>;
10903
+ /**
10904
+ *
10905
+ * @type {Array<string>}
10906
+ * @memberof UserEventSummary
10907
+ */
10908
+ 'courts'?: Array<string>;
10909
+ }
10910
+ /**
10911
+ *
10912
+ * @export
10913
+ * @interface UserEventsResponse
10914
+ */
10915
+ export interface UserEventsResponse {
10916
+ /**
10917
+ *
10918
+ * @type {number}
10919
+ * @memberof UserEventsResponse
10920
+ */
10921
+ 'total': number;
10922
+ /**
10923
+ *
10924
+ * @type {number}
10925
+ * @memberof UserEventsResponse
10926
+ */
10927
+ 'limit': number;
10928
+ /**
10929
+ *
10930
+ * @type {number}
10931
+ * @memberof UserEventsResponse
10932
+ */
10933
+ 'skip': number;
10934
+ /**
10935
+ *
10936
+ * @type {boolean}
10937
+ * @memberof UserEventsResponse
10938
+ */
10939
+ 'hasMore': boolean;
10940
+ /**
10941
+ *
10942
+ * @type {Array<UserEventParticipation>}
10943
+ * @memberof UserEventsResponse
10944
+ */
10945
+ 'participations': Array<UserEventParticipation>;
10946
+ }
10666
10947
  /**
10667
10948
  *
10668
10949
  * @export
@@ -11067,6 +11348,17 @@ export interface VerifyEmailRequest {
11067
11348
  */
11068
11349
  'token'?: string;
11069
11350
  }
11351
+ /**
11352
+ *
11353
+ * @export
11354
+ * @enum {string}
11355
+ */
11356
+ export declare const VisibilityType: {
11357
+ readonly Public: "public";
11358
+ readonly Private: "private";
11359
+ readonly Invitation: "invitation";
11360
+ };
11361
+ export type VisibilityType = typeof VisibilityType[keyof typeof VisibilityType];
11070
11362
  /**
11071
11363
  *
11072
11364
  * @export
@@ -15438,10 +15730,11 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
15438
15730
  /**
15439
15731
  * Get a specific event by ID
15440
15732
  * @param {string} eventId
15733
+ * @param {string} [userId]
15441
15734
  * @param {*} [options] Override http request option.
15442
15735
  * @throws {RequiredError}
15443
15736
  */
15444
- getEventById: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15737
+ getEventById: (eventId: string, userId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15445
15738
  /**
15446
15739
  * Get all published events for a club
15447
15740
  * @param {string} [clubId]
@@ -15492,10 +15785,11 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
15492
15785
  /**
15493
15786
  * Get a specific event by ID
15494
15787
  * @param {string} eventId
15788
+ * @param {string} [userId]
15495
15789
  * @param {*} [options] Override http request option.
15496
15790
  * @throws {RequiredError}
15497
15791
  */
15498
- getEventById(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>>;
15792
+ getEventById(eventId: string, userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>>;
15499
15793
  /**
15500
15794
  * Get all published events for a club
15501
15795
  * @param {string} [clubId]
@@ -15620,6 +15914,12 @@ export interface EventsApiGetEventByIdRequest {
15620
15914
  * @memberof EventsApiGetEventById
15621
15915
  */
15622
15916
  readonly eventId: string;
15917
+ /**
15918
+ *
15919
+ * @type {string}
15920
+ * @memberof EventsApiGetEventById
15921
+ */
15922
+ readonly userId?: string;
15623
15923
  }
15624
15924
  /**
15625
15925
  * Request parameters for getPublishedEventsByClubId operation in EventsApi.
@@ -16751,13 +17051,6 @@ export declare class SportsPublicApi extends BaseAPI {
16751
17051
  * @export
16752
17052
  */
16753
17053
  export declare const SubscriptionsManagerApiAxiosParamCreator: (configuration?: Configuration) => {
16754
- /**
16755
- * Supprime (archive) un plan par productId (manager)
16756
- * @param {string} productId
16757
- * @param {*} [options] Override http request option.
16758
- * @throws {RequiredError}
16759
- */
16760
- archivePlan: (productId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16761
17054
  /**
16762
17055
  * Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
16763
17056
  * @param {CreateSubscriptionPlanRequest} createSubscriptionPlanRequest
@@ -16766,7 +17059,7 @@ export declare const SubscriptionsManagerApiAxiosParamCreator: (configuration?:
16766
17059
  */
16767
17060
  createPlan: (createSubscriptionPlanRequest: CreateSubscriptionPlanRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16768
17061
  /**
16769
- * Supprime un plan par productId (manager)
17062
+ * Supprime (archive) un plan par productId (manager)
16770
17063
  * @param {string} productId
16771
17064
  * @param {*} [options] Override http request option.
16772
17065
  * @throws {RequiredError}
@@ -16785,13 +17078,6 @@ export declare const SubscriptionsManagerApiAxiosParamCreator: (configuration?:
16785
17078
  * @export
16786
17079
  */
16787
17080
  export declare const SubscriptionsManagerApiFp: (configuration?: Configuration) => {
16788
- /**
16789
- * Supprime (archive) un plan par productId (manager)
16790
- * @param {string} productId
16791
- * @param {*} [options] Override http request option.
16792
- * @throws {RequiredError}
16793
- */
16794
- archivePlan(productId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteSubscriptionPlanResponse>>;
16795
17081
  /**
16796
17082
  * Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
16797
17083
  * @param {CreateSubscriptionPlanRequest} createSubscriptionPlanRequest
@@ -16800,7 +17086,7 @@ export declare const SubscriptionsManagerApiFp: (configuration?: Configuration)
16800
17086
  */
16801
17087
  createPlan(createSubscriptionPlanRequest: CreateSubscriptionPlanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePlan201Response>>;
16802
17088
  /**
16803
- * Supprime un plan par productId (manager)
17089
+ * Supprime (archive) un plan par productId (manager)
16804
17090
  * @param {string} productId
16805
17091
  * @param {*} [options] Override http request option.
16806
17092
  * @throws {RequiredError}
@@ -16819,13 +17105,6 @@ export declare const SubscriptionsManagerApiFp: (configuration?: Configuration)
16819
17105
  * @export
16820
17106
  */
16821
17107
  export declare const SubscriptionsManagerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
16822
- /**
16823
- * Supprime (archive) un plan par productId (manager)
16824
- * @param {SubscriptionsManagerApiArchivePlanRequest} requestParameters Request parameters.
16825
- * @param {*} [options] Override http request option.
16826
- * @throws {RequiredError}
16827
- */
16828
- archivePlan(requestParameters: SubscriptionsManagerApiArchivePlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteSubscriptionPlanResponse>;
16829
17108
  /**
16830
17109
  * Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
16831
17110
  * @param {SubscriptionsManagerApiCreatePlanRequest} requestParameters Request parameters.
@@ -16834,7 +17113,7 @@ export declare const SubscriptionsManagerApiFactory: (configuration?: Configurat
16834
17113
  */
16835
17114
  createPlan(requestParameters: SubscriptionsManagerApiCreatePlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreatePlan201Response>;
16836
17115
  /**
16837
- * Supprime un plan par productId (manager)
17116
+ * Supprime (archive) un plan par productId (manager)
16838
17117
  * @param {SubscriptionsManagerApiDeletePlanRequest} requestParameters Request parameters.
16839
17118
  * @param {*} [options] Override http request option.
16840
17119
  * @throws {RequiredError}
@@ -16848,19 +17127,6 @@ export declare const SubscriptionsManagerApiFactory: (configuration?: Configurat
16848
17127
  */
16849
17128
  updatePlan(requestParameters: SubscriptionsManagerApiUpdatePlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<StripeStripeResponseStripeStripePrice>;
16850
17129
  };
16851
- /**
16852
- * Request parameters for archivePlan operation in SubscriptionsManagerApi.
16853
- * @export
16854
- * @interface SubscriptionsManagerApiArchivePlanRequest
16855
- */
16856
- export interface SubscriptionsManagerApiArchivePlanRequest {
16857
- /**
16858
- *
16859
- * @type {string}
16860
- * @memberof SubscriptionsManagerApiArchivePlan
16861
- */
16862
- readonly productId: string;
16863
- }
16864
17130
  /**
16865
17131
  * Request parameters for createPlan operation in SubscriptionsManagerApi.
16866
17132
  * @export
@@ -16907,14 +17173,6 @@ export interface SubscriptionsManagerApiUpdatePlanRequest {
16907
17173
  * @extends {BaseAPI}
16908
17174
  */
16909
17175
  export declare class SubscriptionsManagerApi extends BaseAPI {
16910
- /**
16911
- * Supprime (archive) un plan par productId (manager)
16912
- * @param {SubscriptionsManagerApiArchivePlanRequest} requestParameters Request parameters.
16913
- * @param {*} [options] Override http request option.
16914
- * @throws {RequiredError}
16915
- * @memberof SubscriptionsManagerApi
16916
- */
16917
- archivePlan(requestParameters: SubscriptionsManagerApiArchivePlanRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteSubscriptionPlanResponse, any, {}>>;
16918
17176
  /**
16919
17177
  * Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
16920
17178
  * @param {SubscriptionsManagerApiCreatePlanRequest} requestParameters Request parameters.
@@ -16924,7 +17182,7 @@ export declare class SubscriptionsManagerApi extends BaseAPI {
16924
17182
  */
16925
17183
  createPlan(requestParameters: SubscriptionsManagerApiCreatePlanRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePlan201Response, any, {}>>;
16926
17184
  /**
16927
- * Supprime un plan par productId (manager)
17185
+ * Supprime (archive) un plan par productId (manager)
16928
17186
  * @param {SubscriptionsManagerApiDeletePlanRequest} requestParameters Request parameters.
16929
17187
  * @param {*} [options] Override http request option.
16930
17188
  * @throws {RequiredError}
@@ -17494,6 +17752,14 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
17494
17752
  * @throws {RequiredError}
17495
17753
  */
17496
17754
  getUserBookings: (limit?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17755
+ /**
17756
+ *
17757
+ * @param {number} [limit]
17758
+ * @param {number} [skip]
17759
+ * @param {*} [options] Override http request option.
17760
+ * @throws {RequiredError}
17761
+ */
17762
+ getUserEvents: (limit?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17497
17763
  /**
17498
17764
  *
17499
17765
  * @param {string} id
@@ -17769,6 +18035,14 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
17769
18035
  * @throws {RequiredError}
17770
18036
  */
17771
18037
  getUserBookings(limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserBookingsResponse>>;
18038
+ /**
18039
+ *
18040
+ * @param {number} [limit]
18041
+ * @param {number} [skip]
18042
+ * @param {*} [options] Override http request option.
18043
+ * @throws {RequiredError}
18044
+ */
18045
+ getUserEvents(limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserEventsResponse>>;
17772
18046
  /**
17773
18047
  *
17774
18048
  * @param {string} id
@@ -18035,6 +18309,13 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
18035
18309
  * @throws {RequiredError}
18036
18310
  */
18037
18311
  getUserBookings(requestParameters?: UsersApiGetUserBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserBookingsResponse>;
18312
+ /**
18313
+ *
18314
+ * @param {UsersApiGetUserEventsRequest} requestParameters Request parameters.
18315
+ * @param {*} [options] Override http request option.
18316
+ * @throws {RequiredError}
18317
+ */
18318
+ getUserEvents(requestParameters?: UsersApiGetUserEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserEventsResponse>;
18038
18319
  /**
18039
18320
  *
18040
18321
  * @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
@@ -18345,6 +18626,25 @@ export interface UsersApiGetUserBookingsRequest {
18345
18626
  */
18346
18627
  readonly skip?: number;
18347
18628
  }
18629
+ /**
18630
+ * Request parameters for getUserEvents operation in UsersApi.
18631
+ * @export
18632
+ * @interface UsersApiGetUserEventsRequest
18633
+ */
18634
+ export interface UsersApiGetUserEventsRequest {
18635
+ /**
18636
+ *
18637
+ * @type {number}
18638
+ * @memberof UsersApiGetUserEvents
18639
+ */
18640
+ readonly limit?: number;
18641
+ /**
18642
+ *
18643
+ * @type {number}
18644
+ * @memberof UsersApiGetUserEvents
18645
+ */
18646
+ readonly skip?: number;
18647
+ }
18348
18648
  /**
18349
18649
  * Request parameters for getUserProfileById operation in UsersApi.
18350
18650
  * @export
@@ -18771,6 +19071,14 @@ export declare class UsersApi extends BaseAPI {
18771
19071
  * @memberof UsersApi
18772
19072
  */
18773
19073
  getUserBookings(requestParameters?: UsersApiGetUserBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserBookingsResponse, any, {}>>;
19074
+ /**
19075
+ *
19076
+ * @param {UsersApiGetUserEventsRequest} requestParameters Request parameters.
19077
+ * @param {*} [options] Override http request option.
19078
+ * @throws {RequiredError}
19079
+ * @memberof UsersApi
19080
+ */
19081
+ getUserEvents(requestParameters?: UsersApiGetUserEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserEventsResponse, any, {}>>;
18774
19082
  /**
18775
19083
  *
18776
19084
  * @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.