@tennac-booking/sdk
Version:
OpenAPI client for @tennac-booking/sdk
79 lines (71 loc) • 3.03 kB
Markdown
# CreateEventRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **string** | | [default to undefined]
**title** | **string** | | [default to undefined]
**category** | **string** | | [optional] [default to undefined]
**description** | **string** | | [optional] [default to undefined]
**photoUrl** | **string** | | [optional] [default to undefined]
**isAllDay** | **boolean** | | [optional] [default to undefined]
**date** | **string** | | [optional] [default to undefined]
**startTime** | **number** | | [optional] [default to undefined]
**endTime** | **number** | | [optional] [default to undefined]
**startDate** | **string** | | [optional] [default to undefined]
**endDate** | **string** | | [optional] [default to undefined]
**courts** | **Array<string>** | | [default to undefined]
**sports** | **Array<string>** | | [default to undefined]
**recurringType** | **string** | | [optional] [default to undefined]
**recurrenceEndDate** | **string** | | [optional] [default to undefined]
**occurrences** | **number** | | [optional] [default to undefined]
**participationType** | **string** | | [default to undefined]
**participants** | **Array<string>** | | [optional] [default to undefined]
**teams** | [**Array<Team>**](Team.md) | | [optional] [default to undefined]
**playerLimit** | **number** | | [optional] [default to undefined]
**playersPerTeam** | **number** | | [optional] [default to undefined]
**teamLimit** | **number** | | [optional] [default to undefined]
**price** | **number** | | [optional] [default to undefined]
**subscriberPrices** | [**Array<SubscriberPrice>**](SubscriberPrice.md) | | [optional] [default to undefined]
**levels** | **Array<number | null>** | | [optional] [default to undefined]
**sponsors** | [**Array<EventSponsor>**](EventSponsor.md) | | [optional] [default to undefined]
**registrationOpenDaysBefore** | **number** | | [optional] [default to undefined]
**isRegistrationEnabled** | **boolean** | | [optional] [default to undefined]
**visibilityType** | **string** | | [default to undefined]
**needLicence** | **boolean** | | [optional] [default to undefined]
## Example
```typescript
import { CreateEventRequest } from '@tennac-booking/sdk';
const instance: CreateEventRequest = {
type,
title,
category,
description,
photoUrl,
isAllDay,
date,
startTime,
endTime,
startDate,
endDate,
courts,
sports,
recurringType,
recurrenceEndDate,
occurrences,
participationType,
participants,
teams,
playerLimit,
playersPerTeam,
teamLimit,
price,
subscriberPrices,
levels,
sponsors,
registrationOpenDaysBefore,
isRegistrationEnabled,
visibilityType,
needLicence,
};
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)