@tennac-booking/sdk 1.0.130 → 1.0.132
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.
- package/.openapi-generator/FILES +362 -344
- package/README.md +23 -2
- package/api.ts +1064 -35
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +875 -26
- package/dist/api.js +293 -10
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +875 -26
- package/dist/esm/api.js +289 -6
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/EstimateEventPrice200Response.md +0 -2
- package/docs/EventBookingDetailSummary.md +40 -0
- package/docs/EventBookingDetailSummaryPaymentPerPlayersInner.md +30 -0
- package/docs/EventBookingResponse.md +38 -0
- package/docs/EventBookingResponsePaymentPerPlayersInner.md +30 -0
- package/docs/EventBookingResponsePlayersInner.md +28 -0
- package/docs/EventBookingResponsePlayersInnerInvoiceStatus.md +18 -0
- package/docs/EventBookingResponseSetupStatus.md +18 -0
- package/docs/EventBookingStatus.md +16 -0
- package/docs/EventsApi.md +4 -1
- package/docs/EventsManagerApi.md +110 -0
- package/docs/InvoiceStatusSETUPPENDING.md +8 -0
- package/docs/InvoiceStatusSETUPSUCCESS.md +8 -0
- package/docs/ParticipationType.md +10 -0
- package/docs/PublishEventResponse.md +4 -0
- package/docs/RecurringDefinitionResponse.md +34 -0
- package/docs/UpdateRecurringDefinition200Response.md +20 -0
- package/docs/UpdateRecurringDefinitionRequest.md +56 -0
- package/docs/UserClubSubscription.md +2 -0
- package/docs/UserEventParticipation.md +22 -0
- package/docs/UserEventSummary.md +44 -0
- package/docs/UserEventsResponse.md +28 -0
- package/docs/UsersApi.md +54 -0
- package/docs/VisibilityType.md +12 -0
- package/index.ts +1 -1
- 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.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.132
|
|
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,306 @@ 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 {Array<EventBookingResponsePaymentPerPlayersInner>}
|
|
4611
|
+
* @memberof EventBookingResponse
|
|
4612
|
+
*/
|
|
4613
|
+
'paymentPerPlayers'?: Array<EventBookingResponsePaymentPerPlayersInner>;
|
|
4614
|
+
/**
|
|
4615
|
+
*
|
|
4616
|
+
* @type {string}
|
|
4617
|
+
* @memberof EventBookingResponse
|
|
4618
|
+
*/
|
|
4619
|
+
'setupLimitDate'?: string | null;
|
|
4620
|
+
/**
|
|
4621
|
+
*
|
|
4622
|
+
* @type {string}
|
|
4623
|
+
* @memberof EventBookingResponse
|
|
4624
|
+
*/
|
|
4625
|
+
'cancellationLimitDate'?: string | null;
|
|
4626
|
+
/**
|
|
4627
|
+
*
|
|
4628
|
+
* @type {EventBookingResponseSetupStatus}
|
|
4629
|
+
* @memberof EventBookingResponse
|
|
4630
|
+
*/
|
|
4631
|
+
'setupStatus'?: EventBookingResponseSetupStatus | null;
|
|
4632
|
+
/**
|
|
4633
|
+
*
|
|
4634
|
+
* @type {string}
|
|
4635
|
+
* @memberof EventBookingResponse
|
|
4636
|
+
*/
|
|
4637
|
+
'createdAt': string;
|
|
4638
|
+
/**
|
|
4639
|
+
*
|
|
4640
|
+
* @type {string}
|
|
4641
|
+
* @memberof EventBookingResponse
|
|
4642
|
+
*/
|
|
4643
|
+
'updatedAt': string;
|
|
4644
|
+
}
|
|
4645
|
+
|
|
4646
|
+
|
|
4647
|
+
/**
|
|
4648
|
+
*
|
|
4649
|
+
* @export
|
|
4650
|
+
* @interface EventBookingResponsePaymentPerPlayersInner
|
|
4651
|
+
*/
|
|
4652
|
+
export interface EventBookingResponsePaymentPerPlayersInner {
|
|
4653
|
+
/**
|
|
4654
|
+
*
|
|
4655
|
+
* @type {number}
|
|
4656
|
+
* @memberof EventBookingResponsePaymentPerPlayersInner
|
|
4657
|
+
*/
|
|
4658
|
+
'amount'?: number | null;
|
|
4659
|
+
/**
|
|
4660
|
+
*
|
|
4661
|
+
* @type {EventBookingResponsePlayersInnerInvoiceStatus}
|
|
4662
|
+
* @memberof EventBookingResponsePaymentPerPlayersInner
|
|
4663
|
+
*/
|
|
4664
|
+
'status'?: EventBookingResponsePlayersInnerInvoiceStatus | null;
|
|
4665
|
+
/**
|
|
4666
|
+
*
|
|
4667
|
+
* @type {string}
|
|
4668
|
+
* @memberof EventBookingResponsePaymentPerPlayersInner
|
|
4669
|
+
*/
|
|
4670
|
+
'photo'?: string | null;
|
|
4671
|
+
/**
|
|
4672
|
+
*
|
|
4673
|
+
* @type {string}
|
|
4674
|
+
* @memberof EventBookingResponsePaymentPerPlayersInner
|
|
4675
|
+
*/
|
|
4676
|
+
'lastName'?: string | null;
|
|
4677
|
+
/**
|
|
4678
|
+
*
|
|
4679
|
+
* @type {string}
|
|
4680
|
+
* @memberof EventBookingResponsePaymentPerPlayersInner
|
|
4681
|
+
*/
|
|
4682
|
+
'firstName'?: string | null;
|
|
4683
|
+
/**
|
|
4684
|
+
*
|
|
4685
|
+
* @type {string}
|
|
4686
|
+
* @memberof EventBookingResponsePaymentPerPlayersInner
|
|
4687
|
+
*/
|
|
4688
|
+
'id': string;
|
|
4689
|
+
}
|
|
4690
|
+
/**
|
|
4691
|
+
*
|
|
4692
|
+
* @export
|
|
4693
|
+
* @interface EventBookingResponsePlayersInner
|
|
4694
|
+
*/
|
|
4695
|
+
export interface EventBookingResponsePlayersInner {
|
|
4696
|
+
/**
|
|
4697
|
+
*
|
|
4698
|
+
* @type {EventBookingResponsePlayersInnerInvoiceStatus}
|
|
4699
|
+
* @memberof EventBookingResponsePlayersInner
|
|
4700
|
+
*/
|
|
4701
|
+
'invoiceStatus'?: EventBookingResponsePlayersInnerInvoiceStatus | null;
|
|
4702
|
+
/**
|
|
4703
|
+
*
|
|
4704
|
+
* @type {string}
|
|
4705
|
+
* @memberof EventBookingResponsePlayersInner
|
|
4706
|
+
*/
|
|
4707
|
+
'profilePicture'?: string | null;
|
|
4708
|
+
/**
|
|
4709
|
+
*
|
|
4710
|
+
* @type {string}
|
|
4711
|
+
* @memberof EventBookingResponsePlayersInner
|
|
4712
|
+
*/
|
|
4713
|
+
'lastName'?: string | null;
|
|
4714
|
+
/**
|
|
4715
|
+
*
|
|
4716
|
+
* @type {string}
|
|
4717
|
+
* @memberof EventBookingResponsePlayersInner
|
|
4718
|
+
*/
|
|
4719
|
+
'firstName'?: string | null;
|
|
4720
|
+
/**
|
|
4721
|
+
*
|
|
4722
|
+
* @type {string}
|
|
4723
|
+
* @memberof EventBookingResponsePlayersInner
|
|
4724
|
+
*/
|
|
4725
|
+
'id': string;
|
|
4726
|
+
}
|
|
4727
|
+
/**
|
|
4728
|
+
*
|
|
4729
|
+
* @export
|
|
4730
|
+
* @interface EventBookingResponsePlayersInnerInvoiceStatus
|
|
4731
|
+
*/
|
|
4732
|
+
export interface EventBookingResponsePlayersInnerInvoiceStatus {
|
|
4733
|
+
}
|
|
4734
|
+
/**
|
|
4735
|
+
*
|
|
4736
|
+
* @export
|
|
4737
|
+
* @interface EventBookingResponseSetupStatus
|
|
4738
|
+
*/
|
|
4739
|
+
export interface EventBookingResponseSetupStatus {
|
|
4740
|
+
}
|
|
4741
|
+
/**
|
|
4742
|
+
*
|
|
4743
|
+
* @export
|
|
4744
|
+
* @enum {string}
|
|
4745
|
+
*/
|
|
4746
|
+
|
|
4747
|
+
export const EventBookingStatus = {
|
|
4748
|
+
Pending: 'pending',
|
|
4749
|
+
Active: 'active',
|
|
4750
|
+
Paid: 'paid',
|
|
4751
|
+
Cancelled: 'cancelled',
|
|
4752
|
+
Expired: 'expired'
|
|
4753
|
+
} as const;
|
|
4754
|
+
|
|
4755
|
+
export type EventBookingStatus = typeof EventBookingStatus[keyof typeof EventBookingStatus];
|
|
4756
|
+
|
|
4757
|
+
|
|
4464
4758
|
/**
|
|
4465
4759
|
*
|
|
4466
4760
|
* @export
|
|
@@ -5845,6 +6139,32 @@ export const InvoiceStatus = {
|
|
|
5845
6139
|
export type InvoiceStatus = typeof InvoiceStatus[keyof typeof InvoiceStatus];
|
|
5846
6140
|
|
|
5847
6141
|
|
|
6142
|
+
/**
|
|
6143
|
+
*
|
|
6144
|
+
* @export
|
|
6145
|
+
* @enum {string}
|
|
6146
|
+
*/
|
|
6147
|
+
|
|
6148
|
+
export const InvoiceStatusSETUPPENDING = {
|
|
6149
|
+
SetupPending: 'setup_pending'
|
|
6150
|
+
} as const;
|
|
6151
|
+
|
|
6152
|
+
export type InvoiceStatusSETUPPENDING = typeof InvoiceStatusSETUPPENDING[keyof typeof InvoiceStatusSETUPPENDING];
|
|
6153
|
+
|
|
6154
|
+
|
|
6155
|
+
/**
|
|
6156
|
+
*
|
|
6157
|
+
* @export
|
|
6158
|
+
* @enum {string}
|
|
6159
|
+
*/
|
|
6160
|
+
|
|
6161
|
+
export const InvoiceStatusSETUPSUCCESS = {
|
|
6162
|
+
SetupSuccess: 'setup_success'
|
|
6163
|
+
} as const;
|
|
6164
|
+
|
|
6165
|
+
export type InvoiceStatusSETUPSUCCESS = typeof InvoiceStatusSETUPSUCCESS[keyof typeof InvoiceStatusSETUPSUCCESS];
|
|
6166
|
+
|
|
6167
|
+
|
|
5848
6168
|
/**
|
|
5849
6169
|
*
|
|
5850
6170
|
* @export
|
|
@@ -6591,6 +6911,20 @@ export interface PartialSchoolAccessSettings {
|
|
|
6591
6911
|
*/
|
|
6592
6912
|
'enabled'?: boolean;
|
|
6593
6913
|
}
|
|
6914
|
+
/**
|
|
6915
|
+
*
|
|
6916
|
+
* @export
|
|
6917
|
+
* @enum {string}
|
|
6918
|
+
*/
|
|
6919
|
+
|
|
6920
|
+
export const ParticipationType = {
|
|
6921
|
+
Solo: 'solo',
|
|
6922
|
+
Team: 'team'
|
|
6923
|
+
} as const;
|
|
6924
|
+
|
|
6925
|
+
export type ParticipationType = typeof ParticipationType[keyof typeof ParticipationType];
|
|
6926
|
+
|
|
6927
|
+
|
|
6594
6928
|
/**
|
|
6595
6929
|
*
|
|
6596
6930
|
* @export
|
|
@@ -7361,6 +7695,18 @@ export interface PublishEventResponse {
|
|
|
7361
7695
|
* @memberof PublishEventResponse
|
|
7362
7696
|
*/
|
|
7363
7697
|
'refundedBookingIds'?: Array<string>;
|
|
7698
|
+
/**
|
|
7699
|
+
*
|
|
7700
|
+
* @type {EventBookingResponse}
|
|
7701
|
+
* @memberof PublishEventResponse
|
|
7702
|
+
*/
|
|
7703
|
+
'userBooking'?: EventBookingResponse;
|
|
7704
|
+
/**
|
|
7705
|
+
*
|
|
7706
|
+
* @type {boolean}
|
|
7707
|
+
* @memberof PublishEventResponse
|
|
7708
|
+
*/
|
|
7709
|
+
'needsToSetupPaymentMethod'?: boolean;
|
|
7364
7710
|
}
|
|
7365
7711
|
/**
|
|
7366
7712
|
*
|
|
@@ -7557,20 +7903,85 @@ export interface QuickReservationSlotSummary {
|
|
|
7557
7903
|
* @type {number}
|
|
7558
7904
|
* @memberof QuickReservationSlotSummary
|
|
7559
7905
|
*/
|
|
7560
|
-
'totalPrice'?: number;
|
|
7906
|
+
'totalPrice'?: number;
|
|
7907
|
+
/**
|
|
7908
|
+
* ID du sport associé
|
|
7909
|
+
* @type {string}
|
|
7910
|
+
* @memberof QuickReservationSlotSummary
|
|
7911
|
+
*/
|
|
7912
|
+
'sportId': string;
|
|
7913
|
+
/**
|
|
7914
|
+
* Clé du sport associé
|
|
7915
|
+
* @type {string}
|
|
7916
|
+
* @memberof QuickReservationSlotSummary
|
|
7917
|
+
*/
|
|
7918
|
+
'sportKey'?: string;
|
|
7919
|
+
}
|
|
7920
|
+
/**
|
|
7921
|
+
*
|
|
7922
|
+
* @export
|
|
7923
|
+
* @interface RecurringDefinitionResponse
|
|
7924
|
+
*/
|
|
7925
|
+
export interface RecurringDefinitionResponse {
|
|
7926
|
+
/**
|
|
7927
|
+
*
|
|
7928
|
+
* @type {string}
|
|
7929
|
+
* @memberof RecurringDefinitionResponse
|
|
7930
|
+
*/
|
|
7931
|
+
'id': string;
|
|
7932
|
+
/**
|
|
7933
|
+
*
|
|
7934
|
+
* @type {string}
|
|
7935
|
+
* @memberof RecurringDefinitionResponse
|
|
7936
|
+
*/
|
|
7937
|
+
'clubId'?: string;
|
|
7938
|
+
/**
|
|
7939
|
+
*
|
|
7940
|
+
* @type {string}
|
|
7941
|
+
* @memberof RecurringDefinitionResponse
|
|
7942
|
+
*/
|
|
7943
|
+
'title': string;
|
|
7944
|
+
/**
|
|
7945
|
+
*
|
|
7946
|
+
* @type {string}
|
|
7947
|
+
* @memberof RecurringDefinitionResponse
|
|
7948
|
+
*/
|
|
7949
|
+
'baseStartDate': string;
|
|
7950
|
+
/**
|
|
7951
|
+
*
|
|
7952
|
+
* @type {string}
|
|
7953
|
+
* @memberof RecurringDefinitionResponse
|
|
7954
|
+
*/
|
|
7955
|
+
'baseEndDate': string;
|
|
7561
7956
|
/**
|
|
7562
|
-
*
|
|
7957
|
+
*
|
|
7563
7958
|
* @type {string}
|
|
7564
|
-
* @memberof
|
|
7959
|
+
* @memberof RecurringDefinitionResponse
|
|
7565
7960
|
*/
|
|
7566
|
-
'
|
|
7961
|
+
'recurringType': RecurringDefinitionResponseRecurringTypeEnum;
|
|
7567
7962
|
/**
|
|
7568
|
-
*
|
|
7963
|
+
*
|
|
7569
7964
|
* @type {string}
|
|
7570
|
-
* @memberof
|
|
7965
|
+
* @memberof RecurringDefinitionResponse
|
|
7571
7966
|
*/
|
|
7572
|
-
'
|
|
7967
|
+
'recurrenceEndDate'?: string;
|
|
7968
|
+
/**
|
|
7969
|
+
*
|
|
7970
|
+
* @type {boolean}
|
|
7971
|
+
* @memberof RecurringDefinitionResponse
|
|
7972
|
+
*/
|
|
7973
|
+
'isActive'?: boolean;
|
|
7573
7974
|
}
|
|
7975
|
+
|
|
7976
|
+
export const RecurringDefinitionResponseRecurringTypeEnum = {
|
|
7977
|
+
Daily: 'daily',
|
|
7978
|
+
Weekly: 'weekly',
|
|
7979
|
+
Monthly: 'monthly',
|
|
7980
|
+
Unique: 'unique'
|
|
7981
|
+
} as const;
|
|
7982
|
+
|
|
7983
|
+
export type RecurringDefinitionResponseRecurringTypeEnum = typeof RecurringDefinitionResponseRecurringTypeEnum[keyof typeof RecurringDefinitionResponseRecurringTypeEnum];
|
|
7984
|
+
|
|
7574
7985
|
/**
|
|
7575
7986
|
*
|
|
7576
7987
|
* @export
|
|
@@ -10873,6 +11284,169 @@ export interface UpdatePlanRequest {
|
|
|
10873
11284
|
*/
|
|
10874
11285
|
'oldPriceId': string;
|
|
10875
11286
|
}
|
|
11287
|
+
/**
|
|
11288
|
+
*
|
|
11289
|
+
* @export
|
|
11290
|
+
* @interface UpdateRecurringDefinition200Response
|
|
11291
|
+
*/
|
|
11292
|
+
export interface UpdateRecurringDefinition200Response {
|
|
11293
|
+
/**
|
|
11294
|
+
*
|
|
11295
|
+
* @type {boolean}
|
|
11296
|
+
* @memberof UpdateRecurringDefinition200Response
|
|
11297
|
+
*/
|
|
11298
|
+
'ok': boolean;
|
|
11299
|
+
}
|
|
11300
|
+
/**
|
|
11301
|
+
*
|
|
11302
|
+
* @export
|
|
11303
|
+
* @interface UpdateRecurringDefinitionRequest
|
|
11304
|
+
*/
|
|
11305
|
+
export interface UpdateRecurringDefinitionRequest {
|
|
11306
|
+
/**
|
|
11307
|
+
*
|
|
11308
|
+
* @type {string}
|
|
11309
|
+
* @memberof UpdateRecurringDefinitionRequest
|
|
11310
|
+
*/
|
|
11311
|
+
'title'?: string;
|
|
11312
|
+
/**
|
|
11313
|
+
*
|
|
11314
|
+
* @type {string}
|
|
11315
|
+
* @memberof UpdateRecurringDefinitionRequest
|
|
11316
|
+
*/
|
|
11317
|
+
'description'?: string;
|
|
11318
|
+
/**
|
|
11319
|
+
*
|
|
11320
|
+
* @type {string}
|
|
11321
|
+
* @memberof UpdateRecurringDefinitionRequest
|
|
11322
|
+
*/
|
|
11323
|
+
'photoUrl'?: string;
|
|
11324
|
+
/**
|
|
11325
|
+
*
|
|
11326
|
+
* @type {string}
|
|
11327
|
+
* @memberof UpdateRecurringDefinitionRequest
|
|
11328
|
+
*/
|
|
11329
|
+
'sportId'?: string;
|
|
11330
|
+
/**
|
|
11331
|
+
*
|
|
11332
|
+
* @type {Array<string>}
|
|
11333
|
+
* @memberof UpdateRecurringDefinitionRequest
|
|
11334
|
+
*/
|
|
11335
|
+
'courts'?: Array<string>;
|
|
11336
|
+
/**
|
|
11337
|
+
*
|
|
11338
|
+
* @type {Array<string | null>}
|
|
11339
|
+
* @memberof UpdateRecurringDefinitionRequest
|
|
11340
|
+
*/
|
|
11341
|
+
'levels'?: Array<string | null>;
|
|
11342
|
+
/**
|
|
11343
|
+
*
|
|
11344
|
+
* @type {Array<EventSponsor>}
|
|
11345
|
+
* @memberof UpdateRecurringDefinitionRequest
|
|
11346
|
+
*/
|
|
11347
|
+
'sponsors'?: Array<EventSponsor>;
|
|
11348
|
+
/**
|
|
11349
|
+
*
|
|
11350
|
+
* @type {string}
|
|
11351
|
+
* @memberof UpdateRecurringDefinitionRequest
|
|
11352
|
+
*/
|
|
11353
|
+
'visibilityType'?: UpdateRecurringDefinitionRequestVisibilityTypeEnum;
|
|
11354
|
+
/**
|
|
11355
|
+
*
|
|
11356
|
+
* @type {string}
|
|
11357
|
+
* @memberof UpdateRecurringDefinitionRequest
|
|
11358
|
+
*/
|
|
11359
|
+
'type'?: UpdateRecurringDefinitionRequestTypeEnum;
|
|
11360
|
+
/**
|
|
11361
|
+
*
|
|
11362
|
+
* @type {string}
|
|
11363
|
+
* @memberof UpdateRecurringDefinitionRequest
|
|
11364
|
+
*/
|
|
11365
|
+
'participationType'?: UpdateRecurringDefinitionRequestParticipationTypeEnum;
|
|
11366
|
+
/**
|
|
11367
|
+
*
|
|
11368
|
+
* @type {number}
|
|
11369
|
+
* @memberof UpdateRecurringDefinitionRequest
|
|
11370
|
+
*/
|
|
11371
|
+
'playerLimit'?: number;
|
|
11372
|
+
/**
|
|
11373
|
+
*
|
|
11374
|
+
* @type {number}
|
|
11375
|
+
* @memberof UpdateRecurringDefinitionRequest
|
|
11376
|
+
*/
|
|
11377
|
+
'teamLimit'?: number;
|
|
11378
|
+
/**
|
|
11379
|
+
*
|
|
11380
|
+
* @type {number}
|
|
11381
|
+
* @memberof UpdateRecurringDefinitionRequest
|
|
11382
|
+
*/
|
|
11383
|
+
'playersPerTeam'?: number;
|
|
11384
|
+
/**
|
|
11385
|
+
*
|
|
11386
|
+
* @type {number}
|
|
11387
|
+
* @memberof UpdateRecurringDefinitionRequest
|
|
11388
|
+
*/
|
|
11389
|
+
'price'?: number;
|
|
11390
|
+
/**
|
|
11391
|
+
*
|
|
11392
|
+
* @type {Array<SubscriberPrice>}
|
|
11393
|
+
* @memberof UpdateRecurringDefinitionRequest
|
|
11394
|
+
*/
|
|
11395
|
+
'subscriberPrices'?: Array<SubscriberPrice>;
|
|
11396
|
+
/**
|
|
11397
|
+
*
|
|
11398
|
+
* @type {string}
|
|
11399
|
+
* @memberof UpdateRecurringDefinitionRequest
|
|
11400
|
+
*/
|
|
11401
|
+
'baseStartDate'?: string;
|
|
11402
|
+
/**
|
|
11403
|
+
*
|
|
11404
|
+
* @type {string}
|
|
11405
|
+
* @memberof UpdateRecurringDefinitionRequest
|
|
11406
|
+
*/
|
|
11407
|
+
'baseEndDate'?: string;
|
|
11408
|
+
/**
|
|
11409
|
+
*
|
|
11410
|
+
* @type {string}
|
|
11411
|
+
* @memberof UpdateRecurringDefinitionRequest
|
|
11412
|
+
*/
|
|
11413
|
+
'recurringType'?: UpdateRecurringDefinitionRequestRecurringTypeEnum;
|
|
11414
|
+
/**
|
|
11415
|
+
*
|
|
11416
|
+
* @type {string}
|
|
11417
|
+
* @memberof UpdateRecurringDefinitionRequest
|
|
11418
|
+
*/
|
|
11419
|
+
'recurrenceEndDate'?: string;
|
|
11420
|
+
}
|
|
11421
|
+
|
|
11422
|
+
export const UpdateRecurringDefinitionRequestVisibilityTypeEnum = {
|
|
11423
|
+
Public: 'public',
|
|
11424
|
+
Private: 'private',
|
|
11425
|
+
Invitation: 'invitation'
|
|
11426
|
+
} as const;
|
|
11427
|
+
|
|
11428
|
+
export type UpdateRecurringDefinitionRequestVisibilityTypeEnum = typeof UpdateRecurringDefinitionRequestVisibilityTypeEnum[keyof typeof UpdateRecurringDefinitionRequestVisibilityTypeEnum];
|
|
11429
|
+
export const UpdateRecurringDefinitionRequestTypeEnum = {
|
|
11430
|
+
Event: 'event',
|
|
11431
|
+
Closure: 'closure'
|
|
11432
|
+
} as const;
|
|
11433
|
+
|
|
11434
|
+
export type UpdateRecurringDefinitionRequestTypeEnum = typeof UpdateRecurringDefinitionRequestTypeEnum[keyof typeof UpdateRecurringDefinitionRequestTypeEnum];
|
|
11435
|
+
export const UpdateRecurringDefinitionRequestParticipationTypeEnum = {
|
|
11436
|
+
Solo: 'solo',
|
|
11437
|
+
Team: 'team'
|
|
11438
|
+
} as const;
|
|
11439
|
+
|
|
11440
|
+
export type UpdateRecurringDefinitionRequestParticipationTypeEnum = typeof UpdateRecurringDefinitionRequestParticipationTypeEnum[keyof typeof UpdateRecurringDefinitionRequestParticipationTypeEnum];
|
|
11441
|
+
export const UpdateRecurringDefinitionRequestRecurringTypeEnum = {
|
|
11442
|
+
Daily: 'daily',
|
|
11443
|
+
Weekly: 'weekly',
|
|
11444
|
+
Monthly: 'monthly',
|
|
11445
|
+
Unique: 'unique'
|
|
11446
|
+
} as const;
|
|
11447
|
+
|
|
11448
|
+
export type UpdateRecurringDefinitionRequestRecurringTypeEnum = typeof UpdateRecurringDefinitionRequestRecurringTypeEnum[keyof typeof UpdateRecurringDefinitionRequestRecurringTypeEnum];
|
|
11449
|
+
|
|
10876
11450
|
/**
|
|
10877
11451
|
*
|
|
10878
11452
|
* @export
|
|
@@ -11197,37 +11771,186 @@ export interface UserClubSubscription {
|
|
|
11197
11771
|
'planId': string | null;
|
|
11198
11772
|
/**
|
|
11199
11773
|
*
|
|
11200
|
-
* @type {string}
|
|
11201
|
-
* @memberof UserClubSubscription
|
|
11774
|
+
* @type {string}
|
|
11775
|
+
* @memberof UserClubSubscription
|
|
11776
|
+
*/
|
|
11777
|
+
'planName': string | null;
|
|
11778
|
+
/**
|
|
11779
|
+
*
|
|
11780
|
+
* @type {string}
|
|
11781
|
+
* @memberof UserClubSubscription
|
|
11782
|
+
*/
|
|
11783
|
+
'planDescription': string | null;
|
|
11784
|
+
/**
|
|
11785
|
+
*
|
|
11786
|
+
* @type {number}
|
|
11787
|
+
* @memberof UserClubSubscription
|
|
11788
|
+
*/
|
|
11789
|
+
'amountInCents': number | null;
|
|
11790
|
+
/**
|
|
11791
|
+
*
|
|
11792
|
+
* @type {string}
|
|
11793
|
+
* @memberof UserClubSubscription
|
|
11794
|
+
*/
|
|
11795
|
+
'currency': string | null;
|
|
11796
|
+
/**
|
|
11797
|
+
*
|
|
11798
|
+
* @type {PlanInterval}
|
|
11799
|
+
* @memberof UserClubSubscription
|
|
11800
|
+
*/
|
|
11801
|
+
'interval': PlanInterval | null;
|
|
11802
|
+
/**
|
|
11803
|
+
*
|
|
11804
|
+
* @type {string}
|
|
11805
|
+
* @memberof UserClubSubscription
|
|
11806
|
+
*/
|
|
11807
|
+
'productId': string | null;
|
|
11808
|
+
}
|
|
11809
|
+
|
|
11810
|
+
|
|
11811
|
+
/**
|
|
11812
|
+
*
|
|
11813
|
+
* @export
|
|
11814
|
+
* @interface UserEventParticipation
|
|
11815
|
+
*/
|
|
11816
|
+
export interface UserEventParticipation {
|
|
11817
|
+
/**
|
|
11818
|
+
*
|
|
11819
|
+
* @type {UserEventSummary}
|
|
11820
|
+
* @memberof UserEventParticipation
|
|
11821
|
+
*/
|
|
11822
|
+
'event': UserEventSummary;
|
|
11823
|
+
/**
|
|
11824
|
+
*
|
|
11825
|
+
* @type {EventBookingDetailSummary}
|
|
11826
|
+
* @memberof UserEventParticipation
|
|
11827
|
+
*/
|
|
11828
|
+
'booking': EventBookingDetailSummary;
|
|
11829
|
+
}
|
|
11830
|
+
/**
|
|
11831
|
+
*
|
|
11832
|
+
* @export
|
|
11833
|
+
* @interface UserEventSummary
|
|
11834
|
+
*/
|
|
11835
|
+
export interface UserEventSummary {
|
|
11836
|
+
/**
|
|
11837
|
+
*
|
|
11838
|
+
* @type {string}
|
|
11839
|
+
* @memberof UserEventSummary
|
|
11840
|
+
*/
|
|
11841
|
+
'id': string;
|
|
11842
|
+
/**
|
|
11843
|
+
*
|
|
11844
|
+
* @type {string}
|
|
11845
|
+
* @memberof UserEventSummary
|
|
11846
|
+
*/
|
|
11847
|
+
'clubId': string;
|
|
11848
|
+
/**
|
|
11849
|
+
*
|
|
11850
|
+
* @type {string}
|
|
11851
|
+
* @memberof UserEventSummary
|
|
11852
|
+
*/
|
|
11853
|
+
'title': string;
|
|
11854
|
+
/**
|
|
11855
|
+
*
|
|
11856
|
+
* @type {string}
|
|
11857
|
+
* @memberof UserEventSummary
|
|
11858
|
+
*/
|
|
11859
|
+
'description'?: string | null;
|
|
11860
|
+
/**
|
|
11861
|
+
*
|
|
11862
|
+
* @type {string}
|
|
11863
|
+
* @memberof UserEventSummary
|
|
11864
|
+
*/
|
|
11865
|
+
'photoUrl'?: string | null;
|
|
11866
|
+
/**
|
|
11867
|
+
*
|
|
11868
|
+
* @type {string}
|
|
11869
|
+
* @memberof UserEventSummary
|
|
11870
|
+
*/
|
|
11871
|
+
'startDate': string;
|
|
11872
|
+
/**
|
|
11873
|
+
*
|
|
11874
|
+
* @type {string}
|
|
11875
|
+
* @memberof UserEventSummary
|
|
11876
|
+
*/
|
|
11877
|
+
'endDate': string;
|
|
11878
|
+
/**
|
|
11879
|
+
*
|
|
11880
|
+
* @type {ParticipationType}
|
|
11881
|
+
* @memberof UserEventSummary
|
|
11882
|
+
*/
|
|
11883
|
+
'participationType': ParticipationType;
|
|
11884
|
+
/**
|
|
11885
|
+
*
|
|
11886
|
+
* @type {VisibilityType}
|
|
11887
|
+
* @memberof UserEventSummary
|
|
11888
|
+
*/
|
|
11889
|
+
'visibilityType': VisibilityType;
|
|
11890
|
+
/**
|
|
11891
|
+
*
|
|
11892
|
+
* @type {boolean}
|
|
11893
|
+
* @memberof UserEventSummary
|
|
11894
|
+
*/
|
|
11895
|
+
'isActive': boolean;
|
|
11896
|
+
/**
|
|
11897
|
+
*
|
|
11898
|
+
* @type {number}
|
|
11899
|
+
* @memberof UserEventSummary
|
|
11900
|
+
*/
|
|
11901
|
+
'price'?: number | null;
|
|
11902
|
+
/**
|
|
11903
|
+
*
|
|
11904
|
+
* @type {Array<string>}
|
|
11905
|
+
* @memberof UserEventSummary
|
|
11906
|
+
*/
|
|
11907
|
+
'sports'?: Array<string>;
|
|
11908
|
+
/**
|
|
11909
|
+
*
|
|
11910
|
+
* @type {Array<string>}
|
|
11911
|
+
* @memberof UserEventSummary
|
|
11912
|
+
*/
|
|
11913
|
+
'courts'?: Array<string>;
|
|
11914
|
+
}
|
|
11915
|
+
|
|
11916
|
+
|
|
11917
|
+
/**
|
|
11918
|
+
*
|
|
11919
|
+
* @export
|
|
11920
|
+
* @interface UserEventsResponse
|
|
11921
|
+
*/
|
|
11922
|
+
export interface UserEventsResponse {
|
|
11923
|
+
/**
|
|
11924
|
+
*
|
|
11925
|
+
* @type {number}
|
|
11926
|
+
* @memberof UserEventsResponse
|
|
11202
11927
|
*/
|
|
11203
|
-
'
|
|
11928
|
+
'total': number;
|
|
11204
11929
|
/**
|
|
11205
11930
|
*
|
|
11206
|
-
* @type {
|
|
11207
|
-
* @memberof
|
|
11931
|
+
* @type {number}
|
|
11932
|
+
* @memberof UserEventsResponse
|
|
11208
11933
|
*/
|
|
11209
|
-
'
|
|
11934
|
+
'limit': number;
|
|
11210
11935
|
/**
|
|
11211
11936
|
*
|
|
11212
11937
|
* @type {number}
|
|
11213
|
-
* @memberof
|
|
11938
|
+
* @memberof UserEventsResponse
|
|
11214
11939
|
*/
|
|
11215
|
-
'
|
|
11940
|
+
'skip': number;
|
|
11216
11941
|
/**
|
|
11217
11942
|
*
|
|
11218
|
-
* @type {
|
|
11219
|
-
* @memberof
|
|
11943
|
+
* @type {boolean}
|
|
11944
|
+
* @memberof UserEventsResponse
|
|
11220
11945
|
*/
|
|
11221
|
-
'
|
|
11946
|
+
'hasMore': boolean;
|
|
11222
11947
|
/**
|
|
11223
11948
|
*
|
|
11224
|
-
* @type {
|
|
11225
|
-
* @memberof
|
|
11949
|
+
* @type {Array<UserEventParticipation>}
|
|
11950
|
+
* @memberof UserEventsResponse
|
|
11226
11951
|
*/
|
|
11227
|
-
'
|
|
11952
|
+
'participations': Array<UserEventParticipation>;
|
|
11228
11953
|
}
|
|
11229
|
-
|
|
11230
|
-
|
|
11231
11954
|
/**
|
|
11232
11955
|
*
|
|
11233
11956
|
* @export
|
|
@@ -11627,6 +12350,21 @@ export interface VerifyEmailRequest {
|
|
|
11627
12350
|
*/
|
|
11628
12351
|
'token'?: string;
|
|
11629
12352
|
}
|
|
12353
|
+
/**
|
|
12354
|
+
*
|
|
12355
|
+
* @export
|
|
12356
|
+
* @enum {string}
|
|
12357
|
+
*/
|
|
12358
|
+
|
|
12359
|
+
export const VisibilityType = {
|
|
12360
|
+
Public: 'public',
|
|
12361
|
+
Private: 'private',
|
|
12362
|
+
Invitation: 'invitation'
|
|
12363
|
+
} as const;
|
|
12364
|
+
|
|
12365
|
+
export type VisibilityType = typeof VisibilityType[keyof typeof VisibilityType];
|
|
12366
|
+
|
|
12367
|
+
|
|
11630
12368
|
/**
|
|
11631
12369
|
*
|
|
11632
12370
|
* @export
|
|
@@ -20529,10 +21267,11 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
20529
21267
|
/**
|
|
20530
21268
|
* Get a specific event by ID
|
|
20531
21269
|
* @param {string} eventId
|
|
21270
|
+
* @param {string} [userId]
|
|
20532
21271
|
* @param {*} [options] Override http request option.
|
|
20533
21272
|
* @throws {RequiredError}
|
|
20534
21273
|
*/
|
|
20535
|
-
getEventById: async (eventId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21274
|
+
getEventById: async (eventId: string, userId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20536
21275
|
// verify required parameter 'eventId' is not null or undefined
|
|
20537
21276
|
assertParamExists('getEventById', 'eventId', eventId)
|
|
20538
21277
|
const localVarPath = `/api/events/{eventId}`
|
|
@@ -20548,6 +21287,10 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
20548
21287
|
const localVarHeaderParameter = {} as any;
|
|
20549
21288
|
const localVarQueryParameter = {} as any;
|
|
20550
21289
|
|
|
21290
|
+
if (userId !== undefined) {
|
|
21291
|
+
localVarQueryParameter['userId'] = userId;
|
|
21292
|
+
}
|
|
21293
|
+
|
|
20551
21294
|
|
|
20552
21295
|
|
|
20553
21296
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -20727,11 +21470,12 @@ export const EventsApiFp = function(configuration?: Configuration) {
|
|
|
20727
21470
|
/**
|
|
20728
21471
|
* Get a specific event by ID
|
|
20729
21472
|
* @param {string} eventId
|
|
21473
|
+
* @param {string} [userId]
|
|
20730
21474
|
* @param {*} [options] Override http request option.
|
|
20731
21475
|
* @throws {RequiredError}
|
|
20732
21476
|
*/
|
|
20733
|
-
async getEventById(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>> {
|
|
20734
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventById(eventId, options);
|
|
21477
|
+
async getEventById(eventId: string, userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>> {
|
|
21478
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventById(eventId, userId, options);
|
|
20735
21479
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20736
21480
|
const localVarOperationServerBasePath = operationServerMap['EventsApi.getEventById']?.[localVarOperationServerIndex]?.url;
|
|
20737
21481
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -20811,7 +21555,7 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
|
|
|
20811
21555
|
* @throws {RequiredError}
|
|
20812
21556
|
*/
|
|
20813
21557
|
getEventById(requestParameters: EventsApiGetEventByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublishEventResponse> {
|
|
20814
|
-
return localVarFp.getEventById(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
21558
|
+
return localVarFp.getEventById(requestParameters.eventId, requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
20815
21559
|
},
|
|
20816
21560
|
/**
|
|
20817
21561
|
* Get all published events for a club
|
|
@@ -20897,6 +21641,13 @@ export interface EventsApiGetEventByIdRequest {
|
|
|
20897
21641
|
* @memberof EventsApiGetEventById
|
|
20898
21642
|
*/
|
|
20899
21643
|
readonly eventId: string
|
|
21644
|
+
|
|
21645
|
+
/**
|
|
21646
|
+
*
|
|
21647
|
+
* @type {string}
|
|
21648
|
+
* @memberof EventsApiGetEventById
|
|
21649
|
+
*/
|
|
21650
|
+
readonly userId?: string
|
|
20900
21651
|
}
|
|
20901
21652
|
|
|
20902
21653
|
/**
|
|
@@ -21006,7 +21757,7 @@ export class EventsApi extends BaseAPI {
|
|
|
21006
21757
|
* @memberof EventsApi
|
|
21007
21758
|
*/
|
|
21008
21759
|
public getEventById(requestParameters: EventsApiGetEventByIdRequest, options?: RawAxiosRequestConfig) {
|
|
21009
|
-
return EventsApiFp(this.configuration).getEventById(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
21760
|
+
return EventsApiFp(this.configuration).getEventById(requestParameters.eventId, requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
|
|
21010
21761
|
}
|
|
21011
21762
|
|
|
21012
21763
|
/**
|
|
@@ -21174,6 +21925,44 @@ export const EventsManagerApiAxiosParamCreator = function (configuration?: Confi
|
|
|
21174
21925
|
|
|
21175
21926
|
|
|
21176
21927
|
|
|
21928
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21929
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21930
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21931
|
+
|
|
21932
|
+
return {
|
|
21933
|
+
url: toPathString(localVarUrlObj),
|
|
21934
|
+
options: localVarRequestOptions,
|
|
21935
|
+
};
|
|
21936
|
+
},
|
|
21937
|
+
/**
|
|
21938
|
+
* List recurring definitions about to expire within `days` (manager)
|
|
21939
|
+
* @param {number} [days]
|
|
21940
|
+
* @param {*} [options] Override http request option.
|
|
21941
|
+
* @throws {RequiredError}
|
|
21942
|
+
*/
|
|
21943
|
+
getExpiringRecurringDefinitions: async (days?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21944
|
+
const localVarPath = `/api/events/manager/recurring/expiring`;
|
|
21945
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21946
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21947
|
+
let baseOptions;
|
|
21948
|
+
if (configuration) {
|
|
21949
|
+
baseOptions = configuration.baseOptions;
|
|
21950
|
+
}
|
|
21951
|
+
|
|
21952
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
21953
|
+
const localVarHeaderParameter = {} as any;
|
|
21954
|
+
const localVarQueryParameter = {} as any;
|
|
21955
|
+
|
|
21956
|
+
// authentication bearerAuth required
|
|
21957
|
+
// http bearer authentication required
|
|
21958
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
21959
|
+
|
|
21960
|
+
if (days !== undefined) {
|
|
21961
|
+
localVarQueryParameter['days'] = days;
|
|
21962
|
+
}
|
|
21963
|
+
|
|
21964
|
+
|
|
21965
|
+
|
|
21177
21966
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21178
21967
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21179
21968
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -21338,6 +22127,49 @@ export const EventsManagerApiAxiosParamCreator = function (configuration?: Confi
|
|
|
21338
22127
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21339
22128
|
localVarRequestOptions.data = serializeDataIfNeeded(updateEventRequest, localVarRequestOptions, configuration)
|
|
21340
22129
|
|
|
22130
|
+
return {
|
|
22131
|
+
url: toPathString(localVarUrlObj),
|
|
22132
|
+
options: localVarRequestOptions,
|
|
22133
|
+
};
|
|
22134
|
+
},
|
|
22135
|
+
/**
|
|
22136
|
+
* Update a recurring event definition (manager) and propagate changes to generated Events
|
|
22137
|
+
* @param {string} definitionId
|
|
22138
|
+
* @param {UpdateRecurringDefinitionRequest} updateRecurringDefinitionRequest
|
|
22139
|
+
* @param {*} [options] Override http request option.
|
|
22140
|
+
* @throws {RequiredError}
|
|
22141
|
+
*/
|
|
22142
|
+
updateRecurringDefinition: async (definitionId: string, updateRecurringDefinitionRequest: UpdateRecurringDefinitionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22143
|
+
// verify required parameter 'definitionId' is not null or undefined
|
|
22144
|
+
assertParamExists('updateRecurringDefinition', 'definitionId', definitionId)
|
|
22145
|
+
// verify required parameter 'updateRecurringDefinitionRequest' is not null or undefined
|
|
22146
|
+
assertParamExists('updateRecurringDefinition', 'updateRecurringDefinitionRequest', updateRecurringDefinitionRequest)
|
|
22147
|
+
const localVarPath = `/api/events/manager/recurring/{definitionId}`
|
|
22148
|
+
.replace(`{${"definitionId"}}`, encodeURIComponent(String(definitionId)));
|
|
22149
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22150
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22151
|
+
let baseOptions;
|
|
22152
|
+
if (configuration) {
|
|
22153
|
+
baseOptions = configuration.baseOptions;
|
|
22154
|
+
}
|
|
22155
|
+
|
|
22156
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
22157
|
+
const localVarHeaderParameter = {} as any;
|
|
22158
|
+
const localVarQueryParameter = {} as any;
|
|
22159
|
+
|
|
22160
|
+
// authentication bearerAuth required
|
|
22161
|
+
// http bearer authentication required
|
|
22162
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
22163
|
+
|
|
22164
|
+
|
|
22165
|
+
|
|
22166
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22167
|
+
|
|
22168
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22169
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22170
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22171
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateRecurringDefinitionRequest, localVarRequestOptions, configuration)
|
|
22172
|
+
|
|
21341
22173
|
return {
|
|
21342
22174
|
url: toPathString(localVarUrlObj),
|
|
21343
22175
|
options: localVarRequestOptions,
|
|
@@ -21389,6 +22221,18 @@ export const EventsManagerApiFp = function(configuration?: Configuration) {
|
|
|
21389
22221
|
const localVarOperationServerBasePath = operationServerMap['EventsManagerApi.deleteEvent']?.[localVarOperationServerIndex]?.url;
|
|
21390
22222
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21391
22223
|
},
|
|
22224
|
+
/**
|
|
22225
|
+
* List recurring definitions about to expire within `days` (manager)
|
|
22226
|
+
* @param {number} [days]
|
|
22227
|
+
* @param {*} [options] Override http request option.
|
|
22228
|
+
* @throws {RequiredError}
|
|
22229
|
+
*/
|
|
22230
|
+
async getExpiringRecurringDefinitions(days?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RecurringDefinitionResponse>>> {
|
|
22231
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getExpiringRecurringDefinitions(days, options);
|
|
22232
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22233
|
+
const localVarOperationServerBasePath = operationServerMap['EventsManagerApi.getExpiringRecurringDefinitions']?.[localVarOperationServerIndex]?.url;
|
|
22234
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22235
|
+
},
|
|
21392
22236
|
/**
|
|
21393
22237
|
* Publish an event (manager)
|
|
21394
22238
|
* @param {string} eventId
|
|
@@ -21439,6 +22283,19 @@ export const EventsManagerApiFp = function(configuration?: Configuration) {
|
|
|
21439
22283
|
const localVarOperationServerBasePath = operationServerMap['EventsManagerApi.updatePublishedEvent']?.[localVarOperationServerIndex]?.url;
|
|
21440
22284
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21441
22285
|
},
|
|
22286
|
+
/**
|
|
22287
|
+
* Update a recurring event definition (manager) and propagate changes to generated Events
|
|
22288
|
+
* @param {string} definitionId
|
|
22289
|
+
* @param {UpdateRecurringDefinitionRequest} updateRecurringDefinitionRequest
|
|
22290
|
+
* @param {*} [options] Override http request option.
|
|
22291
|
+
* @throws {RequiredError}
|
|
22292
|
+
*/
|
|
22293
|
+
async updateRecurringDefinition(definitionId: string, updateRecurringDefinitionRequest: UpdateRecurringDefinitionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateRecurringDefinition200Response>> {
|
|
22294
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRecurringDefinition(definitionId, updateRecurringDefinitionRequest, options);
|
|
22295
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22296
|
+
const localVarOperationServerBasePath = operationServerMap['EventsManagerApi.updateRecurringDefinition']?.[localVarOperationServerIndex]?.url;
|
|
22297
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22298
|
+
},
|
|
21442
22299
|
}
|
|
21443
22300
|
};
|
|
21444
22301
|
|
|
@@ -21476,6 +22333,15 @@ export const EventsManagerApiFactory = function (configuration?: Configuration,
|
|
|
21476
22333
|
deleteEvent(requestParameters: EventsManagerApiDeleteEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteEventResponse> {
|
|
21477
22334
|
return localVarFp.deleteEvent(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
21478
22335
|
},
|
|
22336
|
+
/**
|
|
22337
|
+
* List recurring definitions about to expire within `days` (manager)
|
|
22338
|
+
* @param {EventsManagerApiGetExpiringRecurringDefinitionsRequest} requestParameters Request parameters.
|
|
22339
|
+
* @param {*} [options] Override http request option.
|
|
22340
|
+
* @throws {RequiredError}
|
|
22341
|
+
*/
|
|
22342
|
+
getExpiringRecurringDefinitions(requestParameters: EventsManagerApiGetExpiringRecurringDefinitionsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<Array<RecurringDefinitionResponse>> {
|
|
22343
|
+
return localVarFp.getExpiringRecurringDefinitions(requestParameters.days, options).then((request) => request(axios, basePath));
|
|
22344
|
+
},
|
|
21479
22345
|
/**
|
|
21480
22346
|
* Publish an event (manager)
|
|
21481
22347
|
* @param {EventsManagerApiPublishEventRequest} requestParameters Request parameters.
|
|
@@ -21512,6 +22378,15 @@ export const EventsManagerApiFactory = function (configuration?: Configuration,
|
|
|
21512
22378
|
updatePublishedEvent(requestParameters: EventsManagerApiUpdatePublishedEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublishEventResponse> {
|
|
21513
22379
|
return localVarFp.updatePublishedEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(axios, basePath));
|
|
21514
22380
|
},
|
|
22381
|
+
/**
|
|
22382
|
+
* Update a recurring event definition (manager) and propagate changes to generated Events
|
|
22383
|
+
* @param {EventsManagerApiUpdateRecurringDefinitionRequest} requestParameters Request parameters.
|
|
22384
|
+
* @param {*} [options] Override http request option.
|
|
22385
|
+
* @throws {RequiredError}
|
|
22386
|
+
*/
|
|
22387
|
+
updateRecurringDefinition(requestParameters: EventsManagerApiUpdateRecurringDefinitionRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateRecurringDefinition200Response> {
|
|
22388
|
+
return localVarFp.updateRecurringDefinition(requestParameters.definitionId, requestParameters.updateRecurringDefinitionRequest, options).then((request) => request(axios, basePath));
|
|
22389
|
+
},
|
|
21515
22390
|
};
|
|
21516
22391
|
};
|
|
21517
22392
|
|
|
@@ -21557,6 +22432,20 @@ export interface EventsManagerApiDeleteEventRequest {
|
|
|
21557
22432
|
readonly eventId: string
|
|
21558
22433
|
}
|
|
21559
22434
|
|
|
22435
|
+
/**
|
|
22436
|
+
* Request parameters for getExpiringRecurringDefinitions operation in EventsManagerApi.
|
|
22437
|
+
* @export
|
|
22438
|
+
* @interface EventsManagerApiGetExpiringRecurringDefinitionsRequest
|
|
22439
|
+
*/
|
|
22440
|
+
export interface EventsManagerApiGetExpiringRecurringDefinitionsRequest {
|
|
22441
|
+
/**
|
|
22442
|
+
*
|
|
22443
|
+
* @type {number}
|
|
22444
|
+
* @memberof EventsManagerApiGetExpiringRecurringDefinitions
|
|
22445
|
+
*/
|
|
22446
|
+
readonly days?: number
|
|
22447
|
+
}
|
|
22448
|
+
|
|
21560
22449
|
/**
|
|
21561
22450
|
* Request parameters for publishEvent operation in EventsManagerApi.
|
|
21562
22451
|
* @export
|
|
@@ -21627,6 +22516,27 @@ export interface EventsManagerApiUpdatePublishedEventRequest {
|
|
|
21627
22516
|
readonly updateEventRequest: UpdateEventRequest
|
|
21628
22517
|
}
|
|
21629
22518
|
|
|
22519
|
+
/**
|
|
22520
|
+
* Request parameters for updateRecurringDefinition operation in EventsManagerApi.
|
|
22521
|
+
* @export
|
|
22522
|
+
* @interface EventsManagerApiUpdateRecurringDefinitionRequest
|
|
22523
|
+
*/
|
|
22524
|
+
export interface EventsManagerApiUpdateRecurringDefinitionRequest {
|
|
22525
|
+
/**
|
|
22526
|
+
*
|
|
22527
|
+
* @type {string}
|
|
22528
|
+
* @memberof EventsManagerApiUpdateRecurringDefinition
|
|
22529
|
+
*/
|
|
22530
|
+
readonly definitionId: string
|
|
22531
|
+
|
|
22532
|
+
/**
|
|
22533
|
+
*
|
|
22534
|
+
* @type {UpdateRecurringDefinitionRequest}
|
|
22535
|
+
* @memberof EventsManagerApiUpdateRecurringDefinition
|
|
22536
|
+
*/
|
|
22537
|
+
readonly updateRecurringDefinitionRequest: UpdateRecurringDefinitionRequest
|
|
22538
|
+
}
|
|
22539
|
+
|
|
21630
22540
|
/**
|
|
21631
22541
|
* EventsManagerApi - object-oriented interface
|
|
21632
22542
|
* @export
|
|
@@ -21667,6 +22577,17 @@ export class EventsManagerApi extends BaseAPI {
|
|
|
21667
22577
|
return EventsManagerApiFp(this.configuration).deleteEvent(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
21668
22578
|
}
|
|
21669
22579
|
|
|
22580
|
+
/**
|
|
22581
|
+
* List recurring definitions about to expire within `days` (manager)
|
|
22582
|
+
* @param {EventsManagerApiGetExpiringRecurringDefinitionsRequest} requestParameters Request parameters.
|
|
22583
|
+
* @param {*} [options] Override http request option.
|
|
22584
|
+
* @throws {RequiredError}
|
|
22585
|
+
* @memberof EventsManagerApi
|
|
22586
|
+
*/
|
|
22587
|
+
public getExpiringRecurringDefinitions(requestParameters: EventsManagerApiGetExpiringRecurringDefinitionsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
22588
|
+
return EventsManagerApiFp(this.configuration).getExpiringRecurringDefinitions(requestParameters.days, options).then((request) => request(this.axios, this.basePath));
|
|
22589
|
+
}
|
|
22590
|
+
|
|
21670
22591
|
/**
|
|
21671
22592
|
* Publish an event (manager)
|
|
21672
22593
|
* @param {EventsManagerApiPublishEventRequest} requestParameters Request parameters.
|
|
@@ -21710,6 +22631,17 @@ export class EventsManagerApi extends BaseAPI {
|
|
|
21710
22631
|
public updatePublishedEvent(requestParameters: EventsManagerApiUpdatePublishedEventRequest, options?: RawAxiosRequestConfig) {
|
|
21711
22632
|
return EventsManagerApiFp(this.configuration).updatePublishedEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(this.axios, this.basePath));
|
|
21712
22633
|
}
|
|
22634
|
+
|
|
22635
|
+
/**
|
|
22636
|
+
* Update a recurring event definition (manager) and propagate changes to generated Events
|
|
22637
|
+
* @param {EventsManagerApiUpdateRecurringDefinitionRequest} requestParameters Request parameters.
|
|
22638
|
+
* @param {*} [options] Override http request option.
|
|
22639
|
+
* @throws {RequiredError}
|
|
22640
|
+
* @memberof EventsManagerApi
|
|
22641
|
+
*/
|
|
22642
|
+
public updateRecurringDefinition(requestParameters: EventsManagerApiUpdateRecurringDefinitionRequest, options?: RawAxiosRequestConfig) {
|
|
22643
|
+
return EventsManagerApiFp(this.configuration).updateRecurringDefinition(requestParameters.definitionId, requestParameters.updateRecurringDefinitionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
22644
|
+
}
|
|
21713
22645
|
}
|
|
21714
22646
|
|
|
21715
22647
|
|
|
@@ -24757,6 +25689,49 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
24757
25689
|
|
|
24758
25690
|
|
|
24759
25691
|
|
|
25692
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25693
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25694
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25695
|
+
|
|
25696
|
+
return {
|
|
25697
|
+
url: toPathString(localVarUrlObj),
|
|
25698
|
+
options: localVarRequestOptions,
|
|
25699
|
+
};
|
|
25700
|
+
},
|
|
25701
|
+
/**
|
|
25702
|
+
*
|
|
25703
|
+
* @param {number} [limit]
|
|
25704
|
+
* @param {number} [skip]
|
|
25705
|
+
* @param {*} [options] Override http request option.
|
|
25706
|
+
* @throws {RequiredError}
|
|
25707
|
+
*/
|
|
25708
|
+
getUserEvents: async (limit?: number, skip?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25709
|
+
const localVarPath = `/api/users/me/events`;
|
|
25710
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25711
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25712
|
+
let baseOptions;
|
|
25713
|
+
if (configuration) {
|
|
25714
|
+
baseOptions = configuration.baseOptions;
|
|
25715
|
+
}
|
|
25716
|
+
|
|
25717
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
25718
|
+
const localVarHeaderParameter = {} as any;
|
|
25719
|
+
const localVarQueryParameter = {} as any;
|
|
25720
|
+
|
|
25721
|
+
// authentication bearerAuth required
|
|
25722
|
+
// http bearer authentication required
|
|
25723
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
25724
|
+
|
|
25725
|
+
if (limit !== undefined) {
|
|
25726
|
+
localVarQueryParameter['limit'] = limit;
|
|
25727
|
+
}
|
|
25728
|
+
|
|
25729
|
+
if (skip !== undefined) {
|
|
25730
|
+
localVarQueryParameter['skip'] = skip;
|
|
25731
|
+
}
|
|
25732
|
+
|
|
25733
|
+
|
|
25734
|
+
|
|
24760
25735
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24761
25736
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24762
25737
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -25695,6 +26670,19 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
25695
26670
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.getUserBookings']?.[localVarOperationServerIndex]?.url;
|
|
25696
26671
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25697
26672
|
},
|
|
26673
|
+
/**
|
|
26674
|
+
*
|
|
26675
|
+
* @param {number} [limit]
|
|
26676
|
+
* @param {number} [skip]
|
|
26677
|
+
* @param {*} [options] Override http request option.
|
|
26678
|
+
* @throws {RequiredError}
|
|
26679
|
+
*/
|
|
26680
|
+
async getUserEvents(limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserEventsResponse>> {
|
|
26681
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserEvents(limit, skip, options);
|
|
26682
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
26683
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.getUserEvents']?.[localVarOperationServerIndex]?.url;
|
|
26684
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26685
|
+
},
|
|
25698
26686
|
/**
|
|
25699
26687
|
*
|
|
25700
26688
|
* @param {string} id
|
|
@@ -26083,6 +27071,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
26083
27071
|
getUserBookings(requestParameters: UsersApiGetUserBookingsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<UserBookingsResponse> {
|
|
26084
27072
|
return localVarFp.getUserBookings(requestParameters.limit, requestParameters.skip, options).then((request) => request(axios, basePath));
|
|
26085
27073
|
},
|
|
27074
|
+
/**
|
|
27075
|
+
*
|
|
27076
|
+
* @param {UsersApiGetUserEventsRequest} requestParameters Request parameters.
|
|
27077
|
+
* @param {*} [options] Override http request option.
|
|
27078
|
+
* @throws {RequiredError}
|
|
27079
|
+
*/
|
|
27080
|
+
getUserEvents(requestParameters: UsersApiGetUserEventsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<UserEventsResponse> {
|
|
27081
|
+
return localVarFp.getUserEvents(requestParameters.limit, requestParameters.skip, options).then((request) => request(axios, basePath));
|
|
27082
|
+
},
|
|
26086
27083
|
/**
|
|
26087
27084
|
*
|
|
26088
27085
|
* @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
|
|
@@ -26450,6 +27447,27 @@ export interface UsersApiGetUserBookingsRequest {
|
|
|
26450
27447
|
readonly skip?: number
|
|
26451
27448
|
}
|
|
26452
27449
|
|
|
27450
|
+
/**
|
|
27451
|
+
* Request parameters for getUserEvents operation in UsersApi.
|
|
27452
|
+
* @export
|
|
27453
|
+
* @interface UsersApiGetUserEventsRequest
|
|
27454
|
+
*/
|
|
27455
|
+
export interface UsersApiGetUserEventsRequest {
|
|
27456
|
+
/**
|
|
27457
|
+
*
|
|
27458
|
+
* @type {number}
|
|
27459
|
+
* @memberof UsersApiGetUserEvents
|
|
27460
|
+
*/
|
|
27461
|
+
readonly limit?: number
|
|
27462
|
+
|
|
27463
|
+
/**
|
|
27464
|
+
*
|
|
27465
|
+
* @type {number}
|
|
27466
|
+
* @memberof UsersApiGetUserEvents
|
|
27467
|
+
*/
|
|
27468
|
+
readonly skip?: number
|
|
27469
|
+
}
|
|
27470
|
+
|
|
26453
27471
|
/**
|
|
26454
27472
|
* Request parameters for getUserProfileById operation in UsersApi.
|
|
26455
27473
|
* @export
|
|
@@ -26948,6 +27966,17 @@ export class UsersApi extends BaseAPI {
|
|
|
26948
27966
|
return UsersApiFp(this.configuration).getUserBookings(requestParameters.limit, requestParameters.skip, options).then((request) => request(this.axios, this.basePath));
|
|
26949
27967
|
}
|
|
26950
27968
|
|
|
27969
|
+
/**
|
|
27970
|
+
*
|
|
27971
|
+
* @param {UsersApiGetUserEventsRequest} requestParameters Request parameters.
|
|
27972
|
+
* @param {*} [options] Override http request option.
|
|
27973
|
+
* @throws {RequiredError}
|
|
27974
|
+
* @memberof UsersApi
|
|
27975
|
+
*/
|
|
27976
|
+
public getUserEvents(requestParameters: UsersApiGetUserEventsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
27977
|
+
return UsersApiFp(this.configuration).getUserEvents(requestParameters.limit, requestParameters.skip, options).then((request) => request(this.axios, this.basePath));
|
|
27978
|
+
}
|
|
27979
|
+
|
|
26951
27980
|
/**
|
|
26952
27981
|
*
|
|
26953
27982
|
* @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
|