@tennac-booking/sdk 1.0.55 → 1.0.60
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 +182 -222
- package/README.md +158 -165
- package/api.ts +6921 -7583
- package/base.ts +2 -2
- package/common.ts +2 -2
- package/configuration.ts +2 -2
- package/dist/api.d.ts +4106 -5418
- package/dist/api.js +3585 -2957
- package/dist/base.d.ts +2 -2
- package/dist/base.js +2 -2
- package/dist/common.d.ts +2 -2
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +2 -2
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +4106 -5418
- package/dist/esm/api.js +3511 -2862
- package/dist/esm/base.d.ts +2 -2
- package/dist/esm/base.js +2 -2
- package/dist/esm/common.d.ts +2 -2
- package/dist/esm/common.js +2 -2
- package/dist/esm/configuration.d.ts +2 -2
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- 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 +23 -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/{ManagerClubCourtsApi.md → ClubSettingsManagerApi.md} +64 -63
- package/docs/ClubSettingsResponse.md +41 -0
- package/docs/{AddFavoriteClubRequestBody.md → ClubUserCountResponse.md} +5 -5
- package/docs/ClubsApi.md +515 -8
- package/docs/ClubsManagerApi.md +1005 -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/CreateSportForClub201Response.md +20 -0
- package/docs/{Sport.md → CreateSportForClubRequest.md} +4 -6
- package/docs/CreateSportRequest.md +1 -7
- package/docs/CreateSubscriptionPlanRequest.md +6 -4
- package/docs/CreatorChargeResult.md +26 -0
- package/docs/DailyTurnoverResponse.md +3 -3
- package/docs/{ManagerSportsApi.md → DefaultApi.md} +35 -38
- package/docs/{DeleteEvent200Response.md → DeleteClubResponse.md} +4 -4
- package/docs/{CourtDeleteResponse.md → DeleteClubRoleResponse.md} +4 -4
- package/docs/DeleteClubSettingsResponse.md +20 -0
- package/docs/{DeleteClubRole200Response.md → DeleteCourtResponse.md} +4 -4
- package/docs/{DeleteSport200Response.md → DeleteEventResponse.md} +4 -4
- package/docs/DeleteSlotsByClubInRange200Response.md +1 -1
- package/docs/DeleteSportResponse.md +20 -0
- 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/{CourtsResponse.md → GetCourtsByClub200Response.md} +4 -6
- 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/PartialClubResponse.md +49 -0
- package/docs/PaymentByPlayerInfo.md +22 -0
- package/docs/PaymentMethod.md +2 -1
- package/docs/PlayerPaymentInfo.md +36 -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/{StaffClubBookingsApi.md → SportsStaffApi.md} +14 -11
- package/docs/SubscriptionPlanResponse.md +4 -14
- 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/UpdateSportRequest.md +1 -5
- package/docs/UpdateSubscriptionPlanForClub200Response.md +20 -0
- package/docs/{BookingPopulatedUserId.md → UserInfo.md} +6 -6
- package/docs/UsersApi.md +32 -127
- package/docs/YearlyTurnoverResponse.md +4 -4
- package/index.ts +2 -2
- package/package.json +1 -1
- package/docs/ActiveClub.md +0 -30
- package/docs/AddClubMemberResponse.md +0 -22
- package/docs/AddPaymentMethodSetupRequestBody.md +0 -20
- 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/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/FrequentlyVisitedClubItem.md +0 -24
- 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/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/StripeStatus.md +0 -16
- package/docs/SubscriptionPlan.md +0 -36
- package/docs/SubscriptionResponse.md +0 -36
- 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/UserClubSportsApi.md +0 -60
- package/docs/UserClubsApi.md +0 -145
- package/docs/UserInfoStaff.md +0 -38
- package/docs/UserStaffResponse.md +0 -40
- package/docs/YearlyTurnoverResponseMonthlyBreakdownInner.md +0 -24
|
@@ -1,387 +0,0 @@
|
|
|
1
|
-
# ManagerClubSubscriptionsApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
4
|
-
|
|
5
|
-
|Method | HTTP request | Description|
|
|
6
|
-
|------------- | ------------- | -------------|
|
|
7
|
-
|[**archivePriceForSubscriptionPlan**](#archivepriceforsubscriptionplan) | **DELETE** /api/clubs/subscription-plans/{priceId}/archive-price | Archiver un prix (club courant)|
|
|
8
|
-
|[**createPriceForSubscriptionPlan**](#createpriceforsubscriptionplan) | **POST** /api/clubs/subscription-plans/{productId}/prices | Créer un nouveau prix pour un plan (club courant)|
|
|
9
|
-
|[**createSubscriptionPlanForClub**](#createsubscriptionplanforclub) | **POST** /api/clubs/subscription-plans | Créer un plan d\'abonnement pour le club courant|
|
|
10
|
-
|[**deleteSubscriptionPlanForClub**](#deletesubscriptionplanforclub) | **DELETE** /api/clubs/subscription-plans/{productId} | Supprimer un plan d\'abonnement (club courant)|
|
|
11
|
-
|[**restoreSubscriptionPlanForClub**](#restoresubscriptionplanforclub) | **POST** /api/clubs/subscription-plans/{productId}/restore | Réactiver un plan d\'abonnement (club courant)|
|
|
12
|
-
|[**restoreSubscriptionPriceForClub**](#restoresubscriptionpriceforclub) | **POST** /api/clubs/subscription-plans/{priceId}/restore-price | Réactiver un prix (club courant)|
|
|
13
|
-
|[**updateSubscriptionPlanForClub**](#updatesubscriptionplanforclub) | **PUT** /api/clubs/subscription-plans/{priceId} | Mettre à jour un plan d\'abonnement (club courant)|
|
|
14
|
-
|
|
15
|
-
# **archivePriceForSubscriptionPlan**
|
|
16
|
-
> PriceResponse archivePriceForSubscriptionPlan()
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
### Example
|
|
20
|
-
|
|
21
|
-
```typescript
|
|
22
|
-
import {
|
|
23
|
-
ManagerClubSubscriptionsApi,
|
|
24
|
-
Configuration
|
|
25
|
-
} from '@tennac-booking/sdk';
|
|
26
|
-
|
|
27
|
-
const configuration = new Configuration();
|
|
28
|
-
const apiInstance = new ManagerClubSubscriptionsApi(configuration);
|
|
29
|
-
|
|
30
|
-
let priceId: string; //ID du prix Stripe (default to undefined)
|
|
31
|
-
|
|
32
|
-
const { status, data } = await apiInstance.archivePriceForSubscriptionPlan(
|
|
33
|
-
priceId
|
|
34
|
-
);
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
### Parameters
|
|
38
|
-
|
|
39
|
-
|Name | Type | Description | Notes|
|
|
40
|
-
|------------- | ------------- | ------------- | -------------|
|
|
41
|
-
| **priceId** | [**string**] | ID du prix Stripe | defaults to undefined|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
### Return type
|
|
45
|
-
|
|
46
|
-
**PriceResponse**
|
|
47
|
-
|
|
48
|
-
### Authorization
|
|
49
|
-
|
|
50
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
51
|
-
|
|
52
|
-
### HTTP request headers
|
|
53
|
-
|
|
54
|
-
- **Content-Type**: Not defined
|
|
55
|
-
- **Accept**: application/json
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
### HTTP response details
|
|
59
|
-
| Status code | Description | Response headers |
|
|
60
|
-
|-------------|-------------|------------------|
|
|
61
|
-
|**200** | Prix archivé avec succès | - |
|
|
62
|
-
|**400** | Requête invalide | - |
|
|
63
|
-
|**500** | Erreur serveur interne | - |
|
|
64
|
-
|
|
65
|
-
[[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)
|
|
66
|
-
|
|
67
|
-
# **createPriceForSubscriptionPlan**
|
|
68
|
-
> PriceResponse createPriceForSubscriptionPlan(createPriceRequest)
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
### Example
|
|
72
|
-
|
|
73
|
-
```typescript
|
|
74
|
-
import {
|
|
75
|
-
ManagerClubSubscriptionsApi,
|
|
76
|
-
Configuration,
|
|
77
|
-
CreatePriceRequest
|
|
78
|
-
} from '@tennac-booking/sdk';
|
|
79
|
-
|
|
80
|
-
const configuration = new Configuration();
|
|
81
|
-
const apiInstance = new ManagerClubSubscriptionsApi(configuration);
|
|
82
|
-
|
|
83
|
-
let productId: string; //ID du produit Stripe (default to undefined)
|
|
84
|
-
let createPriceRequest: CreatePriceRequest; //
|
|
85
|
-
|
|
86
|
-
const { status, data } = await apiInstance.createPriceForSubscriptionPlan(
|
|
87
|
-
productId,
|
|
88
|
-
createPriceRequest
|
|
89
|
-
);
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
### Parameters
|
|
93
|
-
|
|
94
|
-
|Name | Type | Description | Notes|
|
|
95
|
-
|------------- | ------------- | ------------- | -------------|
|
|
96
|
-
| **createPriceRequest** | **CreatePriceRequest**| | |
|
|
97
|
-
| **productId** | [**string**] | ID du produit Stripe | defaults to undefined|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
### Return type
|
|
101
|
-
|
|
102
|
-
**PriceResponse**
|
|
103
|
-
|
|
104
|
-
### Authorization
|
|
105
|
-
|
|
106
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
107
|
-
|
|
108
|
-
### HTTP request headers
|
|
109
|
-
|
|
110
|
-
- **Content-Type**: application/json
|
|
111
|
-
- **Accept**: application/json
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
### HTTP response details
|
|
115
|
-
| Status code | Description | Response headers |
|
|
116
|
-
|-------------|-------------|------------------|
|
|
117
|
-
|**201** | Prix créé avec succès | - |
|
|
118
|
-
|**400** | Requête invalide | - |
|
|
119
|
-
|**500** | Erreur serveur interne | - |
|
|
120
|
-
|
|
121
|
-
[[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)
|
|
122
|
-
|
|
123
|
-
# **createSubscriptionPlanForClub**
|
|
124
|
-
> SubscriptionPlanResponse createSubscriptionPlanForClub(createSubscriptionPlanRequest)
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
### Example
|
|
128
|
-
|
|
129
|
-
```typescript
|
|
130
|
-
import {
|
|
131
|
-
ManagerClubSubscriptionsApi,
|
|
132
|
-
Configuration,
|
|
133
|
-
CreateSubscriptionPlanRequest
|
|
134
|
-
} from '@tennac-booking/sdk';
|
|
135
|
-
|
|
136
|
-
const configuration = new Configuration();
|
|
137
|
-
const apiInstance = new ManagerClubSubscriptionsApi(configuration);
|
|
138
|
-
|
|
139
|
-
let createSubscriptionPlanRequest: CreateSubscriptionPlanRequest; //
|
|
140
|
-
|
|
141
|
-
const { status, data } = await apiInstance.createSubscriptionPlanForClub(
|
|
142
|
-
createSubscriptionPlanRequest
|
|
143
|
-
);
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
### Parameters
|
|
147
|
-
|
|
148
|
-
|Name | Type | Description | Notes|
|
|
149
|
-
|------------- | ------------- | ------------- | -------------|
|
|
150
|
-
| **createSubscriptionPlanRequest** | **CreateSubscriptionPlanRequest**| | |
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
### Return type
|
|
154
|
-
|
|
155
|
-
**SubscriptionPlanResponse**
|
|
156
|
-
|
|
157
|
-
### Authorization
|
|
158
|
-
|
|
159
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
160
|
-
|
|
161
|
-
### HTTP request headers
|
|
162
|
-
|
|
163
|
-
- **Content-Type**: application/json
|
|
164
|
-
- **Accept**: application/json
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
### HTTP response details
|
|
168
|
-
| Status code | Description | Response headers |
|
|
169
|
-
|-------------|-------------|------------------|
|
|
170
|
-
|**201** | Plan d\'abonnement créé avec succès | - |
|
|
171
|
-
|**400** | Requête invalide | - |
|
|
172
|
-
|**500** | Erreur serveur interne | - |
|
|
173
|
-
|
|
174
|
-
[[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)
|
|
175
|
-
|
|
176
|
-
# **deleteSubscriptionPlanForClub**
|
|
177
|
-
> deleteSubscriptionPlanForClub()
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
### Example
|
|
181
|
-
|
|
182
|
-
```typescript
|
|
183
|
-
import {
|
|
184
|
-
ManagerClubSubscriptionsApi,
|
|
185
|
-
Configuration
|
|
186
|
-
} from '@tennac-booking/sdk';
|
|
187
|
-
|
|
188
|
-
const configuration = new Configuration();
|
|
189
|
-
const apiInstance = new ManagerClubSubscriptionsApi(configuration);
|
|
190
|
-
|
|
191
|
-
let productId: string; //ID du produit Stripe (default to undefined)
|
|
192
|
-
|
|
193
|
-
const { status, data } = await apiInstance.deleteSubscriptionPlanForClub(
|
|
194
|
-
productId
|
|
195
|
-
);
|
|
196
|
-
```
|
|
197
|
-
|
|
198
|
-
### Parameters
|
|
199
|
-
|
|
200
|
-
|Name | Type | Description | Notes|
|
|
201
|
-
|------------- | ------------- | ------------- | -------------|
|
|
202
|
-
| **productId** | [**string**] | ID du produit Stripe | defaults to undefined|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
### Return type
|
|
206
|
-
|
|
207
|
-
void (empty response body)
|
|
208
|
-
|
|
209
|
-
### Authorization
|
|
210
|
-
|
|
211
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
212
|
-
|
|
213
|
-
### HTTP request headers
|
|
214
|
-
|
|
215
|
-
- **Content-Type**: Not defined
|
|
216
|
-
- **Accept**: application/json
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
### HTTP response details
|
|
220
|
-
| Status code | Description | Response headers |
|
|
221
|
-
|-------------|-------------|------------------|
|
|
222
|
-
|**204** | Plan d\'abonnement supprimé avec succès | - |
|
|
223
|
-
|**400** | Requête invalide | - |
|
|
224
|
-
|**500** | Erreur serveur interne | - |
|
|
225
|
-
|
|
226
|
-
[[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)
|
|
227
|
-
|
|
228
|
-
# **restoreSubscriptionPlanForClub**
|
|
229
|
-
> RestoreSubscriptionPlanForClub200Response restoreSubscriptionPlanForClub()
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
### Example
|
|
233
|
-
|
|
234
|
-
```typescript
|
|
235
|
-
import {
|
|
236
|
-
ManagerClubSubscriptionsApi,
|
|
237
|
-
Configuration
|
|
238
|
-
} from '@tennac-booking/sdk';
|
|
239
|
-
|
|
240
|
-
const configuration = new Configuration();
|
|
241
|
-
const apiInstance = new ManagerClubSubscriptionsApi(configuration);
|
|
242
|
-
|
|
243
|
-
let productId: string; //ID du produit Stripe (default to undefined)
|
|
244
|
-
|
|
245
|
-
const { status, data } = await apiInstance.restoreSubscriptionPlanForClub(
|
|
246
|
-
productId
|
|
247
|
-
);
|
|
248
|
-
```
|
|
249
|
-
|
|
250
|
-
### Parameters
|
|
251
|
-
|
|
252
|
-
|Name | Type | Description | Notes|
|
|
253
|
-
|------------- | ------------- | ------------- | -------------|
|
|
254
|
-
| **productId** | [**string**] | ID du produit Stripe | defaults to undefined|
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
### Return type
|
|
258
|
-
|
|
259
|
-
**RestoreSubscriptionPlanForClub200Response**
|
|
260
|
-
|
|
261
|
-
### Authorization
|
|
262
|
-
|
|
263
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
264
|
-
|
|
265
|
-
### HTTP request headers
|
|
266
|
-
|
|
267
|
-
- **Content-Type**: Not defined
|
|
268
|
-
- **Accept**: application/json
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
### HTTP response details
|
|
272
|
-
| Status code | Description | Response headers |
|
|
273
|
-
|-------------|-------------|------------------|
|
|
274
|
-
|**200** | Plan d\'abonnement réactivé avec succès | - |
|
|
275
|
-
|**400** | Requête invalide | - |
|
|
276
|
-
|**500** | Erreur serveur interne | - |
|
|
277
|
-
|
|
278
|
-
[[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)
|
|
279
|
-
|
|
280
|
-
# **restoreSubscriptionPriceForClub**
|
|
281
|
-
> PriceResponse restoreSubscriptionPriceForClub()
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
### Example
|
|
285
|
-
|
|
286
|
-
```typescript
|
|
287
|
-
import {
|
|
288
|
-
ManagerClubSubscriptionsApi,
|
|
289
|
-
Configuration
|
|
290
|
-
} from '@tennac-booking/sdk';
|
|
291
|
-
|
|
292
|
-
const configuration = new Configuration();
|
|
293
|
-
const apiInstance = new ManagerClubSubscriptionsApi(configuration);
|
|
294
|
-
|
|
295
|
-
let priceId: string; //ID du prix Stripe (default to undefined)
|
|
296
|
-
|
|
297
|
-
const { status, data } = await apiInstance.restoreSubscriptionPriceForClub(
|
|
298
|
-
priceId
|
|
299
|
-
);
|
|
300
|
-
```
|
|
301
|
-
|
|
302
|
-
### Parameters
|
|
303
|
-
|
|
304
|
-
|Name | Type | Description | Notes|
|
|
305
|
-
|------------- | ------------- | ------------- | -------------|
|
|
306
|
-
| **priceId** | [**string**] | ID du prix Stripe | defaults to undefined|
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
### Return type
|
|
310
|
-
|
|
311
|
-
**PriceResponse**
|
|
312
|
-
|
|
313
|
-
### Authorization
|
|
314
|
-
|
|
315
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
316
|
-
|
|
317
|
-
### HTTP request headers
|
|
318
|
-
|
|
319
|
-
- **Content-Type**: Not defined
|
|
320
|
-
- **Accept**: application/json
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
### HTTP response details
|
|
324
|
-
| Status code | Description | Response headers |
|
|
325
|
-
|-------------|-------------|------------------|
|
|
326
|
-
|**200** | Prix réactivé avec succès | - |
|
|
327
|
-
|**400** | Requête invalide | - |
|
|
328
|
-
|**500** | Erreur serveur interne | - |
|
|
329
|
-
|
|
330
|
-
[[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)
|
|
331
|
-
|
|
332
|
-
# **updateSubscriptionPlanForClub**
|
|
333
|
-
> UpdateSubscriptionPlanResponse updateSubscriptionPlanForClub(updateSubscriptionPlanRequest)
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
### Example
|
|
337
|
-
|
|
338
|
-
```typescript
|
|
339
|
-
import {
|
|
340
|
-
ManagerClubSubscriptionsApi,
|
|
341
|
-
Configuration,
|
|
342
|
-
UpdateSubscriptionPlanRequest
|
|
343
|
-
} from '@tennac-booking/sdk';
|
|
344
|
-
|
|
345
|
-
const configuration = new Configuration();
|
|
346
|
-
const apiInstance = new ManagerClubSubscriptionsApi(configuration);
|
|
347
|
-
|
|
348
|
-
let priceId: string; //ID du prix Stripe (default to undefined)
|
|
349
|
-
let updateSubscriptionPlanRequest: UpdateSubscriptionPlanRequest; //
|
|
350
|
-
|
|
351
|
-
const { status, data } = await apiInstance.updateSubscriptionPlanForClub(
|
|
352
|
-
priceId,
|
|
353
|
-
updateSubscriptionPlanRequest
|
|
354
|
-
);
|
|
355
|
-
```
|
|
356
|
-
|
|
357
|
-
### Parameters
|
|
358
|
-
|
|
359
|
-
|Name | Type | Description | Notes|
|
|
360
|
-
|------------- | ------------- | ------------- | -------------|
|
|
361
|
-
| **updateSubscriptionPlanRequest** | **UpdateSubscriptionPlanRequest**| | |
|
|
362
|
-
| **priceId** | [**string**] | ID du prix Stripe | defaults to undefined|
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
### Return type
|
|
366
|
-
|
|
367
|
-
**UpdateSubscriptionPlanResponse**
|
|
368
|
-
|
|
369
|
-
### Authorization
|
|
370
|
-
|
|
371
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
372
|
-
|
|
373
|
-
### HTTP request headers
|
|
374
|
-
|
|
375
|
-
- **Content-Type**: application/json
|
|
376
|
-
- **Accept**: application/json
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
### HTTP response details
|
|
380
|
-
| Status code | Description | Response headers |
|
|
381
|
-
|-------------|-------------|------------------|
|
|
382
|
-
|**200** | Plan d\'abonnement mis à jour avec succès | - |
|
|
383
|
-
|**400** | Requête invalide | - |
|
|
384
|
-
|**500** | Erreur serveur interne | - |
|
|
385
|
-
|
|
386
|
-
[[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)
|
|
387
|
-
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# ManagerEventResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**event** | [**Event**](Event.md) | | [optional] [default to undefined]
|
|
9
|
-
**message** | **string** | | [optional] [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { ManagerEventResponse } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: ManagerEventResponse = {
|
|
17
|
-
event,
|
|
18
|
-
message,
|
|
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)
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# NoShowFeeResponseCaptureResultsInner
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**type** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**playerId** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**paymentIntentId** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**amount** | **number** | | [optional] [default to undefined]
|
|
12
|
-
**status** | **string** | | [optional] [default to undefined]
|
|
13
|
-
**error** | **string** | | [optional] [default to undefined]
|
|
14
|
-
|
|
15
|
-
## Example
|
|
16
|
-
|
|
17
|
-
```typescript
|
|
18
|
-
import { NoShowFeeResponseCaptureResultsInner } from '@tennac-booking/sdk';
|
|
19
|
-
|
|
20
|
-
const instance: NoShowFeeResponseCaptureResultsInner = {
|
|
21
|
-
type,
|
|
22
|
-
playerId,
|
|
23
|
-
paymentIntentId,
|
|
24
|
-
amount,
|
|
25
|
-
status,
|
|
26
|
-
error,
|
|
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,26 +0,0 @@
|
|
|
1
|
-
# NoShowFeeResponseCreatorChargeResult
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**success** | **boolean** | | [optional] [default to undefined]
|
|
9
|
-
**paymentIntentId** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**amount** | **number** | | [optional] [default to undefined]
|
|
11
|
-
**error** | **string** | | [optional] [default to undefined]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import { NoShowFeeResponseCreatorChargeResult } from '@tennac-booking/sdk';
|
|
17
|
-
|
|
18
|
-
const instance: NoShowFeeResponseCreatorChargeResult = {
|
|
19
|
-
success,
|
|
20
|
-
paymentIntentId,
|
|
21
|
-
amount,
|
|
22
|
-
error,
|
|
23
|
-
};
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/PaymentStatus.md
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# PaymentStatus
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**profilePicture** | **string** | URL de la photo de profil du joueur | [optional] [default to undefined]
|
|
9
|
-
**userId** | **string** | Identifiant de l\'utilisateur | [optional] [default to undefined]
|
|
10
|
-
**firstName** | **string** | Prénom de l\'utilisateur | [optional] [default to undefined]
|
|
11
|
-
**lastName** | **string** | Nom de l\'utilisateur | [optional] [default to undefined]
|
|
12
|
-
**amount** | **number** | Montant que l\'utilisateur doit payer | [optional] [default to undefined]
|
|
13
|
-
**invoiceStatus** | **string** | Statut de la facture | [optional] [default to undefined]
|
|
14
|
-
|
|
15
|
-
## Example
|
|
16
|
-
|
|
17
|
-
```typescript
|
|
18
|
-
import { PaymentStatus } from '@tennac-booking/sdk';
|
|
19
|
-
|
|
20
|
-
const instance: PaymentStatus = {
|
|
21
|
-
profilePicture,
|
|
22
|
-
userId,
|
|
23
|
-
firstName,
|
|
24
|
-
lastName,
|
|
25
|
-
amount,
|
|
26
|
-
invoiceStatus,
|
|
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)
|
package/docs/PriceResponse.md
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# PriceResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**amount** | **number** | | [optional] [default to undefined]
|
|
10
|
-
**currency** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**interval** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**intervalCount** | **number** | | [optional] [default to undefined]
|
|
13
|
-
**active** | **boolean** | | [optional] [default to undefined]
|
|
14
|
-
**createdAt** | **string** | | [optional] [default to undefined]
|
|
15
|
-
|
|
16
|
-
## Example
|
|
17
|
-
|
|
18
|
-
```typescript
|
|
19
|
-
import { PriceResponse } from '@tennac-booking/sdk';
|
|
20
|
-
|
|
21
|
-
const instance: PriceResponse = {
|
|
22
|
-
id,
|
|
23
|
-
amount,
|
|
24
|
-
currency,
|
|
25
|
-
interval,
|
|
26
|
-
intervalCount,
|
|
27
|
-
active,
|
|
28
|
-
createdAt,
|
|
29
|
-
};
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/PublicClubUser.md
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
# PublicClubUser
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**_id** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**firstName** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**lastName** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**createdAt** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**isAccountVerified** | **boolean** | | [optional] [default to undefined]
|
|
13
|
-
**email** | **string** | | [optional] [default to undefined]
|
|
14
|
-
**levelBySports** | [**Array<PublicClubUserLevelBySportsInner>**](PublicClubUserLevelBySportsInner.md) | | [optional] [default to undefined]
|
|
15
|
-
**profilePicture** | **string** | | [optional] [default to undefined]
|
|
16
|
-
**description** | **string** | | [optional] [default to undefined]
|
|
17
|
-
**city** | **string** | | [optional] [default to undefined]
|
|
18
|
-
**favoriteClubs** | **Array<string>** | | [optional] [default to undefined]
|
|
19
|
-
**favoritePlayers** | **Array<string>** | | [optional] [default to undefined]
|
|
20
|
-
**frequentlyPlayedWith** | [**Array<PublicClubUserFrequentlyPlayedWithInner>**](PublicClubUserFrequentlyPlayedWithInner.md) | | [optional] [default to undefined]
|
|
21
|
-
**frequentlyVisitedClubs** | [**Array<PublicClubUserFrequentlyVisitedClubsInner>**](PublicClubUserFrequentlyVisitedClubsInner.md) | | [optional] [default to undefined]
|
|
22
|
-
|
|
23
|
-
## Example
|
|
24
|
-
|
|
25
|
-
```typescript
|
|
26
|
-
import { PublicClubUser } from '@tennac-booking/sdk';
|
|
27
|
-
|
|
28
|
-
const instance: PublicClubUser = {
|
|
29
|
-
_id,
|
|
30
|
-
firstName,
|
|
31
|
-
lastName,
|
|
32
|
-
createdAt,
|
|
33
|
-
isAccountVerified,
|
|
34
|
-
email,
|
|
35
|
-
levelBySports,
|
|
36
|
-
profilePicture,
|
|
37
|
-
description,
|
|
38
|
-
city,
|
|
39
|
-
favoriteClubs,
|
|
40
|
-
favoritePlayers,
|
|
41
|
-
frequentlyPlayedWith,
|
|
42
|
-
frequentlyVisitedClubs,
|
|
43
|
-
};
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
[[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,28 +0,0 @@
|
|
|
1
|
-
# PublicClubUserFrequentlyPlayedWithInner
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**userId** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**firstName** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**lastName** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**profilePicture** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**playCount** | **number** | | [optional] [default to undefined]
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import { PublicClubUserFrequentlyPlayedWithInner } from '@tennac-booking/sdk';
|
|
18
|
-
|
|
19
|
-
const instance: PublicClubUserFrequentlyPlayedWithInner = {
|
|
20
|
-
userId,
|
|
21
|
-
firstName,
|
|
22
|
-
lastName,
|
|
23
|
-
profilePicture,
|
|
24
|
-
playCount,
|
|
25
|
-
};
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
[[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,24 +0,0 @@
|
|
|
1
|
-
# PublicClubUserFrequentlyVisitedClubsInner
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**clubId** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**name** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**visitCount** | **number** | | [optional] [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { PublicClubUserFrequentlyVisitedClubsInner } from '@tennac-booking/sdk';
|
|
16
|
-
|
|
17
|
-
const instance: PublicClubUserFrequentlyVisitedClubsInner = {
|
|
18
|
-
clubId,
|
|
19
|
-
name,
|
|
20
|
-
visitCount,
|
|
21
|
-
};
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
[[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
|
-
# PublicClubUserLevelBySportsInner
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**sport** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**level** | **string** | | [optional] [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { PublicClubUserLevelBySportsInner } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: PublicClubUserLevelBySportsInner = {
|
|
17
|
-
sport,
|
|
18
|
-
level,
|
|
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)
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# RegisterForEvent201Response
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**booking** | [**EventBooking**](EventBooking.md) | | [optional] [default to undefined]
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
import { RegisterForEvent201Response } from '@tennac-booking/sdk';
|
|
14
|
-
|
|
15
|
-
const instance: RegisterForEvent201Response = {
|
|
16
|
-
booking,
|
|
17
|
-
};
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
[[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,20 +0,0 @@
|
|
|
1
|
-
# RestoreSubscriptionPlanForClub200Response
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**message** | **string** | | [optional] [default to undefined]
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
import { RestoreSubscriptionPlanForClub200Response } from '@tennac-booking/sdk';
|
|
14
|
-
|
|
15
|
-
const instance: RestoreSubscriptionPlanForClub200Response = {
|
|
16
|
-
message,
|
|
17
|
-
};
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|