@tennac-booking/sdk 1.0.125 → 1.0.126
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 +333 -343
- package/README.md +9 -19
- package/api.ts +354 -619
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +256 -490
- package/dist/api.js +99 -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 +256 -490
- package/dist/esm/api.js +95 -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/{EventBookingResponseSetupStatus.md → CheckInPlayerRequest.md} +5 -3
- package/docs/{CheckInPlayersResponse.md → CheckInPlayerResponse.md} +5 -5
- package/docs/ClubPlayerSubscriptionSummary.md +3 -3
- 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/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/EventBookingResponsePlayersInnerInvoiceStatus.md +0 -18
- 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
|
|
@@ -5858,24 +5679,6 @@ export declare const InvoiceStatus: {
|
|
|
5858
5679
|
readonly Expired: "expired";
|
|
5859
5680
|
};
|
|
5860
5681
|
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
5682
|
/**
|
|
5880
5683
|
*
|
|
5881
5684
|
* @export
|
|
@@ -6211,7 +6014,7 @@ export interface MonthlyBreakdown {
|
|
|
6211
6014
|
'invoiceCount': number;
|
|
6212
6015
|
}
|
|
6213
6016
|
/**
|
|
6214
|
-
*
|
|
6017
|
+
*
|
|
6215
6018
|
* @export
|
|
6216
6019
|
* @interface MonthlyTurnoverResponse
|
|
6217
6020
|
*/
|
|
@@ -6327,6 +6130,12 @@ export interface NoShowFeeResponse {
|
|
|
6327
6130
|
* @interface OffPeakRule
|
|
6328
6131
|
*/
|
|
6329
6132
|
export interface OffPeakRule {
|
|
6133
|
+
/**
|
|
6134
|
+
*
|
|
6135
|
+
* @type {string}
|
|
6136
|
+
* @memberof OffPeakRule
|
|
6137
|
+
*/
|
|
6138
|
+
'pricingPeriodName'?: string;
|
|
6330
6139
|
/**
|
|
6331
6140
|
*
|
|
6332
6141
|
* @type {number}
|
|
@@ -6505,16 +6314,6 @@ export interface PartialClubWeeklySchedule {
|
|
|
6505
6314
|
*/
|
|
6506
6315
|
'sunday'?: ClubDaySchedule;
|
|
6507
6316
|
}
|
|
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
6317
|
/**
|
|
6519
6318
|
*
|
|
6520
6319
|
* @export
|
|
@@ -6655,6 +6454,56 @@ export declare const PlanInterval: {
|
|
|
6655
6454
|
readonly Semester: "semester";
|
|
6656
6455
|
};
|
|
6657
6456
|
export type PlanInterval = typeof PlanInterval[keyof typeof PlanInterval];
|
|
6457
|
+
/**
|
|
6458
|
+
*
|
|
6459
|
+
* @export
|
|
6460
|
+
* @interface PlanPrice
|
|
6461
|
+
*/
|
|
6462
|
+
export interface PlanPrice {
|
|
6463
|
+
/**
|
|
6464
|
+
*
|
|
6465
|
+
* @type {number}
|
|
6466
|
+
* @memberof PlanPrice
|
|
6467
|
+
*/
|
|
6468
|
+
'amountInCents': number;
|
|
6469
|
+
/**
|
|
6470
|
+
*
|
|
6471
|
+
* @type {PlanInterval}
|
|
6472
|
+
* @memberof PlanPrice
|
|
6473
|
+
*/
|
|
6474
|
+
'interval': PlanInterval;
|
|
6475
|
+
/**
|
|
6476
|
+
*
|
|
6477
|
+
* @type {boolean}
|
|
6478
|
+
* @memberof PlanPrice
|
|
6479
|
+
*/
|
|
6480
|
+
'active'?: boolean;
|
|
6481
|
+
/**
|
|
6482
|
+
*
|
|
6483
|
+
* @type {string}
|
|
6484
|
+
* @memberof PlanPrice
|
|
6485
|
+
*/
|
|
6486
|
+
'stripePriceId'?: string;
|
|
6487
|
+
}
|
|
6488
|
+
/**
|
|
6489
|
+
*
|
|
6490
|
+
* @export
|
|
6491
|
+
* @interface PlanPriceInput
|
|
6492
|
+
*/
|
|
6493
|
+
export interface PlanPriceInput {
|
|
6494
|
+
/**
|
|
6495
|
+
*
|
|
6496
|
+
* @type {number}
|
|
6497
|
+
* @memberof PlanPriceInput
|
|
6498
|
+
*/
|
|
6499
|
+
'amountInCents': number;
|
|
6500
|
+
/**
|
|
6501
|
+
*
|
|
6502
|
+
* @type {PlanInterval}
|
|
6503
|
+
* @memberof PlanPriceInput
|
|
6504
|
+
*/
|
|
6505
|
+
'interval': PlanInterval;
|
|
6506
|
+
}
|
|
6658
6507
|
/**
|
|
6659
6508
|
*
|
|
6660
6509
|
* @export
|
|
@@ -7025,13 +6874,19 @@ export interface PublicSubscriptionPlanResponse {
|
|
|
7025
6874
|
* @type {number}
|
|
7026
6875
|
* @memberof PublicSubscriptionPlanResponse
|
|
7027
6876
|
*/
|
|
7028
|
-
'amountInCents'
|
|
6877
|
+
'amountInCents'?: number;
|
|
7029
6878
|
/**
|
|
7030
6879
|
*
|
|
7031
6880
|
* @type {string}
|
|
7032
6881
|
* @memberof PublicSubscriptionPlanResponse
|
|
7033
6882
|
*/
|
|
7034
6883
|
'currency': string;
|
|
6884
|
+
/**
|
|
6885
|
+
*
|
|
6886
|
+
* @type {Array<PlanPrice>}
|
|
6887
|
+
* @memberof PublicSubscriptionPlanResponse
|
|
6888
|
+
*/
|
|
6889
|
+
'prices': Array<PlanPrice>;
|
|
7035
6890
|
/**
|
|
7036
6891
|
*
|
|
7037
6892
|
* @type {PlanInterval}
|
|
@@ -7044,6 +6899,12 @@ export interface PublicSubscriptionPlanResponse {
|
|
|
7044
6899
|
* @memberof PublicSubscriptionPlanResponse
|
|
7045
6900
|
*/
|
|
7046
6901
|
'description'?: string;
|
|
6902
|
+
/**
|
|
6903
|
+
*
|
|
6904
|
+
* @type {SubscriptionPlanDiscountResponse}
|
|
6905
|
+
* @memberof PublicSubscriptionPlanResponse
|
|
6906
|
+
*/
|
|
6907
|
+
'discount'?: SubscriptionPlanDiscountResponse;
|
|
7047
6908
|
}
|
|
7048
6909
|
/**
|
|
7049
6910
|
*
|
|
@@ -7148,12 +7009,6 @@ export interface PublishEventResponse {
|
|
|
7148
7009
|
* @memberof PublishEventResponse
|
|
7149
7010
|
*/
|
|
7150
7011
|
'refundedBookingIds'?: Array<string>;
|
|
7151
|
-
/**
|
|
7152
|
-
*
|
|
7153
|
-
* @type {EventBookingResponse}
|
|
7154
|
-
* @memberof PublishEventResponse
|
|
7155
|
-
*/
|
|
7156
|
-
'userBooking'?: EventBookingResponse;
|
|
7157
7012
|
}
|
|
7158
7013
|
/**
|
|
7159
7014
|
*
|
|
@@ -7680,6 +7535,12 @@ export interface SendSubscriptionInvitationRequest {
|
|
|
7680
7535
|
* @memberof SendSubscriptionInvitationRequest
|
|
7681
7536
|
*/
|
|
7682
7537
|
'productId': string;
|
|
7538
|
+
/**
|
|
7539
|
+
* Price spécifique proposé dans l\'invitation (facultatif).
|
|
7540
|
+
* @type {string}
|
|
7541
|
+
* @memberof SendSubscriptionInvitationRequest
|
|
7542
|
+
*/
|
|
7543
|
+
'priceId'?: string;
|
|
7683
7544
|
}
|
|
7684
7545
|
/**
|
|
7685
7546
|
*
|
|
@@ -9783,6 +9644,61 @@ export interface SubscriptionMutationResponse {
|
|
|
9783
9644
|
[key: string]: any;
|
|
9784
9645
|
};
|
|
9785
9646
|
}
|
|
9647
|
+
/**
|
|
9648
|
+
*
|
|
9649
|
+
* @export
|
|
9650
|
+
* @interface SubscriptionPlanDiscountResponse
|
|
9651
|
+
*/
|
|
9652
|
+
export interface SubscriptionPlanDiscountResponse {
|
|
9653
|
+
/**
|
|
9654
|
+
*
|
|
9655
|
+
* @type {DiscountType}
|
|
9656
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
9657
|
+
*/
|
|
9658
|
+
'type': DiscountType;
|
|
9659
|
+
/**
|
|
9660
|
+
*
|
|
9661
|
+
* @type {number}
|
|
9662
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
9663
|
+
*/
|
|
9664
|
+
'percentage'?: number;
|
|
9665
|
+
/**
|
|
9666
|
+
*
|
|
9667
|
+
* @type {number}
|
|
9668
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
9669
|
+
*/
|
|
9670
|
+
'maxDiscountAmountInCents'?: number;
|
|
9671
|
+
/**
|
|
9672
|
+
*
|
|
9673
|
+
* @type {string}
|
|
9674
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
9675
|
+
*/
|
|
9676
|
+
'validFrom'?: string;
|
|
9677
|
+
/**
|
|
9678
|
+
*
|
|
9679
|
+
* @type {string}
|
|
9680
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
9681
|
+
*/
|
|
9682
|
+
'validTo'?: string;
|
|
9683
|
+
/**
|
|
9684
|
+
*
|
|
9685
|
+
* @type {Array<string>}
|
|
9686
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
9687
|
+
*/
|
|
9688
|
+
'offPeakRuleNames'?: Array<string>;
|
|
9689
|
+
/**
|
|
9690
|
+
*
|
|
9691
|
+
* @type {Array<OffPeakRule>}
|
|
9692
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
9693
|
+
*/
|
|
9694
|
+
'offPeakRules'?: Array<OffPeakRule>;
|
|
9695
|
+
/**
|
|
9696
|
+
*
|
|
9697
|
+
* @type {boolean}
|
|
9698
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
9699
|
+
*/
|
|
9700
|
+
'bookingFree'?: boolean;
|
|
9701
|
+
}
|
|
9786
9702
|
/**
|
|
9787
9703
|
*
|
|
9788
9704
|
* @export
|
|
@@ -9818,13 +9734,19 @@ export interface SubscriptionPlanResponse {
|
|
|
9818
9734
|
* @type {number}
|
|
9819
9735
|
* @memberof SubscriptionPlanResponse
|
|
9820
9736
|
*/
|
|
9821
|
-
'amountInCents'
|
|
9737
|
+
'amountInCents'?: number;
|
|
9822
9738
|
/**
|
|
9823
9739
|
*
|
|
9824
9740
|
* @type {string}
|
|
9825
9741
|
* @memberof SubscriptionPlanResponse
|
|
9826
9742
|
*/
|
|
9827
9743
|
'currency': string;
|
|
9744
|
+
/**
|
|
9745
|
+
*
|
|
9746
|
+
* @type {Array<PlanPrice>}
|
|
9747
|
+
* @memberof SubscriptionPlanResponse
|
|
9748
|
+
*/
|
|
9749
|
+
'prices': Array<PlanPrice>;
|
|
9828
9750
|
/**
|
|
9829
9751
|
*
|
|
9830
9752
|
* @type {PlanInterval}
|
|
@@ -9837,6 +9759,18 @@ export interface SubscriptionPlanResponse {
|
|
|
9837
9759
|
* @memberof SubscriptionPlanResponse
|
|
9838
9760
|
*/
|
|
9839
9761
|
'priceActive': boolean;
|
|
9762
|
+
/**
|
|
9763
|
+
*
|
|
9764
|
+
* @type {string}
|
|
9765
|
+
* @memberof SubscriptionPlanResponse
|
|
9766
|
+
*/
|
|
9767
|
+
'description'?: string;
|
|
9768
|
+
/**
|
|
9769
|
+
*
|
|
9770
|
+
* @type {SubscriptionPlanDiscountResponse}
|
|
9771
|
+
* @memberof SubscriptionPlanResponse
|
|
9772
|
+
*/
|
|
9773
|
+
'discount'?: SubscriptionPlanDiscountResponse;
|
|
9840
9774
|
}
|
|
9841
9775
|
/**
|
|
9842
9776
|
*
|
|
@@ -10803,147 +10737,6 @@ export interface UserClubSubscription {
|
|
|
10803
10737
|
*/
|
|
10804
10738
|
'interval': PlanInterval | null;
|
|
10805
10739
|
}
|
|
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
10740
|
/**
|
|
10948
10741
|
*
|
|
10949
10742
|
* @export
|
|
@@ -11348,17 +11141,6 @@ export interface VerifyEmailRequest {
|
|
|
11348
11141
|
*/
|
|
11349
11142
|
'token'?: string;
|
|
11350
11143
|
}
|
|
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
11144
|
/**
|
|
11363
11145
|
*
|
|
11364
11146
|
* @export
|
|
@@ -11746,13 +11528,13 @@ export declare class BookingsManagerApi extends BaseAPI {
|
|
|
11746
11528
|
*/
|
|
11747
11529
|
export declare const BookingsStaffApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
11748
11530
|
/**
|
|
11749
|
-
* Check-in
|
|
11531
|
+
* Check-in d\'un joueur (paiement en ligne ou sur place)
|
|
11750
11532
|
* @param {string} bookingId
|
|
11751
|
-
* @param {
|
|
11533
|
+
* @param {CheckInPlayerRequest} checkInPlayerRequest
|
|
11752
11534
|
* @param {*} [options] Override http request option.
|
|
11753
11535
|
* @throws {RequiredError}
|
|
11754
11536
|
*/
|
|
11755
|
-
|
|
11537
|
+
checkInPlayer: (bookingId: string, checkInPlayerRequest: CheckInPlayerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11756
11538
|
/**
|
|
11757
11539
|
* Créer une réservation pour un joueur depuis l\'espace staff
|
|
11758
11540
|
* @param {StaffCreateBookingRequest} staffCreateBookingRequest
|
|
@@ -11813,13 +11595,13 @@ export declare const BookingsStaffApiAxiosParamCreator: (configuration?: Configu
|
|
|
11813
11595
|
*/
|
|
11814
11596
|
export declare const BookingsStaffApiFp: (configuration?: Configuration) => {
|
|
11815
11597
|
/**
|
|
11816
|
-
* Check-in
|
|
11598
|
+
* Check-in d\'un joueur (paiement en ligne ou sur place)
|
|
11817
11599
|
* @param {string} bookingId
|
|
11818
|
-
* @param {
|
|
11600
|
+
* @param {CheckInPlayerRequest} checkInPlayerRequest
|
|
11819
11601
|
* @param {*} [options] Override http request option.
|
|
11820
11602
|
* @throws {RequiredError}
|
|
11821
11603
|
*/
|
|
11822
|
-
|
|
11604
|
+
checkInPlayer(bookingId: string, checkInPlayerRequest: CheckInPlayerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInPlayerResponse>>;
|
|
11823
11605
|
/**
|
|
11824
11606
|
* Créer une réservation pour un joueur depuis l\'espace staff
|
|
11825
11607
|
* @param {StaffCreateBookingRequest} staffCreateBookingRequest
|
|
@@ -11880,12 +11662,12 @@ export declare const BookingsStaffApiFp: (configuration?: Configuration) => {
|
|
|
11880
11662
|
*/
|
|
11881
11663
|
export declare const BookingsStaffApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
11882
11664
|
/**
|
|
11883
|
-
* Check-in
|
|
11884
|
-
* @param {
|
|
11665
|
+
* Check-in d\'un joueur (paiement en ligne ou sur place)
|
|
11666
|
+
* @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
|
|
11885
11667
|
* @param {*} [options] Override http request option.
|
|
11886
11668
|
* @throws {RequiredError}
|
|
11887
11669
|
*/
|
|
11888
|
-
|
|
11670
|
+
checkInPlayer(requestParameters: BookingsStaffApiCheckInPlayerRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInPlayerResponse>;
|
|
11889
11671
|
/**
|
|
11890
11672
|
* Créer une réservation pour un joueur depuis l\'espace staff
|
|
11891
11673
|
* @param {BookingsStaffApiCreateStaffBookingRequest} requestParameters Request parameters.
|
|
@@ -11937,23 +11719,23 @@ export declare const BookingsStaffApiFactory: (configuration?: Configuration, ba
|
|
|
11937
11719
|
listClubBookings(requestParameters?: BookingsStaffApiListClubBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffBookingsPaginatedResponse>;
|
|
11938
11720
|
};
|
|
11939
11721
|
/**
|
|
11940
|
-
* Request parameters for
|
|
11722
|
+
* Request parameters for checkInPlayer operation in BookingsStaffApi.
|
|
11941
11723
|
* @export
|
|
11942
|
-
* @interface
|
|
11724
|
+
* @interface BookingsStaffApiCheckInPlayerRequest
|
|
11943
11725
|
*/
|
|
11944
|
-
export interface
|
|
11726
|
+
export interface BookingsStaffApiCheckInPlayerRequest {
|
|
11945
11727
|
/**
|
|
11946
11728
|
*
|
|
11947
11729
|
* @type {string}
|
|
11948
|
-
* @memberof
|
|
11730
|
+
* @memberof BookingsStaffApiCheckInPlayer
|
|
11949
11731
|
*/
|
|
11950
11732
|
readonly bookingId: string;
|
|
11951
11733
|
/**
|
|
11952
11734
|
*
|
|
11953
|
-
* @type {
|
|
11954
|
-
* @memberof
|
|
11735
|
+
* @type {CheckInPlayerRequest}
|
|
11736
|
+
* @memberof BookingsStaffApiCheckInPlayer
|
|
11955
11737
|
*/
|
|
11956
|
-
readonly
|
|
11738
|
+
readonly checkInPlayerRequest: CheckInPlayerRequest;
|
|
11957
11739
|
}
|
|
11958
11740
|
/**
|
|
11959
11741
|
* Request parameters for createStaffBooking operation in BookingsStaffApi.
|
|
@@ -12078,13 +11860,13 @@ export interface BookingsStaffApiListClubBookingsRequest {
|
|
|
12078
11860
|
*/
|
|
12079
11861
|
export declare class BookingsStaffApi extends BaseAPI {
|
|
12080
11862
|
/**
|
|
12081
|
-
* Check-in
|
|
12082
|
-
* @param {
|
|
11863
|
+
* Check-in d\'un joueur (paiement en ligne ou sur place)
|
|
11864
|
+
* @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
|
|
12083
11865
|
* @param {*} [options] Override http request option.
|
|
12084
11866
|
* @throws {RequiredError}
|
|
12085
11867
|
* @memberof BookingsStaffApi
|
|
12086
11868
|
*/
|
|
12087
|
-
|
|
11869
|
+
checkInPlayer(requestParameters: BookingsStaffApiCheckInPlayerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckInPlayerResponse, any, {}>>;
|
|
12088
11870
|
/**
|
|
12089
11871
|
* Créer une réservation pour un joueur depuis l\'espace staff
|
|
12090
11872
|
* @param {BookingsStaffApiCreateStaffBookingRequest} requestParameters Request parameters.
|
|
@@ -15730,11 +15512,10 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
15730
15512
|
/**
|
|
15731
15513
|
* Get a specific event by ID
|
|
15732
15514
|
* @param {string} eventId
|
|
15733
|
-
* @param {string} [userId]
|
|
15734
15515
|
* @param {*} [options] Override http request option.
|
|
15735
15516
|
* @throws {RequiredError}
|
|
15736
15517
|
*/
|
|
15737
|
-
getEventById: (eventId: string,
|
|
15518
|
+
getEventById: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15738
15519
|
/**
|
|
15739
15520
|
* Get all published events for a club
|
|
15740
15521
|
* @param {string} [clubId]
|
|
@@ -15785,11 +15566,10 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
|
|
|
15785
15566
|
/**
|
|
15786
15567
|
* Get a specific event by ID
|
|
15787
15568
|
* @param {string} eventId
|
|
15788
|
-
* @param {string} [userId]
|
|
15789
15569
|
* @param {*} [options] Override http request option.
|
|
15790
15570
|
* @throws {RequiredError}
|
|
15791
15571
|
*/
|
|
15792
|
-
getEventById(eventId: string,
|
|
15572
|
+
getEventById(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>>;
|
|
15793
15573
|
/**
|
|
15794
15574
|
* Get all published events for a club
|
|
15795
15575
|
* @param {string} [clubId]
|
|
@@ -15914,12 +15694,6 @@ export interface EventsApiGetEventByIdRequest {
|
|
|
15914
15694
|
* @memberof EventsApiGetEventById
|
|
15915
15695
|
*/
|
|
15916
15696
|
readonly eventId: string;
|
|
15917
|
-
/**
|
|
15918
|
-
*
|
|
15919
|
-
* @type {string}
|
|
15920
|
-
* @memberof EventsApiGetEventById
|
|
15921
|
-
*/
|
|
15922
|
-
readonly userId?: string;
|
|
15923
15697
|
}
|
|
15924
15698
|
/**
|
|
15925
15699
|
* Request parameters for getPublishedEventsByClubId operation in EventsApi.
|
|
@@ -17051,6 +16825,13 @@ export declare class SportsPublicApi extends BaseAPI {
|
|
|
17051
16825
|
* @export
|
|
17052
16826
|
*/
|
|
17053
16827
|
export declare const SubscriptionsManagerApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
16828
|
+
/**
|
|
16829
|
+
* Supprime (archive) un plan par productId (manager)
|
|
16830
|
+
* @param {string} productId
|
|
16831
|
+
* @param {*} [options] Override http request option.
|
|
16832
|
+
* @throws {RequiredError}
|
|
16833
|
+
*/
|
|
16834
|
+
archivePlan: (productId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17054
16835
|
/**
|
|
17055
16836
|
* Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
|
|
17056
16837
|
* @param {CreateSubscriptionPlanRequest} createSubscriptionPlanRequest
|
|
@@ -17059,7 +16840,7 @@ export declare const SubscriptionsManagerApiAxiosParamCreator: (configuration?:
|
|
|
17059
16840
|
*/
|
|
17060
16841
|
createPlan: (createSubscriptionPlanRequest: CreateSubscriptionPlanRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17061
16842
|
/**
|
|
17062
|
-
* Supprime
|
|
16843
|
+
* Supprime un plan par productId (manager)
|
|
17063
16844
|
* @param {string} productId
|
|
17064
16845
|
* @param {*} [options] Override http request option.
|
|
17065
16846
|
* @throws {RequiredError}
|
|
@@ -17078,6 +16859,13 @@ export declare const SubscriptionsManagerApiAxiosParamCreator: (configuration?:
|
|
|
17078
16859
|
* @export
|
|
17079
16860
|
*/
|
|
17080
16861
|
export declare const SubscriptionsManagerApiFp: (configuration?: Configuration) => {
|
|
16862
|
+
/**
|
|
16863
|
+
* Supprime (archive) un plan par productId (manager)
|
|
16864
|
+
* @param {string} productId
|
|
16865
|
+
* @param {*} [options] Override http request option.
|
|
16866
|
+
* @throws {RequiredError}
|
|
16867
|
+
*/
|
|
16868
|
+
archivePlan(productId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteSubscriptionPlanResponse>>;
|
|
17081
16869
|
/**
|
|
17082
16870
|
* Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
|
|
17083
16871
|
* @param {CreateSubscriptionPlanRequest} createSubscriptionPlanRequest
|
|
@@ -17086,7 +16874,7 @@ export declare const SubscriptionsManagerApiFp: (configuration?: Configuration)
|
|
|
17086
16874
|
*/
|
|
17087
16875
|
createPlan(createSubscriptionPlanRequest: CreateSubscriptionPlanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePlan201Response>>;
|
|
17088
16876
|
/**
|
|
17089
|
-
* Supprime
|
|
16877
|
+
* Supprime un plan par productId (manager)
|
|
17090
16878
|
* @param {string} productId
|
|
17091
16879
|
* @param {*} [options] Override http request option.
|
|
17092
16880
|
* @throws {RequiredError}
|
|
@@ -17105,6 +16893,13 @@ export declare const SubscriptionsManagerApiFp: (configuration?: Configuration)
|
|
|
17105
16893
|
* @export
|
|
17106
16894
|
*/
|
|
17107
16895
|
export declare const SubscriptionsManagerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
16896
|
+
/**
|
|
16897
|
+
* Supprime (archive) un plan par productId (manager)
|
|
16898
|
+
* @param {SubscriptionsManagerApiArchivePlanRequest} requestParameters Request parameters.
|
|
16899
|
+
* @param {*} [options] Override http request option.
|
|
16900
|
+
* @throws {RequiredError}
|
|
16901
|
+
*/
|
|
16902
|
+
archivePlan(requestParameters: SubscriptionsManagerApiArchivePlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteSubscriptionPlanResponse>;
|
|
17108
16903
|
/**
|
|
17109
16904
|
* Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
|
|
17110
16905
|
* @param {SubscriptionsManagerApiCreatePlanRequest} requestParameters Request parameters.
|
|
@@ -17113,7 +16908,7 @@ export declare const SubscriptionsManagerApiFactory: (configuration?: Configurat
|
|
|
17113
16908
|
*/
|
|
17114
16909
|
createPlan(requestParameters: SubscriptionsManagerApiCreatePlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreatePlan201Response>;
|
|
17115
16910
|
/**
|
|
17116
|
-
* Supprime
|
|
16911
|
+
* Supprime un plan par productId (manager)
|
|
17117
16912
|
* @param {SubscriptionsManagerApiDeletePlanRequest} requestParameters Request parameters.
|
|
17118
16913
|
* @param {*} [options] Override http request option.
|
|
17119
16914
|
* @throws {RequiredError}
|
|
@@ -17127,6 +16922,19 @@ export declare const SubscriptionsManagerApiFactory: (configuration?: Configurat
|
|
|
17127
16922
|
*/
|
|
17128
16923
|
updatePlan(requestParameters: SubscriptionsManagerApiUpdatePlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<StripeStripeResponseStripeStripePrice>;
|
|
17129
16924
|
};
|
|
16925
|
+
/**
|
|
16926
|
+
* Request parameters for archivePlan operation in SubscriptionsManagerApi.
|
|
16927
|
+
* @export
|
|
16928
|
+
* @interface SubscriptionsManagerApiArchivePlanRequest
|
|
16929
|
+
*/
|
|
16930
|
+
export interface SubscriptionsManagerApiArchivePlanRequest {
|
|
16931
|
+
/**
|
|
16932
|
+
*
|
|
16933
|
+
* @type {string}
|
|
16934
|
+
* @memberof SubscriptionsManagerApiArchivePlan
|
|
16935
|
+
*/
|
|
16936
|
+
readonly productId: string;
|
|
16937
|
+
}
|
|
17130
16938
|
/**
|
|
17131
16939
|
* Request parameters for createPlan operation in SubscriptionsManagerApi.
|
|
17132
16940
|
* @export
|
|
@@ -17173,6 +16981,14 @@ export interface SubscriptionsManagerApiUpdatePlanRequest {
|
|
|
17173
16981
|
* @extends {BaseAPI}
|
|
17174
16982
|
*/
|
|
17175
16983
|
export declare class SubscriptionsManagerApi extends BaseAPI {
|
|
16984
|
+
/**
|
|
16985
|
+
* Supprime (archive) un plan par productId (manager)
|
|
16986
|
+
* @param {SubscriptionsManagerApiArchivePlanRequest} requestParameters Request parameters.
|
|
16987
|
+
* @param {*} [options] Override http request option.
|
|
16988
|
+
* @throws {RequiredError}
|
|
16989
|
+
* @memberof SubscriptionsManagerApi
|
|
16990
|
+
*/
|
|
16991
|
+
archivePlan(requestParameters: SubscriptionsManagerApiArchivePlanRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteSubscriptionPlanResponse, any, {}>>;
|
|
17176
16992
|
/**
|
|
17177
16993
|
* Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
|
|
17178
16994
|
* @param {SubscriptionsManagerApiCreatePlanRequest} requestParameters Request parameters.
|
|
@@ -17182,7 +16998,7 @@ export declare class SubscriptionsManagerApi extends BaseAPI {
|
|
|
17182
16998
|
*/
|
|
17183
16999
|
createPlan(requestParameters: SubscriptionsManagerApiCreatePlanRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePlan201Response, any, {}>>;
|
|
17184
17000
|
/**
|
|
17185
|
-
* Supprime
|
|
17001
|
+
* Supprime un plan par productId (manager)
|
|
17186
17002
|
* @param {SubscriptionsManagerApiDeletePlanRequest} requestParameters Request parameters.
|
|
17187
17003
|
* @param {*} [options] Override http request option.
|
|
17188
17004
|
* @throws {RequiredError}
|
|
@@ -17752,14 +17568,6 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
17752
17568
|
* @throws {RequiredError}
|
|
17753
17569
|
*/
|
|
17754
17570
|
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
17571
|
/**
|
|
17764
17572
|
*
|
|
17765
17573
|
* @param {string} id
|
|
@@ -18035,14 +17843,6 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
18035
17843
|
* @throws {RequiredError}
|
|
18036
17844
|
*/
|
|
18037
17845
|
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
17846
|
/**
|
|
18047
17847
|
*
|
|
18048
17848
|
* @param {string} id
|
|
@@ -18309,13 +18109,6 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
18309
18109
|
* @throws {RequiredError}
|
|
18310
18110
|
*/
|
|
18311
18111
|
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
18112
|
/**
|
|
18320
18113
|
*
|
|
18321
18114
|
* @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
|
|
@@ -18626,25 +18419,6 @@ export interface UsersApiGetUserBookingsRequest {
|
|
|
18626
18419
|
*/
|
|
18627
18420
|
readonly skip?: number;
|
|
18628
18421
|
}
|
|
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
18422
|
/**
|
|
18649
18423
|
* Request parameters for getUserProfileById operation in UsersApi.
|
|
18650
18424
|
* @export
|
|
@@ -19071,14 +18845,6 @@ export declare class UsersApi extends BaseAPI {
|
|
|
19071
18845
|
* @memberof UsersApi
|
|
19072
18846
|
*/
|
|
19073
18847
|
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
18848
|
/**
|
|
19083
18849
|
*
|
|
19084
18850
|
* @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
|