@tennac-booking/sdk 1.0.143 → 1.0.144

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.
@@ -0,0 +1,113 @@
1
+ # ClubCustomerStaffApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**getClubCustomerSettings**](#getclubcustomersettings) | **GET** /api/clubCustomers/clubCustomer/{userId}/settings | |
8
+ |[**updateClubCustomerSettings**](#updateclubcustomersettings) | **PATCH** /api/clubCustomers/clubCustomer/{userId}/settings | |
9
+
10
+ # **getClubCustomerSettings**
11
+ > ClubCustomerSettingsResponse getClubCustomerSettings()
12
+
13
+
14
+ ### Example
15
+
16
+ ```typescript
17
+ import {
18
+ ClubCustomerStaffApi,
19
+ Configuration
20
+ } from '@tennac-booking/sdk';
21
+
22
+ const configuration = new Configuration();
23
+ const apiInstance = new ClubCustomerStaffApi(configuration);
24
+
25
+ let userId: string; // (default to undefined)
26
+
27
+ const { status, data } = await apiInstance.getClubCustomerSettings(
28
+ userId
29
+ );
30
+ ```
31
+
32
+ ### Parameters
33
+
34
+ |Name | Type | Description | Notes|
35
+ |------------- | ------------- | ------------- | -------------|
36
+ | **userId** | [**string**] | | defaults to undefined|
37
+
38
+
39
+ ### Return type
40
+
41
+ **ClubCustomerSettingsResponse**
42
+
43
+ ### Authorization
44
+
45
+ [bearerAuth](../README.md#bearerAuth)
46
+
47
+ ### HTTP request headers
48
+
49
+ - **Content-Type**: Not defined
50
+ - **Accept**: application/json
51
+
52
+
53
+ ### HTTP response details
54
+ | Status code | Description | Response headers |
55
+ |-------------|-------------|------------------|
56
+ |**200** | Réglages du joueur du club | - |
57
+
58
+ [[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)
59
+
60
+ # **updateClubCustomerSettings**
61
+ > ClubCustomerSettingsResponse updateClubCustomerSettings(clubCustomerSettingsResponse)
62
+
63
+
64
+ ### Example
65
+
66
+ ```typescript
67
+ import {
68
+ ClubCustomerStaffApi,
69
+ Configuration,
70
+ ClubCustomerSettingsResponse
71
+ } from '@tennac-booking/sdk';
72
+
73
+ const configuration = new Configuration();
74
+ const apiInstance = new ClubCustomerStaffApi(configuration);
75
+
76
+ let userId: string; // (default to undefined)
77
+ let clubCustomerSettingsResponse: ClubCustomerSettingsResponse; //
78
+
79
+ const { status, data } = await apiInstance.updateClubCustomerSettings(
80
+ userId,
81
+ clubCustomerSettingsResponse
82
+ );
83
+ ```
84
+
85
+ ### Parameters
86
+
87
+ |Name | Type | Description | Notes|
88
+ |------------- | ------------- | ------------- | -------------|
89
+ | **clubCustomerSettingsResponse** | **ClubCustomerSettingsResponse**| | |
90
+ | **userId** | [**string**] | | defaults to undefined|
91
+
92
+
93
+ ### Return type
94
+
95
+ **ClubCustomerSettingsResponse**
96
+
97
+ ### Authorization
98
+
99
+ [bearerAuth](../README.md#bearerAuth)
100
+
101
+ ### HTTP request headers
102
+
103
+ - **Content-Type**: application/json
104
+ - **Accept**: application/json
105
+
106
+
107
+ ### HTTP response details
108
+ | Status code | Description | Response headers |
109
+ |-------------|-------------|------------------|
110
+ |**200** | Réglages mis à jour | - |
111
+
112
+ [[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)
113
+
@@ -26,6 +26,7 @@ Name | Type | Description | Notes
26
26
  **subscriberPrices** | [**Array<SubscriberPrice>**](SubscriberPrice.md) | | [optional] [default to undefined]
27
27
  **levels** | **Array<number | null>** | | [optional] [default to undefined]
28
28
  **sponsors** | [**Array<EventSponsor>**](EventSponsor.md) | | [optional] [default to undefined]
29
+ **registrationOpeningDate** | **string** | | [default to undefined]
29
30
  **visibilityType** | **string** | | [default to undefined]
30
31
 
31
32
  ## Example
@@ -55,6 +56,7 @@ const instance: CreateEventRequest = {
55
56
  subscriberPrices,
56
57
  levels,
57
58
  sponsors,
59
+ registrationOpeningDate,
58
60
  visibilityType,
59
61
  };
60
62
  ```
@@ -28,6 +28,7 @@ Name | Type | Description | Notes
28
28
  **visibilityType** | **string** | | [default to undefined]
29
29
  **levels** | **Array<string | null>** | | [optional] [default to undefined]
30
30
  **sponsors** | [**Array<EventSponsor>**](EventSponsor.md) | | [optional] [default to undefined]
31
+ **registrationOpeningDate** | **string** | | [default to undefined]
31
32
  **createdBy** | **string** | | [optional] [default to undefined]
32
33
  **isActive** | **boolean** | | [default to undefined]
33
34
  **createdAt** | **string** | | [default to undefined]
@@ -62,6 +63,7 @@ const instance: EventResponse = {
62
63
  visibilityType,
63
64
  levels,
64
65
  sponsors,
66
+ registrationOpeningDate,
65
67
  createdBy,
66
68
  isActive,
67
69
  createdAt,
@@ -25,6 +25,7 @@ Name | Type | Description | Notes
25
25
  **subscriberPrices** | [**Array<SubscriberPrice>**](SubscriberPrice.md) | | [optional] [default to undefined]
26
26
  **visibilityType** | **string** | | [optional] [default to undefined]
27
27
  **levels** | **Array<string | null>** | | [optional] [default to undefined]
28
+ **registrationOpeningDate** | **string** | | [optional] [default to undefined]
28
29
  **sponsors** | [**Array<EventSponsor>**](EventSponsor.md) | | [optional] [default to undefined]
29
30
 
30
31
  ## Example
@@ -53,6 +54,7 @@ const instance: UpdateEventRequest = {
53
54
  subscriberPrices,
54
55
  visibilityType,
55
56
  levels,
57
+ registrationOpeningDate,
56
58
  sponsors,
57
59
  };
58
60
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.143",
3
+ "version": "1.0.144",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {