@tennac-booking/sdk 1.0.114 → 1.0.116
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 +305 -299
- package/README.md +10 -2
- package/api.ts +364 -21
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +285 -21
- package/dist/api.js +155 -25
- 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 +285 -21
- package/dist/esm/api.js +151 -21
- 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/ActiveClub.md +24 -0
- package/docs/ActiveClubListResponse.md +20 -0
- package/docs/AddClubMemberResponse.md +22 -0
- package/docs/AddFavoriteClubRequestBody.md +20 -0
- package/docs/AddFavoritePlayerRequestBody.md +20 -0
- package/docs/AddPaymentMethodSetupRequestBody.md +20 -0
- package/docs/AddPaymentMethodSetupResponse.md +24 -0
- package/docs/AdminClubAnalyticsApi.md +249 -0
- package/docs/AdminClubSlotsApi.md +182 -0
- package/docs/AdminClubSubscriptionsApi.md +394 -0
- package/docs/AdminClubsApi.md +170 -0
- package/docs/ApiErrorResponse.md +22 -0
- package/docs/BlockSlotResponse.md +22 -0
- package/docs/Booking.md +32 -0
- package/docs/BookingPaymentStatusResponsePaymentStatusInner.md +36 -0
- package/docs/BookingPopulatedPaymentByPlayersStatusInner.md +22 -0
- package/docs/BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner.md +24 -0
- package/docs/BookingPopulatedSlotId.md +26 -0
- package/docs/BookingPopulatedSlotIdCourtId.md +22 -0
- package/docs/BookingPopulatedUserId.md +24 -0
- package/docs/BookingsUserApi.md +1 -1
- package/docs/CancelBookingResponseBooking.md +30 -0
- package/docs/CheckInPlayersResponseCheckedInPlayersInner.md +34 -0
- package/docs/ClientApi.md +49 -2
- package/docs/ClientFullOnboardingResponseClub.md +2 -0
- package/docs/ClientOnboardingRequestBody.md +2 -0
- package/docs/ClientSubscription.md +31 -0
- package/docs/ClientSubscriptionItem.md +25 -0
- package/docs/ClientSubscriptionsResponse.md +21 -0
- package/docs/Club.md +46 -0
- package/docs/ClubInfoResponse.md +48 -0
- package/docs/ClubListResponse.md +22 -0
- package/docs/ClubMember.md +34 -0
- package/docs/ClubMembersResponse.md +22 -0
- package/docs/ClubRole.md +30 -0
- package/docs/ClubRolesResponse.md +22 -0
- package/docs/ClubSettings.md +40 -0
- package/docs/ClubsApi.md +2 -2
- package/docs/ClubsResponse.md +22 -0
- package/docs/ConfirmPaymentMethodSetupRequestBody.md +20 -0
- package/docs/ConfirmPaymentMethodSetupResponse.md +22 -0
- package/docs/Court.md +32 -0
- package/docs/CourtsResponse.md +22 -0
- package/docs/CreateClubRoleRequestBody.md +24 -0
- package/docs/CreateClubSettingsRequest.md +28 -0
- package/docs/CreateEventRequest.md +2 -0
- package/docs/CreatePriceRequest.md +26 -0
- package/docs/DeleteClub200Response.md +20 -0
- package/docs/DeleteClubRole200Response.md +20 -0
- package/docs/DeleteClubSettingsRequest.md +20 -0
- package/docs/DeleteEvent200Response.md +20 -0
- package/docs/DeleteSlotsByClubInRange200Response.md +20 -0
- package/docs/DeleteSlotsResponse.md +20 -0
- package/docs/DeleteSport200Response.md +20 -0
- package/docs/EstimateEventPrice200Response.md +26 -0
- package/docs/EstimateEventPriceRequest.md +22 -0
- package/docs/EstimateEventPriceRequestSharesInner.md +22 -0
- package/docs/Event.md +40 -0
- package/docs/EventBooking.md +32 -0
- package/docs/EventRegistrationRequest.md +22 -0
- package/docs/EventResponse.md +2 -0
- package/docs/EventsApi.md +58 -0
- package/docs/FavoriteClubItem.md +26 -0
- package/docs/FavoriteClubResponse.md +22 -0
- package/docs/FavoritePlayerPublic.md +28 -0
- package/docs/FavoritePlayersIdsResponse.md +22 -0
- package/docs/FrequentlyPlayedWithItem.md +28 -0
- package/docs/FrequentlyVisitedClubItem.md +24 -0
- package/docs/GenerateSlotsResponse.md +20 -0
- package/docs/GetActiveClubs200Response.md +20 -0
- package/docs/GetClubInfos200Response.md +30 -0
- package/docs/GetCourtsByClubAndSport200Response.md +26 -0
- package/docs/GetLastSixMonthsTurnover200ResponseInner.md +22 -0
- package/docs/GetNumberOfClubUsers200Response.md +20 -0
- package/docs/GetPublishedEventsByClubId200Response.md +20 -0
- package/docs/GetUserRolesResponse.md +20 -0
- package/docs/GetUserRolesResponseRolesInner.md +26 -0
- package/docs/GetUserSubscriptionsResponse.md +22 -0
- package/docs/GoogleSignInRequestBody.md +20 -0
- package/docs/GoogleSignInResponse.md +24 -0
- package/docs/InitiateSubscriptionSessionRequestBody.md +26 -0
- package/docs/InitiateSubscriptionSessionResponse.md +22 -0
- package/docs/InvoicesResponse.md +22 -0
- package/docs/InvoicesResponseInvoicesInner.md +34 -0
- package/docs/InvoicesResponsePagination.md +26 -0
- package/docs/JoinEventRequestPlayersPaymentMethodsInner.md +2 -0
- package/docs/LevelBySportsItem.md +22 -0
- package/docs/ManagerBookingsApi.md +125 -0
- package/docs/ManagerCancelBookingResponseBooking.md +30 -0
- package/docs/ManagerClubCourtsApi.md +108 -0
- package/docs/ManagerClubRolesApi.md +268 -0
- package/docs/ManagerClubSlotsApi.md +119 -0
- package/docs/ManagerClubSubscriptionsApi.md +387 -0
- package/docs/ManagerClubsApi.md +253 -0
- package/docs/ManagerEventResponse.md +22 -0
- package/docs/ManagerEventsApi.md +227 -0
- package/docs/ManagerSportsApi.md +174 -0
- package/docs/NoShowFeeResponseCaptureResultsInner.md +30 -0
- package/docs/NoShowFeeResponseCreatorChargeResult.md +26 -0
- package/docs/PriceResponse.md +32 -0
- package/docs/ProfileVisibilityResponse.md +20 -0
- package/docs/PublicClubUser.md +46 -0
- package/docs/PublicClubUserFrequentlyPlayedWithInner.md +28 -0
- package/docs/PublicClubUserFrequentlyVisitedClubsInner.md +24 -0
- package/docs/PublicClubUserLevelBySportsInner.md +22 -0
- package/docs/RegisterForEvent201Response.md +20 -0
- package/docs/RestoreSubscriptionPlanForClub200Response.md +20 -0
- package/docs/SetupPaymentMethodRequestBody.md +20 -0
- package/docs/SetupPaymentMethodResponse.md +24 -0
- package/docs/Slot.md +24 -0
- package/docs/SlotException.md +26 -0
- package/docs/SlotResponse.md +34 -0
- package/docs/SlotsResponse.md +22 -0
- package/docs/Sport.md +24 -0
- package/docs/SportsResponse.md +22 -0
- package/docs/StaffClubAnalyticsApi.md +104 -0
- package/docs/StaffClubBookingsApi.md +52 -0
- package/docs/StaffClubsApi.md +100 -0
- package/docs/StaffEventResponse.md +20 -0
- package/docs/StaffEventsApi.md +54 -0
- package/docs/StaffProfileApi.md +54 -0
- package/docs/StripeStatus.md +16 -0
- package/docs/SubscribeToClubRequestBody.md +22 -0
- package/docs/SubscriptionPlan.md +36 -0
- package/docs/SubscriptionResponse.md +36 -0
- package/docs/UpdateClubRoleRequestBody.md +24 -0
- package/docs/UpdateClubSettingsRequest.md +28 -0
- package/docs/UpdateCustomerRequestBodyAddress.md +30 -0
- package/docs/UpdateCustomerResponseCustomer.md +28 -0
- package/docs/UpdateProfilePictureRequestBody.md +20 -0
- package/docs/UpdateProfileVisibilityRequestBody.md +20 -0
- package/docs/UpdateSubscriptionPlanRequest.md +24 -0
- package/docs/UpdateSubscriptionPlanResponse.md +22 -0
- package/docs/UpdateUserCityRequestBody.md +20 -0
- package/docs/UpdateUserDescriptionRequestBody.md +20 -0
- package/docs/User.md +40 -0
- package/docs/UserAuthenticationApi.md +226 -0
- package/docs/UserBookingsApi.md +120 -0
- package/docs/UserCityResponse.md +20 -0
- package/docs/UserClubCourtsApi.md +64 -0
- package/docs/UserClubSlotsApi.md +181 -0
- package/docs/UserClubSportsApi.md +60 -0
- package/docs/UserClubsApi.md +53 -0
- package/docs/UserDescriptionResponse.md +20 -0
- package/docs/UserFavoriteClubsResponse.md +20 -0
- package/docs/UserPaymentApi.md +176 -0
- package/docs/UserProfileApi.md +1201 -0
- package/docs/UserResponse.md +38 -0
- package/docs/UserSubscriptionsApi.md +222 -0
- package/docs/UsersResponse.md +22 -0
- package/docs/YearlyTurnoverResponseMonthlyBreakdownInner.md +24 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* openapi.json
|
|
5
5
|
* Pandook API Documentation
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.116
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1593,6 +1593,12 @@ export interface ClientFullOnboardingResponse {
|
|
|
1593
1593
|
* @interface ClientFullOnboardingResponseClub
|
|
1594
1594
|
*/
|
|
1595
1595
|
export interface ClientFullOnboardingResponseClub {
|
|
1596
|
+
/**
|
|
1597
|
+
*
|
|
1598
|
+
* @type {string}
|
|
1599
|
+
* @memberof ClientFullOnboardingResponseClub
|
|
1600
|
+
*/
|
|
1601
|
+
'clubType'?: string;
|
|
1596
1602
|
/**
|
|
1597
1603
|
*
|
|
1598
1604
|
* @type {string}
|
|
@@ -1660,7 +1666,21 @@ export interface ClientOnboardingRequestBody {
|
|
|
1660
1666
|
* @memberof ClientOnboardingRequestBody
|
|
1661
1667
|
*/
|
|
1662
1668
|
'country'?: string;
|
|
1669
|
+
/**
|
|
1670
|
+
* Type de club souhaité (public | school)
|
|
1671
|
+
* @type {string}
|
|
1672
|
+
* @memberof ClientOnboardingRequestBody
|
|
1673
|
+
*/
|
|
1674
|
+
'clubType'?: ClientOnboardingRequestBodyClubTypeEnum;
|
|
1663
1675
|
}
|
|
1676
|
+
|
|
1677
|
+
export const ClientOnboardingRequestBodyClubTypeEnum = {
|
|
1678
|
+
Public: 'public',
|
|
1679
|
+
School: 'school'
|
|
1680
|
+
} as const;
|
|
1681
|
+
|
|
1682
|
+
export type ClientOnboardingRequestBodyClubTypeEnum = typeof ClientOnboardingRequestBodyClubTypeEnum[keyof typeof ClientOnboardingRequestBodyClubTypeEnum];
|
|
1683
|
+
|
|
1664
1684
|
/**
|
|
1665
1685
|
*
|
|
1666
1686
|
* @export
|
|
@@ -1723,6 +1743,87 @@ export interface ClientRegisterRequest {
|
|
|
1723
1743
|
*/
|
|
1724
1744
|
'firstName': string;
|
|
1725
1745
|
}
|
|
1746
|
+
/**
|
|
1747
|
+
* Abonnement Stripe simplifié
|
|
1748
|
+
* @export
|
|
1749
|
+
* @interface ClientSubscription
|
|
1750
|
+
*/
|
|
1751
|
+
export interface ClientSubscription {
|
|
1752
|
+
/**
|
|
1753
|
+
*
|
|
1754
|
+
* @type {string}
|
|
1755
|
+
* @memberof ClientSubscription
|
|
1756
|
+
*/
|
|
1757
|
+
'id': string;
|
|
1758
|
+
/**
|
|
1759
|
+
*
|
|
1760
|
+
* @type {string}
|
|
1761
|
+
* @memberof ClientSubscription
|
|
1762
|
+
*/
|
|
1763
|
+
'status': string;
|
|
1764
|
+
/**
|
|
1765
|
+
*
|
|
1766
|
+
* @type {number}
|
|
1767
|
+
* @memberof ClientSubscription
|
|
1768
|
+
*/
|
|
1769
|
+
'currentPeriodStart': number;
|
|
1770
|
+
/**
|
|
1771
|
+
*
|
|
1772
|
+
* @type {number}
|
|
1773
|
+
* @memberof ClientSubscription
|
|
1774
|
+
*/
|
|
1775
|
+
'currentPeriodEnd': number;
|
|
1776
|
+
/**
|
|
1777
|
+
*
|
|
1778
|
+
* @type {boolean}
|
|
1779
|
+
* @memberof ClientSubscription
|
|
1780
|
+
*/
|
|
1781
|
+
'cancelAtPeriodEnd': boolean;
|
|
1782
|
+
/**
|
|
1783
|
+
*
|
|
1784
|
+
* @type {Array<ClientSubscriptionItem>}
|
|
1785
|
+
* @memberof ClientSubscription
|
|
1786
|
+
*/
|
|
1787
|
+
'items': Array<ClientSubscriptionItem>;
|
|
1788
|
+
}
|
|
1789
|
+
/**
|
|
1790
|
+
* Item d\'abonnement Stripe simplifié
|
|
1791
|
+
* @export
|
|
1792
|
+
* @interface ClientSubscriptionItem
|
|
1793
|
+
*/
|
|
1794
|
+
export interface ClientSubscriptionItem {
|
|
1795
|
+
/**
|
|
1796
|
+
*
|
|
1797
|
+
* @type {string}
|
|
1798
|
+
* @memberof ClientSubscriptionItem
|
|
1799
|
+
*/
|
|
1800
|
+
'priceId': string;
|
|
1801
|
+
/**
|
|
1802
|
+
*
|
|
1803
|
+
* @type {string}
|
|
1804
|
+
* @memberof ClientSubscriptionItem
|
|
1805
|
+
*/
|
|
1806
|
+
'productId'?: string;
|
|
1807
|
+
/**
|
|
1808
|
+
*
|
|
1809
|
+
* @type {number}
|
|
1810
|
+
* @memberof ClientSubscriptionItem
|
|
1811
|
+
*/
|
|
1812
|
+
'quantity'?: number;
|
|
1813
|
+
}
|
|
1814
|
+
/**
|
|
1815
|
+
* Réponse liste des abonnements Stripe du client
|
|
1816
|
+
* @export
|
|
1817
|
+
* @interface ClientSubscriptionsResponse
|
|
1818
|
+
*/
|
|
1819
|
+
export interface ClientSubscriptionsResponse {
|
|
1820
|
+
/**
|
|
1821
|
+
*
|
|
1822
|
+
* @type {Array<ClientSubscription>}
|
|
1823
|
+
* @memberof ClientSubscriptionsResponse
|
|
1824
|
+
*/
|
|
1825
|
+
'subscriptions': Array<ClientSubscription>;
|
|
1826
|
+
}
|
|
1726
1827
|
/**
|
|
1727
1828
|
*
|
|
1728
1829
|
* @export
|
|
@@ -3647,6 +3748,12 @@ export interface CreateEventRequest {
|
|
|
3647
3748
|
* @memberof CreateEventRequest
|
|
3648
3749
|
*/
|
|
3649
3750
|
'playerLimit'?: number;
|
|
3751
|
+
/**
|
|
3752
|
+
*
|
|
3753
|
+
* @type {number}
|
|
3754
|
+
* @memberof CreateEventRequest
|
|
3755
|
+
*/
|
|
3756
|
+
'playersPerTeam'?: number;
|
|
3650
3757
|
/**
|
|
3651
3758
|
*
|
|
3652
3759
|
* @type {number}
|
|
@@ -4143,6 +4250,75 @@ export const DiscountType = {
|
|
|
4143
4250
|
export type DiscountType = typeof DiscountType[keyof typeof DiscountType];
|
|
4144
4251
|
|
|
4145
4252
|
|
|
4253
|
+
/**
|
|
4254
|
+
*
|
|
4255
|
+
* @export
|
|
4256
|
+
* @interface EstimateEventPrice200Response
|
|
4257
|
+
*/
|
|
4258
|
+
export interface EstimateEventPrice200Response {
|
|
4259
|
+
/**
|
|
4260
|
+
*
|
|
4261
|
+
* @type {string}
|
|
4262
|
+
* @memberof EstimateEventPrice200Response
|
|
4263
|
+
*/
|
|
4264
|
+
'currency': string;
|
|
4265
|
+
/**
|
|
4266
|
+
*
|
|
4267
|
+
* @type {number}
|
|
4268
|
+
* @memberof EstimateEventPrice200Response
|
|
4269
|
+
*/
|
|
4270
|
+
'total': number;
|
|
4271
|
+
/**
|
|
4272
|
+
* Construct a type with a set of properties K of type T
|
|
4273
|
+
* @type {{ [key: string]: number; }}
|
|
4274
|
+
* @memberof EstimateEventPrice200Response
|
|
4275
|
+
*/
|
|
4276
|
+
'perPayer': { [key: string]: number; };
|
|
4277
|
+
/**
|
|
4278
|
+
* Construct a type with a set of properties K of type T
|
|
4279
|
+
* @type {{ [key: string]: number; }}
|
|
4280
|
+
* @memberof EstimateEventPrice200Response
|
|
4281
|
+
*/
|
|
4282
|
+
'perPlayer': { [key: string]: number; };
|
|
4283
|
+
}
|
|
4284
|
+
/**
|
|
4285
|
+
*
|
|
4286
|
+
* @export
|
|
4287
|
+
* @interface EstimateEventPriceRequest
|
|
4288
|
+
*/
|
|
4289
|
+
export interface EstimateEventPriceRequest {
|
|
4290
|
+
/**
|
|
4291
|
+
*
|
|
4292
|
+
* @type {Array<EstimateEventPriceRequestSharesInner>}
|
|
4293
|
+
* @memberof EstimateEventPriceRequest
|
|
4294
|
+
*/
|
|
4295
|
+
'shares'?: Array<EstimateEventPriceRequestSharesInner>;
|
|
4296
|
+
/**
|
|
4297
|
+
*
|
|
4298
|
+
* @type {Array<string>}
|
|
4299
|
+
* @memberof EstimateEventPriceRequest
|
|
4300
|
+
*/
|
|
4301
|
+
'playerIds': Array<string>;
|
|
4302
|
+
}
|
|
4303
|
+
/**
|
|
4304
|
+
*
|
|
4305
|
+
* @export
|
|
4306
|
+
* @interface EstimateEventPriceRequestSharesInner
|
|
4307
|
+
*/
|
|
4308
|
+
export interface EstimateEventPriceRequestSharesInner {
|
|
4309
|
+
/**
|
|
4310
|
+
*
|
|
4311
|
+
* @type {Array<string>}
|
|
4312
|
+
* @memberof EstimateEventPriceRequestSharesInner
|
|
4313
|
+
*/
|
|
4314
|
+
'paysAlsoFor'?: Array<string>;
|
|
4315
|
+
/**
|
|
4316
|
+
*
|
|
4317
|
+
* @type {string}
|
|
4318
|
+
* @memberof EstimateEventPriceRequestSharesInner
|
|
4319
|
+
*/
|
|
4320
|
+
'playerId': string;
|
|
4321
|
+
}
|
|
4146
4322
|
/**
|
|
4147
4323
|
*
|
|
4148
4324
|
* @export
|
|
@@ -4319,6 +4495,12 @@ export interface EventResponse {
|
|
|
4319
4495
|
* @memberof EventResponse
|
|
4320
4496
|
*/
|
|
4321
4497
|
'teamLimit'?: number;
|
|
4498
|
+
/**
|
|
4499
|
+
*
|
|
4500
|
+
* @type {number}
|
|
4501
|
+
* @memberof EventResponse
|
|
4502
|
+
*/
|
|
4503
|
+
'playersPerTeam'?: number;
|
|
4322
4504
|
/**
|
|
4323
4505
|
*
|
|
4324
4506
|
* @type {number}
|
|
@@ -5312,6 +5494,12 @@ export interface JoinEventRequest {
|
|
|
5312
5494
|
* @interface JoinEventRequestPlayersPaymentMethodsInner
|
|
5313
5495
|
*/
|
|
5314
5496
|
export interface JoinEventRequestPlayersPaymentMethodsInner {
|
|
5497
|
+
/**
|
|
5498
|
+
*
|
|
5499
|
+
* @type {Array<string>}
|
|
5500
|
+
* @memberof JoinEventRequestPlayersPaymentMethodsInner
|
|
5501
|
+
*/
|
|
5502
|
+
'paysAlsoFor'?: Array<string>;
|
|
5315
5503
|
/**
|
|
5316
5504
|
*
|
|
5317
5505
|
* @type {PaymentMethod}
|
|
@@ -11373,7 +11561,7 @@ export const BookingsUserApiAxiosParamCreator = function (configuration?: Config
|
|
|
11373
11561
|
};
|
|
11374
11562
|
},
|
|
11375
11563
|
/**
|
|
11376
|
-
* Créer une réservation
|
|
11564
|
+
* Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
|
|
11377
11565
|
* @param {CreateBookingRequest} createBookingRequest
|
|
11378
11566
|
* @param {*} [options] Override http request option.
|
|
11379
11567
|
* @throws {RequiredError}
|
|
@@ -11434,7 +11622,7 @@ export const BookingsUserApiFp = function(configuration?: Configuration) {
|
|
|
11434
11622
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11435
11623
|
},
|
|
11436
11624
|
/**
|
|
11437
|
-
* Créer une réservation
|
|
11625
|
+
* Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
|
|
11438
11626
|
* @param {CreateBookingRequest} createBookingRequest
|
|
11439
11627
|
* @param {*} [options] Override http request option.
|
|
11440
11628
|
* @throws {RequiredError}
|
|
@@ -11465,7 +11653,7 @@ export const BookingsUserApiFactory = function (configuration?: Configuration, b
|
|
|
11465
11653
|
return localVarFp.cancelBooking(requestParameters.bookingId, options).then((request) => request(axios, basePath));
|
|
11466
11654
|
},
|
|
11467
11655
|
/**
|
|
11468
|
-
* Créer une réservation
|
|
11656
|
+
* Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
|
|
11469
11657
|
* @param {BookingsUserApiCreateBookingRequest} requestParameters Request parameters.
|
|
11470
11658
|
* @param {*} [options] Override http request option.
|
|
11471
11659
|
* @throws {RequiredError}
|
|
@@ -11523,7 +11711,7 @@ export class BookingsUserApi extends BaseAPI {
|
|
|
11523
11711
|
}
|
|
11524
11712
|
|
|
11525
11713
|
/**
|
|
11526
|
-
* Créer une réservation
|
|
11714
|
+
* Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
|
|
11527
11715
|
* @param {BookingsUserApiCreateBookingRequest} requestParameters Request parameters.
|
|
11528
11716
|
* @param {*} [options] Override http request option.
|
|
11529
11717
|
* @throws {RequiredError}
|
|
@@ -11543,7 +11731,7 @@ export class BookingsUserApi extends BaseAPI {
|
|
|
11543
11731
|
export const ClientApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
11544
11732
|
return {
|
|
11545
11733
|
/**
|
|
11546
|
-
* Enregistre un nouvel utilisateur client
|
|
11734
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
11547
11735
|
* @param {ClientRegisterRequest} clientRegisterRequest
|
|
11548
11736
|
* @param {*} [options] Override http request option.
|
|
11549
11737
|
* @throws {RequiredError}
|
|
@@ -11577,6 +11765,39 @@ export const ClientApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
11577
11765
|
options: localVarRequestOptions,
|
|
11578
11766
|
};
|
|
11579
11767
|
},
|
|
11768
|
+
/**
|
|
11769
|
+
* Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
|
|
11770
|
+
* @param {*} [options] Override http request option.
|
|
11771
|
+
* @throws {RequiredError}
|
|
11772
|
+
*/
|
|
11773
|
+
getClientSubscriptions: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11774
|
+
const localVarPath = `/clients/subscriptions`;
|
|
11775
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11776
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11777
|
+
let baseOptions;
|
|
11778
|
+
if (configuration) {
|
|
11779
|
+
baseOptions = configuration.baseOptions;
|
|
11780
|
+
}
|
|
11781
|
+
|
|
11782
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11783
|
+
const localVarHeaderParameter = {} as any;
|
|
11784
|
+
const localVarQueryParameter = {} as any;
|
|
11785
|
+
|
|
11786
|
+
// authentication clientAuth required
|
|
11787
|
+
// http bearer authentication required
|
|
11788
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11789
|
+
|
|
11790
|
+
|
|
11791
|
+
|
|
11792
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11793
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11794
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11795
|
+
|
|
11796
|
+
return {
|
|
11797
|
+
url: toPathString(localVarUrlObj),
|
|
11798
|
+
options: localVarRequestOptions,
|
|
11799
|
+
};
|
|
11800
|
+
},
|
|
11580
11801
|
/**
|
|
11581
11802
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
11582
11803
|
* @param {*} [options] Override http request option.
|
|
@@ -11611,7 +11832,7 @@ export const ClientApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
11611
11832
|
};
|
|
11612
11833
|
},
|
|
11613
11834
|
/**
|
|
11614
|
-
* Enregistre un nouveau club pour la plateforme
|
|
11835
|
+
* Enregistre un nouveau club pour la plateforme - Crée un compte Stripe Connect Express - Crée le club dans la base de données - Assigne l\'utilisateur comme manager du club - Crée les paramètres par défaut du club - Envoie le lien d\'onboarding Stripe par email
|
|
11615
11836
|
* @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
|
|
11616
11837
|
* @param {*} [options] Override http request option.
|
|
11617
11838
|
* @throws {RequiredError}
|
|
@@ -11660,7 +11881,7 @@ export const ClientApiFp = function(configuration?: Configuration) {
|
|
|
11660
11881
|
const localVarAxiosParamCreator = ClientApiAxiosParamCreator(configuration)
|
|
11661
11882
|
return {
|
|
11662
11883
|
/**
|
|
11663
|
-
* Enregistre un nouvel utilisateur client
|
|
11884
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
11664
11885
|
* @param {ClientRegisterRequest} clientRegisterRequest
|
|
11665
11886
|
* @param {*} [options] Override http request option.
|
|
11666
11887
|
* @throws {RequiredError}
|
|
@@ -11671,6 +11892,17 @@ export const ClientApiFp = function(configuration?: Configuration) {
|
|
|
11671
11892
|
const localVarOperationServerBasePath = operationServerMap['ClientApi.clientRegister']?.[localVarOperationServerIndex]?.url;
|
|
11672
11893
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11673
11894
|
},
|
|
11895
|
+
/**
|
|
11896
|
+
* Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
|
|
11897
|
+
* @param {*} [options] Override http request option.
|
|
11898
|
+
* @throws {RequiredError}
|
|
11899
|
+
*/
|
|
11900
|
+
async getClientSubscriptions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientSubscriptionsResponse>> {
|
|
11901
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClientSubscriptions(options);
|
|
11902
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11903
|
+
const localVarOperationServerBasePath = operationServerMap['ClientApi.getClientSubscriptions']?.[localVarOperationServerIndex]?.url;
|
|
11904
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11905
|
+
},
|
|
11674
11906
|
/**
|
|
11675
11907
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
11676
11908
|
* @param {*} [options] Override http request option.
|
|
@@ -11683,7 +11915,7 @@ export const ClientApiFp = function(configuration?: Configuration) {
|
|
|
11683
11915
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11684
11916
|
},
|
|
11685
11917
|
/**
|
|
11686
|
-
* Enregistre un nouveau club pour la plateforme
|
|
11918
|
+
* Enregistre un nouveau club pour la plateforme - Crée un compte Stripe Connect Express - Crée le club dans la base de données - Assigne l\'utilisateur comme manager du club - Crée les paramètres par défaut du club - Envoie le lien d\'onboarding Stripe par email
|
|
11687
11919
|
* @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
|
|
11688
11920
|
* @param {*} [options] Override http request option.
|
|
11689
11921
|
* @throws {RequiredError}
|
|
@@ -11705,7 +11937,7 @@ export const ClientApiFactory = function (configuration?: Configuration, basePat
|
|
|
11705
11937
|
const localVarFp = ClientApiFp(configuration)
|
|
11706
11938
|
return {
|
|
11707
11939
|
/**
|
|
11708
|
-
* Enregistre un nouvel utilisateur client
|
|
11940
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
11709
11941
|
* @param {ClientApiClientRegisterRequest} requestParameters Request parameters.
|
|
11710
11942
|
* @param {*} [options] Override http request option.
|
|
11711
11943
|
* @throws {RequiredError}
|
|
@@ -11713,6 +11945,14 @@ export const ClientApiFactory = function (configuration?: Configuration, basePat
|
|
|
11713
11945
|
clientRegister(requestParameters: ClientApiClientRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientRegister201Response> {
|
|
11714
11946
|
return localVarFp.clientRegister(requestParameters.clientRegisterRequest, options).then((request) => request(axios, basePath));
|
|
11715
11947
|
},
|
|
11948
|
+
/**
|
|
11949
|
+
* Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
|
|
11950
|
+
* @param {*} [options] Override http request option.
|
|
11951
|
+
* @throws {RequiredError}
|
|
11952
|
+
*/
|
|
11953
|
+
getClientSubscriptions(options?: RawAxiosRequestConfig): AxiosPromise<ClientSubscriptionsResponse> {
|
|
11954
|
+
return localVarFp.getClientSubscriptions(options).then((request) => request(axios, basePath));
|
|
11955
|
+
},
|
|
11716
11956
|
/**
|
|
11717
11957
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
11718
11958
|
* @param {*} [options] Override http request option.
|
|
@@ -11722,7 +11962,7 @@ export const ClientApiFactory = function (configuration?: Configuration, basePat
|
|
|
11722
11962
|
return localVarFp.getManagedClubs(options).then((request) => request(axios, basePath));
|
|
11723
11963
|
},
|
|
11724
11964
|
/**
|
|
11725
|
-
* Enregistre un nouveau club pour la plateforme
|
|
11965
|
+
* Enregistre un nouveau club pour la plateforme - Crée un compte Stripe Connect Express - Crée le club dans la base de données - Assigne l\'utilisateur comme manager du club - Crée les paramètres par défaut du club - Envoie le lien d\'onboarding Stripe par email
|
|
11726
11966
|
* @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
|
|
11727
11967
|
* @param {*} [options] Override http request option.
|
|
11728
11968
|
* @throws {RequiredError}
|
|
@@ -11769,7 +12009,7 @@ export interface ClientApiOnboardClubRequest {
|
|
|
11769
12009
|
*/
|
|
11770
12010
|
export class ClientApi extends BaseAPI {
|
|
11771
12011
|
/**
|
|
11772
|
-
* Enregistre un nouvel utilisateur client
|
|
12012
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
11773
12013
|
* @param {ClientApiClientRegisterRequest} requestParameters Request parameters.
|
|
11774
12014
|
* @param {*} [options] Override http request option.
|
|
11775
12015
|
* @throws {RequiredError}
|
|
@@ -11779,6 +12019,16 @@ export class ClientApi extends BaseAPI {
|
|
|
11779
12019
|
return ClientApiFp(this.configuration).clientRegister(requestParameters.clientRegisterRequest, options).then((request) => request(this.axios, this.basePath));
|
|
11780
12020
|
}
|
|
11781
12021
|
|
|
12022
|
+
/**
|
|
12023
|
+
* Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
|
|
12024
|
+
* @param {*} [options] Override http request option.
|
|
12025
|
+
* @throws {RequiredError}
|
|
12026
|
+
* @memberof ClientApi
|
|
12027
|
+
*/
|
|
12028
|
+
public getClientSubscriptions(options?: RawAxiosRequestConfig) {
|
|
12029
|
+
return ClientApiFp(this.configuration).getClientSubscriptions(options).then((request) => request(this.axios, this.basePath));
|
|
12030
|
+
}
|
|
12031
|
+
|
|
11782
12032
|
/**
|
|
11783
12033
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
11784
12034
|
* @param {*} [options] Override http request option.
|
|
@@ -11790,7 +12040,7 @@ export class ClientApi extends BaseAPI {
|
|
|
11790
12040
|
}
|
|
11791
12041
|
|
|
11792
12042
|
/**
|
|
11793
|
-
* Enregistre un nouveau club pour la plateforme
|
|
12043
|
+
* Enregistre un nouveau club pour la plateforme - Crée un compte Stripe Connect Express - Crée le club dans la base de données - Assigne l\'utilisateur comme manager du club - Crée les paramètres par défaut du club - Envoie le lien d\'onboarding Stripe par email
|
|
11794
12044
|
* @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
|
|
11795
12045
|
* @param {*} [options] Override http request option.
|
|
11796
12046
|
* @throws {RequiredError}
|
|
@@ -14452,7 +14702,7 @@ export class ClubSettingsStaffApi extends BaseAPI {
|
|
|
14452
14702
|
export const ClubsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
14453
14703
|
return {
|
|
14454
14704
|
/**
|
|
14455
|
-
* Récupère la liste des clubs actifs publics
|
|
14705
|
+
* Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
|
|
14456
14706
|
* @param {*} [options] Override http request option.
|
|
14457
14707
|
* @throws {RequiredError}
|
|
14458
14708
|
*/
|
|
@@ -14753,7 +15003,7 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14753
15003
|
};
|
|
14754
15004
|
},
|
|
14755
15005
|
/**
|
|
14756
|
-
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification
|
|
15006
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
14757
15007
|
* @param {*} [options] Override http request option.
|
|
14758
15008
|
* @throws {RequiredError}
|
|
14759
15009
|
*/
|
|
@@ -14928,7 +15178,7 @@ export const ClubsApiFp = function(configuration?: Configuration) {
|
|
|
14928
15178
|
const localVarAxiosParamCreator = ClubsApiAxiosParamCreator(configuration)
|
|
14929
15179
|
return {
|
|
14930
15180
|
/**
|
|
14931
|
-
* Récupère la liste des clubs actifs publics
|
|
15181
|
+
* Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
|
|
14932
15182
|
* @param {*} [options] Override http request option.
|
|
14933
15183
|
* @throws {RequiredError}
|
|
14934
15184
|
*/
|
|
@@ -15036,7 +15286,7 @@ export const ClubsApiFp = function(configuration?: Configuration) {
|
|
|
15036
15286
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15037
15287
|
},
|
|
15038
15288
|
/**
|
|
15039
|
-
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification
|
|
15289
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
15040
15290
|
* @param {*} [options] Override http request option.
|
|
15041
15291
|
* @throws {RequiredError}
|
|
15042
15292
|
*/
|
|
@@ -15106,7 +15356,7 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
|
|
|
15106
15356
|
const localVarFp = ClubsApiFp(configuration)
|
|
15107
15357
|
return {
|
|
15108
15358
|
/**
|
|
15109
|
-
* Récupère la liste des clubs actifs publics
|
|
15359
|
+
* Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
|
|
15110
15360
|
* @param {*} [options] Override http request option.
|
|
15111
15361
|
* @throws {RequiredError}
|
|
15112
15362
|
*/
|
|
@@ -15184,7 +15434,7 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
|
|
|
15184
15434
|
return localVarFp.getClubUsersById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
15185
15435
|
},
|
|
15186
15436
|
/**
|
|
15187
|
-
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification
|
|
15437
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
15188
15438
|
* @param {*} [options] Override http request option.
|
|
15189
15439
|
* @throws {RequiredError}
|
|
15190
15440
|
*/
|
|
@@ -15406,7 +15656,7 @@ export interface ClubsApiGetSportsByClubByIdRequest {
|
|
|
15406
15656
|
*/
|
|
15407
15657
|
export class ClubsApi extends BaseAPI {
|
|
15408
15658
|
/**
|
|
15409
|
-
* Récupère la liste des clubs actifs publics
|
|
15659
|
+
* Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
|
|
15410
15660
|
* @param {*} [options] Override http request option.
|
|
15411
15661
|
* @throws {RequiredError}
|
|
15412
15662
|
* @memberof ClubsApi
|
|
@@ -15502,7 +15752,7 @@ export class ClubsApi extends BaseAPI {
|
|
|
15502
15752
|
}
|
|
15503
15753
|
|
|
15504
15754
|
/**
|
|
15505
|
-
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification
|
|
15755
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
15506
15756
|
* @param {*} [options] Override http request option.
|
|
15507
15757
|
* @throws {RequiredError}
|
|
15508
15758
|
* @memberof ClubsApi
|
|
@@ -18279,6 +18529,45 @@ export class DefaultApi extends BaseAPI {
|
|
|
18279
18529
|
*/
|
|
18280
18530
|
export const EventsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
18281
18531
|
return {
|
|
18532
|
+
/**
|
|
18533
|
+
* Estime le prix de participation à un événement pour une liste de joueurs
|
|
18534
|
+
* @param {string} eventId
|
|
18535
|
+
* @param {EstimateEventPriceRequest} estimateEventPriceRequest
|
|
18536
|
+
* @param {*} [options] Override http request option.
|
|
18537
|
+
* @throws {RequiredError}
|
|
18538
|
+
*/
|
|
18539
|
+
estimateEventPrice: async (eventId: string, estimateEventPriceRequest: EstimateEventPriceRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18540
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
18541
|
+
assertParamExists('estimateEventPrice', 'eventId', eventId)
|
|
18542
|
+
// verify required parameter 'estimateEventPriceRequest' is not null or undefined
|
|
18543
|
+
assertParamExists('estimateEventPrice', 'estimateEventPriceRequest', estimateEventPriceRequest)
|
|
18544
|
+
const localVarPath = `/api/events/{eventId}/estimate-price`
|
|
18545
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
18546
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18547
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18548
|
+
let baseOptions;
|
|
18549
|
+
if (configuration) {
|
|
18550
|
+
baseOptions = configuration.baseOptions;
|
|
18551
|
+
}
|
|
18552
|
+
|
|
18553
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
18554
|
+
const localVarHeaderParameter = {} as any;
|
|
18555
|
+
const localVarQueryParameter = {} as any;
|
|
18556
|
+
|
|
18557
|
+
|
|
18558
|
+
|
|
18559
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18560
|
+
|
|
18561
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18562
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18563
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18564
|
+
localVarRequestOptions.data = serializeDataIfNeeded(estimateEventPriceRequest, localVarRequestOptions, configuration)
|
|
18565
|
+
|
|
18566
|
+
return {
|
|
18567
|
+
url: toPathString(localVarUrlObj),
|
|
18568
|
+
options: localVarRequestOptions,
|
|
18569
|
+
};
|
|
18570
|
+
},
|
|
18282
18571
|
/**
|
|
18283
18572
|
* Get a specific event by ID
|
|
18284
18573
|
* @param {string} eventId
|
|
@@ -18451,6 +18740,19 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
18451
18740
|
export const EventsApiFp = function(configuration?: Configuration) {
|
|
18452
18741
|
const localVarAxiosParamCreator = EventsApiAxiosParamCreator(configuration)
|
|
18453
18742
|
return {
|
|
18743
|
+
/**
|
|
18744
|
+
* Estime le prix de participation à un événement pour une liste de joueurs
|
|
18745
|
+
* @param {string} eventId
|
|
18746
|
+
* @param {EstimateEventPriceRequest} estimateEventPriceRequest
|
|
18747
|
+
* @param {*} [options] Override http request option.
|
|
18748
|
+
* @throws {RequiredError}
|
|
18749
|
+
*/
|
|
18750
|
+
async estimateEventPrice(eventId: string, estimateEventPriceRequest: EstimateEventPriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EstimateEventPrice200Response>> {
|
|
18751
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.estimateEventPrice(eventId, estimateEventPriceRequest, options);
|
|
18752
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18753
|
+
const localVarOperationServerBasePath = operationServerMap['EventsApi.estimateEventPrice']?.[localVarOperationServerIndex]?.url;
|
|
18754
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18755
|
+
},
|
|
18454
18756
|
/**
|
|
18455
18757
|
* Get a specific event by ID
|
|
18456
18758
|
* @param {string} eventId
|
|
@@ -18513,6 +18815,15 @@ export const EventsApiFp = function(configuration?: Configuration) {
|
|
|
18513
18815
|
export const EventsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
18514
18816
|
const localVarFp = EventsApiFp(configuration)
|
|
18515
18817
|
return {
|
|
18818
|
+
/**
|
|
18819
|
+
* Estime le prix de participation à un événement pour une liste de joueurs
|
|
18820
|
+
* @param {EventsApiEstimateEventPriceRequest} requestParameters Request parameters.
|
|
18821
|
+
* @param {*} [options] Override http request option.
|
|
18822
|
+
* @throws {RequiredError}
|
|
18823
|
+
*/
|
|
18824
|
+
estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<EstimateEventPrice200Response> {
|
|
18825
|
+
return localVarFp.estimateEventPrice(requestParameters.eventId, requestParameters.estimateEventPriceRequest, options).then((request) => request(axios, basePath));
|
|
18826
|
+
},
|
|
18516
18827
|
/**
|
|
18517
18828
|
* Get a specific event by ID
|
|
18518
18829
|
* @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
|
|
@@ -18552,6 +18863,27 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
|
|
|
18552
18863
|
};
|
|
18553
18864
|
};
|
|
18554
18865
|
|
|
18866
|
+
/**
|
|
18867
|
+
* Request parameters for estimateEventPrice operation in EventsApi.
|
|
18868
|
+
* @export
|
|
18869
|
+
* @interface EventsApiEstimateEventPriceRequest
|
|
18870
|
+
*/
|
|
18871
|
+
export interface EventsApiEstimateEventPriceRequest {
|
|
18872
|
+
/**
|
|
18873
|
+
*
|
|
18874
|
+
* @type {string}
|
|
18875
|
+
* @memberof EventsApiEstimateEventPrice
|
|
18876
|
+
*/
|
|
18877
|
+
readonly eventId: string
|
|
18878
|
+
|
|
18879
|
+
/**
|
|
18880
|
+
*
|
|
18881
|
+
* @type {EstimateEventPriceRequest}
|
|
18882
|
+
* @memberof EventsApiEstimateEventPrice
|
|
18883
|
+
*/
|
|
18884
|
+
readonly estimateEventPriceRequest: EstimateEventPriceRequest
|
|
18885
|
+
}
|
|
18886
|
+
|
|
18555
18887
|
/**
|
|
18556
18888
|
* Request parameters for getEventById operation in EventsApi.
|
|
18557
18889
|
* @export
|
|
@@ -18643,6 +18975,17 @@ export interface EventsApiLeaveEventRequest {
|
|
|
18643
18975
|
* @extends {BaseAPI}
|
|
18644
18976
|
*/
|
|
18645
18977
|
export class EventsApi extends BaseAPI {
|
|
18978
|
+
/**
|
|
18979
|
+
* Estime le prix de participation à un événement pour une liste de joueurs
|
|
18980
|
+
* @param {EventsApiEstimateEventPriceRequest} requestParameters Request parameters.
|
|
18981
|
+
* @param {*} [options] Override http request option.
|
|
18982
|
+
* @throws {RequiredError}
|
|
18983
|
+
* @memberof EventsApi
|
|
18984
|
+
*/
|
|
18985
|
+
public estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig) {
|
|
18986
|
+
return EventsApiFp(this.configuration).estimateEventPrice(requestParameters.eventId, requestParameters.estimateEventPriceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
18987
|
+
}
|
|
18988
|
+
|
|
18646
18989
|
/**
|
|
18647
18990
|
* Get a specific event by ID
|
|
18648
18991
|
* @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
|
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED