@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/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
|
|
@@ -3592,6 +3690,12 @@ export interface CreateEventRequest {
|
|
|
3592
3690
|
* @memberof CreateEventRequest
|
|
3593
3691
|
*/
|
|
3594
3692
|
'playerLimit'?: number;
|
|
3693
|
+
/**
|
|
3694
|
+
*
|
|
3695
|
+
* @type {number}
|
|
3696
|
+
* @memberof CreateEventRequest
|
|
3697
|
+
*/
|
|
3698
|
+
'playersPerTeam'?: number;
|
|
3595
3699
|
/**
|
|
3596
3700
|
*
|
|
3597
3701
|
* @type {number}
|
|
@@ -4070,6 +4174,79 @@ export declare const DiscountType: {
|
|
|
4070
4174
|
readonly OffPeak: "off_peak";
|
|
4071
4175
|
};
|
|
4072
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
|
+
}
|
|
4073
4250
|
/**
|
|
4074
4251
|
*
|
|
4075
4252
|
* @export
|
|
@@ -4246,6 +4423,12 @@ export interface EventResponse {
|
|
|
4246
4423
|
* @memberof EventResponse
|
|
4247
4424
|
*/
|
|
4248
4425
|
'teamLimit'?: number;
|
|
4426
|
+
/**
|
|
4427
|
+
*
|
|
4428
|
+
* @type {number}
|
|
4429
|
+
* @memberof EventResponse
|
|
4430
|
+
*/
|
|
4431
|
+
'playersPerTeam'?: number;
|
|
4249
4432
|
/**
|
|
4250
4433
|
*
|
|
4251
4434
|
* @type {number}
|
|
@@ -5222,6 +5405,12 @@ export interface JoinEventRequest {
|
|
|
5222
5405
|
* @interface JoinEventRequestPlayersPaymentMethodsInner
|
|
5223
5406
|
*/
|
|
5224
5407
|
export interface JoinEventRequestPlayersPaymentMethodsInner {
|
|
5408
|
+
/**
|
|
5409
|
+
*
|
|
5410
|
+
* @type {Array<string>}
|
|
5411
|
+
* @memberof JoinEventRequestPlayersPaymentMethodsInner
|
|
5412
|
+
*/
|
|
5413
|
+
'paysAlsoFor'?: Array<string>;
|
|
5225
5414
|
/**
|
|
5226
5415
|
*
|
|
5227
5416
|
* @type {PaymentMethod}
|
|
@@ -10614,7 +10803,7 @@ export declare const BookingsUserApiAxiosParamCreator: (configuration?: Configur
|
|
|
10614
10803
|
*/
|
|
10615
10804
|
cancelBooking: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10616
10805
|
/**
|
|
10617
|
-
* 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)
|
|
10618
10807
|
* @param {CreateBookingRequest} createBookingRequest
|
|
10619
10808
|
* @param {*} [options] Override http request option.
|
|
10620
10809
|
* @throws {RequiredError}
|
|
@@ -10634,7 +10823,7 @@ export declare const BookingsUserApiFp: (configuration?: Configuration) => {
|
|
|
10634
10823
|
*/
|
|
10635
10824
|
cancelBooking(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CancelBookingResponse>>;
|
|
10636
10825
|
/**
|
|
10637
|
-
* 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)
|
|
10638
10827
|
* @param {CreateBookingRequest} createBookingRequest
|
|
10639
10828
|
* @param {*} [options] Override http request option.
|
|
10640
10829
|
* @throws {RequiredError}
|
|
@@ -10654,7 +10843,7 @@ export declare const BookingsUserApiFactory: (configuration?: Configuration, bas
|
|
|
10654
10843
|
*/
|
|
10655
10844
|
cancelBooking(requestParameters: BookingsUserApiCancelBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CancelBookingResponse>;
|
|
10656
10845
|
/**
|
|
10657
|
-
* 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)
|
|
10658
10847
|
* @param {BookingsUserApiCreateBookingRequest} requestParameters Request parameters.
|
|
10659
10848
|
* @param {*} [options] Override http request option.
|
|
10660
10849
|
* @throws {RequiredError}
|
|
@@ -10703,7 +10892,7 @@ export declare class BookingsUserApi extends BaseAPI {
|
|
|
10703
10892
|
*/
|
|
10704
10893
|
cancelBooking(requestParameters: BookingsUserApiCancelBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CancelBookingResponse, any, {}>>;
|
|
10705
10894
|
/**
|
|
10706
|
-
* 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)
|
|
10707
10896
|
* @param {BookingsUserApiCreateBookingRequest} requestParameters Request parameters.
|
|
10708
10897
|
* @param {*} [options] Override http request option.
|
|
10709
10898
|
* @throws {RequiredError}
|
|
@@ -10717,12 +10906,18 @@ export declare class BookingsUserApi extends BaseAPI {
|
|
|
10717
10906
|
*/
|
|
10718
10907
|
export declare const ClientApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
10719
10908
|
/**
|
|
10720
|
-
* Enregistre un nouvel utilisateur client
|
|
10909
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
10721
10910
|
* @param {ClientRegisterRequest} clientRegisterRequest
|
|
10722
10911
|
* @param {*} [options] Override http request option.
|
|
10723
10912
|
* @throws {RequiredError}
|
|
10724
10913
|
*/
|
|
10725
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>;
|
|
10726
10921
|
/**
|
|
10727
10922
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
10728
10923
|
* @param {*} [options] Override http request option.
|
|
@@ -10730,7 +10925,7 @@ export declare const ClientApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
10730
10925
|
*/
|
|
10731
10926
|
getManagedClubs: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10732
10927
|
/**
|
|
10733
|
-
* 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
|
|
10734
10929
|
* @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
|
|
10735
10930
|
* @param {*} [options] Override http request option.
|
|
10736
10931
|
* @throws {RequiredError}
|
|
@@ -10743,12 +10938,18 @@ export declare const ClientApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
10743
10938
|
*/
|
|
10744
10939
|
export declare const ClientApiFp: (configuration?: Configuration) => {
|
|
10745
10940
|
/**
|
|
10746
|
-
* Enregistre un nouvel utilisateur client
|
|
10941
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
10747
10942
|
* @param {ClientRegisterRequest} clientRegisterRequest
|
|
10748
10943
|
* @param {*} [options] Override http request option.
|
|
10749
10944
|
* @throws {RequiredError}
|
|
10750
10945
|
*/
|
|
10751
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>>;
|
|
10752
10953
|
/**
|
|
10753
10954
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
10754
10955
|
* @param {*} [options] Override http request option.
|
|
@@ -10756,7 +10957,7 @@ export declare const ClientApiFp: (configuration?: Configuration) => {
|
|
|
10756
10957
|
*/
|
|
10757
10958
|
getManagedClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagedClubsResponse>>;
|
|
10758
10959
|
/**
|
|
10759
|
-
* 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
|
|
10760
10961
|
* @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
|
|
10761
10962
|
* @param {*} [options] Override http request option.
|
|
10762
10963
|
* @throws {RequiredError}
|
|
@@ -10769,12 +10970,18 @@ export declare const ClientApiFp: (configuration?: Configuration) => {
|
|
|
10769
10970
|
*/
|
|
10770
10971
|
export declare const ClientApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
10771
10972
|
/**
|
|
10772
|
-
* Enregistre un nouvel utilisateur client
|
|
10973
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
10773
10974
|
* @param {ClientApiClientRegisterRequest} requestParameters Request parameters.
|
|
10774
10975
|
* @param {*} [options] Override http request option.
|
|
10775
10976
|
* @throws {RequiredError}
|
|
10776
10977
|
*/
|
|
10777
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>;
|
|
10778
10985
|
/**
|
|
10779
10986
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
10780
10987
|
* @param {*} [options] Override http request option.
|
|
@@ -10782,7 +10989,7 @@ export declare const ClientApiFactory: (configuration?: Configuration, basePath?
|
|
|
10782
10989
|
*/
|
|
10783
10990
|
getManagedClubs(options?: RawAxiosRequestConfig): AxiosPromise<ManagedClubsResponse>;
|
|
10784
10991
|
/**
|
|
10785
|
-
* 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
|
|
10786
10993
|
* @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
|
|
10787
10994
|
* @param {*} [options] Override http request option.
|
|
10788
10995
|
* @throws {RequiredError}
|
|
@@ -10823,13 +11030,20 @@ export interface ClientApiOnboardClubRequest {
|
|
|
10823
11030
|
*/
|
|
10824
11031
|
export declare class ClientApi extends BaseAPI {
|
|
10825
11032
|
/**
|
|
10826
|
-
* Enregistre un nouvel utilisateur client
|
|
11033
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
10827
11034
|
* @param {ClientApiClientRegisterRequest} requestParameters Request parameters.
|
|
10828
11035
|
* @param {*} [options] Override http request option.
|
|
10829
11036
|
* @throws {RequiredError}
|
|
10830
11037
|
* @memberof ClientApi
|
|
10831
11038
|
*/
|
|
10832
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, {}>>;
|
|
10833
11047
|
/**
|
|
10834
11048
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
10835
11049
|
* @param {*} [options] Override http request option.
|
|
@@ -10838,7 +11052,7 @@ export declare class ClientApi extends BaseAPI {
|
|
|
10838
11052
|
*/
|
|
10839
11053
|
getManagedClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagedClubsResponse, any, {}>>;
|
|
10840
11054
|
/**
|
|
10841
|
-
* 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
|
|
10842
11056
|
* @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
|
|
10843
11057
|
* @param {*} [options] Override http request option.
|
|
10844
11058
|
* @throws {RequiredError}
|
|
@@ -12120,7 +12334,7 @@ export declare class ClubSettingsStaffApi extends BaseAPI {
|
|
|
12120
12334
|
*/
|
|
12121
12335
|
export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
12122
12336
|
/**
|
|
12123
|
-
* 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
|
|
12124
12338
|
* @param {*} [options] Override http request option.
|
|
12125
12339
|
* @throws {RequiredError}
|
|
12126
12340
|
*/
|
|
@@ -12183,7 +12397,7 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
12183
12397
|
*/
|
|
12184
12398
|
getClubUsersById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12185
12399
|
/**
|
|
12186
|
-
* 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
|
|
12187
12401
|
* @param {*} [options] Override http request option.
|
|
12188
12402
|
* @throws {RequiredError}
|
|
12189
12403
|
*/
|
|
@@ -12224,7 +12438,7 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
12224
12438
|
*/
|
|
12225
12439
|
export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
12226
12440
|
/**
|
|
12227
|
-
* 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
|
|
12228
12442
|
* @param {*} [options] Override http request option.
|
|
12229
12443
|
* @throws {RequiredError}
|
|
12230
12444
|
*/
|
|
@@ -12287,7 +12501,7 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
12287
12501
|
*/
|
|
12288
12502
|
getClubUsersById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubUsersById200Response>>;
|
|
12289
12503
|
/**
|
|
12290
|
-
* 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
|
|
12291
12505
|
* @param {*} [options] Override http request option.
|
|
12292
12506
|
* @throws {RequiredError}
|
|
12293
12507
|
*/
|
|
@@ -12328,7 +12542,7 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
12328
12542
|
*/
|
|
12329
12543
|
export declare const ClubsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
12330
12544
|
/**
|
|
12331
|
-
* 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
|
|
12332
12546
|
* @param {*} [options] Override http request option.
|
|
12333
12547
|
* @throws {RequiredError}
|
|
12334
12548
|
*/
|
|
@@ -12388,7 +12602,7 @@ export declare const ClubsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
12388
12602
|
*/
|
|
12389
12603
|
getClubUsersById(requestParameters: ClubsApiGetClubUsersByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetClubUsersById200Response>;
|
|
12390
12604
|
/**
|
|
12391
|
-
* 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
|
|
12392
12606
|
* @param {*} [options] Override http request option.
|
|
12393
12607
|
* @throws {RequiredError}
|
|
12394
12608
|
*/
|
|
@@ -12584,7 +12798,7 @@ export interface ClubsApiGetSportsByClubByIdRequest {
|
|
|
12584
12798
|
*/
|
|
12585
12799
|
export declare class ClubsApi extends BaseAPI {
|
|
12586
12800
|
/**
|
|
12587
|
-
* 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
|
|
12588
12802
|
* @param {*} [options] Override http request option.
|
|
12589
12803
|
* @throws {RequiredError}
|
|
12590
12804
|
* @memberof ClubsApi
|
|
@@ -12653,7 +12867,7 @@ export declare class ClubsApi extends BaseAPI {
|
|
|
12653
12867
|
*/
|
|
12654
12868
|
getClubUsersById(requestParameters: ClubsApiGetClubUsersByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubUsersById200Response, any, {}>>;
|
|
12655
12869
|
/**
|
|
12656
|
-
* 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
|
|
12657
12871
|
* @param {*} [options] Override http request option.
|
|
12658
12872
|
* @throws {RequiredError}
|
|
12659
12873
|
* @memberof ClubsApi
|
|
@@ -14039,6 +14253,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
14039
14253
|
* @export
|
|
14040
14254
|
*/
|
|
14041
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>;
|
|
14042
14264
|
/**
|
|
14043
14265
|
* Get a specific event by ID
|
|
14044
14266
|
* @param {string} eventId
|
|
@@ -14077,6 +14299,14 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
14077
14299
|
* @export
|
|
14078
14300
|
*/
|
|
14079
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>>;
|
|
14080
14310
|
/**
|
|
14081
14311
|
* Get a specific event by ID
|
|
14082
14312
|
* @param {string} eventId
|
|
@@ -14115,6 +14345,13 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
|
|
|
14115
14345
|
* @export
|
|
14116
14346
|
*/
|
|
14117
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>;
|
|
14118
14355
|
/**
|
|
14119
14356
|
* Get a specific event by ID
|
|
14120
14357
|
* @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
|
|
@@ -14144,6 +14381,25 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
|
|
|
14144
14381
|
*/
|
|
14145
14382
|
leaveEvent(requestParameters: EventsApiLeaveEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinEventResponse>;
|
|
14146
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
|
+
}
|
|
14147
14403
|
/**
|
|
14148
14404
|
* Request parameters for getEventById operation in EventsApi.
|
|
14149
14405
|
* @export
|
|
@@ -14227,6 +14483,14 @@ export interface EventsApiLeaveEventRequest {
|
|
|
14227
14483
|
* @extends {BaseAPI}
|
|
14228
14484
|
*/
|
|
14229
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, {}>>;
|
|
14230
14494
|
/**
|
|
14231
14495
|
* Get a specific event by ID
|
|
14232
14496
|
* @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
|