@tennac-booking/sdk 1.0.55 → 1.0.61
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 +217 -222
- package/README.md +199 -173
- package/api.ts +8275 -7164
- package/base.ts +3 -3
- package/common.ts +3 -3
- package/configuration.ts +3 -3
- package/dist/api.d.ts +5952 -5687
- package/dist/api.js +4344 -3312
- package/dist/base.d.ts +3 -3
- package/dist/base.js +3 -3
- package/dist/common.d.ts +3 -3
- package/dist/common.js +3 -3
- package/dist/configuration.d.ts +3 -3
- package/dist/configuration.js +3 -3
- package/dist/esm/api.d.ts +5952 -5687
- package/dist/esm/api.js +4251 -3215
- package/dist/esm/base.d.ts +3 -3
- package/dist/esm/base.js +3 -3
- package/dist/esm/common.d.ts +3 -3
- package/dist/esm/common.js +3 -3
- package/dist/esm/configuration.d.ts +3 -3
- package/dist/esm/configuration.js +3 -3
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/index.js +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/docs/{ApiErrorResponse.md → AddClubMember201Response.md} +6 -6
- package/docs/AddClubMemberRequest.md +7 -3
- package/docs/BookingAnalyticsResponse.md +34 -0
- package/docs/BookingHistory.md +34 -0
- package/docs/BookingInfo.md +50 -0
- package/docs/BookingPaymentStatusResponse.md +3 -3
- package/docs/BookingPaymentStatusResponseBooking.md +8 -7
- package/docs/BookingPaymentStatusResponseSummary.md +10 -9
- package/docs/BookingPopulated.md +5 -5
- package/docs/BookingResponse.md +4 -4
- package/docs/{UpdateProfileVisibilityRequestBody.md → BookingResponseOnsitePaymentsInner.md} +7 -5
- package/docs/BookingStatus.md +9 -1
- package/docs/BookingsApi.md +10 -64
- package/docs/{ManagerBookingsApi.md → BookingsManagerApi.md} +14 -24
- package/docs/BookingsStaffApi.md +323 -0
- package/docs/{UserBookingsApi.md → BookingsUserApi.md} +17 -25
- package/docs/CancelBookingResponse.md +2 -2
- package/docs/CaptureResult.md +30 -0
- package/docs/CheckInPlayersRequest.md +20 -0
- package/docs/CheckInPlayersResponse.md +6 -6
- package/docs/CheckedInPlayer.md +34 -0
- package/docs/ClubAnalyticsApi.md +20 -160
- package/docs/ClubAnalyticsStaffApi.md +523 -0
- package/docs/ClubMemberResponse.md +24 -0
- package/docs/ClubMemberResponseUser.md +27 -0
- package/docs/ClubPlayerResponse.md +36 -0
- package/docs/ClubResponse.md +22 -14
- package/docs/ClubResponseCreatedAt.md +19 -0
- package/docs/{Location.md → ClubResponseLocation.md} +9 -12
- package/docs/{GetNumberOfClubUsers200Response.md → ClubResponseLocationCoordinates.md} +7 -5
- package/docs/ClubResponseUpdatedAt.md +19 -0
- package/docs/ClubRoleResponse.md +11 -9
- package/docs/ClubRolesManagerApi.md +177 -0
- package/docs/{StaffClubsApi.md → ClubRolesStaffApi.md} +41 -34
- package/docs/ClubSettingsManagerApi.md +221 -0
- package/docs/ClubSettingsResponse.md +41 -0
- package/docs/{AddFavoriteClubRequestBody.md → ClubUserCountResponse.md} +5 -5
- package/docs/ClubsApi.md +515 -8
- package/docs/ClubsManagerApi.md +950 -0
- package/docs/{ManagerClubsApi.md → ClubsStaffApi.md} +138 -62
- package/docs/CourtInfo.md +28 -0
- package/docs/CourtResponse.md +16 -16
- package/docs/CourtStatus.md +2 -5
- package/docs/CreateBookingRequest.md +1 -3
- package/docs/CreateClubRequest.md +22 -0
- package/docs/CreateClubRoleRequest.md +24 -0
- package/docs/CreateClubSettingsRequest.md +34 -0
- package/docs/{ActiveClubListResponse.md → CreateCourtForClub201Response.md} +5 -5
- package/docs/CreateCourtRequest.md +10 -12
- package/docs/CreateEventRequest.md +1 -3
- package/docs/{SubscriptionSessionRequestBody.md → CreatePlan201Response.md} +5 -5
- package/docs/CreateSportForClub201Response.md +20 -0
- package/docs/{Sport.md → CreateSportForClubRequest.md} +4 -6
- package/docs/CreateSportRequest.md +1 -7
- package/docs/CreateSubscriptionPlanRequest.md +12 -4
- package/docs/CreateSubscriptionPlanRequestDiscount.md +32 -0
- package/docs/CreatorChargeResult.md +26 -0
- package/docs/DailyTurnoverResponse.md +3 -3
- package/docs/DefaultApi.md +62 -0
- package/docs/{CourtDeleteResponse.md → DeleteClubRoleResponse.md} +4 -4
- package/docs/DeleteClubSettingsResponse.md +20 -0
- package/docs/{DeleteSport200Response.md → DeleteCourtResponse.md} +4 -4
- package/docs/{DeleteEvent200Response.md → DeleteEventResponse.md} +4 -4
- package/docs/DeleteSlotsByClubInRange200Response.md +1 -1
- package/docs/{DeleteClubRole200Response.md → DeleteSportResponse.md} +4 -4
- package/docs/DeleteSubscriptionPlanResponse.md +20 -0
- package/docs/{StripeStatus.md → DiscountType.md} +5 -7
- package/docs/EventResponse.md +40 -0
- package/docs/EventResponseCourtsInner.md +18 -0
- package/docs/EventsApi.md +21 -21
- package/docs/{StaffEventResponse.md → EventsListResponse.md} +4 -4
- package/docs/{ManagerEventsApi.md → EventsManagerApi.md} +38 -40
- package/docs/{StaffEventsApi.md → EventsStaffApi.md} +11 -10
- package/docs/{GenderPercentage.md → GenderPercentageResponse.md} +7 -7
- package/docs/GetActualities200Response.md +20 -0
- package/docs/GetAvailableSlotsBySports200Response.md +20 -0
- package/docs/{ClubMembersResponse.md → GetClubMembers200Response.md} +6 -6
- package/docs/GetClubRoles200Response.md +20 -0
- package/docs/GetClubUsersById200Response.md +1 -1
- package/docs/GetCourtsByClubAndSportById200Response.md +26 -0
- package/docs/GetInfillPercentagePerPeriod200Response.md +5 -5
- package/docs/{SlotsResponse.md → GetSlotsByClubById200Response.md} +6 -6
- package/docs/GetSportsByClubById200Response.md +20 -0
- package/docs/{Court.md → ICourtData.md} +18 -6
- package/docs/{DiagnosticsResponse.md → InvoiceInfo.md} +8 -8
- package/docs/{ClubListResponse.md → LastSixMonthsTurnoverItem.md} +7 -7
- package/docs/ManagerCancelBookingRequest.md +1 -1
- package/docs/ManagerCancelBookingResponse.md +2 -2
- package/docs/MonthlyBreakdown.md +24 -0
- package/docs/MonthlyTurnoverResponse.md +6 -5
- package/docs/NoShowFeeResponse.md +6 -6
- package/docs/OffPeakRule.md +26 -0
- package/docs/PartialClubResponse.md +49 -0
- package/docs/PaymentByPlayerInfo.md +22 -0
- package/docs/PaymentMethod.md +2 -1
- package/docs/PlanInterval.md +14 -0
- package/docs/PlayerPaymentInfo.md +36 -0
- package/docs/PublicSubscriptionPlanResponse.md +30 -0
- package/docs/PublishEventResponse.md +20 -0
- package/docs/SlotInfo.md +26 -0
- package/docs/SportAnalyticsResponse.md +24 -0
- package/docs/SportInfo.md +22 -0
- package/docs/SportResponse.md +8 -11
- package/docs/SportWithAnalytics.md +36 -0
- package/docs/SportsManagerApi.md +177 -0
- package/docs/SportsStaffApi.md +55 -0
- package/docs/StripeStripeDeletedProduct.md +25 -0
- package/docs/StripeStripePrice.md +63 -0
- package/docs/StripeStripePriceBillingScheme.md +10 -0
- package/docs/StripeStripePriceCurrencyOptions.md +28 -0
- package/docs/StripeStripePriceCurrencyOptionsCustomUnitAmount.md +24 -0
- package/docs/StripeStripePriceCurrencyOptionsTaxBehavior.md +12 -0
- package/docs/StripeStripePriceCurrencyOptionsTier.md +28 -0
- package/docs/StripeStripePriceCustomUnitAmount.md +24 -0
- package/docs/StripeStripePriceProduct.md +59 -0
- package/docs/StripeStripePriceRecurring.md +28 -0
- package/docs/StripeStripePriceRecurringInterval.md +14 -0
- package/docs/StripeStripePriceRecurringUsageType.md +10 -0
- package/docs/StripeStripePriceTaxBehavior.md +12 -0
- package/docs/StripeStripePriceTier.md +28 -0
- package/docs/StripeStripePriceTiersMode.md +10 -0
- package/docs/StripeStripePriceTransformQuantity.md +22 -0
- package/docs/StripeStripePriceTransformQuantityRound.md +10 -0
- package/docs/StripeStripePriceType.md +10 -0
- package/docs/StripeStripeProduct.md +59 -0
- package/docs/StripeStripeProductDefaultPrice.md +63 -0
- package/docs/{AddPaymentMethodSetupRequestBody.md → StripeStripeProductMarketingFeature.md} +5 -5
- package/docs/StripeStripeProductPackageDimensions.md +26 -0
- package/docs/StripeStripeProductTaxCode.md +27 -0
- package/docs/StripeStripeProductType.md +10 -0
- package/docs/StripeStripeResponseStripeStripePrice.md +64 -0
- package/docs/StripeStripeResponseStripeStripePriceAllOfLastResponse.md +30 -0
- package/docs/StripeStripeTaxCode.md +27 -0
- package/docs/{SubscribeToClubRequestBody.md → SubscribeRequestBody.md} +3 -3
- package/docs/SubscriptionPlanResponse.md +16 -14
- package/docs/SubscriptionsManagerApi.md +171 -0
- package/docs/{UserClubSportsApi.md → SubscriptionsPublicApi.md} +15 -15
- package/docs/{StaffClubBookingsApi.md → SubscriptionsStaffApi.md} +12 -10
- package/docs/{ManagerClubCourtsApi.md → SubscriptionsUserApi.md} +68 -66
- package/docs/SurfaceType.md +12 -0
- package/docs/UpdateActuality200Response.md +20 -0
- package/docs/UpdateClubRequest.md +11 -11
- package/docs/UpdateClubRequestLocation.md +29 -0
- package/docs/{BookingPopulatedSlotIdCourtIdSportId.md → UpdateClubRequestLocationCoordinates.md} +7 -7
- package/docs/UpdateClubRoleRequest.md +22 -0
- package/docs/UpdateClubSettingsRequest.md +14 -10
- package/docs/{FrequentlyVisitedClubItem.md → UpdatePlanRequest.md} +7 -7
- package/docs/UpdateSportRequest.md +1 -5
- package/docs/UpdateSubscriptionPlanForClub200Response.md +20 -0
- package/docs/{BookingPopulatedUserId.md → UserInfo.md} +6 -6
- package/docs/UsersApi.md +27 -378
- package/docs/YearlyTurnoverResponse.md +4 -4
- package/index.ts +3 -3
- package/package.json +1 -1
- package/docs/ActiveClub.md +0 -30
- package/docs/AddClubMemberResponse.md +0 -22
- package/docs/AddPaymentMethodSetupResponse.md +0 -24
- package/docs/BlockSlotResponse.md +0 -22
- package/docs/Booking.md +0 -32
- package/docs/BookingHistoryResponse.md +0 -22
- package/docs/BookingHistoryResponseHistoryInner.md +0 -32
- package/docs/BookingPaymentStatusResponsePaymentStatusInner.md +0 -36
- package/docs/BookingPopulatedPaymentByPlayersStatusInner.md +0 -22
- package/docs/BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner.md +0 -24
- package/docs/BookingPopulatedSlotId.md +0 -26
- package/docs/BookingPopulatedSlotIdCourtId.md +0 -28
- package/docs/BookingsStaffWeeklyWeekIdGet200Response.md +0 -20
- package/docs/CancelBookingResponseBooking.md +0 -30
- package/docs/CheckInPlayersResponseCheckedInPlayersInner.md +0 -34
- package/docs/Club.md +0 -40
- package/docs/ClubInfoResponse.md +0 -48
- package/docs/ClubMember.md +0 -24
- package/docs/ClubRole.md +0 -30
- package/docs/ClubRolesResponse.md +0 -22
- package/docs/ClubSettings.md +0 -40
- package/docs/ClubStaffResponse.md +0 -48
- package/docs/ConfirmPaymentMethodSetupRequestBody.md +0 -20
- package/docs/ConfirmPaymentMethodSetupResponse.md +0 -22
- package/docs/CourtWithNameResponse.md +0 -48
- package/docs/CourtsResponse.md +0 -22
- package/docs/CourtsWithNameResponse.md +0 -22
- package/docs/CreateClubRoleRequestBody.md +0 -24
- package/docs/CreatePriceRequest.md +0 -26
- package/docs/DiagnosticsApi.md +0 -97
- package/docs/Event.md +0 -40
- package/docs/EventBooking.md +0 -32
- package/docs/EventRegistrationRequest.md +0 -22
- package/docs/FrequentlyPlayedWithItem.md +0 -28
- package/docs/GetActiveClubs200Response.md +0 -20
- package/docs/GetClubInfos200Response.md +0 -30
- package/docs/GetCourtsByClubAndSport200Response.md +0 -26
- package/docs/GetLastSixMonthsTurnover200ResponseInner.md +0 -22
- package/docs/GetPublishedEventsByClubId200Response.md +0 -20
- package/docs/InvoicesResponse.md +0 -22
- package/docs/InvoicesResponseInvoicesInner.md +0 -34
- package/docs/InvoicesResponsePagination.md +0 -26
- package/docs/LevelBySportsItem.md +0 -22
- package/docs/ManagerCancelBookingResponseBooking.md +0 -30
- package/docs/ManagerClubRolesApi.md +0 -268
- package/docs/ManagerClubSlotsApi.md +0 -119
- package/docs/ManagerClubSubscriptionsApi.md +0 -387
- package/docs/ManagerEventResponse.md +0 -22
- package/docs/ManagerSportsApi.md +0 -119
- package/docs/NoShowFeeResponseCaptureResultsInner.md +0 -30
- package/docs/NoShowFeeResponseCreatorChargeResult.md +0 -26
- package/docs/PaymentStatus.md +0 -30
- package/docs/PriceResponse.md +0 -32
- package/docs/PublicClubUser.md +0 -46
- package/docs/PublicClubUserFrequentlyPlayedWithInner.md +0 -28
- package/docs/PublicClubUserFrequentlyVisitedClubsInner.md +0 -24
- package/docs/PublicClubUserLevelBySportsInner.md +0 -22
- package/docs/RegisterForEvent201Response.md +0 -20
- package/docs/RestoreSubscriptionPlanForClub200Response.md +0 -20
- package/docs/SdkDiagnosticsResponse.md +0 -28
- package/docs/SdkDiagnosticsResponseOpenapi.md +0 -24
- package/docs/SdkDiagnosticsResponseSdk.md +0 -24
- package/docs/Slot.md +0 -24
- package/docs/SlotException.md +0 -26
- package/docs/SlotResponse.md +0 -34
- package/docs/StaffBookingsApi.md +0 -61
- package/docs/StaffClubAnalyticsApi.md +0 -254
- package/docs/StripeLink.md +0 -26
- package/docs/SubscriptionPlan.md +0 -36
- package/docs/SubscriptionResponse.md +0 -36
- package/docs/SubscriptionSessionResponse.md +0 -20
- package/docs/UpdateClubRoleRequestBody.md +0 -24
- package/docs/UpdateCourtRequest.md +0 -38
- package/docs/UpdateProfilePictureRequestBody.md +0 -20
- package/docs/UpdateSubscriptionPlanRequest.md +0 -24
- package/docs/UpdateSubscriptionPlanResponse.md +0 -22
- package/docs/UpdateUserCityRequestBody.md +0 -20
- package/docs/UpdateUserDescriptionRequestBody.md +0 -20
- package/docs/UserBookingItem.md +0 -46
- package/docs/UserClubCourtsApi.md +0 -64
- package/docs/UserClubSlotsApi.md +0 -181
- package/docs/UserClubsApi.md +0 -145
- package/docs/UserInfoStaff.md +0 -38
- package/docs/UserStaffResponse.md +0 -40
- package/docs/YearlyTurnoverResponseMonthlyBreakdownInner.md +0 -24
package/docs/UsersApi.md
CHANGED
|
@@ -7,7 +7,6 @@ All URIs are relative to *http://localhost*
|
|
|
7
7
|
|[**addFavoriteClub**](#addfavoriteclub) | **POST** /api/users/me/favorite-clubs | |
|
|
8
8
|
|[**addFavoritePlayer**](#addfavoriteplayer) | **POST** /api/users/me/favoritesPlayers | |
|
|
9
9
|
|[**addPaymentMethodSetup**](#addpaymentmethodsetup) | **POST** /api/users/addPaymentMethodSetup | |
|
|
10
|
-
|[**cancelSubscription**](#cancelsubscription) | **DELETE** /api/users/me/subscriptions/{clubId}/{subscriptionId} | |
|
|
11
10
|
|[**changePassword**](#changepassword) | **PUT** /api/users/me/password | |
|
|
12
11
|
|[**confirmPaymentMethodSetup**](#confirmpaymentmethodsetup) | **POST** /api/users/confirmPaymentMethodSetup | |
|
|
13
12
|
|[**getAllUsers**](#getallusers) | **GET** /api/users | |
|
|
@@ -23,20 +22,14 @@ All URIs are relative to *http://localhost*
|
|
|
23
22
|
|[**getNearestUsersFromCoordinates**](#getnearestusersfromcoordinates) | **GET** /api/users/nearest-players/coordinates | |
|
|
24
23
|
|[**getUserBookings**](#getuserbookings) | **GET** /api/users/me/bookings | |
|
|
25
24
|
|[**getUserProfileById**](#getuserprofilebyid) | **GET** /api/users/profile/{id} | |
|
|
26
|
-
|[**getUserProfileStaff**](#getuserprofilestaff) | **GET** /api/users/staff/profile/{id} | |
|
|
27
|
-
|[**getUserRolesInClubs**](#getuserrolesinclubs) | **GET** /api/users/me/roles | |
|
|
28
|
-
|[**getUserSubscriptions**](#getusersubscriptions) | **GET** /api/users/me/subscriptions | |
|
|
29
|
-
|[**initiateSubscriptionSession**](#initiatesubscriptionsession) | **POST** /api/users/me/subscription-session | |
|
|
30
25
|
|[**login**](#login) | **POST** /api/users/login | |
|
|
31
26
|
|[**refreshToken**](#refreshtoken) | **POST** /api/users/refresh-token | |
|
|
32
27
|
|[**register**](#register) | **POST** /api/users | |
|
|
33
28
|
|[**removeFavoriteClub**](#removefavoriteclub) | **DELETE** /api/users/me/favorite-clubs/{clubId} | |
|
|
34
29
|
|[**removeFavoritePlayer**](#removefavoriteplayer) | **DELETE** /api/users/me/favoritesPlayers/{favoritePlayerId} | |
|
|
35
30
|
|[**requestPasswordReset**](#requestpasswordreset) | **POST** /api/users/me/request-password-rest | |
|
|
36
|
-
|[**
|
|
37
|
-
|[**setupPaymentMethod**](#setuppaymentmethod) | **POST** /api/users/setupPaymentMethod | |
|
|
31
|
+
|[**setupNoShowPaymentMethod**](#setupnoshowpaymentmethod) | **POST** /api/users/setupNoShowPaymentMethod | |
|
|
38
32
|
|[**signInOrSignUpWithGoogle**](#signinorsignupwithgoogle) | **POST** /api/users/googleSignin | |
|
|
39
|
-
|[**subscribeToClub**](#subscribetoclub) | **POST** /api/users/me/subscribe | |
|
|
40
33
|
|[**updateCustomer**](#updatecustomer) | **PUT** /api/users/me/customer | |
|
|
41
34
|
|[**updateLevelBySports**](#updatelevelbysports) | **PUT** /api/users/me/level-by-sports | |
|
|
42
35
|
|[**updateMe**](#updateme) | **PUT** /api/users/me | |
|
|
@@ -78,7 +71,7 @@ const { status, data } = await apiInstance.addFavoriteClub(
|
|
|
78
71
|
|
|
79
72
|
### Authorization
|
|
80
73
|
|
|
81
|
-
|
|
74
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
82
75
|
|
|
83
76
|
### HTTP request headers
|
|
84
77
|
|
|
@@ -129,7 +122,7 @@ const { status, data } = await apiInstance.addFavoritePlayer(
|
|
|
129
122
|
|
|
130
123
|
### Authorization
|
|
131
124
|
|
|
132
|
-
|
|
125
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
133
126
|
|
|
134
127
|
### HTTP request headers
|
|
135
128
|
|
|
@@ -180,7 +173,7 @@ const { status, data } = await apiInstance.addPaymentMethodSetup(
|
|
|
180
173
|
|
|
181
174
|
### Authorization
|
|
182
175
|
|
|
183
|
-
|
|
176
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
184
177
|
|
|
185
178
|
### HTTP request headers
|
|
186
179
|
|
|
@@ -188,59 +181,6 @@ No authorization required
|
|
|
188
181
|
- **Accept**: application/json
|
|
189
182
|
|
|
190
183
|
|
|
191
|
-
### HTTP response details
|
|
192
|
-
| Status code | Description | Response headers |
|
|
193
|
-
|-------------|-------------|------------------|
|
|
194
|
-
|**200** | Ok | - |
|
|
195
|
-
|
|
196
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
197
|
-
|
|
198
|
-
# **cancelSubscription**
|
|
199
|
-
> SubscriptionMutationResponse cancelSubscription()
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
### Example
|
|
203
|
-
|
|
204
|
-
```typescript
|
|
205
|
-
import {
|
|
206
|
-
UsersApi,
|
|
207
|
-
Configuration
|
|
208
|
-
} from '@tennac-booking/sdk';
|
|
209
|
-
|
|
210
|
-
const configuration = new Configuration();
|
|
211
|
-
const apiInstance = new UsersApi(configuration);
|
|
212
|
-
|
|
213
|
-
let clubId: string; // (default to undefined)
|
|
214
|
-
let subscriptionId: string; // (default to undefined)
|
|
215
|
-
|
|
216
|
-
const { status, data } = await apiInstance.cancelSubscription(
|
|
217
|
-
clubId,
|
|
218
|
-
subscriptionId
|
|
219
|
-
);
|
|
220
|
-
```
|
|
221
|
-
|
|
222
|
-
### Parameters
|
|
223
|
-
|
|
224
|
-
|Name | Type | Description | Notes|
|
|
225
|
-
|------------- | ------------- | ------------- | -------------|
|
|
226
|
-
| **clubId** | [**string**] | | defaults to undefined|
|
|
227
|
-
| **subscriptionId** | [**string**] | | defaults to undefined|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
### Return type
|
|
231
|
-
|
|
232
|
-
**SubscriptionMutationResponse**
|
|
233
|
-
|
|
234
|
-
### Authorization
|
|
235
|
-
|
|
236
|
-
No authorization required
|
|
237
|
-
|
|
238
|
-
### HTTP request headers
|
|
239
|
-
|
|
240
|
-
- **Content-Type**: Not defined
|
|
241
|
-
- **Accept**: application/json
|
|
242
|
-
|
|
243
|
-
|
|
244
184
|
### HTTP response details
|
|
245
185
|
| Status code | Description | Response headers |
|
|
246
186
|
|-------------|-------------|------------------|
|
|
@@ -284,7 +224,7 @@ const { status, data } = await apiInstance.changePassword(
|
|
|
284
224
|
|
|
285
225
|
### Authorization
|
|
286
226
|
|
|
287
|
-
|
|
227
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
288
228
|
|
|
289
229
|
### HTTP request headers
|
|
290
230
|
|
|
@@ -335,7 +275,7 @@ const { status, data } = await apiInstance.confirmPaymentMethodSetup(
|
|
|
335
275
|
|
|
336
276
|
### Authorization
|
|
337
277
|
|
|
338
|
-
|
|
278
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
339
279
|
|
|
340
280
|
### HTTP request headers
|
|
341
281
|
|
|
@@ -378,7 +318,7 @@ This endpoint does not have any parameters.
|
|
|
378
318
|
|
|
379
319
|
### Authorization
|
|
380
320
|
|
|
381
|
-
|
|
321
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
382
322
|
|
|
383
323
|
### HTTP request headers
|
|
384
324
|
|
|
@@ -428,7 +368,7 @@ const { status, data } = await apiInstance.getBookingDetail(
|
|
|
428
368
|
|
|
429
369
|
### Authorization
|
|
430
370
|
|
|
431
|
-
|
|
371
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
432
372
|
|
|
433
373
|
### HTTP request headers
|
|
434
374
|
|
|
@@ -471,7 +411,7 @@ This endpoint does not have any parameters.
|
|
|
471
411
|
|
|
472
412
|
### Authorization
|
|
473
413
|
|
|
474
|
-
|
|
414
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
475
415
|
|
|
476
416
|
### HTTP request headers
|
|
477
417
|
|
|
@@ -514,7 +454,7 @@ This endpoint does not have any parameters.
|
|
|
514
454
|
|
|
515
455
|
### Authorization
|
|
516
456
|
|
|
517
|
-
|
|
457
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
518
458
|
|
|
519
459
|
### HTTP request headers
|
|
520
460
|
|
|
@@ -557,7 +497,7 @@ This endpoint does not have any parameters.
|
|
|
557
497
|
|
|
558
498
|
### Authorization
|
|
559
499
|
|
|
560
|
-
|
|
500
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
561
501
|
|
|
562
502
|
### HTTP request headers
|
|
563
503
|
|
|
@@ -600,7 +540,7 @@ This endpoint does not have any parameters.
|
|
|
600
540
|
|
|
601
541
|
### Authorization
|
|
602
542
|
|
|
603
|
-
|
|
543
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
604
544
|
|
|
605
545
|
### HTTP request headers
|
|
606
546
|
|
|
@@ -643,7 +583,7 @@ This endpoint does not have any parameters.
|
|
|
643
583
|
|
|
644
584
|
### Authorization
|
|
645
585
|
|
|
646
|
-
|
|
586
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
647
587
|
|
|
648
588
|
### HTTP request headers
|
|
649
589
|
|
|
@@ -696,7 +636,7 @@ const { status, data } = await apiInstance.getNearestClubs(
|
|
|
696
636
|
|
|
697
637
|
### Authorization
|
|
698
638
|
|
|
699
|
-
|
|
639
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
700
640
|
|
|
701
641
|
### HTTP request headers
|
|
702
642
|
|
|
@@ -808,7 +748,7 @@ const { status, data } = await apiInstance.getNearestUsers(
|
|
|
808
748
|
|
|
809
749
|
### Authorization
|
|
810
750
|
|
|
811
|
-
|
|
751
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
812
752
|
|
|
813
753
|
### HTTP request headers
|
|
814
754
|
|
|
@@ -920,7 +860,7 @@ const { status, data } = await apiInstance.getUserBookings(
|
|
|
920
860
|
|
|
921
861
|
### Authorization
|
|
922
862
|
|
|
923
|
-
|
|
863
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
924
864
|
|
|
925
865
|
### HTTP request headers
|
|
926
866
|
|
|
@@ -970,57 +910,7 @@ const { status, data } = await apiInstance.getUserProfileById(
|
|
|
970
910
|
|
|
971
911
|
### Authorization
|
|
972
912
|
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
### HTTP request headers
|
|
976
|
-
|
|
977
|
-
- **Content-Type**: Not defined
|
|
978
|
-
- **Accept**: application/json
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
### HTTP response details
|
|
982
|
-
| Status code | Description | Response headers |
|
|
983
|
-
|-------------|-------------|------------------|
|
|
984
|
-
|**200** | Ok | - |
|
|
985
|
-
|
|
986
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
987
|
-
|
|
988
|
-
# **getUserProfileStaff**
|
|
989
|
-
> StaffUserProfileResponse getUserProfileStaff()
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
### Example
|
|
993
|
-
|
|
994
|
-
```typescript
|
|
995
|
-
import {
|
|
996
|
-
UsersApi,
|
|
997
|
-
Configuration
|
|
998
|
-
} from '@tennac-booking/sdk';
|
|
999
|
-
|
|
1000
|
-
const configuration = new Configuration();
|
|
1001
|
-
const apiInstance = new UsersApi(configuration);
|
|
1002
|
-
|
|
1003
|
-
let id: string; // (default to undefined)
|
|
1004
|
-
|
|
1005
|
-
const { status, data } = await apiInstance.getUserProfileStaff(
|
|
1006
|
-
id
|
|
1007
|
-
);
|
|
1008
|
-
```
|
|
1009
|
-
|
|
1010
|
-
### Parameters
|
|
1011
|
-
|
|
1012
|
-
|Name | Type | Description | Notes|
|
|
1013
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1014
|
-
| **id** | [**string**] | | defaults to undefined|
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
### Return type
|
|
1018
|
-
|
|
1019
|
-
**StaffUserProfileResponse**
|
|
1020
|
-
|
|
1021
|
-
### Authorization
|
|
1022
|
-
|
|
1023
|
-
No authorization required
|
|
913
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1024
914
|
|
|
1025
915
|
### HTTP request headers
|
|
1026
916
|
|
|
@@ -1028,143 +918,6 @@ No authorization required
|
|
|
1028
918
|
- **Accept**: application/json
|
|
1029
919
|
|
|
1030
920
|
|
|
1031
|
-
### HTTP response details
|
|
1032
|
-
| Status code | Description | Response headers |
|
|
1033
|
-
|-------------|-------------|------------------|
|
|
1034
|
-
|**200** | Ok | - |
|
|
1035
|
-
|
|
1036
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1037
|
-
|
|
1038
|
-
# **getUserRolesInClubs**
|
|
1039
|
-
> UserRolesResponse getUserRolesInClubs()
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
### Example
|
|
1043
|
-
|
|
1044
|
-
```typescript
|
|
1045
|
-
import {
|
|
1046
|
-
UsersApi,
|
|
1047
|
-
Configuration
|
|
1048
|
-
} from '@tennac-booking/sdk';
|
|
1049
|
-
|
|
1050
|
-
const configuration = new Configuration();
|
|
1051
|
-
const apiInstance = new UsersApi(configuration);
|
|
1052
|
-
|
|
1053
|
-
const { status, data } = await apiInstance.getUserRolesInClubs();
|
|
1054
|
-
```
|
|
1055
|
-
|
|
1056
|
-
### Parameters
|
|
1057
|
-
This endpoint does not have any parameters.
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
### Return type
|
|
1061
|
-
|
|
1062
|
-
**UserRolesResponse**
|
|
1063
|
-
|
|
1064
|
-
### Authorization
|
|
1065
|
-
|
|
1066
|
-
No authorization required
|
|
1067
|
-
|
|
1068
|
-
### HTTP request headers
|
|
1069
|
-
|
|
1070
|
-
- **Content-Type**: Not defined
|
|
1071
|
-
- **Accept**: application/json
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
### HTTP response details
|
|
1075
|
-
| Status code | Description | Response headers |
|
|
1076
|
-
|-------------|-------------|------------------|
|
|
1077
|
-
|**200** | Ok | - |
|
|
1078
|
-
|
|
1079
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1080
|
-
|
|
1081
|
-
# **getUserSubscriptions**
|
|
1082
|
-
> UserSubscriptionsResponse getUserSubscriptions()
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
### Example
|
|
1086
|
-
|
|
1087
|
-
```typescript
|
|
1088
|
-
import {
|
|
1089
|
-
UsersApi,
|
|
1090
|
-
Configuration
|
|
1091
|
-
} from '@tennac-booking/sdk';
|
|
1092
|
-
|
|
1093
|
-
const configuration = new Configuration();
|
|
1094
|
-
const apiInstance = new UsersApi(configuration);
|
|
1095
|
-
|
|
1096
|
-
const { status, data } = await apiInstance.getUserSubscriptions();
|
|
1097
|
-
```
|
|
1098
|
-
|
|
1099
|
-
### Parameters
|
|
1100
|
-
This endpoint does not have any parameters.
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
### Return type
|
|
1104
|
-
|
|
1105
|
-
**UserSubscriptionsResponse**
|
|
1106
|
-
|
|
1107
|
-
### Authorization
|
|
1108
|
-
|
|
1109
|
-
No authorization required
|
|
1110
|
-
|
|
1111
|
-
### HTTP request headers
|
|
1112
|
-
|
|
1113
|
-
- **Content-Type**: Not defined
|
|
1114
|
-
- **Accept**: application/json
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
### HTTP response details
|
|
1118
|
-
| Status code | Description | Response headers |
|
|
1119
|
-
|-------------|-------------|------------------|
|
|
1120
|
-
|**200** | Ok | - |
|
|
1121
|
-
|
|
1122
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1123
|
-
|
|
1124
|
-
# **initiateSubscriptionSession**
|
|
1125
|
-
> SubscriptionSessionResponse initiateSubscriptionSession(subscriptionSessionRequestBody)
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
### Example
|
|
1129
|
-
|
|
1130
|
-
```typescript
|
|
1131
|
-
import {
|
|
1132
|
-
UsersApi,
|
|
1133
|
-
Configuration,
|
|
1134
|
-
SubscriptionSessionRequestBody
|
|
1135
|
-
} from '@tennac-booking/sdk';
|
|
1136
|
-
|
|
1137
|
-
const configuration = new Configuration();
|
|
1138
|
-
const apiInstance = new UsersApi(configuration);
|
|
1139
|
-
|
|
1140
|
-
let subscriptionSessionRequestBody: SubscriptionSessionRequestBody; //
|
|
1141
|
-
|
|
1142
|
-
const { status, data } = await apiInstance.initiateSubscriptionSession(
|
|
1143
|
-
subscriptionSessionRequestBody
|
|
1144
|
-
);
|
|
1145
|
-
```
|
|
1146
|
-
|
|
1147
|
-
### Parameters
|
|
1148
|
-
|
|
1149
|
-
|Name | Type | Description | Notes|
|
|
1150
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1151
|
-
| **subscriptionSessionRequestBody** | **SubscriptionSessionRequestBody**| | |
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
### Return type
|
|
1155
|
-
|
|
1156
|
-
**SubscriptionSessionResponse**
|
|
1157
|
-
|
|
1158
|
-
### Authorization
|
|
1159
|
-
|
|
1160
|
-
No authorization required
|
|
1161
|
-
|
|
1162
|
-
### HTTP request headers
|
|
1163
|
-
|
|
1164
|
-
- **Content-Type**: application/json
|
|
1165
|
-
- **Accept**: application/json
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
921
|
### HTTP response details
|
|
1169
922
|
| Status code | Description | Response headers |
|
|
1170
923
|
|-------------|-------------|------------------|
|
|
@@ -1360,7 +1113,7 @@ const { status, data } = await apiInstance.removeFavoriteClub(
|
|
|
1360
1113
|
|
|
1361
1114
|
### Authorization
|
|
1362
1115
|
|
|
1363
|
-
|
|
1116
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1364
1117
|
|
|
1365
1118
|
### HTTP request headers
|
|
1366
1119
|
|
|
@@ -1410,7 +1163,7 @@ const { status, data } = await apiInstance.removeFavoritePlayer(
|
|
|
1410
1163
|
|
|
1411
1164
|
### Authorization
|
|
1412
1165
|
|
|
1413
|
-
|
|
1166
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1414
1167
|
|
|
1415
1168
|
### HTTP request headers
|
|
1416
1169
|
|
|
@@ -1476,61 +1229,8 @@ No authorization required
|
|
|
1476
1229
|
|
|
1477
1230
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1478
1231
|
|
|
1479
|
-
# **
|
|
1480
|
-
>
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
### Example
|
|
1484
|
-
|
|
1485
|
-
```typescript
|
|
1486
|
-
import {
|
|
1487
|
-
UsersApi,
|
|
1488
|
-
Configuration
|
|
1489
|
-
} from '@tennac-booking/sdk';
|
|
1490
|
-
|
|
1491
|
-
const configuration = new Configuration();
|
|
1492
|
-
const apiInstance = new UsersApi(configuration);
|
|
1493
|
-
|
|
1494
|
-
let clubId: string; // (default to undefined)
|
|
1495
|
-
let subscriptionId: string; // (default to undefined)
|
|
1496
|
-
|
|
1497
|
-
const { status, data } = await apiInstance.resumeSubscription(
|
|
1498
|
-
clubId,
|
|
1499
|
-
subscriptionId
|
|
1500
|
-
);
|
|
1501
|
-
```
|
|
1502
|
-
|
|
1503
|
-
### Parameters
|
|
1504
|
-
|
|
1505
|
-
|Name | Type | Description | Notes|
|
|
1506
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1507
|
-
| **clubId** | [**string**] | | defaults to undefined|
|
|
1508
|
-
| **subscriptionId** | [**string**] | | defaults to undefined|
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
### Return type
|
|
1512
|
-
|
|
1513
|
-
**SubscriptionMutationResponse**
|
|
1514
|
-
|
|
1515
|
-
### Authorization
|
|
1516
|
-
|
|
1517
|
-
No authorization required
|
|
1518
|
-
|
|
1519
|
-
### HTTP request headers
|
|
1520
|
-
|
|
1521
|
-
- **Content-Type**: Not defined
|
|
1522
|
-
- **Accept**: application/json
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
### HTTP response details
|
|
1526
|
-
| Status code | Description | Response headers |
|
|
1527
|
-
|-------------|-------------|------------------|
|
|
1528
|
-
|**200** | Ok | - |
|
|
1529
|
-
|
|
1530
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1531
|
-
|
|
1532
|
-
# **setupPaymentMethod**
|
|
1533
|
-
> SetupPaymentMethodResponse setupPaymentMethod(setupPaymentMethodRequestBody)
|
|
1232
|
+
# **setupNoShowPaymentMethod**
|
|
1233
|
+
> SetupPaymentMethodResponse setupNoShowPaymentMethod(setupPaymentMethodRequestBody)
|
|
1534
1234
|
|
|
1535
1235
|
|
|
1536
1236
|
### Example
|
|
@@ -1547,7 +1247,7 @@ const apiInstance = new UsersApi(configuration);
|
|
|
1547
1247
|
|
|
1548
1248
|
let setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody; //
|
|
1549
1249
|
|
|
1550
|
-
const { status, data } = await apiInstance.
|
|
1250
|
+
const { status, data } = await apiInstance.setupNoShowPaymentMethod(
|
|
1551
1251
|
setupPaymentMethodRequestBody
|
|
1552
1252
|
);
|
|
1553
1253
|
```
|
|
@@ -1565,7 +1265,7 @@ const { status, data } = await apiInstance.setupPaymentMethod(
|
|
|
1565
1265
|
|
|
1566
1266
|
### Authorization
|
|
1567
1267
|
|
|
1568
|
-
|
|
1268
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1569
1269
|
|
|
1570
1270
|
### HTTP request headers
|
|
1571
1271
|
|
|
@@ -1631,57 +1331,6 @@ No authorization required
|
|
|
1631
1331
|
|
|
1632
1332
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1633
1333
|
|
|
1634
|
-
# **subscribeToClub**
|
|
1635
|
-
> { [key: string]: any; } subscribeToClub(subscribeToClubRequestBody)
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
### Example
|
|
1639
|
-
|
|
1640
|
-
```typescript
|
|
1641
|
-
import {
|
|
1642
|
-
UsersApi,
|
|
1643
|
-
Configuration,
|
|
1644
|
-
SubscribeToClubRequestBody
|
|
1645
|
-
} from '@tennac-booking/sdk';
|
|
1646
|
-
|
|
1647
|
-
const configuration = new Configuration();
|
|
1648
|
-
const apiInstance = new UsersApi(configuration);
|
|
1649
|
-
|
|
1650
|
-
let subscribeToClubRequestBody: SubscribeToClubRequestBody; //
|
|
1651
|
-
|
|
1652
|
-
const { status, data } = await apiInstance.subscribeToClub(
|
|
1653
|
-
subscribeToClubRequestBody
|
|
1654
|
-
);
|
|
1655
|
-
```
|
|
1656
|
-
|
|
1657
|
-
### Parameters
|
|
1658
|
-
|
|
1659
|
-
|Name | Type | Description | Notes|
|
|
1660
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1661
|
-
| **subscribeToClubRequestBody** | **SubscribeToClubRequestBody**| | |
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
### Return type
|
|
1665
|
-
|
|
1666
|
-
**{ [key: string]: any; }**
|
|
1667
|
-
|
|
1668
|
-
### Authorization
|
|
1669
|
-
|
|
1670
|
-
No authorization required
|
|
1671
|
-
|
|
1672
|
-
### HTTP request headers
|
|
1673
|
-
|
|
1674
|
-
- **Content-Type**: application/json
|
|
1675
|
-
- **Accept**: application/json
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
### HTTP response details
|
|
1679
|
-
| Status code | Description | Response headers |
|
|
1680
|
-
|-------------|-------------|------------------|
|
|
1681
|
-
|**201** | Created | - |
|
|
1682
|
-
|
|
1683
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1684
|
-
|
|
1685
1334
|
# **updateCustomer**
|
|
1686
1335
|
> UpdateCustomerResponse updateCustomer(updateCustomerRequestBody)
|
|
1687
1336
|
|
|
@@ -1718,7 +1367,7 @@ const { status, data } = await apiInstance.updateCustomer(
|
|
|
1718
1367
|
|
|
1719
1368
|
### Authorization
|
|
1720
1369
|
|
|
1721
|
-
|
|
1370
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1722
1371
|
|
|
1723
1372
|
### HTTP request headers
|
|
1724
1373
|
|
|
@@ -1769,7 +1418,7 @@ const { status, data } = await apiInstance.updateLevelBySports(
|
|
|
1769
1418
|
|
|
1770
1419
|
### Authorization
|
|
1771
1420
|
|
|
1772
|
-
|
|
1421
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1773
1422
|
|
|
1774
1423
|
### HTTP request headers
|
|
1775
1424
|
|
|
@@ -1820,7 +1469,7 @@ const { status, data } = await apiInstance.updateMe(
|
|
|
1820
1469
|
|
|
1821
1470
|
### Authorization
|
|
1822
1471
|
|
|
1823
|
-
|
|
1472
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1824
1473
|
|
|
1825
1474
|
### HTTP request headers
|
|
1826
1475
|
|
|
@@ -1871,7 +1520,7 @@ const { status, data } = await apiInstance.updateProfilePicture(
|
|
|
1871
1520
|
|
|
1872
1521
|
### Authorization
|
|
1873
1522
|
|
|
1874
|
-
|
|
1523
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1875
1524
|
|
|
1876
1525
|
### HTTP request headers
|
|
1877
1526
|
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**year** | **number** |
|
|
9
|
-
**totalTurnover** | **number** |
|
|
10
|
-
**totalInvoices** | **number** |
|
|
11
|
-
**monthlyBreakdown** | [**Array<
|
|
8
|
+
**year** | **number** | Année | [default to undefined]
|
|
9
|
+
**totalTurnover** | **number** | Chiffre d\'affaires total de l\'année | [default to undefined]
|
|
10
|
+
**totalInvoices** | **number** | Nombre total de factures | [default to undefined]
|
|
11
|
+
**monthlyBreakdown** | [**Array<MonthlyBreakdown>**](MonthlyBreakdown.md) | Détail par mois | [default to undefined]
|
|
12
12
|
|
|
13
13
|
## Example
|
|
14
14
|
|
package/index.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
* API
|
|
4
|
+
* openapi.json
|
|
5
|
+
* Pandook API Documentation
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.61
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/package.json
CHANGED
package/docs/ActiveClub.md
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# ActiveClub
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**_id** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**picture** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**name** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**location** | [**Location**](Location.md) | | [optional] [default to undefined]
|
|
12
|
-
**paymentFeature** | **boolean** | | [optional] [default to undefined]
|
|
13
|
-
**isNoShowEnabled** | **boolean** | | [optional] [default to undefined]
|
|
14
|
-
|
|
15
|
-
## Example
|
|
16
|
-
|
|
17
|
-
```typescript
|
|
18
|
-
import { ActiveClub } from '@tennac-booking/sdk';
|
|
19
|
-
|
|
20
|
-
const instance: ActiveClub = {
|
|
21
|
-
_id,
|
|
22
|
-
picture,
|
|
23
|
-
name,
|
|
24
|
-
location,
|
|
25
|
-
paymentFeature,
|
|
26
|
-
isNoShowEnabled,
|
|
27
|
-
};
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# AddClubMemberResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**message** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**member** | [**ClubMember**](ClubMember.md) | | [optional] [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { AddClubMemberResponse } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: AddClubMemberResponse = {
|
|
17
|
-
message,
|
|
18
|
-
member,
|
|
19
|
-
};
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|