@tennac-booking/sdk 1.0.125 → 1.0.127
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 +334 -343
- package/README.md +11 -19
- package/api.ts +422 -591
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +317 -496
- package/dist/api.js +164 -156
- 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 +317 -496
- package/dist/esm/api.js +160 -152
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/BookingsStaffApi.md +10 -10
- package/docs/{EventBookingResponsePlayersInnerInvoiceStatus.md → CheckInPlayerRequest.md} +5 -3
- package/docs/{CheckInPlayersResponse.md → CheckInPlayerResponse.md} +5 -5
- package/docs/ClubPlayerSubscriptionSummary.md +3 -3
- package/docs/ClubsStaffApi.md +54 -0
- package/docs/CreatePlan201Response.md +2 -0
- package/docs/CreateSubscriptionPlanRequest.md +2 -2
- package/docs/CreateSubscriptionPlanRequestDiscount.md +2 -0
- package/docs/DeleteSubscriptionPlanResponse.md +2 -0
- package/docs/EventsApi.md +1 -4
- package/docs/{EventBookingResponseSetupStatus.md → GetClubType200Response.md} +5 -3
- package/docs/MonthlyTurnoverResponse.md +0 -1
- package/docs/OffPeakRule.md +2 -0
- package/docs/PlanPrice.md +26 -0
- package/docs/{CheckInPlayersRequest.md → PlanPriceInput.md} +7 -5
- package/docs/PublicSubscriptionPlanResponse.md +5 -1
- package/docs/PublishEventResponse.md +0 -2
- 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/UsersApi.md +0 -54
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/EventBookingDetailSummary.md +0 -40
- package/docs/EventBookingResponse.md +0 -36
- package/docs/EventBookingResponsePlayersInner.md +0 -28
- package/docs/EventBookingStatus.md +0 -16
- package/docs/InvoiceStatusSETUPPENDING.md +0 -8
- package/docs/InvoiceStatusSETUPSUCCESS.md +0 -8
- package/docs/ParticipationType.md +0 -10
- package/docs/UserEventParticipation.md +0 -22
- package/docs/UserEventSummary.md +0 -44
- package/docs/UserEventsResponse.md +0 -28
- package/docs/VisibilityType.md +0 -12
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.121
|
|
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
|
*
|
|
@@ -2705,11 +2705,11 @@ export interface ClubPlayerSubscriptionSummary {
|
|
|
2705
2705
|
*/
|
|
2706
2706
|
'name': string | null;
|
|
2707
2707
|
/**
|
|
2708
|
-
*
|
|
2709
|
-
* @type {
|
|
2708
|
+
* Tarifications disponibles
|
|
2709
|
+
* @type {Array<PlanPrice>}
|
|
2710
2710
|
* @memberof ClubPlayerSubscriptionSummary
|
|
2711
2711
|
*/
|
|
2712
|
-
'
|
|
2712
|
+
'prices': Array<PlanPrice>;
|
|
2713
2713
|
/**
|
|
2714
2714
|
* Devise
|
|
2715
2715
|
* @type {string}
|
|
@@ -2717,7 +2717,7 @@ export interface ClubPlayerSubscriptionSummary {
|
|
|
2717
2717
|
*/
|
|
2718
2718
|
'currency': string | null;
|
|
2719
2719
|
/**
|
|
2720
|
-
* Intervalle
|
|
2720
|
+
* Intervalle par défaut
|
|
2721
2721
|
* @type {string}
|
|
2722
2722
|
* @memberof ClubPlayerSubscriptionSummary
|
|
2723
2723
|
*/
|
|
@@ -3917,6 +3917,12 @@ export interface CreateOnsiteInvoiceResponseInvoice {
|
|
|
3917
3917
|
* @interface CreatePlan201Response
|
|
3918
3918
|
*/
|
|
3919
3919
|
export interface CreatePlan201Response {
|
|
3920
|
+
/**
|
|
3921
|
+
*
|
|
3922
|
+
* @type {Array<string>}
|
|
3923
|
+
* @memberof CreatePlan201Response
|
|
3924
|
+
*/
|
|
3925
|
+
'priceIds': Array<string>;
|
|
3920
3926
|
/**
|
|
3921
3927
|
*
|
|
3922
3928
|
* @type {string}
|
|
@@ -4031,10 +4037,10 @@ export interface CreateSubscriptionPlanRequest {
|
|
|
4031
4037
|
'description'?: string;
|
|
4032
4038
|
/**
|
|
4033
4039
|
*
|
|
4034
|
-
* @type {
|
|
4040
|
+
* @type {Array<PlanPriceInput>}
|
|
4035
4041
|
* @memberof CreateSubscriptionPlanRequest
|
|
4036
4042
|
*/
|
|
4037
|
-
'
|
|
4043
|
+
'prices': Array<PlanPriceInput>;
|
|
4038
4044
|
/**
|
|
4039
4045
|
*
|
|
4040
4046
|
* @type {string}
|
|
@@ -4070,8 +4076,15 @@ export interface CreateSubscriptionPlanRequestDiscount {
|
|
|
4070
4076
|
*
|
|
4071
4077
|
* @type {Array<OffPeakRule>}
|
|
4072
4078
|
* @memberof CreateSubscriptionPlanRequestDiscount
|
|
4079
|
+
* @deprecated
|
|
4073
4080
|
*/
|
|
4074
4081
|
'offPeakRules'?: Array<OffPeakRule>;
|
|
4082
|
+
/**
|
|
4083
|
+
* 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.
|
|
4084
|
+
* @type {Array<string>}
|
|
4085
|
+
* @memberof CreateSubscriptionPlanRequestDiscount
|
|
4086
|
+
*/
|
|
4087
|
+
'offPeakRuleNames'?: Array<string>;
|
|
4075
4088
|
/**
|
|
4076
4089
|
*
|
|
4077
4090
|
* @type {string}
|
|
@@ -4223,6 +4236,12 @@ export interface DeleteSubscriptionPlanResponse {
|
|
|
4223
4236
|
* @memberof DeleteSubscriptionPlanResponse
|
|
4224
4237
|
*/
|
|
4225
4238
|
'message': string;
|
|
4239
|
+
/**
|
|
4240
|
+
*
|
|
4241
|
+
* @type {boolean}
|
|
4242
|
+
* @memberof DeleteSubscriptionPlanResponse
|
|
4243
|
+
*/
|
|
4244
|
+
'archivedInstead'?: boolean;
|
|
4226
4245
|
}
|
|
4227
4246
|
/**
|
|
4228
4247
|
*
|
|
@@ -4341,204 +4360,6 @@ export interface EstimateEventPriceRequestSharesInner {
|
|
|
4341
4360
|
*/
|
|
4342
4361
|
'playerId': string;
|
|
4343
4362
|
}
|
|
4344
|
-
/**
|
|
4345
|
-
*
|
|
4346
|
-
* @export
|
|
4347
|
-
* @interface EventBookingDetailSummary
|
|
4348
|
-
*/
|
|
4349
|
-
export interface EventBookingDetailSummary {
|
|
4350
|
-
/**
|
|
4351
|
-
*
|
|
4352
|
-
* @type {string}
|
|
4353
|
-
* @memberof EventBookingDetailSummary
|
|
4354
|
-
*/
|
|
4355
|
-
'id': string;
|
|
4356
|
-
/**
|
|
4357
|
-
*
|
|
4358
|
-
* @type {EventBookingStatus}
|
|
4359
|
-
* @memberof EventBookingDetailSummary
|
|
4360
|
-
*/
|
|
4361
|
-
'status': EventBookingStatus;
|
|
4362
|
-
/**
|
|
4363
|
-
*
|
|
4364
|
-
* @type {string}
|
|
4365
|
-
* @memberof EventBookingDetailSummary
|
|
4366
|
-
*/
|
|
4367
|
-
'teamName'?: string | null;
|
|
4368
|
-
/**
|
|
4369
|
-
*
|
|
4370
|
-
* @type {Array<string>}
|
|
4371
|
-
* @memberof EventBookingDetailSummary
|
|
4372
|
-
*/
|
|
4373
|
-
'players': Array<string>;
|
|
4374
|
-
/**
|
|
4375
|
-
*
|
|
4376
|
-
* @type {Array<string>}
|
|
4377
|
-
* @memberof EventBookingDetailSummary
|
|
4378
|
-
*/
|
|
4379
|
-
'invoices': Array<string>;
|
|
4380
|
-
/**
|
|
4381
|
-
*
|
|
4382
|
-
* @type {string}
|
|
4383
|
-
* @memberof EventBookingDetailSummary
|
|
4384
|
-
*/
|
|
4385
|
-
'creatorPaymentMethodId'?: string | null;
|
|
4386
|
-
/**
|
|
4387
|
-
*
|
|
4388
|
-
* @type {boolean}
|
|
4389
|
-
* @memberof EventBookingDetailSummary
|
|
4390
|
-
*/
|
|
4391
|
-
'paymentMethodSetupCompleted': boolean;
|
|
4392
|
-
/**
|
|
4393
|
-
*
|
|
4394
|
-
* @type {string}
|
|
4395
|
-
* @memberof EventBookingDetailSummary
|
|
4396
|
-
*/
|
|
4397
|
-
'limitSetupDate'?: string | null;
|
|
4398
|
-
/**
|
|
4399
|
-
*
|
|
4400
|
-
* @type {string}
|
|
4401
|
-
* @memberof EventBookingDetailSummary
|
|
4402
|
-
*/
|
|
4403
|
-
'limitCancellationDate'?: string | null;
|
|
4404
|
-
/**
|
|
4405
|
-
*
|
|
4406
|
-
* @type {string}
|
|
4407
|
-
* @memberof EventBookingDetailSummary
|
|
4408
|
-
*/
|
|
4409
|
-
'createdAt': string;
|
|
4410
|
-
/**
|
|
4411
|
-
*
|
|
4412
|
-
* @type {string}
|
|
4413
|
-
* @memberof EventBookingDetailSummary
|
|
4414
|
-
*/
|
|
4415
|
-
'updatedAt': string;
|
|
4416
|
-
}
|
|
4417
|
-
/**
|
|
4418
|
-
*
|
|
4419
|
-
* @export
|
|
4420
|
-
* @interface EventBookingResponse
|
|
4421
|
-
*/
|
|
4422
|
-
export interface EventBookingResponse {
|
|
4423
|
-
/**
|
|
4424
|
-
*
|
|
4425
|
-
* @type {string}
|
|
4426
|
-
* @memberof EventBookingResponse
|
|
4427
|
-
*/
|
|
4428
|
-
'id': string;
|
|
4429
|
-
/**
|
|
4430
|
-
*
|
|
4431
|
-
* @type {EventBookingStatus}
|
|
4432
|
-
* @memberof EventBookingResponse
|
|
4433
|
-
*/
|
|
4434
|
-
'status': EventBookingStatus;
|
|
4435
|
-
/**
|
|
4436
|
-
*
|
|
4437
|
-
* @type {string}
|
|
4438
|
-
* @memberof EventBookingResponse
|
|
4439
|
-
*/
|
|
4440
|
-
'teamName'?: string | null;
|
|
4441
|
-
/**
|
|
4442
|
-
*
|
|
4443
|
-
* @type {Array<EventBookingResponsePlayersInner>}
|
|
4444
|
-
* @memberof EventBookingResponse
|
|
4445
|
-
*/
|
|
4446
|
-
'players': Array<EventBookingResponsePlayersInner>;
|
|
4447
|
-
/**
|
|
4448
|
-
*
|
|
4449
|
-
* @type {string}
|
|
4450
|
-
* @memberof EventBookingResponse
|
|
4451
|
-
*/
|
|
4452
|
-
'setupLimitDate'?: string | null;
|
|
4453
|
-
/**
|
|
4454
|
-
*
|
|
4455
|
-
* @type {string}
|
|
4456
|
-
* @memberof EventBookingResponse
|
|
4457
|
-
*/
|
|
4458
|
-
'cancellationLimitDate'?: string | null;
|
|
4459
|
-
/**
|
|
4460
|
-
*
|
|
4461
|
-
* @type {EventBookingResponseSetupStatus}
|
|
4462
|
-
* @memberof EventBookingResponse
|
|
4463
|
-
*/
|
|
4464
|
-
'setupStatus'?: EventBookingResponseSetupStatus | null;
|
|
4465
|
-
/**
|
|
4466
|
-
*
|
|
4467
|
-
* @type {string}
|
|
4468
|
-
* @memberof EventBookingResponse
|
|
4469
|
-
*/
|
|
4470
|
-
'createdAt': string;
|
|
4471
|
-
/**
|
|
4472
|
-
*
|
|
4473
|
-
* @type {string}
|
|
4474
|
-
* @memberof EventBookingResponse
|
|
4475
|
-
*/
|
|
4476
|
-
'updatedAt': string;
|
|
4477
|
-
}
|
|
4478
|
-
/**
|
|
4479
|
-
*
|
|
4480
|
-
* @export
|
|
4481
|
-
* @interface EventBookingResponsePlayersInner
|
|
4482
|
-
*/
|
|
4483
|
-
export interface EventBookingResponsePlayersInner {
|
|
4484
|
-
/**
|
|
4485
|
-
*
|
|
4486
|
-
* @type {EventBookingResponsePlayersInnerInvoiceStatus}
|
|
4487
|
-
* @memberof EventBookingResponsePlayersInner
|
|
4488
|
-
*/
|
|
4489
|
-
'invoiceStatus'?: EventBookingResponsePlayersInnerInvoiceStatus | null;
|
|
4490
|
-
/**
|
|
4491
|
-
*
|
|
4492
|
-
* @type {string}
|
|
4493
|
-
* @memberof EventBookingResponsePlayersInner
|
|
4494
|
-
*/
|
|
4495
|
-
'profilePicture'?: string | null;
|
|
4496
|
-
/**
|
|
4497
|
-
*
|
|
4498
|
-
* @type {string}
|
|
4499
|
-
* @memberof EventBookingResponsePlayersInner
|
|
4500
|
-
*/
|
|
4501
|
-
'lastName'?: string | null;
|
|
4502
|
-
/**
|
|
4503
|
-
*
|
|
4504
|
-
* @type {string}
|
|
4505
|
-
* @memberof EventBookingResponsePlayersInner
|
|
4506
|
-
*/
|
|
4507
|
-
'firstName'?: string | null;
|
|
4508
|
-
/**
|
|
4509
|
-
*
|
|
4510
|
-
* @type {string}
|
|
4511
|
-
* @memberof EventBookingResponsePlayersInner
|
|
4512
|
-
*/
|
|
4513
|
-
'id': string;
|
|
4514
|
-
}
|
|
4515
|
-
/**
|
|
4516
|
-
*
|
|
4517
|
-
* @export
|
|
4518
|
-
* @interface EventBookingResponsePlayersInnerInvoiceStatus
|
|
4519
|
-
*/
|
|
4520
|
-
export interface EventBookingResponsePlayersInnerInvoiceStatus {
|
|
4521
|
-
}
|
|
4522
|
-
/**
|
|
4523
|
-
*
|
|
4524
|
-
* @export
|
|
4525
|
-
* @interface EventBookingResponseSetupStatus
|
|
4526
|
-
*/
|
|
4527
|
-
export interface EventBookingResponseSetupStatus {
|
|
4528
|
-
}
|
|
4529
|
-
/**
|
|
4530
|
-
*
|
|
4531
|
-
* @export
|
|
4532
|
-
* @enum {string}
|
|
4533
|
-
*/
|
|
4534
|
-
export declare const EventBookingStatus: {
|
|
4535
|
-
readonly Pending: "pending";
|
|
4536
|
-
readonly Paid: "paid";
|
|
4537
|
-
readonly Cancelled: "cancelled";
|
|
4538
|
-
readonly Expired: "expired";
|
|
4539
|
-
readonly Archived: "archived";
|
|
4540
|
-
};
|
|
4541
|
-
export type EventBookingStatus = typeof EventBookingStatus[keyof typeof EventBookingStatus];
|
|
4542
4363
|
/**
|
|
4543
4364
|
*
|
|
4544
4365
|
* @export
|
|
@@ -5064,6 +4885,19 @@ export interface GetClubRoles200Response {
|
|
|
5064
4885
|
*/
|
|
5065
4886
|
'roles': Array<any>;
|
|
5066
4887
|
}
|
|
4888
|
+
/**
|
|
4889
|
+
*
|
|
4890
|
+
* @export
|
|
4891
|
+
* @interface GetClubType200Response
|
|
4892
|
+
*/
|
|
4893
|
+
export interface GetClubType200Response {
|
|
4894
|
+
/**
|
|
4895
|
+
*
|
|
4896
|
+
* @type {string}
|
|
4897
|
+
* @memberof GetClubType200Response
|
|
4898
|
+
*/
|
|
4899
|
+
'clubType': string;
|
|
4900
|
+
}
|
|
5067
4901
|
/**
|
|
5068
4902
|
*
|
|
5069
4903
|
* @export
|
|
@@ -5858,24 +5692,6 @@ export declare const InvoiceStatus: {
|
|
|
5858
5692
|
readonly Expired: "expired";
|
|
5859
5693
|
};
|
|
5860
5694
|
export type InvoiceStatus = typeof InvoiceStatus[keyof typeof InvoiceStatus];
|
|
5861
|
-
/**
|
|
5862
|
-
*
|
|
5863
|
-
* @export
|
|
5864
|
-
* @enum {string}
|
|
5865
|
-
*/
|
|
5866
|
-
export declare const InvoiceStatusSETUPPENDING: {
|
|
5867
|
-
readonly SetupPending: "setup_pending";
|
|
5868
|
-
};
|
|
5869
|
-
export type InvoiceStatusSETUPPENDING = typeof InvoiceStatusSETUPPENDING[keyof typeof InvoiceStatusSETUPPENDING];
|
|
5870
|
-
/**
|
|
5871
|
-
*
|
|
5872
|
-
* @export
|
|
5873
|
-
* @enum {string}
|
|
5874
|
-
*/
|
|
5875
|
-
export declare const InvoiceStatusSETUPSUCCESS: {
|
|
5876
|
-
readonly SetupSuccess: "setup_success";
|
|
5877
|
-
};
|
|
5878
|
-
export type InvoiceStatusSETUPSUCCESS = typeof InvoiceStatusSETUPSUCCESS[keyof typeof InvoiceStatusSETUPSUCCESS];
|
|
5879
5695
|
/**
|
|
5880
5696
|
*
|
|
5881
5697
|
* @export
|
|
@@ -6211,7 +6027,7 @@ export interface MonthlyBreakdown {
|
|
|
6211
6027
|
'invoiceCount': number;
|
|
6212
6028
|
}
|
|
6213
6029
|
/**
|
|
6214
|
-
*
|
|
6030
|
+
*
|
|
6215
6031
|
* @export
|
|
6216
6032
|
* @interface MonthlyTurnoverResponse
|
|
6217
6033
|
*/
|
|
@@ -6327,6 +6143,12 @@ export interface NoShowFeeResponse {
|
|
|
6327
6143
|
* @interface OffPeakRule
|
|
6328
6144
|
*/
|
|
6329
6145
|
export interface OffPeakRule {
|
|
6146
|
+
/**
|
|
6147
|
+
*
|
|
6148
|
+
* @type {string}
|
|
6149
|
+
* @memberof OffPeakRule
|
|
6150
|
+
*/
|
|
6151
|
+
'pricingPeriodName'?: string;
|
|
6330
6152
|
/**
|
|
6331
6153
|
*
|
|
6332
6154
|
* @type {number}
|
|
@@ -6505,16 +6327,6 @@ export interface PartialClubWeeklySchedule {
|
|
|
6505
6327
|
*/
|
|
6506
6328
|
'sunday'?: ClubDaySchedule;
|
|
6507
6329
|
}
|
|
6508
|
-
/**
|
|
6509
|
-
*
|
|
6510
|
-
* @export
|
|
6511
|
-
* @enum {string}
|
|
6512
|
-
*/
|
|
6513
|
-
export declare const ParticipationType: {
|
|
6514
|
-
readonly Solo: "solo";
|
|
6515
|
-
readonly Team: "team";
|
|
6516
|
-
};
|
|
6517
|
-
export type ParticipationType = typeof ParticipationType[keyof typeof ParticipationType];
|
|
6518
6330
|
/**
|
|
6519
6331
|
*
|
|
6520
6332
|
* @export
|
|
@@ -6655,6 +6467,56 @@ export declare const PlanInterval: {
|
|
|
6655
6467
|
readonly Semester: "semester";
|
|
6656
6468
|
};
|
|
6657
6469
|
export type PlanInterval = typeof PlanInterval[keyof typeof PlanInterval];
|
|
6470
|
+
/**
|
|
6471
|
+
*
|
|
6472
|
+
* @export
|
|
6473
|
+
* @interface PlanPrice
|
|
6474
|
+
*/
|
|
6475
|
+
export interface PlanPrice {
|
|
6476
|
+
/**
|
|
6477
|
+
*
|
|
6478
|
+
* @type {number}
|
|
6479
|
+
* @memberof PlanPrice
|
|
6480
|
+
*/
|
|
6481
|
+
'amountInCents': number;
|
|
6482
|
+
/**
|
|
6483
|
+
*
|
|
6484
|
+
* @type {PlanInterval}
|
|
6485
|
+
* @memberof PlanPrice
|
|
6486
|
+
*/
|
|
6487
|
+
'interval': PlanInterval;
|
|
6488
|
+
/**
|
|
6489
|
+
*
|
|
6490
|
+
* @type {boolean}
|
|
6491
|
+
* @memberof PlanPrice
|
|
6492
|
+
*/
|
|
6493
|
+
'active'?: boolean;
|
|
6494
|
+
/**
|
|
6495
|
+
*
|
|
6496
|
+
* @type {string}
|
|
6497
|
+
* @memberof PlanPrice
|
|
6498
|
+
*/
|
|
6499
|
+
'stripePriceId'?: string;
|
|
6500
|
+
}
|
|
6501
|
+
/**
|
|
6502
|
+
*
|
|
6503
|
+
* @export
|
|
6504
|
+
* @interface PlanPriceInput
|
|
6505
|
+
*/
|
|
6506
|
+
export interface PlanPriceInput {
|
|
6507
|
+
/**
|
|
6508
|
+
*
|
|
6509
|
+
* @type {number}
|
|
6510
|
+
* @memberof PlanPriceInput
|
|
6511
|
+
*/
|
|
6512
|
+
'amountInCents': number;
|
|
6513
|
+
/**
|
|
6514
|
+
*
|
|
6515
|
+
* @type {PlanInterval}
|
|
6516
|
+
* @memberof PlanPriceInput
|
|
6517
|
+
*/
|
|
6518
|
+
'interval': PlanInterval;
|
|
6519
|
+
}
|
|
6658
6520
|
/**
|
|
6659
6521
|
*
|
|
6660
6522
|
* @export
|
|
@@ -7025,13 +6887,19 @@ export interface PublicSubscriptionPlanResponse {
|
|
|
7025
6887
|
* @type {number}
|
|
7026
6888
|
* @memberof PublicSubscriptionPlanResponse
|
|
7027
6889
|
*/
|
|
7028
|
-
'amountInCents'
|
|
6890
|
+
'amountInCents'?: number;
|
|
7029
6891
|
/**
|
|
7030
6892
|
*
|
|
7031
6893
|
* @type {string}
|
|
7032
6894
|
* @memberof PublicSubscriptionPlanResponse
|
|
7033
6895
|
*/
|
|
7034
6896
|
'currency': string;
|
|
6897
|
+
/**
|
|
6898
|
+
*
|
|
6899
|
+
* @type {Array<PlanPrice>}
|
|
6900
|
+
* @memberof PublicSubscriptionPlanResponse
|
|
6901
|
+
*/
|
|
6902
|
+
'prices': Array<PlanPrice>;
|
|
7035
6903
|
/**
|
|
7036
6904
|
*
|
|
7037
6905
|
* @type {PlanInterval}
|
|
@@ -7044,6 +6912,12 @@ export interface PublicSubscriptionPlanResponse {
|
|
|
7044
6912
|
* @memberof PublicSubscriptionPlanResponse
|
|
7045
6913
|
*/
|
|
7046
6914
|
'description'?: string;
|
|
6915
|
+
/**
|
|
6916
|
+
*
|
|
6917
|
+
* @type {SubscriptionPlanDiscountResponse}
|
|
6918
|
+
* @memberof PublicSubscriptionPlanResponse
|
|
6919
|
+
*/
|
|
6920
|
+
'discount'?: SubscriptionPlanDiscountResponse;
|
|
7047
6921
|
}
|
|
7048
6922
|
/**
|
|
7049
6923
|
*
|
|
@@ -7148,12 +7022,6 @@ export interface PublishEventResponse {
|
|
|
7148
7022
|
* @memberof PublishEventResponse
|
|
7149
7023
|
*/
|
|
7150
7024
|
'refundedBookingIds'?: Array<string>;
|
|
7151
|
-
/**
|
|
7152
|
-
*
|
|
7153
|
-
* @type {EventBookingResponse}
|
|
7154
|
-
* @memberof PublishEventResponse
|
|
7155
|
-
*/
|
|
7156
|
-
'userBooking'?: EventBookingResponse;
|
|
7157
7025
|
}
|
|
7158
7026
|
/**
|
|
7159
7027
|
*
|
|
@@ -7680,6 +7548,12 @@ export interface SendSubscriptionInvitationRequest {
|
|
|
7680
7548
|
* @memberof SendSubscriptionInvitationRequest
|
|
7681
7549
|
*/
|
|
7682
7550
|
'productId': string;
|
|
7551
|
+
/**
|
|
7552
|
+
* Price spécifique proposé dans l\'invitation (facultatif).
|
|
7553
|
+
* @type {string}
|
|
7554
|
+
* @memberof SendSubscriptionInvitationRequest
|
|
7555
|
+
*/
|
|
7556
|
+
'priceId'?: string;
|
|
7683
7557
|
}
|
|
7684
7558
|
/**
|
|
7685
7559
|
*
|
|
@@ -9775,13 +9649,68 @@ export interface SubscriptionInfo {
|
|
|
9775
9649
|
*/
|
|
9776
9650
|
export interface SubscriptionMutationResponse {
|
|
9777
9651
|
/**
|
|
9778
|
-
* Construct a type with a set of properties K of type T
|
|
9779
|
-
* @type {{ [key: string]: any; }}
|
|
9780
|
-
* @memberof SubscriptionMutationResponse
|
|
9652
|
+
* Construct a type with a set of properties K of type T
|
|
9653
|
+
* @type {{ [key: string]: any; }}
|
|
9654
|
+
* @memberof SubscriptionMutationResponse
|
|
9655
|
+
*/
|
|
9656
|
+
'subscription': {
|
|
9657
|
+
[key: string]: any;
|
|
9658
|
+
};
|
|
9659
|
+
}
|
|
9660
|
+
/**
|
|
9661
|
+
*
|
|
9662
|
+
* @export
|
|
9663
|
+
* @interface SubscriptionPlanDiscountResponse
|
|
9664
|
+
*/
|
|
9665
|
+
export interface SubscriptionPlanDiscountResponse {
|
|
9666
|
+
/**
|
|
9667
|
+
*
|
|
9668
|
+
* @type {DiscountType}
|
|
9669
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
9670
|
+
*/
|
|
9671
|
+
'type': DiscountType;
|
|
9672
|
+
/**
|
|
9673
|
+
*
|
|
9674
|
+
* @type {number}
|
|
9675
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
9676
|
+
*/
|
|
9677
|
+
'percentage'?: number;
|
|
9678
|
+
/**
|
|
9679
|
+
*
|
|
9680
|
+
* @type {number}
|
|
9681
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
9682
|
+
*/
|
|
9683
|
+
'maxDiscountAmountInCents'?: number;
|
|
9684
|
+
/**
|
|
9685
|
+
*
|
|
9686
|
+
* @type {string}
|
|
9687
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
9688
|
+
*/
|
|
9689
|
+
'validFrom'?: string;
|
|
9690
|
+
/**
|
|
9691
|
+
*
|
|
9692
|
+
* @type {string}
|
|
9693
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
9694
|
+
*/
|
|
9695
|
+
'validTo'?: string;
|
|
9696
|
+
/**
|
|
9697
|
+
*
|
|
9698
|
+
* @type {Array<string>}
|
|
9699
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
9700
|
+
*/
|
|
9701
|
+
'offPeakRuleNames'?: Array<string>;
|
|
9702
|
+
/**
|
|
9703
|
+
*
|
|
9704
|
+
* @type {Array<OffPeakRule>}
|
|
9705
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
9781
9706
|
*/
|
|
9782
|
-
'
|
|
9783
|
-
|
|
9784
|
-
|
|
9707
|
+
'offPeakRules'?: Array<OffPeakRule>;
|
|
9708
|
+
/**
|
|
9709
|
+
*
|
|
9710
|
+
* @type {boolean}
|
|
9711
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
9712
|
+
*/
|
|
9713
|
+
'bookingFree'?: boolean;
|
|
9785
9714
|
}
|
|
9786
9715
|
/**
|
|
9787
9716
|
*
|
|
@@ -9818,13 +9747,19 @@ export interface SubscriptionPlanResponse {
|
|
|
9818
9747
|
* @type {number}
|
|
9819
9748
|
* @memberof SubscriptionPlanResponse
|
|
9820
9749
|
*/
|
|
9821
|
-
'amountInCents'
|
|
9750
|
+
'amountInCents'?: number;
|
|
9822
9751
|
/**
|
|
9823
9752
|
*
|
|
9824
9753
|
* @type {string}
|
|
9825
9754
|
* @memberof SubscriptionPlanResponse
|
|
9826
9755
|
*/
|
|
9827
9756
|
'currency': string;
|
|
9757
|
+
/**
|
|
9758
|
+
*
|
|
9759
|
+
* @type {Array<PlanPrice>}
|
|
9760
|
+
* @memberof SubscriptionPlanResponse
|
|
9761
|
+
*/
|
|
9762
|
+
'prices': Array<PlanPrice>;
|
|
9828
9763
|
/**
|
|
9829
9764
|
*
|
|
9830
9765
|
* @type {PlanInterval}
|
|
@@ -9837,6 +9772,18 @@ export interface SubscriptionPlanResponse {
|
|
|
9837
9772
|
* @memberof SubscriptionPlanResponse
|
|
9838
9773
|
*/
|
|
9839
9774
|
'priceActive': boolean;
|
|
9775
|
+
/**
|
|
9776
|
+
*
|
|
9777
|
+
* @type {string}
|
|
9778
|
+
* @memberof SubscriptionPlanResponse
|
|
9779
|
+
*/
|
|
9780
|
+
'description'?: string;
|
|
9781
|
+
/**
|
|
9782
|
+
*
|
|
9783
|
+
* @type {SubscriptionPlanDiscountResponse}
|
|
9784
|
+
* @memberof SubscriptionPlanResponse
|
|
9785
|
+
*/
|
|
9786
|
+
'discount'?: SubscriptionPlanDiscountResponse;
|
|
9840
9787
|
}
|
|
9841
9788
|
/**
|
|
9842
9789
|
*
|
|
@@ -10803,147 +10750,6 @@ export interface UserClubSubscription {
|
|
|
10803
10750
|
*/
|
|
10804
10751
|
'interval': PlanInterval | null;
|
|
10805
10752
|
}
|
|
10806
|
-
/**
|
|
10807
|
-
*
|
|
10808
|
-
* @export
|
|
10809
|
-
* @interface UserEventParticipation
|
|
10810
|
-
*/
|
|
10811
|
-
export interface UserEventParticipation {
|
|
10812
|
-
/**
|
|
10813
|
-
*
|
|
10814
|
-
* @type {UserEventSummary}
|
|
10815
|
-
* @memberof UserEventParticipation
|
|
10816
|
-
*/
|
|
10817
|
-
'event': UserEventSummary;
|
|
10818
|
-
/**
|
|
10819
|
-
*
|
|
10820
|
-
* @type {EventBookingDetailSummary}
|
|
10821
|
-
* @memberof UserEventParticipation
|
|
10822
|
-
*/
|
|
10823
|
-
'booking': EventBookingDetailSummary;
|
|
10824
|
-
}
|
|
10825
|
-
/**
|
|
10826
|
-
*
|
|
10827
|
-
* @export
|
|
10828
|
-
* @interface UserEventSummary
|
|
10829
|
-
*/
|
|
10830
|
-
export interface UserEventSummary {
|
|
10831
|
-
/**
|
|
10832
|
-
*
|
|
10833
|
-
* @type {string}
|
|
10834
|
-
* @memberof UserEventSummary
|
|
10835
|
-
*/
|
|
10836
|
-
'id': string;
|
|
10837
|
-
/**
|
|
10838
|
-
*
|
|
10839
|
-
* @type {string}
|
|
10840
|
-
* @memberof UserEventSummary
|
|
10841
|
-
*/
|
|
10842
|
-
'clubId': string;
|
|
10843
|
-
/**
|
|
10844
|
-
*
|
|
10845
|
-
* @type {string}
|
|
10846
|
-
* @memberof UserEventSummary
|
|
10847
|
-
*/
|
|
10848
|
-
'title': string;
|
|
10849
|
-
/**
|
|
10850
|
-
*
|
|
10851
|
-
* @type {string}
|
|
10852
|
-
* @memberof UserEventSummary
|
|
10853
|
-
*/
|
|
10854
|
-
'description'?: string | null;
|
|
10855
|
-
/**
|
|
10856
|
-
*
|
|
10857
|
-
* @type {string}
|
|
10858
|
-
* @memberof UserEventSummary
|
|
10859
|
-
*/
|
|
10860
|
-
'photoUrl'?: string | null;
|
|
10861
|
-
/**
|
|
10862
|
-
*
|
|
10863
|
-
* @type {string}
|
|
10864
|
-
* @memberof UserEventSummary
|
|
10865
|
-
*/
|
|
10866
|
-
'startDate': string;
|
|
10867
|
-
/**
|
|
10868
|
-
*
|
|
10869
|
-
* @type {string}
|
|
10870
|
-
* @memberof UserEventSummary
|
|
10871
|
-
*/
|
|
10872
|
-
'endDate': string;
|
|
10873
|
-
/**
|
|
10874
|
-
*
|
|
10875
|
-
* @type {ParticipationType}
|
|
10876
|
-
* @memberof UserEventSummary
|
|
10877
|
-
*/
|
|
10878
|
-
'participationType': ParticipationType;
|
|
10879
|
-
/**
|
|
10880
|
-
*
|
|
10881
|
-
* @type {VisibilityType}
|
|
10882
|
-
* @memberof UserEventSummary
|
|
10883
|
-
*/
|
|
10884
|
-
'visibilityType': VisibilityType;
|
|
10885
|
-
/**
|
|
10886
|
-
*
|
|
10887
|
-
* @type {boolean}
|
|
10888
|
-
* @memberof UserEventSummary
|
|
10889
|
-
*/
|
|
10890
|
-
'isActive': boolean;
|
|
10891
|
-
/**
|
|
10892
|
-
*
|
|
10893
|
-
* @type {number}
|
|
10894
|
-
* @memberof UserEventSummary
|
|
10895
|
-
*/
|
|
10896
|
-
'price'?: number | null;
|
|
10897
|
-
/**
|
|
10898
|
-
*
|
|
10899
|
-
* @type {Array<string>}
|
|
10900
|
-
* @memberof UserEventSummary
|
|
10901
|
-
*/
|
|
10902
|
-
'sports'?: Array<string>;
|
|
10903
|
-
/**
|
|
10904
|
-
*
|
|
10905
|
-
* @type {Array<string>}
|
|
10906
|
-
* @memberof UserEventSummary
|
|
10907
|
-
*/
|
|
10908
|
-
'courts'?: Array<string>;
|
|
10909
|
-
}
|
|
10910
|
-
/**
|
|
10911
|
-
*
|
|
10912
|
-
* @export
|
|
10913
|
-
* @interface UserEventsResponse
|
|
10914
|
-
*/
|
|
10915
|
-
export interface UserEventsResponse {
|
|
10916
|
-
/**
|
|
10917
|
-
*
|
|
10918
|
-
* @type {number}
|
|
10919
|
-
* @memberof UserEventsResponse
|
|
10920
|
-
*/
|
|
10921
|
-
'total': number;
|
|
10922
|
-
/**
|
|
10923
|
-
*
|
|
10924
|
-
* @type {number}
|
|
10925
|
-
* @memberof UserEventsResponse
|
|
10926
|
-
*/
|
|
10927
|
-
'limit': number;
|
|
10928
|
-
/**
|
|
10929
|
-
*
|
|
10930
|
-
* @type {number}
|
|
10931
|
-
* @memberof UserEventsResponse
|
|
10932
|
-
*/
|
|
10933
|
-
'skip': number;
|
|
10934
|
-
/**
|
|
10935
|
-
*
|
|
10936
|
-
* @type {boolean}
|
|
10937
|
-
* @memberof UserEventsResponse
|
|
10938
|
-
*/
|
|
10939
|
-
'hasMore': boolean;
|
|
10940
|
-
/**
|
|
10941
|
-
*
|
|
10942
|
-
* @type {Array<UserEventParticipation>}
|
|
10943
|
-
* @memberof UserEventsResponse
|
|
10944
|
-
*/
|
|
10945
|
-
'participations': Array<UserEventParticipation>;
|
|
10946
|
-
}
|
|
10947
10753
|
/**
|
|
10948
10754
|
*
|
|
10949
10755
|
* @export
|
|
@@ -11348,17 +11154,6 @@ export interface VerifyEmailRequest {
|
|
|
11348
11154
|
*/
|
|
11349
11155
|
'token'?: string;
|
|
11350
11156
|
}
|
|
11351
|
-
/**
|
|
11352
|
-
*
|
|
11353
|
-
* @export
|
|
11354
|
-
* @enum {string}
|
|
11355
|
-
*/
|
|
11356
|
-
export declare const VisibilityType: {
|
|
11357
|
-
readonly Public: "public";
|
|
11358
|
-
readonly Private: "private";
|
|
11359
|
-
readonly Invitation: "invitation";
|
|
11360
|
-
};
|
|
11361
|
-
export type VisibilityType = typeof VisibilityType[keyof typeof VisibilityType];
|
|
11362
11157
|
/**
|
|
11363
11158
|
*
|
|
11364
11159
|
* @export
|
|
@@ -11746,13 +11541,13 @@ export declare class BookingsManagerApi extends BaseAPI {
|
|
|
11746
11541
|
*/
|
|
11747
11542
|
export declare const BookingsStaffApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
11748
11543
|
/**
|
|
11749
|
-
* Check-in
|
|
11544
|
+
* Check-in d\'un joueur (paiement en ligne ou sur place)
|
|
11750
11545
|
* @param {string} bookingId
|
|
11751
|
-
* @param {
|
|
11546
|
+
* @param {CheckInPlayerRequest} checkInPlayerRequest
|
|
11752
11547
|
* @param {*} [options] Override http request option.
|
|
11753
11548
|
* @throws {RequiredError}
|
|
11754
11549
|
*/
|
|
11755
|
-
|
|
11550
|
+
checkInPlayer: (bookingId: string, checkInPlayerRequest: CheckInPlayerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11756
11551
|
/**
|
|
11757
11552
|
* Créer une réservation pour un joueur depuis l\'espace staff
|
|
11758
11553
|
* @param {StaffCreateBookingRequest} staffCreateBookingRequest
|
|
@@ -11813,13 +11608,13 @@ export declare const BookingsStaffApiAxiosParamCreator: (configuration?: Configu
|
|
|
11813
11608
|
*/
|
|
11814
11609
|
export declare const BookingsStaffApiFp: (configuration?: Configuration) => {
|
|
11815
11610
|
/**
|
|
11816
|
-
* Check-in
|
|
11611
|
+
* Check-in d\'un joueur (paiement en ligne ou sur place)
|
|
11817
11612
|
* @param {string} bookingId
|
|
11818
|
-
* @param {
|
|
11613
|
+
* @param {CheckInPlayerRequest} checkInPlayerRequest
|
|
11819
11614
|
* @param {*} [options] Override http request option.
|
|
11820
11615
|
* @throws {RequiredError}
|
|
11821
11616
|
*/
|
|
11822
|
-
|
|
11617
|
+
checkInPlayer(bookingId: string, checkInPlayerRequest: CheckInPlayerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInPlayerResponse>>;
|
|
11823
11618
|
/**
|
|
11824
11619
|
* Créer une réservation pour un joueur depuis l\'espace staff
|
|
11825
11620
|
* @param {StaffCreateBookingRequest} staffCreateBookingRequest
|
|
@@ -11880,12 +11675,12 @@ export declare const BookingsStaffApiFp: (configuration?: Configuration) => {
|
|
|
11880
11675
|
*/
|
|
11881
11676
|
export declare const BookingsStaffApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
11882
11677
|
/**
|
|
11883
|
-
* Check-in
|
|
11884
|
-
* @param {
|
|
11678
|
+
* Check-in d\'un joueur (paiement en ligne ou sur place)
|
|
11679
|
+
* @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
|
|
11885
11680
|
* @param {*} [options] Override http request option.
|
|
11886
11681
|
* @throws {RequiredError}
|
|
11887
11682
|
*/
|
|
11888
|
-
|
|
11683
|
+
checkInPlayer(requestParameters: BookingsStaffApiCheckInPlayerRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInPlayerResponse>;
|
|
11889
11684
|
/**
|
|
11890
11685
|
* Créer une réservation pour un joueur depuis l\'espace staff
|
|
11891
11686
|
* @param {BookingsStaffApiCreateStaffBookingRequest} requestParameters Request parameters.
|
|
@@ -11937,23 +11732,23 @@ export declare const BookingsStaffApiFactory: (configuration?: Configuration, ba
|
|
|
11937
11732
|
listClubBookings(requestParameters?: BookingsStaffApiListClubBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffBookingsPaginatedResponse>;
|
|
11938
11733
|
};
|
|
11939
11734
|
/**
|
|
11940
|
-
* Request parameters for
|
|
11735
|
+
* Request parameters for checkInPlayer operation in BookingsStaffApi.
|
|
11941
11736
|
* @export
|
|
11942
|
-
* @interface
|
|
11737
|
+
* @interface BookingsStaffApiCheckInPlayerRequest
|
|
11943
11738
|
*/
|
|
11944
|
-
export interface
|
|
11739
|
+
export interface BookingsStaffApiCheckInPlayerRequest {
|
|
11945
11740
|
/**
|
|
11946
11741
|
*
|
|
11947
11742
|
* @type {string}
|
|
11948
|
-
* @memberof
|
|
11743
|
+
* @memberof BookingsStaffApiCheckInPlayer
|
|
11949
11744
|
*/
|
|
11950
11745
|
readonly bookingId: string;
|
|
11951
11746
|
/**
|
|
11952
11747
|
*
|
|
11953
|
-
* @type {
|
|
11954
|
-
* @memberof
|
|
11748
|
+
* @type {CheckInPlayerRequest}
|
|
11749
|
+
* @memberof BookingsStaffApiCheckInPlayer
|
|
11955
11750
|
*/
|
|
11956
|
-
readonly
|
|
11751
|
+
readonly checkInPlayerRequest: CheckInPlayerRequest;
|
|
11957
11752
|
}
|
|
11958
11753
|
/**
|
|
11959
11754
|
* Request parameters for createStaffBooking operation in BookingsStaffApi.
|
|
@@ -12078,13 +11873,13 @@ export interface BookingsStaffApiListClubBookingsRequest {
|
|
|
12078
11873
|
*/
|
|
12079
11874
|
export declare class BookingsStaffApi extends BaseAPI {
|
|
12080
11875
|
/**
|
|
12081
|
-
* Check-in
|
|
12082
|
-
* @param {
|
|
11876
|
+
* Check-in d\'un joueur (paiement en ligne ou sur place)
|
|
11877
|
+
* @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
|
|
12083
11878
|
* @param {*} [options] Override http request option.
|
|
12084
11879
|
* @throws {RequiredError}
|
|
12085
11880
|
* @memberof BookingsStaffApi
|
|
12086
11881
|
*/
|
|
12087
|
-
|
|
11882
|
+
checkInPlayer(requestParameters: BookingsStaffApiCheckInPlayerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckInPlayerResponse, any, {}>>;
|
|
12088
11883
|
/**
|
|
12089
11884
|
* Créer une réservation pour un joueur depuis l\'espace staff
|
|
12090
11885
|
* @param {BookingsStaffApiCreateStaffBookingRequest} requestParameters Request parameters.
|
|
@@ -15273,6 +15068,13 @@ export declare const ClubsStaffApiAxiosParamCreator: (configuration?: Configurat
|
|
|
15273
15068
|
* @throws {RequiredError}
|
|
15274
15069
|
*/
|
|
15275
15070
|
getClubRoles: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15071
|
+
/**
|
|
15072
|
+
*
|
|
15073
|
+
* @param {string} clubId
|
|
15074
|
+
* @param {*} [options] Override http request option.
|
|
15075
|
+
* @throws {RequiredError}
|
|
15076
|
+
*/
|
|
15077
|
+
getClubType: (clubId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15276
15078
|
/**
|
|
15277
15079
|
* Récupère les terrains d\'un club
|
|
15278
15080
|
* @param {*} [options] Override http request option.
|
|
@@ -15351,6 +15153,13 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
|
|
|
15351
15153
|
* @throws {RequiredError}
|
|
15352
15154
|
*/
|
|
15353
15155
|
getClubRoles(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubRoles200Response>>;
|
|
15156
|
+
/**
|
|
15157
|
+
*
|
|
15158
|
+
* @param {string} clubId
|
|
15159
|
+
* @param {*} [options] Override http request option.
|
|
15160
|
+
* @throws {RequiredError}
|
|
15161
|
+
*/
|
|
15162
|
+
getClubType(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubType200Response>>;
|
|
15354
15163
|
/**
|
|
15355
15164
|
* Récupère les terrains d\'un club
|
|
15356
15165
|
* @param {*} [options] Override http request option.
|
|
@@ -15428,6 +15237,13 @@ export declare const ClubsStaffApiFactory: (configuration?: Configuration, baseP
|
|
|
15428
15237
|
* @throws {RequiredError}
|
|
15429
15238
|
*/
|
|
15430
15239
|
getClubRoles(options?: RawAxiosRequestConfig): AxiosPromise<GetClubRoles200Response>;
|
|
15240
|
+
/**
|
|
15241
|
+
*
|
|
15242
|
+
* @param {ClubsStaffApiGetClubTypeRequest} requestParameters Request parameters.
|
|
15243
|
+
* @param {*} [options] Override http request option.
|
|
15244
|
+
* @throws {RequiredError}
|
|
15245
|
+
*/
|
|
15246
|
+
getClubType(requestParameters: ClubsStaffApiGetClubTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetClubType200Response>;
|
|
15431
15247
|
/**
|
|
15432
15248
|
* Récupère les terrains d\'un club
|
|
15433
15249
|
* @param {*} [options] Override http request option.
|
|
@@ -15475,6 +15291,19 @@ export interface ClubsStaffApiCreateOnsiteInvoiceForBookingRequest {
|
|
|
15475
15291
|
*/
|
|
15476
15292
|
readonly createOnsiteInvoiceRequest: CreateOnsiteInvoiceRequest;
|
|
15477
15293
|
}
|
|
15294
|
+
/**
|
|
15295
|
+
* Request parameters for getClubType operation in ClubsStaffApi.
|
|
15296
|
+
* @export
|
|
15297
|
+
* @interface ClubsStaffApiGetClubTypeRequest
|
|
15298
|
+
*/
|
|
15299
|
+
export interface ClubsStaffApiGetClubTypeRequest {
|
|
15300
|
+
/**
|
|
15301
|
+
*
|
|
15302
|
+
* @type {string}
|
|
15303
|
+
* @memberof ClubsStaffApiGetClubType
|
|
15304
|
+
*/
|
|
15305
|
+
readonly clubId: string;
|
|
15306
|
+
}
|
|
15478
15307
|
/**
|
|
15479
15308
|
* Request parameters for getInvoices operation in ClubsStaffApi.
|
|
15480
15309
|
* @export
|
|
@@ -15606,6 +15435,14 @@ export declare class ClubsStaffApi extends BaseAPI {
|
|
|
15606
15435
|
* @memberof ClubsStaffApi
|
|
15607
15436
|
*/
|
|
15608
15437
|
getClubRoles(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubRoles200Response, any, {}>>;
|
|
15438
|
+
/**
|
|
15439
|
+
*
|
|
15440
|
+
* @param {ClubsStaffApiGetClubTypeRequest} requestParameters Request parameters.
|
|
15441
|
+
* @param {*} [options] Override http request option.
|
|
15442
|
+
* @throws {RequiredError}
|
|
15443
|
+
* @memberof ClubsStaffApi
|
|
15444
|
+
*/
|
|
15445
|
+
getClubType(requestParameters: ClubsStaffApiGetClubTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubType200Response, any, {}>>;
|
|
15609
15446
|
/**
|
|
15610
15447
|
* Récupère les terrains d\'un club
|
|
15611
15448
|
* @param {*} [options] Override http request option.
|
|
@@ -15730,11 +15567,10 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
15730
15567
|
/**
|
|
15731
15568
|
* Get a specific event by ID
|
|
15732
15569
|
* @param {string} eventId
|
|
15733
|
-
* @param {string} [userId]
|
|
15734
15570
|
* @param {*} [options] Override http request option.
|
|
15735
15571
|
* @throws {RequiredError}
|
|
15736
15572
|
*/
|
|
15737
|
-
getEventById: (eventId: string,
|
|
15573
|
+
getEventById: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15738
15574
|
/**
|
|
15739
15575
|
* Get all published events for a club
|
|
15740
15576
|
* @param {string} [clubId]
|
|
@@ -15785,11 +15621,10 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
|
|
|
15785
15621
|
/**
|
|
15786
15622
|
* Get a specific event by ID
|
|
15787
15623
|
* @param {string} eventId
|
|
15788
|
-
* @param {string} [userId]
|
|
15789
15624
|
* @param {*} [options] Override http request option.
|
|
15790
15625
|
* @throws {RequiredError}
|
|
15791
15626
|
*/
|
|
15792
|
-
getEventById(eventId: string,
|
|
15627
|
+
getEventById(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>>;
|
|
15793
15628
|
/**
|
|
15794
15629
|
* Get all published events for a club
|
|
15795
15630
|
* @param {string} [clubId]
|
|
@@ -15914,12 +15749,6 @@ export interface EventsApiGetEventByIdRequest {
|
|
|
15914
15749
|
* @memberof EventsApiGetEventById
|
|
15915
15750
|
*/
|
|
15916
15751
|
readonly eventId: string;
|
|
15917
|
-
/**
|
|
15918
|
-
*
|
|
15919
|
-
* @type {string}
|
|
15920
|
-
* @memberof EventsApiGetEventById
|
|
15921
|
-
*/
|
|
15922
|
-
readonly userId?: string;
|
|
15923
15752
|
}
|
|
15924
15753
|
/**
|
|
15925
15754
|
* Request parameters for getPublishedEventsByClubId operation in EventsApi.
|
|
@@ -17051,6 +16880,13 @@ export declare class SportsPublicApi extends BaseAPI {
|
|
|
17051
16880
|
* @export
|
|
17052
16881
|
*/
|
|
17053
16882
|
export declare const SubscriptionsManagerApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
16883
|
+
/**
|
|
16884
|
+
* Supprime (archive) un plan par productId (manager)
|
|
16885
|
+
* @param {string} productId
|
|
16886
|
+
* @param {*} [options] Override http request option.
|
|
16887
|
+
* @throws {RequiredError}
|
|
16888
|
+
*/
|
|
16889
|
+
archivePlan: (productId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17054
16890
|
/**
|
|
17055
16891
|
* Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
|
|
17056
16892
|
* @param {CreateSubscriptionPlanRequest} createSubscriptionPlanRequest
|
|
@@ -17059,7 +16895,7 @@ export declare const SubscriptionsManagerApiAxiosParamCreator: (configuration?:
|
|
|
17059
16895
|
*/
|
|
17060
16896
|
createPlan: (createSubscriptionPlanRequest: CreateSubscriptionPlanRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17061
16897
|
/**
|
|
17062
|
-
* Supprime
|
|
16898
|
+
* Supprime un plan par productId (manager)
|
|
17063
16899
|
* @param {string} productId
|
|
17064
16900
|
* @param {*} [options] Override http request option.
|
|
17065
16901
|
* @throws {RequiredError}
|
|
@@ -17078,6 +16914,13 @@ export declare const SubscriptionsManagerApiAxiosParamCreator: (configuration?:
|
|
|
17078
16914
|
* @export
|
|
17079
16915
|
*/
|
|
17080
16916
|
export declare const SubscriptionsManagerApiFp: (configuration?: Configuration) => {
|
|
16917
|
+
/**
|
|
16918
|
+
* Supprime (archive) un plan par productId (manager)
|
|
16919
|
+
* @param {string} productId
|
|
16920
|
+
* @param {*} [options] Override http request option.
|
|
16921
|
+
* @throws {RequiredError}
|
|
16922
|
+
*/
|
|
16923
|
+
archivePlan(productId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteSubscriptionPlanResponse>>;
|
|
17081
16924
|
/**
|
|
17082
16925
|
* Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
|
|
17083
16926
|
* @param {CreateSubscriptionPlanRequest} createSubscriptionPlanRequest
|
|
@@ -17086,7 +16929,7 @@ export declare const SubscriptionsManagerApiFp: (configuration?: Configuration)
|
|
|
17086
16929
|
*/
|
|
17087
16930
|
createPlan(createSubscriptionPlanRequest: CreateSubscriptionPlanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePlan201Response>>;
|
|
17088
16931
|
/**
|
|
17089
|
-
* Supprime
|
|
16932
|
+
* Supprime un plan par productId (manager)
|
|
17090
16933
|
* @param {string} productId
|
|
17091
16934
|
* @param {*} [options] Override http request option.
|
|
17092
16935
|
* @throws {RequiredError}
|
|
@@ -17105,6 +16948,13 @@ export declare const SubscriptionsManagerApiFp: (configuration?: Configuration)
|
|
|
17105
16948
|
* @export
|
|
17106
16949
|
*/
|
|
17107
16950
|
export declare const SubscriptionsManagerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
16951
|
+
/**
|
|
16952
|
+
* Supprime (archive) un plan par productId (manager)
|
|
16953
|
+
* @param {SubscriptionsManagerApiArchivePlanRequest} requestParameters Request parameters.
|
|
16954
|
+
* @param {*} [options] Override http request option.
|
|
16955
|
+
* @throws {RequiredError}
|
|
16956
|
+
*/
|
|
16957
|
+
archivePlan(requestParameters: SubscriptionsManagerApiArchivePlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteSubscriptionPlanResponse>;
|
|
17108
16958
|
/**
|
|
17109
16959
|
* Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
|
|
17110
16960
|
* @param {SubscriptionsManagerApiCreatePlanRequest} requestParameters Request parameters.
|
|
@@ -17113,7 +16963,7 @@ export declare const SubscriptionsManagerApiFactory: (configuration?: Configurat
|
|
|
17113
16963
|
*/
|
|
17114
16964
|
createPlan(requestParameters: SubscriptionsManagerApiCreatePlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreatePlan201Response>;
|
|
17115
16965
|
/**
|
|
17116
|
-
* Supprime
|
|
16966
|
+
* Supprime un plan par productId (manager)
|
|
17117
16967
|
* @param {SubscriptionsManagerApiDeletePlanRequest} requestParameters Request parameters.
|
|
17118
16968
|
* @param {*} [options] Override http request option.
|
|
17119
16969
|
* @throws {RequiredError}
|
|
@@ -17127,6 +16977,19 @@ export declare const SubscriptionsManagerApiFactory: (configuration?: Configurat
|
|
|
17127
16977
|
*/
|
|
17128
16978
|
updatePlan(requestParameters: SubscriptionsManagerApiUpdatePlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<StripeStripeResponseStripeStripePrice>;
|
|
17129
16979
|
};
|
|
16980
|
+
/**
|
|
16981
|
+
* Request parameters for archivePlan operation in SubscriptionsManagerApi.
|
|
16982
|
+
* @export
|
|
16983
|
+
* @interface SubscriptionsManagerApiArchivePlanRequest
|
|
16984
|
+
*/
|
|
16985
|
+
export interface SubscriptionsManagerApiArchivePlanRequest {
|
|
16986
|
+
/**
|
|
16987
|
+
*
|
|
16988
|
+
* @type {string}
|
|
16989
|
+
* @memberof SubscriptionsManagerApiArchivePlan
|
|
16990
|
+
*/
|
|
16991
|
+
readonly productId: string;
|
|
16992
|
+
}
|
|
17130
16993
|
/**
|
|
17131
16994
|
* Request parameters for createPlan operation in SubscriptionsManagerApi.
|
|
17132
16995
|
* @export
|
|
@@ -17173,6 +17036,14 @@ export interface SubscriptionsManagerApiUpdatePlanRequest {
|
|
|
17173
17036
|
* @extends {BaseAPI}
|
|
17174
17037
|
*/
|
|
17175
17038
|
export declare class SubscriptionsManagerApi extends BaseAPI {
|
|
17039
|
+
/**
|
|
17040
|
+
* Supprime (archive) un plan par productId (manager)
|
|
17041
|
+
* @param {SubscriptionsManagerApiArchivePlanRequest} requestParameters Request parameters.
|
|
17042
|
+
* @param {*} [options] Override http request option.
|
|
17043
|
+
* @throws {RequiredError}
|
|
17044
|
+
* @memberof SubscriptionsManagerApi
|
|
17045
|
+
*/
|
|
17046
|
+
archivePlan(requestParameters: SubscriptionsManagerApiArchivePlanRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteSubscriptionPlanResponse, any, {}>>;
|
|
17176
17047
|
/**
|
|
17177
17048
|
* Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
|
|
17178
17049
|
* @param {SubscriptionsManagerApiCreatePlanRequest} requestParameters Request parameters.
|
|
@@ -17182,7 +17053,7 @@ export declare class SubscriptionsManagerApi extends BaseAPI {
|
|
|
17182
17053
|
*/
|
|
17183
17054
|
createPlan(requestParameters: SubscriptionsManagerApiCreatePlanRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePlan201Response, any, {}>>;
|
|
17184
17055
|
/**
|
|
17185
|
-
* Supprime
|
|
17056
|
+
* Supprime un plan par productId (manager)
|
|
17186
17057
|
* @param {SubscriptionsManagerApiDeletePlanRequest} requestParameters Request parameters.
|
|
17187
17058
|
* @param {*} [options] Override http request option.
|
|
17188
17059
|
* @throws {RequiredError}
|
|
@@ -17752,14 +17623,6 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
17752
17623
|
* @throws {RequiredError}
|
|
17753
17624
|
*/
|
|
17754
17625
|
getUserBookings: (limit?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17755
|
-
/**
|
|
17756
|
-
*
|
|
17757
|
-
* @param {number} [limit]
|
|
17758
|
-
* @param {number} [skip]
|
|
17759
|
-
* @param {*} [options] Override http request option.
|
|
17760
|
-
* @throws {RequiredError}
|
|
17761
|
-
*/
|
|
17762
|
-
getUserEvents: (limit?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17763
17626
|
/**
|
|
17764
17627
|
*
|
|
17765
17628
|
* @param {string} id
|
|
@@ -18035,14 +17898,6 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
18035
17898
|
* @throws {RequiredError}
|
|
18036
17899
|
*/
|
|
18037
17900
|
getUserBookings(limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserBookingsResponse>>;
|
|
18038
|
-
/**
|
|
18039
|
-
*
|
|
18040
|
-
* @param {number} [limit]
|
|
18041
|
-
* @param {number} [skip]
|
|
18042
|
-
* @param {*} [options] Override http request option.
|
|
18043
|
-
* @throws {RequiredError}
|
|
18044
|
-
*/
|
|
18045
|
-
getUserEvents(limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserEventsResponse>>;
|
|
18046
17901
|
/**
|
|
18047
17902
|
*
|
|
18048
17903
|
* @param {string} id
|
|
@@ -18309,13 +18164,6 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
18309
18164
|
* @throws {RequiredError}
|
|
18310
18165
|
*/
|
|
18311
18166
|
getUserBookings(requestParameters?: UsersApiGetUserBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserBookingsResponse>;
|
|
18312
|
-
/**
|
|
18313
|
-
*
|
|
18314
|
-
* @param {UsersApiGetUserEventsRequest} requestParameters Request parameters.
|
|
18315
|
-
* @param {*} [options] Override http request option.
|
|
18316
|
-
* @throws {RequiredError}
|
|
18317
|
-
*/
|
|
18318
|
-
getUserEvents(requestParameters?: UsersApiGetUserEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserEventsResponse>;
|
|
18319
18167
|
/**
|
|
18320
18168
|
*
|
|
18321
18169
|
* @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
|
|
@@ -18626,25 +18474,6 @@ export interface UsersApiGetUserBookingsRequest {
|
|
|
18626
18474
|
*/
|
|
18627
18475
|
readonly skip?: number;
|
|
18628
18476
|
}
|
|
18629
|
-
/**
|
|
18630
|
-
* Request parameters for getUserEvents operation in UsersApi.
|
|
18631
|
-
* @export
|
|
18632
|
-
* @interface UsersApiGetUserEventsRequest
|
|
18633
|
-
*/
|
|
18634
|
-
export interface UsersApiGetUserEventsRequest {
|
|
18635
|
-
/**
|
|
18636
|
-
*
|
|
18637
|
-
* @type {number}
|
|
18638
|
-
* @memberof UsersApiGetUserEvents
|
|
18639
|
-
*/
|
|
18640
|
-
readonly limit?: number;
|
|
18641
|
-
/**
|
|
18642
|
-
*
|
|
18643
|
-
* @type {number}
|
|
18644
|
-
* @memberof UsersApiGetUserEvents
|
|
18645
|
-
*/
|
|
18646
|
-
readonly skip?: number;
|
|
18647
|
-
}
|
|
18648
18477
|
/**
|
|
18649
18478
|
* Request parameters for getUserProfileById operation in UsersApi.
|
|
18650
18479
|
* @export
|
|
@@ -19071,14 +18900,6 @@ export declare class UsersApi extends BaseAPI {
|
|
|
19071
18900
|
* @memberof UsersApi
|
|
19072
18901
|
*/
|
|
19073
18902
|
getUserBookings(requestParameters?: UsersApiGetUserBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserBookingsResponse, any, {}>>;
|
|
19074
|
-
/**
|
|
19075
|
-
*
|
|
19076
|
-
* @param {UsersApiGetUserEventsRequest} requestParameters Request parameters.
|
|
19077
|
-
* @param {*} [options] Override http request option.
|
|
19078
|
-
* @throws {RequiredError}
|
|
19079
|
-
* @memberof UsersApi
|
|
19080
|
-
*/
|
|
19081
|
-
getUserEvents(requestParameters?: UsersApiGetUserEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserEventsResponse, any, {}>>;
|
|
19082
18903
|
/**
|
|
19083
18904
|
*
|
|
19084
18905
|
* @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
|