@tennac-booking/sdk 1.0.184 → 1.0.185
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 +412 -429
- package/README.md +3 -27
- package/api.ts +160 -1551
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +188 -1085
- package/dist/api.js +19 -842
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +188 -1085
- package/dist/esm/api.js +15 -825
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- 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/BookingsApi.md +5 -5
- package/docs/BookingsStaffApi.md +1 -57
- package/docs/JoinOpenBookingRequest.md +26 -0
- package/docs/UserClubMembership.md +2 -0
- package/docs/UserProfileResponse.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/CheckInPlayerSumupRequest.md +0 -22
- package/docs/CheckInPlayerSumupResponse.md +0 -24
- package/docs/CheckInSumupPaymentInfo.md +0 -26
- package/docs/PaymentIntentResult.md +0 -28
- package/docs/PaymentProviderType.md +0 -10
- package/docs/PaymentStatus.md +0 -14
- package/docs/PaymentsStaffApi.md +0 -124
- package/docs/SumUpApi.md +0 -63
- package/docs/SumUpManagerApi.md +0 -332
- package/docs/SumupAccountStatusResponse.md +0 -32
- package/docs/SumupCancelPaymentRequest.md +0 -20
- package/docs/SumupConnectUrlResponse.md +0 -20
- package/docs/SumupCreatePaymentRequest.md +0 -32
- package/docs/SumupOAuthCallbackResponse.md +0 -24
- package/docs/SumupPairReaderRequest.md +0 -22
- package/docs/SumupPairReaderResponse.md +0 -20
- package/docs/SumupReaderInfo.md +0 -34
- package/docs/SumupReadersResponse.md +0 -20
package/docs/SumUpManagerApi.md
DELETED
|
@@ -1,332 +0,0 @@
|
|
|
1
|
-
# SumUpManagerApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
4
|
-
|
|
5
|
-
|Method | HTTP request | Description|
|
|
6
|
-
|------------- | ------------- | -------------|
|
|
7
|
-
|[**disconnectSumup**](#disconnectsumup) | **POST** /api/clubs/{clubId}/sumup/disconnect | |
|
|
8
|
-
|[**getSumupConnectUrl**](#getsumupconnecturl) | **GET** /api/clubs/{clubId}/sumup/connect | |
|
|
9
|
-
|[**getSumupStatus**](#getsumupstatus) | **GET** /api/clubs/{clubId}/sumup/status | |
|
|
10
|
-
|[**listSumupReaders**](#listsumupreaders) | **GET** /api/clubs/{clubId}/sumup/readers | |
|
|
11
|
-
|[**pairSumupReader**](#pairsumupreader) | **POST** /api/clubs/{clubId}/sumup/readers/pair | |
|
|
12
|
-
|[**selectSumupReader**](#selectsumupreader) | **POST** /api/clubs/{clubId}/sumup/readers/{readerId}/select | |
|
|
13
|
-
|
|
14
|
-
# **disconnectSumup**
|
|
15
|
-
> disconnectSumup()
|
|
16
|
-
|
|
17
|
-
Disconnect SumUp account for a club.
|
|
18
|
-
|
|
19
|
-
### Example
|
|
20
|
-
|
|
21
|
-
```typescript
|
|
22
|
-
import {
|
|
23
|
-
SumUpManagerApi,
|
|
24
|
-
Configuration
|
|
25
|
-
} from '@tennac-booking/sdk';
|
|
26
|
-
|
|
27
|
-
const configuration = new Configuration();
|
|
28
|
-
const apiInstance = new SumUpManagerApi(configuration);
|
|
29
|
-
|
|
30
|
-
let clubId: string; // (default to undefined)
|
|
31
|
-
|
|
32
|
-
const { status, data } = await apiInstance.disconnectSumup(
|
|
33
|
-
clubId
|
|
34
|
-
);
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
### Parameters
|
|
38
|
-
|
|
39
|
-
|Name | Type | Description | Notes|
|
|
40
|
-
|------------- | ------------- | ------------- | -------------|
|
|
41
|
-
| **clubId** | [**string**] | | defaults to undefined|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
### Return type
|
|
45
|
-
|
|
46
|
-
void (empty response body)
|
|
47
|
-
|
|
48
|
-
### Authorization
|
|
49
|
-
|
|
50
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
51
|
-
|
|
52
|
-
### HTTP request headers
|
|
53
|
-
|
|
54
|
-
- **Content-Type**: Not defined
|
|
55
|
-
- **Accept**: Not defined
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
### HTTP response details
|
|
59
|
-
| Status code | Description | Response headers |
|
|
60
|
-
|-------------|-------------|------------------|
|
|
61
|
-
|**204** | SumUp déconnecté | - |
|
|
62
|
-
|**400** | Bad Request | - |
|
|
63
|
-
|
|
64
|
-
[[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)
|
|
65
|
-
|
|
66
|
-
# **getSumupConnectUrl**
|
|
67
|
-
> SumupConnectUrlResponse getSumupConnectUrl()
|
|
68
|
-
|
|
69
|
-
Start SumUp OAuth connection for a club.
|
|
70
|
-
|
|
71
|
-
### Example
|
|
72
|
-
|
|
73
|
-
```typescript
|
|
74
|
-
import {
|
|
75
|
-
SumUpManagerApi,
|
|
76
|
-
Configuration
|
|
77
|
-
} from '@tennac-booking/sdk';
|
|
78
|
-
|
|
79
|
-
const configuration = new Configuration();
|
|
80
|
-
const apiInstance = new SumUpManagerApi(configuration);
|
|
81
|
-
|
|
82
|
-
let clubId: string; // (default to undefined)
|
|
83
|
-
|
|
84
|
-
const { status, data } = await apiInstance.getSumupConnectUrl(
|
|
85
|
-
clubId
|
|
86
|
-
);
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
### Parameters
|
|
90
|
-
|
|
91
|
-
|Name | Type | Description | Notes|
|
|
92
|
-
|------------- | ------------- | ------------- | -------------|
|
|
93
|
-
| **clubId** | [**string**] | | defaults to undefined|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
### Return type
|
|
97
|
-
|
|
98
|
-
**SumupConnectUrlResponse**
|
|
99
|
-
|
|
100
|
-
### Authorization
|
|
101
|
-
|
|
102
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
103
|
-
|
|
104
|
-
### HTTP request headers
|
|
105
|
-
|
|
106
|
-
- **Content-Type**: Not defined
|
|
107
|
-
- **Accept**: application/json
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
### HTTP response details
|
|
111
|
-
| Status code | Description | Response headers |
|
|
112
|
-
|-------------|-------------|------------------|
|
|
113
|
-
|**200** | URL OAuth SumUp | - |
|
|
114
|
-
|**400** | Bad Request | - |
|
|
115
|
-
|
|
116
|
-
[[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)
|
|
117
|
-
|
|
118
|
-
# **getSumupStatus**
|
|
119
|
-
> SumupAccountStatusResponse getSumupStatus()
|
|
120
|
-
|
|
121
|
-
Get SumUp connection status for a club.
|
|
122
|
-
|
|
123
|
-
### Example
|
|
124
|
-
|
|
125
|
-
```typescript
|
|
126
|
-
import {
|
|
127
|
-
SumUpManagerApi,
|
|
128
|
-
Configuration
|
|
129
|
-
} from '@tennac-booking/sdk';
|
|
130
|
-
|
|
131
|
-
const configuration = new Configuration();
|
|
132
|
-
const apiInstance = new SumUpManagerApi(configuration);
|
|
133
|
-
|
|
134
|
-
let clubId: string; // (default to undefined)
|
|
135
|
-
|
|
136
|
-
const { status, data } = await apiInstance.getSumupStatus(
|
|
137
|
-
clubId
|
|
138
|
-
);
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
### Parameters
|
|
142
|
-
|
|
143
|
-
|Name | Type | Description | Notes|
|
|
144
|
-
|------------- | ------------- | ------------- | -------------|
|
|
145
|
-
| **clubId** | [**string**] | | defaults to undefined|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
### Return type
|
|
149
|
-
|
|
150
|
-
**SumupAccountStatusResponse**
|
|
151
|
-
|
|
152
|
-
### Authorization
|
|
153
|
-
|
|
154
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
155
|
-
|
|
156
|
-
### HTTP request headers
|
|
157
|
-
|
|
158
|
-
- **Content-Type**: Not defined
|
|
159
|
-
- **Accept**: application/json
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
### HTTP response details
|
|
163
|
-
| Status code | Description | Response headers |
|
|
164
|
-
|-------------|-------------|------------------|
|
|
165
|
-
|**200** | Statut SumUp | - |
|
|
166
|
-
|**400** | Bad Request | - |
|
|
167
|
-
|
|
168
|
-
[[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)
|
|
169
|
-
|
|
170
|
-
# **listSumupReaders**
|
|
171
|
-
> SumupReadersResponse listSumupReaders()
|
|
172
|
-
|
|
173
|
-
List SumUp readers for a club.
|
|
174
|
-
|
|
175
|
-
### Example
|
|
176
|
-
|
|
177
|
-
```typescript
|
|
178
|
-
import {
|
|
179
|
-
SumUpManagerApi,
|
|
180
|
-
Configuration
|
|
181
|
-
} from '@tennac-booking/sdk';
|
|
182
|
-
|
|
183
|
-
const configuration = new Configuration();
|
|
184
|
-
const apiInstance = new SumUpManagerApi(configuration);
|
|
185
|
-
|
|
186
|
-
let clubId: string; // (default to undefined)
|
|
187
|
-
|
|
188
|
-
const { status, data } = await apiInstance.listSumupReaders(
|
|
189
|
-
clubId
|
|
190
|
-
);
|
|
191
|
-
```
|
|
192
|
-
|
|
193
|
-
### Parameters
|
|
194
|
-
|
|
195
|
-
|Name | Type | Description | Notes|
|
|
196
|
-
|------------- | ------------- | ------------- | -------------|
|
|
197
|
-
| **clubId** | [**string**] | | defaults to undefined|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
### Return type
|
|
201
|
-
|
|
202
|
-
**SumupReadersResponse**
|
|
203
|
-
|
|
204
|
-
### Authorization
|
|
205
|
-
|
|
206
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
207
|
-
|
|
208
|
-
### HTTP request headers
|
|
209
|
-
|
|
210
|
-
- **Content-Type**: Not defined
|
|
211
|
-
- **Accept**: application/json
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
### HTTP response details
|
|
215
|
-
| Status code | Description | Response headers |
|
|
216
|
-
|-------------|-------------|------------------|
|
|
217
|
-
|**200** | Readers SumUp | - |
|
|
218
|
-
|**400** | Bad Request | - |
|
|
219
|
-
|
|
220
|
-
[[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)
|
|
221
|
-
|
|
222
|
-
# **pairSumupReader**
|
|
223
|
-
> SumupPairReaderResponse pairSumupReader(sumupPairReaderRequest)
|
|
224
|
-
|
|
225
|
-
Pair a SumUp reader with a club.
|
|
226
|
-
|
|
227
|
-
### Example
|
|
228
|
-
|
|
229
|
-
```typescript
|
|
230
|
-
import {
|
|
231
|
-
SumUpManagerApi,
|
|
232
|
-
Configuration,
|
|
233
|
-
SumupPairReaderRequest
|
|
234
|
-
} from '@tennac-booking/sdk';
|
|
235
|
-
|
|
236
|
-
const configuration = new Configuration();
|
|
237
|
-
const apiInstance = new SumUpManagerApi(configuration);
|
|
238
|
-
|
|
239
|
-
let clubId: string; // (default to undefined)
|
|
240
|
-
let sumupPairReaderRequest: SumupPairReaderRequest; //
|
|
241
|
-
|
|
242
|
-
const { status, data } = await apiInstance.pairSumupReader(
|
|
243
|
-
clubId,
|
|
244
|
-
sumupPairReaderRequest
|
|
245
|
-
);
|
|
246
|
-
```
|
|
247
|
-
|
|
248
|
-
### Parameters
|
|
249
|
-
|
|
250
|
-
|Name | Type | Description | Notes|
|
|
251
|
-
|------------- | ------------- | ------------- | -------------|
|
|
252
|
-
| **sumupPairReaderRequest** | **SumupPairReaderRequest**| | |
|
|
253
|
-
| **clubId** | [**string**] | | defaults to undefined|
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
### Return type
|
|
257
|
-
|
|
258
|
-
**SumupPairReaderResponse**
|
|
259
|
-
|
|
260
|
-
### Authorization
|
|
261
|
-
|
|
262
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
263
|
-
|
|
264
|
-
### HTTP request headers
|
|
265
|
-
|
|
266
|
-
- **Content-Type**: application/json
|
|
267
|
-
- **Accept**: application/json
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
### HTTP response details
|
|
271
|
-
| Status code | Description | Response headers |
|
|
272
|
-
|-------------|-------------|------------------|
|
|
273
|
-
|**200** | Reader SumUp pairé | - |
|
|
274
|
-
|**400** | Bad Request | - |
|
|
275
|
-
|
|
276
|
-
[[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)
|
|
277
|
-
|
|
278
|
-
# **selectSumupReader**
|
|
279
|
-
> selectSumupReader()
|
|
280
|
-
|
|
281
|
-
Select a SumUp reader for a club.
|
|
282
|
-
|
|
283
|
-
### Example
|
|
284
|
-
|
|
285
|
-
```typescript
|
|
286
|
-
import {
|
|
287
|
-
SumUpManagerApi,
|
|
288
|
-
Configuration
|
|
289
|
-
} from '@tennac-booking/sdk';
|
|
290
|
-
|
|
291
|
-
const configuration = new Configuration();
|
|
292
|
-
const apiInstance = new SumUpManagerApi(configuration);
|
|
293
|
-
|
|
294
|
-
let clubId: string; // (default to undefined)
|
|
295
|
-
let readerId: string; // (default to undefined)
|
|
296
|
-
|
|
297
|
-
const { status, data } = await apiInstance.selectSumupReader(
|
|
298
|
-
clubId,
|
|
299
|
-
readerId
|
|
300
|
-
);
|
|
301
|
-
```
|
|
302
|
-
|
|
303
|
-
### Parameters
|
|
304
|
-
|
|
305
|
-
|Name | Type | Description | Notes|
|
|
306
|
-
|------------- | ------------- | ------------- | -------------|
|
|
307
|
-
| **clubId** | [**string**] | | defaults to undefined|
|
|
308
|
-
| **readerId** | [**string**] | | defaults to undefined|
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
### Return type
|
|
312
|
-
|
|
313
|
-
void (empty response body)
|
|
314
|
-
|
|
315
|
-
### Authorization
|
|
316
|
-
|
|
317
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
318
|
-
|
|
319
|
-
### HTTP request headers
|
|
320
|
-
|
|
321
|
-
- **Content-Type**: Not defined
|
|
322
|
-
- **Accept**: Not defined
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
### HTTP response details
|
|
326
|
-
| Status code | Description | Response headers |
|
|
327
|
-
|-------------|-------------|------------------|
|
|
328
|
-
|**204** | Reader sélectionné | - |
|
|
329
|
-
|**400** | Bad Request | - |
|
|
330
|
-
|
|
331
|
-
[[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)
|
|
332
|
-
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# SumupAccountStatusResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**connected** | **boolean** | | [default to undefined]
|
|
9
|
-
**merchantCode** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**readerId** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**readerName** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**readerPairedAt** | **string** | | [optional] [default to undefined]
|
|
13
|
-
**scope** | **string** | | [optional] [default to undefined]
|
|
14
|
-
**connectedAt** | **string** | | [optional] [default to undefined]
|
|
15
|
-
|
|
16
|
-
## Example
|
|
17
|
-
|
|
18
|
-
```typescript
|
|
19
|
-
import { SumupAccountStatusResponse } from '@tennac-booking/sdk';
|
|
20
|
-
|
|
21
|
-
const instance: SumupAccountStatusResponse = {
|
|
22
|
-
connected,
|
|
23
|
-
merchantCode,
|
|
24
|
-
readerId,
|
|
25
|
-
readerName,
|
|
26
|
-
readerPairedAt,
|
|
27
|
-
scope,
|
|
28
|
-
connectedAt,
|
|
29
|
-
};
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
[[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,20 +0,0 @@
|
|
|
1
|
-
# SumupCancelPaymentRequest
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**checkoutId** | **string** | | [optional] [default to undefined]
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
import { SumupCancelPaymentRequest } from '@tennac-booking/sdk';
|
|
14
|
-
|
|
15
|
-
const instance: SumupCancelPaymentRequest = {
|
|
16
|
-
checkoutId,
|
|
17
|
-
};
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
[[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,20 +0,0 @@
|
|
|
1
|
-
# SumupConnectUrlResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**url** | **string** | | [default to undefined]
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
import { SumupConnectUrlResponse } from '@tennac-booking/sdk';
|
|
14
|
-
|
|
15
|
-
const instance: SumupConnectUrlResponse = {
|
|
16
|
-
url,
|
|
17
|
-
};
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
[[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,32 +0,0 @@
|
|
|
1
|
-
# SumupCreatePaymentRequest
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**amountInCents** | **number** | | [default to undefined]
|
|
9
|
-
**currency** | **string** | | [default to undefined]
|
|
10
|
-
**readerId** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**description** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**reference** | **string** | | [optional] [default to undefined]
|
|
13
|
-
**metadata** | **{ [key: string]: string; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
14
|
-
**userId** | **string** | | [optional] [default to undefined]
|
|
15
|
-
|
|
16
|
-
## Example
|
|
17
|
-
|
|
18
|
-
```typescript
|
|
19
|
-
import { SumupCreatePaymentRequest } from '@tennac-booking/sdk';
|
|
20
|
-
|
|
21
|
-
const instance: SumupCreatePaymentRequest = {
|
|
22
|
-
amountInCents,
|
|
23
|
-
currency,
|
|
24
|
-
readerId,
|
|
25
|
-
description,
|
|
26
|
-
reference,
|
|
27
|
-
metadata,
|
|
28
|
-
userId,
|
|
29
|
-
};
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
[[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,24 +0,0 @@
|
|
|
1
|
-
# SumupOAuthCallbackResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**clubId** | **string** | | [default to undefined]
|
|
9
|
-
**merchantCode** | **string** | | [default to undefined]
|
|
10
|
-
**scope** | **string** | | [optional] [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { SumupOAuthCallbackResponse } from '@tennac-booking/sdk';
|
|
16
|
-
|
|
17
|
-
const instance: SumupOAuthCallbackResponse = {
|
|
18
|
-
clubId,
|
|
19
|
-
merchantCode,
|
|
20
|
-
scope,
|
|
21
|
-
};
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
[[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
|
-
# SumupPairReaderRequest
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**pairingCode** | **string** | | [default to undefined]
|
|
9
|
-
**name** | **string** | | [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { SumupPairReaderRequest } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: SumupPairReaderRequest = {
|
|
17
|
-
pairingCode,
|
|
18
|
-
name,
|
|
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,20 +0,0 @@
|
|
|
1
|
-
# SumupPairReaderResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**reader** | [**SumupReaderInfo**](SumupReaderInfo.md) | | [default to undefined]
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
import { SumupPairReaderResponse } from '@tennac-booking/sdk';
|
|
14
|
-
|
|
15
|
-
const instance: SumupPairReaderResponse = {
|
|
16
|
-
reader,
|
|
17
|
-
};
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
[[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/SumupReaderInfo.md
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# SumupReaderInfo
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**reader_id** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**id** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**serial_number** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**name** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**status** | **string** | | [optional] [default to undefined]
|
|
13
|
-
**model** | **string** | | [optional] [default to undefined]
|
|
14
|
-
**device_type** | **string** | | [optional] [default to undefined]
|
|
15
|
-
**last_seen_at** | **string** | | [optional] [default to undefined]
|
|
16
|
-
|
|
17
|
-
## Example
|
|
18
|
-
|
|
19
|
-
```typescript
|
|
20
|
-
import { SumupReaderInfo } from '@tennac-booking/sdk';
|
|
21
|
-
|
|
22
|
-
const instance: SumupReaderInfo = {
|
|
23
|
-
reader_id,
|
|
24
|
-
id,
|
|
25
|
-
serial_number,
|
|
26
|
-
name,
|
|
27
|
-
status,
|
|
28
|
-
model,
|
|
29
|
-
device_type,
|
|
30
|
-
last_seen_at,
|
|
31
|
-
};
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
[[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,20 +0,0 @@
|
|
|
1
|
-
# SumupReadersResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**readers** | [**Array<SumupReaderInfo>**](SumupReaderInfo.md) | | [default to undefined]
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
import { SumupReadersResponse } from '@tennac-booking/sdk';
|
|
14
|
-
|
|
15
|
-
const instance: SumupReadersResponse = {
|
|
16
|
-
readers,
|
|
17
|
-
};
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|