@tennac-booking/sdk 1.0.55 → 1.0.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +217 -222
- package/README.md +199 -173
- package/api.ts +8275 -7164
- package/base.ts +3 -3
- package/common.ts +3 -3
- package/configuration.ts +3 -3
- package/dist/api.d.ts +5952 -5687
- package/dist/api.js +4344 -3312
- package/dist/base.d.ts +3 -3
- package/dist/base.js +3 -3
- package/dist/common.d.ts +3 -3
- package/dist/common.js +3 -3
- package/dist/configuration.d.ts +3 -3
- package/dist/configuration.js +3 -3
- package/dist/esm/api.d.ts +5952 -5687
- package/dist/esm/api.js +4251 -3215
- package/dist/esm/base.d.ts +3 -3
- package/dist/esm/base.js +3 -3
- package/dist/esm/common.d.ts +3 -3
- package/dist/esm/common.js +3 -3
- package/dist/esm/configuration.d.ts +3 -3
- package/dist/esm/configuration.js +3 -3
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/index.js +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/docs/{ApiErrorResponse.md → AddClubMember201Response.md} +6 -6
- package/docs/AddClubMemberRequest.md +7 -3
- package/docs/BookingAnalyticsResponse.md +34 -0
- package/docs/BookingHistory.md +34 -0
- package/docs/BookingInfo.md +50 -0
- package/docs/BookingPaymentStatusResponse.md +3 -3
- package/docs/BookingPaymentStatusResponseBooking.md +8 -7
- package/docs/BookingPaymentStatusResponseSummary.md +10 -9
- package/docs/BookingPopulated.md +5 -5
- package/docs/BookingResponse.md +4 -4
- package/docs/{UpdateProfileVisibilityRequestBody.md → BookingResponseOnsitePaymentsInner.md} +7 -5
- package/docs/BookingStatus.md +9 -1
- package/docs/BookingsApi.md +10 -64
- package/docs/{ManagerBookingsApi.md → BookingsManagerApi.md} +14 -24
- package/docs/BookingsStaffApi.md +323 -0
- package/docs/{UserBookingsApi.md → BookingsUserApi.md} +17 -25
- package/docs/CancelBookingResponse.md +2 -2
- package/docs/CaptureResult.md +30 -0
- package/docs/CheckInPlayersRequest.md +20 -0
- package/docs/CheckInPlayersResponse.md +6 -6
- package/docs/CheckedInPlayer.md +34 -0
- package/docs/ClubAnalyticsApi.md +20 -160
- package/docs/ClubAnalyticsStaffApi.md +523 -0
- package/docs/ClubMemberResponse.md +24 -0
- package/docs/ClubMemberResponseUser.md +27 -0
- package/docs/ClubPlayerResponse.md +36 -0
- package/docs/ClubResponse.md +22 -14
- package/docs/ClubResponseCreatedAt.md +19 -0
- package/docs/{Location.md → ClubResponseLocation.md} +9 -12
- package/docs/{GetNumberOfClubUsers200Response.md → ClubResponseLocationCoordinates.md} +7 -5
- package/docs/ClubResponseUpdatedAt.md +19 -0
- package/docs/ClubRoleResponse.md +11 -9
- package/docs/ClubRolesManagerApi.md +177 -0
- package/docs/{StaffClubsApi.md → ClubRolesStaffApi.md} +41 -34
- package/docs/ClubSettingsManagerApi.md +221 -0
- package/docs/ClubSettingsResponse.md +41 -0
- package/docs/{AddFavoriteClubRequestBody.md → ClubUserCountResponse.md} +5 -5
- package/docs/ClubsApi.md +515 -8
- package/docs/ClubsManagerApi.md +950 -0
- package/docs/{ManagerClubsApi.md → ClubsStaffApi.md} +138 -62
- package/docs/CourtInfo.md +28 -0
- package/docs/CourtResponse.md +16 -16
- package/docs/CourtStatus.md +2 -5
- package/docs/CreateBookingRequest.md +1 -3
- package/docs/CreateClubRequest.md +22 -0
- package/docs/CreateClubRoleRequest.md +24 -0
- package/docs/CreateClubSettingsRequest.md +34 -0
- package/docs/{ActiveClubListResponse.md → CreateCourtForClub201Response.md} +5 -5
- package/docs/CreateCourtRequest.md +10 -12
- package/docs/CreateEventRequest.md +1 -3
- package/docs/{SubscriptionSessionRequestBody.md → CreatePlan201Response.md} +5 -5
- package/docs/CreateSportForClub201Response.md +20 -0
- package/docs/{Sport.md → CreateSportForClubRequest.md} +4 -6
- package/docs/CreateSportRequest.md +1 -7
- package/docs/CreateSubscriptionPlanRequest.md +12 -4
- package/docs/CreateSubscriptionPlanRequestDiscount.md +32 -0
- package/docs/CreatorChargeResult.md +26 -0
- package/docs/DailyTurnoverResponse.md +3 -3
- package/docs/DefaultApi.md +62 -0
- package/docs/{CourtDeleteResponse.md → DeleteClubRoleResponse.md} +4 -4
- package/docs/DeleteClubSettingsResponse.md +20 -0
- package/docs/{DeleteSport200Response.md → DeleteCourtResponse.md} +4 -4
- package/docs/{DeleteEvent200Response.md → DeleteEventResponse.md} +4 -4
- package/docs/DeleteSlotsByClubInRange200Response.md +1 -1
- package/docs/{DeleteClubRole200Response.md → DeleteSportResponse.md} +4 -4
- package/docs/DeleteSubscriptionPlanResponse.md +20 -0
- package/docs/{StripeStatus.md → DiscountType.md} +5 -7
- package/docs/EventResponse.md +40 -0
- package/docs/EventResponseCourtsInner.md +18 -0
- package/docs/EventsApi.md +21 -21
- package/docs/{StaffEventResponse.md → EventsListResponse.md} +4 -4
- package/docs/{ManagerEventsApi.md → EventsManagerApi.md} +38 -40
- package/docs/{StaffEventsApi.md → EventsStaffApi.md} +11 -10
- package/docs/{GenderPercentage.md → GenderPercentageResponse.md} +7 -7
- package/docs/GetActualities200Response.md +20 -0
- package/docs/GetAvailableSlotsBySports200Response.md +20 -0
- package/docs/{ClubMembersResponse.md → GetClubMembers200Response.md} +6 -6
- package/docs/GetClubRoles200Response.md +20 -0
- package/docs/GetClubUsersById200Response.md +1 -1
- package/docs/GetCourtsByClubAndSportById200Response.md +26 -0
- package/docs/GetInfillPercentagePerPeriod200Response.md +5 -5
- package/docs/{SlotsResponse.md → GetSlotsByClubById200Response.md} +6 -6
- package/docs/GetSportsByClubById200Response.md +20 -0
- package/docs/{Court.md → ICourtData.md} +18 -6
- package/docs/{DiagnosticsResponse.md → InvoiceInfo.md} +8 -8
- package/docs/{ClubListResponse.md → LastSixMonthsTurnoverItem.md} +7 -7
- package/docs/ManagerCancelBookingRequest.md +1 -1
- package/docs/ManagerCancelBookingResponse.md +2 -2
- package/docs/MonthlyBreakdown.md +24 -0
- package/docs/MonthlyTurnoverResponse.md +6 -5
- package/docs/NoShowFeeResponse.md +6 -6
- package/docs/OffPeakRule.md +26 -0
- package/docs/PartialClubResponse.md +49 -0
- package/docs/PaymentByPlayerInfo.md +22 -0
- package/docs/PaymentMethod.md +2 -1
- package/docs/PlanInterval.md +14 -0
- package/docs/PlayerPaymentInfo.md +36 -0
- package/docs/PublicSubscriptionPlanResponse.md +30 -0
- package/docs/PublishEventResponse.md +20 -0
- package/docs/SlotInfo.md +26 -0
- package/docs/SportAnalyticsResponse.md +24 -0
- package/docs/SportInfo.md +22 -0
- package/docs/SportResponse.md +8 -11
- package/docs/SportWithAnalytics.md +36 -0
- package/docs/SportsManagerApi.md +177 -0
- package/docs/SportsStaffApi.md +55 -0
- package/docs/StripeStripeDeletedProduct.md +25 -0
- package/docs/StripeStripePrice.md +63 -0
- package/docs/StripeStripePriceBillingScheme.md +10 -0
- package/docs/StripeStripePriceCurrencyOptions.md +28 -0
- package/docs/StripeStripePriceCurrencyOptionsCustomUnitAmount.md +24 -0
- package/docs/StripeStripePriceCurrencyOptionsTaxBehavior.md +12 -0
- package/docs/StripeStripePriceCurrencyOptionsTier.md +28 -0
- package/docs/StripeStripePriceCustomUnitAmount.md +24 -0
- package/docs/StripeStripePriceProduct.md +59 -0
- package/docs/StripeStripePriceRecurring.md +28 -0
- package/docs/StripeStripePriceRecurringInterval.md +14 -0
- package/docs/StripeStripePriceRecurringUsageType.md +10 -0
- package/docs/StripeStripePriceTaxBehavior.md +12 -0
- package/docs/StripeStripePriceTier.md +28 -0
- package/docs/StripeStripePriceTiersMode.md +10 -0
- package/docs/StripeStripePriceTransformQuantity.md +22 -0
- package/docs/StripeStripePriceTransformQuantityRound.md +10 -0
- package/docs/StripeStripePriceType.md +10 -0
- package/docs/StripeStripeProduct.md +59 -0
- package/docs/StripeStripeProductDefaultPrice.md +63 -0
- package/docs/{AddPaymentMethodSetupRequestBody.md → StripeStripeProductMarketingFeature.md} +5 -5
- package/docs/StripeStripeProductPackageDimensions.md +26 -0
- package/docs/StripeStripeProductTaxCode.md +27 -0
- package/docs/StripeStripeProductType.md +10 -0
- package/docs/StripeStripeResponseStripeStripePrice.md +64 -0
- package/docs/StripeStripeResponseStripeStripePriceAllOfLastResponse.md +30 -0
- package/docs/StripeStripeTaxCode.md +27 -0
- package/docs/{SubscribeToClubRequestBody.md → SubscribeRequestBody.md} +3 -3
- package/docs/SubscriptionPlanResponse.md +16 -14
- package/docs/SubscriptionsManagerApi.md +171 -0
- package/docs/{UserClubSportsApi.md → SubscriptionsPublicApi.md} +15 -15
- package/docs/{StaffClubBookingsApi.md → SubscriptionsStaffApi.md} +12 -10
- package/docs/{ManagerClubCourtsApi.md → SubscriptionsUserApi.md} +68 -66
- package/docs/SurfaceType.md +12 -0
- package/docs/UpdateActuality200Response.md +20 -0
- package/docs/UpdateClubRequest.md +11 -11
- package/docs/UpdateClubRequestLocation.md +29 -0
- package/docs/{BookingPopulatedSlotIdCourtIdSportId.md → UpdateClubRequestLocationCoordinates.md} +7 -7
- package/docs/UpdateClubRoleRequest.md +22 -0
- package/docs/UpdateClubSettingsRequest.md +14 -10
- package/docs/{FrequentlyVisitedClubItem.md → UpdatePlanRequest.md} +7 -7
- package/docs/UpdateSportRequest.md +1 -5
- package/docs/UpdateSubscriptionPlanForClub200Response.md +20 -0
- package/docs/{BookingPopulatedUserId.md → UserInfo.md} +6 -6
- package/docs/UsersApi.md +27 -378
- package/docs/YearlyTurnoverResponse.md +4 -4
- package/index.ts +3 -3
- package/package.json +1 -1
- package/docs/ActiveClub.md +0 -30
- package/docs/AddClubMemberResponse.md +0 -22
- package/docs/AddPaymentMethodSetupResponse.md +0 -24
- package/docs/BlockSlotResponse.md +0 -22
- package/docs/Booking.md +0 -32
- package/docs/BookingHistoryResponse.md +0 -22
- package/docs/BookingHistoryResponseHistoryInner.md +0 -32
- package/docs/BookingPaymentStatusResponsePaymentStatusInner.md +0 -36
- package/docs/BookingPopulatedPaymentByPlayersStatusInner.md +0 -22
- package/docs/BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner.md +0 -24
- package/docs/BookingPopulatedSlotId.md +0 -26
- package/docs/BookingPopulatedSlotIdCourtId.md +0 -28
- package/docs/BookingsStaffWeeklyWeekIdGet200Response.md +0 -20
- package/docs/CancelBookingResponseBooking.md +0 -30
- package/docs/CheckInPlayersResponseCheckedInPlayersInner.md +0 -34
- package/docs/Club.md +0 -40
- package/docs/ClubInfoResponse.md +0 -48
- package/docs/ClubMember.md +0 -24
- package/docs/ClubRole.md +0 -30
- package/docs/ClubRolesResponse.md +0 -22
- package/docs/ClubSettings.md +0 -40
- package/docs/ClubStaffResponse.md +0 -48
- package/docs/ConfirmPaymentMethodSetupRequestBody.md +0 -20
- package/docs/ConfirmPaymentMethodSetupResponse.md +0 -22
- package/docs/CourtWithNameResponse.md +0 -48
- package/docs/CourtsResponse.md +0 -22
- package/docs/CourtsWithNameResponse.md +0 -22
- package/docs/CreateClubRoleRequestBody.md +0 -24
- package/docs/CreatePriceRequest.md +0 -26
- package/docs/DiagnosticsApi.md +0 -97
- package/docs/Event.md +0 -40
- package/docs/EventBooking.md +0 -32
- package/docs/EventRegistrationRequest.md +0 -22
- package/docs/FrequentlyPlayedWithItem.md +0 -28
- package/docs/GetActiveClubs200Response.md +0 -20
- package/docs/GetClubInfos200Response.md +0 -30
- package/docs/GetCourtsByClubAndSport200Response.md +0 -26
- package/docs/GetLastSixMonthsTurnover200ResponseInner.md +0 -22
- package/docs/GetPublishedEventsByClubId200Response.md +0 -20
- package/docs/InvoicesResponse.md +0 -22
- package/docs/InvoicesResponseInvoicesInner.md +0 -34
- package/docs/InvoicesResponsePagination.md +0 -26
- package/docs/LevelBySportsItem.md +0 -22
- package/docs/ManagerCancelBookingResponseBooking.md +0 -30
- package/docs/ManagerClubRolesApi.md +0 -268
- package/docs/ManagerClubSlotsApi.md +0 -119
- package/docs/ManagerClubSubscriptionsApi.md +0 -387
- package/docs/ManagerEventResponse.md +0 -22
- package/docs/ManagerSportsApi.md +0 -119
- package/docs/NoShowFeeResponseCaptureResultsInner.md +0 -30
- package/docs/NoShowFeeResponseCreatorChargeResult.md +0 -26
- package/docs/PaymentStatus.md +0 -30
- package/docs/PriceResponse.md +0 -32
- package/docs/PublicClubUser.md +0 -46
- package/docs/PublicClubUserFrequentlyPlayedWithInner.md +0 -28
- package/docs/PublicClubUserFrequentlyVisitedClubsInner.md +0 -24
- package/docs/PublicClubUserLevelBySportsInner.md +0 -22
- package/docs/RegisterForEvent201Response.md +0 -20
- package/docs/RestoreSubscriptionPlanForClub200Response.md +0 -20
- package/docs/SdkDiagnosticsResponse.md +0 -28
- package/docs/SdkDiagnosticsResponseOpenapi.md +0 -24
- package/docs/SdkDiagnosticsResponseSdk.md +0 -24
- package/docs/Slot.md +0 -24
- package/docs/SlotException.md +0 -26
- package/docs/SlotResponse.md +0 -34
- package/docs/StaffBookingsApi.md +0 -61
- package/docs/StaffClubAnalyticsApi.md +0 -254
- package/docs/StripeLink.md +0 -26
- package/docs/SubscriptionPlan.md +0 -36
- package/docs/SubscriptionResponse.md +0 -36
- package/docs/SubscriptionSessionResponse.md +0 -20
- package/docs/UpdateClubRoleRequestBody.md +0 -24
- package/docs/UpdateCourtRequest.md +0 -38
- package/docs/UpdateProfilePictureRequestBody.md +0 -20
- package/docs/UpdateSubscriptionPlanRequest.md +0 -24
- package/docs/UpdateSubscriptionPlanResponse.md +0 -22
- package/docs/UpdateUserCityRequestBody.md +0 -20
- package/docs/UpdateUserDescriptionRequestBody.md +0 -20
- package/docs/UserBookingItem.md +0 -46
- package/docs/UserClubCourtsApi.md +0 -64
- package/docs/UserClubSlotsApi.md +0 -181
- package/docs/UserClubsApi.md +0 -145
- package/docs/UserInfoStaff.md +0 -38
- package/docs/UserStaffResponse.md +0 -40
- package/docs/YearlyTurnoverResponseMonthlyBreakdownInner.md +0 -24
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**message** | **string** |
|
|
9
|
-
**totalExpected** | **number** |
|
|
10
|
-
**totalCaptured** | **number** |
|
|
11
|
-
**missingAmount** | **number** |
|
|
12
|
-
**captureResults** | [**Array<
|
|
13
|
-
**creatorChargeResult** | [**
|
|
8
|
+
**message** | **string** | Message de confirmation | [default to undefined]
|
|
9
|
+
**totalExpected** | **number** | Montant total attendu | [default to undefined]
|
|
10
|
+
**totalCaptured** | **number** | Montant total capturé | [default to undefined]
|
|
11
|
+
**missingAmount** | **number** | Montant manquant | [default to undefined]
|
|
12
|
+
**captureResults** | [**Array<CaptureResult>**](CaptureResult.md) | Résultats des captures | [default to undefined]
|
|
13
|
+
**creatorChargeResult** | [**CreatorChargeResult**](CreatorChargeResult.md) | | [optional] [default to undefined]
|
|
14
14
|
|
|
15
15
|
## Example
|
|
16
16
|
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# OffPeakRule
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**percentage** | **number** | | [default to undefined]
|
|
9
|
+
**endHour** | **number** | | [default to undefined]
|
|
10
|
+
**startHour** | **number** | | [default to undefined]
|
|
11
|
+
**dayOfWeek** | **number** | | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { OffPeakRule } from '@tennac-booking/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: OffPeakRule = {
|
|
19
|
+
percentage,
|
|
20
|
+
endHour,
|
|
21
|
+
startHour,
|
|
22
|
+
dayOfWeek,
|
|
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)
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# PartialClubResponse
|
|
2
|
+
|
|
3
|
+
Make all properties in T optional
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **string** | ID unique du club | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | Nom du club | [optional] [default to undefined]
|
|
11
|
+
**websiteUrl** | **string** | URL du site web du club | [optional] [default to undefined]
|
|
12
|
+
**description** | **string** | Description du club | [optional] [default to undefined]
|
|
13
|
+
**email** | **string** | Email du club | [optional] [default to undefined]
|
|
14
|
+
**phone** | **string** | Téléphone du club | [optional] [default to undefined]
|
|
15
|
+
**picture** | **string** | URL de l\'image du club | [optional] [default to undefined]
|
|
16
|
+
**location** | [**ClubResponseLocation**](ClubResponseLocation.md) | | [optional] [default to undefined]
|
|
17
|
+
**isActive** | **boolean** | Statut d\'activation du club | [optional] [default to undefined]
|
|
18
|
+
**paymentFeature** | **boolean** | Indique si le club utilise la fonctionnalité de paiement | [optional] [default to undefined]
|
|
19
|
+
**stripeAccountId** | **string** | ID du compte Stripe du club | [optional] [default to undefined]
|
|
20
|
+
**clubDashBoardUrl** | **string** | URL du dashboard Stripe du club | [optional] [default to undefined]
|
|
21
|
+
**isNoShowEnabled** | **boolean** | Indique si la fonctionnalité \"no show\" est activée | [optional] [default to undefined]
|
|
22
|
+
**createdAt** | [**ClubResponseCreatedAt**](ClubResponseCreatedAt.md) | | [optional] [default to undefined]
|
|
23
|
+
**updatedAt** | [**ClubResponseUpdatedAt**](ClubResponseUpdatedAt.md) | | [optional] [default to undefined]
|
|
24
|
+
|
|
25
|
+
## Example
|
|
26
|
+
|
|
27
|
+
```typescript
|
|
28
|
+
import { PartialClubResponse } from '@tennac-booking/sdk';
|
|
29
|
+
|
|
30
|
+
const instance: PartialClubResponse = {
|
|
31
|
+
id,
|
|
32
|
+
name,
|
|
33
|
+
websiteUrl,
|
|
34
|
+
description,
|
|
35
|
+
email,
|
|
36
|
+
phone,
|
|
37
|
+
picture,
|
|
38
|
+
location,
|
|
39
|
+
isActive,
|
|
40
|
+
paymentFeature,
|
|
41
|
+
stripeAccountId,
|
|
42
|
+
clubDashBoardUrl,
|
|
43
|
+
isNoShowEnabled,
|
|
44
|
+
createdAt,
|
|
45
|
+
updatedAt,
|
|
46
|
+
};
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# PaymentByPlayerInfo
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**user** | [**UserInfo**](UserInfo.md) | | [default to undefined]
|
|
9
|
+
**invoices** | [**Array<InvoiceInfo>**](InvoiceInfo.md) | Liste des factures | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { PaymentByPlayerInfo } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: PaymentByPlayerInfo = {
|
|
17
|
+
user,
|
|
18
|
+
invoices,
|
|
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)
|
package/docs/PaymentMethod.md
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
# PaymentMethod
|
|
2
2
|
|
|
3
|
-
Méthode de paiement
|
|
4
3
|
|
|
5
4
|
## Enum
|
|
6
5
|
|
|
@@ -8,4 +7,6 @@ Méthode de paiement
|
|
|
8
7
|
|
|
9
8
|
* `Onsite` (value: `'onsite'`)
|
|
10
9
|
|
|
10
|
+
* `Free` (value: `'free'`)
|
|
11
|
+
|
|
11
12
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# PlanInterval
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Enum
|
|
5
|
+
|
|
6
|
+
* `Monthly` (value: `'monthly'`)
|
|
7
|
+
|
|
8
|
+
* `Yearly` (value: `'yearly'`)
|
|
9
|
+
|
|
10
|
+
* `Trimester` (value: `'trimester'`)
|
|
11
|
+
|
|
12
|
+
* `Semester` (value: `'semester'`)
|
|
13
|
+
|
|
14
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# PlayerPaymentInfo
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**playerId** | **string** | ID du joueur | [default to undefined]
|
|
9
|
+
**playerName** | **string** | Nom du joueur | [default to undefined]
|
|
10
|
+
**playerEmail** | **string** | Email du joueur | [default to undefined]
|
|
11
|
+
**amount** | **number** | Montant à payer | [default to undefined]
|
|
12
|
+
**paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [default to undefined]
|
|
13
|
+
**status** | **string** | Statut de la facture | [default to undefined]
|
|
14
|
+
**accepted** | **boolean** | Facture acceptée | [default to undefined]
|
|
15
|
+
**hasPaid** | **boolean** | A déjà payé | [default to undefined]
|
|
16
|
+
**needsCheckIn** | **boolean** | Nécessite un check-in | [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { PlayerPaymentInfo } from '@tennac-booking/sdk';
|
|
22
|
+
|
|
23
|
+
const instance: PlayerPaymentInfo = {
|
|
24
|
+
playerId,
|
|
25
|
+
playerName,
|
|
26
|
+
playerEmail,
|
|
27
|
+
amount,
|
|
28
|
+
paymentMethod,
|
|
29
|
+
status,
|
|
30
|
+
accepted,
|
|
31
|
+
hasPaid,
|
|
32
|
+
needsCheckIn,
|
|
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)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# PublicSubscriptionPlanResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**priceId** | **string** | | [default to undefined]
|
|
9
|
+
**name** | **string** | | [default to undefined]
|
|
10
|
+
**amountInCents** | **number** | | [default to undefined]
|
|
11
|
+
**currency** | **string** | | [default to undefined]
|
|
12
|
+
**interval** | [**PlanInterval**](PlanInterval.md) | | [optional] [default to undefined]
|
|
13
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { PublicSubscriptionPlanResponse } from '@tennac-booking/sdk';
|
|
19
|
+
|
|
20
|
+
const instance: PublicSubscriptionPlanResponse = {
|
|
21
|
+
priceId,
|
|
22
|
+
name,
|
|
23
|
+
amountInCents,
|
|
24
|
+
currency,
|
|
25
|
+
interval,
|
|
26
|
+
description,
|
|
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)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# PublishEventResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**event** | [**EventResponse**](EventResponse.md) | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { PublishEventResponse } from '@tennac-booking/sdk';
|
|
14
|
+
|
|
15
|
+
const instance: PublishEventResponse = {
|
|
16
|
+
event,
|
|
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)
|
package/docs/SlotInfo.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# SlotInfo
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | ID du slot | [default to undefined]
|
|
9
|
+
**startDate** | **string** | Date de début | [default to undefined]
|
|
10
|
+
**endDate** | **string** | Date de fin | [default to undefined]
|
|
11
|
+
**courtId** | [**CourtInfo**](CourtInfo.md) | | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { SlotInfo } from '@tennac-booking/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: SlotInfo = {
|
|
19
|
+
id,
|
|
20
|
+
startDate,
|
|
21
|
+
endDate,
|
|
22
|
+
courtId,
|
|
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)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# SportAnalyticsResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**sportId** | **string** | ID du sport | [default to undefined]
|
|
9
|
+
**courtsCount** | **number** | Nombre de terrains | [default to undefined]
|
|
10
|
+
**bookingsCount** | **number** | Nombre de réservations | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { SportAnalyticsResponse } from '@tennac-booking/sdk';
|
|
16
|
+
|
|
17
|
+
const instance: SportAnalyticsResponse = {
|
|
18
|
+
sportId,
|
|
19
|
+
courtsCount,
|
|
20
|
+
bookingsCount,
|
|
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)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# SportInfo
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | ID du sport | [default to undefined]
|
|
9
|
+
**key** | **string** | Clé du sport | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { SportInfo } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: SportInfo = {
|
|
17
|
+
id,
|
|
18
|
+
key,
|
|
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)
|
package/docs/SportResponse.md
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
# SportResponse
|
|
2
2
|
|
|
3
|
+
Types TSOA pour les sports - alignés sur la documentation Swagger existante
|
|
3
4
|
|
|
4
5
|
## Properties
|
|
5
6
|
|
|
6
7
|
Name | Type | Description | Notes
|
|
7
8
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** |
|
|
9
|
-
**key** | **string** |
|
|
10
|
-
**name** | **string** |
|
|
11
|
-
**description** | **string** |
|
|
12
|
-
**clubId** | **string** |
|
|
13
|
-
**
|
|
14
|
-
**
|
|
15
|
-
**createdAt** | **string** | | [optional] [default to undefined]
|
|
16
|
-
**updatedAt** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**id** | **string** | ID unique du sport | [default to undefined]
|
|
10
|
+
**key** | **string** | Clé/nom du sport | [default to undefined]
|
|
11
|
+
**name** | **string** | Nom du sport | [optional] [default to undefined]
|
|
12
|
+
**description** | **string** | Description du sport | [optional] [default to undefined]
|
|
13
|
+
**clubId** | **string** | ID du club auquel appartient le sport | [default to undefined]
|
|
14
|
+
**createdAt** | **string** | Date de création | [default to undefined]
|
|
15
|
+
**updatedAt** | **string** | Date de dernière mise à jour | [default to undefined]
|
|
17
16
|
|
|
18
17
|
## Example
|
|
19
18
|
|
|
@@ -26,8 +25,6 @@ const instance: SportResponse = {
|
|
|
26
25
|
name,
|
|
27
26
|
description,
|
|
28
27
|
clubId,
|
|
29
|
-
courtsCount,
|
|
30
|
-
bookingsCount,
|
|
31
28
|
createdAt,
|
|
32
29
|
updatedAt,
|
|
33
30
|
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# SportWithAnalytics
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | ID unique du sport | [default to undefined]
|
|
9
|
+
**key** | **string** | Clé/nom du sport | [default to undefined]
|
|
10
|
+
**name** | **string** | Nom du sport | [optional] [default to undefined]
|
|
11
|
+
**description** | **string** | Description du sport | [optional] [default to undefined]
|
|
12
|
+
**clubId** | **string** | ID du club auquel appartient le sport | [default to undefined]
|
|
13
|
+
**createdAt** | **string** | Date de création | [default to undefined]
|
|
14
|
+
**updatedAt** | **string** | Date de dernière mise à jour | [default to undefined]
|
|
15
|
+
**courtsCount** | **number** | Nombre de terrains pour ce sport | [default to undefined]
|
|
16
|
+
**bookingsCount** | **number** | Nombre de réservations actives/en attente pour ce sport | [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { SportWithAnalytics } from '@tennac-booking/sdk';
|
|
22
|
+
|
|
23
|
+
const instance: SportWithAnalytics = {
|
|
24
|
+
id,
|
|
25
|
+
key,
|
|
26
|
+
name,
|
|
27
|
+
description,
|
|
28
|
+
clubId,
|
|
29
|
+
createdAt,
|
|
30
|
+
updatedAt,
|
|
31
|
+
courtsCount,
|
|
32
|
+
bookingsCount,
|
|
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)
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
# SportsManagerApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**createSport**](#createsport) | **POST** /api/sports | |
|
|
8
|
+
|[**deleteSport**](#deletesport) | **DELETE** /api/sports/{id} | |
|
|
9
|
+
|[**updateSport**](#updatesport) | **PUT** /api/sports/{id} | |
|
|
10
|
+
|
|
11
|
+
# **createSport**
|
|
12
|
+
> SportResponse createSport(createSportRequest)
|
|
13
|
+
|
|
14
|
+
Crée un sport dans un club
|
|
15
|
+
|
|
16
|
+
### Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import {
|
|
20
|
+
SportsManagerApi,
|
|
21
|
+
Configuration,
|
|
22
|
+
CreateSportRequest
|
|
23
|
+
} from '@tennac-booking/sdk';
|
|
24
|
+
|
|
25
|
+
const configuration = new Configuration();
|
|
26
|
+
const apiInstance = new SportsManagerApi(configuration);
|
|
27
|
+
|
|
28
|
+
let createSportRequest: CreateSportRequest; //
|
|
29
|
+
|
|
30
|
+
const { status, data } = await apiInstance.createSport(
|
|
31
|
+
createSportRequest
|
|
32
|
+
);
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Parameters
|
|
36
|
+
|
|
37
|
+
|Name | Type | Description | Notes|
|
|
38
|
+
|------------- | ------------- | ------------- | -------------|
|
|
39
|
+
| **createSportRequest** | **CreateSportRequest**| | |
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
### Return type
|
|
43
|
+
|
|
44
|
+
**SportResponse**
|
|
45
|
+
|
|
46
|
+
### Authorization
|
|
47
|
+
|
|
48
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
49
|
+
|
|
50
|
+
### HTTP request headers
|
|
51
|
+
|
|
52
|
+
- **Content-Type**: application/json
|
|
53
|
+
- **Accept**: application/json
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### HTTP response details
|
|
57
|
+
| Status code | Description | Response headers |
|
|
58
|
+
|-------------|-------------|------------------|
|
|
59
|
+
|**201** | Sport créé | - |
|
|
60
|
+
|**400** | Bad Request | - |
|
|
61
|
+
|**401** | Unauthorized | - |
|
|
62
|
+
|**500** | Server Error | - |
|
|
63
|
+
|
|
64
|
+
[[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)
|
|
65
|
+
|
|
66
|
+
# **deleteSport**
|
|
67
|
+
> DeleteSportResponse deleteSport()
|
|
68
|
+
|
|
69
|
+
Supprime un sport
|
|
70
|
+
|
|
71
|
+
### Example
|
|
72
|
+
|
|
73
|
+
```typescript
|
|
74
|
+
import {
|
|
75
|
+
SportsManagerApi,
|
|
76
|
+
Configuration
|
|
77
|
+
} from '@tennac-booking/sdk';
|
|
78
|
+
|
|
79
|
+
const configuration = new Configuration();
|
|
80
|
+
const apiInstance = new SportsManagerApi(configuration);
|
|
81
|
+
|
|
82
|
+
let id: string; // (default to undefined)
|
|
83
|
+
|
|
84
|
+
const { status, data } = await apiInstance.deleteSport(
|
|
85
|
+
id
|
|
86
|
+
);
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### Parameters
|
|
90
|
+
|
|
91
|
+
|Name | Type | Description | Notes|
|
|
92
|
+
|------------- | ------------- | ------------- | -------------|
|
|
93
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
### Return type
|
|
97
|
+
|
|
98
|
+
**DeleteSportResponse**
|
|
99
|
+
|
|
100
|
+
### Authorization
|
|
101
|
+
|
|
102
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
103
|
+
|
|
104
|
+
### HTTP request headers
|
|
105
|
+
|
|
106
|
+
- **Content-Type**: Not defined
|
|
107
|
+
- **Accept**: application/json
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
### HTTP response details
|
|
111
|
+
| Status code | Description | Response headers |
|
|
112
|
+
|-------------|-------------|------------------|
|
|
113
|
+
|**200** | Sport supprimé | - |
|
|
114
|
+
|**401** | Unauthorized | - |
|
|
115
|
+
|**404** | Sport non trouvé | - |
|
|
116
|
+
|**500** | Server Error | - |
|
|
117
|
+
|
|
118
|
+
[[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)
|
|
119
|
+
|
|
120
|
+
# **updateSport**
|
|
121
|
+
> SportResponse updateSport(updateSportRequest)
|
|
122
|
+
|
|
123
|
+
Met à jour un sport
|
|
124
|
+
|
|
125
|
+
### Example
|
|
126
|
+
|
|
127
|
+
```typescript
|
|
128
|
+
import {
|
|
129
|
+
SportsManagerApi,
|
|
130
|
+
Configuration,
|
|
131
|
+
UpdateSportRequest
|
|
132
|
+
} from '@tennac-booking/sdk';
|
|
133
|
+
|
|
134
|
+
const configuration = new Configuration();
|
|
135
|
+
const apiInstance = new SportsManagerApi(configuration);
|
|
136
|
+
|
|
137
|
+
let id: string; // (default to undefined)
|
|
138
|
+
let updateSportRequest: UpdateSportRequest; //
|
|
139
|
+
|
|
140
|
+
const { status, data } = await apiInstance.updateSport(
|
|
141
|
+
id,
|
|
142
|
+
updateSportRequest
|
|
143
|
+
);
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### Parameters
|
|
147
|
+
|
|
148
|
+
|Name | Type | Description | Notes|
|
|
149
|
+
|------------- | ------------- | ------------- | -------------|
|
|
150
|
+
| **updateSportRequest** | **UpdateSportRequest**| | |
|
|
151
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
### Return type
|
|
155
|
+
|
|
156
|
+
**SportResponse**
|
|
157
|
+
|
|
158
|
+
### Authorization
|
|
159
|
+
|
|
160
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
161
|
+
|
|
162
|
+
### HTTP request headers
|
|
163
|
+
|
|
164
|
+
- **Content-Type**: application/json
|
|
165
|
+
- **Accept**: application/json
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
### HTTP response details
|
|
169
|
+
| Status code | Description | Response headers |
|
|
170
|
+
|-------------|-------------|------------------|
|
|
171
|
+
|**200** | Sport mis à jour | - |
|
|
172
|
+
|**401** | Unauthorized | - |
|
|
173
|
+
|**404** | Sport non trouvé | - |
|
|
174
|
+
|**500** | Server Error | - |
|
|
175
|
+
|
|
176
|
+
[[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)
|
|
177
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# SportsStaffApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**getAllSports**](#getallsports) | **GET** /api/sports | |
|
|
8
|
+
|
|
9
|
+
# **getAllSports**
|
|
10
|
+
> Array<SportWithAnalytics> getAllSports()
|
|
11
|
+
|
|
12
|
+
Récupère la liste des sports d\'un club
|
|
13
|
+
|
|
14
|
+
### Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import {
|
|
18
|
+
SportsStaffApi,
|
|
19
|
+
Configuration
|
|
20
|
+
} from '@tennac-booking/sdk';
|
|
21
|
+
|
|
22
|
+
const configuration = new Configuration();
|
|
23
|
+
const apiInstance = new SportsStaffApi(configuration);
|
|
24
|
+
|
|
25
|
+
const { status, data } = await apiInstance.getAllSports();
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### Parameters
|
|
29
|
+
This endpoint does not have any parameters.
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Return type
|
|
33
|
+
|
|
34
|
+
**Array<SportWithAnalytics>**
|
|
35
|
+
|
|
36
|
+
### Authorization
|
|
37
|
+
|
|
38
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
39
|
+
|
|
40
|
+
### HTTP request headers
|
|
41
|
+
|
|
42
|
+
- **Content-Type**: Not defined
|
|
43
|
+
- **Accept**: staff
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### HTTP response details
|
|
47
|
+
| Status code | Description | Response headers |
|
|
48
|
+
|-------------|-------------|------------------|
|
|
49
|
+
|**200** | Liste des sports | - |
|
|
50
|
+
|**400** | Bad Request | - |
|
|
51
|
+
|**401** | Unauthorized | - |
|
|
52
|
+
|**500** | Server Error | - |
|
|
53
|
+
|
|
54
|
+
[[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)
|
|
55
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# StripeStripeDeletedProduct
|
|
2
|
+
|
|
3
|
+
The DeletedProduct object.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **string** | Unique identifier for the object. | [default to undefined]
|
|
10
|
+
**object** | **string** | String representing the object\'s type. Objects of the same type share the same value. | [default to undefined]
|
|
11
|
+
**deleted** | **boolean** | Always true for a deleted object | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { StripeStripeDeletedProduct } from '@tennac-booking/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: StripeStripeDeletedProduct = {
|
|
19
|
+
id,
|
|
20
|
+
object,
|
|
21
|
+
deleted,
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|