@tennac-booking/sdk 1.0.115 → 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 -300
- package/README.md +10 -2
- package/api.ts +352 -21
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +273 -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 +273 -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/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/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
|
|
@@ -4149,6 +4250,75 @@ export const DiscountType = {
|
|
|
4149
4250
|
export type DiscountType = typeof DiscountType[keyof typeof DiscountType];
|
|
4150
4251
|
|
|
4151
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
|
+
}
|
|
4152
4322
|
/**
|
|
4153
4323
|
*
|
|
4154
4324
|
* @export
|
|
@@ -5324,6 +5494,12 @@ export interface JoinEventRequest {
|
|
|
5324
5494
|
* @interface JoinEventRequestPlayersPaymentMethodsInner
|
|
5325
5495
|
*/
|
|
5326
5496
|
export interface JoinEventRequestPlayersPaymentMethodsInner {
|
|
5497
|
+
/**
|
|
5498
|
+
*
|
|
5499
|
+
* @type {Array<string>}
|
|
5500
|
+
* @memberof JoinEventRequestPlayersPaymentMethodsInner
|
|
5501
|
+
*/
|
|
5502
|
+
'paysAlsoFor'?: Array<string>;
|
|
5327
5503
|
/**
|
|
5328
5504
|
*
|
|
5329
5505
|
* @type {PaymentMethod}
|
|
@@ -11385,7 +11561,7 @@ export const BookingsUserApiAxiosParamCreator = function (configuration?: Config
|
|
|
11385
11561
|
};
|
|
11386
11562
|
},
|
|
11387
11563
|
/**
|
|
11388
|
-
* 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)
|
|
11389
11565
|
* @param {CreateBookingRequest} createBookingRequest
|
|
11390
11566
|
* @param {*} [options] Override http request option.
|
|
11391
11567
|
* @throws {RequiredError}
|
|
@@ -11446,7 +11622,7 @@ export const BookingsUserApiFp = function(configuration?: Configuration) {
|
|
|
11446
11622
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11447
11623
|
},
|
|
11448
11624
|
/**
|
|
11449
|
-
* 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)
|
|
11450
11626
|
* @param {CreateBookingRequest} createBookingRequest
|
|
11451
11627
|
* @param {*} [options] Override http request option.
|
|
11452
11628
|
* @throws {RequiredError}
|
|
@@ -11477,7 +11653,7 @@ export const BookingsUserApiFactory = function (configuration?: Configuration, b
|
|
|
11477
11653
|
return localVarFp.cancelBooking(requestParameters.bookingId, options).then((request) => request(axios, basePath));
|
|
11478
11654
|
},
|
|
11479
11655
|
/**
|
|
11480
|
-
* 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)
|
|
11481
11657
|
* @param {BookingsUserApiCreateBookingRequest} requestParameters Request parameters.
|
|
11482
11658
|
* @param {*} [options] Override http request option.
|
|
11483
11659
|
* @throws {RequiredError}
|
|
@@ -11535,7 +11711,7 @@ export class BookingsUserApi extends BaseAPI {
|
|
|
11535
11711
|
}
|
|
11536
11712
|
|
|
11537
11713
|
/**
|
|
11538
|
-
* 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)
|
|
11539
11715
|
* @param {BookingsUserApiCreateBookingRequest} requestParameters Request parameters.
|
|
11540
11716
|
* @param {*} [options] Override http request option.
|
|
11541
11717
|
* @throws {RequiredError}
|
|
@@ -11555,7 +11731,7 @@ export class BookingsUserApi extends BaseAPI {
|
|
|
11555
11731
|
export const ClientApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
11556
11732
|
return {
|
|
11557
11733
|
/**
|
|
11558
|
-
* Enregistre un nouvel utilisateur client
|
|
11734
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
11559
11735
|
* @param {ClientRegisterRequest} clientRegisterRequest
|
|
11560
11736
|
* @param {*} [options] Override http request option.
|
|
11561
11737
|
* @throws {RequiredError}
|
|
@@ -11589,6 +11765,39 @@ export const ClientApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
11589
11765
|
options: localVarRequestOptions,
|
|
11590
11766
|
};
|
|
11591
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
|
+
},
|
|
11592
11801
|
/**
|
|
11593
11802
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
11594
11803
|
* @param {*} [options] Override http request option.
|
|
@@ -11623,7 +11832,7 @@ export const ClientApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
11623
11832
|
};
|
|
11624
11833
|
},
|
|
11625
11834
|
/**
|
|
11626
|
-
* 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
|
|
11627
11836
|
* @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
|
|
11628
11837
|
* @param {*} [options] Override http request option.
|
|
11629
11838
|
* @throws {RequiredError}
|
|
@@ -11672,7 +11881,7 @@ export const ClientApiFp = function(configuration?: Configuration) {
|
|
|
11672
11881
|
const localVarAxiosParamCreator = ClientApiAxiosParamCreator(configuration)
|
|
11673
11882
|
return {
|
|
11674
11883
|
/**
|
|
11675
|
-
* Enregistre un nouvel utilisateur client
|
|
11884
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
11676
11885
|
* @param {ClientRegisterRequest} clientRegisterRequest
|
|
11677
11886
|
* @param {*} [options] Override http request option.
|
|
11678
11887
|
* @throws {RequiredError}
|
|
@@ -11683,6 +11892,17 @@ export const ClientApiFp = function(configuration?: Configuration) {
|
|
|
11683
11892
|
const localVarOperationServerBasePath = operationServerMap['ClientApi.clientRegister']?.[localVarOperationServerIndex]?.url;
|
|
11684
11893
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11685
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
|
+
},
|
|
11686
11906
|
/**
|
|
11687
11907
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
11688
11908
|
* @param {*} [options] Override http request option.
|
|
@@ -11695,7 +11915,7 @@ export const ClientApiFp = function(configuration?: Configuration) {
|
|
|
11695
11915
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11696
11916
|
},
|
|
11697
11917
|
/**
|
|
11698
|
-
* 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
|
|
11699
11919
|
* @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
|
|
11700
11920
|
* @param {*} [options] Override http request option.
|
|
11701
11921
|
* @throws {RequiredError}
|
|
@@ -11717,7 +11937,7 @@ export const ClientApiFactory = function (configuration?: Configuration, basePat
|
|
|
11717
11937
|
const localVarFp = ClientApiFp(configuration)
|
|
11718
11938
|
return {
|
|
11719
11939
|
/**
|
|
11720
|
-
* Enregistre un nouvel utilisateur client
|
|
11940
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
11721
11941
|
* @param {ClientApiClientRegisterRequest} requestParameters Request parameters.
|
|
11722
11942
|
* @param {*} [options] Override http request option.
|
|
11723
11943
|
* @throws {RequiredError}
|
|
@@ -11725,6 +11945,14 @@ export const ClientApiFactory = function (configuration?: Configuration, basePat
|
|
|
11725
11945
|
clientRegister(requestParameters: ClientApiClientRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientRegister201Response> {
|
|
11726
11946
|
return localVarFp.clientRegister(requestParameters.clientRegisterRequest, options).then((request) => request(axios, basePath));
|
|
11727
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
|
+
},
|
|
11728
11956
|
/**
|
|
11729
11957
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
11730
11958
|
* @param {*} [options] Override http request option.
|
|
@@ -11734,7 +11962,7 @@ export const ClientApiFactory = function (configuration?: Configuration, basePat
|
|
|
11734
11962
|
return localVarFp.getManagedClubs(options).then((request) => request(axios, basePath));
|
|
11735
11963
|
},
|
|
11736
11964
|
/**
|
|
11737
|
-
* 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
|
|
11738
11966
|
* @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
|
|
11739
11967
|
* @param {*} [options] Override http request option.
|
|
11740
11968
|
* @throws {RequiredError}
|
|
@@ -11781,7 +12009,7 @@ export interface ClientApiOnboardClubRequest {
|
|
|
11781
12009
|
*/
|
|
11782
12010
|
export class ClientApi extends BaseAPI {
|
|
11783
12011
|
/**
|
|
11784
|
-
* Enregistre un nouvel utilisateur client
|
|
12012
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
11785
12013
|
* @param {ClientApiClientRegisterRequest} requestParameters Request parameters.
|
|
11786
12014
|
* @param {*} [options] Override http request option.
|
|
11787
12015
|
* @throws {RequiredError}
|
|
@@ -11791,6 +12019,16 @@ export class ClientApi extends BaseAPI {
|
|
|
11791
12019
|
return ClientApiFp(this.configuration).clientRegister(requestParameters.clientRegisterRequest, options).then((request) => request(this.axios, this.basePath));
|
|
11792
12020
|
}
|
|
11793
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
|
+
|
|
11794
12032
|
/**
|
|
11795
12033
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
11796
12034
|
* @param {*} [options] Override http request option.
|
|
@@ -11802,7 +12040,7 @@ export class ClientApi extends BaseAPI {
|
|
|
11802
12040
|
}
|
|
11803
12041
|
|
|
11804
12042
|
/**
|
|
11805
|
-
* 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
|
|
11806
12044
|
* @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
|
|
11807
12045
|
* @param {*} [options] Override http request option.
|
|
11808
12046
|
* @throws {RequiredError}
|
|
@@ -14464,7 +14702,7 @@ export class ClubSettingsStaffApi extends BaseAPI {
|
|
|
14464
14702
|
export const ClubsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
14465
14703
|
return {
|
|
14466
14704
|
/**
|
|
14467
|
-
* 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
|
|
14468
14706
|
* @param {*} [options] Override http request option.
|
|
14469
14707
|
* @throws {RequiredError}
|
|
14470
14708
|
*/
|
|
@@ -14765,7 +15003,7 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14765
15003
|
};
|
|
14766
15004
|
},
|
|
14767
15005
|
/**
|
|
14768
|
-
* 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
|
|
14769
15007
|
* @param {*} [options] Override http request option.
|
|
14770
15008
|
* @throws {RequiredError}
|
|
14771
15009
|
*/
|
|
@@ -14940,7 +15178,7 @@ export const ClubsApiFp = function(configuration?: Configuration) {
|
|
|
14940
15178
|
const localVarAxiosParamCreator = ClubsApiAxiosParamCreator(configuration)
|
|
14941
15179
|
return {
|
|
14942
15180
|
/**
|
|
14943
|
-
* 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
|
|
14944
15182
|
* @param {*} [options] Override http request option.
|
|
14945
15183
|
* @throws {RequiredError}
|
|
14946
15184
|
*/
|
|
@@ -15048,7 +15286,7 @@ export const ClubsApiFp = function(configuration?: Configuration) {
|
|
|
15048
15286
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15049
15287
|
},
|
|
15050
15288
|
/**
|
|
15051
|
-
* 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
|
|
15052
15290
|
* @param {*} [options] Override http request option.
|
|
15053
15291
|
* @throws {RequiredError}
|
|
15054
15292
|
*/
|
|
@@ -15118,7 +15356,7 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
|
|
|
15118
15356
|
const localVarFp = ClubsApiFp(configuration)
|
|
15119
15357
|
return {
|
|
15120
15358
|
/**
|
|
15121
|
-
* 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
|
|
15122
15360
|
* @param {*} [options] Override http request option.
|
|
15123
15361
|
* @throws {RequiredError}
|
|
15124
15362
|
*/
|
|
@@ -15196,7 +15434,7 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
|
|
|
15196
15434
|
return localVarFp.getClubUsersById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
15197
15435
|
},
|
|
15198
15436
|
/**
|
|
15199
|
-
* 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
|
|
15200
15438
|
* @param {*} [options] Override http request option.
|
|
15201
15439
|
* @throws {RequiredError}
|
|
15202
15440
|
*/
|
|
@@ -15418,7 +15656,7 @@ export interface ClubsApiGetSportsByClubByIdRequest {
|
|
|
15418
15656
|
*/
|
|
15419
15657
|
export class ClubsApi extends BaseAPI {
|
|
15420
15658
|
/**
|
|
15421
|
-
* 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
|
|
15422
15660
|
* @param {*} [options] Override http request option.
|
|
15423
15661
|
* @throws {RequiredError}
|
|
15424
15662
|
* @memberof ClubsApi
|
|
@@ -15514,7 +15752,7 @@ export class ClubsApi extends BaseAPI {
|
|
|
15514
15752
|
}
|
|
15515
15753
|
|
|
15516
15754
|
/**
|
|
15517
|
-
* 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
|
|
15518
15756
|
* @param {*} [options] Override http request option.
|
|
15519
15757
|
* @throws {RequiredError}
|
|
15520
15758
|
* @memberof ClubsApi
|
|
@@ -18291,6 +18529,45 @@ export class DefaultApi extends BaseAPI {
|
|
|
18291
18529
|
*/
|
|
18292
18530
|
export const EventsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
18293
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
|
+
},
|
|
18294
18571
|
/**
|
|
18295
18572
|
* Get a specific event by ID
|
|
18296
18573
|
* @param {string} eventId
|
|
@@ -18463,6 +18740,19 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
18463
18740
|
export const EventsApiFp = function(configuration?: Configuration) {
|
|
18464
18741
|
const localVarAxiosParamCreator = EventsApiAxiosParamCreator(configuration)
|
|
18465
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
|
+
},
|
|
18466
18756
|
/**
|
|
18467
18757
|
* Get a specific event by ID
|
|
18468
18758
|
* @param {string} eventId
|
|
@@ -18525,6 +18815,15 @@ export const EventsApiFp = function(configuration?: Configuration) {
|
|
|
18525
18815
|
export const EventsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
18526
18816
|
const localVarFp = EventsApiFp(configuration)
|
|
18527
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
|
+
},
|
|
18528
18827
|
/**
|
|
18529
18828
|
* Get a specific event by ID
|
|
18530
18829
|
* @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
|
|
@@ -18564,6 +18863,27 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
|
|
|
18564
18863
|
};
|
|
18565
18864
|
};
|
|
18566
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
|
+
|
|
18567
18887
|
/**
|
|
18568
18888
|
* Request parameters for getEventById operation in EventsApi.
|
|
18569
18889
|
* @export
|
|
@@ -18655,6 +18975,17 @@ export interface EventsApiLeaveEventRequest {
|
|
|
18655
18975
|
* @extends {BaseAPI}
|
|
18656
18976
|
*/
|
|
18657
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
|
+
|
|
18658
18989
|
/**
|
|
18659
18990
|
* Get a specific event by ID
|
|
18660
18991
|
* @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
|
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED