@tennac-booking/sdk 1.0.231 → 1.0.233

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.
Files changed (56) hide show
  1. package/.openapi-generator/FILES +25 -0
  2. package/README.md +40 -2
  3. package/api.ts +2222 -5
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +7514 -6070
  8. package/dist/api.js +1212 -10
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +7514 -6070
  16. package/dist/esm/api.js +1195 -5
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/BookingsStaffApi.md +57 -1
  28. package/docs/CheckInPlayerSumupRequest.md +22 -0
  29. package/docs/CheckInPlayerSumupResponse.md +24 -0
  30. package/docs/CheckInSumupPaymentInfo.md +26 -0
  31. package/docs/EventsApi.md +59 -0
  32. package/docs/PaymentIntentResult.md +28 -0
  33. package/docs/PaymentProviderType.md +10 -0
  34. package/docs/PaymentStatus.md +14 -0
  35. package/docs/PaymentsStaffApi.md +124 -0
  36. package/docs/PublishEventResponse.md +2 -0
  37. package/docs/RespondToEventBookingInvitation200Response.md +24 -0
  38. package/docs/RespondToEventBookingInvitationRequest.md +20 -0
  39. package/docs/SumUpApi.md +63 -0
  40. package/docs/SumUpManagerApi.md +617 -0
  41. package/docs/SumupAccountStatusResponse.md +32 -0
  42. package/docs/SumupCancelPaymentRequest.md +20 -0
  43. package/docs/SumupConnectUrlResponse.md +20 -0
  44. package/docs/SumupCreatePaymentRequest.md +32 -0
  45. package/docs/SumupOAuthCallbackResponse.md +24 -0
  46. package/docs/SumupPairReaderRequest.md +24 -0
  47. package/docs/SumupPairReaderResponse.md +20 -0
  48. package/docs/SumupReaderInfo.md +42 -0
  49. package/docs/SumupReaderInfoDevice.md +22 -0
  50. package/docs/SumupReaderResponse.md +20 -0
  51. package/docs/SumupReaderStatusInfo.md +32 -0
  52. package/docs/SumupReaderStatusResponse.md +20 -0
  53. package/docs/SumupReadersResponse.md +20 -0
  54. package/docs/SumupUpdateReaderRequest.md +22 -0
  55. package/index.ts +1 -1
  56. package/package.json +1 -1
@@ -0,0 +1,617 @@
1
+ # SumUpManagerApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**createSumupReader**](#createsumupreader) | **POST** /api/clubs/{clubId}/sumup/readers | |
8
+ |[**deleteSumupReader**](#deletesumupreader) | **DELETE** /api/clubs/{clubId}/sumup/readers/{readerId} | |
9
+ |[**disconnectSumup**](#disconnectsumup) | **POST** /api/clubs/{clubId}/sumup/disconnect | |
10
+ |[**getSumupConnectUrl**](#getsumupconnecturl) | **GET** /api/clubs/{clubId}/sumup/connect | |
11
+ |[**getSumupReader**](#getsumupreader) | **GET** /api/clubs/{clubId}/sumup/readers/{readerId} | |
12
+ |[**getSumupReaderStatus**](#getsumupreaderstatus) | **GET** /api/clubs/{clubId}/sumup/readers/{readerId}/status | |
13
+ |[**getSumupStatus**](#getsumupstatus) | **GET** /api/clubs/{clubId}/sumup/status | |
14
+ |[**listSumupReaders**](#listsumupreaders) | **GET** /api/clubs/{clubId}/sumup/readers | |
15
+ |[**pairSumupReader**](#pairsumupreader) | **POST** /api/clubs/{clubId}/sumup/readers/pair | |
16
+ |[**selectSumupReader**](#selectsumupreader) | **POST** /api/clubs/{clubId}/sumup/readers/{readerId}/select | |
17
+ |[**updateSumupReader**](#updatesumupreader) | **PATCH** /api/clubs/{clubId}/sumup/readers/{readerId} | |
18
+
19
+ # **createSumupReader**
20
+ > SumupPairReaderResponse createSumupReader(sumupPairReaderRequest)
21
+
22
+ Pair a SumUp reader with a club.
23
+
24
+ ### Example
25
+
26
+ ```typescript
27
+ import {
28
+ SumUpManagerApi,
29
+ Configuration,
30
+ SumupPairReaderRequest
31
+ } from '@tennac-booking/sdk';
32
+
33
+ const configuration = new Configuration();
34
+ const apiInstance = new SumUpManagerApi(configuration);
35
+
36
+ let clubId: string; // (default to undefined)
37
+ let sumupPairReaderRequest: SumupPairReaderRequest; //
38
+
39
+ const { status, data } = await apiInstance.createSumupReader(
40
+ clubId,
41
+ sumupPairReaderRequest
42
+ );
43
+ ```
44
+
45
+ ### Parameters
46
+
47
+ |Name | Type | Description | Notes|
48
+ |------------- | ------------- | ------------- | -------------|
49
+ | **sumupPairReaderRequest** | **SumupPairReaderRequest**| | |
50
+ | **clubId** | [**string**] | | defaults to undefined|
51
+
52
+
53
+ ### Return type
54
+
55
+ **SumupPairReaderResponse**
56
+
57
+ ### Authorization
58
+
59
+ [bearerAuth](../README.md#bearerAuth)
60
+
61
+ ### HTTP request headers
62
+
63
+ - **Content-Type**: application/json
64
+ - **Accept**: application/json
65
+
66
+
67
+ ### HTTP response details
68
+ | Status code | Description | Response headers |
69
+ |-------------|-------------|------------------|
70
+ |**200** | Reader SumUp créé | - |
71
+ |**400** | Bad Request | - |
72
+
73
+ [[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)
74
+
75
+ # **deleteSumupReader**
76
+ > deleteSumupReader()
77
+
78
+ Delete a SumUp reader.
79
+
80
+ ### Example
81
+
82
+ ```typescript
83
+ import {
84
+ SumUpManagerApi,
85
+ Configuration
86
+ } from '@tennac-booking/sdk';
87
+
88
+ const configuration = new Configuration();
89
+ const apiInstance = new SumUpManagerApi(configuration);
90
+
91
+ let clubId: string; // (default to undefined)
92
+ let readerId: string; // (default to undefined)
93
+
94
+ const { status, data } = await apiInstance.deleteSumupReader(
95
+ clubId,
96
+ readerId
97
+ );
98
+ ```
99
+
100
+ ### Parameters
101
+
102
+ |Name | Type | Description | Notes|
103
+ |------------- | ------------- | ------------- | -------------|
104
+ | **clubId** | [**string**] | | defaults to undefined|
105
+ | **readerId** | [**string**] | | defaults to undefined|
106
+
107
+
108
+ ### Return type
109
+
110
+ void (empty response body)
111
+
112
+ ### Authorization
113
+
114
+ [bearerAuth](../README.md#bearerAuth)
115
+
116
+ ### HTTP request headers
117
+
118
+ - **Content-Type**: Not defined
119
+ - **Accept**: Not defined
120
+
121
+
122
+ ### HTTP response details
123
+ | Status code | Description | Response headers |
124
+ |-------------|-------------|------------------|
125
+ |**204** | Reader SumUp supprimé | - |
126
+ |**400** | Bad Request | - |
127
+
128
+ [[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)
129
+
130
+ # **disconnectSumup**
131
+ > disconnectSumup()
132
+
133
+ Disconnect SumUp account for a club.
134
+
135
+ ### Example
136
+
137
+ ```typescript
138
+ import {
139
+ SumUpManagerApi,
140
+ Configuration
141
+ } from '@tennac-booking/sdk';
142
+
143
+ const configuration = new Configuration();
144
+ const apiInstance = new SumUpManagerApi(configuration);
145
+
146
+ let clubId: string; // (default to undefined)
147
+
148
+ const { status, data } = await apiInstance.disconnectSumup(
149
+ clubId
150
+ );
151
+ ```
152
+
153
+ ### Parameters
154
+
155
+ |Name | Type | Description | Notes|
156
+ |------------- | ------------- | ------------- | -------------|
157
+ | **clubId** | [**string**] | | defaults to undefined|
158
+
159
+
160
+ ### Return type
161
+
162
+ void (empty response body)
163
+
164
+ ### Authorization
165
+
166
+ [bearerAuth](../README.md#bearerAuth)
167
+
168
+ ### HTTP request headers
169
+
170
+ - **Content-Type**: Not defined
171
+ - **Accept**: Not defined
172
+
173
+
174
+ ### HTTP response details
175
+ | Status code | Description | Response headers |
176
+ |-------------|-------------|------------------|
177
+ |**204** | SumUp déconnecté | - |
178
+ |**400** | Bad Request | - |
179
+
180
+ [[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)
181
+
182
+ # **getSumupConnectUrl**
183
+ > SumupConnectUrlResponse getSumupConnectUrl()
184
+
185
+ Start SumUp OAuth connection for a club.
186
+
187
+ ### Example
188
+
189
+ ```typescript
190
+ import {
191
+ SumUpManagerApi,
192
+ Configuration
193
+ } from '@tennac-booking/sdk';
194
+
195
+ const configuration = new Configuration();
196
+ const apiInstance = new SumUpManagerApi(configuration);
197
+
198
+ let clubId: string; // (default to undefined)
199
+
200
+ const { status, data } = await apiInstance.getSumupConnectUrl(
201
+ clubId
202
+ );
203
+ ```
204
+
205
+ ### Parameters
206
+
207
+ |Name | Type | Description | Notes|
208
+ |------------- | ------------- | ------------- | -------------|
209
+ | **clubId** | [**string**] | | defaults to undefined|
210
+
211
+
212
+ ### Return type
213
+
214
+ **SumupConnectUrlResponse**
215
+
216
+ ### Authorization
217
+
218
+ [bearerAuth](../README.md#bearerAuth)
219
+
220
+ ### HTTP request headers
221
+
222
+ - **Content-Type**: Not defined
223
+ - **Accept**: application/json
224
+
225
+
226
+ ### HTTP response details
227
+ | Status code | Description | Response headers |
228
+ |-------------|-------------|------------------|
229
+ |**200** | URL OAuth SumUp | - |
230
+ |**400** | Bad Request | - |
231
+
232
+ [[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)
233
+
234
+ # **getSumupReader**
235
+ > SumupReaderResponse getSumupReader()
236
+
237
+ Retrieve a SumUp reader.
238
+
239
+ ### Example
240
+
241
+ ```typescript
242
+ import {
243
+ SumUpManagerApi,
244
+ Configuration
245
+ } from '@tennac-booking/sdk';
246
+
247
+ const configuration = new Configuration();
248
+ const apiInstance = new SumUpManagerApi(configuration);
249
+
250
+ let clubId: string; // (default to undefined)
251
+ let readerId: string; // (default to undefined)
252
+
253
+ const { status, data } = await apiInstance.getSumupReader(
254
+ clubId,
255
+ readerId
256
+ );
257
+ ```
258
+
259
+ ### Parameters
260
+
261
+ |Name | Type | Description | Notes|
262
+ |------------- | ------------- | ------------- | -------------|
263
+ | **clubId** | [**string**] | | defaults to undefined|
264
+ | **readerId** | [**string**] | | defaults to undefined|
265
+
266
+
267
+ ### Return type
268
+
269
+ **SumupReaderResponse**
270
+
271
+ ### Authorization
272
+
273
+ [bearerAuth](../README.md#bearerAuth)
274
+
275
+ ### HTTP request headers
276
+
277
+ - **Content-Type**: Not defined
278
+ - **Accept**: application/json
279
+
280
+
281
+ ### HTTP response details
282
+ | Status code | Description | Response headers |
283
+ |-------------|-------------|------------------|
284
+ |**200** | Reader SumUp | - |
285
+ |**400** | Bad Request | - |
286
+
287
+ [[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)
288
+
289
+ # **getSumupReaderStatus**
290
+ > SumupReaderStatusResponse getSumupReaderStatus()
291
+
292
+ Get SumUp reader status.
293
+
294
+ ### Example
295
+
296
+ ```typescript
297
+ import {
298
+ SumUpManagerApi,
299
+ Configuration
300
+ } from '@tennac-booking/sdk';
301
+
302
+ const configuration = new Configuration();
303
+ const apiInstance = new SumUpManagerApi(configuration);
304
+
305
+ let clubId: string; // (default to undefined)
306
+ let readerId: string; // (default to undefined)
307
+
308
+ const { status, data } = await apiInstance.getSumupReaderStatus(
309
+ clubId,
310
+ readerId
311
+ );
312
+ ```
313
+
314
+ ### Parameters
315
+
316
+ |Name | Type | Description | Notes|
317
+ |------------- | ------------- | ------------- | -------------|
318
+ | **clubId** | [**string**] | | defaults to undefined|
319
+ | **readerId** | [**string**] | | defaults to undefined|
320
+
321
+
322
+ ### Return type
323
+
324
+ **SumupReaderStatusResponse**
325
+
326
+ ### Authorization
327
+
328
+ [bearerAuth](../README.md#bearerAuth)
329
+
330
+ ### HTTP request headers
331
+
332
+ - **Content-Type**: Not defined
333
+ - **Accept**: application/json
334
+
335
+
336
+ ### HTTP response details
337
+ | Status code | Description | Response headers |
338
+ |-------------|-------------|------------------|
339
+ |**200** | Reader status | - |
340
+ |**400** | Bad Request | - |
341
+
342
+ [[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)
343
+
344
+ # **getSumupStatus**
345
+ > SumupAccountStatusResponse getSumupStatus()
346
+
347
+ Get SumUp connection status for a club.
348
+
349
+ ### Example
350
+
351
+ ```typescript
352
+ import {
353
+ SumUpManagerApi,
354
+ Configuration
355
+ } from '@tennac-booking/sdk';
356
+
357
+ const configuration = new Configuration();
358
+ const apiInstance = new SumUpManagerApi(configuration);
359
+
360
+ let clubId: string; // (default to undefined)
361
+
362
+ const { status, data } = await apiInstance.getSumupStatus(
363
+ clubId
364
+ );
365
+ ```
366
+
367
+ ### Parameters
368
+
369
+ |Name | Type | Description | Notes|
370
+ |------------- | ------------- | ------------- | -------------|
371
+ | **clubId** | [**string**] | | defaults to undefined|
372
+
373
+
374
+ ### Return type
375
+
376
+ **SumupAccountStatusResponse**
377
+
378
+ ### Authorization
379
+
380
+ [bearerAuth](../README.md#bearerAuth)
381
+
382
+ ### HTTP request headers
383
+
384
+ - **Content-Type**: Not defined
385
+ - **Accept**: application/json
386
+
387
+
388
+ ### HTTP response details
389
+ | Status code | Description | Response headers |
390
+ |-------------|-------------|------------------|
391
+ |**200** | Statut SumUp | - |
392
+ |**400** | Bad Request | - |
393
+
394
+ [[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)
395
+
396
+ # **listSumupReaders**
397
+ > SumupReadersResponse listSumupReaders()
398
+
399
+ List SumUp readers for a club.
400
+
401
+ ### Example
402
+
403
+ ```typescript
404
+ import {
405
+ SumUpManagerApi,
406
+ Configuration
407
+ } from '@tennac-booking/sdk';
408
+
409
+ const configuration = new Configuration();
410
+ const apiInstance = new SumUpManagerApi(configuration);
411
+
412
+ let clubId: string; // (default to undefined)
413
+
414
+ const { status, data } = await apiInstance.listSumupReaders(
415
+ clubId
416
+ );
417
+ ```
418
+
419
+ ### Parameters
420
+
421
+ |Name | Type | Description | Notes|
422
+ |------------- | ------------- | ------------- | -------------|
423
+ | **clubId** | [**string**] | | defaults to undefined|
424
+
425
+
426
+ ### Return type
427
+
428
+ **SumupReadersResponse**
429
+
430
+ ### Authorization
431
+
432
+ [bearerAuth](../README.md#bearerAuth)
433
+
434
+ ### HTTP request headers
435
+
436
+ - **Content-Type**: Not defined
437
+ - **Accept**: application/json
438
+
439
+
440
+ ### HTTP response details
441
+ | Status code | Description | Response headers |
442
+ |-------------|-------------|------------------|
443
+ |**200** | Readers SumUp | - |
444
+ |**400** | Bad Request | - |
445
+
446
+ [[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)
447
+
448
+ # **pairSumupReader**
449
+ > SumupPairReaderResponse pairSumupReader(sumupPairReaderRequest)
450
+
451
+ Pair a SumUp reader with a club.
452
+
453
+ ### Example
454
+
455
+ ```typescript
456
+ import {
457
+ SumUpManagerApi,
458
+ Configuration,
459
+ SumupPairReaderRequest
460
+ } from '@tennac-booking/sdk';
461
+
462
+ const configuration = new Configuration();
463
+ const apiInstance = new SumUpManagerApi(configuration);
464
+
465
+ let clubId: string; // (default to undefined)
466
+ let sumupPairReaderRequest: SumupPairReaderRequest; //
467
+
468
+ const { status, data } = await apiInstance.pairSumupReader(
469
+ clubId,
470
+ sumupPairReaderRequest
471
+ );
472
+ ```
473
+
474
+ ### Parameters
475
+
476
+ |Name | Type | Description | Notes|
477
+ |------------- | ------------- | ------------- | -------------|
478
+ | **sumupPairReaderRequest** | **SumupPairReaderRequest**| | |
479
+ | **clubId** | [**string**] | | defaults to undefined|
480
+
481
+
482
+ ### Return type
483
+
484
+ **SumupPairReaderResponse**
485
+
486
+ ### Authorization
487
+
488
+ [bearerAuth](../README.md#bearerAuth)
489
+
490
+ ### HTTP request headers
491
+
492
+ - **Content-Type**: application/json
493
+ - **Accept**: application/json
494
+
495
+
496
+ ### HTTP response details
497
+ | Status code | Description | Response headers |
498
+ |-------------|-------------|------------------|
499
+ |**200** | Reader SumUp pairé | - |
500
+ |**400** | Bad Request | - |
501
+
502
+ [[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)
503
+
504
+ # **selectSumupReader**
505
+ > selectSumupReader()
506
+
507
+ Select a SumUp reader for a club.
508
+
509
+ ### Example
510
+
511
+ ```typescript
512
+ import {
513
+ SumUpManagerApi,
514
+ Configuration
515
+ } from '@tennac-booking/sdk';
516
+
517
+ const configuration = new Configuration();
518
+ const apiInstance = new SumUpManagerApi(configuration);
519
+
520
+ let clubId: string; // (default to undefined)
521
+ let readerId: string; // (default to undefined)
522
+
523
+ const { status, data } = await apiInstance.selectSumupReader(
524
+ clubId,
525
+ readerId
526
+ );
527
+ ```
528
+
529
+ ### Parameters
530
+
531
+ |Name | Type | Description | Notes|
532
+ |------------- | ------------- | ------------- | -------------|
533
+ | **clubId** | [**string**] | | defaults to undefined|
534
+ | **readerId** | [**string**] | | defaults to undefined|
535
+
536
+
537
+ ### Return type
538
+
539
+ void (empty response body)
540
+
541
+ ### Authorization
542
+
543
+ [bearerAuth](../README.md#bearerAuth)
544
+
545
+ ### HTTP request headers
546
+
547
+ - **Content-Type**: Not defined
548
+ - **Accept**: Not defined
549
+
550
+
551
+ ### HTTP response details
552
+ | Status code | Description | Response headers |
553
+ |-------------|-------------|------------------|
554
+ |**204** | Reader sélectionné | - |
555
+ |**400** | Bad Request | - |
556
+
557
+ [[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)
558
+
559
+ # **updateSumupReader**
560
+ > SumupReaderResponse updateSumupReader(sumupUpdateReaderRequest)
561
+
562
+ Update a SumUp reader.
563
+
564
+ ### Example
565
+
566
+ ```typescript
567
+ import {
568
+ SumUpManagerApi,
569
+ Configuration,
570
+ SumupUpdateReaderRequest
571
+ } from '@tennac-booking/sdk';
572
+
573
+ const configuration = new Configuration();
574
+ const apiInstance = new SumUpManagerApi(configuration);
575
+
576
+ let clubId: string; // (default to undefined)
577
+ let readerId: string; // (default to undefined)
578
+ let sumupUpdateReaderRequest: SumupUpdateReaderRequest; //
579
+
580
+ const { status, data } = await apiInstance.updateSumupReader(
581
+ clubId,
582
+ readerId,
583
+ sumupUpdateReaderRequest
584
+ );
585
+ ```
586
+
587
+ ### Parameters
588
+
589
+ |Name | Type | Description | Notes|
590
+ |------------- | ------------- | ------------- | -------------|
591
+ | **sumupUpdateReaderRequest** | **SumupUpdateReaderRequest**| | |
592
+ | **clubId** | [**string**] | | defaults to undefined|
593
+ | **readerId** | [**string**] | | defaults to undefined|
594
+
595
+
596
+ ### Return type
597
+
598
+ **SumupReaderResponse**
599
+
600
+ ### Authorization
601
+
602
+ [bearerAuth](../README.md#bearerAuth)
603
+
604
+ ### HTTP request headers
605
+
606
+ - **Content-Type**: application/json
607
+ - **Accept**: application/json
608
+
609
+
610
+ ### HTTP response details
611
+ | Status code | Description | Response headers |
612
+ |-------------|-------------|------------------|
613
+ |**200** | Reader SumUp mis à jour | - |
614
+ |**400** | Bad Request | - |
615
+
616
+ [[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)
617
+
@@ -0,0 +1,32 @@
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)
@@ -0,0 +1,20 @@
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)
@@ -0,0 +1,20 @@
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)
@@ -0,0 +1,32 @@
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)