UNPKG

@tennac-booking/sdk

Version:

OpenAPI client for @tennac-booking/sdk

228 lines (139 loc) 5.59 kB
# ClubSettingsStaffApi All URIs are relative to *http://localhost* |Method | HTTP request | Description| |------------- | ------------- | -------------| |[**getAccessSettings**](#getaccesssettings) | **GET** /api/club-settings/access | | |[**getClubGeneralSettings**](#getclubgeneralsettings) | **GET** /api/club-settings/settings/general | | |[**getHoursSettings**](#gethourssettings) | **GET** /api/club-settings/hours | | |[**getPresentationSettings**](#getpresentationsettings) | **GET** /api/club-settings/presentation | | |[**getReservationSettings**](#getreservationsettings) | **GET** /api/club-settings/reservation | | # **getAccessSettings** > ClubAccessSettingsResponse getAccessSettings() ### Example ```typescript import { ClubSettingsStaffApi, Configuration } from '@tennac-booking/sdk'; const configuration = new Configuration(); const apiInstance = new ClubSettingsStaffApi(configuration); const { status, data } = await apiInstance.getAccessSettings(); ``` ### Parameters This endpoint does not have any parameters. ### Return type **ClubAccessSettingsResponse** ### Authorization [bearerAuth](../README.md#bearerAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| |**200** | Paramètres d\'accès du club | - | [[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) # **getClubGeneralSettings** > ClubGeneralSettingsResponse getClubGeneralSettings() ### Example ```typescript import { ClubSettingsStaffApi, Configuration } from '@tennac-booking/sdk'; const configuration = new Configuration(); const apiInstance = new ClubSettingsStaffApi(configuration); const { status, data } = await apiInstance.getClubGeneralSettings(); ``` ### Parameters This endpoint does not have any parameters. ### Return type **ClubGeneralSettingsResponse** ### Authorization [bearerAuth](../README.md#bearerAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| |**200** | Paramètres généraux du club | - | [[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) # **getHoursSettings** > ClubHoursSettingsResponse getHoursSettings() ### Example ```typescript import { ClubSettingsStaffApi, Configuration } from '@tennac-booking/sdk'; const configuration = new Configuration(); const apiInstance = new ClubSettingsStaffApi(configuration); const { status, data } = await apiInstance.getHoursSettings(); ``` ### Parameters This endpoint does not have any parameters. ### Return type **ClubHoursSettingsResponse** ### Authorization [bearerAuth](../README.md#bearerAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| |**200** | Horaires du club | - | [[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) # **getPresentationSettings** > ClubPresentationSettingsResponse getPresentationSettings() ### Example ```typescript import { ClubSettingsStaffApi, Configuration } from '@tennac-booking/sdk'; const configuration = new Configuration(); const apiInstance = new ClubSettingsStaffApi(configuration); const { status, data } = await apiInstance.getPresentationSettings(); ``` ### Parameters This endpoint does not have any parameters. ### Return type **ClubPresentationSettingsResponse** ### Authorization [bearerAuth](../README.md#bearerAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| |**200** | Paramètres de présentation du club | - | [[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) # **getReservationSettings** > ClubReservationSettingsResponse getReservationSettings() ### Example ```typescript import { ClubSettingsStaffApi, Configuration } from '@tennac-booking/sdk'; const configuration = new Configuration(); const apiInstance = new ClubSettingsStaffApi(configuration); const { status, data } = await apiInstance.getReservationSettings(); ``` ### Parameters This endpoint does not have any parameters. ### Return type **ClubReservationSettingsResponse** ### Authorization [bearerAuth](../README.md#bearerAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| |**200** | Paramètres de réservation du club | - | [[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)