@tennac-booking/sdk 1.0.129 → 1.0.131
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +17 -2
- package/README.md +24 -5
- package/api.ts +876 -74
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +685 -57
- package/dist/api.js +286 -29
- 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 +685 -57
- package/dist/esm/api.js +282 -25
- 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/{CheckInPlayersRequest.md → CheckInPlayerRequest.md} +5 -5
- 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/EstimateEventPrice200Response.md +0 -2
- package/docs/EventBookingDetailSummary.md +2 -2
- package/docs/EventBookingDetailSummaryPaymentPerPlayersInner.md +30 -0
- package/docs/GetClubType200Response.md +20 -0
- 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/PlanPriceInput.md +22 -0
- package/docs/PublicAccessSettings.md +24 -0
- package/docs/PublicSubscriptionPlanResponse.md +5 -1
- 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/UserClubSubscription.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* openapi.json
|
|
3
3
|
* Pandook API Documentation
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.131
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1421,34 +1421,34 @@ export interface CheckInEventParticipantsRequest {
|
|
|
1421
1421
|
/**
|
|
1422
1422
|
*
|
|
1423
1423
|
* @export
|
|
1424
|
-
* @interface
|
|
1424
|
+
* @interface CheckInPlayerRequest
|
|
1425
1425
|
*/
|
|
1426
|
-
export interface
|
|
1426
|
+
export interface CheckInPlayerRequest {
|
|
1427
1427
|
/**
|
|
1428
|
-
*
|
|
1429
|
-
* @type {
|
|
1430
|
-
* @memberof
|
|
1428
|
+
* ID du joueur qui a payé/est arrivé
|
|
1429
|
+
* @type {string}
|
|
1430
|
+
* @memberof CheckInPlayerRequest
|
|
1431
1431
|
*/
|
|
1432
|
-
'
|
|
1432
|
+
'playerId': string;
|
|
1433
1433
|
}
|
|
1434
1434
|
/**
|
|
1435
1435
|
*
|
|
1436
1436
|
* @export
|
|
1437
|
-
* @interface
|
|
1437
|
+
* @interface CheckInPlayerResponse
|
|
1438
1438
|
*/
|
|
1439
|
-
export interface
|
|
1439
|
+
export interface CheckInPlayerResponse {
|
|
1440
1440
|
/**
|
|
1441
1441
|
* Message de confirmation
|
|
1442
1442
|
* @type {string}
|
|
1443
|
-
* @memberof
|
|
1443
|
+
* @memberof CheckInPlayerResponse
|
|
1444
1444
|
*/
|
|
1445
1445
|
'message': string;
|
|
1446
1446
|
/**
|
|
1447
|
-
*
|
|
1448
|
-
* @type {
|
|
1449
|
-
* @memberof
|
|
1447
|
+
*
|
|
1448
|
+
* @type {CheckedInPlayer}
|
|
1449
|
+
* @memberof CheckInPlayerResponse
|
|
1450
1450
|
*/
|
|
1451
|
-
'
|
|
1451
|
+
'invoice': CheckedInPlayer;
|
|
1452
1452
|
}
|
|
1453
1453
|
/**
|
|
1454
1454
|
*
|
|
@@ -1795,6 +1795,37 @@ export interface ClientSubscriptionsResponse {
|
|
|
1795
1795
|
*/
|
|
1796
1796
|
'subscriptions': Array<ClientSubscription>;
|
|
1797
1797
|
}
|
|
1798
|
+
/**
|
|
1799
|
+
*
|
|
1800
|
+
* @export
|
|
1801
|
+
* @interface ClubAccessSettingsResponse
|
|
1802
|
+
*/
|
|
1803
|
+
export interface ClubAccessSettingsResponse {
|
|
1804
|
+
/**
|
|
1805
|
+
*
|
|
1806
|
+
* @type {PublicAccessSettings}
|
|
1807
|
+
* @memberof ClubAccessSettingsResponse
|
|
1808
|
+
*/
|
|
1809
|
+
'publicAccess': PublicAccessSettings | null;
|
|
1810
|
+
/**
|
|
1811
|
+
*
|
|
1812
|
+
* @type {SchoolAccessSettings}
|
|
1813
|
+
* @memberof ClubAccessSettingsResponse
|
|
1814
|
+
*/
|
|
1815
|
+
'schoolAccess': SchoolAccessSettings | null;
|
|
1816
|
+
/**
|
|
1817
|
+
*
|
|
1818
|
+
* @type {HotelAccessSettings}
|
|
1819
|
+
* @memberof ClubAccessSettingsResponse
|
|
1820
|
+
*/
|
|
1821
|
+
'hotelAccess': HotelAccessSettings | null;
|
|
1822
|
+
/**
|
|
1823
|
+
*
|
|
1824
|
+
* @type {PaymentRequirementsSettings}
|
|
1825
|
+
* @memberof ClubAccessSettingsResponse
|
|
1826
|
+
*/
|
|
1827
|
+
'paymentRequirements': PaymentRequirementsSettings | null;
|
|
1828
|
+
}
|
|
1798
1829
|
/**
|
|
1799
1830
|
*
|
|
1800
1831
|
* @export
|
|
@@ -2705,11 +2736,11 @@ export interface ClubPlayerSubscriptionSummary {
|
|
|
2705
2736
|
*/
|
|
2706
2737
|
'name': string | null;
|
|
2707
2738
|
/**
|
|
2708
|
-
*
|
|
2709
|
-
* @type {
|
|
2739
|
+
* Tarifications disponibles
|
|
2740
|
+
* @type {Array<PlanPrice>}
|
|
2710
2741
|
* @memberof ClubPlayerSubscriptionSummary
|
|
2711
2742
|
*/
|
|
2712
|
-
'
|
|
2743
|
+
'prices': Array<PlanPrice>;
|
|
2713
2744
|
/**
|
|
2714
2745
|
* Devise
|
|
2715
2746
|
* @type {string}
|
|
@@ -2717,7 +2748,7 @@ export interface ClubPlayerSubscriptionSummary {
|
|
|
2717
2748
|
*/
|
|
2718
2749
|
'currency': string | null;
|
|
2719
2750
|
/**
|
|
2720
|
-
* Intervalle
|
|
2751
|
+
* Intervalle par défaut
|
|
2721
2752
|
* @type {string}
|
|
2722
2753
|
* @memberof ClubPlayerSubscriptionSummary
|
|
2723
2754
|
*/
|
|
@@ -3917,6 +3948,12 @@ export interface CreateOnsiteInvoiceResponseInvoice {
|
|
|
3917
3948
|
* @interface CreatePlan201Response
|
|
3918
3949
|
*/
|
|
3919
3950
|
export interface CreatePlan201Response {
|
|
3951
|
+
/**
|
|
3952
|
+
*
|
|
3953
|
+
* @type {Array<string>}
|
|
3954
|
+
* @memberof CreatePlan201Response
|
|
3955
|
+
*/
|
|
3956
|
+
'priceIds': Array<string>;
|
|
3920
3957
|
/**
|
|
3921
3958
|
*
|
|
3922
3959
|
* @type {string}
|
|
@@ -4031,10 +4068,10 @@ export interface CreateSubscriptionPlanRequest {
|
|
|
4031
4068
|
'description'?: string;
|
|
4032
4069
|
/**
|
|
4033
4070
|
*
|
|
4034
|
-
* @type {
|
|
4071
|
+
* @type {Array<PlanPriceInput>}
|
|
4035
4072
|
* @memberof CreateSubscriptionPlanRequest
|
|
4036
4073
|
*/
|
|
4037
|
-
'
|
|
4074
|
+
'prices': Array<PlanPriceInput>;
|
|
4038
4075
|
/**
|
|
4039
4076
|
*
|
|
4040
4077
|
* @type {string}
|
|
@@ -4070,8 +4107,15 @@ export interface CreateSubscriptionPlanRequestDiscount {
|
|
|
4070
4107
|
*
|
|
4071
4108
|
* @type {Array<OffPeakRule>}
|
|
4072
4109
|
* @memberof CreateSubscriptionPlanRequestDiscount
|
|
4110
|
+
* @deprecated
|
|
4073
4111
|
*/
|
|
4074
4112
|
'offPeakRules'?: Array<OffPeakRule>;
|
|
4113
|
+
/**
|
|
4114
|
+
* 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.
|
|
4115
|
+
* @type {Array<string>}
|
|
4116
|
+
* @memberof CreateSubscriptionPlanRequestDiscount
|
|
4117
|
+
*/
|
|
4118
|
+
'offPeakRuleNames'?: Array<string>;
|
|
4075
4119
|
/**
|
|
4076
4120
|
*
|
|
4077
4121
|
* @type {string}
|
|
@@ -4223,6 +4267,12 @@ export interface DeleteSubscriptionPlanResponse {
|
|
|
4223
4267
|
* @memberof DeleteSubscriptionPlanResponse
|
|
4224
4268
|
*/
|
|
4225
4269
|
'message': string;
|
|
4270
|
+
/**
|
|
4271
|
+
*
|
|
4272
|
+
* @type {boolean}
|
|
4273
|
+
* @memberof DeleteSubscriptionPlanResponse
|
|
4274
|
+
*/
|
|
4275
|
+
'archivedInstead'?: boolean;
|
|
4226
4276
|
}
|
|
4227
4277
|
/**
|
|
4228
4278
|
*
|
|
@@ -4274,14 +4324,6 @@ export interface EstimateEventPrice200Response {
|
|
|
4274
4324
|
* @memberof EstimateEventPrice200Response
|
|
4275
4325
|
*/
|
|
4276
4326
|
'total': number;
|
|
4277
|
-
/**
|
|
4278
|
-
* Construct a type with a set of properties K of type T
|
|
4279
|
-
* @type {{ [key: string]: number; }}
|
|
4280
|
-
* @memberof EstimateEventPrice200Response
|
|
4281
|
-
*/
|
|
4282
|
-
'perPayer': {
|
|
4283
|
-
[key: string]: number;
|
|
4284
|
-
};
|
|
4285
4327
|
/**
|
|
4286
4328
|
* Construct a type with a set of properties K of type T
|
|
4287
4329
|
* @type {{ [key: string]: number; }}
|
|
@@ -4372,11 +4414,11 @@ export interface EventBookingDetailSummary {
|
|
|
4372
4414
|
*/
|
|
4373
4415
|
'players': Array<string>;
|
|
4374
4416
|
/**
|
|
4375
|
-
*
|
|
4376
|
-
* @type {Array<
|
|
4417
|
+
* Détails des paiements par joueur pour cette réservation d\'événement. Remplace l\'ancien champ `invoices`.
|
|
4418
|
+
* @type {Array<EventBookingDetailSummaryPaymentPerPlayersInner>}
|
|
4377
4419
|
* @memberof EventBookingDetailSummary
|
|
4378
4420
|
*/
|
|
4379
|
-
'
|
|
4421
|
+
'paymentPerPlayers': Array<EventBookingDetailSummaryPaymentPerPlayersInner>;
|
|
4380
4422
|
/**
|
|
4381
4423
|
*
|
|
4382
4424
|
* @type {string}
|
|
@@ -4414,6 +4456,49 @@ export interface EventBookingDetailSummary {
|
|
|
4414
4456
|
*/
|
|
4415
4457
|
'updatedAt': string;
|
|
4416
4458
|
}
|
|
4459
|
+
/**
|
|
4460
|
+
*
|
|
4461
|
+
* @export
|
|
4462
|
+
* @interface EventBookingDetailSummaryPaymentPerPlayersInner
|
|
4463
|
+
*/
|
|
4464
|
+
export interface EventBookingDetailSummaryPaymentPerPlayersInner {
|
|
4465
|
+
/**
|
|
4466
|
+
*
|
|
4467
|
+
* @type {number}
|
|
4468
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
4469
|
+
*/
|
|
4470
|
+
'amount'?: number | null;
|
|
4471
|
+
/**
|
|
4472
|
+
*
|
|
4473
|
+
* @type {InvoiceStatus}
|
|
4474
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
4475
|
+
*/
|
|
4476
|
+
'status'?: InvoiceStatus | null;
|
|
4477
|
+
/**
|
|
4478
|
+
*
|
|
4479
|
+
* @type {string}
|
|
4480
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
4481
|
+
*/
|
|
4482
|
+
'profilePicture'?: string | null;
|
|
4483
|
+
/**
|
|
4484
|
+
*
|
|
4485
|
+
* @type {string}
|
|
4486
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
4487
|
+
*/
|
|
4488
|
+
'lastName'?: string | null;
|
|
4489
|
+
/**
|
|
4490
|
+
*
|
|
4491
|
+
* @type {string}
|
|
4492
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
4493
|
+
*/
|
|
4494
|
+
'firstName'?: string | null;
|
|
4495
|
+
/**
|
|
4496
|
+
*
|
|
4497
|
+
* @type {string}
|
|
4498
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
4499
|
+
*/
|
|
4500
|
+
'id': string;
|
|
4501
|
+
}
|
|
4417
4502
|
/**
|
|
4418
4503
|
*
|
|
4419
4504
|
* @export
|
|
@@ -5064,6 +5149,19 @@ export interface GetClubRoles200Response {
|
|
|
5064
5149
|
*/
|
|
5065
5150
|
'roles': Array<any>;
|
|
5066
5151
|
}
|
|
5152
|
+
/**
|
|
5153
|
+
*
|
|
5154
|
+
* @export
|
|
5155
|
+
* @interface GetClubType200Response
|
|
5156
|
+
*/
|
|
5157
|
+
export interface GetClubType200Response {
|
|
5158
|
+
/**
|
|
5159
|
+
*
|
|
5160
|
+
* @type {string}
|
|
5161
|
+
* @memberof GetClubType200Response
|
|
5162
|
+
*/
|
|
5163
|
+
'clubType': string;
|
|
5164
|
+
}
|
|
5067
5165
|
/**
|
|
5068
5166
|
*
|
|
5069
5167
|
* @export
|
|
@@ -5270,6 +5368,37 @@ export interface GoogleAuthResponseUser {
|
|
|
5270
5368
|
*/
|
|
5271
5369
|
'id': string;
|
|
5272
5370
|
}
|
|
5371
|
+
/**
|
|
5372
|
+
*
|
|
5373
|
+
* @export
|
|
5374
|
+
* @interface HotelAccessSettings
|
|
5375
|
+
*/
|
|
5376
|
+
export interface HotelAccessSettings {
|
|
5377
|
+
/**
|
|
5378
|
+
*
|
|
5379
|
+
* @type {boolean}
|
|
5380
|
+
* @memberof HotelAccessSettings
|
|
5381
|
+
*/
|
|
5382
|
+
'enabled': boolean;
|
|
5383
|
+
/**
|
|
5384
|
+
*
|
|
5385
|
+
* @type {string}
|
|
5386
|
+
* @memberof HotelAccessSettings
|
|
5387
|
+
*/
|
|
5388
|
+
'accessCode'?: string | null;
|
|
5389
|
+
/**
|
|
5390
|
+
*
|
|
5391
|
+
* @type {string}
|
|
5392
|
+
* @memberof HotelAccessSettings
|
|
5393
|
+
*/
|
|
5394
|
+
'validFrom'?: string | null;
|
|
5395
|
+
/**
|
|
5396
|
+
*
|
|
5397
|
+
* @type {string}
|
|
5398
|
+
* @memberof HotelAccessSettings
|
|
5399
|
+
*/
|
|
5400
|
+
'validUntil'?: string | null;
|
|
5401
|
+
}
|
|
5273
5402
|
/**
|
|
5274
5403
|
*
|
|
5275
5404
|
* @export
|
|
@@ -6211,7 +6340,7 @@ export interface MonthlyBreakdown {
|
|
|
6211
6340
|
'invoiceCount': number;
|
|
6212
6341
|
}
|
|
6213
6342
|
/**
|
|
6214
|
-
*
|
|
6343
|
+
*
|
|
6215
6344
|
* @export
|
|
6216
6345
|
* @interface MonthlyTurnoverResponse
|
|
6217
6346
|
*/
|
|
@@ -6327,6 +6456,12 @@ export interface NoShowFeeResponse {
|
|
|
6327
6456
|
* @interface OffPeakRule
|
|
6328
6457
|
*/
|
|
6329
6458
|
export interface OffPeakRule {
|
|
6459
|
+
/**
|
|
6460
|
+
*
|
|
6461
|
+
* @type {string}
|
|
6462
|
+
* @memberof OffPeakRule
|
|
6463
|
+
*/
|
|
6464
|
+
'pricingPeriodName'?: string;
|
|
6330
6465
|
/**
|
|
6331
6466
|
*
|
|
6332
6467
|
* @type {number}
|
|
@@ -6505,6 +6640,112 @@ export interface PartialClubWeeklySchedule {
|
|
|
6505
6640
|
*/
|
|
6506
6641
|
'sunday'?: ClubDaySchedule;
|
|
6507
6642
|
}
|
|
6643
|
+
/**
|
|
6644
|
+
* Make all properties in T optional
|
|
6645
|
+
* @export
|
|
6646
|
+
* @interface PartialHotelAccessSettings
|
|
6647
|
+
*/
|
|
6648
|
+
export interface PartialHotelAccessSettings {
|
|
6649
|
+
/**
|
|
6650
|
+
*
|
|
6651
|
+
* @type {string}
|
|
6652
|
+
* @memberof PartialHotelAccessSettings
|
|
6653
|
+
*/
|
|
6654
|
+
'accessCode'?: string;
|
|
6655
|
+
/**
|
|
6656
|
+
*
|
|
6657
|
+
* @type {string}
|
|
6658
|
+
* @memberof PartialHotelAccessSettings
|
|
6659
|
+
*/
|
|
6660
|
+
'validFrom'?: string;
|
|
6661
|
+
/**
|
|
6662
|
+
*
|
|
6663
|
+
* @type {string}
|
|
6664
|
+
* @memberof PartialHotelAccessSettings
|
|
6665
|
+
*/
|
|
6666
|
+
'validUntil'?: string;
|
|
6667
|
+
/**
|
|
6668
|
+
*
|
|
6669
|
+
* @type {boolean}
|
|
6670
|
+
* @memberof PartialHotelAccessSettings
|
|
6671
|
+
*/
|
|
6672
|
+
'enabled'?: boolean;
|
|
6673
|
+
}
|
|
6674
|
+
/**
|
|
6675
|
+
* Make all properties in T optional
|
|
6676
|
+
* @export
|
|
6677
|
+
* @interface PartialPaymentRequirementsSettings
|
|
6678
|
+
*/
|
|
6679
|
+
export interface PartialPaymentRequirementsSettings {
|
|
6680
|
+
/**
|
|
6681
|
+
*
|
|
6682
|
+
* @type {boolean}
|
|
6683
|
+
* @memberof PartialPaymentRequirementsSettings
|
|
6684
|
+
*/
|
|
6685
|
+
'isNoShowEnabled'?: boolean;
|
|
6686
|
+
/**
|
|
6687
|
+
*
|
|
6688
|
+
* @type {boolean}
|
|
6689
|
+
* @memberof PartialPaymentRequirementsSettings
|
|
6690
|
+
*/
|
|
6691
|
+
'requireOnlinePayment'?: boolean;
|
|
6692
|
+
}
|
|
6693
|
+
/**
|
|
6694
|
+
* Make all properties in T optional
|
|
6695
|
+
* @export
|
|
6696
|
+
* @interface PartialPublicAccessSettings
|
|
6697
|
+
*/
|
|
6698
|
+
export interface PartialPublicAccessSettings {
|
|
6699
|
+
/**
|
|
6700
|
+
*
|
|
6701
|
+
* @type {string}
|
|
6702
|
+
* @memberof PartialPublicAccessSettings
|
|
6703
|
+
*/
|
|
6704
|
+
'paymentMode'?: PartialPublicAccessSettingsPaymentModeEnum;
|
|
6705
|
+
/**
|
|
6706
|
+
*
|
|
6707
|
+
* @type {number}
|
|
6708
|
+
* @memberof PartialPublicAccessSettings
|
|
6709
|
+
*/
|
|
6710
|
+
'pricePerAccess'?: number;
|
|
6711
|
+
/**
|
|
6712
|
+
*
|
|
6713
|
+
* @type {boolean}
|
|
6714
|
+
* @memberof PartialPublicAccessSettings
|
|
6715
|
+
*/
|
|
6716
|
+
'enabled'?: boolean;
|
|
6717
|
+
}
|
|
6718
|
+
export declare const PartialPublicAccessSettingsPaymentModeEnum: {
|
|
6719
|
+
readonly Free: "free";
|
|
6720
|
+
readonly AccessFee: "access_fee";
|
|
6721
|
+
readonly PerCourt: "per_court";
|
|
6722
|
+
};
|
|
6723
|
+
export type PartialPublicAccessSettingsPaymentModeEnum = typeof PartialPublicAccessSettingsPaymentModeEnum[keyof typeof PartialPublicAccessSettingsPaymentModeEnum];
|
|
6724
|
+
/**
|
|
6725
|
+
* Make all properties in T optional
|
|
6726
|
+
* @export
|
|
6727
|
+
* @interface PartialSchoolAccessSettings
|
|
6728
|
+
*/
|
|
6729
|
+
export interface PartialSchoolAccessSettings {
|
|
6730
|
+
/**
|
|
6731
|
+
*
|
|
6732
|
+
* @type {Array<string>}
|
|
6733
|
+
* @memberof PartialSchoolAccessSettings
|
|
6734
|
+
*/
|
|
6735
|
+
'emailSuffixes'?: Array<string>;
|
|
6736
|
+
/**
|
|
6737
|
+
*
|
|
6738
|
+
* @type {boolean}
|
|
6739
|
+
* @memberof PartialSchoolAccessSettings
|
|
6740
|
+
*/
|
|
6741
|
+
'requireCertification'?: boolean;
|
|
6742
|
+
/**
|
|
6743
|
+
*
|
|
6744
|
+
* @type {boolean}
|
|
6745
|
+
* @memberof PartialSchoolAccessSettings
|
|
6746
|
+
*/
|
|
6747
|
+
'enabled'?: boolean;
|
|
6748
|
+
}
|
|
6508
6749
|
/**
|
|
6509
6750
|
*
|
|
6510
6751
|
* @export
|
|
@@ -6560,6 +6801,25 @@ export declare const PaymentMethod: {
|
|
|
6560
6801
|
readonly Free: "free";
|
|
6561
6802
|
};
|
|
6562
6803
|
export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
|
|
6804
|
+
/**
|
|
6805
|
+
*
|
|
6806
|
+
* @export
|
|
6807
|
+
* @interface PaymentRequirementsSettings
|
|
6808
|
+
*/
|
|
6809
|
+
export interface PaymentRequirementsSettings {
|
|
6810
|
+
/**
|
|
6811
|
+
*
|
|
6812
|
+
* @type {boolean}
|
|
6813
|
+
* @memberof PaymentRequirementsSettings
|
|
6814
|
+
*/
|
|
6815
|
+
'isNoShowEnabled': boolean;
|
|
6816
|
+
/**
|
|
6817
|
+
*
|
|
6818
|
+
* @type {boolean}
|
|
6819
|
+
* @memberof PaymentRequirementsSettings
|
|
6820
|
+
*/
|
|
6821
|
+
'requireOnlinePayment': boolean;
|
|
6822
|
+
}
|
|
6563
6823
|
/**
|
|
6564
6824
|
* From T, pick a set of properties whose keys are in the union K
|
|
6565
6825
|
* @export
|
|
@@ -6655,6 +6915,56 @@ export declare const PlanInterval: {
|
|
|
6655
6915
|
readonly Semester: "semester";
|
|
6656
6916
|
};
|
|
6657
6917
|
export type PlanInterval = typeof PlanInterval[keyof typeof PlanInterval];
|
|
6918
|
+
/**
|
|
6919
|
+
*
|
|
6920
|
+
* @export
|
|
6921
|
+
* @interface PlanPrice
|
|
6922
|
+
*/
|
|
6923
|
+
export interface PlanPrice {
|
|
6924
|
+
/**
|
|
6925
|
+
*
|
|
6926
|
+
* @type {number}
|
|
6927
|
+
* @memberof PlanPrice
|
|
6928
|
+
*/
|
|
6929
|
+
'amountInCents': number;
|
|
6930
|
+
/**
|
|
6931
|
+
*
|
|
6932
|
+
* @type {PlanInterval}
|
|
6933
|
+
* @memberof PlanPrice
|
|
6934
|
+
*/
|
|
6935
|
+
'interval': PlanInterval;
|
|
6936
|
+
/**
|
|
6937
|
+
*
|
|
6938
|
+
* @type {boolean}
|
|
6939
|
+
* @memberof PlanPrice
|
|
6940
|
+
*/
|
|
6941
|
+
'active'?: boolean;
|
|
6942
|
+
/**
|
|
6943
|
+
*
|
|
6944
|
+
* @type {string}
|
|
6945
|
+
* @memberof PlanPrice
|
|
6946
|
+
*/
|
|
6947
|
+
'stripePriceId'?: string;
|
|
6948
|
+
}
|
|
6949
|
+
/**
|
|
6950
|
+
*
|
|
6951
|
+
* @export
|
|
6952
|
+
* @interface PlanPriceInput
|
|
6953
|
+
*/
|
|
6954
|
+
export interface PlanPriceInput {
|
|
6955
|
+
/**
|
|
6956
|
+
*
|
|
6957
|
+
* @type {number}
|
|
6958
|
+
* @memberof PlanPriceInput
|
|
6959
|
+
*/
|
|
6960
|
+
'amountInCents': number;
|
|
6961
|
+
/**
|
|
6962
|
+
*
|
|
6963
|
+
* @type {PlanInterval}
|
|
6964
|
+
* @memberof PlanPriceInput
|
|
6965
|
+
*/
|
|
6966
|
+
'interval': PlanInterval;
|
|
6967
|
+
}
|
|
6658
6968
|
/**
|
|
6659
6969
|
*
|
|
6660
6970
|
* @export
|
|
@@ -7002,6 +7312,37 @@ export interface ProfilePictureUpdateRequestBody {
|
|
|
7002
7312
|
*/
|
|
7003
7313
|
'profilePicture': string;
|
|
7004
7314
|
}
|
|
7315
|
+
/**
|
|
7316
|
+
*
|
|
7317
|
+
* @export
|
|
7318
|
+
* @interface PublicAccessSettings
|
|
7319
|
+
*/
|
|
7320
|
+
export interface PublicAccessSettings {
|
|
7321
|
+
/**
|
|
7322
|
+
*
|
|
7323
|
+
* @type {boolean}
|
|
7324
|
+
* @memberof PublicAccessSettings
|
|
7325
|
+
*/
|
|
7326
|
+
'enabled': boolean;
|
|
7327
|
+
/**
|
|
7328
|
+
*
|
|
7329
|
+
* @type {string}
|
|
7330
|
+
* @memberof PublicAccessSettings
|
|
7331
|
+
*/
|
|
7332
|
+
'paymentMode': PublicAccessSettingsPaymentModeEnum;
|
|
7333
|
+
/**
|
|
7334
|
+
*
|
|
7335
|
+
* @type {number}
|
|
7336
|
+
* @memberof PublicAccessSettings
|
|
7337
|
+
*/
|
|
7338
|
+
'pricePerAccess': number | null;
|
|
7339
|
+
}
|
|
7340
|
+
export declare const PublicAccessSettingsPaymentModeEnum: {
|
|
7341
|
+
readonly Free: "free";
|
|
7342
|
+
readonly AccessFee: "access_fee";
|
|
7343
|
+
readonly PerCourt: "per_court";
|
|
7344
|
+
};
|
|
7345
|
+
export type PublicAccessSettingsPaymentModeEnum = typeof PublicAccessSettingsPaymentModeEnum[keyof typeof PublicAccessSettingsPaymentModeEnum];
|
|
7005
7346
|
/**
|
|
7006
7347
|
*
|
|
7007
7348
|
* @export
|
|
@@ -7025,13 +7366,19 @@ export interface PublicSubscriptionPlanResponse {
|
|
|
7025
7366
|
* @type {number}
|
|
7026
7367
|
* @memberof PublicSubscriptionPlanResponse
|
|
7027
7368
|
*/
|
|
7028
|
-
'amountInCents'
|
|
7369
|
+
'amountInCents'?: number;
|
|
7029
7370
|
/**
|
|
7030
7371
|
*
|
|
7031
7372
|
* @type {string}
|
|
7032
7373
|
* @memberof PublicSubscriptionPlanResponse
|
|
7033
7374
|
*/
|
|
7034
7375
|
'currency': string;
|
|
7376
|
+
/**
|
|
7377
|
+
*
|
|
7378
|
+
* @type {Array<PlanPrice>}
|
|
7379
|
+
* @memberof PublicSubscriptionPlanResponse
|
|
7380
|
+
*/
|
|
7381
|
+
'prices': Array<PlanPrice>;
|
|
7035
7382
|
/**
|
|
7036
7383
|
*
|
|
7037
7384
|
* @type {PlanInterval}
|
|
@@ -7044,6 +7391,12 @@ export interface PublicSubscriptionPlanResponse {
|
|
|
7044
7391
|
* @memberof PublicSubscriptionPlanResponse
|
|
7045
7392
|
*/
|
|
7046
7393
|
'description'?: string;
|
|
7394
|
+
/**
|
|
7395
|
+
*
|
|
7396
|
+
* @type {SubscriptionPlanDiscountResponse}
|
|
7397
|
+
* @memberof PublicSubscriptionPlanResponse
|
|
7398
|
+
*/
|
|
7399
|
+
'discount'?: SubscriptionPlanDiscountResponse;
|
|
7047
7400
|
}
|
|
7048
7401
|
/**
|
|
7049
7402
|
*
|
|
@@ -7730,6 +8083,31 @@ export interface RevenueBySportItem {
|
|
|
7730
8083
|
*/
|
|
7731
8084
|
'totalTurnover': number;
|
|
7732
8085
|
}
|
|
8086
|
+
/**
|
|
8087
|
+
*
|
|
8088
|
+
* @export
|
|
8089
|
+
* @interface SchoolAccessSettings
|
|
8090
|
+
*/
|
|
8091
|
+
export interface SchoolAccessSettings {
|
|
8092
|
+
/**
|
|
8093
|
+
*
|
|
8094
|
+
* @type {boolean}
|
|
8095
|
+
* @memberof SchoolAccessSettings
|
|
8096
|
+
*/
|
|
8097
|
+
'enabled': boolean;
|
|
8098
|
+
/**
|
|
8099
|
+
*
|
|
8100
|
+
* @type {Array<string>}
|
|
8101
|
+
* @memberof SchoolAccessSettings
|
|
8102
|
+
*/
|
|
8103
|
+
'emailSuffixes': Array<string>;
|
|
8104
|
+
/**
|
|
8105
|
+
*
|
|
8106
|
+
* @type {boolean}
|
|
8107
|
+
* @memberof SchoolAccessSettings
|
|
8108
|
+
*/
|
|
8109
|
+
'requireCertification': boolean;
|
|
8110
|
+
}
|
|
7733
8111
|
/**
|
|
7734
8112
|
*
|
|
7735
8113
|
* @export
|
|
@@ -7748,6 +8126,12 @@ export interface SendSubscriptionInvitationRequest {
|
|
|
7748
8126
|
* @memberof SendSubscriptionInvitationRequest
|
|
7749
8127
|
*/
|
|
7750
8128
|
'productId': string;
|
|
8129
|
+
/**
|
|
8130
|
+
* Price spécifique proposé dans l\'invitation (facultatif).
|
|
8131
|
+
* @type {string}
|
|
8132
|
+
* @memberof SendSubscriptionInvitationRequest
|
|
8133
|
+
*/
|
|
8134
|
+
'priceId'?: string;
|
|
7751
8135
|
}
|
|
7752
8136
|
/**
|
|
7753
8137
|
*
|
|
@@ -9851,6 +10235,61 @@ export interface SubscriptionMutationResponse {
|
|
|
9851
10235
|
[key: string]: any;
|
|
9852
10236
|
};
|
|
9853
10237
|
}
|
|
10238
|
+
/**
|
|
10239
|
+
*
|
|
10240
|
+
* @export
|
|
10241
|
+
* @interface SubscriptionPlanDiscountResponse
|
|
10242
|
+
*/
|
|
10243
|
+
export interface SubscriptionPlanDiscountResponse {
|
|
10244
|
+
/**
|
|
10245
|
+
*
|
|
10246
|
+
* @type {DiscountType}
|
|
10247
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
10248
|
+
*/
|
|
10249
|
+
'type': DiscountType;
|
|
10250
|
+
/**
|
|
10251
|
+
*
|
|
10252
|
+
* @type {number}
|
|
10253
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
10254
|
+
*/
|
|
10255
|
+
'percentage'?: number;
|
|
10256
|
+
/**
|
|
10257
|
+
*
|
|
10258
|
+
* @type {number}
|
|
10259
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
10260
|
+
*/
|
|
10261
|
+
'maxDiscountAmountInCents'?: number;
|
|
10262
|
+
/**
|
|
10263
|
+
*
|
|
10264
|
+
* @type {string}
|
|
10265
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
10266
|
+
*/
|
|
10267
|
+
'validFrom'?: string;
|
|
10268
|
+
/**
|
|
10269
|
+
*
|
|
10270
|
+
* @type {string}
|
|
10271
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
10272
|
+
*/
|
|
10273
|
+
'validTo'?: string;
|
|
10274
|
+
/**
|
|
10275
|
+
*
|
|
10276
|
+
* @type {Array<string>}
|
|
10277
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
10278
|
+
*/
|
|
10279
|
+
'offPeakRuleNames'?: Array<string>;
|
|
10280
|
+
/**
|
|
10281
|
+
*
|
|
10282
|
+
* @type {Array<OffPeakRule>}
|
|
10283
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
10284
|
+
*/
|
|
10285
|
+
'offPeakRules'?: Array<OffPeakRule>;
|
|
10286
|
+
/**
|
|
10287
|
+
*
|
|
10288
|
+
* @type {boolean}
|
|
10289
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
10290
|
+
*/
|
|
10291
|
+
'bookingFree'?: boolean;
|
|
10292
|
+
}
|
|
9854
10293
|
/**
|
|
9855
10294
|
*
|
|
9856
10295
|
* @export
|
|
@@ -9886,13 +10325,19 @@ export interface SubscriptionPlanResponse {
|
|
|
9886
10325
|
* @type {number}
|
|
9887
10326
|
* @memberof SubscriptionPlanResponse
|
|
9888
10327
|
*/
|
|
9889
|
-
'amountInCents'
|
|
10328
|
+
'amountInCents'?: number;
|
|
9890
10329
|
/**
|
|
9891
10330
|
*
|
|
9892
10331
|
* @type {string}
|
|
9893
10332
|
* @memberof SubscriptionPlanResponse
|
|
9894
10333
|
*/
|
|
9895
10334
|
'currency': string;
|
|
10335
|
+
/**
|
|
10336
|
+
*
|
|
10337
|
+
* @type {Array<PlanPrice>}
|
|
10338
|
+
* @memberof SubscriptionPlanResponse
|
|
10339
|
+
*/
|
|
10340
|
+
'prices': Array<PlanPrice>;
|
|
9896
10341
|
/**
|
|
9897
10342
|
*
|
|
9898
10343
|
* @type {PlanInterval}
|
|
@@ -9905,6 +10350,18 @@ export interface SubscriptionPlanResponse {
|
|
|
9905
10350
|
* @memberof SubscriptionPlanResponse
|
|
9906
10351
|
*/
|
|
9907
10352
|
'priceActive': boolean;
|
|
10353
|
+
/**
|
|
10354
|
+
*
|
|
10355
|
+
* @type {string}
|
|
10356
|
+
* @memberof SubscriptionPlanResponse
|
|
10357
|
+
*/
|
|
10358
|
+
'description'?: string;
|
|
10359
|
+
/**
|
|
10360
|
+
*
|
|
10361
|
+
* @type {SubscriptionPlanDiscountResponse}
|
|
10362
|
+
* @memberof SubscriptionPlanResponse
|
|
10363
|
+
*/
|
|
10364
|
+
'discount'?: SubscriptionPlanDiscountResponse;
|
|
9908
10365
|
}
|
|
9909
10366
|
/**
|
|
9910
10367
|
*
|
|
@@ -9968,6 +10425,37 @@ export interface UpdateActuality200Response {
|
|
|
9968
10425
|
*/
|
|
9969
10426
|
'actuality': any;
|
|
9970
10427
|
}
|
|
10428
|
+
/**
|
|
10429
|
+
*
|
|
10430
|
+
* @export
|
|
10431
|
+
* @interface UpdateClubAccessSettingsRequest
|
|
10432
|
+
*/
|
|
10433
|
+
export interface UpdateClubAccessSettingsRequest {
|
|
10434
|
+
/**
|
|
10435
|
+
*
|
|
10436
|
+
* @type {PartialPublicAccessSettings}
|
|
10437
|
+
* @memberof UpdateClubAccessSettingsRequest
|
|
10438
|
+
*/
|
|
10439
|
+
'publicAccess'?: PartialPublicAccessSettings;
|
|
10440
|
+
/**
|
|
10441
|
+
*
|
|
10442
|
+
* @type {PartialSchoolAccessSettings}
|
|
10443
|
+
* @memberof UpdateClubAccessSettingsRequest
|
|
10444
|
+
*/
|
|
10445
|
+
'schoolAccess'?: PartialSchoolAccessSettings;
|
|
10446
|
+
/**
|
|
10447
|
+
*
|
|
10448
|
+
* @type {PartialHotelAccessSettings}
|
|
10449
|
+
* @memberof UpdateClubAccessSettingsRequest
|
|
10450
|
+
*/
|
|
10451
|
+
'hotelAccess'?: PartialHotelAccessSettings;
|
|
10452
|
+
/**
|
|
10453
|
+
*
|
|
10454
|
+
* @type {PartialPaymentRequirementsSettings}
|
|
10455
|
+
* @memberof UpdateClubAccessSettingsRequest
|
|
10456
|
+
*/
|
|
10457
|
+
'paymentRequirements'?: PartialPaymentRequirementsSettings;
|
|
10458
|
+
}
|
|
9971
10459
|
/**
|
|
9972
10460
|
*
|
|
9973
10461
|
* @export
|
|
@@ -11027,6 +11515,12 @@ export interface UserClubSubscription {
|
|
|
11027
11515
|
* @memberof UserClubSubscription
|
|
11028
11516
|
*/
|
|
11029
11517
|
'interval': PlanInterval | null;
|
|
11518
|
+
/**
|
|
11519
|
+
*
|
|
11520
|
+
* @type {string}
|
|
11521
|
+
* @memberof UserClubSubscription
|
|
11522
|
+
*/
|
|
11523
|
+
'productId': string | null;
|
|
11030
11524
|
}
|
|
11031
11525
|
/**
|
|
11032
11526
|
*
|
|
@@ -11971,13 +12465,13 @@ export declare class BookingsManagerApi extends BaseAPI {
|
|
|
11971
12465
|
*/
|
|
11972
12466
|
export declare const BookingsStaffApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
11973
12467
|
/**
|
|
11974
|
-
* Check-in
|
|
12468
|
+
* Check-in d\'un joueur (paiement en ligne ou sur place)
|
|
11975
12469
|
* @param {string} bookingId
|
|
11976
|
-
* @param {
|
|
12470
|
+
* @param {CheckInPlayerRequest} checkInPlayerRequest
|
|
11977
12471
|
* @param {*} [options] Override http request option.
|
|
11978
12472
|
* @throws {RequiredError}
|
|
11979
12473
|
*/
|
|
11980
|
-
|
|
12474
|
+
checkInPlayer: (bookingId: string, checkInPlayerRequest: CheckInPlayerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11981
12475
|
/**
|
|
11982
12476
|
* Créer une réservation pour un joueur depuis l\'espace staff
|
|
11983
12477
|
* @param {StaffCreateBookingRequest} staffCreateBookingRequest
|
|
@@ -12038,13 +12532,13 @@ export declare const BookingsStaffApiAxiosParamCreator: (configuration?: Configu
|
|
|
12038
12532
|
*/
|
|
12039
12533
|
export declare const BookingsStaffApiFp: (configuration?: Configuration) => {
|
|
12040
12534
|
/**
|
|
12041
|
-
* Check-in
|
|
12535
|
+
* Check-in d\'un joueur (paiement en ligne ou sur place)
|
|
12042
12536
|
* @param {string} bookingId
|
|
12043
|
-
* @param {
|
|
12537
|
+
* @param {CheckInPlayerRequest} checkInPlayerRequest
|
|
12044
12538
|
* @param {*} [options] Override http request option.
|
|
12045
12539
|
* @throws {RequiredError}
|
|
12046
12540
|
*/
|
|
12047
|
-
|
|
12541
|
+
checkInPlayer(bookingId: string, checkInPlayerRequest: CheckInPlayerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInPlayerResponse>>;
|
|
12048
12542
|
/**
|
|
12049
12543
|
* Créer une réservation pour un joueur depuis l\'espace staff
|
|
12050
12544
|
* @param {StaffCreateBookingRequest} staffCreateBookingRequest
|
|
@@ -12105,12 +12599,12 @@ export declare const BookingsStaffApiFp: (configuration?: Configuration) => {
|
|
|
12105
12599
|
*/
|
|
12106
12600
|
export declare const BookingsStaffApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
12107
12601
|
/**
|
|
12108
|
-
* Check-in
|
|
12109
|
-
* @param {
|
|
12602
|
+
* Check-in d\'un joueur (paiement en ligne ou sur place)
|
|
12603
|
+
* @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
|
|
12110
12604
|
* @param {*} [options] Override http request option.
|
|
12111
12605
|
* @throws {RequiredError}
|
|
12112
12606
|
*/
|
|
12113
|
-
|
|
12607
|
+
checkInPlayer(requestParameters: BookingsStaffApiCheckInPlayerRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInPlayerResponse>;
|
|
12114
12608
|
/**
|
|
12115
12609
|
* Créer une réservation pour un joueur depuis l\'espace staff
|
|
12116
12610
|
* @param {BookingsStaffApiCreateStaffBookingRequest} requestParameters Request parameters.
|
|
@@ -12162,23 +12656,23 @@ export declare const BookingsStaffApiFactory: (configuration?: Configuration, ba
|
|
|
12162
12656
|
listClubBookings(requestParameters?: BookingsStaffApiListClubBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffBookingsPaginatedResponse>;
|
|
12163
12657
|
};
|
|
12164
12658
|
/**
|
|
12165
|
-
* Request parameters for
|
|
12659
|
+
* Request parameters for checkInPlayer operation in BookingsStaffApi.
|
|
12166
12660
|
* @export
|
|
12167
|
-
* @interface
|
|
12661
|
+
* @interface BookingsStaffApiCheckInPlayerRequest
|
|
12168
12662
|
*/
|
|
12169
|
-
export interface
|
|
12663
|
+
export interface BookingsStaffApiCheckInPlayerRequest {
|
|
12170
12664
|
/**
|
|
12171
12665
|
*
|
|
12172
12666
|
* @type {string}
|
|
12173
|
-
* @memberof
|
|
12667
|
+
* @memberof BookingsStaffApiCheckInPlayer
|
|
12174
12668
|
*/
|
|
12175
12669
|
readonly bookingId: string;
|
|
12176
12670
|
/**
|
|
12177
12671
|
*
|
|
12178
|
-
* @type {
|
|
12179
|
-
* @memberof
|
|
12672
|
+
* @type {CheckInPlayerRequest}
|
|
12673
|
+
* @memberof BookingsStaffApiCheckInPlayer
|
|
12180
12674
|
*/
|
|
12181
|
-
readonly
|
|
12675
|
+
readonly checkInPlayerRequest: CheckInPlayerRequest;
|
|
12182
12676
|
}
|
|
12183
12677
|
/**
|
|
12184
12678
|
* Request parameters for createStaffBooking operation in BookingsStaffApi.
|
|
@@ -12303,13 +12797,13 @@ export interface BookingsStaffApiListClubBookingsRequest {
|
|
|
12303
12797
|
*/
|
|
12304
12798
|
export declare class BookingsStaffApi extends BaseAPI {
|
|
12305
12799
|
/**
|
|
12306
|
-
* Check-in
|
|
12307
|
-
* @param {
|
|
12800
|
+
* Check-in d\'un joueur (paiement en ligne ou sur place)
|
|
12801
|
+
* @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
|
|
12308
12802
|
* @param {*} [options] Override http request option.
|
|
12309
12803
|
* @throws {RequiredError}
|
|
12310
12804
|
* @memberof BookingsStaffApi
|
|
12311
12805
|
*/
|
|
12312
|
-
|
|
12806
|
+
checkInPlayer(requestParameters: BookingsStaffApiCheckInPlayerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckInPlayerResponse, any, {}>>;
|
|
12313
12807
|
/**
|
|
12314
12808
|
* Créer une réservation pour un joueur depuis l\'espace staff
|
|
12315
12809
|
* @param {BookingsStaffApiCreateStaffBookingRequest} requestParameters Request parameters.
|
|
@@ -13631,6 +14125,13 @@ export declare class ClubRolesStaffApi extends BaseAPI {
|
|
|
13631
14125
|
* @export
|
|
13632
14126
|
*/
|
|
13633
14127
|
export declare const ClubSettingsManagerApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
14128
|
+
/**
|
|
14129
|
+
*
|
|
14130
|
+
* @param {UpdateClubAccessSettingsRequest} updateClubAccessSettingsRequest
|
|
14131
|
+
* @param {*} [options] Override http request option.
|
|
14132
|
+
* @throws {RequiredError}
|
|
14133
|
+
*/
|
|
14134
|
+
updateAccessSettings: (updateClubAccessSettingsRequest: UpdateClubAccessSettingsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13634
14135
|
/**
|
|
13635
14136
|
*
|
|
13636
14137
|
* @param {UpdateClubGeneralSettingsRequest} updateClubGeneralSettingsRequest
|
|
@@ -13665,6 +14166,13 @@ export declare const ClubSettingsManagerApiAxiosParamCreator: (configuration?: C
|
|
|
13665
14166
|
* @export
|
|
13666
14167
|
*/
|
|
13667
14168
|
export declare const ClubSettingsManagerApiFp: (configuration?: Configuration) => {
|
|
14169
|
+
/**
|
|
14170
|
+
*
|
|
14171
|
+
* @param {UpdateClubAccessSettingsRequest} updateClubAccessSettingsRequest
|
|
14172
|
+
* @param {*} [options] Override http request option.
|
|
14173
|
+
* @throws {RequiredError}
|
|
14174
|
+
*/
|
|
14175
|
+
updateAccessSettings(updateClubAccessSettingsRequest: UpdateClubAccessSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubAccessSettingsResponse>>;
|
|
13668
14176
|
/**
|
|
13669
14177
|
*
|
|
13670
14178
|
* @param {UpdateClubGeneralSettingsRequest} updateClubGeneralSettingsRequest
|
|
@@ -13699,6 +14207,13 @@ export declare const ClubSettingsManagerApiFp: (configuration?: Configuration) =
|
|
|
13699
14207
|
* @export
|
|
13700
14208
|
*/
|
|
13701
14209
|
export declare const ClubSettingsManagerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
14210
|
+
/**
|
|
14211
|
+
*
|
|
14212
|
+
* @param {ClubSettingsManagerApiUpdateAccessSettingsRequest} requestParameters Request parameters.
|
|
14213
|
+
* @param {*} [options] Override http request option.
|
|
14214
|
+
* @throws {RequiredError}
|
|
14215
|
+
*/
|
|
14216
|
+
updateAccessSettings(requestParameters: ClubSettingsManagerApiUpdateAccessSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubAccessSettingsResponse>;
|
|
13702
14217
|
/**
|
|
13703
14218
|
*
|
|
13704
14219
|
* @param {ClubSettingsManagerApiUpdateClubGeneralSettingsRequest} requestParameters Request parameters.
|
|
@@ -13728,6 +14243,19 @@ export declare const ClubSettingsManagerApiFactory: (configuration?: Configurati
|
|
|
13728
14243
|
*/
|
|
13729
14244
|
updateReservationSettings(requestParameters: ClubSettingsManagerApiUpdateReservationSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubReservationSettingsResponse>;
|
|
13730
14245
|
};
|
|
14246
|
+
/**
|
|
14247
|
+
* Request parameters for updateAccessSettings operation in ClubSettingsManagerApi.
|
|
14248
|
+
* @export
|
|
14249
|
+
* @interface ClubSettingsManagerApiUpdateAccessSettingsRequest
|
|
14250
|
+
*/
|
|
14251
|
+
export interface ClubSettingsManagerApiUpdateAccessSettingsRequest {
|
|
14252
|
+
/**
|
|
14253
|
+
*
|
|
14254
|
+
* @type {UpdateClubAccessSettingsRequest}
|
|
14255
|
+
* @memberof ClubSettingsManagerApiUpdateAccessSettings
|
|
14256
|
+
*/
|
|
14257
|
+
readonly updateClubAccessSettingsRequest: UpdateClubAccessSettingsRequest;
|
|
14258
|
+
}
|
|
13731
14259
|
/**
|
|
13732
14260
|
* Request parameters for updateClubGeneralSettings operation in ClubSettingsManagerApi.
|
|
13733
14261
|
* @export
|
|
@@ -13787,6 +14315,14 @@ export interface ClubSettingsManagerApiUpdateReservationSettingsRequest {
|
|
|
13787
14315
|
* @extends {BaseAPI}
|
|
13788
14316
|
*/
|
|
13789
14317
|
export declare class ClubSettingsManagerApi extends BaseAPI {
|
|
14318
|
+
/**
|
|
14319
|
+
*
|
|
14320
|
+
* @param {ClubSettingsManagerApiUpdateAccessSettingsRequest} requestParameters Request parameters.
|
|
14321
|
+
* @param {*} [options] Override http request option.
|
|
14322
|
+
* @throws {RequiredError}
|
|
14323
|
+
* @memberof ClubSettingsManagerApi
|
|
14324
|
+
*/
|
|
14325
|
+
updateAccessSettings(requestParameters: ClubSettingsManagerApiUpdateAccessSettingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubAccessSettingsResponse, any, {}>>;
|
|
13790
14326
|
/**
|
|
13791
14327
|
*
|
|
13792
14328
|
* @param {ClubSettingsManagerApiUpdateClubGeneralSettingsRequest} requestParameters Request parameters.
|
|
@@ -13825,6 +14361,12 @@ export declare class ClubSettingsManagerApi extends BaseAPI {
|
|
|
13825
14361
|
* @export
|
|
13826
14362
|
*/
|
|
13827
14363
|
export declare const ClubSettingsStaffApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
14364
|
+
/**
|
|
14365
|
+
*
|
|
14366
|
+
* @param {*} [options] Override http request option.
|
|
14367
|
+
* @throws {RequiredError}
|
|
14368
|
+
*/
|
|
14369
|
+
getAccessSettings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13828
14370
|
/**
|
|
13829
14371
|
*
|
|
13830
14372
|
* @param {*} [options] Override http request option.
|
|
@@ -13855,6 +14397,12 @@ export declare const ClubSettingsStaffApiAxiosParamCreator: (configuration?: Con
|
|
|
13855
14397
|
* @export
|
|
13856
14398
|
*/
|
|
13857
14399
|
export declare const ClubSettingsStaffApiFp: (configuration?: Configuration) => {
|
|
14400
|
+
/**
|
|
14401
|
+
*
|
|
14402
|
+
* @param {*} [options] Override http request option.
|
|
14403
|
+
* @throws {RequiredError}
|
|
14404
|
+
*/
|
|
14405
|
+
getAccessSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubAccessSettingsResponse>>;
|
|
13858
14406
|
/**
|
|
13859
14407
|
*
|
|
13860
14408
|
* @param {*} [options] Override http request option.
|
|
@@ -13885,6 +14433,12 @@ export declare const ClubSettingsStaffApiFp: (configuration?: Configuration) =>
|
|
|
13885
14433
|
* @export
|
|
13886
14434
|
*/
|
|
13887
14435
|
export declare const ClubSettingsStaffApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
14436
|
+
/**
|
|
14437
|
+
*
|
|
14438
|
+
* @param {*} [options] Override http request option.
|
|
14439
|
+
* @throws {RequiredError}
|
|
14440
|
+
*/
|
|
14441
|
+
getAccessSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClubAccessSettingsResponse>;
|
|
13888
14442
|
/**
|
|
13889
14443
|
*
|
|
13890
14444
|
* @param {*} [options] Override http request option.
|
|
@@ -13917,6 +14471,13 @@ export declare const ClubSettingsStaffApiFactory: (configuration?: Configuration
|
|
|
13917
14471
|
* @extends {BaseAPI}
|
|
13918
14472
|
*/
|
|
13919
14473
|
export declare class ClubSettingsStaffApi extends BaseAPI {
|
|
14474
|
+
/**
|
|
14475
|
+
*
|
|
14476
|
+
* @param {*} [options] Override http request option.
|
|
14477
|
+
* @throws {RequiredError}
|
|
14478
|
+
* @memberof ClubSettingsStaffApi
|
|
14479
|
+
*/
|
|
14480
|
+
getAccessSettings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubAccessSettingsResponse, any, {}>>;
|
|
13920
14481
|
/**
|
|
13921
14482
|
*
|
|
13922
14483
|
* @param {*} [options] Override http request option.
|
|
@@ -15498,6 +16059,12 @@ export declare const ClubsStaffApiAxiosParamCreator: (configuration?: Configurat
|
|
|
15498
16059
|
* @throws {RequiredError}
|
|
15499
16060
|
*/
|
|
15500
16061
|
getClubRoles: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
16062
|
+
/**
|
|
16063
|
+
*
|
|
16064
|
+
* @param {*} [options] Override http request option.
|
|
16065
|
+
* @throws {RequiredError}
|
|
16066
|
+
*/
|
|
16067
|
+
getClubType: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15501
16068
|
/**
|
|
15502
16069
|
* Récupère les terrains d\'un club
|
|
15503
16070
|
* @param {*} [options] Override http request option.
|
|
@@ -15576,6 +16143,12 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
|
|
|
15576
16143
|
* @throws {RequiredError}
|
|
15577
16144
|
*/
|
|
15578
16145
|
getClubRoles(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubRoles200Response>>;
|
|
16146
|
+
/**
|
|
16147
|
+
*
|
|
16148
|
+
* @param {*} [options] Override http request option.
|
|
16149
|
+
* @throws {RequiredError}
|
|
16150
|
+
*/
|
|
16151
|
+
getClubType(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubType200Response>>;
|
|
15579
16152
|
/**
|
|
15580
16153
|
* Récupère les terrains d\'un club
|
|
15581
16154
|
* @param {*} [options] Override http request option.
|
|
@@ -15653,6 +16226,12 @@ export declare const ClubsStaffApiFactory: (configuration?: Configuration, baseP
|
|
|
15653
16226
|
* @throws {RequiredError}
|
|
15654
16227
|
*/
|
|
15655
16228
|
getClubRoles(options?: RawAxiosRequestConfig): AxiosPromise<GetClubRoles200Response>;
|
|
16229
|
+
/**
|
|
16230
|
+
*
|
|
16231
|
+
* @param {*} [options] Override http request option.
|
|
16232
|
+
* @throws {RequiredError}
|
|
16233
|
+
*/
|
|
16234
|
+
getClubType(options?: RawAxiosRequestConfig): AxiosPromise<GetClubType200Response>;
|
|
15656
16235
|
/**
|
|
15657
16236
|
* Récupère les terrains d\'un club
|
|
15658
16237
|
* @param {*} [options] Override http request option.
|
|
@@ -15831,6 +16410,13 @@ export declare class ClubsStaffApi extends BaseAPI {
|
|
|
15831
16410
|
* @memberof ClubsStaffApi
|
|
15832
16411
|
*/
|
|
15833
16412
|
getClubRoles(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubRoles200Response, any, {}>>;
|
|
16413
|
+
/**
|
|
16414
|
+
*
|
|
16415
|
+
* @param {*} [options] Override http request option.
|
|
16416
|
+
* @throws {RequiredError}
|
|
16417
|
+
* @memberof ClubsStaffApi
|
|
16418
|
+
*/
|
|
16419
|
+
getClubType(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubType200Response, any, {}>>;
|
|
15834
16420
|
/**
|
|
15835
16421
|
* Récupère les terrains d\'un club
|
|
15836
16422
|
* @param {*} [options] Override http request option.
|
|
@@ -17368,6 +17954,13 @@ export declare class SportsPublicApi extends BaseAPI {
|
|
|
17368
17954
|
* @export
|
|
17369
17955
|
*/
|
|
17370
17956
|
export declare const SubscriptionsManagerApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
17957
|
+
/**
|
|
17958
|
+
* Supprime (archive) un plan par productId (manager)
|
|
17959
|
+
* @param {string} productId
|
|
17960
|
+
* @param {*} [options] Override http request option.
|
|
17961
|
+
* @throws {RequiredError}
|
|
17962
|
+
*/
|
|
17963
|
+
archivePlan: (productId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17371
17964
|
/**
|
|
17372
17965
|
* Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
|
|
17373
17966
|
* @param {CreateSubscriptionPlanRequest} createSubscriptionPlanRequest
|
|
@@ -17376,7 +17969,7 @@ export declare const SubscriptionsManagerApiAxiosParamCreator: (configuration?:
|
|
|
17376
17969
|
*/
|
|
17377
17970
|
createPlan: (createSubscriptionPlanRequest: CreateSubscriptionPlanRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17378
17971
|
/**
|
|
17379
|
-
* Supprime
|
|
17972
|
+
* Supprime un plan par productId (manager)
|
|
17380
17973
|
* @param {string} productId
|
|
17381
17974
|
* @param {*} [options] Override http request option.
|
|
17382
17975
|
* @throws {RequiredError}
|
|
@@ -17395,6 +17988,13 @@ export declare const SubscriptionsManagerApiAxiosParamCreator: (configuration?:
|
|
|
17395
17988
|
* @export
|
|
17396
17989
|
*/
|
|
17397
17990
|
export declare const SubscriptionsManagerApiFp: (configuration?: Configuration) => {
|
|
17991
|
+
/**
|
|
17992
|
+
* Supprime (archive) un plan par productId (manager)
|
|
17993
|
+
* @param {string} productId
|
|
17994
|
+
* @param {*} [options] Override http request option.
|
|
17995
|
+
* @throws {RequiredError}
|
|
17996
|
+
*/
|
|
17997
|
+
archivePlan(productId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteSubscriptionPlanResponse>>;
|
|
17398
17998
|
/**
|
|
17399
17999
|
* Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
|
|
17400
18000
|
* @param {CreateSubscriptionPlanRequest} createSubscriptionPlanRequest
|
|
@@ -17403,7 +18003,7 @@ export declare const SubscriptionsManagerApiFp: (configuration?: Configuration)
|
|
|
17403
18003
|
*/
|
|
17404
18004
|
createPlan(createSubscriptionPlanRequest: CreateSubscriptionPlanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePlan201Response>>;
|
|
17405
18005
|
/**
|
|
17406
|
-
* Supprime
|
|
18006
|
+
* Supprime un plan par productId (manager)
|
|
17407
18007
|
* @param {string} productId
|
|
17408
18008
|
* @param {*} [options] Override http request option.
|
|
17409
18009
|
* @throws {RequiredError}
|
|
@@ -17422,6 +18022,13 @@ export declare const SubscriptionsManagerApiFp: (configuration?: Configuration)
|
|
|
17422
18022
|
* @export
|
|
17423
18023
|
*/
|
|
17424
18024
|
export declare const SubscriptionsManagerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
18025
|
+
/**
|
|
18026
|
+
* Supprime (archive) un plan par productId (manager)
|
|
18027
|
+
* @param {SubscriptionsManagerApiArchivePlanRequest} requestParameters Request parameters.
|
|
18028
|
+
* @param {*} [options] Override http request option.
|
|
18029
|
+
* @throws {RequiredError}
|
|
18030
|
+
*/
|
|
18031
|
+
archivePlan(requestParameters: SubscriptionsManagerApiArchivePlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteSubscriptionPlanResponse>;
|
|
17425
18032
|
/**
|
|
17426
18033
|
* Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
|
|
17427
18034
|
* @param {SubscriptionsManagerApiCreatePlanRequest} requestParameters Request parameters.
|
|
@@ -17430,7 +18037,7 @@ export declare const SubscriptionsManagerApiFactory: (configuration?: Configurat
|
|
|
17430
18037
|
*/
|
|
17431
18038
|
createPlan(requestParameters: SubscriptionsManagerApiCreatePlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreatePlan201Response>;
|
|
17432
18039
|
/**
|
|
17433
|
-
* Supprime
|
|
18040
|
+
* Supprime un plan par productId (manager)
|
|
17434
18041
|
* @param {SubscriptionsManagerApiDeletePlanRequest} requestParameters Request parameters.
|
|
17435
18042
|
* @param {*} [options] Override http request option.
|
|
17436
18043
|
* @throws {RequiredError}
|
|
@@ -17444,6 +18051,19 @@ export declare const SubscriptionsManagerApiFactory: (configuration?: Configurat
|
|
|
17444
18051
|
*/
|
|
17445
18052
|
updatePlan(requestParameters: SubscriptionsManagerApiUpdatePlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<StripeStripeResponseStripeStripePrice>;
|
|
17446
18053
|
};
|
|
18054
|
+
/**
|
|
18055
|
+
* Request parameters for archivePlan operation in SubscriptionsManagerApi.
|
|
18056
|
+
* @export
|
|
18057
|
+
* @interface SubscriptionsManagerApiArchivePlanRequest
|
|
18058
|
+
*/
|
|
18059
|
+
export interface SubscriptionsManagerApiArchivePlanRequest {
|
|
18060
|
+
/**
|
|
18061
|
+
*
|
|
18062
|
+
* @type {string}
|
|
18063
|
+
* @memberof SubscriptionsManagerApiArchivePlan
|
|
18064
|
+
*/
|
|
18065
|
+
readonly productId: string;
|
|
18066
|
+
}
|
|
17447
18067
|
/**
|
|
17448
18068
|
* Request parameters for createPlan operation in SubscriptionsManagerApi.
|
|
17449
18069
|
* @export
|
|
@@ -17490,6 +18110,14 @@ export interface SubscriptionsManagerApiUpdatePlanRequest {
|
|
|
17490
18110
|
* @extends {BaseAPI}
|
|
17491
18111
|
*/
|
|
17492
18112
|
export declare class SubscriptionsManagerApi extends BaseAPI {
|
|
18113
|
+
/**
|
|
18114
|
+
* Supprime (archive) un plan par productId (manager)
|
|
18115
|
+
* @param {SubscriptionsManagerApiArchivePlanRequest} requestParameters Request parameters.
|
|
18116
|
+
* @param {*} [options] Override http request option.
|
|
18117
|
+
* @throws {RequiredError}
|
|
18118
|
+
* @memberof SubscriptionsManagerApi
|
|
18119
|
+
*/
|
|
18120
|
+
archivePlan(requestParameters: SubscriptionsManagerApiArchivePlanRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteSubscriptionPlanResponse, any, {}>>;
|
|
17493
18121
|
/**
|
|
17494
18122
|
* Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
|
|
17495
18123
|
* @param {SubscriptionsManagerApiCreatePlanRequest} requestParameters Request parameters.
|
|
@@ -17499,7 +18127,7 @@ export declare class SubscriptionsManagerApi extends BaseAPI {
|
|
|
17499
18127
|
*/
|
|
17500
18128
|
createPlan(requestParameters: SubscriptionsManagerApiCreatePlanRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePlan201Response, any, {}>>;
|
|
17501
18129
|
/**
|
|
17502
|
-
* Supprime
|
|
18130
|
+
* Supprime un plan par productId (manager)
|
|
17503
18131
|
* @param {SubscriptionsManagerApiDeletePlanRequest} requestParameters Request parameters.
|
|
17504
18132
|
* @param {*} [options] Override http request option.
|
|
17505
18133
|
* @throws {RequiredError}
|