@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,28 +0,0 @@
|
|
|
1
|
-
# SdkDiagnosticsResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**status** | **string** | Etat de la vérification (\'ok\' si tout s\'est bien passé) | [default to undefined]
|
|
9
|
-
**apiVersion** | **string** | Version courante définie dans package.json | [default to undefined]
|
|
10
|
-
**openapi** | [**SdkDiagnosticsResponseOpenapi**](SdkDiagnosticsResponseOpenapi.md) | | [default to undefined]
|
|
11
|
-
**sdk** | [**SdkDiagnosticsResponseSdk**](SdkDiagnosticsResponseSdk.md) | | [default to undefined]
|
|
12
|
-
**matchesApiVersion** | **boolean** | true si openapi.json et le SDK sont alignés avec la version de l\'API | [default to undefined]
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import { SdkDiagnosticsResponse } from '@tennac-booking/sdk';
|
|
18
|
-
|
|
19
|
-
const instance: SdkDiagnosticsResponse = {
|
|
20
|
-
status,
|
|
21
|
-
apiVersion,
|
|
22
|
-
openapi,
|
|
23
|
-
sdk,
|
|
24
|
-
matchesApiVersion,
|
|
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
|
-
# SdkDiagnosticsResponseOpenapi
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**exists** | **boolean** | | [optional] [default to undefined]
|
|
9
|
-
**version** | **string** | Version trouvée dans openapi.json | [optional] [default to undefined]
|
|
10
|
-
**path** | **string** | Chemin relatif vers openapi.json | [optional] [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { SdkDiagnosticsResponseOpenapi } from '@tennac-booking/sdk';
|
|
16
|
-
|
|
17
|
-
const instance: SdkDiagnosticsResponseOpenapi = {
|
|
18
|
-
exists,
|
|
19
|
-
version,
|
|
20
|
-
path,
|
|
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,24 +0,0 @@
|
|
|
1
|
-
# SdkDiagnosticsResponseSdk
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**exists** | **boolean** | | [optional] [default to undefined]
|
|
9
|
-
**version** | **string** | Version du package SDK généré | [optional] [default to undefined]
|
|
10
|
-
**path** | **string** | Chemin relatif vers sdk/package.json | [optional] [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { SdkDiagnosticsResponseSdk } from '@tennac-booking/sdk';
|
|
16
|
-
|
|
17
|
-
const instance: SdkDiagnosticsResponseSdk = {
|
|
18
|
-
exists,
|
|
19
|
-
version,
|
|
20
|
-
path,
|
|
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)
|
package/docs/Slot.md
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# Slot
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**startDate** | **string** | | [default to undefined]
|
|
9
|
-
**endDate** | **string** | | [default to undefined]
|
|
10
|
-
**courtId** | **string** | | [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { Slot } from '@tennac-booking/sdk';
|
|
16
|
-
|
|
17
|
-
const instance: Slot = {
|
|
18
|
-
startDate,
|
|
19
|
-
endDate,
|
|
20
|
-
courtId,
|
|
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)
|
package/docs/SlotException.md
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# SlotException
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**startDate** | **string** | | [default to undefined]
|
|
9
|
-
**endDate** | **string** | | [default to undefined]
|
|
10
|
-
**courtId** | **string** | | [default to undefined]
|
|
11
|
-
**reason** | **string** | | [default to undefined]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import { SlotException } from '@tennac-booking/sdk';
|
|
17
|
-
|
|
18
|
-
const instance: SlotException = {
|
|
19
|
-
startDate,
|
|
20
|
-
endDate,
|
|
21
|
-
courtId,
|
|
22
|
-
reason,
|
|
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/SlotResponse.md
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# SlotResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**startDate** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**endDate** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**courtId** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**price** | **number** | | [optional] [default to undefined]
|
|
13
|
-
**isOpen** | **boolean** | | [optional] [default to undefined]
|
|
14
|
-
**createdAt** | **string** | | [optional] [default to undefined]
|
|
15
|
-
**updatedAt** | **string** | | [optional] [default to undefined]
|
|
16
|
-
|
|
17
|
-
## Example
|
|
18
|
-
|
|
19
|
-
```typescript
|
|
20
|
-
import { SlotResponse } from '@tennac-booking/sdk';
|
|
21
|
-
|
|
22
|
-
const instance: SlotResponse = {
|
|
23
|
-
id,
|
|
24
|
-
startDate,
|
|
25
|
-
endDate,
|
|
26
|
-
courtId,
|
|
27
|
-
price,
|
|
28
|
-
isOpen,
|
|
29
|
-
createdAt,
|
|
30
|
-
updatedAt,
|
|
31
|
-
};
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
[[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/StaffBookingsApi.md
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
# StaffBookingsApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
4
|
-
|
|
5
|
-
|Method | HTTP request | Description|
|
|
6
|
-
|------------- | ------------- | -------------|
|
|
7
|
-
|[**getBookingByIdStaff**](#getbookingbyidstaff) | **GET** /api/bookings/staff/:bookingId | Récupère une réservation par son ID avec les joueurs et terrains (incluant le sport) peuplés.|
|
|
8
|
-
|
|
9
|
-
# **getBookingByIdStaff**
|
|
10
|
-
> BookingPopulated getBookingByIdStaff()
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
### Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import {
|
|
17
|
-
StaffBookingsApi,
|
|
18
|
-
Configuration
|
|
19
|
-
} from '@tennac-booking/sdk';
|
|
20
|
-
|
|
21
|
-
const configuration = new Configuration();
|
|
22
|
-
const apiInstance = new StaffBookingsApi(configuration);
|
|
23
|
-
|
|
24
|
-
let bookingId: string; //ID de la réservation (default to undefined)
|
|
25
|
-
|
|
26
|
-
const { status, data } = await apiInstance.getBookingByIdStaff(
|
|
27
|
-
bookingId
|
|
28
|
-
);
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
### Parameters
|
|
32
|
-
|
|
33
|
-
|Name | Type | Description | Notes|
|
|
34
|
-
|------------- | ------------- | ------------- | -------------|
|
|
35
|
-
| **bookingId** | [**string**] | ID de la réservation | defaults to undefined|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
### Return type
|
|
39
|
-
|
|
40
|
-
**BookingPopulated**
|
|
41
|
-
|
|
42
|
-
### Authorization
|
|
43
|
-
|
|
44
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
45
|
-
|
|
46
|
-
### HTTP request headers
|
|
47
|
-
|
|
48
|
-
- **Content-Type**: Not defined
|
|
49
|
-
- **Accept**: application/json
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
### HTTP response details
|
|
53
|
-
| Status code | Description | Response headers |
|
|
54
|
-
|-------------|-------------|------------------|
|
|
55
|
-
|**200** | Réservation récupérée avec succès | - |
|
|
56
|
-
|**400** | Requête invalide | - |
|
|
57
|
-
|**401** | Non autorisé | - |
|
|
58
|
-
|**403** | Accès interdit | - |
|
|
59
|
-
|
|
60
|
-
[[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)
|
|
61
|
-
|
|
@@ -1,254 +0,0 @@
|
|
|
1
|
-
# StaffClubAnalyticsApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
4
|
-
|
|
5
|
-
|Method | HTTP request | Description|
|
|
6
|
-
|------------- | ------------- | -------------|
|
|
7
|
-
|[**getClubPlayers**](#getclubplayers) | **GET** /api/analytics/players | Récupère la liste des joueurs du club (données staff uniquement)|
|
|
8
|
-
|[**getGenderPercentage**](#getgenderpercentage) | **GET** /api/analytics/gender | Récupère le pourcentage de joueurs par genre pour le club courant|
|
|
9
|
-
|[**getInfillPercentagePerPeriod**](#getinfillpercentageperperiod) | **GET** /api/analytics/infill-percentage | Taux de remplissage des créneaux pour une période donnée (club courant)|
|
|
10
|
-
|[**getLastSixMonthsTurnover**](#getlastsixmonthsturnover) | **GET** /api/analytics/lastSixMonthsTurnover | Get monthly turnover for the last six months (club courant)|
|
|
11
|
-
|[**getNumberOfClubUsers**](#getnumberofclubusers) | **GET** /api/analytics/user-count | Get number of users subscribed to the club|
|
|
12
|
-
|
|
13
|
-
# **getClubPlayers**
|
|
14
|
-
> Array<UserStaffResponse> getClubPlayers()
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
### Example
|
|
18
|
-
|
|
19
|
-
```typescript
|
|
20
|
-
import {
|
|
21
|
-
StaffClubAnalyticsApi,
|
|
22
|
-
Configuration
|
|
23
|
-
} from '@tennac-booking/sdk';
|
|
24
|
-
|
|
25
|
-
const configuration = new Configuration();
|
|
26
|
-
const apiInstance = new StaffClubAnalyticsApi(configuration);
|
|
27
|
-
|
|
28
|
-
const { status, data } = await apiInstance.getClubPlayers();
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
### Parameters
|
|
32
|
-
This endpoint does not have any parameters.
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
### Return type
|
|
36
|
-
|
|
37
|
-
**Array<UserStaffResponse>**
|
|
38
|
-
|
|
39
|
-
### Authorization
|
|
40
|
-
|
|
41
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
42
|
-
|
|
43
|
-
### HTTP request headers
|
|
44
|
-
|
|
45
|
-
- **Content-Type**: Not defined
|
|
46
|
-
- **Accept**: application/json
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
### HTTP response details
|
|
50
|
-
| Status code | Description | Response headers |
|
|
51
|
-
|-------------|-------------|------------------|
|
|
52
|
-
|**200** | Liste des joueurs du club | - |
|
|
53
|
-
|**500** | Erreur serveur interne | - |
|
|
54
|
-
|
|
55
|
-
[[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)
|
|
56
|
-
|
|
57
|
-
# **getGenderPercentage**
|
|
58
|
-
> GenderPercentage getGenderPercentage()
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
### Example
|
|
62
|
-
|
|
63
|
-
```typescript
|
|
64
|
-
import {
|
|
65
|
-
StaffClubAnalyticsApi,
|
|
66
|
-
Configuration
|
|
67
|
-
} from '@tennac-booking/sdk';
|
|
68
|
-
|
|
69
|
-
const configuration = new Configuration();
|
|
70
|
-
const apiInstance = new StaffClubAnalyticsApi(configuration);
|
|
71
|
-
|
|
72
|
-
const { status, data } = await apiInstance.getGenderPercentage();
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
### Parameters
|
|
76
|
-
This endpoint does not have any parameters.
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
### Return type
|
|
80
|
-
|
|
81
|
-
**GenderPercentage**
|
|
82
|
-
|
|
83
|
-
### Authorization
|
|
84
|
-
|
|
85
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
86
|
-
|
|
87
|
-
### HTTP request headers
|
|
88
|
-
|
|
89
|
-
- **Content-Type**: Not defined
|
|
90
|
-
- **Accept**: application/json
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
### HTTP response details
|
|
94
|
-
| Status code | Description | Response headers |
|
|
95
|
-
|-------------|-------------|------------------|
|
|
96
|
-
|**200** | Pourcentage de joueurs par genre | - |
|
|
97
|
-
|**401** | Non autorisé | - |
|
|
98
|
-
|**403** | Accès interdit | - |
|
|
99
|
-
|**500** | Erreur serveur interne | - |
|
|
100
|
-
|
|
101
|
-
[[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)
|
|
102
|
-
|
|
103
|
-
# **getInfillPercentagePerPeriod**
|
|
104
|
-
> GetInfillPercentagePerPeriod200Response getInfillPercentagePerPeriod()
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
### Example
|
|
108
|
-
|
|
109
|
-
```typescript
|
|
110
|
-
import {
|
|
111
|
-
StaffClubAnalyticsApi,
|
|
112
|
-
Configuration
|
|
113
|
-
} from '@tennac-booking/sdk';
|
|
114
|
-
|
|
115
|
-
const configuration = new Configuration();
|
|
116
|
-
const apiInstance = new StaffClubAnalyticsApi(configuration);
|
|
117
|
-
|
|
118
|
-
let startDate: string; //Date de début (format ISO) (default to undefined)
|
|
119
|
-
let endDate: string; //Date de fin (format ISO) (default to undefined)
|
|
120
|
-
|
|
121
|
-
const { status, data } = await apiInstance.getInfillPercentagePerPeriod(
|
|
122
|
-
startDate,
|
|
123
|
-
endDate
|
|
124
|
-
);
|
|
125
|
-
```
|
|
126
|
-
|
|
127
|
-
### Parameters
|
|
128
|
-
|
|
129
|
-
|Name | Type | Description | Notes|
|
|
130
|
-
|------------- | ------------- | ------------- | -------------|
|
|
131
|
-
| **startDate** | [**string**] | Date de début (format ISO) | defaults to undefined|
|
|
132
|
-
| **endDate** | [**string**] | Date de fin (format ISO) | defaults to undefined|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
### Return type
|
|
136
|
-
|
|
137
|
-
**GetInfillPercentagePerPeriod200Response**
|
|
138
|
-
|
|
139
|
-
### Authorization
|
|
140
|
-
|
|
141
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
142
|
-
|
|
143
|
-
### HTTP request headers
|
|
144
|
-
|
|
145
|
-
- **Content-Type**: Not defined
|
|
146
|
-
- **Accept**: application/json
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
### HTTP response details
|
|
150
|
-
| Status code | Description | Response headers |
|
|
151
|
-
|-------------|-------------|------------------|
|
|
152
|
-
|**200** | Taux de remplissage calculé | - |
|
|
153
|
-
|**400** | Requête invalide | - |
|
|
154
|
-
|**401** | Non autorisé | - |
|
|
155
|
-
|**403** | Accès interdit | - |
|
|
156
|
-
|**500** | Erreur serveur interne | - |
|
|
157
|
-
|
|
158
|
-
[[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)
|
|
159
|
-
|
|
160
|
-
# **getLastSixMonthsTurnover**
|
|
161
|
-
> Array<GetLastSixMonthsTurnover200ResponseInner> getLastSixMonthsTurnover()
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
### Example
|
|
165
|
-
|
|
166
|
-
```typescript
|
|
167
|
-
import {
|
|
168
|
-
StaffClubAnalyticsApi,
|
|
169
|
-
Configuration
|
|
170
|
-
} from '@tennac-booking/sdk';
|
|
171
|
-
|
|
172
|
-
const configuration = new Configuration();
|
|
173
|
-
const apiInstance = new StaffClubAnalyticsApi(configuration);
|
|
174
|
-
|
|
175
|
-
const { status, data } = await apiInstance.getLastSixMonthsTurnover();
|
|
176
|
-
```
|
|
177
|
-
|
|
178
|
-
### Parameters
|
|
179
|
-
This endpoint does not have any parameters.
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
### Return type
|
|
183
|
-
|
|
184
|
-
**Array<GetLastSixMonthsTurnover200ResponseInner>**
|
|
185
|
-
|
|
186
|
-
### Authorization
|
|
187
|
-
|
|
188
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
189
|
-
|
|
190
|
-
### HTTP request headers
|
|
191
|
-
|
|
192
|
-
- **Content-Type**: Not defined
|
|
193
|
-
- **Accept**: application/json
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
### HTTP response details
|
|
197
|
-
| Status code | Description | Response headers |
|
|
198
|
-
|-------------|-------------|------------------|
|
|
199
|
-
|**200** | Turnover data for the last 6 months | - |
|
|
200
|
-
|**500** | Erreur serveur interne | - |
|
|
201
|
-
|
|
202
|
-
[[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)
|
|
203
|
-
|
|
204
|
-
# **getNumberOfClubUsers**
|
|
205
|
-
> GetNumberOfClubUsers200Response getNumberOfClubUsers()
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
### Example
|
|
209
|
-
|
|
210
|
-
```typescript
|
|
211
|
-
import {
|
|
212
|
-
StaffClubAnalyticsApi,
|
|
213
|
-
Configuration
|
|
214
|
-
} from '@tennac-booking/sdk';
|
|
215
|
-
|
|
216
|
-
const configuration = new Configuration();
|
|
217
|
-
const apiInstance = new StaffClubAnalyticsApi(configuration);
|
|
218
|
-
|
|
219
|
-
let id: string; //ID du club (optionnel, si absent, pris depuis le token) (optional) (default to undefined)
|
|
220
|
-
|
|
221
|
-
const { status, data } = await apiInstance.getNumberOfClubUsers(
|
|
222
|
-
id
|
|
223
|
-
);
|
|
224
|
-
```
|
|
225
|
-
|
|
226
|
-
### Parameters
|
|
227
|
-
|
|
228
|
-
|Name | Type | Description | Notes|
|
|
229
|
-
|------------- | ------------- | ------------- | -------------|
|
|
230
|
-
| **id** | [**string**] | ID du club (optionnel, si absent, pris depuis le token) | (optional) defaults to undefined|
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
### Return type
|
|
234
|
-
|
|
235
|
-
**GetNumberOfClubUsers200Response**
|
|
236
|
-
|
|
237
|
-
### Authorization
|
|
238
|
-
|
|
239
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
240
|
-
|
|
241
|
-
### HTTP request headers
|
|
242
|
-
|
|
243
|
-
- **Content-Type**: Not defined
|
|
244
|
-
- **Accept**: application/json
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
### HTTP response details
|
|
248
|
-
| Status code | Description | Response headers |
|
|
249
|
-
|-------------|-------------|------------------|
|
|
250
|
-
|**200** | Number of subscribed users | - |
|
|
251
|
-
|**500** | Erreur serveur interne | - |
|
|
252
|
-
|
|
253
|
-
[[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)
|
|
254
|
-
|
package/docs/StripeLink.md
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# StripeLink
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**clubId** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**clubPicture** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**clubName** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**portalUrl** | **string** | | [optional] [default to undefined]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import { StripeLink } from '@tennac-booking/sdk';
|
|
17
|
-
|
|
18
|
-
const instance: StripeLink = {
|
|
19
|
-
clubId,
|
|
20
|
-
clubPicture,
|
|
21
|
-
clubName,
|
|
22
|
-
portalUrl,
|
|
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/StripeStatus.md
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# StripeStatus
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Enum
|
|
5
|
-
|
|
6
|
-
* `Pending` (value: `'pending'`)
|
|
7
|
-
|
|
8
|
-
* `Paid` (value: `'paid'`)
|
|
9
|
-
|
|
10
|
-
* `Failed` (value: `'failed'`)
|
|
11
|
-
|
|
12
|
-
* `Refunded` (value: `'refunded'`)
|
|
13
|
-
|
|
14
|
-
* `Canceled` (value: `'canceled'`)
|
|
15
|
-
|
|
16
|
-
[[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/SubscriptionPlan.md
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# SubscriptionPlan
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**stripeProductId** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**name** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**description** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**clubId** | **string** | | [optional] [default to undefined]
|
|
13
|
-
**isActive** | **boolean** | | [optional] [default to undefined]
|
|
14
|
-
**createdAt** | **string** | | [optional] [default to undefined]
|
|
15
|
-
**updatedAt** | **string** | | [optional] [default to undefined]
|
|
16
|
-
**prices** | [**Array<PriceResponse>**](PriceResponse.md) | | [optional] [default to undefined]
|
|
17
|
-
|
|
18
|
-
## Example
|
|
19
|
-
|
|
20
|
-
```typescript
|
|
21
|
-
import { SubscriptionPlan } from '@tennac-booking/sdk';
|
|
22
|
-
|
|
23
|
-
const instance: SubscriptionPlan = {
|
|
24
|
-
id,
|
|
25
|
-
stripeProductId,
|
|
26
|
-
name,
|
|
27
|
-
description,
|
|
28
|
-
clubId,
|
|
29
|
-
isActive,
|
|
30
|
-
createdAt,
|
|
31
|
-
updatedAt,
|
|
32
|
-
prices,
|
|
33
|
-
};
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
[[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,36 +0,0 @@
|
|
|
1
|
-
# SubscriptionResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | ID de l\'abonnement | [optional] [default to undefined]
|
|
9
|
-
**userId** | **string** | ID de l\'utilisateur | [optional] [default to undefined]
|
|
10
|
-
**clubId** | **string** | ID du club | [optional] [default to undefined]
|
|
11
|
-
**stripeSubscriptionId** | **string** | ID de l\'abonnement Stripe | [optional] [default to undefined]
|
|
12
|
-
**status** | **string** | Statut de l\'abonnement | [optional] [default to undefined]
|
|
13
|
-
**currentPeriodStart** | **string** | Début de la période courante | [optional] [default to undefined]
|
|
14
|
-
**currentPeriodEnd** | **string** | Fin de la période courante | [optional] [default to undefined]
|
|
15
|
-
**createdAt** | **string** | | [optional] [default to undefined]
|
|
16
|
-
**updatedAt** | **string** | | [optional] [default to undefined]
|
|
17
|
-
|
|
18
|
-
## Example
|
|
19
|
-
|
|
20
|
-
```typescript
|
|
21
|
-
import { SubscriptionResponse } from '@tennac-booking/sdk';
|
|
22
|
-
|
|
23
|
-
const instance: SubscriptionResponse = {
|
|
24
|
-
id,
|
|
25
|
-
userId,
|
|
26
|
-
clubId,
|
|
27
|
-
stripeSubscriptionId,
|
|
28
|
-
status,
|
|
29
|
-
currentPeriodStart,
|
|
30
|
-
currentPeriodEnd,
|
|
31
|
-
createdAt,
|
|
32
|
-
updatedAt,
|
|
33
|
-
};
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
[[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
|
-
# UpdateClubRoleRequestBody
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**name** | **string** | Nouveau nom du rôle (optionnel) | [optional] [default to undefined]
|
|
9
|
-
**description** | **string** | Nouvelle description du rôle (optionnel) | [optional] [default to undefined]
|
|
10
|
-
**permissions** | **Array<string>** | Nouvelle liste de permissions (optionnel) | [optional] [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { UpdateClubRoleRequestBody } from '@tennac-booking/sdk';
|
|
16
|
-
|
|
17
|
-
const instance: UpdateClubRoleRequestBody = {
|
|
18
|
-
name,
|
|
19
|
-
description,
|
|
20
|
-
permissions,
|
|
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,38 +0,0 @@
|
|
|
1
|
-
# UpdateCourtRequest
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**name** | **string** | Nom du terrain | [default to undefined]
|
|
9
|
-
**status** | **string** | Statut du terrain | [default to undefined]
|
|
10
|
-
**comments** | **string** | Commentaires sur le terrain | [optional] [default to undefined]
|
|
11
|
-
**slotDefaultDuration** | **number** | Durée par défaut d’un créneau (en minutes) | [default to undefined]
|
|
12
|
-
**pricePerHourInCents** | **number** | Prix par créneau en centimes | [optional] [default to undefined]
|
|
13
|
-
**startTimeInTheDayInMinutes** | **number** | Heure de début (minutes depuis minuit) | [default to undefined]
|
|
14
|
-
**endTimeInTheDayInMinutes** | **number** | Heure de fin (minutes depuis minuit) | [default to undefined]
|
|
15
|
-
**sportId** | **string** | ID du sport associé | [default to undefined]
|
|
16
|
-
**surface** | **string** | Type de surface | [default to undefined]
|
|
17
|
-
**isIndoor** | **boolean** | Terrain intérieur ou extérieur | [default to undefined]
|
|
18
|
-
|
|
19
|
-
## Example
|
|
20
|
-
|
|
21
|
-
```typescript
|
|
22
|
-
import { UpdateCourtRequest } from '@tennac-booking/sdk';
|
|
23
|
-
|
|
24
|
-
const instance: UpdateCourtRequest = {
|
|
25
|
-
name,
|
|
26
|
-
status,
|
|
27
|
-
comments,
|
|
28
|
-
slotDefaultDuration,
|
|
29
|
-
pricePerHourInCents,
|
|
30
|
-
startTimeInTheDayInMinutes,
|
|
31
|
-
endTimeInTheDayInMinutes,
|
|
32
|
-
sportId,
|
|
33
|
-
surface,
|
|
34
|
-
isIndoor,
|
|
35
|
-
};
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
[[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
|
-
# UpdateProfilePictureRequestBody
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**profilePicture** | **string** | URL distante de la photo de profil (AWS/GCP) | [default to undefined]
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
import { UpdateProfilePictureRequestBody } from '@tennac-booking/sdk';
|
|
14
|
-
|
|
15
|
-
const instance: UpdateProfilePictureRequestBody = {
|
|
16
|
-
profilePicture,
|
|
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)
|