@tennac-booking/sdk 1.0.128 → 1.0.129
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 +346 -334
- package/README.md +24 -11
- package/api.ts +1018 -413
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +858 -345
- package/dist/api.js +317 -157
- 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 +858 -345
- package/dist/esm/api.js +313 -153
- 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/{PlanPriceInput.md → CheckInPlayersRequest.md} +5 -7
- package/docs/{CheckInPlayerResponse.md → CheckInPlayersResponse.md} +5 -5
- package/docs/ClubPlayerSubscriptionSummary.md +3 -3
- package/docs/ClubsStaffApi.md +0 -47
- package/docs/CreatePlan201Response.md +0 -2
- package/docs/CreateSubscriptionPlanRequest.md +2 -2
- package/docs/CreateSubscriptionPlanRequestDiscount.md +0 -2
- package/docs/DeleteSubscriptionPlanResponse.md +0 -2
- package/docs/EventBookingDetailSummary.md +40 -0
- package/docs/EventBookingResponse.md +36 -0
- package/docs/EventBookingResponsePlayersInner.md +28 -0
- package/docs/{CheckInPlayerRequest.md → EventBookingResponsePlayersInnerInvoiceStatus.md} +3 -5
- package/docs/{GetClubType200Response.md → EventBookingResponseSetupStatus.md} +3 -5
- package/docs/EventBookingStatus.md +16 -0
- package/docs/EventsApi.md +4 -1
- package/docs/EventsManagerApi.md +110 -0
- package/docs/InvoiceStatusSETUPPENDING.md +8 -0
- package/docs/InvoiceStatusSETUPSUCCESS.md +8 -0
- package/docs/MonthlyTurnoverResponse.md +1 -0
- package/docs/OffPeakRule.md +0 -2
- package/docs/ParticipationType.md +10 -0
- package/docs/PublicSubscriptionPlanResponse.md +1 -5
- package/docs/PublishEventResponse.md +4 -0
- package/docs/RecurringDefinitionResponse.md +34 -0
- package/docs/SendSubscriptionInvitationRequest.md +0 -2
- package/docs/SubscriptionPlanResponse.md +1 -7
- package/docs/SubscriptionsManagerApi.md +1 -55
- package/docs/UpdateRecurringDefinition200Response.md +20 -0
- package/docs/UpdateRecurringDefinitionRequest.md +56 -0
- package/docs/UserEventParticipation.md +22 -0
- package/docs/UserEventSummary.md +44 -0
- package/docs/UserEventsResponse.md +28 -0
- package/docs/UsersApi.md +54 -0
- package/docs/VisibilityType.md +12 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/PlanPrice.md +0 -26
- package/docs/SubscriptionPlanDiscountResponse.md +0 -34
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.129
|
|
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 CheckInPlayersRequest
|
|
1462
1462
|
*/
|
|
1463
|
-
export interface
|
|
1463
|
+
export interface CheckInPlayersRequest {
|
|
1464
1464
|
/**
|
|
1465
|
-
*
|
|
1466
|
-
* @type {string}
|
|
1467
|
-
* @memberof
|
|
1465
|
+
* Liste des IDs des joueurs qui ont payé/sont arrivés
|
|
1466
|
+
* @type {Array<string>}
|
|
1467
|
+
* @memberof CheckInPlayersRequest
|
|
1468
1468
|
*/
|
|
1469
|
-
'
|
|
1469
|
+
'playerIds': Array<string>;
|
|
1470
1470
|
}
|
|
1471
1471
|
/**
|
|
1472
1472
|
*
|
|
1473
1473
|
* @export
|
|
1474
|
-
* @interface
|
|
1474
|
+
* @interface CheckInPlayersResponse
|
|
1475
1475
|
*/
|
|
1476
|
-
export interface
|
|
1476
|
+
export interface CheckInPlayersResponse {
|
|
1477
1477
|
/**
|
|
1478
1478
|
* Message de confirmation
|
|
1479
1479
|
* @type {string}
|
|
1480
|
-
* @memberof
|
|
1480
|
+
* @memberof CheckInPlayersResponse
|
|
1481
1481
|
*/
|
|
1482
1482
|
'message': string;
|
|
1483
1483
|
/**
|
|
1484
|
-
*
|
|
1485
|
-
* @type {CheckedInPlayer}
|
|
1486
|
-
* @memberof
|
|
1484
|
+
* Joueurs ayant effectué le check-in
|
|
1485
|
+
* @type {Array<CheckedInPlayer>}
|
|
1486
|
+
* @memberof CheckInPlayersResponse
|
|
1487
1487
|
*/
|
|
1488
|
-
'
|
|
1488
|
+
'invoices': Array<CheckedInPlayer>;
|
|
1489
1489
|
}
|
|
1490
1490
|
/**
|
|
1491
1491
|
*
|
|
@@ -2747,11 +2747,11 @@ export interface ClubPlayerSubscriptionSummary {
|
|
|
2747
2747
|
*/
|
|
2748
2748
|
'name': string | null;
|
|
2749
2749
|
/**
|
|
2750
|
-
*
|
|
2751
|
-
* @type {
|
|
2750
|
+
* Montant en centimes
|
|
2751
|
+
* @type {number}
|
|
2752
2752
|
* @memberof ClubPlayerSubscriptionSummary
|
|
2753
2753
|
*/
|
|
2754
|
-
'
|
|
2754
|
+
'amountInCents': number | null;
|
|
2755
2755
|
/**
|
|
2756
2756
|
* Devise
|
|
2757
2757
|
* @type {string}
|
|
@@ -2759,7 +2759,7 @@ export interface ClubPlayerSubscriptionSummary {
|
|
|
2759
2759
|
*/
|
|
2760
2760
|
'currency': string | null;
|
|
2761
2761
|
/**
|
|
2762
|
-
* Intervalle
|
|
2762
|
+
* Intervalle de facturation
|
|
2763
2763
|
* @type {string}
|
|
2764
2764
|
* @memberof ClubPlayerSubscriptionSummary
|
|
2765
2765
|
*/
|
|
@@ -3985,12 +3985,6 @@ export interface CreateOnsiteInvoiceResponseInvoice {
|
|
|
3985
3985
|
* @interface CreatePlan201Response
|
|
3986
3986
|
*/
|
|
3987
3987
|
export interface CreatePlan201Response {
|
|
3988
|
-
/**
|
|
3989
|
-
*
|
|
3990
|
-
* @type {Array<string>}
|
|
3991
|
-
* @memberof CreatePlan201Response
|
|
3992
|
-
*/
|
|
3993
|
-
'priceIds': Array<string>;
|
|
3994
3988
|
/**
|
|
3995
3989
|
*
|
|
3996
3990
|
* @type {string}
|
|
@@ -4105,10 +4099,10 @@ export interface CreateSubscriptionPlanRequest {
|
|
|
4105
4099
|
'description'?: string;
|
|
4106
4100
|
/**
|
|
4107
4101
|
*
|
|
4108
|
-
* @type {
|
|
4102
|
+
* @type {number}
|
|
4109
4103
|
* @memberof CreateSubscriptionPlanRequest
|
|
4110
4104
|
*/
|
|
4111
|
-
'
|
|
4105
|
+
'amountInCents': number;
|
|
4112
4106
|
/**
|
|
4113
4107
|
*
|
|
4114
4108
|
* @type {string}
|
|
@@ -4146,15 +4140,8 @@ export interface CreateSubscriptionPlanRequestDiscount {
|
|
|
4146
4140
|
*
|
|
4147
4141
|
* @type {Array<OffPeakRule>}
|
|
4148
4142
|
* @memberof CreateSubscriptionPlanRequestDiscount
|
|
4149
|
-
* @deprecated
|
|
4150
4143
|
*/
|
|
4151
4144
|
'offPeakRules'?: Array<OffPeakRule>;
|
|
4152
|
-
/**
|
|
4153
|
-
* 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.
|
|
4154
|
-
* @type {Array<string>}
|
|
4155
|
-
* @memberof CreateSubscriptionPlanRequestDiscount
|
|
4156
|
-
*/
|
|
4157
|
-
'offPeakRuleNames'?: Array<string>;
|
|
4158
4145
|
/**
|
|
4159
4146
|
*
|
|
4160
4147
|
* @type {string}
|
|
@@ -4308,12 +4295,6 @@ export interface DeleteSubscriptionPlanResponse {
|
|
|
4308
4295
|
* @memberof DeleteSubscriptionPlanResponse
|
|
4309
4296
|
*/
|
|
4310
4297
|
'message': string;
|
|
4311
|
-
/**
|
|
4312
|
-
*
|
|
4313
|
-
* @type {boolean}
|
|
4314
|
-
* @memberof DeleteSubscriptionPlanResponse
|
|
4315
|
-
*/
|
|
4316
|
-
'archivedInstead'?: boolean;
|
|
4317
4298
|
}
|
|
4318
4299
|
/**
|
|
4319
4300
|
*
|
|
@@ -4430,6 +4411,212 @@ export interface EstimateEventPriceRequestSharesInner {
|
|
|
4430
4411
|
*/
|
|
4431
4412
|
'playerId': string;
|
|
4432
4413
|
}
|
|
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
|
+
|
|
4433
4620
|
/**
|
|
4434
4621
|
*
|
|
4435
4622
|
* @export
|
|
@@ -4965,19 +5152,6 @@ export interface GetClubRoles200Response {
|
|
|
4965
5152
|
*/
|
|
4966
5153
|
'roles': Array<any>;
|
|
4967
5154
|
}
|
|
4968
|
-
/**
|
|
4969
|
-
*
|
|
4970
|
-
* @export
|
|
4971
|
-
* @interface GetClubType200Response
|
|
4972
|
-
*/
|
|
4973
|
-
export interface GetClubType200Response {
|
|
4974
|
-
/**
|
|
4975
|
-
*
|
|
4976
|
-
* @type {string}
|
|
4977
|
-
* @memberof GetClubType200Response
|
|
4978
|
-
*/
|
|
4979
|
-
'clubType': string;
|
|
4980
|
-
}
|
|
4981
5155
|
/**
|
|
4982
5156
|
*
|
|
4983
5157
|
* @export
|
|
@@ -5783,6 +5957,32 @@ export const InvoiceStatus = {
|
|
|
5783
5957
|
export type InvoiceStatus = typeof InvoiceStatus[keyof typeof InvoiceStatus];
|
|
5784
5958
|
|
|
5785
5959
|
|
|
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
|
+
|
|
5786
5986
|
/**
|
|
5787
5987
|
*
|
|
5788
5988
|
* @export
|
|
@@ -6120,7 +6320,7 @@ export interface MonthlyBreakdown {
|
|
|
6120
6320
|
'invoiceCount': number;
|
|
6121
6321
|
}
|
|
6122
6322
|
/**
|
|
6123
|
-
*
|
|
6323
|
+
* Types TSOA pour les analytics du club
|
|
6124
6324
|
* @export
|
|
6125
6325
|
* @interface MonthlyTurnoverResponse
|
|
6126
6326
|
*/
|
|
@@ -6236,12 +6436,6 @@ export interface NoShowFeeResponse {
|
|
|
6236
6436
|
* @interface OffPeakRule
|
|
6237
6437
|
*/
|
|
6238
6438
|
export interface OffPeakRule {
|
|
6239
|
-
/**
|
|
6240
|
-
*
|
|
6241
|
-
* @type {string}
|
|
6242
|
-
* @memberof OffPeakRule
|
|
6243
|
-
*/
|
|
6244
|
-
'pricingPeriodName'?: string;
|
|
6245
6439
|
/**
|
|
6246
6440
|
*
|
|
6247
6441
|
* @type {number}
|
|
@@ -6420,6 +6614,20 @@ export interface PartialClubWeeklySchedule {
|
|
|
6420
6614
|
*/
|
|
6421
6615
|
'sunday'?: ClubDaySchedule;
|
|
6422
6616
|
}
|
|
6617
|
+
/**
|
|
6618
|
+
*
|
|
6619
|
+
* @export
|
|
6620
|
+
* @enum {string}
|
|
6621
|
+
*/
|
|
6622
|
+
|
|
6623
|
+
export const ParticipationType = {
|
|
6624
|
+
Solo: 'solo',
|
|
6625
|
+
Team: 'team'
|
|
6626
|
+
} as const;
|
|
6627
|
+
|
|
6628
|
+
export type ParticipationType = typeof ParticipationType[keyof typeof ParticipationType];
|
|
6629
|
+
|
|
6630
|
+
|
|
6423
6631
|
/**
|
|
6424
6632
|
*
|
|
6425
6633
|
* @export
|
|
@@ -6564,60 +6772,6 @@ export const PlanInterval = {
|
|
|
6564
6772
|
export type PlanInterval = typeof PlanInterval[keyof typeof PlanInterval];
|
|
6565
6773
|
|
|
6566
6774
|
|
|
6567
|
-
/**
|
|
6568
|
-
*
|
|
6569
|
-
* @export
|
|
6570
|
-
* @interface PlanPrice
|
|
6571
|
-
*/
|
|
6572
|
-
export interface PlanPrice {
|
|
6573
|
-
/**
|
|
6574
|
-
*
|
|
6575
|
-
* @type {number}
|
|
6576
|
-
* @memberof PlanPrice
|
|
6577
|
-
*/
|
|
6578
|
-
'amountInCents': number;
|
|
6579
|
-
/**
|
|
6580
|
-
*
|
|
6581
|
-
* @type {PlanInterval}
|
|
6582
|
-
* @memberof PlanPrice
|
|
6583
|
-
*/
|
|
6584
|
-
'interval': PlanInterval;
|
|
6585
|
-
/**
|
|
6586
|
-
*
|
|
6587
|
-
* @type {boolean}
|
|
6588
|
-
* @memberof PlanPrice
|
|
6589
|
-
*/
|
|
6590
|
-
'active'?: boolean;
|
|
6591
|
-
/**
|
|
6592
|
-
*
|
|
6593
|
-
* @type {string}
|
|
6594
|
-
* @memberof PlanPrice
|
|
6595
|
-
*/
|
|
6596
|
-
'stripePriceId'?: string;
|
|
6597
|
-
}
|
|
6598
|
-
|
|
6599
|
-
|
|
6600
|
-
/**
|
|
6601
|
-
*
|
|
6602
|
-
* @export
|
|
6603
|
-
* @interface PlanPriceInput
|
|
6604
|
-
*/
|
|
6605
|
-
export interface PlanPriceInput {
|
|
6606
|
-
/**
|
|
6607
|
-
*
|
|
6608
|
-
* @type {number}
|
|
6609
|
-
* @memberof PlanPriceInput
|
|
6610
|
-
*/
|
|
6611
|
-
'amountInCents': number;
|
|
6612
|
-
/**
|
|
6613
|
-
*
|
|
6614
|
-
* @type {PlanInterval}
|
|
6615
|
-
* @memberof PlanPriceInput
|
|
6616
|
-
*/
|
|
6617
|
-
'interval': PlanInterval;
|
|
6618
|
-
}
|
|
6619
|
-
|
|
6620
|
-
|
|
6621
6775
|
/**
|
|
6622
6776
|
*
|
|
6623
6777
|
* @export
|
|
@@ -7000,19 +7154,13 @@ export interface PublicSubscriptionPlanResponse {
|
|
|
7000
7154
|
* @type {number}
|
|
7001
7155
|
* @memberof PublicSubscriptionPlanResponse
|
|
7002
7156
|
*/
|
|
7003
|
-
'amountInCents'
|
|
7157
|
+
'amountInCents': number;
|
|
7004
7158
|
/**
|
|
7005
7159
|
*
|
|
7006
7160
|
* @type {string}
|
|
7007
7161
|
* @memberof PublicSubscriptionPlanResponse
|
|
7008
7162
|
*/
|
|
7009
7163
|
'currency': string;
|
|
7010
|
-
/**
|
|
7011
|
-
*
|
|
7012
|
-
* @type {Array<PlanPrice>}
|
|
7013
|
-
* @memberof PublicSubscriptionPlanResponse
|
|
7014
|
-
*/
|
|
7015
|
-
'prices': Array<PlanPrice>;
|
|
7016
7164
|
/**
|
|
7017
7165
|
*
|
|
7018
7166
|
* @type {PlanInterval}
|
|
@@ -7025,12 +7173,6 @@ export interface PublicSubscriptionPlanResponse {
|
|
|
7025
7173
|
* @memberof PublicSubscriptionPlanResponse
|
|
7026
7174
|
*/
|
|
7027
7175
|
'description'?: string;
|
|
7028
|
-
/**
|
|
7029
|
-
*
|
|
7030
|
-
* @type {SubscriptionPlanDiscountResponse}
|
|
7031
|
-
* @memberof PublicSubscriptionPlanResponse
|
|
7032
|
-
*/
|
|
7033
|
-
'discount'?: SubscriptionPlanDiscountResponse;
|
|
7034
7176
|
}
|
|
7035
7177
|
|
|
7036
7178
|
|
|
@@ -7137,6 +7279,18 @@ export interface PublishEventResponse {
|
|
|
7137
7279
|
* @memberof PublishEventResponse
|
|
7138
7280
|
*/
|
|
7139
7281
|
'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;
|
|
7140
7294
|
}
|
|
7141
7295
|
/**
|
|
7142
7296
|
*
|
|
@@ -7347,6 +7501,71 @@ export interface QuickReservationSlotSummary {
|
|
|
7347
7501
|
*/
|
|
7348
7502
|
'sportKey'?: string;
|
|
7349
7503
|
}
|
|
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
|
+
|
|
7350
7569
|
/**
|
|
7351
7570
|
*
|
|
7352
7571
|
* @export
|
|
@@ -7662,12 +7881,6 @@ export interface SendSubscriptionInvitationRequest {
|
|
|
7662
7881
|
* @memberof SendSubscriptionInvitationRequest
|
|
7663
7882
|
*/
|
|
7664
7883
|
'productId': string;
|
|
7665
|
-
/**
|
|
7666
|
-
* Price spécifique proposé dans l\'invitation (facultatif).
|
|
7667
|
-
* @type {string}
|
|
7668
|
-
* @memberof SendSubscriptionInvitationRequest
|
|
7669
|
-
*/
|
|
7670
|
-
'priceId'?: string;
|
|
7671
7884
|
}
|
|
7672
7885
|
/**
|
|
7673
7886
|
*
|
|
@@ -9833,63 +10046,6 @@ export interface SubscriptionMutationResponse {
|
|
|
9833
10046
|
*/
|
|
9834
10047
|
'subscription': { [key: string]: any; };
|
|
9835
10048
|
}
|
|
9836
|
-
/**
|
|
9837
|
-
*
|
|
9838
|
-
* @export
|
|
9839
|
-
* @interface SubscriptionPlanDiscountResponse
|
|
9840
|
-
*/
|
|
9841
|
-
export interface SubscriptionPlanDiscountResponse {
|
|
9842
|
-
/**
|
|
9843
|
-
*
|
|
9844
|
-
* @type {DiscountType}
|
|
9845
|
-
* @memberof SubscriptionPlanDiscountResponse
|
|
9846
|
-
*/
|
|
9847
|
-
'type': DiscountType;
|
|
9848
|
-
/**
|
|
9849
|
-
*
|
|
9850
|
-
* @type {number}
|
|
9851
|
-
* @memberof SubscriptionPlanDiscountResponse
|
|
9852
|
-
*/
|
|
9853
|
-
'percentage'?: number;
|
|
9854
|
-
/**
|
|
9855
|
-
*
|
|
9856
|
-
* @type {number}
|
|
9857
|
-
* @memberof SubscriptionPlanDiscountResponse
|
|
9858
|
-
*/
|
|
9859
|
-
'maxDiscountAmountInCents'?: number;
|
|
9860
|
-
/**
|
|
9861
|
-
*
|
|
9862
|
-
* @type {string}
|
|
9863
|
-
* @memberof SubscriptionPlanDiscountResponse
|
|
9864
|
-
*/
|
|
9865
|
-
'validFrom'?: string;
|
|
9866
|
-
/**
|
|
9867
|
-
*
|
|
9868
|
-
* @type {string}
|
|
9869
|
-
* @memberof SubscriptionPlanDiscountResponse
|
|
9870
|
-
*/
|
|
9871
|
-
'validTo'?: string;
|
|
9872
|
-
/**
|
|
9873
|
-
*
|
|
9874
|
-
* @type {Array<string>}
|
|
9875
|
-
* @memberof SubscriptionPlanDiscountResponse
|
|
9876
|
-
*/
|
|
9877
|
-
'offPeakRuleNames'?: Array<string>;
|
|
9878
|
-
/**
|
|
9879
|
-
*
|
|
9880
|
-
* @type {Array<OffPeakRule>}
|
|
9881
|
-
* @memberof SubscriptionPlanDiscountResponse
|
|
9882
|
-
*/
|
|
9883
|
-
'offPeakRules'?: Array<OffPeakRule>;
|
|
9884
|
-
/**
|
|
9885
|
-
*
|
|
9886
|
-
* @type {boolean}
|
|
9887
|
-
* @memberof SubscriptionPlanDiscountResponse
|
|
9888
|
-
*/
|
|
9889
|
-
'bookingFree'?: boolean;
|
|
9890
|
-
}
|
|
9891
|
-
|
|
9892
|
-
|
|
9893
10049
|
/**
|
|
9894
10050
|
*
|
|
9895
10051
|
* @export
|
|
@@ -9925,19 +10081,13 @@ export interface SubscriptionPlanResponse {
|
|
|
9925
10081
|
* @type {number}
|
|
9926
10082
|
* @memberof SubscriptionPlanResponse
|
|
9927
10083
|
*/
|
|
9928
|
-
'amountInCents'
|
|
10084
|
+
'amountInCents': number;
|
|
9929
10085
|
/**
|
|
9930
10086
|
*
|
|
9931
10087
|
* @type {string}
|
|
9932
10088
|
* @memberof SubscriptionPlanResponse
|
|
9933
10089
|
*/
|
|
9934
10090
|
'currency': string;
|
|
9935
|
-
/**
|
|
9936
|
-
*
|
|
9937
|
-
* @type {Array<PlanPrice>}
|
|
9938
|
-
* @memberof SubscriptionPlanResponse
|
|
9939
|
-
*/
|
|
9940
|
-
'prices': Array<PlanPrice>;
|
|
9941
10091
|
/**
|
|
9942
10092
|
*
|
|
9943
10093
|
* @type {PlanInterval}
|
|
@@ -9950,18 +10100,6 @@ export interface SubscriptionPlanResponse {
|
|
|
9950
10100
|
* @memberof SubscriptionPlanResponse
|
|
9951
10101
|
*/
|
|
9952
10102
|
'priceActive': boolean;
|
|
9953
|
-
/**
|
|
9954
|
-
*
|
|
9955
|
-
* @type {string}
|
|
9956
|
-
* @memberof SubscriptionPlanResponse
|
|
9957
|
-
*/
|
|
9958
|
-
'description'?: string;
|
|
9959
|
-
/**
|
|
9960
|
-
*
|
|
9961
|
-
* @type {SubscriptionPlanDiscountResponse}
|
|
9962
|
-
* @memberof SubscriptionPlanResponse
|
|
9963
|
-
*/
|
|
9964
|
-
'discount'?: SubscriptionPlanDiscountResponse;
|
|
9965
10103
|
}
|
|
9966
10104
|
|
|
9967
10105
|
|
|
@@ -10569,30 +10707,193 @@ export type UpdateEventRequestVisibilityTypeEnum = typeof UpdateEventRequestVisi
|
|
|
10569
10707
|
export interface UpdateLevelBySportsRequestBody {
|
|
10570
10708
|
/**
|
|
10571
10709
|
*
|
|
10572
|
-
* @type {Array<LevelBySportEntry>}
|
|
10573
|
-
* @memberof UpdateLevelBySportsRequestBody
|
|
10710
|
+
* @type {Array<LevelBySportEntry>}
|
|
10711
|
+
* @memberof UpdateLevelBySportsRequestBody
|
|
10712
|
+
*/
|
|
10713
|
+
'levelBySports': Array<LevelBySportEntry>;
|
|
10714
|
+
}
|
|
10715
|
+
/**
|
|
10716
|
+
*
|
|
10717
|
+
* @export
|
|
10718
|
+
* @interface UpdatePlanRequest
|
|
10719
|
+
*/
|
|
10720
|
+
export interface UpdatePlanRequest {
|
|
10721
|
+
/**
|
|
10722
|
+
*
|
|
10723
|
+
* @type {number}
|
|
10724
|
+
* @memberof UpdatePlanRequest
|
|
10725
|
+
*/
|
|
10726
|
+
'newAmountInCents': number;
|
|
10727
|
+
/**
|
|
10728
|
+
*
|
|
10729
|
+
* @type {string}
|
|
10730
|
+
* @memberof UpdatePlanRequest
|
|
10731
|
+
*/
|
|
10732
|
+
'oldPriceId': string;
|
|
10733
|
+
}
|
|
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
|
|
10574
10853
|
*/
|
|
10575
|
-
'
|
|
10576
|
-
}
|
|
10577
|
-
/**
|
|
10578
|
-
*
|
|
10579
|
-
* @export
|
|
10580
|
-
* @interface UpdatePlanRequest
|
|
10581
|
-
*/
|
|
10582
|
-
export interface UpdatePlanRequest {
|
|
10854
|
+
'baseEndDate'?: string;
|
|
10583
10855
|
/**
|
|
10584
10856
|
*
|
|
10585
|
-
* @type {
|
|
10586
|
-
* @memberof
|
|
10857
|
+
* @type {string}
|
|
10858
|
+
* @memberof UpdateRecurringDefinitionRequest
|
|
10587
10859
|
*/
|
|
10588
|
-
'
|
|
10860
|
+
'recurringType'?: UpdateRecurringDefinitionRequestRecurringTypeEnum;
|
|
10589
10861
|
/**
|
|
10590
10862
|
*
|
|
10591
10863
|
* @type {string}
|
|
10592
|
-
* @memberof
|
|
10864
|
+
* @memberof UpdateRecurringDefinitionRequest
|
|
10593
10865
|
*/
|
|
10594
|
-
'
|
|
10866
|
+
'recurrenceEndDate'?: string;
|
|
10595
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
|
+
|
|
10596
10897
|
/**
|
|
10597
10898
|
*
|
|
10598
10899
|
* @export
|
|
@@ -10948,6 +11249,149 @@ export interface UserClubSubscription {
|
|
|
10948
11249
|
}
|
|
10949
11250
|
|
|
10950
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 {
|
|
11364
|
+
/**
|
|
11365
|
+
*
|
|
11366
|
+
* @type {number}
|
|
11367
|
+
* @memberof UserEventsResponse
|
|
11368
|
+
*/
|
|
11369
|
+
'total': number;
|
|
11370
|
+
/**
|
|
11371
|
+
*
|
|
11372
|
+
* @type {number}
|
|
11373
|
+
* @memberof UserEventsResponse
|
|
11374
|
+
*/
|
|
11375
|
+
'limit': number;
|
|
11376
|
+
/**
|
|
11377
|
+
*
|
|
11378
|
+
* @type {number}
|
|
11379
|
+
* @memberof UserEventsResponse
|
|
11380
|
+
*/
|
|
11381
|
+
'skip': number;
|
|
11382
|
+
/**
|
|
11383
|
+
*
|
|
11384
|
+
* @type {boolean}
|
|
11385
|
+
* @memberof UserEventsResponse
|
|
11386
|
+
*/
|
|
11387
|
+
'hasMore': boolean;
|
|
11388
|
+
/**
|
|
11389
|
+
*
|
|
11390
|
+
* @type {Array<UserEventParticipation>}
|
|
11391
|
+
* @memberof UserEventsResponse
|
|
11392
|
+
*/
|
|
11393
|
+
'participations': Array<UserEventParticipation>;
|
|
11394
|
+
}
|
|
10951
11395
|
/**
|
|
10952
11396
|
*
|
|
10953
11397
|
* @export
|
|
@@ -11347,6 +11791,21 @@ export interface VerifyEmailRequest {
|
|
|
11347
11791
|
*/
|
|
11348
11792
|
'token'?: string;
|
|
11349
11793
|
}
|
|
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
|
+
|
|
11350
11809
|
/**
|
|
11351
11810
|
*
|
|
11352
11811
|
* @export
|
|
@@ -12022,17 +12481,17 @@ export class BookingsManagerApi extends BaseAPI {
|
|
|
12022
12481
|
export const BookingsStaffApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
12023
12482
|
return {
|
|
12024
12483
|
/**
|
|
12025
|
-
* Check-in
|
|
12484
|
+
* Check-in des joueurs only for club with payment features
|
|
12026
12485
|
* @param {string} bookingId
|
|
12027
|
-
* @param {
|
|
12486
|
+
* @param {CheckInPlayersRequest} checkInPlayersRequest
|
|
12028
12487
|
* @param {*} [options] Override http request option.
|
|
12029
12488
|
* @throws {RequiredError}
|
|
12030
12489
|
*/
|
|
12031
|
-
|
|
12490
|
+
checkInPlayers: async (bookingId: string, checkInPlayersRequest: CheckInPlayersRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12032
12491
|
// verify required parameter 'bookingId' is not null or undefined
|
|
12033
|
-
assertParamExists('
|
|
12034
|
-
// verify required parameter '
|
|
12035
|
-
assertParamExists('
|
|
12492
|
+
assertParamExists('checkInPlayers', 'bookingId', bookingId)
|
|
12493
|
+
// verify required parameter 'checkInPlayersRequest' is not null or undefined
|
|
12494
|
+
assertParamExists('checkInPlayers', 'checkInPlayersRequest', checkInPlayersRequest)
|
|
12036
12495
|
const localVarPath = `/api/bookings/{bookingId}/check-in`
|
|
12037
12496
|
.replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
|
|
12038
12497
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -12057,7 +12516,7 @@ export const BookingsStaffApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12057
12516
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12058
12517
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12059
12518
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12060
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
12519
|
+
localVarRequestOptions.data = serializeDataIfNeeded(checkInPlayersRequest, localVarRequestOptions, configuration)
|
|
12061
12520
|
|
|
12062
12521
|
return {
|
|
12063
12522
|
url: toPathString(localVarUrlObj),
|
|
@@ -12357,16 +12816,16 @@ export const BookingsStaffApiFp = function(configuration?: Configuration) {
|
|
|
12357
12816
|
const localVarAxiosParamCreator = BookingsStaffApiAxiosParamCreator(configuration)
|
|
12358
12817
|
return {
|
|
12359
12818
|
/**
|
|
12360
|
-
* Check-in
|
|
12819
|
+
* Check-in des joueurs only for club with payment features
|
|
12361
12820
|
* @param {string} bookingId
|
|
12362
|
-
* @param {
|
|
12821
|
+
* @param {CheckInPlayersRequest} checkInPlayersRequest
|
|
12363
12822
|
* @param {*} [options] Override http request option.
|
|
12364
12823
|
* @throws {RequiredError}
|
|
12365
12824
|
*/
|
|
12366
|
-
async
|
|
12367
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
12825
|
+
async checkInPlayers(bookingId: string, checkInPlayersRequest: CheckInPlayersRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInPlayersResponse>> {
|
|
12826
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.checkInPlayers(bookingId, checkInPlayersRequest, options);
|
|
12368
12827
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12369
|
-
const localVarOperationServerBasePath = operationServerMap['BookingsStaffApi.
|
|
12828
|
+
const localVarOperationServerBasePath = operationServerMap['BookingsStaffApi.checkInPlayers']?.[localVarOperationServerIndex]?.url;
|
|
12370
12829
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12371
12830
|
},
|
|
12372
12831
|
/**
|
|
@@ -12468,13 +12927,13 @@ export const BookingsStaffApiFactory = function (configuration?: Configuration,
|
|
|
12468
12927
|
const localVarFp = BookingsStaffApiFp(configuration)
|
|
12469
12928
|
return {
|
|
12470
12929
|
/**
|
|
12471
|
-
* Check-in
|
|
12472
|
-
* @param {
|
|
12930
|
+
* Check-in des joueurs only for club with payment features
|
|
12931
|
+
* @param {BookingsStaffApiCheckInPlayersRequest} requestParameters Request parameters.
|
|
12473
12932
|
* @param {*} [options] Override http request option.
|
|
12474
12933
|
* @throws {RequiredError}
|
|
12475
12934
|
*/
|
|
12476
|
-
|
|
12477
|
-
return localVarFp.
|
|
12935
|
+
checkInPlayers(requestParameters: BookingsStaffApiCheckInPlayersRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInPlayersResponse> {
|
|
12936
|
+
return localVarFp.checkInPlayers(requestParameters.bookingId, requestParameters.checkInPlayersRequest, options).then((request) => request(axios, basePath));
|
|
12478
12937
|
},
|
|
12479
12938
|
/**
|
|
12480
12939
|
* Créer une réservation pour un joueur depuis l\'espace staff
|
|
@@ -12543,24 +13002,24 @@ export const BookingsStaffApiFactory = function (configuration?: Configuration,
|
|
|
12543
13002
|
};
|
|
12544
13003
|
|
|
12545
13004
|
/**
|
|
12546
|
-
* Request parameters for
|
|
13005
|
+
* Request parameters for checkInPlayers operation in BookingsStaffApi.
|
|
12547
13006
|
* @export
|
|
12548
|
-
* @interface
|
|
13007
|
+
* @interface BookingsStaffApiCheckInPlayersRequest
|
|
12549
13008
|
*/
|
|
12550
|
-
export interface
|
|
13009
|
+
export interface BookingsStaffApiCheckInPlayersRequest {
|
|
12551
13010
|
/**
|
|
12552
13011
|
*
|
|
12553
13012
|
* @type {string}
|
|
12554
|
-
* @memberof
|
|
13013
|
+
* @memberof BookingsStaffApiCheckInPlayers
|
|
12555
13014
|
*/
|
|
12556
13015
|
readonly bookingId: string
|
|
12557
13016
|
|
|
12558
13017
|
/**
|
|
12559
13018
|
*
|
|
12560
|
-
* @type {
|
|
12561
|
-
* @memberof
|
|
13019
|
+
* @type {CheckInPlayersRequest}
|
|
13020
|
+
* @memberof BookingsStaffApiCheckInPlayers
|
|
12562
13021
|
*/
|
|
12563
|
-
readonly
|
|
13022
|
+
readonly checkInPlayersRequest: CheckInPlayersRequest
|
|
12564
13023
|
}
|
|
12565
13024
|
|
|
12566
13025
|
/**
|
|
@@ -12697,14 +13156,14 @@ export interface BookingsStaffApiListClubBookingsRequest {
|
|
|
12697
13156
|
*/
|
|
12698
13157
|
export class BookingsStaffApi extends BaseAPI {
|
|
12699
13158
|
/**
|
|
12700
|
-
* Check-in
|
|
12701
|
-
* @param {
|
|
13159
|
+
* Check-in des joueurs only for club with payment features
|
|
13160
|
+
* @param {BookingsStaffApiCheckInPlayersRequest} requestParameters Request parameters.
|
|
12702
13161
|
* @param {*} [options] Override http request option.
|
|
12703
13162
|
* @throws {RequiredError}
|
|
12704
13163
|
* @memberof BookingsStaffApi
|
|
12705
13164
|
*/
|
|
12706
|
-
public
|
|
12707
|
-
return BookingsStaffApiFp(this.configuration).
|
|
13165
|
+
public checkInPlayers(requestParameters: BookingsStaffApiCheckInPlayersRequest, options?: RawAxiosRequestConfig) {
|
|
13166
|
+
return BookingsStaffApiFp(this.configuration).checkInPlayers(requestParameters.bookingId, requestParameters.checkInPlayersRequest, options).then((request) => request(this.axios, this.basePath));
|
|
12708
13167
|
}
|
|
12709
13168
|
|
|
12710
13169
|
/**
|
|
@@ -19189,39 +19648,6 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configur
|
|
|
19189
19648
|
|
|
19190
19649
|
|
|
19191
19650
|
|
|
19192
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19193
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19194
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19195
|
-
|
|
19196
|
-
return {
|
|
19197
|
-
url: toPathString(localVarUrlObj),
|
|
19198
|
-
options: localVarRequestOptions,
|
|
19199
|
-
};
|
|
19200
|
-
},
|
|
19201
|
-
/**
|
|
19202
|
-
*
|
|
19203
|
-
* @param {*} [options] Override http request option.
|
|
19204
|
-
* @throws {RequiredError}
|
|
19205
|
-
*/
|
|
19206
|
-
getClubType: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19207
|
-
const localVarPath = `/api/clubs/clubType`;
|
|
19208
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19209
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19210
|
-
let baseOptions;
|
|
19211
|
-
if (configuration) {
|
|
19212
|
-
baseOptions = configuration.baseOptions;
|
|
19213
|
-
}
|
|
19214
|
-
|
|
19215
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
19216
|
-
const localVarHeaderParameter = {} as any;
|
|
19217
|
-
const localVarQueryParameter = {} as any;
|
|
19218
|
-
|
|
19219
|
-
// authentication bearerAuth required
|
|
19220
|
-
// http bearer authentication required
|
|
19221
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
19222
|
-
|
|
19223
|
-
|
|
19224
|
-
|
|
19225
19651
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19226
19652
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19227
19653
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -19490,17 +19916,6 @@ export const ClubsStaffApiFp = function(configuration?: Configuration) {
|
|
|
19490
19916
|
const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.getClubRoles']?.[localVarOperationServerIndex]?.url;
|
|
19491
19917
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19492
19918
|
},
|
|
19493
|
-
/**
|
|
19494
|
-
*
|
|
19495
|
-
* @param {*} [options] Override http request option.
|
|
19496
|
-
* @throws {RequiredError}
|
|
19497
|
-
*/
|
|
19498
|
-
async getClubType(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubType200Response>> {
|
|
19499
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getClubType(options);
|
|
19500
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19501
|
-
const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.getClubType']?.[localVarOperationServerIndex]?.url;
|
|
19502
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19503
|
-
},
|
|
19504
19919
|
/**
|
|
19505
19920
|
* Récupère les terrains d\'un club
|
|
19506
19921
|
* @param {*} [options] Override http request option.
|
|
@@ -19614,14 +20029,6 @@ export const ClubsStaffApiFactory = function (configuration?: Configuration, bas
|
|
|
19614
20029
|
getClubRoles(options?: RawAxiosRequestConfig): AxiosPromise<GetClubRoles200Response> {
|
|
19615
20030
|
return localVarFp.getClubRoles(options).then((request) => request(axios, basePath));
|
|
19616
20031
|
},
|
|
19617
|
-
/**
|
|
19618
|
-
*
|
|
19619
|
-
* @param {*} [options] Override http request option.
|
|
19620
|
-
* @throws {RequiredError}
|
|
19621
|
-
*/
|
|
19622
|
-
getClubType(options?: RawAxiosRequestConfig): AxiosPromise<GetClubType200Response> {
|
|
19623
|
-
return localVarFp.getClubType(options).then((request) => request(axios, basePath));
|
|
19624
|
-
},
|
|
19625
20032
|
/**
|
|
19626
20033
|
* Récupère les terrains d\'un club
|
|
19627
20034
|
* @param {*} [options] Override http request option.
|
|
@@ -19840,16 +20247,6 @@ export class ClubsStaffApi extends BaseAPI {
|
|
|
19840
20247
|
return ClubsStaffApiFp(this.configuration).getClubRoles(options).then((request) => request(this.axios, this.basePath));
|
|
19841
20248
|
}
|
|
19842
20249
|
|
|
19843
|
-
/**
|
|
19844
|
-
*
|
|
19845
|
-
* @param {*} [options] Override http request option.
|
|
19846
|
-
* @throws {RequiredError}
|
|
19847
|
-
* @memberof ClubsStaffApi
|
|
19848
|
-
*/
|
|
19849
|
-
public getClubType(options?: RawAxiosRequestConfig) {
|
|
19850
|
-
return ClubsStaffApiFp(this.configuration).getClubType(options).then((request) => request(this.axios, this.basePath));
|
|
19851
|
-
}
|
|
19852
|
-
|
|
19853
20250
|
/**
|
|
19854
20251
|
* Récupère les terrains d\'un club
|
|
19855
20252
|
* @param {*} [options] Override http request option.
|
|
@@ -20102,10 +20499,11 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
20102
20499
|
/**
|
|
20103
20500
|
* Get a specific event by ID
|
|
20104
20501
|
* @param {string} eventId
|
|
20502
|
+
* @param {string} [userId]
|
|
20105
20503
|
* @param {*} [options] Override http request option.
|
|
20106
20504
|
* @throws {RequiredError}
|
|
20107
20505
|
*/
|
|
20108
|
-
getEventById: async (eventId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20506
|
+
getEventById: async (eventId: string, userId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20109
20507
|
// verify required parameter 'eventId' is not null or undefined
|
|
20110
20508
|
assertParamExists('getEventById', 'eventId', eventId)
|
|
20111
20509
|
const localVarPath = `/api/events/{eventId}`
|
|
@@ -20121,6 +20519,10 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
20121
20519
|
const localVarHeaderParameter = {} as any;
|
|
20122
20520
|
const localVarQueryParameter = {} as any;
|
|
20123
20521
|
|
|
20522
|
+
if (userId !== undefined) {
|
|
20523
|
+
localVarQueryParameter['userId'] = userId;
|
|
20524
|
+
}
|
|
20525
|
+
|
|
20124
20526
|
|
|
20125
20527
|
|
|
20126
20528
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -20300,11 +20702,12 @@ export const EventsApiFp = function(configuration?: Configuration) {
|
|
|
20300
20702
|
/**
|
|
20301
20703
|
* Get a specific event by ID
|
|
20302
20704
|
* @param {string} eventId
|
|
20705
|
+
* @param {string} [userId]
|
|
20303
20706
|
* @param {*} [options] Override http request option.
|
|
20304
20707
|
* @throws {RequiredError}
|
|
20305
20708
|
*/
|
|
20306
|
-
async getEventById(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>> {
|
|
20307
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventById(eventId, options);
|
|
20709
|
+
async getEventById(eventId: string, userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>> {
|
|
20710
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventById(eventId, userId, options);
|
|
20308
20711
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20309
20712
|
const localVarOperationServerBasePath = operationServerMap['EventsApi.getEventById']?.[localVarOperationServerIndex]?.url;
|
|
20310
20713
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -20384,7 +20787,7 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
|
|
|
20384
20787
|
* @throws {RequiredError}
|
|
20385
20788
|
*/
|
|
20386
20789
|
getEventById(requestParameters: EventsApiGetEventByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublishEventResponse> {
|
|
20387
|
-
return localVarFp.getEventById(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
20790
|
+
return localVarFp.getEventById(requestParameters.eventId, requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
20388
20791
|
},
|
|
20389
20792
|
/**
|
|
20390
20793
|
* Get all published events for a club
|
|
@@ -20470,6 +20873,13 @@ export interface EventsApiGetEventByIdRequest {
|
|
|
20470
20873
|
* @memberof EventsApiGetEventById
|
|
20471
20874
|
*/
|
|
20472
20875
|
readonly eventId: string
|
|
20876
|
+
|
|
20877
|
+
/**
|
|
20878
|
+
*
|
|
20879
|
+
* @type {string}
|
|
20880
|
+
* @memberof EventsApiGetEventById
|
|
20881
|
+
*/
|
|
20882
|
+
readonly userId?: string
|
|
20473
20883
|
}
|
|
20474
20884
|
|
|
20475
20885
|
/**
|
|
@@ -20579,7 +20989,7 @@ export class EventsApi extends BaseAPI {
|
|
|
20579
20989
|
* @memberof EventsApi
|
|
20580
20990
|
*/
|
|
20581
20991
|
public getEventById(requestParameters: EventsApiGetEventByIdRequest, options?: RawAxiosRequestConfig) {
|
|
20582
|
-
return EventsApiFp(this.configuration).getEventById(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
20992
|
+
return EventsApiFp(this.configuration).getEventById(requestParameters.eventId, requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
|
|
20583
20993
|
}
|
|
20584
20994
|
|
|
20585
20995
|
/**
|
|
@@ -20712,7 +21122,44 @@ export const EventsManagerApiAxiosParamCreator = function (configuration?: Confi
|
|
|
20712
21122
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20713
21123
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20714
21124
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
20715
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createEventRequest, localVarRequestOptions, configuration)
|
|
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};
|
|
20716
21163
|
|
|
20717
21164
|
return {
|
|
20718
21165
|
url: toPathString(localVarUrlObj),
|
|
@@ -20720,16 +21167,13 @@ export const EventsManagerApiAxiosParamCreator = function (configuration?: Confi
|
|
|
20720
21167
|
};
|
|
20721
21168
|
},
|
|
20722
21169
|
/**
|
|
20723
|
-
*
|
|
20724
|
-
* @param {
|
|
21170
|
+
* List recurring definitions about to expire within `days` (manager)
|
|
21171
|
+
* @param {number} [days]
|
|
20725
21172
|
* @param {*} [options] Override http request option.
|
|
20726
21173
|
* @throws {RequiredError}
|
|
20727
21174
|
*/
|
|
20728
|
-
|
|
20729
|
-
|
|
20730
|
-
assertParamExists('deleteEvent', 'eventId', eventId)
|
|
20731
|
-
const localVarPath = `/api/events/manager/deleteEvent/{eventId}`
|
|
20732
|
-
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
21175
|
+
getExpiringRecurringDefinitions: async (days?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21176
|
+
const localVarPath = `/api/events/manager/recurring/expiring`;
|
|
20733
21177
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20734
21178
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20735
21179
|
let baseOptions;
|
|
@@ -20737,7 +21181,7 @@ export const EventsManagerApiAxiosParamCreator = function (configuration?: Confi
|
|
|
20737
21181
|
baseOptions = configuration.baseOptions;
|
|
20738
21182
|
}
|
|
20739
21183
|
|
|
20740
|
-
const localVarRequestOptions = { method: '
|
|
21184
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
20741
21185
|
const localVarHeaderParameter = {} as any;
|
|
20742
21186
|
const localVarQueryParameter = {} as any;
|
|
20743
21187
|
|
|
@@ -20745,6 +21189,10 @@ export const EventsManagerApiAxiosParamCreator = function (configuration?: Confi
|
|
|
20745
21189
|
// http bearer authentication required
|
|
20746
21190
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
20747
21191
|
|
|
21192
|
+
if (days !== undefined) {
|
|
21193
|
+
localVarQueryParameter['days'] = days;
|
|
21194
|
+
}
|
|
21195
|
+
|
|
20748
21196
|
|
|
20749
21197
|
|
|
20750
21198
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -20911,6 +21359,49 @@ export const EventsManagerApiAxiosParamCreator = function (configuration?: Confi
|
|
|
20911
21359
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
20912
21360
|
localVarRequestOptions.data = serializeDataIfNeeded(updateEventRequest, localVarRequestOptions, configuration)
|
|
20913
21361
|
|
|
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
|
+
|
|
20914
21405
|
return {
|
|
20915
21406
|
url: toPathString(localVarUrlObj),
|
|
20916
21407
|
options: localVarRequestOptions,
|
|
@@ -20962,6 +21453,18 @@ export const EventsManagerApiFp = function(configuration?: Configuration) {
|
|
|
20962
21453
|
const localVarOperationServerBasePath = operationServerMap['EventsManagerApi.deleteEvent']?.[localVarOperationServerIndex]?.url;
|
|
20963
21454
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20964
21455
|
},
|
|
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
|
+
},
|
|
20965
21468
|
/**
|
|
20966
21469
|
* Publish an event (manager)
|
|
20967
21470
|
* @param {string} eventId
|
|
@@ -21012,6 +21515,19 @@ export const EventsManagerApiFp = function(configuration?: Configuration) {
|
|
|
21012
21515
|
const localVarOperationServerBasePath = operationServerMap['EventsManagerApi.updatePublishedEvent']?.[localVarOperationServerIndex]?.url;
|
|
21013
21516
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21014
21517
|
},
|
|
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
|
+
},
|
|
21015
21531
|
}
|
|
21016
21532
|
};
|
|
21017
21533
|
|
|
@@ -21049,6 +21565,15 @@ export const EventsManagerApiFactory = function (configuration?: Configuration,
|
|
|
21049
21565
|
deleteEvent(requestParameters: EventsManagerApiDeleteEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteEventResponse> {
|
|
21050
21566
|
return localVarFp.deleteEvent(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
21051
21567
|
},
|
|
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
|
+
},
|
|
21052
21577
|
/**
|
|
21053
21578
|
* Publish an event (manager)
|
|
21054
21579
|
* @param {EventsManagerApiPublishEventRequest} requestParameters Request parameters.
|
|
@@ -21085,6 +21610,15 @@ export const EventsManagerApiFactory = function (configuration?: Configuration,
|
|
|
21085
21610
|
updatePublishedEvent(requestParameters: EventsManagerApiUpdatePublishedEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublishEventResponse> {
|
|
21086
21611
|
return localVarFp.updatePublishedEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(axios, basePath));
|
|
21087
21612
|
},
|
|
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
|
+
},
|
|
21088
21622
|
};
|
|
21089
21623
|
};
|
|
21090
21624
|
|
|
@@ -21130,6 +21664,20 @@ export interface EventsManagerApiDeleteEventRequest {
|
|
|
21130
21664
|
readonly eventId: string
|
|
21131
21665
|
}
|
|
21132
21666
|
|
|
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
|
+
|
|
21133
21681
|
/**
|
|
21134
21682
|
* Request parameters for publishEvent operation in EventsManagerApi.
|
|
21135
21683
|
* @export
|
|
@@ -21200,6 +21748,27 @@ export interface EventsManagerApiUpdatePublishedEventRequest {
|
|
|
21200
21748
|
readonly updateEventRequest: UpdateEventRequest
|
|
21201
21749
|
}
|
|
21202
21750
|
|
|
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
|
+
|
|
21203
21772
|
/**
|
|
21204
21773
|
* EventsManagerApi - object-oriented interface
|
|
21205
21774
|
* @export
|
|
@@ -21240,6 +21809,17 @@ export class EventsManagerApi extends BaseAPI {
|
|
|
21240
21809
|
return EventsManagerApiFp(this.configuration).deleteEvent(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
21241
21810
|
}
|
|
21242
21811
|
|
|
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
|
+
|
|
21243
21823
|
/**
|
|
21244
21824
|
* Publish an event (manager)
|
|
21245
21825
|
* @param {EventsManagerApiPublishEventRequest} requestParameters Request parameters.
|
|
@@ -21283,6 +21863,17 @@ export class EventsManagerApi extends BaseAPI {
|
|
|
21283
21863
|
public updatePublishedEvent(requestParameters: EventsManagerApiUpdatePublishedEventRequest, options?: RawAxiosRequestConfig) {
|
|
21284
21864
|
return EventsManagerApiFp(this.configuration).updatePublishedEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(this.axios, this.basePath));
|
|
21285
21865
|
}
|
|
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
|
+
}
|
|
21286
21877
|
}
|
|
21287
21878
|
|
|
21288
21879
|
|
|
@@ -22475,43 +23066,6 @@ export class SportsPublicApi extends BaseAPI {
|
|
|
22475
23066
|
*/
|
|
22476
23067
|
export const SubscriptionsManagerApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
22477
23068
|
return {
|
|
22478
|
-
/**
|
|
22479
|
-
* Supprime (archive) un plan par productId (manager)
|
|
22480
|
-
* @param {string} productId
|
|
22481
|
-
* @param {*} [options] Override http request option.
|
|
22482
|
-
* @throws {RequiredError}
|
|
22483
|
-
*/
|
|
22484
|
-
archivePlan: async (productId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22485
|
-
// verify required parameter 'productId' is not null or undefined
|
|
22486
|
-
assertParamExists('archivePlan', 'productId', productId)
|
|
22487
|
-
const localVarPath = `/api/subscriptions/plans/{productId}/archive`
|
|
22488
|
-
.replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
|
|
22489
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22490
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22491
|
-
let baseOptions;
|
|
22492
|
-
if (configuration) {
|
|
22493
|
-
baseOptions = configuration.baseOptions;
|
|
22494
|
-
}
|
|
22495
|
-
|
|
22496
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
22497
|
-
const localVarHeaderParameter = {} as any;
|
|
22498
|
-
const localVarQueryParameter = {} as any;
|
|
22499
|
-
|
|
22500
|
-
// authentication bearerAuth required
|
|
22501
|
-
// http bearer authentication required
|
|
22502
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
22503
|
-
|
|
22504
|
-
|
|
22505
|
-
|
|
22506
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22507
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22508
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22509
|
-
|
|
22510
|
-
return {
|
|
22511
|
-
url: toPathString(localVarUrlObj),
|
|
22512
|
-
options: localVarRequestOptions,
|
|
22513
|
-
};
|
|
22514
|
-
},
|
|
22515
23069
|
/**
|
|
22516
23070
|
* Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
|
|
22517
23071
|
* @param {CreateSubscriptionPlanRequest} createSubscriptionPlanRequest
|
|
@@ -22552,7 +23106,7 @@ export const SubscriptionsManagerApiAxiosParamCreator = function (configuration?
|
|
|
22552
23106
|
};
|
|
22553
23107
|
},
|
|
22554
23108
|
/**
|
|
22555
|
-
* Supprime un plan par productId (manager)
|
|
23109
|
+
* Supprime (archive) un plan par productId (manager)
|
|
22556
23110
|
* @param {string} productId
|
|
22557
23111
|
* @param {*} [options] Override http request option.
|
|
22558
23112
|
* @throws {RequiredError}
|
|
@@ -22637,18 +23191,6 @@ export const SubscriptionsManagerApiAxiosParamCreator = function (configuration?
|
|
|
22637
23191
|
export const SubscriptionsManagerApiFp = function(configuration?: Configuration) {
|
|
22638
23192
|
const localVarAxiosParamCreator = SubscriptionsManagerApiAxiosParamCreator(configuration)
|
|
22639
23193
|
return {
|
|
22640
|
-
/**
|
|
22641
|
-
* Supprime (archive) un plan par productId (manager)
|
|
22642
|
-
* @param {string} productId
|
|
22643
|
-
* @param {*} [options] Override http request option.
|
|
22644
|
-
* @throws {RequiredError}
|
|
22645
|
-
*/
|
|
22646
|
-
async archivePlan(productId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteSubscriptionPlanResponse>> {
|
|
22647
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.archivePlan(productId, options);
|
|
22648
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22649
|
-
const localVarOperationServerBasePath = operationServerMap['SubscriptionsManagerApi.archivePlan']?.[localVarOperationServerIndex]?.url;
|
|
22650
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22651
|
-
},
|
|
22652
23194
|
/**
|
|
22653
23195
|
* Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
|
|
22654
23196
|
* @param {CreateSubscriptionPlanRequest} createSubscriptionPlanRequest
|
|
@@ -22662,7 +23204,7 @@ export const SubscriptionsManagerApiFp = function(configuration?: Configuration)
|
|
|
22662
23204
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22663
23205
|
},
|
|
22664
23206
|
/**
|
|
22665
|
-
* Supprime un plan par productId (manager)
|
|
23207
|
+
* Supprime (archive) un plan par productId (manager)
|
|
22666
23208
|
* @param {string} productId
|
|
22667
23209
|
* @param {*} [options] Override http request option.
|
|
22668
23210
|
* @throws {RequiredError}
|
|
@@ -22695,15 +23237,6 @@ export const SubscriptionsManagerApiFp = function(configuration?: Configuration)
|
|
|
22695
23237
|
export const SubscriptionsManagerApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
22696
23238
|
const localVarFp = SubscriptionsManagerApiFp(configuration)
|
|
22697
23239
|
return {
|
|
22698
|
-
/**
|
|
22699
|
-
* Supprime (archive) un plan par productId (manager)
|
|
22700
|
-
* @param {SubscriptionsManagerApiArchivePlanRequest} requestParameters Request parameters.
|
|
22701
|
-
* @param {*} [options] Override http request option.
|
|
22702
|
-
* @throws {RequiredError}
|
|
22703
|
-
*/
|
|
22704
|
-
archivePlan(requestParameters: SubscriptionsManagerApiArchivePlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteSubscriptionPlanResponse> {
|
|
22705
|
-
return localVarFp.archivePlan(requestParameters.productId, options).then((request) => request(axios, basePath));
|
|
22706
|
-
},
|
|
22707
23240
|
/**
|
|
22708
23241
|
* Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
|
|
22709
23242
|
* @param {SubscriptionsManagerApiCreatePlanRequest} requestParameters Request parameters.
|
|
@@ -22714,7 +23247,7 @@ export const SubscriptionsManagerApiFactory = function (configuration?: Configur
|
|
|
22714
23247
|
return localVarFp.createPlan(requestParameters.createSubscriptionPlanRequest, options).then((request) => request(axios, basePath));
|
|
22715
23248
|
},
|
|
22716
23249
|
/**
|
|
22717
|
-
* Supprime un plan par productId (manager)
|
|
23250
|
+
* Supprime (archive) un plan par productId (manager)
|
|
22718
23251
|
* @param {SubscriptionsManagerApiDeletePlanRequest} requestParameters Request parameters.
|
|
22719
23252
|
* @param {*} [options] Override http request option.
|
|
22720
23253
|
* @throws {RequiredError}
|
|
@@ -22734,20 +23267,6 @@ export const SubscriptionsManagerApiFactory = function (configuration?: Configur
|
|
|
22734
23267
|
};
|
|
22735
23268
|
};
|
|
22736
23269
|
|
|
22737
|
-
/**
|
|
22738
|
-
* Request parameters for archivePlan operation in SubscriptionsManagerApi.
|
|
22739
|
-
* @export
|
|
22740
|
-
* @interface SubscriptionsManagerApiArchivePlanRequest
|
|
22741
|
-
*/
|
|
22742
|
-
export interface SubscriptionsManagerApiArchivePlanRequest {
|
|
22743
|
-
/**
|
|
22744
|
-
*
|
|
22745
|
-
* @type {string}
|
|
22746
|
-
* @memberof SubscriptionsManagerApiArchivePlan
|
|
22747
|
-
*/
|
|
22748
|
-
readonly productId: string
|
|
22749
|
-
}
|
|
22750
|
-
|
|
22751
23270
|
/**
|
|
22752
23271
|
* Request parameters for createPlan operation in SubscriptionsManagerApi.
|
|
22753
23272
|
* @export
|
|
@@ -22797,17 +23316,6 @@ export interface SubscriptionsManagerApiUpdatePlanRequest {
|
|
|
22797
23316
|
* @extends {BaseAPI}
|
|
22798
23317
|
*/
|
|
22799
23318
|
export class SubscriptionsManagerApi extends BaseAPI {
|
|
22800
|
-
/**
|
|
22801
|
-
* Supprime (archive) un plan par productId (manager)
|
|
22802
|
-
* @param {SubscriptionsManagerApiArchivePlanRequest} requestParameters Request parameters.
|
|
22803
|
-
* @param {*} [options] Override http request option.
|
|
22804
|
-
* @throws {RequiredError}
|
|
22805
|
-
* @memberof SubscriptionsManagerApi
|
|
22806
|
-
*/
|
|
22807
|
-
public archivePlan(requestParameters: SubscriptionsManagerApiArchivePlanRequest, options?: RawAxiosRequestConfig) {
|
|
22808
|
-
return SubscriptionsManagerApiFp(this.configuration).archivePlan(requestParameters.productId, options).then((request) => request(this.axios, this.basePath));
|
|
22809
|
-
}
|
|
22810
|
-
|
|
22811
23319
|
/**
|
|
22812
23320
|
* Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
|
|
22813
23321
|
* @param {SubscriptionsManagerApiCreatePlanRequest} requestParameters Request parameters.
|
|
@@ -22820,7 +23328,7 @@ export class SubscriptionsManagerApi extends BaseAPI {
|
|
|
22820
23328
|
}
|
|
22821
23329
|
|
|
22822
23330
|
/**
|
|
22823
|
-
* Supprime un plan par productId (manager)
|
|
23331
|
+
* Supprime (archive) un plan par productId (manager)
|
|
22824
23332
|
* @param {SubscriptionsManagerApiDeletePlanRequest} requestParameters Request parameters.
|
|
22825
23333
|
* @param {*} [options] Override http request option.
|
|
22826
23334
|
* @throws {RequiredError}
|
|
@@ -24330,6 +24838,49 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
24330
24838
|
|
|
24331
24839
|
|
|
24332
24840
|
|
|
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
|
+
|
|
24333
24884
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24334
24885
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24335
24886
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -25268,6 +25819,19 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
25268
25819
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.getUserBookings']?.[localVarOperationServerIndex]?.url;
|
|
25269
25820
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25270
25821
|
},
|
|
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
|
+
},
|
|
25271
25835
|
/**
|
|
25272
25836
|
*
|
|
25273
25837
|
* @param {string} id
|
|
@@ -25656,6 +26220,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
25656
26220
|
getUserBookings(requestParameters: UsersApiGetUserBookingsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<UserBookingsResponse> {
|
|
25657
26221
|
return localVarFp.getUserBookings(requestParameters.limit, requestParameters.skip, options).then((request) => request(axios, basePath));
|
|
25658
26222
|
},
|
|
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
|
+
},
|
|
25659
26232
|
/**
|
|
25660
26233
|
*
|
|
25661
26234
|
* @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
|
|
@@ -26023,6 +26596,27 @@ export interface UsersApiGetUserBookingsRequest {
|
|
|
26023
26596
|
readonly skip?: number
|
|
26024
26597
|
}
|
|
26025
26598
|
|
|
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
|
+
|
|
26026
26620
|
/**
|
|
26027
26621
|
* Request parameters for getUserProfileById operation in UsersApi.
|
|
26028
26622
|
* @export
|
|
@@ -26521,6 +27115,17 @@ export class UsersApi extends BaseAPI {
|
|
|
26521
27115
|
return UsersApiFp(this.configuration).getUserBookings(requestParameters.limit, requestParameters.skip, options).then((request) => request(this.axios, this.basePath));
|
|
26522
27116
|
}
|
|
26523
27117
|
|
|
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
|
+
|
|
26524
27129
|
/**
|
|
26525
27130
|
*
|
|
26526
27131
|
* @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
|