@tennac-booking/sdk 1.0.129 → 1.0.130
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +344 -346
- package/README.md +23 -24
- package/api.ts +857 -1035
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +686 -858
- package/dist/api.js +289 -315
- 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 +686 -858
- package/dist/esm/api.js +285 -311
- 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/BookingsStaffApi.md +10 -10
- package/docs/{EventBookingResponsePlayersInnerInvoiceStatus.md → CheckInPlayerRequest.md} +5 -3
- package/docs/{CheckInPlayersResponse.md → CheckInPlayerResponse.md} +5 -5
- package/docs/ClubAccessSettingsResponse.md +26 -0
- package/docs/ClubPlayerSubscriptionSummary.md +3 -3
- package/docs/ClubSettingsManagerApi.md +52 -0
- package/docs/ClubSettingsStaffApi.md +44 -0
- package/docs/ClubsStaffApi.md +47 -0
- package/docs/CreatePlan201Response.md +2 -0
- package/docs/CreateSubscriptionPlanRequest.md +2 -2
- package/docs/CreateSubscriptionPlanRequestDiscount.md +2 -0
- package/docs/DeleteSubscriptionPlanResponse.md +2 -0
- package/docs/EventsApi.md +1 -4
- package/docs/EventsManagerApi.md +0 -110
- package/docs/{EventBookingResponseSetupStatus.md → GetClubType200Response.md} +5 -3
- package/docs/HotelAccessSettings.md +26 -0
- package/docs/MonthlyTurnoverResponse.md +0 -1
- package/docs/OffPeakRule.md +2 -0
- package/docs/PartialHotelAccessSettings.md +27 -0
- package/docs/PartialPaymentRequirementsSettings.md +23 -0
- package/docs/PartialPublicAccessSettings.md +25 -0
- package/docs/PartialSchoolAccessSettings.md +25 -0
- package/docs/PaymentRequirementsSettings.md +22 -0
- package/docs/PlanPrice.md +26 -0
- package/docs/{CheckInPlayersRequest.md → PlanPriceInput.md} +7 -5
- package/docs/PublicAccessSettings.md +24 -0
- package/docs/PublicSubscriptionPlanResponse.md +5 -1
- package/docs/PublishEventResponse.md +0 -4
- package/docs/SchoolAccessSettings.md +24 -0
- package/docs/SendSubscriptionInvitationRequest.md +2 -0
- package/docs/SubscriptionPlanDiscountResponse.md +34 -0
- package/docs/SubscriptionPlanResponse.md +7 -1
- package/docs/SubscriptionsManagerApi.md +55 -1
- package/docs/UpdateClubAccessSettingsRequest.md +26 -0
- package/docs/UsersApi.md +0 -54
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/EventBookingDetailSummary.md +0 -40
- package/docs/EventBookingResponse.md +0 -36
- package/docs/EventBookingResponsePlayersInner.md +0 -28
- package/docs/EventBookingStatus.md +0 -16
- package/docs/InvoiceStatusSETUPPENDING.md +0 -8
- package/docs/InvoiceStatusSETUPSUCCESS.md +0 -8
- package/docs/ParticipationType.md +0 -10
- package/docs/RecurringDefinitionResponse.md +0 -34
- package/docs/UpdateRecurringDefinition200Response.md +0 -20
- package/docs/UpdateRecurringDefinitionRequest.md +0 -56
- package/docs/UserEventParticipation.md +0 -22
- package/docs/UserEventSummary.md +0 -44
- package/docs/UserEventsResponse.md +0 -28
- package/docs/VisibilityType.md +0 -12
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.121
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1458,34 +1458,34 @@ export interface CheckInEventParticipantsRequest {
|
|
|
1458
1458
|
/**
|
|
1459
1459
|
*
|
|
1460
1460
|
* @export
|
|
1461
|
-
* @interface
|
|
1461
|
+
* @interface CheckInPlayerRequest
|
|
1462
1462
|
*/
|
|
1463
|
-
export interface
|
|
1463
|
+
export interface CheckInPlayerRequest {
|
|
1464
1464
|
/**
|
|
1465
|
-
*
|
|
1466
|
-
* @type {
|
|
1467
|
-
* @memberof
|
|
1465
|
+
* ID du joueur qui a payé/est arrivé
|
|
1466
|
+
* @type {string}
|
|
1467
|
+
* @memberof CheckInPlayerRequest
|
|
1468
1468
|
*/
|
|
1469
|
-
'
|
|
1469
|
+
'playerId': string;
|
|
1470
1470
|
}
|
|
1471
1471
|
/**
|
|
1472
1472
|
*
|
|
1473
1473
|
* @export
|
|
1474
|
-
* @interface
|
|
1474
|
+
* @interface CheckInPlayerResponse
|
|
1475
1475
|
*/
|
|
1476
|
-
export interface
|
|
1476
|
+
export interface CheckInPlayerResponse {
|
|
1477
1477
|
/**
|
|
1478
1478
|
* Message de confirmation
|
|
1479
1479
|
* @type {string}
|
|
1480
|
-
* @memberof
|
|
1480
|
+
* @memberof CheckInPlayerResponse
|
|
1481
1481
|
*/
|
|
1482
1482
|
'message': string;
|
|
1483
1483
|
/**
|
|
1484
|
-
*
|
|
1485
|
-
* @type {
|
|
1486
|
-
* @memberof
|
|
1484
|
+
*
|
|
1485
|
+
* @type {CheckedInPlayer}
|
|
1486
|
+
* @memberof CheckInPlayerResponse
|
|
1487
1487
|
*/
|
|
1488
|
-
'
|
|
1488
|
+
'invoice': CheckedInPlayer;
|
|
1489
1489
|
}
|
|
1490
1490
|
/**
|
|
1491
1491
|
*
|
|
@@ -1837,6 +1837,37 @@ export interface ClientSubscriptionsResponse {
|
|
|
1837
1837
|
*/
|
|
1838
1838
|
'subscriptions': Array<ClientSubscription>;
|
|
1839
1839
|
}
|
|
1840
|
+
/**
|
|
1841
|
+
*
|
|
1842
|
+
* @export
|
|
1843
|
+
* @interface ClubAccessSettingsResponse
|
|
1844
|
+
*/
|
|
1845
|
+
export interface ClubAccessSettingsResponse {
|
|
1846
|
+
/**
|
|
1847
|
+
*
|
|
1848
|
+
* @type {PublicAccessSettings}
|
|
1849
|
+
* @memberof ClubAccessSettingsResponse
|
|
1850
|
+
*/
|
|
1851
|
+
'publicAccess': PublicAccessSettings | null;
|
|
1852
|
+
/**
|
|
1853
|
+
*
|
|
1854
|
+
* @type {SchoolAccessSettings}
|
|
1855
|
+
* @memberof ClubAccessSettingsResponse
|
|
1856
|
+
*/
|
|
1857
|
+
'schoolAccess': SchoolAccessSettings | null;
|
|
1858
|
+
/**
|
|
1859
|
+
*
|
|
1860
|
+
* @type {HotelAccessSettings}
|
|
1861
|
+
* @memberof ClubAccessSettingsResponse
|
|
1862
|
+
*/
|
|
1863
|
+
'hotelAccess': HotelAccessSettings | null;
|
|
1864
|
+
/**
|
|
1865
|
+
*
|
|
1866
|
+
* @type {PaymentRequirementsSettings}
|
|
1867
|
+
* @memberof ClubAccessSettingsResponse
|
|
1868
|
+
*/
|
|
1869
|
+
'paymentRequirements': PaymentRequirementsSettings | null;
|
|
1870
|
+
}
|
|
1840
1871
|
/**
|
|
1841
1872
|
*
|
|
1842
1873
|
* @export
|
|
@@ -2747,11 +2778,11 @@ export interface ClubPlayerSubscriptionSummary {
|
|
|
2747
2778
|
*/
|
|
2748
2779
|
'name': string | null;
|
|
2749
2780
|
/**
|
|
2750
|
-
*
|
|
2751
|
-
* @type {
|
|
2781
|
+
* Tarifications disponibles
|
|
2782
|
+
* @type {Array<PlanPrice>}
|
|
2752
2783
|
* @memberof ClubPlayerSubscriptionSummary
|
|
2753
2784
|
*/
|
|
2754
|
-
'
|
|
2785
|
+
'prices': Array<PlanPrice>;
|
|
2755
2786
|
/**
|
|
2756
2787
|
* Devise
|
|
2757
2788
|
* @type {string}
|
|
@@ -2759,7 +2790,7 @@ export interface ClubPlayerSubscriptionSummary {
|
|
|
2759
2790
|
*/
|
|
2760
2791
|
'currency': string | null;
|
|
2761
2792
|
/**
|
|
2762
|
-
* Intervalle
|
|
2793
|
+
* Intervalle par défaut
|
|
2763
2794
|
* @type {string}
|
|
2764
2795
|
* @memberof ClubPlayerSubscriptionSummary
|
|
2765
2796
|
*/
|
|
@@ -3985,6 +4016,12 @@ export interface CreateOnsiteInvoiceResponseInvoice {
|
|
|
3985
4016
|
* @interface CreatePlan201Response
|
|
3986
4017
|
*/
|
|
3987
4018
|
export interface CreatePlan201Response {
|
|
4019
|
+
/**
|
|
4020
|
+
*
|
|
4021
|
+
* @type {Array<string>}
|
|
4022
|
+
* @memberof CreatePlan201Response
|
|
4023
|
+
*/
|
|
4024
|
+
'priceIds': Array<string>;
|
|
3988
4025
|
/**
|
|
3989
4026
|
*
|
|
3990
4027
|
* @type {string}
|
|
@@ -4099,10 +4136,10 @@ export interface CreateSubscriptionPlanRequest {
|
|
|
4099
4136
|
'description'?: string;
|
|
4100
4137
|
/**
|
|
4101
4138
|
*
|
|
4102
|
-
* @type {
|
|
4139
|
+
* @type {Array<PlanPriceInput>}
|
|
4103
4140
|
* @memberof CreateSubscriptionPlanRequest
|
|
4104
4141
|
*/
|
|
4105
|
-
'
|
|
4142
|
+
'prices': Array<PlanPriceInput>;
|
|
4106
4143
|
/**
|
|
4107
4144
|
*
|
|
4108
4145
|
* @type {string}
|
|
@@ -4140,8 +4177,15 @@ export interface CreateSubscriptionPlanRequestDiscount {
|
|
|
4140
4177
|
*
|
|
4141
4178
|
* @type {Array<OffPeakRule>}
|
|
4142
4179
|
* @memberof CreateSubscriptionPlanRequestDiscount
|
|
4180
|
+
* @deprecated
|
|
4143
4181
|
*/
|
|
4144
4182
|
'offPeakRules'?: Array<OffPeakRule>;
|
|
4183
|
+
/**
|
|
4184
|
+
* Liste optionnelle des noms de périodes tarifaires sur lesquelles appliquer la remise. Laisser vide pour appliquer la remise à toutes les heures d\'ouverture du club.
|
|
4185
|
+
* @type {Array<string>}
|
|
4186
|
+
* @memberof CreateSubscriptionPlanRequestDiscount
|
|
4187
|
+
*/
|
|
4188
|
+
'offPeakRuleNames'?: Array<string>;
|
|
4145
4189
|
/**
|
|
4146
4190
|
*
|
|
4147
4191
|
* @type {string}
|
|
@@ -4295,6 +4339,12 @@ export interface DeleteSubscriptionPlanResponse {
|
|
|
4295
4339
|
* @memberof DeleteSubscriptionPlanResponse
|
|
4296
4340
|
*/
|
|
4297
4341
|
'message': string;
|
|
4342
|
+
/**
|
|
4343
|
+
*
|
|
4344
|
+
* @type {boolean}
|
|
4345
|
+
* @memberof DeleteSubscriptionPlanResponse
|
|
4346
|
+
*/
|
|
4347
|
+
'archivedInstead'?: boolean;
|
|
4298
4348
|
}
|
|
4299
4349
|
/**
|
|
4300
4350
|
*
|
|
@@ -4411,212 +4461,6 @@ export interface EstimateEventPriceRequestSharesInner {
|
|
|
4411
4461
|
*/
|
|
4412
4462
|
'playerId': string;
|
|
4413
4463
|
}
|
|
4414
|
-
/**
|
|
4415
|
-
*
|
|
4416
|
-
* @export
|
|
4417
|
-
* @interface EventBookingDetailSummary
|
|
4418
|
-
*/
|
|
4419
|
-
export interface EventBookingDetailSummary {
|
|
4420
|
-
/**
|
|
4421
|
-
*
|
|
4422
|
-
* @type {string}
|
|
4423
|
-
* @memberof EventBookingDetailSummary
|
|
4424
|
-
*/
|
|
4425
|
-
'id': string;
|
|
4426
|
-
/**
|
|
4427
|
-
*
|
|
4428
|
-
* @type {EventBookingStatus}
|
|
4429
|
-
* @memberof EventBookingDetailSummary
|
|
4430
|
-
*/
|
|
4431
|
-
'status': EventBookingStatus;
|
|
4432
|
-
/**
|
|
4433
|
-
*
|
|
4434
|
-
* @type {string}
|
|
4435
|
-
* @memberof EventBookingDetailSummary
|
|
4436
|
-
*/
|
|
4437
|
-
'teamName'?: string | null;
|
|
4438
|
-
/**
|
|
4439
|
-
*
|
|
4440
|
-
* @type {Array<string>}
|
|
4441
|
-
* @memberof EventBookingDetailSummary
|
|
4442
|
-
*/
|
|
4443
|
-
'players': Array<string>;
|
|
4444
|
-
/**
|
|
4445
|
-
*
|
|
4446
|
-
* @type {Array<string>}
|
|
4447
|
-
* @memberof EventBookingDetailSummary
|
|
4448
|
-
*/
|
|
4449
|
-
'invoices': Array<string>;
|
|
4450
|
-
/**
|
|
4451
|
-
*
|
|
4452
|
-
* @type {string}
|
|
4453
|
-
* @memberof EventBookingDetailSummary
|
|
4454
|
-
*/
|
|
4455
|
-
'creatorPaymentMethodId'?: string | null;
|
|
4456
|
-
/**
|
|
4457
|
-
*
|
|
4458
|
-
* @type {boolean}
|
|
4459
|
-
* @memberof EventBookingDetailSummary
|
|
4460
|
-
*/
|
|
4461
|
-
'paymentMethodSetupCompleted': boolean;
|
|
4462
|
-
/**
|
|
4463
|
-
*
|
|
4464
|
-
* @type {string}
|
|
4465
|
-
* @memberof EventBookingDetailSummary
|
|
4466
|
-
*/
|
|
4467
|
-
'limitSetupDate'?: string | null;
|
|
4468
|
-
/**
|
|
4469
|
-
*
|
|
4470
|
-
* @type {string}
|
|
4471
|
-
* @memberof EventBookingDetailSummary
|
|
4472
|
-
*/
|
|
4473
|
-
'limitCancellationDate'?: string | null;
|
|
4474
|
-
/**
|
|
4475
|
-
*
|
|
4476
|
-
* @type {string}
|
|
4477
|
-
* @memberof EventBookingDetailSummary
|
|
4478
|
-
*/
|
|
4479
|
-
'createdAt': string;
|
|
4480
|
-
/**
|
|
4481
|
-
*
|
|
4482
|
-
* @type {string}
|
|
4483
|
-
* @memberof EventBookingDetailSummary
|
|
4484
|
-
*/
|
|
4485
|
-
'updatedAt': string;
|
|
4486
|
-
}
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
/**
|
|
4490
|
-
*
|
|
4491
|
-
* @export
|
|
4492
|
-
* @interface EventBookingResponse
|
|
4493
|
-
*/
|
|
4494
|
-
export interface EventBookingResponse {
|
|
4495
|
-
/**
|
|
4496
|
-
*
|
|
4497
|
-
* @type {string}
|
|
4498
|
-
* @memberof EventBookingResponse
|
|
4499
|
-
*/
|
|
4500
|
-
'id': string;
|
|
4501
|
-
/**
|
|
4502
|
-
*
|
|
4503
|
-
* @type {EventBookingStatus}
|
|
4504
|
-
* @memberof EventBookingResponse
|
|
4505
|
-
*/
|
|
4506
|
-
'status': EventBookingStatus;
|
|
4507
|
-
/**
|
|
4508
|
-
*
|
|
4509
|
-
* @type {string}
|
|
4510
|
-
* @memberof EventBookingResponse
|
|
4511
|
-
*/
|
|
4512
|
-
'teamName'?: string | null;
|
|
4513
|
-
/**
|
|
4514
|
-
*
|
|
4515
|
-
* @type {Array<EventBookingResponsePlayersInner>}
|
|
4516
|
-
* @memberof EventBookingResponse
|
|
4517
|
-
*/
|
|
4518
|
-
'players': Array<EventBookingResponsePlayersInner>;
|
|
4519
|
-
/**
|
|
4520
|
-
*
|
|
4521
|
-
* @type {string}
|
|
4522
|
-
* @memberof EventBookingResponse
|
|
4523
|
-
*/
|
|
4524
|
-
'setupLimitDate'?: string | null;
|
|
4525
|
-
/**
|
|
4526
|
-
*
|
|
4527
|
-
* @type {string}
|
|
4528
|
-
* @memberof EventBookingResponse
|
|
4529
|
-
*/
|
|
4530
|
-
'cancellationLimitDate'?: string | null;
|
|
4531
|
-
/**
|
|
4532
|
-
*
|
|
4533
|
-
* @type {EventBookingResponseSetupStatus}
|
|
4534
|
-
* @memberof EventBookingResponse
|
|
4535
|
-
*/
|
|
4536
|
-
'setupStatus'?: EventBookingResponseSetupStatus | null;
|
|
4537
|
-
/**
|
|
4538
|
-
*
|
|
4539
|
-
* @type {string}
|
|
4540
|
-
* @memberof EventBookingResponse
|
|
4541
|
-
*/
|
|
4542
|
-
'createdAt': string;
|
|
4543
|
-
/**
|
|
4544
|
-
*
|
|
4545
|
-
* @type {string}
|
|
4546
|
-
* @memberof EventBookingResponse
|
|
4547
|
-
*/
|
|
4548
|
-
'updatedAt': string;
|
|
4549
|
-
}
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
/**
|
|
4553
|
-
*
|
|
4554
|
-
* @export
|
|
4555
|
-
* @interface EventBookingResponsePlayersInner
|
|
4556
|
-
*/
|
|
4557
|
-
export interface EventBookingResponsePlayersInner {
|
|
4558
|
-
/**
|
|
4559
|
-
*
|
|
4560
|
-
* @type {EventBookingResponsePlayersInnerInvoiceStatus}
|
|
4561
|
-
* @memberof EventBookingResponsePlayersInner
|
|
4562
|
-
*/
|
|
4563
|
-
'invoiceStatus'?: EventBookingResponsePlayersInnerInvoiceStatus | null;
|
|
4564
|
-
/**
|
|
4565
|
-
*
|
|
4566
|
-
* @type {string}
|
|
4567
|
-
* @memberof EventBookingResponsePlayersInner
|
|
4568
|
-
*/
|
|
4569
|
-
'profilePicture'?: string | null;
|
|
4570
|
-
/**
|
|
4571
|
-
*
|
|
4572
|
-
* @type {string}
|
|
4573
|
-
* @memberof EventBookingResponsePlayersInner
|
|
4574
|
-
*/
|
|
4575
|
-
'lastName'?: string | null;
|
|
4576
|
-
/**
|
|
4577
|
-
*
|
|
4578
|
-
* @type {string}
|
|
4579
|
-
* @memberof EventBookingResponsePlayersInner
|
|
4580
|
-
*/
|
|
4581
|
-
'firstName'?: string | null;
|
|
4582
|
-
/**
|
|
4583
|
-
*
|
|
4584
|
-
* @type {string}
|
|
4585
|
-
* @memberof EventBookingResponsePlayersInner
|
|
4586
|
-
*/
|
|
4587
|
-
'id': string;
|
|
4588
|
-
}
|
|
4589
|
-
/**
|
|
4590
|
-
*
|
|
4591
|
-
* @export
|
|
4592
|
-
* @interface EventBookingResponsePlayersInnerInvoiceStatus
|
|
4593
|
-
*/
|
|
4594
|
-
export interface EventBookingResponsePlayersInnerInvoiceStatus {
|
|
4595
|
-
}
|
|
4596
|
-
/**
|
|
4597
|
-
*
|
|
4598
|
-
* @export
|
|
4599
|
-
* @interface EventBookingResponseSetupStatus
|
|
4600
|
-
*/
|
|
4601
|
-
export interface EventBookingResponseSetupStatus {
|
|
4602
|
-
}
|
|
4603
|
-
/**
|
|
4604
|
-
*
|
|
4605
|
-
* @export
|
|
4606
|
-
* @enum {string}
|
|
4607
|
-
*/
|
|
4608
|
-
|
|
4609
|
-
export const EventBookingStatus = {
|
|
4610
|
-
Pending: 'pending',
|
|
4611
|
-
Active: 'active',
|
|
4612
|
-
Paid: 'paid',
|
|
4613
|
-
Cancelled: 'cancelled',
|
|
4614
|
-
Expired: 'expired'
|
|
4615
|
-
} as const;
|
|
4616
|
-
|
|
4617
|
-
export type EventBookingStatus = typeof EventBookingStatus[keyof typeof EventBookingStatus];
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
4464
|
/**
|
|
4621
4465
|
*
|
|
4622
4466
|
* @export
|
|
@@ -5152,6 +4996,19 @@ export interface GetClubRoles200Response {
|
|
|
5152
4996
|
*/
|
|
5153
4997
|
'roles': Array<any>;
|
|
5154
4998
|
}
|
|
4999
|
+
/**
|
|
5000
|
+
*
|
|
5001
|
+
* @export
|
|
5002
|
+
* @interface GetClubType200Response
|
|
5003
|
+
*/
|
|
5004
|
+
export interface GetClubType200Response {
|
|
5005
|
+
/**
|
|
5006
|
+
*
|
|
5007
|
+
* @type {string}
|
|
5008
|
+
* @memberof GetClubType200Response
|
|
5009
|
+
*/
|
|
5010
|
+
'clubType': string;
|
|
5011
|
+
}
|
|
5155
5012
|
/**
|
|
5156
5013
|
*
|
|
5157
5014
|
* @export
|
|
@@ -5358,6 +5215,37 @@ export interface GoogleAuthResponseUser {
|
|
|
5358
5215
|
*/
|
|
5359
5216
|
'id': string;
|
|
5360
5217
|
}
|
|
5218
|
+
/**
|
|
5219
|
+
*
|
|
5220
|
+
* @export
|
|
5221
|
+
* @interface HotelAccessSettings
|
|
5222
|
+
*/
|
|
5223
|
+
export interface HotelAccessSettings {
|
|
5224
|
+
/**
|
|
5225
|
+
*
|
|
5226
|
+
* @type {boolean}
|
|
5227
|
+
* @memberof HotelAccessSettings
|
|
5228
|
+
*/
|
|
5229
|
+
'enabled': boolean;
|
|
5230
|
+
/**
|
|
5231
|
+
*
|
|
5232
|
+
* @type {string}
|
|
5233
|
+
* @memberof HotelAccessSettings
|
|
5234
|
+
*/
|
|
5235
|
+
'accessCode'?: string | null;
|
|
5236
|
+
/**
|
|
5237
|
+
*
|
|
5238
|
+
* @type {string}
|
|
5239
|
+
* @memberof HotelAccessSettings
|
|
5240
|
+
*/
|
|
5241
|
+
'validFrom'?: string | null;
|
|
5242
|
+
/**
|
|
5243
|
+
*
|
|
5244
|
+
* @type {string}
|
|
5245
|
+
* @memberof HotelAccessSettings
|
|
5246
|
+
*/
|
|
5247
|
+
'validUntil'?: string | null;
|
|
5248
|
+
}
|
|
5361
5249
|
/**
|
|
5362
5250
|
*
|
|
5363
5251
|
* @export
|
|
@@ -5957,32 +5845,6 @@ export const InvoiceStatus = {
|
|
|
5957
5845
|
export type InvoiceStatus = typeof InvoiceStatus[keyof typeof InvoiceStatus];
|
|
5958
5846
|
|
|
5959
5847
|
|
|
5960
|
-
/**
|
|
5961
|
-
*
|
|
5962
|
-
* @export
|
|
5963
|
-
* @enum {string}
|
|
5964
|
-
*/
|
|
5965
|
-
|
|
5966
|
-
export const InvoiceStatusSETUPPENDING = {
|
|
5967
|
-
SetupPending: 'setup_pending'
|
|
5968
|
-
} as const;
|
|
5969
|
-
|
|
5970
|
-
export type InvoiceStatusSETUPPENDING = typeof InvoiceStatusSETUPPENDING[keyof typeof InvoiceStatusSETUPPENDING];
|
|
5971
|
-
|
|
5972
|
-
|
|
5973
|
-
/**
|
|
5974
|
-
*
|
|
5975
|
-
* @export
|
|
5976
|
-
* @enum {string}
|
|
5977
|
-
*/
|
|
5978
|
-
|
|
5979
|
-
export const InvoiceStatusSETUPSUCCESS = {
|
|
5980
|
-
SetupSuccess: 'setup_success'
|
|
5981
|
-
} as const;
|
|
5982
|
-
|
|
5983
|
-
export type InvoiceStatusSETUPSUCCESS = typeof InvoiceStatusSETUPSUCCESS[keyof typeof InvoiceStatusSETUPSUCCESS];
|
|
5984
|
-
|
|
5985
|
-
|
|
5986
5848
|
/**
|
|
5987
5849
|
*
|
|
5988
5850
|
* @export
|
|
@@ -6320,7 +6182,7 @@ export interface MonthlyBreakdown {
|
|
|
6320
6182
|
'invoiceCount': number;
|
|
6321
6183
|
}
|
|
6322
6184
|
/**
|
|
6323
|
-
*
|
|
6185
|
+
*
|
|
6324
6186
|
* @export
|
|
6325
6187
|
* @interface MonthlyTurnoverResponse
|
|
6326
6188
|
*/
|
|
@@ -6436,6 +6298,12 @@ export interface NoShowFeeResponse {
|
|
|
6436
6298
|
* @interface OffPeakRule
|
|
6437
6299
|
*/
|
|
6438
6300
|
export interface OffPeakRule {
|
|
6301
|
+
/**
|
|
6302
|
+
*
|
|
6303
|
+
* @type {string}
|
|
6304
|
+
* @memberof OffPeakRule
|
|
6305
|
+
*/
|
|
6306
|
+
'pricingPeriodName'?: string;
|
|
6439
6307
|
/**
|
|
6440
6308
|
*
|
|
6441
6309
|
* @type {number}
|
|
@@ -6615,19 +6483,114 @@ export interface PartialClubWeeklySchedule {
|
|
|
6615
6483
|
'sunday'?: ClubDaySchedule;
|
|
6616
6484
|
}
|
|
6617
6485
|
/**
|
|
6618
|
-
*
|
|
6486
|
+
* Make all properties in T optional
|
|
6619
6487
|
* @export
|
|
6620
|
-
* @
|
|
6488
|
+
* @interface PartialHotelAccessSettings
|
|
6621
6489
|
*/
|
|
6622
|
-
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
|
-
|
|
6630
|
-
|
|
6490
|
+
export interface PartialHotelAccessSettings {
|
|
6491
|
+
/**
|
|
6492
|
+
*
|
|
6493
|
+
* @type {string}
|
|
6494
|
+
* @memberof PartialHotelAccessSettings
|
|
6495
|
+
*/
|
|
6496
|
+
'accessCode'?: string;
|
|
6497
|
+
/**
|
|
6498
|
+
*
|
|
6499
|
+
* @type {string}
|
|
6500
|
+
* @memberof PartialHotelAccessSettings
|
|
6501
|
+
*/
|
|
6502
|
+
'validFrom'?: string;
|
|
6503
|
+
/**
|
|
6504
|
+
*
|
|
6505
|
+
* @type {string}
|
|
6506
|
+
* @memberof PartialHotelAccessSettings
|
|
6507
|
+
*/
|
|
6508
|
+
'validUntil'?: string;
|
|
6509
|
+
/**
|
|
6510
|
+
*
|
|
6511
|
+
* @type {boolean}
|
|
6512
|
+
* @memberof PartialHotelAccessSettings
|
|
6513
|
+
*/
|
|
6514
|
+
'enabled'?: boolean;
|
|
6515
|
+
}
|
|
6516
|
+
/**
|
|
6517
|
+
* Make all properties in T optional
|
|
6518
|
+
* @export
|
|
6519
|
+
* @interface PartialPaymentRequirementsSettings
|
|
6520
|
+
*/
|
|
6521
|
+
export interface PartialPaymentRequirementsSettings {
|
|
6522
|
+
/**
|
|
6523
|
+
*
|
|
6524
|
+
* @type {boolean}
|
|
6525
|
+
* @memberof PartialPaymentRequirementsSettings
|
|
6526
|
+
*/
|
|
6527
|
+
'isNoShowEnabled'?: boolean;
|
|
6528
|
+
/**
|
|
6529
|
+
*
|
|
6530
|
+
* @type {boolean}
|
|
6531
|
+
* @memberof PartialPaymentRequirementsSettings
|
|
6532
|
+
*/
|
|
6533
|
+
'requireOnlinePayment'?: boolean;
|
|
6534
|
+
}
|
|
6535
|
+
/**
|
|
6536
|
+
* Make all properties in T optional
|
|
6537
|
+
* @export
|
|
6538
|
+
* @interface PartialPublicAccessSettings
|
|
6539
|
+
*/
|
|
6540
|
+
export interface PartialPublicAccessSettings {
|
|
6541
|
+
/**
|
|
6542
|
+
*
|
|
6543
|
+
* @type {string}
|
|
6544
|
+
* @memberof PartialPublicAccessSettings
|
|
6545
|
+
*/
|
|
6546
|
+
'paymentMode'?: PartialPublicAccessSettingsPaymentModeEnum;
|
|
6547
|
+
/**
|
|
6548
|
+
*
|
|
6549
|
+
* @type {number}
|
|
6550
|
+
* @memberof PartialPublicAccessSettings
|
|
6551
|
+
*/
|
|
6552
|
+
'pricePerAccess'?: number;
|
|
6553
|
+
/**
|
|
6554
|
+
*
|
|
6555
|
+
* @type {boolean}
|
|
6556
|
+
* @memberof PartialPublicAccessSettings
|
|
6557
|
+
*/
|
|
6558
|
+
'enabled'?: boolean;
|
|
6559
|
+
}
|
|
6560
|
+
|
|
6561
|
+
export const PartialPublicAccessSettingsPaymentModeEnum = {
|
|
6562
|
+
Free: 'free',
|
|
6563
|
+
AccessFee: 'access_fee',
|
|
6564
|
+
PerCourt: 'per_court'
|
|
6565
|
+
} as const;
|
|
6566
|
+
|
|
6567
|
+
export type PartialPublicAccessSettingsPaymentModeEnum = typeof PartialPublicAccessSettingsPaymentModeEnum[keyof typeof PartialPublicAccessSettingsPaymentModeEnum];
|
|
6568
|
+
|
|
6569
|
+
/**
|
|
6570
|
+
* Make all properties in T optional
|
|
6571
|
+
* @export
|
|
6572
|
+
* @interface PartialSchoolAccessSettings
|
|
6573
|
+
*/
|
|
6574
|
+
export interface PartialSchoolAccessSettings {
|
|
6575
|
+
/**
|
|
6576
|
+
*
|
|
6577
|
+
* @type {Array<string>}
|
|
6578
|
+
* @memberof PartialSchoolAccessSettings
|
|
6579
|
+
*/
|
|
6580
|
+
'emailSuffixes'?: Array<string>;
|
|
6581
|
+
/**
|
|
6582
|
+
*
|
|
6583
|
+
* @type {boolean}
|
|
6584
|
+
* @memberof PartialSchoolAccessSettings
|
|
6585
|
+
*/
|
|
6586
|
+
'requireCertification'?: boolean;
|
|
6587
|
+
/**
|
|
6588
|
+
*
|
|
6589
|
+
* @type {boolean}
|
|
6590
|
+
* @memberof PartialSchoolAccessSettings
|
|
6591
|
+
*/
|
|
6592
|
+
'enabled'?: boolean;
|
|
6593
|
+
}
|
|
6631
6594
|
/**
|
|
6632
6595
|
*
|
|
6633
6596
|
* @export
|
|
@@ -6677,6 +6640,25 @@ export const PaymentMethod = {
|
|
|
6677
6640
|
export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
|
|
6678
6641
|
|
|
6679
6642
|
|
|
6643
|
+
/**
|
|
6644
|
+
*
|
|
6645
|
+
* @export
|
|
6646
|
+
* @interface PaymentRequirementsSettings
|
|
6647
|
+
*/
|
|
6648
|
+
export interface PaymentRequirementsSettings {
|
|
6649
|
+
/**
|
|
6650
|
+
*
|
|
6651
|
+
* @type {boolean}
|
|
6652
|
+
* @memberof PaymentRequirementsSettings
|
|
6653
|
+
*/
|
|
6654
|
+
'isNoShowEnabled': boolean;
|
|
6655
|
+
/**
|
|
6656
|
+
*
|
|
6657
|
+
* @type {boolean}
|
|
6658
|
+
* @memberof PaymentRequirementsSettings
|
|
6659
|
+
*/
|
|
6660
|
+
'requireOnlinePayment': boolean;
|
|
6661
|
+
}
|
|
6680
6662
|
/**
|
|
6681
6663
|
* From T, pick a set of properties whose keys are in the union K
|
|
6682
6664
|
* @export
|
|
@@ -6772,6 +6754,60 @@ export const PlanInterval = {
|
|
|
6772
6754
|
export type PlanInterval = typeof PlanInterval[keyof typeof PlanInterval];
|
|
6773
6755
|
|
|
6774
6756
|
|
|
6757
|
+
/**
|
|
6758
|
+
*
|
|
6759
|
+
* @export
|
|
6760
|
+
* @interface PlanPrice
|
|
6761
|
+
*/
|
|
6762
|
+
export interface PlanPrice {
|
|
6763
|
+
/**
|
|
6764
|
+
*
|
|
6765
|
+
* @type {number}
|
|
6766
|
+
* @memberof PlanPrice
|
|
6767
|
+
*/
|
|
6768
|
+
'amountInCents': number;
|
|
6769
|
+
/**
|
|
6770
|
+
*
|
|
6771
|
+
* @type {PlanInterval}
|
|
6772
|
+
* @memberof PlanPrice
|
|
6773
|
+
*/
|
|
6774
|
+
'interval': PlanInterval;
|
|
6775
|
+
/**
|
|
6776
|
+
*
|
|
6777
|
+
* @type {boolean}
|
|
6778
|
+
* @memberof PlanPrice
|
|
6779
|
+
*/
|
|
6780
|
+
'active'?: boolean;
|
|
6781
|
+
/**
|
|
6782
|
+
*
|
|
6783
|
+
* @type {string}
|
|
6784
|
+
* @memberof PlanPrice
|
|
6785
|
+
*/
|
|
6786
|
+
'stripePriceId'?: string;
|
|
6787
|
+
}
|
|
6788
|
+
|
|
6789
|
+
|
|
6790
|
+
/**
|
|
6791
|
+
*
|
|
6792
|
+
* @export
|
|
6793
|
+
* @interface PlanPriceInput
|
|
6794
|
+
*/
|
|
6795
|
+
export interface PlanPriceInput {
|
|
6796
|
+
/**
|
|
6797
|
+
*
|
|
6798
|
+
* @type {number}
|
|
6799
|
+
* @memberof PlanPriceInput
|
|
6800
|
+
*/
|
|
6801
|
+
'amountInCents': number;
|
|
6802
|
+
/**
|
|
6803
|
+
*
|
|
6804
|
+
* @type {PlanInterval}
|
|
6805
|
+
* @memberof PlanPriceInput
|
|
6806
|
+
*/
|
|
6807
|
+
'interval': PlanInterval;
|
|
6808
|
+
}
|
|
6809
|
+
|
|
6810
|
+
|
|
6775
6811
|
/**
|
|
6776
6812
|
*
|
|
6777
6813
|
* @export
|
|
@@ -7131,6 +7167,40 @@ export interface ProfilePictureUpdateRequestBody {
|
|
|
7131
7167
|
*/
|
|
7132
7168
|
'profilePicture': string;
|
|
7133
7169
|
}
|
|
7170
|
+
/**
|
|
7171
|
+
*
|
|
7172
|
+
* @export
|
|
7173
|
+
* @interface PublicAccessSettings
|
|
7174
|
+
*/
|
|
7175
|
+
export interface PublicAccessSettings {
|
|
7176
|
+
/**
|
|
7177
|
+
*
|
|
7178
|
+
* @type {boolean}
|
|
7179
|
+
* @memberof PublicAccessSettings
|
|
7180
|
+
*/
|
|
7181
|
+
'enabled': boolean;
|
|
7182
|
+
/**
|
|
7183
|
+
*
|
|
7184
|
+
* @type {string}
|
|
7185
|
+
* @memberof PublicAccessSettings
|
|
7186
|
+
*/
|
|
7187
|
+
'paymentMode': PublicAccessSettingsPaymentModeEnum;
|
|
7188
|
+
/**
|
|
7189
|
+
*
|
|
7190
|
+
* @type {number}
|
|
7191
|
+
* @memberof PublicAccessSettings
|
|
7192
|
+
*/
|
|
7193
|
+
'pricePerAccess': number | null;
|
|
7194
|
+
}
|
|
7195
|
+
|
|
7196
|
+
export const PublicAccessSettingsPaymentModeEnum = {
|
|
7197
|
+
Free: 'free',
|
|
7198
|
+
AccessFee: 'access_fee',
|
|
7199
|
+
PerCourt: 'per_court'
|
|
7200
|
+
} as const;
|
|
7201
|
+
|
|
7202
|
+
export type PublicAccessSettingsPaymentModeEnum = typeof PublicAccessSettingsPaymentModeEnum[keyof typeof PublicAccessSettingsPaymentModeEnum];
|
|
7203
|
+
|
|
7134
7204
|
/**
|
|
7135
7205
|
*
|
|
7136
7206
|
* @export
|
|
@@ -7154,13 +7224,19 @@ export interface PublicSubscriptionPlanResponse {
|
|
|
7154
7224
|
* @type {number}
|
|
7155
7225
|
* @memberof PublicSubscriptionPlanResponse
|
|
7156
7226
|
*/
|
|
7157
|
-
'amountInCents'
|
|
7227
|
+
'amountInCents'?: number;
|
|
7158
7228
|
/**
|
|
7159
7229
|
*
|
|
7160
7230
|
* @type {string}
|
|
7161
7231
|
* @memberof PublicSubscriptionPlanResponse
|
|
7162
7232
|
*/
|
|
7163
7233
|
'currency': string;
|
|
7234
|
+
/**
|
|
7235
|
+
*
|
|
7236
|
+
* @type {Array<PlanPrice>}
|
|
7237
|
+
* @memberof PublicSubscriptionPlanResponse
|
|
7238
|
+
*/
|
|
7239
|
+
'prices': Array<PlanPrice>;
|
|
7164
7240
|
/**
|
|
7165
7241
|
*
|
|
7166
7242
|
* @type {PlanInterval}
|
|
@@ -7173,6 +7249,12 @@ export interface PublicSubscriptionPlanResponse {
|
|
|
7173
7249
|
* @memberof PublicSubscriptionPlanResponse
|
|
7174
7250
|
*/
|
|
7175
7251
|
'description'?: string;
|
|
7252
|
+
/**
|
|
7253
|
+
*
|
|
7254
|
+
* @type {SubscriptionPlanDiscountResponse}
|
|
7255
|
+
* @memberof PublicSubscriptionPlanResponse
|
|
7256
|
+
*/
|
|
7257
|
+
'discount'?: SubscriptionPlanDiscountResponse;
|
|
7176
7258
|
}
|
|
7177
7259
|
|
|
7178
7260
|
|
|
@@ -7279,18 +7361,6 @@ export interface PublishEventResponse {
|
|
|
7279
7361
|
* @memberof PublishEventResponse
|
|
7280
7362
|
*/
|
|
7281
7363
|
'refundedBookingIds'?: Array<string>;
|
|
7282
|
-
/**
|
|
7283
|
-
*
|
|
7284
|
-
* @type {EventBookingResponse}
|
|
7285
|
-
* @memberof PublishEventResponse
|
|
7286
|
-
*/
|
|
7287
|
-
'userBooking'?: EventBookingResponse;
|
|
7288
|
-
/**
|
|
7289
|
-
*
|
|
7290
|
-
* @type {boolean}
|
|
7291
|
-
* @memberof PublishEventResponse
|
|
7292
|
-
*/
|
|
7293
|
-
'needsToSetupPaymentMethod'?: boolean;
|
|
7294
7364
|
}
|
|
7295
7365
|
/**
|
|
7296
7366
|
*
|
|
@@ -7501,71 +7571,6 @@ export interface QuickReservationSlotSummary {
|
|
|
7501
7571
|
*/
|
|
7502
7572
|
'sportKey'?: string;
|
|
7503
7573
|
}
|
|
7504
|
-
/**
|
|
7505
|
-
*
|
|
7506
|
-
* @export
|
|
7507
|
-
* @interface RecurringDefinitionResponse
|
|
7508
|
-
*/
|
|
7509
|
-
export interface RecurringDefinitionResponse {
|
|
7510
|
-
/**
|
|
7511
|
-
*
|
|
7512
|
-
* @type {string}
|
|
7513
|
-
* @memberof RecurringDefinitionResponse
|
|
7514
|
-
*/
|
|
7515
|
-
'id': string;
|
|
7516
|
-
/**
|
|
7517
|
-
*
|
|
7518
|
-
* @type {string}
|
|
7519
|
-
* @memberof RecurringDefinitionResponse
|
|
7520
|
-
*/
|
|
7521
|
-
'clubId'?: string;
|
|
7522
|
-
/**
|
|
7523
|
-
*
|
|
7524
|
-
* @type {string}
|
|
7525
|
-
* @memberof RecurringDefinitionResponse
|
|
7526
|
-
*/
|
|
7527
|
-
'title': string;
|
|
7528
|
-
/**
|
|
7529
|
-
*
|
|
7530
|
-
* @type {string}
|
|
7531
|
-
* @memberof RecurringDefinitionResponse
|
|
7532
|
-
*/
|
|
7533
|
-
'baseStartDate': string;
|
|
7534
|
-
/**
|
|
7535
|
-
*
|
|
7536
|
-
* @type {string}
|
|
7537
|
-
* @memberof RecurringDefinitionResponse
|
|
7538
|
-
*/
|
|
7539
|
-
'baseEndDate': string;
|
|
7540
|
-
/**
|
|
7541
|
-
*
|
|
7542
|
-
* @type {string}
|
|
7543
|
-
* @memberof RecurringDefinitionResponse
|
|
7544
|
-
*/
|
|
7545
|
-
'recurringType': RecurringDefinitionResponseRecurringTypeEnum;
|
|
7546
|
-
/**
|
|
7547
|
-
*
|
|
7548
|
-
* @type {string}
|
|
7549
|
-
* @memberof RecurringDefinitionResponse
|
|
7550
|
-
*/
|
|
7551
|
-
'recurrenceEndDate'?: string;
|
|
7552
|
-
/**
|
|
7553
|
-
*
|
|
7554
|
-
* @type {boolean}
|
|
7555
|
-
* @memberof RecurringDefinitionResponse
|
|
7556
|
-
*/
|
|
7557
|
-
'isActive'?: boolean;
|
|
7558
|
-
}
|
|
7559
|
-
|
|
7560
|
-
export const RecurringDefinitionResponseRecurringTypeEnum = {
|
|
7561
|
-
Daily: 'daily',
|
|
7562
|
-
Weekly: 'weekly',
|
|
7563
|
-
Monthly: 'monthly',
|
|
7564
|
-
Unique: 'unique'
|
|
7565
|
-
} as const;
|
|
7566
|
-
|
|
7567
|
-
export type RecurringDefinitionResponseRecurringTypeEnum = typeof RecurringDefinitionResponseRecurringTypeEnum[keyof typeof RecurringDefinitionResponseRecurringTypeEnum];
|
|
7568
|
-
|
|
7569
7574
|
/**
|
|
7570
7575
|
*
|
|
7571
7576
|
* @export
|
|
@@ -7863,6 +7868,31 @@ export interface RevenueBySportItem {
|
|
|
7863
7868
|
*/
|
|
7864
7869
|
'totalTurnover': number;
|
|
7865
7870
|
}
|
|
7871
|
+
/**
|
|
7872
|
+
*
|
|
7873
|
+
* @export
|
|
7874
|
+
* @interface SchoolAccessSettings
|
|
7875
|
+
*/
|
|
7876
|
+
export interface SchoolAccessSettings {
|
|
7877
|
+
/**
|
|
7878
|
+
*
|
|
7879
|
+
* @type {boolean}
|
|
7880
|
+
* @memberof SchoolAccessSettings
|
|
7881
|
+
*/
|
|
7882
|
+
'enabled': boolean;
|
|
7883
|
+
/**
|
|
7884
|
+
*
|
|
7885
|
+
* @type {Array<string>}
|
|
7886
|
+
* @memberof SchoolAccessSettings
|
|
7887
|
+
*/
|
|
7888
|
+
'emailSuffixes': Array<string>;
|
|
7889
|
+
/**
|
|
7890
|
+
*
|
|
7891
|
+
* @type {boolean}
|
|
7892
|
+
* @memberof SchoolAccessSettings
|
|
7893
|
+
*/
|
|
7894
|
+
'requireCertification': boolean;
|
|
7895
|
+
}
|
|
7866
7896
|
/**
|
|
7867
7897
|
*
|
|
7868
7898
|
* @export
|
|
@@ -7881,6 +7911,12 @@ export interface SendSubscriptionInvitationRequest {
|
|
|
7881
7911
|
* @memberof SendSubscriptionInvitationRequest
|
|
7882
7912
|
*/
|
|
7883
7913
|
'productId': string;
|
|
7914
|
+
/**
|
|
7915
|
+
* Price spécifique proposé dans l\'invitation (facultatif).
|
|
7916
|
+
* @type {string}
|
|
7917
|
+
* @memberof SendSubscriptionInvitationRequest
|
|
7918
|
+
*/
|
|
7919
|
+
'priceId'?: string;
|
|
7884
7920
|
}
|
|
7885
7921
|
/**
|
|
7886
7922
|
*
|
|
@@ -10049,45 +10085,108 @@ export interface SubscriptionMutationResponse {
|
|
|
10049
10085
|
/**
|
|
10050
10086
|
*
|
|
10051
10087
|
* @export
|
|
10052
|
-
* @interface
|
|
10088
|
+
* @interface SubscriptionPlanDiscountResponse
|
|
10053
10089
|
*/
|
|
10054
|
-
export interface
|
|
10090
|
+
export interface SubscriptionPlanDiscountResponse {
|
|
10055
10091
|
/**
|
|
10056
10092
|
*
|
|
10057
|
-
* @type {
|
|
10058
|
-
* @memberof
|
|
10093
|
+
* @type {DiscountType}
|
|
10094
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
10059
10095
|
*/
|
|
10060
|
-
'
|
|
10096
|
+
'type': DiscountType;
|
|
10061
10097
|
/**
|
|
10062
10098
|
*
|
|
10063
|
-
* @type {
|
|
10064
|
-
* @memberof
|
|
10099
|
+
* @type {number}
|
|
10100
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
10065
10101
|
*/
|
|
10066
|
-
'
|
|
10102
|
+
'percentage'?: number;
|
|
10067
10103
|
/**
|
|
10068
10104
|
*
|
|
10069
|
-
* @type {
|
|
10070
|
-
* @memberof
|
|
10105
|
+
* @type {number}
|
|
10106
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
10071
10107
|
*/
|
|
10072
|
-
'
|
|
10108
|
+
'maxDiscountAmountInCents'?: number;
|
|
10073
10109
|
/**
|
|
10074
10110
|
*
|
|
10075
10111
|
* @type {string}
|
|
10076
|
-
* @memberof
|
|
10112
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
10077
10113
|
*/
|
|
10078
|
-
'
|
|
10114
|
+
'validFrom'?: string;
|
|
10079
10115
|
/**
|
|
10080
10116
|
*
|
|
10081
|
-
* @type {
|
|
10117
|
+
* @type {string}
|
|
10118
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
10119
|
+
*/
|
|
10120
|
+
'validTo'?: string;
|
|
10121
|
+
/**
|
|
10122
|
+
*
|
|
10123
|
+
* @type {Array<string>}
|
|
10124
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
10125
|
+
*/
|
|
10126
|
+
'offPeakRuleNames'?: Array<string>;
|
|
10127
|
+
/**
|
|
10128
|
+
*
|
|
10129
|
+
* @type {Array<OffPeakRule>}
|
|
10130
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
10131
|
+
*/
|
|
10132
|
+
'offPeakRules'?: Array<OffPeakRule>;
|
|
10133
|
+
/**
|
|
10134
|
+
*
|
|
10135
|
+
* @type {boolean}
|
|
10136
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
10137
|
+
*/
|
|
10138
|
+
'bookingFree'?: boolean;
|
|
10139
|
+
}
|
|
10140
|
+
|
|
10141
|
+
|
|
10142
|
+
/**
|
|
10143
|
+
*
|
|
10144
|
+
* @export
|
|
10145
|
+
* @interface SubscriptionPlanResponse
|
|
10146
|
+
*/
|
|
10147
|
+
export interface SubscriptionPlanResponse {
|
|
10148
|
+
/**
|
|
10149
|
+
*
|
|
10150
|
+
* @type {string}
|
|
10082
10151
|
* @memberof SubscriptionPlanResponse
|
|
10083
10152
|
*/
|
|
10084
|
-
'
|
|
10153
|
+
'productId': string;
|
|
10154
|
+
/**
|
|
10155
|
+
*
|
|
10156
|
+
* @type {string}
|
|
10157
|
+
* @memberof SubscriptionPlanResponse
|
|
10158
|
+
*/
|
|
10159
|
+
'productName': string;
|
|
10160
|
+
/**
|
|
10161
|
+
*
|
|
10162
|
+
* @type {boolean}
|
|
10163
|
+
* @memberof SubscriptionPlanResponse
|
|
10164
|
+
*/
|
|
10165
|
+
'productActive': boolean;
|
|
10166
|
+
/**
|
|
10167
|
+
*
|
|
10168
|
+
* @type {string}
|
|
10169
|
+
* @memberof SubscriptionPlanResponse
|
|
10170
|
+
*/
|
|
10171
|
+
'priceId': string;
|
|
10172
|
+
/**
|
|
10173
|
+
*
|
|
10174
|
+
* @type {number}
|
|
10175
|
+
* @memberof SubscriptionPlanResponse
|
|
10176
|
+
*/
|
|
10177
|
+
'amountInCents'?: number;
|
|
10085
10178
|
/**
|
|
10086
10179
|
*
|
|
10087
10180
|
* @type {string}
|
|
10088
10181
|
* @memberof SubscriptionPlanResponse
|
|
10089
10182
|
*/
|
|
10090
10183
|
'currency': string;
|
|
10184
|
+
/**
|
|
10185
|
+
*
|
|
10186
|
+
* @type {Array<PlanPrice>}
|
|
10187
|
+
* @memberof SubscriptionPlanResponse
|
|
10188
|
+
*/
|
|
10189
|
+
'prices': Array<PlanPrice>;
|
|
10091
10190
|
/**
|
|
10092
10191
|
*
|
|
10093
10192
|
* @type {PlanInterval}
|
|
@@ -10100,6 +10199,18 @@ export interface SubscriptionPlanResponse {
|
|
|
10100
10199
|
* @memberof SubscriptionPlanResponse
|
|
10101
10200
|
*/
|
|
10102
10201
|
'priceActive': boolean;
|
|
10202
|
+
/**
|
|
10203
|
+
*
|
|
10204
|
+
* @type {string}
|
|
10205
|
+
* @memberof SubscriptionPlanResponse
|
|
10206
|
+
*/
|
|
10207
|
+
'description'?: string;
|
|
10208
|
+
/**
|
|
10209
|
+
*
|
|
10210
|
+
* @type {SubscriptionPlanDiscountResponse}
|
|
10211
|
+
* @memberof SubscriptionPlanResponse
|
|
10212
|
+
*/
|
|
10213
|
+
'discount'?: SubscriptionPlanDiscountResponse;
|
|
10103
10214
|
}
|
|
10104
10215
|
|
|
10105
10216
|
|
|
@@ -10169,6 +10280,37 @@ export interface UpdateActuality200Response {
|
|
|
10169
10280
|
*/
|
|
10170
10281
|
'actuality': any;
|
|
10171
10282
|
}
|
|
10283
|
+
/**
|
|
10284
|
+
*
|
|
10285
|
+
* @export
|
|
10286
|
+
* @interface UpdateClubAccessSettingsRequest
|
|
10287
|
+
*/
|
|
10288
|
+
export interface UpdateClubAccessSettingsRequest {
|
|
10289
|
+
/**
|
|
10290
|
+
*
|
|
10291
|
+
* @type {PartialPublicAccessSettings}
|
|
10292
|
+
* @memberof UpdateClubAccessSettingsRequest
|
|
10293
|
+
*/
|
|
10294
|
+
'publicAccess'?: PartialPublicAccessSettings;
|
|
10295
|
+
/**
|
|
10296
|
+
*
|
|
10297
|
+
* @type {PartialSchoolAccessSettings}
|
|
10298
|
+
* @memberof UpdateClubAccessSettingsRequest
|
|
10299
|
+
*/
|
|
10300
|
+
'schoolAccess'?: PartialSchoolAccessSettings;
|
|
10301
|
+
/**
|
|
10302
|
+
*
|
|
10303
|
+
* @type {PartialHotelAccessSettings}
|
|
10304
|
+
* @memberof UpdateClubAccessSettingsRequest
|
|
10305
|
+
*/
|
|
10306
|
+
'hotelAccess'?: PartialHotelAccessSettings;
|
|
10307
|
+
/**
|
|
10308
|
+
*
|
|
10309
|
+
* @type {PartialPaymentRequirementsSettings}
|
|
10310
|
+
* @memberof UpdateClubAccessSettingsRequest
|
|
10311
|
+
*/
|
|
10312
|
+
'paymentRequirements'?: PartialPaymentRequirementsSettings;
|
|
10313
|
+
}
|
|
10172
10314
|
/**
|
|
10173
10315
|
*
|
|
10174
10316
|
* @export
|
|
@@ -10731,169 +10873,6 @@ export interface UpdatePlanRequest {
|
|
|
10731
10873
|
*/
|
|
10732
10874
|
'oldPriceId': string;
|
|
10733
10875
|
}
|
|
10734
|
-
/**
|
|
10735
|
-
*
|
|
10736
|
-
* @export
|
|
10737
|
-
* @interface UpdateRecurringDefinition200Response
|
|
10738
|
-
*/
|
|
10739
|
-
export interface UpdateRecurringDefinition200Response {
|
|
10740
|
-
/**
|
|
10741
|
-
*
|
|
10742
|
-
* @type {boolean}
|
|
10743
|
-
* @memberof UpdateRecurringDefinition200Response
|
|
10744
|
-
*/
|
|
10745
|
-
'ok': boolean;
|
|
10746
|
-
}
|
|
10747
|
-
/**
|
|
10748
|
-
*
|
|
10749
|
-
* @export
|
|
10750
|
-
* @interface UpdateRecurringDefinitionRequest
|
|
10751
|
-
*/
|
|
10752
|
-
export interface UpdateRecurringDefinitionRequest {
|
|
10753
|
-
/**
|
|
10754
|
-
*
|
|
10755
|
-
* @type {string}
|
|
10756
|
-
* @memberof UpdateRecurringDefinitionRequest
|
|
10757
|
-
*/
|
|
10758
|
-
'title'?: string;
|
|
10759
|
-
/**
|
|
10760
|
-
*
|
|
10761
|
-
* @type {string}
|
|
10762
|
-
* @memberof UpdateRecurringDefinitionRequest
|
|
10763
|
-
*/
|
|
10764
|
-
'description'?: string;
|
|
10765
|
-
/**
|
|
10766
|
-
*
|
|
10767
|
-
* @type {string}
|
|
10768
|
-
* @memberof UpdateRecurringDefinitionRequest
|
|
10769
|
-
*/
|
|
10770
|
-
'photoUrl'?: string;
|
|
10771
|
-
/**
|
|
10772
|
-
*
|
|
10773
|
-
* @type {string}
|
|
10774
|
-
* @memberof UpdateRecurringDefinitionRequest
|
|
10775
|
-
*/
|
|
10776
|
-
'sportId'?: string;
|
|
10777
|
-
/**
|
|
10778
|
-
*
|
|
10779
|
-
* @type {Array<string>}
|
|
10780
|
-
* @memberof UpdateRecurringDefinitionRequest
|
|
10781
|
-
*/
|
|
10782
|
-
'courts'?: Array<string>;
|
|
10783
|
-
/**
|
|
10784
|
-
*
|
|
10785
|
-
* @type {Array<string | null>}
|
|
10786
|
-
* @memberof UpdateRecurringDefinitionRequest
|
|
10787
|
-
*/
|
|
10788
|
-
'levels'?: Array<string | null>;
|
|
10789
|
-
/**
|
|
10790
|
-
*
|
|
10791
|
-
* @type {Array<EventSponsor>}
|
|
10792
|
-
* @memberof UpdateRecurringDefinitionRequest
|
|
10793
|
-
*/
|
|
10794
|
-
'sponsors'?: Array<EventSponsor>;
|
|
10795
|
-
/**
|
|
10796
|
-
*
|
|
10797
|
-
* @type {string}
|
|
10798
|
-
* @memberof UpdateRecurringDefinitionRequest
|
|
10799
|
-
*/
|
|
10800
|
-
'visibilityType'?: UpdateRecurringDefinitionRequestVisibilityTypeEnum;
|
|
10801
|
-
/**
|
|
10802
|
-
*
|
|
10803
|
-
* @type {string}
|
|
10804
|
-
* @memberof UpdateRecurringDefinitionRequest
|
|
10805
|
-
*/
|
|
10806
|
-
'type'?: UpdateRecurringDefinitionRequestTypeEnum;
|
|
10807
|
-
/**
|
|
10808
|
-
*
|
|
10809
|
-
* @type {string}
|
|
10810
|
-
* @memberof UpdateRecurringDefinitionRequest
|
|
10811
|
-
*/
|
|
10812
|
-
'participationType'?: UpdateRecurringDefinitionRequestParticipationTypeEnum;
|
|
10813
|
-
/**
|
|
10814
|
-
*
|
|
10815
|
-
* @type {number}
|
|
10816
|
-
* @memberof UpdateRecurringDefinitionRequest
|
|
10817
|
-
*/
|
|
10818
|
-
'playerLimit'?: number;
|
|
10819
|
-
/**
|
|
10820
|
-
*
|
|
10821
|
-
* @type {number}
|
|
10822
|
-
* @memberof UpdateRecurringDefinitionRequest
|
|
10823
|
-
*/
|
|
10824
|
-
'teamLimit'?: number;
|
|
10825
|
-
/**
|
|
10826
|
-
*
|
|
10827
|
-
* @type {number}
|
|
10828
|
-
* @memberof UpdateRecurringDefinitionRequest
|
|
10829
|
-
*/
|
|
10830
|
-
'playersPerTeam'?: number;
|
|
10831
|
-
/**
|
|
10832
|
-
*
|
|
10833
|
-
* @type {number}
|
|
10834
|
-
* @memberof UpdateRecurringDefinitionRequest
|
|
10835
|
-
*/
|
|
10836
|
-
'price'?: number;
|
|
10837
|
-
/**
|
|
10838
|
-
*
|
|
10839
|
-
* @type {Array<SubscriberPrice>}
|
|
10840
|
-
* @memberof UpdateRecurringDefinitionRequest
|
|
10841
|
-
*/
|
|
10842
|
-
'subscriberPrices'?: Array<SubscriberPrice>;
|
|
10843
|
-
/**
|
|
10844
|
-
*
|
|
10845
|
-
* @type {string}
|
|
10846
|
-
* @memberof UpdateRecurringDefinitionRequest
|
|
10847
|
-
*/
|
|
10848
|
-
'baseStartDate'?: string;
|
|
10849
|
-
/**
|
|
10850
|
-
*
|
|
10851
|
-
* @type {string}
|
|
10852
|
-
* @memberof UpdateRecurringDefinitionRequest
|
|
10853
|
-
*/
|
|
10854
|
-
'baseEndDate'?: string;
|
|
10855
|
-
/**
|
|
10856
|
-
*
|
|
10857
|
-
* @type {string}
|
|
10858
|
-
* @memberof UpdateRecurringDefinitionRequest
|
|
10859
|
-
*/
|
|
10860
|
-
'recurringType'?: UpdateRecurringDefinitionRequestRecurringTypeEnum;
|
|
10861
|
-
/**
|
|
10862
|
-
*
|
|
10863
|
-
* @type {string}
|
|
10864
|
-
* @memberof UpdateRecurringDefinitionRequest
|
|
10865
|
-
*/
|
|
10866
|
-
'recurrenceEndDate'?: string;
|
|
10867
|
-
}
|
|
10868
|
-
|
|
10869
|
-
export const UpdateRecurringDefinitionRequestVisibilityTypeEnum = {
|
|
10870
|
-
Public: 'public',
|
|
10871
|
-
Private: 'private',
|
|
10872
|
-
Invitation: 'invitation'
|
|
10873
|
-
} as const;
|
|
10874
|
-
|
|
10875
|
-
export type UpdateRecurringDefinitionRequestVisibilityTypeEnum = typeof UpdateRecurringDefinitionRequestVisibilityTypeEnum[keyof typeof UpdateRecurringDefinitionRequestVisibilityTypeEnum];
|
|
10876
|
-
export const UpdateRecurringDefinitionRequestTypeEnum = {
|
|
10877
|
-
Event: 'event',
|
|
10878
|
-
Closure: 'closure'
|
|
10879
|
-
} as const;
|
|
10880
|
-
|
|
10881
|
-
export type UpdateRecurringDefinitionRequestTypeEnum = typeof UpdateRecurringDefinitionRequestTypeEnum[keyof typeof UpdateRecurringDefinitionRequestTypeEnum];
|
|
10882
|
-
export const UpdateRecurringDefinitionRequestParticipationTypeEnum = {
|
|
10883
|
-
Solo: 'solo',
|
|
10884
|
-
Team: 'team'
|
|
10885
|
-
} as const;
|
|
10886
|
-
|
|
10887
|
-
export type UpdateRecurringDefinitionRequestParticipationTypeEnum = typeof UpdateRecurringDefinitionRequestParticipationTypeEnum[keyof typeof UpdateRecurringDefinitionRequestParticipationTypeEnum];
|
|
10888
|
-
export const UpdateRecurringDefinitionRequestRecurringTypeEnum = {
|
|
10889
|
-
Daily: 'daily',
|
|
10890
|
-
Weekly: 'weekly',
|
|
10891
|
-
Monthly: 'monthly',
|
|
10892
|
-
Unique: 'unique'
|
|
10893
|
-
} as const;
|
|
10894
|
-
|
|
10895
|
-
export type UpdateRecurringDefinitionRequestRecurringTypeEnum = typeof UpdateRecurringDefinitionRequestRecurringTypeEnum[keyof typeof UpdateRecurringDefinitionRequestRecurringTypeEnum];
|
|
10896
|
-
|
|
10897
10876
|
/**
|
|
10898
10877
|
*
|
|
10899
10878
|
* @export
|
|
@@ -11211,187 +11190,44 @@ export interface UserClubSubscription {
|
|
|
11211
11190
|
*/
|
|
11212
11191
|
'priceId': string | null;
|
|
11213
11192
|
/**
|
|
11214
|
-
*
|
|
11215
|
-
* @type {string}
|
|
11216
|
-
* @memberof UserClubSubscription
|
|
11217
|
-
*/
|
|
11218
|
-
'planId': string | null;
|
|
11219
|
-
/**
|
|
11220
|
-
*
|
|
11221
|
-
* @type {string}
|
|
11222
|
-
* @memberof UserClubSubscription
|
|
11223
|
-
*/
|
|
11224
|
-
'planName': string | null;
|
|
11225
|
-
/**
|
|
11226
|
-
*
|
|
11227
|
-
* @type {string}
|
|
11228
|
-
* @memberof UserClubSubscription
|
|
11229
|
-
*/
|
|
11230
|
-
'planDescription': string | null;
|
|
11231
|
-
/**
|
|
11232
|
-
*
|
|
11233
|
-
* @type {number}
|
|
11234
|
-
* @memberof UserClubSubscription
|
|
11235
|
-
*/
|
|
11236
|
-
'amountInCents': number | null;
|
|
11237
|
-
/**
|
|
11238
|
-
*
|
|
11239
|
-
* @type {string}
|
|
11240
|
-
* @memberof UserClubSubscription
|
|
11241
|
-
*/
|
|
11242
|
-
'currency': string | null;
|
|
11243
|
-
/**
|
|
11244
|
-
*
|
|
11245
|
-
* @type {PlanInterval}
|
|
11246
|
-
* @memberof UserClubSubscription
|
|
11247
|
-
*/
|
|
11248
|
-
'interval': PlanInterval | null;
|
|
11249
|
-
}
|
|
11250
|
-
|
|
11251
|
-
|
|
11252
|
-
/**
|
|
11253
|
-
*
|
|
11254
|
-
* @export
|
|
11255
|
-
* @interface UserEventParticipation
|
|
11256
|
-
*/
|
|
11257
|
-
export interface UserEventParticipation {
|
|
11258
|
-
/**
|
|
11259
|
-
*
|
|
11260
|
-
* @type {UserEventSummary}
|
|
11261
|
-
* @memberof UserEventParticipation
|
|
11262
|
-
*/
|
|
11263
|
-
'event': UserEventSummary;
|
|
11264
|
-
/**
|
|
11265
|
-
*
|
|
11266
|
-
* @type {EventBookingDetailSummary}
|
|
11267
|
-
* @memberof UserEventParticipation
|
|
11268
|
-
*/
|
|
11269
|
-
'booking': EventBookingDetailSummary;
|
|
11270
|
-
}
|
|
11271
|
-
/**
|
|
11272
|
-
*
|
|
11273
|
-
* @export
|
|
11274
|
-
* @interface UserEventSummary
|
|
11275
|
-
*/
|
|
11276
|
-
export interface UserEventSummary {
|
|
11277
|
-
/**
|
|
11278
|
-
*
|
|
11279
|
-
* @type {string}
|
|
11280
|
-
* @memberof UserEventSummary
|
|
11281
|
-
*/
|
|
11282
|
-
'id': string;
|
|
11283
|
-
/**
|
|
11284
|
-
*
|
|
11285
|
-
* @type {string}
|
|
11286
|
-
* @memberof UserEventSummary
|
|
11287
|
-
*/
|
|
11288
|
-
'clubId': string;
|
|
11289
|
-
/**
|
|
11290
|
-
*
|
|
11291
|
-
* @type {string}
|
|
11292
|
-
* @memberof UserEventSummary
|
|
11293
|
-
*/
|
|
11294
|
-
'title': string;
|
|
11295
|
-
/**
|
|
11296
|
-
*
|
|
11297
|
-
* @type {string}
|
|
11298
|
-
* @memberof UserEventSummary
|
|
11299
|
-
*/
|
|
11300
|
-
'description'?: string | null;
|
|
11301
|
-
/**
|
|
11302
|
-
*
|
|
11303
|
-
* @type {string}
|
|
11304
|
-
* @memberof UserEventSummary
|
|
11305
|
-
*/
|
|
11306
|
-
'photoUrl'?: string | null;
|
|
11307
|
-
/**
|
|
11308
|
-
*
|
|
11309
|
-
* @type {string}
|
|
11310
|
-
* @memberof UserEventSummary
|
|
11311
|
-
*/
|
|
11312
|
-
'startDate': string;
|
|
11313
|
-
/**
|
|
11314
|
-
*
|
|
11315
|
-
* @type {string}
|
|
11316
|
-
* @memberof UserEventSummary
|
|
11317
|
-
*/
|
|
11318
|
-
'endDate': string;
|
|
11319
|
-
/**
|
|
11320
|
-
*
|
|
11321
|
-
* @type {ParticipationType}
|
|
11322
|
-
* @memberof UserEventSummary
|
|
11323
|
-
*/
|
|
11324
|
-
'participationType': ParticipationType;
|
|
11325
|
-
/**
|
|
11326
|
-
*
|
|
11327
|
-
* @type {VisibilityType}
|
|
11328
|
-
* @memberof UserEventSummary
|
|
11329
|
-
*/
|
|
11330
|
-
'visibilityType': VisibilityType;
|
|
11331
|
-
/**
|
|
11332
|
-
*
|
|
11333
|
-
* @type {boolean}
|
|
11334
|
-
* @memberof UserEventSummary
|
|
11335
|
-
*/
|
|
11336
|
-
'isActive': boolean;
|
|
11337
|
-
/**
|
|
11338
|
-
*
|
|
11339
|
-
* @type {number}
|
|
11340
|
-
* @memberof UserEventSummary
|
|
11341
|
-
*/
|
|
11342
|
-
'price'?: number | null;
|
|
11343
|
-
/**
|
|
11344
|
-
*
|
|
11345
|
-
* @type {Array<string>}
|
|
11346
|
-
* @memberof UserEventSummary
|
|
11347
|
-
*/
|
|
11348
|
-
'sports'?: Array<string>;
|
|
11349
|
-
/**
|
|
11350
|
-
*
|
|
11351
|
-
* @type {Array<string>}
|
|
11352
|
-
* @memberof UserEventSummary
|
|
11353
|
-
*/
|
|
11354
|
-
'courts'?: Array<string>;
|
|
11355
|
-
}
|
|
11356
|
-
|
|
11357
|
-
|
|
11358
|
-
/**
|
|
11359
|
-
*
|
|
11360
|
-
* @export
|
|
11361
|
-
* @interface UserEventsResponse
|
|
11362
|
-
*/
|
|
11363
|
-
export interface UserEventsResponse {
|
|
11193
|
+
*
|
|
11194
|
+
* @type {string}
|
|
11195
|
+
* @memberof UserClubSubscription
|
|
11196
|
+
*/
|
|
11197
|
+
'planId': string | null;
|
|
11364
11198
|
/**
|
|
11365
11199
|
*
|
|
11366
|
-
* @type {
|
|
11367
|
-
* @memberof
|
|
11200
|
+
* @type {string}
|
|
11201
|
+
* @memberof UserClubSubscription
|
|
11368
11202
|
*/
|
|
11369
|
-
'
|
|
11203
|
+
'planName': string | null;
|
|
11370
11204
|
/**
|
|
11371
11205
|
*
|
|
11372
|
-
* @type {
|
|
11373
|
-
* @memberof
|
|
11206
|
+
* @type {string}
|
|
11207
|
+
* @memberof UserClubSubscription
|
|
11374
11208
|
*/
|
|
11375
|
-
'
|
|
11209
|
+
'planDescription': string | null;
|
|
11376
11210
|
/**
|
|
11377
11211
|
*
|
|
11378
11212
|
* @type {number}
|
|
11379
|
-
* @memberof
|
|
11213
|
+
* @memberof UserClubSubscription
|
|
11380
11214
|
*/
|
|
11381
|
-
'
|
|
11215
|
+
'amountInCents': number | null;
|
|
11382
11216
|
/**
|
|
11383
11217
|
*
|
|
11384
|
-
* @type {
|
|
11385
|
-
* @memberof
|
|
11218
|
+
* @type {string}
|
|
11219
|
+
* @memberof UserClubSubscription
|
|
11386
11220
|
*/
|
|
11387
|
-
'
|
|
11221
|
+
'currency': string | null;
|
|
11388
11222
|
/**
|
|
11389
11223
|
*
|
|
11390
|
-
* @type {
|
|
11391
|
-
* @memberof
|
|
11224
|
+
* @type {PlanInterval}
|
|
11225
|
+
* @memberof UserClubSubscription
|
|
11392
11226
|
*/
|
|
11393
|
-
'
|
|
11227
|
+
'interval': PlanInterval | null;
|
|
11394
11228
|
}
|
|
11229
|
+
|
|
11230
|
+
|
|
11395
11231
|
/**
|
|
11396
11232
|
*
|
|
11397
11233
|
* @export
|
|
@@ -11791,21 +11627,6 @@ export interface VerifyEmailRequest {
|
|
|
11791
11627
|
*/
|
|
11792
11628
|
'token'?: string;
|
|
11793
11629
|
}
|
|
11794
|
-
/**
|
|
11795
|
-
*
|
|
11796
|
-
* @export
|
|
11797
|
-
* @enum {string}
|
|
11798
|
-
*/
|
|
11799
|
-
|
|
11800
|
-
export const VisibilityType = {
|
|
11801
|
-
Public: 'public',
|
|
11802
|
-
Private: 'private',
|
|
11803
|
-
Invitation: 'invitation'
|
|
11804
|
-
} as const;
|
|
11805
|
-
|
|
11806
|
-
export type VisibilityType = typeof VisibilityType[keyof typeof VisibilityType];
|
|
11807
|
-
|
|
11808
|
-
|
|
11809
11630
|
/**
|
|
11810
11631
|
*
|
|
11811
11632
|
* @export
|
|
@@ -12481,17 +12302,17 @@ export class BookingsManagerApi extends BaseAPI {
|
|
|
12481
12302
|
export const BookingsStaffApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
12482
12303
|
return {
|
|
12483
12304
|
/**
|
|
12484
|
-
* Check-in
|
|
12305
|
+
* Check-in d\'un joueur (paiement en ligne ou sur place)
|
|
12485
12306
|
* @param {string} bookingId
|
|
12486
|
-
* @param {
|
|
12307
|
+
* @param {CheckInPlayerRequest} checkInPlayerRequest
|
|
12487
12308
|
* @param {*} [options] Override http request option.
|
|
12488
12309
|
* @throws {RequiredError}
|
|
12489
12310
|
*/
|
|
12490
|
-
|
|
12311
|
+
checkInPlayer: async (bookingId: string, checkInPlayerRequest: CheckInPlayerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12491
12312
|
// verify required parameter 'bookingId' is not null or undefined
|
|
12492
|
-
assertParamExists('
|
|
12493
|
-
// verify required parameter '
|
|
12494
|
-
assertParamExists('
|
|
12313
|
+
assertParamExists('checkInPlayer', 'bookingId', bookingId)
|
|
12314
|
+
// verify required parameter 'checkInPlayerRequest' is not null or undefined
|
|
12315
|
+
assertParamExists('checkInPlayer', 'checkInPlayerRequest', checkInPlayerRequest)
|
|
12495
12316
|
const localVarPath = `/api/bookings/{bookingId}/check-in`
|
|
12496
12317
|
.replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
|
|
12497
12318
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -12516,7 +12337,7 @@ export const BookingsStaffApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12516
12337
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12517
12338
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12518
12339
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12519
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
12340
|
+
localVarRequestOptions.data = serializeDataIfNeeded(checkInPlayerRequest, localVarRequestOptions, configuration)
|
|
12520
12341
|
|
|
12521
12342
|
return {
|
|
12522
12343
|
url: toPathString(localVarUrlObj),
|
|
@@ -12816,16 +12637,16 @@ export const BookingsStaffApiFp = function(configuration?: Configuration) {
|
|
|
12816
12637
|
const localVarAxiosParamCreator = BookingsStaffApiAxiosParamCreator(configuration)
|
|
12817
12638
|
return {
|
|
12818
12639
|
/**
|
|
12819
|
-
* Check-in
|
|
12640
|
+
* Check-in d\'un joueur (paiement en ligne ou sur place)
|
|
12820
12641
|
* @param {string} bookingId
|
|
12821
|
-
* @param {
|
|
12642
|
+
* @param {CheckInPlayerRequest} checkInPlayerRequest
|
|
12822
12643
|
* @param {*} [options] Override http request option.
|
|
12823
12644
|
* @throws {RequiredError}
|
|
12824
12645
|
*/
|
|
12825
|
-
async
|
|
12826
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
12646
|
+
async checkInPlayer(bookingId: string, checkInPlayerRequest: CheckInPlayerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInPlayerResponse>> {
|
|
12647
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.checkInPlayer(bookingId, checkInPlayerRequest, options);
|
|
12827
12648
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12828
|
-
const localVarOperationServerBasePath = operationServerMap['BookingsStaffApi.
|
|
12649
|
+
const localVarOperationServerBasePath = operationServerMap['BookingsStaffApi.checkInPlayer']?.[localVarOperationServerIndex]?.url;
|
|
12829
12650
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12830
12651
|
},
|
|
12831
12652
|
/**
|
|
@@ -12927,13 +12748,13 @@ export const BookingsStaffApiFactory = function (configuration?: Configuration,
|
|
|
12927
12748
|
const localVarFp = BookingsStaffApiFp(configuration)
|
|
12928
12749
|
return {
|
|
12929
12750
|
/**
|
|
12930
|
-
* Check-in
|
|
12931
|
-
* @param {
|
|
12751
|
+
* Check-in d\'un joueur (paiement en ligne ou sur place)
|
|
12752
|
+
* @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
|
|
12932
12753
|
* @param {*} [options] Override http request option.
|
|
12933
12754
|
* @throws {RequiredError}
|
|
12934
12755
|
*/
|
|
12935
|
-
|
|
12936
|
-
return localVarFp.
|
|
12756
|
+
checkInPlayer(requestParameters: BookingsStaffApiCheckInPlayerRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInPlayerResponse> {
|
|
12757
|
+
return localVarFp.checkInPlayer(requestParameters.bookingId, requestParameters.checkInPlayerRequest, options).then((request) => request(axios, basePath));
|
|
12937
12758
|
},
|
|
12938
12759
|
/**
|
|
12939
12760
|
* Créer une réservation pour un joueur depuis l\'espace staff
|
|
@@ -13002,24 +12823,24 @@ export const BookingsStaffApiFactory = function (configuration?: Configuration,
|
|
|
13002
12823
|
};
|
|
13003
12824
|
|
|
13004
12825
|
/**
|
|
13005
|
-
* Request parameters for
|
|
12826
|
+
* Request parameters for checkInPlayer operation in BookingsStaffApi.
|
|
13006
12827
|
* @export
|
|
13007
|
-
* @interface
|
|
12828
|
+
* @interface BookingsStaffApiCheckInPlayerRequest
|
|
13008
12829
|
*/
|
|
13009
|
-
export interface
|
|
12830
|
+
export interface BookingsStaffApiCheckInPlayerRequest {
|
|
13010
12831
|
/**
|
|
13011
12832
|
*
|
|
13012
12833
|
* @type {string}
|
|
13013
|
-
* @memberof
|
|
12834
|
+
* @memberof BookingsStaffApiCheckInPlayer
|
|
13014
12835
|
*/
|
|
13015
12836
|
readonly bookingId: string
|
|
13016
12837
|
|
|
13017
12838
|
/**
|
|
13018
12839
|
*
|
|
13019
|
-
* @type {
|
|
13020
|
-
* @memberof
|
|
12840
|
+
* @type {CheckInPlayerRequest}
|
|
12841
|
+
* @memberof BookingsStaffApiCheckInPlayer
|
|
13021
12842
|
*/
|
|
13022
|
-
readonly
|
|
12843
|
+
readonly checkInPlayerRequest: CheckInPlayerRequest
|
|
13023
12844
|
}
|
|
13024
12845
|
|
|
13025
12846
|
/**
|
|
@@ -13156,14 +12977,14 @@ export interface BookingsStaffApiListClubBookingsRequest {
|
|
|
13156
12977
|
*/
|
|
13157
12978
|
export class BookingsStaffApi extends BaseAPI {
|
|
13158
12979
|
/**
|
|
13159
|
-
* Check-in
|
|
13160
|
-
* @param {
|
|
12980
|
+
* Check-in d\'un joueur (paiement en ligne ou sur place)
|
|
12981
|
+
* @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
|
|
13161
12982
|
* @param {*} [options] Override http request option.
|
|
13162
12983
|
* @throws {RequiredError}
|
|
13163
12984
|
* @memberof BookingsStaffApi
|
|
13164
12985
|
*/
|
|
13165
|
-
public
|
|
13166
|
-
return BookingsStaffApiFp(this.configuration).
|
|
12986
|
+
public checkInPlayer(requestParameters: BookingsStaffApiCheckInPlayerRequest, options?: RawAxiosRequestConfig) {
|
|
12987
|
+
return BookingsStaffApiFp(this.configuration).checkInPlayer(requestParameters.bookingId, requestParameters.checkInPlayerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
13167
12988
|
}
|
|
13168
12989
|
|
|
13169
12990
|
/**
|
|
@@ -15825,6 +15646,45 @@ export class ClubRolesStaffApi extends BaseAPI {
|
|
|
15825
15646
|
*/
|
|
15826
15647
|
export const ClubSettingsManagerApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
15827
15648
|
return {
|
|
15649
|
+
/**
|
|
15650
|
+
*
|
|
15651
|
+
* @param {UpdateClubAccessSettingsRequest} updateClubAccessSettingsRequest
|
|
15652
|
+
* @param {*} [options] Override http request option.
|
|
15653
|
+
* @throws {RequiredError}
|
|
15654
|
+
*/
|
|
15655
|
+
updateAccessSettings: async (updateClubAccessSettingsRequest: UpdateClubAccessSettingsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15656
|
+
// verify required parameter 'updateClubAccessSettingsRequest' is not null or undefined
|
|
15657
|
+
assertParamExists('updateAccessSettings', 'updateClubAccessSettingsRequest', updateClubAccessSettingsRequest)
|
|
15658
|
+
const localVarPath = `/api/club-settings/access`;
|
|
15659
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15660
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15661
|
+
let baseOptions;
|
|
15662
|
+
if (configuration) {
|
|
15663
|
+
baseOptions = configuration.baseOptions;
|
|
15664
|
+
}
|
|
15665
|
+
|
|
15666
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
15667
|
+
const localVarHeaderParameter = {} as any;
|
|
15668
|
+
const localVarQueryParameter = {} as any;
|
|
15669
|
+
|
|
15670
|
+
// authentication bearerAuth required
|
|
15671
|
+
// http bearer authentication required
|
|
15672
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15673
|
+
|
|
15674
|
+
|
|
15675
|
+
|
|
15676
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15677
|
+
|
|
15678
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15679
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15680
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15681
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateClubAccessSettingsRequest, localVarRequestOptions, configuration)
|
|
15682
|
+
|
|
15683
|
+
return {
|
|
15684
|
+
url: toPathString(localVarUrlObj),
|
|
15685
|
+
options: localVarRequestOptions,
|
|
15686
|
+
};
|
|
15687
|
+
},
|
|
15828
15688
|
/**
|
|
15829
15689
|
*
|
|
15830
15690
|
* @param {UpdateClubGeneralSettingsRequest} updateClubGeneralSettingsRequest
|
|
@@ -15991,6 +15851,18 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration?:
|
|
|
15991
15851
|
export const ClubSettingsManagerApiFp = function(configuration?: Configuration) {
|
|
15992
15852
|
const localVarAxiosParamCreator = ClubSettingsManagerApiAxiosParamCreator(configuration)
|
|
15993
15853
|
return {
|
|
15854
|
+
/**
|
|
15855
|
+
*
|
|
15856
|
+
* @param {UpdateClubAccessSettingsRequest} updateClubAccessSettingsRequest
|
|
15857
|
+
* @param {*} [options] Override http request option.
|
|
15858
|
+
* @throws {RequiredError}
|
|
15859
|
+
*/
|
|
15860
|
+
async updateAccessSettings(updateClubAccessSettingsRequest: UpdateClubAccessSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubAccessSettingsResponse>> {
|
|
15861
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateAccessSettings(updateClubAccessSettingsRequest, options);
|
|
15862
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15863
|
+
const localVarOperationServerBasePath = operationServerMap['ClubSettingsManagerApi.updateAccessSettings']?.[localVarOperationServerIndex]?.url;
|
|
15864
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15865
|
+
},
|
|
15994
15866
|
/**
|
|
15995
15867
|
*
|
|
15996
15868
|
* @param {UpdateClubGeneralSettingsRequest} updateClubGeneralSettingsRequest
|
|
@@ -16049,6 +15921,15 @@ export const ClubSettingsManagerApiFp = function(configuration?: Configuration)
|
|
|
16049
15921
|
export const ClubSettingsManagerApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
16050
15922
|
const localVarFp = ClubSettingsManagerApiFp(configuration)
|
|
16051
15923
|
return {
|
|
15924
|
+
/**
|
|
15925
|
+
*
|
|
15926
|
+
* @param {ClubSettingsManagerApiUpdateAccessSettingsRequest} requestParameters Request parameters.
|
|
15927
|
+
* @param {*} [options] Override http request option.
|
|
15928
|
+
* @throws {RequiredError}
|
|
15929
|
+
*/
|
|
15930
|
+
updateAccessSettings(requestParameters: ClubSettingsManagerApiUpdateAccessSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubAccessSettingsResponse> {
|
|
15931
|
+
return localVarFp.updateAccessSettings(requestParameters.updateClubAccessSettingsRequest, options).then((request) => request(axios, basePath));
|
|
15932
|
+
},
|
|
16052
15933
|
/**
|
|
16053
15934
|
*
|
|
16054
15935
|
* @param {ClubSettingsManagerApiUpdateClubGeneralSettingsRequest} requestParameters Request parameters.
|
|
@@ -16088,6 +15969,20 @@ export const ClubSettingsManagerApiFactory = function (configuration?: Configura
|
|
|
16088
15969
|
};
|
|
16089
15970
|
};
|
|
16090
15971
|
|
|
15972
|
+
/**
|
|
15973
|
+
* Request parameters for updateAccessSettings operation in ClubSettingsManagerApi.
|
|
15974
|
+
* @export
|
|
15975
|
+
* @interface ClubSettingsManagerApiUpdateAccessSettingsRequest
|
|
15976
|
+
*/
|
|
15977
|
+
export interface ClubSettingsManagerApiUpdateAccessSettingsRequest {
|
|
15978
|
+
/**
|
|
15979
|
+
*
|
|
15980
|
+
* @type {UpdateClubAccessSettingsRequest}
|
|
15981
|
+
* @memberof ClubSettingsManagerApiUpdateAccessSettings
|
|
15982
|
+
*/
|
|
15983
|
+
readonly updateClubAccessSettingsRequest: UpdateClubAccessSettingsRequest
|
|
15984
|
+
}
|
|
15985
|
+
|
|
16091
15986
|
/**
|
|
16092
15987
|
* Request parameters for updateClubGeneralSettings operation in ClubSettingsManagerApi.
|
|
16093
15988
|
* @export
|
|
@@ -16151,6 +16046,17 @@ export interface ClubSettingsManagerApiUpdateReservationSettingsRequest {
|
|
|
16151
16046
|
* @extends {BaseAPI}
|
|
16152
16047
|
*/
|
|
16153
16048
|
export class ClubSettingsManagerApi extends BaseAPI {
|
|
16049
|
+
/**
|
|
16050
|
+
*
|
|
16051
|
+
* @param {ClubSettingsManagerApiUpdateAccessSettingsRequest} requestParameters Request parameters.
|
|
16052
|
+
* @param {*} [options] Override http request option.
|
|
16053
|
+
* @throws {RequiredError}
|
|
16054
|
+
* @memberof ClubSettingsManagerApi
|
|
16055
|
+
*/
|
|
16056
|
+
public updateAccessSettings(requestParameters: ClubSettingsManagerApiUpdateAccessSettingsRequest, options?: RawAxiosRequestConfig) {
|
|
16057
|
+
return ClubSettingsManagerApiFp(this.configuration).updateAccessSettings(requestParameters.updateClubAccessSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16058
|
+
}
|
|
16059
|
+
|
|
16154
16060
|
/**
|
|
16155
16061
|
*
|
|
16156
16062
|
* @param {ClubSettingsManagerApiUpdateClubGeneralSettingsRequest} requestParameters Request parameters.
|
|
@@ -16204,6 +16110,39 @@ export class ClubSettingsManagerApi extends BaseAPI {
|
|
|
16204
16110
|
*/
|
|
16205
16111
|
export const ClubSettingsStaffApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
16206
16112
|
return {
|
|
16113
|
+
/**
|
|
16114
|
+
*
|
|
16115
|
+
* @param {*} [options] Override http request option.
|
|
16116
|
+
* @throws {RequiredError}
|
|
16117
|
+
*/
|
|
16118
|
+
getAccessSettings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16119
|
+
const localVarPath = `/api/club-settings/access`;
|
|
16120
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16121
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16122
|
+
let baseOptions;
|
|
16123
|
+
if (configuration) {
|
|
16124
|
+
baseOptions = configuration.baseOptions;
|
|
16125
|
+
}
|
|
16126
|
+
|
|
16127
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16128
|
+
const localVarHeaderParameter = {} as any;
|
|
16129
|
+
const localVarQueryParameter = {} as any;
|
|
16130
|
+
|
|
16131
|
+
// authentication bearerAuth required
|
|
16132
|
+
// http bearer authentication required
|
|
16133
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
16134
|
+
|
|
16135
|
+
|
|
16136
|
+
|
|
16137
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16138
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16139
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16140
|
+
|
|
16141
|
+
return {
|
|
16142
|
+
url: toPathString(localVarUrlObj),
|
|
16143
|
+
options: localVarRequestOptions,
|
|
16144
|
+
};
|
|
16145
|
+
},
|
|
16207
16146
|
/**
|
|
16208
16147
|
*
|
|
16209
16148
|
* @param {*} [options] Override http request option.
|
|
@@ -16346,6 +16285,17 @@ export const ClubSettingsStaffApiAxiosParamCreator = function (configuration?: C
|
|
|
16346
16285
|
export const ClubSettingsStaffApiFp = function(configuration?: Configuration) {
|
|
16347
16286
|
const localVarAxiosParamCreator = ClubSettingsStaffApiAxiosParamCreator(configuration)
|
|
16348
16287
|
return {
|
|
16288
|
+
/**
|
|
16289
|
+
*
|
|
16290
|
+
* @param {*} [options] Override http request option.
|
|
16291
|
+
* @throws {RequiredError}
|
|
16292
|
+
*/
|
|
16293
|
+
async getAccessSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubAccessSettingsResponse>> {
|
|
16294
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAccessSettings(options);
|
|
16295
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16296
|
+
const localVarOperationServerBasePath = operationServerMap['ClubSettingsStaffApi.getAccessSettings']?.[localVarOperationServerIndex]?.url;
|
|
16297
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16298
|
+
},
|
|
16349
16299
|
/**
|
|
16350
16300
|
*
|
|
16351
16301
|
* @param {*} [options] Override http request option.
|
|
@@ -16400,6 +16350,14 @@ export const ClubSettingsStaffApiFp = function(configuration?: Configuration) {
|
|
|
16400
16350
|
export const ClubSettingsStaffApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
16401
16351
|
const localVarFp = ClubSettingsStaffApiFp(configuration)
|
|
16402
16352
|
return {
|
|
16353
|
+
/**
|
|
16354
|
+
*
|
|
16355
|
+
* @param {*} [options] Override http request option.
|
|
16356
|
+
* @throws {RequiredError}
|
|
16357
|
+
*/
|
|
16358
|
+
getAccessSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClubAccessSettingsResponse> {
|
|
16359
|
+
return localVarFp.getAccessSettings(options).then((request) => request(axios, basePath));
|
|
16360
|
+
},
|
|
16403
16361
|
/**
|
|
16404
16362
|
*
|
|
16405
16363
|
* @param {*} [options] Override http request option.
|
|
@@ -16442,6 +16400,16 @@ export const ClubSettingsStaffApiFactory = function (configuration?: Configurati
|
|
|
16442
16400
|
* @extends {BaseAPI}
|
|
16443
16401
|
*/
|
|
16444
16402
|
export class ClubSettingsStaffApi extends BaseAPI {
|
|
16403
|
+
/**
|
|
16404
|
+
*
|
|
16405
|
+
* @param {*} [options] Override http request option.
|
|
16406
|
+
* @throws {RequiredError}
|
|
16407
|
+
* @memberof ClubSettingsStaffApi
|
|
16408
|
+
*/
|
|
16409
|
+
public getAccessSettings(options?: RawAxiosRequestConfig) {
|
|
16410
|
+
return ClubSettingsStaffApiFp(this.configuration).getAccessSettings(options).then((request) => request(this.axios, this.basePath));
|
|
16411
|
+
}
|
|
16412
|
+
|
|
16445
16413
|
/**
|
|
16446
16414
|
*
|
|
16447
16415
|
* @param {*} [options] Override http request option.
|
|
@@ -19648,6 +19616,39 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configur
|
|
|
19648
19616
|
|
|
19649
19617
|
|
|
19650
19618
|
|
|
19619
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19620
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19621
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19622
|
+
|
|
19623
|
+
return {
|
|
19624
|
+
url: toPathString(localVarUrlObj),
|
|
19625
|
+
options: localVarRequestOptions,
|
|
19626
|
+
};
|
|
19627
|
+
},
|
|
19628
|
+
/**
|
|
19629
|
+
*
|
|
19630
|
+
* @param {*} [options] Override http request option.
|
|
19631
|
+
* @throws {RequiredError}
|
|
19632
|
+
*/
|
|
19633
|
+
getClubType: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19634
|
+
const localVarPath = `/api/clubs/clubType`;
|
|
19635
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19636
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19637
|
+
let baseOptions;
|
|
19638
|
+
if (configuration) {
|
|
19639
|
+
baseOptions = configuration.baseOptions;
|
|
19640
|
+
}
|
|
19641
|
+
|
|
19642
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
19643
|
+
const localVarHeaderParameter = {} as any;
|
|
19644
|
+
const localVarQueryParameter = {} as any;
|
|
19645
|
+
|
|
19646
|
+
// authentication bearerAuth required
|
|
19647
|
+
// http bearer authentication required
|
|
19648
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
19649
|
+
|
|
19650
|
+
|
|
19651
|
+
|
|
19651
19652
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19652
19653
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19653
19654
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -19916,6 +19917,17 @@ export const ClubsStaffApiFp = function(configuration?: Configuration) {
|
|
|
19916
19917
|
const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.getClubRoles']?.[localVarOperationServerIndex]?.url;
|
|
19917
19918
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19918
19919
|
},
|
|
19920
|
+
/**
|
|
19921
|
+
*
|
|
19922
|
+
* @param {*} [options] Override http request option.
|
|
19923
|
+
* @throws {RequiredError}
|
|
19924
|
+
*/
|
|
19925
|
+
async getClubType(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubType200Response>> {
|
|
19926
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClubType(options);
|
|
19927
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19928
|
+
const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.getClubType']?.[localVarOperationServerIndex]?.url;
|
|
19929
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19930
|
+
},
|
|
19919
19931
|
/**
|
|
19920
19932
|
* Récupère les terrains d\'un club
|
|
19921
19933
|
* @param {*} [options] Override http request option.
|
|
@@ -20029,6 +20041,14 @@ export const ClubsStaffApiFactory = function (configuration?: Configuration, bas
|
|
|
20029
20041
|
getClubRoles(options?: RawAxiosRequestConfig): AxiosPromise<GetClubRoles200Response> {
|
|
20030
20042
|
return localVarFp.getClubRoles(options).then((request) => request(axios, basePath));
|
|
20031
20043
|
},
|
|
20044
|
+
/**
|
|
20045
|
+
*
|
|
20046
|
+
* @param {*} [options] Override http request option.
|
|
20047
|
+
* @throws {RequiredError}
|
|
20048
|
+
*/
|
|
20049
|
+
getClubType(options?: RawAxiosRequestConfig): AxiosPromise<GetClubType200Response> {
|
|
20050
|
+
return localVarFp.getClubType(options).then((request) => request(axios, basePath));
|
|
20051
|
+
},
|
|
20032
20052
|
/**
|
|
20033
20053
|
* Récupère les terrains d\'un club
|
|
20034
20054
|
* @param {*} [options] Override http request option.
|
|
@@ -20247,6 +20267,16 @@ export class ClubsStaffApi extends BaseAPI {
|
|
|
20247
20267
|
return ClubsStaffApiFp(this.configuration).getClubRoles(options).then((request) => request(this.axios, this.basePath));
|
|
20248
20268
|
}
|
|
20249
20269
|
|
|
20270
|
+
/**
|
|
20271
|
+
*
|
|
20272
|
+
* @param {*} [options] Override http request option.
|
|
20273
|
+
* @throws {RequiredError}
|
|
20274
|
+
* @memberof ClubsStaffApi
|
|
20275
|
+
*/
|
|
20276
|
+
public getClubType(options?: RawAxiosRequestConfig) {
|
|
20277
|
+
return ClubsStaffApiFp(this.configuration).getClubType(options).then((request) => request(this.axios, this.basePath));
|
|
20278
|
+
}
|
|
20279
|
+
|
|
20250
20280
|
/**
|
|
20251
20281
|
* Récupère les terrains d\'un club
|
|
20252
20282
|
* @param {*} [options] Override http request option.
|
|
@@ -20499,11 +20529,10 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
20499
20529
|
/**
|
|
20500
20530
|
* Get a specific event by ID
|
|
20501
20531
|
* @param {string} eventId
|
|
20502
|
-
* @param {string} [userId]
|
|
20503
20532
|
* @param {*} [options] Override http request option.
|
|
20504
20533
|
* @throws {RequiredError}
|
|
20505
20534
|
*/
|
|
20506
|
-
getEventById: async (eventId: string,
|
|
20535
|
+
getEventById: async (eventId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20507
20536
|
// verify required parameter 'eventId' is not null or undefined
|
|
20508
20537
|
assertParamExists('getEventById', 'eventId', eventId)
|
|
20509
20538
|
const localVarPath = `/api/events/{eventId}`
|
|
@@ -20519,10 +20548,6 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
20519
20548
|
const localVarHeaderParameter = {} as any;
|
|
20520
20549
|
const localVarQueryParameter = {} as any;
|
|
20521
20550
|
|
|
20522
|
-
if (userId !== undefined) {
|
|
20523
|
-
localVarQueryParameter['userId'] = userId;
|
|
20524
|
-
}
|
|
20525
|
-
|
|
20526
20551
|
|
|
20527
20552
|
|
|
20528
20553
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -20702,12 +20727,11 @@ export const EventsApiFp = function(configuration?: Configuration) {
|
|
|
20702
20727
|
/**
|
|
20703
20728
|
* Get a specific event by ID
|
|
20704
20729
|
* @param {string} eventId
|
|
20705
|
-
* @param {string} [userId]
|
|
20706
20730
|
* @param {*} [options] Override http request option.
|
|
20707
20731
|
* @throws {RequiredError}
|
|
20708
20732
|
*/
|
|
20709
|
-
async getEventById(eventId: string,
|
|
20710
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventById(eventId,
|
|
20733
|
+
async getEventById(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>> {
|
|
20734
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventById(eventId, options);
|
|
20711
20735
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20712
20736
|
const localVarOperationServerBasePath = operationServerMap['EventsApi.getEventById']?.[localVarOperationServerIndex]?.url;
|
|
20713
20737
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -20787,7 +20811,7 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
|
|
|
20787
20811
|
* @throws {RequiredError}
|
|
20788
20812
|
*/
|
|
20789
20813
|
getEventById(requestParameters: EventsApiGetEventByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublishEventResponse> {
|
|
20790
|
-
return localVarFp.getEventById(requestParameters.eventId,
|
|
20814
|
+
return localVarFp.getEventById(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
20791
20815
|
},
|
|
20792
20816
|
/**
|
|
20793
20817
|
* Get all published events for a club
|
|
@@ -20873,13 +20897,6 @@ export interface EventsApiGetEventByIdRequest {
|
|
|
20873
20897
|
* @memberof EventsApiGetEventById
|
|
20874
20898
|
*/
|
|
20875
20899
|
readonly eventId: string
|
|
20876
|
-
|
|
20877
|
-
/**
|
|
20878
|
-
*
|
|
20879
|
-
* @type {string}
|
|
20880
|
-
* @memberof EventsApiGetEventById
|
|
20881
|
-
*/
|
|
20882
|
-
readonly userId?: string
|
|
20883
20900
|
}
|
|
20884
20901
|
|
|
20885
20902
|
/**
|
|
@@ -20989,7 +21006,7 @@ export class EventsApi extends BaseAPI {
|
|
|
20989
21006
|
* @memberof EventsApi
|
|
20990
21007
|
*/
|
|
20991
21008
|
public getEventById(requestParameters: EventsApiGetEventByIdRequest, options?: RawAxiosRequestConfig) {
|
|
20992
|
-
return EventsApiFp(this.configuration).getEventById(requestParameters.eventId,
|
|
21009
|
+
return EventsApiFp(this.configuration).getEventById(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
20993
21010
|
}
|
|
20994
21011
|
|
|
20995
21012
|
/**
|
|
@@ -21122,44 +21139,7 @@ export const EventsManagerApiAxiosParamCreator = function (configuration?: Confi
|
|
|
21122
21139
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21123
21140
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21124
21141
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21125
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createEventRequest, localVarRequestOptions, configuration)
|
|
21126
|
-
|
|
21127
|
-
return {
|
|
21128
|
-
url: toPathString(localVarUrlObj),
|
|
21129
|
-
options: localVarRequestOptions,
|
|
21130
|
-
};
|
|
21131
|
-
},
|
|
21132
|
-
/**
|
|
21133
|
-
* Delete an event (manager)
|
|
21134
|
-
* @param {string} eventId
|
|
21135
|
-
* @param {*} [options] Override http request option.
|
|
21136
|
-
* @throws {RequiredError}
|
|
21137
|
-
*/
|
|
21138
|
-
deleteEvent: async (eventId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21139
|
-
// verify required parameter 'eventId' is not null or undefined
|
|
21140
|
-
assertParamExists('deleteEvent', 'eventId', eventId)
|
|
21141
|
-
const localVarPath = `/api/events/manager/deleteEvent/{eventId}`
|
|
21142
|
-
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
21143
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21144
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21145
|
-
let baseOptions;
|
|
21146
|
-
if (configuration) {
|
|
21147
|
-
baseOptions = configuration.baseOptions;
|
|
21148
|
-
}
|
|
21149
|
-
|
|
21150
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
21151
|
-
const localVarHeaderParameter = {} as any;
|
|
21152
|
-
const localVarQueryParameter = {} as any;
|
|
21153
|
-
|
|
21154
|
-
// authentication bearerAuth required
|
|
21155
|
-
// http bearer authentication required
|
|
21156
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
21157
|
-
|
|
21158
|
-
|
|
21159
|
-
|
|
21160
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21161
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21162
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21142
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createEventRequest, localVarRequestOptions, configuration)
|
|
21163
21143
|
|
|
21164
21144
|
return {
|
|
21165
21145
|
url: toPathString(localVarUrlObj),
|
|
@@ -21167,13 +21147,16 @@ export const EventsManagerApiAxiosParamCreator = function (configuration?: Confi
|
|
|
21167
21147
|
};
|
|
21168
21148
|
},
|
|
21169
21149
|
/**
|
|
21170
|
-
*
|
|
21171
|
-
* @param {
|
|
21150
|
+
* Delete an event (manager)
|
|
21151
|
+
* @param {string} eventId
|
|
21172
21152
|
* @param {*} [options] Override http request option.
|
|
21173
21153
|
* @throws {RequiredError}
|
|
21174
21154
|
*/
|
|
21175
|
-
|
|
21176
|
-
|
|
21155
|
+
deleteEvent: async (eventId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21156
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
21157
|
+
assertParamExists('deleteEvent', 'eventId', eventId)
|
|
21158
|
+
const localVarPath = `/api/events/manager/deleteEvent/{eventId}`
|
|
21159
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
21177
21160
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21178
21161
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21179
21162
|
let baseOptions;
|
|
@@ -21181,7 +21164,7 @@ export const EventsManagerApiAxiosParamCreator = function (configuration?: Confi
|
|
|
21181
21164
|
baseOptions = configuration.baseOptions;
|
|
21182
21165
|
}
|
|
21183
21166
|
|
|
21184
|
-
const localVarRequestOptions = { method: '
|
|
21167
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
21185
21168
|
const localVarHeaderParameter = {} as any;
|
|
21186
21169
|
const localVarQueryParameter = {} as any;
|
|
21187
21170
|
|
|
@@ -21189,10 +21172,6 @@ export const EventsManagerApiAxiosParamCreator = function (configuration?: Confi
|
|
|
21189
21172
|
// http bearer authentication required
|
|
21190
21173
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
21191
21174
|
|
|
21192
|
-
if (days !== undefined) {
|
|
21193
|
-
localVarQueryParameter['days'] = days;
|
|
21194
|
-
}
|
|
21195
|
-
|
|
21196
21175
|
|
|
21197
21176
|
|
|
21198
21177
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -21359,49 +21338,6 @@ export const EventsManagerApiAxiosParamCreator = function (configuration?: Confi
|
|
|
21359
21338
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21360
21339
|
localVarRequestOptions.data = serializeDataIfNeeded(updateEventRequest, localVarRequestOptions, configuration)
|
|
21361
21340
|
|
|
21362
|
-
return {
|
|
21363
|
-
url: toPathString(localVarUrlObj),
|
|
21364
|
-
options: localVarRequestOptions,
|
|
21365
|
-
};
|
|
21366
|
-
},
|
|
21367
|
-
/**
|
|
21368
|
-
* Update a recurring event definition (manager) and propagate changes to generated Events
|
|
21369
|
-
* @param {string} definitionId
|
|
21370
|
-
* @param {UpdateRecurringDefinitionRequest} updateRecurringDefinitionRequest
|
|
21371
|
-
* @param {*} [options] Override http request option.
|
|
21372
|
-
* @throws {RequiredError}
|
|
21373
|
-
*/
|
|
21374
|
-
updateRecurringDefinition: async (definitionId: string, updateRecurringDefinitionRequest: UpdateRecurringDefinitionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21375
|
-
// verify required parameter 'definitionId' is not null or undefined
|
|
21376
|
-
assertParamExists('updateRecurringDefinition', 'definitionId', definitionId)
|
|
21377
|
-
// verify required parameter 'updateRecurringDefinitionRequest' is not null or undefined
|
|
21378
|
-
assertParamExists('updateRecurringDefinition', 'updateRecurringDefinitionRequest', updateRecurringDefinitionRequest)
|
|
21379
|
-
const localVarPath = `/api/events/manager/recurring/{definitionId}`
|
|
21380
|
-
.replace(`{${"definitionId"}}`, encodeURIComponent(String(definitionId)));
|
|
21381
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21382
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21383
|
-
let baseOptions;
|
|
21384
|
-
if (configuration) {
|
|
21385
|
-
baseOptions = configuration.baseOptions;
|
|
21386
|
-
}
|
|
21387
|
-
|
|
21388
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
21389
|
-
const localVarHeaderParameter = {} as any;
|
|
21390
|
-
const localVarQueryParameter = {} as any;
|
|
21391
|
-
|
|
21392
|
-
// authentication bearerAuth required
|
|
21393
|
-
// http bearer authentication required
|
|
21394
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
21395
|
-
|
|
21396
|
-
|
|
21397
|
-
|
|
21398
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
21399
|
-
|
|
21400
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21401
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21402
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21403
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateRecurringDefinitionRequest, localVarRequestOptions, configuration)
|
|
21404
|
-
|
|
21405
21341
|
return {
|
|
21406
21342
|
url: toPathString(localVarUrlObj),
|
|
21407
21343
|
options: localVarRequestOptions,
|
|
@@ -21453,18 +21389,6 @@ export const EventsManagerApiFp = function(configuration?: Configuration) {
|
|
|
21453
21389
|
const localVarOperationServerBasePath = operationServerMap['EventsManagerApi.deleteEvent']?.[localVarOperationServerIndex]?.url;
|
|
21454
21390
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21455
21391
|
},
|
|
21456
|
-
/**
|
|
21457
|
-
* List recurring definitions about to expire within `days` (manager)
|
|
21458
|
-
* @param {number} [days]
|
|
21459
|
-
* @param {*} [options] Override http request option.
|
|
21460
|
-
* @throws {RequiredError}
|
|
21461
|
-
*/
|
|
21462
|
-
async getExpiringRecurringDefinitions(days?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RecurringDefinitionResponse>>> {
|
|
21463
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getExpiringRecurringDefinitions(days, options);
|
|
21464
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21465
|
-
const localVarOperationServerBasePath = operationServerMap['EventsManagerApi.getExpiringRecurringDefinitions']?.[localVarOperationServerIndex]?.url;
|
|
21466
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21467
|
-
},
|
|
21468
21392
|
/**
|
|
21469
21393
|
* Publish an event (manager)
|
|
21470
21394
|
* @param {string} eventId
|
|
@@ -21515,19 +21439,6 @@ export const EventsManagerApiFp = function(configuration?: Configuration) {
|
|
|
21515
21439
|
const localVarOperationServerBasePath = operationServerMap['EventsManagerApi.updatePublishedEvent']?.[localVarOperationServerIndex]?.url;
|
|
21516
21440
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21517
21441
|
},
|
|
21518
|
-
/**
|
|
21519
|
-
* Update a recurring event definition (manager) and propagate changes to generated Events
|
|
21520
|
-
* @param {string} definitionId
|
|
21521
|
-
* @param {UpdateRecurringDefinitionRequest} updateRecurringDefinitionRequest
|
|
21522
|
-
* @param {*} [options] Override http request option.
|
|
21523
|
-
* @throws {RequiredError}
|
|
21524
|
-
*/
|
|
21525
|
-
async updateRecurringDefinition(definitionId: string, updateRecurringDefinitionRequest: UpdateRecurringDefinitionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateRecurringDefinition200Response>> {
|
|
21526
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRecurringDefinition(definitionId, updateRecurringDefinitionRequest, options);
|
|
21527
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21528
|
-
const localVarOperationServerBasePath = operationServerMap['EventsManagerApi.updateRecurringDefinition']?.[localVarOperationServerIndex]?.url;
|
|
21529
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21530
|
-
},
|
|
21531
21442
|
}
|
|
21532
21443
|
};
|
|
21533
21444
|
|
|
@@ -21565,15 +21476,6 @@ export const EventsManagerApiFactory = function (configuration?: Configuration,
|
|
|
21565
21476
|
deleteEvent(requestParameters: EventsManagerApiDeleteEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteEventResponse> {
|
|
21566
21477
|
return localVarFp.deleteEvent(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
21567
21478
|
},
|
|
21568
|
-
/**
|
|
21569
|
-
* List recurring definitions about to expire within `days` (manager)
|
|
21570
|
-
* @param {EventsManagerApiGetExpiringRecurringDefinitionsRequest} requestParameters Request parameters.
|
|
21571
|
-
* @param {*} [options] Override http request option.
|
|
21572
|
-
* @throws {RequiredError}
|
|
21573
|
-
*/
|
|
21574
|
-
getExpiringRecurringDefinitions(requestParameters: EventsManagerApiGetExpiringRecurringDefinitionsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<Array<RecurringDefinitionResponse>> {
|
|
21575
|
-
return localVarFp.getExpiringRecurringDefinitions(requestParameters.days, options).then((request) => request(axios, basePath));
|
|
21576
|
-
},
|
|
21577
21479
|
/**
|
|
21578
21480
|
* Publish an event (manager)
|
|
21579
21481
|
* @param {EventsManagerApiPublishEventRequest} requestParameters Request parameters.
|
|
@@ -21610,15 +21512,6 @@ export const EventsManagerApiFactory = function (configuration?: Configuration,
|
|
|
21610
21512
|
updatePublishedEvent(requestParameters: EventsManagerApiUpdatePublishedEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublishEventResponse> {
|
|
21611
21513
|
return localVarFp.updatePublishedEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(axios, basePath));
|
|
21612
21514
|
},
|
|
21613
|
-
/**
|
|
21614
|
-
* Update a recurring event definition (manager) and propagate changes to generated Events
|
|
21615
|
-
* @param {EventsManagerApiUpdateRecurringDefinitionRequest} requestParameters Request parameters.
|
|
21616
|
-
* @param {*} [options] Override http request option.
|
|
21617
|
-
* @throws {RequiredError}
|
|
21618
|
-
*/
|
|
21619
|
-
updateRecurringDefinition(requestParameters: EventsManagerApiUpdateRecurringDefinitionRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateRecurringDefinition200Response> {
|
|
21620
|
-
return localVarFp.updateRecurringDefinition(requestParameters.definitionId, requestParameters.updateRecurringDefinitionRequest, options).then((request) => request(axios, basePath));
|
|
21621
|
-
},
|
|
21622
21515
|
};
|
|
21623
21516
|
};
|
|
21624
21517
|
|
|
@@ -21664,20 +21557,6 @@ export interface EventsManagerApiDeleteEventRequest {
|
|
|
21664
21557
|
readonly eventId: string
|
|
21665
21558
|
}
|
|
21666
21559
|
|
|
21667
|
-
/**
|
|
21668
|
-
* Request parameters for getExpiringRecurringDefinitions operation in EventsManagerApi.
|
|
21669
|
-
* @export
|
|
21670
|
-
* @interface EventsManagerApiGetExpiringRecurringDefinitionsRequest
|
|
21671
|
-
*/
|
|
21672
|
-
export interface EventsManagerApiGetExpiringRecurringDefinitionsRequest {
|
|
21673
|
-
/**
|
|
21674
|
-
*
|
|
21675
|
-
* @type {number}
|
|
21676
|
-
* @memberof EventsManagerApiGetExpiringRecurringDefinitions
|
|
21677
|
-
*/
|
|
21678
|
-
readonly days?: number
|
|
21679
|
-
}
|
|
21680
|
-
|
|
21681
21560
|
/**
|
|
21682
21561
|
* Request parameters for publishEvent operation in EventsManagerApi.
|
|
21683
21562
|
* @export
|
|
@@ -21748,27 +21627,6 @@ export interface EventsManagerApiUpdatePublishedEventRequest {
|
|
|
21748
21627
|
readonly updateEventRequest: UpdateEventRequest
|
|
21749
21628
|
}
|
|
21750
21629
|
|
|
21751
|
-
/**
|
|
21752
|
-
* Request parameters for updateRecurringDefinition operation in EventsManagerApi.
|
|
21753
|
-
* @export
|
|
21754
|
-
* @interface EventsManagerApiUpdateRecurringDefinitionRequest
|
|
21755
|
-
*/
|
|
21756
|
-
export interface EventsManagerApiUpdateRecurringDefinitionRequest {
|
|
21757
|
-
/**
|
|
21758
|
-
*
|
|
21759
|
-
* @type {string}
|
|
21760
|
-
* @memberof EventsManagerApiUpdateRecurringDefinition
|
|
21761
|
-
*/
|
|
21762
|
-
readonly definitionId: string
|
|
21763
|
-
|
|
21764
|
-
/**
|
|
21765
|
-
*
|
|
21766
|
-
* @type {UpdateRecurringDefinitionRequest}
|
|
21767
|
-
* @memberof EventsManagerApiUpdateRecurringDefinition
|
|
21768
|
-
*/
|
|
21769
|
-
readonly updateRecurringDefinitionRequest: UpdateRecurringDefinitionRequest
|
|
21770
|
-
}
|
|
21771
|
-
|
|
21772
21630
|
/**
|
|
21773
21631
|
* EventsManagerApi - object-oriented interface
|
|
21774
21632
|
* @export
|
|
@@ -21809,17 +21667,6 @@ export class EventsManagerApi extends BaseAPI {
|
|
|
21809
21667
|
return EventsManagerApiFp(this.configuration).deleteEvent(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
21810
21668
|
}
|
|
21811
21669
|
|
|
21812
|
-
/**
|
|
21813
|
-
* List recurring definitions about to expire within `days` (manager)
|
|
21814
|
-
* @param {EventsManagerApiGetExpiringRecurringDefinitionsRequest} requestParameters Request parameters.
|
|
21815
|
-
* @param {*} [options] Override http request option.
|
|
21816
|
-
* @throws {RequiredError}
|
|
21817
|
-
* @memberof EventsManagerApi
|
|
21818
|
-
*/
|
|
21819
|
-
public getExpiringRecurringDefinitions(requestParameters: EventsManagerApiGetExpiringRecurringDefinitionsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
21820
|
-
return EventsManagerApiFp(this.configuration).getExpiringRecurringDefinitions(requestParameters.days, options).then((request) => request(this.axios, this.basePath));
|
|
21821
|
-
}
|
|
21822
|
-
|
|
21823
21670
|
/**
|
|
21824
21671
|
* Publish an event (manager)
|
|
21825
21672
|
* @param {EventsManagerApiPublishEventRequest} requestParameters Request parameters.
|
|
@@ -21863,17 +21710,6 @@ export class EventsManagerApi extends BaseAPI {
|
|
|
21863
21710
|
public updatePublishedEvent(requestParameters: EventsManagerApiUpdatePublishedEventRequest, options?: RawAxiosRequestConfig) {
|
|
21864
21711
|
return EventsManagerApiFp(this.configuration).updatePublishedEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(this.axios, this.basePath));
|
|
21865
21712
|
}
|
|
21866
|
-
|
|
21867
|
-
/**
|
|
21868
|
-
* Update a recurring event definition (manager) and propagate changes to generated Events
|
|
21869
|
-
* @param {EventsManagerApiUpdateRecurringDefinitionRequest} requestParameters Request parameters.
|
|
21870
|
-
* @param {*} [options] Override http request option.
|
|
21871
|
-
* @throws {RequiredError}
|
|
21872
|
-
* @memberof EventsManagerApi
|
|
21873
|
-
*/
|
|
21874
|
-
public updateRecurringDefinition(requestParameters: EventsManagerApiUpdateRecurringDefinitionRequest, options?: RawAxiosRequestConfig) {
|
|
21875
|
-
return EventsManagerApiFp(this.configuration).updateRecurringDefinition(requestParameters.definitionId, requestParameters.updateRecurringDefinitionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
21876
|
-
}
|
|
21877
21713
|
}
|
|
21878
21714
|
|
|
21879
21715
|
|
|
@@ -23066,6 +22902,43 @@ export class SportsPublicApi extends BaseAPI {
|
|
|
23066
22902
|
*/
|
|
23067
22903
|
export const SubscriptionsManagerApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
23068
22904
|
return {
|
|
22905
|
+
/**
|
|
22906
|
+
* Supprime (archive) un plan par productId (manager)
|
|
22907
|
+
* @param {string} productId
|
|
22908
|
+
* @param {*} [options] Override http request option.
|
|
22909
|
+
* @throws {RequiredError}
|
|
22910
|
+
*/
|
|
22911
|
+
archivePlan: async (productId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22912
|
+
// verify required parameter 'productId' is not null or undefined
|
|
22913
|
+
assertParamExists('archivePlan', 'productId', productId)
|
|
22914
|
+
const localVarPath = `/api/subscriptions/plans/{productId}/archive`
|
|
22915
|
+
.replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
|
|
22916
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22917
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22918
|
+
let baseOptions;
|
|
22919
|
+
if (configuration) {
|
|
22920
|
+
baseOptions = configuration.baseOptions;
|
|
22921
|
+
}
|
|
22922
|
+
|
|
22923
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
22924
|
+
const localVarHeaderParameter = {} as any;
|
|
22925
|
+
const localVarQueryParameter = {} as any;
|
|
22926
|
+
|
|
22927
|
+
// authentication bearerAuth required
|
|
22928
|
+
// http bearer authentication required
|
|
22929
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
22930
|
+
|
|
22931
|
+
|
|
22932
|
+
|
|
22933
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22934
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22935
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22936
|
+
|
|
22937
|
+
return {
|
|
22938
|
+
url: toPathString(localVarUrlObj),
|
|
22939
|
+
options: localVarRequestOptions,
|
|
22940
|
+
};
|
|
22941
|
+
},
|
|
23069
22942
|
/**
|
|
23070
22943
|
* Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
|
|
23071
22944
|
* @param {CreateSubscriptionPlanRequest} createSubscriptionPlanRequest
|
|
@@ -23106,7 +22979,7 @@ export const SubscriptionsManagerApiAxiosParamCreator = function (configuration?
|
|
|
23106
22979
|
};
|
|
23107
22980
|
},
|
|
23108
22981
|
/**
|
|
23109
|
-
* Supprime
|
|
22982
|
+
* Supprime un plan par productId (manager)
|
|
23110
22983
|
* @param {string} productId
|
|
23111
22984
|
* @param {*} [options] Override http request option.
|
|
23112
22985
|
* @throws {RequiredError}
|
|
@@ -23191,6 +23064,18 @@ export const SubscriptionsManagerApiAxiosParamCreator = function (configuration?
|
|
|
23191
23064
|
export const SubscriptionsManagerApiFp = function(configuration?: Configuration) {
|
|
23192
23065
|
const localVarAxiosParamCreator = SubscriptionsManagerApiAxiosParamCreator(configuration)
|
|
23193
23066
|
return {
|
|
23067
|
+
/**
|
|
23068
|
+
* Supprime (archive) un plan par productId (manager)
|
|
23069
|
+
* @param {string} productId
|
|
23070
|
+
* @param {*} [options] Override http request option.
|
|
23071
|
+
* @throws {RequiredError}
|
|
23072
|
+
*/
|
|
23073
|
+
async archivePlan(productId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteSubscriptionPlanResponse>> {
|
|
23074
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.archivePlan(productId, options);
|
|
23075
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23076
|
+
const localVarOperationServerBasePath = operationServerMap['SubscriptionsManagerApi.archivePlan']?.[localVarOperationServerIndex]?.url;
|
|
23077
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23078
|
+
},
|
|
23194
23079
|
/**
|
|
23195
23080
|
* Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
|
|
23196
23081
|
* @param {CreateSubscriptionPlanRequest} createSubscriptionPlanRequest
|
|
@@ -23204,7 +23089,7 @@ export const SubscriptionsManagerApiFp = function(configuration?: Configuration)
|
|
|
23204
23089
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23205
23090
|
},
|
|
23206
23091
|
/**
|
|
23207
|
-
* Supprime
|
|
23092
|
+
* Supprime un plan par productId (manager)
|
|
23208
23093
|
* @param {string} productId
|
|
23209
23094
|
* @param {*} [options] Override http request option.
|
|
23210
23095
|
* @throws {RequiredError}
|
|
@@ -23237,6 +23122,15 @@ export const SubscriptionsManagerApiFp = function(configuration?: Configuration)
|
|
|
23237
23122
|
export const SubscriptionsManagerApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
23238
23123
|
const localVarFp = SubscriptionsManagerApiFp(configuration)
|
|
23239
23124
|
return {
|
|
23125
|
+
/**
|
|
23126
|
+
* Supprime (archive) un plan par productId (manager)
|
|
23127
|
+
* @param {SubscriptionsManagerApiArchivePlanRequest} requestParameters Request parameters.
|
|
23128
|
+
* @param {*} [options] Override http request option.
|
|
23129
|
+
* @throws {RequiredError}
|
|
23130
|
+
*/
|
|
23131
|
+
archivePlan(requestParameters: SubscriptionsManagerApiArchivePlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteSubscriptionPlanResponse> {
|
|
23132
|
+
return localVarFp.archivePlan(requestParameters.productId, options).then((request) => request(axios, basePath));
|
|
23133
|
+
},
|
|
23240
23134
|
/**
|
|
23241
23135
|
* Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
|
|
23242
23136
|
* @param {SubscriptionsManagerApiCreatePlanRequest} requestParameters Request parameters.
|
|
@@ -23247,7 +23141,7 @@ export const SubscriptionsManagerApiFactory = function (configuration?: Configur
|
|
|
23247
23141
|
return localVarFp.createPlan(requestParameters.createSubscriptionPlanRequest, options).then((request) => request(axios, basePath));
|
|
23248
23142
|
},
|
|
23249
23143
|
/**
|
|
23250
|
-
* Supprime
|
|
23144
|
+
* Supprime un plan par productId (manager)
|
|
23251
23145
|
* @param {SubscriptionsManagerApiDeletePlanRequest} requestParameters Request parameters.
|
|
23252
23146
|
* @param {*} [options] Override http request option.
|
|
23253
23147
|
* @throws {RequiredError}
|
|
@@ -23267,6 +23161,20 @@ export const SubscriptionsManagerApiFactory = function (configuration?: Configur
|
|
|
23267
23161
|
};
|
|
23268
23162
|
};
|
|
23269
23163
|
|
|
23164
|
+
/**
|
|
23165
|
+
* Request parameters for archivePlan operation in SubscriptionsManagerApi.
|
|
23166
|
+
* @export
|
|
23167
|
+
* @interface SubscriptionsManagerApiArchivePlanRequest
|
|
23168
|
+
*/
|
|
23169
|
+
export interface SubscriptionsManagerApiArchivePlanRequest {
|
|
23170
|
+
/**
|
|
23171
|
+
*
|
|
23172
|
+
* @type {string}
|
|
23173
|
+
* @memberof SubscriptionsManagerApiArchivePlan
|
|
23174
|
+
*/
|
|
23175
|
+
readonly productId: string
|
|
23176
|
+
}
|
|
23177
|
+
|
|
23270
23178
|
/**
|
|
23271
23179
|
* Request parameters for createPlan operation in SubscriptionsManagerApi.
|
|
23272
23180
|
* @export
|
|
@@ -23316,6 +23224,17 @@ export interface SubscriptionsManagerApiUpdatePlanRequest {
|
|
|
23316
23224
|
* @extends {BaseAPI}
|
|
23317
23225
|
*/
|
|
23318
23226
|
export class SubscriptionsManagerApi extends BaseAPI {
|
|
23227
|
+
/**
|
|
23228
|
+
* Supprime (archive) un plan par productId (manager)
|
|
23229
|
+
* @param {SubscriptionsManagerApiArchivePlanRequest} requestParameters Request parameters.
|
|
23230
|
+
* @param {*} [options] Override http request option.
|
|
23231
|
+
* @throws {RequiredError}
|
|
23232
|
+
* @memberof SubscriptionsManagerApi
|
|
23233
|
+
*/
|
|
23234
|
+
public archivePlan(requestParameters: SubscriptionsManagerApiArchivePlanRequest, options?: RawAxiosRequestConfig) {
|
|
23235
|
+
return SubscriptionsManagerApiFp(this.configuration).archivePlan(requestParameters.productId, options).then((request) => request(this.axios, this.basePath));
|
|
23236
|
+
}
|
|
23237
|
+
|
|
23319
23238
|
/**
|
|
23320
23239
|
* Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
|
|
23321
23240
|
* @param {SubscriptionsManagerApiCreatePlanRequest} requestParameters Request parameters.
|
|
@@ -23328,7 +23247,7 @@ export class SubscriptionsManagerApi extends BaseAPI {
|
|
|
23328
23247
|
}
|
|
23329
23248
|
|
|
23330
23249
|
/**
|
|
23331
|
-
* Supprime
|
|
23250
|
+
* Supprime un plan par productId (manager)
|
|
23332
23251
|
* @param {SubscriptionsManagerApiDeletePlanRequest} requestParameters Request parameters.
|
|
23333
23252
|
* @param {*} [options] Override http request option.
|
|
23334
23253
|
* @throws {RequiredError}
|
|
@@ -24838,49 +24757,6 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
24838
24757
|
|
|
24839
24758
|
|
|
24840
24759
|
|
|
24841
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24842
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24843
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24844
|
-
|
|
24845
|
-
return {
|
|
24846
|
-
url: toPathString(localVarUrlObj),
|
|
24847
|
-
options: localVarRequestOptions,
|
|
24848
|
-
};
|
|
24849
|
-
},
|
|
24850
|
-
/**
|
|
24851
|
-
*
|
|
24852
|
-
* @param {number} [limit]
|
|
24853
|
-
* @param {number} [skip]
|
|
24854
|
-
* @param {*} [options] Override http request option.
|
|
24855
|
-
* @throws {RequiredError}
|
|
24856
|
-
*/
|
|
24857
|
-
getUserEvents: async (limit?: number, skip?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24858
|
-
const localVarPath = `/api/users/me/events`;
|
|
24859
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24860
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24861
|
-
let baseOptions;
|
|
24862
|
-
if (configuration) {
|
|
24863
|
-
baseOptions = configuration.baseOptions;
|
|
24864
|
-
}
|
|
24865
|
-
|
|
24866
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
24867
|
-
const localVarHeaderParameter = {} as any;
|
|
24868
|
-
const localVarQueryParameter = {} as any;
|
|
24869
|
-
|
|
24870
|
-
// authentication bearerAuth required
|
|
24871
|
-
// http bearer authentication required
|
|
24872
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
24873
|
-
|
|
24874
|
-
if (limit !== undefined) {
|
|
24875
|
-
localVarQueryParameter['limit'] = limit;
|
|
24876
|
-
}
|
|
24877
|
-
|
|
24878
|
-
if (skip !== undefined) {
|
|
24879
|
-
localVarQueryParameter['skip'] = skip;
|
|
24880
|
-
}
|
|
24881
|
-
|
|
24882
|
-
|
|
24883
|
-
|
|
24884
24760
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24885
24761
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24886
24762
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -25819,19 +25695,6 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
25819
25695
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.getUserBookings']?.[localVarOperationServerIndex]?.url;
|
|
25820
25696
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25821
25697
|
},
|
|
25822
|
-
/**
|
|
25823
|
-
*
|
|
25824
|
-
* @param {number} [limit]
|
|
25825
|
-
* @param {number} [skip]
|
|
25826
|
-
* @param {*} [options] Override http request option.
|
|
25827
|
-
* @throws {RequiredError}
|
|
25828
|
-
*/
|
|
25829
|
-
async getUserEvents(limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserEventsResponse>> {
|
|
25830
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserEvents(limit, skip, options);
|
|
25831
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
25832
|
-
const localVarOperationServerBasePath = operationServerMap['UsersApi.getUserEvents']?.[localVarOperationServerIndex]?.url;
|
|
25833
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25834
|
-
},
|
|
25835
25698
|
/**
|
|
25836
25699
|
*
|
|
25837
25700
|
* @param {string} id
|
|
@@ -26220,15 +26083,6 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
26220
26083
|
getUserBookings(requestParameters: UsersApiGetUserBookingsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<UserBookingsResponse> {
|
|
26221
26084
|
return localVarFp.getUserBookings(requestParameters.limit, requestParameters.skip, options).then((request) => request(axios, basePath));
|
|
26222
26085
|
},
|
|
26223
|
-
/**
|
|
26224
|
-
*
|
|
26225
|
-
* @param {UsersApiGetUserEventsRequest} requestParameters Request parameters.
|
|
26226
|
-
* @param {*} [options] Override http request option.
|
|
26227
|
-
* @throws {RequiredError}
|
|
26228
|
-
*/
|
|
26229
|
-
getUserEvents(requestParameters: UsersApiGetUserEventsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<UserEventsResponse> {
|
|
26230
|
-
return localVarFp.getUserEvents(requestParameters.limit, requestParameters.skip, options).then((request) => request(axios, basePath));
|
|
26231
|
-
},
|
|
26232
26086
|
/**
|
|
26233
26087
|
*
|
|
26234
26088
|
* @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
|
|
@@ -26596,27 +26450,6 @@ export interface UsersApiGetUserBookingsRequest {
|
|
|
26596
26450
|
readonly skip?: number
|
|
26597
26451
|
}
|
|
26598
26452
|
|
|
26599
|
-
/**
|
|
26600
|
-
* Request parameters for getUserEvents operation in UsersApi.
|
|
26601
|
-
* @export
|
|
26602
|
-
* @interface UsersApiGetUserEventsRequest
|
|
26603
|
-
*/
|
|
26604
|
-
export interface UsersApiGetUserEventsRequest {
|
|
26605
|
-
/**
|
|
26606
|
-
*
|
|
26607
|
-
* @type {number}
|
|
26608
|
-
* @memberof UsersApiGetUserEvents
|
|
26609
|
-
*/
|
|
26610
|
-
readonly limit?: number
|
|
26611
|
-
|
|
26612
|
-
/**
|
|
26613
|
-
*
|
|
26614
|
-
* @type {number}
|
|
26615
|
-
* @memberof UsersApiGetUserEvents
|
|
26616
|
-
*/
|
|
26617
|
-
readonly skip?: number
|
|
26618
|
-
}
|
|
26619
|
-
|
|
26620
26453
|
/**
|
|
26621
26454
|
* Request parameters for getUserProfileById operation in UsersApi.
|
|
26622
26455
|
* @export
|
|
@@ -27115,17 +26948,6 @@ export class UsersApi extends BaseAPI {
|
|
|
27115
26948
|
return UsersApiFp(this.configuration).getUserBookings(requestParameters.limit, requestParameters.skip, options).then((request) => request(this.axios, this.basePath));
|
|
27116
26949
|
}
|
|
27117
26950
|
|
|
27118
|
-
/**
|
|
27119
|
-
*
|
|
27120
|
-
* @param {UsersApiGetUserEventsRequest} requestParameters Request parameters.
|
|
27121
|
-
* @param {*} [options] Override http request option.
|
|
27122
|
-
* @throws {RequiredError}
|
|
27123
|
-
* @memberof UsersApi
|
|
27124
|
-
*/
|
|
27125
|
-
public getUserEvents(requestParameters: UsersApiGetUserEventsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
27126
|
-
return UsersApiFp(this.configuration).getUserEvents(requestParameters.limit, requestParameters.skip, options).then((request) => request(this.axios, this.basePath));
|
|
27127
|
-
}
|
|
27128
|
-
|
|
27129
26951
|
/**
|
|
27130
26952
|
*
|
|
27131
26953
|
* @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
|