@tennac-booking/sdk 1.0.175 → 1.0.176
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 +404 -398
- package/README.md +11 -3
- package/api.ts +426 -16
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +337 -17
- 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 +337 -17
- 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/BookingsApi.md +2 -2
- package/docs/BookingsUserApi.md +56 -0
- package/docs/CreateOpenBookingRequest.md +4 -0
- package/docs/OpenBookingInfo.md +48 -0
- package/docs/OpenBookingPlayerInfo.md +26 -0
- package/docs/OpenBookingSlotInfo.md +24 -0
- package/docs/OpenBookingSportInfo.md +24 -0
- package/docs/{GetOpenBookings200Response.md → OpenBookingsResponse.md} +4 -4
- package/docs/UpdateOpenBooking200Response.md +22 -0
- package/docs/UpdateOpenBookingRequest.md +22 -0
- package/docs/UsersApi.md +55 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
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.176
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4508,6 +4508,18 @@ export interface CreateOpenBookingRequest {
|
|
|
4508
4508
|
* @memberof CreateOpenBookingRequest
|
|
4509
4509
|
*/
|
|
4510
4510
|
'maxPlayers': number;
|
|
4511
|
+
/**
|
|
4512
|
+
* Description de la réservation ouverte
|
|
4513
|
+
* @type {string}
|
|
4514
|
+
* @memberof CreateOpenBookingRequest
|
|
4515
|
+
*/
|
|
4516
|
+
'description'?: string;
|
|
4517
|
+
/**
|
|
4518
|
+
* Niveau minimal souhaité pour rejoindre
|
|
4519
|
+
* @type {string}
|
|
4520
|
+
* @memberof CreateOpenBookingRequest
|
|
4521
|
+
*/
|
|
4522
|
+
'minLevel'?: string;
|
|
4511
4523
|
}
|
|
4512
4524
|
/**
|
|
4513
4525
|
*
|
|
@@ -6158,19 +6170,6 @@ export interface GetInfillPercentagePerPeriod200Response {
|
|
|
6158
6170
|
*/
|
|
6159
6171
|
'infillPercentage': number;
|
|
6160
6172
|
}
|
|
6161
|
-
/**
|
|
6162
|
-
*
|
|
6163
|
-
* @export
|
|
6164
|
-
* @interface GetOpenBookings200Response
|
|
6165
|
-
*/
|
|
6166
|
-
export interface GetOpenBookings200Response {
|
|
6167
|
-
/**
|
|
6168
|
-
*
|
|
6169
|
-
* @type {Array<BookingInfo>}
|
|
6170
|
-
* @memberof GetOpenBookings200Response
|
|
6171
|
-
*/
|
|
6172
|
-
'bookings': Array<BookingInfo>;
|
|
6173
|
-
}
|
|
6174
6173
|
/**
|
|
6175
6174
|
*
|
|
6176
6175
|
* @export
|
|
@@ -7800,6 +7799,197 @@ export interface OffPeakRule {
|
|
|
7800
7799
|
*/
|
|
7801
7800
|
'dayOfWeek': number;
|
|
7802
7801
|
}
|
|
7802
|
+
/**
|
|
7803
|
+
*
|
|
7804
|
+
* @export
|
|
7805
|
+
* @interface OpenBookingInfo
|
|
7806
|
+
*/
|
|
7807
|
+
export interface OpenBookingInfo {
|
|
7808
|
+
/**
|
|
7809
|
+
* ID de la réservation
|
|
7810
|
+
* @type {string}
|
|
7811
|
+
* @memberof OpenBookingInfo
|
|
7812
|
+
*/
|
|
7813
|
+
'id': string;
|
|
7814
|
+
/**
|
|
7815
|
+
* ID du club
|
|
7816
|
+
* @type {string}
|
|
7817
|
+
* @memberof OpenBookingInfo
|
|
7818
|
+
*/
|
|
7819
|
+
'clubId': string;
|
|
7820
|
+
/**
|
|
7821
|
+
* ID de l\'utilisateur créateur
|
|
7822
|
+
* @type {string}
|
|
7823
|
+
* @memberof OpenBookingInfo
|
|
7824
|
+
*/
|
|
7825
|
+
'userId': string;
|
|
7826
|
+
/**
|
|
7827
|
+
* Liste des joueurs avec leurs infos
|
|
7828
|
+
* @type {Array<OpenBookingPlayerInfo>}
|
|
7829
|
+
* @memberof OpenBookingInfo
|
|
7830
|
+
*/
|
|
7831
|
+
'players': Array<OpenBookingPlayerInfo>;
|
|
7832
|
+
/**
|
|
7833
|
+
*
|
|
7834
|
+
* @type {BookingStatus}
|
|
7835
|
+
* @memberof OpenBookingInfo
|
|
7836
|
+
*/
|
|
7837
|
+
'status': BookingStatus;
|
|
7838
|
+
/**
|
|
7839
|
+
* Prix total en euros
|
|
7840
|
+
* @type {number}
|
|
7841
|
+
* @memberof OpenBookingInfo
|
|
7842
|
+
*/
|
|
7843
|
+
'totalPrice': number;
|
|
7844
|
+
/**
|
|
7845
|
+
* Informations des créneaux
|
|
7846
|
+
* @type {Array<OpenBookingSlotInfo>}
|
|
7847
|
+
* @memberof OpenBookingInfo
|
|
7848
|
+
*/
|
|
7849
|
+
'slots': Array<OpenBookingSlotInfo>;
|
|
7850
|
+
/**
|
|
7851
|
+
* Indique si le créateur paie pour tous
|
|
7852
|
+
* @type {boolean}
|
|
7853
|
+
* @memberof OpenBookingInfo
|
|
7854
|
+
*/
|
|
7855
|
+
'isCreatorPayingAll': boolean;
|
|
7856
|
+
/**
|
|
7857
|
+
* Date de création
|
|
7858
|
+
* @type {string}
|
|
7859
|
+
* @memberof OpenBookingInfo
|
|
7860
|
+
*/
|
|
7861
|
+
'createdAt': string;
|
|
7862
|
+
/**
|
|
7863
|
+
* Date de mise à jour
|
|
7864
|
+
* @type {string}
|
|
7865
|
+
* @memberof OpenBookingInfo
|
|
7866
|
+
*/
|
|
7867
|
+
'updatedAt': string;
|
|
7868
|
+
/**
|
|
7869
|
+
*
|
|
7870
|
+
* @type {OpenBookingSportInfo}
|
|
7871
|
+
* @memberof OpenBookingInfo
|
|
7872
|
+
*/
|
|
7873
|
+
'sport'?: OpenBookingSportInfo;
|
|
7874
|
+
/**
|
|
7875
|
+
* Niveau minimal souhaité
|
|
7876
|
+
* @type {string}
|
|
7877
|
+
* @memberof OpenBookingInfo
|
|
7878
|
+
*/
|
|
7879
|
+
'minLevel'?: string;
|
|
7880
|
+
/**
|
|
7881
|
+
* Description de la réservation
|
|
7882
|
+
* @type {string}
|
|
7883
|
+
* @memberof OpenBookingInfo
|
|
7884
|
+
*/
|
|
7885
|
+
'description'?: string;
|
|
7886
|
+
/**
|
|
7887
|
+
* Nombre maximal de joueurs
|
|
7888
|
+
* @type {number}
|
|
7889
|
+
* @memberof OpenBookingInfo
|
|
7890
|
+
*/
|
|
7891
|
+
'maxPlayers'?: number;
|
|
7892
|
+
/**
|
|
7893
|
+
* Nombre de joueurs actuels
|
|
7894
|
+
* @type {number}
|
|
7895
|
+
* @memberof OpenBookingInfo
|
|
7896
|
+
*/
|
|
7897
|
+
'currentPlayersCount': number;
|
|
7898
|
+
}
|
|
7899
|
+
/**
|
|
7900
|
+
*
|
|
7901
|
+
* @export
|
|
7902
|
+
* @interface OpenBookingPlayerInfo
|
|
7903
|
+
*/
|
|
7904
|
+
export interface OpenBookingPlayerInfo {
|
|
7905
|
+
/**
|
|
7906
|
+
* ID du joueur
|
|
7907
|
+
* @type {string}
|
|
7908
|
+
* @memberof OpenBookingPlayerInfo
|
|
7909
|
+
*/
|
|
7910
|
+
'id': string;
|
|
7911
|
+
/**
|
|
7912
|
+
* Prénom
|
|
7913
|
+
* @type {string}
|
|
7914
|
+
* @memberof OpenBookingPlayerInfo
|
|
7915
|
+
*/
|
|
7916
|
+
'firstName': string;
|
|
7917
|
+
/**
|
|
7918
|
+
* Nom
|
|
7919
|
+
* @type {string}
|
|
7920
|
+
* @memberof OpenBookingPlayerInfo
|
|
7921
|
+
*/
|
|
7922
|
+
'lastName': string;
|
|
7923
|
+
/**
|
|
7924
|
+
* Photo de profil
|
|
7925
|
+
* @type {string}
|
|
7926
|
+
* @memberof OpenBookingPlayerInfo
|
|
7927
|
+
*/
|
|
7928
|
+
'profilePicture'?: string;
|
|
7929
|
+
}
|
|
7930
|
+
/**
|
|
7931
|
+
*
|
|
7932
|
+
* @export
|
|
7933
|
+
* @interface OpenBookingSlotInfo
|
|
7934
|
+
*/
|
|
7935
|
+
export interface OpenBookingSlotInfo {
|
|
7936
|
+
/**
|
|
7937
|
+
* ID du slot
|
|
7938
|
+
* @type {string}
|
|
7939
|
+
* @memberof OpenBookingSlotInfo
|
|
7940
|
+
*/
|
|
7941
|
+
'id': string;
|
|
7942
|
+
/**
|
|
7943
|
+
* Date de début ISO
|
|
7944
|
+
* @type {string}
|
|
7945
|
+
* @memberof OpenBookingSlotInfo
|
|
7946
|
+
*/
|
|
7947
|
+
'startDate': string;
|
|
7948
|
+
/**
|
|
7949
|
+
* Date de fin ISO
|
|
7950
|
+
* @type {string}
|
|
7951
|
+
* @memberof OpenBookingSlotInfo
|
|
7952
|
+
*/
|
|
7953
|
+
'endDate': string;
|
|
7954
|
+
}
|
|
7955
|
+
/**
|
|
7956
|
+
*
|
|
7957
|
+
* @export
|
|
7958
|
+
* @interface OpenBookingSportInfo
|
|
7959
|
+
*/
|
|
7960
|
+
export interface OpenBookingSportInfo {
|
|
7961
|
+
/**
|
|
7962
|
+
* ID du sport
|
|
7963
|
+
* @type {string}
|
|
7964
|
+
* @memberof OpenBookingSportInfo
|
|
7965
|
+
*/
|
|
7966
|
+
'id': string;
|
|
7967
|
+
/**
|
|
7968
|
+
* Clé du sport
|
|
7969
|
+
* @type {string}
|
|
7970
|
+
* @memberof OpenBookingSportInfo
|
|
7971
|
+
*/
|
|
7972
|
+
'key': string;
|
|
7973
|
+
/**
|
|
7974
|
+
* Nom du sport
|
|
7975
|
+
* @type {string}
|
|
7976
|
+
* @memberof OpenBookingSportInfo
|
|
7977
|
+
*/
|
|
7978
|
+
'name': string;
|
|
7979
|
+
}
|
|
7980
|
+
/**
|
|
7981
|
+
*
|
|
7982
|
+
* @export
|
|
7983
|
+
* @interface OpenBookingsResponse
|
|
7984
|
+
*/
|
|
7985
|
+
export interface OpenBookingsResponse {
|
|
7986
|
+
/**
|
|
7987
|
+
* Liste des réservations ouvertes
|
|
7988
|
+
* @type {Array<OpenBookingInfo>}
|
|
7989
|
+
* @memberof OpenBookingsResponse
|
|
7990
|
+
*/
|
|
7991
|
+
'bookings': Array<OpenBookingInfo>;
|
|
7992
|
+
}
|
|
7803
7993
|
/**
|
|
7804
7994
|
*
|
|
7805
7995
|
* @export
|
|
@@ -11661,6 +11851,44 @@ export interface UpdateLevelBySportsRequestBody {
|
|
|
11661
11851
|
*/
|
|
11662
11852
|
'levelBySports': Array<LevelBySportEntry>;
|
|
11663
11853
|
}
|
|
11854
|
+
/**
|
|
11855
|
+
*
|
|
11856
|
+
* @export
|
|
11857
|
+
* @interface UpdateOpenBooking200Response
|
|
11858
|
+
*/
|
|
11859
|
+
export interface UpdateOpenBooking200Response {
|
|
11860
|
+
/**
|
|
11861
|
+
*
|
|
11862
|
+
* @type {BookingInfo}
|
|
11863
|
+
* @memberof UpdateOpenBooking200Response
|
|
11864
|
+
*/
|
|
11865
|
+
'booking': BookingInfo;
|
|
11866
|
+
/**
|
|
11867
|
+
*
|
|
11868
|
+
* @type {string}
|
|
11869
|
+
* @memberof UpdateOpenBooking200Response
|
|
11870
|
+
*/
|
|
11871
|
+
'message': string;
|
|
11872
|
+
}
|
|
11873
|
+
/**
|
|
11874
|
+
*
|
|
11875
|
+
* @export
|
|
11876
|
+
* @interface UpdateOpenBookingRequest
|
|
11877
|
+
*/
|
|
11878
|
+
export interface UpdateOpenBookingRequest {
|
|
11879
|
+
/**
|
|
11880
|
+
* Description de la réservation ouverte
|
|
11881
|
+
* @type {string}
|
|
11882
|
+
* @memberof UpdateOpenBookingRequest
|
|
11883
|
+
*/
|
|
11884
|
+
'description'?: string;
|
|
11885
|
+
/**
|
|
11886
|
+
* Niveau minimal souhaité pour rejoindre
|
|
11887
|
+
* @type {string}
|
|
11888
|
+
* @memberof UpdateOpenBookingRequest
|
|
11889
|
+
*/
|
|
11890
|
+
'minLevel'?: string;
|
|
11891
|
+
}
|
|
11664
11892
|
/**
|
|
11665
11893
|
*
|
|
11666
11894
|
* @export
|
|
@@ -13255,7 +13483,7 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
13255
13483
|
* @param {*} [options] Override http request option.
|
|
13256
13484
|
* @throws {RequiredError}
|
|
13257
13485
|
*/
|
|
13258
|
-
getOpenBookings(clubId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
13486
|
+
getOpenBookings(clubId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OpenBookingsResponse>>;
|
|
13259
13487
|
/**
|
|
13260
13488
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
13261
13489
|
* @param {number} [latitude]
|
|
@@ -13342,7 +13570,7 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
13342
13570
|
* @param {*} [options] Override http request option.
|
|
13343
13571
|
* @throws {RequiredError}
|
|
13344
13572
|
*/
|
|
13345
|
-
getOpenBookings(requestParameters?: BookingsApiGetOpenBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
13573
|
+
getOpenBookings(requestParameters?: BookingsApiGetOpenBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpenBookingsResponse>;
|
|
13346
13574
|
/**
|
|
13347
13575
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
13348
13576
|
* @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
|
|
@@ -13629,7 +13857,7 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
13629
13857
|
* @throws {RequiredError}
|
|
13630
13858
|
* @memberof BookingsApi
|
|
13631
13859
|
*/
|
|
13632
|
-
getOpenBookings(requestParameters?: BookingsApiGetOpenBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
13860
|
+
getOpenBookings(requestParameters?: BookingsApiGetOpenBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OpenBookingsResponse, any, {}>>;
|
|
13633
13861
|
/**
|
|
13634
13862
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
13635
13863
|
* @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
|
|
@@ -14201,6 +14429,14 @@ export declare const BookingsUserApiAxiosParamCreator: (configuration?: Configur
|
|
|
14201
14429
|
* @throws {RequiredError}
|
|
14202
14430
|
*/
|
|
14203
14431
|
createOpenBooking: (createOpenBookingRequest: CreateOpenBookingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14432
|
+
/**
|
|
14433
|
+
* Mettre à jour une réservation ouverte (description et niveau minimal)
|
|
14434
|
+
* @param {string} bookingId
|
|
14435
|
+
* @param {UpdateOpenBookingRequest} updateOpenBookingRequest
|
|
14436
|
+
* @param {*} [options] Override http request option.
|
|
14437
|
+
* @throws {RequiredError}
|
|
14438
|
+
*/
|
|
14439
|
+
updateOpenBooking: (bookingId: string, updateOpenBookingRequest: UpdateOpenBookingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14204
14440
|
};
|
|
14205
14441
|
/**
|
|
14206
14442
|
* BookingsUserApi - functional programming interface
|
|
@@ -14228,6 +14464,14 @@ export declare const BookingsUserApiFp: (configuration?: Configuration) => {
|
|
|
14228
14464
|
* @throws {RequiredError}
|
|
14229
14465
|
*/
|
|
14230
14466
|
createOpenBooking(createOpenBookingRequest: CreateOpenBookingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponse>>;
|
|
14467
|
+
/**
|
|
14468
|
+
* Mettre à jour une réservation ouverte (description et niveau minimal)
|
|
14469
|
+
* @param {string} bookingId
|
|
14470
|
+
* @param {UpdateOpenBookingRequest} updateOpenBookingRequest
|
|
14471
|
+
* @param {*} [options] Override http request option.
|
|
14472
|
+
* @throws {RequiredError}
|
|
14473
|
+
*/
|
|
14474
|
+
updateOpenBooking(bookingId: string, updateOpenBookingRequest: UpdateOpenBookingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateOpenBooking200Response>>;
|
|
14231
14475
|
};
|
|
14232
14476
|
/**
|
|
14233
14477
|
* BookingsUserApi - factory interface
|
|
@@ -14255,6 +14499,13 @@ export declare const BookingsUserApiFactory: (configuration?: Configuration, bas
|
|
|
14255
14499
|
* @throws {RequiredError}
|
|
14256
14500
|
*/
|
|
14257
14501
|
createOpenBooking(requestParameters: BookingsUserApiCreateOpenBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponse>;
|
|
14502
|
+
/**
|
|
14503
|
+
* Mettre à jour une réservation ouverte (description et niveau minimal)
|
|
14504
|
+
* @param {BookingsUserApiUpdateOpenBookingRequest} requestParameters Request parameters.
|
|
14505
|
+
* @param {*} [options] Override http request option.
|
|
14506
|
+
* @throws {RequiredError}
|
|
14507
|
+
*/
|
|
14508
|
+
updateOpenBooking(requestParameters: BookingsUserApiUpdateOpenBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateOpenBooking200Response>;
|
|
14258
14509
|
};
|
|
14259
14510
|
/**
|
|
14260
14511
|
* Request parameters for cancelBooking operation in BookingsUserApi.
|
|
@@ -14295,6 +14546,25 @@ export interface BookingsUserApiCreateOpenBookingRequest {
|
|
|
14295
14546
|
*/
|
|
14296
14547
|
readonly createOpenBookingRequest: CreateOpenBookingRequest;
|
|
14297
14548
|
}
|
|
14549
|
+
/**
|
|
14550
|
+
* Request parameters for updateOpenBooking operation in BookingsUserApi.
|
|
14551
|
+
* @export
|
|
14552
|
+
* @interface BookingsUserApiUpdateOpenBookingRequest
|
|
14553
|
+
*/
|
|
14554
|
+
export interface BookingsUserApiUpdateOpenBookingRequest {
|
|
14555
|
+
/**
|
|
14556
|
+
*
|
|
14557
|
+
* @type {string}
|
|
14558
|
+
* @memberof BookingsUserApiUpdateOpenBooking
|
|
14559
|
+
*/
|
|
14560
|
+
readonly bookingId: string;
|
|
14561
|
+
/**
|
|
14562
|
+
*
|
|
14563
|
+
* @type {UpdateOpenBookingRequest}
|
|
14564
|
+
* @memberof BookingsUserApiUpdateOpenBooking
|
|
14565
|
+
*/
|
|
14566
|
+
readonly updateOpenBookingRequest: UpdateOpenBookingRequest;
|
|
14567
|
+
}
|
|
14298
14568
|
/**
|
|
14299
14569
|
* BookingsUserApi - object-oriented interface
|
|
14300
14570
|
* @export
|
|
@@ -14326,6 +14596,14 @@ export declare class BookingsUserApi extends BaseAPI {
|
|
|
14326
14596
|
* @memberof BookingsUserApi
|
|
14327
14597
|
*/
|
|
14328
14598
|
createOpenBooking(requestParameters: BookingsUserApiCreateOpenBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingResponse, any, {}>>;
|
|
14599
|
+
/**
|
|
14600
|
+
* Mettre à jour une réservation ouverte (description et niveau minimal)
|
|
14601
|
+
* @param {BookingsUserApiUpdateOpenBookingRequest} requestParameters Request parameters.
|
|
14602
|
+
* @param {*} [options] Override http request option.
|
|
14603
|
+
* @throws {RequiredError}
|
|
14604
|
+
* @memberof BookingsUserApi
|
|
14605
|
+
*/
|
|
14606
|
+
updateOpenBooking(requestParameters: BookingsUserApiUpdateOpenBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateOpenBooking200Response, any, {}>>;
|
|
14329
14607
|
}
|
|
14330
14608
|
/**
|
|
14331
14609
|
* ClientApi - axios parameter creator
|
|
@@ -21266,6 +21544,13 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
21266
21544
|
* @throws {RequiredError}
|
|
21267
21545
|
*/
|
|
21268
21546
|
getUserProfileById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21547
|
+
/**
|
|
21548
|
+
* Quitter une réservation
|
|
21549
|
+
* @param {string} bookingId
|
|
21550
|
+
* @param {*} [options] Override http request option.
|
|
21551
|
+
* @throws {RequiredError}
|
|
21552
|
+
*/
|
|
21553
|
+
leaveBooking: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21269
21554
|
/**
|
|
21270
21555
|
*
|
|
21271
21556
|
* @param {PlayerCategoryId} [category]
|
|
@@ -21570,6 +21855,13 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
21570
21855
|
* @throws {RequiredError}
|
|
21571
21856
|
*/
|
|
21572
21857
|
getUserProfileById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublicUserProfileResponse>>;
|
|
21858
|
+
/**
|
|
21859
|
+
* Quitter une réservation
|
|
21860
|
+
* @param {string} bookingId
|
|
21861
|
+
* @param {*} [options] Override http request option.
|
|
21862
|
+
* @throws {RequiredError}
|
|
21863
|
+
*/
|
|
21864
|
+
leaveBooking(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeaveEventWaitList200Response>>;
|
|
21573
21865
|
/**
|
|
21574
21866
|
*
|
|
21575
21867
|
* @param {PlayerCategoryId} [category]
|
|
@@ -21864,6 +22156,13 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
21864
22156
|
* @throws {RequiredError}
|
|
21865
22157
|
*/
|
|
21866
22158
|
getUserProfileById(requestParameters: UsersApiGetUserProfileByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublicUserProfileResponse>;
|
|
22159
|
+
/**
|
|
22160
|
+
* Quitter une réservation
|
|
22161
|
+
* @param {UsersApiLeaveBookingRequest} requestParameters Request parameters.
|
|
22162
|
+
* @param {*} [options] Override http request option.
|
|
22163
|
+
* @throws {RequiredError}
|
|
22164
|
+
*/
|
|
22165
|
+
leaveBooking(requestParameters: UsersApiLeaveBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<LeaveEventWaitList200Response>;
|
|
21867
22166
|
/**
|
|
21868
22167
|
*
|
|
21869
22168
|
* @param {UsersApiListPlayersRequest} requestParameters Request parameters.
|
|
@@ -22226,6 +22525,19 @@ export interface UsersApiGetUserProfileByIdRequest {
|
|
|
22226
22525
|
*/
|
|
22227
22526
|
readonly id: string;
|
|
22228
22527
|
}
|
|
22528
|
+
/**
|
|
22529
|
+
* Request parameters for leaveBooking operation in UsersApi.
|
|
22530
|
+
* @export
|
|
22531
|
+
* @interface UsersApiLeaveBookingRequest
|
|
22532
|
+
*/
|
|
22533
|
+
export interface UsersApiLeaveBookingRequest {
|
|
22534
|
+
/**
|
|
22535
|
+
*
|
|
22536
|
+
* @type {string}
|
|
22537
|
+
* @memberof UsersApiLeaveBooking
|
|
22538
|
+
*/
|
|
22539
|
+
readonly bookingId: string;
|
|
22540
|
+
}
|
|
22229
22541
|
/**
|
|
22230
22542
|
* Request parameters for listPlayers operation in UsersApi.
|
|
22231
22543
|
* @export
|
|
@@ -22689,6 +23001,14 @@ export declare class UsersApi extends BaseAPI {
|
|
|
22689
23001
|
* @memberof UsersApi
|
|
22690
23002
|
*/
|
|
22691
23003
|
getUserProfileById(requestParameters: UsersApiGetUserProfileByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublicUserProfileResponse, any, {}>>;
|
|
23004
|
+
/**
|
|
23005
|
+
* Quitter une réservation
|
|
23006
|
+
* @param {UsersApiLeaveBookingRequest} requestParameters Request parameters.
|
|
23007
|
+
* @param {*} [options] Override http request option.
|
|
23008
|
+
* @throws {RequiredError}
|
|
23009
|
+
* @memberof UsersApi
|
|
23010
|
+
*/
|
|
23011
|
+
leaveBooking(requestParameters: UsersApiLeaveBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LeaveEventWaitList200Response, any, {}>>;
|
|
22692
23012
|
/**
|
|
22693
23013
|
*
|
|
22694
23014
|
* @param {UsersApiListPlayersRequest} requestParameters Request parameters.
|