@tennac-booking/sdk 1.0.149 → 1.0.151
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 +4 -1
- package/README.md +10 -2
- package/api.ts +472 -16
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +308 -16
- package/dist/api.js +257 -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 +308 -16
- package/dist/esm/api.js +257 -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 +158 -0
- package/docs/CreateGuestBookingRequest.md +32 -0
- package/docs/EventsApi.md +54 -0
- package/docs/GetGuestBookingPrice200Response.md +20 -0
- package/docs/GetGuestBookingPriceRequest.md +20 -0
- package/docs/GetOpenEventBookingJoinPrice200Response.md +22 -0
- package/docs/IUserAttributes.md +7 -5
- package/docs/StaffUserProfileResponse.md +7 -5
- package/docs/UpdateUserRequestBody.md +4 -0
- package/docs/UserProfileResponse.md +7 -5
- package/index.ts +1 -1
- package/package.json +1 -1
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.151
|
|
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
|
|
@@ -5671,6 +5720,32 @@ export interface GetCourtsByClubAndSportById200Response {
|
|
|
5671
5720
|
*/
|
|
5672
5721
|
'courts': Array<ICourtData>;
|
|
5673
5722
|
}
|
|
5723
|
+
/**
|
|
5724
|
+
*
|
|
5725
|
+
* @export
|
|
5726
|
+
* @interface GetGuestBookingPrice200Response
|
|
5727
|
+
*/
|
|
5728
|
+
export interface GetGuestBookingPrice200Response {
|
|
5729
|
+
/**
|
|
5730
|
+
*
|
|
5731
|
+
* @type {number}
|
|
5732
|
+
* @memberof GetGuestBookingPrice200Response
|
|
5733
|
+
*/
|
|
5734
|
+
'totalPrice': number;
|
|
5735
|
+
}
|
|
5736
|
+
/**
|
|
5737
|
+
*
|
|
5738
|
+
* @export
|
|
5739
|
+
* @interface GetGuestBookingPriceRequest
|
|
5740
|
+
*/
|
|
5741
|
+
export interface GetGuestBookingPriceRequest {
|
|
5742
|
+
/**
|
|
5743
|
+
*
|
|
5744
|
+
* @type {Array<string>}
|
|
5745
|
+
* @memberof GetGuestBookingPriceRequest
|
|
5746
|
+
*/
|
|
5747
|
+
'slotIds': Array<string>;
|
|
5748
|
+
}
|
|
5674
5749
|
/**
|
|
5675
5750
|
*
|
|
5676
5751
|
* @export
|
|
@@ -5709,6 +5784,25 @@ export interface GetOpenBookings200Response {
|
|
|
5709
5784
|
*/
|
|
5710
5785
|
'bookings': Array<BookingInfo>;
|
|
5711
5786
|
}
|
|
5787
|
+
/**
|
|
5788
|
+
*
|
|
5789
|
+
* @export
|
|
5790
|
+
* @interface GetOpenEventBookingJoinPrice200Response
|
|
5791
|
+
*/
|
|
5792
|
+
export interface GetOpenEventBookingJoinPrice200Response {
|
|
5793
|
+
/**
|
|
5794
|
+
*
|
|
5795
|
+
* @type {number}
|
|
5796
|
+
* @memberof GetOpenEventBookingJoinPrice200Response
|
|
5797
|
+
*/
|
|
5798
|
+
'availableCreditsInCents': number;
|
|
5799
|
+
/**
|
|
5800
|
+
*
|
|
5801
|
+
* @type {number}
|
|
5802
|
+
* @memberof GetOpenEventBookingJoinPrice200Response
|
|
5803
|
+
*/
|
|
5804
|
+
'priceToPayInCents': number;
|
|
5805
|
+
}
|
|
5712
5806
|
/**
|
|
5713
5807
|
*
|
|
5714
5808
|
* @export
|
|
@@ -6035,7 +6129,7 @@ export interface IUserAttributes {
|
|
|
6035
6129
|
* @type {boolean}
|
|
6036
6130
|
* @memberof IUserAttributes
|
|
6037
6131
|
*/
|
|
6038
|
-
'isAccountVerified'
|
|
6132
|
+
'isAccountVerified'?: boolean;
|
|
6039
6133
|
/**
|
|
6040
6134
|
*
|
|
6041
6135
|
* @type {Array<ILevelBySports>}
|
|
@@ -6107,7 +6201,13 @@ export interface IUserAttributes {
|
|
|
6107
6201
|
* @type {boolean}
|
|
6108
6202
|
* @memberof IUserAttributes
|
|
6109
6203
|
*/
|
|
6110
|
-
'
|
|
6204
|
+
'isGuest'?: boolean;
|
|
6205
|
+
/**
|
|
6206
|
+
*
|
|
6207
|
+
* @type {boolean}
|
|
6208
|
+
* @memberof IUserAttributes
|
|
6209
|
+
*/
|
|
6210
|
+
'isAdmin'?: boolean;
|
|
6111
6211
|
/**
|
|
6112
6212
|
*
|
|
6113
6213
|
* @type {boolean}
|
|
@@ -6119,13 +6219,13 @@ export interface IUserAttributes {
|
|
|
6119
6219
|
* @type {string}
|
|
6120
6220
|
* @memberof IUserAttributes
|
|
6121
6221
|
*/
|
|
6122
|
-
'createdAt'
|
|
6222
|
+
'createdAt'?: string;
|
|
6123
6223
|
/**
|
|
6124
6224
|
*
|
|
6125
6225
|
* @type {string}
|
|
6126
6226
|
* @memberof IUserAttributes
|
|
6127
6227
|
*/
|
|
6128
|
-
'updatedAt'
|
|
6228
|
+
'updatedAt'?: string;
|
|
6129
6229
|
/**
|
|
6130
6230
|
*
|
|
6131
6231
|
* @type {boolean}
|
|
@@ -6149,7 +6249,7 @@ export interface IUserAttributes {
|
|
|
6149
6249
|
* @type {boolean}
|
|
6150
6250
|
* @memberof IUserAttributes
|
|
6151
6251
|
*/
|
|
6152
|
-
'isProfileVisible'
|
|
6252
|
+
'isProfileVisible'?: boolean;
|
|
6153
6253
|
/**
|
|
6154
6254
|
*
|
|
6155
6255
|
* @type {Array<string>}
|
|
@@ -9654,7 +9754,7 @@ export interface StaffUserProfileResponse {
|
|
|
9654
9754
|
* @type {boolean}
|
|
9655
9755
|
* @memberof StaffUserProfileResponse
|
|
9656
9756
|
*/
|
|
9657
|
-
'isAccountVerified'
|
|
9757
|
+
'isAccountVerified'?: boolean;
|
|
9658
9758
|
/**
|
|
9659
9759
|
*
|
|
9660
9760
|
* @type {Array<ILevelBySports>}
|
|
@@ -9726,7 +9826,13 @@ export interface StaffUserProfileResponse {
|
|
|
9726
9826
|
* @type {boolean}
|
|
9727
9827
|
* @memberof StaffUserProfileResponse
|
|
9728
9828
|
*/
|
|
9729
|
-
'
|
|
9829
|
+
'isGuest'?: boolean;
|
|
9830
|
+
/**
|
|
9831
|
+
*
|
|
9832
|
+
* @type {boolean}
|
|
9833
|
+
* @memberof StaffUserProfileResponse
|
|
9834
|
+
*/
|
|
9835
|
+
'isAdmin'?: boolean;
|
|
9730
9836
|
/**
|
|
9731
9837
|
*
|
|
9732
9838
|
* @type {boolean}
|
|
@@ -9738,13 +9844,13 @@ export interface StaffUserProfileResponse {
|
|
|
9738
9844
|
* @type {string}
|
|
9739
9845
|
* @memberof StaffUserProfileResponse
|
|
9740
9846
|
*/
|
|
9741
|
-
'createdAt'
|
|
9847
|
+
'createdAt'?: string;
|
|
9742
9848
|
/**
|
|
9743
9849
|
*
|
|
9744
9850
|
* @type {string}
|
|
9745
9851
|
* @memberof StaffUserProfileResponse
|
|
9746
9852
|
*/
|
|
9747
|
-
'updatedAt'
|
|
9853
|
+
'updatedAt'?: string;
|
|
9748
9854
|
/**
|
|
9749
9855
|
*
|
|
9750
9856
|
* @type {boolean}
|
|
@@ -9768,7 +9874,7 @@ export interface StaffUserProfileResponse {
|
|
|
9768
9874
|
* @type {boolean}
|
|
9769
9875
|
* @memberof StaffUserProfileResponse
|
|
9770
9876
|
*/
|
|
9771
|
-
'isProfileVisible'
|
|
9877
|
+
'isProfileVisible'?: boolean;
|
|
9772
9878
|
/**
|
|
9773
9879
|
*
|
|
9774
9880
|
* @type {Array<string>}
|
|
@@ -11058,6 +11164,18 @@ export interface UpdateUserRequestBody {
|
|
|
11058
11164
|
* @memberof UpdateUserRequestBody
|
|
11059
11165
|
*/
|
|
11060
11166
|
'phone'?: string;
|
|
11167
|
+
/**
|
|
11168
|
+
*
|
|
11169
|
+
* @type {Gender}
|
|
11170
|
+
* @memberof UpdateUserRequestBody
|
|
11171
|
+
*/
|
|
11172
|
+
'gender'?: Gender;
|
|
11173
|
+
/**
|
|
11174
|
+
*
|
|
11175
|
+
* @type {string}
|
|
11176
|
+
* @memberof UpdateUserRequestBody
|
|
11177
|
+
*/
|
|
11178
|
+
'birthDate'?: string;
|
|
11061
11179
|
/**
|
|
11062
11180
|
*
|
|
11063
11181
|
* @type {string}
|
|
@@ -11671,7 +11789,7 @@ export interface UserProfileResponse {
|
|
|
11671
11789
|
* @type {boolean}
|
|
11672
11790
|
* @memberof UserProfileResponse
|
|
11673
11791
|
*/
|
|
11674
|
-
'isAccountVerified'
|
|
11792
|
+
'isAccountVerified'?: boolean;
|
|
11675
11793
|
/**
|
|
11676
11794
|
*
|
|
11677
11795
|
* @type {Array<ILevelBySports>}
|
|
@@ -11743,7 +11861,13 @@ export interface UserProfileResponse {
|
|
|
11743
11861
|
* @type {boolean}
|
|
11744
11862
|
* @memberof UserProfileResponse
|
|
11745
11863
|
*/
|
|
11746
|
-
'
|
|
11864
|
+
'isGuest'?: boolean;
|
|
11865
|
+
/**
|
|
11866
|
+
*
|
|
11867
|
+
* @type {boolean}
|
|
11868
|
+
* @memberof UserProfileResponse
|
|
11869
|
+
*/
|
|
11870
|
+
'isAdmin'?: boolean;
|
|
11747
11871
|
/**
|
|
11748
11872
|
*
|
|
11749
11873
|
* @type {boolean}
|
|
@@ -11755,13 +11879,13 @@ export interface UserProfileResponse {
|
|
|
11755
11879
|
* @type {string}
|
|
11756
11880
|
* @memberof UserProfileResponse
|
|
11757
11881
|
*/
|
|
11758
|
-
'createdAt'
|
|
11882
|
+
'createdAt'?: string;
|
|
11759
11883
|
/**
|
|
11760
11884
|
*
|
|
11761
11885
|
* @type {string}
|
|
11762
11886
|
* @memberof UserProfileResponse
|
|
11763
11887
|
*/
|
|
11764
|
-
'updatedAt'
|
|
11888
|
+
'updatedAt'?: string;
|
|
11765
11889
|
/**
|
|
11766
11890
|
*
|
|
11767
11891
|
* @type {boolean}
|
|
@@ -11785,7 +11909,7 @@ export interface UserProfileResponse {
|
|
|
11785
11909
|
* @type {boolean}
|
|
11786
11910
|
* @memberof UserProfileResponse
|
|
11787
11911
|
*/
|
|
11788
|
-
'isProfileVisible'
|
|
11912
|
+
'isProfileVisible'?: boolean;
|
|
11789
11913
|
/**
|
|
11790
11914
|
*
|
|
11791
11915
|
* @type {Array<string>}
|
|
@@ -11997,6 +12121,13 @@ export interface YearlyTurnoverResponse {
|
|
|
11997
12121
|
* @export
|
|
11998
12122
|
*/
|
|
11999
12123
|
export declare const BookingsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
12124
|
+
/**
|
|
12125
|
+
* Créer une réservation en tant qu\'invité (guest)
|
|
12126
|
+
* @param {CreateGuestBookingRequest} createGuestBookingRequest
|
|
12127
|
+
* @param {*} [options] Override http request option.
|
|
12128
|
+
* @throws {RequiredError}
|
|
12129
|
+
*/
|
|
12130
|
+
createGuestBooking: (createGuestBookingRequest: CreateGuestBookingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12000
12131
|
/**
|
|
12001
12132
|
* Estimer le prix pour rejoindre une réservation ouverte
|
|
12002
12133
|
* @param {string} bookingId
|
|
@@ -12019,6 +12150,20 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
12019
12150
|
* @throws {RequiredError}
|
|
12020
12151
|
*/
|
|
12021
12152
|
getBookingPrice: (bookingPriceBody: BookingPriceBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12153
|
+
/**
|
|
12154
|
+
* Calculer le prix d\'une réservation pour un invité (sans authentification)
|
|
12155
|
+
* @param {GetGuestBookingPriceRequest} getGuestBookingPriceRequest
|
|
12156
|
+
* @param {*} [options] Override http request option.
|
|
12157
|
+
* @throws {RequiredError}
|
|
12158
|
+
*/
|
|
12159
|
+
getGuestBookingPrice: (getGuestBookingPriceRequest: GetGuestBookingPriceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12160
|
+
/**
|
|
12161
|
+
* Estimer simplement le prix à payer pour rejoindre une réservation ouverte
|
|
12162
|
+
* @param {string} bookingId
|
|
12163
|
+
* @param {*} [options] Override http request option.
|
|
12164
|
+
* @throws {RequiredError}
|
|
12165
|
+
*/
|
|
12166
|
+
getOpenBookingJoinPrice: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12022
12167
|
/**
|
|
12023
12168
|
*
|
|
12024
12169
|
* @param {string} [clubId]
|
|
@@ -12064,6 +12209,13 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
12064
12209
|
* @export
|
|
12065
12210
|
*/
|
|
12066
12211
|
export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
12212
|
+
/**
|
|
12213
|
+
* Créer une réservation en tant qu\'invité (guest)
|
|
12214
|
+
* @param {CreateGuestBookingRequest} createGuestBookingRequest
|
|
12215
|
+
* @param {*} [options] Override http request option.
|
|
12216
|
+
* @throws {RequiredError}
|
|
12217
|
+
*/
|
|
12218
|
+
createGuestBooking(createGuestBookingRequest: CreateGuestBookingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponse>>;
|
|
12067
12219
|
/**
|
|
12068
12220
|
* Estimer le prix pour rejoindre une réservation ouverte
|
|
12069
12221
|
* @param {string} bookingId
|
|
@@ -12086,6 +12238,20 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
12086
12238
|
* @throws {RequiredError}
|
|
12087
12239
|
*/
|
|
12088
12240
|
getBookingPrice(bookingPriceBody: BookingPriceBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingPriceResponse>>;
|
|
12241
|
+
/**
|
|
12242
|
+
* Calculer le prix d\'une réservation pour un invité (sans authentification)
|
|
12243
|
+
* @param {GetGuestBookingPriceRequest} getGuestBookingPriceRequest
|
|
12244
|
+
* @param {*} [options] Override http request option.
|
|
12245
|
+
* @throws {RequiredError}
|
|
12246
|
+
*/
|
|
12247
|
+
getGuestBookingPrice(getGuestBookingPriceRequest: GetGuestBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetGuestBookingPrice200Response>>;
|
|
12248
|
+
/**
|
|
12249
|
+
* Estimer simplement le prix à payer pour rejoindre une réservation ouverte
|
|
12250
|
+
* @param {string} bookingId
|
|
12251
|
+
* @param {*} [options] Override http request option.
|
|
12252
|
+
* @throws {RequiredError}
|
|
12253
|
+
*/
|
|
12254
|
+
getOpenBookingJoinPrice(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOpenEventBookingJoinPrice200Response>>;
|
|
12089
12255
|
/**
|
|
12090
12256
|
*
|
|
12091
12257
|
* @param {string} [clubId]
|
|
@@ -12131,6 +12297,13 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
12131
12297
|
* @export
|
|
12132
12298
|
*/
|
|
12133
12299
|
export declare const BookingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
12300
|
+
/**
|
|
12301
|
+
* Créer une réservation en tant qu\'invité (guest)
|
|
12302
|
+
* @param {BookingsApiCreateGuestBookingRequest} requestParameters Request parameters.
|
|
12303
|
+
* @param {*} [options] Override http request option.
|
|
12304
|
+
* @throws {RequiredError}
|
|
12305
|
+
*/
|
|
12306
|
+
createGuestBooking(requestParameters: BookingsApiCreateGuestBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponse>;
|
|
12134
12307
|
/**
|
|
12135
12308
|
* Estimer le prix pour rejoindre une réservation ouverte
|
|
12136
12309
|
* @param {BookingsApiEstimateOpenBookingJoinPriceRequest} requestParameters Request parameters.
|
|
@@ -12152,6 +12325,20 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
12152
12325
|
* @throws {RequiredError}
|
|
12153
12326
|
*/
|
|
12154
12327
|
getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingPriceResponse>;
|
|
12328
|
+
/**
|
|
12329
|
+
* Calculer le prix d\'une réservation pour un invité (sans authentification)
|
|
12330
|
+
* @param {BookingsApiGetGuestBookingPriceRequest} requestParameters Request parameters.
|
|
12331
|
+
* @param {*} [options] Override http request option.
|
|
12332
|
+
* @throws {RequiredError}
|
|
12333
|
+
*/
|
|
12334
|
+
getGuestBookingPrice(requestParameters: BookingsApiGetGuestBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetGuestBookingPrice200Response>;
|
|
12335
|
+
/**
|
|
12336
|
+
* Estimer simplement le prix à payer pour rejoindre une réservation ouverte
|
|
12337
|
+
* @param {BookingsApiGetOpenBookingJoinPriceRequest} requestParameters Request parameters.
|
|
12338
|
+
* @param {*} [options] Override http request option.
|
|
12339
|
+
* @throws {RequiredError}
|
|
12340
|
+
*/
|
|
12341
|
+
getOpenBookingJoinPrice(requestParameters: BookingsApiGetOpenBookingJoinPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetOpenEventBookingJoinPrice200Response>;
|
|
12155
12342
|
/**
|
|
12156
12343
|
*
|
|
12157
12344
|
* @param {BookingsApiGetOpenBookingsRequest} requestParameters Request parameters.
|
|
@@ -12181,6 +12368,19 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
12181
12368
|
*/
|
|
12182
12369
|
leaveOpenBooking(requestParameters: BookingsApiLeaveOpenBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response>;
|
|
12183
12370
|
};
|
|
12371
|
+
/**
|
|
12372
|
+
* Request parameters for createGuestBooking operation in BookingsApi.
|
|
12373
|
+
* @export
|
|
12374
|
+
* @interface BookingsApiCreateGuestBookingRequest
|
|
12375
|
+
*/
|
|
12376
|
+
export interface BookingsApiCreateGuestBookingRequest {
|
|
12377
|
+
/**
|
|
12378
|
+
*
|
|
12379
|
+
* @type {CreateGuestBookingRequest}
|
|
12380
|
+
* @memberof BookingsApiCreateGuestBooking
|
|
12381
|
+
*/
|
|
12382
|
+
readonly createGuestBookingRequest: CreateGuestBookingRequest;
|
|
12383
|
+
}
|
|
12184
12384
|
/**
|
|
12185
12385
|
* Request parameters for estimateOpenBookingJoinPrice operation in BookingsApi.
|
|
12186
12386
|
* @export
|
|
@@ -12226,6 +12426,32 @@ export interface BookingsApiGetBookingPriceRequest {
|
|
|
12226
12426
|
*/
|
|
12227
12427
|
readonly bookingPriceBody: BookingPriceBody;
|
|
12228
12428
|
}
|
|
12429
|
+
/**
|
|
12430
|
+
* Request parameters for getGuestBookingPrice operation in BookingsApi.
|
|
12431
|
+
* @export
|
|
12432
|
+
* @interface BookingsApiGetGuestBookingPriceRequest
|
|
12433
|
+
*/
|
|
12434
|
+
export interface BookingsApiGetGuestBookingPriceRequest {
|
|
12435
|
+
/**
|
|
12436
|
+
*
|
|
12437
|
+
* @type {GetGuestBookingPriceRequest}
|
|
12438
|
+
* @memberof BookingsApiGetGuestBookingPrice
|
|
12439
|
+
*/
|
|
12440
|
+
readonly getGuestBookingPriceRequest: GetGuestBookingPriceRequest;
|
|
12441
|
+
}
|
|
12442
|
+
/**
|
|
12443
|
+
* Request parameters for getOpenBookingJoinPrice operation in BookingsApi.
|
|
12444
|
+
* @export
|
|
12445
|
+
* @interface BookingsApiGetOpenBookingJoinPriceRequest
|
|
12446
|
+
*/
|
|
12447
|
+
export interface BookingsApiGetOpenBookingJoinPriceRequest {
|
|
12448
|
+
/**
|
|
12449
|
+
*
|
|
12450
|
+
* @type {string}
|
|
12451
|
+
* @memberof BookingsApiGetOpenBookingJoinPrice
|
|
12452
|
+
*/
|
|
12453
|
+
readonly bookingId: string;
|
|
12454
|
+
}
|
|
12229
12455
|
/**
|
|
12230
12456
|
* Request parameters for getOpenBookings operation in BookingsApi.
|
|
12231
12457
|
* @export
|
|
@@ -12351,6 +12577,14 @@ export interface BookingsApiLeaveOpenBookingRequest {
|
|
|
12351
12577
|
* @extends {BaseAPI}
|
|
12352
12578
|
*/
|
|
12353
12579
|
export declare class BookingsApi extends BaseAPI {
|
|
12580
|
+
/**
|
|
12581
|
+
* Créer une réservation en tant qu\'invité (guest)
|
|
12582
|
+
* @param {BookingsApiCreateGuestBookingRequest} requestParameters Request parameters.
|
|
12583
|
+
* @param {*} [options] Override http request option.
|
|
12584
|
+
* @throws {RequiredError}
|
|
12585
|
+
* @memberof BookingsApi
|
|
12586
|
+
*/
|
|
12587
|
+
createGuestBooking(requestParameters: BookingsApiCreateGuestBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingResponse, any, {}>>;
|
|
12354
12588
|
/**
|
|
12355
12589
|
* Estimer le prix pour rejoindre une réservation ouverte
|
|
12356
12590
|
* @param {BookingsApiEstimateOpenBookingJoinPriceRequest} requestParameters Request parameters.
|
|
@@ -12375,6 +12609,22 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
12375
12609
|
* @memberof BookingsApi
|
|
12376
12610
|
*/
|
|
12377
12611
|
getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingPriceResponse, any, {}>>;
|
|
12612
|
+
/**
|
|
12613
|
+
* Calculer le prix d\'une réservation pour un invité (sans authentification)
|
|
12614
|
+
* @param {BookingsApiGetGuestBookingPriceRequest} requestParameters Request parameters.
|
|
12615
|
+
* @param {*} [options] Override http request option.
|
|
12616
|
+
* @throws {RequiredError}
|
|
12617
|
+
* @memberof BookingsApi
|
|
12618
|
+
*/
|
|
12619
|
+
getGuestBookingPrice(requestParameters: BookingsApiGetGuestBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetGuestBookingPrice200Response, any, {}>>;
|
|
12620
|
+
/**
|
|
12621
|
+
* Estimer simplement le prix à payer pour rejoindre une réservation ouverte
|
|
12622
|
+
* @param {BookingsApiGetOpenBookingJoinPriceRequest} requestParameters Request parameters.
|
|
12623
|
+
* @param {*} [options] Override http request option.
|
|
12624
|
+
* @throws {RequiredError}
|
|
12625
|
+
* @memberof BookingsApi
|
|
12626
|
+
*/
|
|
12627
|
+
getOpenBookingJoinPrice(requestParameters: BookingsApiGetOpenBookingJoinPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOpenEventBookingJoinPrice200Response, any, {}>>;
|
|
12378
12628
|
/**
|
|
12379
12629
|
*
|
|
12380
12630
|
* @param {BookingsApiGetOpenBookingsRequest} requestParameters Request parameters.
|
|
@@ -17300,6 +17550,13 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
17300
17550
|
* @throws {RequiredError}
|
|
17301
17551
|
*/
|
|
17302
17552
|
getEventById: (eventId: string, userId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17553
|
+
/**
|
|
17554
|
+
* Estimer simplement le prix à payer pour rejoindre un événement ouvert
|
|
17555
|
+
* @param {string} eventBookingId
|
|
17556
|
+
* @param {*} [options] Override http request option.
|
|
17557
|
+
* @throws {RequiredError}
|
|
17558
|
+
*/
|
|
17559
|
+
getOpenEventBookingJoinPrice: (eventBookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17303
17560
|
/**
|
|
17304
17561
|
*
|
|
17305
17562
|
* @param {string} [clubId]
|
|
@@ -17386,6 +17643,13 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
|
|
|
17386
17643
|
* @throws {RequiredError}
|
|
17387
17644
|
*/
|
|
17388
17645
|
getEventById(eventId: string, userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>>;
|
|
17646
|
+
/**
|
|
17647
|
+
* Estimer simplement le prix à payer pour rejoindre un événement ouvert
|
|
17648
|
+
* @param {string} eventBookingId
|
|
17649
|
+
* @param {*} [options] Override http request option.
|
|
17650
|
+
* @throws {RequiredError}
|
|
17651
|
+
*/
|
|
17652
|
+
getOpenEventBookingJoinPrice(eventBookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOpenEventBookingJoinPrice200Response>>;
|
|
17389
17653
|
/**
|
|
17390
17654
|
*
|
|
17391
17655
|
* @param {string} [clubId]
|
|
@@ -17468,6 +17732,13 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
|
|
|
17468
17732
|
* @throws {RequiredError}
|
|
17469
17733
|
*/
|
|
17470
17734
|
getEventById(requestParameters: EventsApiGetEventByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublishEventResponse>;
|
|
17735
|
+
/**
|
|
17736
|
+
* Estimer simplement le prix à payer pour rejoindre un événement ouvert
|
|
17737
|
+
* @param {EventsApiGetOpenEventBookingJoinPriceRequest} requestParameters Request parameters.
|
|
17738
|
+
* @param {*} [options] Override http request option.
|
|
17739
|
+
* @throws {RequiredError}
|
|
17740
|
+
*/
|
|
17741
|
+
getOpenEventBookingJoinPrice(requestParameters: EventsApiGetOpenEventBookingJoinPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetOpenEventBookingJoinPrice200Response>;
|
|
17471
17742
|
/**
|
|
17472
17743
|
*
|
|
17473
17744
|
* @param {EventsApiGetOpenEventBookingsRequest} requestParameters Request parameters.
|
|
@@ -17587,6 +17858,19 @@ export interface EventsApiGetEventByIdRequest {
|
|
|
17587
17858
|
*/
|
|
17588
17859
|
readonly userId?: string;
|
|
17589
17860
|
}
|
|
17861
|
+
/**
|
|
17862
|
+
* Request parameters for getOpenEventBookingJoinPrice operation in EventsApi.
|
|
17863
|
+
* @export
|
|
17864
|
+
* @interface EventsApiGetOpenEventBookingJoinPriceRequest
|
|
17865
|
+
*/
|
|
17866
|
+
export interface EventsApiGetOpenEventBookingJoinPriceRequest {
|
|
17867
|
+
/**
|
|
17868
|
+
*
|
|
17869
|
+
* @type {string}
|
|
17870
|
+
* @memberof EventsApiGetOpenEventBookingJoinPrice
|
|
17871
|
+
*/
|
|
17872
|
+
readonly eventBookingId: string;
|
|
17873
|
+
}
|
|
17590
17874
|
/**
|
|
17591
17875
|
* Request parameters for getOpenEventBookings operation in EventsApi.
|
|
17592
17876
|
* @export
|
|
@@ -17740,6 +18024,14 @@ export declare class EventsApi extends BaseAPI {
|
|
|
17740
18024
|
* @memberof EventsApi
|
|
17741
18025
|
*/
|
|
17742
18026
|
getEventById(requestParameters: EventsApiGetEventByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublishEventResponse, any, {}>>;
|
|
18027
|
+
/**
|
|
18028
|
+
* Estimer simplement le prix à payer pour rejoindre un événement ouvert
|
|
18029
|
+
* @param {EventsApiGetOpenEventBookingJoinPriceRequest} requestParameters Request parameters.
|
|
18030
|
+
* @param {*} [options] Override http request option.
|
|
18031
|
+
* @throws {RequiredError}
|
|
18032
|
+
* @memberof EventsApi
|
|
18033
|
+
*/
|
|
18034
|
+
getOpenEventBookingJoinPrice(requestParameters: EventsApiGetOpenEventBookingJoinPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOpenEventBookingJoinPrice200Response, any, {}>>;
|
|
17743
18035
|
/**
|
|
17744
18036
|
*
|
|
17745
18037
|
* @param {EventsApiGetOpenEventBookingsRequest} requestParameters Request parameters.
|