@tennac-booking/sdk 1.0.310 → 1.0.311
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.
- package/.openapi-generator/FILES +563 -560
- package/README.md +4 -2
- package/api.ts +174 -4
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +118 -3
- package/dist/api.js +3888 -2887
- package/dist/base.d.ts +1 -1
- package/dist/base.js +3 -6
- package/dist/common.d.ts +1 -1
- package/dist/common.js +39 -23
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +3 -63
- package/dist/esm/api.d.ts +118 -3
- package/dist/esm/api.js +3879 -2882
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +3 -6
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +39 -23
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +3 -63
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/ClubReservationSettingsResponse.md +2 -0
- package/docs/InvoiceStatus.md +2 -0
- package/docs/ManagerConsoleInvoicePlayerSummary.md +2 -0
- package/docs/ManagerConsoleInvoiceUserSummary.md +2 -0
- package/docs/TermsAndConditionsPublicApi.md +61 -0
- package/docs/TermsAndConditionsResponse.md +5 -2
- package/docs/TermsAudience.md +10 -0
- package/docs/UpdateClubReservationSettingsRequest.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/tsconfig.json +1 -1
- package/docs/EstimateEventPrice200Response.md +0 -30
- package/docs/EstimateEventPriceRequestSharesInner.md +0 -22
- package/docs/EventBookingResponsePlayersInnerInvoiceStatus.md +0 -18
- package/docs/LoginResponse.md +0 -30
package/dist/esm/base.d.ts
CHANGED
package/dist/esm/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* openapi.json
|
|
5
5
|
* Pandook API Documentation
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -29,15 +29,13 @@ export const COLLECTION_FORMATS = {
|
|
|
29
29
|
* @class BaseAPI
|
|
30
30
|
*/
|
|
31
31
|
export class BaseAPI {
|
|
32
|
-
basePath;
|
|
33
|
-
axios;
|
|
34
|
-
configuration;
|
|
35
32
|
constructor(configuration, basePath = BASE_PATH, axios = globalAxios) {
|
|
33
|
+
var _a;
|
|
36
34
|
this.basePath = basePath;
|
|
37
35
|
this.axios = axios;
|
|
38
36
|
if (configuration) {
|
|
39
37
|
this.configuration = configuration;
|
|
40
|
-
this.basePath = configuration.basePath
|
|
38
|
+
this.basePath = (_a = configuration.basePath) !== null && _a !== void 0 ? _a : basePath;
|
|
41
39
|
}
|
|
42
40
|
}
|
|
43
41
|
}
|
|
@@ -49,7 +47,6 @@ export class BaseAPI {
|
|
|
49
47
|
* @extends {Error}
|
|
50
48
|
*/
|
|
51
49
|
export class RequiredError extends Error {
|
|
52
|
-
field;
|
|
53
50
|
constructor(field, msg) {
|
|
54
51
|
super(msg);
|
|
55
52
|
this.field = field;
|
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
CHANGED
|
@@ -4,13 +4,22 @@
|
|
|
4
4
|
* openapi.json
|
|
5
5
|
* Pandook API Documentation
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
14
23
|
import { RequiredError } from "./base";
|
|
15
24
|
/**
|
|
16
25
|
*
|
|
@@ -31,13 +40,15 @@ export const assertParamExists = function (functionName, paramName, paramValue)
|
|
|
31
40
|
*
|
|
32
41
|
* @export
|
|
33
42
|
*/
|
|
34
|
-
export const setApiKeyToObject =
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
43
|
+
export const setApiKeyToObject = function (object, keyParamName, configuration) {
|
|
44
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
45
|
+
if (configuration && configuration.apiKey) {
|
|
46
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
47
|
+
? yield configuration.apiKey(keyParamName)
|
|
48
|
+
: yield configuration.apiKey;
|
|
49
|
+
object[keyParamName] = localVarApiKeyValue;
|
|
50
|
+
}
|
|
51
|
+
});
|
|
41
52
|
};
|
|
42
53
|
/**
|
|
43
54
|
*
|
|
@@ -52,25 +63,29 @@ export const setBasicAuthToObject = function (object, configuration) {
|
|
|
52
63
|
*
|
|
53
64
|
* @export
|
|
54
65
|
*/
|
|
55
|
-
export const setBearerAuthToObject =
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
66
|
+
export const setBearerAuthToObject = function (object, configuration) {
|
|
67
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
68
|
+
if (configuration && configuration.accessToken) {
|
|
69
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
70
|
+
? yield configuration.accessToken()
|
|
71
|
+
: yield configuration.accessToken;
|
|
72
|
+
object["Authorization"] = "Bearer " + accessToken;
|
|
73
|
+
}
|
|
74
|
+
});
|
|
62
75
|
};
|
|
63
76
|
/**
|
|
64
77
|
*
|
|
65
78
|
* @export
|
|
66
79
|
*/
|
|
67
|
-
export const setOAuthToObject =
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
80
|
+
export const setOAuthToObject = function (object, name, scopes, configuration) {
|
|
81
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
82
|
+
if (configuration && configuration.accessToken) {
|
|
83
|
+
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
84
|
+
? yield configuration.accessToken(name, scopes)
|
|
85
|
+
: yield configuration.accessToken;
|
|
86
|
+
object["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
87
|
+
}
|
|
88
|
+
});
|
|
74
89
|
};
|
|
75
90
|
function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
76
91
|
if (parameter == null)
|
|
@@ -127,7 +142,8 @@ export const toPathString = function (url) {
|
|
|
127
142
|
*/
|
|
128
143
|
export const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
129
144
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
130
|
-
|
|
145
|
+
var _a;
|
|
146
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: (axios.defaults.baseURL ? '' : (_a = configuration === null || configuration === void 0 ? void 0 : configuration.basePath) !== null && _a !== void 0 ? _a : basePath) + axiosArgs.url });
|
|
131
147
|
return axios.request(axiosRequestArgs);
|
|
132
148
|
};
|
|
133
149
|
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* openapi.json
|
|
5
5
|
* Pandook API Documentation
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,75 +12,15 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
export class Configuration {
|
|
15
|
-
/**
|
|
16
|
-
* parameter for apiKey security
|
|
17
|
-
* @param name security name
|
|
18
|
-
* @memberof Configuration
|
|
19
|
-
*/
|
|
20
|
-
apiKey;
|
|
21
|
-
/**
|
|
22
|
-
* parameter for basic security
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof Configuration
|
|
26
|
-
*/
|
|
27
|
-
username;
|
|
28
|
-
/**
|
|
29
|
-
* parameter for basic security
|
|
30
|
-
*
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof Configuration
|
|
33
|
-
*/
|
|
34
|
-
password;
|
|
35
|
-
/**
|
|
36
|
-
* parameter for oauth2 security
|
|
37
|
-
* @param name security name
|
|
38
|
-
* @param scopes oauth2 scope
|
|
39
|
-
* @memberof Configuration
|
|
40
|
-
*/
|
|
41
|
-
accessToken;
|
|
42
|
-
/**
|
|
43
|
-
* override base path
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof Configuration
|
|
47
|
-
*/
|
|
48
|
-
basePath;
|
|
49
|
-
/**
|
|
50
|
-
* override server index
|
|
51
|
-
*
|
|
52
|
-
* @type {number}
|
|
53
|
-
* @memberof Configuration
|
|
54
|
-
*/
|
|
55
|
-
serverIndex;
|
|
56
|
-
/**
|
|
57
|
-
* base options for axios calls
|
|
58
|
-
*
|
|
59
|
-
* @type {any}
|
|
60
|
-
* @memberof Configuration
|
|
61
|
-
*/
|
|
62
|
-
baseOptions;
|
|
63
|
-
/**
|
|
64
|
-
* The FormData constructor that will be used to create multipart form data
|
|
65
|
-
* requests. You can inject this here so that execution environments that
|
|
66
|
-
* do not support the FormData class can still run the generated client.
|
|
67
|
-
*
|
|
68
|
-
* @type {new () => FormData}
|
|
69
|
-
*/
|
|
70
|
-
formDataCtor;
|
|
71
15
|
constructor(param = {}) {
|
|
16
|
+
var _a;
|
|
72
17
|
this.apiKey = param.apiKey;
|
|
73
18
|
this.username = param.username;
|
|
74
19
|
this.password = param.password;
|
|
75
20
|
this.accessToken = param.accessToken;
|
|
76
21
|
this.basePath = param.basePath;
|
|
77
22
|
this.serverIndex = param.serverIndex;
|
|
78
|
-
this.baseOptions = {
|
|
79
|
-
...param.baseOptions,
|
|
80
|
-
headers: {
|
|
81
|
-
...param.baseOptions?.headers,
|
|
82
|
-
},
|
|
83
|
-
};
|
|
23
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
84
24
|
this.formDataCtor = param.formDataCtor;
|
|
85
25
|
}
|
|
86
26
|
/**
|
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**maxWeeklyBookings** | **number** | | [default to undefined]
|
|
9
9
|
**maxSlotsPerBooking** | **number** | | [default to undefined]
|
|
10
10
|
**cancellationDelayInHours** | **number** | | [default to undefined]
|
|
11
|
+
**eventCancellationDelayInHours** | **number** | | [default to undefined]
|
|
11
12
|
**bookingPeriodInDays** | **number** | | [default to undefined]
|
|
12
13
|
|
|
13
14
|
## Example
|
|
@@ -19,6 +20,7 @@ const instance: ClubReservationSettingsResponse = {
|
|
|
19
20
|
maxWeeklyBookings,
|
|
20
21
|
maxSlotsPerBooking,
|
|
21
22
|
cancellationDelayInHours,
|
|
23
|
+
eventCancellationDelayInHours,
|
|
22
24
|
bookingPeriodInDays,
|
|
23
25
|
};
|
|
24
26
|
```
|
package/docs/InvoiceStatus.md
CHANGED
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**lastName** | **string** | | [default to undefined]
|
|
11
11
|
**email** | **string** | | [default to undefined]
|
|
12
12
|
**reducedAmount** | **number** | | [default to undefined]
|
|
13
|
+
**subscriptionNames** | **Array<string>** | | [optional] [default to undefined]
|
|
13
14
|
|
|
14
15
|
## Example
|
|
15
16
|
|
|
@@ -22,6 +23,7 @@ const instance: ManagerConsoleInvoicePlayerSummary = {
|
|
|
22
23
|
lastName,
|
|
23
24
|
email,
|
|
24
25
|
reducedAmount,
|
|
26
|
+
subscriptionNames,
|
|
25
27
|
};
|
|
26
28
|
```
|
|
27
29
|
|
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**lastName** | **string** | | [default to undefined]
|
|
11
11
|
**email** | **string** | | [default to undefined]
|
|
12
12
|
**profilePictureUrl** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**subscriptionNames** | **Array<string>** | | [optional] [default to undefined]
|
|
13
14
|
|
|
14
15
|
## Example
|
|
15
16
|
|
|
@@ -22,6 +23,7 @@ const instance: ManagerConsoleInvoiceUserSummary = {
|
|
|
22
23
|
lastName,
|
|
23
24
|
email,
|
|
24
25
|
profilePictureUrl,
|
|
26
|
+
subscriptionNames,
|
|
25
27
|
};
|
|
26
28
|
```
|
|
27
29
|
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# TermsAndConditionsPublicApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**getLatestTerms**](#getlatestterms) | **GET** /api/terms-and-conditions/latest | |
|
|
8
|
+
|
|
9
|
+
# **getLatestTerms**
|
|
10
|
+
> TermsAndConditionsResponse getLatestTerms()
|
|
11
|
+
|
|
12
|
+
Récupère la dernière version active des CGU en français
|
|
13
|
+
|
|
14
|
+
### Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import {
|
|
18
|
+
TermsAndConditionsPublicApi,
|
|
19
|
+
Configuration
|
|
20
|
+
} from '@tennac-booking/sdk';
|
|
21
|
+
|
|
22
|
+
const configuration = new Configuration();
|
|
23
|
+
const apiInstance = new TermsAndConditionsPublicApi(configuration);
|
|
24
|
+
|
|
25
|
+
let audience: TermsAudience; //Type de CGU à récupérer: \"user\" pour les utilisateurs finaux, \"manager\" pour les gestionnaires de clubs (optional) (default to undefined)
|
|
26
|
+
|
|
27
|
+
const { status, data } = await apiInstance.getLatestTerms(
|
|
28
|
+
audience
|
|
29
|
+
);
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Parameters
|
|
33
|
+
|
|
34
|
+
|Name | Type | Description | Notes|
|
|
35
|
+
|------------- | ------------- | ------------- | -------------|
|
|
36
|
+
| **audience** | **TermsAudience** | Type de CGU à récupérer: \"user\" pour les utilisateurs finaux, \"manager\" pour les gestionnaires de clubs | (optional) defaults to undefined|
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Return type
|
|
40
|
+
|
|
41
|
+
**TermsAndConditionsResponse**
|
|
42
|
+
|
|
43
|
+
### Authorization
|
|
44
|
+
|
|
45
|
+
No authorization required
|
|
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** | Dernière version des CGU | - |
|
|
57
|
+
|**404** | Aucune CGU trouvée | - |
|
|
58
|
+
|**500** | Server Error | - |
|
|
59
|
+
|
|
60
|
+
[[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)
|
|
61
|
+
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
# TermsAndConditionsResponse
|
|
2
2
|
|
|
3
|
-
CGU (Terms and Conditions)
|
|
4
3
|
|
|
5
4
|
## Properties
|
|
6
5
|
|
|
@@ -9,9 +8,11 @@ Name | Type | Description | Notes
|
|
|
9
8
|
**id** | **string** | ID de la version | [default to undefined]
|
|
10
9
|
**version** | **string** | Numéro de version (ex: \"1.0\", \"2.0\") | [default to undefined]
|
|
11
10
|
**content** | **string** | Contenu des CGU (markdown ou HTML) | [default to undefined]
|
|
12
|
-
**effectiveDate** | **string** | Date d\'effet de cette version | [default to undefined]
|
|
11
|
+
**effectiveDate** | **string** | Date d\'effet de cette version | [optional] [default to undefined]
|
|
13
12
|
**summary** | **string** | Résumé des changements (optionnel) | [optional] [default to undefined]
|
|
13
|
+
**audience** | **string** | | [optional] [default to undefined]
|
|
14
14
|
**language** | **string** | Code de la langue | [default to undefined]
|
|
15
|
+
**createdAt** | **string** | | [optional] [default to undefined]
|
|
15
16
|
|
|
16
17
|
## Example
|
|
17
18
|
|
|
@@ -24,7 +25,9 @@ const instance: TermsAndConditionsResponse = {
|
|
|
24
25
|
content,
|
|
25
26
|
effectiveDate,
|
|
26
27
|
summary,
|
|
28
|
+
audience,
|
|
27
29
|
language,
|
|
30
|
+
createdAt,
|
|
28
31
|
};
|
|
29
32
|
```
|
|
30
33
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# TermsAudience
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Enum
|
|
5
|
+
|
|
6
|
+
* `User` (value: `'user'`)
|
|
7
|
+
|
|
8
|
+
* `Manager` (value: `'manager'`)
|
|
9
|
+
|
|
10
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**unlimitedWeeklyBookings** | **boolean** | | [default to undefined]
|
|
10
10
|
**maxSlotsPerBooking** | **number** | | [default to undefined]
|
|
11
11
|
**cancellationDelayInHours** | **number** | | [default to undefined]
|
|
12
|
+
**eventCancellationDelayInHours** | **number** | | [optional] [default to undefined]
|
|
12
13
|
**bookingPeriodInDays** | **number** | | [default to undefined]
|
|
13
14
|
|
|
14
15
|
## Example
|
|
@@ -21,6 +22,7 @@ const instance: UpdateClubReservationSettingsRequest = {
|
|
|
21
22
|
unlimitedWeeklyBookings,
|
|
22
23
|
maxSlotsPerBooking,
|
|
23
24
|
cancellationDelayInHours,
|
|
25
|
+
eventCancellationDelayInHours,
|
|
24
26
|
bookingPeriodInDays,
|
|
25
27
|
};
|
|
26
28
|
```
|
package/index.ts
CHANGED
package/package.json
CHANGED
package/tsconfig.json
CHANGED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# EstimateEventPrice200Response
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**perPayerAfterCredits** | **{ [key: string]: number; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
9
|
-
**totalAfterCredits** | **number** | | [optional] [default to undefined]
|
|
10
|
-
**creditsAppliedInCents** | **number** | | [optional] [default to undefined]
|
|
11
|
-
**currency** | **string** | | [default to undefined]
|
|
12
|
-
**total** | **number** | | [default to undefined]
|
|
13
|
-
**perPlayer** | **{ [key: string]: number; }** | Construct a type with a set of properties K of type T | [default to undefined]
|
|
14
|
-
|
|
15
|
-
## Example
|
|
16
|
-
|
|
17
|
-
```typescript
|
|
18
|
-
import { EstimateEventPrice200Response } from '@tennac-booking/sdk';
|
|
19
|
-
|
|
20
|
-
const instance: EstimateEventPrice200Response = {
|
|
21
|
-
perPayerAfterCredits,
|
|
22
|
-
totalAfterCredits,
|
|
23
|
-
creditsAppliedInCents,
|
|
24
|
-
currency,
|
|
25
|
-
total,
|
|
26
|
-
perPlayer,
|
|
27
|
-
};
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# EstimateEventPriceRequestSharesInner
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**paysAlsoFor** | **Array<string>** | | [optional] [default to undefined]
|
|
9
|
-
**playerId** | **string** | | [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { EstimateEventPriceRequestSharesInner } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: EstimateEventPriceRequestSharesInner = {
|
|
17
|
-
paysAlsoFor,
|
|
18
|
-
playerId,
|
|
19
|
-
};
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# EventBookingResponsePlayersInnerInvoiceStatus
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
|
|
9
|
-
## Example
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
import { EventBookingResponsePlayersInnerInvoiceStatus } from '@tennac-booking/sdk';
|
|
13
|
-
|
|
14
|
-
const instance: EventBookingResponsePlayersInnerInvoiceStatus = {
|
|
15
|
-
};
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/LoginResponse.md
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# LoginResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**token** | **string** | | [default to undefined]
|
|
9
|
-
**refreshToken** | **string** | | [default to undefined]
|
|
10
|
-
**sessionDuration** | **number** | | [default to undefined]
|
|
11
|
-
**sessionEnd** | **number** | | [default to undefined]
|
|
12
|
-
**role** | **string** | | [default to undefined]
|
|
13
|
-
**isOnBoardingInAppCompleted** | **boolean** | | [default to undefined]
|
|
14
|
-
|
|
15
|
-
## Example
|
|
16
|
-
|
|
17
|
-
```typescript
|
|
18
|
-
import { LoginResponse } from '@tennac-booking/sdk';
|
|
19
|
-
|
|
20
|
-
const instance: LoginResponse = {
|
|
21
|
-
token,
|
|
22
|
-
refreshToken,
|
|
23
|
-
sessionDuration,
|
|
24
|
-
sessionEnd,
|
|
25
|
-
role,
|
|
26
|
-
isOnBoardingInAppCompleted,
|
|
27
|
-
};
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|