UNPKG

@tennac-booking/sdk

Version:

OpenAPI client for @tennac-booking/sdk

53 lines (45 loc) 2.25 kB
# OpenBookingInfo ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **string** | ID de la réservation | [default to undefined] **clubId** | **string** | ID du club | [default to undefined] **userId** | **string** | ID de l\'utilisateur créateur | [default to undefined] **players** | [**Array<OpenBookingPlayerInfo>**](OpenBookingPlayerInfo.md) | Liste des joueurs avec leurs infos | [default to undefined] **status** | [**BookingStatus**](BookingStatus.md) | | [default to undefined] **totalPrice** | **number** | Prix total en euros | [default to undefined] **startDate** | **string** | Date de début du premier créneau | [default to undefined] **endDate** | **string** | Date de fin du dernier créneau | [default to undefined] **isCreatorPayingAll** | **boolean** | Indique si le créateur paie pour tous | [default to undefined] **createdAt** | **string** | Date de création | [default to undefined] **updatedAt** | **string** | Date de mise à jour | [default to undefined] **sport** | [**OpenBookingSportInfo**](OpenBookingSportInfo.md) | | [optional] [default to undefined] **minLevel** | **string** | Niveau minimal souhaité | [optional] [default to undefined] **description** | **string** | Description de la réservation | [optional] [default to undefined] **maxPlayers** | **number** | Nombre maximal de joueurs souhaités | [optional] [default to undefined] **currentPlayersCount** | **number** | Nombre de joueurs actuels | [default to undefined] **joinPrice** | **number** | Prix de base pour rejoindre la réservation (en centimes, stocké lors de la création) | [optional] [default to undefined] ## Example ```typescript import { OpenBookingInfo } from '@tennac-booking/sdk'; const instance: OpenBookingInfo = { id, clubId, userId, players, status, totalPrice, startDate, endDate, isCreatorPayingAll, createdAt, updatedAt, sport, minLevel, description, maxPlayers, currentPlayersCount, joinPrice, }; ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)