@tennac-booking/sdk 1.0.148 → 1.0.150
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 +368 -364
- package/README.md +11 -2
- package/api.ts +638 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +419 -1
- package/dist/api.js +336 -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 +419 -1
- package/dist/esm/api.js +336 -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/BookingsApi.md +160 -0
- package/docs/CreateGuestBookingRequest.md +32 -0
- package/docs/EstimateOpenEventBookingJoinPrice200Response.md +28 -0
- package/docs/EstimateOpenEventBookingJoinPrice200ResponseSubscriptionInfo.md +24 -0
- package/docs/EventsApi.md +111 -0
- package/docs/Gender.md +4 -0
- package/docs/GetOpenEventBookingJoinPrice200Response.md +22 -0
- package/docs/IUserAttributes.md +4 -0
- package/docs/RegisterRequestBody.md +4 -0
- package/docs/StaffUserProfileResponse.md +4 -0
- package/docs/UpdateUserRequestBody.md +4 -0
- package/docs/UserProfileResponse.md +4 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED
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.150
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4102,6 +4102,55 @@ export declare const CreateEventRequestVisibilityTypeEnum: {
|
|
|
4102
4102
|
readonly Invitation: "invitation";
|
|
4103
4103
|
};
|
|
4104
4104
|
export type CreateEventRequestVisibilityTypeEnum = typeof CreateEventRequestVisibilityTypeEnum[keyof typeof CreateEventRequestVisibilityTypeEnum];
|
|
4105
|
+
/**
|
|
4106
|
+
*
|
|
4107
|
+
* @export
|
|
4108
|
+
* @interface CreateGuestBookingRequest
|
|
4109
|
+
*/
|
|
4110
|
+
export interface CreateGuestBookingRequest {
|
|
4111
|
+
/**
|
|
4112
|
+
* ID du créneau à réserver
|
|
4113
|
+
* @type {Array<string>}
|
|
4114
|
+
* @memberof CreateGuestBookingRequest
|
|
4115
|
+
*/
|
|
4116
|
+
'slotIds': Array<string>;
|
|
4117
|
+
/**
|
|
4118
|
+
* Prénom de l\'invité
|
|
4119
|
+
* @type {string}
|
|
4120
|
+
* @memberof CreateGuestBookingRequest
|
|
4121
|
+
*/
|
|
4122
|
+
'firstName': string;
|
|
4123
|
+
/**
|
|
4124
|
+
* Nom de famille de l\'invité
|
|
4125
|
+
* @type {string}
|
|
4126
|
+
* @memberof CreateGuestBookingRequest
|
|
4127
|
+
*/
|
|
4128
|
+
'lastName': string;
|
|
4129
|
+
/**
|
|
4130
|
+
* Email de l\'invité
|
|
4131
|
+
* @type {string}
|
|
4132
|
+
* @memberof CreateGuestBookingRequest
|
|
4133
|
+
*/
|
|
4134
|
+
'email': string;
|
|
4135
|
+
/**
|
|
4136
|
+
* Numéro de téléphone de l\'invité
|
|
4137
|
+
* @type {string}
|
|
4138
|
+
* @memberof CreateGuestBookingRequest
|
|
4139
|
+
*/
|
|
4140
|
+
'phoneNumber'?: string;
|
|
4141
|
+
/**
|
|
4142
|
+
*
|
|
4143
|
+
* @type {PaymentMethod}
|
|
4144
|
+
* @memberof CreateGuestBookingRequest
|
|
4145
|
+
*/
|
|
4146
|
+
'paymentMethod': PaymentMethod;
|
|
4147
|
+
/**
|
|
4148
|
+
* Indique si l\'utilisateur veut utiliser sa méthode de paiement par défaut
|
|
4149
|
+
* @type {boolean}
|
|
4150
|
+
* @memberof CreateGuestBookingRequest
|
|
4151
|
+
*/
|
|
4152
|
+
'useDefaultPaymentMethod'?: boolean;
|
|
4153
|
+
}
|
|
4105
4154
|
/**
|
|
4106
4155
|
*
|
|
4107
4156
|
* @export
|
|
@@ -4698,6 +4747,68 @@ export interface EstimateEventPriceRequestSharesInner {
|
|
|
4698
4747
|
*/
|
|
4699
4748
|
'playerId': string;
|
|
4700
4749
|
}
|
|
4750
|
+
/**
|
|
4751
|
+
*
|
|
4752
|
+
* @export
|
|
4753
|
+
* @interface EstimateOpenEventBookingJoinPrice200Response
|
|
4754
|
+
*/
|
|
4755
|
+
export interface EstimateOpenEventBookingJoinPrice200Response {
|
|
4756
|
+
/**
|
|
4757
|
+
*
|
|
4758
|
+
* @type {EstimateOpenEventBookingJoinPrice200ResponseSubscriptionInfo}
|
|
4759
|
+
* @memberof EstimateOpenEventBookingJoinPrice200Response
|
|
4760
|
+
*/
|
|
4761
|
+
'subscriptionInfo'?: EstimateOpenEventBookingJoinPrice200ResponseSubscriptionInfo;
|
|
4762
|
+
/**
|
|
4763
|
+
*
|
|
4764
|
+
* @type {number}
|
|
4765
|
+
* @memberof EstimateOpenEventBookingJoinPrice200Response
|
|
4766
|
+
*/
|
|
4767
|
+
'finalPrice': number;
|
|
4768
|
+
/**
|
|
4769
|
+
*
|
|
4770
|
+
* @type {number}
|
|
4771
|
+
* @memberof EstimateOpenEventBookingJoinPrice200Response
|
|
4772
|
+
*/
|
|
4773
|
+
'creditApplied': number;
|
|
4774
|
+
/**
|
|
4775
|
+
*
|
|
4776
|
+
* @type {number}
|
|
4777
|
+
* @memberof EstimateOpenEventBookingJoinPrice200Response
|
|
4778
|
+
*/
|
|
4779
|
+
'discountedPrice': number;
|
|
4780
|
+
/**
|
|
4781
|
+
*
|
|
4782
|
+
* @type {number}
|
|
4783
|
+
* @memberof EstimateOpenEventBookingJoinPrice200Response
|
|
4784
|
+
*/
|
|
4785
|
+
'basePrice': number;
|
|
4786
|
+
}
|
|
4787
|
+
/**
|
|
4788
|
+
*
|
|
4789
|
+
* @export
|
|
4790
|
+
* @interface EstimateOpenEventBookingJoinPrice200ResponseSubscriptionInfo
|
|
4791
|
+
*/
|
|
4792
|
+
export interface EstimateOpenEventBookingJoinPrice200ResponseSubscriptionInfo {
|
|
4793
|
+
/**
|
|
4794
|
+
*
|
|
4795
|
+
* @type {string}
|
|
4796
|
+
* @memberof EstimateOpenEventBookingJoinPrice200ResponseSubscriptionInfo
|
|
4797
|
+
*/
|
|
4798
|
+
'subscriptionName'?: string;
|
|
4799
|
+
/**
|
|
4800
|
+
*
|
|
4801
|
+
* @type {number}
|
|
4802
|
+
* @memberof EstimateOpenEventBookingJoinPrice200ResponseSubscriptionInfo
|
|
4803
|
+
*/
|
|
4804
|
+
'discountPercentage'?: number;
|
|
4805
|
+
/**
|
|
4806
|
+
*
|
|
4807
|
+
* @type {boolean}
|
|
4808
|
+
* @memberof EstimateOpenEventBookingJoinPrice200ResponseSubscriptionInfo
|
|
4809
|
+
*/
|
|
4810
|
+
'hasSubscription': boolean;
|
|
4811
|
+
}
|
|
4701
4812
|
/**
|
|
4702
4813
|
*
|
|
4703
4814
|
* @export
|
|
@@ -5427,6 +5538,8 @@ export interface FavoritePlayersResponse {
|
|
|
5427
5538
|
export declare const Gender: {
|
|
5428
5539
|
readonly Male: "male";
|
|
5429
5540
|
readonly Female: "female";
|
|
5541
|
+
readonly NonBinary: "non_binary";
|
|
5542
|
+
readonly Transgender: "transgender";
|
|
5430
5543
|
readonly Other: "other";
|
|
5431
5544
|
};
|
|
5432
5545
|
export type Gender = typeof Gender[keyof typeof Gender];
|
|
@@ -5645,6 +5758,25 @@ export interface GetOpenBookings200Response {
|
|
|
5645
5758
|
*/
|
|
5646
5759
|
'bookings': Array<BookingInfo>;
|
|
5647
5760
|
}
|
|
5761
|
+
/**
|
|
5762
|
+
*
|
|
5763
|
+
* @export
|
|
5764
|
+
* @interface GetOpenEventBookingJoinPrice200Response
|
|
5765
|
+
*/
|
|
5766
|
+
export interface GetOpenEventBookingJoinPrice200Response {
|
|
5767
|
+
/**
|
|
5768
|
+
*
|
|
5769
|
+
* @type {number}
|
|
5770
|
+
* @memberof GetOpenEventBookingJoinPrice200Response
|
|
5771
|
+
*/
|
|
5772
|
+
'availableCreditsInCents': number;
|
|
5773
|
+
/**
|
|
5774
|
+
*
|
|
5775
|
+
* @type {number}
|
|
5776
|
+
* @memberof GetOpenEventBookingJoinPrice200Response
|
|
5777
|
+
*/
|
|
5778
|
+
'priceToPayInCents': number;
|
|
5779
|
+
}
|
|
5648
5780
|
/**
|
|
5649
5781
|
*
|
|
5650
5782
|
* @export
|
|
@@ -5990,6 +6122,12 @@ export interface IUserAttributes {
|
|
|
5990
6122
|
* @memberof IUserAttributes
|
|
5991
6123
|
*/
|
|
5992
6124
|
'phone'?: string;
|
|
6125
|
+
/**
|
|
6126
|
+
*
|
|
6127
|
+
* @type {string}
|
|
6128
|
+
* @memberof IUserAttributes
|
|
6129
|
+
*/
|
|
6130
|
+
'birthDate'?: string;
|
|
5993
6131
|
/**
|
|
5994
6132
|
*
|
|
5995
6133
|
* @type {string}
|
|
@@ -6032,6 +6170,12 @@ export interface IUserAttributes {
|
|
|
6032
6170
|
* @memberof IUserAttributes
|
|
6033
6171
|
*/
|
|
6034
6172
|
'organizations'?: Array<IUserAttributesOrganizationsInner>;
|
|
6173
|
+
/**
|
|
6174
|
+
*
|
|
6175
|
+
* @type {boolean}
|
|
6176
|
+
* @memberof IUserAttributes
|
|
6177
|
+
*/
|
|
6178
|
+
'isGuest'?: boolean;
|
|
6035
6179
|
/**
|
|
6036
6180
|
*
|
|
6037
6181
|
* @type {boolean}
|
|
@@ -8616,6 +8760,18 @@ export interface RegisterRequestBody {
|
|
|
8616
8760
|
* @memberof RegisterRequestBody
|
|
8617
8761
|
*/
|
|
8618
8762
|
'phone'?: string;
|
|
8763
|
+
/**
|
|
8764
|
+
*
|
|
8765
|
+
* @type {Gender}
|
|
8766
|
+
* @memberof RegisterRequestBody
|
|
8767
|
+
*/
|
|
8768
|
+
'gender'?: Gender;
|
|
8769
|
+
/**
|
|
8770
|
+
*
|
|
8771
|
+
* @type {string}
|
|
8772
|
+
* @memberof RegisterRequestBody
|
|
8773
|
+
*/
|
|
8774
|
+
'birthDate'?: string;
|
|
8619
8775
|
/**
|
|
8620
8776
|
*
|
|
8621
8777
|
* @type {string}
|
|
@@ -9591,6 +9747,12 @@ export interface StaffUserProfileResponse {
|
|
|
9591
9747
|
* @memberof StaffUserProfileResponse
|
|
9592
9748
|
*/
|
|
9593
9749
|
'phone'?: string;
|
|
9750
|
+
/**
|
|
9751
|
+
*
|
|
9752
|
+
* @type {string}
|
|
9753
|
+
* @memberof StaffUserProfileResponse
|
|
9754
|
+
*/
|
|
9755
|
+
'birthDate'?: string;
|
|
9594
9756
|
/**
|
|
9595
9757
|
*
|
|
9596
9758
|
* @type {string}
|
|
@@ -9633,6 +9795,12 @@ export interface StaffUserProfileResponse {
|
|
|
9633
9795
|
* @memberof StaffUserProfileResponse
|
|
9634
9796
|
*/
|
|
9635
9797
|
'organizations'?: Array<IUserAttributesOrganizationsInner>;
|
|
9798
|
+
/**
|
|
9799
|
+
*
|
|
9800
|
+
* @type {boolean}
|
|
9801
|
+
* @memberof StaffUserProfileResponse
|
|
9802
|
+
*/
|
|
9803
|
+
'isGuest'?: boolean;
|
|
9636
9804
|
/**
|
|
9637
9805
|
*
|
|
9638
9806
|
* @type {boolean}
|
|
@@ -10970,6 +11138,18 @@ export interface UpdateUserRequestBody {
|
|
|
10970
11138
|
* @memberof UpdateUserRequestBody
|
|
10971
11139
|
*/
|
|
10972
11140
|
'phone'?: string;
|
|
11141
|
+
/**
|
|
11142
|
+
*
|
|
11143
|
+
* @type {Gender}
|
|
11144
|
+
* @memberof UpdateUserRequestBody
|
|
11145
|
+
*/
|
|
11146
|
+
'gender'?: Gender;
|
|
11147
|
+
/**
|
|
11148
|
+
*
|
|
11149
|
+
* @type {string}
|
|
11150
|
+
* @memberof UpdateUserRequestBody
|
|
11151
|
+
*/
|
|
11152
|
+
'birthDate'?: string;
|
|
10973
11153
|
/**
|
|
10974
11154
|
*
|
|
10975
11155
|
* @type {string}
|
|
@@ -11602,6 +11782,12 @@ export interface UserProfileResponse {
|
|
|
11602
11782
|
* @memberof UserProfileResponse
|
|
11603
11783
|
*/
|
|
11604
11784
|
'phone'?: string;
|
|
11785
|
+
/**
|
|
11786
|
+
*
|
|
11787
|
+
* @type {string}
|
|
11788
|
+
* @memberof UserProfileResponse
|
|
11789
|
+
*/
|
|
11790
|
+
'birthDate'?: string;
|
|
11605
11791
|
/**
|
|
11606
11792
|
*
|
|
11607
11793
|
* @type {string}
|
|
@@ -11644,6 +11830,12 @@ export interface UserProfileResponse {
|
|
|
11644
11830
|
* @memberof UserProfileResponse
|
|
11645
11831
|
*/
|
|
11646
11832
|
'organizations'?: Array<IUserAttributesOrganizationsInner>;
|
|
11833
|
+
/**
|
|
11834
|
+
*
|
|
11835
|
+
* @type {boolean}
|
|
11836
|
+
* @memberof UserProfileResponse
|
|
11837
|
+
*/
|
|
11838
|
+
'isGuest'?: boolean;
|
|
11647
11839
|
/**
|
|
11648
11840
|
*
|
|
11649
11841
|
* @type {boolean}
|
|
@@ -11903,6 +12095,21 @@ export interface YearlyTurnoverResponse {
|
|
|
11903
12095
|
* @export
|
|
11904
12096
|
*/
|
|
11905
12097
|
export declare const BookingsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
12098
|
+
/**
|
|
12099
|
+
* Créer une réservation en tant qu\'invité (guest)
|
|
12100
|
+
* @param {CreateGuestBookingRequest} createGuestBookingRequest
|
|
12101
|
+
* @param {*} [options] Override http request option.
|
|
12102
|
+
* @throws {RequiredError}
|
|
12103
|
+
*/
|
|
12104
|
+
createGuestBooking: (createGuestBookingRequest: CreateGuestBookingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12105
|
+
/**
|
|
12106
|
+
* Estimer le prix pour rejoindre une réservation ouverte
|
|
12107
|
+
* @param {string} bookingId
|
|
12108
|
+
* @param {number} [creditToUseInCents]
|
|
12109
|
+
* @param {*} [options] Override http request option.
|
|
12110
|
+
* @throws {RequiredError}
|
|
12111
|
+
*/
|
|
12112
|
+
estimateOpenBookingJoinPrice: (bookingId: string, creditToUseInCents?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11906
12113
|
/**
|
|
11907
12114
|
* Obtenir l\'historique d\'une réservation par ID
|
|
11908
12115
|
* @param {string} bookingId
|
|
@@ -11917,6 +12124,13 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
11917
12124
|
* @throws {RequiredError}
|
|
11918
12125
|
*/
|
|
11919
12126
|
getBookingPrice: (bookingPriceBody: BookingPriceBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12127
|
+
/**
|
|
12128
|
+
* Estimer simplement le prix à payer pour rejoindre une réservation ouverte
|
|
12129
|
+
* @param {string} bookingId
|
|
12130
|
+
* @param {*} [options] Override http request option.
|
|
12131
|
+
* @throws {RequiredError}
|
|
12132
|
+
*/
|
|
12133
|
+
getOpenBookingJoinPrice: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11920
12134
|
/**
|
|
11921
12135
|
*
|
|
11922
12136
|
* @param {string} [clubId]
|
|
@@ -11962,6 +12176,21 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
11962
12176
|
* @export
|
|
11963
12177
|
*/
|
|
11964
12178
|
export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
12179
|
+
/**
|
|
12180
|
+
* Créer une réservation en tant qu\'invité (guest)
|
|
12181
|
+
* @param {CreateGuestBookingRequest} createGuestBookingRequest
|
|
12182
|
+
* @param {*} [options] Override http request option.
|
|
12183
|
+
* @throws {RequiredError}
|
|
12184
|
+
*/
|
|
12185
|
+
createGuestBooking(createGuestBookingRequest: CreateGuestBookingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponse>>;
|
|
12186
|
+
/**
|
|
12187
|
+
* Estimer le prix pour rejoindre une réservation ouverte
|
|
12188
|
+
* @param {string} bookingId
|
|
12189
|
+
* @param {number} [creditToUseInCents]
|
|
12190
|
+
* @param {*} [options] Override http request option.
|
|
12191
|
+
* @throws {RequiredError}
|
|
12192
|
+
*/
|
|
12193
|
+
estimateOpenBookingJoinPrice(bookingId: string, creditToUseInCents?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EstimateOpenEventBookingJoinPrice200Response>>;
|
|
11965
12194
|
/**
|
|
11966
12195
|
* Obtenir l\'historique d\'une réservation par ID
|
|
11967
12196
|
* @param {string} bookingId
|
|
@@ -11976,6 +12205,13 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
11976
12205
|
* @throws {RequiredError}
|
|
11977
12206
|
*/
|
|
11978
12207
|
getBookingPrice(bookingPriceBody: BookingPriceBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingPriceResponse>>;
|
|
12208
|
+
/**
|
|
12209
|
+
* Estimer simplement le prix à payer pour rejoindre une réservation ouverte
|
|
12210
|
+
* @param {string} bookingId
|
|
12211
|
+
* @param {*} [options] Override http request option.
|
|
12212
|
+
* @throws {RequiredError}
|
|
12213
|
+
*/
|
|
12214
|
+
getOpenBookingJoinPrice(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOpenEventBookingJoinPrice200Response>>;
|
|
11979
12215
|
/**
|
|
11980
12216
|
*
|
|
11981
12217
|
* @param {string} [clubId]
|
|
@@ -12021,6 +12257,20 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
12021
12257
|
* @export
|
|
12022
12258
|
*/
|
|
12023
12259
|
export declare const BookingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
12260
|
+
/**
|
|
12261
|
+
* Créer une réservation en tant qu\'invité (guest)
|
|
12262
|
+
* @param {BookingsApiCreateGuestBookingRequest} requestParameters Request parameters.
|
|
12263
|
+
* @param {*} [options] Override http request option.
|
|
12264
|
+
* @throws {RequiredError}
|
|
12265
|
+
*/
|
|
12266
|
+
createGuestBooking(requestParameters: BookingsApiCreateGuestBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponse>;
|
|
12267
|
+
/**
|
|
12268
|
+
* Estimer le prix pour rejoindre une réservation ouverte
|
|
12269
|
+
* @param {BookingsApiEstimateOpenBookingJoinPriceRequest} requestParameters Request parameters.
|
|
12270
|
+
* @param {*} [options] Override http request option.
|
|
12271
|
+
* @throws {RequiredError}
|
|
12272
|
+
*/
|
|
12273
|
+
estimateOpenBookingJoinPrice(requestParameters: BookingsApiEstimateOpenBookingJoinPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<EstimateOpenEventBookingJoinPrice200Response>;
|
|
12024
12274
|
/**
|
|
12025
12275
|
* Obtenir l\'historique d\'une réservation par ID
|
|
12026
12276
|
* @param {BookingsApiGetBookingHistoryRequest} requestParameters Request parameters.
|
|
@@ -12035,6 +12285,13 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
12035
12285
|
* @throws {RequiredError}
|
|
12036
12286
|
*/
|
|
12037
12287
|
getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingPriceResponse>;
|
|
12288
|
+
/**
|
|
12289
|
+
* Estimer simplement le prix à payer pour rejoindre une réservation ouverte
|
|
12290
|
+
* @param {BookingsApiGetOpenBookingJoinPriceRequest} requestParameters Request parameters.
|
|
12291
|
+
* @param {*} [options] Override http request option.
|
|
12292
|
+
* @throws {RequiredError}
|
|
12293
|
+
*/
|
|
12294
|
+
getOpenBookingJoinPrice(requestParameters: BookingsApiGetOpenBookingJoinPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetOpenEventBookingJoinPrice200Response>;
|
|
12038
12295
|
/**
|
|
12039
12296
|
*
|
|
12040
12297
|
* @param {BookingsApiGetOpenBookingsRequest} requestParameters Request parameters.
|
|
@@ -12064,6 +12321,38 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
12064
12321
|
*/
|
|
12065
12322
|
leaveOpenBooking(requestParameters: BookingsApiLeaveOpenBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response>;
|
|
12066
12323
|
};
|
|
12324
|
+
/**
|
|
12325
|
+
* Request parameters for createGuestBooking operation in BookingsApi.
|
|
12326
|
+
* @export
|
|
12327
|
+
* @interface BookingsApiCreateGuestBookingRequest
|
|
12328
|
+
*/
|
|
12329
|
+
export interface BookingsApiCreateGuestBookingRequest {
|
|
12330
|
+
/**
|
|
12331
|
+
*
|
|
12332
|
+
* @type {CreateGuestBookingRequest}
|
|
12333
|
+
* @memberof BookingsApiCreateGuestBooking
|
|
12334
|
+
*/
|
|
12335
|
+
readonly createGuestBookingRequest: CreateGuestBookingRequest;
|
|
12336
|
+
}
|
|
12337
|
+
/**
|
|
12338
|
+
* Request parameters for estimateOpenBookingJoinPrice operation in BookingsApi.
|
|
12339
|
+
* @export
|
|
12340
|
+
* @interface BookingsApiEstimateOpenBookingJoinPriceRequest
|
|
12341
|
+
*/
|
|
12342
|
+
export interface BookingsApiEstimateOpenBookingJoinPriceRequest {
|
|
12343
|
+
/**
|
|
12344
|
+
*
|
|
12345
|
+
* @type {string}
|
|
12346
|
+
* @memberof BookingsApiEstimateOpenBookingJoinPrice
|
|
12347
|
+
*/
|
|
12348
|
+
readonly bookingId: string;
|
|
12349
|
+
/**
|
|
12350
|
+
*
|
|
12351
|
+
* @type {number}
|
|
12352
|
+
* @memberof BookingsApiEstimateOpenBookingJoinPrice
|
|
12353
|
+
*/
|
|
12354
|
+
readonly creditToUseInCents?: number;
|
|
12355
|
+
}
|
|
12067
12356
|
/**
|
|
12068
12357
|
* Request parameters for getBookingHistory operation in BookingsApi.
|
|
12069
12358
|
* @export
|
|
@@ -12090,6 +12379,19 @@ export interface BookingsApiGetBookingPriceRequest {
|
|
|
12090
12379
|
*/
|
|
12091
12380
|
readonly bookingPriceBody: BookingPriceBody;
|
|
12092
12381
|
}
|
|
12382
|
+
/**
|
|
12383
|
+
* Request parameters for getOpenBookingJoinPrice operation in BookingsApi.
|
|
12384
|
+
* @export
|
|
12385
|
+
* @interface BookingsApiGetOpenBookingJoinPriceRequest
|
|
12386
|
+
*/
|
|
12387
|
+
export interface BookingsApiGetOpenBookingJoinPriceRequest {
|
|
12388
|
+
/**
|
|
12389
|
+
*
|
|
12390
|
+
* @type {string}
|
|
12391
|
+
* @memberof BookingsApiGetOpenBookingJoinPrice
|
|
12392
|
+
*/
|
|
12393
|
+
readonly bookingId: string;
|
|
12394
|
+
}
|
|
12093
12395
|
/**
|
|
12094
12396
|
* Request parameters for getOpenBookings operation in BookingsApi.
|
|
12095
12397
|
* @export
|
|
@@ -12215,6 +12517,22 @@ export interface BookingsApiLeaveOpenBookingRequest {
|
|
|
12215
12517
|
* @extends {BaseAPI}
|
|
12216
12518
|
*/
|
|
12217
12519
|
export declare class BookingsApi extends BaseAPI {
|
|
12520
|
+
/**
|
|
12521
|
+
* Créer une réservation en tant qu\'invité (guest)
|
|
12522
|
+
* @param {BookingsApiCreateGuestBookingRequest} requestParameters Request parameters.
|
|
12523
|
+
* @param {*} [options] Override http request option.
|
|
12524
|
+
* @throws {RequiredError}
|
|
12525
|
+
* @memberof BookingsApi
|
|
12526
|
+
*/
|
|
12527
|
+
createGuestBooking(requestParameters: BookingsApiCreateGuestBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingResponse, any, {}>>;
|
|
12528
|
+
/**
|
|
12529
|
+
* Estimer le prix pour rejoindre une réservation ouverte
|
|
12530
|
+
* @param {BookingsApiEstimateOpenBookingJoinPriceRequest} requestParameters Request parameters.
|
|
12531
|
+
* @param {*} [options] Override http request option.
|
|
12532
|
+
* @throws {RequiredError}
|
|
12533
|
+
* @memberof BookingsApi
|
|
12534
|
+
*/
|
|
12535
|
+
estimateOpenBookingJoinPrice(requestParameters: BookingsApiEstimateOpenBookingJoinPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EstimateOpenEventBookingJoinPrice200Response, any, {}>>;
|
|
12218
12536
|
/**
|
|
12219
12537
|
* Obtenir l\'historique d\'une réservation par ID
|
|
12220
12538
|
* @param {BookingsApiGetBookingHistoryRequest} requestParameters Request parameters.
|
|
@@ -12231,6 +12549,14 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
12231
12549
|
* @memberof BookingsApi
|
|
12232
12550
|
*/
|
|
12233
12551
|
getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingPriceResponse, any, {}>>;
|
|
12552
|
+
/**
|
|
12553
|
+
* Estimer simplement le prix à payer pour rejoindre une réservation ouverte
|
|
12554
|
+
* @param {BookingsApiGetOpenBookingJoinPriceRequest} requestParameters Request parameters.
|
|
12555
|
+
* @param {*} [options] Override http request option.
|
|
12556
|
+
* @throws {RequiredError}
|
|
12557
|
+
* @memberof BookingsApi
|
|
12558
|
+
*/
|
|
12559
|
+
getOpenBookingJoinPrice(requestParameters: BookingsApiGetOpenBookingJoinPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOpenEventBookingJoinPrice200Response, any, {}>>;
|
|
12234
12560
|
/**
|
|
12235
12561
|
*
|
|
12236
12562
|
* @param {BookingsApiGetOpenBookingsRequest} requestParameters Request parameters.
|
|
@@ -17140,6 +17466,14 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
17140
17466
|
* @throws {RequiredError}
|
|
17141
17467
|
*/
|
|
17142
17468
|
estimateEventPrice: (eventId: string, estimateEventPriceRequest: EstimateEventPriceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17469
|
+
/**
|
|
17470
|
+
* Estimer le prix pour rejoindre un événement ouvert
|
|
17471
|
+
* @param {string} eventBookingId
|
|
17472
|
+
* @param {number} [creditToUseInCents]
|
|
17473
|
+
* @param {*} [options] Override http request option.
|
|
17474
|
+
* @throws {RequiredError}
|
|
17475
|
+
*/
|
|
17476
|
+
estimateOpenEventBookingJoinPrice: (eventBookingId: string, creditToUseInCents?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17143
17477
|
/**
|
|
17144
17478
|
* Get a specific event by ID
|
|
17145
17479
|
* @param {string} eventId
|
|
@@ -17148,6 +17482,13 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
17148
17482
|
* @throws {RequiredError}
|
|
17149
17483
|
*/
|
|
17150
17484
|
getEventById: (eventId: string, userId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17485
|
+
/**
|
|
17486
|
+
* Estimer simplement le prix à payer pour rejoindre un événement ouvert
|
|
17487
|
+
* @param {string} eventBookingId
|
|
17488
|
+
* @param {*} [options] Override http request option.
|
|
17489
|
+
* @throws {RequiredError}
|
|
17490
|
+
*/
|
|
17491
|
+
getOpenEventBookingJoinPrice: (eventBookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17151
17492
|
/**
|
|
17152
17493
|
*
|
|
17153
17494
|
* @param {string} [clubId]
|
|
@@ -17218,6 +17559,14 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
|
|
|
17218
17559
|
* @throws {RequiredError}
|
|
17219
17560
|
*/
|
|
17220
17561
|
estimateEventPrice(eventId: string, estimateEventPriceRequest: EstimateEventPriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EstimateEventPrice200Response>>;
|
|
17562
|
+
/**
|
|
17563
|
+
* Estimer le prix pour rejoindre un événement ouvert
|
|
17564
|
+
* @param {string} eventBookingId
|
|
17565
|
+
* @param {number} [creditToUseInCents]
|
|
17566
|
+
* @param {*} [options] Override http request option.
|
|
17567
|
+
* @throws {RequiredError}
|
|
17568
|
+
*/
|
|
17569
|
+
estimateOpenEventBookingJoinPrice(eventBookingId: string, creditToUseInCents?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EstimateOpenEventBookingJoinPrice200Response>>;
|
|
17221
17570
|
/**
|
|
17222
17571
|
* Get a specific event by ID
|
|
17223
17572
|
* @param {string} eventId
|
|
@@ -17226,6 +17575,13 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
|
|
|
17226
17575
|
* @throws {RequiredError}
|
|
17227
17576
|
*/
|
|
17228
17577
|
getEventById(eventId: string, userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>>;
|
|
17578
|
+
/**
|
|
17579
|
+
* Estimer simplement le prix à payer pour rejoindre un événement ouvert
|
|
17580
|
+
* @param {string} eventBookingId
|
|
17581
|
+
* @param {*} [options] Override http request option.
|
|
17582
|
+
* @throws {RequiredError}
|
|
17583
|
+
*/
|
|
17584
|
+
getOpenEventBookingJoinPrice(eventBookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOpenEventBookingJoinPrice200Response>>;
|
|
17229
17585
|
/**
|
|
17230
17586
|
*
|
|
17231
17587
|
* @param {string} [clubId]
|
|
@@ -17294,6 +17650,13 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
|
|
|
17294
17650
|
* @throws {RequiredError}
|
|
17295
17651
|
*/
|
|
17296
17652
|
estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<EstimateEventPrice200Response>;
|
|
17653
|
+
/**
|
|
17654
|
+
* Estimer le prix pour rejoindre un événement ouvert
|
|
17655
|
+
* @param {EventsApiEstimateOpenEventBookingJoinPriceRequest} requestParameters Request parameters.
|
|
17656
|
+
* @param {*} [options] Override http request option.
|
|
17657
|
+
* @throws {RequiredError}
|
|
17658
|
+
*/
|
|
17659
|
+
estimateOpenEventBookingJoinPrice(requestParameters: EventsApiEstimateOpenEventBookingJoinPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<EstimateOpenEventBookingJoinPrice200Response>;
|
|
17297
17660
|
/**
|
|
17298
17661
|
* Get a specific event by ID
|
|
17299
17662
|
* @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
|
|
@@ -17301,6 +17664,13 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
|
|
|
17301
17664
|
* @throws {RequiredError}
|
|
17302
17665
|
*/
|
|
17303
17666
|
getEventById(requestParameters: EventsApiGetEventByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublishEventResponse>;
|
|
17667
|
+
/**
|
|
17668
|
+
* Estimer simplement le prix à payer pour rejoindre un événement ouvert
|
|
17669
|
+
* @param {EventsApiGetOpenEventBookingJoinPriceRequest} requestParameters Request parameters.
|
|
17670
|
+
* @param {*} [options] Override http request option.
|
|
17671
|
+
* @throws {RequiredError}
|
|
17672
|
+
*/
|
|
17673
|
+
getOpenEventBookingJoinPrice(requestParameters: EventsApiGetOpenEventBookingJoinPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetOpenEventBookingJoinPrice200Response>;
|
|
17304
17674
|
/**
|
|
17305
17675
|
*
|
|
17306
17676
|
* @param {EventsApiGetOpenEventBookingsRequest} requestParameters Request parameters.
|
|
@@ -17382,6 +17752,25 @@ export interface EventsApiEstimateEventPriceRequest {
|
|
|
17382
17752
|
*/
|
|
17383
17753
|
readonly estimateEventPriceRequest: EstimateEventPriceRequest;
|
|
17384
17754
|
}
|
|
17755
|
+
/**
|
|
17756
|
+
* Request parameters for estimateOpenEventBookingJoinPrice operation in EventsApi.
|
|
17757
|
+
* @export
|
|
17758
|
+
* @interface EventsApiEstimateOpenEventBookingJoinPriceRequest
|
|
17759
|
+
*/
|
|
17760
|
+
export interface EventsApiEstimateOpenEventBookingJoinPriceRequest {
|
|
17761
|
+
/**
|
|
17762
|
+
*
|
|
17763
|
+
* @type {string}
|
|
17764
|
+
* @memberof EventsApiEstimateOpenEventBookingJoinPrice
|
|
17765
|
+
*/
|
|
17766
|
+
readonly eventBookingId: string;
|
|
17767
|
+
/**
|
|
17768
|
+
*
|
|
17769
|
+
* @type {number}
|
|
17770
|
+
* @memberof EventsApiEstimateOpenEventBookingJoinPrice
|
|
17771
|
+
*/
|
|
17772
|
+
readonly creditToUseInCents?: number;
|
|
17773
|
+
}
|
|
17385
17774
|
/**
|
|
17386
17775
|
* Request parameters for getEventById operation in EventsApi.
|
|
17387
17776
|
* @export
|
|
@@ -17401,6 +17790,19 @@ export interface EventsApiGetEventByIdRequest {
|
|
|
17401
17790
|
*/
|
|
17402
17791
|
readonly userId?: string;
|
|
17403
17792
|
}
|
|
17793
|
+
/**
|
|
17794
|
+
* Request parameters for getOpenEventBookingJoinPrice operation in EventsApi.
|
|
17795
|
+
* @export
|
|
17796
|
+
* @interface EventsApiGetOpenEventBookingJoinPriceRequest
|
|
17797
|
+
*/
|
|
17798
|
+
export interface EventsApiGetOpenEventBookingJoinPriceRequest {
|
|
17799
|
+
/**
|
|
17800
|
+
*
|
|
17801
|
+
* @type {string}
|
|
17802
|
+
* @memberof EventsApiGetOpenEventBookingJoinPrice
|
|
17803
|
+
*/
|
|
17804
|
+
readonly eventBookingId: string;
|
|
17805
|
+
}
|
|
17404
17806
|
/**
|
|
17405
17807
|
* Request parameters for getOpenEventBookings operation in EventsApi.
|
|
17406
17808
|
* @export
|
|
@@ -17538,6 +17940,14 @@ export declare class EventsApi extends BaseAPI {
|
|
|
17538
17940
|
* @memberof EventsApi
|
|
17539
17941
|
*/
|
|
17540
17942
|
estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EstimateEventPrice200Response, any, {}>>;
|
|
17943
|
+
/**
|
|
17944
|
+
* Estimer le prix pour rejoindre un événement ouvert
|
|
17945
|
+
* @param {EventsApiEstimateOpenEventBookingJoinPriceRequest} requestParameters Request parameters.
|
|
17946
|
+
* @param {*} [options] Override http request option.
|
|
17947
|
+
* @throws {RequiredError}
|
|
17948
|
+
* @memberof EventsApi
|
|
17949
|
+
*/
|
|
17950
|
+
estimateOpenEventBookingJoinPrice(requestParameters: EventsApiEstimateOpenEventBookingJoinPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EstimateOpenEventBookingJoinPrice200Response, any, {}>>;
|
|
17541
17951
|
/**
|
|
17542
17952
|
* Get a specific event by ID
|
|
17543
17953
|
* @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
|
|
@@ -17546,6 +17956,14 @@ export declare class EventsApi extends BaseAPI {
|
|
|
17546
17956
|
* @memberof EventsApi
|
|
17547
17957
|
*/
|
|
17548
17958
|
getEventById(requestParameters: EventsApiGetEventByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublishEventResponse, any, {}>>;
|
|
17959
|
+
/**
|
|
17960
|
+
* Estimer simplement le prix à payer pour rejoindre un événement ouvert
|
|
17961
|
+
* @param {EventsApiGetOpenEventBookingJoinPriceRequest} requestParameters Request parameters.
|
|
17962
|
+
* @param {*} [options] Override http request option.
|
|
17963
|
+
* @throws {RequiredError}
|
|
17964
|
+
* @memberof EventsApi
|
|
17965
|
+
*/
|
|
17966
|
+
getOpenEventBookingJoinPrice(requestParameters: EventsApiGetOpenEventBookingJoinPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOpenEventBookingJoinPrice200Response, any, {}>>;
|
|
17549
17967
|
/**
|
|
17550
17968
|
*
|
|
17551
17969
|
* @param {EventsApiGetOpenEventBookingsRequest} requestParameters Request parameters.
|