@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/dist/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.116
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1554,6 +1554,12 @@ export interface ClientFullOnboardingResponse {
|
|
|
1554
1554
|
* @interface ClientFullOnboardingResponseClub
|
|
1555
1555
|
*/
|
|
1556
1556
|
export interface ClientFullOnboardingResponseClub {
|
|
1557
|
+
/**
|
|
1558
|
+
*
|
|
1559
|
+
* @type {string}
|
|
1560
|
+
* @memberof ClientFullOnboardingResponseClub
|
|
1561
|
+
*/
|
|
1562
|
+
'clubType'?: string;
|
|
1557
1563
|
/**
|
|
1558
1564
|
*
|
|
1559
1565
|
* @type {string}
|
|
@@ -1621,7 +1627,18 @@ export interface ClientOnboardingRequestBody {
|
|
|
1621
1627
|
* @memberof ClientOnboardingRequestBody
|
|
1622
1628
|
*/
|
|
1623
1629
|
'country'?: string;
|
|
1630
|
+
/**
|
|
1631
|
+
* Type de club souhaité (public | school)
|
|
1632
|
+
* @type {string}
|
|
1633
|
+
* @memberof ClientOnboardingRequestBody
|
|
1634
|
+
*/
|
|
1635
|
+
'clubType'?: ClientOnboardingRequestBodyClubTypeEnum;
|
|
1624
1636
|
}
|
|
1637
|
+
export declare const ClientOnboardingRequestBodyClubTypeEnum: {
|
|
1638
|
+
readonly Public: "public";
|
|
1639
|
+
readonly School: "school";
|
|
1640
|
+
};
|
|
1641
|
+
export type ClientOnboardingRequestBodyClubTypeEnum = typeof ClientOnboardingRequestBodyClubTypeEnum[keyof typeof ClientOnboardingRequestBodyClubTypeEnum];
|
|
1625
1642
|
/**
|
|
1626
1643
|
*
|
|
1627
1644
|
* @export
|
|
@@ -1684,6 +1701,87 @@ export interface ClientRegisterRequest {
|
|
|
1684
1701
|
*/
|
|
1685
1702
|
'firstName': string;
|
|
1686
1703
|
}
|
|
1704
|
+
/**
|
|
1705
|
+
* Abonnement Stripe simplifié
|
|
1706
|
+
* @export
|
|
1707
|
+
* @interface ClientSubscription
|
|
1708
|
+
*/
|
|
1709
|
+
export interface ClientSubscription {
|
|
1710
|
+
/**
|
|
1711
|
+
*
|
|
1712
|
+
* @type {string}
|
|
1713
|
+
* @memberof ClientSubscription
|
|
1714
|
+
*/
|
|
1715
|
+
'id': string;
|
|
1716
|
+
/**
|
|
1717
|
+
*
|
|
1718
|
+
* @type {string}
|
|
1719
|
+
* @memberof ClientSubscription
|
|
1720
|
+
*/
|
|
1721
|
+
'status': string;
|
|
1722
|
+
/**
|
|
1723
|
+
*
|
|
1724
|
+
* @type {number}
|
|
1725
|
+
* @memberof ClientSubscription
|
|
1726
|
+
*/
|
|
1727
|
+
'currentPeriodStart': number;
|
|
1728
|
+
/**
|
|
1729
|
+
*
|
|
1730
|
+
* @type {number}
|
|
1731
|
+
* @memberof ClientSubscription
|
|
1732
|
+
*/
|
|
1733
|
+
'currentPeriodEnd': number;
|
|
1734
|
+
/**
|
|
1735
|
+
*
|
|
1736
|
+
* @type {boolean}
|
|
1737
|
+
* @memberof ClientSubscription
|
|
1738
|
+
*/
|
|
1739
|
+
'cancelAtPeriodEnd': boolean;
|
|
1740
|
+
/**
|
|
1741
|
+
*
|
|
1742
|
+
* @type {Array<ClientSubscriptionItem>}
|
|
1743
|
+
* @memberof ClientSubscription
|
|
1744
|
+
*/
|
|
1745
|
+
'items': Array<ClientSubscriptionItem>;
|
|
1746
|
+
}
|
|
1747
|
+
/**
|
|
1748
|
+
* Item d\'abonnement Stripe simplifié
|
|
1749
|
+
* @export
|
|
1750
|
+
* @interface ClientSubscriptionItem
|
|
1751
|
+
*/
|
|
1752
|
+
export interface ClientSubscriptionItem {
|
|
1753
|
+
/**
|
|
1754
|
+
*
|
|
1755
|
+
* @type {string}
|
|
1756
|
+
* @memberof ClientSubscriptionItem
|
|
1757
|
+
*/
|
|
1758
|
+
'priceId': string;
|
|
1759
|
+
/**
|
|
1760
|
+
*
|
|
1761
|
+
* @type {string}
|
|
1762
|
+
* @memberof ClientSubscriptionItem
|
|
1763
|
+
*/
|
|
1764
|
+
'productId'?: string;
|
|
1765
|
+
/**
|
|
1766
|
+
*
|
|
1767
|
+
* @type {number}
|
|
1768
|
+
* @memberof ClientSubscriptionItem
|
|
1769
|
+
*/
|
|
1770
|
+
'quantity'?: number;
|
|
1771
|
+
}
|
|
1772
|
+
/**
|
|
1773
|
+
* Réponse liste des abonnements Stripe du client
|
|
1774
|
+
* @export
|
|
1775
|
+
* @interface ClientSubscriptionsResponse
|
|
1776
|
+
*/
|
|
1777
|
+
export interface ClientSubscriptionsResponse {
|
|
1778
|
+
/**
|
|
1779
|
+
*
|
|
1780
|
+
* @type {Array<ClientSubscription>}
|
|
1781
|
+
* @memberof ClientSubscriptionsResponse
|
|
1782
|
+
*/
|
|
1783
|
+
'subscriptions': Array<ClientSubscription>;
|
|
1784
|
+
}
|
|
1687
1785
|
/**
|
|
1688
1786
|
*
|
|
1689
1787
|
* @export
|
|
@@ -4076,6 +4174,79 @@ export declare const DiscountType: {
|
|
|
4076
4174
|
readonly OffPeak: "off_peak";
|
|
4077
4175
|
};
|
|
4078
4176
|
export type DiscountType = typeof DiscountType[keyof typeof DiscountType];
|
|
4177
|
+
/**
|
|
4178
|
+
*
|
|
4179
|
+
* @export
|
|
4180
|
+
* @interface EstimateEventPrice200Response
|
|
4181
|
+
*/
|
|
4182
|
+
export interface EstimateEventPrice200Response {
|
|
4183
|
+
/**
|
|
4184
|
+
*
|
|
4185
|
+
* @type {string}
|
|
4186
|
+
* @memberof EstimateEventPrice200Response
|
|
4187
|
+
*/
|
|
4188
|
+
'currency': string;
|
|
4189
|
+
/**
|
|
4190
|
+
*
|
|
4191
|
+
* @type {number}
|
|
4192
|
+
* @memberof EstimateEventPrice200Response
|
|
4193
|
+
*/
|
|
4194
|
+
'total': number;
|
|
4195
|
+
/**
|
|
4196
|
+
* Construct a type with a set of properties K of type T
|
|
4197
|
+
* @type {{ [key: string]: number; }}
|
|
4198
|
+
* @memberof EstimateEventPrice200Response
|
|
4199
|
+
*/
|
|
4200
|
+
'perPayer': {
|
|
4201
|
+
[key: string]: number;
|
|
4202
|
+
};
|
|
4203
|
+
/**
|
|
4204
|
+
* Construct a type with a set of properties K of type T
|
|
4205
|
+
* @type {{ [key: string]: number; }}
|
|
4206
|
+
* @memberof EstimateEventPrice200Response
|
|
4207
|
+
*/
|
|
4208
|
+
'perPlayer': {
|
|
4209
|
+
[key: string]: number;
|
|
4210
|
+
};
|
|
4211
|
+
}
|
|
4212
|
+
/**
|
|
4213
|
+
*
|
|
4214
|
+
* @export
|
|
4215
|
+
* @interface EstimateEventPriceRequest
|
|
4216
|
+
*/
|
|
4217
|
+
export interface EstimateEventPriceRequest {
|
|
4218
|
+
/**
|
|
4219
|
+
*
|
|
4220
|
+
* @type {Array<EstimateEventPriceRequestSharesInner>}
|
|
4221
|
+
* @memberof EstimateEventPriceRequest
|
|
4222
|
+
*/
|
|
4223
|
+
'shares'?: Array<EstimateEventPriceRequestSharesInner>;
|
|
4224
|
+
/**
|
|
4225
|
+
*
|
|
4226
|
+
* @type {Array<string>}
|
|
4227
|
+
* @memberof EstimateEventPriceRequest
|
|
4228
|
+
*/
|
|
4229
|
+
'playerIds': Array<string>;
|
|
4230
|
+
}
|
|
4231
|
+
/**
|
|
4232
|
+
*
|
|
4233
|
+
* @export
|
|
4234
|
+
* @interface EstimateEventPriceRequestSharesInner
|
|
4235
|
+
*/
|
|
4236
|
+
export interface EstimateEventPriceRequestSharesInner {
|
|
4237
|
+
/**
|
|
4238
|
+
*
|
|
4239
|
+
* @type {Array<string>}
|
|
4240
|
+
* @memberof EstimateEventPriceRequestSharesInner
|
|
4241
|
+
*/
|
|
4242
|
+
'paysAlsoFor'?: Array<string>;
|
|
4243
|
+
/**
|
|
4244
|
+
*
|
|
4245
|
+
* @type {string}
|
|
4246
|
+
* @memberof EstimateEventPriceRequestSharesInner
|
|
4247
|
+
*/
|
|
4248
|
+
'playerId': string;
|
|
4249
|
+
}
|
|
4079
4250
|
/**
|
|
4080
4251
|
*
|
|
4081
4252
|
* @export
|
|
@@ -5234,6 +5405,12 @@ export interface JoinEventRequest {
|
|
|
5234
5405
|
* @interface JoinEventRequestPlayersPaymentMethodsInner
|
|
5235
5406
|
*/
|
|
5236
5407
|
export interface JoinEventRequestPlayersPaymentMethodsInner {
|
|
5408
|
+
/**
|
|
5409
|
+
*
|
|
5410
|
+
* @type {Array<string>}
|
|
5411
|
+
* @memberof JoinEventRequestPlayersPaymentMethodsInner
|
|
5412
|
+
*/
|
|
5413
|
+
'paysAlsoFor'?: Array<string>;
|
|
5237
5414
|
/**
|
|
5238
5415
|
*
|
|
5239
5416
|
* @type {PaymentMethod}
|
|
@@ -10626,7 +10803,7 @@ export declare const BookingsUserApiAxiosParamCreator: (configuration?: Configur
|
|
|
10626
10803
|
*/
|
|
10627
10804
|
cancelBooking: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10628
10805
|
/**
|
|
10629
|
-
* Créer une réservation
|
|
10806
|
+
* Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
|
|
10630
10807
|
* @param {CreateBookingRequest} createBookingRequest
|
|
10631
10808
|
* @param {*} [options] Override http request option.
|
|
10632
10809
|
* @throws {RequiredError}
|
|
@@ -10646,7 +10823,7 @@ export declare const BookingsUserApiFp: (configuration?: Configuration) => {
|
|
|
10646
10823
|
*/
|
|
10647
10824
|
cancelBooking(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CancelBookingResponse>>;
|
|
10648
10825
|
/**
|
|
10649
|
-
* Créer une réservation
|
|
10826
|
+
* Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
|
|
10650
10827
|
* @param {CreateBookingRequest} createBookingRequest
|
|
10651
10828
|
* @param {*} [options] Override http request option.
|
|
10652
10829
|
* @throws {RequiredError}
|
|
@@ -10666,7 +10843,7 @@ export declare const BookingsUserApiFactory: (configuration?: Configuration, bas
|
|
|
10666
10843
|
*/
|
|
10667
10844
|
cancelBooking(requestParameters: BookingsUserApiCancelBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CancelBookingResponse>;
|
|
10668
10845
|
/**
|
|
10669
|
-
* Créer une réservation
|
|
10846
|
+
* Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
|
|
10670
10847
|
* @param {BookingsUserApiCreateBookingRequest} requestParameters Request parameters.
|
|
10671
10848
|
* @param {*} [options] Override http request option.
|
|
10672
10849
|
* @throws {RequiredError}
|
|
@@ -10715,7 +10892,7 @@ export declare class BookingsUserApi extends BaseAPI {
|
|
|
10715
10892
|
*/
|
|
10716
10893
|
cancelBooking(requestParameters: BookingsUserApiCancelBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CancelBookingResponse, any, {}>>;
|
|
10717
10894
|
/**
|
|
10718
|
-
* Créer une réservation
|
|
10895
|
+
* Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
|
|
10719
10896
|
* @param {BookingsUserApiCreateBookingRequest} requestParameters Request parameters.
|
|
10720
10897
|
* @param {*} [options] Override http request option.
|
|
10721
10898
|
* @throws {RequiredError}
|
|
@@ -10729,12 +10906,18 @@ export declare class BookingsUserApi extends BaseAPI {
|
|
|
10729
10906
|
*/
|
|
10730
10907
|
export declare const ClientApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
10731
10908
|
/**
|
|
10732
|
-
* Enregistre un nouvel utilisateur client
|
|
10909
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
10733
10910
|
* @param {ClientRegisterRequest} clientRegisterRequest
|
|
10734
10911
|
* @param {*} [options] Override http request option.
|
|
10735
10912
|
* @throws {RequiredError}
|
|
10736
10913
|
*/
|
|
10737
10914
|
clientRegister: (clientRegisterRequest: ClientRegisterRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10915
|
+
/**
|
|
10916
|
+
* Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
|
|
10917
|
+
* @param {*} [options] Override http request option.
|
|
10918
|
+
* @throws {RequiredError}
|
|
10919
|
+
*/
|
|
10920
|
+
getClientSubscriptions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10738
10921
|
/**
|
|
10739
10922
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
10740
10923
|
* @param {*} [options] Override http request option.
|
|
@@ -10742,7 +10925,7 @@ export declare const ClientApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
10742
10925
|
*/
|
|
10743
10926
|
getManagedClubs: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10744
10927
|
/**
|
|
10745
|
-
* Enregistre un nouveau club pour la plateforme
|
|
10928
|
+
* 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
|
|
10746
10929
|
* @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
|
|
10747
10930
|
* @param {*} [options] Override http request option.
|
|
10748
10931
|
* @throws {RequiredError}
|
|
@@ -10755,12 +10938,18 @@ export declare const ClientApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
10755
10938
|
*/
|
|
10756
10939
|
export declare const ClientApiFp: (configuration?: Configuration) => {
|
|
10757
10940
|
/**
|
|
10758
|
-
* Enregistre un nouvel utilisateur client
|
|
10941
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
10759
10942
|
* @param {ClientRegisterRequest} clientRegisterRequest
|
|
10760
10943
|
* @param {*} [options] Override http request option.
|
|
10761
10944
|
* @throws {RequiredError}
|
|
10762
10945
|
*/
|
|
10763
10946
|
clientRegister(clientRegisterRequest: ClientRegisterRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientRegister201Response>>;
|
|
10947
|
+
/**
|
|
10948
|
+
* Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
|
|
10949
|
+
* @param {*} [options] Override http request option.
|
|
10950
|
+
* @throws {RequiredError}
|
|
10951
|
+
*/
|
|
10952
|
+
getClientSubscriptions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientSubscriptionsResponse>>;
|
|
10764
10953
|
/**
|
|
10765
10954
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
10766
10955
|
* @param {*} [options] Override http request option.
|
|
@@ -10768,7 +10957,7 @@ export declare const ClientApiFp: (configuration?: Configuration) => {
|
|
|
10768
10957
|
*/
|
|
10769
10958
|
getManagedClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagedClubsResponse>>;
|
|
10770
10959
|
/**
|
|
10771
|
-
* Enregistre un nouveau club pour la plateforme
|
|
10960
|
+
* 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
|
|
10772
10961
|
* @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
|
|
10773
10962
|
* @param {*} [options] Override http request option.
|
|
10774
10963
|
* @throws {RequiredError}
|
|
@@ -10781,12 +10970,18 @@ export declare const ClientApiFp: (configuration?: Configuration) => {
|
|
|
10781
10970
|
*/
|
|
10782
10971
|
export declare const ClientApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
10783
10972
|
/**
|
|
10784
|
-
* Enregistre un nouvel utilisateur client
|
|
10973
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
10785
10974
|
* @param {ClientApiClientRegisterRequest} requestParameters Request parameters.
|
|
10786
10975
|
* @param {*} [options] Override http request option.
|
|
10787
10976
|
* @throws {RequiredError}
|
|
10788
10977
|
*/
|
|
10789
10978
|
clientRegister(requestParameters: ClientApiClientRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientRegister201Response>;
|
|
10979
|
+
/**
|
|
10980
|
+
* Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
|
|
10981
|
+
* @param {*} [options] Override http request option.
|
|
10982
|
+
* @throws {RequiredError}
|
|
10983
|
+
*/
|
|
10984
|
+
getClientSubscriptions(options?: RawAxiosRequestConfig): AxiosPromise<ClientSubscriptionsResponse>;
|
|
10790
10985
|
/**
|
|
10791
10986
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
10792
10987
|
* @param {*} [options] Override http request option.
|
|
@@ -10794,7 +10989,7 @@ export declare const ClientApiFactory: (configuration?: Configuration, basePath?
|
|
|
10794
10989
|
*/
|
|
10795
10990
|
getManagedClubs(options?: RawAxiosRequestConfig): AxiosPromise<ManagedClubsResponse>;
|
|
10796
10991
|
/**
|
|
10797
|
-
* Enregistre un nouveau club pour la plateforme
|
|
10992
|
+
* 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
|
|
10798
10993
|
* @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
|
|
10799
10994
|
* @param {*} [options] Override http request option.
|
|
10800
10995
|
* @throws {RequiredError}
|
|
@@ -10835,13 +11030,20 @@ export interface ClientApiOnboardClubRequest {
|
|
|
10835
11030
|
*/
|
|
10836
11031
|
export declare class ClientApi extends BaseAPI {
|
|
10837
11032
|
/**
|
|
10838
|
-
* Enregistre un nouvel utilisateur client
|
|
11033
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
10839
11034
|
* @param {ClientApiClientRegisterRequest} requestParameters Request parameters.
|
|
10840
11035
|
* @param {*} [options] Override http request option.
|
|
10841
11036
|
* @throws {RequiredError}
|
|
10842
11037
|
* @memberof ClientApi
|
|
10843
11038
|
*/
|
|
10844
11039
|
clientRegister(requestParameters: ClientApiClientRegisterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientRegister201Response, any, {}>>;
|
|
11040
|
+
/**
|
|
11041
|
+
* Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
|
|
11042
|
+
* @param {*} [options] Override http request option.
|
|
11043
|
+
* @throws {RequiredError}
|
|
11044
|
+
* @memberof ClientApi
|
|
11045
|
+
*/
|
|
11046
|
+
getClientSubscriptions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientSubscriptionsResponse, any, {}>>;
|
|
10845
11047
|
/**
|
|
10846
11048
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
10847
11049
|
* @param {*} [options] Override http request option.
|
|
@@ -10850,7 +11052,7 @@ export declare class ClientApi extends BaseAPI {
|
|
|
10850
11052
|
*/
|
|
10851
11053
|
getManagedClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagedClubsResponse, any, {}>>;
|
|
10852
11054
|
/**
|
|
10853
|
-
* Enregistre un nouveau club pour la plateforme
|
|
11055
|
+
* 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
|
|
10854
11056
|
* @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
|
|
10855
11057
|
* @param {*} [options] Override http request option.
|
|
10856
11058
|
* @throws {RequiredError}
|
|
@@ -12132,7 +12334,7 @@ export declare class ClubSettingsStaffApi extends BaseAPI {
|
|
|
12132
12334
|
*/
|
|
12133
12335
|
export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
12134
12336
|
/**
|
|
12135
|
-
* Récupère la liste des clubs actifs publics
|
|
12337
|
+
* Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
|
|
12136
12338
|
* @param {*} [options] Override http request option.
|
|
12137
12339
|
* @throws {RequiredError}
|
|
12138
12340
|
*/
|
|
@@ -12195,7 +12397,7 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
12195
12397
|
*/
|
|
12196
12398
|
getClubUsersById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12197
12399
|
/**
|
|
12198
|
-
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification
|
|
12400
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
12199
12401
|
* @param {*} [options] Override http request option.
|
|
12200
12402
|
* @throws {RequiredError}
|
|
12201
12403
|
*/
|
|
@@ -12236,7 +12438,7 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
12236
12438
|
*/
|
|
12237
12439
|
export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
12238
12440
|
/**
|
|
12239
|
-
* Récupère la liste des clubs actifs publics
|
|
12441
|
+
* Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
|
|
12240
12442
|
* @param {*} [options] Override http request option.
|
|
12241
12443
|
* @throws {RequiredError}
|
|
12242
12444
|
*/
|
|
@@ -12299,7 +12501,7 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
12299
12501
|
*/
|
|
12300
12502
|
getClubUsersById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubUsersById200Response>>;
|
|
12301
12503
|
/**
|
|
12302
|
-
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification
|
|
12504
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
12303
12505
|
* @param {*} [options] Override http request option.
|
|
12304
12506
|
* @throws {RequiredError}
|
|
12305
12507
|
*/
|
|
@@ -12340,7 +12542,7 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
12340
12542
|
*/
|
|
12341
12543
|
export declare const ClubsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
12342
12544
|
/**
|
|
12343
|
-
* Récupère la liste des clubs actifs publics
|
|
12545
|
+
* Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
|
|
12344
12546
|
* @param {*} [options] Override http request option.
|
|
12345
12547
|
* @throws {RequiredError}
|
|
12346
12548
|
*/
|
|
@@ -12400,7 +12602,7 @@ export declare const ClubsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
12400
12602
|
*/
|
|
12401
12603
|
getClubUsersById(requestParameters: ClubsApiGetClubUsersByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetClubUsersById200Response>;
|
|
12402
12604
|
/**
|
|
12403
|
-
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification
|
|
12605
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
12404
12606
|
* @param {*} [options] Override http request option.
|
|
12405
12607
|
* @throws {RequiredError}
|
|
12406
12608
|
*/
|
|
@@ -12596,7 +12798,7 @@ export interface ClubsApiGetSportsByClubByIdRequest {
|
|
|
12596
12798
|
*/
|
|
12597
12799
|
export declare class ClubsApi extends BaseAPI {
|
|
12598
12800
|
/**
|
|
12599
|
-
* Récupère la liste des clubs actifs publics
|
|
12801
|
+
* Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
|
|
12600
12802
|
* @param {*} [options] Override http request option.
|
|
12601
12803
|
* @throws {RequiredError}
|
|
12602
12804
|
* @memberof ClubsApi
|
|
@@ -12665,7 +12867,7 @@ export declare class ClubsApi extends BaseAPI {
|
|
|
12665
12867
|
*/
|
|
12666
12868
|
getClubUsersById(requestParameters: ClubsApiGetClubUsersByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubUsersById200Response, any, {}>>;
|
|
12667
12869
|
/**
|
|
12668
|
-
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification
|
|
12870
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
12669
12871
|
* @param {*} [options] Override http request option.
|
|
12670
12872
|
* @throws {RequiredError}
|
|
12671
12873
|
* @memberof ClubsApi
|
|
@@ -14051,6 +14253,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
14051
14253
|
* @export
|
|
14052
14254
|
*/
|
|
14053
14255
|
export declare const EventsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
14256
|
+
/**
|
|
14257
|
+
* Estime le prix de participation à un événement pour une liste de joueurs
|
|
14258
|
+
* @param {string} eventId
|
|
14259
|
+
* @param {EstimateEventPriceRequest} estimateEventPriceRequest
|
|
14260
|
+
* @param {*} [options] Override http request option.
|
|
14261
|
+
* @throws {RequiredError}
|
|
14262
|
+
*/
|
|
14263
|
+
estimateEventPrice: (eventId: string, estimateEventPriceRequest: EstimateEventPriceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14054
14264
|
/**
|
|
14055
14265
|
* Get a specific event by ID
|
|
14056
14266
|
* @param {string} eventId
|
|
@@ -14089,6 +14299,14 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
14089
14299
|
* @export
|
|
14090
14300
|
*/
|
|
14091
14301
|
export declare const EventsApiFp: (configuration?: Configuration) => {
|
|
14302
|
+
/**
|
|
14303
|
+
* Estime le prix de participation à un événement pour une liste de joueurs
|
|
14304
|
+
* @param {string} eventId
|
|
14305
|
+
* @param {EstimateEventPriceRequest} estimateEventPriceRequest
|
|
14306
|
+
* @param {*} [options] Override http request option.
|
|
14307
|
+
* @throws {RequiredError}
|
|
14308
|
+
*/
|
|
14309
|
+
estimateEventPrice(eventId: string, estimateEventPriceRequest: EstimateEventPriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EstimateEventPrice200Response>>;
|
|
14092
14310
|
/**
|
|
14093
14311
|
* Get a specific event by ID
|
|
14094
14312
|
* @param {string} eventId
|
|
@@ -14127,6 +14345,13 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
|
|
|
14127
14345
|
* @export
|
|
14128
14346
|
*/
|
|
14129
14347
|
export declare const EventsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
14348
|
+
/**
|
|
14349
|
+
* Estime le prix de participation à un événement pour une liste de joueurs
|
|
14350
|
+
* @param {EventsApiEstimateEventPriceRequest} requestParameters Request parameters.
|
|
14351
|
+
* @param {*} [options] Override http request option.
|
|
14352
|
+
* @throws {RequiredError}
|
|
14353
|
+
*/
|
|
14354
|
+
estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<EstimateEventPrice200Response>;
|
|
14130
14355
|
/**
|
|
14131
14356
|
* Get a specific event by ID
|
|
14132
14357
|
* @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
|
|
@@ -14156,6 +14381,25 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
|
|
|
14156
14381
|
*/
|
|
14157
14382
|
leaveEvent(requestParameters: EventsApiLeaveEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinEventResponse>;
|
|
14158
14383
|
};
|
|
14384
|
+
/**
|
|
14385
|
+
* Request parameters for estimateEventPrice operation in EventsApi.
|
|
14386
|
+
* @export
|
|
14387
|
+
* @interface EventsApiEstimateEventPriceRequest
|
|
14388
|
+
*/
|
|
14389
|
+
export interface EventsApiEstimateEventPriceRequest {
|
|
14390
|
+
/**
|
|
14391
|
+
*
|
|
14392
|
+
* @type {string}
|
|
14393
|
+
* @memberof EventsApiEstimateEventPrice
|
|
14394
|
+
*/
|
|
14395
|
+
readonly eventId: string;
|
|
14396
|
+
/**
|
|
14397
|
+
*
|
|
14398
|
+
* @type {EstimateEventPriceRequest}
|
|
14399
|
+
* @memberof EventsApiEstimateEventPrice
|
|
14400
|
+
*/
|
|
14401
|
+
readonly estimateEventPriceRequest: EstimateEventPriceRequest;
|
|
14402
|
+
}
|
|
14159
14403
|
/**
|
|
14160
14404
|
* Request parameters for getEventById operation in EventsApi.
|
|
14161
14405
|
* @export
|
|
@@ -14239,6 +14483,14 @@ export interface EventsApiLeaveEventRequest {
|
|
|
14239
14483
|
* @extends {BaseAPI}
|
|
14240
14484
|
*/
|
|
14241
14485
|
export declare class EventsApi extends BaseAPI {
|
|
14486
|
+
/**
|
|
14487
|
+
* Estime le prix de participation à un événement pour une liste de joueurs
|
|
14488
|
+
* @param {EventsApiEstimateEventPriceRequest} requestParameters Request parameters.
|
|
14489
|
+
* @param {*} [options] Override http request option.
|
|
14490
|
+
* @throws {RequiredError}
|
|
14491
|
+
* @memberof EventsApi
|
|
14492
|
+
*/
|
|
14493
|
+
estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EstimateEventPrice200Response, any, {}>>;
|
|
14242
14494
|
/**
|
|
14243
14495
|
* Get a specific event by ID
|
|
14244
14496
|
* @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
|