@tennac-booking/sdk 1.0.209 → 1.0.210
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 +3 -2
- package/README.md +7 -7
- package/api.ts +173 -256
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +161 -193
- package/dist/api.js +40 -109
- 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 +161 -193
- package/dist/esm/api.js +40 -109
- 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/BookingsApi.md +20 -74
- package/docs/ClubPageResponse.md +8 -0
- package/docs/CreateOpenBookingRequest.md +3 -5
- package/docs/EstimateOpenBookingJoinRequest.md +24 -0
- package/docs/JoinOpenBookingRequest.md +4 -2
- package/docs/OpenBookingBasePriceResponse.md +24 -0
- package/docs/OpenBookingJoinEstimateResponse.md +26 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/JoinPriceEstimateResponse.md +0 -38
- package/docs/JoinPriceEstimateResponseSubscriptionInfo.md +0 -25
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.210
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2611,6 +2611,36 @@ export interface ClubPageResponse {
|
|
|
2611
2611
|
* @memberof ClubPageResponse
|
|
2612
2612
|
*/
|
|
2613
2613
|
'sports'?: Array<string>;
|
|
2614
|
+
/**
|
|
2615
|
+
* Nombre total de terrains du club
|
|
2616
|
+
* @type {number}
|
|
2617
|
+
* @memberof ClubPageResponse
|
|
2618
|
+
*/
|
|
2619
|
+
'courtsCount'?: number;
|
|
2620
|
+
/**
|
|
2621
|
+
* Construct a type with a set of properties K of type T
|
|
2622
|
+
* @type {{ [key: string]: number; }}
|
|
2623
|
+
* @memberof ClubPageResponse
|
|
2624
|
+
*/
|
|
2625
|
+
'courtsCountBySport'?: {
|
|
2626
|
+
[key: string]: number;
|
|
2627
|
+
};
|
|
2628
|
+
/**
|
|
2629
|
+
* Construct a type with a set of properties K of type T
|
|
2630
|
+
* @type {{ [key: string]: Array<SurfaceType>; }}
|
|
2631
|
+
* @memberof ClubPageResponse
|
|
2632
|
+
*/
|
|
2633
|
+
'surfacesBySport'?: {
|
|
2634
|
+
[key: string]: Array<SurfaceType>;
|
|
2635
|
+
};
|
|
2636
|
+
/**
|
|
2637
|
+
* Construct a type with a set of properties K of type T
|
|
2638
|
+
* @type {{ [key: string]: Array<CourtEnvironment>; }}
|
|
2639
|
+
* @memberof ClubPageResponse
|
|
2640
|
+
*/
|
|
2641
|
+
'indoorOutdoorBySport'?: {
|
|
2642
|
+
[key: string]: Array<CourtEnvironment>;
|
|
2643
|
+
};
|
|
2614
2644
|
/**
|
|
2615
2645
|
*
|
|
2616
2646
|
* @type {ClubPresentation}
|
|
@@ -4800,13 +4830,13 @@ export interface CreateOpenBookingRequest {
|
|
|
4800
4830
|
*/
|
|
4801
4831
|
'slotIds': Array<string>;
|
|
4802
4832
|
/**
|
|
4803
|
-
* Liste
|
|
4804
|
-
* @type {Array<
|
|
4833
|
+
* Liste des parts de paiement par joueur (utiliser ceci OU isCreatorPayingAll)
|
|
4834
|
+
* @type {Array<PlayerShare>}
|
|
4805
4835
|
* @memberof CreateOpenBookingRequest
|
|
4806
4836
|
*/
|
|
4807
|
-
'
|
|
4837
|
+
'playerShares'?: Array<PlayerShare>;
|
|
4808
4838
|
/**
|
|
4809
|
-
* Indique si le créateur paie pour tous les joueurs initiaux
|
|
4839
|
+
* Indique si le créateur paie pour tous les joueurs initiaux (incompatible avec playerShares)
|
|
4810
4840
|
* @type {boolean}
|
|
4811
4841
|
* @memberof CreateOpenBookingRequest
|
|
4812
4842
|
*/
|
|
@@ -4847,13 +4877,6 @@ export interface CreateOpenBookingRequest {
|
|
|
4847
4877
|
* @memberof CreateOpenBookingRequest
|
|
4848
4878
|
*/
|
|
4849
4879
|
'minLevel'?: string;
|
|
4850
|
-
/**
|
|
4851
|
-
*
|
|
4852
|
-
* @type {Array<string>}
|
|
4853
|
-
* @memberof CreateOpenBookingRequest
|
|
4854
|
-
* @deprecated
|
|
4855
|
-
*/
|
|
4856
|
-
'initialPlayerIds'?: Array<string>;
|
|
4857
4880
|
}
|
|
4858
4881
|
/**
|
|
4859
4882
|
*
|
|
@@ -5359,6 +5382,31 @@ export interface EstimateEventPriceRequestSharesInner {
|
|
|
5359
5382
|
*/
|
|
5360
5383
|
'playerId': string;
|
|
5361
5384
|
}
|
|
5385
|
+
/**
|
|
5386
|
+
*
|
|
5387
|
+
* @export
|
|
5388
|
+
* @interface EstimateOpenBookingJoinRequest
|
|
5389
|
+
*/
|
|
5390
|
+
export interface EstimateOpenBookingJoinRequest {
|
|
5391
|
+
/**
|
|
5392
|
+
*
|
|
5393
|
+
* @type {number}
|
|
5394
|
+
* @memberof EstimateOpenBookingJoinRequest
|
|
5395
|
+
*/
|
|
5396
|
+
'creditToUseInCents'?: number;
|
|
5397
|
+
/**
|
|
5398
|
+
*
|
|
5399
|
+
* @type {boolean}
|
|
5400
|
+
* @memberof EstimateOpenBookingJoinRequest
|
|
5401
|
+
*/
|
|
5402
|
+
'isCreatorPayingAll'?: boolean;
|
|
5403
|
+
/**
|
|
5404
|
+
*
|
|
5405
|
+
* @type {Array<PlayerShare>}
|
|
5406
|
+
* @memberof EstimateOpenBookingJoinRequest
|
|
5407
|
+
*/
|
|
5408
|
+
'playerShares'?: Array<PlayerShare>;
|
|
5409
|
+
}
|
|
5362
5410
|
/**
|
|
5363
5411
|
*
|
|
5364
5412
|
* @export
|
|
@@ -7714,6 +7762,18 @@ export interface JoinEventWaitList200Response {
|
|
|
7714
7762
|
* @interface JoinOpenBookingRequest
|
|
7715
7763
|
*/
|
|
7716
7764
|
export interface JoinOpenBookingRequest {
|
|
7765
|
+
/**
|
|
7766
|
+
* Liste des parts de paiement par joueur (utiliser ceci OU isCreatorPayingAll)
|
|
7767
|
+
* @type {Array<PlayerShare>}
|
|
7768
|
+
* @memberof JoinOpenBookingRequest
|
|
7769
|
+
*/
|
|
7770
|
+
'playerShares'?: Array<PlayerShare>;
|
|
7771
|
+
/**
|
|
7772
|
+
* Indique si le joueur qui rejoint paie pour tous les joueurs qu\'il ajoute (incompatible avec playerShares)
|
|
7773
|
+
* @type {boolean}
|
|
7774
|
+
* @memberof JoinOpenBookingRequest
|
|
7775
|
+
*/
|
|
7776
|
+
'isCreatorPayingAll'?: boolean;
|
|
7717
7777
|
/**
|
|
7718
7778
|
*
|
|
7719
7779
|
* @type {PaymentMethod}
|
|
@@ -7732,12 +7792,6 @@ export interface JoinOpenBookingRequest {
|
|
|
7732
7792
|
* @memberof JoinOpenBookingRequest
|
|
7733
7793
|
*/
|
|
7734
7794
|
'creditToUseInCents'?: number;
|
|
7735
|
-
/**
|
|
7736
|
-
* Liste des autres joueurs qui rejoignent également (n\'inclut PAS le joueur qui fait la requête, chacun paie sa part)
|
|
7737
|
-
* @type {Array<PlayerWithPaymentMethod>}
|
|
7738
|
-
* @memberof JoinOpenBookingRequest
|
|
7739
|
-
*/
|
|
7740
|
-
'players'?: Array<PlayerWithPaymentMethod>;
|
|
7741
7795
|
}
|
|
7742
7796
|
/**
|
|
7743
7797
|
*
|
|
@@ -7836,98 +7890,6 @@ export interface JoinOpenEventResponse {
|
|
|
7836
7890
|
*/
|
|
7837
7891
|
'invoices'?: Array<CheckInEventParticipants200ResponseInvoicesInner>;
|
|
7838
7892
|
}
|
|
7839
|
-
/**
|
|
7840
|
-
*
|
|
7841
|
-
* @export
|
|
7842
|
-
* @interface JoinPriceEstimateResponse
|
|
7843
|
-
*/
|
|
7844
|
-
export interface JoinPriceEstimateResponse {
|
|
7845
|
-
/**
|
|
7846
|
-
* ID de la réservation
|
|
7847
|
-
* @type {string}
|
|
7848
|
-
* @memberof JoinPriceEstimateResponse
|
|
7849
|
-
*/
|
|
7850
|
-
'bookingId': string;
|
|
7851
|
-
/**
|
|
7852
|
-
* Prix de base sans réductions (en centimes)
|
|
7853
|
-
* @type {number}
|
|
7854
|
-
* @memberof JoinPriceEstimateResponse
|
|
7855
|
-
*/
|
|
7856
|
-
'basePrice': number;
|
|
7857
|
-
/**
|
|
7858
|
-
* Prix après application de l\'abonnement (en centimes)
|
|
7859
|
-
* @type {number}
|
|
7860
|
-
* @memberof JoinPriceEstimateResponse
|
|
7861
|
-
*/
|
|
7862
|
-
'priceAfterSubscription': number;
|
|
7863
|
-
/**
|
|
7864
|
-
* Montant de la réduction d\'abonnement (en centimes)
|
|
7865
|
-
* @type {number}
|
|
7866
|
-
* @memberof JoinPriceEstimateResponse
|
|
7867
|
-
*/
|
|
7868
|
-
'subscriptionDiscount': number;
|
|
7869
|
-
/**
|
|
7870
|
-
*
|
|
7871
|
-
* @type {JoinPriceEstimateResponseSubscriptionInfo}
|
|
7872
|
-
* @memberof JoinPriceEstimateResponse
|
|
7873
|
-
*/
|
|
7874
|
-
'subscriptionInfo'?: JoinPriceEstimateResponseSubscriptionInfo;
|
|
7875
|
-
/**
|
|
7876
|
-
* Crédits disponibles pour le joueur dans ce club (en centimes)
|
|
7877
|
-
* @type {number}
|
|
7878
|
-
* @memberof JoinPriceEstimateResponse
|
|
7879
|
-
*/
|
|
7880
|
-
'availableCreditsInCents': number;
|
|
7881
|
-
/**
|
|
7882
|
-
* Crédits qui seront utilisés (en centimes)
|
|
7883
|
-
* @type {number}
|
|
7884
|
-
* @memberof JoinPriceEstimateResponse
|
|
7885
|
-
*/
|
|
7886
|
-
'creditToUseInCents': number;
|
|
7887
|
-
/**
|
|
7888
|
-
* Prix final après toutes les réductions et crédits (en centimes)
|
|
7889
|
-
* @type {number}
|
|
7890
|
-
* @memberof JoinPriceEstimateResponse
|
|
7891
|
-
*/
|
|
7892
|
-
'finalPriceInCents': number;
|
|
7893
|
-
/**
|
|
7894
|
-
* Indique si le joueur peut rejoindre la réservation
|
|
7895
|
-
* @type {boolean}
|
|
7896
|
-
* @memberof JoinPriceEstimateResponse
|
|
7897
|
-
*/
|
|
7898
|
-
'canJoin': boolean;
|
|
7899
|
-
/**
|
|
7900
|
-
* Raison si le joueur ne peut pas rejoindre
|
|
7901
|
-
* @type {string}
|
|
7902
|
-
* @memberof JoinPriceEstimateResponse
|
|
7903
|
-
*/
|
|
7904
|
-
'reason'?: string;
|
|
7905
|
-
}
|
|
7906
|
-
/**
|
|
7907
|
-
* Informations sur l\'abonnement du joueur
|
|
7908
|
-
* @export
|
|
7909
|
-
* @interface JoinPriceEstimateResponseSubscriptionInfo
|
|
7910
|
-
*/
|
|
7911
|
-
export interface JoinPriceEstimateResponseSubscriptionInfo {
|
|
7912
|
-
/**
|
|
7913
|
-
*
|
|
7914
|
-
* @type {string}
|
|
7915
|
-
* @memberof JoinPriceEstimateResponseSubscriptionInfo
|
|
7916
|
-
*/
|
|
7917
|
-
'subscriptionName'?: string;
|
|
7918
|
-
/**
|
|
7919
|
-
*
|
|
7920
|
-
* @type {number}
|
|
7921
|
-
* @memberof JoinPriceEstimateResponseSubscriptionInfo
|
|
7922
|
-
*/
|
|
7923
|
-
'discountPercentage'?: number;
|
|
7924
|
-
/**
|
|
7925
|
-
*
|
|
7926
|
-
* @type {boolean}
|
|
7927
|
-
* @memberof JoinPriceEstimateResponseSubscriptionInfo
|
|
7928
|
-
*/
|
|
7929
|
-
'hasSubscription': boolean;
|
|
7930
|
-
}
|
|
7931
7893
|
/**
|
|
7932
7894
|
*
|
|
7933
7895
|
* @export
|
|
@@ -8407,6 +8369,31 @@ export interface OffPeakRule {
|
|
|
8407
8369
|
*/
|
|
8408
8370
|
'dayOfWeek': number;
|
|
8409
8371
|
}
|
|
8372
|
+
/**
|
|
8373
|
+
*
|
|
8374
|
+
* @export
|
|
8375
|
+
* @interface OpenBookingBasePriceResponse
|
|
8376
|
+
*/
|
|
8377
|
+
export interface OpenBookingBasePriceResponse {
|
|
8378
|
+
/**
|
|
8379
|
+
* Prix de base par joueur (en centimes) pour rejoindre
|
|
8380
|
+
* @type {number}
|
|
8381
|
+
* @memberof OpenBookingBasePriceResponse
|
|
8382
|
+
*/
|
|
8383
|
+
'basePricePerPlayer': number;
|
|
8384
|
+
/**
|
|
8385
|
+
* Prix total de base de la réservation (en centimes)
|
|
8386
|
+
* @type {number}
|
|
8387
|
+
* @memberof OpenBookingBasePriceResponse
|
|
8388
|
+
*/
|
|
8389
|
+
'totalBasePrice': number;
|
|
8390
|
+
/**
|
|
8391
|
+
* Nombre de places restantes
|
|
8392
|
+
* @type {number}
|
|
8393
|
+
* @memberof OpenBookingBasePriceResponse
|
|
8394
|
+
*/
|
|
8395
|
+
'availableSlots': number;
|
|
8396
|
+
}
|
|
8410
8397
|
/**
|
|
8411
8398
|
*
|
|
8412
8399
|
* @export
|
|
@@ -8516,6 +8503,37 @@ export interface OpenBookingInfo {
|
|
|
8516
8503
|
*/
|
|
8517
8504
|
'basePriceToJoin'?: number;
|
|
8518
8505
|
}
|
|
8506
|
+
/**
|
|
8507
|
+
*
|
|
8508
|
+
* @export
|
|
8509
|
+
* @interface OpenBookingJoinEstimateResponse
|
|
8510
|
+
*/
|
|
8511
|
+
export interface OpenBookingJoinEstimateResponse {
|
|
8512
|
+
/**
|
|
8513
|
+
* Prix de base par joueur (en centimes)
|
|
8514
|
+
* @type {number}
|
|
8515
|
+
* @memberof OpenBookingJoinEstimateResponse
|
|
8516
|
+
*/
|
|
8517
|
+
'basePricePerPlayer': number;
|
|
8518
|
+
/**
|
|
8519
|
+
* Détails de prix pour chaque joueur qui rejoint
|
|
8520
|
+
* @type {Array<PlayerPrice>}
|
|
8521
|
+
* @memberof OpenBookingJoinEstimateResponse
|
|
8522
|
+
*/
|
|
8523
|
+
'playersPrices': Array<PlayerPrice>;
|
|
8524
|
+
/**
|
|
8525
|
+
* Crédits disponibles pour l\'utilisateur qui demande à rejoindre (en centimes)
|
|
8526
|
+
* @type {number}
|
|
8527
|
+
* @memberof OpenBookingJoinEstimateResponse
|
|
8528
|
+
*/
|
|
8529
|
+
'availableCreditsInCents': number;
|
|
8530
|
+
/**
|
|
8531
|
+
* Nombre de places restantes
|
|
8532
|
+
* @type {number}
|
|
8533
|
+
* @memberof OpenBookingJoinEstimateResponse
|
|
8534
|
+
*/
|
|
8535
|
+
'availableSlots': number;
|
|
8536
|
+
}
|
|
8519
8537
|
/**
|
|
8520
8538
|
*
|
|
8521
8539
|
* @export
|
|
@@ -14665,13 +14683,13 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
14665
14683
|
*/
|
|
14666
14684
|
createGuestBooking: (createGuestBookingRequest: CreateGuestBookingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14667
14685
|
/**
|
|
14668
|
-
*
|
|
14686
|
+
* Estime le prix pour rejoindre une réservation ouverte avec détails de paiement. Supporte soit isCreatorPayingAll, soit playerShares pour répartir les coûts.
|
|
14669
14687
|
* @param {string} bookingId
|
|
14670
|
-
* @param {
|
|
14688
|
+
* @param {EstimateOpenBookingJoinRequest} estimateOpenBookingJoinRequest
|
|
14671
14689
|
* @param {*} [options] Override http request option.
|
|
14672
14690
|
* @throws {RequiredError}
|
|
14673
14691
|
*/
|
|
14674
|
-
|
|
14692
|
+
estimateOpenBookingJoin: (bookingId: string, estimateOpenBookingJoinRequest: EstimateOpenBookingJoinRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14675
14693
|
/**
|
|
14676
14694
|
* Obtenir l\'historique d\'une réservation par ID
|
|
14677
14695
|
* @param {string} bookingId
|
|
@@ -14694,20 +14712,12 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
14694
14712
|
*/
|
|
14695
14713
|
getGuestBookingPrice: (getGuestBookingPriceRequest: GetGuestBookingPriceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14696
14714
|
/**
|
|
14697
|
-
*
|
|
14715
|
+
* Obtient le prix de base pour rejoindre une réservation ouverte. Cette route ne prend pas en compte un utilisateur spécifique, elle retourne simplement le prix de base par joueur.
|
|
14698
14716
|
* @param {string} bookingId
|
|
14699
|
-
* @param {number} [creditToUseInCents]
|
|
14700
14717
|
* @param {*} [options] Override http request option.
|
|
14701
14718
|
* @throws {RequiredError}
|
|
14702
14719
|
*/
|
|
14703
|
-
|
|
14704
|
-
/**
|
|
14705
|
-
* Estimer simplement le prix à payer pour rejoindre une réservation ouverte
|
|
14706
|
-
* @param {string} bookingId
|
|
14707
|
-
* @param {*} [options] Override http request option.
|
|
14708
|
-
* @throws {RequiredError}
|
|
14709
|
-
*/
|
|
14710
|
-
getOpenBookingJoinPrice: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14720
|
+
getOpenBookingBasePrice: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14711
14721
|
/**
|
|
14712
14722
|
*
|
|
14713
14723
|
* @param {string} [clubId]
|
|
@@ -14761,13 +14771,13 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
14761
14771
|
*/
|
|
14762
14772
|
createGuestBooking(createGuestBookingRequest: CreateGuestBookingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponse>>;
|
|
14763
14773
|
/**
|
|
14764
|
-
*
|
|
14774
|
+
* Estime le prix pour rejoindre une réservation ouverte avec détails de paiement. Supporte soit isCreatorPayingAll, soit playerShares pour répartir les coûts.
|
|
14765
14775
|
* @param {string} bookingId
|
|
14766
|
-
* @param {
|
|
14776
|
+
* @param {EstimateOpenBookingJoinRequest} estimateOpenBookingJoinRequest
|
|
14767
14777
|
* @param {*} [options] Override http request option.
|
|
14768
14778
|
* @throws {RequiredError}
|
|
14769
14779
|
*/
|
|
14770
|
-
|
|
14780
|
+
estimateOpenBookingJoin(bookingId: string, estimateOpenBookingJoinRequest: EstimateOpenBookingJoinRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OpenBookingJoinEstimateResponse>>;
|
|
14771
14781
|
/**
|
|
14772
14782
|
* Obtenir l\'historique d\'une réservation par ID
|
|
14773
14783
|
* @param {string} bookingId
|
|
@@ -14790,20 +14800,12 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
14790
14800
|
*/
|
|
14791
14801
|
getGuestBookingPrice(getGuestBookingPriceRequest: GetGuestBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetGuestBookingPrice200Response>>;
|
|
14792
14802
|
/**
|
|
14793
|
-
*
|
|
14794
|
-
* @param {string} bookingId
|
|
14795
|
-
* @param {number} [creditToUseInCents]
|
|
14796
|
-
* @param {*} [options] Override http request option.
|
|
14797
|
-
* @throws {RequiredError}
|
|
14798
|
-
*/
|
|
14799
|
-
getJoinPriceEstimate(bookingId: string, creditToUseInCents?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinPriceEstimateResponse>>;
|
|
14800
|
-
/**
|
|
14801
|
-
* Estimer simplement le prix à payer pour rejoindre une réservation ouverte
|
|
14803
|
+
* Obtient le prix de base pour rejoindre une réservation ouverte. Cette route ne prend pas en compte un utilisateur spécifique, elle retourne simplement le prix de base par joueur.
|
|
14802
14804
|
* @param {string} bookingId
|
|
14803
14805
|
* @param {*} [options] Override http request option.
|
|
14804
14806
|
* @throws {RequiredError}
|
|
14805
14807
|
*/
|
|
14806
|
-
|
|
14808
|
+
getOpenBookingBasePrice(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OpenBookingBasePriceResponse>>;
|
|
14807
14809
|
/**
|
|
14808
14810
|
*
|
|
14809
14811
|
* @param {string} [clubId]
|
|
@@ -14857,12 +14859,12 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
14857
14859
|
*/
|
|
14858
14860
|
createGuestBooking(requestParameters: BookingsApiCreateGuestBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponse>;
|
|
14859
14861
|
/**
|
|
14860
|
-
*
|
|
14861
|
-
* @param {
|
|
14862
|
+
* Estime le prix pour rejoindre une réservation ouverte avec détails de paiement. Supporte soit isCreatorPayingAll, soit playerShares pour répartir les coûts.
|
|
14863
|
+
* @param {BookingsApiEstimateOpenBookingJoinRequest} requestParameters Request parameters.
|
|
14862
14864
|
* @param {*} [options] Override http request option.
|
|
14863
14865
|
* @throws {RequiredError}
|
|
14864
14866
|
*/
|
|
14865
|
-
|
|
14867
|
+
estimateOpenBookingJoin(requestParameters: BookingsApiEstimateOpenBookingJoinRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpenBookingJoinEstimateResponse>;
|
|
14866
14868
|
/**
|
|
14867
14869
|
* Obtenir l\'historique d\'une réservation par ID
|
|
14868
14870
|
* @param {BookingsApiGetBookingHistoryRequest} requestParameters Request parameters.
|
|
@@ -14885,19 +14887,12 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
14885
14887
|
*/
|
|
14886
14888
|
getGuestBookingPrice(requestParameters: BookingsApiGetGuestBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetGuestBookingPrice200Response>;
|
|
14887
14889
|
/**
|
|
14888
|
-
*
|
|
14889
|
-
* @param {
|
|
14890
|
+
* Obtient le prix de base pour rejoindre une réservation ouverte. Cette route ne prend pas en compte un utilisateur spécifique, elle retourne simplement le prix de base par joueur.
|
|
14891
|
+
* @param {BookingsApiGetOpenBookingBasePriceRequest} requestParameters Request parameters.
|
|
14890
14892
|
* @param {*} [options] Override http request option.
|
|
14891
14893
|
* @throws {RequiredError}
|
|
14892
14894
|
*/
|
|
14893
|
-
|
|
14894
|
-
/**
|
|
14895
|
-
* Estimer simplement le prix à payer pour rejoindre une réservation ouverte
|
|
14896
|
-
* @param {BookingsApiGetOpenBookingJoinPriceRequest} requestParameters Request parameters.
|
|
14897
|
-
* @param {*} [options] Override http request option.
|
|
14898
|
-
* @throws {RequiredError}
|
|
14899
|
-
*/
|
|
14900
|
-
getOpenBookingJoinPrice(requestParameters: BookingsApiGetOpenBookingJoinPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetOpenEventBookingJoinPrice200Response>;
|
|
14895
|
+
getOpenBookingBasePrice(requestParameters: BookingsApiGetOpenBookingBasePriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpenBookingBasePriceResponse>;
|
|
14901
14896
|
/**
|
|
14902
14897
|
*
|
|
14903
14898
|
* @param {BookingsApiGetOpenBookingsRequest} requestParameters Request parameters.
|
|
@@ -14941,23 +14936,23 @@ export interface BookingsApiCreateGuestBookingRequest {
|
|
|
14941
14936
|
readonly createGuestBookingRequest: CreateGuestBookingRequest;
|
|
14942
14937
|
}
|
|
14943
14938
|
/**
|
|
14944
|
-
* Request parameters for
|
|
14939
|
+
* Request parameters for estimateOpenBookingJoin operation in BookingsApi.
|
|
14945
14940
|
* @export
|
|
14946
|
-
* @interface
|
|
14941
|
+
* @interface BookingsApiEstimateOpenBookingJoinRequest
|
|
14947
14942
|
*/
|
|
14948
|
-
export interface
|
|
14943
|
+
export interface BookingsApiEstimateOpenBookingJoinRequest {
|
|
14949
14944
|
/**
|
|
14950
14945
|
*
|
|
14951
14946
|
* @type {string}
|
|
14952
|
-
* @memberof
|
|
14947
|
+
* @memberof BookingsApiEstimateOpenBookingJoin
|
|
14953
14948
|
*/
|
|
14954
14949
|
readonly bookingId: string;
|
|
14955
14950
|
/**
|
|
14956
14951
|
*
|
|
14957
|
-
* @type {
|
|
14958
|
-
* @memberof
|
|
14952
|
+
* @type {EstimateOpenBookingJoinRequest}
|
|
14953
|
+
* @memberof BookingsApiEstimateOpenBookingJoin
|
|
14959
14954
|
*/
|
|
14960
|
-
readonly
|
|
14955
|
+
readonly estimateOpenBookingJoinRequest: EstimateOpenBookingJoinRequest;
|
|
14961
14956
|
}
|
|
14962
14957
|
/**
|
|
14963
14958
|
* Request parameters for getBookingHistory operation in BookingsApi.
|
|
@@ -14999,34 +14994,15 @@ export interface BookingsApiGetGuestBookingPriceRequest {
|
|
|
14999
14994
|
readonly getGuestBookingPriceRequest: GetGuestBookingPriceRequest;
|
|
15000
14995
|
}
|
|
15001
14996
|
/**
|
|
15002
|
-
* Request parameters for
|
|
14997
|
+
* Request parameters for getOpenBookingBasePrice operation in BookingsApi.
|
|
15003
14998
|
* @export
|
|
15004
|
-
* @interface
|
|
14999
|
+
* @interface BookingsApiGetOpenBookingBasePriceRequest
|
|
15005
15000
|
*/
|
|
15006
|
-
export interface
|
|
15001
|
+
export interface BookingsApiGetOpenBookingBasePriceRequest {
|
|
15007
15002
|
/**
|
|
15008
15003
|
*
|
|
15009
15004
|
* @type {string}
|
|
15010
|
-
* @memberof
|
|
15011
|
-
*/
|
|
15012
|
-
readonly bookingId: string;
|
|
15013
|
-
/**
|
|
15014
|
-
*
|
|
15015
|
-
* @type {number}
|
|
15016
|
-
* @memberof BookingsApiGetJoinPriceEstimate
|
|
15017
|
-
*/
|
|
15018
|
-
readonly creditToUseInCents?: number;
|
|
15019
|
-
}
|
|
15020
|
-
/**
|
|
15021
|
-
* Request parameters for getOpenBookingJoinPrice operation in BookingsApi.
|
|
15022
|
-
* @export
|
|
15023
|
-
* @interface BookingsApiGetOpenBookingJoinPriceRequest
|
|
15024
|
-
*/
|
|
15025
|
-
export interface BookingsApiGetOpenBookingJoinPriceRequest {
|
|
15026
|
-
/**
|
|
15027
|
-
*
|
|
15028
|
-
* @type {string}
|
|
15029
|
-
* @memberof BookingsApiGetOpenBookingJoinPrice
|
|
15005
|
+
* @memberof BookingsApiGetOpenBookingBasePrice
|
|
15030
15006
|
*/
|
|
15031
15007
|
readonly bookingId: string;
|
|
15032
15008
|
}
|
|
@@ -15164,13 +15140,13 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
15164
15140
|
*/
|
|
15165
15141
|
createGuestBooking(requestParameters: BookingsApiCreateGuestBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingResponse, any, {}>>;
|
|
15166
15142
|
/**
|
|
15167
|
-
*
|
|
15168
|
-
* @param {
|
|
15143
|
+
* Estime le prix pour rejoindre une réservation ouverte avec détails de paiement. Supporte soit isCreatorPayingAll, soit playerShares pour répartir les coûts.
|
|
15144
|
+
* @param {BookingsApiEstimateOpenBookingJoinRequest} requestParameters Request parameters.
|
|
15169
15145
|
* @param {*} [options] Override http request option.
|
|
15170
15146
|
* @throws {RequiredError}
|
|
15171
15147
|
* @memberof BookingsApi
|
|
15172
15148
|
*/
|
|
15173
|
-
|
|
15149
|
+
estimateOpenBookingJoin(requestParameters: BookingsApiEstimateOpenBookingJoinRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OpenBookingJoinEstimateResponse, any, {}>>;
|
|
15174
15150
|
/**
|
|
15175
15151
|
* Obtenir l\'historique d\'une réservation par ID
|
|
15176
15152
|
* @param {BookingsApiGetBookingHistoryRequest} requestParameters Request parameters.
|
|
@@ -15196,21 +15172,13 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
15196
15172
|
*/
|
|
15197
15173
|
getGuestBookingPrice(requestParameters: BookingsApiGetGuestBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetGuestBookingPrice200Response, any, {}>>;
|
|
15198
15174
|
/**
|
|
15199
|
-
*
|
|
15200
|
-
* @param {
|
|
15201
|
-
* @param {*} [options] Override http request option.
|
|
15202
|
-
* @throws {RequiredError}
|
|
15203
|
-
* @memberof BookingsApi
|
|
15204
|
-
*/
|
|
15205
|
-
getJoinPriceEstimate(requestParameters: BookingsApiGetJoinPriceEstimateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JoinPriceEstimateResponse, any, {}>>;
|
|
15206
|
-
/**
|
|
15207
|
-
* Estimer simplement le prix à payer pour rejoindre une réservation ouverte
|
|
15208
|
-
* @param {BookingsApiGetOpenBookingJoinPriceRequest} requestParameters Request parameters.
|
|
15175
|
+
* Obtient le prix de base pour rejoindre une réservation ouverte. Cette route ne prend pas en compte un utilisateur spécifique, elle retourne simplement le prix de base par joueur.
|
|
15176
|
+
* @param {BookingsApiGetOpenBookingBasePriceRequest} requestParameters Request parameters.
|
|
15209
15177
|
* @param {*} [options] Override http request option.
|
|
15210
15178
|
* @throws {RequiredError}
|
|
15211
15179
|
* @memberof BookingsApi
|
|
15212
15180
|
*/
|
|
15213
|
-
|
|
15181
|
+
getOpenBookingBasePrice(requestParameters: BookingsApiGetOpenBookingBasePriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OpenBookingBasePriceResponse, any, {}>>;
|
|
15214
15182
|
/**
|
|
15215
15183
|
*
|
|
15216
15184
|
* @param {BookingsApiGetOpenBookingsRequest} requestParameters Request parameters.
|