@tennac-booking/sdk 1.0.175 → 1.0.177
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +409 -398
- package/README.md +18 -3
- package/api.ts +843 -19
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +656 -9
- package/dist/api.js +273 -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 +656 -9
- package/dist/esm/api.js +273 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/BookingPlayerInfo.md +26 -0
- package/docs/BookingPopulated.md +2 -0
- package/docs/BookingSummary.md +12 -0
- package/docs/BookingsApi.md +57 -2
- package/docs/BookingsUserApi.md +109 -0
- package/docs/CreateOpenBookingRequest.md +6 -0
- package/docs/GetOpenBookingPrice200Response.md +24 -0
- package/docs/GetOpenBookingPriceRequest.md +26 -0
- package/docs/JoinPriceEstimateResponse.md +38 -0
- package/docs/JoinPriceEstimateResponseSubscriptionInfo.md +25 -0
- package/docs/OpenBookingInfo.md +50 -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/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.177
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -648,6 +648,37 @@ export interface BookingPaymentStatusResponseSummary {
|
|
|
648
648
|
*/
|
|
649
649
|
'totalPlayers': number;
|
|
650
650
|
}
|
|
651
|
+
/**
|
|
652
|
+
*
|
|
653
|
+
* @export
|
|
654
|
+
* @interface BookingPlayerInfo
|
|
655
|
+
*/
|
|
656
|
+
export interface BookingPlayerInfo {
|
|
657
|
+
/**
|
|
658
|
+
*
|
|
659
|
+
* @type {string}
|
|
660
|
+
* @memberof BookingPlayerInfo
|
|
661
|
+
*/
|
|
662
|
+
'id': string;
|
|
663
|
+
/**
|
|
664
|
+
*
|
|
665
|
+
* @type {string}
|
|
666
|
+
* @memberof BookingPlayerInfo
|
|
667
|
+
*/
|
|
668
|
+
'firstName'?: string | null;
|
|
669
|
+
/**
|
|
670
|
+
*
|
|
671
|
+
* @type {string}
|
|
672
|
+
* @memberof BookingPlayerInfo
|
|
673
|
+
*/
|
|
674
|
+
'lastName'?: string | null;
|
|
675
|
+
/**
|
|
676
|
+
*
|
|
677
|
+
* @type {string}
|
|
678
|
+
* @memberof BookingPlayerInfo
|
|
679
|
+
*/
|
|
680
|
+
'profilePicture'?: string | null;
|
|
681
|
+
}
|
|
651
682
|
/**
|
|
652
683
|
*
|
|
653
684
|
* @export
|
|
@@ -739,6 +770,12 @@ export interface BookingPopulated {
|
|
|
739
770
|
* @memberof BookingPopulated
|
|
740
771
|
*/
|
|
741
772
|
'players': Array<UserInfo>;
|
|
773
|
+
/**
|
|
774
|
+
* Joueurs inclus à la création de la réservation (pour les créneaux ouverts)
|
|
775
|
+
* @type {Array<UserInfo>}
|
|
776
|
+
* @memberof BookingPopulated
|
|
777
|
+
*/
|
|
778
|
+
'initialPlayers'?: Array<UserInfo>;
|
|
742
779
|
/**
|
|
743
780
|
* Statut des paiements par joueur
|
|
744
781
|
* @type {Array<PaymentByPlayerInfo>}
|
|
@@ -1057,6 +1094,42 @@ export interface BookingSummary {
|
|
|
1057
1094
|
* @memberof BookingSummary
|
|
1058
1095
|
*/
|
|
1059
1096
|
'isPublic': boolean;
|
|
1097
|
+
/**
|
|
1098
|
+
*
|
|
1099
|
+
* @type {boolean}
|
|
1100
|
+
* @memberof BookingSummary
|
|
1101
|
+
*/
|
|
1102
|
+
'isOpen': boolean;
|
|
1103
|
+
/**
|
|
1104
|
+
*
|
|
1105
|
+
* @type {number}
|
|
1106
|
+
* @memberof BookingSummary
|
|
1107
|
+
*/
|
|
1108
|
+
'maxPlayers'?: number | null;
|
|
1109
|
+
/**
|
|
1110
|
+
*
|
|
1111
|
+
* @type {number}
|
|
1112
|
+
* @memberof BookingSummary
|
|
1113
|
+
*/
|
|
1114
|
+
'maxPlayersDesired'?: number | null;
|
|
1115
|
+
/**
|
|
1116
|
+
*
|
|
1117
|
+
* @type {string}
|
|
1118
|
+
* @memberof BookingSummary
|
|
1119
|
+
*/
|
|
1120
|
+
'description'?: string | null;
|
|
1121
|
+
/**
|
|
1122
|
+
*
|
|
1123
|
+
* @type {string}
|
|
1124
|
+
* @memberof BookingSummary
|
|
1125
|
+
*/
|
|
1126
|
+
'minLevel'?: string | null;
|
|
1127
|
+
/**
|
|
1128
|
+
*
|
|
1129
|
+
* @type {Array<BookingPlayerInfo>}
|
|
1130
|
+
* @memberof BookingSummary
|
|
1131
|
+
*/
|
|
1132
|
+
'initialPlayers'?: Array<BookingPlayerInfo>;
|
|
1060
1133
|
/**
|
|
1061
1134
|
*
|
|
1062
1135
|
* @type {string}
|
|
@@ -4508,6 +4581,24 @@ export interface CreateOpenBookingRequest {
|
|
|
4508
4581
|
* @memberof CreateOpenBookingRequest
|
|
4509
4582
|
*/
|
|
4510
4583
|
'maxPlayers': number;
|
|
4584
|
+
/**
|
|
4585
|
+
* Description de la réservation ouverte
|
|
4586
|
+
* @type {string}
|
|
4587
|
+
* @memberof CreateOpenBookingRequest
|
|
4588
|
+
*/
|
|
4589
|
+
'description'?: string;
|
|
4590
|
+
/**
|
|
4591
|
+
* Niveau minimal souhaité pour rejoindre
|
|
4592
|
+
* @type {string}
|
|
4593
|
+
* @memberof CreateOpenBookingRequest
|
|
4594
|
+
*/
|
|
4595
|
+
'minLevel'?: string;
|
|
4596
|
+
/**
|
|
4597
|
+
* IDs des joueurs inclus de base dans la réservation (en plus du créateur)
|
|
4598
|
+
* @type {Array<string>}
|
|
4599
|
+
* @memberof CreateOpenBookingRequest
|
|
4600
|
+
*/
|
|
4601
|
+
'initialPlayerIds'?: Array<string>;
|
|
4511
4602
|
}
|
|
4512
4603
|
/**
|
|
4513
4604
|
*
|
|
@@ -6161,15 +6252,60 @@ export interface GetInfillPercentagePerPeriod200Response {
|
|
|
6161
6252
|
/**
|
|
6162
6253
|
*
|
|
6163
6254
|
* @export
|
|
6164
|
-
* @interface
|
|
6255
|
+
* @interface GetOpenBookingPrice200Response
|
|
6256
|
+
*/
|
|
6257
|
+
export interface GetOpenBookingPrice200Response {
|
|
6258
|
+
/**
|
|
6259
|
+
*
|
|
6260
|
+
* @type {number}
|
|
6261
|
+
* @memberof GetOpenBookingPrice200Response
|
|
6262
|
+
*/
|
|
6263
|
+
'totalBasePrice': number;
|
|
6264
|
+
/**
|
|
6265
|
+
*
|
|
6266
|
+
* @type {Array<PlayerPrice>}
|
|
6267
|
+
* @memberof GetOpenBookingPrice200Response
|
|
6268
|
+
*/
|
|
6269
|
+
'playersPrices': Array<PlayerPrice>;
|
|
6270
|
+
/**
|
|
6271
|
+
*
|
|
6272
|
+
* @type {number}
|
|
6273
|
+
* @memberof GetOpenBookingPrice200Response
|
|
6274
|
+
*/
|
|
6275
|
+
'basePricePerPlayer': number;
|
|
6276
|
+
}
|
|
6277
|
+
/**
|
|
6278
|
+
*
|
|
6279
|
+
* @export
|
|
6280
|
+
* @interface GetOpenBookingPriceRequest
|
|
6165
6281
|
*/
|
|
6166
|
-
export interface
|
|
6282
|
+
export interface GetOpenBookingPriceRequest {
|
|
6283
|
+
/**
|
|
6284
|
+
* Construct a type with a set of properties K of type T
|
|
6285
|
+
* @type {{ [key: string]: number; }}
|
|
6286
|
+
* @memberof GetOpenBookingPriceRequest
|
|
6287
|
+
*/
|
|
6288
|
+
'creditsByPlayer'?: {
|
|
6289
|
+
[key: string]: number;
|
|
6290
|
+
};
|
|
6291
|
+
/**
|
|
6292
|
+
*
|
|
6293
|
+
* @type {Array<string>}
|
|
6294
|
+
* @memberof GetOpenBookingPriceRequest
|
|
6295
|
+
*/
|
|
6296
|
+
'initialPlayerIds'?: Array<string>;
|
|
6167
6297
|
/**
|
|
6168
6298
|
*
|
|
6169
|
-
* @type {
|
|
6170
|
-
* @memberof
|
|
6299
|
+
* @type {number}
|
|
6300
|
+
* @memberof GetOpenBookingPriceRequest
|
|
6301
|
+
*/
|
|
6302
|
+
'maxPlayers': number;
|
|
6303
|
+
/**
|
|
6304
|
+
*
|
|
6305
|
+
* @type {Array<string>}
|
|
6306
|
+
* @memberof GetOpenBookingPriceRequest
|
|
6171
6307
|
*/
|
|
6172
|
-
'
|
|
6308
|
+
'slotIds': Array<string>;
|
|
6173
6309
|
}
|
|
6174
6310
|
/**
|
|
6175
6311
|
*
|
|
@@ -7315,6 +7451,98 @@ export interface JoinOpenEventResponse {
|
|
|
7315
7451
|
*/
|
|
7316
7452
|
'invoices'?: Array<CheckInEventParticipants200ResponseInvoicesInner>;
|
|
7317
7453
|
}
|
|
7454
|
+
/**
|
|
7455
|
+
*
|
|
7456
|
+
* @export
|
|
7457
|
+
* @interface JoinPriceEstimateResponse
|
|
7458
|
+
*/
|
|
7459
|
+
export interface JoinPriceEstimateResponse {
|
|
7460
|
+
/**
|
|
7461
|
+
* ID de la réservation
|
|
7462
|
+
* @type {string}
|
|
7463
|
+
* @memberof JoinPriceEstimateResponse
|
|
7464
|
+
*/
|
|
7465
|
+
'bookingId': string;
|
|
7466
|
+
/**
|
|
7467
|
+
* Prix de base sans réductions (en centimes)
|
|
7468
|
+
* @type {number}
|
|
7469
|
+
* @memberof JoinPriceEstimateResponse
|
|
7470
|
+
*/
|
|
7471
|
+
'basePrice': number;
|
|
7472
|
+
/**
|
|
7473
|
+
* Prix après application de l\'abonnement (en centimes)
|
|
7474
|
+
* @type {number}
|
|
7475
|
+
* @memberof JoinPriceEstimateResponse
|
|
7476
|
+
*/
|
|
7477
|
+
'priceAfterSubscription': number;
|
|
7478
|
+
/**
|
|
7479
|
+
* Montant de la réduction d\'abonnement (en centimes)
|
|
7480
|
+
* @type {number}
|
|
7481
|
+
* @memberof JoinPriceEstimateResponse
|
|
7482
|
+
*/
|
|
7483
|
+
'subscriptionDiscount': number;
|
|
7484
|
+
/**
|
|
7485
|
+
*
|
|
7486
|
+
* @type {JoinPriceEstimateResponseSubscriptionInfo}
|
|
7487
|
+
* @memberof JoinPriceEstimateResponse
|
|
7488
|
+
*/
|
|
7489
|
+
'subscriptionInfo'?: JoinPriceEstimateResponseSubscriptionInfo;
|
|
7490
|
+
/**
|
|
7491
|
+
* Crédits disponibles pour le joueur dans ce club (en centimes)
|
|
7492
|
+
* @type {number}
|
|
7493
|
+
* @memberof JoinPriceEstimateResponse
|
|
7494
|
+
*/
|
|
7495
|
+
'availableCreditsInCents': number;
|
|
7496
|
+
/**
|
|
7497
|
+
* Crédits qui seront utilisés (en centimes)
|
|
7498
|
+
* @type {number}
|
|
7499
|
+
* @memberof JoinPriceEstimateResponse
|
|
7500
|
+
*/
|
|
7501
|
+
'creditToUseInCents': number;
|
|
7502
|
+
/**
|
|
7503
|
+
* Prix final après toutes les réductions et crédits (en centimes)
|
|
7504
|
+
* @type {number}
|
|
7505
|
+
* @memberof JoinPriceEstimateResponse
|
|
7506
|
+
*/
|
|
7507
|
+
'finalPriceInCents': number;
|
|
7508
|
+
/**
|
|
7509
|
+
* Indique si le joueur peut rejoindre la réservation
|
|
7510
|
+
* @type {boolean}
|
|
7511
|
+
* @memberof JoinPriceEstimateResponse
|
|
7512
|
+
*/
|
|
7513
|
+
'canJoin': boolean;
|
|
7514
|
+
/**
|
|
7515
|
+
* Raison si le joueur ne peut pas rejoindre
|
|
7516
|
+
* @type {string}
|
|
7517
|
+
* @memberof JoinPriceEstimateResponse
|
|
7518
|
+
*/
|
|
7519
|
+
'reason'?: string;
|
|
7520
|
+
}
|
|
7521
|
+
/**
|
|
7522
|
+
* Informations sur l\'abonnement du joueur
|
|
7523
|
+
* @export
|
|
7524
|
+
* @interface JoinPriceEstimateResponseSubscriptionInfo
|
|
7525
|
+
*/
|
|
7526
|
+
export interface JoinPriceEstimateResponseSubscriptionInfo {
|
|
7527
|
+
/**
|
|
7528
|
+
*
|
|
7529
|
+
* @type {string}
|
|
7530
|
+
* @memberof JoinPriceEstimateResponseSubscriptionInfo
|
|
7531
|
+
*/
|
|
7532
|
+
'subscriptionName'?: string;
|
|
7533
|
+
/**
|
|
7534
|
+
*
|
|
7535
|
+
* @type {number}
|
|
7536
|
+
* @memberof JoinPriceEstimateResponseSubscriptionInfo
|
|
7537
|
+
*/
|
|
7538
|
+
'discountPercentage'?: number;
|
|
7539
|
+
/**
|
|
7540
|
+
*
|
|
7541
|
+
* @type {boolean}
|
|
7542
|
+
* @memberof JoinPriceEstimateResponseSubscriptionInfo
|
|
7543
|
+
*/
|
|
7544
|
+
'hasSubscription': boolean;
|
|
7545
|
+
}
|
|
7318
7546
|
/**
|
|
7319
7547
|
*
|
|
7320
7548
|
* @export
|
|
@@ -7800,6 +8028,203 @@ export interface OffPeakRule {
|
|
|
7800
8028
|
*/
|
|
7801
8029
|
'dayOfWeek': number;
|
|
7802
8030
|
}
|
|
8031
|
+
/**
|
|
8032
|
+
*
|
|
8033
|
+
* @export
|
|
8034
|
+
* @interface OpenBookingInfo
|
|
8035
|
+
*/
|
|
8036
|
+
export interface OpenBookingInfo {
|
|
8037
|
+
/**
|
|
8038
|
+
* ID de la réservation
|
|
8039
|
+
* @type {string}
|
|
8040
|
+
* @memberof OpenBookingInfo
|
|
8041
|
+
*/
|
|
8042
|
+
'id': string;
|
|
8043
|
+
/**
|
|
8044
|
+
* ID du club
|
|
8045
|
+
* @type {string}
|
|
8046
|
+
* @memberof OpenBookingInfo
|
|
8047
|
+
*/
|
|
8048
|
+
'clubId': string;
|
|
8049
|
+
/**
|
|
8050
|
+
* ID de l\'utilisateur créateur
|
|
8051
|
+
* @type {string}
|
|
8052
|
+
* @memberof OpenBookingInfo
|
|
8053
|
+
*/
|
|
8054
|
+
'userId': string;
|
|
8055
|
+
/**
|
|
8056
|
+
* Liste des joueurs avec leurs infos
|
|
8057
|
+
* @type {Array<OpenBookingPlayerInfo>}
|
|
8058
|
+
* @memberof OpenBookingInfo
|
|
8059
|
+
*/
|
|
8060
|
+
'players': Array<OpenBookingPlayerInfo>;
|
|
8061
|
+
/**
|
|
8062
|
+
*
|
|
8063
|
+
* @type {BookingStatus}
|
|
8064
|
+
* @memberof OpenBookingInfo
|
|
8065
|
+
*/
|
|
8066
|
+
'status': BookingStatus;
|
|
8067
|
+
/**
|
|
8068
|
+
* Prix total en euros
|
|
8069
|
+
* @type {number}
|
|
8070
|
+
* @memberof OpenBookingInfo
|
|
8071
|
+
*/
|
|
8072
|
+
'totalPrice': number;
|
|
8073
|
+
/**
|
|
8074
|
+
* Informations des créneaux
|
|
8075
|
+
* @type {Array<OpenBookingSlotInfo>}
|
|
8076
|
+
* @memberof OpenBookingInfo
|
|
8077
|
+
*/
|
|
8078
|
+
'slots': Array<OpenBookingSlotInfo>;
|
|
8079
|
+
/**
|
|
8080
|
+
* Indique si le créateur paie pour tous
|
|
8081
|
+
* @type {boolean}
|
|
8082
|
+
* @memberof OpenBookingInfo
|
|
8083
|
+
*/
|
|
8084
|
+
'isCreatorPayingAll': boolean;
|
|
8085
|
+
/**
|
|
8086
|
+
* Date de création
|
|
8087
|
+
* @type {string}
|
|
8088
|
+
* @memberof OpenBookingInfo
|
|
8089
|
+
*/
|
|
8090
|
+
'createdAt': string;
|
|
8091
|
+
/**
|
|
8092
|
+
* Date de mise à jour
|
|
8093
|
+
* @type {string}
|
|
8094
|
+
* @memberof OpenBookingInfo
|
|
8095
|
+
*/
|
|
8096
|
+
'updatedAt': string;
|
|
8097
|
+
/**
|
|
8098
|
+
*
|
|
8099
|
+
* @type {OpenBookingSportInfo}
|
|
8100
|
+
* @memberof OpenBookingInfo
|
|
8101
|
+
*/
|
|
8102
|
+
'sport'?: OpenBookingSportInfo;
|
|
8103
|
+
/**
|
|
8104
|
+
* Niveau minimal souhaité
|
|
8105
|
+
* @type {string}
|
|
8106
|
+
* @memberof OpenBookingInfo
|
|
8107
|
+
*/
|
|
8108
|
+
'minLevel'?: string;
|
|
8109
|
+
/**
|
|
8110
|
+
* Description de la réservation
|
|
8111
|
+
* @type {string}
|
|
8112
|
+
* @memberof OpenBookingInfo
|
|
8113
|
+
*/
|
|
8114
|
+
'description'?: string;
|
|
8115
|
+
/**
|
|
8116
|
+
* Nombre maximal de joueurs
|
|
8117
|
+
* @type {number}
|
|
8118
|
+
* @memberof OpenBookingInfo
|
|
8119
|
+
*/
|
|
8120
|
+
'maxPlayers'?: number;
|
|
8121
|
+
/**
|
|
8122
|
+
* Nombre de joueurs actuels
|
|
8123
|
+
* @type {number}
|
|
8124
|
+
* @memberof OpenBookingInfo
|
|
8125
|
+
*/
|
|
8126
|
+
'currentPlayersCount': number;
|
|
8127
|
+
/**
|
|
8128
|
+
* Prix de base pour rejoindre la réservation (en centimes)
|
|
8129
|
+
* @type {number}
|
|
8130
|
+
* @memberof OpenBookingInfo
|
|
8131
|
+
*/
|
|
8132
|
+
'basePriceToJoin'?: number;
|
|
8133
|
+
}
|
|
8134
|
+
/**
|
|
8135
|
+
*
|
|
8136
|
+
* @export
|
|
8137
|
+
* @interface OpenBookingPlayerInfo
|
|
8138
|
+
*/
|
|
8139
|
+
export interface OpenBookingPlayerInfo {
|
|
8140
|
+
/**
|
|
8141
|
+
* ID du joueur
|
|
8142
|
+
* @type {string}
|
|
8143
|
+
* @memberof OpenBookingPlayerInfo
|
|
8144
|
+
*/
|
|
8145
|
+
'id': string;
|
|
8146
|
+
/**
|
|
8147
|
+
* Prénom
|
|
8148
|
+
* @type {string}
|
|
8149
|
+
* @memberof OpenBookingPlayerInfo
|
|
8150
|
+
*/
|
|
8151
|
+
'firstName': string;
|
|
8152
|
+
/**
|
|
8153
|
+
* Nom
|
|
8154
|
+
* @type {string}
|
|
8155
|
+
* @memberof OpenBookingPlayerInfo
|
|
8156
|
+
*/
|
|
8157
|
+
'lastName': string;
|
|
8158
|
+
/**
|
|
8159
|
+
* Photo de profil
|
|
8160
|
+
* @type {string}
|
|
8161
|
+
* @memberof OpenBookingPlayerInfo
|
|
8162
|
+
*/
|
|
8163
|
+
'profilePicture'?: string;
|
|
8164
|
+
}
|
|
8165
|
+
/**
|
|
8166
|
+
*
|
|
8167
|
+
* @export
|
|
8168
|
+
* @interface OpenBookingSlotInfo
|
|
8169
|
+
*/
|
|
8170
|
+
export interface OpenBookingSlotInfo {
|
|
8171
|
+
/**
|
|
8172
|
+
* ID du slot
|
|
8173
|
+
* @type {string}
|
|
8174
|
+
* @memberof OpenBookingSlotInfo
|
|
8175
|
+
*/
|
|
8176
|
+
'id': string;
|
|
8177
|
+
/**
|
|
8178
|
+
* Date de début ISO
|
|
8179
|
+
* @type {string}
|
|
8180
|
+
* @memberof OpenBookingSlotInfo
|
|
8181
|
+
*/
|
|
8182
|
+
'startDate': string;
|
|
8183
|
+
/**
|
|
8184
|
+
* Date de fin ISO
|
|
8185
|
+
* @type {string}
|
|
8186
|
+
* @memberof OpenBookingSlotInfo
|
|
8187
|
+
*/
|
|
8188
|
+
'endDate': string;
|
|
8189
|
+
}
|
|
8190
|
+
/**
|
|
8191
|
+
*
|
|
8192
|
+
* @export
|
|
8193
|
+
* @interface OpenBookingSportInfo
|
|
8194
|
+
*/
|
|
8195
|
+
export interface OpenBookingSportInfo {
|
|
8196
|
+
/**
|
|
8197
|
+
* ID du sport
|
|
8198
|
+
* @type {string}
|
|
8199
|
+
* @memberof OpenBookingSportInfo
|
|
8200
|
+
*/
|
|
8201
|
+
'id': string;
|
|
8202
|
+
/**
|
|
8203
|
+
* Clé du sport
|
|
8204
|
+
* @type {string}
|
|
8205
|
+
* @memberof OpenBookingSportInfo
|
|
8206
|
+
*/
|
|
8207
|
+
'key': string;
|
|
8208
|
+
/**
|
|
8209
|
+
* Nom du sport
|
|
8210
|
+
* @type {string}
|
|
8211
|
+
* @memberof OpenBookingSportInfo
|
|
8212
|
+
*/
|
|
8213
|
+
'name': string;
|
|
8214
|
+
}
|
|
8215
|
+
/**
|
|
8216
|
+
*
|
|
8217
|
+
* @export
|
|
8218
|
+
* @interface OpenBookingsResponse
|
|
8219
|
+
*/
|
|
8220
|
+
export interface OpenBookingsResponse {
|
|
8221
|
+
/**
|
|
8222
|
+
* Liste des réservations ouvertes
|
|
8223
|
+
* @type {Array<OpenBookingInfo>}
|
|
8224
|
+
* @memberof OpenBookingsResponse
|
|
8225
|
+
*/
|
|
8226
|
+
'bookings': Array<OpenBookingInfo>;
|
|
8227
|
+
}
|
|
7803
8228
|
/**
|
|
7804
8229
|
*
|
|
7805
8230
|
* @export
|
|
@@ -11661,6 +12086,44 @@ export interface UpdateLevelBySportsRequestBody {
|
|
|
11661
12086
|
*/
|
|
11662
12087
|
'levelBySports': Array<LevelBySportEntry>;
|
|
11663
12088
|
}
|
|
12089
|
+
/**
|
|
12090
|
+
*
|
|
12091
|
+
* @export
|
|
12092
|
+
* @interface UpdateOpenBooking200Response
|
|
12093
|
+
*/
|
|
12094
|
+
export interface UpdateOpenBooking200Response {
|
|
12095
|
+
/**
|
|
12096
|
+
*
|
|
12097
|
+
* @type {BookingInfo}
|
|
12098
|
+
* @memberof UpdateOpenBooking200Response
|
|
12099
|
+
*/
|
|
12100
|
+
'booking': BookingInfo;
|
|
12101
|
+
/**
|
|
12102
|
+
*
|
|
12103
|
+
* @type {string}
|
|
12104
|
+
* @memberof UpdateOpenBooking200Response
|
|
12105
|
+
*/
|
|
12106
|
+
'message': string;
|
|
12107
|
+
}
|
|
12108
|
+
/**
|
|
12109
|
+
*
|
|
12110
|
+
* @export
|
|
12111
|
+
* @interface UpdateOpenBookingRequest
|
|
12112
|
+
*/
|
|
12113
|
+
export interface UpdateOpenBookingRequest {
|
|
12114
|
+
/**
|
|
12115
|
+
* Description de la réservation ouverte
|
|
12116
|
+
* @type {string}
|
|
12117
|
+
* @memberof UpdateOpenBookingRequest
|
|
12118
|
+
*/
|
|
12119
|
+
'description'?: string;
|
|
12120
|
+
/**
|
|
12121
|
+
* Niveau minimal souhaité pour rejoindre
|
|
12122
|
+
* @type {string}
|
|
12123
|
+
* @memberof UpdateOpenBookingRequest
|
|
12124
|
+
*/
|
|
12125
|
+
'minLevel'?: string;
|
|
12126
|
+
}
|
|
11664
12127
|
/**
|
|
11665
12128
|
*
|
|
11666
12129
|
* @export
|
|
@@ -13154,6 +13617,14 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
13154
13617
|
* @throws {RequiredError}
|
|
13155
13618
|
*/
|
|
13156
13619
|
getGuestBookingPrice: (getGuestBookingPriceRequest: GetGuestBookingPriceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13620
|
+
/**
|
|
13621
|
+
* Estimation complète du prix pour rejoindre une réservation ouverte Retourne tous les détails: prix de base, réductions, crédits disponibles, et prix final
|
|
13622
|
+
* @param {string} bookingId
|
|
13623
|
+
* @param {number} [creditToUseInCents]
|
|
13624
|
+
* @param {*} [options] Override http request option.
|
|
13625
|
+
* @throws {RequiredError}
|
|
13626
|
+
*/
|
|
13627
|
+
getJoinPriceEstimate: (bookingId: string, creditToUseInCents?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13157
13628
|
/**
|
|
13158
13629
|
* Estimer simplement le prix à payer pour rejoindre une réservation ouverte
|
|
13159
13630
|
* @param {string} bookingId
|
|
@@ -13242,6 +13713,14 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
13242
13713
|
* @throws {RequiredError}
|
|
13243
13714
|
*/
|
|
13244
13715
|
getGuestBookingPrice(getGuestBookingPriceRequest: GetGuestBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetGuestBookingPrice200Response>>;
|
|
13716
|
+
/**
|
|
13717
|
+
* Estimation complète du prix pour rejoindre une réservation ouverte Retourne tous les détails: prix de base, réductions, crédits disponibles, et prix final
|
|
13718
|
+
* @param {string} bookingId
|
|
13719
|
+
* @param {number} [creditToUseInCents]
|
|
13720
|
+
* @param {*} [options] Override http request option.
|
|
13721
|
+
* @throws {RequiredError}
|
|
13722
|
+
*/
|
|
13723
|
+
getJoinPriceEstimate(bookingId: string, creditToUseInCents?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinPriceEstimateResponse>>;
|
|
13245
13724
|
/**
|
|
13246
13725
|
* Estimer simplement le prix à payer pour rejoindre une réservation ouverte
|
|
13247
13726
|
* @param {string} bookingId
|
|
@@ -13255,7 +13734,7 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
13255
13734
|
* @param {*} [options] Override http request option.
|
|
13256
13735
|
* @throws {RequiredError}
|
|
13257
13736
|
*/
|
|
13258
|
-
getOpenBookings(clubId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
13737
|
+
getOpenBookings(clubId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OpenBookingsResponse>>;
|
|
13259
13738
|
/**
|
|
13260
13739
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
13261
13740
|
* @param {number} [latitude]
|
|
@@ -13329,6 +13808,13 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
13329
13808
|
* @throws {RequiredError}
|
|
13330
13809
|
*/
|
|
13331
13810
|
getGuestBookingPrice(requestParameters: BookingsApiGetGuestBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetGuestBookingPrice200Response>;
|
|
13811
|
+
/**
|
|
13812
|
+
* Estimation complète du prix pour rejoindre une réservation ouverte Retourne tous les détails: prix de base, réductions, crédits disponibles, et prix final
|
|
13813
|
+
* @param {BookingsApiGetJoinPriceEstimateRequest} requestParameters Request parameters.
|
|
13814
|
+
* @param {*} [options] Override http request option.
|
|
13815
|
+
* @throws {RequiredError}
|
|
13816
|
+
*/
|
|
13817
|
+
getJoinPriceEstimate(requestParameters: BookingsApiGetJoinPriceEstimateRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinPriceEstimateResponse>;
|
|
13332
13818
|
/**
|
|
13333
13819
|
* Estimer simplement le prix à payer pour rejoindre une réservation ouverte
|
|
13334
13820
|
* @param {BookingsApiGetOpenBookingJoinPriceRequest} requestParameters Request parameters.
|
|
@@ -13342,7 +13828,7 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
13342
13828
|
* @param {*} [options] Override http request option.
|
|
13343
13829
|
* @throws {RequiredError}
|
|
13344
13830
|
*/
|
|
13345
|
-
getOpenBookings(requestParameters?: BookingsApiGetOpenBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
13831
|
+
getOpenBookings(requestParameters?: BookingsApiGetOpenBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpenBookingsResponse>;
|
|
13346
13832
|
/**
|
|
13347
13833
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
13348
13834
|
* @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
|
|
@@ -13436,6 +13922,25 @@ export interface BookingsApiGetGuestBookingPriceRequest {
|
|
|
13436
13922
|
*/
|
|
13437
13923
|
readonly getGuestBookingPriceRequest: GetGuestBookingPriceRequest;
|
|
13438
13924
|
}
|
|
13925
|
+
/**
|
|
13926
|
+
* Request parameters for getJoinPriceEstimate operation in BookingsApi.
|
|
13927
|
+
* @export
|
|
13928
|
+
* @interface BookingsApiGetJoinPriceEstimateRequest
|
|
13929
|
+
*/
|
|
13930
|
+
export interface BookingsApiGetJoinPriceEstimateRequest {
|
|
13931
|
+
/**
|
|
13932
|
+
*
|
|
13933
|
+
* @type {string}
|
|
13934
|
+
* @memberof BookingsApiGetJoinPriceEstimate
|
|
13935
|
+
*/
|
|
13936
|
+
readonly bookingId: string;
|
|
13937
|
+
/**
|
|
13938
|
+
*
|
|
13939
|
+
* @type {number}
|
|
13940
|
+
* @memberof BookingsApiGetJoinPriceEstimate
|
|
13941
|
+
*/
|
|
13942
|
+
readonly creditToUseInCents?: number;
|
|
13943
|
+
}
|
|
13439
13944
|
/**
|
|
13440
13945
|
* Request parameters for getOpenBookingJoinPrice operation in BookingsApi.
|
|
13441
13946
|
* @export
|
|
@@ -13614,6 +14119,14 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
13614
14119
|
* @memberof BookingsApi
|
|
13615
14120
|
*/
|
|
13616
14121
|
getGuestBookingPrice(requestParameters: BookingsApiGetGuestBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetGuestBookingPrice200Response, any, {}>>;
|
|
14122
|
+
/**
|
|
14123
|
+
* Estimation complète du prix pour rejoindre une réservation ouverte Retourne tous les détails: prix de base, réductions, crédits disponibles, et prix final
|
|
14124
|
+
* @param {BookingsApiGetJoinPriceEstimateRequest} requestParameters Request parameters.
|
|
14125
|
+
* @param {*} [options] Override http request option.
|
|
14126
|
+
* @throws {RequiredError}
|
|
14127
|
+
* @memberof BookingsApi
|
|
14128
|
+
*/
|
|
14129
|
+
getJoinPriceEstimate(requestParameters: BookingsApiGetJoinPriceEstimateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JoinPriceEstimateResponse, any, {}>>;
|
|
13617
14130
|
/**
|
|
13618
14131
|
* Estimer simplement le prix à payer pour rejoindre une réservation ouverte
|
|
13619
14132
|
* @param {BookingsApiGetOpenBookingJoinPriceRequest} requestParameters Request parameters.
|
|
@@ -13629,7 +14142,7 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
13629
14142
|
* @throws {RequiredError}
|
|
13630
14143
|
* @memberof BookingsApi
|
|
13631
14144
|
*/
|
|
13632
|
-
getOpenBookings(requestParameters?: BookingsApiGetOpenBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
14145
|
+
getOpenBookings(requestParameters?: BookingsApiGetOpenBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OpenBookingsResponse, any, {}>>;
|
|
13633
14146
|
/**
|
|
13634
14147
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
13635
14148
|
* @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
|
|
@@ -14201,6 +14714,21 @@ export declare const BookingsUserApiAxiosParamCreator: (configuration?: Configur
|
|
|
14201
14714
|
* @throws {RequiredError}
|
|
14202
14715
|
*/
|
|
14203
14716
|
createOpenBooking: (createOpenBookingRequest: CreateOpenBookingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14717
|
+
/**
|
|
14718
|
+
* Calculer le prix d\'une réservation ouverte avec joueurs initiaux
|
|
14719
|
+
* @param {GetOpenBookingPriceRequest} getOpenBookingPriceRequest
|
|
14720
|
+
* @param {*} [options] Override http request option.
|
|
14721
|
+
* @throws {RequiredError}
|
|
14722
|
+
*/
|
|
14723
|
+
getOpenBookingPrice: (getOpenBookingPriceRequest: GetOpenBookingPriceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14724
|
+
/**
|
|
14725
|
+
* Mettre à jour une réservation ouverte (description et niveau minimal)
|
|
14726
|
+
* @param {string} bookingId
|
|
14727
|
+
* @param {UpdateOpenBookingRequest} updateOpenBookingRequest
|
|
14728
|
+
* @param {*} [options] Override http request option.
|
|
14729
|
+
* @throws {RequiredError}
|
|
14730
|
+
*/
|
|
14731
|
+
updateOpenBooking: (bookingId: string, updateOpenBookingRequest: UpdateOpenBookingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14204
14732
|
};
|
|
14205
14733
|
/**
|
|
14206
14734
|
* BookingsUserApi - functional programming interface
|
|
@@ -14228,6 +14756,21 @@ export declare const BookingsUserApiFp: (configuration?: Configuration) => {
|
|
|
14228
14756
|
* @throws {RequiredError}
|
|
14229
14757
|
*/
|
|
14230
14758
|
createOpenBooking(createOpenBookingRequest: CreateOpenBookingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponse>>;
|
|
14759
|
+
/**
|
|
14760
|
+
* Calculer le prix d\'une réservation ouverte avec joueurs initiaux
|
|
14761
|
+
* @param {GetOpenBookingPriceRequest} getOpenBookingPriceRequest
|
|
14762
|
+
* @param {*} [options] Override http request option.
|
|
14763
|
+
* @throws {RequiredError}
|
|
14764
|
+
*/
|
|
14765
|
+
getOpenBookingPrice(getOpenBookingPriceRequest: GetOpenBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOpenBookingPrice200Response>>;
|
|
14766
|
+
/**
|
|
14767
|
+
* Mettre à jour une réservation ouverte (description et niveau minimal)
|
|
14768
|
+
* @param {string} bookingId
|
|
14769
|
+
* @param {UpdateOpenBookingRequest} updateOpenBookingRequest
|
|
14770
|
+
* @param {*} [options] Override http request option.
|
|
14771
|
+
* @throws {RequiredError}
|
|
14772
|
+
*/
|
|
14773
|
+
updateOpenBooking(bookingId: string, updateOpenBookingRequest: UpdateOpenBookingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateOpenBooking200Response>>;
|
|
14231
14774
|
};
|
|
14232
14775
|
/**
|
|
14233
14776
|
* BookingsUserApi - factory interface
|
|
@@ -14255,6 +14798,20 @@ export declare const BookingsUserApiFactory: (configuration?: Configuration, bas
|
|
|
14255
14798
|
* @throws {RequiredError}
|
|
14256
14799
|
*/
|
|
14257
14800
|
createOpenBooking(requestParameters: BookingsUserApiCreateOpenBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponse>;
|
|
14801
|
+
/**
|
|
14802
|
+
* Calculer le prix d\'une réservation ouverte avec joueurs initiaux
|
|
14803
|
+
* @param {BookingsUserApiGetOpenBookingPriceRequest} requestParameters Request parameters.
|
|
14804
|
+
* @param {*} [options] Override http request option.
|
|
14805
|
+
* @throws {RequiredError}
|
|
14806
|
+
*/
|
|
14807
|
+
getOpenBookingPrice(requestParameters: BookingsUserApiGetOpenBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetOpenBookingPrice200Response>;
|
|
14808
|
+
/**
|
|
14809
|
+
* Mettre à jour une réservation ouverte (description et niveau minimal)
|
|
14810
|
+
* @param {BookingsUserApiUpdateOpenBookingRequest} requestParameters Request parameters.
|
|
14811
|
+
* @param {*} [options] Override http request option.
|
|
14812
|
+
* @throws {RequiredError}
|
|
14813
|
+
*/
|
|
14814
|
+
updateOpenBooking(requestParameters: BookingsUserApiUpdateOpenBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateOpenBooking200Response>;
|
|
14258
14815
|
};
|
|
14259
14816
|
/**
|
|
14260
14817
|
* Request parameters for cancelBooking operation in BookingsUserApi.
|
|
@@ -14295,6 +14852,38 @@ export interface BookingsUserApiCreateOpenBookingRequest {
|
|
|
14295
14852
|
*/
|
|
14296
14853
|
readonly createOpenBookingRequest: CreateOpenBookingRequest;
|
|
14297
14854
|
}
|
|
14855
|
+
/**
|
|
14856
|
+
* Request parameters for getOpenBookingPrice operation in BookingsUserApi.
|
|
14857
|
+
* @export
|
|
14858
|
+
* @interface BookingsUserApiGetOpenBookingPriceRequest
|
|
14859
|
+
*/
|
|
14860
|
+
export interface BookingsUserApiGetOpenBookingPriceRequest {
|
|
14861
|
+
/**
|
|
14862
|
+
*
|
|
14863
|
+
* @type {GetOpenBookingPriceRequest}
|
|
14864
|
+
* @memberof BookingsUserApiGetOpenBookingPrice
|
|
14865
|
+
*/
|
|
14866
|
+
readonly getOpenBookingPriceRequest: GetOpenBookingPriceRequest;
|
|
14867
|
+
}
|
|
14868
|
+
/**
|
|
14869
|
+
* Request parameters for updateOpenBooking operation in BookingsUserApi.
|
|
14870
|
+
* @export
|
|
14871
|
+
* @interface BookingsUserApiUpdateOpenBookingRequest
|
|
14872
|
+
*/
|
|
14873
|
+
export interface BookingsUserApiUpdateOpenBookingRequest {
|
|
14874
|
+
/**
|
|
14875
|
+
*
|
|
14876
|
+
* @type {string}
|
|
14877
|
+
* @memberof BookingsUserApiUpdateOpenBooking
|
|
14878
|
+
*/
|
|
14879
|
+
readonly bookingId: string;
|
|
14880
|
+
/**
|
|
14881
|
+
*
|
|
14882
|
+
* @type {UpdateOpenBookingRequest}
|
|
14883
|
+
* @memberof BookingsUserApiUpdateOpenBooking
|
|
14884
|
+
*/
|
|
14885
|
+
readonly updateOpenBookingRequest: UpdateOpenBookingRequest;
|
|
14886
|
+
}
|
|
14298
14887
|
/**
|
|
14299
14888
|
* BookingsUserApi - object-oriented interface
|
|
14300
14889
|
* @export
|
|
@@ -14326,6 +14915,22 @@ export declare class BookingsUserApi extends BaseAPI {
|
|
|
14326
14915
|
* @memberof BookingsUserApi
|
|
14327
14916
|
*/
|
|
14328
14917
|
createOpenBooking(requestParameters: BookingsUserApiCreateOpenBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingResponse, any, {}>>;
|
|
14918
|
+
/**
|
|
14919
|
+
* Calculer le prix d\'une réservation ouverte avec joueurs initiaux
|
|
14920
|
+
* @param {BookingsUserApiGetOpenBookingPriceRequest} requestParameters Request parameters.
|
|
14921
|
+
* @param {*} [options] Override http request option.
|
|
14922
|
+
* @throws {RequiredError}
|
|
14923
|
+
* @memberof BookingsUserApi
|
|
14924
|
+
*/
|
|
14925
|
+
getOpenBookingPrice(requestParameters: BookingsUserApiGetOpenBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOpenBookingPrice200Response, any, {}>>;
|
|
14926
|
+
/**
|
|
14927
|
+
* Mettre à jour une réservation ouverte (description et niveau minimal)
|
|
14928
|
+
* @param {BookingsUserApiUpdateOpenBookingRequest} requestParameters Request parameters.
|
|
14929
|
+
* @param {*} [options] Override http request option.
|
|
14930
|
+
* @throws {RequiredError}
|
|
14931
|
+
* @memberof BookingsUserApi
|
|
14932
|
+
*/
|
|
14933
|
+
updateOpenBooking(requestParameters: BookingsUserApiUpdateOpenBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateOpenBooking200Response, any, {}>>;
|
|
14329
14934
|
}
|
|
14330
14935
|
/**
|
|
14331
14936
|
* ClientApi - axios parameter creator
|
|
@@ -21266,6 +21871,13 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
21266
21871
|
* @throws {RequiredError}
|
|
21267
21872
|
*/
|
|
21268
21873
|
getUserProfileById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21874
|
+
/**
|
|
21875
|
+
* Quitter une réservation
|
|
21876
|
+
* @param {string} bookingId
|
|
21877
|
+
* @param {*} [options] Override http request option.
|
|
21878
|
+
* @throws {RequiredError}
|
|
21879
|
+
*/
|
|
21880
|
+
leaveBooking: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21269
21881
|
/**
|
|
21270
21882
|
*
|
|
21271
21883
|
* @param {PlayerCategoryId} [category]
|
|
@@ -21570,6 +22182,13 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
21570
22182
|
* @throws {RequiredError}
|
|
21571
22183
|
*/
|
|
21572
22184
|
getUserProfileById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublicUserProfileResponse>>;
|
|
22185
|
+
/**
|
|
22186
|
+
* Quitter une réservation
|
|
22187
|
+
* @param {string} bookingId
|
|
22188
|
+
* @param {*} [options] Override http request option.
|
|
22189
|
+
* @throws {RequiredError}
|
|
22190
|
+
*/
|
|
22191
|
+
leaveBooking(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeaveEventWaitList200Response>>;
|
|
21573
22192
|
/**
|
|
21574
22193
|
*
|
|
21575
22194
|
* @param {PlayerCategoryId} [category]
|
|
@@ -21864,6 +22483,13 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
21864
22483
|
* @throws {RequiredError}
|
|
21865
22484
|
*/
|
|
21866
22485
|
getUserProfileById(requestParameters: UsersApiGetUserProfileByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublicUserProfileResponse>;
|
|
22486
|
+
/**
|
|
22487
|
+
* Quitter une réservation
|
|
22488
|
+
* @param {UsersApiLeaveBookingRequest} requestParameters Request parameters.
|
|
22489
|
+
* @param {*} [options] Override http request option.
|
|
22490
|
+
* @throws {RequiredError}
|
|
22491
|
+
*/
|
|
22492
|
+
leaveBooking(requestParameters: UsersApiLeaveBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<LeaveEventWaitList200Response>;
|
|
21867
22493
|
/**
|
|
21868
22494
|
*
|
|
21869
22495
|
* @param {UsersApiListPlayersRequest} requestParameters Request parameters.
|
|
@@ -22226,6 +22852,19 @@ export interface UsersApiGetUserProfileByIdRequest {
|
|
|
22226
22852
|
*/
|
|
22227
22853
|
readonly id: string;
|
|
22228
22854
|
}
|
|
22855
|
+
/**
|
|
22856
|
+
* Request parameters for leaveBooking operation in UsersApi.
|
|
22857
|
+
* @export
|
|
22858
|
+
* @interface UsersApiLeaveBookingRequest
|
|
22859
|
+
*/
|
|
22860
|
+
export interface UsersApiLeaveBookingRequest {
|
|
22861
|
+
/**
|
|
22862
|
+
*
|
|
22863
|
+
* @type {string}
|
|
22864
|
+
* @memberof UsersApiLeaveBooking
|
|
22865
|
+
*/
|
|
22866
|
+
readonly bookingId: string;
|
|
22867
|
+
}
|
|
22229
22868
|
/**
|
|
22230
22869
|
* Request parameters for listPlayers operation in UsersApi.
|
|
22231
22870
|
* @export
|
|
@@ -22689,6 +23328,14 @@ export declare class UsersApi extends BaseAPI {
|
|
|
22689
23328
|
* @memberof UsersApi
|
|
22690
23329
|
*/
|
|
22691
23330
|
getUserProfileById(requestParameters: UsersApiGetUserProfileByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublicUserProfileResponse, any, {}>>;
|
|
23331
|
+
/**
|
|
23332
|
+
* Quitter une réservation
|
|
23333
|
+
* @param {UsersApiLeaveBookingRequest} requestParameters Request parameters.
|
|
23334
|
+
* @param {*} [options] Override http request option.
|
|
23335
|
+
* @throws {RequiredError}
|
|
23336
|
+
* @memberof UsersApi
|
|
23337
|
+
*/
|
|
23338
|
+
leaveBooking(requestParameters: UsersApiLeaveBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LeaveEventWaitList200Response, any, {}>>;
|
|
22692
23339
|
/**
|
|
22693
23340
|
*
|
|
22694
23341
|
* @param {UsersApiListPlayersRequest} requestParameters Request parameters.
|