@tennac-booking/sdk
Version:
OpenAPI client for @tennac-booking/sdk
77 lines (69 loc) • 4.18 kB
Markdown
# ClubResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **string** | ID unique du club | [default to undefined]
**name** | **string** | Nom du club | [default to undefined]
**websiteUrl** | **string** | URL du site web du club | [optional] [default to undefined]
**socials** | **{ [key: string]: string; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
**description** | **string** | Description du club | [optional] [default to undefined]
**email** | **string** | Email du club | [optional] [default to undefined]
**phone** | **string** | Téléphone du club | [optional] [default to undefined]
**picture** | **string** | URL de l\'image du club | [optional] [default to undefined]
**logo** | **string** | URL du logo du club (alias de picture) | [optional] [default to undefined]
**location** | [**ClubResponseLocation**](ClubResponseLocation.md) | | [optional] [default to undefined]
**isActive** | **boolean** | Statut d\'activation du club | [default to undefined]
**clubType** | [**ClubType**](ClubType.md) | | [optional] [default to undefined]
**paymentFeature** | **boolean** | Indique si le club utilise la fonctionnalité de paiement | [optional] [default to undefined]
**stripeAccountId** | **string** | ID du compte Stripe du club | [optional] [default to undefined]
**clubDashBoardUrl** | **string** | URL du dashboard Stripe du club | [optional] [default to undefined]
**isNoShowEnabled** | **boolean** | Indique si la fonctionnalité \"no show\" est activée | [optional] [default to undefined]
**isBookingEnabled** | **boolean** | Indique si les réservations (booking/open booking/event registration) sont activées | [optional] [default to undefined]
**sports** | **Array<string>** | Liste des sports proposés par le club (identifiés par leur clé) | [optional] [default to undefined]
**courtsCount** | **number** | Nombre total de terrains du club | [optional] [default to undefined]
**courtsCountBySport** | **{ [key: string]: number; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
**surfacesBySport** | **{ [key: string]: Array<SurfaceType>; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
**indoorOutdoorBySport** | **{ [key: string]: Array<CourtEnvironment>; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
**slotDurationsBySport** | **{ [key: string]: Array<number>; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
**allowMultipleBookingsAtTheSameTime** | **boolean** | Autoriser plusieurs réservations en même temps | [optional] [default to undefined]
**maxSlotsPerBooking** | **number** | | [optional] [default to undefined]
**cancellationLimitHours** | **number** | Limite d\'annulation en heures | [optional] [default to undefined]
**maxWeeklyBookings** | **number** | Nombre maximum de réservations par semaine | [optional] [default to undefined]
**createdAt** | [**ClubResponseCreatedAt**](ClubResponseCreatedAt.md) | | [optional] [default to undefined]
**updatedAt** | [**ClubResponseUpdatedAt**](ClubResponseUpdatedAt.md) | | [optional] [default to undefined]
## Example
```typescript
import { ClubResponse } from '@tennac-booking/sdk';
const instance: ClubResponse = {
id,
name,
websiteUrl,
socials,
description,
email,
phone,
picture,
logo,
location,
isActive,
clubType,
paymentFeature,
stripeAccountId,
clubDashBoardUrl,
isNoShowEnabled,
isBookingEnabled,
sports,
courtsCount,
courtsCountBySport,
surfacesBySport,
indoorOutdoorBySport,
slotDurationsBySport,
allowMultipleBookingsAtTheSameTime,
maxSlotsPerBooking,
cancellationLimitHours,
maxWeeklyBookings,
createdAt,
updatedAt,
};
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)