@tennac-booking/sdk 1.0.130 → 1.0.131

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 +361 -344
  2. package/README.md +22 -2
  3. package/api.ts +1008 -28
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +826 -26
  8. package/dist/api.js +293 -10
  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 +826 -26
  16. package/dist/esm/api.js +289 -6
  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/EstimateEventPrice200Response.md +0 -2
  28. package/docs/EventBookingDetailSummary.md +40 -0
  29. package/docs/EventBookingDetailSummaryPaymentPerPlayersInner.md +30 -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/EventsManagerApi.md +110 -0
  37. package/docs/InvoiceStatusSETUPPENDING.md +8 -0
  38. package/docs/InvoiceStatusSETUPSUCCESS.md +8 -0
  39. package/docs/ParticipationType.md +10 -0
  40. package/docs/PublishEventResponse.md +4 -0
  41. package/docs/RecurringDefinitionResponse.md +34 -0
  42. package/docs/UpdateRecurringDefinition200Response.md +20 -0
  43. package/docs/UpdateRecurringDefinitionRequest.md +56 -0
  44. package/docs/UserClubSubscription.md +2 -0
  45. package/docs/UserEventParticipation.md +22 -0
  46. package/docs/UserEventSummary.md +44 -0
  47. package/docs/UserEventsResponse.md +28 -0
  48. package/docs/UsersApi.md +54 -0
  49. package/docs/VisibilityType.md +12 -0
  50. package/index.ts +1 -1
  51. package/package.json +1 -1
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.121
7
+ * The version of the OpenAPI document: 1.0.131
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4398,12 +4398,6 @@ export interface EstimateEventPrice200Response {
4398
4398
  * @memberof EstimateEventPrice200Response
4399
4399
  */
4400
4400
  'total': number;
4401
- /**
4402
- * Construct a type with a set of properties K of type T
4403
- * @type {{ [key: string]: number; }}
4404
- * @memberof EstimateEventPrice200Response
4405
- */
4406
- 'perPayer': { [key: string]: number; };
4407
4401
  /**
4408
4402
  * Construct a type with a set of properties K of type T
4409
4403
  * @type {{ [key: string]: number; }}
@@ -4461,6 +4455,257 @@ export interface EstimateEventPriceRequestSharesInner {
4461
4455
  */
4462
4456
  'playerId': string;
4463
4457
  }
4458
+ /**
4459
+ *
4460
+ * @export
4461
+ * @interface EventBookingDetailSummary
4462
+ */
4463
+ export interface EventBookingDetailSummary {
4464
+ /**
4465
+ *
4466
+ * @type {string}
4467
+ * @memberof EventBookingDetailSummary
4468
+ */
4469
+ 'id': string;
4470
+ /**
4471
+ *
4472
+ * @type {EventBookingStatus}
4473
+ * @memberof EventBookingDetailSummary
4474
+ */
4475
+ 'status': EventBookingStatus;
4476
+ /**
4477
+ *
4478
+ * @type {string}
4479
+ * @memberof EventBookingDetailSummary
4480
+ */
4481
+ 'teamName'?: string | null;
4482
+ /**
4483
+ *
4484
+ * @type {Array<string>}
4485
+ * @memberof EventBookingDetailSummary
4486
+ */
4487
+ 'players': Array<string>;
4488
+ /**
4489
+ * Détails des paiements par joueur pour cette réservation d\'événement. Remplace l\'ancien champ `invoices`.
4490
+ * @type {Array<EventBookingDetailSummaryPaymentPerPlayersInner>}
4491
+ * @memberof EventBookingDetailSummary
4492
+ */
4493
+ 'paymentPerPlayers': Array<EventBookingDetailSummaryPaymentPerPlayersInner>;
4494
+ /**
4495
+ *
4496
+ * @type {string}
4497
+ * @memberof EventBookingDetailSummary
4498
+ */
4499
+ 'creatorPaymentMethodId'?: string | null;
4500
+ /**
4501
+ *
4502
+ * @type {boolean}
4503
+ * @memberof EventBookingDetailSummary
4504
+ */
4505
+ 'paymentMethodSetupCompleted': boolean;
4506
+ /**
4507
+ *
4508
+ * @type {string}
4509
+ * @memberof EventBookingDetailSummary
4510
+ */
4511
+ 'limitSetupDate'?: string | null;
4512
+ /**
4513
+ *
4514
+ * @type {string}
4515
+ * @memberof EventBookingDetailSummary
4516
+ */
4517
+ 'limitCancellationDate'?: string | null;
4518
+ /**
4519
+ *
4520
+ * @type {string}
4521
+ * @memberof EventBookingDetailSummary
4522
+ */
4523
+ 'createdAt': string;
4524
+ /**
4525
+ *
4526
+ * @type {string}
4527
+ * @memberof EventBookingDetailSummary
4528
+ */
4529
+ 'updatedAt': string;
4530
+ }
4531
+
4532
+
4533
+ /**
4534
+ *
4535
+ * @export
4536
+ * @interface EventBookingDetailSummaryPaymentPerPlayersInner
4537
+ */
4538
+ export interface EventBookingDetailSummaryPaymentPerPlayersInner {
4539
+ /**
4540
+ *
4541
+ * @type {number}
4542
+ * @memberof EventBookingDetailSummaryPaymentPerPlayersInner
4543
+ */
4544
+ 'amount'?: number | null;
4545
+ /**
4546
+ *
4547
+ * @type {InvoiceStatus}
4548
+ * @memberof EventBookingDetailSummaryPaymentPerPlayersInner
4549
+ */
4550
+ 'status'?: InvoiceStatus | null;
4551
+ /**
4552
+ *
4553
+ * @type {string}
4554
+ * @memberof EventBookingDetailSummaryPaymentPerPlayersInner
4555
+ */
4556
+ 'profilePicture'?: string | null;
4557
+ /**
4558
+ *
4559
+ * @type {string}
4560
+ * @memberof EventBookingDetailSummaryPaymentPerPlayersInner
4561
+ */
4562
+ 'lastName'?: string | null;
4563
+ /**
4564
+ *
4565
+ * @type {string}
4566
+ * @memberof EventBookingDetailSummaryPaymentPerPlayersInner
4567
+ */
4568
+ 'firstName'?: string | null;
4569
+ /**
4570
+ *
4571
+ * @type {string}
4572
+ * @memberof EventBookingDetailSummaryPaymentPerPlayersInner
4573
+ */
4574
+ 'id': string;
4575
+ }
4576
+
4577
+
4578
+ /**
4579
+ *
4580
+ * @export
4581
+ * @interface EventBookingResponse
4582
+ */
4583
+ export interface EventBookingResponse {
4584
+ /**
4585
+ *
4586
+ * @type {string}
4587
+ * @memberof EventBookingResponse
4588
+ */
4589
+ 'id': string;
4590
+ /**
4591
+ *
4592
+ * @type {EventBookingStatus}
4593
+ * @memberof EventBookingResponse
4594
+ */
4595
+ 'status': EventBookingStatus;
4596
+ /**
4597
+ *
4598
+ * @type {string}
4599
+ * @memberof EventBookingResponse
4600
+ */
4601
+ 'teamName'?: string | null;
4602
+ /**
4603
+ *
4604
+ * @type {Array<EventBookingResponsePlayersInner>}
4605
+ * @memberof EventBookingResponse
4606
+ */
4607
+ 'players': Array<EventBookingResponsePlayersInner>;
4608
+ /**
4609
+ *
4610
+ * @type {string}
4611
+ * @memberof EventBookingResponse
4612
+ */
4613
+ 'setupLimitDate'?: string | null;
4614
+ /**
4615
+ *
4616
+ * @type {string}
4617
+ * @memberof EventBookingResponse
4618
+ */
4619
+ 'cancellationLimitDate'?: string | null;
4620
+ /**
4621
+ *
4622
+ * @type {EventBookingResponseSetupStatus}
4623
+ * @memberof EventBookingResponse
4624
+ */
4625
+ 'setupStatus'?: EventBookingResponseSetupStatus | null;
4626
+ /**
4627
+ *
4628
+ * @type {string}
4629
+ * @memberof EventBookingResponse
4630
+ */
4631
+ 'createdAt': string;
4632
+ /**
4633
+ *
4634
+ * @type {string}
4635
+ * @memberof EventBookingResponse
4636
+ */
4637
+ 'updatedAt': string;
4638
+ }
4639
+
4640
+
4641
+ /**
4642
+ *
4643
+ * @export
4644
+ * @interface EventBookingResponsePlayersInner
4645
+ */
4646
+ export interface EventBookingResponsePlayersInner {
4647
+ /**
4648
+ *
4649
+ * @type {EventBookingResponsePlayersInnerInvoiceStatus}
4650
+ * @memberof EventBookingResponsePlayersInner
4651
+ */
4652
+ 'invoiceStatus'?: EventBookingResponsePlayersInnerInvoiceStatus | null;
4653
+ /**
4654
+ *
4655
+ * @type {string}
4656
+ * @memberof EventBookingResponsePlayersInner
4657
+ */
4658
+ 'profilePicture'?: string | null;
4659
+ /**
4660
+ *
4661
+ * @type {string}
4662
+ * @memberof EventBookingResponsePlayersInner
4663
+ */
4664
+ 'lastName'?: string | null;
4665
+ /**
4666
+ *
4667
+ * @type {string}
4668
+ * @memberof EventBookingResponsePlayersInner
4669
+ */
4670
+ 'firstName'?: string | null;
4671
+ /**
4672
+ *
4673
+ * @type {string}
4674
+ * @memberof EventBookingResponsePlayersInner
4675
+ */
4676
+ 'id': string;
4677
+ }
4678
+ /**
4679
+ *
4680
+ * @export
4681
+ * @interface EventBookingResponsePlayersInnerInvoiceStatus
4682
+ */
4683
+ export interface EventBookingResponsePlayersInnerInvoiceStatus {
4684
+ }
4685
+ /**
4686
+ *
4687
+ * @export
4688
+ * @interface EventBookingResponseSetupStatus
4689
+ */
4690
+ export interface EventBookingResponseSetupStatus {
4691
+ }
4692
+ /**
4693
+ *
4694
+ * @export
4695
+ * @enum {string}
4696
+ */
4697
+
4698
+ export const EventBookingStatus = {
4699
+ Pending: 'pending',
4700
+ Active: 'active',
4701
+ Paid: 'paid',
4702
+ Cancelled: 'cancelled',
4703
+ Expired: 'expired'
4704
+ } as const;
4705
+
4706
+ export type EventBookingStatus = typeof EventBookingStatus[keyof typeof EventBookingStatus];
4707
+
4708
+
4464
4709
  /**
4465
4710
  *
4466
4711
  * @export
@@ -5845,6 +6090,32 @@ export const InvoiceStatus = {
5845
6090
  export type InvoiceStatus = typeof InvoiceStatus[keyof typeof InvoiceStatus];
5846
6091
 
5847
6092
 
6093
+ /**
6094
+ *
6095
+ * @export
6096
+ * @enum {string}
6097
+ */
6098
+
6099
+ export const InvoiceStatusSETUPPENDING = {
6100
+ SetupPending: 'setup_pending'
6101
+ } as const;
6102
+
6103
+ export type InvoiceStatusSETUPPENDING = typeof InvoiceStatusSETUPPENDING[keyof typeof InvoiceStatusSETUPPENDING];
6104
+
6105
+
6106
+ /**
6107
+ *
6108
+ * @export
6109
+ * @enum {string}
6110
+ */
6111
+
6112
+ export const InvoiceStatusSETUPSUCCESS = {
6113
+ SetupSuccess: 'setup_success'
6114
+ } as const;
6115
+
6116
+ export type InvoiceStatusSETUPSUCCESS = typeof InvoiceStatusSETUPSUCCESS[keyof typeof InvoiceStatusSETUPSUCCESS];
6117
+
6118
+
5848
6119
  /**
5849
6120
  *
5850
6121
  * @export
@@ -6591,6 +6862,20 @@ export interface PartialSchoolAccessSettings {
6591
6862
  */
6592
6863
  'enabled'?: boolean;
6593
6864
  }
6865
+ /**
6866
+ *
6867
+ * @export
6868
+ * @enum {string}
6869
+ */
6870
+
6871
+ export const ParticipationType = {
6872
+ Solo: 'solo',
6873
+ Team: 'team'
6874
+ } as const;
6875
+
6876
+ export type ParticipationType = typeof ParticipationType[keyof typeof ParticipationType];
6877
+
6878
+
6594
6879
  /**
6595
6880
  *
6596
6881
  * @export
@@ -7361,6 +7646,18 @@ export interface PublishEventResponse {
7361
7646
  * @memberof PublishEventResponse
7362
7647
  */
7363
7648
  'refundedBookingIds'?: Array<string>;
7649
+ /**
7650
+ *
7651
+ * @type {EventBookingResponse}
7652
+ * @memberof PublishEventResponse
7653
+ */
7654
+ 'userBooking'?: EventBookingResponse;
7655
+ /**
7656
+ *
7657
+ * @type {boolean}
7658
+ * @memberof PublishEventResponse
7659
+ */
7660
+ 'needsToSetupPaymentMethod'?: boolean;
7364
7661
  }
7365
7662
  /**
7366
7663
  *
@@ -7571,6 +7868,71 @@ export interface QuickReservationSlotSummary {
7571
7868
  */
7572
7869
  'sportKey'?: string;
7573
7870
  }
7871
+ /**
7872
+ *
7873
+ * @export
7874
+ * @interface RecurringDefinitionResponse
7875
+ */
7876
+ export interface RecurringDefinitionResponse {
7877
+ /**
7878
+ *
7879
+ * @type {string}
7880
+ * @memberof RecurringDefinitionResponse
7881
+ */
7882
+ 'id': string;
7883
+ /**
7884
+ *
7885
+ * @type {string}
7886
+ * @memberof RecurringDefinitionResponse
7887
+ */
7888
+ 'clubId'?: string;
7889
+ /**
7890
+ *
7891
+ * @type {string}
7892
+ * @memberof RecurringDefinitionResponse
7893
+ */
7894
+ 'title': string;
7895
+ /**
7896
+ *
7897
+ * @type {string}
7898
+ * @memberof RecurringDefinitionResponse
7899
+ */
7900
+ 'baseStartDate': string;
7901
+ /**
7902
+ *
7903
+ * @type {string}
7904
+ * @memberof RecurringDefinitionResponse
7905
+ */
7906
+ 'baseEndDate': string;
7907
+ /**
7908
+ *
7909
+ * @type {string}
7910
+ * @memberof RecurringDefinitionResponse
7911
+ */
7912
+ 'recurringType': RecurringDefinitionResponseRecurringTypeEnum;
7913
+ /**
7914
+ *
7915
+ * @type {string}
7916
+ * @memberof RecurringDefinitionResponse
7917
+ */
7918
+ 'recurrenceEndDate'?: string;
7919
+ /**
7920
+ *
7921
+ * @type {boolean}
7922
+ * @memberof RecurringDefinitionResponse
7923
+ */
7924
+ 'isActive'?: boolean;
7925
+ }
7926
+
7927
+ export const RecurringDefinitionResponseRecurringTypeEnum = {
7928
+ Daily: 'daily',
7929
+ Weekly: 'weekly',
7930
+ Monthly: 'monthly',
7931
+ Unique: 'unique'
7932
+ } as const;
7933
+
7934
+ export type RecurringDefinitionResponseRecurringTypeEnum = typeof RecurringDefinitionResponseRecurringTypeEnum[keyof typeof RecurringDefinitionResponseRecurringTypeEnum];
7935
+
7574
7936
  /**
7575
7937
  *
7576
7938
  * @export
@@ -10873,6 +11235,169 @@ export interface UpdatePlanRequest {
10873
11235
  */
10874
11236
  'oldPriceId': string;
10875
11237
  }
11238
+ /**
11239
+ *
11240
+ * @export
11241
+ * @interface UpdateRecurringDefinition200Response
11242
+ */
11243
+ export interface UpdateRecurringDefinition200Response {
11244
+ /**
11245
+ *
11246
+ * @type {boolean}
11247
+ * @memberof UpdateRecurringDefinition200Response
11248
+ */
11249
+ 'ok': boolean;
11250
+ }
11251
+ /**
11252
+ *
11253
+ * @export
11254
+ * @interface UpdateRecurringDefinitionRequest
11255
+ */
11256
+ export interface UpdateRecurringDefinitionRequest {
11257
+ /**
11258
+ *
11259
+ * @type {string}
11260
+ * @memberof UpdateRecurringDefinitionRequest
11261
+ */
11262
+ 'title'?: string;
11263
+ /**
11264
+ *
11265
+ * @type {string}
11266
+ * @memberof UpdateRecurringDefinitionRequest
11267
+ */
11268
+ 'description'?: string;
11269
+ /**
11270
+ *
11271
+ * @type {string}
11272
+ * @memberof UpdateRecurringDefinitionRequest
11273
+ */
11274
+ 'photoUrl'?: string;
11275
+ /**
11276
+ *
11277
+ * @type {string}
11278
+ * @memberof UpdateRecurringDefinitionRequest
11279
+ */
11280
+ 'sportId'?: string;
11281
+ /**
11282
+ *
11283
+ * @type {Array<string>}
11284
+ * @memberof UpdateRecurringDefinitionRequest
11285
+ */
11286
+ 'courts'?: Array<string>;
11287
+ /**
11288
+ *
11289
+ * @type {Array<string | null>}
11290
+ * @memberof UpdateRecurringDefinitionRequest
11291
+ */
11292
+ 'levels'?: Array<string | null>;
11293
+ /**
11294
+ *
11295
+ * @type {Array<EventSponsor>}
11296
+ * @memberof UpdateRecurringDefinitionRequest
11297
+ */
11298
+ 'sponsors'?: Array<EventSponsor>;
11299
+ /**
11300
+ *
11301
+ * @type {string}
11302
+ * @memberof UpdateRecurringDefinitionRequest
11303
+ */
11304
+ 'visibilityType'?: UpdateRecurringDefinitionRequestVisibilityTypeEnum;
11305
+ /**
11306
+ *
11307
+ * @type {string}
11308
+ * @memberof UpdateRecurringDefinitionRequest
11309
+ */
11310
+ 'type'?: UpdateRecurringDefinitionRequestTypeEnum;
11311
+ /**
11312
+ *
11313
+ * @type {string}
11314
+ * @memberof UpdateRecurringDefinitionRequest
11315
+ */
11316
+ 'participationType'?: UpdateRecurringDefinitionRequestParticipationTypeEnum;
11317
+ /**
11318
+ *
11319
+ * @type {number}
11320
+ * @memberof UpdateRecurringDefinitionRequest
11321
+ */
11322
+ 'playerLimit'?: number;
11323
+ /**
11324
+ *
11325
+ * @type {number}
11326
+ * @memberof UpdateRecurringDefinitionRequest
11327
+ */
11328
+ 'teamLimit'?: number;
11329
+ /**
11330
+ *
11331
+ * @type {number}
11332
+ * @memberof UpdateRecurringDefinitionRequest
11333
+ */
11334
+ 'playersPerTeam'?: number;
11335
+ /**
11336
+ *
11337
+ * @type {number}
11338
+ * @memberof UpdateRecurringDefinitionRequest
11339
+ */
11340
+ 'price'?: number;
11341
+ /**
11342
+ *
11343
+ * @type {Array<SubscriberPrice>}
11344
+ * @memberof UpdateRecurringDefinitionRequest
11345
+ */
11346
+ 'subscriberPrices'?: Array<SubscriberPrice>;
11347
+ /**
11348
+ *
11349
+ * @type {string}
11350
+ * @memberof UpdateRecurringDefinitionRequest
11351
+ */
11352
+ 'baseStartDate'?: string;
11353
+ /**
11354
+ *
11355
+ * @type {string}
11356
+ * @memberof UpdateRecurringDefinitionRequest
11357
+ */
11358
+ 'baseEndDate'?: string;
11359
+ /**
11360
+ *
11361
+ * @type {string}
11362
+ * @memberof UpdateRecurringDefinitionRequest
11363
+ */
11364
+ 'recurringType'?: UpdateRecurringDefinitionRequestRecurringTypeEnum;
11365
+ /**
11366
+ *
11367
+ * @type {string}
11368
+ * @memberof UpdateRecurringDefinitionRequest
11369
+ */
11370
+ 'recurrenceEndDate'?: string;
11371
+ }
11372
+
11373
+ export const UpdateRecurringDefinitionRequestVisibilityTypeEnum = {
11374
+ Public: 'public',
11375
+ Private: 'private',
11376
+ Invitation: 'invitation'
11377
+ } as const;
11378
+
11379
+ export type UpdateRecurringDefinitionRequestVisibilityTypeEnum = typeof UpdateRecurringDefinitionRequestVisibilityTypeEnum[keyof typeof UpdateRecurringDefinitionRequestVisibilityTypeEnum];
11380
+ export const UpdateRecurringDefinitionRequestTypeEnum = {
11381
+ Event: 'event',
11382
+ Closure: 'closure'
11383
+ } as const;
11384
+
11385
+ export type UpdateRecurringDefinitionRequestTypeEnum = typeof UpdateRecurringDefinitionRequestTypeEnum[keyof typeof UpdateRecurringDefinitionRequestTypeEnum];
11386
+ export const UpdateRecurringDefinitionRequestParticipationTypeEnum = {
11387
+ Solo: 'solo',
11388
+ Team: 'team'
11389
+ } as const;
11390
+
11391
+ export type UpdateRecurringDefinitionRequestParticipationTypeEnum = typeof UpdateRecurringDefinitionRequestParticipationTypeEnum[keyof typeof UpdateRecurringDefinitionRequestParticipationTypeEnum];
11392
+ export const UpdateRecurringDefinitionRequestRecurringTypeEnum = {
11393
+ Daily: 'daily',
11394
+ Weekly: 'weekly',
11395
+ Monthly: 'monthly',
11396
+ Unique: 'unique'
11397
+ } as const;
11398
+
11399
+ export type UpdateRecurringDefinitionRequestRecurringTypeEnum = typeof UpdateRecurringDefinitionRequestRecurringTypeEnum[keyof typeof UpdateRecurringDefinitionRequestRecurringTypeEnum];
11400
+
10876
11401
  /**
10877
11402
  *
10878
11403
  * @export
@@ -11197,37 +11722,186 @@ export interface UserClubSubscription {
11197
11722
  'planId': string | null;
11198
11723
  /**
11199
11724
  *
11200
- * @type {string}
11201
- * @memberof UserClubSubscription
11725
+ * @type {string}
11726
+ * @memberof UserClubSubscription
11727
+ */
11728
+ 'planName': string | null;
11729
+ /**
11730
+ *
11731
+ * @type {string}
11732
+ * @memberof UserClubSubscription
11733
+ */
11734
+ 'planDescription': string | null;
11735
+ /**
11736
+ *
11737
+ * @type {number}
11738
+ * @memberof UserClubSubscription
11739
+ */
11740
+ 'amountInCents': number | null;
11741
+ /**
11742
+ *
11743
+ * @type {string}
11744
+ * @memberof UserClubSubscription
11745
+ */
11746
+ 'currency': string | null;
11747
+ /**
11748
+ *
11749
+ * @type {PlanInterval}
11750
+ * @memberof UserClubSubscription
11751
+ */
11752
+ 'interval': PlanInterval | null;
11753
+ /**
11754
+ *
11755
+ * @type {string}
11756
+ * @memberof UserClubSubscription
11757
+ */
11758
+ 'productId': string | null;
11759
+ }
11760
+
11761
+
11762
+ /**
11763
+ *
11764
+ * @export
11765
+ * @interface UserEventParticipation
11766
+ */
11767
+ export interface UserEventParticipation {
11768
+ /**
11769
+ *
11770
+ * @type {UserEventSummary}
11771
+ * @memberof UserEventParticipation
11772
+ */
11773
+ 'event': UserEventSummary;
11774
+ /**
11775
+ *
11776
+ * @type {EventBookingDetailSummary}
11777
+ * @memberof UserEventParticipation
11778
+ */
11779
+ 'booking': EventBookingDetailSummary;
11780
+ }
11781
+ /**
11782
+ *
11783
+ * @export
11784
+ * @interface UserEventSummary
11785
+ */
11786
+ export interface UserEventSummary {
11787
+ /**
11788
+ *
11789
+ * @type {string}
11790
+ * @memberof UserEventSummary
11791
+ */
11792
+ 'id': string;
11793
+ /**
11794
+ *
11795
+ * @type {string}
11796
+ * @memberof UserEventSummary
11797
+ */
11798
+ 'clubId': string;
11799
+ /**
11800
+ *
11801
+ * @type {string}
11802
+ * @memberof UserEventSummary
11803
+ */
11804
+ 'title': string;
11805
+ /**
11806
+ *
11807
+ * @type {string}
11808
+ * @memberof UserEventSummary
11809
+ */
11810
+ 'description'?: string | null;
11811
+ /**
11812
+ *
11813
+ * @type {string}
11814
+ * @memberof UserEventSummary
11815
+ */
11816
+ 'photoUrl'?: string | null;
11817
+ /**
11818
+ *
11819
+ * @type {string}
11820
+ * @memberof UserEventSummary
11821
+ */
11822
+ 'startDate': string;
11823
+ /**
11824
+ *
11825
+ * @type {string}
11826
+ * @memberof UserEventSummary
11827
+ */
11828
+ 'endDate': string;
11829
+ /**
11830
+ *
11831
+ * @type {ParticipationType}
11832
+ * @memberof UserEventSummary
11833
+ */
11834
+ 'participationType': ParticipationType;
11835
+ /**
11836
+ *
11837
+ * @type {VisibilityType}
11838
+ * @memberof UserEventSummary
11839
+ */
11840
+ 'visibilityType': VisibilityType;
11841
+ /**
11842
+ *
11843
+ * @type {boolean}
11844
+ * @memberof UserEventSummary
11845
+ */
11846
+ 'isActive': boolean;
11847
+ /**
11848
+ *
11849
+ * @type {number}
11850
+ * @memberof UserEventSummary
11851
+ */
11852
+ 'price'?: number | null;
11853
+ /**
11854
+ *
11855
+ * @type {Array<string>}
11856
+ * @memberof UserEventSummary
11857
+ */
11858
+ 'sports'?: Array<string>;
11859
+ /**
11860
+ *
11861
+ * @type {Array<string>}
11862
+ * @memberof UserEventSummary
11863
+ */
11864
+ 'courts'?: Array<string>;
11865
+ }
11866
+
11867
+
11868
+ /**
11869
+ *
11870
+ * @export
11871
+ * @interface UserEventsResponse
11872
+ */
11873
+ export interface UserEventsResponse {
11874
+ /**
11875
+ *
11876
+ * @type {number}
11877
+ * @memberof UserEventsResponse
11202
11878
  */
11203
- 'planName': string | null;
11879
+ 'total': number;
11204
11880
  /**
11205
11881
  *
11206
- * @type {string}
11207
- * @memberof UserClubSubscription
11882
+ * @type {number}
11883
+ * @memberof UserEventsResponse
11208
11884
  */
11209
- 'planDescription': string | null;
11885
+ 'limit': number;
11210
11886
  /**
11211
11887
  *
11212
11888
  * @type {number}
11213
- * @memberof UserClubSubscription
11889
+ * @memberof UserEventsResponse
11214
11890
  */
11215
- 'amountInCents': number | null;
11891
+ 'skip': number;
11216
11892
  /**
11217
11893
  *
11218
- * @type {string}
11219
- * @memberof UserClubSubscription
11894
+ * @type {boolean}
11895
+ * @memberof UserEventsResponse
11220
11896
  */
11221
- 'currency': string | null;
11897
+ 'hasMore': boolean;
11222
11898
  /**
11223
11899
  *
11224
- * @type {PlanInterval}
11225
- * @memberof UserClubSubscription
11900
+ * @type {Array<UserEventParticipation>}
11901
+ * @memberof UserEventsResponse
11226
11902
  */
11227
- 'interval': PlanInterval | null;
11903
+ 'participations': Array<UserEventParticipation>;
11228
11904
  }
11229
-
11230
-
11231
11905
  /**
11232
11906
  *
11233
11907
  * @export
@@ -11627,6 +12301,21 @@ export interface VerifyEmailRequest {
11627
12301
  */
11628
12302
  'token'?: string;
11629
12303
  }
12304
+ /**
12305
+ *
12306
+ * @export
12307
+ * @enum {string}
12308
+ */
12309
+
12310
+ export const VisibilityType = {
12311
+ Public: 'public',
12312
+ Private: 'private',
12313
+ Invitation: 'invitation'
12314
+ } as const;
12315
+
12316
+ export type VisibilityType = typeof VisibilityType[keyof typeof VisibilityType];
12317
+
12318
+
11630
12319
  /**
11631
12320
  *
11632
12321
  * @export
@@ -20529,10 +21218,11 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
20529
21218
  /**
20530
21219
  * Get a specific event by ID
20531
21220
  * @param {string} eventId
21221
+ * @param {string} [userId]
20532
21222
  * @param {*} [options] Override http request option.
20533
21223
  * @throws {RequiredError}
20534
21224
  */
20535
- getEventById: async (eventId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
21225
+ getEventById: async (eventId: string, userId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20536
21226
  // verify required parameter 'eventId' is not null or undefined
20537
21227
  assertParamExists('getEventById', 'eventId', eventId)
20538
21228
  const localVarPath = `/api/events/{eventId}`
@@ -20548,6 +21238,10 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
20548
21238
  const localVarHeaderParameter = {} as any;
20549
21239
  const localVarQueryParameter = {} as any;
20550
21240
 
21241
+ if (userId !== undefined) {
21242
+ localVarQueryParameter['userId'] = userId;
21243
+ }
21244
+
20551
21245
 
20552
21246
 
20553
21247
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -20727,11 +21421,12 @@ export const EventsApiFp = function(configuration?: Configuration) {
20727
21421
  /**
20728
21422
  * Get a specific event by ID
20729
21423
  * @param {string} eventId
21424
+ * @param {string} [userId]
20730
21425
  * @param {*} [options] Override http request option.
20731
21426
  * @throws {RequiredError}
20732
21427
  */
20733
- async getEventById(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>> {
20734
- const localVarAxiosArgs = await localVarAxiosParamCreator.getEventById(eventId, options);
21428
+ async getEventById(eventId: string, userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>> {
21429
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventById(eventId, userId, options);
20735
21430
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20736
21431
  const localVarOperationServerBasePath = operationServerMap['EventsApi.getEventById']?.[localVarOperationServerIndex]?.url;
20737
21432
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -20811,7 +21506,7 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
20811
21506
  * @throws {RequiredError}
20812
21507
  */
20813
21508
  getEventById(requestParameters: EventsApiGetEventByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublishEventResponse> {
20814
- return localVarFp.getEventById(requestParameters.eventId, options).then((request) => request(axios, basePath));
21509
+ return localVarFp.getEventById(requestParameters.eventId, requestParameters.userId, options).then((request) => request(axios, basePath));
20815
21510
  },
20816
21511
  /**
20817
21512
  * Get all published events for a club
@@ -20897,6 +21592,13 @@ export interface EventsApiGetEventByIdRequest {
20897
21592
  * @memberof EventsApiGetEventById
20898
21593
  */
20899
21594
  readonly eventId: string
21595
+
21596
+ /**
21597
+ *
21598
+ * @type {string}
21599
+ * @memberof EventsApiGetEventById
21600
+ */
21601
+ readonly userId?: string
20900
21602
  }
20901
21603
 
20902
21604
  /**
@@ -21006,7 +21708,7 @@ export class EventsApi extends BaseAPI {
21006
21708
  * @memberof EventsApi
21007
21709
  */
21008
21710
  public getEventById(requestParameters: EventsApiGetEventByIdRequest, options?: RawAxiosRequestConfig) {
21009
- return EventsApiFp(this.configuration).getEventById(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
21711
+ return EventsApiFp(this.configuration).getEventById(requestParameters.eventId, requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
21010
21712
  }
21011
21713
 
21012
21714
  /**
@@ -21174,6 +21876,44 @@ export const EventsManagerApiAxiosParamCreator = function (configuration?: Confi
21174
21876
 
21175
21877
 
21176
21878
 
21879
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
21880
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21881
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
21882
+
21883
+ return {
21884
+ url: toPathString(localVarUrlObj),
21885
+ options: localVarRequestOptions,
21886
+ };
21887
+ },
21888
+ /**
21889
+ * List recurring definitions about to expire within `days` (manager)
21890
+ * @param {number} [days]
21891
+ * @param {*} [options] Override http request option.
21892
+ * @throws {RequiredError}
21893
+ */
21894
+ getExpiringRecurringDefinitions: async (days?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
21895
+ const localVarPath = `/api/events/manager/recurring/expiring`;
21896
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21897
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21898
+ let baseOptions;
21899
+ if (configuration) {
21900
+ baseOptions = configuration.baseOptions;
21901
+ }
21902
+
21903
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
21904
+ const localVarHeaderParameter = {} as any;
21905
+ const localVarQueryParameter = {} as any;
21906
+
21907
+ // authentication bearerAuth required
21908
+ // http bearer authentication required
21909
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
21910
+
21911
+ if (days !== undefined) {
21912
+ localVarQueryParameter['days'] = days;
21913
+ }
21914
+
21915
+
21916
+
21177
21917
  setSearchParams(localVarUrlObj, localVarQueryParameter);
21178
21918
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21179
21919
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -21338,6 +22078,49 @@ export const EventsManagerApiAxiosParamCreator = function (configuration?: Confi
21338
22078
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
21339
22079
  localVarRequestOptions.data = serializeDataIfNeeded(updateEventRequest, localVarRequestOptions, configuration)
21340
22080
 
22081
+ return {
22082
+ url: toPathString(localVarUrlObj),
22083
+ options: localVarRequestOptions,
22084
+ };
22085
+ },
22086
+ /**
22087
+ * Update a recurring event definition (manager) and propagate changes to generated Events
22088
+ * @param {string} definitionId
22089
+ * @param {UpdateRecurringDefinitionRequest} updateRecurringDefinitionRequest
22090
+ * @param {*} [options] Override http request option.
22091
+ * @throws {RequiredError}
22092
+ */
22093
+ updateRecurringDefinition: async (definitionId: string, updateRecurringDefinitionRequest: UpdateRecurringDefinitionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
22094
+ // verify required parameter 'definitionId' is not null or undefined
22095
+ assertParamExists('updateRecurringDefinition', 'definitionId', definitionId)
22096
+ // verify required parameter 'updateRecurringDefinitionRequest' is not null or undefined
22097
+ assertParamExists('updateRecurringDefinition', 'updateRecurringDefinitionRequest', updateRecurringDefinitionRequest)
22098
+ const localVarPath = `/api/events/manager/recurring/{definitionId}`
22099
+ .replace(`{${"definitionId"}}`, encodeURIComponent(String(definitionId)));
22100
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
22101
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22102
+ let baseOptions;
22103
+ if (configuration) {
22104
+ baseOptions = configuration.baseOptions;
22105
+ }
22106
+
22107
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
22108
+ const localVarHeaderParameter = {} as any;
22109
+ const localVarQueryParameter = {} as any;
22110
+
22111
+ // authentication bearerAuth required
22112
+ // http bearer authentication required
22113
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
22114
+
22115
+
22116
+
22117
+ localVarHeaderParameter['Content-Type'] = 'application/json';
22118
+
22119
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
22120
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22121
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
22122
+ localVarRequestOptions.data = serializeDataIfNeeded(updateRecurringDefinitionRequest, localVarRequestOptions, configuration)
22123
+
21341
22124
  return {
21342
22125
  url: toPathString(localVarUrlObj),
21343
22126
  options: localVarRequestOptions,
@@ -21389,6 +22172,18 @@ export const EventsManagerApiFp = function(configuration?: Configuration) {
21389
22172
  const localVarOperationServerBasePath = operationServerMap['EventsManagerApi.deleteEvent']?.[localVarOperationServerIndex]?.url;
21390
22173
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21391
22174
  },
22175
+ /**
22176
+ * List recurring definitions about to expire within `days` (manager)
22177
+ * @param {number} [days]
22178
+ * @param {*} [options] Override http request option.
22179
+ * @throws {RequiredError}
22180
+ */
22181
+ async getExpiringRecurringDefinitions(days?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RecurringDefinitionResponse>>> {
22182
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getExpiringRecurringDefinitions(days, options);
22183
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22184
+ const localVarOperationServerBasePath = operationServerMap['EventsManagerApi.getExpiringRecurringDefinitions']?.[localVarOperationServerIndex]?.url;
22185
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22186
+ },
21392
22187
  /**
21393
22188
  * Publish an event (manager)
21394
22189
  * @param {string} eventId
@@ -21439,6 +22234,19 @@ export const EventsManagerApiFp = function(configuration?: Configuration) {
21439
22234
  const localVarOperationServerBasePath = operationServerMap['EventsManagerApi.updatePublishedEvent']?.[localVarOperationServerIndex]?.url;
21440
22235
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21441
22236
  },
22237
+ /**
22238
+ * Update a recurring event definition (manager) and propagate changes to generated Events
22239
+ * @param {string} definitionId
22240
+ * @param {UpdateRecurringDefinitionRequest} updateRecurringDefinitionRequest
22241
+ * @param {*} [options] Override http request option.
22242
+ * @throws {RequiredError}
22243
+ */
22244
+ async updateRecurringDefinition(definitionId: string, updateRecurringDefinitionRequest: UpdateRecurringDefinitionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateRecurringDefinition200Response>> {
22245
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateRecurringDefinition(definitionId, updateRecurringDefinitionRequest, options);
22246
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22247
+ const localVarOperationServerBasePath = operationServerMap['EventsManagerApi.updateRecurringDefinition']?.[localVarOperationServerIndex]?.url;
22248
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22249
+ },
21442
22250
  }
21443
22251
  };
21444
22252
 
@@ -21476,6 +22284,15 @@ export const EventsManagerApiFactory = function (configuration?: Configuration,
21476
22284
  deleteEvent(requestParameters: EventsManagerApiDeleteEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteEventResponse> {
21477
22285
  return localVarFp.deleteEvent(requestParameters.eventId, options).then((request) => request(axios, basePath));
21478
22286
  },
22287
+ /**
22288
+ * List recurring definitions about to expire within `days` (manager)
22289
+ * @param {EventsManagerApiGetExpiringRecurringDefinitionsRequest} requestParameters Request parameters.
22290
+ * @param {*} [options] Override http request option.
22291
+ * @throws {RequiredError}
22292
+ */
22293
+ getExpiringRecurringDefinitions(requestParameters: EventsManagerApiGetExpiringRecurringDefinitionsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<Array<RecurringDefinitionResponse>> {
22294
+ return localVarFp.getExpiringRecurringDefinitions(requestParameters.days, options).then((request) => request(axios, basePath));
22295
+ },
21479
22296
  /**
21480
22297
  * Publish an event (manager)
21481
22298
  * @param {EventsManagerApiPublishEventRequest} requestParameters Request parameters.
@@ -21512,6 +22329,15 @@ export const EventsManagerApiFactory = function (configuration?: Configuration,
21512
22329
  updatePublishedEvent(requestParameters: EventsManagerApiUpdatePublishedEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublishEventResponse> {
21513
22330
  return localVarFp.updatePublishedEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(axios, basePath));
21514
22331
  },
22332
+ /**
22333
+ * Update a recurring event definition (manager) and propagate changes to generated Events
22334
+ * @param {EventsManagerApiUpdateRecurringDefinitionRequest} requestParameters Request parameters.
22335
+ * @param {*} [options] Override http request option.
22336
+ * @throws {RequiredError}
22337
+ */
22338
+ updateRecurringDefinition(requestParameters: EventsManagerApiUpdateRecurringDefinitionRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateRecurringDefinition200Response> {
22339
+ return localVarFp.updateRecurringDefinition(requestParameters.definitionId, requestParameters.updateRecurringDefinitionRequest, options).then((request) => request(axios, basePath));
22340
+ },
21515
22341
  };
21516
22342
  };
21517
22343
 
@@ -21557,6 +22383,20 @@ export interface EventsManagerApiDeleteEventRequest {
21557
22383
  readonly eventId: string
21558
22384
  }
21559
22385
 
22386
+ /**
22387
+ * Request parameters for getExpiringRecurringDefinitions operation in EventsManagerApi.
22388
+ * @export
22389
+ * @interface EventsManagerApiGetExpiringRecurringDefinitionsRequest
22390
+ */
22391
+ export interface EventsManagerApiGetExpiringRecurringDefinitionsRequest {
22392
+ /**
22393
+ *
22394
+ * @type {number}
22395
+ * @memberof EventsManagerApiGetExpiringRecurringDefinitions
22396
+ */
22397
+ readonly days?: number
22398
+ }
22399
+
21560
22400
  /**
21561
22401
  * Request parameters for publishEvent operation in EventsManagerApi.
21562
22402
  * @export
@@ -21627,6 +22467,27 @@ export interface EventsManagerApiUpdatePublishedEventRequest {
21627
22467
  readonly updateEventRequest: UpdateEventRequest
21628
22468
  }
21629
22469
 
22470
+ /**
22471
+ * Request parameters for updateRecurringDefinition operation in EventsManagerApi.
22472
+ * @export
22473
+ * @interface EventsManagerApiUpdateRecurringDefinitionRequest
22474
+ */
22475
+ export interface EventsManagerApiUpdateRecurringDefinitionRequest {
22476
+ /**
22477
+ *
22478
+ * @type {string}
22479
+ * @memberof EventsManagerApiUpdateRecurringDefinition
22480
+ */
22481
+ readonly definitionId: string
22482
+
22483
+ /**
22484
+ *
22485
+ * @type {UpdateRecurringDefinitionRequest}
22486
+ * @memberof EventsManagerApiUpdateRecurringDefinition
22487
+ */
22488
+ readonly updateRecurringDefinitionRequest: UpdateRecurringDefinitionRequest
22489
+ }
22490
+
21630
22491
  /**
21631
22492
  * EventsManagerApi - object-oriented interface
21632
22493
  * @export
@@ -21667,6 +22528,17 @@ export class EventsManagerApi extends BaseAPI {
21667
22528
  return EventsManagerApiFp(this.configuration).deleteEvent(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
21668
22529
  }
21669
22530
 
22531
+ /**
22532
+ * List recurring definitions about to expire within `days` (manager)
22533
+ * @param {EventsManagerApiGetExpiringRecurringDefinitionsRequest} requestParameters Request parameters.
22534
+ * @param {*} [options] Override http request option.
22535
+ * @throws {RequiredError}
22536
+ * @memberof EventsManagerApi
22537
+ */
22538
+ public getExpiringRecurringDefinitions(requestParameters: EventsManagerApiGetExpiringRecurringDefinitionsRequest = {}, options?: RawAxiosRequestConfig) {
22539
+ return EventsManagerApiFp(this.configuration).getExpiringRecurringDefinitions(requestParameters.days, options).then((request) => request(this.axios, this.basePath));
22540
+ }
22541
+
21670
22542
  /**
21671
22543
  * Publish an event (manager)
21672
22544
  * @param {EventsManagerApiPublishEventRequest} requestParameters Request parameters.
@@ -21710,6 +22582,17 @@ export class EventsManagerApi extends BaseAPI {
21710
22582
  public updatePublishedEvent(requestParameters: EventsManagerApiUpdatePublishedEventRequest, options?: RawAxiosRequestConfig) {
21711
22583
  return EventsManagerApiFp(this.configuration).updatePublishedEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(this.axios, this.basePath));
21712
22584
  }
22585
+
22586
+ /**
22587
+ * Update a recurring event definition (manager) and propagate changes to generated Events
22588
+ * @param {EventsManagerApiUpdateRecurringDefinitionRequest} requestParameters Request parameters.
22589
+ * @param {*} [options] Override http request option.
22590
+ * @throws {RequiredError}
22591
+ * @memberof EventsManagerApi
22592
+ */
22593
+ public updateRecurringDefinition(requestParameters: EventsManagerApiUpdateRecurringDefinitionRequest, options?: RawAxiosRequestConfig) {
22594
+ return EventsManagerApiFp(this.configuration).updateRecurringDefinition(requestParameters.definitionId, requestParameters.updateRecurringDefinitionRequest, options).then((request) => request(this.axios, this.basePath));
22595
+ }
21713
22596
  }
21714
22597
 
21715
22598
 
@@ -24757,6 +25640,49 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
24757
25640
 
24758
25641
 
24759
25642
 
25643
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
25644
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25645
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
25646
+
25647
+ return {
25648
+ url: toPathString(localVarUrlObj),
25649
+ options: localVarRequestOptions,
25650
+ };
25651
+ },
25652
+ /**
25653
+ *
25654
+ * @param {number} [limit]
25655
+ * @param {number} [skip]
25656
+ * @param {*} [options] Override http request option.
25657
+ * @throws {RequiredError}
25658
+ */
25659
+ getUserEvents: async (limit?: number, skip?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25660
+ const localVarPath = `/api/users/me/events`;
25661
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
25662
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25663
+ let baseOptions;
25664
+ if (configuration) {
25665
+ baseOptions = configuration.baseOptions;
25666
+ }
25667
+
25668
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
25669
+ const localVarHeaderParameter = {} as any;
25670
+ const localVarQueryParameter = {} as any;
25671
+
25672
+ // authentication bearerAuth required
25673
+ // http bearer authentication required
25674
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
25675
+
25676
+ if (limit !== undefined) {
25677
+ localVarQueryParameter['limit'] = limit;
25678
+ }
25679
+
25680
+ if (skip !== undefined) {
25681
+ localVarQueryParameter['skip'] = skip;
25682
+ }
25683
+
25684
+
25685
+
24760
25686
  setSearchParams(localVarUrlObj, localVarQueryParameter);
24761
25687
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24762
25688
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -25695,6 +26621,19 @@ export const UsersApiFp = function(configuration?: Configuration) {
25695
26621
  const localVarOperationServerBasePath = operationServerMap['UsersApi.getUserBookings']?.[localVarOperationServerIndex]?.url;
25696
26622
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25697
26623
  },
26624
+ /**
26625
+ *
26626
+ * @param {number} [limit]
26627
+ * @param {number} [skip]
26628
+ * @param {*} [options] Override http request option.
26629
+ * @throws {RequiredError}
26630
+ */
26631
+ async getUserEvents(limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserEventsResponse>> {
26632
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUserEvents(limit, skip, options);
26633
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26634
+ const localVarOperationServerBasePath = operationServerMap['UsersApi.getUserEvents']?.[localVarOperationServerIndex]?.url;
26635
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26636
+ },
25698
26637
  /**
25699
26638
  *
25700
26639
  * @param {string} id
@@ -26083,6 +27022,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
26083
27022
  getUserBookings(requestParameters: UsersApiGetUserBookingsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<UserBookingsResponse> {
26084
27023
  return localVarFp.getUserBookings(requestParameters.limit, requestParameters.skip, options).then((request) => request(axios, basePath));
26085
27024
  },
27025
+ /**
27026
+ *
27027
+ * @param {UsersApiGetUserEventsRequest} requestParameters Request parameters.
27028
+ * @param {*} [options] Override http request option.
27029
+ * @throws {RequiredError}
27030
+ */
27031
+ getUserEvents(requestParameters: UsersApiGetUserEventsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<UserEventsResponse> {
27032
+ return localVarFp.getUserEvents(requestParameters.limit, requestParameters.skip, options).then((request) => request(axios, basePath));
27033
+ },
26086
27034
  /**
26087
27035
  *
26088
27036
  * @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
@@ -26450,6 +27398,27 @@ export interface UsersApiGetUserBookingsRequest {
26450
27398
  readonly skip?: number
26451
27399
  }
26452
27400
 
27401
+ /**
27402
+ * Request parameters for getUserEvents operation in UsersApi.
27403
+ * @export
27404
+ * @interface UsersApiGetUserEventsRequest
27405
+ */
27406
+ export interface UsersApiGetUserEventsRequest {
27407
+ /**
27408
+ *
27409
+ * @type {number}
27410
+ * @memberof UsersApiGetUserEvents
27411
+ */
27412
+ readonly limit?: number
27413
+
27414
+ /**
27415
+ *
27416
+ * @type {number}
27417
+ * @memberof UsersApiGetUserEvents
27418
+ */
27419
+ readonly skip?: number
27420
+ }
27421
+
26453
27422
  /**
26454
27423
  * Request parameters for getUserProfileById operation in UsersApi.
26455
27424
  * @export
@@ -26948,6 +27917,17 @@ export class UsersApi extends BaseAPI {
26948
27917
  return UsersApiFp(this.configuration).getUserBookings(requestParameters.limit, requestParameters.skip, options).then((request) => request(this.axios, this.basePath));
26949
27918
  }
26950
27919
 
27920
+ /**
27921
+ *
27922
+ * @param {UsersApiGetUserEventsRequest} requestParameters Request parameters.
27923
+ * @param {*} [options] Override http request option.
27924
+ * @throws {RequiredError}
27925
+ * @memberof UsersApi
27926
+ */
27927
+ public getUserEvents(requestParameters: UsersApiGetUserEventsRequest = {}, options?: RawAxiosRequestConfig) {
27928
+ return UsersApiFp(this.configuration).getUserEvents(requestParameters.limit, requestParameters.skip, options).then((request) => request(this.axios, this.basePath));
27929
+ }
27930
+
26951
27931
  /**
26952
27932
  *
26953
27933
  * @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.