@tennac-booking/sdk 1.0.120 → 1.0.122
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 +17 -0
- package/README.md +24 -4
- package/api.ts +930 -28
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +740 -17
- package/dist/api.js +332 -17
- 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 +740 -17
- package/dist/esm/api.js +324 -13
- 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/CheckTeamNameAvailability200Response.md +20 -0
- package/docs/ClientApi.md +47 -0
- 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/ClubSettingsManagerApi.md +7 -7
- package/docs/CreateCourtRequest.md +2 -0
- package/docs/CreateSubscriptionPlanRequestDiscount.md +2 -0
- package/docs/EstimateEventPrice200Response.md +32 -0
- package/docs/EstimateEventPriceRequest.md +26 -0
- package/docs/EstimateEventPriceRequestSharesInner.md +22 -0
- package/docs/EventResponse.md +3 -1
- package/docs/EventUser.md +28 -0
- package/docs/EventsApi.md +115 -0
- package/docs/ImageCleanupItem.md +22 -0
- package/docs/ImageCleanupRequestBody.md +20 -0
- package/docs/ImageCleanupResponse.md +22 -0
- package/docs/ImageContext.md +30 -0
- package/docs/ImageContextType.md +20 -0
- package/docs/ImageReferencePayload.md +24 -0
- package/docs/ImagesApi.md +59 -0
- package/docs/JoinEventRequest.md +2 -0
- package/docs/JoinEventRequestPlayersPaymentMethodsInner.md +2 -0
- package/docs/JoinEventResponse.md +14 -0
- package/docs/JoinEventResponseOnsitePaymentsInner.md +24 -0
- package/docs/OffPeakRule.md +2 -0
- package/docs/Team.md +1 -1
- package/docs/UpdateClubGeneralSettingsRequest.md +1 -1
- package/docs/UpdateClubGeneralSettingsRequestLogo.md +24 -0
- package/docs/UpdateClubPresentationSettingsRequest.md +2 -2
- package/docs/UserProfileResponse.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -47,6 +47,7 @@ docs/CheckInEventParticipants200ResponseInvoicesInner.md
|
|
|
47
47
|
docs/CheckInEventParticipantsRequest.md
|
|
48
48
|
docs/CheckInPlayersRequest.md
|
|
49
49
|
docs/CheckInPlayersResponse.md
|
|
50
|
+
docs/CheckTeamNameAvailability200Response.md
|
|
50
51
|
docs/CheckedInPlayer.md
|
|
51
52
|
docs/ClientApi.md
|
|
52
53
|
docs/ClientFullOnboardingResponse.md
|
|
@@ -54,6 +55,9 @@ docs/ClientFullOnboardingResponseClub.md
|
|
|
54
55
|
docs/ClientOnboardingRequestBody.md
|
|
55
56
|
docs/ClientRegister201Response.md
|
|
56
57
|
docs/ClientRegisterRequest.md
|
|
58
|
+
docs/ClientSubscription.md
|
|
59
|
+
docs/ClientSubscriptionItem.md
|
|
60
|
+
docs/ClientSubscriptionsResponse.md
|
|
57
61
|
docs/ClubAnalyticsApi.md
|
|
58
62
|
docs/ClubAnalyticsStaffApi.md
|
|
59
63
|
docs/ClubDaySchedule.md
|
|
@@ -128,10 +132,14 @@ docs/DeleteEventResponse.md
|
|
|
128
132
|
docs/DeleteSportResponse.md
|
|
129
133
|
docs/DeleteSubscriptionPlanResponse.md
|
|
130
134
|
docs/DiscountType.md
|
|
135
|
+
docs/EstimateEventPrice200Response.md
|
|
136
|
+
docs/EstimateEventPriceRequest.md
|
|
137
|
+
docs/EstimateEventPriceRequestSharesInner.md
|
|
131
138
|
docs/EventConflictCheckRequest.md
|
|
132
139
|
docs/EventConflictCheckResponse.md
|
|
133
140
|
docs/EventResponse.md
|
|
134
141
|
docs/EventSponsor.md
|
|
142
|
+
docs/EventUser.md
|
|
135
143
|
docs/EventsApi.md
|
|
136
144
|
docs/EventsListResponse.md
|
|
137
145
|
docs/EventsManagerApi.md
|
|
@@ -161,11 +169,19 @@ docs/ILevelBySports.md
|
|
|
161
169
|
docs/IUserAttributes.md
|
|
162
170
|
docs/IUserAttributesOrganizationsInner.md
|
|
163
171
|
docs/IUserLocation.md
|
|
172
|
+
docs/ImageCleanupItem.md
|
|
173
|
+
docs/ImageCleanupRequestBody.md
|
|
174
|
+
docs/ImageCleanupResponse.md
|
|
175
|
+
docs/ImageContext.md
|
|
176
|
+
docs/ImageContextType.md
|
|
177
|
+
docs/ImageReferencePayload.md
|
|
178
|
+
docs/ImagesApi.md
|
|
164
179
|
docs/InvoiceInfo.md
|
|
165
180
|
docs/InvoiceStatus.md
|
|
166
181
|
docs/JoinEventRequest.md
|
|
167
182
|
docs/JoinEventRequestPlayersPaymentMethodsInner.md
|
|
168
183
|
docs/JoinEventResponse.md
|
|
184
|
+
docs/JoinEventResponseOnsitePaymentsInner.md
|
|
169
185
|
docs/LastSixMonthsTurnoverItem.md
|
|
170
186
|
docs/LevelBySportEntry.md
|
|
171
187
|
docs/LoginRequestBody.md
|
|
@@ -275,6 +291,7 @@ docs/Team.md
|
|
|
275
291
|
docs/TimeBounds.md
|
|
276
292
|
docs/UpdateActuality200Response.md
|
|
277
293
|
docs/UpdateClubGeneralSettingsRequest.md
|
|
294
|
+
docs/UpdateClubGeneralSettingsRequestLogo.md
|
|
278
295
|
docs/UpdateClubHoursSettingsRequest.md
|
|
279
296
|
docs/UpdateClubMemberRequest.md
|
|
280
297
|
docs/UpdateClubPresentationSettingsRequest.md
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @tennac-booking/sdk@1.0.
|
|
1
|
+
## @tennac-booking/sdk@1.0.121
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @tennac-booking/sdk@1.0.
|
|
39
|
+
npm install @tennac-booking/sdk@1.0.121 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -67,6 +67,7 @@ Class | Method | HTTP request | Description
|
|
|
67
67
|
*BookingsUserApi* | [**cancelBooking**](docs/BookingsUserApi.md#cancelbooking) | **DELETE** /api/bookings/{bookingId} |
|
|
68
68
|
*BookingsUserApi* | [**createBooking**](docs/BookingsUserApi.md#createbooking) | **POST** /api/bookings |
|
|
69
69
|
*ClientApi* | [**clientRegister**](docs/ClientApi.md#clientregister) | **POST** /clients/register |
|
|
70
|
+
*ClientApi* | [**getClientSubscriptions**](docs/ClientApi.md#getclientsubscriptions) | **GET** /clients/subscriptions |
|
|
70
71
|
*ClientApi* | [**getManagedClubs**](docs/ClientApi.md#getmanagedclubs) | **GET** /clients/managed-clubs |
|
|
71
72
|
*ClientApi* | [**onboardClub**](docs/ClientApi.md#onboardclub) | **POST** /clients/onboarding |
|
|
72
73
|
*ClubAnalyticsApi* | [**getMostLikedClub**](docs/ClubAnalyticsApi.md#getmostlikedclub) | **GET** /api/club-analytics/most-liked-clubs |
|
|
@@ -93,9 +94,9 @@ Class | Method | HTTP request | Description
|
|
|
93
94
|
*ClubRolesStaffApi* | [**getAllClubRoles**](docs/ClubRolesStaffApi.md#getallclubroles) | **GET** /api/club-roles |
|
|
94
95
|
*ClubRolesStaffApi* | [**getClubRoleById**](docs/ClubRolesStaffApi.md#getclubrolebyid) | **GET** /api/club-roles/{id} |
|
|
95
96
|
*ClubRolesStaffApi* | [**getUserRolesInClubs**](docs/ClubRolesStaffApi.md#getuserrolesinclubs) | **GET** /api/club-roles/me/roles |
|
|
96
|
-
*ClubSettingsManagerApi* | [**updateClubGeneralSettings**](docs/ClubSettingsManagerApi.md#updateclubgeneralsettings) | **
|
|
97
|
+
*ClubSettingsManagerApi* | [**updateClubGeneralSettings**](docs/ClubSettingsManagerApi.md#updateclubgeneralsettings) | **PATCH** /api/club-settings/settings/general |
|
|
97
98
|
*ClubSettingsManagerApi* | [**updateHoursSettings**](docs/ClubSettingsManagerApi.md#updatehourssettings) | **PUT** /api/club-settings/hours |
|
|
98
|
-
*ClubSettingsManagerApi* | [**updatePresentationSettings**](docs/ClubSettingsManagerApi.md#updatepresentationsettings) | **
|
|
99
|
+
*ClubSettingsManagerApi* | [**updatePresentationSettings**](docs/ClubSettingsManagerApi.md#updatepresentationsettings) | **PATCH** /api/club-settings/presentation |
|
|
99
100
|
*ClubSettingsManagerApi* | [**updateReservationSettings**](docs/ClubSettingsManagerApi.md#updatereservationsettings) | **PUT** /api/club-settings/reservation |
|
|
100
101
|
*ClubSettingsStaffApi* | [**getClubGeneralSettings**](docs/ClubSettingsStaffApi.md#getclubgeneralsettings) | **GET** /api/club-settings/settings/general |
|
|
101
102
|
*ClubSettingsStaffApi* | [**getHoursSettings**](docs/ClubSettingsStaffApi.md#gethourssettings) | **GET** /api/club-settings/hours |
|
|
@@ -147,6 +148,8 @@ Class | Method | HTTP request | Description
|
|
|
147
148
|
*ClubsStaffApi* | [**getUserProfileStaff**](docs/ClubsStaffApi.md#getuserprofilestaff) | **GET** /api/clubs/staff/profile/{id} |
|
|
148
149
|
*ClubsStaffApi* | [**updateUserCreditsStaff**](docs/ClubsStaffApi.md#updateusercreditsstaff) | **PUT** /api/clubs/staff/user-credits/{id} |
|
|
149
150
|
*DefaultApi* | [**createClub**](docs/DefaultApi.md#createclub) | **POST** /api/clubs |
|
|
151
|
+
*EventsApi* | [**checkTeamNameAvailability**](docs/EventsApi.md#checkteamnameavailability) | **GET** /api/events/{eventId}/team-name-availability |
|
|
152
|
+
*EventsApi* | [**estimateEventPrice**](docs/EventsApi.md#estimateeventprice) | **POST** /api/events/{eventId}/estimate-price |
|
|
150
153
|
*EventsApi* | [**getEventById**](docs/EventsApi.md#geteventbyid) | **GET** /api/events/{eventId} |
|
|
151
154
|
*EventsApi* | [**getPublishedEventsByClubId**](docs/EventsApi.md#getpublishedeventsbyclubid) | **GET** /api/events |
|
|
152
155
|
*EventsApi* | [**joinEvent**](docs/EventsApi.md#joinevent) | **POST** /api/events/{eventId}/join |
|
|
@@ -163,6 +166,7 @@ Class | Method | HTTP request | Description
|
|
|
163
166
|
*EventsStaffApi* | [**getEventsByClub**](docs/EventsStaffApi.md#geteventsbyclub) | **GET** /api/events/staff/getEvents |
|
|
164
167
|
*EventsStaffApi* | [**getMonthlyEvents**](docs/EventsStaffApi.md#getmonthlyevents) | **GET** /api/events/calendar/monthly |
|
|
165
168
|
*EventsStaffApi* | [**getWeeklyEvents**](docs/EventsStaffApi.md#getweeklyevents) | **GET** /api/events/calendar/weekly |
|
|
169
|
+
*ImagesApi* | [**cleanupImages**](docs/ImagesApi.md#cleanupimages) | **POST** /api/images/cleanup |
|
|
166
170
|
*SportsManagerApi* | [**createSport**](docs/SportsManagerApi.md#createsport) | **POST** /api/sports |
|
|
167
171
|
*SportsManagerApi* | [**deleteSport**](docs/SportsManagerApi.md#deletesport) | **DELETE** /api/sports/{id} |
|
|
168
172
|
*SportsManagerApi* | [**updateSport**](docs/SportsManagerApi.md#updatesport) | **PUT** /api/sports/{id} |
|
|
@@ -255,12 +259,16 @@ Class | Method | HTTP request | Description
|
|
|
255
259
|
- [CheckInEventParticipantsRequest](docs/CheckInEventParticipantsRequest.md)
|
|
256
260
|
- [CheckInPlayersRequest](docs/CheckInPlayersRequest.md)
|
|
257
261
|
- [CheckInPlayersResponse](docs/CheckInPlayersResponse.md)
|
|
262
|
+
- [CheckTeamNameAvailability200Response](docs/CheckTeamNameAvailability200Response.md)
|
|
258
263
|
- [CheckedInPlayer](docs/CheckedInPlayer.md)
|
|
259
264
|
- [ClientFullOnboardingResponse](docs/ClientFullOnboardingResponse.md)
|
|
260
265
|
- [ClientFullOnboardingResponseClub](docs/ClientFullOnboardingResponseClub.md)
|
|
261
266
|
- [ClientOnboardingRequestBody](docs/ClientOnboardingRequestBody.md)
|
|
262
267
|
- [ClientRegister201Response](docs/ClientRegister201Response.md)
|
|
263
268
|
- [ClientRegisterRequest](docs/ClientRegisterRequest.md)
|
|
269
|
+
- [ClientSubscription](docs/ClientSubscription.md)
|
|
270
|
+
- [ClientSubscriptionItem](docs/ClientSubscriptionItem.md)
|
|
271
|
+
- [ClientSubscriptionsResponse](docs/ClientSubscriptionsResponse.md)
|
|
264
272
|
- [ClubDaySchedule](docs/ClubDaySchedule.md)
|
|
265
273
|
- [ClubEvent](docs/ClubEvent.md)
|
|
266
274
|
- [ClubGeneralSettingsResponse](docs/ClubGeneralSettingsResponse.md)
|
|
@@ -325,10 +333,14 @@ Class | Method | HTTP request | Description
|
|
|
325
333
|
- [DeleteSportResponse](docs/DeleteSportResponse.md)
|
|
326
334
|
- [DeleteSubscriptionPlanResponse](docs/DeleteSubscriptionPlanResponse.md)
|
|
327
335
|
- [DiscountType](docs/DiscountType.md)
|
|
336
|
+
- [EstimateEventPrice200Response](docs/EstimateEventPrice200Response.md)
|
|
337
|
+
- [EstimateEventPriceRequest](docs/EstimateEventPriceRequest.md)
|
|
338
|
+
- [EstimateEventPriceRequestSharesInner](docs/EstimateEventPriceRequestSharesInner.md)
|
|
328
339
|
- [EventConflictCheckRequest](docs/EventConflictCheckRequest.md)
|
|
329
340
|
- [EventConflictCheckResponse](docs/EventConflictCheckResponse.md)
|
|
330
341
|
- [EventResponse](docs/EventResponse.md)
|
|
331
342
|
- [EventSponsor](docs/EventSponsor.md)
|
|
343
|
+
- [EventUser](docs/EventUser.md)
|
|
332
344
|
- [EventsListResponse](docs/EventsListResponse.md)
|
|
333
345
|
- [FavoriteClubMutationResponse](docs/FavoriteClubMutationResponse.md)
|
|
334
346
|
- [FavoriteClubRequestBody](docs/FavoriteClubRequestBody.md)
|
|
@@ -355,11 +367,18 @@ Class | Method | HTTP request | Description
|
|
|
355
367
|
- [IUserAttributes](docs/IUserAttributes.md)
|
|
356
368
|
- [IUserAttributesOrganizationsInner](docs/IUserAttributesOrganizationsInner.md)
|
|
357
369
|
- [IUserLocation](docs/IUserLocation.md)
|
|
370
|
+
- [ImageCleanupItem](docs/ImageCleanupItem.md)
|
|
371
|
+
- [ImageCleanupRequestBody](docs/ImageCleanupRequestBody.md)
|
|
372
|
+
- [ImageCleanupResponse](docs/ImageCleanupResponse.md)
|
|
373
|
+
- [ImageContext](docs/ImageContext.md)
|
|
374
|
+
- [ImageContextType](docs/ImageContextType.md)
|
|
375
|
+
- [ImageReferencePayload](docs/ImageReferencePayload.md)
|
|
358
376
|
- [InvoiceInfo](docs/InvoiceInfo.md)
|
|
359
377
|
- [InvoiceStatus](docs/InvoiceStatus.md)
|
|
360
378
|
- [JoinEventRequest](docs/JoinEventRequest.md)
|
|
361
379
|
- [JoinEventRequestPlayersPaymentMethodsInner](docs/JoinEventRequestPlayersPaymentMethodsInner.md)
|
|
362
380
|
- [JoinEventResponse](docs/JoinEventResponse.md)
|
|
381
|
+
- [JoinEventResponseOnsitePaymentsInner](docs/JoinEventResponseOnsitePaymentsInner.md)
|
|
363
382
|
- [LastSixMonthsTurnoverItem](docs/LastSixMonthsTurnoverItem.md)
|
|
364
383
|
- [LevelBySportEntry](docs/LevelBySportEntry.md)
|
|
365
384
|
- [LoginRequestBody](docs/LoginRequestBody.md)
|
|
@@ -463,6 +482,7 @@ Class | Method | HTTP request | Description
|
|
|
463
482
|
- [TimeBounds](docs/TimeBounds.md)
|
|
464
483
|
- [UpdateActuality200Response](docs/UpdateActuality200Response.md)
|
|
465
484
|
- [UpdateClubGeneralSettingsRequest](docs/UpdateClubGeneralSettingsRequest.md)
|
|
485
|
+
- [UpdateClubGeneralSettingsRequestLogo](docs/UpdateClubGeneralSettingsRequestLogo.md)
|
|
466
486
|
- [UpdateClubHoursSettingsRequest](docs/UpdateClubHoursSettingsRequest.md)
|
|
467
487
|
- [UpdateClubMemberRequest](docs/UpdateClubMemberRequest.md)
|
|
468
488
|
- [UpdateClubPresentationSettingsRequest](docs/UpdateClubPresentationSettingsRequest.md)
|