@tennac-booking/sdk 1.0.176 → 1.0.178
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 +409 -404
- package/README.md +9 -2
- package/api.ts +457 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +370 -1
- package/dist/api.js +137 -1
- 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 +370 -1
- package/dist/esm/api.js +137 -1
- 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/BookingPlayerInfo.md +26 -0
- package/docs/BookingPopulated.md +2 -0
- package/docs/BookingSummary.md +12 -0
- package/docs/BookingsApi.md +55 -0
- package/docs/BookingsUserApi.md +53 -0
- package/docs/ClubSummary.md +4 -0
- package/docs/CreateOpenBookingRequest.md +2 -0
- package/docs/GetOpenBookingPrice200Response.md +24 -0
- package/docs/GetOpenBookingPriceRequest.md +26 -0
- package/docs/JoinPriceEstimateResponse.md +38 -0
- package/docs/JoinPriceEstimateResponseSubscriptionInfo.md +25 -0
- package/docs/OpenBookingInfo.md +2 -0
- package/docs/UserClubMembership.md +8 -0
- package/docs/UserProfileResponse.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/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.177
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -648,6 +648,37 @@ export interface BookingPaymentStatusResponseSummary {
|
|
|
648
648
|
*/
|
|
649
649
|
'totalPlayers': number;
|
|
650
650
|
}
|
|
651
|
+
/**
|
|
652
|
+
*
|
|
653
|
+
* @export
|
|
654
|
+
* @interface BookingPlayerInfo
|
|
655
|
+
*/
|
|
656
|
+
export interface BookingPlayerInfo {
|
|
657
|
+
/**
|
|
658
|
+
*
|
|
659
|
+
* @type {string}
|
|
660
|
+
* @memberof BookingPlayerInfo
|
|
661
|
+
*/
|
|
662
|
+
'id': string;
|
|
663
|
+
/**
|
|
664
|
+
*
|
|
665
|
+
* @type {string}
|
|
666
|
+
* @memberof BookingPlayerInfo
|
|
667
|
+
*/
|
|
668
|
+
'firstName'?: string | null;
|
|
669
|
+
/**
|
|
670
|
+
*
|
|
671
|
+
* @type {string}
|
|
672
|
+
* @memberof BookingPlayerInfo
|
|
673
|
+
*/
|
|
674
|
+
'lastName'?: string | null;
|
|
675
|
+
/**
|
|
676
|
+
*
|
|
677
|
+
* @type {string}
|
|
678
|
+
* @memberof BookingPlayerInfo
|
|
679
|
+
*/
|
|
680
|
+
'profilePicture'?: string | null;
|
|
681
|
+
}
|
|
651
682
|
/**
|
|
652
683
|
*
|
|
653
684
|
* @export
|
|
@@ -739,6 +770,12 @@ export interface BookingPopulated {
|
|
|
739
770
|
* @memberof BookingPopulated
|
|
740
771
|
*/
|
|
741
772
|
'players': Array<UserInfo>;
|
|
773
|
+
/**
|
|
774
|
+
* Joueurs inclus à la création de la réservation (pour les créneaux ouverts)
|
|
775
|
+
* @type {Array<UserInfo>}
|
|
776
|
+
* @memberof BookingPopulated
|
|
777
|
+
*/
|
|
778
|
+
'initialPlayers'?: Array<UserInfo>;
|
|
742
779
|
/**
|
|
743
780
|
* Statut des paiements par joueur
|
|
744
781
|
* @type {Array<PaymentByPlayerInfo>}
|
|
@@ -1057,6 +1094,42 @@ export interface BookingSummary {
|
|
|
1057
1094
|
* @memberof BookingSummary
|
|
1058
1095
|
*/
|
|
1059
1096
|
'isPublic': boolean;
|
|
1097
|
+
/**
|
|
1098
|
+
*
|
|
1099
|
+
* @type {boolean}
|
|
1100
|
+
* @memberof BookingSummary
|
|
1101
|
+
*/
|
|
1102
|
+
'isOpen': boolean;
|
|
1103
|
+
/**
|
|
1104
|
+
*
|
|
1105
|
+
* @type {number}
|
|
1106
|
+
* @memberof BookingSummary
|
|
1107
|
+
*/
|
|
1108
|
+
'maxPlayers'?: number | null;
|
|
1109
|
+
/**
|
|
1110
|
+
*
|
|
1111
|
+
* @type {number}
|
|
1112
|
+
* @memberof BookingSummary
|
|
1113
|
+
*/
|
|
1114
|
+
'maxPlayersDesired'?: number | null;
|
|
1115
|
+
/**
|
|
1116
|
+
*
|
|
1117
|
+
* @type {string}
|
|
1118
|
+
* @memberof BookingSummary
|
|
1119
|
+
*/
|
|
1120
|
+
'description'?: string | null;
|
|
1121
|
+
/**
|
|
1122
|
+
*
|
|
1123
|
+
* @type {string}
|
|
1124
|
+
* @memberof BookingSummary
|
|
1125
|
+
*/
|
|
1126
|
+
'minLevel'?: string | null;
|
|
1127
|
+
/**
|
|
1128
|
+
*
|
|
1129
|
+
* @type {Array<BookingPlayerInfo>}
|
|
1130
|
+
* @memberof BookingSummary
|
|
1131
|
+
*/
|
|
1132
|
+
'initialPlayers'?: Array<BookingPlayerInfo>;
|
|
1060
1133
|
/**
|
|
1061
1134
|
*
|
|
1062
1135
|
* @type {string}
|
|
@@ -3591,6 +3664,18 @@ export interface ClubSummary {
|
|
|
3591
3664
|
* @memberof ClubSummary
|
|
3592
3665
|
*/
|
|
3593
3666
|
'location': UserLocationSummary | null;
|
|
3667
|
+
/**
|
|
3668
|
+
*
|
|
3669
|
+
* @type {string}
|
|
3670
|
+
* @memberof ClubSummary
|
|
3671
|
+
*/
|
|
3672
|
+
'address'?: string | null;
|
|
3673
|
+
/**
|
|
3674
|
+
*
|
|
3675
|
+
* @type {string}
|
|
3676
|
+
* @memberof ClubSummary
|
|
3677
|
+
*/
|
|
3678
|
+
'description'?: string | null;
|
|
3594
3679
|
/**
|
|
3595
3680
|
*
|
|
3596
3681
|
* @type {number}
|
|
@@ -4520,6 +4605,12 @@ export interface CreateOpenBookingRequest {
|
|
|
4520
4605
|
* @memberof CreateOpenBookingRequest
|
|
4521
4606
|
*/
|
|
4522
4607
|
'minLevel'?: string;
|
|
4608
|
+
/**
|
|
4609
|
+
* IDs des joueurs inclus de base dans la réservation (en plus du créateur)
|
|
4610
|
+
* @type {Array<string>}
|
|
4611
|
+
* @memberof CreateOpenBookingRequest
|
|
4612
|
+
*/
|
|
4613
|
+
'initialPlayerIds'?: Array<string>;
|
|
4523
4614
|
}
|
|
4524
4615
|
/**
|
|
4525
4616
|
*
|
|
@@ -6170,6 +6261,64 @@ export interface GetInfillPercentagePerPeriod200Response {
|
|
|
6170
6261
|
*/
|
|
6171
6262
|
'infillPercentage': number;
|
|
6172
6263
|
}
|
|
6264
|
+
/**
|
|
6265
|
+
*
|
|
6266
|
+
* @export
|
|
6267
|
+
* @interface GetOpenBookingPrice200Response
|
|
6268
|
+
*/
|
|
6269
|
+
export interface GetOpenBookingPrice200Response {
|
|
6270
|
+
/**
|
|
6271
|
+
*
|
|
6272
|
+
* @type {number}
|
|
6273
|
+
* @memberof GetOpenBookingPrice200Response
|
|
6274
|
+
*/
|
|
6275
|
+
'totalBasePrice': number;
|
|
6276
|
+
/**
|
|
6277
|
+
*
|
|
6278
|
+
* @type {Array<PlayerPrice>}
|
|
6279
|
+
* @memberof GetOpenBookingPrice200Response
|
|
6280
|
+
*/
|
|
6281
|
+
'playersPrices': Array<PlayerPrice>;
|
|
6282
|
+
/**
|
|
6283
|
+
*
|
|
6284
|
+
* @type {number}
|
|
6285
|
+
* @memberof GetOpenBookingPrice200Response
|
|
6286
|
+
*/
|
|
6287
|
+
'basePricePerPlayer': number;
|
|
6288
|
+
}
|
|
6289
|
+
/**
|
|
6290
|
+
*
|
|
6291
|
+
* @export
|
|
6292
|
+
* @interface GetOpenBookingPriceRequest
|
|
6293
|
+
*/
|
|
6294
|
+
export interface GetOpenBookingPriceRequest {
|
|
6295
|
+
/**
|
|
6296
|
+
* Construct a type with a set of properties K of type T
|
|
6297
|
+
* @type {{ [key: string]: number; }}
|
|
6298
|
+
* @memberof GetOpenBookingPriceRequest
|
|
6299
|
+
*/
|
|
6300
|
+
'creditsByPlayer'?: {
|
|
6301
|
+
[key: string]: number;
|
|
6302
|
+
};
|
|
6303
|
+
/**
|
|
6304
|
+
*
|
|
6305
|
+
* @type {Array<string>}
|
|
6306
|
+
* @memberof GetOpenBookingPriceRequest
|
|
6307
|
+
*/
|
|
6308
|
+
'initialPlayerIds'?: Array<string>;
|
|
6309
|
+
/**
|
|
6310
|
+
*
|
|
6311
|
+
* @type {number}
|
|
6312
|
+
* @memberof GetOpenBookingPriceRequest
|
|
6313
|
+
*/
|
|
6314
|
+
'maxPlayers': number;
|
|
6315
|
+
/**
|
|
6316
|
+
*
|
|
6317
|
+
* @type {Array<string>}
|
|
6318
|
+
* @memberof GetOpenBookingPriceRequest
|
|
6319
|
+
*/
|
|
6320
|
+
'slotIds': Array<string>;
|
|
6321
|
+
}
|
|
6173
6322
|
/**
|
|
6174
6323
|
*
|
|
6175
6324
|
* @export
|
|
@@ -7314,6 +7463,98 @@ export interface JoinOpenEventResponse {
|
|
|
7314
7463
|
*/
|
|
7315
7464
|
'invoices'?: Array<CheckInEventParticipants200ResponseInvoicesInner>;
|
|
7316
7465
|
}
|
|
7466
|
+
/**
|
|
7467
|
+
*
|
|
7468
|
+
* @export
|
|
7469
|
+
* @interface JoinPriceEstimateResponse
|
|
7470
|
+
*/
|
|
7471
|
+
export interface JoinPriceEstimateResponse {
|
|
7472
|
+
/**
|
|
7473
|
+
* ID de la réservation
|
|
7474
|
+
* @type {string}
|
|
7475
|
+
* @memberof JoinPriceEstimateResponse
|
|
7476
|
+
*/
|
|
7477
|
+
'bookingId': string;
|
|
7478
|
+
/**
|
|
7479
|
+
* Prix de base sans réductions (en centimes)
|
|
7480
|
+
* @type {number}
|
|
7481
|
+
* @memberof JoinPriceEstimateResponse
|
|
7482
|
+
*/
|
|
7483
|
+
'basePrice': number;
|
|
7484
|
+
/**
|
|
7485
|
+
* Prix après application de l\'abonnement (en centimes)
|
|
7486
|
+
* @type {number}
|
|
7487
|
+
* @memberof JoinPriceEstimateResponse
|
|
7488
|
+
*/
|
|
7489
|
+
'priceAfterSubscription': number;
|
|
7490
|
+
/**
|
|
7491
|
+
* Montant de la réduction d\'abonnement (en centimes)
|
|
7492
|
+
* @type {number}
|
|
7493
|
+
* @memberof JoinPriceEstimateResponse
|
|
7494
|
+
*/
|
|
7495
|
+
'subscriptionDiscount': number;
|
|
7496
|
+
/**
|
|
7497
|
+
*
|
|
7498
|
+
* @type {JoinPriceEstimateResponseSubscriptionInfo}
|
|
7499
|
+
* @memberof JoinPriceEstimateResponse
|
|
7500
|
+
*/
|
|
7501
|
+
'subscriptionInfo'?: JoinPriceEstimateResponseSubscriptionInfo;
|
|
7502
|
+
/**
|
|
7503
|
+
* Crédits disponibles pour le joueur dans ce club (en centimes)
|
|
7504
|
+
* @type {number}
|
|
7505
|
+
* @memberof JoinPriceEstimateResponse
|
|
7506
|
+
*/
|
|
7507
|
+
'availableCreditsInCents': number;
|
|
7508
|
+
/**
|
|
7509
|
+
* Crédits qui seront utilisés (en centimes)
|
|
7510
|
+
* @type {number}
|
|
7511
|
+
* @memberof JoinPriceEstimateResponse
|
|
7512
|
+
*/
|
|
7513
|
+
'creditToUseInCents': number;
|
|
7514
|
+
/**
|
|
7515
|
+
* Prix final après toutes les réductions et crédits (en centimes)
|
|
7516
|
+
* @type {number}
|
|
7517
|
+
* @memberof JoinPriceEstimateResponse
|
|
7518
|
+
*/
|
|
7519
|
+
'finalPriceInCents': number;
|
|
7520
|
+
/**
|
|
7521
|
+
* Indique si le joueur peut rejoindre la réservation
|
|
7522
|
+
* @type {boolean}
|
|
7523
|
+
* @memberof JoinPriceEstimateResponse
|
|
7524
|
+
*/
|
|
7525
|
+
'canJoin': boolean;
|
|
7526
|
+
/**
|
|
7527
|
+
* Raison si le joueur ne peut pas rejoindre
|
|
7528
|
+
* @type {string}
|
|
7529
|
+
* @memberof JoinPriceEstimateResponse
|
|
7530
|
+
*/
|
|
7531
|
+
'reason'?: string;
|
|
7532
|
+
}
|
|
7533
|
+
/**
|
|
7534
|
+
* Informations sur l\'abonnement du joueur
|
|
7535
|
+
* @export
|
|
7536
|
+
* @interface JoinPriceEstimateResponseSubscriptionInfo
|
|
7537
|
+
*/
|
|
7538
|
+
export interface JoinPriceEstimateResponseSubscriptionInfo {
|
|
7539
|
+
/**
|
|
7540
|
+
*
|
|
7541
|
+
* @type {string}
|
|
7542
|
+
* @memberof JoinPriceEstimateResponseSubscriptionInfo
|
|
7543
|
+
*/
|
|
7544
|
+
'subscriptionName'?: string;
|
|
7545
|
+
/**
|
|
7546
|
+
*
|
|
7547
|
+
* @type {number}
|
|
7548
|
+
* @memberof JoinPriceEstimateResponseSubscriptionInfo
|
|
7549
|
+
*/
|
|
7550
|
+
'discountPercentage'?: number;
|
|
7551
|
+
/**
|
|
7552
|
+
*
|
|
7553
|
+
* @type {boolean}
|
|
7554
|
+
* @memberof JoinPriceEstimateResponseSubscriptionInfo
|
|
7555
|
+
*/
|
|
7556
|
+
'hasSubscription': boolean;
|
|
7557
|
+
}
|
|
7317
7558
|
/**
|
|
7318
7559
|
*
|
|
7319
7560
|
* @export
|
|
@@ -7895,6 +8136,12 @@ export interface OpenBookingInfo {
|
|
|
7895
8136
|
* @memberof OpenBookingInfo
|
|
7896
8137
|
*/
|
|
7897
8138
|
'currentPlayersCount': number;
|
|
8139
|
+
/**
|
|
8140
|
+
* Prix de base pour rejoindre la réservation (en centimes)
|
|
8141
|
+
* @type {number}
|
|
8142
|
+
* @memberof OpenBookingInfo
|
|
8143
|
+
*/
|
|
8144
|
+
'basePriceToJoin'?: number;
|
|
7898
8145
|
}
|
|
7899
8146
|
/**
|
|
7900
8147
|
*
|
|
@@ -12353,6 +12600,30 @@ export interface UserClubMembership {
|
|
|
12353
12600
|
* @memberof UserClubMembership
|
|
12354
12601
|
*/
|
|
12355
12602
|
'clubPicture': string | null;
|
|
12603
|
+
/**
|
|
12604
|
+
*
|
|
12605
|
+
* @type {string}
|
|
12606
|
+
* @memberof UserClubMembership
|
|
12607
|
+
*/
|
|
12608
|
+
'address'?: string | null;
|
|
12609
|
+
/**
|
|
12610
|
+
*
|
|
12611
|
+
* @type {string}
|
|
12612
|
+
* @memberof UserClubMembership
|
|
12613
|
+
*/
|
|
12614
|
+
'description'?: string | null;
|
|
12615
|
+
/**
|
|
12616
|
+
*
|
|
12617
|
+
* @type {Array<string>}
|
|
12618
|
+
* @memberof UserClubMembership
|
|
12619
|
+
*/
|
|
12620
|
+
'tags'?: Array<string>;
|
|
12621
|
+
/**
|
|
12622
|
+
*
|
|
12623
|
+
* @type {Array<string>}
|
|
12624
|
+
* @memberof UserClubMembership
|
|
12625
|
+
*/
|
|
12626
|
+
'sports'?: Array<string>;
|
|
12356
12627
|
/**
|
|
12357
12628
|
*
|
|
12358
12629
|
* @type {number}
|
|
@@ -13001,6 +13272,12 @@ export interface UserProfileResponse {
|
|
|
13001
13272
|
* @memberof UserProfileResponse
|
|
13002
13273
|
*/
|
|
13003
13274
|
'subscriptions'?: Array<ClubSubscriptions>;
|
|
13275
|
+
/**
|
|
13276
|
+
*
|
|
13277
|
+
* @type {Array<UserClubMembership>}
|
|
13278
|
+
* @memberof UserProfileResponse
|
|
13279
|
+
*/
|
|
13280
|
+
'clubs'?: Array<UserClubMembership>;
|
|
13004
13281
|
/**
|
|
13005
13282
|
*
|
|
13006
13283
|
* @type {Array<ClubSummary>}
|
|
@@ -13382,6 +13659,14 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
13382
13659
|
* @throws {RequiredError}
|
|
13383
13660
|
*/
|
|
13384
13661
|
getGuestBookingPrice: (getGuestBookingPriceRequest: GetGuestBookingPriceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13662
|
+
/**
|
|
13663
|
+
* Estimation complète du prix pour rejoindre une réservation ouverte Retourne tous les détails: prix de base, réductions, crédits disponibles, et prix final
|
|
13664
|
+
* @param {string} bookingId
|
|
13665
|
+
* @param {number} [creditToUseInCents]
|
|
13666
|
+
* @param {*} [options] Override http request option.
|
|
13667
|
+
* @throws {RequiredError}
|
|
13668
|
+
*/
|
|
13669
|
+
getJoinPriceEstimate: (bookingId: string, creditToUseInCents?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13385
13670
|
/**
|
|
13386
13671
|
* Estimer simplement le prix à payer pour rejoindre une réservation ouverte
|
|
13387
13672
|
* @param {string} bookingId
|
|
@@ -13470,6 +13755,14 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
13470
13755
|
* @throws {RequiredError}
|
|
13471
13756
|
*/
|
|
13472
13757
|
getGuestBookingPrice(getGuestBookingPriceRequest: GetGuestBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetGuestBookingPrice200Response>>;
|
|
13758
|
+
/**
|
|
13759
|
+
* Estimation complète du prix pour rejoindre une réservation ouverte Retourne tous les détails: prix de base, réductions, crédits disponibles, et prix final
|
|
13760
|
+
* @param {string} bookingId
|
|
13761
|
+
* @param {number} [creditToUseInCents]
|
|
13762
|
+
* @param {*} [options] Override http request option.
|
|
13763
|
+
* @throws {RequiredError}
|
|
13764
|
+
*/
|
|
13765
|
+
getJoinPriceEstimate(bookingId: string, creditToUseInCents?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinPriceEstimateResponse>>;
|
|
13473
13766
|
/**
|
|
13474
13767
|
* Estimer simplement le prix à payer pour rejoindre une réservation ouverte
|
|
13475
13768
|
* @param {string} bookingId
|
|
@@ -13557,6 +13850,13 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
13557
13850
|
* @throws {RequiredError}
|
|
13558
13851
|
*/
|
|
13559
13852
|
getGuestBookingPrice(requestParameters: BookingsApiGetGuestBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetGuestBookingPrice200Response>;
|
|
13853
|
+
/**
|
|
13854
|
+
* Estimation complète du prix pour rejoindre une réservation ouverte Retourne tous les détails: prix de base, réductions, crédits disponibles, et prix final
|
|
13855
|
+
* @param {BookingsApiGetJoinPriceEstimateRequest} requestParameters Request parameters.
|
|
13856
|
+
* @param {*} [options] Override http request option.
|
|
13857
|
+
* @throws {RequiredError}
|
|
13858
|
+
*/
|
|
13859
|
+
getJoinPriceEstimate(requestParameters: BookingsApiGetJoinPriceEstimateRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinPriceEstimateResponse>;
|
|
13560
13860
|
/**
|
|
13561
13861
|
* Estimer simplement le prix à payer pour rejoindre une réservation ouverte
|
|
13562
13862
|
* @param {BookingsApiGetOpenBookingJoinPriceRequest} requestParameters Request parameters.
|
|
@@ -13664,6 +13964,25 @@ export interface BookingsApiGetGuestBookingPriceRequest {
|
|
|
13664
13964
|
*/
|
|
13665
13965
|
readonly getGuestBookingPriceRequest: GetGuestBookingPriceRequest;
|
|
13666
13966
|
}
|
|
13967
|
+
/**
|
|
13968
|
+
* Request parameters for getJoinPriceEstimate operation in BookingsApi.
|
|
13969
|
+
* @export
|
|
13970
|
+
* @interface BookingsApiGetJoinPriceEstimateRequest
|
|
13971
|
+
*/
|
|
13972
|
+
export interface BookingsApiGetJoinPriceEstimateRequest {
|
|
13973
|
+
/**
|
|
13974
|
+
*
|
|
13975
|
+
* @type {string}
|
|
13976
|
+
* @memberof BookingsApiGetJoinPriceEstimate
|
|
13977
|
+
*/
|
|
13978
|
+
readonly bookingId: string;
|
|
13979
|
+
/**
|
|
13980
|
+
*
|
|
13981
|
+
* @type {number}
|
|
13982
|
+
* @memberof BookingsApiGetJoinPriceEstimate
|
|
13983
|
+
*/
|
|
13984
|
+
readonly creditToUseInCents?: number;
|
|
13985
|
+
}
|
|
13667
13986
|
/**
|
|
13668
13987
|
* Request parameters for getOpenBookingJoinPrice operation in BookingsApi.
|
|
13669
13988
|
* @export
|
|
@@ -13842,6 +14161,14 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
13842
14161
|
* @memberof BookingsApi
|
|
13843
14162
|
*/
|
|
13844
14163
|
getGuestBookingPrice(requestParameters: BookingsApiGetGuestBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetGuestBookingPrice200Response, any, {}>>;
|
|
14164
|
+
/**
|
|
14165
|
+
* Estimation complète du prix pour rejoindre une réservation ouverte Retourne tous les détails: prix de base, réductions, crédits disponibles, et prix final
|
|
14166
|
+
* @param {BookingsApiGetJoinPriceEstimateRequest} requestParameters Request parameters.
|
|
14167
|
+
* @param {*} [options] Override http request option.
|
|
14168
|
+
* @throws {RequiredError}
|
|
14169
|
+
* @memberof BookingsApi
|
|
14170
|
+
*/
|
|
14171
|
+
getJoinPriceEstimate(requestParameters: BookingsApiGetJoinPriceEstimateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JoinPriceEstimateResponse, any, {}>>;
|
|
13845
14172
|
/**
|
|
13846
14173
|
* Estimer simplement le prix à payer pour rejoindre une réservation ouverte
|
|
13847
14174
|
* @param {BookingsApiGetOpenBookingJoinPriceRequest} requestParameters Request parameters.
|
|
@@ -14429,6 +14756,13 @@ export declare const BookingsUserApiAxiosParamCreator: (configuration?: Configur
|
|
|
14429
14756
|
* @throws {RequiredError}
|
|
14430
14757
|
*/
|
|
14431
14758
|
createOpenBooking: (createOpenBookingRequest: CreateOpenBookingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14759
|
+
/**
|
|
14760
|
+
* Calculer le prix d\'une réservation ouverte avec joueurs initiaux
|
|
14761
|
+
* @param {GetOpenBookingPriceRequest} getOpenBookingPriceRequest
|
|
14762
|
+
* @param {*} [options] Override http request option.
|
|
14763
|
+
* @throws {RequiredError}
|
|
14764
|
+
*/
|
|
14765
|
+
getOpenBookingPrice: (getOpenBookingPriceRequest: GetOpenBookingPriceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14432
14766
|
/**
|
|
14433
14767
|
* Mettre à jour une réservation ouverte (description et niveau minimal)
|
|
14434
14768
|
* @param {string} bookingId
|
|
@@ -14464,6 +14798,13 @@ export declare const BookingsUserApiFp: (configuration?: Configuration) => {
|
|
|
14464
14798
|
* @throws {RequiredError}
|
|
14465
14799
|
*/
|
|
14466
14800
|
createOpenBooking(createOpenBookingRequest: CreateOpenBookingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponse>>;
|
|
14801
|
+
/**
|
|
14802
|
+
* Calculer le prix d\'une réservation ouverte avec joueurs initiaux
|
|
14803
|
+
* @param {GetOpenBookingPriceRequest} getOpenBookingPriceRequest
|
|
14804
|
+
* @param {*} [options] Override http request option.
|
|
14805
|
+
* @throws {RequiredError}
|
|
14806
|
+
*/
|
|
14807
|
+
getOpenBookingPrice(getOpenBookingPriceRequest: GetOpenBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOpenBookingPrice200Response>>;
|
|
14467
14808
|
/**
|
|
14468
14809
|
* Mettre à jour une réservation ouverte (description et niveau minimal)
|
|
14469
14810
|
* @param {string} bookingId
|
|
@@ -14499,6 +14840,13 @@ export declare const BookingsUserApiFactory: (configuration?: Configuration, bas
|
|
|
14499
14840
|
* @throws {RequiredError}
|
|
14500
14841
|
*/
|
|
14501
14842
|
createOpenBooking(requestParameters: BookingsUserApiCreateOpenBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponse>;
|
|
14843
|
+
/**
|
|
14844
|
+
* Calculer le prix d\'une réservation ouverte avec joueurs initiaux
|
|
14845
|
+
* @param {BookingsUserApiGetOpenBookingPriceRequest} requestParameters Request parameters.
|
|
14846
|
+
* @param {*} [options] Override http request option.
|
|
14847
|
+
* @throws {RequiredError}
|
|
14848
|
+
*/
|
|
14849
|
+
getOpenBookingPrice(requestParameters: BookingsUserApiGetOpenBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetOpenBookingPrice200Response>;
|
|
14502
14850
|
/**
|
|
14503
14851
|
* Mettre à jour une réservation ouverte (description et niveau minimal)
|
|
14504
14852
|
* @param {BookingsUserApiUpdateOpenBookingRequest} requestParameters Request parameters.
|
|
@@ -14546,6 +14894,19 @@ export interface BookingsUserApiCreateOpenBookingRequest {
|
|
|
14546
14894
|
*/
|
|
14547
14895
|
readonly createOpenBookingRequest: CreateOpenBookingRequest;
|
|
14548
14896
|
}
|
|
14897
|
+
/**
|
|
14898
|
+
* Request parameters for getOpenBookingPrice operation in BookingsUserApi.
|
|
14899
|
+
* @export
|
|
14900
|
+
* @interface BookingsUserApiGetOpenBookingPriceRequest
|
|
14901
|
+
*/
|
|
14902
|
+
export interface BookingsUserApiGetOpenBookingPriceRequest {
|
|
14903
|
+
/**
|
|
14904
|
+
*
|
|
14905
|
+
* @type {GetOpenBookingPriceRequest}
|
|
14906
|
+
* @memberof BookingsUserApiGetOpenBookingPrice
|
|
14907
|
+
*/
|
|
14908
|
+
readonly getOpenBookingPriceRequest: GetOpenBookingPriceRequest;
|
|
14909
|
+
}
|
|
14549
14910
|
/**
|
|
14550
14911
|
* Request parameters for updateOpenBooking operation in BookingsUserApi.
|
|
14551
14912
|
* @export
|
|
@@ -14596,6 +14957,14 @@ export declare class BookingsUserApi extends BaseAPI {
|
|
|
14596
14957
|
* @memberof BookingsUserApi
|
|
14597
14958
|
*/
|
|
14598
14959
|
createOpenBooking(requestParameters: BookingsUserApiCreateOpenBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingResponse, any, {}>>;
|
|
14960
|
+
/**
|
|
14961
|
+
* Calculer le prix d\'une réservation ouverte avec joueurs initiaux
|
|
14962
|
+
* @param {BookingsUserApiGetOpenBookingPriceRequest} requestParameters Request parameters.
|
|
14963
|
+
* @param {*} [options] Override http request option.
|
|
14964
|
+
* @throws {RequiredError}
|
|
14965
|
+
* @memberof BookingsUserApi
|
|
14966
|
+
*/
|
|
14967
|
+
getOpenBookingPrice(requestParameters: BookingsUserApiGetOpenBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOpenBookingPrice200Response, any, {}>>;
|
|
14599
14968
|
/**
|
|
14600
14969
|
* Mettre à jour une réservation ouverte (description et niveau minimal)
|
|
14601
14970
|
* @param {BookingsUserApiUpdateOpenBookingRequest} requestParameters Request parameters.
|